@spteck/react-controls-v2 2.3.91 → 2.4.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/dist/LocalizationProvider-BbfcY9z3.cjs +2 -0
- package/dist/{LocalizationProvider-te5iu_6z.js → LocalizationProvider-CvSHuk0e.js} +46 -46
- package/dist/{ar-Blifx2MN.js → ar-BPzd6WER.js} +1 -1
- package/dist/ar-CBSdRr5Q.cjs +2 -0
- package/dist/az-DoZjCfF0.cjs +2 -0
- package/dist/{az-CMhDjtnj.js → az-MWX-WDgc.js} +1 -1
- package/dist/{bg-C96WirSv.js → bg-CvRGS4sF.js} +1 -1
- package/dist/bg-DI8UD_HF.cjs +2 -0
- package/dist/bs-DQhZlEEo.cjs +2 -0
- package/dist/{bs-_St1wBE_.js → bs-aXQgChJT.js} +1 -1
- package/dist/{ca-QlLcV4wf.js → ca-BCXCXzgh.js} +1 -1
- package/dist/ca-DSC32tOX.cjs +2 -0
- package/dist/components/dropDownField/IOption.d.ts +2 -0
- package/dist/cs-B0C33FJt.cjs +2 -0
- package/dist/{cs-MrS2bH7F.js → cs-VHWnqXwJ.js} +1 -1
- package/dist/cy-BNabORao.cjs +2 -0
- package/dist/{cy-BX97Tgwk.js → cy-qF-aNCW-.js} +1 -1
- package/dist/da-BmgXTEXm.cjs +2 -0
- package/dist/{da-BnewPPrh.js → da-rR5TnSBw.js} +1 -1
- package/dist/de-B4w38-0d.cjs +2 -0
- package/dist/{de-BSZuzGTL.js → de-DbeDjRNp.js} +1 -1
- package/dist/el-Cgk6VsxL.cjs +2 -0
- package/dist/{el-DrOk3N7-.js → el-DDeD6FiX.js} +1 -1
- package/dist/es-3ugMIZuA.cjs +2 -0
- package/dist/{es-CGqzubZ2.js → es-dvKffn6Q.js} +1 -1
- package/dist/et-CIIzxbat.cjs +2 -0
- package/dist/{et-DGqkocuq.js → et-DgZFBtK7.js} +1 -1
- package/dist/eu-BUNUOJ7E.cjs +2 -0
- package/dist/{eu-DEo7fdTW.js → eu-C6r1_PRy.js} +1 -1
- package/dist/{fi-DxErwnd5.js → fi-CzOKgmjK.js} +1 -1
- package/dist/fi-q6BFPHtt.cjs +2 -0
- package/dist/fr-BEnCZ733.cjs +2 -0
- package/dist/{fr-zrtSZX0o.js → fr-D0cDkdbn.js} +1 -1
- package/dist/{ga-CbHxGc9_.js → ga-0A7ndSzw.js} +1 -1
- package/dist/ga-BXyKTnJr.cjs +2 -0
- package/dist/{gl--w0P3RY4.js → gl-BNwj4XAu.js} +1 -1
- package/dist/gl-DR1C-hSi.cjs +2 -0
- package/dist/{he-DY19lzWp.js → he-BPiZ6D5h.js} +1 -1
- package/dist/he-OD1Ex2Fw.cjs +2 -0
- package/dist/{hi-CFSsoO_8.js → hi-CSgtp9Yg.js} +1 -1
- package/dist/hi-Dt9FvBmh.cjs +2 -0
- package/dist/{hr-DIRJ1Z8e.js → hr-CDSSj52Q.js} +1 -1
- package/dist/hr-DMzwNhar.cjs +2 -0
- package/dist/hu-Bc-rChfV.cjs +2 -0
- package/dist/{hu-DqYPRWZh.js → hu-TDJYiDOB.js} +1 -1
- package/dist/{id-Dgj7SUCi.js → id-B3IF5pnh.js} +1 -1
- package/dist/id-CwndN9HH.cjs +2 -0
- package/dist/index.cjs +105 -114
- package/dist/index.js +5052 -17522
- package/dist/{it-QdChHqVN.js → it-BLET318M.js} +1 -1
- package/dist/it-DaYS5Vil.cjs +2 -0
- package/dist/ja-BYA2LXHy.cjs +2 -0
- package/dist/{ja-BNS0BbY-.js → ja-NxwXLaKV.js} +1 -1
- package/dist/{kk-Dhkax68h.js → kk-CceJcjtl.js} +1 -1
- package/dist/kk-Ctrvuqlz.cjs +2 -0
- package/dist/{ko-heRMHZWp.js → ko-cS_OE967.js} +1 -1
- package/dist/ko-evIcpTG8.cjs +2 -0
- package/dist/lt-CYTLGgh6.cjs +2 -0
- package/dist/{lt-Decqbo8S.js → lt-CZ-kk_5b.js} +1 -1
- package/dist/{lv-wZASv0Lw.js → lv-BTvPpEjc.js} +1 -1
- package/dist/lv-COjitD3w.cjs +2 -0
- package/dist/mk-B-LF5gVL.cjs +2 -0
- package/dist/{mk-BTsLGTJT.js → mk-CSSyI3El.js} +1 -1
- package/dist/ms-CzEvkib0.cjs +2 -0
- package/dist/{ms-C0cVNwky.js → ms-Dz5JnKJ1.js} +1 -1
- package/dist/nb-B1KWSX94.cjs +2 -0
- package/dist/{nb-DGX4q4tS.js → nb-DkgTg1et.js} +1 -1
- package/dist/{nl-CnXZa8tZ.js → nl-CQ5eoxw2.js} +1 -1
- package/dist/nl-knWqo2aX.cjs +2 -0
- package/dist/{pl-DbIdTNpg.js → pl-BQJfOizT.js} +1 -1
- package/dist/pl-Ce6dq53t.cjs +2 -0
- package/dist/providers.cjs +1 -1
- package/dist/providers.js +1 -1
- package/dist/pt-BVqTnGkF.cjs +2 -0
- package/dist/{pt-CcKYweQk.js → pt-b0p7DoD0.js} +1 -1
- package/dist/ro-DqJMfhmX.cjs +2 -0
- package/dist/{ro-C-8tiqgA.js → ro-sbBtUVJV.js} +1 -1
- package/dist/ru-Dm2NAQyK.cjs +2 -0
- package/dist/{ru-Dhnz96q2.js → ru-ofzbka6D.js} +1 -1
- package/dist/sk-BNe6CHG-.cjs +2 -0
- package/dist/{sk-BU-Z5EsC.js → sk-BtpdNCPC.js} +1 -1
- package/dist/{sl-CcfjJFxo.js → sl-B4GsKLu6.js} +1 -1
- package/dist/sl-BKmEUGyu.cjs +2 -0
- package/dist/{sr-S53unrLA.js → sr-C76YVpkQ.js} +1 -1
- package/dist/sr-Dwya5lwF.cjs +2 -0
- package/dist/sv-BGL2G9Vm.cjs +2 -0
- package/dist/{sv-BiJrVfZr.js → sv-PesX57cX.js} +1 -1
- package/dist/{th-vQ7LQ7nD.js → th-CbCNOBnR.js} +1 -1
- package/dist/th-DEv6shFI.cjs +2 -0
- package/dist/{tr-C5RrNGLz.js → tr-B0TPxXKS.js} +1 -1
- package/dist/tr-BB-QonGE.cjs +2 -0
- package/dist/uk-B-3fLKpR.cjs +2 -0
- package/dist/{uk-WGCFH0fY.js → uk-_9cNoBNe.js} +1 -1
- package/dist/{vi-Waa7HkXq.js → vi-B8SfqLW6.js} +1 -1
- package/dist/vi-Dx6pJ0ir.cjs +2 -0
- package/dist/zh-DD0ml2HG.cjs +2 -0
- package/dist/{zh-BmUS7Wn_.js → zh-DqHnbp6B.js} +1 -1
- package/package.json +3 -2
- package/dist/LocalizationProvider-B6NxHbu2.cjs +0 -2
- package/dist/_arrayEach-BuSFKyFt.js +0 -54
- package/dist/_arrayEach-ChR-TejB.cjs +0 -2
- package/dist/_getTag-BRuLtYrv.js +0 -28
- package/dist/_getTag-D6VVyrEu.cjs +0 -2
- package/dist/ar-ip3bGOX3.cjs +0 -2
- package/dist/arc-4yb49ncY.js +0 -82
- package/dist/arc-djsA8IT0.cjs +0 -2
- package/dist/architecture-PBZL5I3N-CvTfVLFi.js +0 -3
- package/dist/architecture-PBZL5I3N-wZIE3ggH.cjs +0 -1
- package/dist/architectureDiagram-2XIMDMQ5-DFEvJNx1.cjs +0 -37
- package/dist/architectureDiagram-2XIMDMQ5-g-HotzpG.js +0 -4047
- package/dist/array-BNB_vRFv.cjs +0 -2
- package/dist/array-DP0duYiO.js +0 -8
- package/dist/az-CyVLdUDz.cjs +0 -2
- package/dist/bg-Bexoz3hL.cjs +0 -2
- package/dist/blockDiagram-WCTKOSBZ-DWgb5Ghz.js +0 -3165
- package/dist/blockDiagram-WCTKOSBZ-Dl04FBAy.cjs +0 -133
- package/dist/bs-MMcvhwLv.cjs +0 -2
- package/dist/c4Diagram-IC4MRINW-ClZvialQ.js +0 -2966
- package/dist/c4Diagram-IC4MRINW-ZFE2cGZP.cjs +0 -11
- package/dist/ca-BspMSeHN.cjs +0 -2
- package/dist/channel-2Bqnb1FY.js +0 -7
- package/dist/channel-5_aP1EVB.cjs +0 -2
- package/dist/chunk-4BX2VUAB-B5Va_oZz.js +0 -10
- package/dist/chunk-4BX2VUAB-BWDW-gYk.cjs +0 -2
- package/dist/chunk-55IACEB6-4ind_ByS.cjs +0 -2
- package/dist/chunk-55IACEB6-Pcyz_aR_.js +0 -10
- package/dist/chunk-7E7YKBS2-Sw9_w4gt.cjs +0 -2
- package/dist/chunk-7E7YKBS2-VHdgsed6.js +0 -25
- package/dist/chunk-7R4GIKGN-BKoqTTU_.cjs +0 -81
- package/dist/chunk-7R4GIKGN-CaQJ0QBF.js +0 -2598
- package/dist/chunk-C72U2L5F-CCvi6jiy.cjs +0 -2
- package/dist/chunk-C72U2L5F-MjJQTOMh.js +0 -25
- package/dist/chunk-D-IZpNpi.cjs +0 -1
- package/dist/chunk-EGIJ26TM-Bffl84Wq.cjs +0 -2
- package/dist/chunk-EGIJ26TM-DLMAfvpZ.js +0 -25
- package/dist/chunk-FMBD7UC4-BvqqU04Z.cjs +0 -16
- package/dist/chunk-FMBD7UC4-xjRtkFXe.js +0 -7
- package/dist/chunk-GEFDOKGD-BNgT40Ex.js +0 -1302
- package/dist/chunk-GEFDOKGD-BOwd6Jqp.cjs +0 -3
- package/dist/chunk-GLR3WWYH-DdNAJNRC.cjs +0 -2
- package/dist/chunk-GLR3WWYH-kyo6BUtq.js +0 -43
- package/dist/chunk-HHEYEP7N-DO1AYIZw.js +0 -11
- package/dist/chunk-HHEYEP7N-pdmgQZzP.cjs +0 -2
- package/dist/chunk-JSJVCQXG-Ci0seBb4.cjs +0 -2
- package/dist/chunk-JSJVCQXG-DowfYWcD.js +0 -62
- package/dist/chunk-KX2RTZJC-BJeOHReu.cjs +0 -2
- package/dist/chunk-KX2RTZJC-D-bUTSNy.js +0 -27
- package/dist/chunk-KYZI473N-DEPuSXaW.js +0 -3436
- package/dist/chunk-KYZI473N-DzBMFOER.cjs +0 -54
- package/dist/chunk-L3YUKLVL-BDGCTzmy.js +0 -25
- package/dist/chunk-L3YUKLVL-BZ17sqh5.cjs +0 -2
- package/dist/chunk-MX3YWQON-CAsnAj2e.js +0 -82
- package/dist/chunk-MX3YWQON-DulrBJdn.cjs +0 -2
- package/dist/chunk-NBPlniwU.js +0 -23
- package/dist/chunk-NQ4KR5QH-BJBAT2kM.cjs +0 -221
- package/dist/chunk-NQ4KR5QH-DFem-ORD.js +0 -2004
- package/dist/chunk-O4XLMI2P-BQF7MAo7.cjs +0 -8
- package/dist/chunk-O4XLMI2P-DA4TPzPG.js +0 -513
- package/dist/chunk-OZEHJAEY-CAiiXJUP.cjs +0 -2
- package/dist/chunk-OZEHJAEY-D7SX2SbR.js +0 -66
- package/dist/chunk-PQ6SQG4A-BZnW4-Sd.cjs +0 -2
- package/dist/chunk-PQ6SQG4A-ObFGkauo.js +0 -69
- package/dist/chunk-PU5JKC2W-BM5NPS-q.js +0 -1887
- package/dist/chunk-PU5JKC2W-eRU8wnTH.cjs +0 -71
- package/dist/chunk-QZHKN3VN-Dhli_tM0.cjs +0 -2
- package/dist/chunk-QZHKN3VN-x258g6EH.js +0 -17
- package/dist/chunk-R5LLSJPH-CNTEucEd.cjs +0 -2
- package/dist/chunk-R5LLSJPH-Gt27ml2m.js +0 -37
- package/dist/chunk-WL4C6EOR-CQXw6d0l.cjs +0 -190
- package/dist/chunk-WL4C6EOR-DuM6QmqM.js +0 -3196
- package/dist/chunk-XIRO2GV7-CswC9CO8.cjs +0 -2
- package/dist/chunk-XIRO2GV7-DXlO8X82.js +0 -32
- package/dist/chunk-XPW4576I-Bpsr4SZJ.js +0 -1148
- package/dist/chunk-XPW4576I-C68T-WIW.cjs +0 -33
- package/dist/chunk-XZSTWKYB-DJv9rEVU.cjs +0 -95
- package/dist/chunk-XZSTWKYB-jD9M1izK.js +0 -16132
- package/dist/chunk-YBOYWFTD-B6CeuteH.js +0 -34
- package/dist/chunk-YBOYWFTD-CiLW6HW_.cjs +0 -2
- package/dist/classDiagram-VBA2DB6C-Us0kuDfz.cjs +0 -2
- package/dist/classDiagram-VBA2DB6C-VOsE3gN0.js +0 -31
- package/dist/classDiagram-v2-RAHNMMFH-BWsm3ea6.cjs +0 -2
- package/dist/classDiagram-v2-RAHNMMFH-DPqMNfOz.js +0 -31
- package/dist/cose-bilkent-S5V4N54A-CKhwzobJ.js +0 -2252
- package/dist/cose-bilkent-S5V4N54A-DmyaRQ6l.cjs +0 -2
- package/dist/cs-FZSeHYld.cjs +0 -2
- package/dist/cy-CzQmM2lQ.cjs +0 -2
- package/dist/cytoscape.esm-CcJAI0wG.cjs +0 -322
- package/dist/cytoscape.esm-D9EjU25_.js +0 -18102
- package/dist/da-CexFt-Oj.cjs +0 -2
- package/dist/dagre-CpEPaL3r.cjs +0 -2
- package/dist/dagre-Dd8wCGc6.js +0 -1305
- package/dist/dagre-KLK3FWXG-BpxkjvB3.js +0 -294
- package/dist/dagre-KLK3FWXG-DIznPQl_.cjs +0 -5
- package/dist/de-B68HwuYu.cjs +0 -2
- package/dist/defaultLocale-CYOzCjwh.js +0 -203
- package/dist/defaultLocale-DSgylVA1.cjs +0 -2
- package/dist/diagram-E7M64L7V-dXqTi77U.cjs +0 -25
- package/dist/diagram-E7M64L7V-oX07GVAD.js +0 -529
- package/dist/diagram-IFDJBPK2-CriVAAmI.cjs +0 -44
- package/dist/diagram-IFDJBPK2-lCNF06_S.js +0 -215
- package/dist/diagram-P4PSJMXO-TfwVJh4S.js +0 -135
- package/dist/diagram-P4PSJMXO-k7F0lH6Q.cjs +0 -25
- package/dist/dist-CV9Ez7cn.js +0 -52
- package/dist/dist-DVthN7lF.cjs +0 -2
- package/dist/el-DQc4jSMd.cjs +0 -2
- package/dist/erDiagram-INFDFZHY-CDt3mOSU.cjs +0 -71
- package/dist/erDiagram-INFDFZHY-Ds_R2Ds4.js +0 -1668
- package/dist/es-DI8Y4Bv1.cjs +0 -2
- package/dist/et-DfaryKvp.cjs +0 -2
- package/dist/eu-BVOSXciF.cjs +0 -2
- package/dist/fi-C5L-OzaI.cjs +0 -2
- package/dist/flowDiagram-PKNHOUZH-7XJG07fo.cjs +0 -163
- package/dist/flowDiagram-PKNHOUZH-CkeYebJ5.js +0 -4163
- package/dist/fr-yFvjqx8B.cjs +0 -2
- package/dist/ga-6mVQhlWi.cjs +0 -2
- package/dist/ganttDiagram-A5KZAMGK-Bbck1pyM.cjs +0 -293
- package/dist/ganttDiagram-A5KZAMGK-CFT3Xn_r.js +0 -3074
- package/dist/gitGraph-HDMCJU4V-BKE04oIl.js +0 -3
- package/dist/gitGraph-HDMCJU4V-C9GYfOYb.cjs +0 -1
- package/dist/gitGraphDiagram-K3NZZRJ6-CXz9SHBX.js +0 -627
- package/dist/gitGraphDiagram-K3NZZRJ6-Dt4D-ig1.cjs +0 -66
- package/dist/gl-BJzJe1sq.cjs +0 -2
- package/dist/graphlib-CPo7oIsu.js +0 -223
- package/dist/graphlib-CmUS4Qin.cjs +0 -2
- package/dist/he-B3Bw3qr0.cjs +0 -2
- package/dist/hi-kofL-mD8.cjs +0 -2
- package/dist/hr-CDxqA9Jm.cjs +0 -2
- package/dist/hu-Defen_75.cjs +0 -2
- package/dist/id-DcwMRgmX.cjs +0 -2
- package/dist/identity-6JlhFhuM.cjs +0 -2
- package/dist/identity-C1jKsMoW.js +0 -395
- package/dist/info-3K5VOQVL-DfN_3mKd.js +0 -3
- package/dist/info-3K5VOQVL-d6J9FY0_.cjs +0 -1
- package/dist/infoDiagram-LFFYTUFH-Bp9btqnA.cjs +0 -3
- package/dist/infoDiagram-LFFYTUFH-DnvgRFnx.js +0 -21
- package/dist/init-BAFZAp9S.cjs +0 -2
- package/dist/init-m0TwgR4W.js +0 -17
- package/dist/isEmpty-BTp1uKIj.cjs +0 -2
- package/dist/isEmpty-uXVYZZYe.js +0 -17
- package/dist/ishikawaDiagram-PHBUUO56-DLaOkz38.js +0 -719
- package/dist/ishikawaDiagram-PHBUUO56-DmqObwMZ.cjs +0 -71
- package/dist/it-D5nM6KCi.cjs +0 -2
- package/dist/ja-BtuHirv7.cjs +0 -2
- package/dist/journeyDiagram-4ABVD52K-Cv0DbLMi.cjs +0 -140
- package/dist/journeyDiagram-4ABVD52K-DYmmcNK4.js +0 -885
- package/dist/kanban-definition-K7BYSVSG-BdQLAMeB.cjs +0 -90
- package/dist/kanban-definition-K7BYSVSG-CLEYqSz5.js +0 -973
- package/dist/katex-B-Nju2J8.js +0 -22002
- package/dist/katex-WY67Rp7A.cjs +0 -266
- package/dist/kk-BSl8IqgQ.cjs +0 -2
- package/dist/ko-eplb1GD0.cjs +0 -2
- package/dist/line-CbEBKCYr.js +0 -36
- package/dist/line-DqSdvtRR.cjs +0 -2
- package/dist/linear-DvLDpS6A.cjs +0 -2
- package/dist/linear-Eb79THx6.js +0 -291
- package/dist/lt-DsYAWFbF.cjs +0 -2
- package/dist/lv-DHmTjCb8.cjs +0 -2
- package/dist/maplibre-gl-qSrG75fp.js +0 -33003
- package/dist/maplibre-gl-tm_pVdmb.cjs +0 -757
- package/dist/math-DR9t6ixc.cjs +0 -2
- package/dist/math-DyURnvXC.js +0 -12
- package/dist/mermaid-parser.core-BdTB9qx-.js +0 -61
- package/dist/mermaid-parser.core-BlzF5RRD.cjs +0 -4
- package/dist/mindmap-definition-YRQLILUH-CzcVgr-U.js +0 -966
- package/dist/mindmap-definition-YRQLILUH-zWN_YXC3.cjs +0 -69
- package/dist/mk-CCV_308U.cjs +0 -2
- package/dist/ms-CH83xVYN.cjs +0 -2
- package/dist/nb-DZ-DlwcL.cjs +0 -2
- package/dist/nl-Xdf-A19i.cjs +0 -2
- package/dist/ordinal-BAWGEQkf.js +0 -67
- package/dist/ordinal-CL2X4e2C.cjs +0 -2
- package/dist/packet-RMMSAZCW-Bek1stRX.cjs +0 -1
- package/dist/packet-RMMSAZCW-DUN6t9lN.js +0 -3
- package/dist/path-Bt6guLtL.cjs +0 -2
- package/dist/path-DSzKK8fH.js +0 -87
- package/dist/pie-UPGHQEXC-DjqNO54R.js +0 -3
- package/dist/pie-UPGHQEXC-pJq6_YgE.cjs +0 -1
- package/dist/pieDiagram-SKSYHLDU-Ba-c0fRA.cjs +0 -31
- package/dist/pieDiagram-SKSYHLDU-ya07MTY-.js +0 -167
- package/dist/pl-BStql1S-.cjs +0 -2
- package/dist/pt-Dk4jELuZ.cjs +0 -2
- package/dist/quadrantDiagram-337W2JSQ-CQQEVC49.cjs +0 -8
- package/dist/quadrantDiagram-337W2JSQ-Dp_QyIEO.js +0 -1976
- package/dist/radar-KQ55EAFF-Bid2hXXI.cjs +0 -1
- package/dist/radar-KQ55EAFF-C6zhEkCz.js +0 -3
- package/dist/requirementDiagram-Z7DCOOCP-CRl2914V.js +0 -2203
- package/dist/requirementDiagram-Z7DCOOCP-CeMYhXEm.cjs +0 -74
- package/dist/ro-BvhMyTKh.cjs +0 -2
- package/dist/rough.esm-BjJ_weyP.cjs +0 -2
- package/dist/rough.esm-DBHP55VQ.js +0 -1354
- package/dist/ru-BQosng8l.cjs +0 -2
- package/dist/sankeyDiagram-WA2Y5GQK-BFrF47Iv.js +0 -922
- package/dist/sankeyDiagram-WA2Y5GQK-DDfjtQ4G.cjs +0 -11
- package/dist/sequenceDiagram-2WXFIKYE-B-zWyr9f.cjs +0 -146
- package/dist/sequenceDiagram-2WXFIKYE-BAd8OVlz.js +0 -4111
- package/dist/sk-BhA7UeAk.cjs +0 -2
- package/dist/sl-6Mczv4jG.cjs +0 -2
- package/dist/sr-CxObZdu0.cjs +0 -2
- package/dist/src-DFxq-N5I.cjs +0 -2
- package/dist/src-Dm6r9c7l.js +0 -2148
- package/dist/stateDiagram-RAJIS63D-C-tfqeC-.js +0 -219
- package/dist/stateDiagram-RAJIS63D-C1Aj8vJQ.cjs +0 -2
- package/dist/stateDiagram-v2-FVOUBMTO-C-w53gXL.js +0 -29
- package/dist/stateDiagram-v2-FVOUBMTO-VoIE_KVn.cjs +0 -2
- package/dist/sv-BfiunVuX.cjs +0 -2
- package/dist/th-BqLGltZi.cjs +0 -2
- package/dist/timeline-definition-YZTLITO2-CE1y2S_r.js +0 -832
- package/dist/timeline-definition-YZTLITO2-D8aFfnYE.cjs +0 -62
- package/dist/tr-Brwl4o_Z.cjs +0 -2
- package/dist/treemap-KZPCXAKY-D2v0uStP.cjs +0 -1
- package/dist/treemap-KZPCXAKY-DLE_f1Bk.js +0 -3
- package/dist/uk-CV49TRvS.cjs +0 -2
- package/dist/vennDiagram-LZ73GAT5-BSpVMORX.js +0 -1860
- package/dist/vennDiagram-LZ73GAT5-DvnB0e7u.cjs +0 -35
- package/dist/vi-JzM7bjn_.cjs +0 -2
- package/dist/xychartDiagram-JWTSCODW-0qbVGrDs.cjs +0 -8
- package/dist/xychartDiagram-JWTSCODW-DpIry-th.js +0 -2043
- package/dist/zh-DEm0SGzZ.cjs +0 -2
|
@@ -1,2598 +0,0 @@
|
|
|
1
|
-
import { _ as e, g as t, h as n, m as r } from "./src-Dm6r9c7l.js";
|
|
2
|
-
//#region node_modules/khroma/dist/utils/channel.js
|
|
3
|
-
var i = {
|
|
4
|
-
min: {
|
|
5
|
-
r: 0,
|
|
6
|
-
g: 0,
|
|
7
|
-
b: 0,
|
|
8
|
-
s: 0,
|
|
9
|
-
l: 0,
|
|
10
|
-
a: 0
|
|
11
|
-
},
|
|
12
|
-
max: {
|
|
13
|
-
r: 255,
|
|
14
|
-
g: 255,
|
|
15
|
-
b: 255,
|
|
16
|
-
h: 360,
|
|
17
|
-
s: 100,
|
|
18
|
-
l: 100,
|
|
19
|
-
a: 1
|
|
20
|
-
},
|
|
21
|
-
clamp: {
|
|
22
|
-
r: (e) => e >= 255 ? 255 : e < 0 ? 0 : e,
|
|
23
|
-
g: (e) => e >= 255 ? 255 : e < 0 ? 0 : e,
|
|
24
|
-
b: (e) => e >= 255 ? 255 : e < 0 ? 0 : e,
|
|
25
|
-
h: (e) => e % 360,
|
|
26
|
-
s: (e) => e >= 100 ? 100 : e < 0 ? 0 : e,
|
|
27
|
-
l: (e) => e >= 100 ? 100 : e < 0 ? 0 : e,
|
|
28
|
-
a: (e) => e >= 1 ? 1 : e < 0 ? 0 : e
|
|
29
|
-
},
|
|
30
|
-
toLinear: (e) => {
|
|
31
|
-
let t = e / 255;
|
|
32
|
-
return e > .03928 ? ((t + .055) / 1.055) ** 2.4 : t / 12.92;
|
|
33
|
-
},
|
|
34
|
-
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),
|
|
35
|
-
hsl2rgb: ({ h: e, s: t, l: n }, r) => {
|
|
36
|
-
if (!t) return n * 2.55;
|
|
37
|
-
e /= 360, t /= 100, n /= 100;
|
|
38
|
-
let a = n < .5 ? n * (1 + t) : n + t - n * t, o = 2 * n - a;
|
|
39
|
-
switch (r) {
|
|
40
|
-
case "r": return i.hue2rgb(o, a, e + 1 / 3) * 255;
|
|
41
|
-
case "g": return i.hue2rgb(o, a, e) * 255;
|
|
42
|
-
case "b": return i.hue2rgb(o, a, e - 1 / 3) * 255;
|
|
43
|
-
}
|
|
44
|
-
},
|
|
45
|
-
rgb2hsl: ({ r: e, g: t, b: n }, r) => {
|
|
46
|
-
e /= 255, t /= 255, n /= 255;
|
|
47
|
-
let i = Math.max(e, t, n), a = Math.min(e, t, n), o = (i + a) / 2;
|
|
48
|
-
if (r === "l") return o * 100;
|
|
49
|
-
if (i === a) return 0;
|
|
50
|
-
let s = i - a, c = o > .5 ? s / (2 - i - a) : s / (i + a);
|
|
51
|
-
if (r === "s") return c * 100;
|
|
52
|
-
switch (i) {
|
|
53
|
-
case e: return ((t - n) / s + (t < n ? 6 : 0)) * 60;
|
|
54
|
-
case t: return ((n - e) / s + 2) * 60;
|
|
55
|
-
case n: return ((e - t) / s + 4) * 60;
|
|
56
|
-
default: return -1;
|
|
57
|
-
}
|
|
58
|
-
}
|
|
59
|
-
}, a = {
|
|
60
|
-
channel: i,
|
|
61
|
-
lang: {
|
|
62
|
-
clamp: (e, t, n) => t > n ? Math.min(t, Math.max(n, e)) : Math.min(n, Math.max(t, e)),
|
|
63
|
-
round: (e) => Math.round(e * 1e10) / 1e10
|
|
64
|
-
},
|
|
65
|
-
unit: { dec2hex: (e) => {
|
|
66
|
-
let t = Math.round(e).toString(16);
|
|
67
|
-
return t.length > 1 ? t : `0${t}`;
|
|
68
|
-
} }
|
|
69
|
-
}, o = {};
|
|
70
|
-
for (let e = 0; e <= 255; e++) o[e] = a.unit.dec2hex(e);
|
|
71
|
-
var s = {
|
|
72
|
-
ALL: 0,
|
|
73
|
-
RGB: 1,
|
|
74
|
-
HSL: 2
|
|
75
|
-
}, c = class {
|
|
76
|
-
constructor() {
|
|
77
|
-
this.type = s.ALL;
|
|
78
|
-
}
|
|
79
|
-
get() {
|
|
80
|
-
return this.type;
|
|
81
|
-
}
|
|
82
|
-
set(e) {
|
|
83
|
-
if (this.type && this.type !== e) throw Error("Cannot change both RGB and HSL channels at the same time");
|
|
84
|
-
this.type = e;
|
|
85
|
-
}
|
|
86
|
-
reset() {
|
|
87
|
-
this.type = s.ALL;
|
|
88
|
-
}
|
|
89
|
-
is(e) {
|
|
90
|
-
return this.type === e;
|
|
91
|
-
}
|
|
92
|
-
}, l = new class {
|
|
93
|
-
constructor(e, t) {
|
|
94
|
-
this.color = t, this.changed = !1, this.data = e, this.type = new c();
|
|
95
|
-
}
|
|
96
|
-
set(e, t) {
|
|
97
|
-
return this.color = t, this.changed = !1, this.data = e, this.type.type = s.ALL, this;
|
|
98
|
-
}
|
|
99
|
-
_ensureHSL() {
|
|
100
|
-
let e = this.data, { h: t, s: n, l: r } = e;
|
|
101
|
-
t === void 0 && (e.h = a.channel.rgb2hsl(e, "h")), n === void 0 && (e.s = a.channel.rgb2hsl(e, "s")), r === void 0 && (e.l = a.channel.rgb2hsl(e, "l"));
|
|
102
|
-
}
|
|
103
|
-
_ensureRGB() {
|
|
104
|
-
let e = this.data, { r: t, g: n, b: r } = e;
|
|
105
|
-
t === void 0 && (e.r = a.channel.hsl2rgb(e, "r")), n === void 0 && (e.g = a.channel.hsl2rgb(e, "g")), r === void 0 && (e.b = a.channel.hsl2rgb(e, "b"));
|
|
106
|
-
}
|
|
107
|
-
get r() {
|
|
108
|
-
let e = this.data, t = e.r;
|
|
109
|
-
return !this.type.is(s.HSL) && t !== void 0 ? t : (this._ensureHSL(), a.channel.hsl2rgb(e, "r"));
|
|
110
|
-
}
|
|
111
|
-
get g() {
|
|
112
|
-
let e = this.data, t = e.g;
|
|
113
|
-
return !this.type.is(s.HSL) && t !== void 0 ? t : (this._ensureHSL(), a.channel.hsl2rgb(e, "g"));
|
|
114
|
-
}
|
|
115
|
-
get b() {
|
|
116
|
-
let e = this.data, t = e.b;
|
|
117
|
-
return !this.type.is(s.HSL) && t !== void 0 ? t : (this._ensureHSL(), a.channel.hsl2rgb(e, "b"));
|
|
118
|
-
}
|
|
119
|
-
get h() {
|
|
120
|
-
let e = this.data, t = e.h;
|
|
121
|
-
return !this.type.is(s.RGB) && t !== void 0 ? t : (this._ensureRGB(), a.channel.rgb2hsl(e, "h"));
|
|
122
|
-
}
|
|
123
|
-
get s() {
|
|
124
|
-
let e = this.data, t = e.s;
|
|
125
|
-
return !this.type.is(s.RGB) && t !== void 0 ? t : (this._ensureRGB(), a.channel.rgb2hsl(e, "s"));
|
|
126
|
-
}
|
|
127
|
-
get l() {
|
|
128
|
-
let e = this.data, t = e.l;
|
|
129
|
-
return !this.type.is(s.RGB) && t !== void 0 ? t : (this._ensureRGB(), a.channel.rgb2hsl(e, "l"));
|
|
130
|
-
}
|
|
131
|
-
get a() {
|
|
132
|
-
return this.data.a;
|
|
133
|
-
}
|
|
134
|
-
set r(e) {
|
|
135
|
-
this.type.set(s.RGB), this.changed = !0, this.data.r = e;
|
|
136
|
-
}
|
|
137
|
-
set g(e) {
|
|
138
|
-
this.type.set(s.RGB), this.changed = !0, this.data.g = e;
|
|
139
|
-
}
|
|
140
|
-
set b(e) {
|
|
141
|
-
this.type.set(s.RGB), this.changed = !0, this.data.b = e;
|
|
142
|
-
}
|
|
143
|
-
set h(e) {
|
|
144
|
-
this.type.set(s.HSL), this.changed = !0, this.data.h = e;
|
|
145
|
-
}
|
|
146
|
-
set s(e) {
|
|
147
|
-
this.type.set(s.HSL), this.changed = !0, this.data.s = e;
|
|
148
|
-
}
|
|
149
|
-
set l(e) {
|
|
150
|
-
this.type.set(s.HSL), this.changed = !0, this.data.l = e;
|
|
151
|
-
}
|
|
152
|
-
set a(e) {
|
|
153
|
-
this.changed = !0, this.data.a = e;
|
|
154
|
-
}
|
|
155
|
-
}({
|
|
156
|
-
r: 0,
|
|
157
|
-
g: 0,
|
|
158
|
-
b: 0,
|
|
159
|
-
a: 0
|
|
160
|
-
}, "transparent"), u = {
|
|
161
|
-
re: /^#((?:[a-f0-9]{2}){2,4}|[a-f0-9]{3})$/i,
|
|
162
|
-
parse: (e) => {
|
|
163
|
-
if (e.charCodeAt(0) !== 35) return;
|
|
164
|
-
let t = e.match(u.re);
|
|
165
|
-
if (!t) return;
|
|
166
|
-
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, d = a ? 0 : -1, f = o ? 255 : 15;
|
|
167
|
-
return l.set({
|
|
168
|
-
r: (r >> c * (d + 3) & f) * s,
|
|
169
|
-
g: (r >> c * (d + 2) & f) * s,
|
|
170
|
-
b: (r >> c * (d + 1) & f) * s,
|
|
171
|
-
a: a ? (r & f) * s / 255 : 1
|
|
172
|
-
}, e);
|
|
173
|
-
},
|
|
174
|
-
stringify: (e) => {
|
|
175
|
-
let { r: t, g: n, b: r, a: i } = e;
|
|
176
|
-
return i < 1 ? `#${o[Math.round(t)]}${o[Math.round(n)]}${o[Math.round(r)]}${o[Math.round(i * 255)]}` : `#${o[Math.round(t)]}${o[Math.round(n)]}${o[Math.round(r)]}`;
|
|
177
|
-
}
|
|
178
|
-
}, d = {
|
|
179
|
-
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,
|
|
180
|
-
hueRe: /^(.+?)(deg|grad|rad|turn)$/i,
|
|
181
|
-
_hue2deg: (e) => {
|
|
182
|
-
let t = e.match(d.hueRe);
|
|
183
|
-
if (t) {
|
|
184
|
-
let [, e, n] = t;
|
|
185
|
-
switch (n) {
|
|
186
|
-
case "grad": return a.channel.clamp.h(parseFloat(e) * .9);
|
|
187
|
-
case "rad": return a.channel.clamp.h(parseFloat(e) * 180 / Math.PI);
|
|
188
|
-
case "turn": return a.channel.clamp.h(parseFloat(e) * 360);
|
|
189
|
-
}
|
|
190
|
-
}
|
|
191
|
-
return a.channel.clamp.h(parseFloat(e));
|
|
192
|
-
},
|
|
193
|
-
parse: (e) => {
|
|
194
|
-
let t = e.charCodeAt(0);
|
|
195
|
-
if (t !== 104 && t !== 72) return;
|
|
196
|
-
let n = e.match(d.re);
|
|
197
|
-
if (!n) return;
|
|
198
|
-
let [, r, i, o, s, c] = n;
|
|
199
|
-
return l.set({
|
|
200
|
-
h: d._hue2deg(r),
|
|
201
|
-
s: a.channel.clamp.s(parseFloat(i)),
|
|
202
|
-
l: a.channel.clamp.l(parseFloat(o)),
|
|
203
|
-
a: s ? a.channel.clamp.a(c ? parseFloat(s) / 100 : parseFloat(s)) : 1
|
|
204
|
-
}, e);
|
|
205
|
-
},
|
|
206
|
-
stringify: (e) => {
|
|
207
|
-
let { h: t, s: n, l: r, a: i } = e;
|
|
208
|
-
return i < 1 ? `hsla(${a.lang.round(t)}, ${a.lang.round(n)}%, ${a.lang.round(r)}%, ${i})` : `hsl(${a.lang.round(t)}, ${a.lang.round(n)}%, ${a.lang.round(r)}%)`;
|
|
209
|
-
}
|
|
210
|
-
}, f = {
|
|
211
|
-
colors: {
|
|
212
|
-
aliceblue: "#f0f8ff",
|
|
213
|
-
antiquewhite: "#faebd7",
|
|
214
|
-
aqua: "#00ffff",
|
|
215
|
-
aquamarine: "#7fffd4",
|
|
216
|
-
azure: "#f0ffff",
|
|
217
|
-
beige: "#f5f5dc",
|
|
218
|
-
bisque: "#ffe4c4",
|
|
219
|
-
black: "#000000",
|
|
220
|
-
blanchedalmond: "#ffebcd",
|
|
221
|
-
blue: "#0000ff",
|
|
222
|
-
blueviolet: "#8a2be2",
|
|
223
|
-
brown: "#a52a2a",
|
|
224
|
-
burlywood: "#deb887",
|
|
225
|
-
cadetblue: "#5f9ea0",
|
|
226
|
-
chartreuse: "#7fff00",
|
|
227
|
-
chocolate: "#d2691e",
|
|
228
|
-
coral: "#ff7f50",
|
|
229
|
-
cornflowerblue: "#6495ed",
|
|
230
|
-
cornsilk: "#fff8dc",
|
|
231
|
-
crimson: "#dc143c",
|
|
232
|
-
cyanaqua: "#00ffff",
|
|
233
|
-
darkblue: "#00008b",
|
|
234
|
-
darkcyan: "#008b8b",
|
|
235
|
-
darkgoldenrod: "#b8860b",
|
|
236
|
-
darkgray: "#a9a9a9",
|
|
237
|
-
darkgreen: "#006400",
|
|
238
|
-
darkgrey: "#a9a9a9",
|
|
239
|
-
darkkhaki: "#bdb76b",
|
|
240
|
-
darkmagenta: "#8b008b",
|
|
241
|
-
darkolivegreen: "#556b2f",
|
|
242
|
-
darkorange: "#ff8c00",
|
|
243
|
-
darkorchid: "#9932cc",
|
|
244
|
-
darkred: "#8b0000",
|
|
245
|
-
darksalmon: "#e9967a",
|
|
246
|
-
darkseagreen: "#8fbc8f",
|
|
247
|
-
darkslateblue: "#483d8b",
|
|
248
|
-
darkslategray: "#2f4f4f",
|
|
249
|
-
darkslategrey: "#2f4f4f",
|
|
250
|
-
darkturquoise: "#00ced1",
|
|
251
|
-
darkviolet: "#9400d3",
|
|
252
|
-
deeppink: "#ff1493",
|
|
253
|
-
deepskyblue: "#00bfff",
|
|
254
|
-
dimgray: "#696969",
|
|
255
|
-
dimgrey: "#696969",
|
|
256
|
-
dodgerblue: "#1e90ff",
|
|
257
|
-
firebrick: "#b22222",
|
|
258
|
-
floralwhite: "#fffaf0",
|
|
259
|
-
forestgreen: "#228b22",
|
|
260
|
-
fuchsia: "#ff00ff",
|
|
261
|
-
gainsboro: "#dcdcdc",
|
|
262
|
-
ghostwhite: "#f8f8ff",
|
|
263
|
-
gold: "#ffd700",
|
|
264
|
-
goldenrod: "#daa520",
|
|
265
|
-
gray: "#808080",
|
|
266
|
-
green: "#008000",
|
|
267
|
-
greenyellow: "#adff2f",
|
|
268
|
-
grey: "#808080",
|
|
269
|
-
honeydew: "#f0fff0",
|
|
270
|
-
hotpink: "#ff69b4",
|
|
271
|
-
indianred: "#cd5c5c",
|
|
272
|
-
indigo: "#4b0082",
|
|
273
|
-
ivory: "#fffff0",
|
|
274
|
-
khaki: "#f0e68c",
|
|
275
|
-
lavender: "#e6e6fa",
|
|
276
|
-
lavenderblush: "#fff0f5",
|
|
277
|
-
lawngreen: "#7cfc00",
|
|
278
|
-
lemonchiffon: "#fffacd",
|
|
279
|
-
lightblue: "#add8e6",
|
|
280
|
-
lightcoral: "#f08080",
|
|
281
|
-
lightcyan: "#e0ffff",
|
|
282
|
-
lightgoldenrodyellow: "#fafad2",
|
|
283
|
-
lightgray: "#d3d3d3",
|
|
284
|
-
lightgreen: "#90ee90",
|
|
285
|
-
lightgrey: "#d3d3d3",
|
|
286
|
-
lightpink: "#ffb6c1",
|
|
287
|
-
lightsalmon: "#ffa07a",
|
|
288
|
-
lightseagreen: "#20b2aa",
|
|
289
|
-
lightskyblue: "#87cefa",
|
|
290
|
-
lightslategray: "#778899",
|
|
291
|
-
lightslategrey: "#778899",
|
|
292
|
-
lightsteelblue: "#b0c4de",
|
|
293
|
-
lightyellow: "#ffffe0",
|
|
294
|
-
lime: "#00ff00",
|
|
295
|
-
limegreen: "#32cd32",
|
|
296
|
-
linen: "#faf0e6",
|
|
297
|
-
magenta: "#ff00ff",
|
|
298
|
-
maroon: "#800000",
|
|
299
|
-
mediumaquamarine: "#66cdaa",
|
|
300
|
-
mediumblue: "#0000cd",
|
|
301
|
-
mediumorchid: "#ba55d3",
|
|
302
|
-
mediumpurple: "#9370db",
|
|
303
|
-
mediumseagreen: "#3cb371",
|
|
304
|
-
mediumslateblue: "#7b68ee",
|
|
305
|
-
mediumspringgreen: "#00fa9a",
|
|
306
|
-
mediumturquoise: "#48d1cc",
|
|
307
|
-
mediumvioletred: "#c71585",
|
|
308
|
-
midnightblue: "#191970",
|
|
309
|
-
mintcream: "#f5fffa",
|
|
310
|
-
mistyrose: "#ffe4e1",
|
|
311
|
-
moccasin: "#ffe4b5",
|
|
312
|
-
navajowhite: "#ffdead",
|
|
313
|
-
navy: "#000080",
|
|
314
|
-
oldlace: "#fdf5e6",
|
|
315
|
-
olive: "#808000",
|
|
316
|
-
olivedrab: "#6b8e23",
|
|
317
|
-
orange: "#ffa500",
|
|
318
|
-
orangered: "#ff4500",
|
|
319
|
-
orchid: "#da70d6",
|
|
320
|
-
palegoldenrod: "#eee8aa",
|
|
321
|
-
palegreen: "#98fb98",
|
|
322
|
-
paleturquoise: "#afeeee",
|
|
323
|
-
palevioletred: "#db7093",
|
|
324
|
-
papayawhip: "#ffefd5",
|
|
325
|
-
peachpuff: "#ffdab9",
|
|
326
|
-
peru: "#cd853f",
|
|
327
|
-
pink: "#ffc0cb",
|
|
328
|
-
plum: "#dda0dd",
|
|
329
|
-
powderblue: "#b0e0e6",
|
|
330
|
-
purple: "#800080",
|
|
331
|
-
rebeccapurple: "#663399",
|
|
332
|
-
red: "#ff0000",
|
|
333
|
-
rosybrown: "#bc8f8f",
|
|
334
|
-
royalblue: "#4169e1",
|
|
335
|
-
saddlebrown: "#8b4513",
|
|
336
|
-
salmon: "#fa8072",
|
|
337
|
-
sandybrown: "#f4a460",
|
|
338
|
-
seagreen: "#2e8b57",
|
|
339
|
-
seashell: "#fff5ee",
|
|
340
|
-
sienna: "#a0522d",
|
|
341
|
-
silver: "#c0c0c0",
|
|
342
|
-
skyblue: "#87ceeb",
|
|
343
|
-
slateblue: "#6a5acd",
|
|
344
|
-
slategray: "#708090",
|
|
345
|
-
slategrey: "#708090",
|
|
346
|
-
snow: "#fffafa",
|
|
347
|
-
springgreen: "#00ff7f",
|
|
348
|
-
tan: "#d2b48c",
|
|
349
|
-
teal: "#008080",
|
|
350
|
-
thistle: "#d8bfd8",
|
|
351
|
-
transparent: "#00000000",
|
|
352
|
-
turquoise: "#40e0d0",
|
|
353
|
-
violet: "#ee82ee",
|
|
354
|
-
wheat: "#f5deb3",
|
|
355
|
-
white: "#ffffff",
|
|
356
|
-
whitesmoke: "#f5f5f5",
|
|
357
|
-
yellow: "#ffff00",
|
|
358
|
-
yellowgreen: "#9acd32"
|
|
359
|
-
},
|
|
360
|
-
parse: (e) => {
|
|
361
|
-
e = e.toLowerCase();
|
|
362
|
-
let t = f.colors[e];
|
|
363
|
-
if (t) return u.parse(t);
|
|
364
|
-
},
|
|
365
|
-
stringify: (e) => {
|
|
366
|
-
let t = u.stringify(e);
|
|
367
|
-
for (let e in f.colors) if (f.colors[e] === t) return e;
|
|
368
|
-
}
|
|
369
|
-
}, p = {
|
|
370
|
-
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,
|
|
371
|
-
parse: (e) => {
|
|
372
|
-
let t = e.charCodeAt(0);
|
|
373
|
-
if (t !== 114 && t !== 82) return;
|
|
374
|
-
let n = e.match(p.re);
|
|
375
|
-
if (!n) return;
|
|
376
|
-
let [, r, i, o, s, c, u, d, f] = n;
|
|
377
|
-
return l.set({
|
|
378
|
-
r: a.channel.clamp.r(i ? parseFloat(r) * 2.55 : parseFloat(r)),
|
|
379
|
-
g: a.channel.clamp.g(s ? parseFloat(o) * 2.55 : parseFloat(o)),
|
|
380
|
-
b: a.channel.clamp.b(u ? parseFloat(c) * 2.55 : parseFloat(c)),
|
|
381
|
-
a: d ? a.channel.clamp.a(f ? parseFloat(d) / 100 : parseFloat(d)) : 1
|
|
382
|
-
}, e);
|
|
383
|
-
},
|
|
384
|
-
stringify: (e) => {
|
|
385
|
-
let { r: t, g: n, b: r, a: i } = e;
|
|
386
|
-
return i < 1 ? `rgba(${a.lang.round(t)}, ${a.lang.round(n)}, ${a.lang.round(r)}, ${a.lang.round(i)})` : `rgb(${a.lang.round(t)}, ${a.lang.round(n)}, ${a.lang.round(r)})`;
|
|
387
|
-
}
|
|
388
|
-
}, m = {
|
|
389
|
-
format: {
|
|
390
|
-
keyword: f,
|
|
391
|
-
hex: u,
|
|
392
|
-
rgb: p,
|
|
393
|
-
rgba: p,
|
|
394
|
-
hsl: d,
|
|
395
|
-
hsla: d
|
|
396
|
-
},
|
|
397
|
-
parse: (e) => {
|
|
398
|
-
if (typeof e != "string") return e;
|
|
399
|
-
let t = u.parse(e) || p.parse(e) || d.parse(e) || f.parse(e);
|
|
400
|
-
if (t) return t;
|
|
401
|
-
throw Error(`Unsupported color format: "${e}"`);
|
|
402
|
-
},
|
|
403
|
-
stringify: (e) => !e.changed && e.color ? e.color : e.type.is(s.HSL) || e.data.r === void 0 ? d.stringify(e) : e.a < 1 || !Number.isInteger(e.r) || !Number.isInteger(e.g) || !Number.isInteger(e.b) ? p.stringify(e) : u.stringify(e)
|
|
404
|
-
}, h = (e, t) => {
|
|
405
|
-
let n = m.parse(e);
|
|
406
|
-
for (let e in t) n[e] = a.channel.clamp[e](t[e]);
|
|
407
|
-
return m.stringify(n);
|
|
408
|
-
}, ee = (e, t, n = 0, r = 1) => {
|
|
409
|
-
if (typeof e != "number") return h(e, { a: t });
|
|
410
|
-
let i = l.set({
|
|
411
|
-
r: a.channel.clamp.r(e),
|
|
412
|
-
g: a.channel.clamp.g(t),
|
|
413
|
-
b: a.channel.clamp.b(n),
|
|
414
|
-
a: a.channel.clamp.a(r)
|
|
415
|
-
});
|
|
416
|
-
return m.stringify(i);
|
|
417
|
-
}, te = (e) => {
|
|
418
|
-
let { r: t, g: n, b: r } = m.parse(e), i = .2126 * a.channel.toLinear(t) + .7152 * a.channel.toLinear(n) + .0722 * a.channel.toLinear(r);
|
|
419
|
-
return a.lang.round(i);
|
|
420
|
-
}, ne = (e) => te(e) >= .5, g = (e) => !ne(e), _ = (e, t, n) => {
|
|
421
|
-
let r = m.parse(e), i = r[t], o = a.channel.clamp[t](i + n);
|
|
422
|
-
return i !== o && (r[t] = o), m.stringify(r);
|
|
423
|
-
}, v = (e, t) => _(e, "l", t), y = (e, t) => _(e, "l", -t), b = (e, t) => {
|
|
424
|
-
let n = m.parse(e), r = {};
|
|
425
|
-
for (let e in t) t[e] && (r[e] = n[e] + t[e]);
|
|
426
|
-
return h(e, r);
|
|
427
|
-
}, re = (e, t, n = 50) => {
|
|
428
|
-
let { r, g: i, b: a, a: o } = m.parse(e), { r: s, g: c, b: l, a: u } = m.parse(t), d = n / 100, f = d * 2 - 1, p = o - u, h = ((f * p === -1 ? f : (f + p) / (1 + f * p)) + 1) / 2, te = 1 - h;
|
|
429
|
-
return ee(r * h + s * te, i * h + c * te, a * h + l * te, o * d + u * (1 - d));
|
|
430
|
-
}, x = (e, t = 100) => {
|
|
431
|
-
let n = m.parse(e);
|
|
432
|
-
return n.r = 255 - n.r, n.g = 255 - n.g, n.b = 255 - n.b, re(n, e, t);
|
|
433
|
-
}, { entries: ie, setPrototypeOf: ae, isFrozen: S, getPrototypeOf: oe, getOwnPropertyDescriptor: se } = Object, { freeze: C, seal: w, create: ce } = Object, { apply: le, construct: ue } = typeof Reflect < "u" && Reflect;
|
|
434
|
-
C ||= function(e) {
|
|
435
|
-
return e;
|
|
436
|
-
}, w ||= function(e) {
|
|
437
|
-
return e;
|
|
438
|
-
}, le ||= function(e, t) {
|
|
439
|
-
var n = [...arguments].slice(2);
|
|
440
|
-
return e.apply(t, n);
|
|
441
|
-
}, ue ||= function(e) {
|
|
442
|
-
return new e(...[...arguments].slice(1));
|
|
443
|
-
};
|
|
444
|
-
var de = D(Array.prototype.forEach), fe = D(Array.prototype.lastIndexOf), pe = D(Array.prototype.pop), me = D(Array.prototype.push), he = D(Array.prototype.splice), ge = D(String.prototype.toLowerCase), _e = D(String.prototype.toString), ve = D(String.prototype.match), ye = D(String.prototype.replace), be = D(String.prototype.indexOf), xe = D(String.prototype.trim), T = D(Object.prototype.hasOwnProperty), E = D(RegExp.prototype.test), Se = Ce(TypeError);
|
|
445
|
-
function D(e) {
|
|
446
|
-
return function(t) {
|
|
447
|
-
t instanceof RegExp && (t.lastIndex = 0);
|
|
448
|
-
var n = [...arguments].slice(1);
|
|
449
|
-
return le(e, t, n);
|
|
450
|
-
};
|
|
451
|
-
}
|
|
452
|
-
function Ce(e) {
|
|
453
|
-
return function() {
|
|
454
|
-
return ue(e, [...arguments]);
|
|
455
|
-
};
|
|
456
|
-
}
|
|
457
|
-
function O(e, t) {
|
|
458
|
-
let n = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : ge;
|
|
459
|
-
ae && ae(e, null);
|
|
460
|
-
let r = t.length;
|
|
461
|
-
for (; r--;) {
|
|
462
|
-
let i = t[r];
|
|
463
|
-
if (typeof i == "string") {
|
|
464
|
-
let e = n(i);
|
|
465
|
-
e !== i && (S(t) || (t[r] = e), i = e);
|
|
466
|
-
}
|
|
467
|
-
e[i] = !0;
|
|
468
|
-
}
|
|
469
|
-
return e;
|
|
470
|
-
}
|
|
471
|
-
function we(e) {
|
|
472
|
-
for (let t = 0; t < e.length; t++) T(e, t) || (e[t] = null);
|
|
473
|
-
return e;
|
|
474
|
-
}
|
|
475
|
-
function k(e) {
|
|
476
|
-
let t = ce(null);
|
|
477
|
-
for (let [n, r] of ie(e)) T(e, n) && (Array.isArray(r) ? t[n] = we(r) : r && typeof r == "object" && r.constructor === Object ? t[n] = k(r) : t[n] = r);
|
|
478
|
-
return t;
|
|
479
|
-
}
|
|
480
|
-
function Te(e, t) {
|
|
481
|
-
for (; e !== null;) {
|
|
482
|
-
let n = se(e, t);
|
|
483
|
-
if (n) {
|
|
484
|
-
if (n.get) return D(n.get);
|
|
485
|
-
if (typeof n.value == "function") return D(n.value);
|
|
486
|
-
}
|
|
487
|
-
e = oe(e);
|
|
488
|
-
}
|
|
489
|
-
function n() {
|
|
490
|
-
return null;
|
|
491
|
-
}
|
|
492
|
-
return n;
|
|
493
|
-
}
|
|
494
|
-
var Ee = C(/* @__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(".")), De = C(/* @__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(".")), Oe = C([
|
|
495
|
-
"feBlend",
|
|
496
|
-
"feColorMatrix",
|
|
497
|
-
"feComponentTransfer",
|
|
498
|
-
"feComposite",
|
|
499
|
-
"feConvolveMatrix",
|
|
500
|
-
"feDiffuseLighting",
|
|
501
|
-
"feDisplacementMap",
|
|
502
|
-
"feDistantLight",
|
|
503
|
-
"feDropShadow",
|
|
504
|
-
"feFlood",
|
|
505
|
-
"feFuncA",
|
|
506
|
-
"feFuncB",
|
|
507
|
-
"feFuncG",
|
|
508
|
-
"feFuncR",
|
|
509
|
-
"feGaussianBlur",
|
|
510
|
-
"feImage",
|
|
511
|
-
"feMerge",
|
|
512
|
-
"feMergeNode",
|
|
513
|
-
"feMorphology",
|
|
514
|
-
"feOffset",
|
|
515
|
-
"fePointLight",
|
|
516
|
-
"feSpecularLighting",
|
|
517
|
-
"feSpotLight",
|
|
518
|
-
"feTile",
|
|
519
|
-
"feTurbulence"
|
|
520
|
-
]), ke = C([
|
|
521
|
-
"animate",
|
|
522
|
-
"color-profile",
|
|
523
|
-
"cursor",
|
|
524
|
-
"discard",
|
|
525
|
-
"font-face",
|
|
526
|
-
"font-face-format",
|
|
527
|
-
"font-face-name",
|
|
528
|
-
"font-face-src",
|
|
529
|
-
"font-face-uri",
|
|
530
|
-
"foreignobject",
|
|
531
|
-
"hatch",
|
|
532
|
-
"hatchpath",
|
|
533
|
-
"mesh",
|
|
534
|
-
"meshgradient",
|
|
535
|
-
"meshpatch",
|
|
536
|
-
"meshrow",
|
|
537
|
-
"missing-glyph",
|
|
538
|
-
"script",
|
|
539
|
-
"set",
|
|
540
|
-
"solidcolor",
|
|
541
|
-
"unknown",
|
|
542
|
-
"use"
|
|
543
|
-
]), Ae = C(/* @__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(".")), je = C([
|
|
544
|
-
"maction",
|
|
545
|
-
"maligngroup",
|
|
546
|
-
"malignmark",
|
|
547
|
-
"mlongdiv",
|
|
548
|
-
"mscarries",
|
|
549
|
-
"mscarry",
|
|
550
|
-
"msgroup",
|
|
551
|
-
"mstack",
|
|
552
|
-
"msline",
|
|
553
|
-
"msrow",
|
|
554
|
-
"semantics",
|
|
555
|
-
"annotation",
|
|
556
|
-
"annotation-xml",
|
|
557
|
-
"mprescripts",
|
|
558
|
-
"none"
|
|
559
|
-
]), Me = C(["#text"]), Ne = C(/* @__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(".")), Pe = C(/* @__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(".")), Fe = C(/* @__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(".")), Ie = C([
|
|
560
|
-
"xlink:href",
|
|
561
|
-
"xml:id",
|
|
562
|
-
"xlink:title",
|
|
563
|
-
"xml:space",
|
|
564
|
-
"xmlns:xlink"
|
|
565
|
-
]), Le = w(/\{\{[\w\W]*|[\w\W]*\}\}/gm), A = w(/<%[\w\W]*|[\w\W]*%>/gm), Re = w(/\$\{[\w\W]*/gm), j = w(/^data-[\-\w.\u00B7-\uFFFF]+$/), ze = w(/^aria-[\-\w]+$/), Be = w(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i), M = w(/^(?:\w+script|data):/i), Ve = w(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g), He = w(/^html$/i), Ue = w(/^[a-z][.\w]*(-[.\w]+)+$/i), We = /* @__PURE__ */ Object.freeze({
|
|
566
|
-
__proto__: null,
|
|
567
|
-
ARIA_ATTR: ze,
|
|
568
|
-
ATTR_WHITESPACE: Ve,
|
|
569
|
-
CUSTOM_ELEMENT: Ue,
|
|
570
|
-
DATA_ATTR: j,
|
|
571
|
-
DOCTYPE_NAME: He,
|
|
572
|
-
ERB_EXPR: A,
|
|
573
|
-
IS_ALLOWED_URI: Be,
|
|
574
|
-
IS_SCRIPT_OR_DATA: M,
|
|
575
|
-
MUSTACHE_EXPR: Le,
|
|
576
|
-
TMPLIT_EXPR: Re
|
|
577
|
-
}), Ge = {
|
|
578
|
-
element: 1,
|
|
579
|
-
attribute: 2,
|
|
580
|
-
text: 3,
|
|
581
|
-
cdataSection: 4,
|
|
582
|
-
entityReference: 5,
|
|
583
|
-
entityNode: 6,
|
|
584
|
-
progressingInstruction: 7,
|
|
585
|
-
comment: 8,
|
|
586
|
-
document: 9,
|
|
587
|
-
documentType: 10,
|
|
588
|
-
documentFragment: 11,
|
|
589
|
-
notation: 12
|
|
590
|
-
}, Ke = function() {
|
|
591
|
-
return typeof window > "u" ? null : window;
|
|
592
|
-
}, qe = function(e, t) {
|
|
593
|
-
if (typeof e != "object" || typeof e.createPolicy != "function") return null;
|
|
594
|
-
let n = null, r = "data-tt-policy-suffix";
|
|
595
|
-
t && t.hasAttribute(r) && (n = t.getAttribute(r));
|
|
596
|
-
let i = "dompurify" + (n ? "#" + n : "");
|
|
597
|
-
try {
|
|
598
|
-
return e.createPolicy(i, {
|
|
599
|
-
createHTML(e) {
|
|
600
|
-
return e;
|
|
601
|
-
},
|
|
602
|
-
createScriptURL(e) {
|
|
603
|
-
return e;
|
|
604
|
-
}
|
|
605
|
-
});
|
|
606
|
-
} catch {
|
|
607
|
-
return console.warn("TrustedTypes policy " + i + " could not be created."), null;
|
|
608
|
-
}
|
|
609
|
-
}, Je = function() {
|
|
610
|
-
return {
|
|
611
|
-
afterSanitizeAttributes: [],
|
|
612
|
-
afterSanitizeElements: [],
|
|
613
|
-
afterSanitizeShadowDOM: [],
|
|
614
|
-
beforeSanitizeAttributes: [],
|
|
615
|
-
beforeSanitizeElements: [],
|
|
616
|
-
beforeSanitizeShadowDOM: [],
|
|
617
|
-
uponSanitizeAttribute: [],
|
|
618
|
-
uponSanitizeElement: [],
|
|
619
|
-
uponSanitizeShadowNode: []
|
|
620
|
-
};
|
|
621
|
-
};
|
|
622
|
-
function Ye() {
|
|
623
|
-
let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : Ke(), t = (e) => Ye(e);
|
|
624
|
-
if (t.version = "3.3.3", t.removed = [], !e || !e.document || e.document.nodeType !== Ge.document || !e.Element) return t.isSupported = !1, t;
|
|
625
|
-
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 = Te(m, "cloneNode"), ee = Te(m, "remove"), te = Te(m, "nextSibling"), ne = Te(m, "childNodes"), g = Te(m, "parentNode");
|
|
626
|
-
if (typeof o == "function") {
|
|
627
|
-
let e = n.createElement("template");
|
|
628
|
-
e.content && e.content.ownerDocument && (n = e.content.ownerDocument);
|
|
629
|
-
}
|
|
630
|
-
let _, v = "", { implementation: y, createNodeIterator: b, createDocumentFragment: re, getElementsByTagName: x } = n, { importNode: ae } = r, S = Je();
|
|
631
|
-
t.isSupported = typeof ie == "function" && typeof g == "function" && y && y.createHTMLDocument !== void 0;
|
|
632
|
-
let { MUSTACHE_EXPR: oe, ERB_EXPR: se, TMPLIT_EXPR: w, DATA_ATTR: le, ARIA_ATTR: ue, IS_SCRIPT_OR_DATA: D, ATTR_WHITESPACE: Ce, CUSTOM_ELEMENT: we } = We, { IS_ALLOWED_URI: Le } = We, A = null, Re = O({}, [
|
|
633
|
-
...Ee,
|
|
634
|
-
...De,
|
|
635
|
-
...Oe,
|
|
636
|
-
...Ae,
|
|
637
|
-
...Me
|
|
638
|
-
]), j = null, ze = O({}, [
|
|
639
|
-
...Ne,
|
|
640
|
-
...Pe,
|
|
641
|
-
...Fe,
|
|
642
|
-
...Ie
|
|
643
|
-
]), M = Object.seal(ce(null, {
|
|
644
|
-
tagNameCheck: {
|
|
645
|
-
writable: !0,
|
|
646
|
-
configurable: !1,
|
|
647
|
-
enumerable: !0,
|
|
648
|
-
value: null
|
|
649
|
-
},
|
|
650
|
-
attributeNameCheck: {
|
|
651
|
-
writable: !0,
|
|
652
|
-
configurable: !1,
|
|
653
|
-
enumerable: !0,
|
|
654
|
-
value: null
|
|
655
|
-
},
|
|
656
|
-
allowCustomizedBuiltInElements: {
|
|
657
|
-
writable: !0,
|
|
658
|
-
configurable: !1,
|
|
659
|
-
enumerable: !0,
|
|
660
|
-
value: !1
|
|
661
|
-
}
|
|
662
|
-
})), Ve = null, Ue = null, N = Object.seal(ce(null, {
|
|
663
|
-
tagCheck: {
|
|
664
|
-
writable: !0,
|
|
665
|
-
configurable: !1,
|
|
666
|
-
enumerable: !0,
|
|
667
|
-
value: null
|
|
668
|
-
},
|
|
669
|
-
attributeCheck: {
|
|
670
|
-
writable: !0,
|
|
671
|
-
configurable: !1,
|
|
672
|
-
enumerable: !0,
|
|
673
|
-
value: null
|
|
674
|
-
}
|
|
675
|
-
})), Xe = !0, Ze = !0, Qe = !1, $e = !0, P = !1, et = !0, F = !1, tt = !1, nt = !1, I = !1, L = !1, R = !1, rt = !0, z = !1, it = !0, at = !1, B = {}, V = null, ot = O({}, [
|
|
676
|
-
"annotation-xml",
|
|
677
|
-
"audio",
|
|
678
|
-
"colgroup",
|
|
679
|
-
"desc",
|
|
680
|
-
"foreignobject",
|
|
681
|
-
"head",
|
|
682
|
-
"iframe",
|
|
683
|
-
"math",
|
|
684
|
-
"mi",
|
|
685
|
-
"mn",
|
|
686
|
-
"mo",
|
|
687
|
-
"ms",
|
|
688
|
-
"mtext",
|
|
689
|
-
"noembed",
|
|
690
|
-
"noframes",
|
|
691
|
-
"noscript",
|
|
692
|
-
"plaintext",
|
|
693
|
-
"script",
|
|
694
|
-
"style",
|
|
695
|
-
"svg",
|
|
696
|
-
"template",
|
|
697
|
-
"thead",
|
|
698
|
-
"title",
|
|
699
|
-
"video",
|
|
700
|
-
"xmp"
|
|
701
|
-
]), st = null, ct = O({}, [
|
|
702
|
-
"audio",
|
|
703
|
-
"video",
|
|
704
|
-
"img",
|
|
705
|
-
"source",
|
|
706
|
-
"image",
|
|
707
|
-
"track"
|
|
708
|
-
]), lt = null, ut = O({}, [
|
|
709
|
-
"alt",
|
|
710
|
-
"class",
|
|
711
|
-
"for",
|
|
712
|
-
"id",
|
|
713
|
-
"label",
|
|
714
|
-
"name",
|
|
715
|
-
"pattern",
|
|
716
|
-
"placeholder",
|
|
717
|
-
"role",
|
|
718
|
-
"summary",
|
|
719
|
-
"title",
|
|
720
|
-
"value",
|
|
721
|
-
"style",
|
|
722
|
-
"xmlns"
|
|
723
|
-
]), H = "http://www.w3.org/1998/Math/MathML", U = "http://www.w3.org/2000/svg", W = "http://www.w3.org/1999/xhtml", G = W, dt = !1, ft = null, pt = O({}, [
|
|
724
|
-
H,
|
|
725
|
-
U,
|
|
726
|
-
W
|
|
727
|
-
], _e), mt = O({}, [
|
|
728
|
-
"mi",
|
|
729
|
-
"mo",
|
|
730
|
-
"mn",
|
|
731
|
-
"ms",
|
|
732
|
-
"mtext"
|
|
733
|
-
]), K = O({}, ["annotation-xml"]), ht = O({}, [
|
|
734
|
-
"title",
|
|
735
|
-
"style",
|
|
736
|
-
"font",
|
|
737
|
-
"a",
|
|
738
|
-
"script"
|
|
739
|
-
]), q = null, gt = ["application/xhtml+xml", "text/html"], J = null, Y = null, _t = n.createElement("form"), vt = function(e) {
|
|
740
|
-
return e instanceof RegExp || e instanceof Function;
|
|
741
|
-
}, yt = function() {
|
|
742
|
-
let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
|
|
743
|
-
if (!(Y && Y === e)) {
|
|
744
|
-
if ((!e || typeof e != "object") && (e = {}), e = k(e), q = gt.indexOf(e.PARSER_MEDIA_TYPE) === -1 ? "text/html" : e.PARSER_MEDIA_TYPE, J = q === "application/xhtml+xml" ? _e : ge, A = T(e, "ALLOWED_TAGS") ? O({}, e.ALLOWED_TAGS, J) : Re, j = T(e, "ALLOWED_ATTR") ? O({}, e.ALLOWED_ATTR, J) : ze, ft = T(e, "ALLOWED_NAMESPACES") ? O({}, e.ALLOWED_NAMESPACES, _e) : pt, lt = T(e, "ADD_URI_SAFE_ATTR") ? O(k(ut), e.ADD_URI_SAFE_ATTR, J) : ut, st = T(e, "ADD_DATA_URI_TAGS") ? O(k(ct), e.ADD_DATA_URI_TAGS, J) : ct, V = T(e, "FORBID_CONTENTS") ? O({}, e.FORBID_CONTENTS, J) : ot, Ve = T(e, "FORBID_TAGS") ? O({}, e.FORBID_TAGS, J) : k({}), Ue = T(e, "FORBID_ATTR") ? O({}, e.FORBID_ATTR, J) : k({}), B = T(e, "USE_PROFILES") ? e.USE_PROFILES : !1, Xe = e.ALLOW_ARIA_ATTR !== !1, Ze = e.ALLOW_DATA_ATTR !== !1, Qe = e.ALLOW_UNKNOWN_PROTOCOLS || !1, $e = e.ALLOW_SELF_CLOSE_IN_ATTR !== !1, P = e.SAFE_FOR_TEMPLATES || !1, et = e.SAFE_FOR_XML !== !1, F = e.WHOLE_DOCUMENT || !1, I = e.RETURN_DOM || !1, L = e.RETURN_DOM_FRAGMENT || !1, R = e.RETURN_TRUSTED_TYPE || !1, nt = e.FORCE_BODY || !1, rt = e.SANITIZE_DOM !== !1, z = e.SANITIZE_NAMED_PROPS || !1, it = e.KEEP_CONTENT !== !1, at = e.IN_PLACE || !1, Le = e.ALLOWED_URI_REGEXP || Be, G = e.NAMESPACE || W, mt = e.MATHML_TEXT_INTEGRATION_POINTS || mt, K = e.HTML_INTEGRATION_POINTS || K, M = e.CUSTOM_ELEMENT_HANDLING || {}, e.CUSTOM_ELEMENT_HANDLING && vt(e.CUSTOM_ELEMENT_HANDLING.tagNameCheck) && (M.tagNameCheck = e.CUSTOM_ELEMENT_HANDLING.tagNameCheck), e.CUSTOM_ELEMENT_HANDLING && vt(e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck) && (M.attributeNameCheck = e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck), e.CUSTOM_ELEMENT_HANDLING && typeof e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements == "boolean" && (M.allowCustomizedBuiltInElements = e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements), P && (Ze = !1), L && (I = !0), B && (A = O({}, Me), j = ce(null), B.html === !0 && (O(A, Ee), O(j, Ne)), B.svg === !0 && (O(A, De), O(j, Pe), O(j, Ie)), B.svgFilters === !0 && (O(A, Oe), O(j, Pe), O(j, Ie)), B.mathMl === !0 && (O(A, Ae), O(j, Fe), O(j, Ie))), T(e, "ADD_TAGS") || (N.tagCheck = null), T(e, "ADD_ATTR") || (N.attributeCheck = null), e.ADD_TAGS && (typeof e.ADD_TAGS == "function" ? N.tagCheck = e.ADD_TAGS : (A === Re && (A = k(A)), O(A, e.ADD_TAGS, J))), e.ADD_ATTR && (typeof e.ADD_ATTR == "function" ? N.attributeCheck = e.ADD_ATTR : (j === ze && (j = k(j)), O(j, e.ADD_ATTR, J))), e.ADD_URI_SAFE_ATTR && O(lt, e.ADD_URI_SAFE_ATTR, J), e.FORBID_CONTENTS && (V === ot && (V = k(V)), O(V, e.FORBID_CONTENTS, J)), e.ADD_FORBID_CONTENTS && (V === ot && (V = k(V)), O(V, e.ADD_FORBID_CONTENTS, J)), it && (A["#text"] = !0), F && O(A, [
|
|
745
|
-
"html",
|
|
746
|
-
"head",
|
|
747
|
-
"body"
|
|
748
|
-
]), A.table && (O(A, ["tbody"]), delete Ve.tbody), e.TRUSTED_TYPES_POLICY) {
|
|
749
|
-
if (typeof e.TRUSTED_TYPES_POLICY.createHTML != "function") throw Se("TRUSTED_TYPES_POLICY configuration option must provide a \"createHTML\" hook.");
|
|
750
|
-
if (typeof e.TRUSTED_TYPES_POLICY.createScriptURL != "function") throw Se("TRUSTED_TYPES_POLICY configuration option must provide a \"createScriptURL\" hook.");
|
|
751
|
-
_ = e.TRUSTED_TYPES_POLICY, v = _.createHTML("");
|
|
752
|
-
} else _ === void 0 && (_ = qe(p, i)), _ !== null && typeof v == "string" && (v = _.createHTML(""));
|
|
753
|
-
C && C(e), Y = e;
|
|
754
|
-
}
|
|
755
|
-
}, bt = O({}, [
|
|
756
|
-
...De,
|
|
757
|
-
...Oe,
|
|
758
|
-
...ke
|
|
759
|
-
]), xt = O({}, [...Ae, ...je]), St = function(e) {
|
|
760
|
-
let t = g(e);
|
|
761
|
-
(!t || !t.tagName) && (t = {
|
|
762
|
-
namespaceURI: G,
|
|
763
|
-
tagName: "template"
|
|
764
|
-
});
|
|
765
|
-
let n = ge(e.tagName), r = ge(t.tagName);
|
|
766
|
-
return ft[e.namespaceURI] ? e.namespaceURI === U ? t.namespaceURI === W ? n === "svg" : t.namespaceURI === H ? n === "svg" && (r === "annotation-xml" || mt[r]) : !!bt[n] : e.namespaceURI === H ? t.namespaceURI === W ? n === "math" : t.namespaceURI === U ? n === "math" && K[r] : !!xt[n] : e.namespaceURI === W ? t.namespaceURI === U && !K[r] || t.namespaceURI === H && !mt[r] ? !1 : !xt[n] && (ht[n] || !bt[n]) : !!(q === "application/xhtml+xml" && ft[e.namespaceURI]) : !1;
|
|
767
|
-
}, X = function(e) {
|
|
768
|
-
me(t.removed, { element: e });
|
|
769
|
-
try {
|
|
770
|
-
g(e).removeChild(e);
|
|
771
|
-
} catch {
|
|
772
|
-
ee(e);
|
|
773
|
-
}
|
|
774
|
-
}, Z = function(e, n) {
|
|
775
|
-
try {
|
|
776
|
-
me(t.removed, {
|
|
777
|
-
attribute: n.getAttributeNode(e),
|
|
778
|
-
from: n
|
|
779
|
-
});
|
|
780
|
-
} catch {
|
|
781
|
-
me(t.removed, {
|
|
782
|
-
attribute: null,
|
|
783
|
-
from: n
|
|
784
|
-
});
|
|
785
|
-
}
|
|
786
|
-
if (n.removeAttribute(e), e === "is") if (I || L) try {
|
|
787
|
-
X(n);
|
|
788
|
-
} catch {}
|
|
789
|
-
else try {
|
|
790
|
-
n.setAttribute(e, "");
|
|
791
|
-
} catch {}
|
|
792
|
-
}, Ct = function(e) {
|
|
793
|
-
let t = null, r = null;
|
|
794
|
-
if (nt) e = "<remove></remove>" + e;
|
|
795
|
-
else {
|
|
796
|
-
let t = ve(e, /^[\r\n\t ]+/);
|
|
797
|
-
r = t && t[0];
|
|
798
|
-
}
|
|
799
|
-
q === "application/xhtml+xml" && G === W && (e = "<html xmlns=\"http://www.w3.org/1999/xhtml\"><head></head><body>" + e + "</body></html>");
|
|
800
|
-
let i = _ ? _.createHTML(e) : e;
|
|
801
|
-
if (G === W) try {
|
|
802
|
-
t = new f().parseFromString(i, q);
|
|
803
|
-
} catch {}
|
|
804
|
-
if (!t || !t.documentElement) {
|
|
805
|
-
t = y.createDocument(G, "template", null);
|
|
806
|
-
try {
|
|
807
|
-
t.documentElement.innerHTML = dt ? v : i;
|
|
808
|
-
} catch {}
|
|
809
|
-
}
|
|
810
|
-
let a = t.body || t.documentElement;
|
|
811
|
-
return e && r && a.insertBefore(n.createTextNode(r), a.childNodes[0] || null), G === W ? x.call(t, F ? "html" : "body")[0] : F ? t.documentElement : a;
|
|
812
|
-
}, wt = function(e) {
|
|
813
|
-
return b.call(e.ownerDocument || e, e, l.SHOW_ELEMENT | l.SHOW_COMMENT | l.SHOW_TEXT | l.SHOW_PROCESSING_INSTRUCTION | l.SHOW_CDATA_SECTION, null);
|
|
814
|
-
}, Tt = function(e) {
|
|
815
|
-
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");
|
|
816
|
-
}, Et = function(e) {
|
|
817
|
-
return typeof s == "function" && e instanceof s;
|
|
818
|
-
};
|
|
819
|
-
function Q(e, n, r) {
|
|
820
|
-
de(e, (e) => {
|
|
821
|
-
e.call(t, n, r, Y);
|
|
822
|
-
});
|
|
823
|
-
}
|
|
824
|
-
let Dt = function(e) {
|
|
825
|
-
let n = null;
|
|
826
|
-
if (Q(S.beforeSanitizeElements, e, null), Tt(e)) return X(e), !0;
|
|
827
|
-
let r = J(e.nodeName);
|
|
828
|
-
if (Q(S.uponSanitizeElement, e, {
|
|
829
|
-
tagName: r,
|
|
830
|
-
allowedTags: A
|
|
831
|
-
}), et && e.hasChildNodes() && !Et(e.firstElementChild) && E(/<[/\w!]/g, e.innerHTML) && E(/<[/\w!]/g, e.textContent) || e.nodeType === Ge.progressingInstruction || et && e.nodeType === Ge.comment && E(/<[/\w]/g, e.data)) return X(e), !0;
|
|
832
|
-
if (!(N.tagCheck instanceof Function && N.tagCheck(r)) && (!A[r] || Ve[r])) {
|
|
833
|
-
if (!Ve[r] && kt(r) && (M.tagNameCheck instanceof RegExp && E(M.tagNameCheck, r) || M.tagNameCheck instanceof Function && M.tagNameCheck(r))) return !1;
|
|
834
|
-
if (it && !V[r]) {
|
|
835
|
-
let t = g(e) || e.parentNode, n = ne(e) || e.childNodes;
|
|
836
|
-
if (n && t) {
|
|
837
|
-
let r = n.length;
|
|
838
|
-
for (let i = r - 1; i >= 0; --i) {
|
|
839
|
-
let r = h(n[i], !0);
|
|
840
|
-
r.__removalCount = (e.__removalCount || 0) + 1, t.insertBefore(r, te(e));
|
|
841
|
-
}
|
|
842
|
-
}
|
|
843
|
-
}
|
|
844
|
-
return X(e), !0;
|
|
845
|
-
}
|
|
846
|
-
return e instanceof c && !St(e) || (r === "noscript" || r === "noembed" || r === "noframes") && E(/<\/no(script|embed|frames)/i, e.innerHTML) ? (X(e), !0) : (P && e.nodeType === Ge.text && (n = e.textContent, de([
|
|
847
|
-
oe,
|
|
848
|
-
se,
|
|
849
|
-
w
|
|
850
|
-
], (e) => {
|
|
851
|
-
n = ye(n, e, " ");
|
|
852
|
-
}), e.textContent !== n && (me(t.removed, { element: e.cloneNode() }), e.textContent = n)), Q(S.afterSanitizeElements, e, null), !1);
|
|
853
|
-
}, Ot = function(e, t, r) {
|
|
854
|
-
if (Ue[t] || rt && (t === "id" || t === "name") && (r in n || r in _t)) return !1;
|
|
855
|
-
if (!(Ze && !Ue[t] && E(le, t)) && !(Xe && E(ue, t)) && !(N.attributeCheck instanceof Function && N.attributeCheck(t, e))) {
|
|
856
|
-
if (!j[t] || Ue[t]) {
|
|
857
|
-
if (!(kt(e) && (M.tagNameCheck instanceof RegExp && E(M.tagNameCheck, e) || M.tagNameCheck instanceof Function && M.tagNameCheck(e)) && (M.attributeNameCheck instanceof RegExp && E(M.attributeNameCheck, t) || M.attributeNameCheck instanceof Function && M.attributeNameCheck(t, e)) || t === "is" && M.allowCustomizedBuiltInElements && (M.tagNameCheck instanceof RegExp && E(M.tagNameCheck, r) || M.tagNameCheck instanceof Function && M.tagNameCheck(r)))) return !1;
|
|
858
|
-
} else if (!lt[t] && !E(Le, ye(r, Ce, "")) && !((t === "src" || t === "xlink:href" || t === "href") && e !== "script" && be(r, "data:") === 0 && st[e]) && !(Qe && !E(D, ye(r, Ce, ""))) && r) return !1;
|
|
859
|
-
}
|
|
860
|
-
return !0;
|
|
861
|
-
}, kt = function(e) {
|
|
862
|
-
return e !== "annotation-xml" && ve(e, we);
|
|
863
|
-
}, $ = function(e) {
|
|
864
|
-
Q(S.beforeSanitizeAttributes, e, null);
|
|
865
|
-
let { attributes: n } = e;
|
|
866
|
-
if (!n || Tt(e)) return;
|
|
867
|
-
let r = {
|
|
868
|
-
attrName: "",
|
|
869
|
-
attrValue: "",
|
|
870
|
-
keepAttr: !0,
|
|
871
|
-
allowedAttributes: j,
|
|
872
|
-
forceKeepAttr: void 0
|
|
873
|
-
}, i = n.length;
|
|
874
|
-
for (; i--;) {
|
|
875
|
-
let { name: a, namespaceURI: o, value: s } = n[i], c = J(a), l = s, u = a === "value" ? l : xe(l);
|
|
876
|
-
if (r.attrName = c, r.attrValue = u, r.keepAttr = !0, r.forceKeepAttr = void 0, Q(S.uponSanitizeAttribute, e, r), u = r.attrValue, z && (c === "id" || c === "name") && (Z(a, e), u = "user-content-" + u), et && E(/((--!?|])>)|<\/(style|script|title|xmp|textarea|noscript|iframe|noembed|noframes)/i, u)) {
|
|
877
|
-
Z(a, e);
|
|
878
|
-
continue;
|
|
879
|
-
}
|
|
880
|
-
if (c === "attributename" && ve(u, "href")) {
|
|
881
|
-
Z(a, e);
|
|
882
|
-
continue;
|
|
883
|
-
}
|
|
884
|
-
if (r.forceKeepAttr) continue;
|
|
885
|
-
if (!r.keepAttr) {
|
|
886
|
-
Z(a, e);
|
|
887
|
-
continue;
|
|
888
|
-
}
|
|
889
|
-
if (!$e && E(/\/>/i, u)) {
|
|
890
|
-
Z(a, e);
|
|
891
|
-
continue;
|
|
892
|
-
}
|
|
893
|
-
P && de([
|
|
894
|
-
oe,
|
|
895
|
-
se,
|
|
896
|
-
w
|
|
897
|
-
], (e) => {
|
|
898
|
-
u = ye(u, e, " ");
|
|
899
|
-
});
|
|
900
|
-
let d = J(e.nodeName);
|
|
901
|
-
if (!Ot(d, c, u)) {
|
|
902
|
-
Z(a, e);
|
|
903
|
-
continue;
|
|
904
|
-
}
|
|
905
|
-
if (_ && typeof p == "object" && typeof p.getAttributeType == "function" && !o) switch (p.getAttributeType(d, c)) {
|
|
906
|
-
case "TrustedHTML":
|
|
907
|
-
u = _.createHTML(u);
|
|
908
|
-
break;
|
|
909
|
-
case "TrustedScriptURL":
|
|
910
|
-
u = _.createScriptURL(u);
|
|
911
|
-
break;
|
|
912
|
-
}
|
|
913
|
-
if (u !== l) try {
|
|
914
|
-
o ? e.setAttributeNS(o, a, u) : e.setAttribute(a, u), Tt(e) ? X(e) : pe(t.removed);
|
|
915
|
-
} catch {
|
|
916
|
-
Z(a, e);
|
|
917
|
-
}
|
|
918
|
-
}
|
|
919
|
-
Q(S.afterSanitizeAttributes, e, null);
|
|
920
|
-
}, At = function e(t) {
|
|
921
|
-
let n = null, r = wt(t);
|
|
922
|
-
for (Q(S.beforeSanitizeShadowDOM, t, null); n = r.nextNode();) Q(S.uponSanitizeShadowNode, n, null), Dt(n), $(n), n.content instanceof a && e(n.content);
|
|
923
|
-
Q(S.afterSanitizeShadowDOM, t, null);
|
|
924
|
-
};
|
|
925
|
-
return t.sanitize = function(e) {
|
|
926
|
-
let n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, i = null, o = null, c = null, l = null;
|
|
927
|
-
if (dt = !e, dt && (e = "<!-->"), typeof e != "string" && !Et(e)) if (typeof e.toString == "function") {
|
|
928
|
-
if (e = e.toString(), typeof e != "string") throw Se("dirty is not a string, aborting");
|
|
929
|
-
} else throw Se("toString is not a function");
|
|
930
|
-
if (!t.isSupported) return e;
|
|
931
|
-
if (tt || yt(n), t.removed = [], typeof e == "string" && (at = !1), at) {
|
|
932
|
-
if (e.nodeName) {
|
|
933
|
-
let t = J(e.nodeName);
|
|
934
|
-
if (!A[t] || Ve[t]) throw Se("root node is forbidden and cannot be sanitized in-place");
|
|
935
|
-
}
|
|
936
|
-
} else if (e instanceof s) i = Ct("<!---->"), o = i.ownerDocument.importNode(e, !0), o.nodeType === Ge.element && o.nodeName === "BODY" || o.nodeName === "HTML" ? i = o : i.appendChild(o);
|
|
937
|
-
else {
|
|
938
|
-
if (!I && !P && !F && e.indexOf("<") === -1) return _ && R ? _.createHTML(e) : e;
|
|
939
|
-
if (i = Ct(e), !i) return I ? null : R ? v : "";
|
|
940
|
-
}
|
|
941
|
-
i && nt && X(i.firstChild);
|
|
942
|
-
let u = wt(at ? e : i);
|
|
943
|
-
for (; c = u.nextNode();) Dt(c), $(c), c.content instanceof a && At(c.content);
|
|
944
|
-
if (at) return e;
|
|
945
|
-
if (I) {
|
|
946
|
-
if (L) for (l = re.call(i.ownerDocument); i.firstChild;) l.appendChild(i.firstChild);
|
|
947
|
-
else l = i;
|
|
948
|
-
return (j.shadowroot || j.shadowrootmode) && (l = ae.call(r, l, !0)), l;
|
|
949
|
-
}
|
|
950
|
-
let d = F ? i.outerHTML : i.innerHTML;
|
|
951
|
-
return F && A["!doctype"] && i.ownerDocument && i.ownerDocument.doctype && i.ownerDocument.doctype.name && E(He, i.ownerDocument.doctype.name) && (d = "<!DOCTYPE " + i.ownerDocument.doctype.name + ">\n" + d), P && de([
|
|
952
|
-
oe,
|
|
953
|
-
se,
|
|
954
|
-
w
|
|
955
|
-
], (e) => {
|
|
956
|
-
d = ye(d, e, " ");
|
|
957
|
-
}), _ && R ? _.createHTML(d) : d;
|
|
958
|
-
}, t.setConfig = function() {
|
|
959
|
-
yt(arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}), tt = !0;
|
|
960
|
-
}, t.clearConfig = function() {
|
|
961
|
-
Y = null, tt = !1;
|
|
962
|
-
}, t.isValidAttribute = function(e, t, n) {
|
|
963
|
-
return Y || yt({}), Ot(J(e), J(t), n);
|
|
964
|
-
}, t.addHook = function(e, t) {
|
|
965
|
-
typeof t == "function" && me(S[e], t);
|
|
966
|
-
}, t.removeHook = function(e, t) {
|
|
967
|
-
if (t !== void 0) {
|
|
968
|
-
let n = fe(S[e], t);
|
|
969
|
-
return n === -1 ? void 0 : he(S[e], n, 1)[0];
|
|
970
|
-
}
|
|
971
|
-
return pe(S[e]);
|
|
972
|
-
}, t.removeHooks = function(e) {
|
|
973
|
-
S[e] = [];
|
|
974
|
-
}, t.removeAllHooks = function() {
|
|
975
|
-
S = Je();
|
|
976
|
-
}, t;
|
|
977
|
-
}
|
|
978
|
-
var N = Ye(), Xe = /^-{3}\s*[\n\r](.*?)[\n\r]-{3}\s*[\n\r]+/s, Ze = /%{2}{\s*(?:(\w+)\s*:|(\w+))\s*(?:(\w+)|((?:(?!}%{2}).|\r?\n)*))?\s*(?:}%{2})?/gi, Qe = /\s*%%.*\n/gm, $e = class extends Error {
|
|
979
|
-
static {
|
|
980
|
-
n(this, "UnknownDiagramError");
|
|
981
|
-
}
|
|
982
|
-
constructor(e) {
|
|
983
|
-
super(e), this.name = "UnknownDiagramError";
|
|
984
|
-
}
|
|
985
|
-
}, P = {}, et = /* @__PURE__ */ n(function(e, t) {
|
|
986
|
-
e = e.replace(Xe, "").replace(Ze, "").replace(Qe, "\n");
|
|
987
|
-
for (let [n, { detector: r }] of Object.entries(P)) if (r(e, t)) return n;
|
|
988
|
-
throw new $e(`No diagram type detected matching given configuration for text: ${e}`);
|
|
989
|
-
}, "detectType"), F = /* @__PURE__ */ n((...e) => {
|
|
990
|
-
for (let { id: t, detector: n, loader: r } of e) tt(t, n, r);
|
|
991
|
-
}, "registerLazyLoadedDiagrams"), tt = /* @__PURE__ */ n((e, n, r) => {
|
|
992
|
-
P[e] && t.warn(`Detector with key ${e} already exists. Overwriting.`), P[e] = {
|
|
993
|
-
detector: n,
|
|
994
|
-
loader: r
|
|
995
|
-
}, t.debug(`Detector with key ${e} added${r ? " with loader" : ""}`);
|
|
996
|
-
}, "addDetector"), nt = /* @__PURE__ */ n((e) => P[e].loader, "getDiagramLoader"), I = /* @__PURE__ */ n((e, t, { depth: n = 2, clobber: r = !1 } = {}) => {
|
|
997
|
-
let i = {
|
|
998
|
-
depth: n,
|
|
999
|
-
clobber: r
|
|
1000
|
-
};
|
|
1001
|
-
return Array.isArray(t) && !Array.isArray(e) ? (t.forEach((t) => I(e, t, i)), e) : Array.isArray(t) && Array.isArray(e) ? (t.forEach((t) => {
|
|
1002
|
-
e.includes(t) || e.push(t);
|
|
1003
|
-
}), 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) => {
|
|
1004
|
-
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] = I(e[i], t[i], {
|
|
1005
|
-
depth: n - 1,
|
|
1006
|
-
clobber: r
|
|
1007
|
-
})) : (r || typeof e[i] != "object" && typeof t[i] != "object") && (e[i] = t[i]);
|
|
1008
|
-
}), e);
|
|
1009
|
-
}, "assignWithDepth"), L = I, R = "#ffffff", rt = "#f2f2f2", z = /* @__PURE__ */ n((e, t) => t ? b(e, {
|
|
1010
|
-
s: -40,
|
|
1011
|
-
l: 10
|
|
1012
|
-
}) : b(e, {
|
|
1013
|
-
s: -40,
|
|
1014
|
-
l: -10
|
|
1015
|
-
}), "mkBorder"), it = class {
|
|
1016
|
-
static {
|
|
1017
|
-
n(this, "Theme");
|
|
1018
|
-
}
|
|
1019
|
-
constructor() {
|
|
1020
|
-
this.background = "#f4f4f4", this.primaryColor = "#fff4dd", this.noteBkgColor = "#fff5ad", this.noteTextColor = "#333", this.THEME_COLOR_LIMIT = 12, this.fontFamily = "\"trebuchet ms\", verdana, arial, sans-serif", this.fontSize = "16px";
|
|
1021
|
-
}
|
|
1022
|
-
updateColors() {
|
|
1023
|
-
if (this.primaryTextColor = this.primaryTextColor || (this.darkMode ? "#eee" : "#333"), this.secondaryColor = this.secondaryColor || b(this.primaryColor, { h: -120 }), this.tertiaryColor = this.tertiaryColor || b(this.primaryColor, {
|
|
1024
|
-
h: 180,
|
|
1025
|
-
l: 5
|
|
1026
|
-
}), this.primaryBorderColor = this.primaryBorderColor || z(this.primaryColor, this.darkMode), this.secondaryBorderColor = this.secondaryBorderColor || z(this.secondaryColor, this.darkMode), this.tertiaryBorderColor = this.tertiaryBorderColor || z(this.tertiaryColor, this.darkMode), this.noteBorderColor = this.noteBorderColor || z(this.noteBkgColor, this.darkMode), this.noteBkgColor = this.noteBkgColor || "#fff5ad", this.noteTextColor = this.noteTextColor || "#333", this.secondaryTextColor = this.secondaryTextColor || x(this.secondaryColor), this.tertiaryTextColor = this.tertiaryTextColor || x(this.tertiaryColor), this.lineColor = this.lineColor || x(this.background), this.arrowheadColor = this.arrowheadColor || x(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 ? y(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 || y(this.secondaryColor, 10), this.activationBkgColor = this.activationBkgColor || this.secondaryColor, this.sequenceNumberColor = this.sequenceNumberColor || x(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 || v(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.personBorder = this.personBorder || this.primaryBorderColor, this.personBkg = this.personBkg || this.mainBkg, this.darkMode ? (this.rowOdd = this.rowOdd || y(this.mainBkg, 5) || "#ffffff", this.rowEven = this.rowEven || y(this.mainBkg, 10)) : (this.rowOdd = this.rowOdd || v(this.mainBkg, 75) || "#ffffff", this.rowEven = this.rowEven || v(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 || b(this.primaryColor, { h: 30 }), this.cScale4 = this.cScale4 || b(this.primaryColor, { h: 60 }), this.cScale5 = this.cScale5 || b(this.primaryColor, { h: 90 }), this.cScale6 = this.cScale6 || b(this.primaryColor, { h: 120 }), this.cScale7 = this.cScale7 || b(this.primaryColor, { h: 150 }), this.cScale8 = this.cScale8 || b(this.primaryColor, {
|
|
1027
|
-
h: 210,
|
|
1028
|
-
l: 150
|
|
1029
|
-
}), this.cScale9 = this.cScale9 || b(this.primaryColor, { h: 270 }), this.cScale10 = this.cScale10 || b(this.primaryColor, { h: 300 }), this.cScale11 = this.cScale11 || b(this.primaryColor, { h: 330 }), this.darkMode) for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this["cScale" + e] = y(this["cScale" + e], 75);
|
|
1030
|
-
else for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this["cScale" + e] = y(this["cScale" + e], 25);
|
|
1031
|
-
for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this["cScaleInv" + e] = this["cScaleInv" + e] || x(this["cScale" + e]);
|
|
1032
|
-
for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this.darkMode ? this["cScalePeer" + e] = this["cScalePeer" + e] || v(this["cScale" + e], 10) : this["cScalePeer" + e] = this["cScalePeer" + e] || y(this["cScale" + e], 10);
|
|
1033
|
-
this.scaleLabelColor = this.scaleLabelColor || this.labelTextColor;
|
|
1034
|
-
for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this["cScaleLabel" + e] = this["cScaleLabel" + e] || this.scaleLabelColor;
|
|
1035
|
-
let e = this.darkMode ? -4 : -1;
|
|
1036
|
-
for (let t = 0; t < 5; t++) this["surface" + t] = this["surface" + t] || b(this.mainBkg, {
|
|
1037
|
-
h: 180,
|
|
1038
|
-
s: -15,
|
|
1039
|
-
l: e * (5 + t * 3)
|
|
1040
|
-
}), this["surfacePeer" + t] = this["surfacePeer" + t] || b(this.mainBkg, {
|
|
1041
|
-
h: 180,
|
|
1042
|
-
s: -15,
|
|
1043
|
-
l: e * (8 + t * 3)
|
|
1044
|
-
});
|
|
1045
|
-
this.classText = this.classText || this.textColor, this.fillType0 = this.fillType0 || this.primaryColor, this.fillType1 = this.fillType1 || this.secondaryColor, this.fillType2 = this.fillType2 || b(this.primaryColor, { h: 64 }), this.fillType3 = this.fillType3 || b(this.secondaryColor, { h: 64 }), this.fillType4 = this.fillType4 || b(this.primaryColor, { h: -64 }), this.fillType5 = this.fillType5 || b(this.secondaryColor, { h: -64 }), this.fillType6 = this.fillType6 || b(this.primaryColor, { h: 128 }), this.fillType7 = this.fillType7 || b(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 || b(this.primaryColor, { l: -10 }), this.pie5 = this.pie5 || b(this.secondaryColor, { l: -10 }), this.pie6 = this.pie6 || b(this.tertiaryColor, { l: -10 }), this.pie7 = this.pie7 || b(this.primaryColor, {
|
|
1046
|
-
h: 60,
|
|
1047
|
-
l: -10
|
|
1048
|
-
}), this.pie8 = this.pie8 || b(this.primaryColor, {
|
|
1049
|
-
h: -60,
|
|
1050
|
-
l: -10
|
|
1051
|
-
}), this.pie9 = this.pie9 || b(this.primaryColor, {
|
|
1052
|
-
h: 120,
|
|
1053
|
-
l: 0
|
|
1054
|
-
}), this.pie10 = this.pie10 || b(this.primaryColor, {
|
|
1055
|
-
h: 60,
|
|
1056
|
-
l: -20
|
|
1057
|
-
}), this.pie11 = this.pie11 || b(this.primaryColor, {
|
|
1058
|
-
h: -60,
|
|
1059
|
-
l: -20
|
|
1060
|
-
}), this.pie12 = this.pie12 || b(this.primaryColor, {
|
|
1061
|
-
h: 120,
|
|
1062
|
-
l: -10
|
|
1063
|
-
}), 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 = this.venn1 ?? b(this.primaryColor, { l: -30 }), this.venn2 = this.venn2 ?? b(this.secondaryColor, { l: -30 }), this.venn3 = this.venn3 ?? b(this.tertiaryColor, { l: -30 }), this.venn4 = this.venn4 ?? b(this.primaryColor, {
|
|
1064
|
-
h: 60,
|
|
1065
|
-
l: -30
|
|
1066
|
-
}), this.venn5 = this.venn5 ?? b(this.primaryColor, {
|
|
1067
|
-
h: -60,
|
|
1068
|
-
l: -30
|
|
1069
|
-
}), this.venn6 = this.venn6 ?? b(this.secondaryColor, {
|
|
1070
|
-
h: 60,
|
|
1071
|
-
l: -30
|
|
1072
|
-
}), this.venn7 = this.venn7 ?? b(this.primaryColor, {
|
|
1073
|
-
h: 120,
|
|
1074
|
-
l: -30
|
|
1075
|
-
}), this.venn8 = this.venn8 ?? b(this.secondaryColor, {
|
|
1076
|
-
h: 120,
|
|
1077
|
-
l: -30
|
|
1078
|
-
}), this.vennTitleTextColor = this.vennTitleTextColor ?? this.titleColor, this.vennSetTextColor = this.vennSetTextColor ?? this.textColor, this.radar = {
|
|
1079
|
-
axisColor: this.radar?.axisColor || this.lineColor,
|
|
1080
|
-
axisStrokeWidth: this.radar?.axisStrokeWidth || 2,
|
|
1081
|
-
axisLabelFontSize: this.radar?.axisLabelFontSize || 12,
|
|
1082
|
-
curveOpacity: this.radar?.curveOpacity || .5,
|
|
1083
|
-
curveStrokeWidth: this.radar?.curveStrokeWidth || 2,
|
|
1084
|
-
graticuleColor: this.radar?.graticuleColor || "#DEDEDE",
|
|
1085
|
-
graticuleStrokeWidth: this.radar?.graticuleStrokeWidth || 1,
|
|
1086
|
-
graticuleOpacity: this.radar?.graticuleOpacity || .3,
|
|
1087
|
-
legendBoxSize: this.radar?.legendBoxSize || 12,
|
|
1088
|
-
legendFontSize: this.radar?.legendFontSize || 12
|
|
1089
|
-
}, 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 || b(this.primaryColor, {
|
|
1090
|
-
r: 5,
|
|
1091
|
-
g: 5,
|
|
1092
|
-
b: 5
|
|
1093
|
-
}), this.quadrant3Fill = this.quadrant3Fill || b(this.primaryColor, {
|
|
1094
|
-
r: 10,
|
|
1095
|
-
g: 10,
|
|
1096
|
-
b: 10
|
|
1097
|
-
}), this.quadrant4Fill = this.quadrant4Fill || b(this.primaryColor, {
|
|
1098
|
-
r: 15,
|
|
1099
|
-
g: 15,
|
|
1100
|
-
b: 15
|
|
1101
|
-
}), this.quadrant1TextFill = this.quadrant1TextFill || this.primaryTextColor, this.quadrant2TextFill = this.quadrant2TextFill || b(this.primaryTextColor, {
|
|
1102
|
-
r: -5,
|
|
1103
|
-
g: -5,
|
|
1104
|
-
b: -5
|
|
1105
|
-
}), this.quadrant3TextFill = this.quadrant3TextFill || b(this.primaryTextColor, {
|
|
1106
|
-
r: -10,
|
|
1107
|
-
g: -10,
|
|
1108
|
-
b: -10
|
|
1109
|
-
}), this.quadrant4TextFill = this.quadrant4TextFill || b(this.primaryTextColor, {
|
|
1110
|
-
r: -15,
|
|
1111
|
-
g: -15,
|
|
1112
|
-
b: -15
|
|
1113
|
-
}), this.quadrantPointFill = this.quadrantPointFill || g(this.quadrant1Fill) ? v(this.quadrant1Fill) : y(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 = {
|
|
1114
|
-
backgroundColor: this.xyChart?.backgroundColor || this.background,
|
|
1115
|
-
titleColor: this.xyChart?.titleColor || this.primaryTextColor,
|
|
1116
|
-
xAxisTitleColor: this.xyChart?.xAxisTitleColor || this.primaryTextColor,
|
|
1117
|
-
xAxisLabelColor: this.xyChart?.xAxisLabelColor || this.primaryTextColor,
|
|
1118
|
-
xAxisTickColor: this.xyChart?.xAxisTickColor || this.primaryTextColor,
|
|
1119
|
-
xAxisLineColor: this.xyChart?.xAxisLineColor || this.primaryTextColor,
|
|
1120
|
-
yAxisTitleColor: this.xyChart?.yAxisTitleColor || this.primaryTextColor,
|
|
1121
|
-
yAxisLabelColor: this.xyChart?.yAxisLabelColor || this.primaryTextColor,
|
|
1122
|
-
yAxisTickColor: this.xyChart?.yAxisTickColor || this.primaryTextColor,
|
|
1123
|
-
yAxisLineColor: this.xyChart?.yAxisLineColor || this.primaryTextColor,
|
|
1124
|
-
plotColorPalette: this.xyChart?.plotColorPalette || "#FFF4DD,#FFD8B1,#FFA07A,#ECEFF1,#D6DBDF,#C3E0A8,#FFB6A4,#FFD74D,#738FA7,#FFFFF0"
|
|
1125
|
-
}, 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 ? y(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 || b(this.primaryColor, { h: -30 }), this.git4 = this.git4 || b(this.primaryColor, { h: -60 }), this.git5 = this.git5 || b(this.primaryColor, { h: -90 }), this.git6 = this.git6 || b(this.primaryColor, { h: 60 }), this.git7 = this.git7 || b(this.primaryColor, { h: 120 }), this.darkMode ? (this.git0 = v(this.git0, 25), this.git1 = v(this.git1, 25), this.git2 = v(this.git2, 25), this.git3 = v(this.git3, 25), this.git4 = v(this.git4, 25), this.git5 = v(this.git5, 25), this.git6 = v(this.git6, 25), this.git7 = v(this.git7, 25)) : (this.git0 = y(this.git0, 25), this.git1 = y(this.git1, 25), this.git2 = y(this.git2, 25), this.git3 = y(this.git3, 25), this.git4 = y(this.git4, 25), this.git5 = y(this.git5, 25), this.git6 = y(this.git6, 25), this.git7 = y(this.git7, 25)), this.gitInv0 = this.gitInv0 || x(this.git0), this.gitInv1 = this.gitInv1 || x(this.git1), this.gitInv2 = this.gitInv2 || x(this.git2), this.gitInv3 = this.gitInv3 || x(this.git3), this.gitInv4 = this.gitInv4 || x(this.git4), this.gitInv5 = this.gitInv5 || x(this.git5), this.gitInv6 = this.gitInv6 || x(this.git6), this.gitInv7 = this.gitInv7 || x(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 || R, this.attributeBackgroundColorEven = this.attributeBackgroundColorEven || rt;
|
|
1126
|
-
}
|
|
1127
|
-
calculate(e) {
|
|
1128
|
-
if (typeof e != "object") {
|
|
1129
|
-
this.updateColors();
|
|
1130
|
-
return;
|
|
1131
|
-
}
|
|
1132
|
-
let t = Object.keys(e);
|
|
1133
|
-
t.forEach((t) => {
|
|
1134
|
-
this[t] = e[t];
|
|
1135
|
-
}), this.updateColors(), t.forEach((t) => {
|
|
1136
|
-
this[t] = e[t];
|
|
1137
|
-
});
|
|
1138
|
-
}
|
|
1139
|
-
}, at = /* @__PURE__ */ n((e) => {
|
|
1140
|
-
let t = new it();
|
|
1141
|
-
return t.calculate(e), t;
|
|
1142
|
-
}, "getThemeVariables"), B = class {
|
|
1143
|
-
static {
|
|
1144
|
-
n(this, "Theme");
|
|
1145
|
-
}
|
|
1146
|
-
constructor() {
|
|
1147
|
-
this.background = "#333", this.primaryColor = "#1f2020", this.secondaryColor = v(this.primaryColor, 16), this.tertiaryColor = b(this.primaryColor, { h: -160 }), this.primaryBorderColor = x(this.background), this.secondaryBorderColor = z(this.secondaryColor, this.darkMode), this.tertiaryBorderColor = z(this.tertiaryColor, this.darkMode), this.primaryTextColor = x(this.primaryColor), this.secondaryTextColor = x(this.secondaryColor), this.tertiaryTextColor = x(this.tertiaryColor), this.lineColor = x(this.background), this.textColor = x(this.background), this.mainBkg = "#1f2020", this.secondBkg = "calculated", this.mainContrastColor = "lightgrey", this.darkTextColor = v(x("#323D47"), 10), this.lineColor = "calculated", this.border1 = "#ccc", this.border2 = ee(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.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.sectionBkgColor = y("#EAE8D9", 30), this.altSectionBkgColor = "calculated", this.sectionBkgColor2 = "#EAE8D9", this.excludeBkgColor = y(this.sectionBkgColor, 10), this.taskBorderColor = ee(255, 255, 255, 70), this.taskBkgColor = "calculated", this.taskTextColor = "calculated", this.taskTextLightColor = "calculated", this.taskTextOutsideColor = "calculated", this.taskTextClickableColor = "#003163", this.activeTaskBorderColor = ee(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 || v(this.mainBkg, 5) || "#ffffff", this.rowEven = this.rowEven || y(this.mainBkg, 10), this.labelColor = "calculated", this.errorBkgColor = "#a44141", this.errorTextColor = "#ddd";
|
|
1148
|
-
}
|
|
1149
|
-
updateColors() {
|
|
1150
|
-
this.secondBkg = v(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 = v(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 = v(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 = x(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 = b(this.primaryColor, { h: 64 }), this.fillType3 = b(this.secondaryColor, { h: 64 }), this.fillType4 = b(this.primaryColor, { h: -64 }), this.fillType5 = b(this.secondaryColor, { h: -64 }), this.fillType6 = b(this.primaryColor, { h: 128 }), this.fillType7 = b(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 || b(this.primaryColor, { h: 30 }), this.cScale4 = this.cScale4 || b(this.primaryColor, { h: 60 }), this.cScale5 = this.cScale5 || b(this.primaryColor, { h: 90 }), this.cScale6 = this.cScale6 || b(this.primaryColor, { h: 120 }), this.cScale7 = this.cScale7 || b(this.primaryColor, { h: 150 }), this.cScale8 = this.cScale8 || b(this.primaryColor, { h: 210 }), this.cScale9 = this.cScale9 || b(this.primaryColor, { h: 270 }), this.cScale10 = this.cScale10 || b(this.primaryColor, { h: 300 }), this.cScale11 = this.cScale11 || b(this.primaryColor, { h: 330 });
|
|
1151
|
-
for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this["cScaleInv" + e] = this["cScaleInv" + e] || x(this["cScale" + e]);
|
|
1152
|
-
for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this["cScalePeer" + e] = this["cScalePeer" + e] || v(this["cScale" + e], 10);
|
|
1153
|
-
for (let e = 0; e < 5; e++) this["surface" + e] = this["surface" + e] || b(this.mainBkg, {
|
|
1154
|
-
h: 30,
|
|
1155
|
-
s: -30,
|
|
1156
|
-
l: -(-10 + e * 4)
|
|
1157
|
-
}), this["surfacePeer" + e] = this["surfacePeer" + e] || b(this.mainBkg, {
|
|
1158
|
-
h: 30,
|
|
1159
|
-
s: -30,
|
|
1160
|
-
l: -(-7 + e * 4)
|
|
1161
|
-
});
|
|
1162
|
-
this.scaleLabelColor = this.scaleLabelColor || (this.darkMode ? "black" : this.labelTextColor);
|
|
1163
|
-
for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this["cScaleLabel" + e] = this["cScaleLabel" + e] || this.scaleLabelColor;
|
|
1164
|
-
for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this["pie" + e] = this["cScale" + e];
|
|
1165
|
-
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";
|
|
1166
|
-
for (let e = 0; e < 8; e++) this["venn" + (e + 1)] = this["venn" + (e + 1)] ?? v(this["cScale" + e], 30);
|
|
1167
|
-
this.vennTitleTextColor = this.vennTitleTextColor ?? this.titleColor, this.vennSetTextColor = this.vennSetTextColor ?? this.textColor, this.quadrant1Fill = this.quadrant1Fill || this.primaryColor, this.quadrant2Fill = this.quadrant2Fill || b(this.primaryColor, {
|
|
1168
|
-
r: 5,
|
|
1169
|
-
g: 5,
|
|
1170
|
-
b: 5
|
|
1171
|
-
}), this.quadrant3Fill = this.quadrant3Fill || b(this.primaryColor, {
|
|
1172
|
-
r: 10,
|
|
1173
|
-
g: 10,
|
|
1174
|
-
b: 10
|
|
1175
|
-
}), this.quadrant4Fill = this.quadrant4Fill || b(this.primaryColor, {
|
|
1176
|
-
r: 15,
|
|
1177
|
-
g: 15,
|
|
1178
|
-
b: 15
|
|
1179
|
-
}), this.quadrant1TextFill = this.quadrant1TextFill || this.primaryTextColor, this.quadrant2TextFill = this.quadrant2TextFill || b(this.primaryTextColor, {
|
|
1180
|
-
r: -5,
|
|
1181
|
-
g: -5,
|
|
1182
|
-
b: -5
|
|
1183
|
-
}), this.quadrant3TextFill = this.quadrant3TextFill || b(this.primaryTextColor, {
|
|
1184
|
-
r: -10,
|
|
1185
|
-
g: -10,
|
|
1186
|
-
b: -10
|
|
1187
|
-
}), this.quadrant4TextFill = this.quadrant4TextFill || b(this.primaryTextColor, {
|
|
1188
|
-
r: -15,
|
|
1189
|
-
g: -15,
|
|
1190
|
-
b: -15
|
|
1191
|
-
}), this.quadrantPointFill = this.quadrantPointFill || g(this.quadrant1Fill) ? v(this.quadrant1Fill) : y(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 = {
|
|
1192
|
-
backgroundColor: this.xyChart?.backgroundColor || this.background,
|
|
1193
|
-
titleColor: this.xyChart?.titleColor || this.primaryTextColor,
|
|
1194
|
-
xAxisTitleColor: this.xyChart?.xAxisTitleColor || this.primaryTextColor,
|
|
1195
|
-
xAxisLabelColor: this.xyChart?.xAxisLabelColor || this.primaryTextColor,
|
|
1196
|
-
xAxisTickColor: this.xyChart?.xAxisTickColor || this.primaryTextColor,
|
|
1197
|
-
xAxisLineColor: this.xyChart?.xAxisLineColor || this.primaryTextColor,
|
|
1198
|
-
yAxisTitleColor: this.xyChart?.yAxisTitleColor || this.primaryTextColor,
|
|
1199
|
-
yAxisLabelColor: this.xyChart?.yAxisLabelColor || this.primaryTextColor,
|
|
1200
|
-
yAxisTickColor: this.xyChart?.yAxisTickColor || this.primaryTextColor,
|
|
1201
|
-
yAxisLineColor: this.xyChart?.yAxisLineColor || this.primaryTextColor,
|
|
1202
|
-
plotColorPalette: this.xyChart?.plotColorPalette || "#3498db,#2ecc71,#e74c3c,#f1c40f,#bdc3c7,#ffffff,#34495e,#9b59b6,#1abc9c,#e67e22"
|
|
1203
|
-
}, this.packet = {
|
|
1204
|
-
startByteColor: this.primaryTextColor,
|
|
1205
|
-
endByteColor: this.primaryTextColor,
|
|
1206
|
-
labelColor: this.primaryTextColor,
|
|
1207
|
-
titleColor: this.primaryTextColor,
|
|
1208
|
-
blockStrokeColor: this.primaryTextColor,
|
|
1209
|
-
blockFillColor: this.background
|
|
1210
|
-
}, this.radar = {
|
|
1211
|
-
axisColor: this.radar?.axisColor || this.lineColor,
|
|
1212
|
-
axisStrokeWidth: this.radar?.axisStrokeWidth || 2,
|
|
1213
|
-
axisLabelFontSize: this.radar?.axisLabelFontSize || 12,
|
|
1214
|
-
curveOpacity: this.radar?.curveOpacity || .5,
|
|
1215
|
-
curveStrokeWidth: this.radar?.curveStrokeWidth || 2,
|
|
1216
|
-
graticuleColor: this.radar?.graticuleColor || "#DEDEDE",
|
|
1217
|
-
graticuleStrokeWidth: this.radar?.graticuleStrokeWidth || 1,
|
|
1218
|
-
graticuleOpacity: this.radar?.graticuleOpacity || .3,
|
|
1219
|
-
legendBoxSize: this.radar?.legendBoxSize || 12,
|
|
1220
|
-
legendFontSize: this.radar?.legendFontSize || 12
|
|
1221
|
-
}, 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 ? y(this.secondaryColor, 30) : this.secondaryColor), this.relationLabelColor = this.relationLabelColor || this.actorTextColor, this.git0 = v(this.secondaryColor, 20), this.git1 = v(this.pie2 || this.secondaryColor, 20), this.git2 = v(this.pie3 || this.tertiaryColor, 20), this.git3 = v(this.pie4 || b(this.primaryColor, { h: -30 }), 20), this.git4 = v(this.pie5 || b(this.primaryColor, { h: -60 }), 20), this.git5 = v(this.pie6 || b(this.primaryColor, { h: -90 }), 10), this.git6 = v(this.pie7 || b(this.primaryColor, { h: 60 }), 10), this.git7 = v(this.pie8 || b(this.primaryColor, { h: 120 }), 20), this.gitInv0 = this.gitInv0 || x(this.git0), this.gitInv1 = this.gitInv1 || x(this.git1), this.gitInv2 = this.gitInv2 || x(this.git2), this.gitInv3 = this.gitInv3 || x(this.git3), this.gitInv4 = this.gitInv4 || x(this.git4), this.gitInv5 = this.gitInv5 || x(this.git5), this.gitInv6 = this.gitInv6 || x(this.git6), this.gitInv7 = this.gitInv7 || x(this.git7), this.gitBranchLabel0 = this.gitBranchLabel0 || x(this.labelTextColor), this.gitBranchLabel1 = this.gitBranchLabel1 || this.labelTextColor, this.gitBranchLabel2 = this.gitBranchLabel2 || this.labelTextColor, this.gitBranchLabel3 = this.gitBranchLabel3 || x(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 || v(this.background, 12), this.attributeBackgroundColorEven = this.attributeBackgroundColorEven || v(this.background, 2), this.nodeBorder = this.nodeBorder || "#999";
|
|
1222
|
-
}
|
|
1223
|
-
calculate(e) {
|
|
1224
|
-
if (typeof e != "object") {
|
|
1225
|
-
this.updateColors();
|
|
1226
|
-
return;
|
|
1227
|
-
}
|
|
1228
|
-
let t = Object.keys(e);
|
|
1229
|
-
t.forEach((t) => {
|
|
1230
|
-
this[t] = e[t];
|
|
1231
|
-
}), this.updateColors(), t.forEach((t) => {
|
|
1232
|
-
this[t] = e[t];
|
|
1233
|
-
});
|
|
1234
|
-
}
|
|
1235
|
-
}, V = /* @__PURE__ */ n((e) => {
|
|
1236
|
-
let t = new B();
|
|
1237
|
-
return t.calculate(e), t;
|
|
1238
|
-
}, "getThemeVariables"), ot = class {
|
|
1239
|
-
static {
|
|
1240
|
-
n(this, "Theme");
|
|
1241
|
-
}
|
|
1242
|
-
constructor() {
|
|
1243
|
-
this.background = "#f4f4f4", this.primaryColor = "#ECECFF", this.secondaryColor = b(this.primaryColor, { h: 120 }), this.secondaryColor = "#ffffde", this.tertiaryColor = b(this.primaryColor, { h: -160 }), this.primaryBorderColor = z(this.primaryColor, this.darkMode), this.secondaryBorderColor = z(this.secondaryColor, this.darkMode), this.tertiaryBorderColor = z(this.tertiaryColor, this.darkMode), this.primaryTextColor = x(this.primaryColor), this.secondaryTextColor = x(this.secondaryColor), this.tertiaryTextColor = x(this.tertiaryColor), this.lineColor = x(this.background), this.textColor = x(this.background), this.background = "white", this.mainBkg = "#ECECFF", this.secondBkg = "#ffffde", this.lineColor = "#333333", this.border1 = "#9370DB", 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.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.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 = ee(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.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.updateColors();
|
|
1244
|
-
}
|
|
1245
|
-
updateColors() {
|
|
1246
|
-
this.cScale0 = this.cScale0 || this.primaryColor, this.cScale1 = this.cScale1 || this.secondaryColor, this.cScale2 = this.cScale2 || this.tertiaryColor, this.cScale3 = this.cScale3 || b(this.primaryColor, { h: 30 }), this.cScale4 = this.cScale4 || b(this.primaryColor, { h: 60 }), this.cScale5 = this.cScale5 || b(this.primaryColor, { h: 90 }), this.cScale6 = this.cScale6 || b(this.primaryColor, { h: 120 }), this.cScale7 = this.cScale7 || b(this.primaryColor, { h: 150 }), this.cScale8 = this.cScale8 || b(this.primaryColor, { h: 210 }), this.cScale9 = this.cScale9 || b(this.primaryColor, { h: 270 }), this.cScale10 = this.cScale10 || b(this.primaryColor, { h: 300 }), this.cScale11 = this.cScale11 || b(this.primaryColor, { h: 330 }), this.cScalePeer1 = this.cScalePeer1 || y(this.secondaryColor, 45), this.cScalePeer2 = this.cScalePeer2 || y(this.tertiaryColor, 40);
|
|
1247
|
-
for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this["cScale" + e] = y(this["cScale" + e], 10), this["cScalePeer" + e] = this["cScalePeer" + e] || y(this["cScale" + e], 25);
|
|
1248
|
-
for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this["cScaleInv" + e] = this["cScaleInv" + e] || b(this["cScale" + e], { h: 180 });
|
|
1249
|
-
for (let e = 0; e < 5; e++) this["surface" + e] = this["surface" + e] || b(this.mainBkg, {
|
|
1250
|
-
h: 30,
|
|
1251
|
-
l: -(5 + e * 5)
|
|
1252
|
-
}), this["surfacePeer" + e] = this["surfacePeer" + e] || b(this.mainBkg, {
|
|
1253
|
-
h: 30,
|
|
1254
|
-
l: -(7 + e * 5)
|
|
1255
|
-
});
|
|
1256
|
-
if (this.scaleLabelColor = this.scaleLabelColor !== "calculated" && this.scaleLabelColor ? this.scaleLabelColor : this.labelTextColor, this.labelTextColor !== "calculated") {
|
|
1257
|
-
this.cScaleLabel0 = this.cScaleLabel0 || x(this.labelTextColor), this.cScaleLabel3 = this.cScaleLabel3 || x(this.labelTextColor);
|
|
1258
|
-
for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this["cScaleLabel" + e] = this["cScaleLabel" + e] || this.labelTextColor;
|
|
1259
|
-
}
|
|
1260
|
-
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 = v(this.border1, 23), 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 || v(this.primaryColor, 75) || "#ffffff", this.rowEven = this.rowEven || v(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 = b(this.primaryColor, { h: 64 }), this.fillType3 = b(this.secondaryColor, { h: 64 }), this.fillType4 = b(this.primaryColor, { h: -64 }), this.fillType5 = b(this.secondaryColor, { h: -64 }), this.fillType6 = b(this.primaryColor, { h: 128 }), this.fillType7 = b(this.secondaryColor, { h: 128 }), this.pie1 = this.pie1 || this.primaryColor, this.pie2 = this.pie2 || this.secondaryColor, this.pie3 = this.pie3 || b(this.tertiaryColor, { l: -40 }), this.pie4 = this.pie4 || b(this.primaryColor, { l: -10 }), this.pie5 = this.pie5 || b(this.secondaryColor, { l: -30 }), this.pie6 = this.pie6 || b(this.tertiaryColor, { l: -20 }), this.pie7 = this.pie7 || b(this.primaryColor, {
|
|
1261
|
-
h: 60,
|
|
1262
|
-
l: -20
|
|
1263
|
-
}), this.pie8 = this.pie8 || b(this.primaryColor, {
|
|
1264
|
-
h: -60,
|
|
1265
|
-
l: -40
|
|
1266
|
-
}), this.pie9 = this.pie9 || b(this.primaryColor, {
|
|
1267
|
-
h: 120,
|
|
1268
|
-
l: -40
|
|
1269
|
-
}), this.pie10 = this.pie10 || b(this.primaryColor, {
|
|
1270
|
-
h: 60,
|
|
1271
|
-
l: -40
|
|
1272
|
-
}), this.pie11 = this.pie11 || b(this.primaryColor, {
|
|
1273
|
-
h: -90,
|
|
1274
|
-
l: -40
|
|
1275
|
-
}), this.pie12 = this.pie12 || b(this.primaryColor, {
|
|
1276
|
-
h: 120,
|
|
1277
|
-
l: -30
|
|
1278
|
-
}), 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 = this.venn1 ?? b(this.primaryColor, { l: -30 }), this.venn2 = this.venn2 ?? b(this.secondaryColor, { l: -30 }), this.venn3 = this.venn3 ?? b(this.tertiaryColor, { l: -40 }), this.venn4 = this.venn4 ?? b(this.primaryColor, {
|
|
1279
|
-
h: 60,
|
|
1280
|
-
l: -30
|
|
1281
|
-
}), this.venn5 = this.venn5 ?? b(this.primaryColor, {
|
|
1282
|
-
h: -60,
|
|
1283
|
-
l: -30
|
|
1284
|
-
}), this.venn6 = this.venn6 ?? b(this.secondaryColor, {
|
|
1285
|
-
h: 60,
|
|
1286
|
-
l: -30
|
|
1287
|
-
}), this.venn7 = this.venn7 ?? b(this.primaryColor, {
|
|
1288
|
-
h: 120,
|
|
1289
|
-
l: -30
|
|
1290
|
-
}), this.venn8 = this.venn8 ?? b(this.secondaryColor, {
|
|
1291
|
-
h: 120,
|
|
1292
|
-
l: -30
|
|
1293
|
-
}), this.vennTitleTextColor = this.vennTitleTextColor ?? this.titleColor, this.vennSetTextColor = this.vennSetTextColor ?? this.textColor, this.quadrant1Fill = this.quadrant1Fill || this.primaryColor, this.quadrant2Fill = this.quadrant2Fill || b(this.primaryColor, {
|
|
1294
|
-
r: 5,
|
|
1295
|
-
g: 5,
|
|
1296
|
-
b: 5
|
|
1297
|
-
}), this.quadrant3Fill = this.quadrant3Fill || b(this.primaryColor, {
|
|
1298
|
-
r: 10,
|
|
1299
|
-
g: 10,
|
|
1300
|
-
b: 10
|
|
1301
|
-
}), this.quadrant4Fill = this.quadrant4Fill || b(this.primaryColor, {
|
|
1302
|
-
r: 15,
|
|
1303
|
-
g: 15,
|
|
1304
|
-
b: 15
|
|
1305
|
-
}), this.quadrant1TextFill = this.quadrant1TextFill || this.primaryTextColor, this.quadrant2TextFill = this.quadrant2TextFill || b(this.primaryTextColor, {
|
|
1306
|
-
r: -5,
|
|
1307
|
-
g: -5,
|
|
1308
|
-
b: -5
|
|
1309
|
-
}), this.quadrant3TextFill = this.quadrant3TextFill || b(this.primaryTextColor, {
|
|
1310
|
-
r: -10,
|
|
1311
|
-
g: -10,
|
|
1312
|
-
b: -10
|
|
1313
|
-
}), this.quadrant4TextFill = this.quadrant4TextFill || b(this.primaryTextColor, {
|
|
1314
|
-
r: -15,
|
|
1315
|
-
g: -15,
|
|
1316
|
-
b: -15
|
|
1317
|
-
}), this.quadrantPointFill = this.quadrantPointFill || g(this.quadrant1Fill) ? v(this.quadrant1Fill) : y(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 = {
|
|
1318
|
-
axisColor: this.radar?.axisColor || this.lineColor,
|
|
1319
|
-
axisStrokeWidth: this.radar?.axisStrokeWidth || 2,
|
|
1320
|
-
axisLabelFontSize: this.radar?.axisLabelFontSize || 12,
|
|
1321
|
-
curveOpacity: this.radar?.curveOpacity || .5,
|
|
1322
|
-
curveStrokeWidth: this.radar?.curveStrokeWidth || 2,
|
|
1323
|
-
graticuleColor: this.radar?.graticuleColor || "#DEDEDE",
|
|
1324
|
-
graticuleStrokeWidth: this.radar?.graticuleStrokeWidth || 1,
|
|
1325
|
-
graticuleOpacity: this.radar?.graticuleOpacity || .3,
|
|
1326
|
-
legendBoxSize: this.radar?.legendBoxSize || 12,
|
|
1327
|
-
legendFontSize: this.radar?.legendFontSize || 12
|
|
1328
|
-
}, this.xyChart = {
|
|
1329
|
-
backgroundColor: this.xyChart?.backgroundColor || this.background,
|
|
1330
|
-
titleColor: this.xyChart?.titleColor || this.primaryTextColor,
|
|
1331
|
-
xAxisTitleColor: this.xyChart?.xAxisTitleColor || this.primaryTextColor,
|
|
1332
|
-
xAxisLabelColor: this.xyChart?.xAxisLabelColor || this.primaryTextColor,
|
|
1333
|
-
xAxisTickColor: this.xyChart?.xAxisTickColor || this.primaryTextColor,
|
|
1334
|
-
xAxisLineColor: this.xyChart?.xAxisLineColor || this.primaryTextColor,
|
|
1335
|
-
yAxisTitleColor: this.xyChart?.yAxisTitleColor || this.primaryTextColor,
|
|
1336
|
-
yAxisLabelColor: this.xyChart?.yAxisLabelColor || this.primaryTextColor,
|
|
1337
|
-
yAxisTickColor: this.xyChart?.yAxisTickColor || this.primaryTextColor,
|
|
1338
|
-
yAxisLineColor: this.xyChart?.yAxisLineColor || this.primaryTextColor,
|
|
1339
|
-
plotColorPalette: this.xyChart?.plotColorPalette || "#ECECFF,#8493A6,#FFC3A0,#DCDDE1,#B8E994,#D1A36F,#C3CDE6,#FFB6C1,#496078,#F8F3E3"
|
|
1340
|
-
}, 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 || b(this.primaryColor, { h: -30 }), this.git4 = this.git4 || b(this.primaryColor, { h: -60 }), this.git5 = this.git5 || b(this.primaryColor, { h: -90 }), this.git6 = this.git6 || b(this.primaryColor, { h: 60 }), this.git7 = this.git7 || b(this.primaryColor, { h: 120 }), this.darkMode ? (this.git0 = v(this.git0, 25), this.git1 = v(this.git1, 25), this.git2 = v(this.git2, 25), this.git3 = v(this.git3, 25), this.git4 = v(this.git4, 25), this.git5 = v(this.git5, 25), this.git6 = v(this.git6, 25), this.git7 = v(this.git7, 25)) : (this.git0 = y(this.git0, 25), this.git1 = y(this.git1, 25), this.git2 = y(this.git2, 25), this.git3 = y(this.git3, 25), this.git4 = y(this.git4, 25), this.git5 = y(this.git5, 25), this.git6 = y(this.git6, 25), this.git7 = y(this.git7, 25)), this.gitInv0 = this.gitInv0 || y(x(this.git0), 25), this.gitInv1 = this.gitInv1 || x(this.git1), this.gitInv2 = this.gitInv2 || x(this.git2), this.gitInv3 = this.gitInv3 || x(this.git3), this.gitInv4 = this.gitInv4 || x(this.git4), this.gitInv5 = this.gitInv5 || x(this.git5), this.gitInv6 = this.gitInv6 || x(this.git6), this.gitInv7 = this.gitInv7 || x(this.git7), this.gitBranchLabel0 = this.gitBranchLabel0 || x(this.labelTextColor), this.gitBranchLabel1 = this.gitBranchLabel1 || this.labelTextColor, this.gitBranchLabel2 = this.gitBranchLabel2 || this.labelTextColor, this.gitBranchLabel3 = this.gitBranchLabel3 || x(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 || R, this.attributeBackgroundColorEven = this.attributeBackgroundColorEven || rt;
|
|
1341
|
-
}
|
|
1342
|
-
calculate(e) {
|
|
1343
|
-
if (Object.keys(this).forEach((e) => {
|
|
1344
|
-
this[e] === "calculated" && (this[e] = void 0);
|
|
1345
|
-
}), typeof e != "object") {
|
|
1346
|
-
this.updateColors();
|
|
1347
|
-
return;
|
|
1348
|
-
}
|
|
1349
|
-
let t = Object.keys(e);
|
|
1350
|
-
t.forEach((t) => {
|
|
1351
|
-
this[t] = e[t];
|
|
1352
|
-
}), this.updateColors(), t.forEach((t) => {
|
|
1353
|
-
this[t] = e[t];
|
|
1354
|
-
});
|
|
1355
|
-
}
|
|
1356
|
-
}, st = /* @__PURE__ */ n((e) => {
|
|
1357
|
-
let t = new ot();
|
|
1358
|
-
return t.calculate(e), t;
|
|
1359
|
-
}, "getThemeVariables"), ct = class {
|
|
1360
|
-
static {
|
|
1361
|
-
n(this, "Theme");
|
|
1362
|
-
}
|
|
1363
|
-
constructor() {
|
|
1364
|
-
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 = v("#cde498", 10), this.primaryBorderColor = z(this.primaryColor, this.darkMode), this.secondaryBorderColor = z(this.secondaryColor, this.darkMode), this.tertiaryBorderColor = z(this.tertiaryColor, this.darkMode), this.primaryTextColor = x(this.primaryColor), this.secondaryTextColor = x(this.secondaryColor), this.tertiaryTextColor = x(this.primaryColor), this.lineColor = x(this.background), this.textColor = x(this.background), this.THEME_COLOR_LIMIT = 12, 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.labelColor = "black", this.errorBkgColor = "#552222", this.errorTextColor = "#552222";
|
|
1365
|
-
}
|
|
1366
|
-
updateColors() {
|
|
1367
|
-
this.actorBorder = y(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 || b(this.primaryColor, { h: 30 }), this.cScale4 = this.cScale4 || b(this.primaryColor, { h: 60 }), this.cScale5 = this.cScale5 || b(this.primaryColor, { h: 90 }), this.cScale6 = this.cScale6 || b(this.primaryColor, { h: 120 }), this.cScale7 = this.cScale7 || b(this.primaryColor, { h: 150 }), this.cScale8 = this.cScale8 || b(this.primaryColor, { h: 210 }), this.cScale9 = this.cScale9 || b(this.primaryColor, { h: 270 }), this.cScale10 = this.cScale10 || b(this.primaryColor, { h: 300 }), this.cScale11 = this.cScale11 || b(this.primaryColor, { h: 330 }), this.cScalePeer1 = this.cScalePeer1 || y(this.secondaryColor, 45), this.cScalePeer2 = this.cScalePeer2 || y(this.tertiaryColor, 40);
|
|
1368
|
-
for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this["cScale" + e] = y(this["cScale" + e], 10), this["cScalePeer" + e] = this["cScalePeer" + e] || y(this["cScale" + e], 25);
|
|
1369
|
-
for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this["cScaleInv" + e] = this["cScaleInv" + e] || b(this["cScale" + e], { h: 180 });
|
|
1370
|
-
this.scaleLabelColor = this.scaleLabelColor !== "calculated" && this.scaleLabelColor ? this.scaleLabelColor : this.labelTextColor;
|
|
1371
|
-
for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this["cScaleLabel" + e] = this["cScaleLabel" + e] || this.scaleLabelColor;
|
|
1372
|
-
for (let e = 0; e < 5; e++) this["surface" + e] = this["surface" + e] || b(this.mainBkg, {
|
|
1373
|
-
h: 30,
|
|
1374
|
-
s: -30,
|
|
1375
|
-
l: -(5 + e * 5)
|
|
1376
|
-
}), this["surfacePeer" + e] = this["surfacePeer" + e] || b(this.mainBkg, {
|
|
1377
|
-
h: 30,
|
|
1378
|
-
s: -30,
|
|
1379
|
-
l: -(8 + e * 5)
|
|
1380
|
-
});
|
|
1381
|
-
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 || v(this.mainBkg, 75) || "#ffffff", this.rowEven = this.rowEven || v(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 = b(this.primaryColor, { h: 64 }), this.fillType3 = b(this.secondaryColor, { h: 64 }), this.fillType4 = b(this.primaryColor, { h: -64 }), this.fillType5 = b(this.secondaryColor, { h: -64 }), this.fillType6 = b(this.primaryColor, { h: 128 }), this.fillType7 = b(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 || b(this.primaryColor, { l: -30 }), this.pie5 = this.pie5 || b(this.secondaryColor, { l: -30 }), this.pie6 = this.pie6 || b(this.tertiaryColor, {
|
|
1382
|
-
h: 40,
|
|
1383
|
-
l: -40
|
|
1384
|
-
}), this.pie7 = this.pie7 || b(this.primaryColor, {
|
|
1385
|
-
h: 60,
|
|
1386
|
-
l: -10
|
|
1387
|
-
}), this.pie8 = this.pie8 || b(this.primaryColor, {
|
|
1388
|
-
h: -60,
|
|
1389
|
-
l: -10
|
|
1390
|
-
}), this.pie9 = this.pie9 || b(this.primaryColor, {
|
|
1391
|
-
h: 120,
|
|
1392
|
-
l: 0
|
|
1393
|
-
}), this.pie10 = this.pie10 || b(this.primaryColor, {
|
|
1394
|
-
h: 60,
|
|
1395
|
-
l: -50
|
|
1396
|
-
}), this.pie11 = this.pie11 || b(this.primaryColor, {
|
|
1397
|
-
h: -60,
|
|
1398
|
-
l: -50
|
|
1399
|
-
}), this.pie12 = this.pie12 || b(this.primaryColor, {
|
|
1400
|
-
h: 120,
|
|
1401
|
-
l: -50
|
|
1402
|
-
}), 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 = this.venn1 ?? b(this.primaryColor, { l: -30 }), this.venn2 = this.venn2 ?? b(this.secondaryColor, { l: -30 }), this.venn3 = this.venn3 ?? b(this.tertiaryColor, { l: -30 }), this.venn4 = this.venn4 ?? b(this.primaryColor, {
|
|
1403
|
-
h: 60,
|
|
1404
|
-
l: -30
|
|
1405
|
-
}), this.venn5 = this.venn5 ?? b(this.primaryColor, {
|
|
1406
|
-
h: -60,
|
|
1407
|
-
l: -30
|
|
1408
|
-
}), this.venn6 = this.venn6 ?? b(this.secondaryColor, {
|
|
1409
|
-
h: 60,
|
|
1410
|
-
l: -30
|
|
1411
|
-
}), this.venn7 = this.venn7 ?? b(this.primaryColor, {
|
|
1412
|
-
h: 120,
|
|
1413
|
-
l: -30
|
|
1414
|
-
}), this.venn8 = this.venn8 ?? b(this.secondaryColor, {
|
|
1415
|
-
h: 120,
|
|
1416
|
-
l: -30
|
|
1417
|
-
}), this.vennTitleTextColor = this.vennTitleTextColor ?? this.titleColor, this.vennSetTextColor = this.vennSetTextColor ?? this.textColor, this.quadrant1Fill = this.quadrant1Fill || this.primaryColor, this.quadrant2Fill = this.quadrant2Fill || b(this.primaryColor, {
|
|
1418
|
-
r: 5,
|
|
1419
|
-
g: 5,
|
|
1420
|
-
b: 5
|
|
1421
|
-
}), this.quadrant3Fill = this.quadrant3Fill || b(this.primaryColor, {
|
|
1422
|
-
r: 10,
|
|
1423
|
-
g: 10,
|
|
1424
|
-
b: 10
|
|
1425
|
-
}), this.quadrant4Fill = this.quadrant4Fill || b(this.primaryColor, {
|
|
1426
|
-
r: 15,
|
|
1427
|
-
g: 15,
|
|
1428
|
-
b: 15
|
|
1429
|
-
}), this.quadrant1TextFill = this.quadrant1TextFill || this.primaryTextColor, this.quadrant2TextFill = this.quadrant2TextFill || b(this.primaryTextColor, {
|
|
1430
|
-
r: -5,
|
|
1431
|
-
g: -5,
|
|
1432
|
-
b: -5
|
|
1433
|
-
}), this.quadrant3TextFill = this.quadrant3TextFill || b(this.primaryTextColor, {
|
|
1434
|
-
r: -10,
|
|
1435
|
-
g: -10,
|
|
1436
|
-
b: -10
|
|
1437
|
-
}), this.quadrant4TextFill = this.quadrant4TextFill || b(this.primaryTextColor, {
|
|
1438
|
-
r: -15,
|
|
1439
|
-
g: -15,
|
|
1440
|
-
b: -15
|
|
1441
|
-
}), this.quadrantPointFill = this.quadrantPointFill || g(this.quadrant1Fill) ? v(this.quadrant1Fill) : y(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 = {
|
|
1442
|
-
startByteColor: this.primaryTextColor,
|
|
1443
|
-
endByteColor: this.primaryTextColor,
|
|
1444
|
-
labelColor: this.primaryTextColor,
|
|
1445
|
-
titleColor: this.primaryTextColor,
|
|
1446
|
-
blockStrokeColor: this.primaryTextColor,
|
|
1447
|
-
blockFillColor: this.mainBkg
|
|
1448
|
-
}, this.radar = {
|
|
1449
|
-
axisColor: this.radar?.axisColor || this.lineColor,
|
|
1450
|
-
axisStrokeWidth: this.radar?.axisStrokeWidth || 2,
|
|
1451
|
-
axisLabelFontSize: this.radar?.axisLabelFontSize || 12,
|
|
1452
|
-
curveOpacity: this.radar?.curveOpacity || .5,
|
|
1453
|
-
curveStrokeWidth: this.radar?.curveStrokeWidth || 2,
|
|
1454
|
-
graticuleColor: this.radar?.graticuleColor || "#DEDEDE",
|
|
1455
|
-
graticuleStrokeWidth: this.radar?.graticuleStrokeWidth || 1,
|
|
1456
|
-
graticuleOpacity: this.radar?.graticuleOpacity || .3,
|
|
1457
|
-
legendBoxSize: this.radar?.legendBoxSize || 12,
|
|
1458
|
-
legendFontSize: this.radar?.legendFontSize || 12
|
|
1459
|
-
}, this.xyChart = {
|
|
1460
|
-
backgroundColor: this.xyChart?.backgroundColor || this.background,
|
|
1461
|
-
titleColor: this.xyChart?.titleColor || this.primaryTextColor,
|
|
1462
|
-
xAxisTitleColor: this.xyChart?.xAxisTitleColor || this.primaryTextColor,
|
|
1463
|
-
xAxisLabelColor: this.xyChart?.xAxisLabelColor || this.primaryTextColor,
|
|
1464
|
-
xAxisTickColor: this.xyChart?.xAxisTickColor || this.primaryTextColor,
|
|
1465
|
-
xAxisLineColor: this.xyChart?.xAxisLineColor || this.primaryTextColor,
|
|
1466
|
-
yAxisTitleColor: this.xyChart?.yAxisTitleColor || this.primaryTextColor,
|
|
1467
|
-
yAxisLabelColor: this.xyChart?.yAxisLabelColor || this.primaryTextColor,
|
|
1468
|
-
yAxisTickColor: this.xyChart?.yAxisTickColor || this.primaryTextColor,
|
|
1469
|
-
yAxisLineColor: this.xyChart?.yAxisLineColor || this.primaryTextColor,
|
|
1470
|
-
plotColorPalette: this.xyChart?.plotColorPalette || "#CDE498,#FF6B6B,#A0D2DB,#D7BDE2,#F0F0F0,#FFC3A0,#7FD8BE,#FF9A8B,#FAF3E0,#FFF176"
|
|
1471
|
-
}, 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 || b(this.primaryColor, { h: -30 }), this.git4 = this.git4 || b(this.primaryColor, { h: -60 }), this.git5 = this.git5 || b(this.primaryColor, { h: -90 }), this.git6 = this.git6 || b(this.primaryColor, { h: 60 }), this.git7 = this.git7 || b(this.primaryColor, { h: 120 }), this.darkMode ? (this.git0 = v(this.git0, 25), this.git1 = v(this.git1, 25), this.git2 = v(this.git2, 25), this.git3 = v(this.git3, 25), this.git4 = v(this.git4, 25), this.git5 = v(this.git5, 25), this.git6 = v(this.git6, 25), this.git7 = v(this.git7, 25)) : (this.git0 = y(this.git0, 25), this.git1 = y(this.git1, 25), this.git2 = y(this.git2, 25), this.git3 = y(this.git3, 25), this.git4 = y(this.git4, 25), this.git5 = y(this.git5, 25), this.git6 = y(this.git6, 25), this.git7 = y(this.git7, 25)), this.gitInv0 = this.gitInv0 || x(this.git0), this.gitInv1 = this.gitInv1 || x(this.git1), this.gitInv2 = this.gitInv2 || x(this.git2), this.gitInv3 = this.gitInv3 || x(this.git3), this.gitInv4 = this.gitInv4 || x(this.git4), this.gitInv5 = this.gitInv5 || x(this.git5), this.gitInv6 = this.gitInv6 || x(this.git6), this.gitInv7 = this.gitInv7 || x(this.git7), this.gitBranchLabel0 = this.gitBranchLabel0 || x(this.labelTextColor), this.gitBranchLabel1 = this.gitBranchLabel1 || this.labelTextColor, this.gitBranchLabel2 = this.gitBranchLabel2 || this.labelTextColor, this.gitBranchLabel3 = this.gitBranchLabel3 || x(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 || R, this.attributeBackgroundColorEven = this.attributeBackgroundColorEven || rt;
|
|
1472
|
-
}
|
|
1473
|
-
calculate(e) {
|
|
1474
|
-
if (typeof e != "object") {
|
|
1475
|
-
this.updateColors();
|
|
1476
|
-
return;
|
|
1477
|
-
}
|
|
1478
|
-
let t = Object.keys(e);
|
|
1479
|
-
t.forEach((t) => {
|
|
1480
|
-
this[t] = e[t];
|
|
1481
|
-
}), this.updateColors(), t.forEach((t) => {
|
|
1482
|
-
this[t] = e[t];
|
|
1483
|
-
});
|
|
1484
|
-
}
|
|
1485
|
-
}, lt = /* @__PURE__ */ n((e) => {
|
|
1486
|
-
let t = new ct();
|
|
1487
|
-
return t.calculate(e), t;
|
|
1488
|
-
}, "getThemeVariables"), ut = class {
|
|
1489
|
-
static {
|
|
1490
|
-
n(this, "Theme");
|
|
1491
|
-
}
|
|
1492
|
-
constructor() {
|
|
1493
|
-
this.primaryColor = "#eee", this.contrast = "#707070", this.secondaryColor = v(this.contrast, 55), this.background = "#ffffff", this.tertiaryColor = b(this.primaryColor, { h: -160 }), this.primaryBorderColor = z(this.primaryColor, this.darkMode), this.secondaryBorderColor = z(this.secondaryColor, this.darkMode), this.tertiaryBorderColor = z(this.tertiaryColor, this.darkMode), this.primaryTextColor = x(this.primaryColor), this.secondaryTextColor = x(this.secondaryColor), this.tertiaryTextColor = x(this.tertiaryColor), this.lineColor = x(this.background), this.textColor = x(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.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.rowOdd = this.rowOdd || v(this.mainBkg, 75) || "#ffffff", this.rowEven = this.rowEven || "#f4f4f4", this.labelColor = "black", this.errorBkgColor = "#552222", this.errorTextColor = "#552222";
|
|
1494
|
-
}
|
|
1495
|
-
updateColors() {
|
|
1496
|
-
this.secondBkg = v(this.contrast, 55), this.border2 = this.contrast, this.actorBorder = v(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";
|
|
1497
|
-
for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this["cScaleInv" + e] = this["cScaleInv" + e] || x(this["cScale" + e]);
|
|
1498
|
-
for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this.darkMode ? this["cScalePeer" + e] = this["cScalePeer" + e] || v(this["cScale" + e], 10) : this["cScalePeer" + e] = this["cScalePeer" + e] || y(this["cScale" + e], 10);
|
|
1499
|
-
this.scaleLabelColor = this.scaleLabelColor || (this.darkMode ? "black" : this.labelTextColor), this.cScaleLabel0 = this.cScaleLabel0 || this.cScale1, this.cScaleLabel2 = this.cScaleLabel2 || this.cScale1;
|
|
1500
|
-
for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this["cScaleLabel" + e] = this["cScaleLabel" + e] || this.scaleLabelColor;
|
|
1501
|
-
for (let e = 0; e < 5; e++) this["surface" + e] = this["surface" + e] || b(this.mainBkg, { l: -(5 + e * 5) }), this["surfacePeer" + e] = this["surfacePeer" + e] || b(this.mainBkg, { l: -(8 + e * 5) });
|
|
1502
|
-
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 = v(this.contrast, 30), this.sectionBkgColor2 = v(this.contrast, 30), this.taskBorderColor = y(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 = v(this.border1, 30), this.doneTaskBkgColor = this.done, this.doneTaskBorderColor = this.lineColor, this.critBkgColor = this.critical, this.critBorderColor = y(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 = b(this.primaryColor, { h: 64 }), this.fillType3 = b(this.secondaryColor, { h: 64 }), this.fillType4 = b(this.primaryColor, { h: -64 }), this.fillType5 = b(this.secondaryColor, { h: -64 }), this.fillType6 = b(this.primaryColor, { h: 128 }), this.fillType7 = b(this.secondaryColor, { h: 128 });
|
|
1503
|
-
for (let e = 0; e < this.THEME_COLOR_LIMIT; e++) this["pie" + e] = this["cScale" + e];
|
|
1504
|
-
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";
|
|
1505
|
-
for (let e = 0; e < 8; e++) this["venn" + (e + 1)] = this["venn" + (e + 1)] ?? this["cScale" + e];
|
|
1506
|
-
this.vennTitleTextColor = this.vennTitleTextColor ?? this.titleColor, this.vennSetTextColor = this.vennSetTextColor ?? this.textColor, this.quadrant1Fill = this.quadrant1Fill || this.primaryColor, this.quadrant2Fill = this.quadrant2Fill || b(this.primaryColor, {
|
|
1507
|
-
r: 5,
|
|
1508
|
-
g: 5,
|
|
1509
|
-
b: 5
|
|
1510
|
-
}), this.quadrant3Fill = this.quadrant3Fill || b(this.primaryColor, {
|
|
1511
|
-
r: 10,
|
|
1512
|
-
g: 10,
|
|
1513
|
-
b: 10
|
|
1514
|
-
}), this.quadrant4Fill = this.quadrant4Fill || b(this.primaryColor, {
|
|
1515
|
-
r: 15,
|
|
1516
|
-
g: 15,
|
|
1517
|
-
b: 15
|
|
1518
|
-
}), this.quadrant1TextFill = this.quadrant1TextFill || this.primaryTextColor, this.quadrant2TextFill = this.quadrant2TextFill || b(this.primaryTextColor, {
|
|
1519
|
-
r: -5,
|
|
1520
|
-
g: -5,
|
|
1521
|
-
b: -5
|
|
1522
|
-
}), this.quadrant3TextFill = this.quadrant3TextFill || b(this.primaryTextColor, {
|
|
1523
|
-
r: -10,
|
|
1524
|
-
g: -10,
|
|
1525
|
-
b: -10
|
|
1526
|
-
}), this.quadrant4TextFill = this.quadrant4TextFill || b(this.primaryTextColor, {
|
|
1527
|
-
r: -15,
|
|
1528
|
-
g: -15,
|
|
1529
|
-
b: -15
|
|
1530
|
-
}), this.quadrantPointFill = this.quadrantPointFill || g(this.quadrant1Fill) ? v(this.quadrant1Fill) : y(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 = {
|
|
1531
|
-
backgroundColor: this.xyChart?.backgroundColor || this.background,
|
|
1532
|
-
titleColor: this.xyChart?.titleColor || this.primaryTextColor,
|
|
1533
|
-
xAxisTitleColor: this.xyChart?.xAxisTitleColor || this.primaryTextColor,
|
|
1534
|
-
xAxisLabelColor: this.xyChart?.xAxisLabelColor || this.primaryTextColor,
|
|
1535
|
-
xAxisTickColor: this.xyChart?.xAxisTickColor || this.primaryTextColor,
|
|
1536
|
-
xAxisLineColor: this.xyChart?.xAxisLineColor || this.primaryTextColor,
|
|
1537
|
-
yAxisTitleColor: this.xyChart?.yAxisTitleColor || this.primaryTextColor,
|
|
1538
|
-
yAxisLabelColor: this.xyChart?.yAxisLabelColor || this.primaryTextColor,
|
|
1539
|
-
yAxisTickColor: this.xyChart?.yAxisTickColor || this.primaryTextColor,
|
|
1540
|
-
yAxisLineColor: this.xyChart?.yAxisLineColor || this.primaryTextColor,
|
|
1541
|
-
plotColorPalette: this.xyChart?.plotColorPalette || "#EEE,#6BB8E4,#8ACB88,#C7ACD6,#E8DCC2,#FFB2A8,#FFF380,#7E8D91,#FFD8B1,#FAF3E0"
|
|
1542
|
-
}, this.radar = {
|
|
1543
|
-
axisColor: this.radar?.axisColor || this.lineColor,
|
|
1544
|
-
axisStrokeWidth: this.radar?.axisStrokeWidth || 2,
|
|
1545
|
-
axisLabelFontSize: this.radar?.axisLabelFontSize || 12,
|
|
1546
|
-
curveOpacity: this.radar?.curveOpacity || .5,
|
|
1547
|
-
curveStrokeWidth: this.radar?.curveStrokeWidth || 2,
|
|
1548
|
-
graticuleColor: this.radar?.graticuleColor || "#DEDEDE",
|
|
1549
|
-
graticuleStrokeWidth: this.radar?.graticuleStrokeWidth || 1,
|
|
1550
|
-
graticuleOpacity: this.radar?.graticuleOpacity || .3,
|
|
1551
|
-
legendBoxSize: this.radar?.legendBoxSize || 12,
|
|
1552
|
-
legendFontSize: this.radar?.legendFontSize || 12
|
|
1553
|
-
}, 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 = y(this.pie1, 25) || this.primaryColor, this.git1 = this.pie2 || this.secondaryColor, this.git2 = this.pie3 || this.tertiaryColor, this.git3 = this.pie4 || b(this.primaryColor, { h: -30 }), this.git4 = this.pie5 || b(this.primaryColor, { h: -60 }), this.git5 = this.pie6 || b(this.primaryColor, { h: -90 }), this.git6 = this.pie7 || b(this.primaryColor, { h: 60 }), this.git7 = this.pie8 || b(this.primaryColor, { h: 120 }), this.gitInv0 = this.gitInv0 || x(this.git0), this.gitInv1 = this.gitInv1 || x(this.git1), this.gitInv2 = this.gitInv2 || x(this.git2), this.gitInv3 = this.gitInv3 || x(this.git3), this.gitInv4 = this.gitInv4 || x(this.git4), this.gitInv5 = this.gitInv5 || x(this.git5), this.gitInv6 = this.gitInv6 || x(this.git6), this.gitInv7 = this.gitInv7 || x(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 || R, this.attributeBackgroundColorEven = this.attributeBackgroundColorEven || rt;
|
|
1554
|
-
}
|
|
1555
|
-
calculate(e) {
|
|
1556
|
-
if (typeof e != "object") {
|
|
1557
|
-
this.updateColors();
|
|
1558
|
-
return;
|
|
1559
|
-
}
|
|
1560
|
-
let t = Object.keys(e);
|
|
1561
|
-
t.forEach((t) => {
|
|
1562
|
-
this[t] = e[t];
|
|
1563
|
-
}), this.updateColors(), t.forEach((t) => {
|
|
1564
|
-
this[t] = e[t];
|
|
1565
|
-
});
|
|
1566
|
-
}
|
|
1567
|
-
}, H = {
|
|
1568
|
-
base: { getThemeVariables: at },
|
|
1569
|
-
dark: { getThemeVariables: V },
|
|
1570
|
-
default: { getThemeVariables: st },
|
|
1571
|
-
forest: { getThemeVariables: lt },
|
|
1572
|
-
neutral: { getThemeVariables: /* @__PURE__ */ n((e) => {
|
|
1573
|
-
let t = new ut();
|
|
1574
|
-
return t.calculate(e), t;
|
|
1575
|
-
}, "getThemeVariables") }
|
|
1576
|
-
}, U = {
|
|
1577
|
-
flowchart: {
|
|
1578
|
-
useMaxWidth: !0,
|
|
1579
|
-
titleTopMargin: 25,
|
|
1580
|
-
subGraphTitleMargin: {
|
|
1581
|
-
top: 0,
|
|
1582
|
-
bottom: 0
|
|
1583
|
-
},
|
|
1584
|
-
diagramPadding: 8,
|
|
1585
|
-
htmlLabels: null,
|
|
1586
|
-
nodeSpacing: 50,
|
|
1587
|
-
rankSpacing: 50,
|
|
1588
|
-
curve: "basis",
|
|
1589
|
-
padding: 15,
|
|
1590
|
-
defaultRenderer: "dagre-wrapper",
|
|
1591
|
-
wrappingWidth: 200,
|
|
1592
|
-
inheritDir: !1
|
|
1593
|
-
},
|
|
1594
|
-
sequence: {
|
|
1595
|
-
useMaxWidth: !0,
|
|
1596
|
-
hideUnusedParticipants: !1,
|
|
1597
|
-
activationWidth: 10,
|
|
1598
|
-
diagramMarginX: 50,
|
|
1599
|
-
diagramMarginY: 10,
|
|
1600
|
-
actorMargin: 50,
|
|
1601
|
-
width: 150,
|
|
1602
|
-
height: 65,
|
|
1603
|
-
boxMargin: 10,
|
|
1604
|
-
boxTextMargin: 5,
|
|
1605
|
-
noteMargin: 10,
|
|
1606
|
-
messageMargin: 35,
|
|
1607
|
-
messageAlign: "center",
|
|
1608
|
-
mirrorActors: !0,
|
|
1609
|
-
forceMenus: !1,
|
|
1610
|
-
bottomMarginAdj: 1,
|
|
1611
|
-
rightAngles: !1,
|
|
1612
|
-
showSequenceNumbers: !1,
|
|
1613
|
-
actorFontSize: 14,
|
|
1614
|
-
actorFontFamily: "\"Open Sans\", sans-serif",
|
|
1615
|
-
actorFontWeight: 400,
|
|
1616
|
-
noteFontSize: 14,
|
|
1617
|
-
noteFontFamily: "\"trebuchet ms\", verdana, arial, sans-serif",
|
|
1618
|
-
noteFontWeight: 400,
|
|
1619
|
-
noteAlign: "center",
|
|
1620
|
-
messageFontSize: 16,
|
|
1621
|
-
messageFontFamily: "\"trebuchet ms\", verdana, arial, sans-serif",
|
|
1622
|
-
messageFontWeight: 400,
|
|
1623
|
-
wrap: !1,
|
|
1624
|
-
wrapPadding: 10,
|
|
1625
|
-
labelBoxWidth: 50,
|
|
1626
|
-
labelBoxHeight: 20
|
|
1627
|
-
},
|
|
1628
|
-
gantt: {
|
|
1629
|
-
useMaxWidth: !0,
|
|
1630
|
-
titleTopMargin: 25,
|
|
1631
|
-
barHeight: 20,
|
|
1632
|
-
barGap: 4,
|
|
1633
|
-
topPadding: 50,
|
|
1634
|
-
rightPadding: 75,
|
|
1635
|
-
leftPadding: 75,
|
|
1636
|
-
gridLineStartPadding: 35,
|
|
1637
|
-
fontSize: 11,
|
|
1638
|
-
sectionFontSize: 11,
|
|
1639
|
-
numberSectionStyles: 4,
|
|
1640
|
-
axisFormat: "%Y-%m-%d",
|
|
1641
|
-
topAxis: !1,
|
|
1642
|
-
displayMode: "",
|
|
1643
|
-
weekday: "sunday"
|
|
1644
|
-
},
|
|
1645
|
-
journey: {
|
|
1646
|
-
useMaxWidth: !0,
|
|
1647
|
-
diagramMarginX: 50,
|
|
1648
|
-
diagramMarginY: 10,
|
|
1649
|
-
leftMargin: 150,
|
|
1650
|
-
maxLabelWidth: 360,
|
|
1651
|
-
width: 150,
|
|
1652
|
-
height: 50,
|
|
1653
|
-
boxMargin: 10,
|
|
1654
|
-
boxTextMargin: 5,
|
|
1655
|
-
noteMargin: 10,
|
|
1656
|
-
messageMargin: 35,
|
|
1657
|
-
messageAlign: "center",
|
|
1658
|
-
bottomMarginAdj: 1,
|
|
1659
|
-
rightAngles: !1,
|
|
1660
|
-
taskFontSize: 14,
|
|
1661
|
-
taskFontFamily: "\"Open Sans\", sans-serif",
|
|
1662
|
-
taskMargin: 50,
|
|
1663
|
-
activationWidth: 10,
|
|
1664
|
-
textPlacement: "fo",
|
|
1665
|
-
actorColours: [
|
|
1666
|
-
"#8FBC8F",
|
|
1667
|
-
"#7CFC00",
|
|
1668
|
-
"#00FFFF",
|
|
1669
|
-
"#20B2AA",
|
|
1670
|
-
"#B0E0E6",
|
|
1671
|
-
"#FFFFE0"
|
|
1672
|
-
],
|
|
1673
|
-
sectionFills: [
|
|
1674
|
-
"#191970",
|
|
1675
|
-
"#8B008B",
|
|
1676
|
-
"#4B0082",
|
|
1677
|
-
"#2F4F4F",
|
|
1678
|
-
"#800000",
|
|
1679
|
-
"#8B4513",
|
|
1680
|
-
"#00008B"
|
|
1681
|
-
],
|
|
1682
|
-
sectionColours: ["#fff"],
|
|
1683
|
-
titleColor: "",
|
|
1684
|
-
titleFontFamily: "\"trebuchet ms\", verdana, arial, sans-serif",
|
|
1685
|
-
titleFontSize: "4ex"
|
|
1686
|
-
},
|
|
1687
|
-
class: {
|
|
1688
|
-
useMaxWidth: !0,
|
|
1689
|
-
titleTopMargin: 25,
|
|
1690
|
-
arrowMarkerAbsolute: !1,
|
|
1691
|
-
dividerMargin: 10,
|
|
1692
|
-
padding: 5,
|
|
1693
|
-
textHeight: 10,
|
|
1694
|
-
defaultRenderer: "dagre-wrapper",
|
|
1695
|
-
htmlLabels: !1,
|
|
1696
|
-
hideEmptyMembersBox: !1
|
|
1697
|
-
},
|
|
1698
|
-
state: {
|
|
1699
|
-
useMaxWidth: !0,
|
|
1700
|
-
titleTopMargin: 25,
|
|
1701
|
-
dividerMargin: 10,
|
|
1702
|
-
sizeUnit: 5,
|
|
1703
|
-
padding: 8,
|
|
1704
|
-
textHeight: 10,
|
|
1705
|
-
titleShift: -15,
|
|
1706
|
-
noteMargin: 10,
|
|
1707
|
-
forkWidth: 70,
|
|
1708
|
-
forkHeight: 7,
|
|
1709
|
-
miniPadding: 2,
|
|
1710
|
-
fontSizeFactor: 5.02,
|
|
1711
|
-
fontSize: 24,
|
|
1712
|
-
labelHeight: 16,
|
|
1713
|
-
edgeLengthFactor: "20",
|
|
1714
|
-
compositTitleSize: 35,
|
|
1715
|
-
radius: 5,
|
|
1716
|
-
defaultRenderer: "dagre-wrapper"
|
|
1717
|
-
},
|
|
1718
|
-
er: {
|
|
1719
|
-
useMaxWidth: !0,
|
|
1720
|
-
titleTopMargin: 25,
|
|
1721
|
-
diagramPadding: 20,
|
|
1722
|
-
layoutDirection: "TB",
|
|
1723
|
-
minEntityWidth: 100,
|
|
1724
|
-
minEntityHeight: 75,
|
|
1725
|
-
entityPadding: 15,
|
|
1726
|
-
nodeSpacing: 140,
|
|
1727
|
-
rankSpacing: 80,
|
|
1728
|
-
stroke: "gray",
|
|
1729
|
-
fill: "honeydew",
|
|
1730
|
-
fontSize: 12
|
|
1731
|
-
},
|
|
1732
|
-
pie: {
|
|
1733
|
-
useMaxWidth: !0,
|
|
1734
|
-
textPosition: .75
|
|
1735
|
-
},
|
|
1736
|
-
quadrantChart: {
|
|
1737
|
-
useMaxWidth: !0,
|
|
1738
|
-
chartWidth: 500,
|
|
1739
|
-
chartHeight: 500,
|
|
1740
|
-
titleFontSize: 20,
|
|
1741
|
-
titlePadding: 10,
|
|
1742
|
-
quadrantPadding: 5,
|
|
1743
|
-
xAxisLabelPadding: 5,
|
|
1744
|
-
yAxisLabelPadding: 5,
|
|
1745
|
-
xAxisLabelFontSize: 16,
|
|
1746
|
-
yAxisLabelFontSize: 16,
|
|
1747
|
-
quadrantLabelFontSize: 16,
|
|
1748
|
-
quadrantTextTopPadding: 5,
|
|
1749
|
-
pointTextPadding: 5,
|
|
1750
|
-
pointLabelFontSize: 12,
|
|
1751
|
-
pointRadius: 5,
|
|
1752
|
-
xAxisPosition: "top",
|
|
1753
|
-
yAxisPosition: "left",
|
|
1754
|
-
quadrantInternalBorderStrokeWidth: 1,
|
|
1755
|
-
quadrantExternalBorderStrokeWidth: 2
|
|
1756
|
-
},
|
|
1757
|
-
xyChart: {
|
|
1758
|
-
useMaxWidth: !0,
|
|
1759
|
-
width: 700,
|
|
1760
|
-
height: 500,
|
|
1761
|
-
titleFontSize: 20,
|
|
1762
|
-
titlePadding: 10,
|
|
1763
|
-
showDataLabel: !1,
|
|
1764
|
-
showTitle: !0,
|
|
1765
|
-
xAxis: {
|
|
1766
|
-
$ref: "#/$defs/XYChartAxisConfig",
|
|
1767
|
-
showLabel: !0,
|
|
1768
|
-
labelFontSize: 14,
|
|
1769
|
-
labelPadding: 5,
|
|
1770
|
-
showTitle: !0,
|
|
1771
|
-
titleFontSize: 16,
|
|
1772
|
-
titlePadding: 5,
|
|
1773
|
-
showTick: !0,
|
|
1774
|
-
tickLength: 5,
|
|
1775
|
-
tickWidth: 2,
|
|
1776
|
-
showAxisLine: !0,
|
|
1777
|
-
axisLineWidth: 2
|
|
1778
|
-
},
|
|
1779
|
-
yAxis: {
|
|
1780
|
-
$ref: "#/$defs/XYChartAxisConfig",
|
|
1781
|
-
showLabel: !0,
|
|
1782
|
-
labelFontSize: 14,
|
|
1783
|
-
labelPadding: 5,
|
|
1784
|
-
showTitle: !0,
|
|
1785
|
-
titleFontSize: 16,
|
|
1786
|
-
titlePadding: 5,
|
|
1787
|
-
showTick: !0,
|
|
1788
|
-
tickLength: 5,
|
|
1789
|
-
tickWidth: 2,
|
|
1790
|
-
showAxisLine: !0,
|
|
1791
|
-
axisLineWidth: 2
|
|
1792
|
-
},
|
|
1793
|
-
chartOrientation: "vertical",
|
|
1794
|
-
plotReservedSpacePercent: 50
|
|
1795
|
-
},
|
|
1796
|
-
requirement: {
|
|
1797
|
-
useMaxWidth: !0,
|
|
1798
|
-
rect_fill: "#f9f9f9",
|
|
1799
|
-
text_color: "#333",
|
|
1800
|
-
rect_border_size: "0.5px",
|
|
1801
|
-
rect_border_color: "#bbb",
|
|
1802
|
-
rect_min_width: 200,
|
|
1803
|
-
rect_min_height: 200,
|
|
1804
|
-
fontSize: 14,
|
|
1805
|
-
rect_padding: 10,
|
|
1806
|
-
line_height: 20
|
|
1807
|
-
},
|
|
1808
|
-
mindmap: {
|
|
1809
|
-
useMaxWidth: !0,
|
|
1810
|
-
padding: 10,
|
|
1811
|
-
maxNodeWidth: 200,
|
|
1812
|
-
layoutAlgorithm: "cose-bilkent"
|
|
1813
|
-
},
|
|
1814
|
-
ishikawa: {
|
|
1815
|
-
useMaxWidth: !0,
|
|
1816
|
-
diagramPadding: 20
|
|
1817
|
-
},
|
|
1818
|
-
kanban: {
|
|
1819
|
-
useMaxWidth: !0,
|
|
1820
|
-
padding: 8,
|
|
1821
|
-
sectionWidth: 200,
|
|
1822
|
-
ticketBaseUrl: ""
|
|
1823
|
-
},
|
|
1824
|
-
timeline: {
|
|
1825
|
-
useMaxWidth: !0,
|
|
1826
|
-
diagramMarginX: 50,
|
|
1827
|
-
diagramMarginY: 10,
|
|
1828
|
-
leftMargin: 150,
|
|
1829
|
-
width: 150,
|
|
1830
|
-
height: 50,
|
|
1831
|
-
boxMargin: 10,
|
|
1832
|
-
boxTextMargin: 5,
|
|
1833
|
-
noteMargin: 10,
|
|
1834
|
-
messageMargin: 35,
|
|
1835
|
-
messageAlign: "center",
|
|
1836
|
-
bottomMarginAdj: 1,
|
|
1837
|
-
rightAngles: !1,
|
|
1838
|
-
taskFontSize: 14,
|
|
1839
|
-
taskFontFamily: "\"Open Sans\", sans-serif",
|
|
1840
|
-
taskMargin: 50,
|
|
1841
|
-
activationWidth: 10,
|
|
1842
|
-
textPlacement: "fo",
|
|
1843
|
-
actorColours: [
|
|
1844
|
-
"#8FBC8F",
|
|
1845
|
-
"#7CFC00",
|
|
1846
|
-
"#00FFFF",
|
|
1847
|
-
"#20B2AA",
|
|
1848
|
-
"#B0E0E6",
|
|
1849
|
-
"#FFFFE0"
|
|
1850
|
-
],
|
|
1851
|
-
sectionFills: [
|
|
1852
|
-
"#191970",
|
|
1853
|
-
"#8B008B",
|
|
1854
|
-
"#4B0082",
|
|
1855
|
-
"#2F4F4F",
|
|
1856
|
-
"#800000",
|
|
1857
|
-
"#8B4513",
|
|
1858
|
-
"#00008B"
|
|
1859
|
-
],
|
|
1860
|
-
sectionColours: ["#fff"],
|
|
1861
|
-
disableMulticolor: !1
|
|
1862
|
-
},
|
|
1863
|
-
gitGraph: {
|
|
1864
|
-
useMaxWidth: !0,
|
|
1865
|
-
titleTopMargin: 25,
|
|
1866
|
-
diagramPadding: 8,
|
|
1867
|
-
nodeLabel: {
|
|
1868
|
-
width: 75,
|
|
1869
|
-
height: 100,
|
|
1870
|
-
x: -25,
|
|
1871
|
-
y: 0
|
|
1872
|
-
},
|
|
1873
|
-
mainBranchName: "main",
|
|
1874
|
-
mainBranchOrder: 0,
|
|
1875
|
-
showCommitLabel: !0,
|
|
1876
|
-
showBranches: !0,
|
|
1877
|
-
rotateCommitLabel: !0,
|
|
1878
|
-
parallelCommits: !1,
|
|
1879
|
-
arrowMarkerAbsolute: !1
|
|
1880
|
-
},
|
|
1881
|
-
c4: {
|
|
1882
|
-
useMaxWidth: !0,
|
|
1883
|
-
diagramMarginX: 50,
|
|
1884
|
-
diagramMarginY: 10,
|
|
1885
|
-
c4ShapeMargin: 50,
|
|
1886
|
-
c4ShapePadding: 20,
|
|
1887
|
-
width: 216,
|
|
1888
|
-
height: 60,
|
|
1889
|
-
boxMargin: 10,
|
|
1890
|
-
c4ShapeInRow: 4,
|
|
1891
|
-
nextLinePaddingX: 0,
|
|
1892
|
-
c4BoundaryInRow: 2,
|
|
1893
|
-
personFontSize: 14,
|
|
1894
|
-
personFontFamily: "\"Open Sans\", sans-serif",
|
|
1895
|
-
personFontWeight: "normal",
|
|
1896
|
-
external_personFontSize: 14,
|
|
1897
|
-
external_personFontFamily: "\"Open Sans\", sans-serif",
|
|
1898
|
-
external_personFontWeight: "normal",
|
|
1899
|
-
systemFontSize: 14,
|
|
1900
|
-
systemFontFamily: "\"Open Sans\", sans-serif",
|
|
1901
|
-
systemFontWeight: "normal",
|
|
1902
|
-
external_systemFontSize: 14,
|
|
1903
|
-
external_systemFontFamily: "\"Open Sans\", sans-serif",
|
|
1904
|
-
external_systemFontWeight: "normal",
|
|
1905
|
-
system_dbFontSize: 14,
|
|
1906
|
-
system_dbFontFamily: "\"Open Sans\", sans-serif",
|
|
1907
|
-
system_dbFontWeight: "normal",
|
|
1908
|
-
external_system_dbFontSize: 14,
|
|
1909
|
-
external_system_dbFontFamily: "\"Open Sans\", sans-serif",
|
|
1910
|
-
external_system_dbFontWeight: "normal",
|
|
1911
|
-
system_queueFontSize: 14,
|
|
1912
|
-
system_queueFontFamily: "\"Open Sans\", sans-serif",
|
|
1913
|
-
system_queueFontWeight: "normal",
|
|
1914
|
-
external_system_queueFontSize: 14,
|
|
1915
|
-
external_system_queueFontFamily: "\"Open Sans\", sans-serif",
|
|
1916
|
-
external_system_queueFontWeight: "normal",
|
|
1917
|
-
boundaryFontSize: 14,
|
|
1918
|
-
boundaryFontFamily: "\"Open Sans\", sans-serif",
|
|
1919
|
-
boundaryFontWeight: "normal",
|
|
1920
|
-
messageFontSize: 12,
|
|
1921
|
-
messageFontFamily: "\"Open Sans\", sans-serif",
|
|
1922
|
-
messageFontWeight: "normal",
|
|
1923
|
-
containerFontSize: 14,
|
|
1924
|
-
containerFontFamily: "\"Open Sans\", sans-serif",
|
|
1925
|
-
containerFontWeight: "normal",
|
|
1926
|
-
external_containerFontSize: 14,
|
|
1927
|
-
external_containerFontFamily: "\"Open Sans\", sans-serif",
|
|
1928
|
-
external_containerFontWeight: "normal",
|
|
1929
|
-
container_dbFontSize: 14,
|
|
1930
|
-
container_dbFontFamily: "\"Open Sans\", sans-serif",
|
|
1931
|
-
container_dbFontWeight: "normal",
|
|
1932
|
-
external_container_dbFontSize: 14,
|
|
1933
|
-
external_container_dbFontFamily: "\"Open Sans\", sans-serif",
|
|
1934
|
-
external_container_dbFontWeight: "normal",
|
|
1935
|
-
container_queueFontSize: 14,
|
|
1936
|
-
container_queueFontFamily: "\"Open Sans\", sans-serif",
|
|
1937
|
-
container_queueFontWeight: "normal",
|
|
1938
|
-
external_container_queueFontSize: 14,
|
|
1939
|
-
external_container_queueFontFamily: "\"Open Sans\", sans-serif",
|
|
1940
|
-
external_container_queueFontWeight: "normal",
|
|
1941
|
-
componentFontSize: 14,
|
|
1942
|
-
componentFontFamily: "\"Open Sans\", sans-serif",
|
|
1943
|
-
componentFontWeight: "normal",
|
|
1944
|
-
external_componentFontSize: 14,
|
|
1945
|
-
external_componentFontFamily: "\"Open Sans\", sans-serif",
|
|
1946
|
-
external_componentFontWeight: "normal",
|
|
1947
|
-
component_dbFontSize: 14,
|
|
1948
|
-
component_dbFontFamily: "\"Open Sans\", sans-serif",
|
|
1949
|
-
component_dbFontWeight: "normal",
|
|
1950
|
-
external_component_dbFontSize: 14,
|
|
1951
|
-
external_component_dbFontFamily: "\"Open Sans\", sans-serif",
|
|
1952
|
-
external_component_dbFontWeight: "normal",
|
|
1953
|
-
component_queueFontSize: 14,
|
|
1954
|
-
component_queueFontFamily: "\"Open Sans\", sans-serif",
|
|
1955
|
-
component_queueFontWeight: "normal",
|
|
1956
|
-
external_component_queueFontSize: 14,
|
|
1957
|
-
external_component_queueFontFamily: "\"Open Sans\", sans-serif",
|
|
1958
|
-
external_component_queueFontWeight: "normal",
|
|
1959
|
-
wrap: !0,
|
|
1960
|
-
wrapPadding: 10,
|
|
1961
|
-
person_bg_color: "#08427B",
|
|
1962
|
-
person_border_color: "#073B6F",
|
|
1963
|
-
external_person_bg_color: "#686868",
|
|
1964
|
-
external_person_border_color: "#8A8A8A",
|
|
1965
|
-
system_bg_color: "#1168BD",
|
|
1966
|
-
system_border_color: "#3C7FC0",
|
|
1967
|
-
system_db_bg_color: "#1168BD",
|
|
1968
|
-
system_db_border_color: "#3C7FC0",
|
|
1969
|
-
system_queue_bg_color: "#1168BD",
|
|
1970
|
-
system_queue_border_color: "#3C7FC0",
|
|
1971
|
-
external_system_bg_color: "#999999",
|
|
1972
|
-
external_system_border_color: "#8A8A8A",
|
|
1973
|
-
external_system_db_bg_color: "#999999",
|
|
1974
|
-
external_system_db_border_color: "#8A8A8A",
|
|
1975
|
-
external_system_queue_bg_color: "#999999",
|
|
1976
|
-
external_system_queue_border_color: "#8A8A8A",
|
|
1977
|
-
container_bg_color: "#438DD5",
|
|
1978
|
-
container_border_color: "#3C7FC0",
|
|
1979
|
-
container_db_bg_color: "#438DD5",
|
|
1980
|
-
container_db_border_color: "#3C7FC0",
|
|
1981
|
-
container_queue_bg_color: "#438DD5",
|
|
1982
|
-
container_queue_border_color: "#3C7FC0",
|
|
1983
|
-
external_container_bg_color: "#B3B3B3",
|
|
1984
|
-
external_container_border_color: "#A6A6A6",
|
|
1985
|
-
external_container_db_bg_color: "#B3B3B3",
|
|
1986
|
-
external_container_db_border_color: "#A6A6A6",
|
|
1987
|
-
external_container_queue_bg_color: "#B3B3B3",
|
|
1988
|
-
external_container_queue_border_color: "#A6A6A6",
|
|
1989
|
-
component_bg_color: "#85BBF0",
|
|
1990
|
-
component_border_color: "#78A8D8",
|
|
1991
|
-
component_db_bg_color: "#85BBF0",
|
|
1992
|
-
component_db_border_color: "#78A8D8",
|
|
1993
|
-
component_queue_bg_color: "#85BBF0",
|
|
1994
|
-
component_queue_border_color: "#78A8D8",
|
|
1995
|
-
external_component_bg_color: "#CCCCCC",
|
|
1996
|
-
external_component_border_color: "#BFBFBF",
|
|
1997
|
-
external_component_db_bg_color: "#CCCCCC",
|
|
1998
|
-
external_component_db_border_color: "#BFBFBF",
|
|
1999
|
-
external_component_queue_bg_color: "#CCCCCC",
|
|
2000
|
-
external_component_queue_border_color: "#BFBFBF"
|
|
2001
|
-
},
|
|
2002
|
-
sankey: {
|
|
2003
|
-
useMaxWidth: !0,
|
|
2004
|
-
width: 600,
|
|
2005
|
-
height: 400,
|
|
2006
|
-
linkColor: "gradient",
|
|
2007
|
-
nodeAlignment: "justify",
|
|
2008
|
-
showValues: !0,
|
|
2009
|
-
prefix: "",
|
|
2010
|
-
suffix: ""
|
|
2011
|
-
},
|
|
2012
|
-
block: {
|
|
2013
|
-
useMaxWidth: !0,
|
|
2014
|
-
padding: 8
|
|
2015
|
-
},
|
|
2016
|
-
packet: {
|
|
2017
|
-
useMaxWidth: !0,
|
|
2018
|
-
rowHeight: 32,
|
|
2019
|
-
bitWidth: 32,
|
|
2020
|
-
bitsPerRow: 32,
|
|
2021
|
-
showBits: !0,
|
|
2022
|
-
paddingX: 5,
|
|
2023
|
-
paddingY: 5
|
|
2024
|
-
},
|
|
2025
|
-
architecture: {
|
|
2026
|
-
useMaxWidth: !0,
|
|
2027
|
-
padding: 40,
|
|
2028
|
-
iconSize: 80,
|
|
2029
|
-
fontSize: 16
|
|
2030
|
-
},
|
|
2031
|
-
radar: {
|
|
2032
|
-
useMaxWidth: !0,
|
|
2033
|
-
width: 600,
|
|
2034
|
-
height: 600,
|
|
2035
|
-
marginTop: 50,
|
|
2036
|
-
marginRight: 50,
|
|
2037
|
-
marginBottom: 50,
|
|
2038
|
-
marginLeft: 50,
|
|
2039
|
-
axisScaleFactor: 1,
|
|
2040
|
-
axisLabelFactor: 1.05,
|
|
2041
|
-
curveTension: .17
|
|
2042
|
-
},
|
|
2043
|
-
venn: {
|
|
2044
|
-
useMaxWidth: !0,
|
|
2045
|
-
width: 800,
|
|
2046
|
-
height: 450,
|
|
2047
|
-
padding: 8,
|
|
2048
|
-
useDebugLayout: !1
|
|
2049
|
-
},
|
|
2050
|
-
theme: "default",
|
|
2051
|
-
look: "classic",
|
|
2052
|
-
handDrawnSeed: 0,
|
|
2053
|
-
layout: "dagre",
|
|
2054
|
-
maxTextSize: 5e4,
|
|
2055
|
-
maxEdges: 500,
|
|
2056
|
-
darkMode: !1,
|
|
2057
|
-
fontFamily: "\"trebuchet ms\", verdana, arial, sans-serif;",
|
|
2058
|
-
logLevel: 5,
|
|
2059
|
-
securityLevel: "strict",
|
|
2060
|
-
startOnLoad: !0,
|
|
2061
|
-
arrowMarkerAbsolute: !1,
|
|
2062
|
-
secure: [
|
|
2063
|
-
"secure",
|
|
2064
|
-
"securityLevel",
|
|
2065
|
-
"startOnLoad",
|
|
2066
|
-
"maxTextSize",
|
|
2067
|
-
"suppressErrorRendering",
|
|
2068
|
-
"maxEdges"
|
|
2069
|
-
],
|
|
2070
|
-
legacyMathML: !1,
|
|
2071
|
-
forceLegacyMathML: !1,
|
|
2072
|
-
deterministicIds: !1,
|
|
2073
|
-
fontSize: 16,
|
|
2074
|
-
markdownAutoWrap: !0,
|
|
2075
|
-
suppressErrorRendering: !1
|
|
2076
|
-
}, W = {
|
|
2077
|
-
...U,
|
|
2078
|
-
deterministicIDSeed: void 0,
|
|
2079
|
-
elk: {
|
|
2080
|
-
mergeEdges: !1,
|
|
2081
|
-
nodePlacementStrategy: "BRANDES_KOEPF",
|
|
2082
|
-
forceNodeModelOrder: !1,
|
|
2083
|
-
considerModelOrder: "NODES_AND_EDGES"
|
|
2084
|
-
},
|
|
2085
|
-
themeCSS: void 0,
|
|
2086
|
-
themeVariables: H.default.getThemeVariables(),
|
|
2087
|
-
sequence: {
|
|
2088
|
-
...U.sequence,
|
|
2089
|
-
messageFont: /* @__PURE__ */ n(function() {
|
|
2090
|
-
return {
|
|
2091
|
-
fontFamily: this.messageFontFamily,
|
|
2092
|
-
fontSize: this.messageFontSize,
|
|
2093
|
-
fontWeight: this.messageFontWeight
|
|
2094
|
-
};
|
|
2095
|
-
}, "messageFont"),
|
|
2096
|
-
noteFont: /* @__PURE__ */ n(function() {
|
|
2097
|
-
return {
|
|
2098
|
-
fontFamily: this.noteFontFamily,
|
|
2099
|
-
fontSize: this.noteFontSize,
|
|
2100
|
-
fontWeight: this.noteFontWeight
|
|
2101
|
-
};
|
|
2102
|
-
}, "noteFont"),
|
|
2103
|
-
actorFont: /* @__PURE__ */ n(function() {
|
|
2104
|
-
return {
|
|
2105
|
-
fontFamily: this.actorFontFamily,
|
|
2106
|
-
fontSize: this.actorFontSize,
|
|
2107
|
-
fontWeight: this.actorFontWeight
|
|
2108
|
-
};
|
|
2109
|
-
}, "actorFont")
|
|
2110
|
-
},
|
|
2111
|
-
class: { hideEmptyMembersBox: !1 },
|
|
2112
|
-
gantt: {
|
|
2113
|
-
...U.gantt,
|
|
2114
|
-
tickInterval: void 0,
|
|
2115
|
-
useWidth: void 0
|
|
2116
|
-
},
|
|
2117
|
-
c4: {
|
|
2118
|
-
...U.c4,
|
|
2119
|
-
useWidth: void 0,
|
|
2120
|
-
personFont: /* @__PURE__ */ n(function() {
|
|
2121
|
-
return {
|
|
2122
|
-
fontFamily: this.personFontFamily,
|
|
2123
|
-
fontSize: this.personFontSize,
|
|
2124
|
-
fontWeight: this.personFontWeight
|
|
2125
|
-
};
|
|
2126
|
-
}, "personFont"),
|
|
2127
|
-
flowchart: {
|
|
2128
|
-
...U.flowchart,
|
|
2129
|
-
inheritDir: !1
|
|
2130
|
-
},
|
|
2131
|
-
external_personFont: /* @__PURE__ */ n(function() {
|
|
2132
|
-
return {
|
|
2133
|
-
fontFamily: this.external_personFontFamily,
|
|
2134
|
-
fontSize: this.external_personFontSize,
|
|
2135
|
-
fontWeight: this.external_personFontWeight
|
|
2136
|
-
};
|
|
2137
|
-
}, "external_personFont"),
|
|
2138
|
-
systemFont: /* @__PURE__ */ n(function() {
|
|
2139
|
-
return {
|
|
2140
|
-
fontFamily: this.systemFontFamily,
|
|
2141
|
-
fontSize: this.systemFontSize,
|
|
2142
|
-
fontWeight: this.systemFontWeight
|
|
2143
|
-
};
|
|
2144
|
-
}, "systemFont"),
|
|
2145
|
-
external_systemFont: /* @__PURE__ */ n(function() {
|
|
2146
|
-
return {
|
|
2147
|
-
fontFamily: this.external_systemFontFamily,
|
|
2148
|
-
fontSize: this.external_systemFontSize,
|
|
2149
|
-
fontWeight: this.external_systemFontWeight
|
|
2150
|
-
};
|
|
2151
|
-
}, "external_systemFont"),
|
|
2152
|
-
system_dbFont: /* @__PURE__ */ n(function() {
|
|
2153
|
-
return {
|
|
2154
|
-
fontFamily: this.system_dbFontFamily,
|
|
2155
|
-
fontSize: this.system_dbFontSize,
|
|
2156
|
-
fontWeight: this.system_dbFontWeight
|
|
2157
|
-
};
|
|
2158
|
-
}, "system_dbFont"),
|
|
2159
|
-
external_system_dbFont: /* @__PURE__ */ n(function() {
|
|
2160
|
-
return {
|
|
2161
|
-
fontFamily: this.external_system_dbFontFamily,
|
|
2162
|
-
fontSize: this.external_system_dbFontSize,
|
|
2163
|
-
fontWeight: this.external_system_dbFontWeight
|
|
2164
|
-
};
|
|
2165
|
-
}, "external_system_dbFont"),
|
|
2166
|
-
system_queueFont: /* @__PURE__ */ n(function() {
|
|
2167
|
-
return {
|
|
2168
|
-
fontFamily: this.system_queueFontFamily,
|
|
2169
|
-
fontSize: this.system_queueFontSize,
|
|
2170
|
-
fontWeight: this.system_queueFontWeight
|
|
2171
|
-
};
|
|
2172
|
-
}, "system_queueFont"),
|
|
2173
|
-
external_system_queueFont: /* @__PURE__ */ n(function() {
|
|
2174
|
-
return {
|
|
2175
|
-
fontFamily: this.external_system_queueFontFamily,
|
|
2176
|
-
fontSize: this.external_system_queueFontSize,
|
|
2177
|
-
fontWeight: this.external_system_queueFontWeight
|
|
2178
|
-
};
|
|
2179
|
-
}, "external_system_queueFont"),
|
|
2180
|
-
containerFont: /* @__PURE__ */ n(function() {
|
|
2181
|
-
return {
|
|
2182
|
-
fontFamily: this.containerFontFamily,
|
|
2183
|
-
fontSize: this.containerFontSize,
|
|
2184
|
-
fontWeight: this.containerFontWeight
|
|
2185
|
-
};
|
|
2186
|
-
}, "containerFont"),
|
|
2187
|
-
external_containerFont: /* @__PURE__ */ n(function() {
|
|
2188
|
-
return {
|
|
2189
|
-
fontFamily: this.external_containerFontFamily,
|
|
2190
|
-
fontSize: this.external_containerFontSize,
|
|
2191
|
-
fontWeight: this.external_containerFontWeight
|
|
2192
|
-
};
|
|
2193
|
-
}, "external_containerFont"),
|
|
2194
|
-
container_dbFont: /* @__PURE__ */ n(function() {
|
|
2195
|
-
return {
|
|
2196
|
-
fontFamily: this.container_dbFontFamily,
|
|
2197
|
-
fontSize: this.container_dbFontSize,
|
|
2198
|
-
fontWeight: this.container_dbFontWeight
|
|
2199
|
-
};
|
|
2200
|
-
}, "container_dbFont"),
|
|
2201
|
-
external_container_dbFont: /* @__PURE__ */ n(function() {
|
|
2202
|
-
return {
|
|
2203
|
-
fontFamily: this.external_container_dbFontFamily,
|
|
2204
|
-
fontSize: this.external_container_dbFontSize,
|
|
2205
|
-
fontWeight: this.external_container_dbFontWeight
|
|
2206
|
-
};
|
|
2207
|
-
}, "external_container_dbFont"),
|
|
2208
|
-
container_queueFont: /* @__PURE__ */ n(function() {
|
|
2209
|
-
return {
|
|
2210
|
-
fontFamily: this.container_queueFontFamily,
|
|
2211
|
-
fontSize: this.container_queueFontSize,
|
|
2212
|
-
fontWeight: this.container_queueFontWeight
|
|
2213
|
-
};
|
|
2214
|
-
}, "container_queueFont"),
|
|
2215
|
-
external_container_queueFont: /* @__PURE__ */ n(function() {
|
|
2216
|
-
return {
|
|
2217
|
-
fontFamily: this.external_container_queueFontFamily,
|
|
2218
|
-
fontSize: this.external_container_queueFontSize,
|
|
2219
|
-
fontWeight: this.external_container_queueFontWeight
|
|
2220
|
-
};
|
|
2221
|
-
}, "external_container_queueFont"),
|
|
2222
|
-
componentFont: /* @__PURE__ */ n(function() {
|
|
2223
|
-
return {
|
|
2224
|
-
fontFamily: this.componentFontFamily,
|
|
2225
|
-
fontSize: this.componentFontSize,
|
|
2226
|
-
fontWeight: this.componentFontWeight
|
|
2227
|
-
};
|
|
2228
|
-
}, "componentFont"),
|
|
2229
|
-
external_componentFont: /* @__PURE__ */ n(function() {
|
|
2230
|
-
return {
|
|
2231
|
-
fontFamily: this.external_componentFontFamily,
|
|
2232
|
-
fontSize: this.external_componentFontSize,
|
|
2233
|
-
fontWeight: this.external_componentFontWeight
|
|
2234
|
-
};
|
|
2235
|
-
}, "external_componentFont"),
|
|
2236
|
-
component_dbFont: /* @__PURE__ */ n(function() {
|
|
2237
|
-
return {
|
|
2238
|
-
fontFamily: this.component_dbFontFamily,
|
|
2239
|
-
fontSize: this.component_dbFontSize,
|
|
2240
|
-
fontWeight: this.component_dbFontWeight
|
|
2241
|
-
};
|
|
2242
|
-
}, "component_dbFont"),
|
|
2243
|
-
external_component_dbFont: /* @__PURE__ */ n(function() {
|
|
2244
|
-
return {
|
|
2245
|
-
fontFamily: this.external_component_dbFontFamily,
|
|
2246
|
-
fontSize: this.external_component_dbFontSize,
|
|
2247
|
-
fontWeight: this.external_component_dbFontWeight
|
|
2248
|
-
};
|
|
2249
|
-
}, "external_component_dbFont"),
|
|
2250
|
-
component_queueFont: /* @__PURE__ */ n(function() {
|
|
2251
|
-
return {
|
|
2252
|
-
fontFamily: this.component_queueFontFamily,
|
|
2253
|
-
fontSize: this.component_queueFontSize,
|
|
2254
|
-
fontWeight: this.component_queueFontWeight
|
|
2255
|
-
};
|
|
2256
|
-
}, "component_queueFont"),
|
|
2257
|
-
external_component_queueFont: /* @__PURE__ */ n(function() {
|
|
2258
|
-
return {
|
|
2259
|
-
fontFamily: this.external_component_queueFontFamily,
|
|
2260
|
-
fontSize: this.external_component_queueFontSize,
|
|
2261
|
-
fontWeight: this.external_component_queueFontWeight
|
|
2262
|
-
};
|
|
2263
|
-
}, "external_component_queueFont"),
|
|
2264
|
-
boundaryFont: /* @__PURE__ */ n(function() {
|
|
2265
|
-
return {
|
|
2266
|
-
fontFamily: this.boundaryFontFamily,
|
|
2267
|
-
fontSize: this.boundaryFontSize,
|
|
2268
|
-
fontWeight: this.boundaryFontWeight
|
|
2269
|
-
};
|
|
2270
|
-
}, "boundaryFont"),
|
|
2271
|
-
messageFont: /* @__PURE__ */ n(function() {
|
|
2272
|
-
return {
|
|
2273
|
-
fontFamily: this.messageFontFamily,
|
|
2274
|
-
fontSize: this.messageFontSize,
|
|
2275
|
-
fontWeight: this.messageFontWeight
|
|
2276
|
-
};
|
|
2277
|
-
}, "messageFont")
|
|
2278
|
-
},
|
|
2279
|
-
pie: {
|
|
2280
|
-
...U.pie,
|
|
2281
|
-
useWidth: 984
|
|
2282
|
-
},
|
|
2283
|
-
xyChart: {
|
|
2284
|
-
...U.xyChart,
|
|
2285
|
-
useWidth: void 0
|
|
2286
|
-
},
|
|
2287
|
-
requirement: {
|
|
2288
|
-
...U.requirement,
|
|
2289
|
-
useWidth: void 0
|
|
2290
|
-
},
|
|
2291
|
-
packet: { ...U.packet },
|
|
2292
|
-
radar: { ...U.radar },
|
|
2293
|
-
ishikawa: { ...U.ishikawa },
|
|
2294
|
-
treemap: {
|
|
2295
|
-
useMaxWidth: !0,
|
|
2296
|
-
padding: 10,
|
|
2297
|
-
diagramPadding: 8,
|
|
2298
|
-
showValues: !0,
|
|
2299
|
-
nodeWidth: 100,
|
|
2300
|
-
nodeHeight: 40,
|
|
2301
|
-
borderWidth: 1,
|
|
2302
|
-
valueFontSize: 12,
|
|
2303
|
-
labelFontSize: 14,
|
|
2304
|
-
valueFormat: ","
|
|
2305
|
-
},
|
|
2306
|
-
venn: { ...U.venn }
|
|
2307
|
-
}, G = /* @__PURE__ */ n((e, t = "") => Object.keys(e).reduce((n, r) => Array.isArray(e[r]) ? n : typeof e[r] == "object" && e[r] !== null ? [
|
|
2308
|
-
...n,
|
|
2309
|
-
t + r,
|
|
2310
|
-
...G(e[r], "")
|
|
2311
|
-
] : [...n, t + r], []), "keyify"), dt = new Set(G(W, "")), ft = W, pt = /* @__PURE__ */ n((e) => {
|
|
2312
|
-
if (t.debug("sanitizeDirective called with", e), !(typeof e != "object" || !e)) {
|
|
2313
|
-
if (Array.isArray(e)) {
|
|
2314
|
-
e.forEach((e) => pt(e));
|
|
2315
|
-
return;
|
|
2316
|
-
}
|
|
2317
|
-
for (let n of Object.keys(e)) {
|
|
2318
|
-
if (t.debug("Checking key", n), n.startsWith("__") || n.includes("proto") || n.includes("constr") || !dt.has(n) || e[n] == null) {
|
|
2319
|
-
t.debug("sanitize deleting key: ", n), delete e[n];
|
|
2320
|
-
continue;
|
|
2321
|
-
}
|
|
2322
|
-
if (typeof e[n] == "object") {
|
|
2323
|
-
t.debug("sanitizing object", n), pt(e[n]);
|
|
2324
|
-
continue;
|
|
2325
|
-
}
|
|
2326
|
-
for (let r of [
|
|
2327
|
-
"themeCSS",
|
|
2328
|
-
"fontFamily",
|
|
2329
|
-
"altFontFamily"
|
|
2330
|
-
]) n.includes(r) && (t.debug("sanitizing css option", n), e[n] = mt(e[n]));
|
|
2331
|
-
}
|
|
2332
|
-
if (e.themeVariables) for (let t of Object.keys(e.themeVariables)) {
|
|
2333
|
-
let n = e.themeVariables[t];
|
|
2334
|
-
n?.match && !n.match(/^[\d "#%(),.;A-Za-z]+$/) && (e.themeVariables[t] = "");
|
|
2335
|
-
}
|
|
2336
|
-
t.debug("After sanitization", e);
|
|
2337
|
-
}
|
|
2338
|
-
}, "sanitizeDirective"), mt = /* @__PURE__ */ n((e) => {
|
|
2339
|
-
let t = 0, n = 0;
|
|
2340
|
-
for (let r of e) {
|
|
2341
|
-
if (t < n) return "{ /* ERROR: Unbalanced CSS */ }";
|
|
2342
|
-
r === "{" ? t++ : r === "}" && n++;
|
|
2343
|
-
}
|
|
2344
|
-
return t === n ? e : "{ /* ERROR: Unbalanced CSS */ }";
|
|
2345
|
-
}, "sanitizeCss"), K = Object.freeze(ft), ht = /* @__PURE__ */ n((e) => !(e === !1 || [
|
|
2346
|
-
"false",
|
|
2347
|
-
"null",
|
|
2348
|
-
"0"
|
|
2349
|
-
].includes(String(e).trim().toLowerCase())), "evaluate"), q = L({}, K), gt, J = [], Y = L({}, K), _t = /* @__PURE__ */ n((e, t) => {
|
|
2350
|
-
let n = L({}, e), r = {};
|
|
2351
|
-
for (let e of t) Z(e), r = L(r, e);
|
|
2352
|
-
if (n = L(n, r), r.theme && r.theme in H) {
|
|
2353
|
-
let e = L(L({}, gt).themeVariables || {}, r.themeVariables);
|
|
2354
|
-
n.theme && n.theme in H && (n.themeVariables = H[n.theme].getThemeVariables(e));
|
|
2355
|
-
}
|
|
2356
|
-
return Y = n, Dt(Y), Y;
|
|
2357
|
-
}, "updateCurrentConfig"), vt = /* @__PURE__ */ n((e) => (q = L({}, K), q = L(q, e), e.theme && H[e.theme] && (q.themeVariables = H[e.theme].getThemeVariables(e.themeVariables)), _t(q, J), q), "setSiteConfig"), yt = /* @__PURE__ */ n((e) => {
|
|
2358
|
-
gt = L({}, e);
|
|
2359
|
-
}, "saveConfigFromInitialize"), bt = /* @__PURE__ */ n((e) => (q = L(q, e), _t(q, J), q), "updateSiteConfig"), xt = /* @__PURE__ */ n(() => L({}, q), "getSiteConfig"), St = /* @__PURE__ */ n((e) => (Dt(e), L(Y, e), X()), "setConfig"), X = /* @__PURE__ */ n(() => L({}, Y), "getConfig"), Z = /* @__PURE__ */ n((e) => {
|
|
2360
|
-
e && (["secure", ...q.secure ?? []].forEach((n) => {
|
|
2361
|
-
Object.hasOwn(e, n) && (t.debug(`Denied attempt to modify a secure key ${n}`, e[n]), delete e[n]);
|
|
2362
|
-
}), Object.keys(e).forEach((t) => {
|
|
2363
|
-
t.startsWith("__") && delete e[t];
|
|
2364
|
-
}), Object.keys(e).forEach((t) => {
|
|
2365
|
-
typeof e[t] == "string" && (e[t].includes("<") || e[t].includes(">") || e[t].includes("url(data:")) && delete e[t], typeof e[t] == "object" && Z(e[t]);
|
|
2366
|
-
}));
|
|
2367
|
-
}, "sanitize"), Ct = /* @__PURE__ */ n((e) => {
|
|
2368
|
-
pt(e), e.fontFamily && !e.themeVariables?.fontFamily && (e.themeVariables = {
|
|
2369
|
-
...e.themeVariables,
|
|
2370
|
-
fontFamily: e.fontFamily
|
|
2371
|
-
}), J.push(e), _t(q, J);
|
|
2372
|
-
}, "addDirective"), wt = /* @__PURE__ */ n((e = q) => {
|
|
2373
|
-
J = [], _t(e, J);
|
|
2374
|
-
}, "reset"), Tt = {
|
|
2375
|
-
LAZY_LOAD_DEPRECATED: "The configuration options lazyLoadedDiagrams and loadExternalDiagramsAtStartup are deprecated. Please use registerExternalDiagrams instead.",
|
|
2376
|
-
FLOWCHART_HTML_LABELS_DEPRECATED: "flowchart.htmlLabels is deprecated. Please use global htmlLabels instead."
|
|
2377
|
-
}, Et = {}, Q = /* @__PURE__ */ n((e) => {
|
|
2378
|
-
Et[e] || (t.warn(Tt[e]), Et[e] = !0);
|
|
2379
|
-
}, "issueWarning"), Dt = /* @__PURE__ */ n((e) => {
|
|
2380
|
-
e && (e.lazyLoadedDiagrams || e.loadExternalDiagramsAtStartup) && Q("LAZY_LOAD_DEPRECATED");
|
|
2381
|
-
}, "checkConfig"), Ot = /* @__PURE__ */ n(() => {
|
|
2382
|
-
let e = {};
|
|
2383
|
-
gt && (e = L(e, gt));
|
|
2384
|
-
for (let t of J) e = L(e, t);
|
|
2385
|
-
return e;
|
|
2386
|
-
}, "getUserDefinedConfig"), kt = /* @__PURE__ */ n((e) => (e.flowchart?.htmlLabels != null && Q("FLOWCHART_HTML_LABELS_DEPRECATED"), ht(e.htmlLabels ?? e.flowchart?.htmlLabels ?? !0)), "getEffectiveHtmlLabels"), $ = /<br\s*\/?>/gi, At = /* @__PURE__ */ n((e) => e ? Bt(e).replace(/\\n/g, "#br#").split("#br#") : [""], "getRows"), jt = /* @__PURE__ */ (() => {
|
|
2387
|
-
let e = !1;
|
|
2388
|
-
return () => {
|
|
2389
|
-
e ||= (Mt(), !0);
|
|
2390
|
-
};
|
|
2391
|
-
})();
|
|
2392
|
-
function Mt() {
|
|
2393
|
-
let e = "data-temp-href-target";
|
|
2394
|
-
N.addHook("beforeSanitizeAttributes", (t) => {
|
|
2395
|
-
t.tagName === "A" && t.hasAttribute("target") && t.setAttribute(e, t.getAttribute("target") ?? "");
|
|
2396
|
-
}), N.addHook("afterSanitizeAttributes", (t) => {
|
|
2397
|
-
t.tagName === "A" && t.hasAttribute(e) && (t.setAttribute("target", t.getAttribute(e) ?? ""), t.removeAttribute(e), t.getAttribute("target") === "_blank" && t.setAttribute("rel", "noopener"));
|
|
2398
|
-
});
|
|
2399
|
-
}
|
|
2400
|
-
n(Mt, "setupDompurifyHooks");
|
|
2401
|
-
var Nt = /* @__PURE__ */ n((e) => (jt(), N.sanitize(e)), "removeScript"), Pt = /* @__PURE__ */ n((e, t) => {
|
|
2402
|
-
if (kt(t)) {
|
|
2403
|
-
let n = t.securityLevel;
|
|
2404
|
-
n === "antiscript" || n === "strict" || n === "sandbox" ? e = Nt(e) : n !== "loose" && (e = Bt(e), e = e.replace(/</g, "<").replace(/>/g, ">"), e = e.replace(/=/g, "="), e = zt(e));
|
|
2405
|
-
}
|
|
2406
|
-
return e;
|
|
2407
|
-
}, "sanitizeMore"), Ft = /* @__PURE__ */ n((e, t) => e && (e = t.dompurifyConfig ? N.sanitize(Pt(e, t), t.dompurifyConfig).toString() : N.sanitize(Pt(e, t), { FORBID_TAGS: ["style"] }).toString(), e), "sanitizeText"), It = /* @__PURE__ */ n((e, t) => typeof e == "string" ? Ft(e, t) : e.flat().map((e) => Ft(e, t)), "sanitizeTextOrArray"), Lt = /* @__PURE__ */ n((e) => $.test(e), "hasBreaks"), Rt = /* @__PURE__ */ n((e) => e.split($), "splitBreaks"), zt = /* @__PURE__ */ n((e) => e.replace(/#br#/g, "<br/>"), "placeholderToBreak"), Bt = /* @__PURE__ */ n((e) => e.replace($, "#br#"), "breakToPlaceholder"), Vt = /* @__PURE__ */ n((e) => {
|
|
2408
|
-
let t = "";
|
|
2409
|
-
return e && (t = window.location.protocol + "//" + window.location.host + window.location.pathname + window.location.search, t = CSS.escape(t)), t;
|
|
2410
|
-
}, "getUrl"), Ht = /* @__PURE__ */ n(function(...e) {
|
|
2411
|
-
let t = e.filter((e) => !isNaN(e));
|
|
2412
|
-
return Math.max(...t);
|
|
2413
|
-
}, "getMax"), Ut = /* @__PURE__ */ n(function(...e) {
|
|
2414
|
-
let t = e.filter((e) => !isNaN(e));
|
|
2415
|
-
return Math.min(...t);
|
|
2416
|
-
}, "getMin"), Wt = /* @__PURE__ */ n(function(e) {
|
|
2417
|
-
let t = e.split(/(,)/), n = [];
|
|
2418
|
-
for (let e = 0; e < t.length; e++) {
|
|
2419
|
-
let r = t[e];
|
|
2420
|
-
if (r === "," && e > 0 && e + 1 < t.length) {
|
|
2421
|
-
let i = t[e - 1], a = t[e + 1];
|
|
2422
|
-
Kt(i, a) && (r = i + "," + a, e++, n.pop());
|
|
2423
|
-
}
|
|
2424
|
-
n.push(qt(r));
|
|
2425
|
-
}
|
|
2426
|
-
return n.join("");
|
|
2427
|
-
}, "parseGenericTypes"), Gt = /* @__PURE__ */ n((e, t) => Math.max(0, e.split(t).length - 1), "countOccurrence"), Kt = /* @__PURE__ */ n((e, t) => {
|
|
2428
|
-
let n = Gt(e, "~"), r = Gt(t, "~");
|
|
2429
|
-
return n === 1 && r === 1;
|
|
2430
|
-
}, "shouldCombineSets"), qt = /* @__PURE__ */ n((e) => {
|
|
2431
|
-
let t = Gt(e, "~"), n = !1;
|
|
2432
|
-
if (t <= 1) return e;
|
|
2433
|
-
t % 2 != 0 && e.startsWith("~") && (e = e.substring(1), n = !0);
|
|
2434
|
-
let r = [...e], i = r.indexOf("~"), a = r.lastIndexOf("~");
|
|
2435
|
-
for (; i !== -1 && a !== -1 && i !== a;) r[i] = "<", r[a] = ">", i = r.indexOf("~"), a = r.lastIndexOf("~");
|
|
2436
|
-
return n && r.unshift("~"), r.join("");
|
|
2437
|
-
}, "processSet"), Jt = /* @__PURE__ */ n(() => window.MathMLElement !== void 0, "isMathMLSupported"), Yt = /\$\$(.*)\$\$/g, Xt = /* @__PURE__ */ n((e) => (e.match(Yt)?.length ?? 0) > 0, "hasKatex"), Zt = /* @__PURE__ */ n(async (e, t) => {
|
|
2438
|
-
let n = document.createElement("div");
|
|
2439
|
-
n.innerHTML = await $t(e, t), n.id = "katex-temp", n.style.visibility = "hidden", n.style.position = "absolute", n.style.top = "0", document.querySelector("body")?.insertAdjacentElement("beforeend", n);
|
|
2440
|
-
let r = {
|
|
2441
|
-
width: n.clientWidth,
|
|
2442
|
-
height: n.clientHeight
|
|
2443
|
-
};
|
|
2444
|
-
return n.remove(), r;
|
|
2445
|
-
}, "calculateMathMLDimensions"), Qt = /* @__PURE__ */ n(async (e, t) => {
|
|
2446
|
-
if (!Xt(e)) return e;
|
|
2447
|
-
if (!(Jt() || t.legacyMathML || t.forceLegacyMathML)) return e.replace(Yt, "MathML is unsupported in this environment.");
|
|
2448
|
-
{
|
|
2449
|
-
let { default: n } = await import("./katex-B-Nju2J8.js"), r = t.forceLegacyMathML || !Jt() && t.legacyMathML ? "htmlAndMathml" : "mathml";
|
|
2450
|
-
return e.split($).map((e) => Xt(e) ? `<div style="display: flex; align-items: center; justify-content: center; white-space: nowrap;">${e}</div>` : `<div>${e}</div>`).join("").replace(Yt, (e, t) => n.renderToString(t, {
|
|
2451
|
-
throwOnError: !0,
|
|
2452
|
-
displayMode: !0,
|
|
2453
|
-
output: r
|
|
2454
|
-
}).replace(/\n/g, " ").replace(/<annotation.*<\/annotation>/g, ""));
|
|
2455
|
-
}
|
|
2456
|
-
return e.replace(Yt, "Katex is not supported in @mermaid-js/tiny. Please use the full mermaid library.");
|
|
2457
|
-
}, "renderKatexUnsanitized"), $t = /* @__PURE__ */ n(async (e, t) => Ft(await Qt(e, t), t), "renderKatexSanitized"), en = {
|
|
2458
|
-
getRows: At,
|
|
2459
|
-
sanitizeText: Ft,
|
|
2460
|
-
sanitizeTextOrArray: It,
|
|
2461
|
-
hasBreaks: Lt,
|
|
2462
|
-
splitBreaks: Rt,
|
|
2463
|
-
lineBreakRegex: $,
|
|
2464
|
-
removeScript: Nt,
|
|
2465
|
-
getUrl: Vt,
|
|
2466
|
-
evaluate: ht,
|
|
2467
|
-
getMax: Ht,
|
|
2468
|
-
getMin: Ut
|
|
2469
|
-
}, tn = /* @__PURE__ */ n(function(e, t) {
|
|
2470
|
-
for (let n of t) e.attr(n[0], n[1]);
|
|
2471
|
-
}, "d3Attrs"), nn = /* @__PURE__ */ n(function(e, t, n) {
|
|
2472
|
-
let r = /* @__PURE__ */ new Map();
|
|
2473
|
-
return n ? (r.set("width", "100%"), r.set("style", `max-width: ${t}px;`)) : (r.set("height", e), r.set("width", t)), r;
|
|
2474
|
-
}, "calculateSvgSizeAttrs"), rn = /* @__PURE__ */ n(function(e, t, n, r) {
|
|
2475
|
-
tn(e, nn(t, n, r));
|
|
2476
|
-
}, "configureSvgSize"), an = /* @__PURE__ */ n(function(e, n, r, i) {
|
|
2477
|
-
let a = n.node().getBBox(), o = a.width, s = a.height;
|
|
2478
|
-
t.info(`SVG bounds: ${o}x${s}`, a);
|
|
2479
|
-
let c = 0, l = 0;
|
|
2480
|
-
t.info(`Graph bounds: ${c}x${l}`, e), c = o + r * 2, l = s + r * 2, t.info(`Calculated bounds: ${c}x${l}`), rn(n, l, c, i);
|
|
2481
|
-
let u = `${a.x - r} ${a.y - r} ${a.width + 2 * r} ${a.height + 2 * r}`;
|
|
2482
|
-
n.attr("viewBox", u);
|
|
2483
|
-
}, "setupGraphViewbox"), on = {}, sn = /* @__PURE__ */ n((e, n, r) => {
|
|
2484
|
-
let i = "";
|
|
2485
|
-
return e in on && on[e] ? i = on[e](r) : t.warn(`No theme found for ${e}`), ` & {
|
|
2486
|
-
font-family: ${r.fontFamily};
|
|
2487
|
-
font-size: ${r.fontSize};
|
|
2488
|
-
fill: ${r.textColor}
|
|
2489
|
-
}
|
|
2490
|
-
@keyframes edge-animation-frame {
|
|
2491
|
-
from {
|
|
2492
|
-
stroke-dashoffset: 0;
|
|
2493
|
-
}
|
|
2494
|
-
}
|
|
2495
|
-
@keyframes dash {
|
|
2496
|
-
to {
|
|
2497
|
-
stroke-dashoffset: 0;
|
|
2498
|
-
}
|
|
2499
|
-
}
|
|
2500
|
-
& .edge-animation-slow {
|
|
2501
|
-
stroke-dasharray: 9,5 !important;
|
|
2502
|
-
stroke-dashoffset: 900;
|
|
2503
|
-
animation: dash 50s linear infinite;
|
|
2504
|
-
stroke-linecap: round;
|
|
2505
|
-
}
|
|
2506
|
-
& .edge-animation-fast {
|
|
2507
|
-
stroke-dasharray: 9,5 !important;
|
|
2508
|
-
stroke-dashoffset: 900;
|
|
2509
|
-
animation: dash 20s linear infinite;
|
|
2510
|
-
stroke-linecap: round;
|
|
2511
|
-
}
|
|
2512
|
-
/* Classes common for multiple diagrams */
|
|
2513
|
-
|
|
2514
|
-
& .error-icon {
|
|
2515
|
-
fill: ${r.errorBkgColor};
|
|
2516
|
-
}
|
|
2517
|
-
& .error-text {
|
|
2518
|
-
fill: ${r.errorTextColor};
|
|
2519
|
-
stroke: ${r.errorTextColor};
|
|
2520
|
-
}
|
|
2521
|
-
|
|
2522
|
-
& .edge-thickness-normal {
|
|
2523
|
-
stroke-width: 1px;
|
|
2524
|
-
}
|
|
2525
|
-
& .edge-thickness-thick {
|
|
2526
|
-
stroke-width: 3.5px
|
|
2527
|
-
}
|
|
2528
|
-
& .edge-pattern-solid {
|
|
2529
|
-
stroke-dasharray: 0;
|
|
2530
|
-
}
|
|
2531
|
-
& .edge-thickness-invisible {
|
|
2532
|
-
stroke-width: 0;
|
|
2533
|
-
fill: none;
|
|
2534
|
-
}
|
|
2535
|
-
& .edge-pattern-dashed{
|
|
2536
|
-
stroke-dasharray: 3;
|
|
2537
|
-
}
|
|
2538
|
-
.edge-pattern-dotted {
|
|
2539
|
-
stroke-dasharray: 2;
|
|
2540
|
-
}
|
|
2541
|
-
|
|
2542
|
-
& .marker {
|
|
2543
|
-
fill: ${r.lineColor};
|
|
2544
|
-
stroke: ${r.lineColor};
|
|
2545
|
-
}
|
|
2546
|
-
& .marker.cross {
|
|
2547
|
-
stroke: ${r.lineColor};
|
|
2548
|
-
}
|
|
2549
|
-
|
|
2550
|
-
& svg {
|
|
2551
|
-
font-family: ${r.fontFamily};
|
|
2552
|
-
font-size: ${r.fontSize};
|
|
2553
|
-
}
|
|
2554
|
-
& p {
|
|
2555
|
-
margin: 0
|
|
2556
|
-
}
|
|
2557
|
-
|
|
2558
|
-
${i}
|
|
2559
|
-
|
|
2560
|
-
${n}
|
|
2561
|
-
`;
|
|
2562
|
-
}, "getStyles"), cn = /* @__PURE__ */ n((e, t) => {
|
|
2563
|
-
t !== void 0 && (on[e] = t);
|
|
2564
|
-
}, "addStylesForDiagram"), ln = sn, un = {};
|
|
2565
|
-
r(un, {
|
|
2566
|
-
clear: () => hn,
|
|
2567
|
-
getAccDescription: () => yn,
|
|
2568
|
-
getAccTitle: () => _n,
|
|
2569
|
-
getDiagramTitle: () => xn,
|
|
2570
|
-
setAccDescription: () => vn,
|
|
2571
|
-
setAccTitle: () => gn,
|
|
2572
|
-
setDiagramTitle: () => bn
|
|
2573
|
-
});
|
|
2574
|
-
var dn = "", fn = "", pn = "", mn = /* @__PURE__ */ n((e) => Ft(e, X()), "sanitizeText"), hn = /* @__PURE__ */ n(() => {
|
|
2575
|
-
dn = "", pn = "", fn = "";
|
|
2576
|
-
}, "clear"), gn = /* @__PURE__ */ n((e) => {
|
|
2577
|
-
dn = mn(e).replace(/^\s+/g, "");
|
|
2578
|
-
}, "setAccTitle"), _n = /* @__PURE__ */ n(() => dn, "getAccTitle"), vn = /* @__PURE__ */ n((e) => {
|
|
2579
|
-
pn = mn(e).replace(/\n\s+/g, "\n");
|
|
2580
|
-
}, "setAccDescription"), yn = /* @__PURE__ */ n(() => pn, "getAccDescription"), bn = /* @__PURE__ */ n((e) => {
|
|
2581
|
-
fn = mn(e);
|
|
2582
|
-
}, "setDiagramTitle"), xn = /* @__PURE__ */ n(() => fn, "getDiagramTitle"), Sn = t, Cn = e, wn = X, Tn = St, En = K, Dn = /* @__PURE__ */ n((e) => Ft(e, wn()), "sanitizeText"), On = an, kn = /* @__PURE__ */ n(() => un, "getCommonDb"), An = {}, jn = /* @__PURE__ */ n((e, t, n) => {
|
|
2583
|
-
An[e] && Sn.warn(`Diagram with id ${e} already registered. Overwriting.`), An[e] = t, n && tt(e, n), cn(e, t.styles), t.injectUtils?.(Sn, Cn, wn, Dn, On, kn(), () => {});
|
|
2584
|
-
}, "registerDiagram"), Mn = /* @__PURE__ */ n((e) => {
|
|
2585
|
-
if (e in An) return An[e];
|
|
2586
|
-
throw new Nn(e);
|
|
2587
|
-
}, "getDiagram"), Nn = class extends Error {
|
|
2588
|
-
static {
|
|
2589
|
-
n(this, "DiagramNotFoundError");
|
|
2590
|
-
}
|
|
2591
|
-
constructor(e) {
|
|
2592
|
-
super(`Diagram ${e} not found.`);
|
|
2593
|
-
}
|
|
2594
|
-
};
|
|
2595
|
-
//#endregion
|
|
2596
|
-
export { v as $, $ as A, vn as B, xn as C, Vt as D, st as E, wt as F, vt as G, St as H, pt as I, ln as J, an as K, Ft as L, jn as M, F as N, Ot as O, $t as P, y as Q, Dn as R, nt as S, xt as T, Tn as U, gn as V, bn as W, bt as X, H as Y, N as Z, yn as _, hn as a, wn as b, rn as c, ft as d, _ as et, et as f, Xe as g, ht as h, Zt as i, a as it, Wt as j, Xt as k, K as l, Ze as m, Ct as n, ee as nt, un as o, P as p, On as q, L as r, m as rt, en as s, $e as t, g as tt, En as u, _n as v, kt as w, Mn as x, X as y, yt as z };
|
|
2597
|
-
|
|
2598
|
-
//# sourceMappingURL=chunk-7R4GIKGN-CaQJ0QBF.js.map
|