@sme.up/ketchup2 2.2.0 → 2.3.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/{arc-Klgb378K.js → arc-D80gVCcI.js} +2 -2
- package/dist/{arc-CqG9Hxdf.cjs → arc-MUYNnJxV.cjs} +1 -1
- package/dist/architecture-7EHR7CIX-Bnyu5zgG.js +3 -0
- package/dist/architecture-7EHR7CIX-CKF7-4kH.cjs +1 -0
- package/dist/architectureDiagram-3BPJPVTR-BrmPrClJ.cjs +36 -0
- package/dist/{architectureDiagram-Q4EWVU46-CnzjcVBn.js → architectureDiagram-3BPJPVTR-EFK4DMha.js} +167 -166
- package/dist/basic-components/cell/cell-utils.d.ts +2 -1
- package/dist/basic-components/cell/cell-utils.d.ts.map +1 -1
- package/dist/basic-components/cell/cell.d.ts.map +1 -1
- package/dist/basic-components/icon/icon.d.ts.map +1 -1
- package/dist/basic-components/input-number/input-number.d.ts.map +1 -1
- package/dist/basic-components/text-editor/text-editor-utils.d.ts +11 -0
- package/dist/basic-components/text-editor/text-editor-utils.d.ts.map +1 -1
- package/dist/basic-components/text-editor/text-editor.d.ts.map +1 -1
- package/dist/basic-components/textarea/textarea-types.d.ts +2 -2
- package/dist/basic-components/textarea/textarea-types.d.ts.map +1 -1
- package/dist/basic-components/textarea/textarea.d.ts.map +1 -1
- package/dist/basic-components/textfield/textfield.d.ts.map +1 -1
- package/dist/{blockDiagram-DXYQGD6D-B0NvV2Ph.js → blockDiagram-GPEHLZMM-C3UgY0Z5.js} +999 -877
- package/dist/blockDiagram-GPEHLZMM-CuzoKhJT.cjs +132 -0
- package/dist/{c4Diagram-AHTNJAMY-Dgwv-e5O.cjs → c4Diagram-AAUBKEIU-DU8uXbgK.cjs} +6 -6
- package/dist/{c4Diagram-AHTNJAMY-DPijI3_r.js → c4Diagram-AAUBKEIU-klnmEOUo.js} +279 -279
- package/dist/channel-BbRDdbmM.js +5 -0
- package/dist/channel-intTktDQ.cjs +1 -0
- package/dist/chunk-2J33WTMH-EmvF7iYC.js +25 -0
- package/dist/chunk-2J33WTMH-PlcpVW8G.cjs +1 -0
- package/dist/{chunk-5FUZZQ4R-D3C0F0Tr.js → chunk-3OPIFGDE-C7wE5oN7.js} +957 -929
- package/dist/chunk-3OPIFGDE-CT5oNC5X.cjs +62 -0
- package/dist/{chunk-4BX2VUAB-BW54-JWg.js → chunk-4BX2VUAB-BO1KRGb1.js} +1 -1
- package/dist/{chunk-4BX2VUAB-Qba52sxc.cjs → chunk-4BX2VUAB-CtDGlaPx.cjs} +1 -1
- package/dist/{chunk-7N4EOEYR-C-GuhRgW.js → chunk-4EGX6M5U-BMVrizoY.js} +12 -12
- package/dist/{chunk-7N4EOEYR-jNBQwvHx.cjs → chunk-4EGX6M5U-VENLmgBt.cjs} +1 -1
- package/dist/{chunk-55IACEB6-DPatBzu7.cjs → chunk-55IACEB6-VJP3Osm7.cjs} +1 -1
- package/dist/{chunk-55IACEB6-Bu3k0Yz5.js → chunk-55IACEB6-b_Ivgrk-.js} +1 -1
- package/dist/chunk-5DO6E6H7-Cx6Mfbjl.cjs +1 -0
- package/dist/chunk-5DO6E6H7-QuTLwcim.js +23 -0
- package/dist/chunk-5ZQYHXKU-BMnKD7Zq.cjs +2 -0
- package/dist/{chunk-5PVQY5BW-Dn8n6moB.js → chunk-5ZQYHXKU-C4uam08j.js} +527 -461
- package/dist/chunk-727SXJPM-DTmqhRKX.cjs +206 -0
- package/dist/{chunk-4TB4RGXK-D2LRzcEP.js → chunk-727SXJPM-Dof0vDVV.js} +650 -554
- package/dist/{chunk-OYMX7WX6-CrK-lehh.cjs → chunk-AQP2D5EJ-DdWeFQ4O.cjs} +5 -5
- package/dist/{chunk-OYMX7WX6-DJkGVCqi.js → chunk-AQP2D5EJ-N9ii4fwJ.js} +349 -339
- package/dist/{chunk-LIHQZDEY-59I4-LWb.js → chunk-BR22UD5L-CS6hURQQ.js} +15 -15
- package/dist/{chunk-LIHQZDEY-CrogR3nT.cjs → chunk-BR22UD5L-wI1vkyAT.cjs} +1 -1
- package/dist/{chunk-BSJP7CBP-oNTXVRA7.js → chunk-BSJP7CBP-Bx5APwBA.js} +1 -1
- package/dist/{chunk-BSJP7CBP-CFzYPvgr.cjs → chunk-BSJP7CBP-CaeBFqNU.cjs} +1 -1
- package/dist/{chunk-ICPOFSXX-fQJ5ufMR.js → chunk-CSCIHK7Q-9WKhcDqw.js} +132 -38
- package/dist/chunk-CSCIHK7Q-BPMuICCz.cjs +123 -0
- package/dist/chunk-FHYWG6QK-CfRqYwCI.js +23 -0
- package/dist/chunk-FHYWG6QK-DxmnARsZ.cjs +1 -0
- package/dist/{chunk-FMBD7UC4-RRSc9jqt.js → chunk-FMBD7UC4-BbggSGOg.js} +1 -1
- package/dist/{chunk-FMBD7UC4-CS9_r76V.cjs → chunk-FMBD7UC4-CiO_59ls.cjs} +1 -1
- package/dist/{chunk-ENJZ2VHE-CZ7BvL2h.js → chunk-KSCS5N6A-BY1s4eGg.js} +205 -205
- package/dist/chunk-KSCS5N6A-DO8jEi0y.cjs +10 -0
- package/dist/{chunk-ZZ45TVLE-BfSqZnT4.cjs → chunk-L5ZTLDWV-BE9udiOh.cjs} +1 -1
- package/dist/{chunk-ZZ45TVLE-X2jolXSO.js → chunk-L5ZTLDWV-D3UwMopa.js} +8 -8
- package/dist/{chunk-336JU56O-DQhIGd25.cjs → chunk-LZXEDZCA-Dpz_wx3M.cjs} +1 -1
- package/dist/{chunk-336JU56O-DkZvWJVe.js → chunk-LZXEDZCA-KzBFuWPU.js} +18 -18
- package/dist/chunk-MPE355IW-4bpROspE.js +23 -0
- package/dist/chunk-MPE355IW-CxPw_dPP.cjs +1 -0
- package/dist/chunk-MZUSXYTE-DA5mUG5B.js +30 -0
- package/dist/chunk-MZUSXYTE-DIg1BPts.cjs +1 -0
- package/dist/chunk-N66VUXT2-DSbygtq1.cjs +1 -0
- package/dist/chunk-N66VUXT2-pDZ1b-B3.js +54 -0
- package/dist/{chunk-YZCP3GAM-D6P3SWmL.js → chunk-ND2GUHAM-CHTke4K8.js} +17 -17
- package/dist/{chunk-YZCP3GAM-qxaNo0r8.cjs → chunk-ND2GUHAM-DdBSZTft.cjs} +1 -1
- package/dist/chunk-NNHCCRGN-D_orSz6n.js +20630 -0
- package/dist/chunk-NNHCCRGN-aKMHXBzL.cjs +159 -0
- package/dist/{chunk-X2U36JSP-VxRY65ea.js → chunk-NZK2D7GU-BVOINLmx.js} +13 -13
- package/dist/{chunk-X2U36JSP-CtXjVqek.cjs → chunk-NZK2D7GU-_twqedIe.cjs} +1 -1
- package/dist/{chunk-U2HBQHQK-CJ77uizk.cjs → chunk-O5CBEL6O-CDvi2oZo.cjs} +6 -6
- package/dist/{chunk-U2HBQHQK-Ceyeq0IV.js → chunk-O5CBEL6O-VsMF4aZB.js} +108 -108
- package/dist/chunk-PUPMXCY4-CKjhJQnN.js +23 -0
- package/dist/chunk-PUPMXCY4-DsS_t57r.cjs +1 -0
- package/dist/{chunk-QZHKN3VN-CSMKL2rB.cjs → chunk-QZHKN3VN-CHjRGMI2.cjs} +1 -1
- package/dist/{chunk-QZHKN3VN-Bx8I6l3c.js → chunk-QZHKN3VN-DCddt14Q.js} +1 -1
- package/dist/chunk-UIBZB4QT-BZf7vqd9.cjs +1 -0
- package/dist/chunk-UIBZB4QT-BvFllM0Q.js +23 -0
- package/dist/chunk-WCWK7LTN-D_C1as0Y.js +31 -0
- package/dist/chunk-WCWK7LTN-Dl2uC9ZD.cjs +1 -0
- package/dist/chunk-WU5MYG2G-DgyP9QDj.cjs +1 -0
- package/dist/chunk-WU5MYG2G-mQn7Wt-i.js +9 -0
- package/dist/{chunk-XPW4576I-BcWkx-AL.js → chunk-XPW4576I-BCowsgDU.js} +1 -1
- package/dist/{chunk-XPW4576I-D8Pp6a3j.cjs → chunk-XPW4576I-D_mwgMVU.cjs} +1 -1
- package/dist/classDiagram-4FO5ZUOK-5DyhpZRK.cjs +1 -0
- package/dist/classDiagram-4FO5ZUOK-BHGLQIkz.js +29 -0
- package/dist/classDiagram-v2-Q7XG4LA2-CCAbBo05.js +29 -0
- package/dist/classDiagram-v2-Q7XG4LA2-D4TX4CLT.cjs +1 -0
- package/dist/components/dash-list/assets/dash-list.data.d.ts +1 -0
- package/dist/components/dash-list/assets/dash-list.data.d.ts.map +1 -1
- package/dist/components/dash-list/dash-list-types.d.ts +1 -0
- package/dist/components/dash-list/dash-list-types.d.ts.map +1 -1
- package/dist/components/dash-list/dash-list.d.ts.map +1 -1
- package/dist/components/dash-list/dash-list.utils.d.ts +0 -3
- package/dist/components/dash-list/dash-list.utils.d.ts.map +1 -1
- package/dist/components/field/field.d.ts.map +1 -1
- package/dist/components/htm/htm-types.d.ts +4 -0
- package/dist/components/htm/htm-types.d.ts.map +1 -1
- package/dist/components/htm/htm.d.ts.map +1 -1
- package/dist/components/image-list/components/items/image-list-item.d.ts.map +1 -1
- package/dist/components/input-panel/input-panel-utils.d.ts.map +1 -1
- package/dist/components/pdf/pdf-types.d.ts +8 -0
- package/dist/components/pdf/pdf-types.d.ts.map +1 -1
- package/dist/components/pdf/pdf-utils.d.ts +1 -1
- package/dist/components/pdf/pdf-utils.d.ts.map +1 -1
- package/dist/components/pdf/pdf.d.ts.map +1 -1
- package/dist/components/planner/planner-assets.d.ts +2 -2
- package/dist/components/planner/planner-assets.d.ts.map +1 -1
- package/dist/components/planner/planner-utils.d.ts +1 -0
- package/dist/components/planner/planner-utils.d.ts.map +1 -1
- package/dist/components/planner/planner.d.ts.map +1 -1
- package/dist/components/timeline/timeline.d.ts.map +1 -1
- package/dist/components/tooltip/tooltip-assets.d.ts +1 -0
- package/dist/components/tooltip/tooltip-assets.d.ts.map +1 -1
- package/dist/components/tooltip/tooltip-types.d.ts +4 -16
- package/dist/components/tooltip/tooltip-types.d.ts.map +1 -1
- package/dist/components/tooltip/tooltip.d.ts.map +1 -1
- package/dist/{cose-bilkent-S5V4N54A-B30Rh9DR.js → cose-bilkent-S5V4N54A-Bfb7U01p.js} +26 -27
- package/dist/cose-bilkent-S5V4N54A-CE-7Sw0Y.cjs +1 -0
- package/dist/dagre-BM42HDAG-BhbA1R8l.cjs +4 -0
- package/dist/dagre-BM42HDAG-D87Rv2R4.js +297 -0
- package/dist/dagre-CC68z3y6.cjs +1 -0
- package/dist/dagre-Cg4CV48I.js +1936 -0
- package/dist/diagram-2AECGRRQ-C6vI3yau.cjs +43 -0
- package/dist/{diagram-MMDJMWI5-DUpEI5ug.js → diagram-2AECGRRQ-OSYCK0tv.js} +36 -36
- package/dist/diagram-5GNKFQAL-BS9rRMAe.cjs +10 -0
- package/dist/diagram-5GNKFQAL-DnquluB9.js +101 -0
- package/dist/diagram-KO2AKTUF-CFi6eQYd.js +431 -0
- package/dist/diagram-KO2AKTUF-CjA_KTJj.cjs +3 -0
- package/dist/{diagram-TYMM5635-DHHPZ5ZJ.js → diagram-LMA3HP47-Cwm5bzeM.js} +38 -38
- package/dist/diagram-LMA3HP47-DBwSTp2j.cjs +24 -0
- package/dist/diagram-OG6HWLK6-BdLnbUYy.cjs +24 -0
- package/dist/{diagram-G4DWMVQ6-iYV58Drq.js → diagram-OG6HWLK6-DvGk1j55.js} +93 -93
- package/dist/{dist-DL30VIBI.js → dist-9MKIBfY4.js} +1 -1
- package/dist/dist-DC1YYeHc.cjs +1 -0
- package/dist/{erDiagram-SMLLAGMA-C8FM7wbJ.js → erDiagram-TEJ5UH35-B17mqgD_.js} +164 -164
- package/dist/erDiagram-TEJ5UH35-NlRiP_bX.cjs +85 -0
- package/dist/eventmodeling-FCH6USID-BVaFiLQO.js +3 -0
- package/dist/eventmodeling-FCH6USID-leiC8dtX.cjs +1 -0
- package/dist/{flowDiagram-DWJPFMVM-BGtX2gw0.js → flowDiagram-I6XJVG4X-C2G6Tgw_.js} +444 -444
- package/dist/{flowDiagram-DWJPFMVM-DWuKiJeo.cjs → flowDiagram-I6XJVG4X-ChI_6giU.cjs} +9 -9
- package/dist/functional-components/timeline-engine/components/gantt/bar/gantt-bar.d.ts.map +1 -1
- package/dist/functional-components/timeline-engine/components/gantt/farrow/gantt-farrow-utils.d.ts +106 -0
- package/dist/functional-components/timeline-engine/components/gantt/farrow/gantt-farrow-utils.d.ts.map +1 -0
- package/dist/functional-components/timeline-engine/components/gantt/farrow/gantt-farrow-utils.test.d.ts +2 -0
- package/dist/functional-components/timeline-engine/components/gantt/farrow/gantt-farrow-utils.test.d.ts.map +1 -0
- package/dist/functional-components/timeline-engine/components/gantt/farrow/gantt-farrow.d.ts +38 -0
- package/dist/functional-components/timeline-engine/components/gantt/farrow/gantt-farrow.d.ts.map +1 -0
- package/dist/functional-components/timeline-engine/components/gantt/gantt-assets.d.ts +23 -20
- package/dist/functional-components/timeline-engine/components/gantt/gantt-assets.d.ts.map +1 -1
- package/dist/functional-components/timeline-engine/components/gantt/gantt.d.ts.map +1 -1
- package/dist/functional-components/timeline-engine/components/gantt/types/gantt-types.d.ts +13 -2
- package/dist/functional-components/timeline-engine/components/gantt/types/gantt-types.d.ts.map +1 -1
- package/dist/functional-components/timeline-engine/timeline-engine-types.d.ts +4 -0
- package/dist/functional-components/timeline-engine/timeline-engine-types.d.ts.map +1 -1
- package/dist/functional-components/timeline-engine/timeline-engine-utils.d.ts +24 -0
- package/dist/functional-components/timeline-engine/timeline-engine-utils.d.ts.map +1 -1
- package/dist/functional-components/timeline-engine/timeline-engine.d.ts.map +1 -1
- package/dist/ganttDiagram-6RSMTGT7-B0DHqd7u.cjs +292 -0
- package/dist/{ganttDiagram-T4ZO3ILL-PY1BUp5b.js → ganttDiagram-6RSMTGT7-Bb6bqcaS.js} +278 -276
- package/dist/gitGraph-WXDBUCRP-BFFuTWG4.cjs +1 -0
- package/dist/gitGraph-WXDBUCRP-Fz2kRwJ-.js +3 -0
- package/dist/gitGraphDiagram-PVQCEYII-BzbgPrwe.cjs +106 -0
- package/dist/{gitGraphDiagram-UUTBAWPF-CDIW9-sX.js → gitGraphDiagram-PVQCEYII-DiJUr7lO.js} +255 -255
- package/dist/graphlib-B1zohIOM.js +1266 -0
- package/dist/graphlib-B5AXIZA4.cjs +1 -0
- package/dist/hooks/useFloating.d.ts.map +1 -1
- package/dist/info-J43DQDTF-CLRXRK49.js +3 -0
- package/dist/info-J43DQDTF-CmpcAuH-.cjs +1 -0
- package/dist/infoDiagram-5YYISTIA-C8P9DHlE.js +19 -0
- package/dist/infoDiagram-5YYISTIA-fhwEAAjF.cjs +2 -0
- package/dist/{ishikawaDiagram-UXIWVN3A-BfkF39Xv.cjs → ishikawaDiagram-YF4QCWOH-j6IZz59g.cjs} +6 -6
- package/dist/{ishikawaDiagram-UXIWVN3A-BblrAmns.js → ishikawaDiagram-YF4QCWOH-rqNbTKZp.js} +134 -134
- package/dist/{journeyDiagram-VCZTEJTY-UwcVOFtb.cjs → journeyDiagram-JHISSGLW-BhHdd4y3.cjs} +6 -6
- package/dist/{journeyDiagram-VCZTEJTY-CCOZ1XFK.js → journeyDiagram-JHISSGLW-peUJlm3L.js} +180 -180
- package/dist/{kanban-definition-6JOO6SKY-BWwfbdd6.js → kanban-definition-UN3LZRKU-DLxDqiQn.js} +151 -151
- package/dist/{kanban-definition-6JOO6SKY-Coxpi43B.cjs → kanban-definition-UN3LZRKU-TUg1x5yJ.cjs} +8 -8
- package/dist/{katex-SAH56fvc.cjs → katex-HkVgAsLB.cjs} +1 -1
- package/dist/ketchup2.cjs.js +107 -110
- package/dist/ketchup2.css +1 -1
- package/dist/ketchup2.es.js +63778 -65955
- package/dist/{line-CrxZdHmO.js → line-BhAnxCE8.js} +3 -3
- package/dist/line-CpcTW4h-.cjs +1 -0
- package/dist/{linear-CxHa1DsM.cjs → linear-D0eFmsG1.cjs} +1 -1
- package/dist/{linear-BsPvNLJv.js → linear-lSeWuvgy.js} +3 -3
- package/dist/{mermaid-parser.core-CERDf-UG.js → mermaid-parser.core-Dz33ts1l.js} +24 -19
- package/dist/mermaid-parser.core-HQxPJrkY.cjs +3 -0
- package/dist/{mindmap-definition-QFDTVHPH--xULjpFZ.cjs → mindmap-definition-RKZ34NQL-D9BOsg5W.cjs} +29 -29
- package/dist/{mindmap-definition-QFDTVHPH-dYQoMeA6.js → mindmap-definition-RKZ34NQL-DHkmUkxh.js} +148 -148
- package/dist/{ordinal-Civr0hZL.cjs → ordinal-BnUYNBtU.cjs} +1 -1
- package/dist/{ordinal-C-VoL0XF.js → ordinal-MD9_ORcM.js} +1 -1
- package/dist/packet-YPE3B663-BwjweAZY.cjs +1 -0
- package/dist/packet-YPE3B663-D1Hr9AQm.js +3 -0
- package/dist/pie-LRSECV5Y-CpDfN1P0.js +3 -0
- package/dist/pie-LRSECV5Y-I1-OkIXi.cjs +1 -0
- package/dist/{pieDiagram-DEJITSTG-Dj5pX4fC.js → pieDiagram-4H26LBE5-ByA7ytZx.js} +40 -40
- package/dist/pieDiagram-4H26LBE5-CrLJh4L9.cjs +30 -0
- package/dist/{quadrantDiagram-34T5L4WZ-BKNOJBiR.js → quadrantDiagram-W4KKPZXB-CHHpmu1l.js} +547 -520
- package/dist/quadrantDiagram-W4KKPZXB-CalC_db_.cjs +7 -0
- package/dist/radar-GUYGQ44K-BXt3oO8c.cjs +1 -0
- package/dist/radar-GUYGQ44K-ByzrmbOz.js +3 -0
- package/dist/{requirementDiagram-MS252O5E-r3eZu57d.js → requirementDiagram-4Y6WPE33-BVcDFSx8.js} +165 -165
- package/dist/requirementDiagram-4Y6WPE33-SsePLT8d.cjs +84 -0
- package/dist/sankeyDiagram-5OEKKPKP-BgvTZ7jd.cjs +40 -0
- package/dist/{sankeyDiagram-XADWPNL6-ErTVVewH.js → sankeyDiagram-5OEKKPKP-C-ODz9lV.js} +202 -153
- package/dist/{sequenceDiagram-FGHM5R23-BmqbzzHY.js → sequenceDiagram-3UESZ5HK-Cnc0aDO4.js} +786 -779
- package/dist/sequenceDiagram-3UESZ5HK-DEVLteqD.cjs +162 -0
- package/dist/src-BgvDIw01.cjs +1 -0
- package/dist/{src-BQiFKP24.js → src-v9RrE_4h.js} +578 -563
- package/dist/stateDiagram-AJRCARHV-CuHe6Iji.js +217 -0
- package/dist/stateDiagram-AJRCARHV-D_yPvIRw.cjs +1 -0
- package/dist/stateDiagram-v2-BHNVJYJU-CTnE6fOT.cjs +1 -0
- package/dist/stateDiagram-v2-BHNVJYJU-DqstYMSl.js +27 -0
- package/dist/{timeline-definition-GMOUNBTQ-DgcI7XnE.js → timeline-definition-PNZ67QCA-Bj1BItRB.js} +324 -324
- package/dist/{timeline-definition-GMOUNBTQ-BeTHmikc.cjs → timeline-definition-PNZ67QCA-Cynbc96w.cjs} +48 -48
- package/dist/treeView-BLDUP644-CxLhpd93.js +3 -0
- package/dist/treeView-BLDUP644-DMwVx0AR.cjs +1 -0
- package/dist/treemap-LRROVOQU-BqmiLdFI.js +3 -0
- package/dist/treemap-LRROVOQU-XhaFZdvI.cjs +1 -0
- package/dist/v4-BpDBEhLK.js +30 -0
- package/dist/v4-CA8ev9YY.cjs +1 -0
- package/dist/{vennDiagram-DHZGUBPP-7tx3VVDU.js → vennDiagram-CIIHVFJN-CdmcxixA.js} +192 -192
- package/dist/vennDiagram-CIIHVFJN-Dm4D6omA.cjs +34 -0
- package/dist/wardley-L42UT6IY-C7UjBmVh.js +3 -0
- package/dist/wardley-L42UT6IY-DFAYOpjD.cjs +1 -0
- package/dist/{wardleyDiagram-NUSXRM2D-DY51LHBa.cjs → wardleyDiagram-YWT4CUSO-C-DdutxP.cjs} +61 -3
- package/dist/{wardleyDiagram-NUSXRM2D-DGKU7A2U.js → wardleyDiagram-YWT4CUSO-D1o116Wi.js} +272 -206
- package/dist/{xychartDiagram-5P7HB3ND--7RYyckP.js → xychartDiagram-2RQKCTM6-Byw7djcg.js} +213 -213
- package/dist/{xychartDiagram-5P7HB3ND-Cj0HUNew.cjs → xychartDiagram-2RQKCTM6-D0D4PIQS.cjs} +6 -6
- package/package.json +1 -1
- package/dist/architecture-YZFGNWBL-BRqToLcm.js +0 -3
- package/dist/architecture-YZFGNWBL-BTOWQWD9.cjs +0 -1
- package/dist/architectureDiagram-Q4EWVU46-CX_6DnSJ.cjs +0 -36
- package/dist/blockDiagram-DXYQGD6D-D6DypQdM.cjs +0 -132
- package/dist/channel-CRWct3-i.js +0 -5
- package/dist/channel-DkTvdPpU.cjs +0 -1
- package/dist/chunk-2KRD3SAO-Ca3zDQyj.js +0 -23
- package/dist/chunk-2KRD3SAO-oZrIWZvV.cjs +0 -1
- package/dist/chunk-426QAEUC-CDXJVpQr.js +0 -9
- package/dist/chunk-426QAEUC-CqN26l3E.cjs +0 -1
- package/dist/chunk-4TB4RGXK-B0SIkKDf.cjs +0 -206
- package/dist/chunk-5FUZZQ4R-Cj5KbGC7.cjs +0 -62
- package/dist/chunk-5PVQY5BW-DEPZKGvb.cjs +0 -2
- package/dist/chunk-67CJDMHE-2Qg7i1xJ.cjs +0 -1
- package/dist/chunk-67CJDMHE-YMBkJcAO.js +0 -23
- package/dist/chunk-AA7GKIK3-B_ZB6dou.js +0 -30
- package/dist/chunk-AA7GKIK3-dqnTmnvO.cjs +0 -1
- package/dist/chunk-CIAEETIT-ClHUj0Su.cjs +0 -1
- package/dist/chunk-CIAEETIT-XlxsAz-4.js +0 -23
- package/dist/chunk-D-IZpNpi.cjs +0 -1
- package/dist/chunk-EDXVE4YY-1dwNWzc7.cjs +0 -1
- package/dist/chunk-EDXVE4YY-CGNVB686.js +0 -25
- package/dist/chunk-ENJZ2VHE-BAWfx0nA.cjs +0 -10
- package/dist/chunk-FOC6F5B3-DcZs851j.cjs +0 -1
- package/dist/chunk-FOC6F5B3-E9n6-juB.js +0 -23
- package/dist/chunk-ICPOFSXX-hY6BIZ4Y.cjs +0 -122
- package/dist/chunk-K5T4RW27-BzDQkjC7.cjs +0 -94
- package/dist/chunk-K5T4RW27-DY7TOEqa.js +0 -16070
- package/dist/chunk-KGLVRYIC-5OJpfQCj.js +0 -23
- package/dist/chunk-KGLVRYIC-DnbIkai8.cjs +0 -1
- package/dist/chunk-ORNJ4GCN-CcrEtiCn.cjs +0 -1
- package/dist/chunk-ORNJ4GCN-CwkOSFbS.js +0 -31
- package/dist/chunk-WQLz0Won.js +0 -20
- package/dist/classDiagram-6PBFFD2Q-BT4_JTnP.cjs +0 -1
- package/dist/classDiagram-6PBFFD2Q-Dgaxt4wI.js +0 -29
- package/dist/classDiagram-v2-HSJHXN6E-CWhiK6nm.js +0 -29
- package/dist/classDiagram-v2-HSJHXN6E-DkBLzgTv.cjs +0 -1
- package/dist/clone-CQQwPjME.cjs +0 -1
- package/dist/clone-Dwbh_blD.js +0 -8
- package/dist/cose-bilkent-S5V4N54A-Bhdp-wcb.cjs +0 -1
- package/dist/dagre-BcwvU6ZF.cjs +0 -1
- package/dist/dagre-D17h-Z-U.js +0 -1606
- package/dist/dagre-KV5264BT-BnEKAAAn.js +0 -293
- package/dist/dagre-KV5264BT-DRbiLA37.cjs +0 -4
- package/dist/diagram-5BDNPKRD-B_Fa4dpl.js +0 -101
- package/dist/diagram-5BDNPKRD-CPN8m2Hl.cjs +0 -10
- package/dist/diagram-G4DWMVQ6-VpXkNb67.cjs +0 -24
- package/dist/diagram-MMDJMWI5-DGk_PUo9.cjs +0 -43
- package/dist/diagram-TYMM5635-BH_-vSv9.cjs +0 -24
- package/dist/dist-BgvMZbfo.cjs +0 -1
- package/dist/erDiagram-SMLLAGMA-vuYEmfFA.cjs +0 -85
- package/dist/flatten-BE1bWL-7.js +0 -40
- package/dist/flatten-DxvYSoR8.cjs +0 -1
- package/dist/ganttDiagram-T4ZO3ILL-C25CnBTv.cjs +0 -292
- package/dist/gitGraph-7Q5UKJZL-DZea3ltD.cjs +0 -1
- package/dist/gitGraph-7Q5UKJZL-sjlqDwJ_.js +0 -3
- package/dist/gitGraphDiagram-UUTBAWPF-0lCBo9nK.cjs +0 -106
- package/dist/graphlib-CdgJ32J_.cjs +0 -1
- package/dist/graphlib-DbQkSsC8.js +0 -373
- package/dist/identity-KQSjemTb.cjs +0 -1
- package/dist/identity-g0dsMjx7.js +0 -393
- package/dist/info-OMHHGYJF-Bk0VWVNW.js +0 -3
- package/dist/info-OMHHGYJF-C8QtwF0k.cjs +0 -1
- package/dist/infoDiagram-42DDH7IO-CQLxpytS.js +0 -19
- package/dist/infoDiagram-42DDH7IO-Da__a_a_.cjs +0 -2
- package/dist/isEmpty-CA3kJuev.cjs +0 -1
- package/dist/isEmpty-RwX-oIQS.js +0 -35
- package/dist/line-C7oijaT4.cjs +0 -1
- package/dist/mermaid-parser.core-DHpvGOZR.cjs +0 -3
- package/dist/packet-4T2RLAQJ-X0BMsNFj.js +0 -3
- package/dist/packet-4T2RLAQJ-lvmQnXPI.cjs +0 -1
- package/dist/pie-ZZUOXDRM-CJ_fU5k1.js +0 -3
- package/dist/pie-ZZUOXDRM-Dp4APKqR.cjs +0 -1
- package/dist/pieDiagram-DEJITSTG-7we8s9eC.cjs +0 -30
- package/dist/quadrantDiagram-34T5L4WZ-B3BFuPYQ.cjs +0 -7
- package/dist/radar-PYXPWWZC-BHWJy_E1.cjs +0 -1
- package/dist/radar-PYXPWWZC-DgZIW9Ah.js +0 -3
- package/dist/reduce-B7WW9rkU.cjs +0 -1
- package/dist/reduce-DNnkcf3M.js +0 -532
- package/dist/requirementDiagram-MS252O5E-BemsEy3Y.cjs +0 -84
- package/dist/sankeyDiagram-XADWPNL6-B9YCkPHh.cjs +0 -10
- package/dist/sequenceDiagram-FGHM5R23-CBpQL6X2.cjs +0 -157
- package/dist/src-DFxq-N5I.cjs +0 -1
- package/dist/stateDiagram-FHFEXIEX-CL9LE-W1.js +0 -217
- package/dist/stateDiagram-FHFEXIEX-Cju5Z2VS.cjs +0 -1
- package/dist/stateDiagram-v2-QKLJ7IA2-BHoytfGp.js +0 -27
- package/dist/stateDiagram-v2-QKLJ7IA2-DO1H6Vqa.cjs +0 -1
- package/dist/treeView-SZITEDCU-CT5vX0q9.cjs +0 -1
- package/dist/treeView-SZITEDCU-Df3xzFtO.js +0 -3
- package/dist/treemap-W4RFUUIX-Bk_jVZ7D.cjs +0 -1
- package/dist/treemap-W4RFUUIX-ClUtdSdn.js +0 -3
- package/dist/v4-6yr83DbP.cjs +0 -1
- package/dist/v4-BR71w5_q.js +0 -33
- package/dist/vennDiagram-DHZGUBPP-C16dnMoe.cjs +0 -34
- package/dist/wardley-RL74JXVD-BtHQbnUy.js +0 -3
- package/dist/wardley-RL74JXVD-y8RO5Iqv.cjs +0 -1
- /package/dist/{array-D8NZ46Ht.js → array-CBdkHBGa.js} +0 -0
- /package/dist/{array-Dxz0O8Q3.cjs → array-Cx1JwiGD.cjs} +0 -0
- /package/dist/{cytoscape.esm-CrBwLFXE.cjs → cytoscape.esm-BzblyxzZ.cjs} +0 -0
- /package/dist/{cytoscape.esm-CPjF_mSK.js → cytoscape.esm-VShrX2U1.js} +0 -0
- /package/dist/{defaultLocale-DtzyZW63.cjs → defaultLocale-Bj_Ndo9V.cjs} +0 -0
- /package/dist/{defaultLocale-Dcyuaxxg.js → defaultLocale-dGy1YRID.js} +0 -0
- /package/dist/{init-BO60vQHJ.js → init-B7h4SEX5.js} +0 -0
- /package/dist/{init-B2MubQrj.cjs → init-CEL65JUo.cjs} +0 -0
- /package/dist/{katex-Du5WiYIy.js → katex-DWDh1q_h.js} +0 -0
- /package/dist/{path-CvfwEr8y.js → path-CAXMhBzK.js} +0 -0
- /package/dist/{path-Civic7PQ.cjs → path-CRahBUHI.cjs} +0 -0
- /package/dist/{rough.esm-BLKo1fIQ.cjs → rough.esm-BEA_SCZB.cjs} +0 -0
- /package/dist/{rough.esm-1mqTSjCt.js → rough.esm-TWNWL4Us.js} +0 -0
|
@@ -1,106 +0,0 @@
|
|
|
1
|
-
require(`./chunk-D-IZpNpi.cjs`);const e=require(`./chunk-ICPOFSXX-hY6BIZ4Y.cjs`),t=require(`./src-DFxq-N5I.cjs`),n=require(`./chunk-5PVQY5BW-DEPZKGvb.cjs`),r=require(`./chunk-4BX2VUAB-Qba52sxc.cjs`),i=require(`./mermaid-parser.core-DHpvGOZR.cjs`),a=require(`./chunk-QZHKN3VN-CSMKL2rB.cjs`);var o={NORMAL:0,REVERSE:1,HIGHLIGHT:2,MERGE:3,CHERRY_PICK:4},s=e.d.gitGraph,c=t.h(()=>n.r({...s,...e.y().gitGraph}),`getConfig`),l=new a.t(()=>{let e=c(),t=e.mainBranchName,n=e.mainBranchOrder;return{mainBranchName:t,commits:new Map,head:null,branchConfig:new Map([[t,{name:t,order:n}]]),branches:new Map([[t,null]]),currBranch:t,direction:`LR`,seq:0,options:{}}});function u(){return n.p({length:7})}t.h(u,`getID`);function d(e,t){let n=Object.create(null);return e.reduce((e,r)=>{let i=t(r);return n[i]||(n[i]=!0,e.push(r)),e},[])}t.h(d,`uniqBy`);var f=t.h(function(e){l.records.direction=e},`setDirection`),p=t.h(function(e){t.g.debug(`options str`,e),e=e?.trim(),e||=`{}`;try{l.records.options=JSON.parse(e)}catch(e){t.g.error(`error while parsing gitGraph options`,e.message)}},`setOptions`),m=t.h(function(){return l.records.options},`getOptions`),h=t.h(function(n){let r=n.msg,i=n.id,a=n.type,s=n.tags;t.g.info(`commit`,r,i,a,s),t.g.debug(`Entering commit:`,r,i,a,s);let d=c();i=e.s.sanitizeText(i,d),r=e.s.sanitizeText(r,d),s=s?.map(t=>e.s.sanitizeText(t,d));let f={id:i||l.records.seq+`-`+u(),message:r,seq:l.records.seq++,type:a??o.NORMAL,tags:s??[],parents:l.records.head==null?[]:[l.records.head.id],branch:l.records.currBranch};l.records.head=f,t.g.info(`main branch`,d.mainBranchName),l.records.commits.has(f.id)&&t.g.warn(`Commit ID ${f.id} already exists`),l.records.commits.set(f.id,f),l.records.branches.set(l.records.currBranch,f.id),t.g.debug(`in pushCommit `+f.id)},`commit`),g=t.h(function(n){let r=n.name,i=n.order;if(r=e.s.sanitizeText(r,c()),l.records.branches.has(r))throw Error(`Trying to create an existing branch. (Help: Either use a new name if you want create a new branch or try using "checkout ${r}")`);l.records.branches.set(r,l.records.head==null?null:l.records.head.id),l.records.branchConfig.set(r,{name:r,order:i}),y(r),t.g.debug(`in createBranch`)},`branch`),_=t.h(n=>{let r=n.branch,i=n.id,a=n.type,s=n.tags,d=c();r=e.s.sanitizeText(r,d),i&&=e.s.sanitizeText(i,d);let f=l.records.branches.get(l.records.currBranch),p=l.records.branches.get(r),m=f?l.records.commits.get(f):void 0,h=p?l.records.commits.get(p):void 0;if(m&&h&&m.branch===r)throw Error(`Cannot merge branch '${r}' into itself.`);if(l.records.currBranch===r){let e=Error(`Incorrect usage of "merge". Cannot merge a branch to itself`);throw e.hash={text:`merge ${r}`,token:`merge ${r}`,expected:[`branch abc`]},e}if(m===void 0||!m){let e=Error(`Incorrect usage of "merge". Current branch (${l.records.currBranch})has no commits`);throw e.hash={text:`merge ${r}`,token:`merge ${r}`,expected:[`commit`]},e}if(!l.records.branches.has(r)){let e=Error(`Incorrect usage of "merge". Branch to be merged (`+r+`) does not exist`);throw e.hash={text:`merge ${r}`,token:`merge ${r}`,expected:[`branch ${r}`]},e}if(h===void 0||!h){let e=Error(`Incorrect usage of "merge". Branch to be merged (`+r+`) has no commits`);throw e.hash={text:`merge ${r}`,token:`merge ${r}`,expected:[`"commit"`]},e}if(m===h){let e=Error(`Incorrect usage of "merge". Both branches have same head`);throw e.hash={text:`merge ${r}`,token:`merge ${r}`,expected:[`branch abc`]},e}if(i&&l.records.commits.has(i)){let e=Error(`Incorrect usage of "merge". Commit with id:`+i+` already exists, use different custom id`);throw e.hash={text:`merge ${r} ${i} ${a} ${s?.join(` `)}`,token:`merge ${r} ${i} ${a} ${s?.join(` `)}`,expected:[`merge ${r} ${i}_UNIQUE ${a} ${s?.join(` `)}`]},e}let g=p||``,_={id:i||`${l.records.seq}-${u()}`,message:`merged branch ${r} into ${l.records.currBranch}`,seq:l.records.seq++,parents:l.records.head==null?[]:[l.records.head.id,g],branch:l.records.currBranch,type:o.MERGE,customType:a,customId:!!i,tags:s??[]};l.records.head=_,l.records.commits.set(_.id,_),l.records.branches.set(l.records.currBranch,_.id),t.g.debug(l.records.branches),t.g.debug(`in mergeBranch`)},`merge`),v=t.h(function(n){let r=n.id,i=n.targetId,a=n.tags,s=n.parent;t.g.debug(`Entering cherryPick:`,r,i,a);let d=c();if(r=e.s.sanitizeText(r,d),i=e.s.sanitizeText(i,d),a=a?.map(t=>e.s.sanitizeText(t,d)),s=e.s.sanitizeText(s,d),!r||!l.records.commits.has(r)){let e=Error(`Incorrect usage of "cherryPick". Source commit id should exist and provided`);throw e.hash={text:`cherryPick ${r} ${i}`,token:`cherryPick ${r} ${i}`,expected:[`cherry-pick abc`]},e}let f=l.records.commits.get(r);if(f===void 0||!f)throw Error(`Incorrect usage of "cherryPick". Source commit id should exist and provided`);if(s&&!(Array.isArray(f.parents)&&f.parents.includes(s)))throw Error(`Invalid operation: The specified parent commit is not an immediate parent of the cherry-picked commit.`);let p=f.branch;if(f.type===o.MERGE&&!s)throw Error(`Incorrect usage of cherry-pick: If the source commit is a merge commit, an immediate parent commit must be specified.`);if(!i||!l.records.commits.has(i)){if(p===l.records.currBranch){let e=Error(`Incorrect usage of "cherryPick". Source commit is already on current branch`);throw e.hash={text:`cherryPick ${r} ${i}`,token:`cherryPick ${r} ${i}`,expected:[`cherry-pick abc`]},e}let e=l.records.branches.get(l.records.currBranch);if(e===void 0||!e){let e=Error(`Incorrect usage of "cherry-pick". Current branch (${l.records.currBranch})has no commits`);throw e.hash={text:`cherryPick ${r} ${i}`,token:`cherryPick ${r} ${i}`,expected:[`cherry-pick abc`]},e}let n=l.records.commits.get(e);if(n===void 0||!n){let e=Error(`Incorrect usage of "cherry-pick". Current branch (${l.records.currBranch})has no commits`);throw e.hash={text:`cherryPick ${r} ${i}`,token:`cherryPick ${r} ${i}`,expected:[`cherry-pick abc`]},e}let c={id:l.records.seq+`-`+u(),message:`cherry-picked ${f?.message} into ${l.records.currBranch}`,seq:l.records.seq++,parents:l.records.head==null?[]:[l.records.head.id,f.id],branch:l.records.currBranch,type:o.CHERRY_PICK,tags:a?a.filter(Boolean):[`cherry-pick:${f.id}${f.type===o.MERGE?`|parent:${s}`:``}`]};l.records.head=c,l.records.commits.set(c.id,c),l.records.branches.set(l.records.currBranch,c.id),t.g.debug(l.records.branches),t.g.debug(`in cherryPick`)}},`cherryPick`),y=t.h(function(t){if(t=e.s.sanitizeText(t,c()),l.records.branches.has(t)){l.records.currBranch=t;let e=l.records.branches.get(l.records.currBranch);e===void 0||!e?l.records.head=null:l.records.head=l.records.commits.get(e)??null}else{let e=Error(`Trying to checkout branch which is not yet created. (Help try using "branch ${t}")`);throw e.hash={text:`checkout ${t}`,token:`checkout ${t}`,expected:[`branch ${t}`]},e}},`checkout`);function b(e,t,n){let r=e.indexOf(t);r===-1?e.push(n):e.splice(r,1,n)}t.h(b,`upsert`);function x(e){let n=e.reduce((e,t)=>e.seq>t.seq?e:t,e[0]),r=``;e.forEach(function(e){e===n?r+=` *`:r+=` |`});let i=[r,n.id,n.seq];for(let e in l.records.branches)l.records.branches.get(e)===n.id&&i.push(e);if(t.g.debug(i.join(` `)),n.parents&&n.parents.length==2&&n.parents[0]&&n.parents[1]){let t=l.records.commits.get(n.parents[0]);b(e,n,t),n.parents[1]&&e.push(l.records.commits.get(n.parents[1]))}else if(n.parents.length==0)return;else if(n.parents[0]){let t=l.records.commits.get(n.parents[0]);b(e,n,t)}e=d(e,e=>e.id),x(e)}t.h(x,`prettyPrintCommitHistory`);var S=t.h(function(){t.g.debug(l.records.commits);let e=w()[0];x([e])},`prettyPrint`),C=t.h(function(){l.reset(),e.a()},`clear`),ee=t.h(function(){return[...l.records.branchConfig.values()].map((e,t)=>e.order!==null&&e.order!==void 0?e:{...e,order:parseFloat(`0.${t}`)}).sort((e,t)=>(e.order??0)-(t.order??0)).map(({name:e})=>({name:e}))},`getBranchesAsObjArray`),te=t.h(function(){return l.records.branches},`getBranches`),ne=t.h(function(){return l.records.commits},`getCommits`),w=t.h(function(){let e=[...l.records.commits.values()];return e.forEach(function(e){t.g.debug(e.id)}),e.sort((e,t)=>e.seq-t.seq),e},`getCommitsArray`),T={commitType:o,getConfig:c,setDirection:f,setOptions:p,getOptions:m,commit:h,branch:g,merge:_,cherryPick:v,checkout:y,prettyPrint:S,clear:C,getBranchesAsObjArray:ee,getBranches:te,getCommits:ne,getCommitsArray:w,getCurrentBranch:t.h(function(){return l.records.currBranch},`getCurrentBranch`),getDirection:t.h(function(){return l.records.direction},`getDirection`),getHead:t.h(function(){return l.records.head},`getHead`),setAccTitle:e.V,getAccTitle:e.v,getAccDescription:e._,setAccDescription:e.B,setDiagramTitle:e.W,getDiagramTitle:e.C},E=t.h((e,t)=>{r.t(e,t),e.dir&&t.setDirection(e.dir);for(let n of e.statements)D(n,t)},`populate`),D=t.h((e,n)=>{let r={Commit:t.h(e=>n.commit(O(e)),`Commit`),Branch:t.h(e=>n.branch(k(e)),`Branch`),Merge:t.h(e=>n.merge(re(e)),`Merge`),Checkout:t.h(e=>n.checkout(ie(e)),`Checkout`),CherryPicking:t.h(e=>n.cherryPick(ae(e)),`CherryPicking`)}[e.$type];r?r(e):t.g.error(`Unknown statement type: ${e.$type}`)},`parseStatement`),O=t.h(e=>({id:e.id,msg:e.message??``,type:e.type===void 0?o.NORMAL:o[e.type],tags:e.tags??void 0}),`parseCommit`),k=t.h(e=>({name:e.name,order:e.order??0}),`parseBranch`),re=t.h(e=>({branch:e.branch,id:e.id??``,type:e.type===void 0?void 0:o[e.type],tags:e.tags??void 0}),`parseMerge`),ie=t.h(e=>e.branch,`parseCheckout`),ae=t.h(e=>({id:e.id,targetId:``,tags:e.tags?.length===0?void 0:e.tags,parent:e.parent}),`parseCherryPicking`),oe={parse:t.h(async e=>{let n=await i.t(`gitGraph`,e);t.g.debug(n),E(n,T)},`parse`)},A=10,j=40,M=4,N=2,P=8,F=new Set([`redux`,`redux-dark`,`redux-color`,`redux-dark-color`]),I=12,L=new Set([`redux-color`,`redux-dark-color`]),se=new Set([`dark`,`redux-dark`,`redux-dark-color`,`neo-dark`]),R=t.h((e,t,n=!1)=>n&&e>0?(e-1)%(t-1)+1:e%t,`calcColorIndex`),z=new Map,B=new Map,V=30,H=new Map,U=[],W=0,G=`LR`,K=t.h(()=>{z.clear(),B.clear(),H.clear(),W=0,U=[],G=`LR`},`clear`),q=t.h(e=>{let t=document.createElementNS(`http://www.w3.org/2000/svg`,`text`);return(typeof e==`string`?e.split(/\\n|\n|<br\s*\/?>/gi):e).forEach(e=>{let n=document.createElementNS(`http://www.w3.org/2000/svg`,`tspan`);n.setAttributeNS(`http://www.w3.org/XML/1998/namespace`,`xml:space`,`preserve`),n.setAttribute(`dy`,`1em`),n.setAttribute(`x`,`0`),n.setAttribute(`class`,`row`),n.textContent=e.trim(),t.appendChild(n)}),t},`drawText`),J=t.h(e=>{let n,r,i;return G===`BT`?(r=t.h((e,t)=>e<=t,`comparisonFunc`),i=1/0):(r=t.h((e,t)=>e>=t,`comparisonFunc`),i=0),e.forEach(e=>{let t=G===`TB`||G==`BT`?B.get(e)?.y:B.get(e)?.x;t!==void 0&&r(t,i)&&(n=e,i=t)}),n},`findClosestParent`),ce=t.h(e=>{let t=``,n=1/0;return e.forEach(e=>{let r=B.get(e).y;r<=n&&(t=e,n=r)}),t||void 0},`findClosestParentBT`),le=t.h((e,t,n)=>{let r=n,i=n,a=[];e.forEach(e=>{let n=t.get(e);if(!n)throw Error(`Commit not found for key ${e}`);n.parents.length?(r=de(n),i=Math.max(r,i)):a.push(n),fe(n,r)}),r=i,a.forEach(e=>{pe(e,r,n)}),e.forEach(e=>{let n=t.get(e);if(n?.parents.length){let e=ce(n.parents);r=B.get(e).y-j,r<=i&&(i=r);let t=z.get(n.branch).pos,a=r-A;B.set(n.id,{x:t,y:a})}})},`setParallelBTPos`),ue=t.h(e=>{let t=J(e.parents.filter(e=>e!==null));if(!t)throw Error(`Closest parent not found for commit ${e.id}`);let n=B.get(t)?.y;if(n===void 0)throw Error(`Closest parent position not found for commit ${e.id}`);return n},`findClosestParentPos`),de=t.h(e=>ue(e)+j,`calculateCommitPosition`),fe=t.h((e,t)=>{let n=z.get(e.branch);if(!n)throw Error(`Branch not found for commit ${e.id}`);let r=n.pos,i=t+A;return B.set(e.id,{x:r,y:i}),{x:r,y:i}},`setCommitPosition`),pe=t.h((e,t,n)=>{let r=z.get(e.branch);if(!r)throw Error(`Branch not found for commit ${e.id}`);let i=t+n,a=r.pos;B.set(e.id,{x:a,y:i})},`setRootPosition`),me=t.h((t,n,r,i,a,s)=>{let{theme:c}=e.b(),l=F.has(c??``),u=L.has(c??``),d=se.has(c??``);if(s===o.HIGHLIGHT)t.append(`rect`).attr(`x`,r.x-10+(l?3:0)).attr(`y`,r.y-10+(l?3:0)).attr(`width`,l?14:20).attr(`height`,l?14:20).attr(`class`,`commit ${n.id} commit-highlight${R(a,P,u)} ${i}-outer`),t.append(`rect`).attr(`x`,r.x-6+(l?2:0)).attr(`y`,r.y-6+(l?2:0)).attr(`width`,l?8:12).attr(`height`,l?8:12).attr(`class`,`commit ${n.id} commit${R(a,P,u)} ${i}-inner`);else if(s===o.CHERRY_PICK)t.append(`circle`).attr(`cx`,r.x).attr(`cy`,r.y).attr(`r`,l?7:10).attr(`class`,`commit ${n.id} ${i}`),t.append(`circle`).attr(`cx`,r.x-3).attr(`cy`,r.y+2).attr(`r`,l?2.5:2.75).attr(`fill`,d?`#000000`:`#fff`).attr(`class`,`commit ${n.id} ${i}`),t.append(`circle`).attr(`cx`,r.x+3).attr(`cy`,r.y+2).attr(`r`,l?2.5:2.75).attr(`fill`,d?`#000000`:`#fff`).attr(`class`,`commit ${n.id} ${i}`),t.append(`line`).attr(`x1`,r.x+3).attr(`y1`,r.y+1).attr(`x2`,r.x).attr(`y2`,r.y-5).attr(`stroke`,d?`#000000`:`#fff`).attr(`class`,`commit ${n.id} ${i}`),t.append(`line`).attr(`x1`,r.x-3).attr(`y1`,r.y+1).attr(`x2`,r.x).attr(`y2`,r.y-5).attr(`stroke`,d?`#000000`:`#fff`).attr(`class`,`commit ${n.id} ${i}`);else{let e=t.append(`circle`);if(e.attr(`cx`,r.x),e.attr(`cy`,r.y),e.attr(`r`,l?7:10),e.attr(`class`,`commit ${n.id} commit${R(a,P,u)}`),s===o.MERGE){let e=t.append(`circle`);e.attr(`cx`,r.x),e.attr(`cy`,r.y),e.attr(`r`,l?5:6),e.attr(`class`,`commit ${i} ${n.id} commit${R(a,P,u)}`)}if(s===o.REVERSE){let e=t.append(`path`),o=l?4:5;e.attr(`d`,`M ${r.x-o},${r.y-o}L${r.x+o},${r.y+o}M${r.x-o},${r.y+o}L${r.x+o},${r.y-o}`).attr(`class`,`commit ${i} ${n.id} commit${R(a,P,u)}`)}}},`drawCommitBullet`),he=t.h((e,t,n,r,i)=>{if(t.type!==o.CHERRY_PICK&&(t.customId&&t.type===o.MERGE||t.type!==o.MERGE)&&i.showCommitLabel){let a=e.append(`g`),o=a.insert(`rect`).attr(`class`,`commit-label-bkg`),s=a.append(`text`).attr(`x`,r).attr(`y`,n.y+25).attr(`class`,`commit-label`).text(t.id),c=s.node()?.getBBox();if(c&&(o.attr(`x`,n.posWithOffset-c.width/2-N).attr(`y`,n.y+13.5).attr(`width`,c.width+2*N).attr(`height`,c.height+2*N),G===`TB`||G===`BT`?(o.attr(`x`,n.x-(c.width+4*M+5)).attr(`y`,n.y-12),s.attr(`x`,n.x-(c.width+4*M)).attr(`y`,n.y+c.height-12)):s.attr(`x`,n.posWithOffset-c.width/2),i.rotateCommitLabel))if(G===`TB`||G===`BT`)s.attr(`transform`,`rotate(-45, `+n.x+`, `+n.y+`)`),o.attr(`transform`,`rotate(-45, `+n.x+`, `+n.y+`)`);else{let e=-7.5-(c.width+10)/25*9.5,t=10+c.width/25*8.5;a.attr(`transform`,`translate(`+e+`, `+t+`) rotate(-45, `+r+`, `+n.y+`)`)}}},`drawCommitLabel`),ge=t.h((e,t,n,r)=>{if(t.tags.length>0){let i=0,a=0,o=0,s=[];for(let r of t.tags.reverse()){let t=e.insert(`polygon`),c=e.append(`circle`),l=e.append(`text`).attr(`y`,n.y-16-i).attr(`class`,`tag-label`).text(r),u=l.node()?.getBBox();if(!u)throw Error(`Tag bbox not found`);a=Math.max(a,u.width),o=Math.max(o,u.height),l.attr(`x`,n.posWithOffset-u.width/2),s.push({tag:l,hole:c,rect:t,yOffset:i}),i+=20}for(let{tag:e,hole:t,rect:i,yOffset:c}of s){let s=o/2,l=n.y-19.2-c;if(i.attr(`class`,`tag-label-bkg`).attr(`points`,`
|
|
2
|
-
${r-a/2-M/2},${l+N}
|
|
3
|
-
${r-a/2-M/2},${l-N}
|
|
4
|
-
${n.posWithOffset-a/2-M},${l-s-N}
|
|
5
|
-
${n.posWithOffset+a/2+M},${l-s-N}
|
|
6
|
-
${n.posWithOffset+a/2+M},${l+s+N}
|
|
7
|
-
${n.posWithOffset-a/2-M},${l+s+N}`),t.attr(`cy`,l).attr(`cx`,r-a/2+M/2).attr(`r`,1.5).attr(`class`,`tag-hole`),G===`TB`||G===`BT`){let o=r+c;i.attr(`class`,`tag-label-bkg`).attr(`points`,`
|
|
8
|
-
${n.x},${o+2}
|
|
9
|
-
${n.x},${o-2}
|
|
10
|
-
${n.x+A},${o-s-2}
|
|
11
|
-
${n.x+A+a+4},${o-s-2}
|
|
12
|
-
${n.x+A+a+4},${o+s+2}
|
|
13
|
-
${n.x+A},${o+s+2}`).attr(`transform`,`translate(12,12) rotate(45, `+n.x+`,`+r+`)`),t.attr(`cx`,n.x+M/2).attr(`cy`,o).attr(`transform`,`translate(12,12) rotate(45, `+n.x+`,`+r+`)`),e.attr(`x`,n.x+5).attr(`y`,o+3).attr(`transform`,`translate(14,14) rotate(45, `+n.x+`,`+r+`)`)}}}},`drawCommitTags`),_e=t.h(e=>{switch(e.customType??e.type){case o.NORMAL:return`commit-normal`;case o.REVERSE:return`commit-reverse`;case o.HIGHLIGHT:return`commit-highlight`;case o.MERGE:return`commit-merge`;case o.CHERRY_PICK:return`commit-cherry-pick`;default:return`commit-normal`}},`getCommitClassType`),ve=t.h((e,t,n,r)=>{let i={x:0,y:0};if(e.parents.length>0){let n=J(e.parents);if(n){let a=r.get(n)??i;return t===`TB`?a.y+j:t===`BT`?(r.get(e.id)??i).y-j:a.x+j}}else if(t===`TB`)return V;else if(t===`BT`)return(r.get(e.id)??i).y-j;else return 0;return 0},`calculatePosition`),ye=t.h((t,n,r)=>{let i=G===`BT`&&r?n:n+A,a=z.get(t.branch)?.pos,o=G===`TB`||G===`BT`?z.get(t.branch)?.pos:i;if(o===void 0||a===void 0)throw Error(`Position were undefined for commit ${t.id}`);let s=F.has(e.b().theme??``);return{x:o,y:G===`TB`||G===`BT`?i:a+(s?I/2+1:-2),posWithOffset:i}},`getCommitPosition`),Y=t.h((e,n,r,i)=>{let a=e.append(`g`).attr(`class`,`commit-bullets`),o=e.append(`g`).attr(`class`,`commit-labels`),s=G===`TB`||G===`BT`?V:0,c=[...n.keys()],l=i.parallelCommits??!1,u=t.h((e,t)=>{let r=n.get(e)?.seq,i=n.get(t)?.seq;return r!==void 0&&i!==void 0?r-i:0},`sortKeys`),d=c.sort(u);G===`BT`&&(l&&le(d,n,s),d=d.reverse()),d.forEach(e=>{let t=n.get(e);if(!t)throw Error(`Commit not found for key ${e}`);l&&(s=ve(t,G,s,B));let c=ye(t,s,l);if(r){let e=_e(t),n=t.customType??t.type;me(a,t,c,e,z.get(t.branch)?.index??0,n),he(o,t,c,s,i),ge(o,t,c,s)}G===`TB`||G===`BT`?B.set(t.id,{x:c.x,y:c.posWithOffset}):B.set(t.id,{x:c.posWithOffset,y:c.y}),s=G===`BT`&&l?s+j:s+j+A,s>W&&(W=s)})},`drawCommits`),be=t.h((e,n,r,i,a)=>{let o=(G===`TB`||G===`BT`?r.x<i.x:r.y<i.y)?n.branch:e.branch,s=t.h(e=>e.branch===o,`isOnBranchToGetCurve`),c=t.h(t=>t.seq>e.seq&&t.seq<n.seq,`isBetweenCommits`);return[...a.values()].some(e=>c(e)&&s(e))},`shouldRerouteArrow`),X=t.h((e,t,n=0)=>{let r=e+Math.abs(e-t)/2;return n>5?r:U.every(e=>Math.abs(e-r)>=10)?(U.push(r),r):X(e,t-Math.abs(e-t)/5,n+1)},`findLane`),xe=t.h((t,n,r,i)=>{let{theme:a}=e.b(),s=L.has(a??``),c=B.get(n.id),l=B.get(r.id);if(c===void 0||l===void 0)throw Error(`Commit positions not found for commits ${n.id} and ${r.id}`);let u=be(n,r,c,l,i),d=``,f=``,p=0,m=0,h=z.get(r.branch)?.index;r.type===o.MERGE&&n.id!==r.parents[0]&&(h=z.get(n.branch)?.index);let g;if(u){d=`A 10 10, 0, 0, 0,`,f=`A 10 10, 0, 0, 1,`,p=10,m=10;let e=c.y<l.y?X(c.y,l.y):X(l.y,c.y),t=c.x<l.x?X(c.x,l.x):X(l.x,c.x);G===`TB`?c.x<l.x?g=`M ${c.x} ${c.y} L ${t-p} ${c.y} ${f} ${t} ${c.y+m} L ${t} ${l.y-p} ${d} ${t+m} ${l.y} L ${l.x} ${l.y}`:(h=z.get(n.branch)?.index,g=`M ${c.x} ${c.y} L ${t+p} ${c.y} ${d} ${t} ${c.y+m} L ${t} ${l.y-p} ${f} ${t-m} ${l.y} L ${l.x} ${l.y}`):G===`BT`?c.x<l.x?g=`M ${c.x} ${c.y} L ${t-p} ${c.y} ${d} ${t} ${c.y-m} L ${t} ${l.y+p} ${f} ${t+m} ${l.y} L ${l.x} ${l.y}`:(h=z.get(n.branch)?.index,g=`M ${c.x} ${c.y} L ${t+p} ${c.y} ${f} ${t} ${c.y-m} L ${t} ${l.y+p} ${d} ${t-m} ${l.y} L ${l.x} ${l.y}`):c.y<l.y?g=`M ${c.x} ${c.y} L ${c.x} ${e-p} ${d} ${c.x+m} ${e} L ${l.x-p} ${e} ${f} ${l.x} ${e+m} L ${l.x} ${l.y}`:(h=z.get(n.branch)?.index,g=`M ${c.x} ${c.y} L ${c.x} ${e+p} ${f} ${c.x+m} ${e} L ${l.x-p} ${e} ${d} ${l.x} ${e-m} L ${l.x} ${l.y}`)}else d=`A 20 20, 0, 0, 0,`,f=`A 20 20, 0, 0, 1,`,p=20,m=20,G===`TB`?(c.x<l.x&&(g=r.type===o.MERGE&&n.id!==r.parents[0]?`M ${c.x} ${c.y} L ${c.x} ${l.y-p} ${d} ${c.x+m} ${l.y} L ${l.x} ${l.y}`:`M ${c.x} ${c.y} L ${l.x-p} ${c.y} ${f} ${l.x} ${c.y+m} L ${l.x} ${l.y}`),c.x>l.x&&(d=`A 20 20, 0, 0, 0,`,f=`A 20 20, 0, 0, 1,`,p=20,m=20,g=r.type===o.MERGE&&n.id!==r.parents[0]?`M ${c.x} ${c.y} L ${c.x} ${l.y-p} ${f} ${c.x-m} ${l.y} L ${l.x} ${l.y}`:`M ${c.x} ${c.y} L ${l.x+p} ${c.y} ${d} ${l.x} ${c.y+m} L ${l.x} ${l.y}`),c.x===l.x&&(g=`M ${c.x} ${c.y} L ${l.x} ${l.y}`)):G===`BT`?(c.x<l.x&&(g=r.type===o.MERGE&&n.id!==r.parents[0]?`M ${c.x} ${c.y} L ${c.x} ${l.y+p} ${f} ${c.x+m} ${l.y} L ${l.x} ${l.y}`:`M ${c.x} ${c.y} L ${l.x-p} ${c.y} ${d} ${l.x} ${c.y-m} L ${l.x} ${l.y}`),c.x>l.x&&(d=`A 20 20, 0, 0, 0,`,f=`A 20 20, 0, 0, 1,`,p=20,m=20,g=r.type===o.MERGE&&n.id!==r.parents[0]?`M ${c.x} ${c.y} L ${c.x} ${l.y+p} ${d} ${c.x-m} ${l.y} L ${l.x} ${l.y}`:`M ${c.x} ${c.y} L ${l.x+p} ${c.y} ${f} ${l.x} ${c.y-m} L ${l.x} ${l.y}`),c.x===l.x&&(g=`M ${c.x} ${c.y} L ${l.x} ${l.y}`)):(c.y<l.y&&(g=r.type===o.MERGE&&n.id!==r.parents[0]?`M ${c.x} ${c.y} L ${l.x-p} ${c.y} ${f} ${l.x} ${c.y+m} L ${l.x} ${l.y}`:`M ${c.x} ${c.y} L ${c.x} ${l.y-p} ${d} ${c.x+m} ${l.y} L ${l.x} ${l.y}`),c.y>l.y&&(g=r.type===o.MERGE&&n.id!==r.parents[0]?`M ${c.x} ${c.y} L ${l.x-p} ${c.y} ${d} ${l.x} ${c.y-m} L ${l.x} ${l.y}`:`M ${c.x} ${c.y} L ${c.x} ${l.y+p} ${f} ${c.x+m} ${l.y} L ${l.x} ${l.y}`),c.y===l.y&&(g=`M ${c.x} ${c.y} L ${l.x} ${l.y}`));if(g===void 0)throw Error(`Line definition not found`);t.append(`path`).attr(`d`,g).attr(`class`,`arrow arrow`+R(h,P,s))},`drawArrow`),Z=t.h((e,t)=>{let n=e.append(`g`).attr(`class`,`commit-arrows`);[...t.keys()].forEach(e=>{let r=t.get(e);r.parents&&r.parents.length>0&&r.parents.forEach(e=>{xe(n,t.get(e),r,t)})})},`drawArrows`),Se=t.h((t,n,r,i)=>{let{look:a,theme:o,themeVariables:s}=e.b(),{dropShadow:c,THEME_COLOR_LIMIT:l}=s,u=F.has(o??``),d=L.has(o??``),f=t.append(`g`);n.forEach((e,t)=>{let n=R(t,u?l:P,d),o=z.get(e.name)?.pos;if(o===void 0)throw Error(`Position not found for branch ${e.name}`);let s=G===`TB`||G===`BT`?o:u?o+I/2+1:o-2,p=f.append(`line`);p.attr(`x1`,0),p.attr(`y1`,s),p.attr(`x2`,W),p.attr(`y2`,s),p.attr(`class`,`branch branch`+n),G===`TB`?(p.attr(`y1`,V),p.attr(`x1`,o),p.attr(`y2`,W),p.attr(`x2`,o)):G===`BT`&&(p.attr(`y1`,W),p.attr(`x1`,o),p.attr(`y2`,V),p.attr(`x2`,o)),U.push(s);let m=e.name,h=q(m),g=f.insert(`rect`),_=f.insert(`g`).attr(`class`,`branchLabel`).insert(`g`).attr(`class`,`label branch-label`+n);_.node().appendChild(h);let v=h.getBBox(),y=u?0:4,b=u?16:0,x=u?I:0;a===`neo`&&g.attr(`data-look`,`neo`),g.attr(`class`,`branchLabelBkg label`+n).attr(`style`,a===`neo`?`filter:${u?`url(#${i}-drop-shadow)`:c}`:``).attr(`rx`,y).attr(`ry`,y).attr(`x`,-v.width-4-(r.rotateCommitLabel===!0?30:0)).attr(`y`,-v.height/2+10).attr(`width`,v.width+18+b).attr(`height`,v.height+4+x),_.attr(`transform`,`translate(`+(-v.width-14-(r.rotateCommitLabel===!0?30:0)+b/2)+`, `+(s-v.height/2-2)+`)`),G===`TB`?(g.attr(`x`,o-v.width/2-10).attr(`y`,0),_.attr(`transform`,`translate(`+(o-v.width/2-5)+`, 0)`),u&&(g.attr(`transform`,`translate(${-b/2-3}, ${-x-10})`),_.attr(`transform`,`translate(`+(o-v.width/2-5)+`, `+(-x*2+7)+`)`))):G===`BT`?(g.attr(`x`,o-v.width/2-10).attr(`y`,W),_.attr(`transform`,`translate(`+(o-v.width/2-5)+`, `+W+`)`),u&&(g.attr(`transform`,`translate(${-b/2-3}, ${x+10})`),_.attr(`transform`,`translate(`+(o-v.width/2-5)+`, `+(W+x*2+4)+`)`))):g.attr(`transform`,`translate(-19, `+(s-12-x/2)+`)`)})},`drawBranches`),Ce=t.h(function(e,t,n,r,i){return z.set(e,{pos:t,index:n}),t+=50+(i?40:0)+(G===`TB`||G===`BT`?r.width/2:0),t},`setBranchPosition`),we={draw:t.h(function(r,i,a,o){K(),t.g.debug(`in gitgraph renderer`,r+`
|
|
14
|
-
`,`id:`,i,a);let s=o.db;if(!s.getConfig){t.g.error(`getConfig method is not available on db`);return}let c=s.getConfig(),l=c.rotateCommitLabel??!1;H=s.getCommits();let u=s.getBranchesAsObjArray();G=s.getDirection();let d=t.p(`[id="${i}"]`),{look:f,theme:p,themeVariables:m}=e.b(),{useGradient:h,gradientStart:g,gradientStop:_,filterColor:v}=m;if(h){let e=d.append(`defs`).append(`linearGradient`).attr(`id`,i+`-gradient`).attr(`gradientUnits`,`objectBoundingBox`).attr(`x1`,`0%`).attr(`y1`,`0%`).attr(`x2`,`100%`).attr(`y2`,`0%`);e.append(`stop`).attr(`offset`,`0%`).attr(`stop-color`,g).attr(`stop-opacity`,1),e.append(`stop`).attr(`offset`,`100%`).attr(`stop-color`,_).attr(`stop-opacity`,1)}f===`neo`&&F.has(p??``)&&d.append(`defs`).append(`filter`).attr(`id`,i+`-drop-shadow`).attr(`height`,`130%`).attr(`width`,`130%`).append(`feDropShadow`).attr(`dx`,`4`).attr(`dy`,`4`).attr(`stdDeviation`,0).attr(`flood-opacity`,`0.06`).attr(`flood-color`,v);let y=0;u.forEach((e,t)=>{let n=q(e.name),r=d.append(`g`),i=r.insert(`g`).attr(`class`,`branchLabel`),a=i.insert(`g`).attr(`class`,`label branch-label`);a.node()?.appendChild(n);let o=n.getBBox();y=Ce(e.name,y,t,o,l),a.remove(),i.remove(),r.remove()}),Y(d,H,!1,c),c.showBranches&&Se(d,u,c,i),Z(d,H),Y(d,H,!0,c),n.h.insertTitle(d,`gitTitleText`,c.titleTopMargin??0,s.getDiagramTitle()),e.q(void 0,d,c.diagramPadding,c.useMaxWidth)},`draw`)},Q=8,$=new Set([`redux`,`redux-dark`,`redux-color`,`redux-dark-color`]),Te=new Set([`redux-color`,`redux-dark-color`]),Ee=new Set([`neo`,`neo-dark`]),De=new Set([`dark`,`redux-dark`,`redux-dark-color`,`neo-dark`]),Oe=new Set([`redux`,`redux-dark`,`redux-color`,`redux-dark-color`,`neo`,`neo-dark`]),ke=t.h(e=>{let{svgId:t}=e,n=``;if(e.useGradient&&t)for(let r=0;r<e.THEME_COLOR_LIMIT;r++)n+=`
|
|
15
|
-
.label${r} { fill: ${e.mainBkg}; stroke: url(${t}-gradient); stroke-width: ${e.strokeWidth};}
|
|
16
|
-
`;return n},`genGitGraphGradient`),Ae=t.h(t=>{let{theme:n,themeVariables:r}=e.y(),{borderColorArray:i}=r,a=$.has(n);if(Ee.has(n)){let e=``;for(let n=0;n<t.THEME_COLOR_LIMIT;n++)if(n===0)e+=`
|
|
17
|
-
.branch-label${n} { fill: ${t.nodeBorder};}
|
|
18
|
-
.commit${n} { stroke: ${t.nodeBorder}; }
|
|
19
|
-
.commit-highlight${n} { stroke: ${t.nodeBorder}; fill: ${t.nodeBorder}; }
|
|
20
|
-
.arrow${n} { stroke: ${t.nodeBorder}; }
|
|
21
|
-
.commit-bullets { fill: ${t.nodeBorder}; }
|
|
22
|
-
.commit-cherry-pick${n} { stroke: ${t.nodeBorder}; }
|
|
23
|
-
${ke(t)}`;else{let r=n%Q;e+=`
|
|
24
|
-
.branch-label${n} { fill: ${t[`gitBranchLabel`+r]}; }
|
|
25
|
-
.commit${n} { stroke: ${t[`git`+r]}; fill: ${t[`git`+r]}; }
|
|
26
|
-
.commit-highlight${n} { stroke: ${t[`gitInv`+r]}; fill: ${t[`gitInv`+r]}; }
|
|
27
|
-
.arrow${n} { stroke: ${t[`git`+r]}; }
|
|
28
|
-
`}return e}else if(Te.has(n)){let e=``;for(let r=0;r<t.THEME_COLOR_LIMIT;r++)if(r===0)e+=`
|
|
29
|
-
.branch-label${r} { fill: ${t.nodeBorder}; ${a?`font-weight:${t.noteFontWeight}`:``} }
|
|
30
|
-
.commit${r} { stroke: ${t.nodeBorder}; }
|
|
31
|
-
.commit-highlight${r} { stroke: ${t.nodeBorder}; fill: ${t.mainBkg}; }
|
|
32
|
-
.label${r} { fill: ${t.mainBkg}; stroke: ${t.nodeBorder}; stroke-width: ${t.strokeWidth}; ${a?`font-weight:${t.noteFontWeight}`:``} }
|
|
33
|
-
.arrow${r} { stroke: ${t.nodeBorder}; }
|
|
34
|
-
.commit-bullets { fill: ${t.nodeBorder}; }
|
|
35
|
-
`;else{let o=r%i.length;e+=`
|
|
36
|
-
.branch-label${r} { fill: ${t.nodeBorder}; ${a?`font-weight:${t.noteFontWeight}`:``} }
|
|
37
|
-
.commit${r} { stroke: ${i[o]}; fill: ${i[o]}; }
|
|
38
|
-
.commit-highlight${r} { stroke: ${i[o]}; fill: ${i[o]}; }
|
|
39
|
-
.label${r} { fill: ${De.has(n)?t.mainBkg:i[o]}; stroke: ${i[o]}; stroke-width: ${t.strokeWidth}; }
|
|
40
|
-
.arrow${r} { stroke: ${i[o]}; }
|
|
41
|
-
`}return e}else{let e=``;for(let n=0;n<t.THEME_COLOR_LIMIT;n++)e+=`
|
|
42
|
-
.branch-label${n} { fill: ${t.nodeBorder}; ${a?`font-weight:${t.noteFontWeight}`:``} }
|
|
43
|
-
.commit${n} { stroke: ${t.nodeBorder}; }
|
|
44
|
-
.commit-highlight${n} { stroke: ${t.nodeBorder}; fill: ${t.nodeBorder}; }
|
|
45
|
-
.label${n} { fill: ${t.mainBkg}; stroke: ${t.nodeBorder}; stroke-width: ${t.strokeWidth}; ${a?`font-weight:${t.noteFontWeight}`:``}}
|
|
46
|
-
.arrow${n} { stroke: ${t.nodeBorder}; }
|
|
47
|
-
.commit-bullets { fill: ${t.nodeBorder}; }
|
|
48
|
-
.commit-cherry-pick${n} { stroke: ${t.nodeBorder}; }
|
|
49
|
-
`;return e}},`genColor`),je=t.h(e=>`${Array.from({length:e.THEME_COLOR_LIMIT},(e,t)=>t).map(t=>{let n=t%Q;return`
|
|
50
|
-
.branch-label${t} { fill: ${e[`gitBranchLabel`+n]}; }
|
|
51
|
-
.commit${t} { stroke: ${e[`git`+n]}; fill: ${e[`git`+n]}; }
|
|
52
|
-
.commit-highlight${t} { stroke: ${e[`gitInv`+n]}; fill: ${e[`gitInv`+n]}; }
|
|
53
|
-
.label${t} { fill: ${e[`git`+n]}; }
|
|
54
|
-
.arrow${t} { stroke: ${e[`git`+n]}; }
|
|
55
|
-
`}).join(`
|
|
56
|
-
`)}`,`normalTheme`),Me={parser:oe,db:T,renderer:we,styles:t.h(t=>{let{theme:n}=e.y(),r=Oe.has(n);return`
|
|
57
|
-
.commit-id,
|
|
58
|
-
.commit-msg,
|
|
59
|
-
.branch-label {
|
|
60
|
-
fill: lightgrey;
|
|
61
|
-
color: lightgrey;
|
|
62
|
-
font-family: 'trebuchet ms', verdana, arial, sans-serif;
|
|
63
|
-
font-family: var(--mermaid-font-family);
|
|
64
|
-
}
|
|
65
|
-
|
|
66
|
-
${r?Ae(t):je(t)}
|
|
67
|
-
|
|
68
|
-
.branch {
|
|
69
|
-
stroke-width: ${t.strokeWidth};
|
|
70
|
-
stroke: ${t.commitLineColor??t.lineColor};
|
|
71
|
-
stroke-dasharray: ${r?`4 2`:`2`};
|
|
72
|
-
}
|
|
73
|
-
.commit-label { font-size: ${t.commitLabelFontSize}; fill: ${r?t.nodeBorder:t.commitLabelColor}; ${r?`font-weight:${t.noteFontWeight};`:``}}
|
|
74
|
-
.commit-label-bkg { font-size: ${t.commitLabelFontSize}; fill: ${r?`transparent`:t.commitLabelBackground}; opacity: ${r?``:.5}; }
|
|
75
|
-
.tag-label { font-size: ${t.tagLabelFontSize}; fill: ${t.tagLabelColor};}
|
|
76
|
-
.tag-label-bkg { fill: ${r?t.mainBkg:t.tagLabelBackground}; stroke: ${r?t.nodeBorder:t.tagLabelBorder}; ${r?`filter:${t.dropShadow}`:``} }
|
|
77
|
-
.tag-hole { fill: ${t.textColor}; }
|
|
78
|
-
|
|
79
|
-
.commit-merge {
|
|
80
|
-
stroke: ${r?t.mainBkg:t.primaryColor};
|
|
81
|
-
fill: ${r?t.mainBkg:t.primaryColor};
|
|
82
|
-
}
|
|
83
|
-
.commit-reverse {
|
|
84
|
-
stroke: ${r?t.mainBkg:t.primaryColor};
|
|
85
|
-
fill: ${r?t.mainBkg:t.primaryColor};
|
|
86
|
-
stroke-width: ${r?t.strokeWidth:3};
|
|
87
|
-
}
|
|
88
|
-
.commit-highlight-outer {
|
|
89
|
-
}
|
|
90
|
-
.commit-highlight-inner {
|
|
91
|
-
stroke: ${r?t.mainBkg:t.primaryColor};
|
|
92
|
-
fill: ${r?t.mainBkg:t.primaryColor};
|
|
93
|
-
}
|
|
94
|
-
|
|
95
|
-
.arrow {
|
|
96
|
-
/* Intentional: neo themes keep the bold 8px arrow (like classic themes); only redux-geometry themes use the thinner options.strokeWidth. */
|
|
97
|
-
stroke-width: ${$.has(n)?t.strokeWidth:8};
|
|
98
|
-
stroke-linecap: round;
|
|
99
|
-
fill: none
|
|
100
|
-
}
|
|
101
|
-
.gitTitleText {
|
|
102
|
-
text-anchor: middle;
|
|
103
|
-
font-size: 18px;
|
|
104
|
-
fill: ${t.textColor};
|
|
105
|
-
}
|
|
106
|
-
`},`getStyles`)};exports.diagram=Me;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
const e=require(`./chunk-5PVQY5BW-DEPZKGvb.cjs`),t=require(`./identity-KQSjemTb.cjs`),n=require(`./isEmpty-CA3kJuev.cjs`),r=require(`./reduce-B7WW9rkU.cjs`);function i(t,n){return t&&e.w(n,r.x(n),t)}function a(t,n){return t&&e.w(n,e.C(n),t)}function o(t,n){return e.w(t,r.S(t),n)}var s=Object.getOwnPropertySymbols?function(t){for(var n=[];t;)r.T(n,r.S(t)),t=e.O(t);return n}:r.C;function c(t,n){return e.w(t,s(t),n)}function l(t){return r.w(t,e.C,s)}var u=Object.prototype.hasOwnProperty;function d(e){var t=e.length,n=new e.constructor(t);return t&&typeof e[0]==`string`&&u.call(e,`index`)&&(n.index=e.index,n.input=e.input),n}function f(t,n){var r=n?e.j(t.buffer):t.buffer;return new t.constructor(r,t.byteOffset,t.byteLength)}var p=/\w*$/;function m(e){var t=new e.constructor(e.source,p.exec(e));return t.lastIndex=e.lastIndex,t}var h=t.D?t.D.prototype:void 0,g=h?h.valueOf:void 0;function _(e){return g?Object(g.call(e)):{}}var v=`[object Boolean]`,y=`[object Date]`,b=`[object Map]`,x=`[object Number]`,S=`[object RegExp]`,C=`[object Set]`,w=`[object String]`,T=`[object Symbol]`,ee=`[object ArrayBuffer]`,te=`[object DataView]`,ne=`[object Float32Array]`,re=`[object Float64Array]`,ie=`[object Int8Array]`,ae=`[object Int16Array]`,oe=`[object Int32Array]`,se=`[object Uint8Array]`,ce=`[object Uint8ClampedArray]`,le=`[object Uint16Array]`,ue=`[object Uint32Array]`;function de(t,n,r){var i=t.constructor;switch(n){case ee:return e.j(t);case v:case y:return new i(+t);case te:return f(t,r);case ne:case re:case ie:case ae:case oe:case se:case ce:case le:case ue:return e.A(t,r);case b:return new i;case x:case w:return new i(t);case S:return m(t);case C:return new i;case T:return _(t)}}var fe=`[object Map]`;function pe(e){return t.f(e)&&n.n(e)==fe}var E=t.a&&t.a.isMap,D=E?t.o(E):pe,O=`[object Set]`;function k(e){return t.f(e)&&n.n(e)==O}var A=t.a&&t.a.isSet,j=A?t.o(A):k,M=1,N=2,P=4,F=`[object Arguments]`,I=`[object Array]`,L=`[object Boolean]`,R=`[object Date]`,z=`[object Error]`,B=`[object Function]`,me=`[object GeneratorFunction]`,he=`[object Map]`,ge=`[object Number]`,V=`[object Object]`,_e=`[object RegExp]`,ve=`[object Set]`,ye=`[object String]`,be=`[object Symbol]`,xe=`[object WeakMap]`,Se=`[object ArrayBuffer]`,Ce=`[object DataView]`,we=`[object Float32Array]`,Te=`[object Float64Array]`,Ee=`[object Int8Array]`,De=`[object Int16Array]`,Oe=`[object Int32Array]`,ke=`[object Uint8Array]`,Ae=`[object Uint8ClampedArray]`,je=`[object Uint16Array]`,Me=`[object Uint32Array]`,H={};H[F]=H[I]=H[Se]=H[Ce]=H[L]=H[R]=H[we]=H[Te]=H[Ee]=H[De]=H[Oe]=H[he]=H[ge]=H[V]=H[_e]=H[ve]=H[ye]=H[be]=H[ke]=H[Ae]=H[je]=H[Me]=!0,H[z]=H[B]=H[xe]=!1;function U(s,u,f,p,m,h){var g,_=u&M,v=u&N,y=u&P;if(f&&(g=m?f(s,p,m,h):f(s)),g!==void 0)return g;if(!t.T(s))return s;var b=t.u(s);if(b){if(g=d(s),!_)return e.k(s,g)}else{var x=n.n(s),S=x==B||x==me;if(t.s(s))return e.M(s,_);if(x==V||x==F||S&&!m){if(g=v||S?{}:e.D(s),!_)return v?c(s,a(g,s)):o(s,i(g,s))}else{if(!H[x])return m?s:{};g=de(s,x,_)}}h||=new t._;var C=h.get(s);if(C)return C;h.set(s,g),j(s)?s.forEach(function(e){g.add(U(e,u,f,e,s,h))}):D(s)&&s.forEach(function(e,t){g.set(t,U(e,u,f,t,s,h))});var w=b?void 0:(y?v?l:r.b:v?e.C:r.x)(s);return r.i(w||s,function(t,n){w&&(n=t,t=s[n]),e.T(g,n,U(t,u,f,n,s,h))}),g}function Ne(e,t){return r.E(t,function(t){return e[t]})}function W(e){return e==null?[]:Ne(e,r.x(e))}function G(e){return e===void 0}var Pe=e.y(function(t){return r.a(r.s(t,1,e.E,!0))}),K=`\0`,q=`\0`,J=``,Y=class{constructor(t={}){this._isDirected=Object.prototype.hasOwnProperty.call(t,`directed`)?t.directed:!0,this._isMultigraph=Object.prototype.hasOwnProperty.call(t,`multigraph`)?t.multigraph:!1,this._isCompound=Object.prototype.hasOwnProperty.call(t,`compound`)?t.compound:!1,this._label=void 0,this._defaultNodeLabelFn=e.x(void 0),this._defaultEdgeLabelFn=e.x(void 0),this._nodes={},this._isCompound&&(this._parent={},this._children={},this._children[q]={}),this._in={},this._preds={},this._out={},this._sucs={},this._edgeObjs={},this._edgeLabels={}}isDirected(){return this._isDirected}isMultigraph(){return this._isMultigraph}isCompound(){return this._isCompound}setGraph(e){return this._label=e,this}graph(){return this._label}setDefaultNodeLabel(n){return t.w(n)||(n=e.x(n)),this._defaultNodeLabelFn=n,this}nodeCount(){return this._nodeCount}nodes(){return r.x(this._nodes)}sources(){var e=this;return r.c(this.nodes(),function(t){return n.t(e._in[t])})}sinks(){var e=this;return r.c(this.nodes(),function(t){return n.t(e._out[t])})}setNodes(e,t){var n=arguments,i=this;return r.n(e,function(e){n.length>1?i.setNode(e,t):i.setNode(e)}),this}setNode(e,t){return Object.prototype.hasOwnProperty.call(this._nodes,e)?(arguments.length>1&&(this._nodes[e]=t),this):(this._nodes[e]=arguments.length>1?t:this._defaultNodeLabelFn(e),this._isCompound&&(this._parent[e]=q,this._children[e]={},this._children[q][e]=!0),this._in[e]={},this._preds[e]={},this._out[e]={},this._sucs[e]={},++this._nodeCount,this)}node(e){return this._nodes[e]}hasNode(e){return Object.prototype.hasOwnProperty.call(this._nodes,e)}removeNode(e){if(Object.prototype.hasOwnProperty.call(this._nodes,e)){var t=e=>this.removeEdge(this._edgeObjs[e]);delete this._nodes[e],this._isCompound&&(this._removeFromParentsChildList(e),delete this._parent[e],r.n(this.children(e),e=>{this.setParent(e)}),delete this._children[e]),r.n(r.x(this._in[e]),t),delete this._in[e],delete this._preds[e],r.n(r.x(this._out[e]),t),delete this._out[e],delete this._sucs[e],--this._nodeCount}return this}setParent(e,t){if(!this._isCompound)throw Error(`Cannot set parent in a non-compound graph`);if(G(t))t=q;else{t+=``;for(var n=t;!G(n);n=this.parent(n))if(n===e)throw Error(`Setting `+t+` as parent of `+e+` would create a cycle`);this.setNode(t)}return this.setNode(e),this._removeFromParentsChildList(e),this._parent[e]=t,this._children[t][e]=!0,this}_removeFromParentsChildList(e){delete this._children[this._parent[e]][e]}parent(e){if(this._isCompound){var t=this._parent[e];if(t!==q)return t}}children(e){if(G(e)&&(e=q),this._isCompound){var t=this._children[e];if(t)return r.x(t)}else if(e===q)return this.nodes();else if(this.hasNode(e))return[]}predecessors(e){var t=this._preds[e];if(t)return r.x(t)}successors(e){var t=this._sucs[e];if(t)return r.x(t)}neighbors(e){var t=this.predecessors(e);if(t)return Pe(t,this.successors(e))}isLeaf(e){return(this.isDirected()?this.successors(e):this.neighbors(e)).length===0}filterNodes(e){var t=new this.constructor({directed:this._isDirected,multigraph:this._isMultigraph,compound:this._isCompound});t.setGraph(this.graph());var n=this;r.n(this._nodes,function(n,r){e(r)&&t.setNode(r,n)}),r.n(this._edgeObjs,function(e){t.hasNode(e.v)&&t.hasNode(e.w)&&t.setEdge(e,n.edge(e))});var i={};function a(e){var r=n.parent(e);return r===void 0||t.hasNode(r)?(i[e]=r,r):r in i?i[r]:a(r)}return this._isCompound&&r.n(t.nodes(),function(e){t.setParent(e,a(e))}),t}setDefaultEdgeLabel(n){return t.w(n)||(n=e.x(n)),this._defaultEdgeLabelFn=n,this}edgeCount(){return this._edgeCount}edges(){return W(this._edgeObjs)}setPath(e,t){var n=this,i=arguments;return r.t(e,function(e,r){return i.length>1?n.setEdge(e,r,t):n.setEdge(e,r),r}),this}setEdge(){var e,t,n,r,i=!1,a=arguments[0];typeof a==`object`&&a&&`v`in a?(e=a.v,t=a.w,n=a.name,arguments.length===2&&(r=arguments[1],i=!0)):(e=a,t=arguments[1],n=arguments[3],arguments.length>2&&(r=arguments[2],i=!0)),e=``+e,t=``+t,G(n)||(n=``+n);var o=Q(this._isDirected,e,t,n);if(Object.prototype.hasOwnProperty.call(this._edgeLabels,o))return i&&(this._edgeLabels[o]=r),this;if(!G(n)&&!this._isMultigraph)throw Error(`Cannot set a named edge when isMultigraph = false`);this.setNode(e),this.setNode(t),this._edgeLabels[o]=i?r:this._defaultEdgeLabelFn(e,t,n);var s=Fe(this._isDirected,e,t,n);return e=s.v,t=s.w,Object.freeze(s),this._edgeObjs[o]=s,X(this._preds[t],e),X(this._sucs[e],t),this._in[t][o]=s,this._out[e][o]=s,this._edgeCount++,this}edge(e,t,n){var r=arguments.length===1?$(this._isDirected,arguments[0]):Q(this._isDirected,e,t,n);return this._edgeLabels[r]}hasEdge(e,t,n){var r=arguments.length===1?$(this._isDirected,arguments[0]):Q(this._isDirected,e,t,n);return Object.prototype.hasOwnProperty.call(this._edgeLabels,r)}removeEdge(e,t,n){var r=arguments.length===1?$(this._isDirected,arguments[0]):Q(this._isDirected,e,t,n),i=this._edgeObjs[r];return i&&(e=i.v,t=i.w,delete this._edgeLabels[r],delete this._edgeObjs[r],Z(this._preds[t],e),Z(this._sucs[e],t),delete this._in[t][r],delete this._out[e][r],this._edgeCount--),this}inEdges(e,t){var n=this._in[e];if(n){var i=W(n);return t?r.c(i,function(e){return e.v===t}):i}}outEdges(e,t){var n=this._out[e];if(n){var i=W(n);return t?r.c(i,function(e){return e.w===t}):i}}nodeEdges(e,t){var n=this.inEdges(e,t);if(n)return n.concat(this.outEdges(e,t))}};Y.prototype._nodeCount=0,Y.prototype._edgeCount=0;function X(e,t){e[t]?e[t]++:e[t]=1}function Z(e,t){--e[t]||delete e[t]}function Q(e,t,n,r){var i=``+t,a=``+n;if(!e&&i>a){var o=i;i=a,a=o}return i+J+a+J+(G(r)?K:r)}function Fe(e,t,n,r){var i=``+t,a=``+n;if(!e&&i>a){var o=i;i=a,a=o}var s={v:i,w:a};return r&&(s.name=r),s}function $(e,t){return Q(e,t.v,t.w,t.name)}Object.defineProperty(exports,`i`,{enumerable:!0,get:function(){return U}}),Object.defineProperty(exports,`n`,{enumerable:!0,get:function(){return G}}),Object.defineProperty(exports,`r`,{enumerable:!0,get:function(){return W}}),Object.defineProperty(exports,`t`,{enumerable:!0,get:function(){return Y}});
|
|
@@ -1,373 +0,0 @@
|
|
|
1
|
-
import { A as e, C as t, D as n, E as r, M as i, O as a, T as o, j as s, k as c, w as l, x as u, y as d } from "./chunk-5PVQY5BW-Dn8n6moB.js";
|
|
2
|
-
import { D as f, T as ee, _ as te, a as p, f as m, o as h, s as ne, u as re, w as g } from "./identity-g0dsMjx7.js";
|
|
3
|
-
import { n as _, t as v } from "./isEmpty-RwX-oIQS.js";
|
|
4
|
-
import { C as y, E as b, S as x, T as S, a as ie, b as ae, c as C, i as oe, n as w, s as se, t as ce, w as le, x as T } from "./reduce-DNnkcf3M.js";
|
|
5
|
-
//#region node_modules/lodash-es/_baseAssign.js
|
|
6
|
-
function ue(e, t) {
|
|
7
|
-
return e && l(t, T(t), e);
|
|
8
|
-
}
|
|
9
|
-
//#endregion
|
|
10
|
-
//#region node_modules/lodash-es/_baseAssignIn.js
|
|
11
|
-
function de(e, n) {
|
|
12
|
-
return e && l(n, t(n), e);
|
|
13
|
-
}
|
|
14
|
-
//#endregion
|
|
15
|
-
//#region node_modules/lodash-es/_copySymbols.js
|
|
16
|
-
function fe(e, t) {
|
|
17
|
-
return l(e, x(e), t);
|
|
18
|
-
}
|
|
19
|
-
//#endregion
|
|
20
|
-
//#region node_modules/lodash-es/_getSymbolsIn.js
|
|
21
|
-
var E = Object.getOwnPropertySymbols ? function(e) {
|
|
22
|
-
for (var t = []; e;) S(t, x(e)), e = a(e);
|
|
23
|
-
return t;
|
|
24
|
-
} : y;
|
|
25
|
-
//#endregion
|
|
26
|
-
//#region node_modules/lodash-es/_copySymbolsIn.js
|
|
27
|
-
function pe(e, t) {
|
|
28
|
-
return l(e, E(e), t);
|
|
29
|
-
}
|
|
30
|
-
//#endregion
|
|
31
|
-
//#region node_modules/lodash-es/_getAllKeysIn.js
|
|
32
|
-
function me(e) {
|
|
33
|
-
return le(e, t, E);
|
|
34
|
-
}
|
|
35
|
-
//#endregion
|
|
36
|
-
//#region node_modules/lodash-es/_initCloneArray.js
|
|
37
|
-
var he = Object.prototype.hasOwnProperty;
|
|
38
|
-
function ge(e) {
|
|
39
|
-
var t = e.length, n = new e.constructor(t);
|
|
40
|
-
return t && typeof e[0] == "string" && he.call(e, "index") && (n.index = e.index, n.input = e.input), n;
|
|
41
|
-
}
|
|
42
|
-
//#endregion
|
|
43
|
-
//#region node_modules/lodash-es/_cloneDataView.js
|
|
44
|
-
function _e(e, t) {
|
|
45
|
-
var n = t ? s(e.buffer) : e.buffer;
|
|
46
|
-
return new e.constructor(n, e.byteOffset, e.byteLength);
|
|
47
|
-
}
|
|
48
|
-
//#endregion
|
|
49
|
-
//#region node_modules/lodash-es/_cloneRegExp.js
|
|
50
|
-
var D = /\w*$/;
|
|
51
|
-
function O(e) {
|
|
52
|
-
var t = new e.constructor(e.source, D.exec(e));
|
|
53
|
-
return t.lastIndex = e.lastIndex, t;
|
|
54
|
-
}
|
|
55
|
-
//#endregion
|
|
56
|
-
//#region node_modules/lodash-es/_cloneSymbol.js
|
|
57
|
-
var k = f ? f.prototype : void 0, A = k ? k.valueOf : void 0;
|
|
58
|
-
function j(e) {
|
|
59
|
-
return A ? Object(A.call(e)) : {};
|
|
60
|
-
}
|
|
61
|
-
//#endregion
|
|
62
|
-
//#region node_modules/lodash-es/_initCloneByTag.js
|
|
63
|
-
var M = "[object Boolean]", N = "[object Date]", P = "[object Map]", F = "[object Number]", I = "[object RegExp]", ve = "[object Set]", ye = "[object String]", be = "[object Symbol]", xe = "[object ArrayBuffer]", Se = "[object DataView]", Ce = "[object Float32Array]", we = "[object Float64Array]", Te = "[object Int8Array]", Ee = "[object Int16Array]", De = "[object Int32Array]", Oe = "[object Uint8Array]", ke = "[object Uint8ClampedArray]", Ae = "[object Uint16Array]", je = "[object Uint32Array]";
|
|
64
|
-
function Me(t, n, r) {
|
|
65
|
-
var i = t.constructor;
|
|
66
|
-
switch (n) {
|
|
67
|
-
case xe: return s(t);
|
|
68
|
-
case M:
|
|
69
|
-
case N: return new i(+t);
|
|
70
|
-
case Se: return _e(t, r);
|
|
71
|
-
case Ce:
|
|
72
|
-
case we:
|
|
73
|
-
case Te:
|
|
74
|
-
case Ee:
|
|
75
|
-
case De:
|
|
76
|
-
case Oe:
|
|
77
|
-
case ke:
|
|
78
|
-
case Ae:
|
|
79
|
-
case je: return e(t, r);
|
|
80
|
-
case P: return new i();
|
|
81
|
-
case F:
|
|
82
|
-
case ye: return new i(t);
|
|
83
|
-
case I: return O(t);
|
|
84
|
-
case ve: return new i();
|
|
85
|
-
case be: return j(t);
|
|
86
|
-
}
|
|
87
|
-
}
|
|
88
|
-
//#endregion
|
|
89
|
-
//#region node_modules/lodash-es/_baseIsMap.js
|
|
90
|
-
var Ne = "[object Map]";
|
|
91
|
-
function Pe(e) {
|
|
92
|
-
return m(e) && _(e) == Ne;
|
|
93
|
-
}
|
|
94
|
-
//#endregion
|
|
95
|
-
//#region node_modules/lodash-es/isMap.js
|
|
96
|
-
var L = p && p.isMap, Fe = L ? h(L) : Pe, Ie = "[object Set]";
|
|
97
|
-
function Le(e) {
|
|
98
|
-
return m(e) && _(e) == Ie;
|
|
99
|
-
}
|
|
100
|
-
//#endregion
|
|
101
|
-
//#region node_modules/lodash-es/isSet.js
|
|
102
|
-
var R = p && p.isSet, Re = R ? h(R) : Le, ze = 1, Be = 2, Ve = 4, z = "[object Arguments]", He = "[object Array]", Ue = "[object Boolean]", We = "[object Date]", Ge = "[object Error]", B = "[object Function]", Ke = "[object GeneratorFunction]", qe = "[object Map]", Je = "[object Number]", V = "[object Object]", Ye = "[object RegExp]", Xe = "[object Set]", Ze = "[object String]", Qe = "[object Symbol]", $e = "[object WeakMap]", et = "[object ArrayBuffer]", tt = "[object DataView]", nt = "[object Float32Array]", rt = "[object Float64Array]", it = "[object Int8Array]", at = "[object Int16Array]", ot = "[object Int32Array]", st = "[object Uint8Array]", ct = "[object Uint8ClampedArray]", lt = "[object Uint16Array]", ut = "[object Uint32Array]", H = {};
|
|
103
|
-
H[z] = H[He] = H[et] = H[tt] = H[Ue] = H[We] = H[nt] = H[rt] = H[it] = H[at] = H[ot] = H[qe] = H[Je] = H[V] = H[Ye] = H[Xe] = H[Ze] = H[Qe] = H[st] = H[ct] = H[lt] = H[ut] = !0, H[Ge] = H[B] = H[$e] = !1;
|
|
104
|
-
function U(e, r, a, s, l, u) {
|
|
105
|
-
var d, f = r & ze, p = r & Be, m = r & Ve;
|
|
106
|
-
if (a && (d = l ? a(e, s, l, u) : a(e)), d !== void 0) return d;
|
|
107
|
-
if (!ee(e)) return e;
|
|
108
|
-
var h = re(e);
|
|
109
|
-
if (h) {
|
|
110
|
-
if (d = ge(e), !f) return c(e, d);
|
|
111
|
-
} else {
|
|
112
|
-
var g = _(e), v = g == B || g == Ke;
|
|
113
|
-
if (ne(e)) return i(e, f);
|
|
114
|
-
if (g == V || g == z || v && !l) {
|
|
115
|
-
if (d = p || v ? {} : n(e), !f) return p ? pe(e, de(d, e)) : fe(e, ue(d, e));
|
|
116
|
-
} else {
|
|
117
|
-
if (!H[g]) return l ? e : {};
|
|
118
|
-
d = Me(e, g, f);
|
|
119
|
-
}
|
|
120
|
-
}
|
|
121
|
-
u ||= new te();
|
|
122
|
-
var y = u.get(e);
|
|
123
|
-
if (y) return y;
|
|
124
|
-
u.set(e, d), Re(e) ? e.forEach(function(t) {
|
|
125
|
-
d.add(U(t, r, a, t, e, u));
|
|
126
|
-
}) : Fe(e) && e.forEach(function(t, n) {
|
|
127
|
-
d.set(n, U(t, r, a, n, e, u));
|
|
128
|
-
});
|
|
129
|
-
var b = h ? void 0 : (m ? p ? me : ae : p ? t : T)(e);
|
|
130
|
-
return oe(b || e, function(t, n) {
|
|
131
|
-
b && (n = t, t = e[n]), o(d, n, U(t, r, a, n, e, u));
|
|
132
|
-
}), d;
|
|
133
|
-
}
|
|
134
|
-
//#endregion
|
|
135
|
-
//#region node_modules/lodash-es/_baseValues.js
|
|
136
|
-
function W(e, t) {
|
|
137
|
-
return b(t, function(t) {
|
|
138
|
-
return e[t];
|
|
139
|
-
});
|
|
140
|
-
}
|
|
141
|
-
//#endregion
|
|
142
|
-
//#region node_modules/lodash-es/values.js
|
|
143
|
-
function G(e) {
|
|
144
|
-
return e == null ? [] : W(e, T(e));
|
|
145
|
-
}
|
|
146
|
-
//#endregion
|
|
147
|
-
//#region node_modules/lodash-es/isUndefined.js
|
|
148
|
-
function K(e) {
|
|
149
|
-
return e === void 0;
|
|
150
|
-
}
|
|
151
|
-
//#endregion
|
|
152
|
-
//#region node_modules/lodash-es/union.js
|
|
153
|
-
var dt = d(function(e) {
|
|
154
|
-
return ie(se(e, 1, r, !0));
|
|
155
|
-
}), ft = "\0", q = "\0", J = "", Y = class {
|
|
156
|
-
constructor(e = {}) {
|
|
157
|
-
this._isDirected = Object.prototype.hasOwnProperty.call(e, "directed") ? e.directed : !0, this._isMultigraph = Object.prototype.hasOwnProperty.call(e, "multigraph") ? e.multigraph : !1, this._isCompound = Object.prototype.hasOwnProperty.call(e, "compound") ? e.compound : !1, this._label = void 0, this._defaultNodeLabelFn = u(void 0), this._defaultEdgeLabelFn = u(void 0), this._nodes = {}, this._isCompound && (this._parent = {}, this._children = {}, this._children[q] = {}), this._in = {}, this._preds = {}, this._out = {}, this._sucs = {}, this._edgeObjs = {}, this._edgeLabels = {};
|
|
158
|
-
}
|
|
159
|
-
isDirected() {
|
|
160
|
-
return this._isDirected;
|
|
161
|
-
}
|
|
162
|
-
isMultigraph() {
|
|
163
|
-
return this._isMultigraph;
|
|
164
|
-
}
|
|
165
|
-
isCompound() {
|
|
166
|
-
return this._isCompound;
|
|
167
|
-
}
|
|
168
|
-
setGraph(e) {
|
|
169
|
-
return this._label = e, this;
|
|
170
|
-
}
|
|
171
|
-
graph() {
|
|
172
|
-
return this._label;
|
|
173
|
-
}
|
|
174
|
-
setDefaultNodeLabel(e) {
|
|
175
|
-
return g(e) || (e = u(e)), this._defaultNodeLabelFn = e, this;
|
|
176
|
-
}
|
|
177
|
-
nodeCount() {
|
|
178
|
-
return this._nodeCount;
|
|
179
|
-
}
|
|
180
|
-
nodes() {
|
|
181
|
-
return T(this._nodes);
|
|
182
|
-
}
|
|
183
|
-
sources() {
|
|
184
|
-
var e = this;
|
|
185
|
-
return C(this.nodes(), function(t) {
|
|
186
|
-
return v(e._in[t]);
|
|
187
|
-
});
|
|
188
|
-
}
|
|
189
|
-
sinks() {
|
|
190
|
-
var e = this;
|
|
191
|
-
return C(this.nodes(), function(t) {
|
|
192
|
-
return v(e._out[t]);
|
|
193
|
-
});
|
|
194
|
-
}
|
|
195
|
-
setNodes(e, t) {
|
|
196
|
-
var n = arguments, r = this;
|
|
197
|
-
return w(e, function(e) {
|
|
198
|
-
n.length > 1 ? r.setNode(e, t) : r.setNode(e);
|
|
199
|
-
}), this;
|
|
200
|
-
}
|
|
201
|
-
setNode(e, t) {
|
|
202
|
-
return Object.prototype.hasOwnProperty.call(this._nodes, e) ? (arguments.length > 1 && (this._nodes[e] = t), this) : (this._nodes[e] = arguments.length > 1 ? t : this._defaultNodeLabelFn(e), this._isCompound && (this._parent[e] = q, this._children[e] = {}, this._children[q][e] = !0), this._in[e] = {}, this._preds[e] = {}, this._out[e] = {}, this._sucs[e] = {}, ++this._nodeCount, this);
|
|
203
|
-
}
|
|
204
|
-
node(e) {
|
|
205
|
-
return this._nodes[e];
|
|
206
|
-
}
|
|
207
|
-
hasNode(e) {
|
|
208
|
-
return Object.prototype.hasOwnProperty.call(this._nodes, e);
|
|
209
|
-
}
|
|
210
|
-
removeNode(e) {
|
|
211
|
-
if (Object.prototype.hasOwnProperty.call(this._nodes, e)) {
|
|
212
|
-
var t = (e) => this.removeEdge(this._edgeObjs[e]);
|
|
213
|
-
delete this._nodes[e], this._isCompound && (this._removeFromParentsChildList(e), delete this._parent[e], w(this.children(e), (e) => {
|
|
214
|
-
this.setParent(e);
|
|
215
|
-
}), delete this._children[e]), w(T(this._in[e]), t), delete this._in[e], delete this._preds[e], w(T(this._out[e]), t), delete this._out[e], delete this._sucs[e], --this._nodeCount;
|
|
216
|
-
}
|
|
217
|
-
return this;
|
|
218
|
-
}
|
|
219
|
-
setParent(e, t) {
|
|
220
|
-
if (!this._isCompound) throw Error("Cannot set parent in a non-compound graph");
|
|
221
|
-
if (K(t)) t = q;
|
|
222
|
-
else {
|
|
223
|
-
t += "";
|
|
224
|
-
for (var n = t; !K(n); n = this.parent(n)) if (n === e) throw Error("Setting " + t + " as parent of " + e + " would create a cycle");
|
|
225
|
-
this.setNode(t);
|
|
226
|
-
}
|
|
227
|
-
return this.setNode(e), this._removeFromParentsChildList(e), this._parent[e] = t, this._children[t][e] = !0, this;
|
|
228
|
-
}
|
|
229
|
-
_removeFromParentsChildList(e) {
|
|
230
|
-
delete this._children[this._parent[e]][e];
|
|
231
|
-
}
|
|
232
|
-
parent(e) {
|
|
233
|
-
if (this._isCompound) {
|
|
234
|
-
var t = this._parent[e];
|
|
235
|
-
if (t !== q) return t;
|
|
236
|
-
}
|
|
237
|
-
}
|
|
238
|
-
children(e) {
|
|
239
|
-
if (K(e) && (e = q), this._isCompound) {
|
|
240
|
-
var t = this._children[e];
|
|
241
|
-
if (t) return T(t);
|
|
242
|
-
} else if (e === q) return this.nodes();
|
|
243
|
-
else if (this.hasNode(e)) return [];
|
|
244
|
-
}
|
|
245
|
-
predecessors(e) {
|
|
246
|
-
var t = this._preds[e];
|
|
247
|
-
if (t) return T(t);
|
|
248
|
-
}
|
|
249
|
-
successors(e) {
|
|
250
|
-
var t = this._sucs[e];
|
|
251
|
-
if (t) return T(t);
|
|
252
|
-
}
|
|
253
|
-
neighbors(e) {
|
|
254
|
-
var t = this.predecessors(e);
|
|
255
|
-
if (t) return dt(t, this.successors(e));
|
|
256
|
-
}
|
|
257
|
-
isLeaf(e) {
|
|
258
|
-
return (this.isDirected() ? this.successors(e) : this.neighbors(e)).length === 0;
|
|
259
|
-
}
|
|
260
|
-
filterNodes(e) {
|
|
261
|
-
var t = new this.constructor({
|
|
262
|
-
directed: this._isDirected,
|
|
263
|
-
multigraph: this._isMultigraph,
|
|
264
|
-
compound: this._isCompound
|
|
265
|
-
});
|
|
266
|
-
t.setGraph(this.graph());
|
|
267
|
-
var n = this;
|
|
268
|
-
w(this._nodes, function(n, r) {
|
|
269
|
-
e(r) && t.setNode(r, n);
|
|
270
|
-
}), w(this._edgeObjs, function(e) {
|
|
271
|
-
t.hasNode(e.v) && t.hasNode(e.w) && t.setEdge(e, n.edge(e));
|
|
272
|
-
});
|
|
273
|
-
var r = {};
|
|
274
|
-
function i(e) {
|
|
275
|
-
var a = n.parent(e);
|
|
276
|
-
return a === void 0 || t.hasNode(a) ? (r[e] = a, a) : a in r ? r[a] : i(a);
|
|
277
|
-
}
|
|
278
|
-
return this._isCompound && w(t.nodes(), function(e) {
|
|
279
|
-
t.setParent(e, i(e));
|
|
280
|
-
}), t;
|
|
281
|
-
}
|
|
282
|
-
setDefaultEdgeLabel(e) {
|
|
283
|
-
return g(e) || (e = u(e)), this._defaultEdgeLabelFn = e, this;
|
|
284
|
-
}
|
|
285
|
-
edgeCount() {
|
|
286
|
-
return this._edgeCount;
|
|
287
|
-
}
|
|
288
|
-
edges() {
|
|
289
|
-
return G(this._edgeObjs);
|
|
290
|
-
}
|
|
291
|
-
setPath(e, t) {
|
|
292
|
-
var n = this, r = arguments;
|
|
293
|
-
return ce(e, function(e, i) {
|
|
294
|
-
return r.length > 1 ? n.setEdge(e, i, t) : n.setEdge(e, i), i;
|
|
295
|
-
}), this;
|
|
296
|
-
}
|
|
297
|
-
setEdge() {
|
|
298
|
-
var e, t, n, r, i = !1, a = arguments[0];
|
|
299
|
-
typeof a == "object" && a && "v" in a ? (e = a.v, t = a.w, n = a.name, arguments.length === 2 && (r = arguments[1], i = !0)) : (e = a, t = arguments[1], n = arguments[3], arguments.length > 2 && (r = arguments[2], i = !0)), e = "" + e, t = "" + t, K(n) || (n = "" + n);
|
|
300
|
-
var o = Q(this._isDirected, e, t, n);
|
|
301
|
-
if (Object.prototype.hasOwnProperty.call(this._edgeLabels, o)) return i && (this._edgeLabels[o] = r), this;
|
|
302
|
-
if (!K(n) && !this._isMultigraph) throw Error("Cannot set a named edge when isMultigraph = false");
|
|
303
|
-
this.setNode(e), this.setNode(t), this._edgeLabels[o] = i ? r : this._defaultEdgeLabelFn(e, t, n);
|
|
304
|
-
var s = pt(this._isDirected, e, t, n);
|
|
305
|
-
return e = s.v, t = s.w, Object.freeze(s), this._edgeObjs[o] = s, X(this._preds[t], e), X(this._sucs[e], t), this._in[t][o] = s, this._out[e][o] = s, this._edgeCount++, this;
|
|
306
|
-
}
|
|
307
|
-
edge(e, t, n) {
|
|
308
|
-
var r = arguments.length === 1 ? $(this._isDirected, arguments[0]) : Q(this._isDirected, e, t, n);
|
|
309
|
-
return this._edgeLabels[r];
|
|
310
|
-
}
|
|
311
|
-
hasEdge(e, t, n) {
|
|
312
|
-
var r = arguments.length === 1 ? $(this._isDirected, arguments[0]) : Q(this._isDirected, e, t, n);
|
|
313
|
-
return Object.prototype.hasOwnProperty.call(this._edgeLabels, r);
|
|
314
|
-
}
|
|
315
|
-
removeEdge(e, t, n) {
|
|
316
|
-
var r = arguments.length === 1 ? $(this._isDirected, arguments[0]) : Q(this._isDirected, e, t, n), i = this._edgeObjs[r];
|
|
317
|
-
return i && (e = i.v, t = i.w, delete this._edgeLabels[r], delete this._edgeObjs[r], Z(this._preds[t], e), Z(this._sucs[e], t), delete this._in[t][r], delete this._out[e][r], this._edgeCount--), this;
|
|
318
|
-
}
|
|
319
|
-
inEdges(e, t) {
|
|
320
|
-
var n = this._in[e];
|
|
321
|
-
if (n) {
|
|
322
|
-
var r = G(n);
|
|
323
|
-
return t ? C(r, function(e) {
|
|
324
|
-
return e.v === t;
|
|
325
|
-
}) : r;
|
|
326
|
-
}
|
|
327
|
-
}
|
|
328
|
-
outEdges(e, t) {
|
|
329
|
-
var n = this._out[e];
|
|
330
|
-
if (n) {
|
|
331
|
-
var r = G(n);
|
|
332
|
-
return t ? C(r, function(e) {
|
|
333
|
-
return e.w === t;
|
|
334
|
-
}) : r;
|
|
335
|
-
}
|
|
336
|
-
}
|
|
337
|
-
nodeEdges(e, t) {
|
|
338
|
-
var n = this.inEdges(e, t);
|
|
339
|
-
if (n) return n.concat(this.outEdges(e, t));
|
|
340
|
-
}
|
|
341
|
-
};
|
|
342
|
-
Y.prototype._nodeCount = 0, Y.prototype._edgeCount = 0;
|
|
343
|
-
function X(e, t) {
|
|
344
|
-
e[t] ? e[t]++ : e[t] = 1;
|
|
345
|
-
}
|
|
346
|
-
function Z(e, t) {
|
|
347
|
-
--e[t] || delete e[t];
|
|
348
|
-
}
|
|
349
|
-
function Q(e, t, n, r) {
|
|
350
|
-
var i = "" + t, a = "" + n;
|
|
351
|
-
if (!e && i > a) {
|
|
352
|
-
var o = i;
|
|
353
|
-
i = a, a = o;
|
|
354
|
-
}
|
|
355
|
-
return i + J + a + J + (K(r) ? ft : r);
|
|
356
|
-
}
|
|
357
|
-
function pt(e, t, n, r) {
|
|
358
|
-
var i = "" + t, a = "" + n;
|
|
359
|
-
if (!e && i > a) {
|
|
360
|
-
var o = i;
|
|
361
|
-
i = a, a = o;
|
|
362
|
-
}
|
|
363
|
-
var s = {
|
|
364
|
-
v: i,
|
|
365
|
-
w: a
|
|
366
|
-
};
|
|
367
|
-
return r && (s.name = r), s;
|
|
368
|
-
}
|
|
369
|
-
function $(e, t) {
|
|
370
|
-
return Q(e, t.v, t.w, t.name);
|
|
371
|
-
}
|
|
372
|
-
//#endregion
|
|
373
|
-
export { U as i, K as n, G as r, Y as t };
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
var e=typeof global==`object`&&global&&global.Object===Object&&global,t=typeof self==`object`&&self&&self.Object===Object&&self,n=e||t||Function(`return this`)(),r=n.Symbol,i=Object.prototype,a=i.hasOwnProperty,o=i.toString,s=r?r.toStringTag:void 0;function c(e){var t=a.call(e,s),n=e[s];try{e[s]=void 0;var r=!0}catch{}var i=o.call(e);return r&&(t?e[s]=n:delete e[s]),i}var l=Object.prototype.toString;function ee(e){return l.call(e)}var u=`[object Null]`,te=`[object Undefined]`,d=r?r.toStringTag:void 0;function f(e){return e==null?e===void 0?te:u:d&&d in Object(e)?c(e):ee(e)}function p(e){var t=typeof e;return e!=null&&(t==`object`||t==`function`)}var ne=`[object AsyncFunction]`,re=`[object Function]`,ie=`[object GeneratorFunction]`,ae=`[object Proxy]`;function m(e){if(!p(e))return!1;var t=f(e);return t==re||t==ie||t==ne||t==ae}var h=n[`__core-js_shared__`],g=function(){var e=/[^.]+$/.exec(h&&h.keys&&h.keys.IE_PROTO||``);return e?`Symbol(src)_1.`+e:``}();function oe(e){return!!g&&g in e}var se=Function.prototype.toString;function _(e){if(e!=null){try{return se.call(e)}catch{}try{return e+``}catch{}}return``}var ce=/[\\^$.*+?()[\]{}|]/g,le=/^\[object .+?Constructor\]$/,ue=Function.prototype,de=Object.prototype,fe=ue.toString,pe=de.hasOwnProperty,me=RegExp(`^`+fe.call(pe).replace(ce,`\\$&`).replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,`$1.*?`)+`$`);function he(e){return!p(e)||oe(e)?!1:(m(e)?me:le).test(_(e))}function ge(e,t){return e?.[t]}function v(e,t){var n=ge(e,t);return he(n)?n:void 0}var y=v(Object,`create`);function _e(){this.__data__=y?y(null):{},this.size=0}function ve(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=+!!t,t}var ye=`__lodash_hash_undefined__`,be=Object.prototype.hasOwnProperty;function xe(e){var t=this.__data__;if(y){var n=t[e];return n===ye?void 0:n}return be.call(t,e)?t[e]:void 0}var Se=Object.prototype.hasOwnProperty;function Ce(e){var t=this.__data__;return y?t[e]!==void 0:Se.call(t,e)}var we=`__lodash_hash_undefined__`;function Te(e,t){var n=this.__data__;return this.size+=+!this.has(e),n[e]=y&&t===void 0?we:t,this}function b(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}b.prototype.clear=_e,b.prototype.delete=ve,b.prototype.get=xe,b.prototype.has=Ce,b.prototype.set=Te;function Ee(){this.__data__=[],this.size=0}function x(e,t){return e===t||e!==e&&t!==t}function S(e,t){for(var n=e.length;n--;)if(x(e[n][0],t))return n;return-1}var C=Array.prototype.splice;function w(e){var t=this.__data__,n=S(t,e);return n<0?!1:(n==t.length-1?t.pop():C.call(t,n,1),--this.size,!0)}function T(e){var t=this.__data__,n=S(t,e);return n<0?void 0:t[n][1]}function E(e){return S(this.__data__,e)>-1}function D(e,t){var n=this.__data__,r=S(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this}function O(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}O.prototype.clear=Ee,O.prototype.delete=w,O.prototype.get=T,O.prototype.has=E,O.prototype.set=D;var k=v(n,`Map`);function De(){this.size=0,this.__data__={hash:new b,map:new(k||O),string:new b}}function Oe(e){var t=typeof e;return t==`string`||t==`number`||t==`symbol`||t==`boolean`?e!==`__proto__`:e===null}function A(e,t){var n=e.__data__;return Oe(t)?n[typeof t==`string`?`string`:`hash`]:n.map}function ke(e){var t=A(this,e).delete(e);return this.size-=+!!t,t}function Ae(e){return A(this,e).get(e)}function je(e){return A(this,e).has(e)}function Me(e,t){var n=A(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this}function j(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}j.prototype.clear=De,j.prototype.delete=ke,j.prototype.get=Ae,j.prototype.has=je,j.prototype.set=Me;var Ne=`Expected a function`;function M(e,t){if(typeof e!=`function`||t!=null&&typeof t!=`function`)throw TypeError(Ne);var n=function(){var r=arguments,i=t?t.apply(this,r):r[0],a=n.cache;if(a.has(i))return a.get(i);var o=e.apply(this,r);return n.cache=a.set(i,o)||a,o};return n.cache=new(M.Cache||j),n}M.Cache=j;function Pe(){this.__data__=new O,this.size=0}function Fe(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}function Ie(e){return this.__data__.get(e)}function Le(e){return this.__data__.has(e)}var Re=200;function ze(e,t){var n=this.__data__;if(n instanceof O){var r=n.__data__;if(!k||r.length<Re-1)return r.push([e,t]),this.size=++n.size,this;n=this.__data__=new j(r)}return n.set(e,t),this.size=n.size,this}function N(e){this.size=(this.__data__=new O(e)).size}N.prototype.clear=Pe,N.prototype.delete=Fe,N.prototype.get=Ie,N.prototype.has=Le,N.prototype.set=ze;function Be(e){return function(t,n,r){for(var i=-1,a=Object(t),o=r(t),s=o.length;s--;){var c=o[e?s:++i];if(n(a[c],c,a)===!1)break}return t}}var Ve=Be(),He=n.Uint8Array;function Ue(e,t){return function(n){return e(t(n))}}var We=Object.prototype;function Ge(e){var t=e&&e.constructor;return e===(typeof t==`function`&&t.prototype||We)}function P(e){return typeof e==`object`&&!!e}var Ke=`[object Arguments]`;function F(e){return P(e)&&f(e)==Ke}var I=Object.prototype,qe=I.hasOwnProperty,Je=I.propertyIsEnumerable,L=F(function(){return arguments}())?F:function(e){return P(e)&&qe.call(e,`callee`)&&!Je.call(e,`callee`)},R=Array.isArray,Ye=9007199254740991;function z(e){return typeof e==`number`&&e>-1&&e%1==0&&e<=Ye}function Xe(e){return e!=null&&z(e.length)&&!m(e)}function Ze(){return!1}var B=typeof exports==`object`&&exports&&!exports.nodeType&&exports,V=B&&typeof module==`object`&&module&&!module.nodeType&&module,H=V&&V.exports===B?n.Buffer:void 0,U=(H?H.isBuffer:void 0)||Ze,Qe=`[object Arguments]`,$e=`[object Array]`,et=`[object Boolean]`,tt=`[object Date]`,nt=`[object Error]`,rt=`[object Function]`,it=`[object Map]`,at=`[object Number]`,ot=`[object Object]`,st=`[object RegExp]`,ct=`[object Set]`,lt=`[object String]`,ut=`[object WeakMap]`,dt=`[object ArrayBuffer]`,ft=`[object DataView]`,pt=`[object Float32Array]`,mt=`[object Float64Array]`,ht=`[object Int8Array]`,gt=`[object Int16Array]`,_t=`[object Int32Array]`,vt=`[object Uint8Array]`,yt=`[object Uint8ClampedArray]`,bt=`[object Uint16Array]`,xt=`[object Uint32Array]`,W={};W[pt]=W[mt]=W[ht]=W[gt]=W[_t]=W[vt]=W[yt]=W[bt]=W[xt]=!0,W[Qe]=W[$e]=W[dt]=W[et]=W[ft]=W[tt]=W[nt]=W[rt]=W[it]=W[at]=W[ot]=W[st]=W[ct]=W[lt]=W[ut]=!1;function St(e){return P(e)&&z(e.length)&&!!W[f(e)]}function G(e){return function(t){return e(t)}}var K=typeof exports==`object`&&exports&&!exports.nodeType&&exports,q=K&&typeof module==`object`&&module&&!module.nodeType&&module,J=q&&q.exports===K&&e.process,Y=function(){try{return q&&q.require&&q.require(`util`).types||J&&J.binding&&J.binding(`util`)}catch{}}(),X=Y&&Y.isTypedArray,Z=X?G(X):St;function Ct(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}var wt=9007199254740991,Tt=/^(?:0|[1-9]\d*)$/;function Q(e,t){var n=typeof e;return t??=wt,!!t&&(n==`number`||n!=`symbol`&&Tt.test(e))&&e>-1&&e%1==0&&e<t}var $=Object.prototype.hasOwnProperty;function Et(e,t){var n=R(e),r=!n&&L(e),i=!n&&!r&&U(e),a=!n&&!r&&!i&&Z(e),o=n||r||i||a,s=o?Ct(e.length,String):[],c=s.length;for(var l in e)(t||$.call(e,l))&&!(o&&(l==`length`||i&&(l==`offset`||l==`parent`)||a&&(l==`buffer`||l==`byteLength`||l==`byteOffset`)||Q(l,c)))&&s.push(l);return s}function Dt(e){return e}Object.defineProperty(exports,`C`,{enumerable:!0,get:function(){return _}}),Object.defineProperty(exports,`D`,{enumerable:!0,get:function(){return r}}),Object.defineProperty(exports,`E`,{enumerable:!0,get:function(){return f}}),Object.defineProperty(exports,`O`,{enumerable:!0,get:function(){return n}}),Object.defineProperty(exports,`S`,{enumerable:!0,get:function(){return v}}),Object.defineProperty(exports,`T`,{enumerable:!0,get:function(){return p}}),Object.defineProperty(exports,`_`,{enumerable:!0,get:function(){return N}}),Object.defineProperty(exports,`a`,{enumerable:!0,get:function(){return Y}}),Object.defineProperty(exports,`b`,{enumerable:!0,get:function(){return k}}),Object.defineProperty(exports,`c`,{enumerable:!0,get:function(){return Xe}}),Object.defineProperty(exports,`d`,{enumerable:!0,get:function(){return L}}),Object.defineProperty(exports,`f`,{enumerable:!0,get:function(){return P}}),Object.defineProperty(exports,`g`,{enumerable:!0,get:function(){return Ve}}),Object.defineProperty(exports,`h`,{enumerable:!0,get:function(){return He}}),Object.defineProperty(exports,`i`,{enumerable:!0,get:function(){return Z}}),Object.defineProperty(exports,`l`,{enumerable:!0,get:function(){return z}}),Object.defineProperty(exports,`m`,{enumerable:!0,get:function(){return Ue}}),Object.defineProperty(exports,`n`,{enumerable:!0,get:function(){return Et}}),Object.defineProperty(exports,`o`,{enumerable:!0,get:function(){return G}}),Object.defineProperty(exports,`p`,{enumerable:!0,get:function(){return Ge}}),Object.defineProperty(exports,`r`,{enumerable:!0,get:function(){return Q}}),Object.defineProperty(exports,`s`,{enumerable:!0,get:function(){return U}}),Object.defineProperty(exports,`t`,{enumerable:!0,get:function(){return Dt}}),Object.defineProperty(exports,`u`,{enumerable:!0,get:function(){return R}}),Object.defineProperty(exports,`v`,{enumerable:!0,get:function(){return M}}),Object.defineProperty(exports,`w`,{enumerable:!0,get:function(){return m}}),Object.defineProperty(exports,`x`,{enumerable:!0,get:function(){return x}}),Object.defineProperty(exports,`y`,{enumerable:!0,get:function(){return j}});
|