@jackuait/blok 0.11.1 → 0.12.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 +13 -1
- package/NOTICE +10 -0
- package/README.md +7 -1
- package/codemod/migrate-editorjs-to-blok.js +51 -1
- package/codemod/test.js +95 -0
- package/dist/blok.cjs +1 -1
- package/dist/blok.iife.js +31 -30
- package/dist/blok.mjs +2 -2
- package/dist/chunks/_basePickBy-CLCgPLk_.cjs +1 -0
- package/dist/chunks/_basePickBy-cIM18c5w.mjs +166 -0
- package/dist/chunks/_baseUniq-C3lUNj_l.mjs +682 -0
- package/dist/chunks/_baseUniq-Cm3XBb1f.cjs +1 -0
- package/dist/chunks/arc-BSr2jl4o.mjs +80 -0
- package/dist/chunks/arc-C-l7V0ww.cjs +1 -0
- package/dist/chunks/architecture-YZFGNWBL-C5uKTSqd.mjs +3 -0
- package/dist/chunks/architecture-YZFGNWBL-DopZbt9d.cjs +1 -0
- package/dist/chunks/architectureDiagram-Q4EWVU46-B3EkmUoA.cjs +36 -0
- package/dist/chunks/architectureDiagram-Q4EWVU46-DL5lPOq_.mjs +4066 -0
- package/dist/chunks/blockDiagram-DXYQGD6D-ChnytJiO.cjs +132 -0
- package/dist/chunks/blockDiagram-DXYQGD6D-DjFfRgP_.mjs +3074 -0
- package/dist/chunks/blok-Cxcy7G7v.mjs +13801 -0
- package/dist/chunks/blok-qY4LDF7A.cjs +17 -0
- package/dist/chunks/c4Diagram-AHTNJAMY-D9cwQ5dP.cjs +10 -0
- package/dist/chunks/c4Diagram-AHTNJAMY-DDydXzN1.mjs +2956 -0
- package/dist/chunks/channel-1VaVTmSI.mjs +5 -0
- package/dist/chunks/channel-DTKWBt5v.cjs +1 -0
- package/dist/chunks/chunk-2KRD3SAO-Dcv71dz8.cjs +1 -0
- package/dist/chunks/chunk-2KRD3SAO-DslQvmzC.mjs +20 -0
- package/dist/chunks/chunk-336JU56O-CUNPhOYK.mjs +49 -0
- package/dist/chunks/chunk-336JU56O-DsJvvQpB.cjs +1 -0
- package/dist/chunks/chunk-426QAEUC-Ciny2-Rz.mjs +13 -0
- package/dist/chunks/chunk-426QAEUC-DEYJ0OiL.cjs +1 -0
- package/dist/chunks/chunk-4BX2VUAB-D1dKBLiS.cjs +1 -0
- package/dist/chunks/chunk-4BX2VUAB-ljY9_i7D.mjs +19 -0
- package/dist/chunks/chunk-4TB4RGXK-C-eXrWWX.cjs +206 -0
- package/dist/chunks/chunk-4TB4RGXK-orLiGd4g.mjs +3250 -0
- package/dist/chunks/chunk-55IACEB6-BOy3ofgp.cjs +1 -0
- package/dist/chunks/chunk-55IACEB6-BPnDY27B.mjs +8 -0
- package/dist/chunks/chunk-5FUZZQ4R-D3UGwLBL.cjs +62 -0
- package/dist/chunks/chunk-5FUZZQ4R-D5gG1Dk4.mjs +3786 -0
- package/dist/chunks/chunk-5PVQY5BW-BCwqe25T.cjs +2 -0
- package/dist/chunks/chunk-5PVQY5BW-DVKx7m4a.mjs +1122 -0
- package/dist/chunks/chunk-67CJDMHE-BU_rrdV4.mjs +20 -0
- package/dist/chunks/chunk-67CJDMHE-VKwQfp25.cjs +1 -0
- package/dist/chunks/chunk-7N4EOEYR-BpM-QbmS.cjs +1 -0
- package/dist/chunks/chunk-7N4EOEYR-Cx6N1y9w.mjs +29 -0
- package/dist/chunks/chunk-AA7GKIK3-DCAy6uIg.mjs +24 -0
- package/dist/chunks/chunk-AA7GKIK3-RcaBhHiZ.cjs +1 -0
- package/dist/chunks/chunk-BSJP7CBP-BHijZ5f8.mjs +83 -0
- package/dist/chunks/chunk-BSJP7CBP-wiZ2ll8-.cjs +1 -0
- package/dist/chunks/chunk-CIAEETIT-0sn8TZoo.cjs +1 -0
- package/dist/chunks/chunk-CIAEETIT-BWpztfre.mjs +20 -0
- package/dist/chunks/chunk-EDXVE4YY-BJAhHZ3a.mjs +26 -0
- package/dist/chunks/chunk-EDXVE4YY-CXhcVSEI.cjs +1 -0
- package/dist/chunks/chunk-ENJZ2VHE-BgpbBBSF.cjs +10 -0
- package/dist/chunks/chunk-ENJZ2VHE-COIAdqL4.mjs +566 -0
- package/dist/chunks/chunk-FMBD7UC4-CUTvay8e.mjs +5 -0
- package/dist/chunks/chunk-FMBD7UC4-DCJ-fphu.cjs +15 -0
- package/dist/chunks/chunk-FOC6F5B3-3FOtyf3P.mjs +20 -0
- package/dist/chunks/chunk-FOC6F5B3-C2-FyqYn.cjs +1 -0
- package/dist/chunks/chunk-ICPOFSXX-BUWZvUuu.cjs +122 -0
- package/dist/chunks/chunk-ICPOFSXX-Dn5WbEeN.mjs +3290 -0
- package/dist/chunks/chunk-K5T4RW27-CX5gsk1T.cjs +94 -0
- package/dist/chunks/chunk-K5T4RW27-De7GqZCP.mjs +16372 -0
- package/dist/chunks/chunk-KGLVRYIC-Cwvjry7S.cjs +1 -0
- package/dist/chunks/chunk-KGLVRYIC-sDQUxLS7.mjs +20 -0
- package/dist/chunks/chunk-LIHQZDEY-BC8om0l2.cjs +1 -0
- package/dist/chunks/chunk-LIHQZDEY-BoY9X2Wj.mjs +55 -0
- package/dist/chunks/chunk-ORNJ4GCN-CYLjqcXc.mjs +25 -0
- package/dist/chunks/chunk-ORNJ4GCN-CoC7A1vn.cjs +1 -0
- package/dist/chunks/chunk-OYMX7WX6-Bbwq_g2w.mjs +2038 -0
- package/dist/chunks/chunk-OYMX7WX6-D3csU8-J.cjs +231 -0
- package/dist/chunks/chunk-QZHKN3VN-Bs3XaH0U.mjs +12 -0
- package/dist/chunks/chunk-QZHKN3VN-Db_x7kn8.cjs +1 -0
- package/dist/chunks/chunk-U2HBQHQK-CEwYxA8R.cjs +70 -0
- package/dist/chunks/chunk-U2HBQHQK-DLyzqElq.mjs +1875 -0
- package/dist/chunks/chunk-X2U36JSP-BY9JBwLQ.cjs +1 -0
- package/dist/chunks/chunk-X2U36JSP-UKGkP2m1.mjs +68 -0
- package/dist/chunks/chunk-XPW4576I-2i_ZgZLs.mjs +1146 -0
- package/dist/chunks/chunk-XPW4576I-Ym5mFsxv.cjs +32 -0
- package/dist/chunks/chunk-YZCP3GAM-C2GbOoUx.mjs +60 -0
- package/dist/chunks/chunk-YZCP3GAM-WMeXt5aH.cjs +1 -0
- package/dist/chunks/chunk-ZZ45TVLE-CeD1lNAB.cjs +1 -0
- package/dist/chunks/chunk-ZZ45TVLE-DyYus02Y.mjs +33 -0
- package/dist/chunks/classDiagram-6PBFFD2Q-DNHZ3qE5.mjs +30 -0
- package/dist/chunks/classDiagram-6PBFFD2Q-DWcC9USb.cjs +1 -0
- package/dist/chunks/classDiagram-v2-HSJHXN6E-BXKTiJNh.cjs +1 -0
- package/dist/chunks/classDiagram-v2-HSJHXN6E-GgfA5-jG.mjs +30 -0
- package/dist/chunks/clone-DeEumpiC.mjs +8 -0
- package/dist/chunks/clone-gX2HWen_.cjs +1 -0
- package/dist/chunks/constants-BYCpx4v_.cjs +457 -0
- package/dist/chunks/constants-Bhk7u_hm.mjs +3432 -0
- package/dist/chunks/cose-bilkent-S5V4N54A-BuQ-Gx1y.mjs +2246 -0
- package/dist/chunks/cose-bilkent-S5V4N54A-CdxjlgEx.cjs +1 -0
- package/dist/chunks/dagre-BVQ5RQE_.mjs +1483 -0
- package/dist/chunks/dagre-D9QEFKwC.cjs +1 -0
- package/dist/chunks/dagre-KV5264BT-BxQkkVxZ.mjs +298 -0
- package/dist/chunks/dagre-KV5264BT-Dz_FEBZU.cjs +4 -0
- package/dist/chunks/diagram-5BDNPKRD-Cf9AymAx.cjs +10 -0
- package/dist/chunks/diagram-5BDNPKRD-joiZwmh1.mjs +112 -0
- package/dist/chunks/diagram-G4DWMVQ6-3CAnipxw.cjs +24 -0
- package/dist/chunks/diagram-G4DWMVQ6-DrvbpYBX.mjs +546 -0
- package/dist/chunks/diagram-MMDJMWI5-B3CwY62T.mjs +234 -0
- package/dist/chunks/diagram-MMDJMWI5-DMrk0xwH.cjs +43 -0
- package/dist/chunks/diagram-TYMM5635-B3g66i1E.mjs +144 -0
- package/dist/chunks/diagram-TYMM5635-BAuYHtjV.cjs +24 -0
- package/dist/chunks/erDiagram-SMLLAGMA-4Ks-44BH.cjs +85 -0
- package/dist/chunks/erDiagram-SMLLAGMA-Bw6U_hHz.mjs +1712 -0
- package/dist/chunks/flowDiagram-DWJPFMVM-D2yMfIFs.mjs +4175 -0
- package/dist/chunks/flowDiagram-DWJPFMVM-O6dDtont.cjs +162 -0
- package/dist/chunks/ganttDiagram-T4ZO3ILL-D-ymktbJ.cjs +292 -0
- package/dist/chunks/ganttDiagram-T4ZO3ILL-SEs0Ez0p.mjs +3083 -0
- package/dist/chunks/gitGraph-7Q5UKJZL-BLhgGqhG.cjs +1 -0
- package/dist/chunks/gitGraph-7Q5UKJZL-DbRxS8Lo.mjs +3 -0
- package/dist/chunks/gitGraphDiagram-UUTBAWPF-BSuqMw-A.cjs +106 -0
- package/dist/chunks/gitGraphDiagram-UUTBAWPF-BpVIPN2N.mjs +792 -0
- package/dist/chunks/graphlib-C2L_nEcM.cjs +1 -0
- package/dist/chunks/graphlib-Cpp6Todw.mjs +225 -0
- package/dist/chunks/i18next-loader-BJAXtkt3.cjs +1 -0
- package/dist/chunks/i18next-loader-dnJtS6Nb.mjs +35 -0
- package/dist/chunks/info-OMHHGYJF-BRxQdcvB.mjs +3 -0
- package/dist/chunks/info-OMHHGYJF-Cb4wPKNP.cjs +1 -0
- package/dist/chunks/infoDiagram-42DDH7IO-BNAE_Dp2.cjs +2 -0
- package/dist/chunks/infoDiagram-42DDH7IO-JYmpv-Gn.mjs +29 -0
- package/dist/chunks/isEmpty-BYDpYNyM.cjs +1 -0
- package/dist/chunks/isEmpty-Bgy1eL0m.mjs +35 -0
- package/dist/chunks/ishikawaDiagram-UXIWVN3A-Ca_1igMn.cjs +70 -0
- package/dist/chunks/ishikawaDiagram-UXIWVN3A-ClkZz1Tc.mjs +719 -0
- package/dist/chunks/journeyDiagram-VCZTEJTY-BTzeo896.mjs +885 -0
- package/dist/chunks/journeyDiagram-VCZTEJTY-D69nfb5v.cjs +139 -0
- package/dist/chunks/kanban-definition-6JOO6SKY-BTSuFyjj.cjs +89 -0
- package/dist/chunks/kanban-definition-6JOO6SKY-C2Jk5rDA.mjs +980 -0
- package/dist/chunks/lightweight-i18n-T_Nc45AF.cjs +1 -0
- package/dist/chunks/lightweight-i18n-qpzXlOVm.mjs +344 -0
- package/dist/chunks/line-CjJKN63i.cjs +1 -0
- package/dist/chunks/line-zarcRAiW.mjs +34 -0
- package/dist/chunks/linear-CDUWrVHa.cjs +1 -0
- package/dist/chunks/linear-CXe29GGg.mjs +289 -0
- package/dist/chunks/mdast-util-math-BfFBcnFx.cjs +5 -0
- package/dist/chunks/mdast-util-math-CqPx3t0S.mjs +151 -0
- package/dist/chunks/mermaid-parser.core-BXANIhlc.mjs +57 -0
- package/dist/chunks/mermaid-parser.core-DMmP6uoD.cjs +3 -0
- package/dist/chunks/mermaid.core-A4e6ZJqs.mjs +977 -0
- package/dist/chunks/mermaid.core-C66G0J-z.cjs +10 -0
- package/dist/chunks/messages--BWLKiOP2.mjs +319 -0
- package/dist/chunks/messages--LI6Qp0h.mjs +319 -0
- package/dist/chunks/messages-4TiLLTpr2.cjs +1 -0
- package/dist/chunks/messages-7ul_s8GB2.mjs +319 -0
- package/dist/chunks/messages-8BZGqPD1.cjs +1 -0
- package/dist/chunks/messages-96ztlozp.cjs +1 -0
- package/dist/chunks/messages-B-_ZQLp5.mjs +319 -0
- package/dist/chunks/messages-B1YSYW3Y.cjs +1 -0
- package/dist/chunks/messages-B3E33lPt2.mjs +319 -0
- package/dist/chunks/messages-BABN8cuN.mjs +319 -0
- package/dist/chunks/messages-BDAXqxYw.cjs +1 -0
- package/dist/chunks/messages-BE0YZo6f.cjs +1 -0
- package/dist/chunks/messages-BIg9D7T52.cjs +1 -0
- package/dist/chunks/messages-BKtPvquH2.mjs +319 -0
- package/dist/chunks/messages-BMKq6Ps12.cjs +1 -0
- package/dist/chunks/messages-BMqvMau_2.mjs +319 -0
- package/dist/chunks/messages-BNmaVDtf.mjs +319 -0
- package/dist/chunks/messages-BRRMkfZY2.cjs +1 -0
- package/dist/chunks/messages-BUg0EGM6.cjs +1 -0
- package/dist/chunks/messages-BV88VXs-2.mjs +319 -0
- package/dist/chunks/messages-BVAjj_W_2.mjs +319 -0
- package/dist/chunks/messages-BWd6mmTm.mjs +319 -0
- package/dist/chunks/messages-BXce9Dbm.mjs +319 -0
- package/dist/chunks/messages-B_OU8dr_.mjs +319 -0
- package/dist/chunks/messages-B_VpqVFy.mjs +319 -0
- package/dist/chunks/messages-B_t9669l.mjs +319 -0
- package/dist/chunks/messages-Begh-7SQ.cjs +1 -0
- package/dist/chunks/messages-BfTeMiOT.cjs +1 -0
- package/dist/chunks/messages-BguYUD04.cjs +1 -0
- package/dist/chunks/messages-Bi5NKhkL.cjs +1 -0
- package/dist/chunks/messages-BliJJjNK2.cjs +1 -0
- package/dist/chunks/messages-BmSnovX9.cjs +1 -0
- package/dist/chunks/messages-BoZAdwRU2.mjs +319 -0
- package/dist/chunks/messages-Bp-PMdAJ.mjs +319 -0
- package/dist/chunks/messages-BphoNqXl2.mjs +319 -0
- package/dist/chunks/messages-Bs5HM4rw2.cjs +1 -0
- package/dist/chunks/messages-BtZSlvVR.cjs +1 -0
- package/dist/chunks/messages-Btg_N5Nj2.cjs +1 -0
- package/dist/chunks/messages-C67MLHmh.cjs +1 -0
- package/dist/chunks/messages-C6RXCX1D2.mjs +319 -0
- package/dist/chunks/messages-C6Zo4thu.mjs +319 -0
- package/dist/chunks/messages-C7QEUxQf2.cjs +1 -0
- package/dist/chunks/messages-CB-RDoMj2.cjs +1 -0
- package/dist/chunks/messages-CBOtPEE5.cjs +1 -0
- package/dist/chunks/messages-CBoKI_4k2.mjs +319 -0
- package/dist/chunks/messages-CCMMPgcH.mjs +319 -0
- package/dist/chunks/messages-CFvaU-9Q2.mjs +319 -0
- package/dist/chunks/messages-CHDxRwD8.mjs +319 -0
- package/dist/chunks/messages-CJWSRA8r.cjs +1 -0
- package/dist/chunks/messages-CJaj0WrV.mjs +319 -0
- package/dist/chunks/messages-CLnZAk7s.mjs +319 -0
- package/dist/chunks/messages-CNWWk9zU.cjs +1 -0
- package/dist/chunks/messages-CO4IPaU22.mjs +319 -0
- package/dist/chunks/messages-CQii-Hly.mjs +319 -0
- package/dist/chunks/messages-CSPoZeJd.cjs +1 -0
- package/dist/chunks/messages-CThWJOaj2.cjs +1 -0
- package/dist/chunks/messages-CWbag2W1.mjs +319 -0
- package/dist/chunks/messages-CWfPtitC.mjs +319 -0
- package/dist/chunks/messages-CYh8BT-U2.cjs +1 -0
- package/dist/chunks/messages-CZAwmrBN2.mjs +319 -0
- package/dist/chunks/messages-CcmzbJED2.mjs +319 -0
- package/dist/chunks/messages-Cdp2ao16.cjs +1 -0
- package/dist/chunks/messages-CeSGFPaX.mjs +319 -0
- package/dist/chunks/messages-CfmN_C_V2.cjs +1 -0
- package/dist/chunks/messages-CgTWiYXl.mjs +319 -0
- package/dist/chunks/messages-CiqFmj282.mjs +319 -0
- package/dist/chunks/messages-Cj1I1bdS.mjs +319 -0
- package/dist/chunks/messages-CktwPONk2.cjs +1 -0
- package/dist/chunks/messages-ClMbt_082.cjs +1 -0
- package/dist/chunks/messages-ClfpoVLB.cjs +1 -0
- package/dist/chunks/messages-CmcpUpmY2.cjs +1 -0
- package/dist/chunks/messages-CnNUiCOF2.cjs +1 -0
- package/dist/chunks/messages-Cq-tyBQ7.cjs +1 -0
- package/dist/chunks/messages-Cqs6tnMT.mjs +319 -0
- package/dist/chunks/messages-CrPQatEP.cjs +1 -0
- package/dist/chunks/messages-CtNhn2A72.cjs +1 -0
- package/dist/chunks/messages-Cw-JQsbB.cjs +1 -0
- package/dist/chunks/messages-CxLZNPP22.mjs +319 -0
- package/dist/chunks/messages-D2to7PFh.mjs +319 -0
- package/dist/chunks/messages-D7GNxw46.cjs +1 -0
- package/dist/chunks/messages-DDqbUQPS2.cjs +1 -0
- package/dist/chunks/messages-DIsfRggy.mjs +319 -0
- package/dist/chunks/messages-DLvqdeVe.mjs +319 -0
- package/dist/chunks/messages-DMukq8ei2.cjs +1 -0
- package/dist/chunks/messages-DOJ7TGKc.mjs +319 -0
- package/dist/chunks/messages-DPpKBEMV.mjs +319 -0
- package/dist/chunks/messages-DWDt4hEW.mjs +319 -0
- package/dist/chunks/messages-DYPc3t5L.cjs +1 -0
- package/dist/chunks/messages-DYRRi1JW.mjs +319 -0
- package/dist/chunks/messages-DYbP7_iL.cjs +1 -0
- package/dist/chunks/messages-D_gbD8W22.mjs +319 -0
- package/dist/chunks/messages-DaQ1XgNk.mjs +319 -0
- package/dist/chunks/messages-DjW1_-Ba2.mjs +319 -0
- package/dist/chunks/messages-Dop11yxi.mjs +319 -0
- package/dist/chunks/messages-DoyFY1Ye.mjs +319 -0
- package/dist/chunks/messages-DpjZ6YjX.cjs +1 -0
- package/dist/chunks/messages-DprfonW1.mjs +319 -0
- package/dist/chunks/messages-Dq8w46wu.cjs +1 -0
- package/dist/chunks/messages-DqbBTg1F2.mjs +319 -0
- package/dist/chunks/messages-DsGOj3A62.cjs +1 -0
- package/dist/chunks/messages-Dt6sbdaY.mjs +319 -0
- package/dist/chunks/messages-Dv3xqn-c.mjs +319 -0
- package/dist/chunks/messages-DwZCK3WR2.cjs +1 -0
- package/dist/chunks/messages-G-grLA6L2.cjs +1 -0
- package/dist/chunks/messages-HmyGBKiy2.cjs +1 -0
- package/dist/chunks/messages-IsKrH6md2.mjs +319 -0
- package/dist/chunks/messages-L1H9KlM8.cjs +1 -0
- package/dist/chunks/messages-OwCNaUA2.cjs +1 -0
- package/dist/chunks/messages-Q1fgq2tw.cjs +1 -0
- package/dist/chunks/messages-RLMDvD9N.mjs +319 -0
- package/dist/chunks/messages-SGrUP3jU2.mjs +319 -0
- package/dist/chunks/messages-TET2HqbJ.mjs +319 -0
- package/dist/chunks/messages-UR9AknuE.cjs +1 -0
- package/dist/chunks/messages-UXbrSqP4.mjs +319 -0
- package/dist/chunks/messages-UlQUIo4t.cjs +1 -0
- package/dist/chunks/messages-VO5bBaDw2.cjs +1 -0
- package/dist/chunks/messages-Vz-ouTEN.mjs +319 -0
- package/dist/chunks/messages-Z5hg0_Dz2.mjs +319 -0
- package/dist/chunks/messages-bBZDrpto2.mjs +319 -0
- package/dist/chunks/messages-ipwQdTtE.cjs +1 -0
- package/dist/chunks/messages-jXbN1DEs.mjs +319 -0
- package/dist/chunks/messages-kon7ablY2.cjs +1 -0
- package/dist/chunks/messages-oeTrLt0-.cjs +1 -0
- package/dist/chunks/messages-qga5_rrO.cjs +1 -0
- package/dist/chunks/messages-sEnNaZIo.cjs +1 -0
- package/dist/chunks/messages-szOBKu5g.cjs +1 -0
- package/dist/chunks/messages-tZ7nZ7qL.cjs +1 -0
- package/dist/chunks/messages-u_dR89Qy.mjs +319 -0
- package/dist/chunks/messages-wDo4f3f9.cjs +1 -0
- package/dist/chunks/messages-wxVdFEgz2.mjs +319 -0
- package/dist/chunks/messages-x3ljzuuQ2.cjs +1 -0
- package/dist/chunks/messages-x6wDbfws2.mjs +319 -0
- package/dist/chunks/messages-ygmjC_Dc.cjs +1 -0
- package/dist/chunks/messages-zPVJyoxM.cjs +1 -0
- package/dist/chunks/micromark-extension-math-Cm8w3ABm.cjs +1 -0
- package/dist/chunks/micromark-extension-math-cDSPzUWY.mjs +169 -0
- package/dist/chunks/mindmap-definition-QFDTVHPH-DLO594eM.cjs +96 -0
- package/dist/chunks/mindmap-definition-QFDTVHPH-QxqvL96A.mjs +1013 -0
- package/dist/chunks/notifier-CfO3Icvp.cjs +1 -0
- package/dist/chunks/notifier-DMdYq9FS.mjs +73 -0
- package/dist/chunks/ordinal-DgAmiD5I.mjs +65 -0
- package/dist/chunks/ordinal-mgpK7IL3.cjs +1 -0
- package/dist/chunks/packet-4T2RLAQJ-BQYK4Pey.cjs +1 -0
- package/dist/chunks/packet-4T2RLAQJ-BwgNXqij.mjs +3 -0
- package/dist/chunks/pie-ZZUOXDRM-BLh1-ocA.cjs +1 -0
- package/dist/chunks/pie-ZZUOXDRM-CrDtyZu4.mjs +3 -0
- package/dist/chunks/pieDiagram-DEJITSTG-CGduyUgA.mjs +179 -0
- package/dist/chunks/pieDiagram-DEJITSTG-Do5jGsL7.cjs +30 -0
- package/dist/chunks/prism-bash-OGjZLOVe.cjs +1 -0
- package/dist/chunks/prism-bash-oISNNULp.mjs +175 -0
- package/dist/chunks/prism-c-1g9CdJOp.cjs +1 -0
- package/dist/chunks/prism-c-MtM8JocP.mjs +54 -0
- package/dist/chunks/prism-cpp-CORR584T.cjs +1 -0
- package/dist/chunks/prism-cpp-DswQJFJz.mjs +63 -0
- package/dist/chunks/prism-csharp-BqZp_TTb.cjs +1 -0
- package/dist/chunks/prism-csharp-GIfQrsqe.mjs +236 -0
- package/dist/chunks/prism-css-BLyqeHZR.mjs +55 -0
- package/dist/chunks/prism-css-DmF38Kcs.cjs +1 -0
- package/dist/chunks/prism-dart-CFseeodJ.cjs +1 -0
- package/dist/chunks/prism-dart-DbCi1QVI.mjs +52 -0
- package/dist/chunks/prism-docker-BOsXo4aW.cjs +1 -0
- package/dist/chunks/prism-docker-CUCbqggk.mjs +75 -0
- package/dist/chunks/prism-go-DVHXGmKb.mjs +20 -0
- package/dist/chunks/prism-go-DsEyoP6D.cjs +1 -0
- package/dist/chunks/prism-graphql-DGEYZFbw.mjs +114 -0
- package/dist/chunks/prism-graphql-DqXh7GRP.cjs +1 -0
- package/dist/chunks/prism-java-CzQtfd6W.mjs +99 -0
- package/dist/chunks/prism-java-DQn4zrh0.cjs +1 -0
- package/dist/chunks/prism-javascript-CAkVOGaq.mjs +101 -0
- package/dist/chunks/prism-javascript-UQPp4ffL.cjs +1 -0
- package/dist/chunks/prism-json-B-63BF6R.cjs +1 -0
- package/dist/chunks/prism-json-BSGjg8pt.mjs +25 -0
- package/dist/chunks/prism-kotlin-D9r_epW6.mjs +64 -0
- package/dist/chunks/prism-kotlin-DmCIViWe.cjs +1 -0
- package/dist/chunks/prism-latex-Bcpg2uQr.cjs +1 -0
- package/dist/chunks/prism-latex-o70KNu9w.mjs +43 -0
- package/dist/chunks/prism-lua-7od8jpGg.mjs +17 -0
- package/dist/chunks/prism-lua-DyMxrgA_.cjs +1 -0
- package/dist/chunks/prism-markdown-BY8dZr_8.cjs +1 -0
- package/dist/chunks/prism-markdown-CI62y6qt.mjs +251 -0
- package/dist/chunks/prism-markup-DFqZi51m.mjs +116 -0
- package/dist/chunks/prism-markup-OdaHxDBn.cjs +1 -0
- package/dist/chunks/prism-markup-templating-Cnde-rJf.cjs +1 -0
- package/dist/chunks/prism-markup-templating-DTIDwO2f.mjs +39 -0
- package/dist/chunks/prism-php-BFUaOiLc.mjs +277 -0
- package/dist/chunks/prism-php-D8NgAYtH.cjs +1 -0
- package/dist/chunks/prism-python-CTRSlrPP.mjs +59 -0
- package/dist/chunks/prism-python-vAqxHcox.cjs +1 -0
- package/dist/chunks/prism-r-AA_ZuQPX.mjs +19 -0
- package/dist/chunks/prism-r-BsUW1w_m.cjs +1 -0
- package/dist/chunks/prism-ruby-BttDevO3.mjs +156 -0
- package/dist/chunks/prism-ruby-D7wGSPCx.cjs +1 -0
- package/dist/chunks/prism-rust-1wrW82hd.mjs +92 -0
- package/dist/chunks/prism-rust-C65Pn3Oc.cjs +1 -0
- package/dist/chunks/prism-scala-C26iL30s.mjs +43 -0
- package/dist/chunks/prism-scala-DuAsLUh6.cjs +1 -0
- package/dist/chunks/prism-sql-CSv-2hNx.mjs +29 -0
- package/dist/chunks/prism-sql-DHhl_Wd1.cjs +1 -0
- package/dist/chunks/prism-swift-2HH6IALG.cjs +1 -0
- package/dist/chunks/prism-swift-ik83oO-E.mjs +94 -0
- package/dist/chunks/prism-typescript-ChaS5gh3.mjs +38 -0
- package/dist/chunks/prism-typescript-Cuqi9QKv.cjs +1 -0
- package/dist/chunks/prism-yaml-BT2oArqa.cjs +1 -0
- package/dist/chunks/prism-yaml-YI3VZVAw.mjs +68 -0
- package/dist/chunks/quadrantDiagram-34T5L4WZ-BdwmsqYk.cjs +7 -0
- package/dist/chunks/quadrantDiagram-34T5L4WZ-BiqiWPbj.mjs +1960 -0
- package/dist/chunks/radar-PYXPWWZC-CYtB39az.mjs +3 -0
- package/dist/chunks/radar-PYXPWWZC-Drac9aGm.cjs +1 -0
- package/dist/chunks/requirementDiagram-MS252O5E-Cko4AhA2.mjs +2224 -0
- package/dist/chunks/requirementDiagram-MS252O5E-DBRLVWVl.cjs +84 -0
- package/dist/chunks/sankeyDiagram-XADWPNL6-BFWIr9AZ.mjs +909 -0
- package/dist/chunks/sankeyDiagram-XADWPNL6-Dq3Fi6gG.cjs +10 -0
- package/dist/chunks/sequenceDiagram-FGHM5R23-BKKZAG9O.cjs +157 -0
- package/dist/chunks/sequenceDiagram-FGHM5R23-DHFzzYeT.mjs +4181 -0
- package/dist/chunks/stateDiagram-FHFEXIEX-B1vJTyiJ.mjs +218 -0
- package/dist/chunks/stateDiagram-FHFEXIEX-DsHbgVAE.cjs +1 -0
- package/dist/chunks/stateDiagram-v2-QKLJ7IA2-DC206QSk.mjs +28 -0
- package/dist/chunks/stateDiagram-v2-QKLJ7IA2-DzkxV3pL.cjs +1 -0
- package/dist/chunks/timeline-definition-GMOUNBTQ-BlXvHIKp.mjs +1084 -0
- package/dist/chunks/timeline-definition-GMOUNBTQ-durCMWAX.cjs +120 -0
- package/dist/chunks/tools-Bc4e0xmz.mjs +13848 -0
- package/dist/chunks/tools-DaOdAh89.cjs +115 -0
- package/dist/chunks/treeView-SZITEDCU-BpLDxB8w.cjs +1 -0
- package/dist/chunks/treeView-SZITEDCU-DIbHFtMw.mjs +3 -0
- package/dist/chunks/treemap-W4RFUUIX-4t60SvLo.mjs +3 -0
- package/dist/chunks/treemap-W4RFUUIX-jpjSZokO.cjs +1 -0
- package/dist/chunks/vennDiagram-DHZGUBPP-BVxAvXiG.mjs +1876 -0
- package/dist/chunks/vennDiagram-DHZGUBPP-Dtpe6giP.cjs +34 -0
- package/dist/chunks/wardley-RL74JXVD-CBBTKC3H.cjs +1 -0
- package/dist/chunks/wardley-RL74JXVD-g5DNBeQ1.mjs +3 -0
- package/dist/chunks/wardleyDiagram-NUSXRM2D-BGORQqtQ.mjs +594 -0
- package/dist/chunks/wardleyDiagram-NUSXRM2D-ClsU-9PV.cjs +20 -0
- package/dist/chunks/xychartDiagram-5P7HB3ND-DplTzQI6.mjs +2017 -0
- package/dist/chunks/xychartDiagram-5P7HB3ND-EO18s7Fo.cjs +7 -0
- package/dist/full.cjs +1 -1
- package/dist/full.mjs +9 -9
- package/dist/locales.mjs +175 -68
- package/dist/markdown.cjs +2 -2
- package/dist/markdown.mjs +392 -384
- package/dist/messages-28LGzsNB.mjs +319 -0
- package/dist/messages-35X8GsGw2.mjs +319 -0
- package/dist/messages-5ygX-4B92.mjs +319 -0
- package/dist/messages-83AcZNii.mjs +319 -0
- package/dist/messages-B-OvX3Vz2.mjs +319 -0
- package/dist/messages-B56oJj_X2.mjs +319 -0
- package/dist/messages-B7peBJXJ2.mjs +319 -0
- package/dist/messages-BGwTNk0S2.mjs +319 -0
- package/dist/messages-BH-SS-wY.mjs +319 -0
- package/dist/messages-BPX8V6tu.mjs +319 -0
- package/dist/messages-BUp8P-0d.mjs +319 -0
- package/dist/messages-BX3WM02N2.mjs +319 -0
- package/dist/messages-BZrMZvRb2.mjs +319 -0
- package/dist/messages-B_0akf3T.mjs +319 -0
- package/dist/messages-BaE65Wtr.mjs +319 -0
- package/dist/messages-BdSGtvzM.mjs +319 -0
- package/dist/messages-BerXSWcD.mjs +319 -0
- package/dist/messages-BqKaz7yB2.mjs +319 -0
- package/dist/messages-BrqBJ6W_2.mjs +319 -0
- package/dist/messages-BvgGIpxE2.mjs +319 -0
- package/dist/messages-BxSe3rKx.mjs +319 -0
- package/dist/messages-ByD9AIJL2.mjs +319 -0
- package/dist/messages-CDJS_Tu2.mjs +319 -0
- package/dist/messages-CF9R29jb.mjs +319 -0
- package/dist/messages-CIbK29nM.mjs +319 -0
- package/dist/messages-CMD0tgb2.mjs +319 -0
- package/dist/messages-CMW0tO_d2.mjs +319 -0
- package/dist/messages-CMrYQJ5x2.mjs +319 -0
- package/dist/messages-CQZJnkss2.mjs +319 -0
- package/dist/messages-CRnolvNg.mjs +319 -0
- package/dist/messages-CS74u2hS2.mjs +319 -0
- package/dist/messages-CTxao0S32.mjs +319 -0
- package/dist/messages-CZl83L7T.mjs +319 -0
- package/dist/messages-C_kloJSr.mjs +319 -0
- package/dist/messages-Cfe_CPBW.mjs +319 -0
- package/dist/messages-Ch0oiQp5.mjs +319 -0
- package/dist/messages-Cigiz7tI.mjs +319 -0
- package/dist/messages-Cjac781Z.mjs +319 -0
- package/dist/messages-CqVFa1ZA.mjs +319 -0
- package/dist/messages-CwDgZL5-.mjs +319 -0
- package/dist/messages-Czd64cAx.mjs +319 -0
- package/dist/messages-CzxMz1wI.mjs +319 -0
- package/dist/messages-D2SkVxgV.mjs +319 -0
- package/dist/messages-D4ZsN52E2.mjs +319 -0
- package/dist/messages-DG0aBs1m2.mjs +319 -0
- package/dist/messages-DIkQAMxZ2.mjs +319 -0
- package/dist/messages-DJBc5_b_2.mjs +319 -0
- package/dist/messages-DN8oOcrS.mjs +319 -0
- package/dist/messages-DV5yhL0q.mjs +319 -0
- package/dist/messages-DVI1iDTn2.mjs +319 -0
- package/dist/messages-DVzrCNrY.mjs +319 -0
- package/dist/messages-DXwJOr-H2.mjs +319 -0
- package/dist/messages-D_edVQrv.mjs +319 -0
- package/dist/messages-DbODRieP.mjs +319 -0
- package/dist/messages-KMQrhAva.mjs +319 -0
- package/dist/messages-L4NsHX-g.mjs +319 -0
- package/dist/messages-PPuF4CRy.mjs +319 -0
- package/dist/messages-UTJEPSiL.mjs +319 -0
- package/dist/messages-Wa5EXypv2.mjs +319 -0
- package/dist/messages-Wfxn9jZh.mjs +319 -0
- package/dist/messages-XieI4326.mjs +319 -0
- package/dist/messages-ZASZzduy.mjs +319 -0
- package/dist/messages-Z_3X1FJJ2.mjs +319 -0
- package/dist/messages-huyV3ICu.mjs +319 -0
- package/dist/messages-rd6zBwaX2.mjs +319 -0
- package/dist/messages-sBpTj74Q.mjs +319 -0
- package/dist/messages-twD0eDdc.mjs +319 -0
- package/dist/react.cjs +1 -1
- package/dist/react.mjs +25 -26
- package/dist/tools.cjs +1 -1
- package/dist/tools.mjs +3 -3
- package/dist/vendor.LICENSE.txt +141 -899
- package/package.json +12 -6
- package/src/components/constants/data-attributes.ts +2 -0
- package/src/components/dom.ts +4 -2
- package/src/components/i18n/locales/am/messages.json +109 -1
- package/src/components/i18n/locales/ar/messages.json +109 -1
- package/src/components/i18n/locales/az/messages.json +109 -1
- package/src/components/i18n/locales/bg/messages.json +109 -1
- package/src/components/i18n/locales/bn/messages.json +109 -1
- package/src/components/i18n/locales/bs/messages.json +109 -1
- package/src/components/i18n/locales/cs/messages.json +109 -1
- package/src/components/i18n/locales/da/messages.json +109 -1
- package/src/components/i18n/locales/de/messages.json +110 -2
- package/src/components/i18n/locales/dv/messages.json +109 -1
- package/src/components/i18n/locales/el/messages.json +109 -1
- package/src/components/i18n/locales/en/messages.json +108 -1
- package/src/components/i18n/locales/es/messages.json +109 -1
- package/src/components/i18n/locales/et/messages.json +109 -1
- package/src/components/i18n/locales/fa/messages.json +109 -1
- package/src/components/i18n/locales/fi/messages.json +109 -1
- package/src/components/i18n/locales/fil/messages.json +109 -1
- package/src/components/i18n/locales/fr/messages.json +110 -2
- package/src/components/i18n/locales/gu/messages.json +109 -1
- package/src/components/i18n/locales/he/messages.json +109 -1
- package/src/components/i18n/locales/hi/messages.json +109 -1
- package/src/components/i18n/locales/hr/messages.json +109 -1
- package/src/components/i18n/locales/hu/messages.json +109 -1
- package/src/components/i18n/locales/hy/messages.json +109 -1
- package/src/components/i18n/locales/id/messages.json +109 -1
- package/src/components/i18n/locales/it/messages.json +109 -1
- package/src/components/i18n/locales/ja/messages.json +109 -1
- package/src/components/i18n/locales/ka/messages.json +109 -1
- package/src/components/i18n/locales/km/messages.json +109 -1
- package/src/components/i18n/locales/kn/messages.json +109 -1
- package/src/components/i18n/locales/ko/messages.json +109 -1
- package/src/components/i18n/locales/ku/messages.json +109 -1
- package/src/components/i18n/locales/lo/messages.json +109 -1
- package/src/components/i18n/locales/lt/messages.json +109 -1
- package/src/components/i18n/locales/lv/messages.json +109 -1
- package/src/components/i18n/locales/mk/messages.json +109 -1
- package/src/components/i18n/locales/ml/messages.json +109 -1
- package/src/components/i18n/locales/mn/messages.json +109 -1
- package/src/components/i18n/locales/mr/messages.json +109 -1
- package/src/components/i18n/locales/ms/messages.json +109 -1
- package/src/components/i18n/locales/my/messages.json +109 -1
- package/src/components/i18n/locales/ne/messages.json +109 -1
- package/src/components/i18n/locales/nl/messages.json +110 -2
- package/src/components/i18n/locales/no/messages.json +109 -1
- package/src/components/i18n/locales/pa/messages.json +109 -1
- package/src/components/i18n/locales/pl/messages.json +109 -1
- package/src/components/i18n/locales/ps/messages.json +109 -1
- package/src/components/i18n/locales/pt/messages.json +109 -1
- package/src/components/i18n/locales/ro/messages.json +109 -1
- package/src/components/i18n/locales/ru/messages.json +109 -1
- package/src/components/i18n/locales/sd/messages.json +109 -1
- package/src/components/i18n/locales/si/messages.json +109 -1
- package/src/components/i18n/locales/sk/messages.json +109 -1
- package/src/components/i18n/locales/sl/messages.json +109 -1
- package/src/components/i18n/locales/sq/messages.json +109 -1
- package/src/components/i18n/locales/sr/messages.json +109 -1
- package/src/components/i18n/locales/sv/messages.json +109 -1
- package/src/components/i18n/locales/sw/messages.json +109 -1
- package/src/components/i18n/locales/ta/messages.json +109 -1
- package/src/components/i18n/locales/te/messages.json +109 -1
- package/src/components/i18n/locales/th/messages.json +109 -1
- package/src/components/i18n/locales/tr/messages.json +109 -1
- package/src/components/i18n/locales/ug/messages.json +109 -1
- package/src/components/i18n/locales/uk/messages.json +109 -1
- package/src/components/i18n/locales/ur/messages.json +109 -1
- package/src/components/i18n/locales/vi/messages.json +109 -1
- package/src/components/i18n/locales/yi/messages.json +109 -1
- package/src/components/i18n/locales/zh/messages.json +109 -1
- package/src/components/icons/index.ts +59 -0
- package/src/components/inline-tools/inline-tool-code.ts +1 -1
- package/src/components/modules/api/toolbar.ts +6 -4
- package/src/components/modules/blockEvents/index.ts +9 -0
- package/src/components/modules/blockManager/operations.ts +14 -1
- package/src/components/modules/drag/DragController.ts +24 -3
- package/src/components/modules/paste/handlers/files-handler.ts +41 -4
- package/src/components/modules/paste/index.ts +5 -1
- package/src/components/modules/paste/tool-registry.ts +22 -12
- package/src/components/modules/toolbar/blockSettings.ts +14 -2
- package/src/components/modules/toolbar/index.ts +49 -16
- package/src/components/modules/toolbar/inline/selection-validator.ts +17 -0
- package/src/components/modules/toolbar/plus-button.ts +4 -2
- package/src/components/modules/toolbar/positioning.ts +27 -0
- package/src/components/modules/toolbar/settings-toggler.ts +16 -5
- package/src/components/modules/toolbar/tooltip.ts +59 -15
- package/src/components/modules/ui.ts +23 -8
- package/src/components/ui/toolbox.ts +92 -7
- package/src/components/utils/data-model-transform.ts +71 -1
- package/src/components/utils/popover/components/popover-item/popover-item-default/popover-item-default.const.ts +5 -4
- package/src/components/utils/popover/components/popover-item/popover-item-default/popover-item-default.ts +1 -0
- package/src/components/utils/popover/components/popover-item/popover-item-separator/popover-item-separator.const.ts +1 -1
- package/src/components/utils/popover/components/search-input/search-input.const.ts +3 -3
- package/src/components/utils/popover/popover-abstract.ts +137 -2
- package/src/components/utils/popover/popover-desktop.ts +260 -14
- package/src/components/utils/popover/popover-inline.ts +3 -2
- package/src/components/utils/popover/popover-nested-position.ts +132 -0
- package/src/components/utils/popover/popover-position.ts +46 -5
- package/src/components/utils/popover/popover.const.ts +6 -3
- package/src/components/utils/tooltip.ts +52 -8
- package/src/components/utils/top-layer.ts +137 -0
- package/src/playground/block-states-gallery.ts +123 -0
- package/src/playground/icon-gallery.ts +346 -0
- package/src/styles/checklist.css +70 -0
- package/src/styles/colors.css +666 -0
- package/src/styles/database.css +1176 -0
- package/src/styles/emoji-picker.css +58 -0
- package/src/styles/fonts.css +33 -0
- package/src/styles/image.css +1111 -0
- package/src/styles/isolation.css +204 -0
- package/src/styles/keyframes.css +62 -0
- package/src/styles/main.css +28 -2566
- package/src/styles/popover-animation.css +34 -0
- package/src/styles/preflight.css +283 -0
- package/src/styles/slash-search.css +52 -0
- package/src/styles/tables.css +154 -0
- package/src/styles/tokens.css +127 -0
- package/src/tools/callout/emoji-picker/index.ts +4 -2
- package/src/tools/code/code-keyboard.ts +70 -8
- package/src/tools/code/constants.ts +3 -9
- package/src/tools/code/dom-builder.ts +5 -1
- package/src/tools/code/index.ts +185 -25
- package/src/tools/code/language-detector.ts +47 -52
- package/src/tools/code/prism-applier.ts +183 -0
- package/src/tools/code/prism-loader.ts +197 -0
- package/src/tools/database/database-board-view.ts +3 -1
- package/src/tools/image/alt-popover.css +42 -0
- package/src/tools/image/alt-popover.ts +104 -0
- package/src/tools/image/constants.ts +25 -0
- package/src/tools/image/crop-editor.css +513 -0
- package/src/tools/image/crop-editor.ts +331 -0
- package/src/tools/image/crop-math.ts +117 -0
- package/src/tools/image/crop-modal.css +105 -0
- package/src/tools/image/crop-modal.ts +92 -0
- package/src/tools/image/empty-state.ts +407 -0
- package/src/tools/image/error-state.ts +69 -0
- package/src/tools/image/errors.ts +18 -0
- package/src/tools/image/i18n.ts +8 -0
- package/src/tools/image/index.ts +755 -0
- package/src/tools/image/resizer.ts +119 -0
- package/src/tools/image/spring.ts +16 -0
- package/src/tools/image/ui.ts +921 -0
- package/src/tools/image/uploader.ts +61 -0
- package/src/tools/image/uploading-state.ts +117 -0
- package/src/tools/index.ts +2 -0
- package/src/tools/toggle/constants.ts +3 -1
- package/src/types-internal/prismjs-components.d.ts +9 -0
- package/types/api/toolbar.d.ts +14 -1
- package/types/configs/blok-config.d.ts +24 -0
- package/types/tools/image.d.ts +72 -0
- package/types/utils/popover/popover.d.ts +27 -0
- package/dist/chunks/_basePickBy-6gOwWeg0.mjs +0 -166
- package/dist/chunks/_basePickBy-mUHvTE6c.cjs +0 -1
- package/dist/chunks/_baseUniq-BP5sM8qF.cjs +0 -1
- package/dist/chunks/_baseUniq-BcOWmEX6.mjs +0 -682
- package/dist/chunks/arc-kVpio4JL.mjs +0 -80
- package/dist/chunks/arc-lSzOinJz.cjs +0 -1
- package/dist/chunks/architecture-YZFGNWBL-BFcrDSEW.mjs +0 -3
- package/dist/chunks/architecture-YZFGNWBL-D91d5pcl.cjs +0 -1
- package/dist/chunks/architectureDiagram-Q4EWVU46-CN6p4Aji.mjs +0 -4066
- package/dist/chunks/architectureDiagram-Q4EWVU46-CyW5N5Ic.cjs +0 -36
- package/dist/chunks/blockDiagram-DXYQGD6D-BvZWa5Rv.mjs +0 -3074
- package/dist/chunks/blockDiagram-DXYQGD6D-DmhBCLgd.cjs +0 -132
- package/dist/chunks/blok-CNEP3LpI.cjs +0 -16
- package/dist/chunks/blok-DNvzyOYn.mjs +0 -13679
- package/dist/chunks/c-CQrSye6K.mjs +0 -5
- package/dist/chunks/c-DNJHkQXQ.cjs +0 -1
- package/dist/chunks/c4Diagram-AHTNJAMY-Cmc2PsEs.mjs +0 -2956
- package/dist/chunks/c4Diagram-AHTNJAMY-DU2IYTXY.cjs +0 -10
- package/dist/chunks/ccount-B7is2MU0.mjs +0 -10
- package/dist/chunks/ccount-DtzbJUOh.cjs +0 -1
- package/dist/chunks/channel-BTWFNzkv.mjs +0 -5
- package/dist/chunks/channel-BqhnS5zl.cjs +0 -1
- package/dist/chunks/chunk-2KRD3SAO-COfwt0om.cjs +0 -1
- package/dist/chunks/chunk-2KRD3SAO-DWLzBIZw.mjs +0 -20
- package/dist/chunks/chunk-336JU56O-CqWDeAp1.cjs +0 -1
- package/dist/chunks/chunk-336JU56O-DbaX7hyp.mjs +0 -49
- package/dist/chunks/chunk-426QAEUC-MjtXwzdI.cjs +0 -1
- package/dist/chunks/chunk-426QAEUC-pmH9mm_X.mjs +0 -13
- package/dist/chunks/chunk-4BX2VUAB-B1LZI9QZ.mjs +0 -19
- package/dist/chunks/chunk-4BX2VUAB-Zs4zJRk9.cjs +0 -1
- package/dist/chunks/chunk-4TB4RGXK-BC8qRYSD.mjs +0 -3250
- package/dist/chunks/chunk-4TB4RGXK-Bq0teBqe.cjs +0 -206
- package/dist/chunks/chunk-55IACEB6-CaLO8kWA.mjs +0 -8
- package/dist/chunks/chunk-55IACEB6-DyTTYuc2.cjs +0 -1
- package/dist/chunks/chunk-5FUZZQ4R-6rlcIGG-.cjs +0 -62
- package/dist/chunks/chunk-5FUZZQ4R-DAWdfx4J.mjs +0 -3786
- package/dist/chunks/chunk-5PVQY5BW-7Voh8aPS.mjs +0 -1122
- package/dist/chunks/chunk-5PVQY5BW-DmATt7Fz.cjs +0 -2
- package/dist/chunks/chunk-67CJDMHE-DSEGOn_f.mjs +0 -20
- package/dist/chunks/chunk-67CJDMHE-zWcmgvwZ.cjs +0 -1
- package/dist/chunks/chunk-7N4EOEYR-CAuNhdG9.cjs +0 -1
- package/dist/chunks/chunk-7N4EOEYR-CnSg1Hfu.mjs +0 -29
- package/dist/chunks/chunk-AA7GKIK3-BmatWFnp.mjs +0 -24
- package/dist/chunks/chunk-AA7GKIK3-YMbh5HEs.cjs +0 -1
- package/dist/chunks/chunk-BSJP7CBP-BtFfqv7R.mjs +0 -83
- package/dist/chunks/chunk-BSJP7CBP-CjkEoJDh.cjs +0 -1
- package/dist/chunks/chunk-CIAEETIT-BP9BiKe5.cjs +0 -1
- package/dist/chunks/chunk-CIAEETIT-nVgPUEW1.mjs +0 -20
- package/dist/chunks/chunk-EDXVE4YY-Bw1v2mUF.cjs +0 -1
- package/dist/chunks/chunk-EDXVE4YY-e7599cf4.mjs +0 -26
- package/dist/chunks/chunk-ENJZ2VHE-9fAN50L-.cjs +0 -10
- package/dist/chunks/chunk-ENJZ2VHE-DaMNdqfV.mjs +0 -566
- package/dist/chunks/chunk-FMBD7UC4-CH_SSwhS.cjs +0 -15
- package/dist/chunks/chunk-FMBD7UC4-xT5c0WSd.mjs +0 -5
- package/dist/chunks/chunk-FOC6F5B3-AxSG6qaj.mjs +0 -20
- package/dist/chunks/chunk-FOC6F5B3-ScFIigAO.cjs +0 -1
- package/dist/chunks/chunk-ICPOFSXX-DQ4NxQTM.cjs +0 -122
- package/dist/chunks/chunk-ICPOFSXX-DbL0YBQf.mjs +0 -3290
- package/dist/chunks/chunk-K5T4RW27-BdGvq1o8.cjs +0 -94
- package/dist/chunks/chunk-K5T4RW27-CYdwJMQV.mjs +0 -16372
- package/dist/chunks/chunk-KGLVRYIC-BwOmLwqF.mjs +0 -20
- package/dist/chunks/chunk-KGLVRYIC-uzPiXgAg.cjs +0 -1
- package/dist/chunks/chunk-LIHQZDEY-ChgbfPTz.cjs +0 -1
- package/dist/chunks/chunk-LIHQZDEY-Csx8-523.mjs +0 -55
- package/dist/chunks/chunk-ORNJ4GCN-CCDHRflI.mjs +0 -25
- package/dist/chunks/chunk-ORNJ4GCN-HF28XIop.cjs +0 -1
- package/dist/chunks/chunk-OYMX7WX6-BAoDgMPF.mjs +0 -2038
- package/dist/chunks/chunk-OYMX7WX6-CGUpemDb.cjs +0 -231
- package/dist/chunks/chunk-QZHKN3VN-D1myzhE_.mjs +0 -12
- package/dist/chunks/chunk-QZHKN3VN-d_ESXyai.cjs +0 -1
- package/dist/chunks/chunk-U2HBQHQK-BXyrI_xP.mjs +0 -1875
- package/dist/chunks/chunk-U2HBQHQK-D62A_XCV.cjs +0 -70
- package/dist/chunks/chunk-X2U36JSP-BEHpYlmW.cjs +0 -1
- package/dist/chunks/chunk-X2U36JSP-CXhWYelJ.mjs +0 -68
- package/dist/chunks/chunk-XPW4576I-BidQL50C.cjs +0 -32
- package/dist/chunks/chunk-XPW4576I-DOztVf6t.mjs +0 -1146
- package/dist/chunks/chunk-YZCP3GAM-DrkjtME-.mjs +0 -60
- package/dist/chunks/chunk-YZCP3GAM-DuLQPyT4.cjs +0 -1
- package/dist/chunks/chunk-ZZ45TVLE-CSFFLvxb.mjs +0 -33
- package/dist/chunks/chunk-ZZ45TVLE-CZOUDLGO.cjs +0 -1
- package/dist/chunks/classDiagram-6PBFFD2Q-Ci3S9iu3.mjs +0 -30
- package/dist/chunks/classDiagram-6PBFFD2Q-GDkPRBlp.cjs +0 -1
- package/dist/chunks/classDiagram-v2-HSJHXN6E-B4vt694Q.cjs +0 -1
- package/dist/chunks/classDiagram-v2-HSJHXN6E-BkaFKbgJ.mjs +0 -30
- package/dist/chunks/clone-WSLD7bVs.mjs +0 -8
- package/dist/chunks/clone-_XTzxdN3.cjs +0 -1
- package/dist/chunks/constants-DJjFgioo.cjs +0 -451
- package/dist/chunks/constants-DMsOCPcF.mjs +0 -3268
- package/dist/chunks/core-C8BHLAAO.cjs +0 -12
- package/dist/chunks/core-D2KrVz4a.mjs +0 -4501
- package/dist/chunks/cose-bilkent-S5V4N54A-BXBidSxC.mjs +0 -2246
- package/dist/chunks/cose-bilkent-S5V4N54A-RkR02HV4.cjs +0 -1
- package/dist/chunks/cpp-DVBevX-J.cjs +0 -1
- package/dist/chunks/cpp-DnMQuZPn.mjs +0 -16
- package/dist/chunks/csharp-ByiKf6DR.mjs +0 -3
- package/dist/chunks/csharp-CHUT4JOq.cjs +0 -1
- package/dist/chunks/css-BqsWMbBt.mjs +0 -3
- package/dist/chunks/css-QEheyxtB.cjs +0 -1
- package/dist/chunks/dagre-C7z2UZ4M.mjs +0 -1483
- package/dist/chunks/dagre-KV5264BT-B5pZgbkN.cjs +0 -4
- package/dist/chunks/dagre-KV5264BT-Ct6qUqKI.mjs +0 -298
- package/dist/chunks/dagre-VHP8Ngkv.cjs +0 -1
- package/dist/chunks/dart-aYsezAEv.mjs +0 -3
- package/dist/chunks/dart-jPH5d8ma.cjs +0 -1
- package/dist/chunks/diagram-5BDNPKRD-B9hNG7ht.mjs +0 -112
- package/dist/chunks/diagram-5BDNPKRD-C1llOHQP.cjs +0 -10
- package/dist/chunks/diagram-G4DWMVQ6-9_YOaVXe.mjs +0 -546
- package/dist/chunks/diagram-G4DWMVQ6-CLdEGHkn.cjs +0 -24
- package/dist/chunks/diagram-MMDJMWI5-CnbiCUM3.cjs +0 -43
- package/dist/chunks/diagram-MMDJMWI5-DmStUoNk.mjs +0 -234
- package/dist/chunks/diagram-TYMM5635-BtMB4AKf.cjs +0 -24
- package/dist/chunks/diagram-TYMM5635-DmrkkW85.mjs +0 -144
- package/dist/chunks/dockerfile-1GBIWF66.mjs +0 -3
- package/dist/chunks/dockerfile-B2jMQOes.cjs +0 -1
- package/dist/chunks/engine-javascript-CYa8VRAu.mjs +0 -2373
- package/dist/chunks/engine-javascript-HHRWd9yA.cjs +0 -141
- package/dist/chunks/erDiagram-SMLLAGMA-5vkZ5DwJ.mjs +0 -1712
- package/dist/chunks/erDiagram-SMLLAGMA-luvZB3lF.cjs +0 -85
- package/dist/chunks/flowDiagram-DWJPFMVM-BpYbAeYP.cjs +0 -162
- package/dist/chunks/flowDiagram-DWJPFMVM-CGTiQBd7.mjs +0 -4175
- package/dist/chunks/ganttDiagram-T4ZO3ILL-BNtXyM0I.mjs +0 -3083
- package/dist/chunks/ganttDiagram-T4ZO3ILL-BaWZufgI.cjs +0 -292
- package/dist/chunks/gitGraph-7Q5UKJZL-Ds_Z9h4o.cjs +0 -1
- package/dist/chunks/gitGraph-7Q5UKJZL-DxMmuJIv.mjs +0 -3
- package/dist/chunks/gitGraphDiagram-UUTBAWPF-CmQR-xZp.mjs +0 -792
- package/dist/chunks/gitGraphDiagram-UUTBAWPF-DjMU1Vyg.cjs +0 -106
- package/dist/chunks/go-4mRqLTld.mjs +0 -3
- package/dist/chunks/go-BX-cNLGO.cjs +0 -1
- package/dist/chunks/graphlib-BfwqhpXp.mjs +0 -225
- package/dist/chunks/graphlib-CYv_-0LK.cjs +0 -1
- package/dist/chunks/graphql-4Htarzhp.mjs +0 -11
- package/dist/chunks/graphql-BnxAS09v.cjs +0 -1
- package/dist/chunks/html-CAN0GHkJ.cjs +0 -1
- package/dist/chunks/html-DW39yhuS.mjs +0 -10
- package/dist/chunks/i18next-loader-CyDs2NKf.mjs +0 -35
- package/dist/chunks/i18next-loader-cGwOOjK3.cjs +0 -1
- package/dist/chunks/info-OMHHGYJF-ChWZqC0a.mjs +0 -3
- package/dist/chunks/info-OMHHGYJF-u0RRQ9Uo.cjs +0 -1
- package/dist/chunks/infoDiagram-42DDH7IO-BbV_tozh.mjs +0 -29
- package/dist/chunks/infoDiagram-42DDH7IO-DOYkYMWg.cjs +0 -2
- package/dist/chunks/isEmpty-BHdznGlG.cjs +0 -1
- package/dist/chunks/isEmpty-jlCmuYeg.mjs +0 -35
- package/dist/chunks/ishikawaDiagram-UXIWVN3A-CbqoivFu.cjs +0 -70
- package/dist/chunks/ishikawaDiagram-UXIWVN3A-DJBG3b-A.mjs +0 -719
- package/dist/chunks/java-DD_iwrM-.mjs +0 -5
- package/dist/chunks/java-O-rzZ2Bn.cjs +0 -1
- package/dist/chunks/javascript-CJBlE5PB.mjs +0 -3
- package/dist/chunks/javascript-z9G2vOAZ.cjs +0 -1
- package/dist/chunks/journeyDiagram-VCZTEJTY-B5Peb7wS.cjs +0 -139
- package/dist/chunks/journeyDiagram-VCZTEJTY-BdMsFn3r.mjs +0 -885
- package/dist/chunks/json-C_epQRuA.cjs +0 -1
- package/dist/chunks/json-yRGZVu2_.mjs +0 -3
- package/dist/chunks/kanban-definition-6JOO6SKY-CwmSo6Ve.cjs +0 -89
- package/dist/chunks/kanban-definition-6JOO6SKY-ncNaxcxH.mjs +0 -980
- package/dist/chunks/kotlin-BmkhKZGf.mjs +0 -3
- package/dist/chunks/kotlin-Dj7KFgV1.cjs +0 -1
- package/dist/chunks/latex-BeVX0E4Z.mjs +0 -5
- package/dist/chunks/latex-u7qVP95p.cjs +0 -1
- package/dist/chunks/lightweight-i18n-Bb_VS9v5.mjs +0 -237
- package/dist/chunks/lightweight-i18n-CGBjC2TJ.cjs +0 -1
- package/dist/chunks/line-B7XG48Uf.cjs +0 -1
- package/dist/chunks/line-CWJNfvdn.mjs +0 -34
- package/dist/chunks/linear-BU4OjSPS.mjs +0 -289
- package/dist/chunks/linear-D5j5Vgij.cjs +0 -1
- package/dist/chunks/lua-6ceNckPi.cjs +0 -1
- package/dist/chunks/lua-CPnWrc7C.mjs +0 -5
- package/dist/chunks/markdown-DSiOSAsn.mjs +0 -3
- package/dist/chunks/markdown-Vce1p-mO.cjs +0 -1
- package/dist/chunks/mdast-util-math-B9OHoBuN.cjs +0 -5
- package/dist/chunks/mdast-util-math-D42zbZda.mjs +0 -151
- package/dist/chunks/mermaid-C2y_3PIg.mjs +0 -3
- package/dist/chunks/mermaid-Cu5vPKfS.cjs +0 -1
- package/dist/chunks/mermaid-parser.core-BrZQFEht.cjs +0 -3
- package/dist/chunks/mermaid-parser.core-DBhkcRo7.mjs +0 -57
- package/dist/chunks/mermaid.core-GiTRPJLF.cjs +0 -10
- package/dist/chunks/mermaid.core-uSzF9nF1.mjs +0 -977
- package/dist/chunks/messages--CbdZY2w.cjs +0 -1
- package/dist/chunks/messages--c74ihtM.mjs +0 -212
- package/dist/chunks/messages-041mNyU42.mjs +0 -212
- package/dist/chunks/messages-1hpCmcb5.cjs +0 -1
- package/dist/chunks/messages-44SP7ajI.mjs +0 -212
- package/dist/chunks/messages-4_3WFJMy2.cjs +0 -1
- package/dist/chunks/messages-7NvouWKA2.mjs +0 -212
- package/dist/chunks/messages-ADxG1iWK2.cjs +0 -1
- package/dist/chunks/messages-AnuHiDPc2.mjs +0 -212
- package/dist/chunks/messages-B1V7UT9I.mjs +0 -212
- package/dist/chunks/messages-B2Q9NH4D.mjs +0 -212
- package/dist/chunks/messages-B3MONaxw2.cjs +0 -1
- package/dist/chunks/messages-B3tNgyxG2.cjs +0 -1
- package/dist/chunks/messages-B6j77WNV2.mjs +0 -212
- package/dist/chunks/messages-B91FdwB0.cjs +0 -1
- package/dist/chunks/messages-B9igXgiw.cjs +0 -1
- package/dist/chunks/messages-BB1xM_oB.cjs +0 -1
- package/dist/chunks/messages-BEV0lzGv2.mjs +0 -212
- package/dist/chunks/messages-BG749_88.mjs +0 -212
- package/dist/chunks/messages-BGZLiYrQ.cjs +0 -1
- package/dist/chunks/messages-BGpGj8nJ2.mjs +0 -212
- package/dist/chunks/messages-BK6gK3wu.cjs +0 -1
- package/dist/chunks/messages-BKmAFG9Z.cjs +0 -1
- package/dist/chunks/messages-BMVJq-1T.cjs +0 -1
- package/dist/chunks/messages-BMsqJNz0.cjs +0 -1
- package/dist/chunks/messages-BNYDShPm2.mjs +0 -212
- package/dist/chunks/messages-BSVhckNg.cjs +0 -1
- package/dist/chunks/messages-BUaHDggs.cjs +0 -1
- package/dist/chunks/messages-BUaJv5qS.cjs +0 -1
- package/dist/chunks/messages-BW--wNis.mjs +0 -212
- package/dist/chunks/messages-BXcSH14N.cjs +0 -1
- package/dist/chunks/messages-BYOYrUOu.cjs +0 -1
- package/dist/chunks/messages-BYSE1Iq2.cjs +0 -1
- package/dist/chunks/messages-B_Mqw9Dl2.mjs +0 -212
- package/dist/chunks/messages-Bb225KE6.cjs +0 -1
- package/dist/chunks/messages-BbYwT3FH2.mjs +0 -212
- package/dist/chunks/messages-Bda8jwos2.mjs +0 -212
- package/dist/chunks/messages-BdpFAZGZ.mjs +0 -212
- package/dist/chunks/messages-BiDR95AW.cjs +0 -1
- package/dist/chunks/messages-BkAoxm6t.cjs +0 -1
- package/dist/chunks/messages-BmNLNUz_.mjs +0 -212
- package/dist/chunks/messages-BnGtg6t4.mjs +0 -212
- package/dist/chunks/messages-BnXkEkD_.mjs +0 -212
- package/dist/chunks/messages-BpUasRQ3.cjs +0 -1
- package/dist/chunks/messages-BwtU06Ax.mjs +0 -212
- package/dist/chunks/messages-BxV8K7y42.cjs +0 -1
- package/dist/chunks/messages-Bxhns4Ui.cjs +0 -1
- package/dist/chunks/messages-ByRcwLIO.mjs +0 -212
- package/dist/chunks/messages-C0sxGmLV2.cjs +0 -1
- package/dist/chunks/messages-C5nqE8O42.cjs +0 -1
- package/dist/chunks/messages-C7il6l-S.cjs +0 -1
- package/dist/chunks/messages-CFyGEGXM2.cjs +0 -1
- package/dist/chunks/messages-CHBH3EQG.mjs +0 -212
- package/dist/chunks/messages-CIYU5iEj.mjs +0 -212
- package/dist/chunks/messages-CJGOmFxi.mjs +0 -212
- package/dist/chunks/messages-CN2yjHzW.cjs +0 -1
- package/dist/chunks/messages-CP7Ncgaf.mjs +0 -212
- package/dist/chunks/messages-CP8YKa4F.mjs +0 -212
- package/dist/chunks/messages-CTy_3-mw2.cjs +0 -1
- package/dist/chunks/messages-CUxaqK8t2.mjs +0 -212
- package/dist/chunks/messages-CXDk_Rlr2.mjs +0 -212
- package/dist/chunks/messages-CYZxR91M.mjs +0 -212
- package/dist/chunks/messages-C_ogasse2.cjs +0 -1
- package/dist/chunks/messages-CbFuceEb.cjs +0 -1
- package/dist/chunks/messages-CbbYb7cc.cjs +0 -1
- package/dist/chunks/messages-CfO5kKI72.cjs +0 -1
- package/dist/chunks/messages-Cgv5DuNV.cjs +0 -1
- package/dist/chunks/messages-Cjm7Nj1C.mjs +0 -212
- package/dist/chunks/messages-CjzZ6nxv.mjs +0 -212
- package/dist/chunks/messages-CkBrRFY02.cjs +0 -1
- package/dist/chunks/messages-CpVtcYqo.mjs +0 -212
- package/dist/chunks/messages-CpppvIiu.cjs +0 -1
- package/dist/chunks/messages-CumomgDd2.mjs +0 -212
- package/dist/chunks/messages-CvCb4dCy.mjs +0 -212
- package/dist/chunks/messages-D3DNj1jh.mjs +0 -212
- package/dist/chunks/messages-D7d2U-tx.mjs +0 -212
- package/dist/chunks/messages-D8-vyZ2V.cjs +0 -1
- package/dist/chunks/messages-DFWhnXF12.mjs +0 -212
- package/dist/chunks/messages-DIpVfyX-2.cjs +0 -1
- package/dist/chunks/messages-DJBeEI7G.cjs +0 -1
- package/dist/chunks/messages-DJr1x1i2.mjs +0 -212
- package/dist/chunks/messages-DN7PU5Un2.mjs +0 -212
- package/dist/chunks/messages-DR8nFHdw2.cjs +0 -1
- package/dist/chunks/messages-DT5Ux3el.cjs +0 -1
- package/dist/chunks/messages-DVh_Bwwq.mjs +0 -212
- package/dist/chunks/messages-DVwHxslb.mjs +0 -212
- package/dist/chunks/messages-DZ1Pfnl0.mjs +0 -212
- package/dist/chunks/messages-Da2SYMf52.cjs +0 -1
- package/dist/chunks/messages-DaaqkvOz2.cjs +0 -1
- package/dist/chunks/messages-DdiqfVCc.cjs +0 -1
- package/dist/chunks/messages-DfZe7SKZ.cjs +0 -1
- package/dist/chunks/messages-DkJ0bcqu.cjs +0 -1
- package/dist/chunks/messages-DkmG49t8.cjs +0 -1
- package/dist/chunks/messages-Do3QV7QW.mjs +0 -212
- package/dist/chunks/messages-Do4o9ckW.cjs +0 -1
- package/dist/chunks/messages-DrbTe09r.cjs +0 -1
- package/dist/chunks/messages-Drxwphbg2.mjs +0 -212
- package/dist/chunks/messages-DtgIZDlN.cjs +0 -1
- package/dist/chunks/messages-DtloGH1v2.mjs +0 -212
- package/dist/chunks/messages-Du0zg7UM.mjs +0 -212
- package/dist/chunks/messages-DuA_D23n.mjs +0 -212
- package/dist/chunks/messages-DwKRw3jP2.mjs +0 -212
- package/dist/chunks/messages-DxCaGN-Q2.cjs +0 -1
- package/dist/chunks/messages-DxpBJ5ZY.cjs +0 -1
- package/dist/chunks/messages-DyWu9_0D.cjs +0 -1
- package/dist/chunks/messages-DzAYvMm72.mjs +0 -212
- package/dist/chunks/messages-Dzmge-lj.mjs +0 -212
- package/dist/chunks/messages-ETNAE7WV.mjs +0 -212
- package/dist/chunks/messages-F4r6ruTX2.mjs +0 -212
- package/dist/chunks/messages-FNQdT9Da.mjs +0 -212
- package/dist/chunks/messages-FYGyC6zk2.mjs +0 -212
- package/dist/chunks/messages-Hg0BECWK.cjs +0 -1
- package/dist/chunks/messages-JlduXweH2.cjs +0 -1
- package/dist/chunks/messages-Km2PU_o7.cjs +0 -1
- package/dist/chunks/messages-MgJnGL9X2.cjs +0 -1
- package/dist/chunks/messages-PIoKW4js2.cjs +0 -1
- package/dist/chunks/messages-VEm9mp5H.cjs +0 -1
- package/dist/chunks/messages-WgwkG5PL2.cjs +0 -1
- package/dist/chunks/messages-X46KAUoI.cjs +0 -1
- package/dist/chunks/messages-ZS1Ro8ZB.mjs +0 -212
- package/dist/chunks/messages-ZZd1ckSO2.cjs +0 -1
- package/dist/chunks/messages-dyhHlgE9.mjs +0 -212
- package/dist/chunks/messages-fAEKtYXO.mjs +0 -212
- package/dist/chunks/messages-hhptyJO3.mjs +0 -212
- package/dist/chunks/messages-hk4dinYI.mjs +0 -212
- package/dist/chunks/messages-knSLxvI6.mjs +0 -212
- package/dist/chunks/messages-lORohDgW2.mjs +0 -212
- package/dist/chunks/messages-mvnz8DvU.mjs +0 -212
- package/dist/chunks/messages-pHWKsrcZ.mjs +0 -212
- package/dist/chunks/messages-q2McAyOz.mjs +0 -212
- package/dist/chunks/messages-r62SI44r.mjs +0 -212
- package/dist/chunks/messages-uFdMhLbJ.mjs +0 -212
- package/dist/chunks/messages-vRqPeNM_.cjs +0 -1
- package/dist/chunks/messages-vhq442qv.cjs +0 -1
- package/dist/chunks/micromark-extension-math-BXJknrtf.cjs +0 -1
- package/dist/chunks/micromark-extension-math-x3wvkKaN.mjs +0 -169
- package/dist/chunks/mindmap-definition-QFDTVHPH-6O8s-b35.cjs +0 -96
- package/dist/chunks/mindmap-definition-QFDTVHPH-BfOyKFtC.mjs +0 -1013
- package/dist/chunks/notifier-B-wErJJB.mjs +0 -73
- package/dist/chunks/notifier-CwnFVNdD.cjs +0 -1
- package/dist/chunks/objectWithoutProperties-BbzyiphF.cjs +0 -1
- package/dist/chunks/objectWithoutProperties-Dci1-l7D.mjs +0 -23
- package/dist/chunks/one-light-D2mpnHEP.cjs +0 -1
- package/dist/chunks/one-light-bqnXiA0I.mjs +0 -4
- package/dist/chunks/ordinal-CN3SDQau.mjs +0 -65
- package/dist/chunks/ordinal-DFFZs5-y.cjs +0 -1
- package/dist/chunks/packet-4T2RLAQJ-7DW35MGl.mjs +0 -3
- package/dist/chunks/packet-4T2RLAQJ-B5XvZd2W.cjs +0 -1
- package/dist/chunks/php-BMavm1CR.cjs +0 -1
- package/dist/chunks/php-Dejkjxb5.mjs +0 -18
- package/dist/chunks/pie-ZZUOXDRM-Dtuq0w2k.mjs +0 -3
- package/dist/chunks/pie-ZZUOXDRM-SOG0aDPa.cjs +0 -1
- package/dist/chunks/pieDiagram-DEJITSTG-B1sjciNi.mjs +0 -179
- package/dist/chunks/pieDiagram-DEJITSTG-BkEwYBz9.cjs +0 -30
- package/dist/chunks/python-Dcoit5Q5.cjs +0 -1
- package/dist/chunks/python-tdu-oDWx.mjs +0 -3
- package/dist/chunks/quadrantDiagram-34T5L4WZ-CV838wf-.mjs +0 -1960
- package/dist/chunks/quadrantDiagram-34T5L4WZ-RJme4lkz.cjs +0 -7
- package/dist/chunks/r-BdDCwgEs.cjs +0 -1
- package/dist/chunks/r-D8fCyoTl.mjs +0 -5
- package/dist/chunks/radar-PYXPWWZC-Bz4lwSbg.mjs +0 -3
- package/dist/chunks/radar-PYXPWWZC-Doch8Lt3.cjs +0 -1
- package/dist/chunks/requirementDiagram-MS252O5E-CA3LUAVZ.mjs +0 -2224
- package/dist/chunks/requirementDiagram-MS252O5E-CMqFsK_K.cjs +0 -84
- package/dist/chunks/ruby-DHm8_lqY.cjs +0 -1
- package/dist/chunks/ruby-Z7wCYjey.mjs +0 -33
- package/dist/chunks/rust-Cdm0j4IC.cjs +0 -1
- package/dist/chunks/rust-D5IQAarB.mjs +0 -3
- package/dist/chunks/sankeyDiagram-XADWPNL6-BPaUkDQv.cjs +0 -10
- package/dist/chunks/sankeyDiagram-XADWPNL6-Cw8wB2YO.mjs +0 -909
- package/dist/chunks/scala-CbcMYkuq.mjs +0 -3
- package/dist/chunks/scala-Tb1u_9W3.cjs +0 -1
- package/dist/chunks/sequenceDiagram-FGHM5R23-DbM-gyMR.cjs +0 -157
- package/dist/chunks/sequenceDiagram-FGHM5R23-pm0MaeXC.mjs +0 -4181
- package/dist/chunks/shellscript-CZefq5l_.mjs +0 -3
- package/dist/chunks/shellscript-D6KsENaG.cjs +0 -1
- package/dist/chunks/sql-BlpbD7FB.cjs +0 -1
- package/dist/chunks/sql-C4ibVEDs.mjs +0 -3
- package/dist/chunks/stateDiagram-FHFEXIEX-CEcLtV9Z.cjs +0 -1
- package/dist/chunks/stateDiagram-FHFEXIEX-CMcsvm0M.mjs +0 -218
- package/dist/chunks/stateDiagram-v2-QKLJ7IA2-C4nZGNBm.mjs +0 -28
- package/dist/chunks/stateDiagram-v2-QKLJ7IA2-aa692V81.cjs +0 -1
- package/dist/chunks/swift-Drpgj9J0.mjs +0 -3
- package/dist/chunks/swift-DubrdZus.cjs +0 -1
- package/dist/chunks/timeline-definition-GMOUNBTQ-DwHKPj3j.mjs +0 -1084
- package/dist/chunks/timeline-definition-GMOUNBTQ-ceXDJGg_.cjs +0 -120
- package/dist/chunks/tools-DPov06L-.mjs +0 -11458
- package/dist/chunks/tools-NAqHj-Cy.cjs +0 -9
- package/dist/chunks/treeView-SZITEDCU-BUuSm_Hn.cjs +0 -1
- package/dist/chunks/treeView-SZITEDCU-DPG9FJ6Q.mjs +0 -3
- package/dist/chunks/treemap-W4RFUUIX-BerKlw0i.cjs +0 -1
- package/dist/chunks/treemap-W4RFUUIX-N4tZJR1-.mjs +0 -3
- package/dist/chunks/typescript-BKtlqLze.cjs +0 -1
- package/dist/chunks/typescript-Bnpf4OG6.mjs +0 -5
- package/dist/chunks/vennDiagram-DHZGUBPP-BzOeMJe8.cjs +0 -34
- package/dist/chunks/vennDiagram-DHZGUBPP-Gfy0QWtB.mjs +0 -1876
- package/dist/chunks/vitesse-dark-BSL-cCXL.cjs +0 -1
- package/dist/chunks/vitesse-dark-dflHsflb.mjs +0 -4
- package/dist/chunks/wardley-RL74JXVD-BzKtPJ3g.cjs +0 -1
- package/dist/chunks/wardley-RL74JXVD-C7Hzc5y2.mjs +0 -3
- package/dist/chunks/wardleyDiagram-NUSXRM2D-ChZiL3a0.mjs +0 -594
- package/dist/chunks/wardleyDiagram-NUSXRM2D-qo6LFohO.cjs +0 -20
- package/dist/chunks/xml-C1PUeKuL.mjs +0 -5
- package/dist/chunks/xml-CwiH0x4E.cjs +0 -1
- package/dist/chunks/xychartDiagram-5P7HB3ND-CH1Z2Cbf.cjs +0 -7
- package/dist/chunks/xychartDiagram-5P7HB3ND-t_dhLiOA.mjs +0 -2017
- package/dist/chunks/yaml-CecI9urB.mjs +0 -3
- package/dist/chunks/yaml-CkVxfQ4c.cjs +0 -1
- package/dist/messages--zgIPYtb.mjs +0 -212
- package/dist/messages-4jULpVvw.mjs +0 -212
- package/dist/messages-AbwSlRf_.mjs +0 -212
- package/dist/messages-B-dl7Pwb2.mjs +0 -212
- package/dist/messages-B3rCRhb1.mjs +0 -212
- package/dist/messages-B73L8nKc2.mjs +0 -212
- package/dist/messages-BAjsD2Vm2.mjs +0 -212
- package/dist/messages-BBodSb5B2.mjs +0 -212
- package/dist/messages-BTpn6H9x2.mjs +0 -212
- package/dist/messages-BWb0GjTj2.mjs +0 -212
- package/dist/messages-BbCgnri12.mjs +0 -212
- package/dist/messages-Bfon_Y3q.mjs +0 -212
- package/dist/messages-BhOtow9J2.mjs +0 -212
- package/dist/messages-BoB7m0uu2.mjs +0 -212
- package/dist/messages-BsOZPjeg.mjs +0 -212
- package/dist/messages-BuzKUYPV.mjs +0 -212
- package/dist/messages-BzOKMdMQ.mjs +0 -212
- package/dist/messages-C2H3PeQW2.mjs +0 -212
- package/dist/messages-C5KNzSTk.mjs +0 -212
- package/dist/messages-CIDYjE6l.mjs +0 -212
- package/dist/messages-CJmyF5ye.mjs +0 -212
- package/dist/messages-CTwiYb2a2.mjs +0 -212
- package/dist/messages-CUHoJaDO.mjs +0 -212
- package/dist/messages-CVeuqUjQ2.mjs +0 -212
- package/dist/messages-CW75b4sz.mjs +0 -212
- package/dist/messages-CXd7YeWV.mjs +0 -212
- package/dist/messages-CjlYkunD.mjs +0 -212
- package/dist/messages-CrGx64yd.mjs +0 -212
- package/dist/messages-Ct0jbgHd.mjs +0 -212
- package/dist/messages-CtKrCYD1.mjs +0 -212
- package/dist/messages-Cu2eLjfJ.mjs +0 -212
- package/dist/messages-CvwQ-fK_2.mjs +0 -212
- package/dist/messages-Cy6UYN9b.mjs +0 -212
- package/dist/messages-D01vnfA9.mjs +0 -212
- package/dist/messages-D0BAV45W.mjs +0 -212
- package/dist/messages-D5LGpdga.mjs +0 -212
- package/dist/messages-DATK4ftv.mjs +0 -212
- package/dist/messages-DEl77Urv2.mjs +0 -212
- package/dist/messages-DHNjM2nv2.mjs +0 -212
- package/dist/messages-DMW8b_sO.mjs +0 -212
- package/dist/messages-DNmgANKr.mjs +0 -212
- package/dist/messages-DQaa3cEM.mjs +0 -212
- package/dist/messages-DSlD4bV9.mjs +0 -212
- package/dist/messages-DTzbkXFt.mjs +0 -212
- package/dist/messages-DbZihxtV.mjs +0 -212
- package/dist/messages-DeE8fyKQ.mjs +0 -212
- package/dist/messages-Dg-TpO2S2.mjs +0 -212
- package/dist/messages-DgP82LzF.mjs +0 -212
- package/dist/messages-Dh3Vt7WC.mjs +0 -212
- package/dist/messages-DiVVyZD22.mjs +0 -212
- package/dist/messages-DpRnGjoe.mjs +0 -212
- package/dist/messages-DqZmrFaa2.mjs +0 -212
- package/dist/messages-Dra9Fz5Q.mjs +0 -212
- package/dist/messages-DuPBRgEF2.mjs +0 -212
- package/dist/messages-DuxEyAY-2.mjs +0 -212
- package/dist/messages-FmJD6lHR2.mjs +0 -212
- package/dist/messages-ONielGl92.mjs +0 -212
- package/dist/messages-RzgUqCGb2.mjs +0 -212
- package/dist/messages-U22AKGKs.mjs +0 -212
- package/dist/messages-XufeeRfO.mjs +0 -212
- package/dist/messages-fprUm7SO2.mjs +0 -212
- package/dist/messages-gFNdz3Tn2.mjs +0 -212
- package/dist/messages-h_n5GBm6.mjs +0 -212
- package/dist/messages-oOogIpsL2.mjs +0 -212
- package/dist/messages-otwg3KcK.mjs +0 -212
- package/dist/messages-rDDoBMWb.mjs +0 -212
- package/dist/messages-trQPxZIu.mjs +0 -212
- package/src/tools/code/highlight-applier.ts +0 -229
- package/src/tools/code/shiki-loader.ts +0 -135
- /package/dist/chunks/{am-CyXvGFRE.cjs → am-CGgVs8Sg.cjs} +0 -0
- /package/dist/chunks/{am-JTszxMum.mjs → am-TVbhxPdQ.mjs} +0 -0
- /package/dist/chunks/{ar-CME8m7Ug.mjs → ar-ClSvzRAM.mjs} +0 -0
- /package/dist/chunks/{ar-BbusVfTp.cjs → ar-nFMIw80i.cjs} +0 -0
- /package/dist/chunks/{array-BMXfsgb2.cjs → array-B193TMZz.cjs} +0 -0
- /package/dist/chunks/{array-B4E6ednJ.mjs → array-ChMzkF5S.mjs} +0 -0
- /package/dist/chunks/{az-D7MMnw6r.cjs → az-Cb6l6ydx.cjs} +0 -0
- /package/dist/chunks/{az-CU1BXEnK.mjs → az-Df0rChHp.mjs} +0 -0
- /package/dist/chunks/{bg-C3H2Qh_2.cjs → bg-BdZUTRFn.cjs} +0 -0
- /package/dist/chunks/{bg-C1QKbOOv.mjs → bg-DLJ0oZ8E.mjs} +0 -0
- /package/dist/chunks/{bn-BGOycYTM.cjs → bn-CneGelWq.cjs} +0 -0
- /package/dist/chunks/{bn-DbDE4DPn.mjs → bn-rM6ek4mO.mjs} +0 -0
- /package/dist/chunks/{bs-5jPxlF97.mjs → bs-16ZwjsQl.mjs} +0 -0
- /package/dist/chunks/{bs-C7amuK1D.cjs → bs-XAmTKQeJ.cjs} +0 -0
- /package/dist/chunks/{cs-BEZB2qcc.mjs → cs-C-zvdtZ-.mjs} +0 -0
- /package/dist/chunks/{cs-BUD3Muxp.cjs → cs-DKYguxBC.cjs} +0 -0
- /package/dist/chunks/{cytoscape.esm-CWkCAUzT.mjs → cytoscape.esm-BsvVxiuI.mjs} +0 -0
- /package/dist/chunks/{cytoscape.esm-CjWrb5SM.cjs → cytoscape.esm-gv01QJ5y.cjs} +0 -0
- /package/dist/chunks/{da-DXZ2uOgL.mjs → da-D1HzIKpF.mjs} +0 -0
- /package/dist/chunks/{da-CO2FYbLa.cjs → da-DiLbdYqu.cjs} +0 -0
- /package/dist/chunks/{de-B8nkOjfD.cjs → de-ClyUjm_W.cjs} +0 -0
- /package/dist/chunks/{de-D4FxC1Yq.mjs → de-Dpmwqjaw.mjs} +0 -0
- /package/dist/chunks/{default-DPWNu2LM.mjs → default-D5Eal3bU.mjs} +0 -0
- /package/dist/chunks/{default-DP8dtTxC.cjs → default-D9azvkQ_.cjs} +0 -0
- /package/dist/chunks/{defaultLocale-BxWls4I1.cjs → defaultLocale-CSsowJXG.cjs} +0 -0
- /package/dist/chunks/{defaultLocale-BYV2aVaI.mjs → defaultLocale-DiiR34KB.mjs} +0 -0
- /package/dist/chunks/{dist-CKM-fjTE.mjs → dist-BFuUZzlT.mjs} +0 -0
- /package/dist/chunks/{dist-CxdzFxpy.cjs → dist-DS4hv48u.cjs} +0 -0
- /package/dist/chunks/{el-D2ILhp1-.cjs → el-CFVhJTIb.cjs} +0 -0
- /package/dist/chunks/{el-DwIVDdku.mjs → el-DQ-dU1wp.mjs} +0 -0
- /package/dist/chunks/{es-DXxnOS9P.cjs → es-BlajxX2r.cjs} +0 -0
- /package/dist/chunks/{es-DlO4MePt.mjs → es-Dhzgzei6.mjs} +0 -0
- /package/dist/chunks/{et-BBSbb8pL.mjs → et-CnhEwclb.mjs} +0 -0
- /package/dist/chunks/{et-mT4xnDc7.cjs → et-ggACA1d9.cjs} +0 -0
- /package/dist/chunks/{fa-DsJou-pw.mjs → fa-B4zSY96K.mjs} +0 -0
- /package/dist/chunks/{fa-D9CUFSHX.cjs → fa-DuYd0CQw.cjs} +0 -0
- /package/dist/chunks/{fi-CsMgo7Wk.mjs → fi-B525ro09.mjs} +0 -0
- /package/dist/chunks/{fi-DpCqdl_1.cjs → fi-D3-4SL4-.cjs} +0 -0
- /package/dist/chunks/{fil-BjeZREJI.cjs → fil-Cs84dmNe.cjs} +0 -0
- /package/dist/chunks/{fil-Dlw8sEta.mjs → fil-DPB6Byn0.mjs} +0 -0
- /package/dist/chunks/{fr-DYmwW1y1.cjs → fr-C8Z2PE7u.cjs} +0 -0
- /package/dist/chunks/{fr-DeapG5NH.mjs → fr-CbMgtPHe.mjs} +0 -0
- /package/dist/chunks/{gu-klAnA_ns.mjs → gu-BDs1p7Uo.mjs} +0 -0
- /package/dist/chunks/{gu-4g6NA9h8.cjs → gu-CPQY3Iyq.cjs} +0 -0
- /package/dist/chunks/{he-2H5DcbO0.cjs → he-BkMGwSM7.cjs} +0 -0
- /package/dist/chunks/{he-9TdyXc1J.mjs → he-DWa_-C46.mjs} +0 -0
- /package/dist/chunks/{hi-DVOss_Zp.mjs → hi-Buu8Rua9.mjs} +0 -0
- /package/dist/chunks/{hi-Dvb4O5oj.cjs → hi-ClQSrRZz.cjs} +0 -0
- /package/dist/chunks/{hr-CXo-QFLf.mjs → hr-WosECnFF.mjs} +0 -0
- /package/dist/chunks/{hr-B4Y5vULZ.cjs → hr-wrh48ogh.cjs} +0 -0
- /package/dist/chunks/{hu-D3Pi7CJx.cjs → hu-BSVMkfs2.cjs} +0 -0
- /package/dist/chunks/{hu-B6uKq-NU.mjs → hu-CeBjtxCd.mjs} +0 -0
- /package/dist/chunks/{hy-DZ74SDlC.cjs → hy-CwF59lJj.cjs} +0 -0
- /package/dist/chunks/{hy-B7CWqbUW.mjs → hy-DwfBE3Yt.mjs} +0 -0
- /package/dist/chunks/{i18next-CkovSPO7.cjs → i18next-C14J6E5L.cjs} +0 -0
- /package/dist/chunks/{i18next-BFvS_Rnh.mjs → i18next-DjO-l2Ee.mjs} +0 -0
- /package/dist/chunks/{id-C5d2QGEQ.mjs → id-CBV5ivYd.mjs} +0 -0
- /package/dist/chunks/{id-WfjZeYKN.cjs → id-DN2KcAmG.cjs} +0 -0
- /package/dist/chunks/{init-C3Dyaaly.mjs → init-C2Iht9jH.mjs} +0 -0
- /package/dist/chunks/{init-BvlcnoG2.cjs → init-DMaknHdL.cjs} +0 -0
- /package/dist/chunks/{isArrayLikeObject-CnaR8YJm.cjs → isArrayLikeObject-Bk7ImDHR.cjs} +0 -0
- /package/dist/chunks/{isArrayLikeObject-B-1mfvNK.mjs → isArrayLikeObject-CyB7POJY.mjs} +0 -0
- /package/dist/chunks/{it-hqsqt6f7.cjs → it-CSt1S7SQ.cjs} +0 -0
- /package/dist/chunks/{it-BgPXC2_F.mjs → it-CU5gg8BZ.mjs} +0 -0
- /package/dist/chunks/{ja-BwLgKsdH.cjs → ja-BbwATm6F.cjs} +0 -0
- /package/dist/chunks/{ja-CQ7ujOz3.mjs → ja-khPKQhMG.mjs} +0 -0
- /package/dist/chunks/{ka-xoKako16.cjs → ka-Cqnq4zZT.cjs} +0 -0
- /package/dist/chunks/{ka-DAPmSm_-.mjs → ka-DN17rDOq.mjs} +0 -0
- /package/dist/chunks/{katex-_C7fvrbX.cjs → katex-D_RH6O9V.cjs} +0 -0
- /package/dist/chunks/{katex-Bbz34ZLq.mjs → katex-thO7aa9b.mjs} +0 -0
- /package/dist/chunks/{km-BJ9H-RbD.mjs → km-BbS9HEwx.mjs} +0 -0
- /package/dist/chunks/{km-D7Fl8wAA.cjs → km-COh3mhzp.cjs} +0 -0
- /package/dist/chunks/{kn-CthdB8vH.mjs → kn-7TPoJJQt.mjs} +0 -0
- /package/dist/chunks/{kn-Ckju1oeq.cjs → kn-CX062fVg.cjs} +0 -0
- /package/dist/chunks/{ko-DbEA41LU.mjs → ko-CDI2MnWL.mjs} +0 -0
- /package/dist/chunks/{ko-Dt1tQEjC.cjs → ko-gSw_U9kC.cjs} +0 -0
- /package/dist/chunks/{ku-B_j9qSrv.mjs → ku-DONc_aap.mjs} +0 -0
- /package/dist/chunks/{ku-_i2C5XD5.cjs → ku-DnvmAkID.cjs} +0 -0
- /package/dist/chunks/{lo-DfEpgG9m.cjs → lo-BrwlEjmE.cjs} +0 -0
- /package/dist/chunks/{lo-DSklR1Zs.mjs → lo-PtNU87QX.mjs} +0 -0
- /package/dist/chunks/{lt-BwLILIED.cjs → lt-Bw969G31.cjs} +0 -0
- /package/dist/chunks/{lt-C9aVbfRt.mjs → lt-CV9PgETS.mjs} +0 -0
- /package/dist/chunks/{lv-DLwMSEc0.mjs → lv-CFPT5CoC.mjs} +0 -0
- /package/dist/chunks/{lv-DdrYab3x.cjs → lv-DhwZOfiA.cjs} +0 -0
- /package/dist/chunks/{micromark-factory-space-BnsBDplI.cjs → micromark-factory-space-CsUhZvC1.cjs} +0 -0
- /package/dist/chunks/{micromark-factory-space-C6wz33de.mjs → micromark-factory-space-y4SDWQKm.mjs} +0 -0
- /package/dist/chunks/{mk-D96bSjMK.mjs → mk-5waYEn6e.mjs} +0 -0
- /package/dist/chunks/{mk-CsPHE4cO.cjs → mk-vuwbN_RA.cjs} +0 -0
- /package/dist/chunks/{ml-CAsiw8BP.cjs → ml-DQZZm6v3.cjs} +0 -0
- /package/dist/chunks/{ml-D1Ek94RG.mjs → ml-iK4LpGaW.mjs} +0 -0
- /package/dist/chunks/{mn-Db6DwHPv.cjs → mn-Dz3r2r3T.cjs} +0 -0
- /package/dist/chunks/{mn-CyNCFOYP.mjs → mn-nfQCBqsj.mjs} +0 -0
- /package/dist/chunks/{mr-CaA3xXVf.mjs → mr-8ddBHqrW.mjs} +0 -0
- /package/dist/chunks/{mr-BBAuoEIQ.cjs → mr-BDjve7Md.cjs} +0 -0
- /package/dist/chunks/{ms-Cfv7BOEG.cjs → ms-2boGmWFn.cjs} +0 -0
- /package/dist/chunks/{ms-IZU-A3Qk.mjs → ms-BRxHmUVO.mjs} +0 -0
- /package/dist/chunks/{my-C-AQLGIp.mjs → my-Bq-MP3br.mjs} +0 -0
- /package/dist/chunks/{my-DOLHceI8.cjs → my-BtRZdE5q.cjs} +0 -0
- /package/dist/chunks/{native-DbFHGXp1.cjs → native-Bok_u8yD.cjs} +0 -0
- /package/dist/chunks/{native-CarRLbbJ.mjs → native-DIGOFhyn.mjs} +0 -0
- /package/dist/chunks/{ne-LaymXAjm.mjs → ne-B6JfM08W.mjs} +0 -0
- /package/dist/chunks/{ne-B2gHspK_.cjs → ne-C9oc_I3v.cjs} +0 -0
- /package/dist/chunks/{nl-C5ezxTkA.cjs → nl-CkIGPyM6.cjs} +0 -0
- /package/dist/chunks/{nl-Dm1eVwTA.mjs → nl-NuO8CW66.mjs} +0 -0
- /package/dist/chunks/{no-B2WicGhz.mjs → no-BtwrqS-b.mjs} +0 -0
- /package/dist/chunks/{no-D4hjenPs.cjs → no-De7tM2WX.cjs} +0 -0
- /package/dist/chunks/{pa-CemLebw7.cjs → pa-Bm15OLTz.cjs} +0 -0
- /package/dist/chunks/{pa-ry61xHq9.mjs → pa-ClSxjHFF.mjs} +0 -0
- /package/dist/chunks/{path-CLcQoP7n.cjs → path-CFQyJ4S5.cjs} +0 -0
- /package/dist/chunks/{path-Crax6eds.mjs → path-iPyWZTLQ.mjs} +0 -0
- /package/dist/chunks/{pl-DzCnx7eR.mjs → pl-C-aTCeRd.mjs} +0 -0
- /package/dist/chunks/{pl-D_sFAkCs.cjs → pl-D80QrSlq.cjs} +0 -0
- /package/dist/chunks/{ps-DKXG6JHY.mjs → ps-B8wPRrcC.mjs} +0 -0
- /package/dist/chunks/{ps-ygHHO68A.cjs → ps-ySfeV5NE.cjs} +0 -0
- /package/dist/chunks/{pt-e09B0rEd.mjs → pt-8tijWt3B.mjs} +0 -0
- /package/dist/chunks/{pt-x_mmaTtD.cjs → pt-Bigoi5oj.cjs} +0 -0
- /package/dist/chunks/{ro-HNnYR5pB.mjs → ro-BiUSkkwp.mjs} +0 -0
- /package/dist/chunks/{ro-CLGSgHzJ.cjs → ro-Dvtjmd-W.cjs} +0 -0
- /package/dist/chunks/{rough.esm-BaIXPgTh.cjs → rough.esm-DC-UFdM0.cjs} +0 -0
- /package/dist/chunks/{rough.esm-CChKUjNP.mjs → rough.esm-buj-m5wB.mjs} +0 -0
- /package/dist/chunks/{ru-LpaLXWmO.cjs → ru-dq73Ra3e.cjs} +0 -0
- /package/dist/chunks/{ru-D_jTWgK8.mjs → ru-qkCthz2J.mjs} +0 -0
- /package/dist/chunks/{sd-B5PS8K1I.cjs → sd-BhtQCaFq.cjs} +0 -0
- /package/dist/chunks/{sd-B7bgXBin.mjs → sd-DfoXSEBK.mjs} +0 -0
- /package/dist/chunks/{si-BjMoO5xu.cjs → si-CWG8h4tD.cjs} +0 -0
- /package/dist/chunks/{si-aQCsTBIp.mjs → si-RPCp-GrG.mjs} +0 -0
- /package/dist/chunks/{sk-pQPYnDDU.cjs → sk-Bkag9oKD.cjs} +0 -0
- /package/dist/chunks/{sk-Bjrct9rr.mjs → sk-CVRHQjYN.mjs} +0 -0
- /package/dist/chunks/{sl-B_yalM3h.cjs → sl-BhupPCcO.cjs} +0 -0
- /package/dist/chunks/{sl-DvS57kCB.mjs → sl-Clf3YXji.mjs} +0 -0
- /package/dist/chunks/{sq-gzZkHXFJ.cjs → sq-Bosym4Xb.cjs} +0 -0
- /package/dist/chunks/{sq-BexoWiW2.mjs → sq-C-nwTgWs.mjs} +0 -0
- /package/dist/chunks/{sr-CXir4bLq.mjs → sr-BiElo1CU.mjs} +0 -0
- /package/dist/chunks/{sr-O4v1KJY1.cjs → sr-DFPGZJ0s.cjs} +0 -0
- /package/dist/chunks/{src-d9yswOqA.cjs → src-al3Kn9PA.cjs} +0 -0
- /package/dist/chunks/{src-yreeH1hr.mjs → src-gZQLeVvM.mjs} +0 -0
- /package/dist/chunks/{sv-D0tEFwN7.cjs → sv-CiYmSxqX.cjs} +0 -0
- /package/dist/chunks/{sv-B_Owhjrs.mjs → sv-DVztafBI.mjs} +0 -0
- /package/dist/chunks/{sw-DE8oPVEt.cjs → sw-CMbHoINv.cjs} +0 -0
- /package/dist/chunks/{sw-B4p84FCO.mjs → sw-CgJk20G2.mjs} +0 -0
- /package/dist/chunks/{ta-BCVLtFMU.cjs → ta-BrC1o95Z.cjs} +0 -0
- /package/dist/chunks/{ta-BU_-jQ33.mjs → ta-rqChn3y2.mjs} +0 -0
- /package/dist/chunks/{te-BISdOeGS.cjs → te-DAKpWpi8.cjs} +0 -0
- /package/dist/chunks/{te-5FGke4TK.mjs → te-LIsqeDyD.mjs} +0 -0
- /package/dist/chunks/{th-DFyekAQ3.mjs → th-Bm6lDr_S.mjs} +0 -0
- /package/dist/chunks/{th-CJXhSA-L.cjs → th-D0CG2M2k.cjs} +0 -0
- /package/dist/chunks/{tr-BjTvmhJt.cjs → tr-Bw_nVU1b.cjs} +0 -0
- /package/dist/chunks/{tr-C7Zj3lX4.mjs → tr-g8oLvvcP.mjs} +0 -0
- /package/dist/chunks/{types-BNvlbr9u.mjs → types-DrdCPGbk.mjs} +0 -0
- /package/dist/chunks/{types-BQX8SD8Q.cjs → types-GPfn5gE2.cjs} +0 -0
- /package/dist/chunks/{ug-DsQjxbOa.cjs → ug-DvC-UnxD.cjs} +0 -0
- /package/dist/chunks/{ug-DJwD0iui.mjs → ug-zVaKVoWE.mjs} +0 -0
- /package/dist/chunks/{uk-BPzbNIjw.cjs → uk-Cx32rUi7.cjs} +0 -0
- /package/dist/chunks/{uk-hkOj8kWN.mjs → uk-DGVBUwum.mjs} +0 -0
- /package/dist/chunks/{ur-Cy5A8nFG.mjs → ur-7wbChoVl.mjs} +0 -0
- /package/dist/chunks/{ur-Do8k1hR-.cjs → ur-BMh2seDu.cjs} +0 -0
- /package/dist/chunks/{vi-CCTEx9XR.cjs → vi-4TUS0GSi.cjs} +0 -0
- /package/dist/chunks/{vi-CEt0cTzQ.mjs → vi-CLg1e4-a.mjs} +0 -0
- /package/dist/chunks/{zh-Ive4on8E.cjs → zh-DZtmJNDR.cjs} +0 -0
- /package/dist/chunks/{zh-BwQjLCGO.mjs → zh-LvpOPMNT.mjs} +0 -0
|
@@ -0,0 +1,3290 @@
|
|
|
1
|
+
import { t as e } from "./objectSpread2-CWwMYL_U.mjs";
|
|
2
|
+
import { _ as t, g as n, h as r, m as i } from "./src-gZQLeVvM.mjs";
|
|
3
|
+
//#region node_modules/khroma/dist/utils/channel.js
|
|
4
|
+
var a = {
|
|
5
|
+
min: {
|
|
6
|
+
r: 0,
|
|
7
|
+
g: 0,
|
|
8
|
+
b: 0,
|
|
9
|
+
s: 0,
|
|
10
|
+
l: 0,
|
|
11
|
+
a: 0
|
|
12
|
+
},
|
|
13
|
+
max: {
|
|
14
|
+
r: 255,
|
|
15
|
+
g: 255,
|
|
16
|
+
b: 255,
|
|
17
|
+
h: 360,
|
|
18
|
+
s: 100,
|
|
19
|
+
l: 100,
|
|
20
|
+
a: 1
|
|
21
|
+
},
|
|
22
|
+
clamp: {
|
|
23
|
+
r: (e) => e >= 255 ? 255 : e < 0 ? 0 : e,
|
|
24
|
+
g: (e) => e >= 255 ? 255 : e < 0 ? 0 : e,
|
|
25
|
+
b: (e) => e >= 255 ? 255 : e < 0 ? 0 : e,
|
|
26
|
+
h: (e) => e % 360,
|
|
27
|
+
s: (e) => e >= 100 ? 100 : e < 0 ? 0 : e,
|
|
28
|
+
l: (e) => e >= 100 ? 100 : e < 0 ? 0 : e,
|
|
29
|
+
a: (e) => e >= 1 ? 1 : e < 0 ? 0 : e
|
|
30
|
+
},
|
|
31
|
+
toLinear: (e) => {
|
|
32
|
+
let t = e / 255;
|
|
33
|
+
return e > .03928 ? ((t + .055) / 1.055) ** 2.4 : t / 12.92;
|
|
34
|
+
},
|
|
35
|
+
hue2rgb: (e, t, n) => (n < 0 && (n += 1), n > 1 && --n, n < 1 / 6 ? e + (t - e) * 6 * n : n < 1 / 2 ? t : n < 2 / 3 ? e + (t - e) * (2 / 3 - n) * 6 : e),
|
|
36
|
+
hsl2rgb: ({ h: e, s: t, l: n }, r) => {
|
|
37
|
+
if (!t) return n * 2.55;
|
|
38
|
+
e /= 360, t /= 100, n /= 100;
|
|
39
|
+
let i = n < .5 ? n * (1 + t) : n + t - n * t, o = 2 * n - i;
|
|
40
|
+
switch (r) {
|
|
41
|
+
case "r": return a.hue2rgb(o, i, e + 1 / 3) * 255;
|
|
42
|
+
case "g": return a.hue2rgb(o, i, e) * 255;
|
|
43
|
+
case "b": return a.hue2rgb(o, i, e - 1 / 3) * 255;
|
|
44
|
+
}
|
|
45
|
+
},
|
|
46
|
+
rgb2hsl: ({ r: e, g: t, b: n }, r) => {
|
|
47
|
+
e /= 255, t /= 255, n /= 255;
|
|
48
|
+
let i = Math.max(e, t, n), a = Math.min(e, t, n), o = (i + a) / 2;
|
|
49
|
+
if (r === "l") return o * 100;
|
|
50
|
+
if (i === a) return 0;
|
|
51
|
+
let s = i - a, c = o > .5 ? s / (2 - i - a) : s / (i + a);
|
|
52
|
+
if (r === "s") return c * 100;
|
|
53
|
+
switch (i) {
|
|
54
|
+
case e: return ((t - n) / s + (t < n ? 6 : 0)) * 60;
|
|
55
|
+
case t: return ((n - e) / s + 2) * 60;
|
|
56
|
+
case n: return ((e - t) / s + 4) * 60;
|
|
57
|
+
default: return -1;
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
}, o = {
|
|
61
|
+
channel: a,
|
|
62
|
+
lang: {
|
|
63
|
+
clamp: (e, t, n) => t > n ? Math.min(t, Math.max(n, e)) : Math.min(n, Math.max(t, e)),
|
|
64
|
+
round: (e) => Math.round(e * 1e10) / 1e10
|
|
65
|
+
},
|
|
66
|
+
unit: { dec2hex: (e) => {
|
|
67
|
+
let t = Math.round(e).toString(16);
|
|
68
|
+
return t.length > 1 ? t : `0${t}`;
|
|
69
|
+
} }
|
|
70
|
+
}, s = {};
|
|
71
|
+
for (let e = 0; e <= 255; e++) s[e] = o.unit.dec2hex(e);
|
|
72
|
+
var c = {
|
|
73
|
+
ALL: 0,
|
|
74
|
+
RGB: 1,
|
|
75
|
+
HSL: 2
|
|
76
|
+
}, l = class {
|
|
77
|
+
constructor() {
|
|
78
|
+
this.type = c.ALL;
|
|
79
|
+
}
|
|
80
|
+
get() {
|
|
81
|
+
return this.type;
|
|
82
|
+
}
|
|
83
|
+
set(e) {
|
|
84
|
+
if (this.type && this.type !== e) throw Error("Cannot change both RGB and HSL channels at the same time");
|
|
85
|
+
this.type = e;
|
|
86
|
+
}
|
|
87
|
+
reset() {
|
|
88
|
+
this.type = c.ALL;
|
|
89
|
+
}
|
|
90
|
+
is(e) {
|
|
91
|
+
return this.type === e;
|
|
92
|
+
}
|
|
93
|
+
}, u = new class {
|
|
94
|
+
constructor(e, t) {
|
|
95
|
+
this.color = t, this.changed = !1, this.data = e, this.type = new l();
|
|
96
|
+
}
|
|
97
|
+
set(e, t) {
|
|
98
|
+
return this.color = t, this.changed = !1, this.data = e, this.type.type = c.ALL, this;
|
|
99
|
+
}
|
|
100
|
+
_ensureHSL() {
|
|
101
|
+
let e = this.data, { h: t, s: n, l: r } = e;
|
|
102
|
+
t === void 0 && (e.h = o.channel.rgb2hsl(e, "h")), n === void 0 && (e.s = o.channel.rgb2hsl(e, "s")), r === void 0 && (e.l = o.channel.rgb2hsl(e, "l"));
|
|
103
|
+
}
|
|
104
|
+
_ensureRGB() {
|
|
105
|
+
let e = this.data, { r: t, g: n, b: r } = e;
|
|
106
|
+
t === void 0 && (e.r = o.channel.hsl2rgb(e, "r")), n === void 0 && (e.g = o.channel.hsl2rgb(e, "g")), r === void 0 && (e.b = o.channel.hsl2rgb(e, "b"));
|
|
107
|
+
}
|
|
108
|
+
get r() {
|
|
109
|
+
let e = this.data, t = e.r;
|
|
110
|
+
return !this.type.is(c.HSL) && t !== void 0 ? t : (this._ensureHSL(), o.channel.hsl2rgb(e, "r"));
|
|
111
|
+
}
|
|
112
|
+
get g() {
|
|
113
|
+
let e = this.data, t = e.g;
|
|
114
|
+
return !this.type.is(c.HSL) && t !== void 0 ? t : (this._ensureHSL(), o.channel.hsl2rgb(e, "g"));
|
|
115
|
+
}
|
|
116
|
+
get b() {
|
|
117
|
+
let e = this.data, t = e.b;
|
|
118
|
+
return !this.type.is(c.HSL) && t !== void 0 ? t : (this._ensureHSL(), o.channel.hsl2rgb(e, "b"));
|
|
119
|
+
}
|
|
120
|
+
get h() {
|
|
121
|
+
let e = this.data, t = e.h;
|
|
122
|
+
return !this.type.is(c.RGB) && t !== void 0 ? t : (this._ensureRGB(), o.channel.rgb2hsl(e, "h"));
|
|
123
|
+
}
|
|
124
|
+
get s() {
|
|
125
|
+
let e = this.data, t = e.s;
|
|
126
|
+
return !this.type.is(c.RGB) && t !== void 0 ? t : (this._ensureRGB(), o.channel.rgb2hsl(e, "s"));
|
|
127
|
+
}
|
|
128
|
+
get l() {
|
|
129
|
+
let e = this.data, t = e.l;
|
|
130
|
+
return !this.type.is(c.RGB) && t !== void 0 ? t : (this._ensureRGB(), o.channel.rgb2hsl(e, "l"));
|
|
131
|
+
}
|
|
132
|
+
get a() {
|
|
133
|
+
return this.data.a;
|
|
134
|
+
}
|
|
135
|
+
set r(e) {
|
|
136
|
+
this.type.set(c.RGB), this.changed = !0, this.data.r = e;
|
|
137
|
+
}
|
|
138
|
+
set g(e) {
|
|
139
|
+
this.type.set(c.RGB), this.changed = !0, this.data.g = e;
|
|
140
|
+
}
|
|
141
|
+
set b(e) {
|
|
142
|
+
this.type.set(c.RGB), this.changed = !0, this.data.b = e;
|
|
143
|
+
}
|
|
144
|
+
set h(e) {
|
|
145
|
+
this.type.set(c.HSL), this.changed = !0, this.data.h = e;
|
|
146
|
+
}
|
|
147
|
+
set s(e) {
|
|
148
|
+
this.type.set(c.HSL), this.changed = !0, this.data.s = e;
|
|
149
|
+
}
|
|
150
|
+
set l(e) {
|
|
151
|
+
this.type.set(c.HSL), this.changed = !0, this.data.l = e;
|
|
152
|
+
}
|
|
153
|
+
set a(e) {
|
|
154
|
+
this.changed = !0, this.data.a = e;
|
|
155
|
+
}
|
|
156
|
+
}({
|
|
157
|
+
r: 0,
|
|
158
|
+
g: 0,
|
|
159
|
+
b: 0,
|
|
160
|
+
a: 0
|
|
161
|
+
}, "transparent"), d = {
|
|
162
|
+
re: /^#((?:[a-f0-9]{2}){2,4}|[a-f0-9]{3})$/i,
|
|
163
|
+
parse: (e) => {
|
|
164
|
+
if (e.charCodeAt(0) !== 35) return;
|
|
165
|
+
let t = e.match(d.re);
|
|
166
|
+
if (!t) return;
|
|
167
|
+
let n = t[1], r = parseInt(n, 16), i = n.length, a = i % 4 == 0, o = i > 4, s = o ? 1 : 17, c = o ? 8 : 4, l = a ? 0 : -1, f = o ? 255 : 15;
|
|
168
|
+
return u.set({
|
|
169
|
+
r: (r >> c * (l + 3) & f) * s,
|
|
170
|
+
g: (r >> c * (l + 2) & f) * s,
|
|
171
|
+
b: (r >> c * (l + 1) & f) * s,
|
|
172
|
+
a: a ? (r & f) * s / 255 : 1
|
|
173
|
+
}, e);
|
|
174
|
+
},
|
|
175
|
+
stringify: (e) => {
|
|
176
|
+
let { r: t, g: n, b: r, a: i } = e;
|
|
177
|
+
return i < 1 ? `#${s[Math.round(t)]}${s[Math.round(n)]}${s[Math.round(r)]}${s[Math.round(i * 255)]}` : `#${s[Math.round(t)]}${s[Math.round(n)]}${s[Math.round(r)]}`;
|
|
178
|
+
}
|
|
179
|
+
}, f = {
|
|
180
|
+
re: /^hsla?\(\s*?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e-?\d+)?(?:deg|grad|rad|turn)?)\s*?(?:,|\s)\s*?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e-?\d+)?%)\s*?(?:,|\s)\s*?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e-?\d+)?%)(?:\s*?(?:,|\/)\s*?\+?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e-?\d+)?(%)?))?\s*?\)$/i,
|
|
181
|
+
hueRe: /^(.+?)(deg|grad|rad|turn)$/i,
|
|
182
|
+
_hue2deg: (e) => {
|
|
183
|
+
let t = e.match(f.hueRe);
|
|
184
|
+
if (t) {
|
|
185
|
+
let [, e, n] = t;
|
|
186
|
+
switch (n) {
|
|
187
|
+
case "grad": return o.channel.clamp.h(parseFloat(e) * .9);
|
|
188
|
+
case "rad": return o.channel.clamp.h(parseFloat(e) * 180 / Math.PI);
|
|
189
|
+
case "turn": return o.channel.clamp.h(parseFloat(e) * 360);
|
|
190
|
+
}
|
|
191
|
+
}
|
|
192
|
+
return o.channel.clamp.h(parseFloat(e));
|
|
193
|
+
},
|
|
194
|
+
parse: (e) => {
|
|
195
|
+
let t = e.charCodeAt(0);
|
|
196
|
+
if (t !== 104 && t !== 72) return;
|
|
197
|
+
let n = e.match(f.re);
|
|
198
|
+
if (!n) return;
|
|
199
|
+
let [, r, i, a, s, c] = n;
|
|
200
|
+
return u.set({
|
|
201
|
+
h: f._hue2deg(r),
|
|
202
|
+
s: o.channel.clamp.s(parseFloat(i)),
|
|
203
|
+
l: o.channel.clamp.l(parseFloat(a)),
|
|
204
|
+
a: s ? o.channel.clamp.a(c ? parseFloat(s) / 100 : parseFloat(s)) : 1
|
|
205
|
+
}, e);
|
|
206
|
+
},
|
|
207
|
+
stringify: (e) => {
|
|
208
|
+
let { h: t, s: n, l: r, a: i } = e;
|
|
209
|
+
return i < 1 ? `hsla(${o.lang.round(t)}, ${o.lang.round(n)}%, ${o.lang.round(r)}%, ${i})` : `hsl(${o.lang.round(t)}, ${o.lang.round(n)}%, ${o.lang.round(r)}%)`;
|
|
210
|
+
}
|
|
211
|
+
}, p = {
|
|
212
|
+
colors: {
|
|
213
|
+
aliceblue: "#f0f8ff",
|
|
214
|
+
antiquewhite: "#faebd7",
|
|
215
|
+
aqua: "#00ffff",
|
|
216
|
+
aquamarine: "#7fffd4",
|
|
217
|
+
azure: "#f0ffff",
|
|
218
|
+
beige: "#f5f5dc",
|
|
219
|
+
bisque: "#ffe4c4",
|
|
220
|
+
black: "#000000",
|
|
221
|
+
blanchedalmond: "#ffebcd",
|
|
222
|
+
blue: "#0000ff",
|
|
223
|
+
blueviolet: "#8a2be2",
|
|
224
|
+
brown: "#a52a2a",
|
|
225
|
+
burlywood: "#deb887",
|
|
226
|
+
cadetblue: "#5f9ea0",
|
|
227
|
+
chartreuse: "#7fff00",
|
|
228
|
+
chocolate: "#d2691e",
|
|
229
|
+
coral: "#ff7f50",
|
|
230
|
+
cornflowerblue: "#6495ed",
|
|
231
|
+
cornsilk: "#fff8dc",
|
|
232
|
+
crimson: "#dc143c",
|
|
233
|
+
cyanaqua: "#00ffff",
|
|
234
|
+
darkblue: "#00008b",
|
|
235
|
+
darkcyan: "#008b8b",
|
|
236
|
+
darkgoldenrod: "#b8860b",
|
|
237
|
+
darkgray: "#a9a9a9",
|
|
238
|
+
darkgreen: "#006400",
|
|
239
|
+
darkgrey: "#a9a9a9",
|
|
240
|
+
darkkhaki: "#bdb76b",
|
|
241
|
+
darkmagenta: "#8b008b",
|
|
242
|
+
darkolivegreen: "#556b2f",
|
|
243
|
+
darkorange: "#ff8c00",
|
|
244
|
+
darkorchid: "#9932cc",
|
|
245
|
+
darkred: "#8b0000",
|
|
246
|
+
darksalmon: "#e9967a",
|
|
247
|
+
darkseagreen: "#8fbc8f",
|
|
248
|
+
darkslateblue: "#483d8b",
|
|
249
|
+
darkslategray: "#2f4f4f",
|
|
250
|
+
darkslategrey: "#2f4f4f",
|
|
251
|
+
darkturquoise: "#00ced1",
|
|
252
|
+
darkviolet: "#9400d3",
|
|
253
|
+
deeppink: "#ff1493",
|
|
254
|
+
deepskyblue: "#00bfff",
|
|
255
|
+
dimgray: "#696969",
|
|
256
|
+
dimgrey: "#696969",
|
|
257
|
+
dodgerblue: "#1e90ff",
|
|
258
|
+
firebrick: "#b22222",
|
|
259
|
+
floralwhite: "#fffaf0",
|
|
260
|
+
forestgreen: "#228b22",
|
|
261
|
+
fuchsia: "#ff00ff",
|
|
262
|
+
gainsboro: "#dcdcdc",
|
|
263
|
+
ghostwhite: "#f8f8ff",
|
|
264
|
+
gold: "#ffd700",
|
|
265
|
+
goldenrod: "#daa520",
|
|
266
|
+
gray: "#808080",
|
|
267
|
+
green: "#008000",
|
|
268
|
+
greenyellow: "#adff2f",
|
|
269
|
+
grey: "#808080",
|
|
270
|
+
honeydew: "#f0fff0",
|
|
271
|
+
hotpink: "#ff69b4",
|
|
272
|
+
indianred: "#cd5c5c",
|
|
273
|
+
indigo: "#4b0082",
|
|
274
|
+
ivory: "#fffff0",
|
|
275
|
+
khaki: "#f0e68c",
|
|
276
|
+
lavender: "#e6e6fa",
|
|
277
|
+
lavenderblush: "#fff0f5",
|
|
278
|
+
lawngreen: "#7cfc00",
|
|
279
|
+
lemonchiffon: "#fffacd",
|
|
280
|
+
lightblue: "#add8e6",
|
|
281
|
+
lightcoral: "#f08080",
|
|
282
|
+
lightcyan: "#e0ffff",
|
|
283
|
+
lightgoldenrodyellow: "#fafad2",
|
|
284
|
+
lightgray: "#d3d3d3",
|
|
285
|
+
lightgreen: "#90ee90",
|
|
286
|
+
lightgrey: "#d3d3d3",
|
|
287
|
+
lightpink: "#ffb6c1",
|
|
288
|
+
lightsalmon: "#ffa07a",
|
|
289
|
+
lightseagreen: "#20b2aa",
|
|
290
|
+
lightskyblue: "#87cefa",
|
|
291
|
+
lightslategray: "#778899",
|
|
292
|
+
lightslategrey: "#778899",
|
|
293
|
+
lightsteelblue: "#b0c4de",
|
|
294
|
+
lightyellow: "#ffffe0",
|
|
295
|
+
lime: "#00ff00",
|
|
296
|
+
limegreen: "#32cd32",
|
|
297
|
+
linen: "#faf0e6",
|
|
298
|
+
magenta: "#ff00ff",
|
|
299
|
+
maroon: "#800000",
|
|
300
|
+
mediumaquamarine: "#66cdaa",
|
|
301
|
+
mediumblue: "#0000cd",
|
|
302
|
+
mediumorchid: "#ba55d3",
|
|
303
|
+
mediumpurple: "#9370db",
|
|
304
|
+
mediumseagreen: "#3cb371",
|
|
305
|
+
mediumslateblue: "#7b68ee",
|
|
306
|
+
mediumspringgreen: "#00fa9a",
|
|
307
|
+
mediumturquoise: "#48d1cc",
|
|
308
|
+
mediumvioletred: "#c71585",
|
|
309
|
+
midnightblue: "#191970",
|
|
310
|
+
mintcream: "#f5fffa",
|
|
311
|
+
mistyrose: "#ffe4e1",
|
|
312
|
+
moccasin: "#ffe4b5",
|
|
313
|
+
navajowhite: "#ffdead",
|
|
314
|
+
navy: "#000080",
|
|
315
|
+
oldlace: "#fdf5e6",
|
|
316
|
+
olive: "#808000",
|
|
317
|
+
olivedrab: "#6b8e23",
|
|
318
|
+
orange: "#ffa500",
|
|
319
|
+
orangered: "#ff4500",
|
|
320
|
+
orchid: "#da70d6",
|
|
321
|
+
palegoldenrod: "#eee8aa",
|
|
322
|
+
palegreen: "#98fb98",
|
|
323
|
+
paleturquoise: "#afeeee",
|
|
324
|
+
palevioletred: "#db7093",
|
|
325
|
+
papayawhip: "#ffefd5",
|
|
326
|
+
peachpuff: "#ffdab9",
|
|
327
|
+
peru: "#cd853f",
|
|
328
|
+
pink: "#ffc0cb",
|
|
329
|
+
plum: "#dda0dd",
|
|
330
|
+
powderblue: "#b0e0e6",
|
|
331
|
+
purple: "#800080",
|
|
332
|
+
rebeccapurple: "#663399",
|
|
333
|
+
red: "#ff0000",
|
|
334
|
+
rosybrown: "#bc8f8f",
|
|
335
|
+
royalblue: "#4169e1",
|
|
336
|
+
saddlebrown: "#8b4513",
|
|
337
|
+
salmon: "#fa8072",
|
|
338
|
+
sandybrown: "#f4a460",
|
|
339
|
+
seagreen: "#2e8b57",
|
|
340
|
+
seashell: "#fff5ee",
|
|
341
|
+
sienna: "#a0522d",
|
|
342
|
+
silver: "#c0c0c0",
|
|
343
|
+
skyblue: "#87ceeb",
|
|
344
|
+
slateblue: "#6a5acd",
|
|
345
|
+
slategray: "#708090",
|
|
346
|
+
slategrey: "#708090",
|
|
347
|
+
snow: "#fffafa",
|
|
348
|
+
springgreen: "#00ff7f",
|
|
349
|
+
tan: "#d2b48c",
|
|
350
|
+
teal: "#008080",
|
|
351
|
+
thistle: "#d8bfd8",
|
|
352
|
+
transparent: "#00000000",
|
|
353
|
+
turquoise: "#40e0d0",
|
|
354
|
+
violet: "#ee82ee",
|
|
355
|
+
wheat: "#f5deb3",
|
|
356
|
+
white: "#ffffff",
|
|
357
|
+
whitesmoke: "#f5f5f5",
|
|
358
|
+
yellow: "#ffff00",
|
|
359
|
+
yellowgreen: "#9acd32"
|
|
360
|
+
},
|
|
361
|
+
parse: (e) => {
|
|
362
|
+
e = e.toLowerCase();
|
|
363
|
+
let t = p.colors[e];
|
|
364
|
+
if (t) return d.parse(t);
|
|
365
|
+
},
|
|
366
|
+
stringify: (e) => {
|
|
367
|
+
let t = d.stringify(e);
|
|
368
|
+
for (let e in p.colors) if (p.colors[e] === t) return e;
|
|
369
|
+
}
|
|
370
|
+
}, m = {
|
|
371
|
+
re: /^rgba?\(\s*?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e\d+)?(%?))\s*?(?:,|\s)\s*?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e\d+)?(%?))\s*?(?:,|\s)\s*?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e\d+)?(%?))(?:\s*?(?:,|\/)\s*?\+?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e\d+)?(%?)))?\s*?\)$/i,
|
|
372
|
+
parse: (e) => {
|
|
373
|
+
let t = e.charCodeAt(0);
|
|
374
|
+
if (t !== 114 && t !== 82) return;
|
|
375
|
+
let n = e.match(m.re);
|
|
376
|
+
if (!n) return;
|
|
377
|
+
let [, r, i, a, s, c, l, d, f] = n;
|
|
378
|
+
return u.set({
|
|
379
|
+
r: o.channel.clamp.r(i ? parseFloat(r) * 2.55 : parseFloat(r)),
|
|
380
|
+
g: o.channel.clamp.g(s ? parseFloat(a) * 2.55 : parseFloat(a)),
|
|
381
|
+
b: o.channel.clamp.b(l ? parseFloat(c) * 2.55 : parseFloat(c)),
|
|
382
|
+
a: d ? o.channel.clamp.a(f ? parseFloat(d) / 100 : parseFloat(d)) : 1
|
|
383
|
+
}, e);
|
|
384
|
+
},
|
|
385
|
+
stringify: (e) => {
|
|
386
|
+
let { r: t, g: n, b: r, a: i } = e;
|
|
387
|
+
return i < 1 ? `rgba(${o.lang.round(t)}, ${o.lang.round(n)}, ${o.lang.round(r)}, ${o.lang.round(i)})` : `rgb(${o.lang.round(t)}, ${o.lang.round(n)}, ${o.lang.round(r)})`;
|
|
388
|
+
}
|
|
389
|
+
}, h = {
|
|
390
|
+
format: {
|
|
391
|
+
keyword: p,
|
|
392
|
+
hex: d,
|
|
393
|
+
rgb: m,
|
|
394
|
+
rgba: m,
|
|
395
|
+
hsl: f,
|
|
396
|
+
hsla: f
|
|
397
|
+
},
|
|
398
|
+
parse: (e) => {
|
|
399
|
+
if (typeof e != "string") return e;
|
|
400
|
+
let t = d.parse(e) || m.parse(e) || f.parse(e) || p.parse(e);
|
|
401
|
+
if (t) return t;
|
|
402
|
+
throw Error(`Unsupported color format: "${e}"`);
|
|
403
|
+
},
|
|
404
|
+
stringify: (e) => !e.changed && e.color ? e.color : e.type.is(c.HSL) || e.data.r === void 0 ? f.stringify(e) : e.a < 1 || !Number.isInteger(e.r) || !Number.isInteger(e.g) || !Number.isInteger(e.b) ? m.stringify(e) : d.stringify(e)
|
|
405
|
+
}, g = (e, t) => {
|
|
406
|
+
let n = h.parse(e);
|
|
407
|
+
for (let e in t) n[e] = o.channel.clamp[e](t[e]);
|
|
408
|
+
return h.stringify(n);
|
|
409
|
+
}, _ = (e, t, n = 0, r = 1) => {
|
|
410
|
+
if (typeof e != "number") return g(e, { a: t });
|
|
411
|
+
let i = u.set({
|
|
412
|
+
r: o.channel.clamp.r(e),
|
|
413
|
+
g: o.channel.clamp.g(t),
|
|
414
|
+
b: o.channel.clamp.b(n),
|
|
415
|
+
a: o.channel.clamp.a(r)
|
|
416
|
+
});
|
|
417
|
+
return h.stringify(i);
|
|
418
|
+
}, v = (e) => {
|
|
419
|
+
let { r: t, g: n, b: r } = h.parse(e), i = .2126 * o.channel.toLinear(t) + .7152 * o.channel.toLinear(n) + .0722 * o.channel.toLinear(r);
|
|
420
|
+
return o.lang.round(i);
|
|
421
|
+
}, y = (e) => v(e) >= .5, b = (e) => !y(e), x = (e, t, n) => {
|
|
422
|
+
let r = h.parse(e), i = r[t], a = o.channel.clamp[t](i + n);
|
|
423
|
+
return i !== a && (r[t] = a), h.stringify(r);
|
|
424
|
+
}, S = (e, t) => x(e, "l", t), C = (e, t) => x(e, "l", -t), w = (e, t) => {
|
|
425
|
+
let n = h.parse(e), r = {};
|
|
426
|
+
for (let e in t) t[e] && (r[e] = n[e] + t[e]);
|
|
427
|
+
return g(e, r);
|
|
428
|
+
}, T = (e, t, n = 50) => {
|
|
429
|
+
let { r, g: i, b: a, a: o } = h.parse(e), { r: s, g: c, b: l, a: u } = h.parse(t), d = n / 100, f = d * 2 - 1, p = o - u, m = ((f * p === -1 ? f : (f + p) / (1 + f * p)) + 1) / 2, g = 1 - m;
|
|
430
|
+
return _(r * m + s * g, i * m + c * g, a * m + l * g, o * d + u * (1 - d));
|
|
431
|
+
}, E = (e, t = 100) => {
|
|
432
|
+
let n = h.parse(e);
|
|
433
|
+
return n.r = 255 - n.r, n.g = 255 - n.g, n.b = 255 - n.b, T(n, e, t);
|
|
434
|
+
}, { entries: D, setPrototypeOf: O, isFrozen: k, getPrototypeOf: A, getOwnPropertyDescriptor: j } = Object, { freeze: M, seal: N, create: P } = Object, { apply: F, construct: I } = typeof Reflect < "u" && Reflect;
|
|
435
|
+
M || (M = function(e) {
|
|
436
|
+
return e;
|
|
437
|
+
}), N || (N = function(e) {
|
|
438
|
+
return e;
|
|
439
|
+
}), F || (F = function(e, t) {
|
|
440
|
+
var n = [...arguments].slice(2);
|
|
441
|
+
return e.apply(t, n);
|
|
442
|
+
}), I || (I = function(e) {
|
|
443
|
+
return new e(...[...arguments].slice(1));
|
|
444
|
+
});
|
|
445
|
+
var ee = z(Array.prototype.forEach), te = z(Array.prototype.lastIndexOf), ne = z(Array.prototype.pop), re = z(Array.prototype.push), ie = z(Array.prototype.splice), ae = z(String.prototype.toLowerCase), oe = z(String.prototype.toString), se = z(String.prototype.match), ce = z(String.prototype.replace), le = z(String.prototype.indexOf), ue = z(String.prototype.trim), L = z(Object.prototype.hasOwnProperty), R = z(RegExp.prototype.test), de = fe(TypeError);
|
|
446
|
+
function z(e) {
|
|
447
|
+
return function(t) {
|
|
448
|
+
t instanceof RegExp && (t.lastIndex = 0);
|
|
449
|
+
var n = [...arguments].slice(1);
|
|
450
|
+
return F(e, t, n);
|
|
451
|
+
};
|
|
452
|
+
}
|
|
453
|
+
function fe(e) {
|
|
454
|
+
return function() {
|
|
455
|
+
return I(e, [...arguments]);
|
|
456
|
+
};
|
|
457
|
+
}
|
|
458
|
+
function B(e, t) {
|
|
459
|
+
let n = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : ae;
|
|
460
|
+
O && O(e, null);
|
|
461
|
+
let r = t.length;
|
|
462
|
+
for (; r--;) {
|
|
463
|
+
let i = t[r];
|
|
464
|
+
if (typeof i == "string") {
|
|
465
|
+
let e = n(i);
|
|
466
|
+
e !== i && (k(t) || (t[r] = e), i = e);
|
|
467
|
+
}
|
|
468
|
+
e[i] = !0;
|
|
469
|
+
}
|
|
470
|
+
return e;
|
|
471
|
+
}
|
|
472
|
+
function pe(e) {
|
|
473
|
+
for (let t = 0; t < e.length; t++) L(e, t) || (e[t] = null);
|
|
474
|
+
return e;
|
|
475
|
+
}
|
|
476
|
+
function me(e) {
|
|
477
|
+
let t = P(null);
|
|
478
|
+
for (let [n, r] of D(e)) L(e, n) && (Array.isArray(r) ? t[n] = pe(r) : r && typeof r == "object" && r.constructor === Object ? t[n] = me(r) : t[n] = r);
|
|
479
|
+
return t;
|
|
480
|
+
}
|
|
481
|
+
function he(e, t) {
|
|
482
|
+
for (; e !== null;) {
|
|
483
|
+
let n = j(e, t);
|
|
484
|
+
if (n) {
|
|
485
|
+
if (n.get) return z(n.get);
|
|
486
|
+
if (typeof n.value == "function") return z(n.value);
|
|
487
|
+
}
|
|
488
|
+
e = A(e);
|
|
489
|
+
}
|
|
490
|
+
function n() {
|
|
491
|
+
return null;
|
|
492
|
+
}
|
|
493
|
+
return n;
|
|
494
|
+
}
|
|
495
|
+
var ge = M(/* @__PURE__ */ "a.abbr.acronym.address.area.article.aside.audio.b.bdi.bdo.big.blink.blockquote.body.br.button.canvas.caption.center.cite.code.col.colgroup.content.data.datalist.dd.decorator.del.details.dfn.dialog.dir.div.dl.dt.element.em.fieldset.figcaption.figure.font.footer.form.h1.h2.h3.h4.h5.h6.head.header.hgroup.hr.html.i.img.input.ins.kbd.label.legend.li.main.map.mark.marquee.menu.menuitem.meter.nav.nobr.ol.optgroup.option.output.p.picture.pre.progress.q.rp.rt.ruby.s.samp.search.section.select.shadow.slot.small.source.spacer.span.strike.strong.style.sub.summary.sup.table.tbody.td.template.textarea.tfoot.th.thead.time.tr.track.tt.u.ul.var.video.wbr".split(".")), _e = M(/* @__PURE__ */ "svg.a.altglyph.altglyphdef.altglyphitem.animatecolor.animatemotion.animatetransform.circle.clippath.defs.desc.ellipse.enterkeyhint.exportparts.filter.font.g.glyph.glyphref.hkern.image.inputmode.line.lineargradient.marker.mask.metadata.mpath.part.path.pattern.polygon.polyline.radialgradient.rect.stop.style.switch.symbol.text.textpath.title.tref.tspan.view.vkern".split(".")), ve = M([
|
|
496
|
+
"feBlend",
|
|
497
|
+
"feColorMatrix",
|
|
498
|
+
"feComponentTransfer",
|
|
499
|
+
"feComposite",
|
|
500
|
+
"feConvolveMatrix",
|
|
501
|
+
"feDiffuseLighting",
|
|
502
|
+
"feDisplacementMap",
|
|
503
|
+
"feDistantLight",
|
|
504
|
+
"feDropShadow",
|
|
505
|
+
"feFlood",
|
|
506
|
+
"feFuncA",
|
|
507
|
+
"feFuncB",
|
|
508
|
+
"feFuncG",
|
|
509
|
+
"feFuncR",
|
|
510
|
+
"feGaussianBlur",
|
|
511
|
+
"feImage",
|
|
512
|
+
"feMerge",
|
|
513
|
+
"feMergeNode",
|
|
514
|
+
"feMorphology",
|
|
515
|
+
"feOffset",
|
|
516
|
+
"fePointLight",
|
|
517
|
+
"feSpecularLighting",
|
|
518
|
+
"feSpotLight",
|
|
519
|
+
"feTile",
|
|
520
|
+
"feTurbulence"
|
|
521
|
+
]), ye = M([
|
|
522
|
+
"animate",
|
|
523
|
+
"color-profile",
|
|
524
|
+
"cursor",
|
|
525
|
+
"discard",
|
|
526
|
+
"font-face",
|
|
527
|
+
"font-face-format",
|
|
528
|
+
"font-face-name",
|
|
529
|
+
"font-face-src",
|
|
530
|
+
"font-face-uri",
|
|
531
|
+
"foreignobject",
|
|
532
|
+
"hatch",
|
|
533
|
+
"hatchpath",
|
|
534
|
+
"mesh",
|
|
535
|
+
"meshgradient",
|
|
536
|
+
"meshpatch",
|
|
537
|
+
"meshrow",
|
|
538
|
+
"missing-glyph",
|
|
539
|
+
"script",
|
|
540
|
+
"set",
|
|
541
|
+
"solidcolor",
|
|
542
|
+
"unknown",
|
|
543
|
+
"use"
|
|
544
|
+
]), be = M(/* @__PURE__ */ "math.menclose.merror.mfenced.mfrac.mglyph.mi.mlabeledtr.mmultiscripts.mn.mo.mover.mpadded.mphantom.mroot.mrow.ms.mspace.msqrt.mstyle.msub.msup.msubsup.mtable.mtd.mtext.mtr.munder.munderover.mprescripts".split(".")), xe = M([
|
|
545
|
+
"maction",
|
|
546
|
+
"maligngroup",
|
|
547
|
+
"malignmark",
|
|
548
|
+
"mlongdiv",
|
|
549
|
+
"mscarries",
|
|
550
|
+
"mscarry",
|
|
551
|
+
"msgroup",
|
|
552
|
+
"mstack",
|
|
553
|
+
"msline",
|
|
554
|
+
"msrow",
|
|
555
|
+
"semantics",
|
|
556
|
+
"annotation",
|
|
557
|
+
"annotation-xml",
|
|
558
|
+
"mprescripts",
|
|
559
|
+
"none"
|
|
560
|
+
]), Se = M(["#text"]), Ce = M(/* @__PURE__ */ "accept.action.align.alt.autocapitalize.autocomplete.autopictureinpicture.autoplay.background.bgcolor.border.capture.cellpadding.cellspacing.checked.cite.class.clear.color.cols.colspan.controls.controlslist.coords.crossorigin.datetime.decoding.default.dir.disabled.disablepictureinpicture.disableremoteplayback.download.draggable.enctype.enterkeyhint.exportparts.face.for.headers.height.hidden.high.href.hreflang.id.inert.inputmode.integrity.ismap.kind.label.lang.list.loading.loop.low.max.maxlength.media.method.min.minlength.multiple.muted.name.nonce.noshade.novalidate.nowrap.open.optimum.part.pattern.placeholder.playsinline.popover.popovertarget.popovertargetaction.poster.preload.pubdate.radiogroup.readonly.rel.required.rev.reversed.role.rows.rowspan.spellcheck.scope.selected.shape.size.sizes.slot.span.srclang.start.src.srcset.step.style.summary.tabindex.title.translate.type.usemap.valign.value.width.wrap.xmlns.slot".split(".")), we = M(/* @__PURE__ */ "accent-height.accumulate.additive.alignment-baseline.amplitude.ascent.attributename.attributetype.azimuth.basefrequency.baseline-shift.begin.bias.by.class.clip.clippathunits.clip-path.clip-rule.color.color-interpolation.color-interpolation-filters.color-profile.color-rendering.cx.cy.d.dx.dy.diffuseconstant.direction.display.divisor.dur.edgemode.elevation.end.exponent.fill.fill-opacity.fill-rule.filter.filterunits.flood-color.flood-opacity.font-family.font-size.font-size-adjust.font-stretch.font-style.font-variant.font-weight.fx.fy.g1.g2.glyph-name.glyphref.gradientunits.gradienttransform.height.href.id.image-rendering.in.in2.intercept.k.k1.k2.k3.k4.kerning.keypoints.keysplines.keytimes.lang.lengthadjust.letter-spacing.kernelmatrix.kernelunitlength.lighting-color.local.marker-end.marker-mid.marker-start.markerheight.markerunits.markerwidth.maskcontentunits.maskunits.max.mask.mask-type.media.method.mode.min.name.numoctaves.offset.operator.opacity.order.orient.orientation.origin.overflow.paint-order.path.pathlength.patterncontentunits.patterntransform.patternunits.points.preservealpha.preserveaspectratio.primitiveunits.r.rx.ry.radius.refx.refy.repeatcount.repeatdur.restart.result.rotate.scale.seed.shape-rendering.slope.specularconstant.specularexponent.spreadmethod.startoffset.stddeviation.stitchtiles.stop-color.stop-opacity.stroke-dasharray.stroke-dashoffset.stroke-linecap.stroke-linejoin.stroke-miterlimit.stroke-opacity.stroke.stroke-width.style.surfacescale.systemlanguage.tabindex.tablevalues.targetx.targety.transform.transform-origin.text-anchor.text-decoration.text-rendering.textlength.type.u1.u2.unicode.values.viewbox.visibility.version.vert-adv-y.vert-origin-x.vert-origin-y.width.word-spacing.wrap.writing-mode.xchannelselector.ychannelselector.x.x1.x2.xmlns.y.y1.y2.z.zoomandpan".split(".")), Te = M(/* @__PURE__ */ "accent.accentunder.align.bevelled.close.columnsalign.columnlines.columnspan.denomalign.depth.dir.display.displaystyle.encoding.fence.frame.height.href.id.largeop.length.linethickness.lspace.lquote.mathbackground.mathcolor.mathsize.mathvariant.maxsize.minsize.movablelimits.notation.numalign.open.rowalign.rowlines.rowspacing.rowspan.rspace.rquote.scriptlevel.scriptminsize.scriptsizemultiplier.selection.separator.separators.stretchy.subscriptshift.supscriptshift.symmetric.voffset.width.xmlns".split(".")), Ee = M([
|
|
561
|
+
"xlink:href",
|
|
562
|
+
"xml:id",
|
|
563
|
+
"xlink:title",
|
|
564
|
+
"xml:space",
|
|
565
|
+
"xmlns:xlink"
|
|
566
|
+
]), V = N(/\{\{[\w\W]*|[\w\W]*\}\}/gm), De = N(/<%[\w\W]*|[\w\W]*%>/gm), H = N(/\$\{[\w\W]*/gm), Oe = N(/^data-[\-\w.\u00B7-\uFFFF]+$/), U = N(/^aria-[\-\w]+$/), ke = N(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i), Ae = N(/^(?:\w+script|data):/i), je = N(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g), Me = N(/^html$/i), Ne = N(/^[a-z][.\w]*(-[.\w]+)+$/i), Pe = /* @__PURE__ */ Object.freeze({
|
|
567
|
+
__proto__: null,
|
|
568
|
+
ARIA_ATTR: U,
|
|
569
|
+
ATTR_WHITESPACE: je,
|
|
570
|
+
CUSTOM_ELEMENT: Ne,
|
|
571
|
+
DATA_ATTR: Oe,
|
|
572
|
+
DOCTYPE_NAME: Me,
|
|
573
|
+
ERB_EXPR: De,
|
|
574
|
+
IS_ALLOWED_URI: ke,
|
|
575
|
+
IS_SCRIPT_OR_DATA: Ae,
|
|
576
|
+
MUSTACHE_EXPR: V,
|
|
577
|
+
TMPLIT_EXPR: H
|
|
578
|
+
}), Fe = {
|
|
579
|
+
element: 1,
|
|
580
|
+
attribute: 2,
|
|
581
|
+
text: 3,
|
|
582
|
+
cdataSection: 4,
|
|
583
|
+
entityReference: 5,
|
|
584
|
+
entityNode: 6,
|
|
585
|
+
progressingInstruction: 7,
|
|
586
|
+
comment: 8,
|
|
587
|
+
document: 9,
|
|
588
|
+
documentType: 10,
|
|
589
|
+
documentFragment: 11,
|
|
590
|
+
notation: 12
|
|
591
|
+
}, Ie = function() {
|
|
592
|
+
return typeof window > "u" ? null : window;
|
|
593
|
+
}, Le = function(e, t) {
|
|
594
|
+
if (typeof e != "object" || typeof e.createPolicy != "function") return null;
|
|
595
|
+
let n = null, r = "data-tt-policy-suffix";
|
|
596
|
+
t && t.hasAttribute(r) && (n = t.getAttribute(r));
|
|
597
|
+
let i = "dompurify" + (n ? "#" + n : "");
|
|
598
|
+
try {
|
|
599
|
+
return e.createPolicy(i, {
|
|
600
|
+
createHTML(e) {
|
|
601
|
+
return e;
|
|
602
|
+
},
|
|
603
|
+
createScriptURL(e) {
|
|
604
|
+
return e;
|
|
605
|
+
}
|
|
606
|
+
});
|
|
607
|
+
} catch (e) {
|
|
608
|
+
return console.warn("TrustedTypes policy " + i + " could not be created."), null;
|
|
609
|
+
}
|
|
610
|
+
}, Re = function() {
|
|
611
|
+
return {
|
|
612
|
+
afterSanitizeAttributes: [],
|
|
613
|
+
afterSanitizeElements: [],
|
|
614
|
+
afterSanitizeShadowDOM: [],
|
|
615
|
+
beforeSanitizeAttributes: [],
|
|
616
|
+
beforeSanitizeElements: [],
|
|
617
|
+
beforeSanitizeShadowDOM: [],
|
|
618
|
+
uponSanitizeAttribute: [],
|
|
619
|
+
uponSanitizeElement: [],
|
|
620
|
+
uponSanitizeShadowNode: []
|
|
621
|
+
};
|
|
622
|
+
};
|
|
623
|
+
function ze() {
|
|
624
|
+
let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : Ie(), t = (e) => ze(e);
|
|
625
|
+
if (t.version = "3.3.3", t.removed = [], !e || !e.document || e.document.nodeType !== Fe.document || !e.Element) return t.isSupported = !1, t;
|
|
626
|
+
let { document: n } = e, r = n, i = r.currentScript, { DocumentFragment: a, HTMLTemplateElement: o, Node: s, Element: c, NodeFilter: l, NamedNodeMap: u = e.NamedNodeMap || e.MozNamedAttrMap, HTMLFormElement: d, DOMParser: f, trustedTypes: p } = e, m = c.prototype, h = he(m, "cloneNode"), g = he(m, "remove"), _ = he(m, "nextSibling"), v = he(m, "childNodes"), y = he(m, "parentNode");
|
|
627
|
+
if (typeof o == "function") {
|
|
628
|
+
let e = n.createElement("template");
|
|
629
|
+
e.content && e.content.ownerDocument && (n = e.content.ownerDocument);
|
|
630
|
+
}
|
|
631
|
+
let b, x = "", { implementation: S, createNodeIterator: C, createDocumentFragment: w, getElementsByTagName: T } = n, { importNode: E } = r, O = Re();
|
|
632
|
+
t.isSupported = typeof D == "function" && typeof y == "function" && S && S.createHTMLDocument !== void 0;
|
|
633
|
+
let { MUSTACHE_EXPR: k, ERB_EXPR: A, TMPLIT_EXPR: j, DATA_ATTR: N, ARIA_ATTR: F, IS_SCRIPT_OR_DATA: I, ATTR_WHITESPACE: z, CUSTOM_ELEMENT: fe } = Pe, { IS_ALLOWED_URI: pe } = Pe, V = null, De = B({}, [
|
|
634
|
+
...ge,
|
|
635
|
+
..._e,
|
|
636
|
+
...ve,
|
|
637
|
+
...be,
|
|
638
|
+
...Se
|
|
639
|
+
]), H = null, Oe = B({}, [
|
|
640
|
+
...Ce,
|
|
641
|
+
...we,
|
|
642
|
+
...Te,
|
|
643
|
+
...Ee
|
|
644
|
+
]), U = Object.seal(P(null, {
|
|
645
|
+
tagNameCheck: {
|
|
646
|
+
writable: !0,
|
|
647
|
+
configurable: !1,
|
|
648
|
+
enumerable: !0,
|
|
649
|
+
value: null
|
|
650
|
+
},
|
|
651
|
+
attributeNameCheck: {
|
|
652
|
+
writable: !0,
|
|
653
|
+
configurable: !1,
|
|
654
|
+
enumerable: !0,
|
|
655
|
+
value: null
|
|
656
|
+
},
|
|
657
|
+
allowCustomizedBuiltInElements: {
|
|
658
|
+
writable: !0,
|
|
659
|
+
configurable: !1,
|
|
660
|
+
enumerable: !0,
|
|
661
|
+
value: !1
|
|
662
|
+
}
|
|
663
|
+
})), Ae = null, je = null, Ne = Object.seal(P(null, {
|
|
664
|
+
tagCheck: {
|
|
665
|
+
writable: !0,
|
|
666
|
+
configurable: !1,
|
|
667
|
+
enumerable: !0,
|
|
668
|
+
value: null
|
|
669
|
+
},
|
|
670
|
+
attributeCheck: {
|
|
671
|
+
writable: !0,
|
|
672
|
+
configurable: !1,
|
|
673
|
+
enumerable: !0,
|
|
674
|
+
value: null
|
|
675
|
+
}
|
|
676
|
+
})), Be = !0, Ve = !0, He = !1, Ue = !0, We = !1, Ge = !0, W = !1, Ke = !1, qe = !1, Je = !1, Ye = !1, Xe = !1, Ze = !0, Qe = !1, $e = !0, et = !1, tt = {}, G = null, nt = B({}, [
|
|
677
|
+
"annotation-xml",
|
|
678
|
+
"audio",
|
|
679
|
+
"colgroup",
|
|
680
|
+
"desc",
|
|
681
|
+
"foreignobject",
|
|
682
|
+
"head",
|
|
683
|
+
"iframe",
|
|
684
|
+
"math",
|
|
685
|
+
"mi",
|
|
686
|
+
"mn",
|
|
687
|
+
"mo",
|
|
688
|
+
"ms",
|
|
689
|
+
"mtext",
|
|
690
|
+
"noembed",
|
|
691
|
+
"noframes",
|
|
692
|
+
"noscript",
|
|
693
|
+
"plaintext",
|
|
694
|
+
"script",
|
|
695
|
+
"style",
|
|
696
|
+
"svg",
|
|
697
|
+
"template",
|
|
698
|
+
"thead",
|
|
699
|
+
"title",
|
|
700
|
+
"video",
|
|
701
|
+
"xmp"
|
|
702
|
+
]), rt = null, it = B({}, [
|
|
703
|
+
"audio",
|
|
704
|
+
"video",
|
|
705
|
+
"img",
|
|
706
|
+
"source",
|
|
707
|
+
"image",
|
|
708
|
+
"track"
|
|
709
|
+
]), at = null, ot = B({}, [
|
|
710
|
+
"alt",
|
|
711
|
+
"class",
|
|
712
|
+
"for",
|
|
713
|
+
"id",
|
|
714
|
+
"label",
|
|
715
|
+
"name",
|
|
716
|
+
"pattern",
|
|
717
|
+
"placeholder",
|
|
718
|
+
"role",
|
|
719
|
+
"summary",
|
|
720
|
+
"title",
|
|
721
|
+
"value",
|
|
722
|
+
"style",
|
|
723
|
+
"xmlns"
|
|
724
|
+
]), st = "http://www.w3.org/1998/Math/MathML", K = "http://www.w3.org/2000/svg", q = "http://www.w3.org/1999/xhtml", J = q, Y = !1, ct = null, lt = B({}, [
|
|
725
|
+
st,
|
|
726
|
+
K,
|
|
727
|
+
q
|
|
728
|
+
], oe), ut = B({}, [
|
|
729
|
+
"mi",
|
|
730
|
+
"mo",
|
|
731
|
+
"mn",
|
|
732
|
+
"ms",
|
|
733
|
+
"mtext"
|
|
734
|
+
]), dt = B({}, ["annotation-xml"]), ft = B({}, [
|
|
735
|
+
"title",
|
|
736
|
+
"style",
|
|
737
|
+
"font",
|
|
738
|
+
"a",
|
|
739
|
+
"script"
|
|
740
|
+
]), pt = null, mt = ["application/xhtml+xml", "text/html"], X = null, ht = null, gt = n.createElement("form"), _t = function(e) {
|
|
741
|
+
return e instanceof RegExp || e instanceof Function;
|
|
742
|
+
}, vt = function() {
|
|
743
|
+
let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
|
|
744
|
+
if (!(ht && ht === e)) {
|
|
745
|
+
if ((!e || typeof e != "object") && (e = {}), e = me(e), pt = mt.indexOf(e.PARSER_MEDIA_TYPE) === -1 ? "text/html" : e.PARSER_MEDIA_TYPE, X = pt === "application/xhtml+xml" ? oe : ae, V = L(e, "ALLOWED_TAGS") ? B({}, e.ALLOWED_TAGS, X) : De, H = L(e, "ALLOWED_ATTR") ? B({}, e.ALLOWED_ATTR, X) : Oe, ct = L(e, "ALLOWED_NAMESPACES") ? B({}, e.ALLOWED_NAMESPACES, oe) : lt, at = L(e, "ADD_URI_SAFE_ATTR") ? B(me(ot), e.ADD_URI_SAFE_ATTR, X) : ot, rt = L(e, "ADD_DATA_URI_TAGS") ? B(me(it), e.ADD_DATA_URI_TAGS, X) : it, G = L(e, "FORBID_CONTENTS") ? B({}, e.FORBID_CONTENTS, X) : nt, Ae = L(e, "FORBID_TAGS") ? B({}, e.FORBID_TAGS, X) : me({}), je = L(e, "FORBID_ATTR") ? B({}, e.FORBID_ATTR, X) : me({}), tt = L(e, "USE_PROFILES") ? e.USE_PROFILES : !1, Be = e.ALLOW_ARIA_ATTR !== !1, Ve = e.ALLOW_DATA_ATTR !== !1, He = e.ALLOW_UNKNOWN_PROTOCOLS || !1, Ue = e.ALLOW_SELF_CLOSE_IN_ATTR !== !1, We = e.SAFE_FOR_TEMPLATES || !1, Ge = e.SAFE_FOR_XML !== !1, W = e.WHOLE_DOCUMENT || !1, Je = e.RETURN_DOM || !1, Ye = e.RETURN_DOM_FRAGMENT || !1, Xe = e.RETURN_TRUSTED_TYPE || !1, qe = e.FORCE_BODY || !1, Ze = e.SANITIZE_DOM !== !1, Qe = e.SANITIZE_NAMED_PROPS || !1, $e = e.KEEP_CONTENT !== !1, et = e.IN_PLACE || !1, pe = e.ALLOWED_URI_REGEXP || ke, J = e.NAMESPACE || q, ut = e.MATHML_TEXT_INTEGRATION_POINTS || ut, dt = e.HTML_INTEGRATION_POINTS || dt, U = e.CUSTOM_ELEMENT_HANDLING || {}, e.CUSTOM_ELEMENT_HANDLING && _t(e.CUSTOM_ELEMENT_HANDLING.tagNameCheck) && (U.tagNameCheck = e.CUSTOM_ELEMENT_HANDLING.tagNameCheck), e.CUSTOM_ELEMENT_HANDLING && _t(e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck) && (U.attributeNameCheck = e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck), e.CUSTOM_ELEMENT_HANDLING && typeof e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements == "boolean" && (U.allowCustomizedBuiltInElements = e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements), We && (Ve = !1), Ye && (Je = !0), tt && (V = B({}, Se), H = P(null), tt.html === !0 && (B(V, ge), B(H, Ce)), tt.svg === !0 && (B(V, _e), B(H, we), B(H, Ee)), tt.svgFilters === !0 && (B(V, ve), B(H, we), B(H, Ee)), tt.mathMl === !0 && (B(V, be), B(H, Te), B(H, Ee))), L(e, "ADD_TAGS") || (Ne.tagCheck = null), L(e, "ADD_ATTR") || (Ne.attributeCheck = null), e.ADD_TAGS && (typeof e.ADD_TAGS == "function" ? Ne.tagCheck = e.ADD_TAGS : (V === De && (V = me(V)), B(V, e.ADD_TAGS, X))), e.ADD_ATTR && (typeof e.ADD_ATTR == "function" ? Ne.attributeCheck = e.ADD_ATTR : (H === Oe && (H = me(H)), B(H, e.ADD_ATTR, X))), e.ADD_URI_SAFE_ATTR && B(at, e.ADD_URI_SAFE_ATTR, X), e.FORBID_CONTENTS && (G === nt && (G = me(G)), B(G, e.FORBID_CONTENTS, X)), e.ADD_FORBID_CONTENTS && (G === nt && (G = me(G)), B(G, e.ADD_FORBID_CONTENTS, X)), $e && (V["#text"] = !0), W && B(V, [
|
|
746
|
+
"html",
|
|
747
|
+
"head",
|
|
748
|
+
"body"
|
|
749
|
+
]), V.table && (B(V, ["tbody"]), delete Ae.tbody), e.TRUSTED_TYPES_POLICY) {
|
|
750
|
+
if (typeof e.TRUSTED_TYPES_POLICY.createHTML != "function") throw de("TRUSTED_TYPES_POLICY configuration option must provide a \"createHTML\" hook.");
|
|
751
|
+
if (typeof e.TRUSTED_TYPES_POLICY.createScriptURL != "function") throw de("TRUSTED_TYPES_POLICY configuration option must provide a \"createScriptURL\" hook.");
|
|
752
|
+
b = e.TRUSTED_TYPES_POLICY, x = b.createHTML("");
|
|
753
|
+
} else b === void 0 && (b = Le(p, i)), b !== null && typeof x == "string" && (x = b.createHTML(""));
|
|
754
|
+
M && M(e), ht = e;
|
|
755
|
+
}
|
|
756
|
+
}, yt = B({}, [
|
|
757
|
+
..._e,
|
|
758
|
+
...ve,
|
|
759
|
+
...ye
|
|
760
|
+
]), bt = B({}, [...be, ...xe]), xt = function(e) {
|
|
761
|
+
let t = y(e);
|
|
762
|
+
(!t || !t.tagName) && (t = {
|
|
763
|
+
namespaceURI: J,
|
|
764
|
+
tagName: "template"
|
|
765
|
+
});
|
|
766
|
+
let n = ae(e.tagName), r = ae(t.tagName);
|
|
767
|
+
return ct[e.namespaceURI] ? e.namespaceURI === K ? t.namespaceURI === q ? n === "svg" : t.namespaceURI === st ? n === "svg" && (r === "annotation-xml" || ut[r]) : !!yt[n] : e.namespaceURI === st ? t.namespaceURI === q ? n === "math" : t.namespaceURI === K ? n === "math" && dt[r] : !!bt[n] : e.namespaceURI === q ? t.namespaceURI === K && !dt[r] || t.namespaceURI === st && !ut[r] ? !1 : !bt[n] && (ft[n] || !yt[n]) : !!(pt === "application/xhtml+xml" && ct[e.namespaceURI]) : !1;
|
|
768
|
+
}, St = function(e) {
|
|
769
|
+
re(t.removed, { element: e });
|
|
770
|
+
try {
|
|
771
|
+
y(e).removeChild(e);
|
|
772
|
+
} catch (t) {
|
|
773
|
+
g(e);
|
|
774
|
+
}
|
|
775
|
+
}, Ct = function(e, n) {
|
|
776
|
+
try {
|
|
777
|
+
re(t.removed, {
|
|
778
|
+
attribute: n.getAttributeNode(e),
|
|
779
|
+
from: n
|
|
780
|
+
});
|
|
781
|
+
} catch (e) {
|
|
782
|
+
re(t.removed, {
|
|
783
|
+
attribute: null,
|
|
784
|
+
from: n
|
|
785
|
+
});
|
|
786
|
+
}
|
|
787
|
+
if (n.removeAttribute(e), e === "is") if (Je || Ye) try {
|
|
788
|
+
St(n);
|
|
789
|
+
} catch (e) {}
|
|
790
|
+
else try {
|
|
791
|
+
n.setAttribute(e, "");
|
|
792
|
+
} catch (e) {}
|
|
793
|
+
}, wt = function(e) {
|
|
794
|
+
let t = null, r = null;
|
|
795
|
+
if (qe) e = "<remove></remove>" + e;
|
|
796
|
+
else {
|
|
797
|
+
let t = se(e, /^[\r\n\t ]+/);
|
|
798
|
+
r = t && t[0];
|
|
799
|
+
}
|
|
800
|
+
pt === "application/xhtml+xml" && J === q && (e = "<html xmlns=\"http://www.w3.org/1999/xhtml\"><head></head><body>" + e + "</body></html>");
|
|
801
|
+
let i = b ? b.createHTML(e) : e;
|
|
802
|
+
if (J === q) try {
|
|
803
|
+
t = new f().parseFromString(i, pt);
|
|
804
|
+
} catch (e) {}
|
|
805
|
+
if (!t || !t.documentElement) {
|
|
806
|
+
t = S.createDocument(J, "template", null);
|
|
807
|
+
try {
|
|
808
|
+
t.documentElement.innerHTML = Y ? x : i;
|
|
809
|
+
} catch (e) {}
|
|
810
|
+
}
|
|
811
|
+
let a = t.body || t.documentElement;
|
|
812
|
+
return e && r && a.insertBefore(n.createTextNode(r), a.childNodes[0] || null), J === q ? T.call(t, W ? "html" : "body")[0] : W ? t.documentElement : a;
|
|
813
|
+
}, Tt = function(e) {
|
|
814
|
+
return C.call(e.ownerDocument || e, e, l.SHOW_ELEMENT | l.SHOW_COMMENT | l.SHOW_TEXT | l.SHOW_PROCESSING_INSTRUCTION | l.SHOW_CDATA_SECTION, null);
|
|
815
|
+
}, Et = function(e) {
|
|
816
|
+
return e instanceof d && (typeof e.nodeName != "string" || typeof e.textContent != "string" || typeof e.removeChild != "function" || !(e.attributes instanceof u) || typeof e.removeAttribute != "function" || typeof e.setAttribute != "function" || typeof e.namespaceURI != "string" || typeof e.insertBefore != "function" || typeof e.hasChildNodes != "function");
|
|
817
|
+
}, Dt = function(e) {
|
|
818
|
+
return typeof s == "function" && e instanceof s;
|
|
819
|
+
};
|
|
820
|
+
function Z(e, n, r) {
|
|
821
|
+
ee(e, (e) => {
|
|
822
|
+
e.call(t, n, r, ht);
|
|
823
|
+
});
|
|
824
|
+
}
|
|
825
|
+
let Ot = function(e) {
|
|
826
|
+
let n = null;
|
|
827
|
+
if (Z(O.beforeSanitizeElements, e, null), Et(e)) return St(e), !0;
|
|
828
|
+
let r = X(e.nodeName);
|
|
829
|
+
if (Z(O.uponSanitizeElement, e, {
|
|
830
|
+
tagName: r,
|
|
831
|
+
allowedTags: V
|
|
832
|
+
}), Ge && e.hasChildNodes() && !Dt(e.firstElementChild) && R(/<[/\w!]/g, e.innerHTML) && R(/<[/\w!]/g, e.textContent) || e.nodeType === Fe.progressingInstruction || Ge && e.nodeType === Fe.comment && R(/<[/\w]/g, e.data)) return St(e), !0;
|
|
833
|
+
if (!(Ne.tagCheck instanceof Function && Ne.tagCheck(r)) && (!V[r] || Ae[r])) {
|
|
834
|
+
if (!Ae[r] && kt(r) && (U.tagNameCheck instanceof RegExp && R(U.tagNameCheck, r) || U.tagNameCheck instanceof Function && U.tagNameCheck(r))) return !1;
|
|
835
|
+
if ($e && !G[r]) {
|
|
836
|
+
let t = y(e) || e.parentNode, n = v(e) || e.childNodes;
|
|
837
|
+
if (n && t) {
|
|
838
|
+
let r = n.length;
|
|
839
|
+
for (let i = r - 1; i >= 0; --i) {
|
|
840
|
+
let r = h(n[i], !0);
|
|
841
|
+
r.__removalCount = (e.__removalCount || 0) + 1, t.insertBefore(r, _(e));
|
|
842
|
+
}
|
|
843
|
+
}
|
|
844
|
+
}
|
|
845
|
+
return St(e), !0;
|
|
846
|
+
}
|
|
847
|
+
return e instanceof c && !xt(e) || (r === "noscript" || r === "noembed" || r === "noframes") && R(/<\/no(script|embed|frames)/i, e.innerHTML) ? (St(e), !0) : (We && e.nodeType === Fe.text && (n = e.textContent, ee([
|
|
848
|
+
k,
|
|
849
|
+
A,
|
|
850
|
+
j
|
|
851
|
+
], (e) => {
|
|
852
|
+
n = ce(n, e, " ");
|
|
853
|
+
}), e.textContent !== n && (re(t.removed, { element: e.cloneNode() }), e.textContent = n)), Z(O.afterSanitizeElements, e, null), !1);
|
|
854
|
+
}, Q = function(e, t, r) {
|
|
855
|
+
if (je[t] || Ze && (t === "id" || t === "name") && (r in n || r in gt)) return !1;
|
|
856
|
+
if (!(Ve && !je[t] && R(N, t)) && !(Be && R(F, t)) && !(Ne.attributeCheck instanceof Function && Ne.attributeCheck(t, e))) {
|
|
857
|
+
if (!H[t] || je[t]) {
|
|
858
|
+
if (!(kt(e) && (U.tagNameCheck instanceof RegExp && R(U.tagNameCheck, e) || U.tagNameCheck instanceof Function && U.tagNameCheck(e)) && (U.attributeNameCheck instanceof RegExp && R(U.attributeNameCheck, t) || U.attributeNameCheck instanceof Function && U.attributeNameCheck(t, e)) || t === "is" && U.allowCustomizedBuiltInElements && (U.tagNameCheck instanceof RegExp && R(U.tagNameCheck, r) || U.tagNameCheck instanceof Function && U.tagNameCheck(r)))) return !1;
|
|
859
|
+
} else if (!at[t] && !R(pe, ce(r, z, "")) && !((t === "src" || t === "xlink:href" || t === "href") && e !== "script" && le(r, "data:") === 0 && rt[e]) && !(He && !R(I, ce(r, z, ""))) && r) return !1;
|
|
860
|
+
}
|
|
861
|
+
return !0;
|
|
862
|
+
}, kt = function(e) {
|
|
863
|
+
return e !== "annotation-xml" && se(e, fe);
|
|
864
|
+
}, At = function(e) {
|
|
865
|
+
Z(O.beforeSanitizeAttributes, e, null);
|
|
866
|
+
let { attributes: n } = e;
|
|
867
|
+
if (!n || Et(e)) return;
|
|
868
|
+
let r = {
|
|
869
|
+
attrName: "",
|
|
870
|
+
attrValue: "",
|
|
871
|
+
keepAttr: !0,
|
|
872
|
+
allowedAttributes: H,
|
|
873
|
+
forceKeepAttr: void 0
|
|
874
|
+
}, i = n.length;
|
|
875
|
+
for (; i--;) {
|
|
876
|
+
let { name: a, namespaceURI: o, value: s } = n[i], c = X(a), l = s, u = a === "value" ? l : ue(l);
|
|
877
|
+
if (r.attrName = c, r.attrValue = u, r.keepAttr = !0, r.forceKeepAttr = void 0, Z(O.uponSanitizeAttribute, e, r), u = r.attrValue, Qe && (c === "id" || c === "name") && (Ct(a, e), u = "user-content-" + u), Ge && R(/((--!?|])>)|<\/(style|script|title|xmp|textarea|noscript|iframe|noembed|noframes)/i, u)) {
|
|
878
|
+
Ct(a, e);
|
|
879
|
+
continue;
|
|
880
|
+
}
|
|
881
|
+
if (c === "attributename" && se(u, "href")) {
|
|
882
|
+
Ct(a, e);
|
|
883
|
+
continue;
|
|
884
|
+
}
|
|
885
|
+
if (r.forceKeepAttr) continue;
|
|
886
|
+
if (!r.keepAttr) {
|
|
887
|
+
Ct(a, e);
|
|
888
|
+
continue;
|
|
889
|
+
}
|
|
890
|
+
if (!Ue && R(/\/>/i, u)) {
|
|
891
|
+
Ct(a, e);
|
|
892
|
+
continue;
|
|
893
|
+
}
|
|
894
|
+
We && ee([
|
|
895
|
+
k,
|
|
896
|
+
A,
|
|
897
|
+
j
|
|
898
|
+
], (e) => {
|
|
899
|
+
u = ce(u, e, " ");
|
|
900
|
+
});
|
|
901
|
+
let d = X(e.nodeName);
|
|
902
|
+
if (!Q(d, c, u)) {
|
|
903
|
+
Ct(a, e);
|
|
904
|
+
continue;
|
|
905
|
+
}
|
|
906
|
+
if (b && typeof p == "object" && typeof p.getAttributeType == "function" && !o) switch (p.getAttributeType(d, c)) {
|
|
907
|
+
case "TrustedHTML":
|
|
908
|
+
u = b.createHTML(u);
|
|
909
|
+
break;
|
|
910
|
+
case "TrustedScriptURL":
|
|
911
|
+
u = b.createScriptURL(u);
|
|
912
|
+
break;
|
|
913
|
+
}
|
|
914
|
+
if (u !== l) try {
|
|
915
|
+
o ? e.setAttributeNS(o, a, u) : e.setAttribute(a, u), Et(e) ? St(e) : ne(t.removed);
|
|
916
|
+
} catch (t) {
|
|
917
|
+
Ct(a, e);
|
|
918
|
+
}
|
|
919
|
+
}
|
|
920
|
+
Z(O.afterSanitizeAttributes, e, null);
|
|
921
|
+
}, jt = function e(t) {
|
|
922
|
+
let n = null, r = Tt(t);
|
|
923
|
+
for (Z(O.beforeSanitizeShadowDOM, t, null); n = r.nextNode();) Z(O.uponSanitizeShadowNode, n, null), Ot(n), At(n), n.content instanceof a && e(n.content);
|
|
924
|
+
Z(O.afterSanitizeShadowDOM, t, null);
|
|
925
|
+
};
|
|
926
|
+
return t.sanitize = function(e) {
|
|
927
|
+
let n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, i = null, o = null, c = null, l = null;
|
|
928
|
+
if (Y = !e, Y && (e = "<!-->"), typeof e != "string" && !Dt(e)) if (typeof e.toString == "function") {
|
|
929
|
+
if (e = e.toString(), typeof e != "string") throw de("dirty is not a string, aborting");
|
|
930
|
+
} else throw de("toString is not a function");
|
|
931
|
+
if (!t.isSupported) return e;
|
|
932
|
+
if (Ke || vt(n), t.removed = [], typeof e == "string" && (et = !1), et) {
|
|
933
|
+
if (e.nodeName) {
|
|
934
|
+
let t = X(e.nodeName);
|
|
935
|
+
if (!V[t] || Ae[t]) throw de("root node is forbidden and cannot be sanitized in-place");
|
|
936
|
+
}
|
|
937
|
+
} else if (e instanceof s) i = wt("<!---->"), o = i.ownerDocument.importNode(e, !0), o.nodeType === Fe.element && o.nodeName === "BODY" || o.nodeName === "HTML" ? i = o : i.appendChild(o);
|
|
938
|
+
else {
|
|
939
|
+
if (!Je && !We && !W && e.indexOf("<") === -1) return b && Xe ? b.createHTML(e) : e;
|
|
940
|
+
if (i = wt(e), !i) return Je ? null : Xe ? x : "";
|
|
941
|
+
}
|
|
942
|
+
i && qe && St(i.firstChild);
|
|
943
|
+
let u = Tt(et ? e : i);
|
|
944
|
+
for (; c = u.nextNode();) Ot(c), At(c), c.content instanceof a && jt(c.content);
|
|
945
|
+
if (et) return e;
|
|
946
|
+
if (Je) {
|
|
947
|
+
if (Ye) for (l = w.call(i.ownerDocument); i.firstChild;) l.appendChild(i.firstChild);
|
|
948
|
+
else l = i;
|
|
949
|
+
return (H.shadowroot || H.shadowrootmode) && (l = E.call(r, l, !0)), l;
|
|
950
|
+
}
|
|
951
|
+
let d = W ? i.outerHTML : i.innerHTML;
|
|
952
|
+
return W && V["!doctype"] && i.ownerDocument && i.ownerDocument.doctype && i.ownerDocument.doctype.name && R(Me, i.ownerDocument.doctype.name) && (d = "<!DOCTYPE " + i.ownerDocument.doctype.name + ">\n" + d), We && ee([
|
|
953
|
+
k,
|
|
954
|
+
A,
|
|
955
|
+
j
|
|
956
|
+
], (e) => {
|
|
957
|
+
d = ce(d, e, " ");
|
|
958
|
+
}), b && Xe ? b.createHTML(d) : d;
|
|
959
|
+
}, t.setConfig = function() {
|
|
960
|
+
vt(arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}), Ke = !0;
|
|
961
|
+
}, t.clearConfig = function() {
|
|
962
|
+
ht = null, Ke = !1;
|
|
963
|
+
}, t.isValidAttribute = function(e, t, n) {
|
|
964
|
+
return ht || vt({}), Q(X(e), X(t), n);
|
|
965
|
+
}, t.addHook = function(e, t) {
|
|
966
|
+
typeof t == "function" && re(O[e], t);
|
|
967
|
+
}, t.removeHook = function(e, t) {
|
|
968
|
+
if (t !== void 0) {
|
|
969
|
+
let n = te(O[e], t);
|
|
970
|
+
return n === -1 ? void 0 : ie(O[e], n, 1)[0];
|
|
971
|
+
}
|
|
972
|
+
return ne(O[e]);
|
|
973
|
+
}, t.removeHooks = function(e) {
|
|
974
|
+
O[e] = [];
|
|
975
|
+
}, t.removeAllHooks = function() {
|
|
976
|
+
O = Re();
|
|
977
|
+
}, t;
|
|
978
|
+
}
|
|
979
|
+
var Be = ze(), Ve, He, Ue, We, Ge, W, Ke, qe, Je, Ye, Xe, Ze, Qe, $e = /* @__PURE__ */ RegExp("^-{3}\\s*[\\n\\r](.*?)[\\n\\r]-{3}\\s*[\\n\\r]+", "s"), et = /%{2}{\s*(?:(\w+)\s*:|(\w+))\s*(?:(\w+)|((?:(?!}%{2}).|\r?\n)*))?\s*(?:}%{2})?/gi, tt = /\s*%%.*\n/gm, G = (Ve = class extends Error {
|
|
980
|
+
constructor(e) {
|
|
981
|
+
super(e), this.name = "UnknownDiagramError";
|
|
982
|
+
}
|
|
983
|
+
}, r(Ve, "UnknownDiagramError"), Ve), nt = {}, rt = /* @__PURE__ */ r(function(e, t) {
|
|
984
|
+
e = e.replace($e, "").replace(et, "").replace(tt, "\n");
|
|
985
|
+
for (let [n, { detector: r }] of Object.entries(nt)) if (r(e, t)) return n;
|
|
986
|
+
throw new G(`No diagram type detected matching given configuration for text: ${e}`);
|
|
987
|
+
}, "detectType"), it = /* @__PURE__ */ r((...e) => {
|
|
988
|
+
for (let { id: t, detector: n, loader: r } of e) at(t, n, r);
|
|
989
|
+
}, "registerLazyLoadedDiagrams"), at = /* @__PURE__ */ r((e, t, r) => {
|
|
990
|
+
nt[e] && n.warn(`Detector with key ${e} already exists. Overwriting.`), nt[e] = {
|
|
991
|
+
detector: t,
|
|
992
|
+
loader: r
|
|
993
|
+
}, n.debug(`Detector with key ${e} added${r ? " with loader" : ""}`);
|
|
994
|
+
}, "addDetector"), ot = /* @__PURE__ */ r((e) => nt[e].loader, "getDiagramLoader"), st = /* @__PURE__ */ r((e, t, { depth: n = 2, clobber: r = !1 } = {}) => {
|
|
995
|
+
let i = {
|
|
996
|
+
depth: n,
|
|
997
|
+
clobber: r
|
|
998
|
+
};
|
|
999
|
+
return Array.isArray(t) && !Array.isArray(e) ? (t.forEach((t) => st(e, t, i)), e) : Array.isArray(t) && Array.isArray(e) ? (t.forEach((t) => {
|
|
1000
|
+
e.includes(t) || e.push(t);
|
|
1001
|
+
}), e) : e === void 0 || n <= 0 ? typeof e == "object" && e && typeof t == "object" ? Object.assign(e, t) : t : (t !== void 0 && typeof e == "object" && typeof t == "object" && Object.keys(t).forEach((i) => {
|
|
1002
|
+
typeof t[i] == "object" && t[i] !== null && (e[i] === void 0 || typeof e[i] == "object") ? (e[i] === void 0 && (e[i] = Array.isArray(t[i]) ? [] : {}), e[i] = st(e[i], t[i], {
|
|
1003
|
+
depth: n - 1,
|
|
1004
|
+
clobber: r
|
|
1005
|
+
})) : (r || typeof e[i] != "object" && typeof t[i] != "object") && (e[i] = t[i]);
|
|
1006
|
+
}), e);
|
|
1007
|
+
}, "assignWithDepth"), K = st, q = "#ffffff", J = "#f2f2f2", Y = /* @__PURE__ */ r((e, t) => t ? w(e, {
|
|
1008
|
+
s: -40,
|
|
1009
|
+
l: 10
|
|
1010
|
+
}) : w(e, {
|
|
1011
|
+
s: -40,
|
|
1012
|
+
l: -10
|
|
1013
|
+
}), "mkBorder"), ct = (He = class {
|
|
1014
|
+
constructor() {
|
|
1015
|
+
this.background = "#f4f4f4", this.primaryColor = "#fff4dd", this.noteBkgColor = "#fff5ad", this.noteTextColor = "#333", this.THEME_COLOR_LIMIT = 12, this.radius = 5, this.strokeWidth = 1, this.fontFamily = "\"trebuchet ms\", verdana, arial, sans-serif", this.fontSize = "16px", this.useGradient = !0, this.dropShadow = "drop-shadow( 1px 2px 2px rgba(185,185,185,1))";
|
|
1016
|
+
}
|
|
1017
|
+
updateColors() {
|
|
1018
|
+
var e, t, n, r, i, a, o, s, c, l, u, d, f, p, m, h, g, _, v, y, x, T, D, O, k, A, j, M, N, P, F, I;
|
|
1019
|
+
if (this.primaryTextColor = this.primaryTextColor || (this.darkMode ? "#eee" : "#333"), this.secondaryColor = this.secondaryColor || w(this.primaryColor, { h: -120 }), this.tertiaryColor = this.tertiaryColor || w(this.primaryColor, {
|
|
1020
|
+
h: 180,
|
|
1021
|
+
l: 5
|
|
1022
|
+
}), this.primaryBorderColor = this.primaryBorderColor || Y(this.primaryColor, this.darkMode), this.secondaryBorderColor = this.secondaryBorderColor || Y(this.secondaryColor, this.darkMode), this.tertiaryBorderColor = this.tertiaryBorderColor || Y(this.tertiaryColor, this.darkMode), this.noteBorderColor = this.noteBorderColor || Y(this.noteBkgColor, this.darkMode), this.noteBkgColor = this.noteBkgColor || "#fff5ad", this.noteTextColor = this.noteTextColor || "#333", this.secondaryTextColor = this.secondaryTextColor || E(this.secondaryColor), this.tertiaryTextColor = this.tertiaryTextColor || E(this.tertiaryColor), this.lineColor = this.lineColor || E(this.background), this.arrowheadColor = this.arrowheadColor || E(this.background), this.textColor = this.textColor || this.primaryTextColor, this.border2 = this.border2 || this.tertiaryBorderColor, this.nodeBkg = this.nodeBkg || this.primaryColor, this.mainBkg = this.mainBkg || this.primaryColor, this.nodeBorder = this.nodeBorder || this.primaryBorderColor, this.clusterBkg = this.clusterBkg || this.tertiaryColor, this.clusterBorder = this.clusterBorder || this.tertiaryBorderColor, this.defaultLinkColor = this.defaultLinkColor || this.lineColor, this.titleColor = this.titleColor || this.tertiaryTextColor, this.edgeLabelBackground = this.edgeLabelBackground || (this.darkMode ? C(this.secondaryColor, 30) : this.secondaryColor), this.nodeTextColor = this.nodeTextColor || this.primaryTextColor, this.actorBorder = this.actorBorder || this.primaryBorderColor, this.actorBkg = this.actorBkg || this.mainBkg, this.actorTextColor = this.actorTextColor || this.primaryTextColor, this.actorLineColor = this.actorLineColor || this.actorBorder, this.labelBoxBkgColor = this.labelBoxBkgColor || this.actorBkg, this.signalColor = this.signalColor || this.textColor, this.signalTextColor = this.signalTextColor || this.textColor, this.labelBoxBorderColor = this.labelBoxBorderColor || this.actorBorder, this.labelTextColor = this.labelTextColor || this.actorTextColor, this.loopTextColor = this.loopTextColor || this.actorTextColor, this.activationBorderColor = this.activationBorderColor || C(this.secondaryColor, 10), this.activationBkgColor = this.activationBkgColor || this.secondaryColor, this.sequenceNumberColor = this.sequenceNumberColor || E(this.lineColor), this.sectionBkgColor = this.sectionBkgColor || this.tertiaryColor, this.altSectionBkgColor = this.altSectionBkgColor || "white", this.sectionBkgColor = this.sectionBkgColor || this.secondaryColor, this.sectionBkgColor2 = this.sectionBkgColor2 || this.primaryColor, this.excludeBkgColor = this.excludeBkgColor || "#eeeeee", this.taskBorderColor = this.taskBorderColor || this.primaryBorderColor, this.taskBkgColor = this.taskBkgColor || this.primaryColor, this.activeTaskBorderColor = this.activeTaskBorderColor || this.primaryColor, this.activeTaskBkgColor = this.activeTaskBkgColor || S(this.primaryColor, 23), this.gridColor = this.gridColor || "lightgrey", this.doneTaskBkgColor = this.doneTaskBkgColor || "lightgrey", this.doneTaskBorderColor = this.doneTaskBorderColor || "grey", this.critBorderColor = this.critBorderColor || "#ff8888", this.critBkgColor = this.critBkgColor || "red", this.todayLineColor = this.todayLineColor || "red", this.vertLineColor = this.vertLineColor || "navy", this.taskTextColor = this.taskTextColor || this.textColor, this.taskTextOutsideColor = this.taskTextOutsideColor || this.textColor, this.taskTextLightColor = this.taskTextLightColor || this.textColor, this.taskTextColor = this.taskTextColor || this.primaryTextColor, this.taskTextDarkColor = this.taskTextDarkColor || this.textColor, this.taskTextClickableColor = this.taskTextClickableColor || "#003163", this.noteFontWeight = this.noteFontWeight || "normal", this.fontWeight = this.fontWeight || "normal", this.personBorder = this.personBorder || this.primaryBorderColor, this.personBkg = this.personBkg || this.mainBkg, this.darkMode ? (this.rowOdd = this.rowOdd || C(this.mainBkg, 5) || "#ffffff", this.rowEven = this.rowEven || C(this.mainBkg, 10)) : (this.rowOdd = this.rowOdd || S(this.mainBkg, 75) || "#ffffff", this.rowEven = this.rowEven || S(this.mainBkg, 5)), this.transitionColor = this.transitionColor || this.lineColor, this.transitionLabelColor = this.transitionLabelColor || this.textColor, this.stateLabelColor = this.stateLabelColor || this.stateBkg || this.primaryTextColor, this.stateBkg = this.stateBkg || this.mainBkg, this.labelBackgroundColor = this.labelBackgroundColor || this.stateBkg, this.compositeBackground = this.compositeBackground || this.background || this.tertiaryColor, this.altBackground = this.altBackground || this.tertiaryColor, this.compositeTitleBackground = this.compositeTitleBackground || this.mainBkg, this.compositeBorder = this.compositeBorder || this.nodeBorder, this.innerEndBackground = this.nodeBorder, this.errorBkgColor = this.errorBkgColor || this.tertiaryColor, this.errorTextColor = this.errorTextColor || this.tertiaryTextColor, this.transitionColor = this.transitionColor || this.lineColor, this.specialStateColor = this.lineColor, this.cScale0 = this.cScale0 || this.primaryColor, this.cScale1 = this.cScale1 || this.secondaryColor, this.cScale2 = this.cScale2 || this.tertiaryColor, this.cScale3 = this.cScale3 || w(this.primaryColor, { h: 30 }), this.cScale4 = this.cScale4 || w(this.primaryColor, { h: 60 }), this.cScale5 = this.cScale5 || w(this.primaryColor, { h: 90 }), this.cScale6 = this.cScale6 || w(this.primaryColor, { h: 120 }), this.cScale7 = this.cScale7 || w(this.primaryColor, { h: 150 }), this.cScale8 = this.cScale8 || w(this.primaryColor, {
|
|
1023
|
+
h: 210,
|
|
1024
|
+
l: 150
|
|
1025
|
+
}), this.cScale9 = this.cScale9 || w(this.primaryColor, { h: 270 }), this.cScale10 = this.cScale10 || w(this.primaryColor, { h: 300 }), this.cScale11 = this.cScale11 || w(this.primaryColor, { h: 330 }), this.darkMode) for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this["cScale" + e] = C(this["cScale" + e], 75);
|
|
1026
|
+
else for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this["cScale" + e] = C(this["cScale" + e], 25);
|
|
1027
|
+
for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this["cScaleInv" + e] = this["cScaleInv" + e] || E(this["cScale" + e]);
|
|
1028
|
+
for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this.darkMode ? this["cScalePeer" + e] = this["cScalePeer" + e] || S(this["cScale" + e], 10) : this["cScalePeer" + e] = this["cScalePeer" + e] || C(this["cScale" + e], 10);
|
|
1029
|
+
this.scaleLabelColor = this.scaleLabelColor || this.labelTextColor;
|
|
1030
|
+
for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this["cScaleLabel" + e] = this["cScaleLabel" + e] || this.scaleLabelColor;
|
|
1031
|
+
let ee = this.darkMode ? -4 : -1;
|
|
1032
|
+
for (let e = 0; e < 5; e++) this["surface" + e] = this["surface" + e] || w(this.mainBkg, {
|
|
1033
|
+
h: 180,
|
|
1034
|
+
s: -15,
|
|
1035
|
+
l: ee * (5 + e * 3)
|
|
1036
|
+
}), this["surfacePeer" + e] = this["surfacePeer" + e] || w(this.mainBkg, {
|
|
1037
|
+
h: 180,
|
|
1038
|
+
s: -15,
|
|
1039
|
+
l: ee * (8 + e * 3)
|
|
1040
|
+
});
|
|
1041
|
+
this.classText = this.classText || this.textColor, this.fillType0 = this.fillType0 || this.primaryColor, this.fillType1 = this.fillType1 || this.secondaryColor, this.fillType2 = this.fillType2 || w(this.primaryColor, { h: 64 }), this.fillType3 = this.fillType3 || w(this.secondaryColor, { h: 64 }), this.fillType4 = this.fillType4 || w(this.primaryColor, { h: -64 }), this.fillType5 = this.fillType5 || w(this.secondaryColor, { h: -64 }), this.fillType6 = this.fillType6 || w(this.primaryColor, { h: 128 }), this.fillType7 = this.fillType7 || w(this.secondaryColor, { h: 128 }), this.pie1 = this.pie1 || this.primaryColor, this.pie2 = this.pie2 || this.secondaryColor, this.pie3 = this.pie3 || this.tertiaryColor, this.pie4 = this.pie4 || w(this.primaryColor, { l: -10 }), this.pie5 = this.pie5 || w(this.secondaryColor, { l: -10 }), this.pie6 = this.pie6 || w(this.tertiaryColor, { l: -10 }), this.pie7 = this.pie7 || w(this.primaryColor, {
|
|
1042
|
+
h: 60,
|
|
1043
|
+
l: -10
|
|
1044
|
+
}), this.pie8 = this.pie8 || w(this.primaryColor, {
|
|
1045
|
+
h: -60,
|
|
1046
|
+
l: -10
|
|
1047
|
+
}), this.pie9 = this.pie9 || w(this.primaryColor, {
|
|
1048
|
+
h: 120,
|
|
1049
|
+
l: 0
|
|
1050
|
+
}), this.pie10 = this.pie10 || w(this.primaryColor, {
|
|
1051
|
+
h: 60,
|
|
1052
|
+
l: -20
|
|
1053
|
+
}), this.pie11 = this.pie11 || w(this.primaryColor, {
|
|
1054
|
+
h: -60,
|
|
1055
|
+
l: -20
|
|
1056
|
+
}), this.pie12 = this.pie12 || w(this.primaryColor, {
|
|
1057
|
+
h: 120,
|
|
1058
|
+
l: -10
|
|
1059
|
+
}), this.pieTitleTextSize = this.pieTitleTextSize || "25px", this.pieTitleTextColor = this.pieTitleTextColor || this.taskTextDarkColor, this.pieSectionTextSize = this.pieSectionTextSize || "17px", this.pieSectionTextColor = this.pieSectionTextColor || this.textColor, this.pieLegendTextSize = this.pieLegendTextSize || "17px", this.pieLegendTextColor = this.pieLegendTextColor || this.taskTextDarkColor, this.pieStrokeColor = this.pieStrokeColor || "black", this.pieStrokeWidth = this.pieStrokeWidth || "2px", this.pieOuterStrokeWidth = this.pieOuterStrokeWidth || "2px", this.pieOuterStrokeColor = this.pieOuterStrokeColor || "black", this.pieOpacity = this.pieOpacity || "0.7", this.venn1 = (e = this.venn1) == null ? w(this.primaryColor, { l: -30 }) : e, this.venn2 = (t = this.venn2) == null ? w(this.secondaryColor, { l: -30 }) : t, this.venn3 = (n = this.venn3) == null ? w(this.tertiaryColor, { l: -30 }) : n, this.venn4 = (r = this.venn4) == null ? w(this.primaryColor, {
|
|
1060
|
+
h: 60,
|
|
1061
|
+
l: -30
|
|
1062
|
+
}) : r, this.venn5 = (i = this.venn5) == null ? w(this.primaryColor, {
|
|
1063
|
+
h: -60,
|
|
1064
|
+
l: -30
|
|
1065
|
+
}) : i, this.venn6 = (a = this.venn6) == null ? w(this.secondaryColor, {
|
|
1066
|
+
h: 60,
|
|
1067
|
+
l: -30
|
|
1068
|
+
}) : a, this.venn7 = (o = this.venn7) == null ? w(this.primaryColor, {
|
|
1069
|
+
h: 120,
|
|
1070
|
+
l: -30
|
|
1071
|
+
}) : o, this.venn8 = (s = this.venn8) == null ? w(this.secondaryColor, {
|
|
1072
|
+
h: 120,
|
|
1073
|
+
l: -30
|
|
1074
|
+
}) : s, this.vennTitleTextColor = (c = this.vennTitleTextColor) == null ? this.titleColor : c, this.vennSetTextColor = (l = this.vennSetTextColor) == null ? this.textColor : l, this.radar = {
|
|
1075
|
+
axisColor: ((u = this.radar) == null ? void 0 : u.axisColor) || this.lineColor,
|
|
1076
|
+
axisStrokeWidth: ((d = this.radar) == null ? void 0 : d.axisStrokeWidth) || 2,
|
|
1077
|
+
axisLabelFontSize: ((f = this.radar) == null ? void 0 : f.axisLabelFontSize) || 12,
|
|
1078
|
+
curveOpacity: ((p = this.radar) == null ? void 0 : p.curveOpacity) || .5,
|
|
1079
|
+
curveStrokeWidth: ((m = this.radar) == null ? void 0 : m.curveStrokeWidth) || 2,
|
|
1080
|
+
graticuleColor: ((h = this.radar) == null ? void 0 : h.graticuleColor) || "#DEDEDE",
|
|
1081
|
+
graticuleStrokeWidth: ((g = this.radar) == null ? void 0 : g.graticuleStrokeWidth) || 1,
|
|
1082
|
+
graticuleOpacity: ((_ = this.radar) == null ? void 0 : _.graticuleOpacity) || .3,
|
|
1083
|
+
legendBoxSize: ((v = this.radar) == null ? void 0 : v.legendBoxSize) || 12,
|
|
1084
|
+
legendFontSize: ((y = this.radar) == null ? void 0 : y.legendFontSize) || 12
|
|
1085
|
+
}, this.archEdgeColor = this.archEdgeColor || "#777", this.archEdgeArrowColor = this.archEdgeArrowColor || "#777", this.archEdgeWidth = this.archEdgeWidth || "3", this.archGroupBorderColor = this.archGroupBorderColor || "#000", this.archGroupBorderWidth = this.archGroupBorderWidth || "2px", this.quadrant1Fill = this.quadrant1Fill || this.primaryColor, this.quadrant2Fill = this.quadrant2Fill || w(this.primaryColor, {
|
|
1086
|
+
r: 5,
|
|
1087
|
+
g: 5,
|
|
1088
|
+
b: 5
|
|
1089
|
+
}), this.quadrant3Fill = this.quadrant3Fill || w(this.primaryColor, {
|
|
1090
|
+
r: 10,
|
|
1091
|
+
g: 10,
|
|
1092
|
+
b: 10
|
|
1093
|
+
}), this.quadrant4Fill = this.quadrant4Fill || w(this.primaryColor, {
|
|
1094
|
+
r: 15,
|
|
1095
|
+
g: 15,
|
|
1096
|
+
b: 15
|
|
1097
|
+
}), this.quadrant1TextFill = this.quadrant1TextFill || this.primaryTextColor, this.quadrant2TextFill = this.quadrant2TextFill || w(this.primaryTextColor, {
|
|
1098
|
+
r: -5,
|
|
1099
|
+
g: -5,
|
|
1100
|
+
b: -5
|
|
1101
|
+
}), this.quadrant3TextFill = this.quadrant3TextFill || w(this.primaryTextColor, {
|
|
1102
|
+
r: -10,
|
|
1103
|
+
g: -10,
|
|
1104
|
+
b: -10
|
|
1105
|
+
}), this.quadrant4TextFill = this.quadrant4TextFill || w(this.primaryTextColor, {
|
|
1106
|
+
r: -15,
|
|
1107
|
+
g: -15,
|
|
1108
|
+
b: -15
|
|
1109
|
+
}), this.quadrantPointFill = this.quadrantPointFill || b(this.quadrant1Fill) ? S(this.quadrant1Fill) : C(this.quadrant1Fill), this.quadrantPointTextFill = this.quadrantPointTextFill || this.primaryTextColor, this.quadrantXAxisTextFill = this.quadrantXAxisTextFill || this.primaryTextColor, this.quadrantYAxisTextFill = this.quadrantYAxisTextFill || this.primaryTextColor, this.quadrantInternalBorderStrokeFill = this.quadrantInternalBorderStrokeFill || this.primaryBorderColor, this.quadrantExternalBorderStrokeFill = this.quadrantExternalBorderStrokeFill || this.primaryBorderColor, this.quadrantTitleFill = this.quadrantTitleFill || this.primaryTextColor, this.xyChart = {
|
|
1110
|
+
backgroundColor: ((x = this.xyChart) == null ? void 0 : x.backgroundColor) || this.background,
|
|
1111
|
+
titleColor: ((T = this.xyChart) == null ? void 0 : T.titleColor) || this.primaryTextColor,
|
|
1112
|
+
dataLabelColor: ((D = this.xyChart) == null ? void 0 : D.dataLabelColor) || this.primaryTextColor,
|
|
1113
|
+
xAxisTitleColor: ((O = this.xyChart) == null ? void 0 : O.xAxisTitleColor) || this.primaryTextColor,
|
|
1114
|
+
xAxisLabelColor: ((k = this.xyChart) == null ? void 0 : k.xAxisLabelColor) || this.primaryTextColor,
|
|
1115
|
+
xAxisTickColor: ((A = this.xyChart) == null ? void 0 : A.xAxisTickColor) || this.primaryTextColor,
|
|
1116
|
+
xAxisLineColor: ((j = this.xyChart) == null ? void 0 : j.xAxisLineColor) || this.primaryTextColor,
|
|
1117
|
+
yAxisTitleColor: ((M = this.xyChart) == null ? void 0 : M.yAxisTitleColor) || this.primaryTextColor,
|
|
1118
|
+
yAxisLabelColor: ((N = this.xyChart) == null ? void 0 : N.yAxisLabelColor) || this.primaryTextColor,
|
|
1119
|
+
yAxisTickColor: ((P = this.xyChart) == null ? void 0 : P.yAxisTickColor) || this.primaryTextColor,
|
|
1120
|
+
yAxisLineColor: ((F = this.xyChart) == null ? void 0 : F.yAxisLineColor) || this.primaryTextColor,
|
|
1121
|
+
plotColorPalette: ((I = this.xyChart) == null ? void 0 : I.plotColorPalette) || "#FFF4DD,#FFD8B1,#FFA07A,#ECEFF1,#D6DBDF,#C3E0A8,#FFB6A4,#FFD74D,#738FA7,#FFFFF0"
|
|
1122
|
+
}, this.requirementBackground = this.requirementBackground || this.primaryColor, this.requirementBorderColor = this.requirementBorderColor || this.primaryBorderColor, this.requirementBorderSize = this.requirementBorderSize || "1", this.requirementTextColor = this.requirementTextColor || this.primaryTextColor, this.relationColor = this.relationColor || this.lineColor, this.relationLabelBackground = this.relationLabelBackground || (this.darkMode ? C(this.secondaryColor, 30) : this.secondaryColor), this.relationLabelColor = this.relationLabelColor || this.actorTextColor, this.git0 = this.git0 || this.primaryColor, this.git1 = this.git1 || this.secondaryColor, this.git2 = this.git2 || this.tertiaryColor, this.git3 = this.git3 || w(this.primaryColor, { h: -30 }), this.git4 = this.git4 || w(this.primaryColor, { h: -60 }), this.git5 = this.git5 || w(this.primaryColor, { h: -90 }), this.git6 = this.git6 || w(this.primaryColor, { h: 60 }), this.git7 = this.git7 || w(this.primaryColor, { h: 120 }), this.darkMode ? (this.git0 = S(this.git0, 25), this.git1 = S(this.git1, 25), this.git2 = S(this.git2, 25), this.git3 = S(this.git3, 25), this.git4 = S(this.git4, 25), this.git5 = S(this.git5, 25), this.git6 = S(this.git6, 25), this.git7 = S(this.git7, 25)) : (this.git0 = C(this.git0, 25), this.git1 = C(this.git1, 25), this.git2 = C(this.git2, 25), this.git3 = C(this.git3, 25), this.git4 = C(this.git4, 25), this.git5 = C(this.git5, 25), this.git6 = C(this.git6, 25), this.git7 = C(this.git7, 25)), this.gitInv0 = this.gitInv0 || E(this.git0), this.gitInv1 = this.gitInv1 || E(this.git1), this.gitInv2 = this.gitInv2 || E(this.git2), this.gitInv3 = this.gitInv3 || E(this.git3), this.gitInv4 = this.gitInv4 || E(this.git4), this.gitInv5 = this.gitInv5 || E(this.git5), this.gitInv6 = this.gitInv6 || E(this.git6), this.gitInv7 = this.gitInv7 || E(this.git7), this.branchLabelColor = this.branchLabelColor || (this.darkMode ? "black" : this.labelTextColor), this.gitBranchLabel0 = this.gitBranchLabel0 || this.branchLabelColor, this.gitBranchLabel1 = this.gitBranchLabel1 || this.branchLabelColor, this.gitBranchLabel2 = this.gitBranchLabel2 || this.branchLabelColor, this.gitBranchLabel3 = this.gitBranchLabel3 || this.branchLabelColor, this.gitBranchLabel4 = this.gitBranchLabel4 || this.branchLabelColor, this.gitBranchLabel5 = this.gitBranchLabel5 || this.branchLabelColor, this.gitBranchLabel6 = this.gitBranchLabel6 || this.branchLabelColor, this.gitBranchLabel7 = this.gitBranchLabel7 || this.branchLabelColor, this.tagLabelColor = this.tagLabelColor || this.primaryTextColor, this.tagLabelBackground = this.tagLabelBackground || this.primaryColor, this.tagLabelBorder = this.tagBorder || this.primaryBorderColor, this.tagLabelFontSize = this.tagLabelFontSize || "10px", this.commitLabelColor = this.commitLabelColor || this.secondaryTextColor, this.commitLabelBackground = this.commitLabelBackground || this.secondaryColor, this.commitLabelFontSize = this.commitLabelFontSize || "10px", this.attributeBackgroundColorOdd = this.attributeBackgroundColorOdd || q, this.attributeBackgroundColorEven = this.attributeBackgroundColorEven || J, this.gradientStart = this.primaryBorderColor, this.gradientStop = this.secondaryBorderColor;
|
|
1123
|
+
}
|
|
1124
|
+
calculate(e) {
|
|
1125
|
+
if (typeof e != "object") {
|
|
1126
|
+
this.updateColors();
|
|
1127
|
+
return;
|
|
1128
|
+
}
|
|
1129
|
+
let t = Object.keys(e);
|
|
1130
|
+
t.forEach((t) => {
|
|
1131
|
+
this[t] = e[t];
|
|
1132
|
+
}), this.updateColors(), t.forEach((t) => {
|
|
1133
|
+
this[t] = e[t];
|
|
1134
|
+
});
|
|
1135
|
+
}
|
|
1136
|
+
}, r(He, "Theme"), He), lt = /* @__PURE__ */ r((e) => {
|
|
1137
|
+
let t = new ct();
|
|
1138
|
+
return t.calculate(e), t;
|
|
1139
|
+
}, "getThemeVariables"), ut = (Ue = class {
|
|
1140
|
+
constructor() {
|
|
1141
|
+
this.background = "#333", this.primaryColor = "#1f2020", this.secondaryColor = S(this.primaryColor, 16), this.tertiaryColor = w(this.primaryColor, { h: -160 }), this.primaryBorderColor = E(this.background), this.secondaryBorderColor = Y(this.secondaryColor, this.darkMode), this.tertiaryBorderColor = Y(this.tertiaryColor, this.darkMode), this.primaryTextColor = E(this.primaryColor), this.secondaryTextColor = E(this.secondaryColor), this.tertiaryTextColor = E(this.tertiaryColor), this.lineColor = E(this.background), this.textColor = E(this.background), this.mainBkg = "#1f2020", this.secondBkg = "calculated", this.mainContrastColor = "lightgrey", this.darkTextColor = S(E("#323D47"), 10), this.lineColor = "calculated", this.border1 = "#ccc", this.border2 = _(255, 255, 255, .25), this.arrowheadColor = "calculated", this.fontFamily = "\"trebuchet ms\", verdana, arial, sans-serif", this.fontSize = "16px", this.labelBackground = "#181818", this.textColor = "#ccc", this.THEME_COLOR_LIMIT = 12, this.radius = 5, this.strokeWidth = 1, this.nodeBkg = "calculated", this.nodeBorder = "calculated", this.clusterBkg = "calculated", this.clusterBorder = "calculated", this.defaultLinkColor = "calculated", this.titleColor = "#F9FFFE", this.edgeLabelBackground = "calculated", this.actorBorder = "calculated", this.actorBkg = "calculated", this.actorTextColor = "calculated", this.actorLineColor = "calculated", this.signalColor = "calculated", this.signalTextColor = "calculated", this.labelBoxBkgColor = "calculated", this.labelBoxBorderColor = "calculated", this.labelTextColor = "calculated", this.loopTextColor = "calculated", this.noteBorderColor = "calculated", this.noteBkgColor = "#fff5ad", this.noteTextColor = "calculated", this.activationBorderColor = "calculated", this.activationBkgColor = "calculated", this.sequenceNumberColor = "black", this.clusterBkg = "#302F3D", this.sectionBkgColor = C("#EAE8D9", 30), this.altSectionBkgColor = "calculated", this.sectionBkgColor2 = "#EAE8D9", this.excludeBkgColor = C(this.sectionBkgColor, 10), this.taskBorderColor = _(255, 255, 255, 70), this.taskBkgColor = "calculated", this.taskTextColor = "calculated", this.taskTextLightColor = "calculated", this.taskTextOutsideColor = "calculated", this.taskTextClickableColor = "#003163", this.activeTaskBorderColor = _(255, 255, 255, 50), this.activeTaskBkgColor = "#81B1DB", this.gridColor = "calculated", this.doneTaskBkgColor = "calculated", this.doneTaskBorderColor = "grey", this.critBorderColor = "#E83737", this.critBkgColor = "#E83737", this.taskTextDarkColor = "calculated", this.todayLineColor = "#DB5757", this.vertLineColor = "#00BFFF", this.personBorder = this.primaryBorderColor, this.personBkg = this.mainBkg, this.archEdgeColor = "calculated", this.archEdgeArrowColor = "calculated", this.archEdgeWidth = "3", this.archGroupBorderColor = this.primaryBorderColor, this.archGroupBorderWidth = "2px", this.rowOdd = this.rowOdd || S(this.mainBkg, 5) || "#ffffff", this.rowEven = this.rowEven || C(this.mainBkg, 10), this.labelColor = "calculated", this.errorBkgColor = "#a44141", this.errorTextColor = "#ddd", this.useGradient = !0, this.gradientStart = this.primaryBorderColor, this.gradientStop = this.secondaryBorderColor, this.dropShadow = "drop-shadow( 1px 2px 2px rgba(185,185,185,1))", this.noteFontWeight = this.noteFontWeight || "normal", this.fontWeight = this.fontWeight || "normal";
|
|
1142
|
+
}
|
|
1143
|
+
updateColors() {
|
|
1144
|
+
var e, t, n, r, i, a, o, s, c, l, u, d, f, p, m, h, g, _, v, y, x, T, D, O;
|
|
1145
|
+
this.secondBkg = S(this.mainBkg, 16), this.lineColor = this.mainContrastColor, this.arrowheadColor = this.mainContrastColor, this.nodeBkg = this.mainBkg, this.nodeBorder = this.border1, this.clusterBkg = this.secondBkg, this.clusterBorder = this.border2, this.defaultLinkColor = this.lineColor, this.edgeLabelBackground = S(this.labelBackground, 25), this.actorBorder = this.border1, this.actorBkg = this.mainBkg, this.actorTextColor = this.mainContrastColor, this.actorLineColor = this.actorBorder, this.signalColor = this.mainContrastColor, this.signalTextColor = this.mainContrastColor, this.labelBoxBkgColor = this.actorBkg, this.labelBoxBorderColor = this.actorBorder, this.labelTextColor = this.mainContrastColor, this.loopTextColor = this.mainContrastColor, this.noteBorderColor = this.secondaryBorderColor, this.noteBkgColor = this.secondBkg, this.noteTextColor = this.secondaryTextColor, this.activationBorderColor = this.border1, this.activationBkgColor = this.secondBkg, this.altSectionBkgColor = this.background, this.taskBkgColor = S(this.mainBkg, 23), this.taskTextColor = this.darkTextColor, this.taskTextLightColor = this.mainContrastColor, this.taskTextOutsideColor = this.taskTextLightColor, this.gridColor = this.mainContrastColor, this.doneTaskBkgColor = this.mainContrastColor, this.taskTextDarkColor = E(this.doneTaskBkgColor), this.archEdgeColor = this.lineColor, this.archEdgeArrowColor = this.lineColor, this.transitionColor = this.transitionColor || this.lineColor, this.transitionLabelColor = this.transitionLabelColor || this.textColor, this.stateLabelColor = this.stateLabelColor || this.stateBkg || this.primaryTextColor, this.stateBkg = this.stateBkg || this.mainBkg, this.labelBackgroundColor = this.labelBackgroundColor || this.stateBkg, this.compositeBackground = this.compositeBackground || this.background || this.tertiaryColor, this.altBackground = this.altBackground || "#555", this.compositeTitleBackground = this.compositeTitleBackground || this.mainBkg, this.compositeBorder = this.compositeBorder || this.nodeBorder, this.innerEndBackground = this.primaryBorderColor, this.specialStateColor = "#f4f4f4", this.errorBkgColor = this.errorBkgColor || this.tertiaryColor, this.errorTextColor = this.errorTextColor || this.tertiaryTextColor, this.fillType0 = this.primaryColor, this.fillType1 = this.secondaryColor, this.fillType2 = w(this.primaryColor, { h: 64 }), this.fillType3 = w(this.secondaryColor, { h: 64 }), this.fillType4 = w(this.primaryColor, { h: -64 }), this.fillType5 = w(this.secondaryColor, { h: -64 }), this.fillType6 = w(this.primaryColor, { h: 128 }), this.fillType7 = w(this.secondaryColor, { h: 128 }), this.cScale1 = this.cScale1 || "#0b0000", this.cScale2 = this.cScale2 || "#4d1037", this.cScale3 = this.cScale3 || "#3f5258", this.cScale4 = this.cScale4 || "#4f2f1b", this.cScale5 = this.cScale5 || "#6e0a0a", this.cScale6 = this.cScale6 || "#3b0048", this.cScale7 = this.cScale7 || "#995a01", this.cScale8 = this.cScale8 || "#154706", this.cScale9 = this.cScale9 || "#161722", this.cScale10 = this.cScale10 || "#00296f", this.cScale11 = this.cScale11 || "#01629c", this.cScale12 = this.cScale12 || "#010029", this.cScale0 = this.cScale0 || this.primaryColor, this.cScale1 = this.cScale1 || this.secondaryColor, this.cScale2 = this.cScale2 || this.tertiaryColor, this.cScale3 = this.cScale3 || w(this.primaryColor, { h: 30 }), this.cScale4 = this.cScale4 || w(this.primaryColor, { h: 60 }), this.cScale5 = this.cScale5 || w(this.primaryColor, { h: 90 }), this.cScale6 = this.cScale6 || w(this.primaryColor, { h: 120 }), this.cScale7 = this.cScale7 || w(this.primaryColor, { h: 150 }), this.cScale8 = this.cScale8 || w(this.primaryColor, { h: 210 }), this.cScale9 = this.cScale9 || w(this.primaryColor, { h: 270 }), this.cScale10 = this.cScale10 || w(this.primaryColor, { h: 300 }), this.cScale11 = this.cScale11 || w(this.primaryColor, { h: 330 });
|
|
1146
|
+
for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this["cScaleInv" + e] = this["cScaleInv" + e] || E(this["cScale" + e]);
|
|
1147
|
+
for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this["cScalePeer" + e] = this["cScalePeer" + e] || S(this["cScale" + e], 10);
|
|
1148
|
+
for (let e = 0; e < 5; e++) this["surface" + e] = this["surface" + e] || w(this.mainBkg, {
|
|
1149
|
+
h: 30,
|
|
1150
|
+
s: -30,
|
|
1151
|
+
l: -(-10 + e * 4)
|
|
1152
|
+
}), this["surfacePeer" + e] = this["surfacePeer" + e] || w(this.mainBkg, {
|
|
1153
|
+
h: 30,
|
|
1154
|
+
s: -30,
|
|
1155
|
+
l: -(-7 + e * 4)
|
|
1156
|
+
});
|
|
1157
|
+
this.scaleLabelColor = this.scaleLabelColor || (this.darkMode ? "black" : this.labelTextColor);
|
|
1158
|
+
for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this["cScaleLabel" + e] = this["cScaleLabel" + e] || this.scaleLabelColor;
|
|
1159
|
+
for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this["pie" + e] = this["cScale" + e];
|
|
1160
|
+
this.pieTitleTextSize = this.pieTitleTextSize || "25px", this.pieTitleTextColor = this.pieTitleTextColor || this.mainContrastColor, this.pieSectionTextSize = this.pieSectionTextSize || "17px", this.pieSectionTextColor = this.pieSectionTextColor || this.textColor, this.pieLegendTextSize = this.pieLegendTextSize || "17px", this.pieLegendTextColor = this.pieLegendTextColor || this.mainContrastColor, this.pieStrokeColor = this.pieStrokeColor || "black", this.pieStrokeWidth = this.pieStrokeWidth || "2px", this.pieOuterStrokeWidth = this.pieOuterStrokeWidth || "2px", this.pieOuterStrokeColor = this.pieOuterStrokeColor || "black", this.pieOpacity = this.pieOpacity || "0.7";
|
|
1161
|
+
for (let e = 0; e < 8; e++) {
|
|
1162
|
+
var k;
|
|
1163
|
+
this["venn" + (e + 1)] = (k = this["venn" + (e + 1)]) == null ? S(this["cScale" + e], 30) : k;
|
|
1164
|
+
}
|
|
1165
|
+
this.vennTitleTextColor = (e = this.vennTitleTextColor) == null ? this.titleColor : e, this.vennSetTextColor = (t = this.vennSetTextColor) == null ? this.textColor : t, this.quadrant1Fill = this.quadrant1Fill || this.primaryColor, this.quadrant2Fill = this.quadrant2Fill || w(this.primaryColor, {
|
|
1166
|
+
r: 5,
|
|
1167
|
+
g: 5,
|
|
1168
|
+
b: 5
|
|
1169
|
+
}), this.quadrant3Fill = this.quadrant3Fill || w(this.primaryColor, {
|
|
1170
|
+
r: 10,
|
|
1171
|
+
g: 10,
|
|
1172
|
+
b: 10
|
|
1173
|
+
}), this.quadrant4Fill = this.quadrant4Fill || w(this.primaryColor, {
|
|
1174
|
+
r: 15,
|
|
1175
|
+
g: 15,
|
|
1176
|
+
b: 15
|
|
1177
|
+
}), this.quadrant1TextFill = this.quadrant1TextFill || this.primaryTextColor, this.quadrant2TextFill = this.quadrant2TextFill || w(this.primaryTextColor, {
|
|
1178
|
+
r: -5,
|
|
1179
|
+
g: -5,
|
|
1180
|
+
b: -5
|
|
1181
|
+
}), this.quadrant3TextFill = this.quadrant3TextFill || w(this.primaryTextColor, {
|
|
1182
|
+
r: -10,
|
|
1183
|
+
g: -10,
|
|
1184
|
+
b: -10
|
|
1185
|
+
}), this.quadrant4TextFill = this.quadrant4TextFill || w(this.primaryTextColor, {
|
|
1186
|
+
r: -15,
|
|
1187
|
+
g: -15,
|
|
1188
|
+
b: -15
|
|
1189
|
+
}), this.quadrantPointFill = this.quadrantPointFill || b(this.quadrant1Fill) ? S(this.quadrant1Fill) : C(this.quadrant1Fill), this.quadrantPointTextFill = this.quadrantPointTextFill || this.primaryTextColor, this.quadrantXAxisTextFill = this.quadrantXAxisTextFill || this.primaryTextColor, this.quadrantYAxisTextFill = this.quadrantYAxisTextFill || this.primaryTextColor, this.quadrantInternalBorderStrokeFill = this.quadrantInternalBorderStrokeFill || this.primaryBorderColor, this.quadrantExternalBorderStrokeFill = this.quadrantExternalBorderStrokeFill || this.primaryBorderColor, this.quadrantTitleFill = this.quadrantTitleFill || this.primaryTextColor, this.xyChart = {
|
|
1190
|
+
backgroundColor: ((n = this.xyChart) == null ? void 0 : n.backgroundColor) || this.background,
|
|
1191
|
+
titleColor: ((r = this.xyChart) == null ? void 0 : r.titleColor) || this.primaryTextColor,
|
|
1192
|
+
dataLabelColor: ((i = this.xyChart) == null ? void 0 : i.dataLabelColor) || this.primaryTextColor,
|
|
1193
|
+
xAxisTitleColor: ((a = this.xyChart) == null ? void 0 : a.xAxisTitleColor) || this.primaryTextColor,
|
|
1194
|
+
xAxisLabelColor: ((o = this.xyChart) == null ? void 0 : o.xAxisLabelColor) || this.primaryTextColor,
|
|
1195
|
+
xAxisTickColor: ((s = this.xyChart) == null ? void 0 : s.xAxisTickColor) || this.primaryTextColor,
|
|
1196
|
+
xAxisLineColor: ((c = this.xyChart) == null ? void 0 : c.xAxisLineColor) || this.primaryTextColor,
|
|
1197
|
+
yAxisTitleColor: ((l = this.xyChart) == null ? void 0 : l.yAxisTitleColor) || this.primaryTextColor,
|
|
1198
|
+
yAxisLabelColor: ((u = this.xyChart) == null ? void 0 : u.yAxisLabelColor) || this.primaryTextColor,
|
|
1199
|
+
yAxisTickColor: ((d = this.xyChart) == null ? void 0 : d.yAxisTickColor) || this.primaryTextColor,
|
|
1200
|
+
yAxisLineColor: ((f = this.xyChart) == null ? void 0 : f.yAxisLineColor) || this.primaryTextColor,
|
|
1201
|
+
plotColorPalette: ((p = this.xyChart) == null ? void 0 : p.plotColorPalette) || "#3498db,#2ecc71,#e74c3c,#f1c40f,#bdc3c7,#ffffff,#34495e,#9b59b6,#1abc9c,#e67e22"
|
|
1202
|
+
}, this.packet = {
|
|
1203
|
+
startByteColor: this.primaryTextColor,
|
|
1204
|
+
endByteColor: this.primaryTextColor,
|
|
1205
|
+
labelColor: this.primaryTextColor,
|
|
1206
|
+
titleColor: this.primaryTextColor,
|
|
1207
|
+
blockStrokeColor: this.primaryTextColor,
|
|
1208
|
+
blockFillColor: this.background
|
|
1209
|
+
}, this.radar = {
|
|
1210
|
+
axisColor: ((m = this.radar) == null ? void 0 : m.axisColor) || this.lineColor,
|
|
1211
|
+
axisStrokeWidth: ((h = this.radar) == null ? void 0 : h.axisStrokeWidth) || 2,
|
|
1212
|
+
axisLabelFontSize: ((g = this.radar) == null ? void 0 : g.axisLabelFontSize) || 12,
|
|
1213
|
+
curveOpacity: ((_ = this.radar) == null ? void 0 : _.curveOpacity) || .5,
|
|
1214
|
+
curveStrokeWidth: ((v = this.radar) == null ? void 0 : v.curveStrokeWidth) || 2,
|
|
1215
|
+
graticuleColor: ((y = this.radar) == null ? void 0 : y.graticuleColor) || "#DEDEDE",
|
|
1216
|
+
graticuleStrokeWidth: ((x = this.radar) == null ? void 0 : x.graticuleStrokeWidth) || 1,
|
|
1217
|
+
graticuleOpacity: ((T = this.radar) == null ? void 0 : T.graticuleOpacity) || .3,
|
|
1218
|
+
legendBoxSize: ((D = this.radar) == null ? void 0 : D.legendBoxSize) || 12,
|
|
1219
|
+
legendFontSize: ((O = this.radar) == null ? void 0 : O.legendFontSize) || 12
|
|
1220
|
+
}, this.classText = this.primaryTextColor, this.requirementBackground = this.requirementBackground || this.primaryColor, this.requirementBorderColor = this.requirementBorderColor || this.primaryBorderColor, this.requirementBorderSize = this.requirementBorderSize || "1", this.requirementTextColor = this.requirementTextColor || this.primaryTextColor, this.relationColor = this.relationColor || this.lineColor, this.relationLabelBackground = this.relationLabelBackground || (this.darkMode ? C(this.secondaryColor, 30) : this.secondaryColor), this.relationLabelColor = this.relationLabelColor || this.actorTextColor, this.git0 = S(this.secondaryColor, 20), this.git1 = S(this.pie2 || this.secondaryColor, 20), this.git2 = S(this.pie3 || this.tertiaryColor, 20), this.git3 = S(this.pie4 || w(this.primaryColor, { h: -30 }), 20), this.git4 = S(this.pie5 || w(this.primaryColor, { h: -60 }), 20), this.git5 = S(this.pie6 || w(this.primaryColor, { h: -90 }), 10), this.git6 = S(this.pie7 || w(this.primaryColor, { h: 60 }), 10), this.git7 = S(this.pie8 || w(this.primaryColor, { h: 120 }), 20), this.gitInv0 = this.gitInv0 || E(this.git0), this.gitInv1 = this.gitInv1 || E(this.git1), this.gitInv2 = this.gitInv2 || E(this.git2), this.gitInv3 = this.gitInv3 || E(this.git3), this.gitInv4 = this.gitInv4 || E(this.git4), this.gitInv5 = this.gitInv5 || E(this.git5), this.gitInv6 = this.gitInv6 || E(this.git6), this.gitInv7 = this.gitInv7 || E(this.git7), this.gitBranchLabel0 = this.gitBranchLabel0 || E(this.labelTextColor), this.gitBranchLabel1 = this.gitBranchLabel1 || this.labelTextColor, this.gitBranchLabel2 = this.gitBranchLabel2 || this.labelTextColor, this.gitBranchLabel3 = this.gitBranchLabel3 || E(this.labelTextColor), this.gitBranchLabel4 = this.gitBranchLabel4 || this.labelTextColor, this.gitBranchLabel5 = this.gitBranchLabel5 || this.labelTextColor, this.gitBranchLabel6 = this.gitBranchLabel6 || this.labelTextColor, this.gitBranchLabel7 = this.gitBranchLabel7 || this.labelTextColor, this.tagLabelColor = this.tagLabelColor || this.primaryTextColor, this.tagLabelBackground = this.tagLabelBackground || this.primaryColor, this.tagLabelBorder = this.tagBorder || this.primaryBorderColor, this.tagLabelFontSize = this.tagLabelFontSize || "10px", this.commitLabelColor = this.commitLabelColor || this.secondaryTextColor, this.commitLabelBackground = this.commitLabelBackground || this.secondaryColor, this.commitLabelFontSize = this.commitLabelFontSize || "10px", this.attributeBackgroundColorOdd = this.attributeBackgroundColorOdd || S(this.background, 12), this.attributeBackgroundColorEven = this.attributeBackgroundColorEven || S(this.background, 2), this.nodeBorder = this.nodeBorder || "#999";
|
|
1221
|
+
}
|
|
1222
|
+
calculate(e) {
|
|
1223
|
+
if (typeof e != "object") {
|
|
1224
|
+
this.updateColors();
|
|
1225
|
+
return;
|
|
1226
|
+
}
|
|
1227
|
+
let t = Object.keys(e);
|
|
1228
|
+
t.forEach((t) => {
|
|
1229
|
+
this[t] = e[t];
|
|
1230
|
+
}), this.updateColors(), t.forEach((t) => {
|
|
1231
|
+
this[t] = e[t];
|
|
1232
|
+
});
|
|
1233
|
+
}
|
|
1234
|
+
}, r(Ue, "Theme"), Ue), dt = /* @__PURE__ */ r((e) => {
|
|
1235
|
+
let t = new ut();
|
|
1236
|
+
return t.calculate(e), t;
|
|
1237
|
+
}, "getThemeVariables"), ft = (We = class {
|
|
1238
|
+
constructor() {
|
|
1239
|
+
this.background = "#f4f4f4", this.primaryColor = "#ECECFF", this.secondaryColor = w(this.primaryColor, { h: 120 }), this.secondaryColor = "#ffffde", this.tertiaryColor = w(this.primaryColor, { h: -160 }), this.primaryBorderColor = Y(this.primaryColor, this.darkMode), this.secondaryBorderColor = Y(this.secondaryColor, this.darkMode), this.tertiaryBorderColor = Y(this.tertiaryColor, this.darkMode), this.primaryTextColor = E(this.primaryColor), this.secondaryTextColor = E(this.secondaryColor), this.tertiaryTextColor = E(this.tertiaryColor), this.lineColor = E(this.background), this.textColor = E(this.background), this.background = "white", this.mainBkg = "#ECECFF", this.secondBkg = "#ffffde", this.lineColor = "#333333", this.border1 = "#9370DB", this.primaryBorderColor = Y(this.primaryColor, this.darkMode), this.border2 = "#aaaa33", this.arrowheadColor = "#333333", this.fontFamily = "\"trebuchet ms\", verdana, arial, sans-serif", this.fontSize = "16px", this.labelBackground = "rgba(232,232,232, 0.8)", this.textColor = "#333", this.THEME_COLOR_LIMIT = 12, this.radius = 5, this.strokeWidth = 1, this.nodeBkg = "calculated", this.nodeBorder = "calculated", this.clusterBkg = "calculated", this.clusterBorder = "calculated", this.defaultLinkColor = "calculated", this.titleColor = "calculated", this.edgeLabelBackground = "calculated", this.actorBorder = "calculated", this.actorBkg = "calculated", this.actorTextColor = "black", this.actorLineColor = "calculated", this.signalColor = "calculated", this.signalTextColor = "calculated", this.labelBoxBkgColor = "calculated", this.labelBoxBorderColor = "calculated", this.labelTextColor = "calculated", this.loopTextColor = "calculated", this.noteBorderColor = "calculated", this.noteBkgColor = "#fff5ad", this.noteTextColor = "calculated", this.activationBorderColor = "#666", this.activationBkgColor = "#f4f4f4", this.sequenceNumberColor = "white", this.clusterBkg = "#FBFBFF", this.sectionBkgColor = "calculated", this.altSectionBkgColor = "calculated", this.sectionBkgColor2 = "calculated", this.excludeBkgColor = "#eeeeee", this.taskBorderColor = "calculated", this.taskBkgColor = "calculated", this.taskTextLightColor = "calculated", this.taskTextColor = this.taskTextLightColor, this.taskTextDarkColor = "calculated", this.taskTextOutsideColor = this.taskTextDarkColor, this.taskTextClickableColor = "calculated", this.activeTaskBorderColor = "calculated", this.activeTaskBkgColor = "calculated", this.gridColor = "calculated", this.doneTaskBkgColor = "calculated", this.doneTaskBorderColor = "calculated", this.critBorderColor = "calculated", this.critBkgColor = "calculated", this.todayLineColor = "calculated", this.vertLineColor = "calculated", this.sectionBkgColor = _(102, 102, 255, .49), this.altSectionBkgColor = "white", this.sectionBkgColor2 = "#fff400", this.taskBorderColor = "#534fbc", this.taskBkgColor = "#8a90dd", this.taskTextLightColor = "white", this.taskTextColor = "calculated", this.taskTextDarkColor = "black", this.taskTextOutsideColor = "calculated", this.taskTextClickableColor = "#003163", this.activeTaskBorderColor = "#534fbc", this.activeTaskBkgColor = "#bfc7ff", this.gridColor = "lightgrey", this.doneTaskBkgColor = "lightgrey", this.doneTaskBorderColor = "grey", this.critBorderColor = "#ff8888", this.critBkgColor = "red", this.todayLineColor = "red", this.vertLineColor = "navy", this.noteFontWeight = this.noteFontWeight || "normal", this.fontWeight = this.fontWeight || "normal", this.personBorder = this.primaryBorderColor, this.personBkg = this.mainBkg, this.archEdgeColor = "calculated", this.archEdgeArrowColor = "calculated", this.archEdgeWidth = "3", this.archGroupBorderColor = this.primaryBorderColor, this.archGroupBorderWidth = "2px", this.rowOdd = "calculated", this.rowEven = "calculated", this.labelColor = "black", this.errorBkgColor = "#552222", this.errorTextColor = "#552222", this.useGradient = !1, this.gradientStart = this.primaryBorderColor, this.gradientStop = this.secondaryBorderColor, this.dropShadow = "drop-shadow(1px 2px 2px rgba(185, 185, 185, 1))", this.updateColors();
|
|
1240
|
+
}
|
|
1241
|
+
updateColors() {
|
|
1242
|
+
var e, t, n, r, i, a, o, s, c, l, u, d, f, p, m, h, g, _, v, y, x, T, D, O, k, A, j, M, N, P, F, I;
|
|
1243
|
+
this.cScale0 = this.cScale0 || this.primaryColor, this.cScale1 = this.cScale1 || this.secondaryColor, this.cScale2 = this.cScale2 || this.tertiaryColor, this.cScale3 = this.cScale3 || w(this.primaryColor, { h: 30 }), this.cScale4 = this.cScale4 || w(this.primaryColor, { h: 60 }), this.cScale5 = this.cScale5 || w(this.primaryColor, { h: 90 }), this.cScale6 = this.cScale6 || w(this.primaryColor, { h: 120 }), this.cScale7 = this.cScale7 || w(this.primaryColor, { h: 150 }), this.cScale8 = this.cScale8 || w(this.primaryColor, { h: 210 }), this.cScale9 = this.cScale9 || w(this.primaryColor, { h: 270 }), this.cScale10 = this.cScale10 || w(this.primaryColor, { h: 300 }), this.cScale11 = this.cScale11 || w(this.primaryColor, { h: 330 }), this.cScalePeer1 = this.cScalePeer1 || C(this.secondaryColor, 45), this.cScalePeer2 = this.cScalePeer2 || C(this.tertiaryColor, 40);
|
|
1244
|
+
for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this["cScale" + e] = C(this["cScale" + e], 10), this["cScalePeer" + e] = this["cScalePeer" + e] || C(this["cScale" + e], 25);
|
|
1245
|
+
for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this["cScaleInv" + e] = this["cScaleInv" + e] || w(this["cScale" + e], { h: 180 });
|
|
1246
|
+
for (let e = 0; e < 5; e++) this["surface" + e] = this["surface" + e] || w(this.mainBkg, {
|
|
1247
|
+
h: 30,
|
|
1248
|
+
l: -(5 + e * 5)
|
|
1249
|
+
}), this["surfacePeer" + e] = this["surfacePeer" + e] || w(this.mainBkg, {
|
|
1250
|
+
h: 30,
|
|
1251
|
+
l: -(7 + e * 5)
|
|
1252
|
+
});
|
|
1253
|
+
if (this.scaleLabelColor = this.scaleLabelColor !== "calculated" && this.scaleLabelColor ? this.scaleLabelColor : this.labelTextColor, this.labelTextColor !== "calculated") {
|
|
1254
|
+
this.cScaleLabel0 = this.cScaleLabel0 || E(this.labelTextColor), this.cScaleLabel3 = this.cScaleLabel3 || E(this.labelTextColor);
|
|
1255
|
+
for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this["cScaleLabel" + e] = this["cScaleLabel" + e] || this.labelTextColor;
|
|
1256
|
+
}
|
|
1257
|
+
this.nodeBkg = this.mainBkg, this.nodeBorder = this.border1, this.clusterBkg = this.secondBkg, this.clusterBorder = this.border2, this.defaultLinkColor = this.lineColor, this.titleColor = this.textColor, this.edgeLabelBackground = this.labelBackground, this.actorBorder = this.border1, this.actorBkg = this.mainBkg, this.labelBoxBkgColor = this.actorBkg, this.signalColor = this.textColor, this.signalTextColor = this.textColor, this.labelBoxBorderColor = this.actorBorder, this.labelTextColor = this.actorTextColor, this.loopTextColor = this.actorTextColor, this.noteBorderColor = this.border2, this.noteTextColor = this.actorTextColor, this.actorLineColor = this.actorBorder, this.taskTextColor = this.taskTextLightColor, this.taskTextOutsideColor = this.taskTextDarkColor, this.archEdgeColor = this.lineColor, this.archEdgeArrowColor = this.lineColor, this.rowOdd = this.rowOdd || S(this.primaryColor, 75) || "#ffffff", this.rowEven = this.rowEven || S(this.primaryColor, 1), this.transitionColor = this.transitionColor || this.lineColor, this.transitionLabelColor = this.transitionLabelColor || this.textColor, this.stateLabelColor = this.stateLabelColor || this.stateBkg || this.primaryTextColor, this.stateBkg = this.stateBkg || this.mainBkg, this.labelBackgroundColor = this.labelBackgroundColor || this.stateBkg, this.compositeBackground = this.compositeBackground || this.background || this.tertiaryColor, this.altBackground = this.altBackground || "#f0f0f0", this.compositeTitleBackground = this.compositeTitleBackground || this.mainBkg, this.compositeBorder = this.compositeBorder || this.nodeBorder, this.innerEndBackground = this.nodeBorder, this.specialStateColor = this.lineColor, this.errorBkgColor = this.errorBkgColor || this.tertiaryColor, this.errorTextColor = this.errorTextColor || this.tertiaryTextColor, this.transitionColor = this.transitionColor || this.lineColor, this.classText = this.primaryTextColor, this.fillType0 = this.primaryColor, this.fillType1 = this.secondaryColor, this.fillType2 = w(this.primaryColor, { h: 64 }), this.fillType3 = w(this.secondaryColor, { h: 64 }), this.fillType4 = w(this.primaryColor, { h: -64 }), this.fillType5 = w(this.secondaryColor, { h: -64 }), this.fillType6 = w(this.primaryColor, { h: 128 }), this.fillType7 = w(this.secondaryColor, { h: 128 }), this.pie1 = this.pie1 || this.primaryColor, this.pie2 = this.pie2 || this.secondaryColor, this.pie3 = this.pie3 || w(this.tertiaryColor, { l: -40 }), this.pie4 = this.pie4 || w(this.primaryColor, { l: -10 }), this.pie5 = this.pie5 || w(this.secondaryColor, { l: -30 }), this.pie6 = this.pie6 || w(this.tertiaryColor, { l: -20 }), this.pie7 = this.pie7 || w(this.primaryColor, {
|
|
1258
|
+
h: 60,
|
|
1259
|
+
l: -20
|
|
1260
|
+
}), this.pie8 = this.pie8 || w(this.primaryColor, {
|
|
1261
|
+
h: -60,
|
|
1262
|
+
l: -40
|
|
1263
|
+
}), this.pie9 = this.pie9 || w(this.primaryColor, {
|
|
1264
|
+
h: 120,
|
|
1265
|
+
l: -40
|
|
1266
|
+
}), this.pie10 = this.pie10 || w(this.primaryColor, {
|
|
1267
|
+
h: 60,
|
|
1268
|
+
l: -40
|
|
1269
|
+
}), this.pie11 = this.pie11 || w(this.primaryColor, {
|
|
1270
|
+
h: -90,
|
|
1271
|
+
l: -40
|
|
1272
|
+
}), this.pie12 = this.pie12 || w(this.primaryColor, {
|
|
1273
|
+
h: 120,
|
|
1274
|
+
l: -30
|
|
1275
|
+
}), this.pieTitleTextSize = this.pieTitleTextSize || "25px", this.pieTitleTextColor = this.pieTitleTextColor || this.taskTextDarkColor, this.pieSectionTextSize = this.pieSectionTextSize || "17px", this.pieSectionTextColor = this.pieSectionTextColor || this.textColor, this.pieLegendTextSize = this.pieLegendTextSize || "17px", this.pieLegendTextColor = this.pieLegendTextColor || this.taskTextDarkColor, this.pieStrokeColor = this.pieStrokeColor || "black", this.pieStrokeWidth = this.pieStrokeWidth || "2px", this.pieOuterStrokeWidth = this.pieOuterStrokeWidth || "2px", this.pieOuterStrokeColor = this.pieOuterStrokeColor || "black", this.pieOpacity = this.pieOpacity || "0.7", this.venn1 = (e = this.venn1) == null ? w(this.primaryColor, { l: -30 }) : e, this.venn2 = (t = this.venn2) == null ? w(this.secondaryColor, { l: -30 }) : t, this.venn3 = (n = this.venn3) == null ? w(this.tertiaryColor, { l: -40 }) : n, this.venn4 = (r = this.venn4) == null ? w(this.primaryColor, {
|
|
1276
|
+
h: 60,
|
|
1277
|
+
l: -30
|
|
1278
|
+
}) : r, this.venn5 = (i = this.venn5) == null ? w(this.primaryColor, {
|
|
1279
|
+
h: -60,
|
|
1280
|
+
l: -30
|
|
1281
|
+
}) : i, this.venn6 = (a = this.venn6) == null ? w(this.secondaryColor, {
|
|
1282
|
+
h: 60,
|
|
1283
|
+
l: -30
|
|
1284
|
+
}) : a, this.venn7 = (o = this.venn7) == null ? w(this.primaryColor, {
|
|
1285
|
+
h: 120,
|
|
1286
|
+
l: -30
|
|
1287
|
+
}) : o, this.venn8 = (s = this.venn8) == null ? w(this.secondaryColor, {
|
|
1288
|
+
h: 120,
|
|
1289
|
+
l: -30
|
|
1290
|
+
}) : s, this.vennTitleTextColor = (c = this.vennTitleTextColor) == null ? this.titleColor : c, this.vennSetTextColor = (l = this.vennSetTextColor) == null ? this.textColor : l, this.quadrant1Fill = this.quadrant1Fill || this.primaryColor, this.quadrant2Fill = this.quadrant2Fill || w(this.primaryColor, {
|
|
1291
|
+
r: 5,
|
|
1292
|
+
g: 5,
|
|
1293
|
+
b: 5
|
|
1294
|
+
}), this.quadrant3Fill = this.quadrant3Fill || w(this.primaryColor, {
|
|
1295
|
+
r: 10,
|
|
1296
|
+
g: 10,
|
|
1297
|
+
b: 10
|
|
1298
|
+
}), this.quadrant4Fill = this.quadrant4Fill || w(this.primaryColor, {
|
|
1299
|
+
r: 15,
|
|
1300
|
+
g: 15,
|
|
1301
|
+
b: 15
|
|
1302
|
+
}), this.quadrant1TextFill = this.quadrant1TextFill || this.primaryTextColor, this.quadrant2TextFill = this.quadrant2TextFill || w(this.primaryTextColor, {
|
|
1303
|
+
r: -5,
|
|
1304
|
+
g: -5,
|
|
1305
|
+
b: -5
|
|
1306
|
+
}), this.quadrant3TextFill = this.quadrant3TextFill || w(this.primaryTextColor, {
|
|
1307
|
+
r: -10,
|
|
1308
|
+
g: -10,
|
|
1309
|
+
b: -10
|
|
1310
|
+
}), this.quadrant4TextFill = this.quadrant4TextFill || w(this.primaryTextColor, {
|
|
1311
|
+
r: -15,
|
|
1312
|
+
g: -15,
|
|
1313
|
+
b: -15
|
|
1314
|
+
}), this.quadrantPointFill = this.quadrantPointFill || b(this.quadrant1Fill) ? S(this.quadrant1Fill) : C(this.quadrant1Fill), this.quadrantPointTextFill = this.quadrantPointTextFill || this.primaryTextColor, this.quadrantXAxisTextFill = this.quadrantXAxisTextFill || this.primaryTextColor, this.quadrantYAxisTextFill = this.quadrantYAxisTextFill || this.primaryTextColor, this.quadrantInternalBorderStrokeFill = this.quadrantInternalBorderStrokeFill || this.primaryBorderColor, this.quadrantExternalBorderStrokeFill = this.quadrantExternalBorderStrokeFill || this.primaryBorderColor, this.quadrantTitleFill = this.quadrantTitleFill || this.primaryTextColor, this.radar = {
|
|
1315
|
+
axisColor: ((u = this.radar) == null ? void 0 : u.axisColor) || this.lineColor,
|
|
1316
|
+
axisStrokeWidth: ((d = this.radar) == null ? void 0 : d.axisStrokeWidth) || 2,
|
|
1317
|
+
axisLabelFontSize: ((f = this.radar) == null ? void 0 : f.axisLabelFontSize) || 12,
|
|
1318
|
+
curveOpacity: ((p = this.radar) == null ? void 0 : p.curveOpacity) || .5,
|
|
1319
|
+
curveStrokeWidth: ((m = this.radar) == null ? void 0 : m.curveStrokeWidth) || 2,
|
|
1320
|
+
graticuleColor: ((h = this.radar) == null ? void 0 : h.graticuleColor) || "#DEDEDE",
|
|
1321
|
+
graticuleStrokeWidth: ((g = this.radar) == null ? void 0 : g.graticuleStrokeWidth) || 1,
|
|
1322
|
+
graticuleOpacity: ((_ = this.radar) == null ? void 0 : _.graticuleOpacity) || .3,
|
|
1323
|
+
legendBoxSize: ((v = this.radar) == null ? void 0 : v.legendBoxSize) || 12,
|
|
1324
|
+
legendFontSize: ((y = this.radar) == null ? void 0 : y.legendFontSize) || 12
|
|
1325
|
+
}, this.xyChart = {
|
|
1326
|
+
backgroundColor: ((x = this.xyChart) == null ? void 0 : x.backgroundColor) || this.background,
|
|
1327
|
+
titleColor: ((T = this.xyChart) == null ? void 0 : T.titleColor) || this.primaryTextColor,
|
|
1328
|
+
dataLabelColor: ((D = this.xyChart) == null ? void 0 : D.dataLabelColor) || this.primaryTextColor,
|
|
1329
|
+
xAxisTitleColor: ((O = this.xyChart) == null ? void 0 : O.xAxisTitleColor) || this.primaryTextColor,
|
|
1330
|
+
xAxisLabelColor: ((k = this.xyChart) == null ? void 0 : k.xAxisLabelColor) || this.primaryTextColor,
|
|
1331
|
+
xAxisTickColor: ((A = this.xyChart) == null ? void 0 : A.xAxisTickColor) || this.primaryTextColor,
|
|
1332
|
+
xAxisLineColor: ((j = this.xyChart) == null ? void 0 : j.xAxisLineColor) || this.primaryTextColor,
|
|
1333
|
+
yAxisTitleColor: ((M = this.xyChart) == null ? void 0 : M.yAxisTitleColor) || this.primaryTextColor,
|
|
1334
|
+
yAxisLabelColor: ((N = this.xyChart) == null ? void 0 : N.yAxisLabelColor) || this.primaryTextColor,
|
|
1335
|
+
yAxisTickColor: ((P = this.xyChart) == null ? void 0 : P.yAxisTickColor) || this.primaryTextColor,
|
|
1336
|
+
yAxisLineColor: ((F = this.xyChart) == null ? void 0 : F.yAxisLineColor) || this.primaryTextColor,
|
|
1337
|
+
plotColorPalette: ((I = this.xyChart) == null ? void 0 : I.plotColorPalette) || "#ECECFF,#8493A6,#FFC3A0,#DCDDE1,#B8E994,#D1A36F,#C3CDE6,#FFB6C1,#496078,#F8F3E3"
|
|
1338
|
+
}, this.requirementBackground = this.requirementBackground || this.primaryColor, this.requirementBorderColor = this.requirementBorderColor || this.primaryBorderColor, this.requirementBorderSize = this.requirementBorderSize || "1", this.requirementTextColor = this.requirementTextColor || this.primaryTextColor, this.relationColor = this.relationColor || this.lineColor, this.relationLabelBackground = this.relationLabelBackground || this.labelBackground, this.relationLabelColor = this.relationLabelColor || this.actorTextColor, this.git0 = this.git0 || this.primaryColor, this.git1 = this.git1 || this.secondaryColor, this.git2 = this.git2 || this.tertiaryColor, this.git3 = this.git3 || w(this.primaryColor, { h: -30 }), this.git4 = this.git4 || w(this.primaryColor, { h: -60 }), this.git5 = this.git5 || w(this.primaryColor, { h: -90 }), this.git6 = this.git6 || w(this.primaryColor, { h: 60 }), this.git7 = this.git7 || w(this.primaryColor, { h: 120 }), this.darkMode ? (this.git0 = S(this.git0, 25), this.git1 = S(this.git1, 25), this.git2 = S(this.git2, 25), this.git3 = S(this.git3, 25), this.git4 = S(this.git4, 25), this.git5 = S(this.git5, 25), this.git6 = S(this.git6, 25), this.git7 = S(this.git7, 25)) : (this.git0 = C(this.git0, 25), this.git1 = C(this.git1, 25), this.git2 = C(this.git2, 25), this.git3 = C(this.git3, 25), this.git4 = C(this.git4, 25), this.git5 = C(this.git5, 25), this.git6 = C(this.git6, 25), this.git7 = C(this.git7, 25)), this.gitInv0 = this.gitInv0 || C(E(this.git0), 25), this.gitInv1 = this.gitInv1 || E(this.git1), this.gitInv2 = this.gitInv2 || E(this.git2), this.gitInv3 = this.gitInv3 || E(this.git3), this.gitInv4 = this.gitInv4 || E(this.git4), this.gitInv5 = this.gitInv5 || E(this.git5), this.gitInv6 = this.gitInv6 || E(this.git6), this.gitInv7 = this.gitInv7 || E(this.git7), this.gitBranchLabel0 = this.gitBranchLabel0 || E(this.labelTextColor), this.gitBranchLabel1 = this.gitBranchLabel1 || this.labelTextColor, this.gitBranchLabel2 = this.gitBranchLabel2 || this.labelTextColor, this.gitBranchLabel3 = this.gitBranchLabel3 || E(this.labelTextColor), this.gitBranchLabel4 = this.gitBranchLabel4 || this.labelTextColor, this.gitBranchLabel5 = this.gitBranchLabel5 || this.labelTextColor, this.gitBranchLabel6 = this.gitBranchLabel6 || this.labelTextColor, this.gitBranchLabel7 = this.gitBranchLabel7 || this.labelTextColor, this.tagLabelColor = this.tagLabelColor || this.primaryTextColor, this.tagLabelBackground = this.tagLabelBackground || this.primaryColor, this.tagLabelBorder = this.tagBorder || this.primaryBorderColor, this.tagLabelFontSize = this.tagLabelFontSize || "10px", this.commitLabelColor = this.commitLabelColor || this.secondaryTextColor, this.commitLabelBackground = this.commitLabelBackground || this.secondaryColor, this.commitLabelFontSize = this.commitLabelFontSize || "10px", this.attributeBackgroundColorOdd = this.attributeBackgroundColorOdd || q, this.attributeBackgroundColorEven = this.attributeBackgroundColorEven || J;
|
|
1339
|
+
}
|
|
1340
|
+
calculate(e) {
|
|
1341
|
+
if (Object.keys(this).forEach((e) => {
|
|
1342
|
+
this[e] === "calculated" && (this[e] = void 0);
|
|
1343
|
+
}), typeof e != "object") {
|
|
1344
|
+
this.updateColors();
|
|
1345
|
+
return;
|
|
1346
|
+
}
|
|
1347
|
+
let t = Object.keys(e);
|
|
1348
|
+
t.forEach((t) => {
|
|
1349
|
+
this[t] = e[t];
|
|
1350
|
+
}), this.updateColors(), t.forEach((t) => {
|
|
1351
|
+
this[t] = e[t];
|
|
1352
|
+
});
|
|
1353
|
+
}
|
|
1354
|
+
}, r(We, "Theme"), We), pt = /* @__PURE__ */ r((e) => {
|
|
1355
|
+
let t = new ft();
|
|
1356
|
+
return t.calculate(e), t;
|
|
1357
|
+
}, "getThemeVariables"), mt = (Ge = class {
|
|
1358
|
+
constructor() {
|
|
1359
|
+
this.background = "#f4f4f4", this.primaryColor = "#cde498", this.secondaryColor = "#cdffb2", this.background = "white", this.mainBkg = "#cde498", this.secondBkg = "#cdffb2", this.lineColor = "green", this.border1 = "#13540c", this.border2 = "#6eaa49", this.arrowheadColor = "green", this.fontFamily = "\"trebuchet ms\", verdana, arial, sans-serif", this.fontSize = "16px", this.tertiaryColor = S("#cde498", 10), this.primaryBorderColor = Y(this.primaryColor, this.darkMode), this.secondaryBorderColor = Y(this.secondaryColor, this.darkMode), this.tertiaryBorderColor = Y(this.tertiaryColor, this.darkMode), this.primaryTextColor = E(this.primaryColor), this.secondaryTextColor = E(this.secondaryColor), this.tertiaryTextColor = E(this.primaryColor), this.lineColor = E(this.background), this.textColor = E(this.background), this.THEME_COLOR_LIMIT = 12, this.radius = 5, this.strokeWidth = 1, this.nodeBkg = "calculated", this.nodeBorder = "calculated", this.clusterBkg = "calculated", this.clusterBorder = "calculated", this.defaultLinkColor = "calculated", this.titleColor = "#333", this.edgeLabelBackground = "#e8e8e8", this.actorBorder = "calculated", this.actorBkg = "calculated", this.actorTextColor = "black", this.actorLineColor = "calculated", this.signalColor = "#333", this.signalTextColor = "#333", this.labelBoxBkgColor = "calculated", this.labelBoxBorderColor = "#326932", this.labelTextColor = "calculated", this.loopTextColor = "calculated", this.noteBorderColor = "calculated", this.noteBkgColor = "#fff5ad", this.noteTextColor = "calculated", this.activationBorderColor = "#666", this.activationBkgColor = "#f4f4f4", this.sequenceNumberColor = "white", this.sectionBkgColor = "#6eaa49", this.altSectionBkgColor = "white", this.sectionBkgColor2 = "#6eaa49", this.excludeBkgColor = "#eeeeee", this.taskBorderColor = "calculated", this.taskBkgColor = "#487e3a", this.taskTextLightColor = "white", this.taskTextColor = "calculated", this.taskTextDarkColor = "black", this.taskTextOutsideColor = "calculated", this.taskTextClickableColor = "#003163", this.activeTaskBorderColor = "calculated", this.activeTaskBkgColor = "calculated", this.gridColor = "lightgrey", this.doneTaskBkgColor = "lightgrey", this.doneTaskBorderColor = "grey", this.critBorderColor = "#ff8888", this.critBkgColor = "red", this.todayLineColor = "red", this.vertLineColor = "#00BFFF", this.personBorder = this.primaryBorderColor, this.personBkg = this.mainBkg, this.archEdgeColor = "calculated", this.archEdgeArrowColor = "calculated", this.archEdgeWidth = "3", this.archGroupBorderColor = this.primaryBorderColor, this.archGroupBorderWidth = "2px", this.noteFontWeight = "normal", this.fontWeight = "normal", this.labelColor = "black", this.errorBkgColor = "#552222", this.errorTextColor = "#552222", this.useGradient = !0, this.gradientStart = this.primaryBorderColor, this.gradientStop = this.secondaryBorderColor, this.dropShadow = "drop-shadow( 1px 2px 2px rgba(185,185,185,0.5))";
|
|
1360
|
+
}
|
|
1361
|
+
updateColors() {
|
|
1362
|
+
var e, t, n, r, i, a, o, s, c, l, u, d, f, p, m, h, g, _, v, y, x, T, D, O, k, A, j, M, N, P, F, I;
|
|
1363
|
+
this.actorBorder = C(this.mainBkg, 20), this.actorBkg = this.mainBkg, this.labelBoxBkgColor = this.actorBkg, this.labelTextColor = this.actorTextColor, this.loopTextColor = this.actorTextColor, this.noteBorderColor = this.border2, this.noteTextColor = this.actorTextColor, this.actorLineColor = this.actorBorder, this.cScale0 = this.cScale0 || this.primaryColor, this.cScale1 = this.cScale1 || this.secondaryColor, this.cScale2 = this.cScale2 || this.tertiaryColor, this.cScale3 = this.cScale3 || w(this.primaryColor, { h: 30 }), this.cScale4 = this.cScale4 || w(this.primaryColor, { h: 60 }), this.cScale5 = this.cScale5 || w(this.primaryColor, { h: 90 }), this.cScale6 = this.cScale6 || w(this.primaryColor, { h: 120 }), this.cScale7 = this.cScale7 || w(this.primaryColor, { h: 150 }), this.cScale8 = this.cScale8 || w(this.primaryColor, { h: 210 }), this.cScale9 = this.cScale9 || w(this.primaryColor, { h: 270 }), this.cScale10 = this.cScale10 || w(this.primaryColor, { h: 300 }), this.cScale11 = this.cScale11 || w(this.primaryColor, { h: 330 }), this.cScalePeer1 = this.cScalePeer1 || C(this.secondaryColor, 45), this.cScalePeer2 = this.cScalePeer2 || C(this.tertiaryColor, 40);
|
|
1364
|
+
for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this["cScale" + e] = C(this["cScale" + e], 10), this["cScalePeer" + e] = this["cScalePeer" + e] || C(this["cScale" + e], 25);
|
|
1365
|
+
for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this["cScaleInv" + e] = this["cScaleInv" + e] || w(this["cScale" + e], { h: 180 });
|
|
1366
|
+
this.scaleLabelColor = this.scaleLabelColor !== "calculated" && this.scaleLabelColor ? this.scaleLabelColor : this.labelTextColor;
|
|
1367
|
+
for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this["cScaleLabel" + e] = this["cScaleLabel" + e] || this.scaleLabelColor;
|
|
1368
|
+
for (let e = 0; e < 5; e++) this["surface" + e] = this["surface" + e] || w(this.mainBkg, {
|
|
1369
|
+
h: 30,
|
|
1370
|
+
s: -30,
|
|
1371
|
+
l: -(5 + e * 5)
|
|
1372
|
+
}), this["surfacePeer" + e] = this["surfacePeer" + e] || w(this.mainBkg, {
|
|
1373
|
+
h: 30,
|
|
1374
|
+
s: -30,
|
|
1375
|
+
l: -(8 + e * 5)
|
|
1376
|
+
});
|
|
1377
|
+
this.nodeBkg = this.mainBkg, this.nodeBorder = this.border1, this.clusterBkg = this.secondBkg, this.clusterBorder = this.border2, this.defaultLinkColor = this.lineColor, this.taskBorderColor = this.border1, this.taskTextColor = this.taskTextLightColor, this.taskTextOutsideColor = this.taskTextDarkColor, this.activeTaskBorderColor = this.taskBorderColor, this.activeTaskBkgColor = this.mainBkg, this.archEdgeColor = this.lineColor, this.archEdgeArrowColor = this.lineColor, this.rowOdd = this.rowOdd || S(this.mainBkg, 75) || "#ffffff", this.rowEven = this.rowEven || S(this.mainBkg, 20), this.transitionColor = this.transitionColor || this.lineColor, this.transitionLabelColor = this.transitionLabelColor || this.textColor, this.stateLabelColor = this.stateLabelColor || this.stateBkg || this.primaryTextColor, this.stateBkg = this.stateBkg || this.mainBkg, this.labelBackgroundColor = this.labelBackgroundColor || this.stateBkg, this.compositeBackground = this.compositeBackground || this.background || this.tertiaryColor, this.altBackground = this.altBackground || "#f0f0f0", this.compositeTitleBackground = this.compositeTitleBackground || this.mainBkg, this.compositeBorder = this.compositeBorder || this.nodeBorder, this.innerEndBackground = this.primaryBorderColor, this.specialStateColor = this.lineColor, this.errorBkgColor = this.errorBkgColor || this.tertiaryColor, this.errorTextColor = this.errorTextColor || this.tertiaryTextColor, this.transitionColor = this.transitionColor || this.lineColor, this.classText = this.primaryTextColor, this.fillType0 = this.primaryColor, this.fillType1 = this.secondaryColor, this.fillType2 = w(this.primaryColor, { h: 64 }), this.fillType3 = w(this.secondaryColor, { h: 64 }), this.fillType4 = w(this.primaryColor, { h: -64 }), this.fillType5 = w(this.secondaryColor, { h: -64 }), this.fillType6 = w(this.primaryColor, { h: 128 }), this.fillType7 = w(this.secondaryColor, { h: 128 }), this.pie1 = this.pie1 || this.primaryColor, this.pie2 = this.pie2 || this.secondaryColor, this.pie3 = this.pie3 || this.tertiaryColor, this.pie4 = this.pie4 || w(this.primaryColor, { l: -30 }), this.pie5 = this.pie5 || w(this.secondaryColor, { l: -30 }), this.pie6 = this.pie6 || w(this.tertiaryColor, {
|
|
1378
|
+
h: 40,
|
|
1379
|
+
l: -40
|
|
1380
|
+
}), this.pie7 = this.pie7 || w(this.primaryColor, {
|
|
1381
|
+
h: 60,
|
|
1382
|
+
l: -10
|
|
1383
|
+
}), this.pie8 = this.pie8 || w(this.primaryColor, {
|
|
1384
|
+
h: -60,
|
|
1385
|
+
l: -10
|
|
1386
|
+
}), this.pie9 = this.pie9 || w(this.primaryColor, {
|
|
1387
|
+
h: 120,
|
|
1388
|
+
l: 0
|
|
1389
|
+
}), this.pie10 = this.pie10 || w(this.primaryColor, {
|
|
1390
|
+
h: 60,
|
|
1391
|
+
l: -50
|
|
1392
|
+
}), this.pie11 = this.pie11 || w(this.primaryColor, {
|
|
1393
|
+
h: -60,
|
|
1394
|
+
l: -50
|
|
1395
|
+
}), this.pie12 = this.pie12 || w(this.primaryColor, {
|
|
1396
|
+
h: 120,
|
|
1397
|
+
l: -50
|
|
1398
|
+
}), this.pieTitleTextSize = this.pieTitleTextSize || "25px", this.pieTitleTextColor = this.pieTitleTextColor || this.taskTextDarkColor, this.pieSectionTextSize = this.pieSectionTextSize || "17px", this.pieSectionTextColor = this.pieSectionTextColor || this.textColor, this.pieLegendTextSize = this.pieLegendTextSize || "17px", this.pieLegendTextColor = this.pieLegendTextColor || this.taskTextDarkColor, this.pieStrokeColor = this.pieStrokeColor || "black", this.pieStrokeWidth = this.pieStrokeWidth || "2px", this.pieOuterStrokeWidth = this.pieOuterStrokeWidth || "2px", this.pieOuterStrokeColor = this.pieOuterStrokeColor || "black", this.pieOpacity = this.pieOpacity || "0.7", this.venn1 = (e = this.venn1) == null ? w(this.primaryColor, { l: -30 }) : e, this.venn2 = (t = this.venn2) == null ? w(this.secondaryColor, { l: -30 }) : t, this.venn3 = (n = this.venn3) == null ? w(this.tertiaryColor, { l: -30 }) : n, this.venn4 = (r = this.venn4) == null ? w(this.primaryColor, {
|
|
1399
|
+
h: 60,
|
|
1400
|
+
l: -30
|
|
1401
|
+
}) : r, this.venn5 = (i = this.venn5) == null ? w(this.primaryColor, {
|
|
1402
|
+
h: -60,
|
|
1403
|
+
l: -30
|
|
1404
|
+
}) : i, this.venn6 = (a = this.venn6) == null ? w(this.secondaryColor, {
|
|
1405
|
+
h: 60,
|
|
1406
|
+
l: -30
|
|
1407
|
+
}) : a, this.venn7 = (o = this.venn7) == null ? w(this.primaryColor, {
|
|
1408
|
+
h: 120,
|
|
1409
|
+
l: -30
|
|
1410
|
+
}) : o, this.venn8 = (s = this.venn8) == null ? w(this.secondaryColor, {
|
|
1411
|
+
h: 120,
|
|
1412
|
+
l: -30
|
|
1413
|
+
}) : s, this.vennTitleTextColor = (c = this.vennTitleTextColor) == null ? this.titleColor : c, this.vennSetTextColor = (l = this.vennSetTextColor) == null ? this.textColor : l, this.quadrant1Fill = this.quadrant1Fill || this.primaryColor, this.quadrant2Fill = this.quadrant2Fill || w(this.primaryColor, {
|
|
1414
|
+
r: 5,
|
|
1415
|
+
g: 5,
|
|
1416
|
+
b: 5
|
|
1417
|
+
}), this.quadrant3Fill = this.quadrant3Fill || w(this.primaryColor, {
|
|
1418
|
+
r: 10,
|
|
1419
|
+
g: 10,
|
|
1420
|
+
b: 10
|
|
1421
|
+
}), this.quadrant4Fill = this.quadrant4Fill || w(this.primaryColor, {
|
|
1422
|
+
r: 15,
|
|
1423
|
+
g: 15,
|
|
1424
|
+
b: 15
|
|
1425
|
+
}), this.quadrant1TextFill = this.quadrant1TextFill || this.primaryTextColor, this.quadrant2TextFill = this.quadrant2TextFill || w(this.primaryTextColor, {
|
|
1426
|
+
r: -5,
|
|
1427
|
+
g: -5,
|
|
1428
|
+
b: -5
|
|
1429
|
+
}), this.quadrant3TextFill = this.quadrant3TextFill || w(this.primaryTextColor, {
|
|
1430
|
+
r: -10,
|
|
1431
|
+
g: -10,
|
|
1432
|
+
b: -10
|
|
1433
|
+
}), this.quadrant4TextFill = this.quadrant4TextFill || w(this.primaryTextColor, {
|
|
1434
|
+
r: -15,
|
|
1435
|
+
g: -15,
|
|
1436
|
+
b: -15
|
|
1437
|
+
}), this.quadrantPointFill = this.quadrantPointFill || b(this.quadrant1Fill) ? S(this.quadrant1Fill) : C(this.quadrant1Fill), this.quadrantPointTextFill = this.quadrantPointTextFill || this.primaryTextColor, this.quadrantXAxisTextFill = this.quadrantXAxisTextFill || this.primaryTextColor, this.quadrantYAxisTextFill = this.quadrantYAxisTextFill || this.primaryTextColor, this.quadrantInternalBorderStrokeFill = this.quadrantInternalBorderStrokeFill || this.primaryBorderColor, this.quadrantExternalBorderStrokeFill = this.quadrantExternalBorderStrokeFill || this.primaryBorderColor, this.quadrantTitleFill = this.quadrantTitleFill || this.primaryTextColor, this.packet = {
|
|
1438
|
+
startByteColor: this.primaryTextColor,
|
|
1439
|
+
endByteColor: this.primaryTextColor,
|
|
1440
|
+
labelColor: this.primaryTextColor,
|
|
1441
|
+
titleColor: this.primaryTextColor,
|
|
1442
|
+
blockStrokeColor: this.primaryTextColor,
|
|
1443
|
+
blockFillColor: this.mainBkg
|
|
1444
|
+
}, this.radar = {
|
|
1445
|
+
axisColor: ((u = this.radar) == null ? void 0 : u.axisColor) || this.lineColor,
|
|
1446
|
+
axisStrokeWidth: ((d = this.radar) == null ? void 0 : d.axisStrokeWidth) || 2,
|
|
1447
|
+
axisLabelFontSize: ((f = this.radar) == null ? void 0 : f.axisLabelFontSize) || 12,
|
|
1448
|
+
curveOpacity: ((p = this.radar) == null ? void 0 : p.curveOpacity) || .5,
|
|
1449
|
+
curveStrokeWidth: ((m = this.radar) == null ? void 0 : m.curveStrokeWidth) || 2,
|
|
1450
|
+
graticuleColor: ((h = this.radar) == null ? void 0 : h.graticuleColor) || "#DEDEDE",
|
|
1451
|
+
graticuleStrokeWidth: ((g = this.radar) == null ? void 0 : g.graticuleStrokeWidth) || 1,
|
|
1452
|
+
graticuleOpacity: ((_ = this.radar) == null ? void 0 : _.graticuleOpacity) || .3,
|
|
1453
|
+
legendBoxSize: ((v = this.radar) == null ? void 0 : v.legendBoxSize) || 12,
|
|
1454
|
+
legendFontSize: ((y = this.radar) == null ? void 0 : y.legendFontSize) || 12
|
|
1455
|
+
}, this.xyChart = {
|
|
1456
|
+
backgroundColor: ((x = this.xyChart) == null ? void 0 : x.backgroundColor) || this.background,
|
|
1457
|
+
titleColor: ((T = this.xyChart) == null ? void 0 : T.titleColor) || this.primaryTextColor,
|
|
1458
|
+
dataLabelColor: ((D = this.xyChart) == null ? void 0 : D.dataLabelColor) || this.primaryTextColor,
|
|
1459
|
+
xAxisTitleColor: ((O = this.xyChart) == null ? void 0 : O.xAxisTitleColor) || this.primaryTextColor,
|
|
1460
|
+
xAxisLabelColor: ((k = this.xyChart) == null ? void 0 : k.xAxisLabelColor) || this.primaryTextColor,
|
|
1461
|
+
xAxisTickColor: ((A = this.xyChart) == null ? void 0 : A.xAxisTickColor) || this.primaryTextColor,
|
|
1462
|
+
xAxisLineColor: ((j = this.xyChart) == null ? void 0 : j.xAxisLineColor) || this.primaryTextColor,
|
|
1463
|
+
yAxisTitleColor: ((M = this.xyChart) == null ? void 0 : M.yAxisTitleColor) || this.primaryTextColor,
|
|
1464
|
+
yAxisLabelColor: ((N = this.xyChart) == null ? void 0 : N.yAxisLabelColor) || this.primaryTextColor,
|
|
1465
|
+
yAxisTickColor: ((P = this.xyChart) == null ? void 0 : P.yAxisTickColor) || this.primaryTextColor,
|
|
1466
|
+
yAxisLineColor: ((F = this.xyChart) == null ? void 0 : F.yAxisLineColor) || this.primaryTextColor,
|
|
1467
|
+
plotColorPalette: ((I = this.xyChart) == null ? void 0 : I.plotColorPalette) || "#CDE498,#FF6B6B,#A0D2DB,#D7BDE2,#F0F0F0,#FFC3A0,#7FD8BE,#FF9A8B,#FAF3E0,#FFF176"
|
|
1468
|
+
}, this.requirementBackground = this.requirementBackground || this.primaryColor, this.requirementBorderColor = this.requirementBorderColor || this.primaryBorderColor, this.requirementBorderSize = this.requirementBorderSize || "1", this.requirementTextColor = this.requirementTextColor || this.primaryTextColor, this.relationColor = this.relationColor || this.lineColor, this.relationLabelBackground = this.relationLabelBackground || this.edgeLabelBackground, this.relationLabelColor = this.relationLabelColor || this.actorTextColor, this.git0 = this.git0 || this.primaryColor, this.git1 = this.git1 || this.secondaryColor, this.git2 = this.git2 || this.tertiaryColor, this.git3 = this.git3 || w(this.primaryColor, { h: -30 }), this.git4 = this.git4 || w(this.primaryColor, { h: -60 }), this.git5 = this.git5 || w(this.primaryColor, { h: -90 }), this.git6 = this.git6 || w(this.primaryColor, { h: 60 }), this.git7 = this.git7 || w(this.primaryColor, { h: 120 }), this.darkMode ? (this.git0 = S(this.git0, 25), this.git1 = S(this.git1, 25), this.git2 = S(this.git2, 25), this.git3 = S(this.git3, 25), this.git4 = S(this.git4, 25), this.git5 = S(this.git5, 25), this.git6 = S(this.git6, 25), this.git7 = S(this.git7, 25)) : (this.git0 = C(this.git0, 25), this.git1 = C(this.git1, 25), this.git2 = C(this.git2, 25), this.git3 = C(this.git3, 25), this.git4 = C(this.git4, 25), this.git5 = C(this.git5, 25), this.git6 = C(this.git6, 25), this.git7 = C(this.git7, 25)), this.gitInv0 = this.gitInv0 || E(this.git0), this.gitInv1 = this.gitInv1 || E(this.git1), this.gitInv2 = this.gitInv2 || E(this.git2), this.gitInv3 = this.gitInv3 || E(this.git3), this.gitInv4 = this.gitInv4 || E(this.git4), this.gitInv5 = this.gitInv5 || E(this.git5), this.gitInv6 = this.gitInv6 || E(this.git6), this.gitInv7 = this.gitInv7 || E(this.git7), this.gitBranchLabel0 = this.gitBranchLabel0 || E(this.labelTextColor), this.gitBranchLabel1 = this.gitBranchLabel1 || this.labelTextColor, this.gitBranchLabel2 = this.gitBranchLabel2 || this.labelTextColor, this.gitBranchLabel3 = this.gitBranchLabel3 || E(this.labelTextColor), this.gitBranchLabel4 = this.gitBranchLabel4 || this.labelTextColor, this.gitBranchLabel5 = this.gitBranchLabel5 || this.labelTextColor, this.gitBranchLabel6 = this.gitBranchLabel6 || this.labelTextColor, this.gitBranchLabel7 = this.gitBranchLabel7 || this.labelTextColor, this.tagLabelColor = this.tagLabelColor || this.primaryTextColor, this.tagLabelBackground = this.tagLabelBackground || this.primaryColor, this.tagLabelBorder = this.tagBorder || this.primaryBorderColor, this.tagLabelFontSize = this.tagLabelFontSize || "10px", this.commitLabelColor = this.commitLabelColor || this.secondaryTextColor, this.commitLabelBackground = this.commitLabelBackground || this.secondaryColor, this.commitLabelFontSize = this.commitLabelFontSize || "10px", this.attributeBackgroundColorOdd = this.attributeBackgroundColorOdd || q, this.attributeBackgroundColorEven = this.attributeBackgroundColorEven || J;
|
|
1469
|
+
}
|
|
1470
|
+
calculate(e) {
|
|
1471
|
+
if (typeof e != "object") {
|
|
1472
|
+
this.updateColors();
|
|
1473
|
+
return;
|
|
1474
|
+
}
|
|
1475
|
+
let t = Object.keys(e);
|
|
1476
|
+
t.forEach((t) => {
|
|
1477
|
+
this[t] = e[t];
|
|
1478
|
+
}), this.updateColors(), t.forEach((t) => {
|
|
1479
|
+
this[t] = e[t];
|
|
1480
|
+
});
|
|
1481
|
+
}
|
|
1482
|
+
}, r(Ge, "Theme"), Ge), X = /* @__PURE__ */ r((e) => {
|
|
1483
|
+
let t = new mt();
|
|
1484
|
+
return t.calculate(e), t;
|
|
1485
|
+
}, "getThemeVariables"), ht = (W = class {
|
|
1486
|
+
constructor() {
|
|
1487
|
+
this.primaryColor = "#eee", this.contrast = "#707070", this.secondaryColor = S(this.contrast, 55), this.background = "#ffffff", this.tertiaryColor = w(this.primaryColor, { h: -160 }), this.primaryBorderColor = Y(this.primaryColor, this.darkMode), this.secondaryBorderColor = Y(this.secondaryColor, this.darkMode), this.tertiaryBorderColor = Y(this.tertiaryColor, this.darkMode), this.primaryTextColor = E(this.primaryColor), this.secondaryTextColor = E(this.secondaryColor), this.tertiaryTextColor = E(this.tertiaryColor), this.lineColor = E(this.background), this.textColor = E(this.background), this.mainBkg = "#eee", this.secondBkg = "calculated", this.lineColor = "#666", this.border1 = "#999", this.border2 = "calculated", this.note = "#ffa", this.text = "#333", this.critical = "#d42", this.done = "#bbb", this.arrowheadColor = "#333333", this.fontFamily = "\"trebuchet ms\", verdana, arial, sans-serif", this.fontSize = "16px", this.THEME_COLOR_LIMIT = 12, this.radius = 5, this.strokeWidth = 1, this.nodeBkg = "calculated", this.nodeBorder = "calculated", this.clusterBkg = "calculated", this.clusterBorder = "calculated", this.defaultLinkColor = "calculated", this.titleColor = "calculated", this.edgeLabelBackground = "white", this.actorBorder = "calculated", this.actorBkg = "calculated", this.actorTextColor = "calculated", this.actorLineColor = this.actorBorder, this.signalColor = "calculated", this.signalTextColor = "calculated", this.labelBoxBkgColor = "calculated", this.labelBoxBorderColor = "calculated", this.labelTextColor = "calculated", this.loopTextColor = "calculated", this.noteBorderColor = "calculated", this.noteBkgColor = "calculated", this.noteTextColor = "calculated", this.activationBorderColor = "#666", this.activationBkgColor = "#f4f4f4", this.sequenceNumberColor = "white", this.sectionBkgColor = "calculated", this.altSectionBkgColor = "white", this.sectionBkgColor2 = "calculated", this.excludeBkgColor = "#eeeeee", this.taskBorderColor = "calculated", this.taskBkgColor = "calculated", this.taskTextLightColor = "white", this.taskTextColor = "calculated", this.taskTextDarkColor = "calculated", this.taskTextOutsideColor = "calculated", this.taskTextClickableColor = "#003163", this.activeTaskBorderColor = "calculated", this.activeTaskBkgColor = "calculated", this.gridColor = "calculated", this.doneTaskBkgColor = "calculated", this.doneTaskBorderColor = "calculated", this.critBkgColor = "calculated", this.critBorderColor = "calculated", this.todayLineColor = "calculated", this.vertLineColor = "calculated", this.personBorder = this.primaryBorderColor, this.personBkg = this.mainBkg, this.archEdgeColor = "calculated", this.archEdgeArrowColor = "calculated", this.archEdgeWidth = "3", this.archGroupBorderColor = this.primaryBorderColor, this.archGroupBorderWidth = "2px", this.noteFontWeight = "normal", this.fontWeight = "normal", this.rowOdd = this.rowOdd || S(this.mainBkg, 75) || "#ffffff", this.rowEven = this.rowEven || "#f4f4f4", this.labelColor = "black", this.errorBkgColor = "#552222", this.errorTextColor = "#552222", this.useGradient = !0, this.gradientStart = this.primaryBorderColor, this.gradientStop = this.secondaryBorderColor, this.dropShadow = "drop-shadow( 1px 2px 2px rgba(185,185,185,1))";
|
|
1488
|
+
}
|
|
1489
|
+
updateColors() {
|
|
1490
|
+
var e, t, n, r, i, a, o, s, c, l, u, d, f, p, m, h, g, _, v, y, x, T, D, O;
|
|
1491
|
+
this.secondBkg = S(this.contrast, 55), this.border2 = this.contrast, this.actorBorder = S(this.border1, 23), this.actorBkg = this.mainBkg, this.actorTextColor = this.text, this.actorLineColor = this.actorBorder, this.signalColor = this.text, this.signalTextColor = this.text, this.labelBoxBkgColor = this.actorBkg, this.labelBoxBorderColor = this.actorBorder, this.labelTextColor = this.text, this.loopTextColor = this.text, this.noteBorderColor = "#999", this.noteBkgColor = "#666", this.noteTextColor = "#fff", this.cScale0 = this.cScale0 || "#555", this.cScale1 = this.cScale1 || "#F4F4F4", this.cScale2 = this.cScale2 || "#555", this.cScale3 = this.cScale3 || "#BBB", this.cScale4 = this.cScale4 || "#777", this.cScale5 = this.cScale5 || "#999", this.cScale6 = this.cScale6 || "#DDD", this.cScale7 = this.cScale7 || "#FFF", this.cScale8 = this.cScale8 || "#DDD", this.cScale9 = this.cScale9 || "#BBB", this.cScale10 = this.cScale10 || "#999", this.cScale11 = this.cScale11 || "#777";
|
|
1492
|
+
for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this["cScaleInv" + e] = this["cScaleInv" + e] || E(this["cScale" + e]);
|
|
1493
|
+
for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this.darkMode ? this["cScalePeer" + e] = this["cScalePeer" + e] || S(this["cScale" + e], 10) : this["cScalePeer" + e] = this["cScalePeer" + e] || C(this["cScale" + e], 10);
|
|
1494
|
+
this.scaleLabelColor = this.scaleLabelColor || (this.darkMode ? "black" : this.labelTextColor), this.cScaleLabel0 = this.cScaleLabel0 || this.cScale1, this.cScaleLabel2 = this.cScaleLabel2 || this.cScale1;
|
|
1495
|
+
for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this["cScaleLabel" + e] = this["cScaleLabel" + e] || this.scaleLabelColor;
|
|
1496
|
+
for (let e = 0; e < 5; e++) this["surface" + e] = this["surface" + e] || w(this.mainBkg, { l: -(5 + e * 5) }), this["surfacePeer" + e] = this["surfacePeer" + e] || w(this.mainBkg, { l: -(8 + e * 5) });
|
|
1497
|
+
this.nodeBkg = this.mainBkg, this.nodeBorder = this.border1, this.clusterBkg = this.secondBkg, this.clusterBorder = this.border2, this.defaultLinkColor = this.lineColor, this.titleColor = this.text, this.sectionBkgColor = S(this.contrast, 30), this.sectionBkgColor2 = S(this.contrast, 30), this.taskBorderColor = C(this.contrast, 10), this.taskBkgColor = this.contrast, this.taskTextColor = this.taskTextLightColor, this.taskTextDarkColor = this.text, this.taskTextOutsideColor = this.taskTextDarkColor, this.activeTaskBorderColor = this.taskBorderColor, this.activeTaskBkgColor = this.mainBkg, this.gridColor = S(this.border1, 30), this.doneTaskBkgColor = this.done, this.doneTaskBorderColor = this.lineColor, this.critBkgColor = this.critical, this.critBorderColor = C(this.critBkgColor, 10), this.todayLineColor = this.critBkgColor, this.vertLineColor = this.critBkgColor, this.archEdgeColor = this.lineColor, this.archEdgeArrowColor = this.lineColor, this.transitionColor = this.transitionColor || "#000", this.transitionLabelColor = this.transitionLabelColor || this.textColor, this.stateLabelColor = this.stateLabelColor || this.stateBkg || this.primaryTextColor, this.stateBkg = this.stateBkg || this.mainBkg, this.labelBackgroundColor = this.labelBackgroundColor || this.stateBkg, this.compositeBackground = this.compositeBackground || this.background || this.tertiaryColor, this.altBackground = this.altBackground || "#f4f4f4", this.compositeTitleBackground = this.compositeTitleBackground || this.mainBkg, this.stateBorder = this.stateBorder || "#000", this.innerEndBackground = this.primaryBorderColor, this.specialStateColor = "#222", this.errorBkgColor = this.errorBkgColor || this.tertiaryColor, this.errorTextColor = this.errorTextColor || this.tertiaryTextColor, this.classText = this.primaryTextColor, this.fillType0 = this.primaryColor, this.fillType1 = this.secondaryColor, this.fillType2 = w(this.primaryColor, { h: 64 }), this.fillType3 = w(this.secondaryColor, { h: 64 }), this.fillType4 = w(this.primaryColor, { h: -64 }), this.fillType5 = w(this.secondaryColor, { h: -64 }), this.fillType6 = w(this.primaryColor, { h: 128 }), this.fillType7 = w(this.secondaryColor, { h: 128 });
|
|
1498
|
+
for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this["pie" + e] = this["cScale" + e];
|
|
1499
|
+
this.pie12 = this.pie0, this.pieTitleTextSize = this.pieTitleTextSize || "25px", this.pieTitleTextColor = this.pieTitleTextColor || this.taskTextDarkColor, this.pieSectionTextSize = this.pieSectionTextSize || "17px", this.pieSectionTextColor = this.pieSectionTextColor || this.textColor, this.pieLegendTextSize = this.pieLegendTextSize || "17px", this.pieLegendTextColor = this.pieLegendTextColor || this.taskTextDarkColor, this.pieStrokeColor = this.pieStrokeColor || "black", this.pieStrokeWidth = this.pieStrokeWidth || "2px", this.pieOuterStrokeWidth = this.pieOuterStrokeWidth || "2px", this.pieOuterStrokeColor = this.pieOuterStrokeColor || "black", this.pieOpacity = this.pieOpacity || "0.7";
|
|
1500
|
+
for (let e = 0; e < 8; e++) {
|
|
1501
|
+
var k;
|
|
1502
|
+
this["venn" + (e + 1)] = (k = this["venn" + (e + 1)]) == null ? this["cScale" + e] : k;
|
|
1503
|
+
}
|
|
1504
|
+
this.vennTitleTextColor = (e = this.vennTitleTextColor) == null ? this.titleColor : e, this.vennSetTextColor = (t = this.vennSetTextColor) == null ? this.textColor : t, this.quadrant1Fill = this.quadrant1Fill || this.primaryColor, this.quadrant2Fill = this.quadrant2Fill || w(this.primaryColor, {
|
|
1505
|
+
r: 5,
|
|
1506
|
+
g: 5,
|
|
1507
|
+
b: 5
|
|
1508
|
+
}), this.quadrant3Fill = this.quadrant3Fill || w(this.primaryColor, {
|
|
1509
|
+
r: 10,
|
|
1510
|
+
g: 10,
|
|
1511
|
+
b: 10
|
|
1512
|
+
}), this.quadrant4Fill = this.quadrant4Fill || w(this.primaryColor, {
|
|
1513
|
+
r: 15,
|
|
1514
|
+
g: 15,
|
|
1515
|
+
b: 15
|
|
1516
|
+
}), this.quadrant1TextFill = this.quadrant1TextFill || this.primaryTextColor, this.quadrant2TextFill = this.quadrant2TextFill || w(this.primaryTextColor, {
|
|
1517
|
+
r: -5,
|
|
1518
|
+
g: -5,
|
|
1519
|
+
b: -5
|
|
1520
|
+
}), this.quadrant3TextFill = this.quadrant3TextFill || w(this.primaryTextColor, {
|
|
1521
|
+
r: -10,
|
|
1522
|
+
g: -10,
|
|
1523
|
+
b: -10
|
|
1524
|
+
}), this.quadrant4TextFill = this.quadrant4TextFill || w(this.primaryTextColor, {
|
|
1525
|
+
r: -15,
|
|
1526
|
+
g: -15,
|
|
1527
|
+
b: -15
|
|
1528
|
+
}), this.quadrantPointFill = this.quadrantPointFill || b(this.quadrant1Fill) ? S(this.quadrant1Fill) : C(this.quadrant1Fill), this.quadrantPointTextFill = this.quadrantPointTextFill || this.primaryTextColor, this.quadrantXAxisTextFill = this.quadrantXAxisTextFill || this.primaryTextColor, this.quadrantYAxisTextFill = this.quadrantYAxisTextFill || this.primaryTextColor, this.quadrantInternalBorderStrokeFill = this.quadrantInternalBorderStrokeFill || this.primaryBorderColor, this.quadrantExternalBorderStrokeFill = this.quadrantExternalBorderStrokeFill || this.primaryBorderColor, this.quadrantTitleFill = this.quadrantTitleFill || this.primaryTextColor, this.xyChart = {
|
|
1529
|
+
backgroundColor: ((n = this.xyChart) == null ? void 0 : n.backgroundColor) || this.background,
|
|
1530
|
+
titleColor: ((r = this.xyChart) == null ? void 0 : r.titleColor) || this.primaryTextColor,
|
|
1531
|
+
dataLabelColor: ((i = this.xyChart) == null ? void 0 : i.dataLabelColor) || this.primaryTextColor,
|
|
1532
|
+
xAxisTitleColor: ((a = this.xyChart) == null ? void 0 : a.xAxisTitleColor) || this.primaryTextColor,
|
|
1533
|
+
xAxisLabelColor: ((o = this.xyChart) == null ? void 0 : o.xAxisLabelColor) || this.primaryTextColor,
|
|
1534
|
+
xAxisTickColor: ((s = this.xyChart) == null ? void 0 : s.xAxisTickColor) || this.primaryTextColor,
|
|
1535
|
+
xAxisLineColor: ((c = this.xyChart) == null ? void 0 : c.xAxisLineColor) || this.primaryTextColor,
|
|
1536
|
+
yAxisTitleColor: ((l = this.xyChart) == null ? void 0 : l.yAxisTitleColor) || this.primaryTextColor,
|
|
1537
|
+
yAxisLabelColor: ((u = this.xyChart) == null ? void 0 : u.yAxisLabelColor) || this.primaryTextColor,
|
|
1538
|
+
yAxisTickColor: ((d = this.xyChart) == null ? void 0 : d.yAxisTickColor) || this.primaryTextColor,
|
|
1539
|
+
yAxisLineColor: ((f = this.xyChart) == null ? void 0 : f.yAxisLineColor) || this.primaryTextColor,
|
|
1540
|
+
plotColorPalette: ((p = this.xyChart) == null ? void 0 : p.plotColorPalette) || "#EEE,#6BB8E4,#8ACB88,#C7ACD6,#E8DCC2,#FFB2A8,#FFF380,#7E8D91,#FFD8B1,#FAF3E0"
|
|
1541
|
+
}, this.radar = {
|
|
1542
|
+
axisColor: ((m = this.radar) == null ? void 0 : m.axisColor) || this.lineColor,
|
|
1543
|
+
axisStrokeWidth: ((h = this.radar) == null ? void 0 : h.axisStrokeWidth) || 2,
|
|
1544
|
+
axisLabelFontSize: ((g = this.radar) == null ? void 0 : g.axisLabelFontSize) || 12,
|
|
1545
|
+
curveOpacity: ((_ = this.radar) == null ? void 0 : _.curveOpacity) || .5,
|
|
1546
|
+
curveStrokeWidth: ((v = this.radar) == null ? void 0 : v.curveStrokeWidth) || 2,
|
|
1547
|
+
graticuleColor: ((y = this.radar) == null ? void 0 : y.graticuleColor) || "#DEDEDE",
|
|
1548
|
+
graticuleStrokeWidth: ((x = this.radar) == null ? void 0 : x.graticuleStrokeWidth) || 1,
|
|
1549
|
+
graticuleOpacity: ((T = this.radar) == null ? void 0 : T.graticuleOpacity) || .3,
|
|
1550
|
+
legendBoxSize: ((D = this.radar) == null ? void 0 : D.legendBoxSize) || 12,
|
|
1551
|
+
legendFontSize: ((O = this.radar) == null ? void 0 : O.legendFontSize) || 12
|
|
1552
|
+
}, this.requirementBackground = this.requirementBackground || this.primaryColor, this.requirementBorderColor = this.requirementBorderColor || this.primaryBorderColor, this.requirementBorderSize = this.requirementBorderSize || "1", this.requirementTextColor = this.requirementTextColor || this.primaryTextColor, this.relationColor = this.relationColor || this.lineColor, this.relationLabelBackground = this.relationLabelBackground || this.edgeLabelBackground, this.relationLabelColor = this.relationLabelColor || this.actorTextColor, this.git0 = C(this.pie1, 25) || this.primaryColor, this.git1 = this.pie2 || this.secondaryColor, this.git2 = this.pie3 || this.tertiaryColor, this.git3 = this.pie4 || w(this.primaryColor, { h: -30 }), this.git4 = this.pie5 || w(this.primaryColor, { h: -60 }), this.git5 = this.pie6 || w(this.primaryColor, { h: -90 }), this.git6 = this.pie7 || w(this.primaryColor, { h: 60 }), this.git7 = this.pie8 || w(this.primaryColor, { h: 120 }), this.gitInv0 = this.gitInv0 || E(this.git0), this.gitInv1 = this.gitInv1 || E(this.git1), this.gitInv2 = this.gitInv2 || E(this.git2), this.gitInv3 = this.gitInv3 || E(this.git3), this.gitInv4 = this.gitInv4 || E(this.git4), this.gitInv5 = this.gitInv5 || E(this.git5), this.gitInv6 = this.gitInv6 || E(this.git6), this.gitInv7 = this.gitInv7 || E(this.git7), this.branchLabelColor = this.branchLabelColor || this.labelTextColor, this.gitBranchLabel0 = this.branchLabelColor, this.gitBranchLabel1 = "white", this.gitBranchLabel2 = this.branchLabelColor, this.gitBranchLabel3 = "white", this.gitBranchLabel4 = this.branchLabelColor, this.gitBranchLabel5 = this.branchLabelColor, this.gitBranchLabel6 = this.branchLabelColor, this.gitBranchLabel7 = this.branchLabelColor, this.tagLabelColor = this.tagLabelColor || this.primaryTextColor, this.tagLabelBackground = this.tagLabelBackground || this.primaryColor, this.tagLabelBorder = this.tagBorder || this.primaryBorderColor, this.tagLabelFontSize = this.tagLabelFontSize || "10px", this.commitLabelColor = this.commitLabelColor || this.secondaryTextColor, this.commitLabelBackground = this.commitLabelBackground || this.secondaryColor, this.commitLabelFontSize = this.commitLabelFontSize || "10px", this.attributeBackgroundColorOdd = this.attributeBackgroundColorOdd || q, this.attributeBackgroundColorEven = this.attributeBackgroundColorEven || J;
|
|
1553
|
+
}
|
|
1554
|
+
calculate(e) {
|
|
1555
|
+
if (typeof e != "object") {
|
|
1556
|
+
this.updateColors();
|
|
1557
|
+
return;
|
|
1558
|
+
}
|
|
1559
|
+
let t = Object.keys(e);
|
|
1560
|
+
t.forEach((t) => {
|
|
1561
|
+
this[t] = e[t];
|
|
1562
|
+
}), this.updateColors(), t.forEach((t) => {
|
|
1563
|
+
this[t] = e[t];
|
|
1564
|
+
});
|
|
1565
|
+
}
|
|
1566
|
+
}, r(W, "Theme"), W), gt = /* @__PURE__ */ r((e) => {
|
|
1567
|
+
let t = new ht();
|
|
1568
|
+
return t.calculate(e), t;
|
|
1569
|
+
}, "getThemeVariables"), _t = (Ke = class {
|
|
1570
|
+
constructor() {
|
|
1571
|
+
this.background = "#ffffff", this.primaryColor = "#cccccc", this.mainBkg = "#ffffff", this.noteBkgColor = "#fff5ad", this.noteTextColor = "#333", this.THEME_COLOR_LIMIT = 12, this.radius = 3, this.strokeWidth = 2, this.primaryBorderColor = Y(this.primaryColor, this.darkMode), this.fontFamily = "arial, sans-serif", this.fontSize = "14px", this.nodeBorder = "#000000", this.stateBorder = "#000000", this.useGradient = !0, this.gradientStart = "#0042eb", this.gradientStop = "#eb0042", this.dropShadow = "drop-shadow( 0px 1px 2px rgba(0, 0, 0, 0.25));", this.tertiaryColor = "#ffffff", this.archEdgeColor = "calculated", this.archEdgeArrowColor = "calculated", this.archEdgeWidth = "3", this.archGroupBorderColor = this.primaryBorderColor, this.archGroupBorderWidth = "2px", this.noteFontWeight = "normal", this.fontWeight = "normal";
|
|
1572
|
+
}
|
|
1573
|
+
updateColors() {
|
|
1574
|
+
var e, t, n, r, i, a, o, s, c, l, u, d, f;
|
|
1575
|
+
this.primaryTextColor = this.primaryTextColor || (this.darkMode ? "#eee" : "#333"), this.secondaryColor = this.secondaryColor || w(this.primaryColor, { h: -120 }), this.tertiaryColor = this.tertiaryColor || w(this.primaryColor, {
|
|
1576
|
+
h: 180,
|
|
1577
|
+
l: 5
|
|
1578
|
+
}), this.primaryBorderColor = this.primaryBorderColor || Y(this.primaryColor, this.darkMode), this.secondaryBorderColor = this.secondaryBorderColor || Y(this.secondaryColor, this.darkMode), this.tertiaryBorderColor = this.tertiaryBorderColor || Y(this.tertiaryColor, this.darkMode), this.noteBorderColor = this.noteBorderColor || Y(this.noteBkgColor, this.darkMode), this.noteBkgColor = this.noteBkgColor || "#fff5ad", this.noteTextColor = this.noteTextColor || "#333", this.secondaryTextColor = this.secondaryTextColor || E(this.secondaryColor), this.tertiaryTextColor = this.tertiaryTextColor || E(this.tertiaryColor), this.lineColor = this.lineColor || E(this.background), this.arrowheadColor = this.arrowheadColor || E(this.background), this.textColor = this.textColor || this.primaryTextColor, this.border2 = this.border2 || this.tertiaryBorderColor, this.nodeBkg = this.nodeBkg || this.primaryColor, this.mainBkg = this.mainBkg || this.primaryColor, this.nodeBorder = this.nodeBorder || this.primaryBorderColor, this.clusterBkg = this.clusterBkg || this.tertiaryColor, this.clusterBorder = this.clusterBorder || this.tertiaryBorderColor, this.defaultLinkColor = this.defaultLinkColor || this.lineColor, this.titleColor = this.titleColor || this.tertiaryTextColor, this.edgeLabelBackground = this.edgeLabelBackground || (this.darkMode ? C(this.secondaryColor, 30) : this.secondaryColor), this.nodeTextColor = this.nodeTextColor || this.primaryTextColor, this.actorBorder = this.actorBorder || this.primaryBorderColor, this.actorBkg = this.actorBkg || this.mainBkg, this.actorTextColor = this.actorTextColor || this.primaryTextColor, this.actorLineColor = this.actorLineColor || this.actorBorder, this.labelBoxBkgColor = this.labelBoxBkgColor || this.actorBkg, this.signalColor = this.signalColor || this.textColor, this.signalTextColor = this.signalTextColor || this.textColor, this.labelBoxBorderColor = this.labelBoxBorderColor || this.actorBorder, this.labelTextColor = this.labelTextColor || this.actorTextColor, this.loopTextColor = this.loopTextColor || this.actorTextColor, this.activationBorderColor = this.activationBorderColor || C(this.secondaryColor, 10), this.activationBkgColor = this.activationBkgColor || this.secondaryColor, this.sequenceNumberColor = this.sequenceNumberColor || E(this.lineColor);
|
|
1579
|
+
let p = "#ECECFE", m = "#E9E9F1", h = w(p, {
|
|
1580
|
+
h: 180,
|
|
1581
|
+
l: 5
|
|
1582
|
+
});
|
|
1583
|
+
if (this.sectionBkgColor = this.sectionBkgColor || h, this.altSectionBkgColor = this.altSectionBkgColor || "white", this.sectionBkgColor = this.sectionBkgColor || m, this.sectionBkgColor2 = this.sectionBkgColor2 || p, this.excludeBkgColor = this.excludeBkgColor || "#eeeeee", this.taskBorderColor = this.taskBorderColor || this.primaryBorderColor, this.taskBkgColor = this.taskBkgColor || p, this.activeTaskBorderColor = this.activeTaskBorderColor || p, this.activeTaskBkgColor = this.activeTaskBkgColor || S(p, 23), this.gridColor = this.gridColor || "lightgrey", this.doneTaskBkgColor = this.doneTaskBkgColor || "lightgrey", this.doneTaskBorderColor = this.doneTaskBorderColor || "grey", this.critBorderColor = this.critBorderColor || "#ff8888", this.critBkgColor = this.critBkgColor || "red", this.todayLineColor = this.todayLineColor || "red", this.taskTextColor = this.taskTextColor || this.textColor, this.taskTextOutsideColor = this.taskTextOutsideColor || this.textColor, this.vertLineColor = this.vertLineColor || this.primaryBorderColor, this.taskTextLightColor = this.taskTextLightColor || this.textColor, this.taskTextColor = this.taskTextColor || this.primaryTextColor, this.taskTextDarkColor = this.taskTextDarkColor || this.textColor, this.taskTextClickableColor = this.taskTextClickableColor || "#003163", this.archEdgeColor = this.lineColor, this.archEdgeArrowColor = this.lineColor, this.personBorder = this.personBorder || this.primaryBorderColor, this.personBkg = this.personBkg || this.mainBkg, this.transitionColor = this.transitionColor || this.lineColor, this.transitionLabelColor = this.transitionLabelColor || this.textColor, this.stateLabelColor = this.stateLabelColor || this.stateBkg || this.primaryTextColor, this.stateBkg = this.stateBkg || this.mainBkg, this.labelBackgroundColor = this.labelBackgroundColor || this.stateBkg, this.compositeBackground = this.compositeBackground || this.background || this.tertiaryColor, this.altBackground = this.altBackground || "#f0f0f0", this.compositeTitleBackground = this.compositeTitleBackground || this.mainBkg, this.compositeBorder = this.compositeBorder || this.nodeBorder, this.innerEndBackground = this.nodeBorder, this.errorBkgColor = this.errorBkgColor || this.tertiaryColor, this.errorTextColor = this.errorTextColor || this.tertiaryTextColor, this.transitionColor = this.transitionColor || this.lineColor, this.specialStateColor = this.lineColor, this.cScale0 = this.cScale0 || p, this.cScale1 = this.cScale1 || m, this.cScale2 = this.cScale2 || h, this.cScale3 = this.cScale3 || w(p, { h: 30 }), this.cScale4 = this.cScale4 || w(p, { h: 60 }), this.cScale5 = this.cScale5 || w(p, { h: 90 }), this.cScale6 = this.cScale6 || w(p, { h: 120 }), this.cScale7 = this.cScale7 || w(p, { h: 150 }), this.cScale8 = this.cScale8 || w(p, {
|
|
1584
|
+
h: 210,
|
|
1585
|
+
l: 150
|
|
1586
|
+
}), this.cScale9 = this.cScale9 || w(p, { h: 270 }), this.cScale10 = this.cScale10 || w(p, { h: 300 }), this.cScale11 = this.cScale11 || w(p, { h: 330 }), this.darkMode) for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this["cScale" + e] = C(this["cScale" + e], 75);
|
|
1587
|
+
else for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this["cScale" + e] = C(this["cScale" + e], 25);
|
|
1588
|
+
for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this["cScaleInv" + e] = this["cScaleInv" + e] || E(this["cScale" + e]);
|
|
1589
|
+
for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this.darkMode ? this["cScalePeer" + e] = this["cScalePeer" + e] || S(this["cScale" + e], 10) : this["cScalePeer" + e] = this["cScalePeer" + e] || C(this["cScale" + e], 10);
|
|
1590
|
+
this.scaleLabelColor = this.scaleLabelColor || this.labelTextColor;
|
|
1591
|
+
for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this["cScaleLabel" + e] = this["cScaleLabel" + e] || this.scaleLabelColor;
|
|
1592
|
+
let g = this.darkMode ? -4 : -1;
|
|
1593
|
+
for (let e = 0; e < 5; e++) this["surface" + e] = this["surface" + e] || w(this.mainBkg, {
|
|
1594
|
+
h: 180,
|
|
1595
|
+
s: -15,
|
|
1596
|
+
l: g * (5 + e * 3)
|
|
1597
|
+
}), this["surfacePeer" + e] = this["surfacePeer" + e] || w(this.mainBkg, {
|
|
1598
|
+
h: 180,
|
|
1599
|
+
s: -15,
|
|
1600
|
+
l: g * (8 + e * 3)
|
|
1601
|
+
});
|
|
1602
|
+
this.classText = this.classText || this.textColor, this.fillType0 = this.fillType0 || p, this.fillType1 = this.fillType1 || m, this.fillType2 = this.fillType2 || w(p, { h: 64 }), this.fillType3 = this.fillType3 || w(m, { h: 64 }), this.fillType4 = this.fillType4 || w(p, { h: -64 }), this.fillType5 = this.fillType5 || w(m, { h: -64 }), this.fillType6 = this.fillType6 || w(p, { h: 128 }), this.fillType7 = this.fillType7 || w(m, { h: 128 }), this.pie1 = this.pie1 || p, this.pie2 = this.pie2 || m, this.pie3 = this.pie3 || h, this.pie4 = this.pie4 || w(p, { l: -10 }), this.pie5 = this.pie5 || w(m, { l: -10 }), this.pie6 = this.pie6 || w(h, { l: -10 }), this.pie7 = this.pie7 || w(p, {
|
|
1603
|
+
h: 60,
|
|
1604
|
+
l: -10
|
|
1605
|
+
}), this.pie8 = this.pie8 || w(p, {
|
|
1606
|
+
h: -60,
|
|
1607
|
+
l: -10
|
|
1608
|
+
}), this.pie9 = this.pie9 || w(p, {
|
|
1609
|
+
h: 120,
|
|
1610
|
+
l: 0
|
|
1611
|
+
}), this.pie10 = this.pie10 || w(p, {
|
|
1612
|
+
h: 60,
|
|
1613
|
+
l: -20
|
|
1614
|
+
}), this.pie11 = this.pie11 || w(p, {
|
|
1615
|
+
h: -60,
|
|
1616
|
+
l: -20
|
|
1617
|
+
}), this.pie12 = this.pie12 || w(p, {
|
|
1618
|
+
h: 120,
|
|
1619
|
+
l: -10
|
|
1620
|
+
}), this.pieTitleTextSize = this.pieTitleTextSize || "25px", this.pieTitleTextColor = this.pieTitleTextColor || this.taskTextDarkColor, this.pieSectionTextSize = this.pieSectionTextSize || "17px", this.pieSectionTextColor = this.pieSectionTextColor || this.textColor, this.pieLegendTextSize = this.pieLegendTextSize || "17px", this.pieLegendTextColor = this.pieLegendTextColor || this.taskTextDarkColor, this.pieStrokeColor = this.pieStrokeColor || "black", this.pieStrokeWidth = this.pieStrokeWidth || "2px", this.pieOuterStrokeWidth = this.pieOuterStrokeWidth || "2px", this.pieOuterStrokeColor = this.pieOuterStrokeColor || "black", this.pieOpacity = this.pieOpacity || "0.7", this.vennTitleTextColor = (e = this.vennTitleTextColor) == null ? this.titleColor : e, this.vennSetTextColor = (t = this.vennSetTextColor) == null ? this.textColor : t, this.quadrant1Fill = this.quadrant1Fill || p, this.quadrant2Fill = this.quadrant2Fill || w(p, {
|
|
1621
|
+
r: 5,
|
|
1622
|
+
g: 5,
|
|
1623
|
+
b: 5
|
|
1624
|
+
}), this.quadrant3Fill = this.quadrant3Fill || w(p, {
|
|
1625
|
+
r: 10,
|
|
1626
|
+
g: 10,
|
|
1627
|
+
b: 10
|
|
1628
|
+
}), this.quadrant4Fill = this.quadrant4Fill || w(p, {
|
|
1629
|
+
r: 15,
|
|
1630
|
+
g: 15,
|
|
1631
|
+
b: 15
|
|
1632
|
+
}), this.quadrant1TextFill = this.quadrant1TextFill || this.primaryTextColor, this.quadrant2TextFill = this.quadrant2TextFill || w(this.primaryTextColor, {
|
|
1633
|
+
r: -5,
|
|
1634
|
+
g: -5,
|
|
1635
|
+
b: -5
|
|
1636
|
+
}), this.quadrant3TextFill = this.quadrant3TextFill || w(this.primaryTextColor, {
|
|
1637
|
+
r: -10,
|
|
1638
|
+
g: -10,
|
|
1639
|
+
b: -10
|
|
1640
|
+
}), this.quadrant4TextFill = this.quadrant4TextFill || w(this.primaryTextColor, {
|
|
1641
|
+
r: -15,
|
|
1642
|
+
g: -15,
|
|
1643
|
+
b: -15
|
|
1644
|
+
}), this.quadrantPointFill = this.quadrantPointFill || b(this.quadrant1Fill) ? S(this.quadrant1Fill) : C(this.quadrant1Fill), this.quadrantPointTextFill = this.quadrantPointTextFill || this.primaryTextColor, this.quadrantXAxisTextFill = this.quadrantXAxisTextFill || this.primaryTextColor, this.quadrantYAxisTextFill = this.quadrantYAxisTextFill || this.primaryTextColor, this.quadrantInternalBorderStrokeFill = this.quadrantInternalBorderStrokeFill || this.primaryBorderColor, this.quadrantExternalBorderStrokeFill = this.quadrantExternalBorderStrokeFill || this.primaryBorderColor, this.quadrantTitleFill = this.quadrantTitleFill || this.primaryTextColor, this.xyChart = {
|
|
1645
|
+
backgroundColor: ((n = this.xyChart) == null ? void 0 : n.backgroundColor) || this.background,
|
|
1646
|
+
titleColor: ((r = this.xyChart) == null ? void 0 : r.titleColor) || this.primaryTextColor,
|
|
1647
|
+
xAxisTitleColor: ((i = this.xyChart) == null ? void 0 : i.xAxisTitleColor) || this.primaryTextColor,
|
|
1648
|
+
xAxisLabelColor: ((a = this.xyChart) == null ? void 0 : a.xAxisLabelColor) || this.primaryTextColor,
|
|
1649
|
+
xAxisTickColor: ((o = this.xyChart) == null ? void 0 : o.xAxisTickColor) || this.primaryTextColor,
|
|
1650
|
+
xAxisLineColor: ((s = this.xyChart) == null ? void 0 : s.xAxisLineColor) || this.primaryTextColor,
|
|
1651
|
+
yAxisTitleColor: ((c = this.xyChart) == null ? void 0 : c.yAxisTitleColor) || this.primaryTextColor,
|
|
1652
|
+
yAxisLabelColor: ((l = this.xyChart) == null ? void 0 : l.yAxisLabelColor) || this.primaryTextColor,
|
|
1653
|
+
yAxisTickColor: ((u = this.xyChart) == null ? void 0 : u.yAxisTickColor) || this.primaryTextColor,
|
|
1654
|
+
yAxisLineColor: ((d = this.xyChart) == null ? void 0 : d.yAxisLineColor) || this.primaryTextColor,
|
|
1655
|
+
plotColorPalette: ((f = this.xyChart) == null ? void 0 : f.plotColorPalette) || "#FFF4DD,#FFD8B1,#FFA07A,#ECEFF1,#D6DBDF,#C3E0A8,#FFB6A4,#FFD74D,#738FA7,#FFFFF0"
|
|
1656
|
+
}, this.requirementBackground = this.requirementBackground || p, this.requirementBorderColor = this.requirementBorderColor || this.primaryBorderColor, this.requirementBorderSize = this.requirementBorderSize || "1", this.requirementTextColor = this.requirementTextColor || this.primaryTextColor, this.relationColor = this.relationColor || this.lineColor, this.relationLabelBackground = this.relationLabelBackground || (this.darkMode ? C(this.secondaryColor, 30) : this.secondaryColor), this.relationLabelColor = this.relationLabelColor || this.actorTextColor, this.git0 = this.git0 || p, this.git1 = this.git1 || m, this.git2 = this.git2 || h, this.git3 = this.git3 || w(p, { h: -30 }), this.git4 = this.git4 || w(p, { h: -60 }), this.git5 = this.git5 || w(p, { h: -90 }), this.git6 = this.git6 || w(p, { h: 60 }), this.git7 = this.git7 || w(p, { h: 120 }), this.darkMode ? (this.git0 = S(this.git0, 25), this.git1 = S(this.git1, 25), this.git2 = S(this.git2, 25), this.git3 = S(this.git3, 25), this.git4 = S(this.git4, 25), this.git5 = S(this.git5, 25), this.git6 = S(this.git6, 25), this.git7 = S(this.git7, 25)) : (this.git0 = C(this.git0, 25), this.git1 = C(this.git1, 25), this.git2 = C(this.git2, 25), this.git3 = C(this.git3, 25), this.git4 = C(this.git4, 25), this.git5 = C(this.git5, 25), this.git6 = C(this.git6, 25), this.git7 = C(this.git7, 25)), this.gitInv0 = this.gitInv0 || E(this.git0), this.gitInv1 = this.gitInv1 || E(this.git1), this.gitInv2 = this.gitInv2 || E(this.git2), this.gitInv3 = this.gitInv3 || E(this.git3), this.gitInv4 = this.gitInv4 || E(this.git4), this.gitInv5 = this.gitInv5 || E(this.git5), this.gitInv6 = this.gitInv6 || E(this.git6), this.gitInv7 = this.gitInv7 || E(this.git7), this.branchLabelColor = this.branchLabelColor || (this.darkMode ? "black" : this.labelTextColor), this.gitBranchLabel0 = this.gitBranchLabel0 || this.branchLabelColor, this.gitBranchLabel1 = this.gitBranchLabel1 || this.branchLabelColor, this.gitBranchLabel2 = this.gitBranchLabel2 || this.branchLabelColor, this.gitBranchLabel3 = this.gitBranchLabel3 || this.branchLabelColor, this.gitBranchLabel4 = this.gitBranchLabel4 || this.branchLabelColor, this.gitBranchLabel5 = this.gitBranchLabel5 || this.branchLabelColor, this.gitBranchLabel6 = this.gitBranchLabel6 || this.branchLabelColor, this.gitBranchLabel7 = this.gitBranchLabel7 || this.branchLabelColor, this.tagLabelColor = this.tagLabelColor || this.primaryTextColor, this.tagLabelBackground = this.tagLabelBackground || this.primaryColor, this.tagLabelBorder = this.tagBorder || this.primaryBorderColor, this.tagLabelFontSize = this.tagLabelFontSize || "10px", this.commitLabelColor = this.commitLabelColor || this.secondaryTextColor, this.commitLabelBackground = this.commitLabelBackground || this.secondaryColor, this.commitLabelFontSize = this.commitLabelFontSize || "10px", this.attributeBackgroundColorOdd = this.attributeBackgroundColorOdd || q, this.attributeBackgroundColorEven = this.attributeBackgroundColorEven || J;
|
|
1657
|
+
}
|
|
1658
|
+
calculate(e) {
|
|
1659
|
+
if (typeof e != "object") {
|
|
1660
|
+
this.updateColors();
|
|
1661
|
+
return;
|
|
1662
|
+
}
|
|
1663
|
+
let t = Object.keys(e);
|
|
1664
|
+
t.forEach((t) => {
|
|
1665
|
+
this[t] = e[t];
|
|
1666
|
+
}), this.updateColors(), t.forEach((t) => {
|
|
1667
|
+
this[t] = e[t];
|
|
1668
|
+
});
|
|
1669
|
+
}
|
|
1670
|
+
}, r(Ke, "Theme"), Ke), vt = /* @__PURE__ */ r((e) => {
|
|
1671
|
+
let t = new _t();
|
|
1672
|
+
return t.calculate(e), t;
|
|
1673
|
+
}, "getThemeVariables"), yt = (qe = class {
|
|
1674
|
+
constructor() {
|
|
1675
|
+
this.background = "#333", this.primaryColor = "#1f2020", this.secondaryColor = S(this.primaryColor, 16), this.tertiaryColor = w(this.primaryColor, { h: -160 }), this.primaryBorderColor = E(this.background), this.secondaryBorderColor = Y(this.secondaryColor, this.darkMode), this.tertiaryBorderColor = Y(this.tertiaryColor, this.darkMode), this.primaryTextColor = E(this.primaryColor), this.secondaryTextColor = E(this.secondaryColor), this.tertiaryTextColor = E(this.tertiaryColor), this.mainBkg = "#2a2020", this.secondBkg = "calculated", this.mainContrastColor = "lightgrey", this.darkTextColor = S(E("#323D47"), 10), this.border1 = "#ccc", this.border2 = _(255, 255, 255, .25), this.arrowheadColor = E(this.background), this.fontFamily = "arial, sans-serif", this.fontSize = "14px", this.labelBackground = "#181818", this.textColor = "#ccc", this.THEME_COLOR_LIMIT = 12, this.radius = 3, this.strokeWidth = 1, this.noteBkgColor = "#fff5ad", this.noteTextColor = "#333", this.THEME_COLOR_LIMIT = 12, this.fontFamily = "arial, sans-serif", this.fontSize = "14px", this.useGradient = !0, this.gradientStart = "#0042eb", this.gradientStop = "#eb0042", this.dropShadow = "drop-shadow( 1px 2px 2px rgba(185,185,185,0.2))", this.archEdgeColor = "calculated", this.archEdgeArrowColor = "calculated", this.archEdgeWidth = "3", this.archGroupBorderColor = this.primaryBorderColor, this.archGroupBorderWidth = "2px", this.noteFontWeight = "normal", this.fontWeight = "normal";
|
|
1676
|
+
}
|
|
1677
|
+
updateColors() {
|
|
1678
|
+
var e, t, n, r, i, a, o, s, c, l, u, d, f;
|
|
1679
|
+
if (this.primaryTextColor = this.primaryTextColor || (this.darkMode ? "#eee" : "#333"), this.secondaryColor = this.secondaryColor || w(this.primaryColor, { h: -120 }), this.tertiaryColor = this.tertiaryColor || w(this.primaryColor, {
|
|
1680
|
+
h: 180,
|
|
1681
|
+
l: 5
|
|
1682
|
+
}), this.primaryBorderColor = this.primaryBorderColor || Y(this.primaryColor, this.darkMode), this.secondaryBorderColor = this.secondaryBorderColor || Y(this.secondaryColor, this.darkMode), this.tertiaryBorderColor = this.tertiaryBorderColor || Y(this.tertiaryColor, this.darkMode), this.noteBorderColor = this.noteBorderColor || Y(this.noteBkgColor, this.darkMode), this.noteBkgColor = this.noteBkgColor || "#fff5ad", this.noteTextColor = this.noteTextColor || "#333", this.secondaryTextColor = this.secondaryTextColor || E(this.secondaryColor), this.tertiaryTextColor = this.tertiaryTextColor || E(this.tertiaryColor), this.lineColor = this.lineColor || E(this.background), this.arrowheadColor = this.arrowheadColor || E(this.background), this.textColor = this.textColor || this.primaryTextColor, this.border2 = this.border2 || this.tertiaryBorderColor, this.nodeBkg = this.nodeBkg || this.primaryColor, this.mainBkg = this.mainBkg || this.primaryColor, this.nodeBorder = this.nodeBorder || this.border1, this.clusterBkg = this.clusterBkg || this.tertiaryColor, this.clusterBorder = this.clusterBorder || this.tertiaryBorderColor, this.defaultLinkColor = this.defaultLinkColor || this.lineColor, this.titleColor = this.titleColor || this.tertiaryTextColor, this.edgeLabelBackground = this.edgeLabelBackground || (this.darkMode ? C(this.secondaryColor, 30) : this.secondaryColor), this.nodeTextColor = this.nodeTextColor || this.primaryTextColor, this.actorBorder = this.actorBorder || this.primaryBorderColor, this.actorBkg = this.actorBkg || this.mainBkg, this.actorTextColor = this.actorTextColor || this.primaryTextColor, this.actorLineColor = this.actorLineColor || this.actorBorder, this.labelBoxBkgColor = this.labelBoxBkgColor || this.actorBkg, this.signalColor = this.signalColor || this.textColor, this.signalTextColor = this.signalTextColor || this.textColor, this.labelBoxBorderColor = this.labelBoxBorderColor || this.actorBorder, this.labelTextColor = this.labelTextColor || this.actorTextColor, this.loopTextColor = this.loopTextColor || this.actorTextColor, this.activationBorderColor = this.activationBorderColor || C(this.secondaryColor, 10), this.activationBkgColor = this.activationBkgColor || this.secondaryColor, this.sequenceNumberColor = this.sequenceNumberColor || E(this.lineColor), this.sectionBkgColor = this.sectionBkgColor || this.tertiaryColor, this.altSectionBkgColor = this.altSectionBkgColor || "white", this.sectionBkgColor = this.sectionBkgColor || this.secondaryColor, this.sectionBkgColor2 = this.sectionBkgColor2 || this.primaryColor, this.excludeBkgColor = this.excludeBkgColor || "#eeeeee", this.taskBorderColor = this.taskBorderColor || this.primaryBorderColor, this.taskBkgColor = this.taskBkgColor || this.primaryColor, this.activeTaskBorderColor = this.activeTaskBorderColor || this.primaryColor, this.activeTaskBkgColor = this.activeTaskBkgColor || S(this.primaryColor, 23), this.gridColor = this.gridColor || "lightgrey", this.doneTaskBkgColor = this.doneTaskBkgColor || "lightgrey", this.doneTaskBorderColor = this.doneTaskBorderColor || "grey", this.critBorderColor = this.critBorderColor || "#ff8888", this.critBkgColor = this.critBkgColor || "red", this.todayLineColor = this.todayLineColor || "red", this.vertLineColor = this.vertLineColor || this.primaryBorderColor, this.taskTextColor = this.taskTextColor || this.textColor, this.taskTextOutsideColor = this.taskTextOutsideColor || this.textColor, this.taskTextLightColor = this.taskTextLightColor || this.textColor, this.taskTextColor = this.taskTextColor || this.primaryTextColor, this.taskTextDarkColor = this.taskTextDarkColor || this.textColor, this.taskTextClickableColor = this.taskTextClickableColor || "#003163", this.archEdgeColor = this.lineColor, this.archEdgeArrowColor = this.lineColor, this.personBorder = this.personBorder || this.primaryBorderColor, this.personBkg = this.personBkg || this.mainBkg, this.transitionColor = this.transitionColor || this.lineColor, this.transitionLabelColor = this.transitionLabelColor || this.textColor, this.stateLabelColor = this.stateLabelColor || this.stateBkg || this.primaryTextColor, this.stateBkg = this.stateBkg || this.mainBkg, this.labelBackgroundColor = this.labelBackgroundColor || this.stateBkg, this.compositeBackground = this.compositeBackground || this.background || this.tertiaryColor, this.altBackground = this.altBackground || "#f0f0f0", this.compositeTitleBackground = this.compositeTitleBackground || this.mainBkg, this.compositeBorder = this.compositeBorder || this.nodeBorder, this.innerEndBackground = this.nodeBorder, this.errorBkgColor = this.errorBkgColor || this.tertiaryColor, this.errorTextColor = this.errorTextColor || this.tertiaryTextColor, this.transitionColor = this.transitionColor || this.lineColor, this.specialStateColor = this.lineColor, this.cScale0 = this.cScale0 || this.primaryColor, this.cScale1 = this.cScale1 || this.secondaryColor, this.cScale2 = this.cScale2 || this.tertiaryColor, this.cScale3 = this.cScale3 || w(this.primaryColor, { h: 30 }), this.cScale4 = this.cScale4 || w(this.primaryColor, { h: 60 }), this.cScale5 = this.cScale5 || w(this.primaryColor, { h: 90 }), this.cScale6 = this.cScale6 || w(this.primaryColor, { h: 120 }), this.cScale7 = this.cScale7 || w(this.primaryColor, { h: 150 }), this.cScale8 = this.cScale8 || w(this.primaryColor, {
|
|
1683
|
+
h: 210,
|
|
1684
|
+
l: 150
|
|
1685
|
+
}), this.cScale9 = this.cScale9 || w(this.primaryColor, { h: 270 }), this.cScale10 = this.cScale10 || w(this.primaryColor, { h: 300 }), this.cScale11 = this.cScale11 || w(this.primaryColor, { h: 330 }), this.darkMode) for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this["cScale" + e] = C(this["cScale" + e], 75);
|
|
1686
|
+
else for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this["cScale" + e] = C(this["cScale" + e], 25);
|
|
1687
|
+
for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this["cScaleInv" + e] = this["cScaleInv" + e] || E(this["cScale" + e]);
|
|
1688
|
+
for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this.darkMode ? this["cScalePeer" + e] = this["cScalePeer" + e] || S(this["cScale" + e], 10) : this["cScalePeer" + e] = this["cScalePeer" + e] || C(this["cScale" + e], 10);
|
|
1689
|
+
this.scaleLabelColor = this.scaleLabelColor || this.labelTextColor;
|
|
1690
|
+
for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this["cScaleLabel" + e] = this["cScaleLabel" + e] || this.scaleLabelColor;
|
|
1691
|
+
let p = this.darkMode ? -4 : -1;
|
|
1692
|
+
for (let e = 0; e < 5; e++) this["surface" + e] = this["surface" + e] || w(this.mainBkg, {
|
|
1693
|
+
h: 180,
|
|
1694
|
+
s: -15,
|
|
1695
|
+
l: p * (5 + e * 3)
|
|
1696
|
+
}), this["surfacePeer" + e] = this["surfacePeer" + e] || w(this.mainBkg, {
|
|
1697
|
+
h: 180,
|
|
1698
|
+
s: -15,
|
|
1699
|
+
l: p * (8 + e * 3)
|
|
1700
|
+
});
|
|
1701
|
+
this.classText = this.classText || this.textColor, this.fillType0 = this.fillType0 || this.primaryColor, this.fillType1 = this.fillType1 || this.secondaryColor, this.fillType2 = this.fillType2 || w(this.primaryColor, { h: 64 }), this.fillType3 = this.fillType3 || w(this.secondaryColor, { h: 64 }), this.fillType4 = this.fillType4 || w(this.primaryColor, { h: -64 }), this.fillType5 = this.fillType5 || w(this.secondaryColor, { h: -64 }), this.fillType6 = this.fillType6 || w(this.primaryColor, { h: 128 }), this.fillType7 = this.fillType7 || w(this.secondaryColor, { h: 128 }), this.pie1 = this.pie1 || this.primaryColor, this.pie2 = this.pie2 || this.secondaryColor, this.pie3 = this.pie3 || this.tertiaryColor, this.pie4 = this.pie4 || w(this.primaryColor, { l: -10 }), this.pie5 = this.pie5 || w(this.secondaryColor, { l: -10 }), this.pie6 = this.pie6 || w(this.tertiaryColor, { l: -10 }), this.pie7 = this.pie7 || w(this.primaryColor, {
|
|
1702
|
+
h: 60,
|
|
1703
|
+
l: -10
|
|
1704
|
+
}), this.pie8 = this.pie8 || w(this.primaryColor, {
|
|
1705
|
+
h: -60,
|
|
1706
|
+
l: -10
|
|
1707
|
+
}), this.pie9 = this.pie9 || w(this.primaryColor, {
|
|
1708
|
+
h: 120,
|
|
1709
|
+
l: 0
|
|
1710
|
+
}), this.pie10 = this.pie10 || w(this.primaryColor, {
|
|
1711
|
+
h: 60,
|
|
1712
|
+
l: -20
|
|
1713
|
+
}), this.pie11 = this.pie11 || w(this.primaryColor, {
|
|
1714
|
+
h: -60,
|
|
1715
|
+
l: -20
|
|
1716
|
+
}), this.pie12 = this.pie12 || w(this.primaryColor, {
|
|
1717
|
+
h: 120,
|
|
1718
|
+
l: -10
|
|
1719
|
+
}), this.pieTitleTextSize = this.pieTitleTextSize || "25px", this.pieTitleTextColor = this.pieTitleTextColor || this.taskTextDarkColor, this.pieSectionTextSize = this.pieSectionTextSize || "17px", this.pieSectionTextColor = this.pieSectionTextColor || this.textColor, this.pieLegendTextSize = this.pieLegendTextSize || "17px", this.pieLegendTextColor = this.pieLegendTextColor || this.taskTextDarkColor, this.pieStrokeColor = this.pieStrokeColor || "black", this.pieStrokeWidth = this.pieStrokeWidth || "2px", this.pieOuterStrokeWidth = this.pieOuterStrokeWidth || "2px", this.pieOuterStrokeColor = this.pieOuterStrokeColor || "black", this.pieOpacity = this.pieOpacity || "0.7", this.vennTitleTextColor = (e = this.vennTitleTextColor) == null ? this.titleColor : e, this.vennSetTextColor = (t = this.vennSetTextColor) == null ? this.textColor : t, this.quadrant1Fill = this.quadrant1Fill || this.primaryColor, this.quadrant2Fill = this.quadrant2Fill || w(this.primaryColor, {
|
|
1720
|
+
r: 5,
|
|
1721
|
+
g: 5,
|
|
1722
|
+
b: 5
|
|
1723
|
+
}), this.quadrant3Fill = this.quadrant3Fill || w(this.primaryColor, {
|
|
1724
|
+
r: 10,
|
|
1725
|
+
g: 10,
|
|
1726
|
+
b: 10
|
|
1727
|
+
}), this.quadrant4Fill = this.quadrant4Fill || w(this.primaryColor, {
|
|
1728
|
+
r: 15,
|
|
1729
|
+
g: 15,
|
|
1730
|
+
b: 15
|
|
1731
|
+
}), this.quadrant1TextFill = this.quadrant1TextFill || this.primaryTextColor, this.quadrant2TextFill = this.quadrant2TextFill || w(this.primaryTextColor, {
|
|
1732
|
+
r: -5,
|
|
1733
|
+
g: -5,
|
|
1734
|
+
b: -5
|
|
1735
|
+
}), this.quadrant3TextFill = this.quadrant3TextFill || w(this.primaryTextColor, {
|
|
1736
|
+
r: -10,
|
|
1737
|
+
g: -10,
|
|
1738
|
+
b: -10
|
|
1739
|
+
}), this.quadrant4TextFill = this.quadrant4TextFill || w(this.primaryTextColor, {
|
|
1740
|
+
r: -15,
|
|
1741
|
+
g: -15,
|
|
1742
|
+
b: -15
|
|
1743
|
+
}), this.quadrantPointFill = this.quadrantPointFill || b(this.quadrant1Fill) ? S(this.quadrant1Fill) : C(this.quadrant1Fill), this.quadrantPointTextFill = this.quadrantPointTextFill || this.primaryTextColor, this.quadrantXAxisTextFill = this.quadrantXAxisTextFill || this.primaryTextColor, this.quadrantYAxisTextFill = this.quadrantYAxisTextFill || this.primaryTextColor, this.quadrantInternalBorderStrokeFill = this.quadrantInternalBorderStrokeFill || this.primaryBorderColor, this.quadrantExternalBorderStrokeFill = this.quadrantExternalBorderStrokeFill || this.primaryBorderColor, this.quadrantTitleFill = this.quadrantTitleFill || this.primaryTextColor, this.xyChart = {
|
|
1744
|
+
backgroundColor: ((n = this.xyChart) == null ? void 0 : n.backgroundColor) || this.background,
|
|
1745
|
+
titleColor: ((r = this.xyChart) == null ? void 0 : r.titleColor) || this.primaryTextColor,
|
|
1746
|
+
xAxisTitleColor: ((i = this.xyChart) == null ? void 0 : i.xAxisTitleColor) || this.primaryTextColor,
|
|
1747
|
+
xAxisLabelColor: ((a = this.xyChart) == null ? void 0 : a.xAxisLabelColor) || this.primaryTextColor,
|
|
1748
|
+
xAxisTickColor: ((o = this.xyChart) == null ? void 0 : o.xAxisTickColor) || this.primaryTextColor,
|
|
1749
|
+
xAxisLineColor: ((s = this.xyChart) == null ? void 0 : s.xAxisLineColor) || this.primaryTextColor,
|
|
1750
|
+
yAxisTitleColor: ((c = this.xyChart) == null ? void 0 : c.yAxisTitleColor) || this.primaryTextColor,
|
|
1751
|
+
yAxisLabelColor: ((l = this.xyChart) == null ? void 0 : l.yAxisLabelColor) || this.primaryTextColor,
|
|
1752
|
+
yAxisTickColor: ((u = this.xyChart) == null ? void 0 : u.yAxisTickColor) || this.primaryTextColor,
|
|
1753
|
+
yAxisLineColor: ((d = this.xyChart) == null ? void 0 : d.yAxisLineColor) || this.primaryTextColor,
|
|
1754
|
+
plotColorPalette: ((f = this.xyChart) == null ? void 0 : f.plotColorPalette) || "#FFF4DD,#FFD8B1,#FFA07A,#ECEFF1,#D6DBDF,#C3E0A8,#FFB6A4,#FFD74D,#738FA7,#FFFFF0"
|
|
1755
|
+
}, this.requirementBackground = this.requirementBackground || this.primaryColor, this.requirementBorderColor = this.requirementBorderColor || this.primaryBorderColor, this.requirementBorderSize = this.requirementBorderSize || "1", this.requirementTextColor = this.requirementTextColor || this.primaryTextColor, this.relationColor = this.relationColor || this.lineColor, this.relationLabelBackground = this.relationLabelBackground || (this.darkMode ? C(this.secondaryColor, 30) : this.secondaryColor), this.relationLabelColor = this.relationLabelColor || this.actorTextColor, this.git0 = this.git0 || "#0b0000", this.git1 = this.git1 || "#4d1037", this.git2 = this.git2 || "#3f5258", this.git3 = this.git3 || "#4f2f1b", this.git4 = this.git4 || "#6e0a0a", this.git5 = this.git5 || "#3b0048", this.git6 = this.git6 || "#995a01", this.git7 = this.git7 || "#154706", this.gitDarkMode = !0, this.gitDarkMode ? (this.git0 = S(this.git0, 25), this.git1 = S(this.git1, 25), this.git2 = S(this.git2, 25), this.git3 = S(this.git3, 25), this.git4 = S(this.git4, 25), this.git5 = S(this.git5, 25), this.git6 = S(this.git6, 25), this.git7 = S(this.git7, 25)) : (this.git0 = C(this.git0, 25), this.git1 = C(this.git1, 25), this.git2 = C(this.git2, 25), this.git3 = C(this.git3, 25), this.git4 = C(this.git4, 25), this.git5 = C(this.git5, 25), this.git6 = C(this.git6, 25), this.git7 = C(this.git7, 25)), this.gitInv0 = this.gitInv0 || E(this.git0), this.gitInv1 = this.gitInv1 || E(this.git1), this.gitInv2 = this.gitInv2 || E(this.git2), this.gitInv3 = this.gitInv3 || E(this.git3), this.gitInv4 = this.gitInv4 || E(this.git4), this.gitInv5 = this.gitInv5 || E(this.git5), this.gitInv6 = this.gitInv6 || E(this.git6), this.gitInv7 = this.gitInv7 || E(this.git7), this.branchLabelColor = this.branchLabelColor || (this.darkMode ? "black" : this.labelTextColor), this.gitBranchLabel0 = this.gitBranchLabel0 || this.branchLabelColor, this.gitBranchLabel1 = this.gitBranchLabel1 || this.branchLabelColor, this.gitBranchLabel2 = this.gitBranchLabel2 || this.branchLabelColor, this.gitBranchLabel3 = this.gitBranchLabel3 || this.branchLabelColor, this.gitBranchLabel4 = this.gitBranchLabel4 || this.branchLabelColor, this.gitBranchLabel5 = this.gitBranchLabel5 || this.branchLabelColor, this.gitBranchLabel6 = this.gitBranchLabel6 || this.branchLabelColor, this.gitBranchLabel7 = this.gitBranchLabel7 || this.branchLabelColor, this.tagLabelColor = this.tagLabelColor || this.primaryTextColor, this.tagLabelBackground = this.tagLabelBackground || this.primaryColor, this.tagLabelBorder = this.tagBorder || this.primaryBorderColor, this.tagLabelFontSize = this.tagLabelFontSize || "10px", this.commitLabelColor = this.commitLabelColor || this.secondaryTextColor, this.commitLabelBackground = this.commitLabelBackground || this.secondaryColor, this.commitLabelFontSize = this.commitLabelFontSize || "10px", this.attributeBackgroundColorOdd = this.attributeBackgroundColorOdd || q, this.attributeBackgroundColorEven = this.attributeBackgroundColorEven || J;
|
|
1756
|
+
}
|
|
1757
|
+
calculate(e) {
|
|
1758
|
+
if (typeof e != "object") {
|
|
1759
|
+
this.updateColors();
|
|
1760
|
+
return;
|
|
1761
|
+
}
|
|
1762
|
+
let t = Object.keys(e);
|
|
1763
|
+
t.forEach((t) => {
|
|
1764
|
+
this[t] = e[t];
|
|
1765
|
+
}), this.updateColors(), t.forEach((t) => {
|
|
1766
|
+
this[t] = e[t];
|
|
1767
|
+
});
|
|
1768
|
+
}
|
|
1769
|
+
}, r(qe, "Theme"), qe), bt = /* @__PURE__ */ r((e) => {
|
|
1770
|
+
let t = new yt();
|
|
1771
|
+
return t.calculate(e), t;
|
|
1772
|
+
}, "getThemeVariables"), xt = (Je = class {
|
|
1773
|
+
constructor() {
|
|
1774
|
+
this.background = "#ffffff", this.primaryColor = "#cccccc", this.mainBkg = "#ffffff", this.noteBkgColor = "#fff5ad", this.noteTextColor = "#28253D", this.THEME_COLOR_LIMIT = 12, this.radius = 12, this.strokeWidth = 2, this.primaryBorderColor = Y("#28253D", this.darkMode), this.fontFamily = "\"Recursive Variable\", arial, sans-serif", this.fontSize = "14px", this.nodeBorder = "#28253D", this.stateBorder = "#28253D", this.useGradient = !1, this.gradientStart = "#0042eb", this.gradientStop = "#eb0042", this.dropShadow = "url(#drop-shadow)", this.nodeShadow = !0, this.tertiaryColor = "#ffffff", this.clusterBkg = "#F9F9FB", this.clusterBorder = "#BDBCCC", this.noteBorderColor = "#FACC15", this.archEdgeColor = "calculated", this.archEdgeArrowColor = "calculated", this.archEdgeWidth = "3", this.archGroupBorderColor = this.primaryBorderColor, this.archGroupBorderWidth = "2px", this.actorBorder = "#28253D", this.filterColor = "#000000";
|
|
1775
|
+
}
|
|
1776
|
+
updateColors() {
|
|
1777
|
+
var e, t, n, r, i, a, o, s, c, l, u, d, f, p;
|
|
1778
|
+
this.primaryTextColor = this.primaryTextColor || (this.darkMode ? "#eee" : "#28253D"), this.secondaryColor = this.secondaryColor || w(this.primaryColor, { h: -120 }), this.tertiaryColor = this.tertiaryColor || w(this.primaryColor, {
|
|
1779
|
+
h: 180,
|
|
1780
|
+
l: 5
|
|
1781
|
+
}), this.primaryBorderColor = this.primaryBorderColor || Y(this.primaryColor, this.darkMode), this.secondaryBorderColor = this.secondaryBorderColor || Y(this.secondaryColor, this.darkMode), this.tertiaryBorderColor = this.tertiaryBorderColor || Y(this.tertiaryColor, this.darkMode), this.noteBorderColor = this.noteBorderColor || Y(this.noteBkgColor, this.darkMode), this.noteBkgColor = this.noteBkgColor || "#FEF9C3", this.noteTextColor = this.noteTextColor || "#28253D", this.secondaryTextColor = this.secondaryTextColor || E(this.secondaryColor), this.tertiaryTextColor = this.tertiaryTextColor || E(this.tertiaryColor), this.lineColor = this.lineColor || E(this.background), this.arrowheadColor = this.arrowheadColor || E(this.background), this.textColor = this.textColor || this.primaryTextColor, this.border2 = this.border2 || this.tertiaryBorderColor, this.nodeBkg = this.nodeBkg || this.primaryColor, this.mainBkg = this.mainBkg || this.primaryColor, this.nodeBorder = this.nodeBorder || this.primaryBorderColor, this.clusterBkg = this.clusterBkg || this.tertiaryColor, this.clusterBorder = this.clusterBorder || this.tertiaryBorderColor, this.defaultLinkColor = this.defaultLinkColor || this.lineColor, this.titleColor = this.titleColor || this.tertiaryTextColor, this.edgeLabelBackground = this.edgeLabelBackground || (this.darkMode ? C(this.secondaryColor, 30) : this.secondaryColor), this.nodeTextColor = this.nodeTextColor || this.primaryTextColor, this.noteFontWeight = 600, this.actorBorder = this.actorBorder || this.primaryBorderColor, this.actorBkg = this.actorBkg || this.mainBkg, this.actorTextColor = this.actorTextColor || this.primaryTextColor, this.actorLineColor = this.actorLineColor || this.actorBorder, this.labelBoxBkgColor = this.labelBoxBkgColor || this.actorBkg, this.signalColor = this.signalColor || this.textColor, this.signalTextColor = this.signalTextColor || this.textColor, this.labelBoxBorderColor = this.labelBoxBorderColor || this.actorBorder, this.labelTextColor = this.labelTextColor || this.actorTextColor, this.loopTextColor = this.loopTextColor || this.actorTextColor, this.activationBorderColor = this.activationBorderColor || C(this.secondaryColor, 10), this.activationBkgColor = this.activationBkgColor || this.secondaryColor, this.sequenceNumberColor = this.sequenceNumberColor || E(this.lineColor);
|
|
1782
|
+
let m = "#ECECFE", h = "#E9E9F1", g = w(m, {
|
|
1783
|
+
h: 180,
|
|
1784
|
+
l: 5
|
|
1785
|
+
});
|
|
1786
|
+
this.sectionBkgColor = this.sectionBkgColor || g, this.altSectionBkgColor = this.altSectionBkgColor || "white", this.sectionBkgColor = this.sectionBkgColor || h, this.sectionBkgColor2 = this.sectionBkgColor2 || m, this.excludeBkgColor = this.excludeBkgColor || "#eeeeee", this.taskBorderColor = this.taskBorderColor || this.primaryBorderColor, this.taskBkgColor = this.taskBkgColor || m, this.activeTaskBorderColor = this.activeTaskBorderColor || m, this.activeTaskBkgColor = this.activeTaskBkgColor || S(m, 23), this.gridColor = this.gridColor || "lightgrey", this.doneTaskBkgColor = this.doneTaskBkgColor || "lightgrey", this.doneTaskBorderColor = this.doneTaskBorderColor || "grey", this.critBorderColor = this.critBorderColor || "#ff8888", this.critBkgColor = this.critBkgColor || "red", this.todayLineColor = this.todayLineColor || "red", this.taskTextColor = this.taskTextColor || this.textColor, this.vertLineColor = this.vertLineColor || this.primaryBorderColor, this.taskTextOutsideColor = this.taskTextOutsideColor || this.textColor, this.taskTextLightColor = this.taskTextLightColor || this.textColor, this.taskTextColor = this.taskTextColor || this.primaryTextColor, this.taskTextDarkColor = this.taskTextDarkColor || this.textColor, this.taskTextClickableColor = this.taskTextClickableColor || "#003163", this.archEdgeColor = this.lineColor, this.archEdgeArrowColor = this.lineColor, this.personBorder = this.personBorder || this.primaryBorderColor, this.personBkg = this.personBkg || this.mainBkg, this.transitionColor = this.transitionColor || this.lineColor, this.transitionLabelColor = this.transitionLabelColor || this.textColor, this.stateLabelColor = this.stateLabelColor || this.stateBkg || this.primaryTextColor, this.compositeTitleBackground = "#F9F9FB", this.altBackground = "#F9F9FB", this.stateEdgeLabelBackground = "#FFFFFF", this.fontWeight = 600, this.stateBkg = this.stateBkg || this.mainBkg, this.labelBackgroundColor = this.labelBackgroundColor || this.stateBkg, this.compositeBackground = this.compositeBackground || this.background || this.tertiaryColor, this.altBackground = this.altBackground || "#f0f0f0", this.compositeTitleBackground = this.compositeTitleBackground || this.mainBkg, this.compositeBorder = this.compositeBorder || this.nodeBorder, this.innerEndBackground = this.nodeBorder, this.errorBkgColor = this.errorBkgColor || this.tertiaryColor, this.errorTextColor = this.errorTextColor || this.tertiaryTextColor, this.transitionColor = this.transitionColor || this.lineColor, this.specialStateColor = this.lineColor;
|
|
1787
|
+
for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this["cScale" + e] = this.mainBkg;
|
|
1788
|
+
if (this.darkMode) for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this["cScale" + e] = C(this["cScale" + e], 75);
|
|
1789
|
+
else for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this["cScale" + e] = C(this["cScale" + e], 25);
|
|
1790
|
+
for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this["cScaleInv" + e] = this["cScaleInv" + e] || E(this["cScale" + e]);
|
|
1791
|
+
for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this.darkMode ? this["cScalePeer" + e] = this["cScalePeer" + e] || S(this["cScale" + e], 10) : this["cScalePeer" + e] = this["cScalePeer" + e] || C(this["cScale" + e], 10);
|
|
1792
|
+
this.scaleLabelColor = this.scaleLabelColor || this.labelTextColor;
|
|
1793
|
+
for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this["cScaleLabel" + e] = this["cScaleLabel" + e] || this.scaleLabelColor;
|
|
1794
|
+
let _ = this.darkMode ? -4 : -1;
|
|
1795
|
+
for (let e = 0; e < 5; e++) this["surface" + e] = this["surface" + e] || w(this.mainBkg, {
|
|
1796
|
+
h: 180,
|
|
1797
|
+
s: -15,
|
|
1798
|
+
l: _ * (5 + e * 3)
|
|
1799
|
+
}), this["surfacePeer" + e] = this["surfacePeer" + e] || w(this.mainBkg, {
|
|
1800
|
+
h: 180,
|
|
1801
|
+
s: -15,
|
|
1802
|
+
l: _ * (8 + e * 3)
|
|
1803
|
+
});
|
|
1804
|
+
this.classText = this.classText || this.textColor, this.fillType0 = this.fillType0 || m, this.fillType1 = this.fillType1 || h, this.fillType2 = this.fillType2 || w(m, { h: 64 }), this.fillType3 = this.fillType3 || w(h, { h: 64 }), this.fillType4 = this.fillType4 || w(m, { h: -64 }), this.fillType5 = this.fillType5 || w(h, { h: -64 }), this.fillType6 = this.fillType6 || w(m, { h: 128 }), this.fillType7 = this.fillType7 || w(h, { h: 128 }), this.pie1 = this.pie1 || m, this.pie2 = this.pie2 || h, this.pie3 = this.pie3 || g, this.pie4 = this.pie4 || w(m, { l: -10 }), this.pie5 = this.pie5 || w(h, { l: -10 }), this.pie6 = this.pie6 || w(g, { l: -10 }), this.pie7 = this.pie7 || w(m, {
|
|
1805
|
+
h: 60,
|
|
1806
|
+
l: -10
|
|
1807
|
+
}), this.pie8 = this.pie8 || w(m, {
|
|
1808
|
+
h: -60,
|
|
1809
|
+
l: -10
|
|
1810
|
+
}), this.pie9 = this.pie9 || w(m, {
|
|
1811
|
+
h: 120,
|
|
1812
|
+
l: 0
|
|
1813
|
+
}), this.pie10 = this.pie10 || w(m, {
|
|
1814
|
+
h: 60,
|
|
1815
|
+
l: -20
|
|
1816
|
+
}), this.pie11 = this.pie11 || w(m, {
|
|
1817
|
+
h: -60,
|
|
1818
|
+
l: -20
|
|
1819
|
+
}), this.pie12 = this.pie12 || w(m, {
|
|
1820
|
+
h: 120,
|
|
1821
|
+
l: -10
|
|
1822
|
+
}), this.pieTitleTextSize = this.pieTitleTextSize || "25px", this.pieTitleTextColor = this.pieTitleTextColor || this.taskTextDarkColor, this.pieSectionTextSize = this.pieSectionTextSize || "17px", this.pieSectionTextColor = this.pieSectionTextColor || this.textColor, this.pieLegendTextSize = this.pieLegendTextSize || "17px", this.pieLegendTextColor = this.pieLegendTextColor || this.taskTextDarkColor, this.pieStrokeColor = this.pieStrokeColor || "black", this.pieStrokeWidth = this.pieStrokeWidth || "2px", this.pieOuterStrokeWidth = this.pieOuterStrokeWidth || "2px", this.pieOuterStrokeColor = this.pieOuterStrokeColor || "black", this.pieOpacity = this.pieOpacity || "0.7", this.vennTitleTextColor = (e = this.vennTitleTextColor) == null ? this.titleColor : e, this.vennSetTextColor = (t = this.vennSetTextColor) == null ? this.textColor : t, this.quadrant1Fill = this.quadrant1Fill || m, this.quadrant2Fill = this.quadrant2Fill || w(m, {
|
|
1823
|
+
r: 5,
|
|
1824
|
+
g: 5,
|
|
1825
|
+
b: 5
|
|
1826
|
+
}), this.quadrant3Fill = this.quadrant3Fill || w(m, {
|
|
1827
|
+
r: 10,
|
|
1828
|
+
g: 10,
|
|
1829
|
+
b: 10
|
|
1830
|
+
}), this.quadrant4Fill = this.quadrant4Fill || w(m, {
|
|
1831
|
+
r: 15,
|
|
1832
|
+
g: 15,
|
|
1833
|
+
b: 15
|
|
1834
|
+
}), this.quadrant1TextFill = this.quadrant1TextFill || this.primaryTextColor, this.quadrant2TextFill = this.quadrant2TextFill || w(this.primaryTextColor, {
|
|
1835
|
+
r: -5,
|
|
1836
|
+
g: -5,
|
|
1837
|
+
b: -5
|
|
1838
|
+
}), this.quadrant3TextFill = this.quadrant3TextFill || w(this.primaryTextColor, {
|
|
1839
|
+
r: -10,
|
|
1840
|
+
g: -10,
|
|
1841
|
+
b: -10
|
|
1842
|
+
}), this.quadrant4TextFill = this.quadrant4TextFill || w(this.primaryTextColor, {
|
|
1843
|
+
r: -15,
|
|
1844
|
+
g: -15,
|
|
1845
|
+
b: -15
|
|
1846
|
+
}), this.quadrantPointFill = this.quadrantPointFill || b(this.quadrant1Fill) ? S(this.quadrant1Fill) : C(this.quadrant1Fill), this.quadrantPointTextFill = this.quadrantPointTextFill || this.primaryTextColor, this.quadrantXAxisTextFill = this.quadrantXAxisTextFill || this.primaryTextColor, this.quadrantYAxisTextFill = this.quadrantYAxisTextFill || this.primaryTextColor, this.quadrantInternalBorderStrokeFill = this.quadrantInternalBorderStrokeFill || this.primaryBorderColor, this.quadrantExternalBorderStrokeFill = this.quadrantExternalBorderStrokeFill || this.primaryBorderColor, this.quadrantTitleFill = this.quadrantTitleFill || this.primaryTextColor, this.xyChart = {
|
|
1847
|
+
backgroundColor: ((n = this.xyChart) == null ? void 0 : n.backgroundColor) || this.background,
|
|
1848
|
+
titleColor: ((r = this.xyChart) == null ? void 0 : r.titleColor) || this.primaryTextColor,
|
|
1849
|
+
xAxisTitleColor: ((i = this.xyChart) == null ? void 0 : i.xAxisTitleColor) || this.primaryTextColor,
|
|
1850
|
+
xAxisLabelColor: ((a = this.xyChart) == null ? void 0 : a.xAxisLabelColor) || this.primaryTextColor,
|
|
1851
|
+
xAxisTickColor: ((o = this.xyChart) == null ? void 0 : o.xAxisTickColor) || this.primaryTextColor,
|
|
1852
|
+
xAxisLineColor: ((s = this.xyChart) == null ? void 0 : s.xAxisLineColor) || this.primaryTextColor,
|
|
1853
|
+
yAxisTitleColor: ((c = this.xyChart) == null ? void 0 : c.yAxisTitleColor) || this.primaryTextColor,
|
|
1854
|
+
yAxisLabelColor: ((l = this.xyChart) == null ? void 0 : l.yAxisLabelColor) || this.primaryTextColor,
|
|
1855
|
+
yAxisTickColor: ((u = this.xyChart) == null ? void 0 : u.yAxisTickColor) || this.primaryTextColor,
|
|
1856
|
+
yAxisLineColor: ((d = this.xyChart) == null ? void 0 : d.yAxisLineColor) || this.primaryTextColor,
|
|
1857
|
+
plotColorPalette: ((f = this.xyChart) == null ? void 0 : f.plotColorPalette) || "#FFF4DD,#FFD8B1,#FFA07A,#ECEFF1,#D6DBDF,#C3E0A8,#FFB6A4,#FFD74D,#738FA7,#FFFFF0"
|
|
1858
|
+
}, this.requirementBackground = this.requirementBackground || m, this.requirementBorderColor = this.requirementBorderColor || this.primaryBorderColor, this.requirementBorderSize = this.requirementBorderSize || "1", this.requirementTextColor = this.requirementTextColor || this.primaryTextColor, this.relationColor = this.relationColor || this.lineColor, this.relationLabelBackground = this.relationLabelBackground || (this.darkMode ? C(this.secondaryColor, 30) : this.secondaryColor), this.relationLabelColor = this.relationLabelColor || this.actorTextColor, this.requirementEdgeLabelBackground = "#FFFFFF", this.git0 = this.git0 || m, this.git1 = this.git1 || h, this.git2 = this.git2 || g, this.git3 = this.git3 || w(m, { h: -30 }), this.git4 = this.git4 || w(m, { h: -60 }), this.git5 = this.git5 || w(m, { h: -90 }), this.git6 = this.git6 || w(m, { h: 60 }), this.git7 = this.git7 || w(m, { h: 120 }), this.darkMode ? (this.git0 = S(this.git0, 25), this.git1 = S(this.git1, 25), this.git2 = S(this.git2, 25), this.git3 = S(this.git3, 25), this.git4 = S(this.git4, 25), this.git5 = S(this.git5, 25), this.git6 = S(this.git6, 25), this.git7 = S(this.git7, 25)) : (this.git0 = C(this.git0, 25), this.git1 = C(this.git1, 25), this.git2 = C(this.git2, 25), this.git3 = C(this.git3, 25), this.git4 = C(this.git4, 25), this.git5 = C(this.git5, 25), this.git6 = C(this.git6, 25), this.git7 = C(this.git7, 25)), this.gitInv0 = this.gitInv0 || E(this.git0), this.gitInv1 = this.gitInv1 || E(this.git1), this.gitInv2 = this.gitInv2 || E(this.git2), this.gitInv3 = this.gitInv3 || E(this.git3), this.gitInv4 = this.gitInv4 || E(this.git4), this.gitInv5 = this.gitInv5 || E(this.git5), this.gitInv6 = this.gitInv6 || E(this.git6), this.gitInv7 = this.gitInv7 || E(this.git7), this.branchLabelColor = this.branchLabelColor || (this.darkMode ? "black" : this.labelTextColor), this.gitBranchLabel0 = this.gitBranchLabel0 || this.branchLabelColor, this.gitBranchLabel1 = this.gitBranchLabel1 || this.branchLabelColor, this.gitBranchLabel2 = this.gitBranchLabel2 || this.branchLabelColor, this.gitBranchLabel3 = this.gitBranchLabel3 || this.branchLabelColor, this.gitBranchLabel4 = this.gitBranchLabel4 || this.branchLabelColor, this.gitBranchLabel5 = this.gitBranchLabel5 || this.branchLabelColor, this.gitBranchLabel6 = this.gitBranchLabel6 || this.branchLabelColor, this.gitBranchLabel7 = this.gitBranchLabel7 || this.branchLabelColor, this.tagLabelColor = this.tagLabelColor || this.primaryTextColor, this.tagLabelBackground = this.tagLabelBackground || this.primaryColor, this.tagLabelBorder = this.tagBorder || this.primaryBorderColor, this.tagLabelFontSize = this.tagLabelFontSize || "10px", this.commitLabelColor = this.commitLabelColor || this.secondaryTextColor, this.commitLabelBackground = this.commitLabelBackground || this.secondaryColor, this.commitLabelFontSize = this.commitLabelFontSize || "10px", this.commitLineColor = (p = this.commitLineColor) == null ? "#BDBCCC" : p, this.erEdgeLabelBackground = "#FFFFFF", this.attributeBackgroundColorOdd = this.attributeBackgroundColorOdd || q, this.attributeBackgroundColorEven = this.attributeBackgroundColorEven || J;
|
|
1859
|
+
}
|
|
1860
|
+
calculate(e) {
|
|
1861
|
+
if (typeof e != "object") {
|
|
1862
|
+
this.updateColors();
|
|
1863
|
+
return;
|
|
1864
|
+
}
|
|
1865
|
+
let t = Object.keys(e);
|
|
1866
|
+
t.forEach((t) => {
|
|
1867
|
+
this[t] = e[t];
|
|
1868
|
+
}), this.updateColors(), t.forEach((t) => {
|
|
1869
|
+
this[t] = e[t];
|
|
1870
|
+
});
|
|
1871
|
+
}
|
|
1872
|
+
}, r(Je, "Theme"), Je), St = /* @__PURE__ */ r((e) => {
|
|
1873
|
+
let t = new xt();
|
|
1874
|
+
return t.calculate(e), t;
|
|
1875
|
+
}, "getThemeVariables"), Ct = (Ye = class {
|
|
1876
|
+
constructor() {
|
|
1877
|
+
var e, t;
|
|
1878
|
+
this.background = "#333", this.primaryColor = "#1f2020", this.secondaryColor = S(this.primaryColor, 16), this.tertiaryColor = w(this.primaryColor, { h: -160 }), this.primaryBorderColor = E(this.background), this.secondaryBorderColor = Y(this.secondaryColor, this.darkMode), this.tertiaryBorderColor = Y(this.tertiaryColor, this.darkMode), this.primaryTextColor = E(this.primaryColor), this.secondaryTextColor = E(this.secondaryColor), this.tertiaryTextColor = E(this.tertiaryColor), this.mainBkg = "#111113", this.secondBkg = "calculated", this.mainContrastColor = "lightgrey", this.darkTextColor = S(E("#323D47"), 10), this.border1 = "#ccc", this.border2 = _(255, 255, 255, .25), this.arrowheadColor = E(this.background), this.fontFamily = "\"Recursive Variable\", arial, sans-serif", this.fontSize = "14px", this.labelBackground = "#111113", this.textColor = "#ccc", this.THEME_COLOR_LIMIT = 12, this.radius = 12, this.strokeWidth = 2, this.noteBkgColor = (e = this.noteBkgColor) == null ? "#FEF9C3" : e, this.noteTextColor = (t = this.noteTextColor) == null ? "#28253D" : t, this.THEME_COLOR_LIMIT = 12, this.fontFamily = "\"Recursive Variable\", arial, sans-serif", this.fontSize = "14px", this.nodeBorder = "#FFFFFF", this.stateBorder = "#FFFFFF", this.useGradient = !1, this.gradientStart = "#0042eb", this.gradientStop = "#eb0042", this.dropShadow = "url(#drop-shadow)", this.nodeShadow = !0, this.archEdgeColor = "calculated", this.archEdgeArrowColor = "calculated", this.archEdgeWidth = "3", this.archGroupBorderColor = this.primaryBorderColor, this.archGroupBorderWidth = "2px", this.clusterBkg = "#1E1A2E", this.clusterBorder = "#BDBCCC", this.noteBorderColor = "#FACC15", this.noteFontWeight = 600, this.filterColor = "#FFFFFF";
|
|
1879
|
+
}
|
|
1880
|
+
updateColors() {
|
|
1881
|
+
var e, t, n, r, i, a, o, s, c, l, u, d, f, p;
|
|
1882
|
+
if (this.primaryTextColor = this.primaryTextColor || (this.darkMode ? "#eee" : "#FFFFFF"), this.secondaryColor = this.secondaryColor || w(this.primaryColor, { h: -120 }), this.tertiaryColor = this.tertiaryColor || w(this.primaryColor, {
|
|
1883
|
+
h: 180,
|
|
1884
|
+
l: 5
|
|
1885
|
+
}), this.primaryBorderColor = this.primaryBorderColor || Y(this.primaryColor, this.darkMode), this.secondaryBorderColor = this.secondaryBorderColor || Y(this.secondaryColor, this.darkMode), this.tertiaryBorderColor = this.tertiaryBorderColor || Y(this.tertiaryColor, this.darkMode), this.noteBorderColor = this.noteBorderColor || Y(this.noteBkgColor, this.darkMode), this.noteBkgColor = this.noteBkgColor || "#fff5ad", this.noteTextColor = this.noteTextColor || "#FFFFFF", this.secondaryTextColor = this.secondaryTextColor || E(this.secondaryColor), this.tertiaryTextColor = this.tertiaryTextColor || E(this.tertiaryColor), this.lineColor = this.lineColor || E(this.background), this.arrowheadColor = this.arrowheadColor || E(this.background), this.textColor = this.textColor || this.primaryTextColor, this.border2 = this.border2 || this.tertiaryBorderColor, this.nodeBkg = this.nodeBkg || this.primaryColor, this.mainBkg = this.mainBkg || this.primaryColor, this.nodeBorder = this.nodeBorder || this.border1, this.clusterBkg = this.clusterBkg || this.tertiaryColor, this.clusterBorder = this.clusterBorder || this.tertiaryBorderColor, this.defaultLinkColor = this.defaultLinkColor || this.lineColor, this.titleColor = this.titleColor || this.tertiaryTextColor, this.edgeLabelBackground = this.edgeLabelBackground || (this.darkMode ? C(this.secondaryColor, 30) : this.secondaryColor), this.nodeTextColor = this.nodeTextColor || this.primaryTextColor, this.actorBorder = "#FFFFFF", this.signalColor = "#FFFFFF", this.labelBoxBorderColor = "#BDBCCC", this.actorBorder = this.actorBorder || this.primaryBorderColor, this.actorBkg = this.actorBkg || this.mainBkg, this.actorTextColor = this.actorTextColor || this.primaryTextColor, this.actorLineColor = this.actorLineColor || this.actorBorder, this.labelBoxBkgColor = this.labelBoxBkgColor || this.actorBkg, this.signalColor = this.signalColor || this.textColor, this.signalTextColor = this.signalTextColor || this.textColor, this.labelBoxBorderColor = this.labelBoxBorderColor || this.actorBorder, this.labelTextColor = this.labelTextColor || this.actorTextColor, this.loopTextColor = this.loopTextColor || this.actorTextColor, this.activationBorderColor = this.activationBorderColor || C(this.secondaryColor, 10), this.activationBkgColor = this.activationBkgColor || this.secondaryColor, this.sequenceNumberColor = this.sequenceNumberColor || E(this.lineColor), this.sectionBkgColor = this.sectionBkgColor || this.tertiaryColor, this.altSectionBkgColor = this.altSectionBkgColor || "white", this.sectionBkgColor = this.sectionBkgColor || this.secondaryColor, this.sectionBkgColor2 = this.sectionBkgColor2 || this.primaryColor, this.excludeBkgColor = this.excludeBkgColor || "#eeeeee", this.taskBorderColor = this.taskBorderColor || this.primaryBorderColor, this.taskBkgColor = this.taskBkgColor || this.primaryColor, this.activeTaskBorderColor = this.activeTaskBorderColor || this.primaryColor, this.activeTaskBkgColor = this.activeTaskBkgColor || S(this.primaryColor, 23), this.gridColor = this.gridColor || "lightgrey", this.doneTaskBkgColor = this.doneTaskBkgColor || "lightgrey", this.doneTaskBorderColor = this.doneTaskBorderColor || "grey", this.critBorderColor = this.critBorderColor || "#ff8888", this.critBkgColor = this.critBkgColor || "red", this.todayLineColor = this.todayLineColor || "red", this.taskTextColor = this.taskTextColor || this.textColor, this.taskTextOutsideColor = this.taskTextOutsideColor || this.textColor, this.taskTextLightColor = this.taskTextLightColor || this.textColor, this.taskTextColor = this.taskTextColor || this.primaryTextColor, this.taskTextDarkColor = this.taskTextDarkColor || this.textColor, this.taskTextClickableColor = this.taskTextClickableColor || "#003163", this.archEdgeColor = this.lineColor, this.archEdgeArrowColor = this.lineColor, this.personBorder = this.personBorder || this.primaryBorderColor, this.personBkg = this.personBkg || this.mainBkg, this.transitionColor = this.transitionColor || this.lineColor, this.transitionLabelColor = this.transitionLabelColor || this.textColor, this.stateLabelColor = this.stateLabelColor || this.stateBkg || this.primaryTextColor, this.vertLineColor = this.vertLineColor || this.primaryBorderColor, this.compositeBackground = "#16141F", this.altBackground = "#16141F", this.compositeTitleBackground = "#16141F", this.stateEdgeLabelBackground = "#16141F", this.fontWeight = 600, this.stateBkg = this.stateBkg || this.mainBkg, this.labelBackgroundColor = this.labelBackgroundColor || this.stateBkg, this.compositeBackground = this.compositeBackground || this.background || this.tertiaryColor, this.altBackground = this.altBackground || "#f0f0f0", this.compositeTitleBackground = this.compositeTitleBackground || this.mainBkg, this.compositeBorder = this.compositeBorder || this.nodeBorder, this.innerEndBackground = this.nodeBorder, this.errorBkgColor = this.errorBkgColor || this.tertiaryColor, this.errorTextColor = this.errorTextColor || this.tertiaryTextColor, this.transitionColor = this.transitionColor || this.lineColor, this.specialStateColor = this.lineColor, this.cScale0 = this.cScale0 || this.primaryColor, this.cScale1 = this.cScale1 || this.secondaryColor, this.cScale2 = this.cScale2 || this.tertiaryColor, this.cScale3 = this.cScale3 || w(this.primaryColor, { h: 30 }), this.cScale4 = this.cScale4 || w(this.primaryColor, { h: 60 }), this.cScale5 = this.cScale5 || w(this.primaryColor, { h: 90 }), this.cScale6 = this.cScale6 || w(this.primaryColor, { h: 120 }), this.cScale7 = this.cScale7 || w(this.primaryColor, { h: 150 }), this.cScale8 = this.cScale8 || w(this.primaryColor, {
|
|
1886
|
+
h: 210,
|
|
1887
|
+
l: 150
|
|
1888
|
+
}), this.cScale9 = this.cScale9 || w(this.primaryColor, { h: 270 }), this.cScale10 = this.cScale10 || w(this.primaryColor, { h: 300 }), this.cScale11 = this.cScale11 || w(this.primaryColor, { h: 330 }), this.darkMode) for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this["cScale" + e] = C(this["cScale" + e], 75);
|
|
1889
|
+
else for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this["cScale" + e] = C(this["cScale" + e], 25);
|
|
1890
|
+
for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this["cScaleInv" + e] = this["cScaleInv" + e] || E(this["cScale" + e]);
|
|
1891
|
+
for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this.darkMode ? this["cScalePeer" + e] = this["cScalePeer" + e] || S(this["cScale" + e], 10) : this["cScalePeer" + e] = this["cScalePeer" + e] || C(this["cScale" + e], 10);
|
|
1892
|
+
this.scaleLabelColor = this.scaleLabelColor || this.labelTextColor;
|
|
1893
|
+
for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this["cScaleLabel" + e] = this["cScaleLabel" + e] || this.scaleLabelColor;
|
|
1894
|
+
let m = this.darkMode ? -4 : -1;
|
|
1895
|
+
for (let e = 0; e < 5; e++) this["surface" + e] = this["surface" + e] || w(this.mainBkg, {
|
|
1896
|
+
h: 180,
|
|
1897
|
+
s: -15,
|
|
1898
|
+
l: m * (5 + e * 3)
|
|
1899
|
+
}), this["surfacePeer" + e] = this["surfacePeer" + e] || w(this.mainBkg, {
|
|
1900
|
+
h: 180,
|
|
1901
|
+
s: -15,
|
|
1902
|
+
l: m * (8 + e * 3)
|
|
1903
|
+
});
|
|
1904
|
+
this.classText = this.classText || this.textColor, this.fillType0 = this.fillType0 || this.primaryColor, this.fillType1 = this.fillType1 || this.secondaryColor, this.fillType2 = this.fillType2 || w(this.primaryColor, { h: 64 }), this.fillType3 = this.fillType3 || w(this.secondaryColor, { h: 64 }), this.fillType4 = this.fillType4 || w(this.primaryColor, { h: -64 }), this.fillType5 = this.fillType5 || w(this.secondaryColor, { h: -64 }), this.fillType6 = this.fillType6 || w(this.primaryColor, { h: 128 }), this.fillType7 = this.fillType7 || w(this.secondaryColor, { h: 128 }), this.pie1 = this.pie1 || this.primaryColor, this.pie2 = this.pie2 || this.secondaryColor, this.pie3 = this.pie3 || this.tertiaryColor, this.pie4 = this.pie4 || w(this.primaryColor, { l: -10 }), this.pie5 = this.pie5 || w(this.secondaryColor, { l: -10 }), this.pie6 = this.pie6 || w(this.tertiaryColor, { l: -10 }), this.pie7 = this.pie7 || w(this.primaryColor, {
|
|
1905
|
+
h: 60,
|
|
1906
|
+
l: -10
|
|
1907
|
+
}), this.pie8 = this.pie8 || w(this.primaryColor, {
|
|
1908
|
+
h: -60,
|
|
1909
|
+
l: -10
|
|
1910
|
+
}), this.pie9 = this.pie9 || w(this.primaryColor, {
|
|
1911
|
+
h: 120,
|
|
1912
|
+
l: 0
|
|
1913
|
+
}), this.pie10 = this.pie10 || w(this.primaryColor, {
|
|
1914
|
+
h: 60,
|
|
1915
|
+
l: -20
|
|
1916
|
+
}), this.pie11 = this.pie11 || w(this.primaryColor, {
|
|
1917
|
+
h: -60,
|
|
1918
|
+
l: -20
|
|
1919
|
+
}), this.pie12 = this.pie12 || w(this.primaryColor, {
|
|
1920
|
+
h: 120,
|
|
1921
|
+
l: -10
|
|
1922
|
+
}), this.pieTitleTextSize = this.pieTitleTextSize || "25px", this.pieTitleTextColor = this.pieTitleTextColor || this.taskTextDarkColor, this.pieSectionTextSize = this.pieSectionTextSize || "17px", this.pieSectionTextColor = this.pieSectionTextColor || this.textColor, this.pieLegendTextSize = this.pieLegendTextSize || "17px", this.pieLegendTextColor = this.pieLegendTextColor || this.taskTextDarkColor, this.pieStrokeColor = this.pieStrokeColor || "black", this.pieStrokeWidth = this.pieStrokeWidth || "2px", this.pieOuterStrokeWidth = this.pieOuterStrokeWidth || "2px", this.pieOuterStrokeColor = this.pieOuterStrokeColor || "black", this.pieOpacity = this.pieOpacity || "0.7", this.vennTitleTextColor = (e = this.vennTitleTextColor) == null ? this.titleColor : e, this.vennSetTextColor = (t = this.vennSetTextColor) == null ? this.textColor : t, this.quadrant1Fill = this.quadrant1Fill || this.primaryColor, this.quadrant2Fill = this.quadrant2Fill || w(this.primaryColor, {
|
|
1923
|
+
r: 5,
|
|
1924
|
+
g: 5,
|
|
1925
|
+
b: 5
|
|
1926
|
+
}), this.quadrant3Fill = this.quadrant3Fill || w(this.primaryColor, {
|
|
1927
|
+
r: 10,
|
|
1928
|
+
g: 10,
|
|
1929
|
+
b: 10
|
|
1930
|
+
}), this.quadrant4Fill = this.quadrant4Fill || w(this.primaryColor, {
|
|
1931
|
+
r: 15,
|
|
1932
|
+
g: 15,
|
|
1933
|
+
b: 15
|
|
1934
|
+
}), this.quadrant1TextFill = this.quadrant1TextFill || this.primaryTextColor, this.quadrant2TextFill = this.quadrant2TextFill || w(this.primaryTextColor, {
|
|
1935
|
+
r: -5,
|
|
1936
|
+
g: -5,
|
|
1937
|
+
b: -5
|
|
1938
|
+
}), this.quadrant3TextFill = this.quadrant3TextFill || w(this.primaryTextColor, {
|
|
1939
|
+
r: -10,
|
|
1940
|
+
g: -10,
|
|
1941
|
+
b: -10
|
|
1942
|
+
}), this.quadrant4TextFill = this.quadrant4TextFill || w(this.primaryTextColor, {
|
|
1943
|
+
r: -15,
|
|
1944
|
+
g: -15,
|
|
1945
|
+
b: -15
|
|
1946
|
+
}), this.quadrantPointFill = this.quadrantPointFill || b(this.quadrant1Fill) ? S(this.quadrant1Fill) : C(this.quadrant1Fill), this.quadrantPointTextFill = this.quadrantPointTextFill || this.primaryTextColor, this.quadrantXAxisTextFill = this.quadrantXAxisTextFill || this.primaryTextColor, this.quadrantYAxisTextFill = this.quadrantYAxisTextFill || this.primaryTextColor, this.quadrantInternalBorderStrokeFill = this.quadrantInternalBorderStrokeFill || this.primaryBorderColor, this.quadrantExternalBorderStrokeFill = this.quadrantExternalBorderStrokeFill || this.primaryBorderColor, this.quadrantTitleFill = this.quadrantTitleFill || this.primaryTextColor, this.xyChart = {
|
|
1947
|
+
backgroundColor: ((n = this.xyChart) == null ? void 0 : n.backgroundColor) || this.background,
|
|
1948
|
+
titleColor: ((r = this.xyChart) == null ? void 0 : r.titleColor) || this.primaryTextColor,
|
|
1949
|
+
xAxisTitleColor: ((i = this.xyChart) == null ? void 0 : i.xAxisTitleColor) || this.primaryTextColor,
|
|
1950
|
+
xAxisLabelColor: ((a = this.xyChart) == null ? void 0 : a.xAxisLabelColor) || this.primaryTextColor,
|
|
1951
|
+
xAxisTickColor: ((o = this.xyChart) == null ? void 0 : o.xAxisTickColor) || this.primaryTextColor,
|
|
1952
|
+
xAxisLineColor: ((s = this.xyChart) == null ? void 0 : s.xAxisLineColor) || this.primaryTextColor,
|
|
1953
|
+
yAxisTitleColor: ((c = this.xyChart) == null ? void 0 : c.yAxisTitleColor) || this.primaryTextColor,
|
|
1954
|
+
yAxisLabelColor: ((l = this.xyChart) == null ? void 0 : l.yAxisLabelColor) || this.primaryTextColor,
|
|
1955
|
+
yAxisTickColor: ((u = this.xyChart) == null ? void 0 : u.yAxisTickColor) || this.primaryTextColor,
|
|
1956
|
+
yAxisLineColor: ((d = this.xyChart) == null ? void 0 : d.yAxisLineColor) || this.primaryTextColor,
|
|
1957
|
+
plotColorPalette: ((f = this.xyChart) == null ? void 0 : f.plotColorPalette) || "#FFF4DD,#FFD8B1,#FFA07A,#ECEFF1,#D6DBDF,#C3E0A8,#FFB6A4,#FFD74D,#738FA7,#FFFFF0"
|
|
1958
|
+
}, this.requirementBackground = this.requirementBackground || this.primaryColor, this.requirementBorderColor = this.requirementBorderColor || this.primaryBorderColor, this.requirementBorderSize = this.requirementBorderSize || "1", this.requirementTextColor = this.requirementTextColor || this.primaryTextColor, this.relationColor = this.relationColor || this.lineColor, this.relationLabelBackground = this.relationLabelBackground || (this.darkMode ? C(this.secondaryColor, 30) : this.secondaryColor), this.relationLabelColor = this.relationLabelColor || this.actorTextColor, this.requirementEdgeLabelBackground = "#16141F", this.git0 = this.git0 || this.primaryColor, this.git1 = this.git1 || this.secondaryColor, this.git2 = this.git2 || this.tertiaryColor, this.git3 = this.git3 || w(this.primaryColor, { h: -30 }), this.git4 = this.git4 || w(this.primaryColor, { h: -60 }), this.git5 = this.git5 || w(this.primaryColor, { h: -90 }), this.git6 = this.git6 || w(this.primaryColor, { h: 60 }), this.git7 = this.git7 || w(this.primaryColor, { h: 120 }), this.darkMode ? (this.git0 = S(this.git0, 25), this.git1 = S(this.git1, 25), this.git2 = S(this.git2, 25), this.git3 = S(this.git3, 25), this.git4 = S(this.git4, 25), this.git5 = S(this.git5, 25), this.git6 = S(this.git6, 25), this.git7 = S(this.git7, 25)) : (this.git0 = C(this.git0, 25), this.git1 = C(this.git1, 25), this.git2 = C(this.git2, 25), this.git3 = C(this.git3, 25), this.git4 = C(this.git4, 25), this.git5 = C(this.git5, 25), this.git6 = C(this.git6, 25), this.git7 = C(this.git7, 25)), this.gitInv0 = this.gitInv0 || E(this.git0), this.gitInv1 = this.gitInv1 || E(this.git1), this.gitInv2 = this.gitInv2 || E(this.git2), this.gitInv3 = this.gitInv3 || E(this.git3), this.gitInv4 = this.gitInv4 || E(this.git4), this.gitInv5 = this.gitInv5 || E(this.git5), this.gitInv6 = this.gitInv6 || E(this.git6), this.gitInv7 = this.gitInv7 || E(this.git7), this.branchLabelColor = this.branchLabelColor || (this.darkMode ? "black" : this.labelTextColor), this.gitBranchLabel0 = this.gitBranchLabel0 || this.branchLabelColor, this.gitBranchLabel1 = this.gitBranchLabel1 || this.branchLabelColor, this.gitBranchLabel2 = this.gitBranchLabel2 || this.branchLabelColor, this.gitBranchLabel3 = this.gitBranchLabel3 || this.branchLabelColor, this.gitBranchLabel4 = this.gitBranchLabel4 || this.branchLabelColor, this.gitBranchLabel5 = this.gitBranchLabel5 || this.branchLabelColor, this.gitBranchLabel6 = this.gitBranchLabel6 || this.branchLabelColor, this.gitBranchLabel7 = this.gitBranchLabel7 || this.branchLabelColor, this.tagLabelColor = this.tagLabelColor || this.primaryTextColor, this.tagLabelBackground = this.tagLabelBackground || this.primaryColor, this.tagLabelBorder = this.tagBorder || this.primaryBorderColor, this.tagLabelFontSize = this.tagLabelFontSize || "10px", this.commitLabelColor = this.commitLabelColor || this.secondaryTextColor, this.commitLabelBackground = this.commitLabelBackground || this.secondaryColor, this.commitLabelFontSize = this.commitLabelFontSize || "10px", this.commitLineColor = (p = this.commitLineColor) == null ? "#BDBCCC" : p, this.erEdgeLabelBackground = "#16141F", this.attributeBackgroundColorOdd = this.attributeBackgroundColorOdd || q, this.attributeBackgroundColorEven = this.attributeBackgroundColorEven || J;
|
|
1959
|
+
}
|
|
1960
|
+
calculate(e) {
|
|
1961
|
+
if (typeof e != "object") {
|
|
1962
|
+
this.updateColors();
|
|
1963
|
+
return;
|
|
1964
|
+
}
|
|
1965
|
+
let t = Object.keys(e);
|
|
1966
|
+
t.forEach((t) => {
|
|
1967
|
+
this[t] = e[t];
|
|
1968
|
+
}), this.updateColors(), t.forEach((t) => {
|
|
1969
|
+
this[t] = e[t];
|
|
1970
|
+
});
|
|
1971
|
+
}
|
|
1972
|
+
}, r(Ye, "Theme"), Ye), wt = /* @__PURE__ */ r((e) => {
|
|
1973
|
+
let t = new Ct();
|
|
1974
|
+
return t.calculate(e), t;
|
|
1975
|
+
}, "getThemeVariables"), Tt = (Xe = class {
|
|
1976
|
+
constructor() {
|
|
1977
|
+
this.background = "#ffffff", this.primaryColor = "#cccccc", this.mainBkg = "#ffffff", this.noteBkgColor = "#fff5ad", this.noteTextColor = "#28253D", this.THEME_COLOR_LIMIT = 12, this.radius = 12, this.strokeWidth = 2, this.primaryBorderColor = Y(this.primaryColor, this.darkMode), this.fontFamily = "\"Recursive Variable\", arial, sans-serif", this.fontSize = "14px", this.nodeBorder = "#28253D", this.stateBorder = "#28253D", this.useGradient = !1, this.gradientStart = "#0042eb", this.gradientStop = "#eb0042", this.dropShadow = "url(#drop-shadow)", this.nodeShadow = !0, this.tertiaryColor = "#ffffff", this.archEdgeColor = "calculated", this.archEdgeArrowColor = "calculated", this.archEdgeWidth = "3", this.archGroupBorderColor = this.primaryBorderColor, this.archGroupBorderWidth = "2px", this.actorBorder = "#28253D", this.noteBorderColor = "#FACC15", this.noteFontWeight = 600, this.borderColorArray = [
|
|
1978
|
+
"#E879F9",
|
|
1979
|
+
"#2DD4BF",
|
|
1980
|
+
"#FB923C",
|
|
1981
|
+
"#22D3EE",
|
|
1982
|
+
"#4ADE80",
|
|
1983
|
+
"#A78BFA",
|
|
1984
|
+
"#F87171",
|
|
1985
|
+
"#FACC15",
|
|
1986
|
+
"#818CF8",
|
|
1987
|
+
"#A3E635 ",
|
|
1988
|
+
"#38BDF8",
|
|
1989
|
+
"#FB7185"
|
|
1990
|
+
], this.bkgColorArray = [
|
|
1991
|
+
"#FDF4FF",
|
|
1992
|
+
"#F0FDFA",
|
|
1993
|
+
"#FFF7ED",
|
|
1994
|
+
"#ECFEFF",
|
|
1995
|
+
"#F0FDF4",
|
|
1996
|
+
"#F5F3FF",
|
|
1997
|
+
"#FEF2F2",
|
|
1998
|
+
"#FEFCE8",
|
|
1999
|
+
"#EEF2FF",
|
|
2000
|
+
"#F7FEE7",
|
|
2001
|
+
"#F0F9FF",
|
|
2002
|
+
"#FFF1F2"
|
|
2003
|
+
], this.filterColor = "#000000";
|
|
2004
|
+
}
|
|
2005
|
+
updateColors() {
|
|
2006
|
+
var e, t, n, r, i, a, o, s, c, l, u, d, f, p;
|
|
2007
|
+
this.primaryTextColor = this.primaryTextColor || (this.darkMode ? "#eee" : "#28253D"), this.secondaryColor = this.secondaryColor || w(this.primaryColor, { h: -120 }), this.tertiaryColor = this.tertiaryColor || w(this.primaryColor, {
|
|
2008
|
+
h: 180,
|
|
2009
|
+
l: 5
|
|
2010
|
+
}), this.primaryBorderColor = this.primaryBorderColor || Y(this.primaryColor, this.darkMode), this.secondaryBorderColor = this.secondaryBorderColor || Y(this.secondaryColor, this.darkMode), this.tertiaryBorderColor = this.tertiaryBorderColor || Y(this.tertiaryColor, this.darkMode), this.noteBorderColor = this.noteBorderColor || Y(this.noteBkgColor, this.darkMode), this.noteBkgColor = this.noteBkgColor || "#fff5ad", this.noteTextColor = this.noteTextColor || "#28253D", this.secondaryTextColor = this.secondaryTextColor || E(this.secondaryColor), this.tertiaryTextColor = this.tertiaryTextColor || E(this.tertiaryColor), this.lineColor = this.lineColor || E(this.background), this.arrowheadColor = this.arrowheadColor || E(this.background), this.textColor = this.textColor || this.primaryTextColor, this.border2 = this.border2 || this.tertiaryBorderColor, this.nodeBkg = this.nodeBkg || this.primaryColor, this.mainBkg = this.mainBkg || this.primaryColor, this.nodeBorder = this.nodeBorder || this.primaryBorderColor, this.clusterBkg = this.clusterBkg || this.tertiaryColor, this.clusterBorder = this.clusterBorder || this.tertiaryBorderColor, this.defaultLinkColor = this.defaultLinkColor || this.lineColor, this.titleColor = this.titleColor || this.tertiaryTextColor, this.edgeLabelBackground = this.edgeLabelBackground || (this.darkMode ? C(this.secondaryColor, 30) : this.secondaryColor), this.nodeTextColor = this.nodeTextColor || this.primaryTextColor, this.actorBorder = this.actorBorder || this.primaryBorderColor, this.actorBkg = this.actorBkg || this.mainBkg, this.actorTextColor = this.actorTextColor || this.primaryTextColor, this.actorLineColor = this.actorLineColor || this.actorBorder, this.labelBoxBkgColor = this.labelBoxBkgColor || this.actorBkg, this.signalColor = this.signalColor || this.textColor, this.signalTextColor = this.signalTextColor || this.textColor, this.labelBoxBorderColor = this.labelBoxBorderColor || this.actorBorder, this.labelTextColor = this.labelTextColor || this.actorTextColor, this.loopTextColor = this.loopTextColor || this.actorTextColor, this.activationBorderColor = this.activationBorderColor || C(this.secondaryColor, 10), this.activationBkgColor = this.activationBkgColor || this.secondaryColor, this.sequenceNumberColor = this.sequenceNumberColor || E(this.lineColor);
|
|
2011
|
+
let m = "#ECECFE", h = "#E9E9F1", g = w(m, {
|
|
2012
|
+
h: 180,
|
|
2013
|
+
l: 5
|
|
2014
|
+
});
|
|
2015
|
+
this.sectionBkgColor = this.sectionBkgColor || g, this.altSectionBkgColor = this.altSectionBkgColor || "white", this.sectionBkgColor = this.sectionBkgColor || h, this.sectionBkgColor2 = this.sectionBkgColor2 || m, this.excludeBkgColor = this.excludeBkgColor || "#eeeeee", this.taskBorderColor = this.taskBorderColor || this.primaryBorderColor, this.taskBkgColor = this.taskBkgColor || m, this.activeTaskBorderColor = this.activeTaskBorderColor || m, this.activeTaskBkgColor = this.activeTaskBkgColor || S(m, 23), this.gridColor = this.gridColor || "lightgrey", this.doneTaskBkgColor = this.doneTaskBkgColor || "lightgrey", this.doneTaskBorderColor = this.doneTaskBorderColor || "grey", this.critBorderColor = this.critBorderColor || "#ff8888", this.critBkgColor = this.critBkgColor || "red", this.todayLineColor = this.todayLineColor || "red", this.taskTextColor = this.taskTextColor || this.textColor, this.vertLineColor = this.vertLineColor || this.primaryBorderColor, this.taskTextOutsideColor = this.taskTextOutsideColor || this.textColor, this.taskTextLightColor = this.taskTextLightColor || this.textColor, this.taskTextColor = this.taskTextColor || this.primaryTextColor, this.taskTextDarkColor = this.taskTextDarkColor || this.textColor, this.taskTextClickableColor = this.taskTextClickableColor || "#003163", this.archEdgeColor = this.lineColor, this.archEdgeArrowColor = this.lineColor, this.personBorder = this.personBorder || this.primaryBorderColor, this.personBkg = this.personBkg || this.mainBkg, this.transitionColor = this.transitionColor || this.lineColor, this.transitionLabelColor = this.transitionLabelColor || this.textColor, this.stateLabelColor = this.stateLabelColor || this.stateBkg || this.primaryTextColor, this.stateBkg = this.stateBkg || this.mainBkg, this.labelBackgroundColor = this.labelBackgroundColor || this.stateBkg, this.compositeBackground = this.compositeBackground || this.background || this.tertiaryColor, this.altBackground = this.altBackground || "#f0f0f0", this.compositeTitleBackground = this.compositeTitleBackground || this.mainBkg, this.compositeBorder = this.compositeBorder || this.nodeBorder, this.innerEndBackground = this.nodeBorder, this.errorBkgColor = this.errorBkgColor || this.tertiaryColor, this.errorTextColor = this.errorTextColor || this.tertiaryTextColor, this.transitionColor = this.transitionColor || this.lineColor, this.specialStateColor = this.lineColor, this.cScale0 = this.cScale0 || "#f4a8ff", this.cScale1 = this.cScale1 || "#46ecd5", this.cScale2 = this.cScale2 || "#ffb86a", this.cScale3 = this.cScale3 || "#dab2ff", this.cScale4 = this.cScale4 || "#7bf1a8", this.cScale5 = this.cScale5 || "#c4b4ff", this.cScale6 = this.cScale6 || "#ffa2a2", this.cScale7 = this.cScale7 || "#ffdf20", this.cScale8 = this.cScale8 || "#a3b3ff", this.cScale9 = this.cScale9 || "#bbf451", this.cScale10 = this.cScale10 || "#74d4ff", this.cScale11 = this.cScale11 || "#ffa1ad";
|
|
2016
|
+
for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this["cScaleInv" + e] = this["cScaleInv" + e] || E(this["cScale" + e]);
|
|
2017
|
+
for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this.darkMode ? this["cScalePeer" + e] = this["cScalePeer" + e] || S(this["cScale" + e], 10) : this["cScalePeer" + e] = this["cScalePeer" + e] || C(this["cScale" + e], 10);
|
|
2018
|
+
this.scaleLabelColor = this.scaleLabelColor || this.labelTextColor;
|
|
2019
|
+
for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this["cScaleLabel" + e] = this["cScaleLabel" + e] || this.scaleLabelColor;
|
|
2020
|
+
let _ = this.darkMode ? -4 : -1;
|
|
2021
|
+
for (let e = 0; e < 5; e++) this["surface" + e] = this["surface" + e] || w(this.mainBkg, {
|
|
2022
|
+
h: 180,
|
|
2023
|
+
s: -15,
|
|
2024
|
+
l: _ * (5 + e * 3)
|
|
2025
|
+
}), this["surfacePeer" + e] = this["surfacePeer" + e] || w(this.mainBkg, {
|
|
2026
|
+
h: 180,
|
|
2027
|
+
s: -15,
|
|
2028
|
+
l: _ * (8 + e * 3)
|
|
2029
|
+
});
|
|
2030
|
+
this.classText = this.classText || this.textColor, this.fillType0 = this.fillType0 || m, this.fillType1 = this.fillType1 || h, this.fillType2 = this.fillType2 || w(m, { h: 64 }), this.fillType3 = this.fillType3 || w(h, { h: 64 }), this.fillType4 = this.fillType4 || w(m, { h: -64 }), this.fillType5 = this.fillType5 || w(h, { h: -64 }), this.fillType6 = this.fillType6 || w(m, { h: 128 }), this.fillType7 = this.fillType7 || w(h, { h: 128 }), this.pie1 = this.pie1 || m, this.pie2 = this.pie2 || h, this.pie3 = this.pie3 || g, this.pie4 = this.pie4 || w(m, { l: -10 }), this.pie5 = this.pie5 || w(h, { l: -10 }), this.pie6 = this.pie6 || w(g, { l: -10 }), this.pie7 = this.pie7 || w(m, {
|
|
2031
|
+
h: 60,
|
|
2032
|
+
l: -10
|
|
2033
|
+
}), this.pie8 = this.pie8 || w(m, {
|
|
2034
|
+
h: -60,
|
|
2035
|
+
l: -10
|
|
2036
|
+
}), this.pie9 = this.pie9 || w(m, {
|
|
2037
|
+
h: 120,
|
|
2038
|
+
l: 0
|
|
2039
|
+
}), this.pie10 = this.pie10 || w(m, {
|
|
2040
|
+
h: 60,
|
|
2041
|
+
l: -20
|
|
2042
|
+
}), this.pie11 = this.pie11 || w(m, {
|
|
2043
|
+
h: -60,
|
|
2044
|
+
l: -20
|
|
2045
|
+
}), this.pie12 = this.pie12 || w(m, {
|
|
2046
|
+
h: 120,
|
|
2047
|
+
l: -10
|
|
2048
|
+
}), this.pieTitleTextSize = this.pieTitleTextSize || "25px", this.pieTitleTextColor = this.pieTitleTextColor || this.taskTextDarkColor, this.pieSectionTextSize = this.pieSectionTextSize || "17px", this.pieSectionTextColor = this.pieSectionTextColor || this.textColor, this.pieLegendTextSize = this.pieLegendTextSize || "17px", this.pieLegendTextColor = this.pieLegendTextColor || this.taskTextDarkColor, this.pieStrokeColor = this.pieStrokeColor || "black", this.pieStrokeWidth = this.pieStrokeWidth || "2px", this.pieOuterStrokeWidth = this.pieOuterStrokeWidth || "2px", this.pieOuterStrokeColor = this.pieOuterStrokeColor || "black", this.pieOpacity = this.pieOpacity || "0.7", this.vennTitleTextColor = (e = this.vennTitleTextColor) == null ? this.titleColor : e, this.vennSetTextColor = (t = this.vennSetTextColor) == null ? this.textColor : t, this.quadrant1Fill = this.quadrant1Fill || m, this.quadrant2Fill = this.quadrant2Fill || w(m, {
|
|
2049
|
+
r: 5,
|
|
2050
|
+
g: 5,
|
|
2051
|
+
b: 5
|
|
2052
|
+
}), this.quadrant3Fill = this.quadrant3Fill || w(m, {
|
|
2053
|
+
r: 10,
|
|
2054
|
+
g: 10,
|
|
2055
|
+
b: 10
|
|
2056
|
+
}), this.quadrant4Fill = this.quadrant4Fill || w(m, {
|
|
2057
|
+
r: 15,
|
|
2058
|
+
g: 15,
|
|
2059
|
+
b: 15
|
|
2060
|
+
}), this.quadrant1TextFill = this.quadrant1TextFill || this.primaryTextColor, this.quadrant2TextFill = this.quadrant2TextFill || w(this.primaryTextColor, {
|
|
2061
|
+
r: -5,
|
|
2062
|
+
g: -5,
|
|
2063
|
+
b: -5
|
|
2064
|
+
}), this.quadrant3TextFill = this.quadrant3TextFill || w(this.primaryTextColor, {
|
|
2065
|
+
r: -10,
|
|
2066
|
+
g: -10,
|
|
2067
|
+
b: -10
|
|
2068
|
+
}), this.quadrant4TextFill = this.quadrant4TextFill || w(this.primaryTextColor, {
|
|
2069
|
+
r: -15,
|
|
2070
|
+
g: -15,
|
|
2071
|
+
b: -15
|
|
2072
|
+
}), this.quadrantPointFill = this.quadrantPointFill || b(this.quadrant1Fill) ? S(this.quadrant1Fill) : C(this.quadrant1Fill), this.quadrantPointTextFill = this.quadrantPointTextFill || this.primaryTextColor, this.quadrantXAxisTextFill = this.quadrantXAxisTextFill || this.primaryTextColor, this.quadrantYAxisTextFill = this.quadrantYAxisTextFill || this.primaryTextColor, this.quadrantInternalBorderStrokeFill = this.quadrantInternalBorderStrokeFill || this.primaryBorderColor, this.quadrantExternalBorderStrokeFill = this.quadrantExternalBorderStrokeFill || this.primaryBorderColor, this.quadrantTitleFill = this.quadrantTitleFill || this.primaryTextColor, this.xyChart = {
|
|
2073
|
+
backgroundColor: ((n = this.xyChart) == null ? void 0 : n.backgroundColor) || this.background,
|
|
2074
|
+
titleColor: ((r = this.xyChart) == null ? void 0 : r.titleColor) || this.primaryTextColor,
|
|
2075
|
+
xAxisTitleColor: ((i = this.xyChart) == null ? void 0 : i.xAxisTitleColor) || this.primaryTextColor,
|
|
2076
|
+
xAxisLabelColor: ((a = this.xyChart) == null ? void 0 : a.xAxisLabelColor) || this.primaryTextColor,
|
|
2077
|
+
xAxisTickColor: ((o = this.xyChart) == null ? void 0 : o.xAxisTickColor) || this.primaryTextColor,
|
|
2078
|
+
xAxisLineColor: ((s = this.xyChart) == null ? void 0 : s.xAxisLineColor) || this.primaryTextColor,
|
|
2079
|
+
yAxisTitleColor: ((c = this.xyChart) == null ? void 0 : c.yAxisTitleColor) || this.primaryTextColor,
|
|
2080
|
+
yAxisLabelColor: ((l = this.xyChart) == null ? void 0 : l.yAxisLabelColor) || this.primaryTextColor,
|
|
2081
|
+
yAxisTickColor: ((u = this.xyChart) == null ? void 0 : u.yAxisTickColor) || this.primaryTextColor,
|
|
2082
|
+
yAxisLineColor: ((d = this.xyChart) == null ? void 0 : d.yAxisLineColor) || this.primaryTextColor,
|
|
2083
|
+
plotColorPalette: ((f = this.xyChart) == null ? void 0 : f.plotColorPalette) || "#FFF4DD,#FFD8B1,#FFA07A,#ECEFF1,#D6DBDF,#C3E0A8,#FFB6A4,#FFD74D,#738FA7,#FFFFF0"
|
|
2084
|
+
}, this.requirementBackground = this.requirementBackground || m, this.requirementBorderColor = this.requirementBorderColor || this.primaryBorderColor, this.requirementBorderSize = this.requirementBorderSize || "1", this.requirementTextColor = this.requirementTextColor || this.primaryTextColor, this.relationColor = this.relationColor || this.lineColor, this.relationLabelBackground = this.relationLabelBackground || (this.darkMode ? C(this.secondaryColor, 30) : this.secondaryColor), this.relationLabelColor = this.relationLabelColor || this.actorTextColor, this.git0 = this.git0 || m, this.git1 = this.git1 || h, this.git2 = this.git2 || g, this.git3 = this.git3 || w(m, { h: -30 }), this.git4 = this.git4 || w(m, { h: -60 }), this.git5 = this.git5 || w(m, { h: -90 }), this.git6 = this.git6 || w(m, { h: 60 }), this.git7 = this.git7 || w(m, { h: 120 }), this.darkMode ? (this.git0 = S(this.git0, 25), this.git1 = S(this.git1, 25), this.git2 = S(this.git2, 25), this.git3 = S(this.git3, 25), this.git4 = S(this.git4, 25), this.git5 = S(this.git5, 25), this.git6 = S(this.git6, 25), this.git7 = S(this.git7, 25)) : (this.git0 = C(this.git0, 25), this.git1 = C(this.git1, 25), this.git2 = C(this.git2, 25), this.git3 = C(this.git3, 25), this.git4 = C(this.git4, 25), this.git5 = C(this.git5, 25), this.git6 = C(this.git6, 25), this.git7 = C(this.git7, 25)), this.gitInv0 = this.gitInv0 || E(this.git0), this.gitInv1 = this.gitInv1 || E(this.git1), this.gitInv2 = this.gitInv2 || E(this.git2), this.gitInv3 = this.gitInv3 || E(this.git3), this.gitInv4 = this.gitInv4 || E(this.git4), this.gitInv5 = this.gitInv5 || E(this.git5), this.gitInv6 = this.gitInv6 || E(this.git6), this.gitInv7 = this.gitInv7 || E(this.git7), this.branchLabelColor = this.branchLabelColor || (this.darkMode ? "black" : this.labelTextColor), this.gitBranchLabel0 = this.gitBranchLabel0 || this.branchLabelColor, this.gitBranchLabel1 = this.gitBranchLabel1 || this.branchLabelColor, this.gitBranchLabel2 = this.gitBranchLabel2 || this.branchLabelColor, this.gitBranchLabel3 = this.gitBranchLabel3 || this.branchLabelColor, this.gitBranchLabel4 = this.gitBranchLabel4 || this.branchLabelColor, this.gitBranchLabel5 = this.gitBranchLabel5 || this.branchLabelColor, this.gitBranchLabel6 = this.gitBranchLabel6 || this.branchLabelColor, this.gitBranchLabel7 = this.gitBranchLabel7 || this.branchLabelColor, this.tagLabelColor = this.tagLabelColor || this.primaryTextColor, this.tagLabelBackground = this.tagLabelBackground || this.primaryColor, this.tagLabelBorder = this.tagBorder || this.primaryBorderColor, this.tagLabelFontSize = this.tagLabelFontSize || "10px", this.commitLabelColor = this.commitLabelColor || this.secondaryTextColor, this.commitLabelBackground = this.commitLabelBackground || this.secondaryColor, this.commitLineColor = (p = this.commitLineColor) == null ? "#BDBCCC" : p, this.commitLabelFontSize = this.commitLabelFontSize || "10px", this.fontWeight = 600, this.erEdgeLabelBackground = "#FFFFFF", this.attributeBackgroundColorOdd = this.attributeBackgroundColorOdd || q, this.attributeBackgroundColorEven = this.attributeBackgroundColorEven || J;
|
|
2085
|
+
}
|
|
2086
|
+
calculate(e) {
|
|
2087
|
+
if (typeof e != "object") {
|
|
2088
|
+
this.updateColors();
|
|
2089
|
+
return;
|
|
2090
|
+
}
|
|
2091
|
+
let t = Object.keys(e);
|
|
2092
|
+
t.forEach((t) => {
|
|
2093
|
+
this[t] = e[t];
|
|
2094
|
+
}), this.updateColors(), t.forEach((t) => {
|
|
2095
|
+
this[t] = e[t];
|
|
2096
|
+
});
|
|
2097
|
+
}
|
|
2098
|
+
}, r(Xe, "Theme"), Xe), Et = /* @__PURE__ */ r((e) => {
|
|
2099
|
+
let t = new Tt();
|
|
2100
|
+
return t.calculate(e), t;
|
|
2101
|
+
}, "getThemeVariables"), Dt = (Ze = class {
|
|
2102
|
+
constructor() {
|
|
2103
|
+
var e, t;
|
|
2104
|
+
this.background = "#333", this.primaryColor = "#1f2020", this.secondaryColor = S(this.primaryColor, 16), this.tertiaryColor = w(this.primaryColor, { h: -160 }), this.primaryBorderColor = E(this.background), this.secondaryBorderColor = Y(this.secondaryColor, this.darkMode), this.tertiaryBorderColor = Y(this.tertiaryColor, this.darkMode), this.primaryTextColor = E(this.primaryColor), this.secondaryTextColor = E(this.secondaryColor), this.tertiaryTextColor = E(this.tertiaryColor), this.mainBkg = "#111113", this.secondBkg = "calculated", this.mainContrastColor = "lightgrey", this.darkTextColor = S(E("#323D47"), 10), this.border1 = "#ccc", this.border2 = _(255, 255, 255, .25), this.arrowheadColor = E(this.background), this.fontFamily = "\"Recursive Variable\", arial, sans-serif", this.fontSize = "14px", this.labelBackground = "#111113", this.textColor = "#ccc", this.THEME_COLOR_LIMIT = 12, this.radius = 12, this.strokeWidth = 2, this.noteBkgColor = (e = this.noteBkgColor) == null ? "#FEF9C3" : e, this.noteTextColor = (t = this.noteTextColor) == null ? "#28253D" : t, this.THEME_COLOR_LIMIT = 12, this.fontFamily = "\"Recursive Variable\", arial, sans-serif", this.fontSize = "14px", this.nodeBorder = "#FFFFFF", this.stateBorder = "#FFFFFF", this.useGradient = !1, this.gradientStart = "#0042eb", this.gradientStop = "#eb0042", this.dropShadow = "url(#drop-shadow)", this.nodeShadow = !0, this.archEdgeColor = "calculated", this.archEdgeArrowColor = "calculated", this.archEdgeWidth = "3", this.archGroupBorderColor = this.primaryBorderColor, this.archGroupBorderWidth = "2px", this.clusterBkg = "#1E1A2E", this.clusterBorder = "#BDBCCC", this.noteBorderColor = "#FACC15", this.noteFontWeight = 600, this.borderColorArray = [
|
|
2105
|
+
"#E879F9",
|
|
2106
|
+
"#2DD4BF",
|
|
2107
|
+
"#FB923C",
|
|
2108
|
+
"#22D3EE",
|
|
2109
|
+
"#4ADE80",
|
|
2110
|
+
"#A78BFA",
|
|
2111
|
+
"#F87171",
|
|
2112
|
+
"#FACC15",
|
|
2113
|
+
"#818CF8",
|
|
2114
|
+
"#A3E635 ",
|
|
2115
|
+
"#38BDF8",
|
|
2116
|
+
"#FB7185"
|
|
2117
|
+
], this.bkgColorArray = [], this.filterColor = "#FFFFFF";
|
|
2118
|
+
}
|
|
2119
|
+
updateColors() {
|
|
2120
|
+
var e, t, n, r, i, a, o, s, c, l, u, d, f, p;
|
|
2121
|
+
this.primaryTextColor = this.primaryTextColor || (this.darkMode ? "#eee" : "#FFFFFF"), this.secondaryColor = this.secondaryColor || w(this.primaryColor, { h: -120 }), this.tertiaryColor = this.tertiaryColor || w(this.primaryColor, {
|
|
2122
|
+
h: 180,
|
|
2123
|
+
l: 5
|
|
2124
|
+
}), this.primaryBorderColor = this.primaryBorderColor || Y(this.primaryColor, this.darkMode), this.secondaryBorderColor = this.secondaryBorderColor || Y(this.secondaryColor, this.darkMode), this.tertiaryBorderColor = this.tertiaryBorderColor || Y(this.tertiaryColor, this.darkMode), this.noteBorderColor = this.noteBorderColor || Y(this.noteBkgColor, this.darkMode), this.noteBkgColor = this.noteBkgColor || "#fff5ad", this.noteTextColor = this.noteTextColor || "#FFFFFF", this.secondaryTextColor = this.secondaryTextColor || E(this.secondaryColor), this.tertiaryTextColor = this.tertiaryTextColor || E(this.tertiaryColor), this.lineColor = this.lineColor || E(this.background), this.arrowheadColor = this.arrowheadColor || E(this.background), this.textColor = this.textColor || this.primaryTextColor, this.border2 = this.border2 || this.tertiaryBorderColor, this.nodeBkg = this.nodeBkg || this.primaryColor, this.mainBkg = this.mainBkg || this.primaryColor, this.nodeBorder = this.nodeBorder || this.border1, this.clusterBkg = this.clusterBkg || this.tertiaryColor, this.clusterBorder = this.clusterBorder || this.tertiaryBorderColor, this.defaultLinkColor = this.defaultLinkColor || this.lineColor, this.titleColor = this.titleColor || this.tertiaryTextColor, this.edgeLabelBackground = this.edgeLabelBackground || (this.darkMode ? C(this.secondaryColor, 30) : this.secondaryColor), this.nodeTextColor = this.nodeTextColor || this.primaryTextColor, this.actorBorder = "#FFFFFF", this.signalColor = "#FFFFFF", this.labelBoxBorderColor = "#BDBCCC", this.actorBorder = this.actorBorder || this.primaryBorderColor, this.actorBkg = this.actorBkg || this.mainBkg, this.actorTextColor = this.actorTextColor || this.primaryTextColor, this.actorLineColor = this.actorLineColor || this.actorBorder, this.labelBoxBkgColor = this.labelBoxBkgColor || this.actorBkg, this.signalColor = this.signalColor || this.textColor, this.signalTextColor = this.signalTextColor || this.textColor, this.labelBoxBorderColor = this.labelBoxBorderColor || this.actorBorder, this.labelTextColor = this.labelTextColor || this.actorTextColor, this.loopTextColor = this.loopTextColor || this.actorTextColor, this.activationBorderColor = this.activationBorderColor || C(this.secondaryColor, 10), this.activationBkgColor = this.activationBkgColor || this.secondaryColor, this.sequenceNumberColor = this.sequenceNumberColor || E(this.lineColor), this.rootLabelColor = "#FFFFFF", this.sectionBkgColor = this.sectionBkgColor || this.tertiaryColor, this.altSectionBkgColor = this.altSectionBkgColor || "white", this.sectionBkgColor = this.sectionBkgColor || this.secondaryColor, this.sectionBkgColor2 = this.sectionBkgColor2 || this.primaryColor, this.excludeBkgColor = this.excludeBkgColor || "#eeeeee", this.taskBorderColor = this.taskBorderColor || this.primaryBorderColor, this.taskBkgColor = this.taskBkgColor || this.primaryColor, this.activeTaskBorderColor = this.activeTaskBorderColor || this.primaryColor, this.activeTaskBkgColor = this.activeTaskBkgColor || S(this.primaryColor, 23), this.gridColor = this.gridColor || "lightgrey", this.doneTaskBkgColor = this.doneTaskBkgColor || "lightgrey", this.doneTaskBorderColor = this.doneTaskBorderColor || "grey", this.critBorderColor = this.critBorderColor || "#ff8888", this.critBkgColor = this.critBkgColor || "red", this.todayLineColor = this.todayLineColor || "red", this.taskTextColor = this.taskTextColor || this.textColor, this.vertLineColor = this.vertLineColor || this.primaryBorderColor, this.taskTextOutsideColor = this.taskTextOutsideColor || this.textColor, this.taskTextLightColor = this.taskTextLightColor || this.textColor, this.taskTextColor = this.taskTextColor || this.primaryTextColor, this.taskTextDarkColor = this.taskTextDarkColor || this.textColor, this.taskTextClickableColor = this.taskTextClickableColor || "#003163", this.archEdgeColor = this.lineColor, this.archEdgeArrowColor = this.lineColor, this.personBorder = this.personBorder || this.primaryBorderColor, this.personBkg = this.personBkg || this.mainBkg, this.transitionColor = this.transitionColor || this.lineColor, this.transitionLabelColor = this.transitionLabelColor || this.textColor, this.stateLabelColor = this.stateLabelColor || this.stateBkg || this.primaryTextColor, this.stateBkg = this.stateBkg || this.mainBkg, this.labelBackgroundColor = this.labelBackgroundColor || this.stateBkg, this.compositeBackground = this.compositeBackground || this.background || this.tertiaryColor, this.altBackground = this.altBackground || "#f0f0f0", this.compositeTitleBackground = this.compositeTitleBackground || this.mainBkg, this.compositeBorder = this.compositeBorder || this.nodeBorder, this.innerEndBackground = this.nodeBorder, this.errorBkgColor = this.errorBkgColor || this.tertiaryColor, this.errorTextColor = this.errorTextColor || this.tertiaryTextColor, this.transitionColor = this.transitionColor || this.lineColor, this.specialStateColor = this.lineColor, this.cScale0 = this.cScale0 || "#f4a8ff", this.cScale1 = this.cScale1 || "#46ecd5", this.cScale2 = this.cScale2 || "#ffb86a", this.cScale3 = this.cScale3 || "#dab2ff", this.cScale4 = this.cScale4 || "#7bf1a8", this.cScale5 = this.cScale5 || "#c4b4ff", this.cScale6 = this.cScale6 || "#ffa2a2", this.cScale7 = this.cScale7 || "#ffdf20", this.cScale8 = this.cScale8 || "#a3b3ff", this.cScale9 = this.cScale9 || "#bbf451", this.cScale10 = this.cScale10 || "#74d4ff", this.cScale11 = this.cScale11 || "#ffa1ad";
|
|
2125
|
+
for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this["cScaleInv" + e] = this["cScaleInv" + e] || E(this["cScale" + e]);
|
|
2126
|
+
for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this.darkMode ? this["cScalePeer" + e] = this["cScalePeer" + e] || S(this["cScale" + e], 10) : this["cScalePeer" + e] = this["cScalePeer" + e] || C(this["cScale" + e], 10);
|
|
2127
|
+
this.scaleLabelColor = this.scaleLabelColor || this.labelTextColor;
|
|
2128
|
+
for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this["cScaleLabel" + e] = C(this["cScale" + e], 75);
|
|
2129
|
+
let m = this.darkMode ? -4 : -1;
|
|
2130
|
+
for (let e = 0; e < 5; e++) this["surface" + e] = this["surface" + e] || w(this.mainBkg, {
|
|
2131
|
+
h: 180,
|
|
2132
|
+
s: -15,
|
|
2133
|
+
l: m * (5 + e * 3)
|
|
2134
|
+
}), this["surfacePeer" + e] = this["surfacePeer" + e] || w(this.mainBkg, {
|
|
2135
|
+
h: 180,
|
|
2136
|
+
s: -15,
|
|
2137
|
+
l: m * (8 + e * 3)
|
|
2138
|
+
});
|
|
2139
|
+
this.classText = this.classText || this.textColor, this.fillType0 = this.fillType0 || this.primaryColor, this.fillType1 = this.fillType1 || this.secondaryColor, this.fillType2 = this.fillType2 || w(this.primaryColor, { h: 64 }), this.fillType3 = this.fillType3 || w(this.secondaryColor, { h: 64 }), this.fillType4 = this.fillType4 || w(this.primaryColor, { h: -64 }), this.fillType5 = this.fillType5 || w(this.secondaryColor, { h: -64 }), this.fillType6 = this.fillType6 || w(this.primaryColor, { h: 128 }), this.fillType7 = this.fillType7 || w(this.secondaryColor, { h: 128 }), this.pie1 = this.pie1 || this.primaryColor, this.pie2 = this.pie2 || this.secondaryColor, this.pie3 = this.pie3 || this.tertiaryColor, this.pie4 = this.pie4 || w(this.primaryColor, { l: -10 }), this.pie5 = this.pie5 || w(this.secondaryColor, { l: -10 }), this.pie6 = this.pie6 || w(this.tertiaryColor, { l: -10 }), this.pie7 = this.pie7 || w(this.primaryColor, {
|
|
2140
|
+
h: 60,
|
|
2141
|
+
l: -10
|
|
2142
|
+
}), this.pie8 = this.pie8 || w(this.primaryColor, {
|
|
2143
|
+
h: -60,
|
|
2144
|
+
l: -10
|
|
2145
|
+
}), this.pie9 = this.pie9 || w(this.primaryColor, {
|
|
2146
|
+
h: 120,
|
|
2147
|
+
l: 0
|
|
2148
|
+
}), this.pie10 = this.pie10 || w(this.primaryColor, {
|
|
2149
|
+
h: 60,
|
|
2150
|
+
l: -20
|
|
2151
|
+
}), this.pie11 = this.pie11 || w(this.primaryColor, {
|
|
2152
|
+
h: -60,
|
|
2153
|
+
l: -20
|
|
2154
|
+
}), this.pie12 = this.pie12 || w(this.primaryColor, {
|
|
2155
|
+
h: 120,
|
|
2156
|
+
l: -10
|
|
2157
|
+
}), this.pieTitleTextSize = this.pieTitleTextSize || "25px", this.pieTitleTextColor = this.pieTitleTextColor || this.taskTextDarkColor, this.pieSectionTextSize = this.pieSectionTextSize || "17px", this.pieSectionTextColor = this.pieSectionTextColor || this.textColor, this.pieLegendTextSize = this.pieLegendTextSize || "17px", this.pieLegendTextColor = this.pieLegendTextColor || this.taskTextDarkColor, this.pieStrokeColor = this.pieStrokeColor || "black", this.pieStrokeWidth = this.pieStrokeWidth || "2px", this.pieOuterStrokeWidth = this.pieOuterStrokeWidth || "2px", this.pieOuterStrokeColor = this.pieOuterStrokeColor || "black", this.pieOpacity = this.pieOpacity || "0.7", this.vennTitleTextColor = (e = this.vennTitleTextColor) == null ? this.titleColor : e, this.vennSetTextColor = (t = this.vennSetTextColor) == null ? this.textColor : t, this.quadrant1Fill = this.quadrant1Fill || this.primaryColor, this.quadrant2Fill = this.quadrant2Fill || w(this.primaryColor, {
|
|
2158
|
+
r: 5,
|
|
2159
|
+
g: 5,
|
|
2160
|
+
b: 5
|
|
2161
|
+
}), this.quadrant3Fill = this.quadrant3Fill || w(this.primaryColor, {
|
|
2162
|
+
r: 10,
|
|
2163
|
+
g: 10,
|
|
2164
|
+
b: 10
|
|
2165
|
+
}), this.quadrant4Fill = this.quadrant4Fill || w(this.primaryColor, {
|
|
2166
|
+
r: 15,
|
|
2167
|
+
g: 15,
|
|
2168
|
+
b: 15
|
|
2169
|
+
}), this.quadrant1TextFill = this.quadrant1TextFill || this.primaryTextColor, this.quadrant2TextFill = this.quadrant2TextFill || w(this.primaryTextColor, {
|
|
2170
|
+
r: -5,
|
|
2171
|
+
g: -5,
|
|
2172
|
+
b: -5
|
|
2173
|
+
}), this.quadrant3TextFill = this.quadrant3TextFill || w(this.primaryTextColor, {
|
|
2174
|
+
r: -10,
|
|
2175
|
+
g: -10,
|
|
2176
|
+
b: -10
|
|
2177
|
+
}), this.quadrant4TextFill = this.quadrant4TextFill || w(this.primaryTextColor, {
|
|
2178
|
+
r: -15,
|
|
2179
|
+
g: -15,
|
|
2180
|
+
b: -15
|
|
2181
|
+
}), this.quadrantPointFill = this.quadrantPointFill || b(this.quadrant1Fill) ? S(this.quadrant1Fill) : C(this.quadrant1Fill), this.quadrantPointTextFill = this.quadrantPointTextFill || this.primaryTextColor, this.quadrantXAxisTextFill = this.quadrantXAxisTextFill || this.primaryTextColor, this.quadrantYAxisTextFill = this.quadrantYAxisTextFill || this.primaryTextColor, this.quadrantInternalBorderStrokeFill = this.quadrantInternalBorderStrokeFill || this.primaryBorderColor, this.quadrantExternalBorderStrokeFill = this.quadrantExternalBorderStrokeFill || this.primaryBorderColor, this.quadrantTitleFill = this.quadrantTitleFill || this.primaryTextColor, this.xyChart = {
|
|
2182
|
+
backgroundColor: ((n = this.xyChart) == null ? void 0 : n.backgroundColor) || this.background,
|
|
2183
|
+
titleColor: ((r = this.xyChart) == null ? void 0 : r.titleColor) || this.primaryTextColor,
|
|
2184
|
+
xAxisTitleColor: ((i = this.xyChart) == null ? void 0 : i.xAxisTitleColor) || this.primaryTextColor,
|
|
2185
|
+
xAxisLabelColor: ((a = this.xyChart) == null ? void 0 : a.xAxisLabelColor) || this.primaryTextColor,
|
|
2186
|
+
xAxisTickColor: ((o = this.xyChart) == null ? void 0 : o.xAxisTickColor) || this.primaryTextColor,
|
|
2187
|
+
xAxisLineColor: ((s = this.xyChart) == null ? void 0 : s.xAxisLineColor) || this.primaryTextColor,
|
|
2188
|
+
yAxisTitleColor: ((c = this.xyChart) == null ? void 0 : c.yAxisTitleColor) || this.primaryTextColor,
|
|
2189
|
+
yAxisLabelColor: ((l = this.xyChart) == null ? void 0 : l.yAxisLabelColor) || this.primaryTextColor,
|
|
2190
|
+
yAxisTickColor: ((u = this.xyChart) == null ? void 0 : u.yAxisTickColor) || this.primaryTextColor,
|
|
2191
|
+
yAxisLineColor: ((d = this.xyChart) == null ? void 0 : d.yAxisLineColor) || this.primaryTextColor,
|
|
2192
|
+
plotColorPalette: ((f = this.xyChart) == null ? void 0 : f.plotColorPalette) || "#FFF4DD,#FFD8B1,#FFA07A,#ECEFF1,#D6DBDF,#C3E0A8,#FFB6A4,#FFD74D,#738FA7,#FFFFF0"
|
|
2193
|
+
}, this.requirementBackground = this.requirementBackground || this.primaryColor, this.requirementBorderColor = this.requirementBorderColor || this.primaryBorderColor, this.requirementBorderSize = this.requirementBorderSize || "1", this.requirementTextColor = this.requirementTextColor || this.primaryTextColor, this.relationColor = this.relationColor || this.lineColor, this.relationLabelBackground = this.relationLabelBackground || (this.darkMode ? C(this.secondaryColor, 30) : this.secondaryColor), this.relationLabelColor = this.relationLabelColor || this.actorTextColor, this.git0 = this.git0 || this.primaryColor, this.git1 = this.git1 || this.secondaryColor, this.git2 = this.git2 || this.tertiaryColor, this.git3 = this.git3 || w(this.primaryColor, { h: -30 }), this.git4 = this.git4 || w(this.primaryColor, { h: -60 }), this.git5 = this.git5 || w(this.primaryColor, { h: -90 }), this.git6 = this.git6 || w(this.primaryColor, { h: 60 }), this.git7 = this.git7 || w(this.primaryColor, { h: 120 }), this.darkMode ? (this.git0 = S(this.git0, 25), this.git1 = S(this.git1, 25), this.git2 = S(this.git2, 25), this.git3 = S(this.git3, 25), this.git4 = S(this.git4, 25), this.git5 = S(this.git5, 25), this.git6 = S(this.git6, 25), this.git7 = S(this.git7, 25)) : (this.git0 = C(this.git0, 25), this.git1 = C(this.git1, 25), this.git2 = C(this.git2, 25), this.git3 = C(this.git3, 25), this.git4 = C(this.git4, 25), this.git5 = C(this.git5, 25), this.git6 = C(this.git6, 25), this.git7 = C(this.git7, 25)), this.gitInv0 = this.gitInv0 || E(this.git0), this.gitInv1 = this.gitInv1 || E(this.git1), this.gitInv2 = this.gitInv2 || E(this.git2), this.gitInv3 = this.gitInv3 || E(this.git3), this.gitInv4 = this.gitInv4 || E(this.git4), this.gitInv5 = this.gitInv5 || E(this.git5), this.gitInv6 = this.gitInv6 || E(this.git6), this.gitInv7 = this.gitInv7 || E(this.git7), this.branchLabelColor = this.branchLabelColor || (this.darkMode ? "black" : this.labelTextColor), this.gitBranchLabel0 = this.gitBranchLabel0 || this.branchLabelColor, this.gitBranchLabel1 = this.gitBranchLabel1 || this.branchLabelColor, this.gitBranchLabel2 = this.gitBranchLabel2 || this.branchLabelColor, this.gitBranchLabel3 = this.gitBranchLabel3 || this.branchLabelColor, this.gitBranchLabel4 = this.gitBranchLabel4 || this.branchLabelColor, this.gitBranchLabel5 = this.gitBranchLabel5 || this.branchLabelColor, this.gitBranchLabel6 = this.gitBranchLabel6 || this.branchLabelColor, this.gitBranchLabel7 = this.gitBranchLabel7 || this.branchLabelColor, this.tagLabelColor = this.tagLabelColor || this.primaryTextColor, this.tagLabelBackground = this.tagLabelBackground || this.primaryColor, this.tagLabelBorder = this.tagBorder || this.primaryBorderColor, this.tagLabelFontSize = this.tagLabelFontSize || "10px", this.commitLabelColor = this.commitLabelColor || this.secondaryTextColor, this.commitLabelBackground = this.commitLabelBackground || this.secondaryColor, this.commitLabelFontSize = this.commitLabelFontSize || "10px", this.commitLineColor = (p = this.commitLineColor) == null ? "#BDBCCC" : p, this.fontWeight = 600, this.erEdgeLabelBackground = "#16141F", this.attributeBackgroundColorOdd = this.attributeBackgroundColorOdd || q, this.attributeBackgroundColorEven = this.attributeBackgroundColorEven || J;
|
|
2194
|
+
}
|
|
2195
|
+
calculate(e) {
|
|
2196
|
+
if (typeof e != "object") {
|
|
2197
|
+
this.updateColors();
|
|
2198
|
+
return;
|
|
2199
|
+
}
|
|
2200
|
+
let t = Object.keys(e);
|
|
2201
|
+
t.forEach((t) => {
|
|
2202
|
+
this[t] = e[t];
|
|
2203
|
+
}), this.updateColors(), t.forEach((t) => {
|
|
2204
|
+
this[t] = e[t];
|
|
2205
|
+
});
|
|
2206
|
+
}
|
|
2207
|
+
}, r(Ze, "Theme"), Ze), Z = /* @__PURE__ */ r((e) => {
|
|
2208
|
+
let t = new Dt();
|
|
2209
|
+
return t.calculate(e), t;
|
|
2210
|
+
}, "getThemeVariables"), Ot = {
|
|
2211
|
+
base: { getThemeVariables: lt },
|
|
2212
|
+
dark: { getThemeVariables: dt },
|
|
2213
|
+
default: { getThemeVariables: pt },
|
|
2214
|
+
forest: { getThemeVariables: X },
|
|
2215
|
+
neutral: { getThemeVariables: gt },
|
|
2216
|
+
neo: { getThemeVariables: vt },
|
|
2217
|
+
"neo-dark": { getThemeVariables: bt },
|
|
2218
|
+
redux: { getThemeVariables: St },
|
|
2219
|
+
"redux-dark": { getThemeVariables: wt },
|
|
2220
|
+
"redux-color": { getThemeVariables: Et },
|
|
2221
|
+
"redux-dark-color": { getThemeVariables: Z }
|
|
2222
|
+
}, Q = {
|
|
2223
|
+
flowchart: {
|
|
2224
|
+
useMaxWidth: !0,
|
|
2225
|
+
titleTopMargin: 25,
|
|
2226
|
+
subGraphTitleMargin: {
|
|
2227
|
+
top: 0,
|
|
2228
|
+
bottom: 0
|
|
2229
|
+
},
|
|
2230
|
+
diagramPadding: 8,
|
|
2231
|
+
htmlLabels: null,
|
|
2232
|
+
nodeSpacing: 50,
|
|
2233
|
+
rankSpacing: 50,
|
|
2234
|
+
curve: "basis",
|
|
2235
|
+
padding: 15,
|
|
2236
|
+
defaultRenderer: "dagre-wrapper",
|
|
2237
|
+
wrappingWidth: 200,
|
|
2238
|
+
inheritDir: !1
|
|
2239
|
+
},
|
|
2240
|
+
sequence: {
|
|
2241
|
+
useMaxWidth: !0,
|
|
2242
|
+
hideUnusedParticipants: !1,
|
|
2243
|
+
activationWidth: 10,
|
|
2244
|
+
diagramMarginX: 50,
|
|
2245
|
+
diagramMarginY: 10,
|
|
2246
|
+
actorMargin: 50,
|
|
2247
|
+
width: 150,
|
|
2248
|
+
height: 65,
|
|
2249
|
+
boxMargin: 10,
|
|
2250
|
+
boxTextMargin: 5,
|
|
2251
|
+
noteMargin: 10,
|
|
2252
|
+
messageMargin: 35,
|
|
2253
|
+
messageAlign: "center",
|
|
2254
|
+
mirrorActors: !0,
|
|
2255
|
+
forceMenus: !1,
|
|
2256
|
+
bottomMarginAdj: 1,
|
|
2257
|
+
rightAngles: !1,
|
|
2258
|
+
showSequenceNumbers: !1,
|
|
2259
|
+
actorFontSize: 14,
|
|
2260
|
+
actorFontFamily: "\"Open Sans\", sans-serif",
|
|
2261
|
+
actorFontWeight: 400,
|
|
2262
|
+
noteFontSize: 14,
|
|
2263
|
+
noteFontFamily: "\"trebuchet ms\", verdana, arial, sans-serif",
|
|
2264
|
+
noteFontWeight: 400,
|
|
2265
|
+
noteAlign: "center",
|
|
2266
|
+
messageFontSize: 16,
|
|
2267
|
+
messageFontFamily: "\"trebuchet ms\", verdana, arial, sans-serif",
|
|
2268
|
+
messageFontWeight: 400,
|
|
2269
|
+
wrap: !1,
|
|
2270
|
+
wrapPadding: 10,
|
|
2271
|
+
labelBoxWidth: 50,
|
|
2272
|
+
labelBoxHeight: 20
|
|
2273
|
+
},
|
|
2274
|
+
gantt: {
|
|
2275
|
+
useMaxWidth: !0,
|
|
2276
|
+
titleTopMargin: 25,
|
|
2277
|
+
barHeight: 20,
|
|
2278
|
+
barGap: 4,
|
|
2279
|
+
topPadding: 50,
|
|
2280
|
+
rightPadding: 75,
|
|
2281
|
+
leftPadding: 75,
|
|
2282
|
+
gridLineStartPadding: 35,
|
|
2283
|
+
fontSize: 11,
|
|
2284
|
+
sectionFontSize: 11,
|
|
2285
|
+
numberSectionStyles: 4,
|
|
2286
|
+
axisFormat: "%Y-%m-%d",
|
|
2287
|
+
topAxis: !1,
|
|
2288
|
+
displayMode: "",
|
|
2289
|
+
weekday: "sunday"
|
|
2290
|
+
},
|
|
2291
|
+
journey: {
|
|
2292
|
+
useMaxWidth: !0,
|
|
2293
|
+
diagramMarginX: 50,
|
|
2294
|
+
diagramMarginY: 10,
|
|
2295
|
+
leftMargin: 150,
|
|
2296
|
+
maxLabelWidth: 360,
|
|
2297
|
+
width: 150,
|
|
2298
|
+
height: 50,
|
|
2299
|
+
boxMargin: 10,
|
|
2300
|
+
boxTextMargin: 5,
|
|
2301
|
+
noteMargin: 10,
|
|
2302
|
+
messageMargin: 35,
|
|
2303
|
+
messageAlign: "center",
|
|
2304
|
+
bottomMarginAdj: 1,
|
|
2305
|
+
rightAngles: !1,
|
|
2306
|
+
taskFontSize: 14,
|
|
2307
|
+
taskFontFamily: "\"Open Sans\", sans-serif",
|
|
2308
|
+
taskMargin: 50,
|
|
2309
|
+
activationWidth: 10,
|
|
2310
|
+
textPlacement: "fo",
|
|
2311
|
+
actorColours: [
|
|
2312
|
+
"#8FBC8F",
|
|
2313
|
+
"#7CFC00",
|
|
2314
|
+
"#00FFFF",
|
|
2315
|
+
"#20B2AA",
|
|
2316
|
+
"#B0E0E6",
|
|
2317
|
+
"#FFFFE0"
|
|
2318
|
+
],
|
|
2319
|
+
sectionFills: [
|
|
2320
|
+
"#191970",
|
|
2321
|
+
"#8B008B",
|
|
2322
|
+
"#4B0082",
|
|
2323
|
+
"#2F4F4F",
|
|
2324
|
+
"#800000",
|
|
2325
|
+
"#8B4513",
|
|
2326
|
+
"#00008B"
|
|
2327
|
+
],
|
|
2328
|
+
sectionColours: ["#fff"],
|
|
2329
|
+
titleColor: "",
|
|
2330
|
+
titleFontFamily: "\"trebuchet ms\", verdana, arial, sans-serif",
|
|
2331
|
+
titleFontSize: "4ex"
|
|
2332
|
+
},
|
|
2333
|
+
class: {
|
|
2334
|
+
useMaxWidth: !0,
|
|
2335
|
+
titleTopMargin: 25,
|
|
2336
|
+
arrowMarkerAbsolute: !1,
|
|
2337
|
+
dividerMargin: 10,
|
|
2338
|
+
padding: 5,
|
|
2339
|
+
textHeight: 10,
|
|
2340
|
+
defaultRenderer: "dagre-wrapper",
|
|
2341
|
+
htmlLabels: !1,
|
|
2342
|
+
hideEmptyMembersBox: !1
|
|
2343
|
+
},
|
|
2344
|
+
state: {
|
|
2345
|
+
useMaxWidth: !0,
|
|
2346
|
+
titleTopMargin: 25,
|
|
2347
|
+
dividerMargin: 10,
|
|
2348
|
+
sizeUnit: 5,
|
|
2349
|
+
padding: 8,
|
|
2350
|
+
textHeight: 10,
|
|
2351
|
+
titleShift: -15,
|
|
2352
|
+
noteMargin: 10,
|
|
2353
|
+
forkWidth: 70,
|
|
2354
|
+
forkHeight: 7,
|
|
2355
|
+
miniPadding: 2,
|
|
2356
|
+
fontSizeFactor: 5.02,
|
|
2357
|
+
fontSize: 24,
|
|
2358
|
+
labelHeight: 16,
|
|
2359
|
+
edgeLengthFactor: "20",
|
|
2360
|
+
compositTitleSize: 35,
|
|
2361
|
+
radius: 5,
|
|
2362
|
+
defaultRenderer: "dagre-wrapper"
|
|
2363
|
+
},
|
|
2364
|
+
er: {
|
|
2365
|
+
useMaxWidth: !0,
|
|
2366
|
+
titleTopMargin: 25,
|
|
2367
|
+
diagramPadding: 20,
|
|
2368
|
+
layoutDirection: "TB",
|
|
2369
|
+
minEntityWidth: 100,
|
|
2370
|
+
minEntityHeight: 75,
|
|
2371
|
+
entityPadding: 15,
|
|
2372
|
+
nodeSpacing: 140,
|
|
2373
|
+
rankSpacing: 80,
|
|
2374
|
+
stroke: "gray",
|
|
2375
|
+
fill: "honeydew",
|
|
2376
|
+
fontSize: 12
|
|
2377
|
+
},
|
|
2378
|
+
pie: {
|
|
2379
|
+
useMaxWidth: !0,
|
|
2380
|
+
textPosition: .75
|
|
2381
|
+
},
|
|
2382
|
+
quadrantChart: {
|
|
2383
|
+
useMaxWidth: !0,
|
|
2384
|
+
chartWidth: 500,
|
|
2385
|
+
chartHeight: 500,
|
|
2386
|
+
titleFontSize: 20,
|
|
2387
|
+
titlePadding: 10,
|
|
2388
|
+
quadrantPadding: 5,
|
|
2389
|
+
xAxisLabelPadding: 5,
|
|
2390
|
+
yAxisLabelPadding: 5,
|
|
2391
|
+
xAxisLabelFontSize: 16,
|
|
2392
|
+
yAxisLabelFontSize: 16,
|
|
2393
|
+
quadrantLabelFontSize: 16,
|
|
2394
|
+
quadrantTextTopPadding: 5,
|
|
2395
|
+
pointTextPadding: 5,
|
|
2396
|
+
pointLabelFontSize: 12,
|
|
2397
|
+
pointRadius: 5,
|
|
2398
|
+
xAxisPosition: "top",
|
|
2399
|
+
yAxisPosition: "left",
|
|
2400
|
+
quadrantInternalBorderStrokeWidth: 1,
|
|
2401
|
+
quadrantExternalBorderStrokeWidth: 2
|
|
2402
|
+
},
|
|
2403
|
+
xyChart: {
|
|
2404
|
+
useMaxWidth: !0,
|
|
2405
|
+
width: 700,
|
|
2406
|
+
height: 500,
|
|
2407
|
+
titleFontSize: 20,
|
|
2408
|
+
titlePadding: 10,
|
|
2409
|
+
showDataLabel: !1,
|
|
2410
|
+
showDataLabelOutsideBar: !1,
|
|
2411
|
+
showTitle: !0,
|
|
2412
|
+
xAxis: {
|
|
2413
|
+
$ref: "#/$defs/XYChartAxisConfig",
|
|
2414
|
+
showLabel: !0,
|
|
2415
|
+
labelFontSize: 14,
|
|
2416
|
+
labelPadding: 5,
|
|
2417
|
+
showTitle: !0,
|
|
2418
|
+
titleFontSize: 16,
|
|
2419
|
+
titlePadding: 5,
|
|
2420
|
+
showTick: !0,
|
|
2421
|
+
tickLength: 5,
|
|
2422
|
+
tickWidth: 2,
|
|
2423
|
+
showAxisLine: !0,
|
|
2424
|
+
axisLineWidth: 2
|
|
2425
|
+
},
|
|
2426
|
+
yAxis: {
|
|
2427
|
+
$ref: "#/$defs/XYChartAxisConfig",
|
|
2428
|
+
showLabel: !0,
|
|
2429
|
+
labelFontSize: 14,
|
|
2430
|
+
labelPadding: 5,
|
|
2431
|
+
showTitle: !0,
|
|
2432
|
+
titleFontSize: 16,
|
|
2433
|
+
titlePadding: 5,
|
|
2434
|
+
showTick: !0,
|
|
2435
|
+
tickLength: 5,
|
|
2436
|
+
tickWidth: 2,
|
|
2437
|
+
showAxisLine: !0,
|
|
2438
|
+
axisLineWidth: 2
|
|
2439
|
+
},
|
|
2440
|
+
chartOrientation: "vertical",
|
|
2441
|
+
plotReservedSpacePercent: 50
|
|
2442
|
+
},
|
|
2443
|
+
requirement: {
|
|
2444
|
+
useMaxWidth: !0,
|
|
2445
|
+
rect_fill: "#f9f9f9",
|
|
2446
|
+
text_color: "#333",
|
|
2447
|
+
rect_border_size: "0.5px",
|
|
2448
|
+
rect_border_color: "#bbb",
|
|
2449
|
+
rect_min_width: 200,
|
|
2450
|
+
rect_min_height: 200,
|
|
2451
|
+
fontSize: 14,
|
|
2452
|
+
rect_padding: 10,
|
|
2453
|
+
line_height: 20
|
|
2454
|
+
},
|
|
2455
|
+
mindmap: {
|
|
2456
|
+
useMaxWidth: !0,
|
|
2457
|
+
padding: 10,
|
|
2458
|
+
maxNodeWidth: 200,
|
|
2459
|
+
layoutAlgorithm: "cose-bilkent"
|
|
2460
|
+
},
|
|
2461
|
+
ishikawa: {
|
|
2462
|
+
useMaxWidth: !0,
|
|
2463
|
+
diagramPadding: 20
|
|
2464
|
+
},
|
|
2465
|
+
kanban: {
|
|
2466
|
+
useMaxWidth: !0,
|
|
2467
|
+
padding: 8,
|
|
2468
|
+
sectionWidth: 200,
|
|
2469
|
+
ticketBaseUrl: ""
|
|
2470
|
+
},
|
|
2471
|
+
timeline: {
|
|
2472
|
+
useMaxWidth: !0,
|
|
2473
|
+
diagramMarginX: 50,
|
|
2474
|
+
diagramMarginY: 10,
|
|
2475
|
+
leftMargin: 150,
|
|
2476
|
+
width: 150,
|
|
2477
|
+
height: 50,
|
|
2478
|
+
boxMargin: 10,
|
|
2479
|
+
boxTextMargin: 5,
|
|
2480
|
+
noteMargin: 10,
|
|
2481
|
+
messageMargin: 35,
|
|
2482
|
+
messageAlign: "center",
|
|
2483
|
+
bottomMarginAdj: 1,
|
|
2484
|
+
rightAngles: !1,
|
|
2485
|
+
taskFontSize: 14,
|
|
2486
|
+
taskFontFamily: "\"Open Sans\", sans-serif",
|
|
2487
|
+
taskMargin: 50,
|
|
2488
|
+
activationWidth: 10,
|
|
2489
|
+
textPlacement: "fo",
|
|
2490
|
+
actorColours: [
|
|
2491
|
+
"#8FBC8F",
|
|
2492
|
+
"#7CFC00",
|
|
2493
|
+
"#00FFFF",
|
|
2494
|
+
"#20B2AA",
|
|
2495
|
+
"#B0E0E6",
|
|
2496
|
+
"#FFFFE0"
|
|
2497
|
+
],
|
|
2498
|
+
sectionFills: [
|
|
2499
|
+
"#191970",
|
|
2500
|
+
"#8B008B",
|
|
2501
|
+
"#4B0082",
|
|
2502
|
+
"#2F4F4F",
|
|
2503
|
+
"#800000",
|
|
2504
|
+
"#8B4513",
|
|
2505
|
+
"#00008B"
|
|
2506
|
+
],
|
|
2507
|
+
sectionColours: ["#fff"],
|
|
2508
|
+
disableMulticolor: !1
|
|
2509
|
+
},
|
|
2510
|
+
gitGraph: {
|
|
2511
|
+
useMaxWidth: !0,
|
|
2512
|
+
titleTopMargin: 25,
|
|
2513
|
+
diagramPadding: 8,
|
|
2514
|
+
nodeLabel: {
|
|
2515
|
+
width: 75,
|
|
2516
|
+
height: 100,
|
|
2517
|
+
x: -25,
|
|
2518
|
+
y: 0
|
|
2519
|
+
},
|
|
2520
|
+
mainBranchName: "main",
|
|
2521
|
+
mainBranchOrder: 0,
|
|
2522
|
+
showCommitLabel: !0,
|
|
2523
|
+
showBranches: !0,
|
|
2524
|
+
rotateCommitLabel: !0,
|
|
2525
|
+
parallelCommits: !1,
|
|
2526
|
+
arrowMarkerAbsolute: !1
|
|
2527
|
+
},
|
|
2528
|
+
c4: {
|
|
2529
|
+
useMaxWidth: !0,
|
|
2530
|
+
diagramMarginX: 50,
|
|
2531
|
+
diagramMarginY: 10,
|
|
2532
|
+
c4ShapeMargin: 50,
|
|
2533
|
+
c4ShapePadding: 20,
|
|
2534
|
+
width: 216,
|
|
2535
|
+
height: 60,
|
|
2536
|
+
boxMargin: 10,
|
|
2537
|
+
c4ShapeInRow: 4,
|
|
2538
|
+
nextLinePaddingX: 0,
|
|
2539
|
+
c4BoundaryInRow: 2,
|
|
2540
|
+
personFontSize: 14,
|
|
2541
|
+
personFontFamily: "\"Open Sans\", sans-serif",
|
|
2542
|
+
personFontWeight: "normal",
|
|
2543
|
+
external_personFontSize: 14,
|
|
2544
|
+
external_personFontFamily: "\"Open Sans\", sans-serif",
|
|
2545
|
+
external_personFontWeight: "normal",
|
|
2546
|
+
systemFontSize: 14,
|
|
2547
|
+
systemFontFamily: "\"Open Sans\", sans-serif",
|
|
2548
|
+
systemFontWeight: "normal",
|
|
2549
|
+
external_systemFontSize: 14,
|
|
2550
|
+
external_systemFontFamily: "\"Open Sans\", sans-serif",
|
|
2551
|
+
external_systemFontWeight: "normal",
|
|
2552
|
+
system_dbFontSize: 14,
|
|
2553
|
+
system_dbFontFamily: "\"Open Sans\", sans-serif",
|
|
2554
|
+
system_dbFontWeight: "normal",
|
|
2555
|
+
external_system_dbFontSize: 14,
|
|
2556
|
+
external_system_dbFontFamily: "\"Open Sans\", sans-serif",
|
|
2557
|
+
external_system_dbFontWeight: "normal",
|
|
2558
|
+
system_queueFontSize: 14,
|
|
2559
|
+
system_queueFontFamily: "\"Open Sans\", sans-serif",
|
|
2560
|
+
system_queueFontWeight: "normal",
|
|
2561
|
+
external_system_queueFontSize: 14,
|
|
2562
|
+
external_system_queueFontFamily: "\"Open Sans\", sans-serif",
|
|
2563
|
+
external_system_queueFontWeight: "normal",
|
|
2564
|
+
boundaryFontSize: 14,
|
|
2565
|
+
boundaryFontFamily: "\"Open Sans\", sans-serif",
|
|
2566
|
+
boundaryFontWeight: "normal",
|
|
2567
|
+
messageFontSize: 12,
|
|
2568
|
+
messageFontFamily: "\"Open Sans\", sans-serif",
|
|
2569
|
+
messageFontWeight: "normal",
|
|
2570
|
+
containerFontSize: 14,
|
|
2571
|
+
containerFontFamily: "\"Open Sans\", sans-serif",
|
|
2572
|
+
containerFontWeight: "normal",
|
|
2573
|
+
external_containerFontSize: 14,
|
|
2574
|
+
external_containerFontFamily: "\"Open Sans\", sans-serif",
|
|
2575
|
+
external_containerFontWeight: "normal",
|
|
2576
|
+
container_dbFontSize: 14,
|
|
2577
|
+
container_dbFontFamily: "\"Open Sans\", sans-serif",
|
|
2578
|
+
container_dbFontWeight: "normal",
|
|
2579
|
+
external_container_dbFontSize: 14,
|
|
2580
|
+
external_container_dbFontFamily: "\"Open Sans\", sans-serif",
|
|
2581
|
+
external_container_dbFontWeight: "normal",
|
|
2582
|
+
container_queueFontSize: 14,
|
|
2583
|
+
container_queueFontFamily: "\"Open Sans\", sans-serif",
|
|
2584
|
+
container_queueFontWeight: "normal",
|
|
2585
|
+
external_container_queueFontSize: 14,
|
|
2586
|
+
external_container_queueFontFamily: "\"Open Sans\", sans-serif",
|
|
2587
|
+
external_container_queueFontWeight: "normal",
|
|
2588
|
+
componentFontSize: 14,
|
|
2589
|
+
componentFontFamily: "\"Open Sans\", sans-serif",
|
|
2590
|
+
componentFontWeight: "normal",
|
|
2591
|
+
external_componentFontSize: 14,
|
|
2592
|
+
external_componentFontFamily: "\"Open Sans\", sans-serif",
|
|
2593
|
+
external_componentFontWeight: "normal",
|
|
2594
|
+
component_dbFontSize: 14,
|
|
2595
|
+
component_dbFontFamily: "\"Open Sans\", sans-serif",
|
|
2596
|
+
component_dbFontWeight: "normal",
|
|
2597
|
+
external_component_dbFontSize: 14,
|
|
2598
|
+
external_component_dbFontFamily: "\"Open Sans\", sans-serif",
|
|
2599
|
+
external_component_dbFontWeight: "normal",
|
|
2600
|
+
component_queueFontSize: 14,
|
|
2601
|
+
component_queueFontFamily: "\"Open Sans\", sans-serif",
|
|
2602
|
+
component_queueFontWeight: "normal",
|
|
2603
|
+
external_component_queueFontSize: 14,
|
|
2604
|
+
external_component_queueFontFamily: "\"Open Sans\", sans-serif",
|
|
2605
|
+
external_component_queueFontWeight: "normal",
|
|
2606
|
+
wrap: !0,
|
|
2607
|
+
wrapPadding: 10,
|
|
2608
|
+
person_bg_color: "#08427B",
|
|
2609
|
+
person_border_color: "#073B6F",
|
|
2610
|
+
external_person_bg_color: "#686868",
|
|
2611
|
+
external_person_border_color: "#8A8A8A",
|
|
2612
|
+
system_bg_color: "#1168BD",
|
|
2613
|
+
system_border_color: "#3C7FC0",
|
|
2614
|
+
system_db_bg_color: "#1168BD",
|
|
2615
|
+
system_db_border_color: "#3C7FC0",
|
|
2616
|
+
system_queue_bg_color: "#1168BD",
|
|
2617
|
+
system_queue_border_color: "#3C7FC0",
|
|
2618
|
+
external_system_bg_color: "#999999",
|
|
2619
|
+
external_system_border_color: "#8A8A8A",
|
|
2620
|
+
external_system_db_bg_color: "#999999",
|
|
2621
|
+
external_system_db_border_color: "#8A8A8A",
|
|
2622
|
+
external_system_queue_bg_color: "#999999",
|
|
2623
|
+
external_system_queue_border_color: "#8A8A8A",
|
|
2624
|
+
container_bg_color: "#438DD5",
|
|
2625
|
+
container_border_color: "#3C7FC0",
|
|
2626
|
+
container_db_bg_color: "#438DD5",
|
|
2627
|
+
container_db_border_color: "#3C7FC0",
|
|
2628
|
+
container_queue_bg_color: "#438DD5",
|
|
2629
|
+
container_queue_border_color: "#3C7FC0",
|
|
2630
|
+
external_container_bg_color: "#B3B3B3",
|
|
2631
|
+
external_container_border_color: "#A6A6A6",
|
|
2632
|
+
external_container_db_bg_color: "#B3B3B3",
|
|
2633
|
+
external_container_db_border_color: "#A6A6A6",
|
|
2634
|
+
external_container_queue_bg_color: "#B3B3B3",
|
|
2635
|
+
external_container_queue_border_color: "#A6A6A6",
|
|
2636
|
+
component_bg_color: "#85BBF0",
|
|
2637
|
+
component_border_color: "#78A8D8",
|
|
2638
|
+
component_db_bg_color: "#85BBF0",
|
|
2639
|
+
component_db_border_color: "#78A8D8",
|
|
2640
|
+
component_queue_bg_color: "#85BBF0",
|
|
2641
|
+
component_queue_border_color: "#78A8D8",
|
|
2642
|
+
external_component_bg_color: "#CCCCCC",
|
|
2643
|
+
external_component_border_color: "#BFBFBF",
|
|
2644
|
+
external_component_db_bg_color: "#CCCCCC",
|
|
2645
|
+
external_component_db_border_color: "#BFBFBF",
|
|
2646
|
+
external_component_queue_bg_color: "#CCCCCC",
|
|
2647
|
+
external_component_queue_border_color: "#BFBFBF"
|
|
2648
|
+
},
|
|
2649
|
+
sankey: {
|
|
2650
|
+
useMaxWidth: !0,
|
|
2651
|
+
width: 600,
|
|
2652
|
+
height: 400,
|
|
2653
|
+
linkColor: "gradient",
|
|
2654
|
+
nodeAlignment: "justify",
|
|
2655
|
+
showValues: !0,
|
|
2656
|
+
prefix: "",
|
|
2657
|
+
suffix: ""
|
|
2658
|
+
},
|
|
2659
|
+
block: {
|
|
2660
|
+
useMaxWidth: !0,
|
|
2661
|
+
padding: 8
|
|
2662
|
+
},
|
|
2663
|
+
packet: {
|
|
2664
|
+
useMaxWidth: !0,
|
|
2665
|
+
rowHeight: 32,
|
|
2666
|
+
bitWidth: 32,
|
|
2667
|
+
bitsPerRow: 32,
|
|
2668
|
+
showBits: !0,
|
|
2669
|
+
paddingX: 5,
|
|
2670
|
+
paddingY: 5
|
|
2671
|
+
},
|
|
2672
|
+
treeView: {
|
|
2673
|
+
useMaxWidth: !0,
|
|
2674
|
+
rowIndent: 10,
|
|
2675
|
+
paddingX: 5,
|
|
2676
|
+
paddingY: 5,
|
|
2677
|
+
lineThickness: 1
|
|
2678
|
+
},
|
|
2679
|
+
architecture: {
|
|
2680
|
+
useMaxWidth: !0,
|
|
2681
|
+
padding: 40,
|
|
2682
|
+
iconSize: 80,
|
|
2683
|
+
fontSize: 16,
|
|
2684
|
+
randomize: !1
|
|
2685
|
+
},
|
|
2686
|
+
radar: {
|
|
2687
|
+
useMaxWidth: !0,
|
|
2688
|
+
width: 600,
|
|
2689
|
+
height: 600,
|
|
2690
|
+
marginTop: 50,
|
|
2691
|
+
marginRight: 50,
|
|
2692
|
+
marginBottom: 50,
|
|
2693
|
+
marginLeft: 50,
|
|
2694
|
+
axisScaleFactor: 1,
|
|
2695
|
+
axisLabelFactor: 1.05,
|
|
2696
|
+
curveTension: .17
|
|
2697
|
+
},
|
|
2698
|
+
venn: {
|
|
2699
|
+
useMaxWidth: !0,
|
|
2700
|
+
width: 800,
|
|
2701
|
+
height: 450,
|
|
2702
|
+
padding: 8,
|
|
2703
|
+
useDebugLayout: !1
|
|
2704
|
+
},
|
|
2705
|
+
theme: "default",
|
|
2706
|
+
look: "classic",
|
|
2707
|
+
handDrawnSeed: 0,
|
|
2708
|
+
layout: "dagre",
|
|
2709
|
+
maxTextSize: 5e4,
|
|
2710
|
+
maxEdges: 500,
|
|
2711
|
+
darkMode: !1,
|
|
2712
|
+
fontFamily: "\"trebuchet ms\", verdana, arial, sans-serif;",
|
|
2713
|
+
logLevel: 5,
|
|
2714
|
+
securityLevel: "strict",
|
|
2715
|
+
startOnLoad: !0,
|
|
2716
|
+
arrowMarkerAbsolute: !1,
|
|
2717
|
+
secure: [
|
|
2718
|
+
"secure",
|
|
2719
|
+
"securityLevel",
|
|
2720
|
+
"startOnLoad",
|
|
2721
|
+
"maxTextSize",
|
|
2722
|
+
"suppressErrorRendering",
|
|
2723
|
+
"maxEdges"
|
|
2724
|
+
],
|
|
2725
|
+
legacyMathML: !1,
|
|
2726
|
+
forceLegacyMathML: !1,
|
|
2727
|
+
deterministicIds: !1,
|
|
2728
|
+
fontSize: 16,
|
|
2729
|
+
markdownAutoWrap: !0,
|
|
2730
|
+
suppressErrorRendering: !1
|
|
2731
|
+
}, kt = e(e({}, Q), {}, {
|
|
2732
|
+
deterministicIDSeed: void 0,
|
|
2733
|
+
elk: {
|
|
2734
|
+
mergeEdges: !1,
|
|
2735
|
+
nodePlacementStrategy: "BRANDES_KOEPF",
|
|
2736
|
+
forceNodeModelOrder: !1,
|
|
2737
|
+
considerModelOrder: "NODES_AND_EDGES"
|
|
2738
|
+
},
|
|
2739
|
+
themeCSS: void 0,
|
|
2740
|
+
themeVariables: Ot.default.getThemeVariables(),
|
|
2741
|
+
sequence: e(e({}, Q.sequence), {}, {
|
|
2742
|
+
messageFont: /* @__PURE__ */ r(function() {
|
|
2743
|
+
return {
|
|
2744
|
+
fontFamily: this.messageFontFamily,
|
|
2745
|
+
fontSize: this.messageFontSize,
|
|
2746
|
+
fontWeight: this.messageFontWeight
|
|
2747
|
+
};
|
|
2748
|
+
}, "messageFont"),
|
|
2749
|
+
noteFont: /* @__PURE__ */ r(function() {
|
|
2750
|
+
return {
|
|
2751
|
+
fontFamily: this.noteFontFamily,
|
|
2752
|
+
fontSize: this.noteFontSize,
|
|
2753
|
+
fontWeight: this.noteFontWeight
|
|
2754
|
+
};
|
|
2755
|
+
}, "noteFont"),
|
|
2756
|
+
actorFont: /* @__PURE__ */ r(function() {
|
|
2757
|
+
return {
|
|
2758
|
+
fontFamily: this.actorFontFamily,
|
|
2759
|
+
fontSize: this.actorFontSize,
|
|
2760
|
+
fontWeight: this.actorFontWeight
|
|
2761
|
+
};
|
|
2762
|
+
}, "actorFont")
|
|
2763
|
+
}),
|
|
2764
|
+
class: { hideEmptyMembersBox: !1 },
|
|
2765
|
+
gantt: e(e({}, Q.gantt), {}, {
|
|
2766
|
+
tickInterval: void 0,
|
|
2767
|
+
useWidth: void 0
|
|
2768
|
+
}),
|
|
2769
|
+
c4: e(e({}, Q.c4), {}, {
|
|
2770
|
+
useWidth: void 0,
|
|
2771
|
+
personFont: /* @__PURE__ */ r(function() {
|
|
2772
|
+
return {
|
|
2773
|
+
fontFamily: this.personFontFamily,
|
|
2774
|
+
fontSize: this.personFontSize,
|
|
2775
|
+
fontWeight: this.personFontWeight
|
|
2776
|
+
};
|
|
2777
|
+
}, "personFont"),
|
|
2778
|
+
flowchart: e(e({}, Q.flowchart), {}, { inheritDir: !1 }),
|
|
2779
|
+
external_personFont: /* @__PURE__ */ r(function() {
|
|
2780
|
+
return {
|
|
2781
|
+
fontFamily: this.external_personFontFamily,
|
|
2782
|
+
fontSize: this.external_personFontSize,
|
|
2783
|
+
fontWeight: this.external_personFontWeight
|
|
2784
|
+
};
|
|
2785
|
+
}, "external_personFont"),
|
|
2786
|
+
systemFont: /* @__PURE__ */ r(function() {
|
|
2787
|
+
return {
|
|
2788
|
+
fontFamily: this.systemFontFamily,
|
|
2789
|
+
fontSize: this.systemFontSize,
|
|
2790
|
+
fontWeight: this.systemFontWeight
|
|
2791
|
+
};
|
|
2792
|
+
}, "systemFont"),
|
|
2793
|
+
external_systemFont: /* @__PURE__ */ r(function() {
|
|
2794
|
+
return {
|
|
2795
|
+
fontFamily: this.external_systemFontFamily,
|
|
2796
|
+
fontSize: this.external_systemFontSize,
|
|
2797
|
+
fontWeight: this.external_systemFontWeight
|
|
2798
|
+
};
|
|
2799
|
+
}, "external_systemFont"),
|
|
2800
|
+
system_dbFont: /* @__PURE__ */ r(function() {
|
|
2801
|
+
return {
|
|
2802
|
+
fontFamily: this.system_dbFontFamily,
|
|
2803
|
+
fontSize: this.system_dbFontSize,
|
|
2804
|
+
fontWeight: this.system_dbFontWeight
|
|
2805
|
+
};
|
|
2806
|
+
}, "system_dbFont"),
|
|
2807
|
+
external_system_dbFont: /* @__PURE__ */ r(function() {
|
|
2808
|
+
return {
|
|
2809
|
+
fontFamily: this.external_system_dbFontFamily,
|
|
2810
|
+
fontSize: this.external_system_dbFontSize,
|
|
2811
|
+
fontWeight: this.external_system_dbFontWeight
|
|
2812
|
+
};
|
|
2813
|
+
}, "external_system_dbFont"),
|
|
2814
|
+
system_queueFont: /* @__PURE__ */ r(function() {
|
|
2815
|
+
return {
|
|
2816
|
+
fontFamily: this.system_queueFontFamily,
|
|
2817
|
+
fontSize: this.system_queueFontSize,
|
|
2818
|
+
fontWeight: this.system_queueFontWeight
|
|
2819
|
+
};
|
|
2820
|
+
}, "system_queueFont"),
|
|
2821
|
+
external_system_queueFont: /* @__PURE__ */ r(function() {
|
|
2822
|
+
return {
|
|
2823
|
+
fontFamily: this.external_system_queueFontFamily,
|
|
2824
|
+
fontSize: this.external_system_queueFontSize,
|
|
2825
|
+
fontWeight: this.external_system_queueFontWeight
|
|
2826
|
+
};
|
|
2827
|
+
}, "external_system_queueFont"),
|
|
2828
|
+
containerFont: /* @__PURE__ */ r(function() {
|
|
2829
|
+
return {
|
|
2830
|
+
fontFamily: this.containerFontFamily,
|
|
2831
|
+
fontSize: this.containerFontSize,
|
|
2832
|
+
fontWeight: this.containerFontWeight
|
|
2833
|
+
};
|
|
2834
|
+
}, "containerFont"),
|
|
2835
|
+
external_containerFont: /* @__PURE__ */ r(function() {
|
|
2836
|
+
return {
|
|
2837
|
+
fontFamily: this.external_containerFontFamily,
|
|
2838
|
+
fontSize: this.external_containerFontSize,
|
|
2839
|
+
fontWeight: this.external_containerFontWeight
|
|
2840
|
+
};
|
|
2841
|
+
}, "external_containerFont"),
|
|
2842
|
+
container_dbFont: /* @__PURE__ */ r(function() {
|
|
2843
|
+
return {
|
|
2844
|
+
fontFamily: this.container_dbFontFamily,
|
|
2845
|
+
fontSize: this.container_dbFontSize,
|
|
2846
|
+
fontWeight: this.container_dbFontWeight
|
|
2847
|
+
};
|
|
2848
|
+
}, "container_dbFont"),
|
|
2849
|
+
external_container_dbFont: /* @__PURE__ */ r(function() {
|
|
2850
|
+
return {
|
|
2851
|
+
fontFamily: this.external_container_dbFontFamily,
|
|
2852
|
+
fontSize: this.external_container_dbFontSize,
|
|
2853
|
+
fontWeight: this.external_container_dbFontWeight
|
|
2854
|
+
};
|
|
2855
|
+
}, "external_container_dbFont"),
|
|
2856
|
+
container_queueFont: /* @__PURE__ */ r(function() {
|
|
2857
|
+
return {
|
|
2858
|
+
fontFamily: this.container_queueFontFamily,
|
|
2859
|
+
fontSize: this.container_queueFontSize,
|
|
2860
|
+
fontWeight: this.container_queueFontWeight
|
|
2861
|
+
};
|
|
2862
|
+
}, "container_queueFont"),
|
|
2863
|
+
external_container_queueFont: /* @__PURE__ */ r(function() {
|
|
2864
|
+
return {
|
|
2865
|
+
fontFamily: this.external_container_queueFontFamily,
|
|
2866
|
+
fontSize: this.external_container_queueFontSize,
|
|
2867
|
+
fontWeight: this.external_container_queueFontWeight
|
|
2868
|
+
};
|
|
2869
|
+
}, "external_container_queueFont"),
|
|
2870
|
+
componentFont: /* @__PURE__ */ r(function() {
|
|
2871
|
+
return {
|
|
2872
|
+
fontFamily: this.componentFontFamily,
|
|
2873
|
+
fontSize: this.componentFontSize,
|
|
2874
|
+
fontWeight: this.componentFontWeight
|
|
2875
|
+
};
|
|
2876
|
+
}, "componentFont"),
|
|
2877
|
+
external_componentFont: /* @__PURE__ */ r(function() {
|
|
2878
|
+
return {
|
|
2879
|
+
fontFamily: this.external_componentFontFamily,
|
|
2880
|
+
fontSize: this.external_componentFontSize,
|
|
2881
|
+
fontWeight: this.external_componentFontWeight
|
|
2882
|
+
};
|
|
2883
|
+
}, "external_componentFont"),
|
|
2884
|
+
component_dbFont: /* @__PURE__ */ r(function() {
|
|
2885
|
+
return {
|
|
2886
|
+
fontFamily: this.component_dbFontFamily,
|
|
2887
|
+
fontSize: this.component_dbFontSize,
|
|
2888
|
+
fontWeight: this.component_dbFontWeight
|
|
2889
|
+
};
|
|
2890
|
+
}, "component_dbFont"),
|
|
2891
|
+
external_component_dbFont: /* @__PURE__ */ r(function() {
|
|
2892
|
+
return {
|
|
2893
|
+
fontFamily: this.external_component_dbFontFamily,
|
|
2894
|
+
fontSize: this.external_component_dbFontSize,
|
|
2895
|
+
fontWeight: this.external_component_dbFontWeight
|
|
2896
|
+
};
|
|
2897
|
+
}, "external_component_dbFont"),
|
|
2898
|
+
component_queueFont: /* @__PURE__ */ r(function() {
|
|
2899
|
+
return {
|
|
2900
|
+
fontFamily: this.component_queueFontFamily,
|
|
2901
|
+
fontSize: this.component_queueFontSize,
|
|
2902
|
+
fontWeight: this.component_queueFontWeight
|
|
2903
|
+
};
|
|
2904
|
+
}, "component_queueFont"),
|
|
2905
|
+
external_component_queueFont: /* @__PURE__ */ r(function() {
|
|
2906
|
+
return {
|
|
2907
|
+
fontFamily: this.external_component_queueFontFamily,
|
|
2908
|
+
fontSize: this.external_component_queueFontSize,
|
|
2909
|
+
fontWeight: this.external_component_queueFontWeight
|
|
2910
|
+
};
|
|
2911
|
+
}, "external_component_queueFont"),
|
|
2912
|
+
boundaryFont: /* @__PURE__ */ r(function() {
|
|
2913
|
+
return {
|
|
2914
|
+
fontFamily: this.boundaryFontFamily,
|
|
2915
|
+
fontSize: this.boundaryFontSize,
|
|
2916
|
+
fontWeight: this.boundaryFontWeight
|
|
2917
|
+
};
|
|
2918
|
+
}, "boundaryFont"),
|
|
2919
|
+
messageFont: /* @__PURE__ */ r(function() {
|
|
2920
|
+
return {
|
|
2921
|
+
fontFamily: this.messageFontFamily,
|
|
2922
|
+
fontSize: this.messageFontSize,
|
|
2923
|
+
fontWeight: this.messageFontWeight
|
|
2924
|
+
};
|
|
2925
|
+
}, "messageFont")
|
|
2926
|
+
}),
|
|
2927
|
+
pie: e(e({}, Q.pie), {}, { useWidth: 984 }),
|
|
2928
|
+
xyChart: e(e({}, Q.xyChart), {}, { useWidth: void 0 }),
|
|
2929
|
+
requirement: e(e({}, Q.requirement), {}, { useWidth: void 0 }),
|
|
2930
|
+
packet: e({}, Q.packet),
|
|
2931
|
+
treeView: e(e({}, Q.treeView), {}, { useWidth: void 0 }),
|
|
2932
|
+
radar: e({}, Q.radar),
|
|
2933
|
+
ishikawa: e({}, Q.ishikawa),
|
|
2934
|
+
treemap: {
|
|
2935
|
+
useMaxWidth: !0,
|
|
2936
|
+
padding: 10,
|
|
2937
|
+
diagramPadding: 8,
|
|
2938
|
+
showValues: !0,
|
|
2939
|
+
nodeWidth: 100,
|
|
2940
|
+
nodeHeight: 40,
|
|
2941
|
+
borderWidth: 1,
|
|
2942
|
+
valueFontSize: 12,
|
|
2943
|
+
labelFontSize: 14,
|
|
2944
|
+
valueFormat: ","
|
|
2945
|
+
},
|
|
2946
|
+
venn: e({}, Q.venn)
|
|
2947
|
+
}), At = /* @__PURE__ */ r((e, t = "") => Object.keys(e).reduce((n, r) => Array.isArray(e[r]) ? n : typeof e[r] == "object" && e[r] !== null ? [
|
|
2948
|
+
...n,
|
|
2949
|
+
t + r,
|
|
2950
|
+
...At(e[r], "")
|
|
2951
|
+
] : [...n, t + r], []), "keyify"), jt = new Set(At(kt, "")), Mt = kt, Nt = /* @__PURE__ */ r((e) => {
|
|
2952
|
+
if (n.debug("sanitizeDirective called with", e), !(typeof e != "object" || !e)) {
|
|
2953
|
+
if (Array.isArray(e)) {
|
|
2954
|
+
e.forEach((e) => Nt(e));
|
|
2955
|
+
return;
|
|
2956
|
+
}
|
|
2957
|
+
for (let t of Object.keys(e)) {
|
|
2958
|
+
if (n.debug("Checking key", t), t.startsWith("__") || t.includes("proto") || t.includes("constr") || !jt.has(t) || e[t] == null) {
|
|
2959
|
+
n.debug("sanitize deleting key: ", t), delete e[t];
|
|
2960
|
+
continue;
|
|
2961
|
+
}
|
|
2962
|
+
if (typeof e[t] == "object") {
|
|
2963
|
+
n.debug("sanitizing object", t), Nt(e[t]);
|
|
2964
|
+
continue;
|
|
2965
|
+
}
|
|
2966
|
+
for (let r of [
|
|
2967
|
+
"themeCSS",
|
|
2968
|
+
"fontFamily",
|
|
2969
|
+
"altFontFamily"
|
|
2970
|
+
]) t.includes(r) && (n.debug("sanitizing css option", t), e[t] = Pt(e[t]));
|
|
2971
|
+
}
|
|
2972
|
+
if (e.themeVariables) for (let t of Object.keys(e.themeVariables)) {
|
|
2973
|
+
let n = e.themeVariables[t];
|
|
2974
|
+
n != null && n.match && !n.match(/^[\d "#%(),.;A-Za-z]+$/) && (e.themeVariables[t] = "");
|
|
2975
|
+
}
|
|
2976
|
+
n.debug("After sanitization", e);
|
|
2977
|
+
}
|
|
2978
|
+
}, "sanitizeDirective"), Pt = /* @__PURE__ */ r((e) => {
|
|
2979
|
+
let t = 0, n = 0;
|
|
2980
|
+
for (let r of e) {
|
|
2981
|
+
if (t < n) return "{ /* ERROR: Unbalanced CSS */ }";
|
|
2982
|
+
r === "{" ? t++ : r === "}" && n++;
|
|
2983
|
+
}
|
|
2984
|
+
return t === n ? e : "{ /* ERROR: Unbalanced CSS */ }";
|
|
2985
|
+
}, "sanitizeCss"), Ft = Object.freeze(Mt), It = /* @__PURE__ */ r((e) => !(e === !1 || [
|
|
2986
|
+
"false",
|
|
2987
|
+
"null",
|
|
2988
|
+
"0"
|
|
2989
|
+
].includes(String(e).trim().toLowerCase())), "evaluate"), $ = K({}, Ft), Lt, Rt = [], zt = K({}, Ft), Bt = /* @__PURE__ */ r((e, t) => {
|
|
2990
|
+
let n = K({}, e), r = {};
|
|
2991
|
+
for (let e of t) qt(e), r = K(r, e);
|
|
2992
|
+
if (n = K(n, r), r.theme && r.theme in Ot) {
|
|
2993
|
+
let e = K(K({}, Lt).themeVariables || {}, r.themeVariables);
|
|
2994
|
+
n.theme && n.theme in Ot && (n.themeVariables = Ot[n.theme].getThemeVariables(e));
|
|
2995
|
+
}
|
|
2996
|
+
return zt = n, $t(zt), zt;
|
|
2997
|
+
}, "updateCurrentConfig"), Vt = /* @__PURE__ */ r((e) => ($ = K({}, Ft), $ = K($, e), e.theme && Ot[e.theme] && ($.themeVariables = Ot[e.theme].getThemeVariables(e.themeVariables)), Bt($, Rt), $), "setSiteConfig"), Ht = /* @__PURE__ */ r((e) => {
|
|
2998
|
+
Lt = K({}, e);
|
|
2999
|
+
}, "saveConfigFromInitialize"), Ut = /* @__PURE__ */ r((e) => ($ = K($, e), Bt($, Rt), $), "updateSiteConfig"), Wt = /* @__PURE__ */ r(() => K({}, $), "getSiteConfig"), Gt = /* @__PURE__ */ r((e) => ($t(e), K(zt, e), Kt()), "setConfig"), Kt = /* @__PURE__ */ r(() => K({}, zt), "getConfig"), qt = /* @__PURE__ */ r((e) => {
|
|
3000
|
+
var t;
|
|
3001
|
+
e && (["secure", ...(t = $.secure) == null ? [] : t].forEach((t) => {
|
|
3002
|
+
Object.hasOwn(e, t) && (n.debug(`Denied attempt to modify a secure key ${t}`, e[t]), delete e[t]);
|
|
3003
|
+
}), Object.keys(e).forEach((t) => {
|
|
3004
|
+
t.startsWith("__") && delete e[t];
|
|
3005
|
+
}), Object.keys(e).forEach((t) => {
|
|
3006
|
+
typeof e[t] == "string" && (e[t].includes("<") || e[t].includes(">") || e[t].includes("url(data:")) && delete e[t], typeof e[t] == "object" && qt(e[t]);
|
|
3007
|
+
}));
|
|
3008
|
+
}, "sanitize"), Jt = /* @__PURE__ */ r((t) => {
|
|
3009
|
+
var n;
|
|
3010
|
+
Nt(t), t.fontFamily && !((n = t.themeVariables) != null && n.fontFamily) && (t.themeVariables = e(e({}, t.themeVariables), {}, { fontFamily: t.fontFamily })), Rt.push(t), Bt($, Rt);
|
|
3011
|
+
}, "addDirective"), Yt = /* @__PURE__ */ r((e = $) => {
|
|
3012
|
+
Rt = [], Bt(e, Rt);
|
|
3013
|
+
}, "reset"), Xt = {
|
|
3014
|
+
LAZY_LOAD_DEPRECATED: "The configuration options lazyLoadedDiagrams and loadExternalDiagramsAtStartup are deprecated. Please use registerExternalDiagrams instead.",
|
|
3015
|
+
FLOWCHART_HTML_LABELS_DEPRECATED: "flowchart.htmlLabels is deprecated. Please use global htmlLabels instead."
|
|
3016
|
+
}, Zt = {}, Qt = /* @__PURE__ */ r((e) => {
|
|
3017
|
+
Zt[e] || (n.warn(Xt[e]), Zt[e] = !0);
|
|
3018
|
+
}, "issueWarning"), $t = /* @__PURE__ */ r((e) => {
|
|
3019
|
+
e && (e.lazyLoadedDiagrams || e.loadExternalDiagramsAtStartup) && Qt("LAZY_LOAD_DEPRECATED");
|
|
3020
|
+
}, "checkConfig"), en = /* @__PURE__ */ r(() => {
|
|
3021
|
+
let e = {};
|
|
3022
|
+
Lt && (e = K(e, Lt));
|
|
3023
|
+
for (let t of Rt) e = K(e, t);
|
|
3024
|
+
return e;
|
|
3025
|
+
}, "getUserDefinedConfig"), tn = /* @__PURE__ */ r((e) => {
|
|
3026
|
+
var t, n, r, i;
|
|
3027
|
+
return ((t = e.flowchart) == null ? void 0 : t.htmlLabels) != null && Qt("FLOWCHART_HTML_LABELS_DEPRECATED"), It((n = (r = e.htmlLabels) == null ? (i = e.flowchart) == null ? void 0 : i.htmlLabels : r) == null ? !0 : n);
|
|
3028
|
+
}, "getEffectiveHtmlLabels"), nn = /<br\s*\/?>/gi, rn = /* @__PURE__ */ r((e) => e ? mn(e).replace(/\\n/g, "#br#").split("#br#") : [""], "getRows"), an = /* @__PURE__ */ (() => {
|
|
3029
|
+
let e = !1;
|
|
3030
|
+
return () => {
|
|
3031
|
+
e || (on(), e = !0);
|
|
3032
|
+
};
|
|
3033
|
+
})();
|
|
3034
|
+
function on() {
|
|
3035
|
+
let e = "data-temp-href-target";
|
|
3036
|
+
Be.addHook("beforeSanitizeAttributes", (t) => {
|
|
3037
|
+
if (t.tagName === "A" && t.hasAttribute("target")) {
|
|
3038
|
+
var n;
|
|
3039
|
+
t.setAttribute(e, (n = t.getAttribute("target")) == null ? "" : n);
|
|
3040
|
+
}
|
|
3041
|
+
}), Be.addHook("afterSanitizeAttributes", (t) => {
|
|
3042
|
+
if (t.tagName === "A" && t.hasAttribute(e)) {
|
|
3043
|
+
var n;
|
|
3044
|
+
t.setAttribute("target", (n = t.getAttribute(e)) == null ? "" : n), t.removeAttribute(e), t.getAttribute("target") === "_blank" && t.setAttribute("rel", "noopener");
|
|
3045
|
+
}
|
|
3046
|
+
});
|
|
3047
|
+
}
|
|
3048
|
+
r(on, "setupDompurifyHooks");
|
|
3049
|
+
var sn = /* @__PURE__ */ r((e) => (an(), Be.sanitize(e)), "removeScript"), cn = /* @__PURE__ */ r((e, t) => {
|
|
3050
|
+
if (tn(t)) {
|
|
3051
|
+
let n = t.securityLevel;
|
|
3052
|
+
n === "antiscript" || n === "strict" || n === "sandbox" ? e = sn(e) : n !== "loose" && (e = mn(e), e = e.replace(/</g, "<").replace(/>/g, ">"), e = e.replace(/=/g, "="), e = pn(e));
|
|
3053
|
+
}
|
|
3054
|
+
return e;
|
|
3055
|
+
}, "sanitizeMore"), ln = /* @__PURE__ */ r((e, t) => e && (e = t.dompurifyConfig ? Be.sanitize(cn(e, t), t.dompurifyConfig).toString() : Be.sanitize(cn(e, t), { FORBID_TAGS: ["style"] }).toString(), e), "sanitizeText"), un = /* @__PURE__ */ r((e, t) => typeof e == "string" ? ln(e, t) : e.flat().map((e) => ln(e, t)), "sanitizeTextOrArray"), dn = /* @__PURE__ */ r((e) => nn.test(e), "hasBreaks"), fn = /* @__PURE__ */ r((e) => e.split(nn), "splitBreaks"), pn = /* @__PURE__ */ r((e) => e.replace(/#br#/g, "<br/>"), "placeholderToBreak"), mn = /* @__PURE__ */ r((e) => e.replace(nn, "#br#"), "breakToPlaceholder"), hn = /* @__PURE__ */ r((e) => {
|
|
3056
|
+
let t = "";
|
|
3057
|
+
return e && (t = window.location.protocol + "//" + window.location.host + window.location.pathname + window.location.search, t = CSS.escape(t)), t;
|
|
3058
|
+
}, "getUrl"), gn = /* @__PURE__ */ r(function(...e) {
|
|
3059
|
+
let t = e.filter((e) => !isNaN(e));
|
|
3060
|
+
return Math.max(...t);
|
|
3061
|
+
}, "getMax"), _n = /* @__PURE__ */ r(function(...e) {
|
|
3062
|
+
let t = e.filter((e) => !isNaN(e));
|
|
3063
|
+
return Math.min(...t);
|
|
3064
|
+
}, "getMin"), vn = /* @__PURE__ */ r(function(e) {
|
|
3065
|
+
let t = e.split(/(,)/), n = [];
|
|
3066
|
+
for (let e = 0; e < t.length; e++) {
|
|
3067
|
+
let r = t[e];
|
|
3068
|
+
if (r === "," && e > 0 && e + 1 < t.length) {
|
|
3069
|
+
let i = t[e - 1], a = t[e + 1];
|
|
3070
|
+
bn(i, a) && (r = i + "," + a, e++, n.pop());
|
|
3071
|
+
}
|
|
3072
|
+
n.push(xn(r));
|
|
3073
|
+
}
|
|
3074
|
+
return n.join("");
|
|
3075
|
+
}, "parseGenericTypes"), yn = /* @__PURE__ */ r((e, t) => Math.max(0, e.split(t).length - 1), "countOccurrence"), bn = /* @__PURE__ */ r((e, t) => {
|
|
3076
|
+
let n = yn(e, "~"), r = yn(t, "~");
|
|
3077
|
+
return n === 1 && r === 1;
|
|
3078
|
+
}, "shouldCombineSets"), xn = /* @__PURE__ */ r((e) => {
|
|
3079
|
+
let t = yn(e, "~"), n = !1;
|
|
3080
|
+
if (t <= 1) return e;
|
|
3081
|
+
t % 2 != 0 && e.startsWith("~") && (e = e.substring(1), n = !0);
|
|
3082
|
+
let r = [...e], i = r.indexOf("~"), a = r.lastIndexOf("~");
|
|
3083
|
+
for (; i !== -1 && a !== -1 && i !== a;) r[i] = "<", r[a] = ">", i = r.indexOf("~"), a = r.lastIndexOf("~");
|
|
3084
|
+
return n && r.unshift("~"), r.join("");
|
|
3085
|
+
}, "processSet"), Sn = /* @__PURE__ */ r(() => window.MathMLElement !== void 0, "isMathMLSupported"), Cn = /\$\$(.*)\$\$/g, wn = /* @__PURE__ */ r((e) => {
|
|
3086
|
+
var t, n;
|
|
3087
|
+
return ((t = (n = e.match(Cn)) == null ? void 0 : n.length) == null ? 0 : t) > 0;
|
|
3088
|
+
}, "hasKatex"), Tn = /* @__PURE__ */ r(async (e, t) => {
|
|
3089
|
+
let n = document.createElement("div");
|
|
3090
|
+
n.innerHTML = await Dn(e, t), n.id = "katex-temp", n.style.visibility = "hidden", n.style.position = "absolute", n.style.top = "0";
|
|
3091
|
+
let r = document.querySelector("body");
|
|
3092
|
+
r == null || r.insertAdjacentElement("beforeend", n);
|
|
3093
|
+
let i = {
|
|
3094
|
+
width: n.clientWidth,
|
|
3095
|
+
height: n.clientHeight
|
|
3096
|
+
};
|
|
3097
|
+
return n.remove(), i;
|
|
3098
|
+
}, "calculateMathMLDimensions"), En = /* @__PURE__ */ r(async (e, t) => {
|
|
3099
|
+
if (!wn(e)) return e;
|
|
3100
|
+
if (!(Sn() || t.legacyMathML || t.forceLegacyMathML)) return e.replace(Cn, "MathML is unsupported in this environment.");
|
|
3101
|
+
{
|
|
3102
|
+
let { default: n } = await import("./katex-thO7aa9b.mjs").then((e) => e.n), r = t.forceLegacyMathML || !Sn() && t.legacyMathML ? "htmlAndMathml" : "mathml";
|
|
3103
|
+
return e.split(nn).map((e) => wn(e) ? `<div style="display: flex; align-items: center; justify-content: center; white-space: nowrap;">${e}</div>` : `<div>${e}</div>`).join("").replace(Cn, (e, t) => n.renderToString(t, {
|
|
3104
|
+
throwOnError: !0,
|
|
3105
|
+
displayMode: !0,
|
|
3106
|
+
output: r
|
|
3107
|
+
}).replace(/\n/g, " ").replace(/<annotation.*<\/annotation>/g, ""));
|
|
3108
|
+
}
|
|
3109
|
+
return e.replace(Cn, "Katex is not supported in @mermaid-js/tiny. Please use the full mermaid library.");
|
|
3110
|
+
}, "renderKatexUnsanitized"), Dn = /* @__PURE__ */ r(async (e, t) => ln(await En(e, t), t), "renderKatexSanitized"), On = {
|
|
3111
|
+
getRows: rn,
|
|
3112
|
+
sanitizeText: ln,
|
|
3113
|
+
sanitizeTextOrArray: un,
|
|
3114
|
+
hasBreaks: dn,
|
|
3115
|
+
splitBreaks: fn,
|
|
3116
|
+
lineBreakRegex: nn,
|
|
3117
|
+
removeScript: sn,
|
|
3118
|
+
getUrl: hn,
|
|
3119
|
+
evaluate: It,
|
|
3120
|
+
getMax: gn,
|
|
3121
|
+
getMin: _n
|
|
3122
|
+
}, kn = /* @__PURE__ */ r(function(e, t) {
|
|
3123
|
+
for (let n of t) e.attr(n[0], n[1]);
|
|
3124
|
+
}, "d3Attrs"), An = /* @__PURE__ */ r(function(e, t, n) {
|
|
3125
|
+
let r = /* @__PURE__ */ new Map();
|
|
3126
|
+
return n ? (r.set("width", "100%"), r.set("style", `max-width: ${t}px;`)) : (r.set("height", e), r.set("width", t)), r;
|
|
3127
|
+
}, "calculateSvgSizeAttrs"), jn = /* @__PURE__ */ r(function(e, t, n, r) {
|
|
3128
|
+
kn(e, An(t, n, r));
|
|
3129
|
+
}, "configureSvgSize"), Mn = /* @__PURE__ */ r(function(e, t, r, i) {
|
|
3130
|
+
let a = t.node().getBBox(), o = a.width, s = a.height;
|
|
3131
|
+
n.info(`SVG bounds: ${o}x${s}`, a);
|
|
3132
|
+
let c = 0, l = 0;
|
|
3133
|
+
n.info(`Graph bounds: ${c}x${l}`, e), c = o + r * 2, l = s + r * 2, n.info(`Calculated bounds: ${c}x${l}`), jn(t, l, c, i);
|
|
3134
|
+
let u = `${a.x - r} ${a.y - r} ${a.width + 2 * r} ${a.height + 2 * r}`;
|
|
3135
|
+
t.attr("viewBox", u);
|
|
3136
|
+
}, "setupGraphViewbox"), Nn = {}, Pn = /* @__PURE__ */ r((t, r, i, a) => {
|
|
3137
|
+
var o, s;
|
|
3138
|
+
let c = "";
|
|
3139
|
+
return t in Nn && Nn[t] ? c = Nn[t](e(e({}, i), {}, { svgId: a })) : n.warn(`No theme found for ${t}`), ` & {
|
|
3140
|
+
font-family: ${i.fontFamily};
|
|
3141
|
+
font-size: ${i.fontSize};
|
|
3142
|
+
fill: ${i.textColor}
|
|
3143
|
+
}
|
|
3144
|
+
@keyframes edge-animation-frame {
|
|
3145
|
+
from {
|
|
3146
|
+
stroke-dashoffset: 0;
|
|
3147
|
+
}
|
|
3148
|
+
}
|
|
3149
|
+
@keyframes dash {
|
|
3150
|
+
to {
|
|
3151
|
+
stroke-dashoffset: 0;
|
|
3152
|
+
}
|
|
3153
|
+
}
|
|
3154
|
+
& .edge-animation-slow {
|
|
3155
|
+
stroke-dasharray: 9,5 !important;
|
|
3156
|
+
stroke-dashoffset: 900;
|
|
3157
|
+
animation: dash 50s linear infinite;
|
|
3158
|
+
stroke-linecap: round;
|
|
3159
|
+
}
|
|
3160
|
+
& .edge-animation-fast {
|
|
3161
|
+
stroke-dasharray: 9,5 !important;
|
|
3162
|
+
stroke-dashoffset: 900;
|
|
3163
|
+
animation: dash 20s linear infinite;
|
|
3164
|
+
stroke-linecap: round;
|
|
3165
|
+
}
|
|
3166
|
+
/* Classes common for multiple diagrams */
|
|
3167
|
+
|
|
3168
|
+
& .error-icon {
|
|
3169
|
+
fill: ${i.errorBkgColor};
|
|
3170
|
+
}
|
|
3171
|
+
& .error-text {
|
|
3172
|
+
fill: ${i.errorTextColor};
|
|
3173
|
+
stroke: ${i.errorTextColor};
|
|
3174
|
+
}
|
|
3175
|
+
|
|
3176
|
+
& .edge-thickness-normal {
|
|
3177
|
+
stroke-width: ${(o = i.strokeWidth) == null ? 1 : o}px;
|
|
3178
|
+
}
|
|
3179
|
+
& .edge-thickness-thick {
|
|
3180
|
+
stroke-width: 3.5px
|
|
3181
|
+
}
|
|
3182
|
+
& .edge-pattern-solid {
|
|
3183
|
+
stroke-dasharray: 0;
|
|
3184
|
+
}
|
|
3185
|
+
& .edge-thickness-invisible {
|
|
3186
|
+
stroke-width: 0;
|
|
3187
|
+
fill: none;
|
|
3188
|
+
}
|
|
3189
|
+
& .edge-pattern-dashed{
|
|
3190
|
+
stroke-dasharray: 3;
|
|
3191
|
+
}
|
|
3192
|
+
.edge-pattern-dotted {
|
|
3193
|
+
stroke-dasharray: 2;
|
|
3194
|
+
}
|
|
3195
|
+
|
|
3196
|
+
& .marker {
|
|
3197
|
+
fill: ${i.lineColor};
|
|
3198
|
+
stroke: ${i.lineColor};
|
|
3199
|
+
}
|
|
3200
|
+
& .marker.cross {
|
|
3201
|
+
stroke: ${i.lineColor};
|
|
3202
|
+
}
|
|
3203
|
+
|
|
3204
|
+
& svg {
|
|
3205
|
+
font-family: ${i.fontFamily};
|
|
3206
|
+
font-size: ${i.fontSize};
|
|
3207
|
+
}
|
|
3208
|
+
& p {
|
|
3209
|
+
margin: 0
|
|
3210
|
+
}
|
|
3211
|
+
|
|
3212
|
+
${c}
|
|
3213
|
+
.node .neo-node {
|
|
3214
|
+
stroke: ${i.nodeBorder};
|
|
3215
|
+
}
|
|
3216
|
+
|
|
3217
|
+
[data-look="neo"].node rect, [data-look="neo"].cluster rect, [data-look="neo"].node polygon {
|
|
3218
|
+
stroke: ${i.useGradient ? "url(" + a + "-gradient)" : i.nodeBorder};
|
|
3219
|
+
filter: ${i.dropShadow ? i.dropShadow.replace("url(#drop-shadow)", `url(${a}-drop-shadow)`) : "none"};
|
|
3220
|
+
}
|
|
3221
|
+
|
|
3222
|
+
|
|
3223
|
+
[data-look="neo"].node path {
|
|
3224
|
+
stroke: ${i.useGradient ? "url(" + a + "-gradient)" : i.nodeBorder};
|
|
3225
|
+
stroke-width: ${(s = i.strokeWidth) == null ? 1 : s}px;
|
|
3226
|
+
}
|
|
3227
|
+
|
|
3228
|
+
[data-look="neo"].node .outer-path {
|
|
3229
|
+
filter: ${i.dropShadow ? i.dropShadow.replace("url(#drop-shadow)", `url(${a}-drop-shadow)`) : "none"};
|
|
3230
|
+
}
|
|
3231
|
+
|
|
3232
|
+
[data-look="neo"].node .neo-line path {
|
|
3233
|
+
stroke: ${i.nodeBorder};
|
|
3234
|
+
filter: none;
|
|
3235
|
+
}
|
|
3236
|
+
|
|
3237
|
+
[data-look="neo"].node circle{
|
|
3238
|
+
stroke: ${i.useGradient ? "url(" + a + "-gradient)" : i.nodeBorder};
|
|
3239
|
+
filter: ${i.dropShadow ? i.dropShadow.replace("url(#drop-shadow)", `url(${a}-drop-shadow)`) : "none"};
|
|
3240
|
+
}
|
|
3241
|
+
|
|
3242
|
+
[data-look="neo"].node circle .state-start{
|
|
3243
|
+
fill: #000000;
|
|
3244
|
+
}
|
|
3245
|
+
|
|
3246
|
+
[data-look="neo"].icon-shape .icon {
|
|
3247
|
+
fill: ${i.useGradient ? "url(" + a + "-gradient)" : i.nodeBorder};
|
|
3248
|
+
filter: ${i.dropShadow ? i.dropShadow.replace("url(#drop-shadow)", `url(${a}-drop-shadow)`) : "none"};
|
|
3249
|
+
}
|
|
3250
|
+
|
|
3251
|
+
[data-look="neo"].icon-shape .icon-neo path {
|
|
3252
|
+
stroke: ${i.useGradient ? "url(" + a + "-gradient)" : i.nodeBorder};
|
|
3253
|
+
filter: ${i.dropShadow ? i.dropShadow.replace("url(#drop-shadow)", `url(${a}-drop-shadow)`) : "none"};
|
|
3254
|
+
}
|
|
3255
|
+
|
|
3256
|
+
${r}
|
|
3257
|
+
`;
|
|
3258
|
+
}, "getStyles"), Fn = /* @__PURE__ */ r((e, t) => {
|
|
3259
|
+
t !== void 0 && (Nn[e] = t);
|
|
3260
|
+
}, "addStylesForDiagram"), In = Pn, Ln = {};
|
|
3261
|
+
i(Ln, {
|
|
3262
|
+
clear: () => Hn,
|
|
3263
|
+
getAccDescription: () => Kn,
|
|
3264
|
+
getAccTitle: () => Wn,
|
|
3265
|
+
getDiagramTitle: () => Jn,
|
|
3266
|
+
setAccDescription: () => Gn,
|
|
3267
|
+
setAccTitle: () => Un,
|
|
3268
|
+
setDiagramTitle: () => qn
|
|
3269
|
+
});
|
|
3270
|
+
var Rn = "", zn = "", Bn = "", Vn = /* @__PURE__ */ r((e) => ln(e, Kt()), "sanitizeText"), Hn = /* @__PURE__ */ r(() => {
|
|
3271
|
+
Rn = "", Bn = "", zn = "";
|
|
3272
|
+
}, "clear"), Un = /* @__PURE__ */ r((e) => {
|
|
3273
|
+
Rn = Vn(e).replace(/^\s+/g, "");
|
|
3274
|
+
}, "setAccTitle"), Wn = /* @__PURE__ */ r(() => Rn, "getAccTitle"), Gn = /* @__PURE__ */ r((e) => {
|
|
3275
|
+
Bn = Vn(e).replace(/\n\s+/g, "\n");
|
|
3276
|
+
}, "setAccDescription"), Kn = /* @__PURE__ */ r(() => Bn, "getAccDescription"), qn = /* @__PURE__ */ r((e) => {
|
|
3277
|
+
zn = Vn(e);
|
|
3278
|
+
}, "setDiagramTitle"), Jn = /* @__PURE__ */ r(() => zn, "getDiagramTitle"), Yn = n, Xn = t, Zn = Kt, Qn = Gt, $n = Ft, er = /* @__PURE__ */ r((e) => ln(e, Zn()), "sanitizeText"), tr = Mn, nr = /* @__PURE__ */ r(() => Ln, "getCommonDb"), rr = {}, ir = /* @__PURE__ */ r((e, t, n) => {
|
|
3279
|
+
var r;
|
|
3280
|
+
rr[e] && Yn.warn(`Diagram with id ${e} already registered. Overwriting.`), rr[e] = t, n && at(e, n), Fn(e, t.styles), (r = t.injectUtils) == null || r.call(t, Yn, Xn, Zn, er, tr, nr(), () => {});
|
|
3281
|
+
}, "registerDiagram"), ar = /* @__PURE__ */ r((e) => {
|
|
3282
|
+
if (e in rr) return rr[e];
|
|
3283
|
+
throw new or(e);
|
|
3284
|
+
}, "getDiagram"), or = (Qe = class extends Error {
|
|
3285
|
+
constructor(e) {
|
|
3286
|
+
super(`Diagram ${e} not found.`);
|
|
3287
|
+
}
|
|
3288
|
+
}, r(Qe, "DiagramNotFoundError"), Qe);
|
|
3289
|
+
//#endregion
|
|
3290
|
+
export { S as $, nn as A, Gn as B, Jn as C, hn as D, pt as E, Yt as F, Vt as G, Gt as H, Nt as I, In as J, Mn as K, ln as L, ir as M, it as N, en as O, Dn as P, C as Q, er as R, ot as S, Wt as T, Qn as U, Un as V, qn as W, Ut as X, Ot as Y, Be as Z, Kn as _, Hn as a, Zn as b, jn as c, Mt as d, x as et, rt as f, $e as g, It as h, Tn as i, o as it, vn as j, wn as k, Ft as l, et as m, Jt as n, _ as nt, Ln as o, nt as p, tr as q, K as r, h as rt, On as s, G as t, b as tt, $n as u, Wn as v, tn as w, ar as x, Kt as y, Ht as z };
|