@sme.up/ketchup2 2.1.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-u2vgZv3N.js → architectureDiagram-3BPJPVTR-EFK4DMha.js} +167 -166
- package/dist/assets/buttonListAssets.d.ts +8 -0
- package/dist/assets/buttonListAssets.d.ts.map +1 -1
- package/dist/basic-components/button/button-types.d.ts +4 -0
- package/dist/basic-components/button/button-types.d.ts.map +1 -1
- package/dist/basic-components/button-dropdown/button-dropdown-types.d.ts +16 -0
- package/dist/basic-components/button-dropdown/button-dropdown-types.d.ts.map +1 -0
- package/dist/basic-components/button-dropdown/button-dropdown.d.ts +4 -0
- package/dist/basic-components/button-dropdown/button-dropdown.d.ts.map +1 -0
- package/dist/basic-components/button-list/button-list-types.d.ts +6 -0
- package/dist/basic-components/button-list/button-list-types.d.ts.map +1 -1
- package/dist/basic-components/button-list/button-list.d.ts.map +1 -1
- package/dist/basic-components/cell/cell-utils.d.ts +13 -5
- 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/image/image.d.ts.map +1 -1
- package/dist/basic-components/image-cell/image-cell-types.d.ts +12 -3
- package/dist/basic-components/image-cell/image-cell-types.d.ts.map +1 -1
- package/dist/basic-components/image-cell/image-cell.d.ts.map +1 -1
- package/dist/basic-components/input-number/input-number.d.ts.map +1 -1
- package/dist/basic-components/text/text.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-BpB6_kTP.js → blockDiagram-GPEHLZMM-C3UgY0Z5.js} +999 -877
- package/dist/blockDiagram-GPEHLZMM-CuzoKhJT.cjs +132 -0
- package/dist/{c4Diagram-AHTNJAMY-CX5IjREU.cjs → c4Diagram-AAUBKEIU-DU8uXbgK.cjs} +6 -6
- package/dist/{c4Diagram-AHTNJAMY-B5Z8nO1s.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-2kdZJWq2.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-C5U7sJAA.js → chunk-5ZQYHXKU-C4uam08j.js} +527 -461
- package/dist/chunk-727SXJPM-DTmqhRKX.cjs +206 -0
- package/dist/{chunk-4TB4RGXK-CKyHmNcP.js → chunk-727SXJPM-Dof0vDVV.js} +650 -554
- package/dist/{chunk-OYMX7WX6-BCT45RPu.cjs → chunk-AQP2D5EJ-DdWeFQ4O.cjs} +5 -5
- package/dist/{chunk-OYMX7WX6-BQADsxYi.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-Sn6LWD0k.js → chunk-CSCIHK7Q-9WKhcDqw.js} +558 -460
- 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-BluGQPyl.js → chunk-KSCS5N6A-BY1s4eGg.js} +205 -205
- package/dist/chunk-KSCS5N6A-DO8jEi0y.cjs +10 -0
- package/dist/{chunk-ZZ45TVLE-AQQsnXy4.cjs → chunk-L5ZTLDWV-BE9udiOh.cjs} +1 -1
- package/dist/{chunk-ZZ45TVLE-CIYrdg-O.js → chunk-L5ZTLDWV-D3UwMopa.js} +8 -8
- package/dist/{chunk-336JU56O-CuXRn1VH.cjs → chunk-LZXEDZCA-Dpz_wx3M.cjs} +1 -1
- package/dist/{chunk-336JU56O-xKPgkG3O.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-9K9WNdyN.js → chunk-ND2GUHAM-CHTke4K8.js} +17 -17
- package/dist/{chunk-YZCP3GAM-BmaAafMm.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-CY7mJR8m.js → chunk-NZK2D7GU-BVOINLmx.js} +13 -13
- package/dist/{chunk-X2U36JSP-D1RYKjVc.cjs → chunk-NZK2D7GU-_twqedIe.cjs} +1 -1
- package/dist/{chunk-U2HBQHQK-D0AoQWxK.cjs → chunk-O5CBEL6O-CDvi2oZo.cjs} +6 -6
- package/dist/{chunk-U2HBQHQK-BZ3YFMXB.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/drawer/drawer-types.d.ts +4 -0
- package/dist/components/drawer/drawer-types.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-types.d.ts +1 -1
- package/dist/components/planner/planner-types.d.ts.map +1 -1
- package/dist/components/planner/planner-utils.d.ts +7 -5
- package/dist/components/planner/planner-utils.d.ts.map +1 -1
- package/dist/components/planner/planner.d.ts.map +1 -1
- package/dist/components/scaffold/context/scaffold-provider.d.ts.map +1 -1
- package/dist/components/scaffold/scaffold-types.d.ts +1 -0
- package/dist/components/scaffold/scaffold-types.d.ts.map +1 -1
- package/dist/components/timeline/timeline-types.d.ts +6 -2
- package/dist/components/timeline/timeline-types.d.ts.map +1 -1
- package/dist/components/timeline/timeline.d.ts.map +1 -1
- package/dist/components/toolbar/toolbar.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-DUUVPi55.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-Cpj8wfoJ.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-BkQnbCLv.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-D_ByPk0C.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-BWrkDnqc.js → flowDiagram-I6XJVG4X-C2G6Tgw_.js} +444 -444
- package/dist/{flowDiagram-DWJPFMVM-BbK42NaF.cjs → flowDiagram-I6XJVG4X-ChI_6giU.cjs} +9 -9
- package/dist/functional-components/action/action-types.d.ts +26 -1
- package/dist/functional-components/action/action-types.d.ts.map +1 -1
- package/dist/functional-components/action/action-utils.d.ts +13 -1
- package/dist/functional-components/action/action-utils.d.ts.map +1 -1
- package/dist/functional-components/action/action.d.ts.map +1 -1
- package/dist/functional-components/action-list/action-list.d.ts.map +1 -1
- package/dist/functional-components/action-list/dual-list/dual-list.d.ts.map +1 -1
- package/dist/functional-components/timeline-engine/components/gantt/bar/gantt-bar.d.ts +18 -0
- package/dist/functional-components/timeline-engine/components/gantt/bar/gantt-bar.d.ts.map +1 -0
- 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 +60 -0
- package/dist/functional-components/timeline-engine/components/gantt/gantt-assets.d.ts.map +1 -0
- package/dist/functional-components/{gantt → timeline-engine/components/gantt}/gantt.d.ts +3 -3
- package/dist/functional-components/timeline-engine/components/gantt/gantt.d.ts.map +1 -0
- package/dist/functional-components/{gantt → timeline-engine/components/gantt}/grid/gantt-grid.d.ts +3 -5
- package/dist/functional-components/timeline-engine/components/gantt/grid/gantt-grid.d.ts.map +1 -0
- package/dist/functional-components/timeline-engine/components/gantt/header/gantt-header.d.ts.map +1 -0
- package/dist/functional-components/timeline-engine/components/gantt/today-indicator/gantt-today-indicator.d.ts.map +1 -0
- package/dist/functional-components/timeline-engine/components/gantt/types/gantt-types.d.ts +79 -0
- package/dist/functional-components/timeline-engine/components/gantt/types/gantt-types.d.ts.map +1 -0
- package/dist/functional-components/timeline-engine/components/task-list/task-list-types.d.ts +27 -0
- package/dist/functional-components/timeline-engine/components/task-list/task-list-types.d.ts.map +1 -0
- package/dist/functional-components/{task-list → timeline-engine/components/task-list}/task-list-utils.d.ts +4 -4
- package/dist/functional-components/timeline-engine/components/task-list/task-list-utils.d.ts.map +1 -0
- package/dist/functional-components/timeline-engine/components/task-list/task-list.d.ts.map +1 -0
- package/dist/functional-components/timeline-engine/timeline-engine-types.d.ts +28 -0
- package/dist/functional-components/timeline-engine/timeline-engine-types.d.ts.map +1 -0
- package/dist/functional-components/timeline-engine/timeline-engine-utils.d.ts +143 -0
- package/dist/functional-components/timeline-engine/timeline-engine-utils.d.ts.map +1 -0
- package/dist/functional-components/timeline-engine/timeline-engine-utils.test.d.ts +2 -0
- package/dist/functional-components/timeline-engine/timeline-engine-utils.test.d.ts.map +1 -0
- package/dist/functional-components/timeline-engine/timeline-engine.d.ts +8 -0
- package/dist/functional-components/timeline-engine/timeline-engine.d.ts.map +1 -0
- package/dist/ganttDiagram-6RSMTGT7-B0DHqd7u.cjs +292 -0
- package/dist/{ganttDiagram-T4ZO3ILL-LuaYkUvj.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-DKkENwcV.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/hooks/useFocusTrap.d.ts.map +1 -1
- package/dist/hooks/useGanttMath.d.ts +1 -1
- package/dist/hooks/useGanttMath.d.ts.map +1 -1
- package/dist/hooks/useVirtualListScroll.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-Cl3Ivm8H.cjs → ishikawaDiagram-YF4QCWOH-j6IZz59g.cjs} +6 -6
- package/dist/{ishikawaDiagram-UXIWVN3A-DqbVPChK.js → ishikawaDiagram-YF4QCWOH-rqNbTKZp.js} +134 -134
- package/dist/{journeyDiagram-VCZTEJTY-XRc0J8gM.cjs → journeyDiagram-JHISSGLW-BhHdd4y3.cjs} +6 -6
- package/dist/{journeyDiagram-VCZTEJTY-DudduR0c.js → journeyDiagram-JHISSGLW-peUJlm3L.js} +180 -180
- package/dist/{kanban-definition-6JOO6SKY-DzEqE64J.js → kanban-definition-UN3LZRKU-DLxDqiQn.js} +151 -151
- package/dist/{kanban-definition-6JOO6SKY-Br87atRc.cjs → kanban-definition-UN3LZRKU-TUg1x5yJ.cjs} +8 -8
- package/dist/{katex-SAH56fvc.cjs → katex-HkVgAsLB.cjs} +1 -1
- package/dist/ketchup2.cjs.js +110 -106
- package/dist/ketchup2.css +1 -1
- package/dist/ketchup2.es.js +68073 -69871
- package/dist/{line-JyRBGWft.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-BCq8zmLt.cjs → mindmap-definition-RKZ34NQL-D9BOsg5W.cjs} +29 -29
- package/dist/{mindmap-definition-QFDTVHPH-NGjPQ5SM.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-DTeyzHmB.js → pieDiagram-4H26LBE5-ByA7ytZx.js} +40 -40
- package/dist/pieDiagram-4H26LBE5-CrLJh4L9.cjs +30 -0
- package/dist/{quadrantDiagram-34T5L4WZ-CCcJIf91.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-BdOanuYe.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-3wviN_U4.js → sankeyDiagram-5OEKKPKP-C-ODz9lV.js} +202 -153
- package/dist/{sequenceDiagram-FGHM5R23-DC8SjhFN.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-CBnYBWN0.js → timeline-definition-PNZ67QCA-Bj1BItRB.js} +324 -324
- package/dist/{timeline-definition-GMOUNBTQ-DWpngnE4.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/types/data-structures.d.ts +9 -1
- package/dist/types/data-structures.d.ts.map +1 -1
- package/dist/utils/data-structures.d.ts +2 -0
- package/dist/utils/data-structures.d.ts.map +1 -1
- package/dist/utils/style.d.ts +13 -2
- package/dist/utils/style.d.ts.map +1 -1
- package/dist/v4-BpDBEhLK.js +30 -0
- package/dist/v4-CA8ev9YY.cjs +1 -0
- package/dist/{vennDiagram-DHZGUBPP-M-kkEkXj.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-thoOuA_D.cjs → wardleyDiagram-YWT4CUSO-C-DdutxP.cjs} +61 -3
- package/dist/{wardleyDiagram-NUSXRM2D-CUX1SYhw.js → wardleyDiagram-YWT4CUSO-D1o116Wi.js} +272 -206
- package/dist/{xychartDiagram-5P7HB3ND-1cXRZ1bi.js → xychartDiagram-2RQKCTM6-Byw7djcg.js} +213 -213
- package/dist/{xychartDiagram-5P7HB3ND-BF2WmJ4-.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-JSjagcXX.cjs +0 -36
- package/dist/blockDiagram-DXYQGD6D-DlcDXSwH.cjs +0 -132
- package/dist/channel-BY9Lkyz7.cjs +0 -1
- package/dist/channel-BqNr2cYO.js +0 -5
- package/dist/chunk-2KRD3SAO-Ca3zDQyj.js +0 -23
- package/dist/chunk-2KRD3SAO-oZrIWZvV.cjs +0 -1
- package/dist/chunk-426QAEUC-Df31vuwu.cjs +0 -1
- package/dist/chunk-426QAEUC-JjFVHKYG.js +0 -9
- package/dist/chunk-4TB4RGXK-DdKJIFS5.cjs +0 -206
- package/dist/chunk-5FUZZQ4R-D_vnCbAb.cjs +0 -62
- package/dist/chunk-5PVQY5BW-CfQDYQZt.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-BZsJORf8.cjs +0 -1
- package/dist/chunk-EDXVE4YY-Bzf4FU3i.js +0 -25
- package/dist/chunk-ENJZ2VHE-CwgVASaU.cjs +0 -10
- package/dist/chunk-FOC6F5B3-DcZs851j.cjs +0 -1
- package/dist/chunk-FOC6F5B3-E9n6-juB.js +0 -23
- package/dist/chunk-ICPOFSXX-CoaJw-IT.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-B6betnLH.cjs +0 -1
- package/dist/classDiagram-6PBFFD2Q-XGxl_AeB.js +0 -29
- package/dist/classDiagram-v2-HSJHXN6E-CwayYG4G.js +0 -29
- package/dist/classDiagram-v2-HSJHXN6E-Dda8WDvn.cjs +0 -1
- package/dist/clone-Dn__H8fX.js +0 -8
- package/dist/clone-lShkT11Q.cjs +0 -1
- package/dist/cose-bilkent-S5V4N54A-Bhdp-wcb.cjs +0 -1
- package/dist/dagre-BjnWDdkw.cjs +0 -1
- package/dist/dagre-DVLnxd7n.js +0 -1606
- package/dist/dagre-KV5264BT-BjqayRYC.js +0 -293
- package/dist/dagre-KV5264BT-BvInGAUC.cjs +0 -4
- package/dist/diagram-5BDNPKRD-Bk7depC0.js +0 -101
- package/dist/diagram-5BDNPKRD-D6EXksHo.cjs +0 -10
- package/dist/diagram-G4DWMVQ6-CJASbR70.cjs +0 -24
- package/dist/diagram-MMDJMWI5-DEt7jQx9.cjs +0 -43
- package/dist/diagram-TYMM5635-5auoAFCi.cjs +0 -24
- package/dist/dist-BgvMZbfo.cjs +0 -1
- package/dist/erDiagram-SMLLAGMA-DVUT6TBy.cjs +0 -85
- package/dist/flatten-BE1bWL-7.js +0 -40
- package/dist/flatten-DxvYSoR8.cjs +0 -1
- package/dist/functional-components/gantt/bar/gantt-bar.d.ts +0 -17
- package/dist/functional-components/gantt/bar/gantt-bar.d.ts.map +0 -1
- package/dist/functional-components/gantt/gantt-assets.d.ts +0 -55
- package/dist/functional-components/gantt/gantt-assets.d.ts.map +0 -1
- package/dist/functional-components/gantt/gantt.d.ts.map +0 -1
- package/dist/functional-components/gantt/grid/gantt-grid.d.ts.map +0 -1
- package/dist/functional-components/gantt/header/gantt-header.d.ts.map +0 -1
- package/dist/functional-components/gantt/today-indicator/gantt-today-indicator.d.ts.map +0 -1
- package/dist/functional-components/gantt/types/gantt-types.d.ts +0 -47
- package/dist/functional-components/gantt/types/gantt-types.d.ts.map +0 -1
- package/dist/functional-components/task-list/task-list-types.d.ts +0 -22
- package/dist/functional-components/task-list/task-list-types.d.ts.map +0 -1
- package/dist/functional-components/task-list/task-list-utils.d.ts.map +0 -1
- package/dist/functional-components/task-list/task-list.d.ts.map +0 -1
- package/dist/ganttDiagram-T4ZO3ILL-DUi8jF9H.cjs +0 -292
- package/dist/gitGraph-7Q5UKJZL-DZea3ltD.cjs +0 -1
- package/dist/gitGraph-7Q5UKJZL-sjlqDwJ_.js +0 -3
- package/dist/gitGraphDiagram-UUTBAWPF-D-tMWUQ1.cjs +0 -106
- package/dist/graphlib-Cpifseqb.js +0 -373
- package/dist/graphlib-HdfvGLpV.cjs +0 -1
- package/dist/hooks/usePlannerSync.d.ts +0 -11
- package/dist/hooks/usePlannerSync.d.ts.map +0 -1
- 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-CH5xHj8H.cjs +0 -2
- package/dist/infoDiagram-42DDH7IO-CLkQPFe0.js +0 -19
- package/dist/isEmpty-CA3kJuev.cjs +0 -1
- package/dist/isEmpty-RwX-oIQS.js +0 -35
- package/dist/line-BbHmiwbs.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-CK4xy0PS.cjs +0 -30
- package/dist/quadrantDiagram-34T5L4WZ-D-_iiK79.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-EfY029Xj.cjs +0 -84
- package/dist/sankeyDiagram-XADWPNL6-3jlM2UcU.cjs +0 -10
- package/dist/sequenceDiagram-FGHM5R23-lK1G3QLN.cjs +0 -157
- package/dist/src-DFxq-N5I.cjs +0 -1
- package/dist/stateDiagram-FHFEXIEX-DnkzFphf.js +0 -217
- package/dist/stateDiagram-FHFEXIEX-DsQigFuR.cjs +0 -1
- package/dist/stateDiagram-v2-QKLJ7IA2-2v8JiIJr.js +0 -27
- package/dist/stateDiagram-v2-QKLJ7IA2-UKKfWPoT.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/utils/wbs-utils.d.ts +0 -143
- package/dist/utils/wbs-utils.d.ts.map +0 -1
- package/dist/v4-6yr83DbP.cjs +0 -1
- package/dist/v4-BR71w5_q.js +0 -33
- package/dist/vennDiagram-DHZGUBPP-D-kj-sVU.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/functional-components/{gantt → timeline-engine/components/gantt}/header/gantt-header.d.ts +0 -0
- /package/dist/functional-components/{gantt → timeline-engine/components/gantt}/today-indicator/gantt-today-indicator.d.ts +0 -0
- /package/dist/functional-components/{task-list → timeline-engine/components/task-list}/task-list.d.ts +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,18 +1,18 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
//#region node_modules/mermaid/dist/chunks/mermaid.core/chunk-
|
|
4
|
-
var n = /* @__PURE__ */
|
|
5
|
-
let { handDrawnSeed: n } =
|
|
1
|
+
import { h as e } from "./src-v9RrE_4h.js";
|
|
2
|
+
import { x as t } from "./chunk-CSCIHK7Q-9WKhcDqw.js";
|
|
3
|
+
//#region node_modules/mermaid/dist/chunks/mermaid.core/chunk-NZK2D7GU.mjs
|
|
4
|
+
var n = /* @__PURE__ */ e((e) => {
|
|
5
|
+
let { handDrawnSeed: n } = t();
|
|
6
6
|
return {
|
|
7
|
-
fill:
|
|
7
|
+
fill: e,
|
|
8
8
|
hachureAngle: 120,
|
|
9
9
|
hachureGap: 4,
|
|
10
10
|
fillWeight: 2,
|
|
11
11
|
roughness: .7,
|
|
12
|
-
stroke:
|
|
12
|
+
stroke: e,
|
|
13
13
|
seed: n
|
|
14
14
|
};
|
|
15
|
-
}, "solidStateFill"), r = /* @__PURE__ */
|
|
15
|
+
}, "solidStateFill"), r = /* @__PURE__ */ e((e) => {
|
|
16
16
|
let t = i([
|
|
17
17
|
...e.cssCompiledStyles || [],
|
|
18
18
|
...e.cssStyles || [],
|
|
@@ -22,13 +22,13 @@ var n = /* @__PURE__ */ t((t) => {
|
|
|
22
22
|
stylesMap: t,
|
|
23
23
|
stylesArray: [...t]
|
|
24
24
|
};
|
|
25
|
-
}, "compileStyles"), i = /* @__PURE__ */
|
|
25
|
+
}, "compileStyles"), i = /* @__PURE__ */ e((e) => {
|
|
26
26
|
let t = /* @__PURE__ */ new Map();
|
|
27
27
|
return e.forEach((e) => {
|
|
28
28
|
let [n, r] = e.split(":");
|
|
29
29
|
t.set(n.trim(), r?.trim());
|
|
30
30
|
}), t;
|
|
31
|
-
}, "styles2Map"), a = /* @__PURE__ */
|
|
31
|
+
}, "styles2Map"), a = /* @__PURE__ */ e((e) => e === "color" || e === "font-size" || e === "font-family" || e === "font-weight" || e === "font-style" || e === "text-decoration" || e === "text-align" || e === "text-transform" || e === "line-height" || e === "letter-spacing" || e === "word-spacing" || e === "text-shadow" || e === "text-overflow" || e === "white-space" || e === "word-wrap" || e === "word-break" || e === "overflow-wrap" || e === "hyphens", "isLabelStyle"), o = /* @__PURE__ */ e((e) => {
|
|
32
32
|
let { stylesArray: t } = r(e), n = [], i = [], o = [], s = [];
|
|
33
33
|
return t.forEach((e) => {
|
|
34
34
|
let t = e[0];
|
|
@@ -40,8 +40,8 @@ var n = /* @__PURE__ */ t((t) => {
|
|
|
40
40
|
borderStyles: o,
|
|
41
41
|
backgroundStyles: s
|
|
42
42
|
};
|
|
43
|
-
}, "styles2String"), s = /* @__PURE__ */
|
|
44
|
-
let { themeVariables: i, handDrawnSeed: a } =
|
|
43
|
+
}, "styles2String"), s = /* @__PURE__ */ e((e, n) => {
|
|
44
|
+
let { themeVariables: i, handDrawnSeed: a } = t(), { nodeBorder: o, mainBkg: s } = i, { stylesMap: l } = r(e);
|
|
45
45
|
return Object.assign({
|
|
46
46
|
roughness: .7,
|
|
47
47
|
fill: l.get("fill") || s,
|
|
@@ -54,7 +54,7 @@ var n = /* @__PURE__ */ t((t) => {
|
|
|
54
54
|
fillLineDash: [0, 0],
|
|
55
55
|
strokeLineDash: c(l.get("stroke-dasharray"))
|
|
56
56
|
}, n);
|
|
57
|
-
}, "userNodeOverrides"), c = /* @__PURE__ */
|
|
57
|
+
}, "userNodeOverrides"), c = /* @__PURE__ */ e((e) => {
|
|
58
58
|
if (!e) return [0, 0];
|
|
59
59
|
let t = e.trim().split(/\s+/).map(Number);
|
|
60
60
|
if (t.length === 1) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const e=require(`./
|
|
1
|
+
const e=require(`./src-BgvDIw01.cjs`),t=require(`./chunk-CSCIHK7Q-BPMuICCz.cjs`);var n=e.h(e=>{let{handDrawnSeed:n}=t.x();return{fill:e,hachureAngle:120,hachureGap:4,fillWeight:2,roughness:.7,stroke:e,seed:n}},`solidStateFill`),r=e.h(e=>{let t=i([...e.cssCompiledStyles||[],...e.cssStyles||[],...e.labelStyle||[]]);return{stylesMap:t,stylesArray:[...t]}},`compileStyles`),i=e.h(e=>{let t=new Map;return e.forEach(e=>{let[n,r]=e.split(`:`);t.set(n.trim(),r?.trim())}),t},`styles2Map`),a=e.h(e=>e===`color`||e===`font-size`||e===`font-family`||e===`font-weight`||e===`font-style`||e===`text-decoration`||e===`text-align`||e===`text-transform`||e===`line-height`||e===`letter-spacing`||e===`word-spacing`||e===`text-shadow`||e===`text-overflow`||e===`white-space`||e===`word-wrap`||e===`word-break`||e===`overflow-wrap`||e===`hyphens`,`isLabelStyle`),o=e.h(e=>{let{stylesArray:t}=r(e),n=[],i=[],o=[],s=[];return t.forEach(e=>{let t=e[0];a(t)?n.push(e.join(`:`)+` !important`):(i.push(e.join(`:`)+` !important`),t.includes(`stroke`)&&o.push(e.join(`:`)+` !important`),t===`fill`&&s.push(e.join(`:`)+` !important`))}),{labelStyles:n.join(`;`),nodeStyles:i.join(`;`),stylesArray:t,borderStyles:o,backgroundStyles:s}},`styles2String`),s=e.h((e,n)=>{let{themeVariables:i,handDrawnSeed:a}=t.x(),{nodeBorder:o,mainBkg:s}=i,{stylesMap:l}=r(e);return Object.assign({roughness:.7,fill:l.get(`fill`)||s,fillStyle:`hachure`,fillWeight:4,hachureGap:5.2,stroke:l.get(`stroke`)||o,seed:a,strokeWidth:l.get(`stroke-width`)?.replace(`px`,``)||1.3,fillLineDash:[0,0],strokeLineDash:c(l.get(`stroke-dasharray`))},n)},`userNodeOverrides`),c=e.h(e=>{if(!e)return[0,0];let t=e.trim().split(/\s+/).map(Number);if(t.length===1){let e=isNaN(t[0])?0:t[0];return[e,e]}return[isNaN(t[0])?0:t[0],isNaN(t[1])?0:t[1]]},`getStrokeDashArray`);Object.defineProperty(exports,`a`,{enumerable:!0,get:function(){return s}}),Object.defineProperty(exports,`i`,{enumerable:!0,get:function(){return o}}),Object.defineProperty(exports,`n`,{enumerable:!0,get:function(){return a}}),Object.defineProperty(exports,`r`,{enumerable:!0,get:function(){return n}}),Object.defineProperty(exports,`t`,{enumerable:!0,get:function(){return r}});
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const e=require(`./chunk-ICPOFSXX-CoaJw-IT.cjs`),t=require(`./src-DFxq-N5I.cjs`),n=require(`./chunk-5PVQY5BW-CfQDYQZt.cjs`);var r=Object.freeze({left:0,top:0,width:16,height:16}),i=Object.freeze({rotate:0,vFlip:!1,hFlip:!1}),a=Object.freeze({...r,...i}),o=Object.freeze({...a,body:``,hidden:!1}),s=Object.freeze({width:null,height:null}),c=Object.freeze({...s,...i}),l=(e,t,n,r=``)=>{let i=e.split(`:`);if(e.slice(0,1)===`@`){if(i.length<2||i.length>3)return null;r=i.shift().slice(1)}if(i.length>3||!i.length)return null;if(i.length>1){let e=i.pop(),n=i.pop(),a={provider:i.length>0?i[0]:r,prefix:n,name:e};return t&&!u(a)?null:a}let a=i[0],o=a.split(`-`);if(o.length>1){let e={provider:r,prefix:o.shift(),name:o.join(`-`)};return t&&!u(e)?null:e}if(n&&r===``){let e={provider:r,prefix:``,name:a};return t&&!u(e,n)?null:e}return null},u=(e,t)=>e?!!((t&&e.prefix===``||e.prefix)&&e.name):!1;function d(e,t){let n={};!e.hFlip!=!t.hFlip&&(n.hFlip=!0),!e.vFlip!=!t.vFlip&&(n.vFlip=!0);let r=((e.rotate||0)+(t.rotate||0))%4;return r&&(n.rotate=r),n}function f(e,t){let n=d(e,t);for(let r in o)r in i?r in e&&!(r in n)&&(n[r]=i[r]):r in t?n[r]=t[r]:r in e&&(n[r]=e[r]);return n}function p(e,t){let n=e.icons,r=e.aliases||Object.create(null),i=Object.create(null);function a(e){if(n[e])return i[e]=[];if(!(e in i)){i[e]=null;let t=r[e]&&r[e].parent,n=t&&a(t);n&&(i[e]=[t].concat(n))}return i[e]}return(t||Object.keys(n).concat(Object.keys(r))).forEach(a),i}function m(e,t,n){let r=e.icons,i=e.aliases||Object.create(null),a={};function o(e){a=f(r[e]||i[e],a)}return o(t),n.forEach(o),f(e,a)}function h(e,t){if(e.icons[t])return m(e,t,[]);let n=p(e,[t])[t];return n?m(e,t,n):null}var g=/(-?[0-9.]*[0-9]+[0-9.]*)/g,ee=/^-?[0-9.]*[0-9]+[0-9.]*$/g;function te(e,t,n){if(t===1)return e;if(n||=100,typeof e==`number`)return Math.ceil(e*t*n)/n;if(typeof e!=`string`)return e;let r=e.split(g);if(r===null||!r.length)return e;let i=[],a=r.shift(),o=ee.test(a);for(;;){if(o){let e=parseFloat(a);isNaN(e)?i.push(a):i.push(Math.ceil(e*t*n)/n)}else i.push(a);if(a=r.shift(),a===void 0)return i.join(``);o=!o}}function ne(e,t=`defs`){let n=``,r=e.indexOf(`<`+t);for(;r>=0;){let i=e.indexOf(`>`,r),a=e.indexOf(`</`+t);if(i===-1||a===-1)break;let o=e.indexOf(`>`,a);if(o===-1)break;n+=e.slice(i+1,a).trim(),e=e.slice(0,r).trim()+e.slice(o+1)}return{defs:n,content:e}}function re(e,t){return e?`<defs>`+e+`</defs>`+t:t}function ie(e,t,n){let r=ne(e);return re(r.defs,t+r.content+n)}var ae=e=>e===`unset`||e===`undefined`||e===`none`;function oe(e,t){let n={...a,...e},r={...c,...t},i={left:n.left,top:n.top,width:n.width,height:n.height},o=n.body;[n,r].forEach(e=>{let t=[],n=e.hFlip,r=e.vFlip,a=e.rotate;n?r?a+=2:(t.push(`translate(`+(i.width+i.left).toString()+` `+(0-i.top).toString()+`)`),t.push(`scale(-1 1)`),i.top=i.left=0):r&&(t.push(`translate(`+(0-i.left).toString()+` `+(i.height+i.top).toString()+`)`),t.push(`scale(1 -1)`),i.top=i.left=0);let s;switch(a<0&&(a-=Math.floor(a/4)*4),a%=4,a){case 1:s=i.height/2+i.top,t.unshift(`rotate(90 `+s.toString()+` `+s.toString()+`)`);break;case 2:t.unshift(`rotate(180 `+(i.width/2+i.left).toString()+` `+(i.height/2+i.top).toString()+`)`);break;case 3:s=i.width/2+i.left,t.unshift(`rotate(-90 `+s.toString()+` `+s.toString()+`)`);break}a%2==1&&(i.left!==i.top&&(s=i.left,i.left=i.top,i.top=s),i.width!==i.height&&(s=i.width,i.width=i.height,i.height=s)),t.length&&(o=ie(o,`<g transform="`+t.join(` `)+`">`,`</g>`))});let s=r.width,l=r.height,u=i.width,d=i.height,f,p;s===null?(p=l===null?`1em`:l===`auto`?d:l,f=te(p,u/d)):(f=s===`auto`?u:s,p=l===null?te(f,d/u):l===`auto`?d:l);let m={},h=(e,t)=>{ae(t)||(m[e]=t.toString())};h(`width`,f),h(`height`,p);let g=[i.left,i.top,u,d];return m.viewBox=g.join(` `),{attributes:m,viewBox:g,body:o}}var se=/\sid="(\S+)"/g,ce=new Map;function le(e){e=e.replace(/[0-9]+$/,``)||`a`;let t=ce.get(e)||0;return ce.set(e,t+1),t?`${e}${t}`:e}function ue(e){let t=[],n;for(;n=se.exec(e);)t.push(n[1]);if(!t.length)return e;let r=`suffix`+(Math.random()*16777216|Date.now()).toString(16);return t.forEach(t=>{let n=le(t),i=t.replace(/[.*+?^${}()|[\]\\]/g,`\\$&`);e=e.replace(RegExp(`([#;"])(`+i+`)([")]|\\.[a-z])`,`g`),`$1`+n+r+`$3`)}),e=e.replace(new RegExp(r,`g`),``),e}function de(e,t){let n=e.indexOf(`xlink:`)===-1?``:` xmlns:xlink="http://www.w3.org/1999/xlink"`;for(let e in t)n+=` `+e+`="`+t[e]+`"`;return`<svg xmlns="http://www.w3.org/2000/svg"`+n+`>`+e+`</svg>`}function _(){return{async:!1,breaks:!1,extensions:null,gfm:!0,hooks:null,pedantic:!1,renderer:null,silent:!1,tokenizer:null,walkTokens:null}}var v=_();function fe(e){v=e}var y={exec:()=>null};function b(e,t=``){let n=typeof e==`string`?e:e.source,r={replace:(e,t)=>{let i=typeof t==`string`?t:t.source;return i=i.replace(x.caret,`$1`),n=n.replace(e,i),r},getRegex:()=>new RegExp(n,t)};return r}var x={codeRemoveIndent:/^(?: {1,4}| {0,3}\t)/gm,outputLinkReplace:/\\([\[\]])/g,indentCodeCompensation:/^(\s+)(?:```)/,beginningSpace:/^\s+/,endingHash:/#$/,startingSpaceChar:/^ /,endingSpaceChar:/ $/,nonSpaceChar:/[^ ]/,newLineCharGlobal:/\n/g,tabCharGlobal:/\t/g,multipleSpaceGlobal:/\s+/g,blankLine:/^[ \t]*$/,doubleBlankLine:/\n[ \t]*\n[ \t]*$/,blockquoteStart:/^ {0,3}>/,blockquoteSetextReplace:/\n {0,3}((?:=+|-+) *)(?=\n|$)/g,blockquoteSetextReplace2:/^ {0,3}>[ \t]?/gm,listReplaceTabs:/^\t+/,listReplaceNesting:/^ {1,4}(?=( {4})*[^ ])/g,listIsTask:/^\[[ xX]\] /,listReplaceTask:/^\[[ xX]\] +/,anyLine:/\n.*\n/,hrefBrackets:/^<(.*)>$/,tableDelimiter:/[:|]/,tableAlignChars:/^\||\| *$/g,tableRowBlankLine:/\n[ \t]*$/,tableAlignRight:/^ *-+: *$/,tableAlignCenter:/^ *:-+: *$/,tableAlignLeft:/^ *:-+ *$/,startATag:/^<a /i,endATag:/^<\/a>/i,startPreScriptTag:/^<(pre|code|kbd|script)(\s|>)/i,endPreScriptTag:/^<\/(pre|code|kbd|script)(\s|>)/i,startAngleBracket:/^</,endAngleBracket:/>$/,pedanticHrefTitle:/^([^'"]*[^\s])\s+(['"])(.*)\2/,unicodeAlphaNumeric:/[\p{L}\p{N}]/u,escapeTest:/[&<>"']/,escapeReplace:/[&<>"']/g,escapeTestNoEncode:/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/,escapeReplaceNoEncode:/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/g,unescapeTest:/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/gi,caret:/(^|[^\[])\^/g,percentDecode:/%25/g,findPipe:/\|/g,splitPipe:/ \|/,slashPipe:/\\\|/g,carriageReturn:/\r\n|\r/g,spaceLine:/^ +$/gm,notSpaceStart:/^\S*/,endingNewline:/\n$/,listItemRegex:e=>RegExp(`^( {0,3}${e})((?:[ ][^\\n]*)?(?:\\n|$))`),nextBulletRegex:e=>RegExp(`^ {0,${Math.min(3,e-1)}}(?:[*+-]|\\d{1,9}[.)])((?:[ ][^\\n]*)?(?:\\n|$))`),hrRegex:e=>RegExp(`^ {0,${Math.min(3,e-1)}}((?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$)`),fencesBeginRegex:e=>RegExp(`^ {0,${Math.min(3,e-1)}}(?:\`\`\`|~~~)`),headingBeginRegex:e=>RegExp(`^ {0,${Math.min(3,e-1)}}#`),htmlBeginRegex:e=>RegExp(`^ {0,${Math.min(3,e-1)}}<(?:[a-z].*>|!--)`,`i`)},pe=/^(?:[ \t]*(?:\n|$))+/,me=/^((?: {4}| {0,3}\t)[^\n]+(?:\n(?:[ \t]*(?:\n|$))*)?)+/,he=/^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/,S=/^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/,ge=/^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/,C=/(?:[*+-]|\d{1,9}[.)])/,_e=/^(?!bull |blockCode|fences|blockquote|heading|html|table)((?:.|\n(?!\s*?\n|bull |blockCode|fences|blockquote|heading|html|table))+?)\n {0,3}(=+|-+) *(?:\n+|$)/,ve=b(_e).replace(/bull/g,C).replace(/blockCode/g,/(?: {4}| {0,3}\t)/).replace(/fences/g,/ {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g,/ {0,3}>/).replace(/heading/g,/ {0,3}#{1,6}/).replace(/html/g,/ {0,3}<[^\n>]+>\n/).replace(/\|table/g,``).getRegex(),ye=b(_e).replace(/bull/g,C).replace(/blockCode/g,/(?: {4}| {0,3}\t)/).replace(/fences/g,/ {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g,/ {0,3}>/).replace(/heading/g,/ {0,3}#{1,6}/).replace(/html/g,/ {0,3}<[^\n>]+>\n/).replace(/table/g,/ {0,3}\|?(?:[:\- ]*\|)+[\:\- ]*\n/).getRegex(),w=/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/,be=/^[^\n]+/,T=/(?!\s*\])(?:\\[\s\S]|[^\[\]\\])+/,xe=b(/^ {0,3}\[(label)\]: *(?:\n[ \t]*)?([^<\s][^\s]*|<.*?>)(?:(?: +(?:\n[ \t]*)?| *\n[ \t]*)(title))? *(?:\n+|$)/).replace(`label`,T).replace(`title`,/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/).getRegex(),Se=b(/^( {0,3}bull)([ \t][^\n]+?)?(?:\n|$)/).replace(/bull/g,C).getRegex(),E=`address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|search|section|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul`,D=/<!--(?:-?>|[\s\S]*?(?:-->|$))/,Ce=b(`^ {0,3}(?:<(script|pre|style|textarea)[\\s>][\\s\\S]*?(?:</\\1>[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>\\n*|$)|<![A-Z][\\s\\S]*?(?:>\\n*|$)|<!\\[CDATA\\[[\\s\\S]*?(?:\\]\\]>\\n*|$)|</?(tag)(?: +|\\n|/?>)[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$)|<(?!script|pre|style|textarea)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$)|</(?!script|pre|style|textarea)[a-z][\\w-]*\\s*>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$))`,`i`).replace(`comment`,D).replace(`tag`,E).replace(`attribute`,/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),we=b(w).replace(`hr`,S).replace(`heading`,` {0,3}#{1,6}(?:\\s|$)`).replace(`|lheading`,``).replace(`|table`,``).replace(`blockquote`,` {0,3}>`).replace(`fences`," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace(`list`,` {0,3}(?:[*+-]|1[.)]) `).replace(`html`,`</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)`).replace(`tag`,E).getRegex(),O={blockquote:b(/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/).replace(`paragraph`,we).getRegex(),code:me,def:xe,fences:he,heading:ge,hr:S,html:Ce,lheading:ve,list:Se,newline:pe,paragraph:we,table:y,text:be},Te=b(`^ *([^\\n ].*)\\n {0,3}((?:\\| *)?:?-+:? *(?:\\| *:?-+:? *)*(?:\\| *)?)(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)`).replace(`hr`,S).replace(`heading`,` {0,3}#{1,6}(?:\\s|$)`).replace(`blockquote`,` {0,3}>`).replace(`code`,`(?: {4}| {0,3} )[^\\n]`).replace(`fences`," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace(`list`,` {0,3}(?:[*+-]|1[.)]) `).replace(`html`,`</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)`).replace(`tag`,E).getRegex(),Ee={...O,lheading:ye,table:Te,paragraph:b(w).replace(`hr`,S).replace(`heading`,` {0,3}#{1,6}(?:\\s|$)`).replace(`|lheading`,``).replace(`table`,Te).replace(`blockquote`,` {0,3}>`).replace(`fences`," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace(`list`,` {0,3}(?:[*+-]|1[.)]) `).replace(`html`,`</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)`).replace(`tag`,E).getRegex()},De={...O,html:b(`^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)|<tag(?:"[^"]*"|'[^']*'|\\s[^'"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))`).replace(`comment`,D).replace(/tag/g,`(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b`).getRegex(),def:/^ *\[([^\]]+)\]: *<?([^\s>]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,heading:/^(#{1,6})(.*)(?:\n+|$)/,fences:y,lheading:/^(.+?)\n {0,3}(=+|-+) *(?:\n+|$)/,paragraph:b(w).replace(`hr`,S).replace(`heading`,` *#{1,6} *[^
|
|
1
|
+
const e=require(`./src-BgvDIw01.cjs`),t=require(`./chunk-CSCIHK7Q-BPMuICCz.cjs`),n=require(`./chunk-5ZQYHXKU-BMnKD7Zq.cjs`);var r=Object.freeze({left:0,top:0,width:16,height:16}),i=Object.freeze({rotate:0,vFlip:!1,hFlip:!1}),a=Object.freeze({...r,...i}),o=Object.freeze({...a,body:``,hidden:!1}),s=Object.freeze({width:null,height:null}),c=Object.freeze({...s,...i}),l=(e,t,n,r=``)=>{let i=e.split(`:`);if(e.slice(0,1)===`@`){if(i.length<2||i.length>3)return null;r=i.shift().slice(1)}if(i.length>3||!i.length)return null;if(i.length>1){let e=i.pop(),n=i.pop(),a={provider:i.length>0?i[0]:r,prefix:n,name:e};return t&&!u(a)?null:a}let a=i[0],o=a.split(`-`);if(o.length>1){let e={provider:r,prefix:o.shift(),name:o.join(`-`)};return t&&!u(e)?null:e}if(n&&r===``){let e={provider:r,prefix:``,name:a};return t&&!u(e,n)?null:e}return null},u=(e,t)=>e?!!((t&&e.prefix===``||e.prefix)&&e.name):!1;function d(e,t){let n={};!e.hFlip!=!t.hFlip&&(n.hFlip=!0),!e.vFlip!=!t.vFlip&&(n.vFlip=!0);let r=((e.rotate||0)+(t.rotate||0))%4;return r&&(n.rotate=r),n}function f(e,t){let n=d(e,t);for(let r in o)r in i?r in e&&!(r in n)&&(n[r]=i[r]):r in t?n[r]=t[r]:r in e&&(n[r]=e[r]);return n}function p(e,t){let n=e.icons,r=e.aliases||Object.create(null),i=Object.create(null);function a(e){if(n[e])return i[e]=[];if(!(e in i)){i[e]=null;let t=r[e]&&r[e].parent,n=t&&a(t);n&&(i[e]=[t].concat(n))}return i[e]}return(t||Object.keys(n).concat(Object.keys(r))).forEach(a),i}function m(e,t,n){let r=e.icons,i=e.aliases||Object.create(null),a={};function o(e){a=f(r[e]||i[e],a)}return o(t),n.forEach(o),f(e,a)}function h(e,t){if(e.icons[t])return m(e,t,[]);let n=p(e,[t])[t];return n?m(e,t,n):null}var g=/(-?[0-9.]*[0-9]+[0-9.]*)/g,ee=/^-?[0-9.]*[0-9]+[0-9.]*$/g;function te(e,t,n){if(t===1)return e;if(n||=100,typeof e==`number`)return Math.ceil(e*t*n)/n;if(typeof e!=`string`)return e;let r=e.split(g);if(r===null||!r.length)return e;let i=[],a=r.shift(),o=ee.test(a);for(;;){if(o){let e=parseFloat(a);isNaN(e)?i.push(a):i.push(Math.ceil(e*t*n)/n)}else i.push(a);if(a=r.shift(),a===void 0)return i.join(``);o=!o}}function ne(e,t=`defs`){let n=``,r=e.indexOf(`<`+t);for(;r>=0;){let i=e.indexOf(`>`,r),a=e.indexOf(`</`+t);if(i===-1||a===-1)break;let o=e.indexOf(`>`,a);if(o===-1)break;n+=e.slice(i+1,a).trim(),e=e.slice(0,r).trim()+e.slice(o+1)}return{defs:n,content:e}}function re(e,t){return e?`<defs>`+e+`</defs>`+t:t}function ie(e,t,n){let r=ne(e);return re(r.defs,t+r.content+n)}var ae=e=>e===`unset`||e===`undefined`||e===`none`;function oe(e,t){let n={...a,...e},r={...c,...t},i={left:n.left,top:n.top,width:n.width,height:n.height},o=n.body;[n,r].forEach(e=>{let t=[],n=e.hFlip,r=e.vFlip,a=e.rotate;n?r?a+=2:(t.push(`translate(`+(i.width+i.left).toString()+` `+(0-i.top).toString()+`)`),t.push(`scale(-1 1)`),i.top=i.left=0):r&&(t.push(`translate(`+(0-i.left).toString()+` `+(i.height+i.top).toString()+`)`),t.push(`scale(1 -1)`),i.top=i.left=0);let s;switch(a<0&&(a-=Math.floor(a/4)*4),a%=4,a){case 1:s=i.height/2+i.top,t.unshift(`rotate(90 `+s.toString()+` `+s.toString()+`)`);break;case 2:t.unshift(`rotate(180 `+(i.width/2+i.left).toString()+` `+(i.height/2+i.top).toString()+`)`);break;case 3:s=i.width/2+i.left,t.unshift(`rotate(-90 `+s.toString()+` `+s.toString()+`)`);break}a%2==1&&(i.left!==i.top&&(s=i.left,i.left=i.top,i.top=s),i.width!==i.height&&(s=i.width,i.width=i.height,i.height=s)),t.length&&(o=ie(o,`<g transform="`+t.join(` `)+`">`,`</g>`))});let s=r.width,l=r.height,u=i.width,d=i.height,f,p;s===null?(p=l===null?`1em`:l===`auto`?d:l,f=te(p,u/d)):(f=s===`auto`?u:s,p=l===null?te(f,d/u):l===`auto`?d:l);let m={},h=(e,t)=>{ae(t)||(m[e]=t.toString())};h(`width`,f),h(`height`,p);let g=[i.left,i.top,u,d];return m.viewBox=g.join(` `),{attributes:m,viewBox:g,body:o}}var se=/\sid="(\S+)"/g,ce=new Map;function le(e){e=e.replace(/[0-9]+$/,``)||`a`;let t=ce.get(e)||0;return ce.set(e,t+1),t?`${e}${t}`:e}function ue(e){let t=[],n;for(;n=se.exec(e);)t.push(n[1]);if(!t.length)return e;let r=`suffix`+(Math.random()*16777216|Date.now()).toString(16);return t.forEach(t=>{let n=le(t),i=t.replace(/[.*+?^${}()|[\]\\]/g,`\\$&`);e=e.replace(RegExp(`([#;"])(`+i+`)([")]|\\.[a-z])`,`g`),`$1`+n+r+`$3`)}),e=e.replace(new RegExp(r,`g`),``),e}function de(e,t){let n=e.indexOf(`xlink:`)===-1?``:` xmlns:xlink="http://www.w3.org/1999/xlink"`;for(let e in t)n+=` `+e+`="`+t[e]+`"`;return`<svg xmlns="http://www.w3.org/2000/svg"`+n+`>`+e+`</svg>`}function _(){return{async:!1,breaks:!1,extensions:null,gfm:!0,hooks:null,pedantic:!1,renderer:null,silent:!1,tokenizer:null,walkTokens:null}}var v=_();function fe(e){v=e}var y={exec:()=>null};function b(e,t=``){let n=typeof e==`string`?e:e.source,r={replace:(e,t)=>{let i=typeof t==`string`?t:t.source;return i=i.replace(x.caret,`$1`),n=n.replace(e,i),r},getRegex:()=>new RegExp(n,t)};return r}var x={codeRemoveIndent:/^(?: {1,4}| {0,3}\t)/gm,outputLinkReplace:/\\([\[\]])/g,indentCodeCompensation:/^(\s+)(?:```)/,beginningSpace:/^\s+/,endingHash:/#$/,startingSpaceChar:/^ /,endingSpaceChar:/ $/,nonSpaceChar:/[^ ]/,newLineCharGlobal:/\n/g,tabCharGlobal:/\t/g,multipleSpaceGlobal:/\s+/g,blankLine:/^[ \t]*$/,doubleBlankLine:/\n[ \t]*\n[ \t]*$/,blockquoteStart:/^ {0,3}>/,blockquoteSetextReplace:/\n {0,3}((?:=+|-+) *)(?=\n|$)/g,blockquoteSetextReplace2:/^ {0,3}>[ \t]?/gm,listReplaceTabs:/^\t+/,listReplaceNesting:/^ {1,4}(?=( {4})*[^ ])/g,listIsTask:/^\[[ xX]\] /,listReplaceTask:/^\[[ xX]\] +/,anyLine:/\n.*\n/,hrefBrackets:/^<(.*)>$/,tableDelimiter:/[:|]/,tableAlignChars:/^\||\| *$/g,tableRowBlankLine:/\n[ \t]*$/,tableAlignRight:/^ *-+: *$/,tableAlignCenter:/^ *:-+: *$/,tableAlignLeft:/^ *:-+ *$/,startATag:/^<a /i,endATag:/^<\/a>/i,startPreScriptTag:/^<(pre|code|kbd|script)(\s|>)/i,endPreScriptTag:/^<\/(pre|code|kbd|script)(\s|>)/i,startAngleBracket:/^</,endAngleBracket:/>$/,pedanticHrefTitle:/^([^'"]*[^\s])\s+(['"])(.*)\2/,unicodeAlphaNumeric:/[\p{L}\p{N}]/u,escapeTest:/[&<>"']/,escapeReplace:/[&<>"']/g,escapeTestNoEncode:/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/,escapeReplaceNoEncode:/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/g,unescapeTest:/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/gi,caret:/(^|[^\[])\^/g,percentDecode:/%25/g,findPipe:/\|/g,splitPipe:/ \|/,slashPipe:/\\\|/g,carriageReturn:/\r\n|\r/g,spaceLine:/^ +$/gm,notSpaceStart:/^\S*/,endingNewline:/\n$/,listItemRegex:e=>RegExp(`^( {0,3}${e})((?:[ ][^\\n]*)?(?:\\n|$))`),nextBulletRegex:e=>RegExp(`^ {0,${Math.min(3,e-1)}}(?:[*+-]|\\d{1,9}[.)])((?:[ ][^\\n]*)?(?:\\n|$))`),hrRegex:e=>RegExp(`^ {0,${Math.min(3,e-1)}}((?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$)`),fencesBeginRegex:e=>RegExp(`^ {0,${Math.min(3,e-1)}}(?:\`\`\`|~~~)`),headingBeginRegex:e=>RegExp(`^ {0,${Math.min(3,e-1)}}#`),htmlBeginRegex:e=>RegExp(`^ {0,${Math.min(3,e-1)}}<(?:[a-z].*>|!--)`,`i`)},pe=/^(?:[ \t]*(?:\n|$))+/,me=/^((?: {4}| {0,3}\t)[^\n]+(?:\n(?:[ \t]*(?:\n|$))*)?)+/,he=/^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/,S=/^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/,ge=/^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/,C=/(?:[*+-]|\d{1,9}[.)])/,_e=/^(?!bull |blockCode|fences|blockquote|heading|html|table)((?:.|\n(?!\s*?\n|bull |blockCode|fences|blockquote|heading|html|table))+?)\n {0,3}(=+|-+) *(?:\n+|$)/,ve=b(_e).replace(/bull/g,C).replace(/blockCode/g,/(?: {4}| {0,3}\t)/).replace(/fences/g,/ {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g,/ {0,3}>/).replace(/heading/g,/ {0,3}#{1,6}/).replace(/html/g,/ {0,3}<[^\n>]+>\n/).replace(/\|table/g,``).getRegex(),ye=b(_e).replace(/bull/g,C).replace(/blockCode/g,/(?: {4}| {0,3}\t)/).replace(/fences/g,/ {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g,/ {0,3}>/).replace(/heading/g,/ {0,3}#{1,6}/).replace(/html/g,/ {0,3}<[^\n>]+>\n/).replace(/table/g,/ {0,3}\|?(?:[:\- ]*\|)+[\:\- ]*\n/).getRegex(),w=/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/,be=/^[^\n]+/,T=/(?!\s*\])(?:\\[\s\S]|[^\[\]\\])+/,xe=b(/^ {0,3}\[(label)\]: *(?:\n[ \t]*)?([^<\s][^\s]*|<.*?>)(?:(?: +(?:\n[ \t]*)?| *\n[ \t]*)(title))? *(?:\n+|$)/).replace(`label`,T).replace(`title`,/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/).getRegex(),Se=b(/^( {0,3}bull)([ \t][^\n]+?)?(?:\n|$)/).replace(/bull/g,C).getRegex(),E=`address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|search|section|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul`,D=/<!--(?:-?>|[\s\S]*?(?:-->|$))/,Ce=b(`^ {0,3}(?:<(script|pre|style|textarea)[\\s>][\\s\\S]*?(?:</\\1>[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>\\n*|$)|<![A-Z][\\s\\S]*?(?:>\\n*|$)|<!\\[CDATA\\[[\\s\\S]*?(?:\\]\\]>\\n*|$)|</?(tag)(?: +|\\n|/?>)[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$)|<(?!script|pre|style|textarea)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$)|</(?!script|pre|style|textarea)[a-z][\\w-]*\\s*>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$))`,`i`).replace(`comment`,D).replace(`tag`,E).replace(`attribute`,/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),we=b(w).replace(`hr`,S).replace(`heading`,` {0,3}#{1,6}(?:\\s|$)`).replace(`|lheading`,``).replace(`|table`,``).replace(`blockquote`,` {0,3}>`).replace(`fences`," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace(`list`,` {0,3}(?:[*+-]|1[.)]) `).replace(`html`,`</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)`).replace(`tag`,E).getRegex(),O={blockquote:b(/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/).replace(`paragraph`,we).getRegex(),code:me,def:xe,fences:he,heading:ge,hr:S,html:Ce,lheading:ve,list:Se,newline:pe,paragraph:we,table:y,text:be},Te=b(`^ *([^\\n ].*)\\n {0,3}((?:\\| *)?:?-+:? *(?:\\| *:?-+:? *)*(?:\\| *)?)(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)`).replace(`hr`,S).replace(`heading`,` {0,3}#{1,6}(?:\\s|$)`).replace(`blockquote`,` {0,3}>`).replace(`code`,`(?: {4}| {0,3} )[^\\n]`).replace(`fences`," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace(`list`,` {0,3}(?:[*+-]|1[.)]) `).replace(`html`,`</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)`).replace(`tag`,E).getRegex(),Ee={...O,lheading:ye,table:Te,paragraph:b(w).replace(`hr`,S).replace(`heading`,` {0,3}#{1,6}(?:\\s|$)`).replace(`|lheading`,``).replace(`table`,Te).replace(`blockquote`,` {0,3}>`).replace(`fences`," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace(`list`,` {0,3}(?:[*+-]|1[.)]) `).replace(`html`,`</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)`).replace(`tag`,E).getRegex()},De={...O,html:b(`^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)|<tag(?:"[^"]*"|'[^']*'|\\s[^'"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))`).replace(`comment`,D).replace(/tag/g,`(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b`).getRegex(),def:/^ *\[([^\]]+)\]: *<?([^\s>]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,heading:/^(#{1,6})(.*)(?:\n+|$)/,fences:y,lheading:/^(.+?)\n {0,3}(=+|-+) *(?:\n+|$)/,paragraph:b(w).replace(`hr`,S).replace(`heading`,` *#{1,6} *[^
|
|
2
2
|
]`).replace(`lheading`,ve).replace(`|table`,``).replace(`blockquote`,` {0,3}>`).replace(`|fences`,``).replace(`|list`,``).replace(`|html`,``).replace(`|tag`,``).getRegex()},Oe=/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,ke=/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,Ae=/^( {2,}|\\)\n(?!\s*$)/,je=/^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<!\[`*_]|\b_|$)|[^ ](?= {2,}\n)))/,k=/[\p{P}\p{S}]/u,A=/[\s\p{P}\p{S}]/u,Me=/[^\s\p{P}\p{S}]/u,Ne=b(/^((?![*_])punctSpace)/,`u`).replace(/punctSpace/g,A).getRegex(),Pe=/(?!~)[\p{P}\p{S}]/u,Fe=/(?!~)[\s\p{P}\p{S}]/u,Ie=/(?:[^\s\p{P}\p{S}]|~)/u,Le=/\[[^\[\]]*?\]\((?:\\[\s\S]|[^\\\(\)]|\((?:\\[\s\S]|[^\\\(\)])*\))*\)|`[^`]*?`|<(?! )[^<>]*?>/g,Re=/^(?:\*+(?:((?!\*)punct)|[^\s*]))|^_+(?:((?!_)punct)|([^\s_]))/,ze=b(Re,`u`).replace(/punct/g,k).getRegex(),Be=b(Re,`u`).replace(/punct/g,Pe).getRegex(),Ve=`^[^_*]*?__[^_*]*?\\*[^_*]*?(?=__)|[^*]+(?=[^*])|(?!\\*)punct(\\*+)(?=[\\s]|$)|notPunctSpace(\\*+)(?!\\*)(?=punctSpace|$)|(?!\\*)punctSpace(\\*+)(?=notPunctSpace)|[\\s](\\*+)(?!\\*)(?=punct)|(?!\\*)punct(\\*+)(?!\\*)(?=punct)|notPunctSpace(\\*+)(?=notPunctSpace)`,He=b(Ve,`gu`).replace(/notPunctSpace/g,Me).replace(/punctSpace/g,A).replace(/punct/g,k).getRegex(),Ue=b(Ve,`gu`).replace(/notPunctSpace/g,Ie).replace(/punctSpace/g,Fe).replace(/punct/g,Pe).getRegex(),We=b(`^[^_*]*?\\*\\*[^_*]*?_[^_*]*?(?=\\*\\*)|[^_]+(?=[^_])|(?!_)punct(_+)(?=[\\s]|$)|notPunctSpace(_+)(?!_)(?=punctSpace|$)|(?!_)punctSpace(_+)(?=notPunctSpace)|[\\s](_+)(?!_)(?=punct)|(?!_)punct(_+)(?!_)(?=punct)`,`gu`).replace(/notPunctSpace/g,Me).replace(/punctSpace/g,A).replace(/punct/g,k).getRegex(),Ge=b(/\\(punct)/,`gu`).replace(/punct/g,k).getRegex(),Ke=b(/^<(scheme:[^\s\x00-\x1f<>]*|email)>/).replace(`scheme`,/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/).replace(`email`,/[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/).getRegex(),qe=b(D).replace(`(?:-->|$)`,`-->`).getRegex(),Je=b(`^comment|^</[a-zA-Z][\\w:-]*\\s*>|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^<![a-zA-Z]+\\s[\\s\\S]*?>|^<!\\[CDATA\\[[\\s\\S]*?\\]\\]>`).replace(`comment`,qe).replace(`attribute`,/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/).getRegex(),j=/(?:\[(?:\\[\s\S]|[^\[\]\\])*\]|\\[\s\S]|`[^`]*`|[^\[\]\\`])*?/,Ye=b(/^!?\[(label)\]\(\s*(href)(?:(?:[ \t]*(?:\n[ \t]*)?)(title))?\s*\)/).replace(`label`,j).replace(`href`,/<(?:\\.|[^\n<>\\])+>|[^ \t\n\x00-\x1f]*/).replace(`title`,/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/).getRegex(),Xe=b(/^!?\[(label)\]\[(ref)\]/).replace(`label`,j).replace(`ref`,T).getRegex(),Ze=b(/^!?\[(ref)\](?:\[\])?/).replace(`ref`,T).getRegex(),M={_backpedal:y,anyPunctuation:Ge,autolink:Ke,blockSkip:Le,br:Ae,code:ke,del:y,emStrongLDelim:ze,emStrongRDelimAst:He,emStrongRDelimUnd:We,escape:Oe,link:Ye,nolink:Ze,punctuation:Ne,reflink:Xe,reflinkSearch:b(`reflink|nolink(?!\\()`,`g`).replace(`reflink`,Xe).replace(`nolink`,Ze).getRegex(),tag:Je,text:je,url:y},Qe={...M,link:b(/^!?\[(label)\]\((.*?)\)/).replace(`label`,j).getRegex(),reflink:b(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace(`label`,j).getRegex()},N={...M,emStrongRDelimAst:Ue,emStrongLDelim:Be,url:b(/^((?:ftp|https?):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/,`i`).replace(`email`,/[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/).getRegex(),_backpedal:/(?:[^?!.,:;*_'"~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_'"~)]+(?!$))+/,del:/^(~~?)(?=[^\s~])((?:\\[\s\S]|[^\\])*?(?:\\[\s\S]|[^\s~\\]))\1(?=[^~]|$)/,text:/^([`~]+|[^`~])(?:(?= {2,}\n)|(?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)|[\s\S]*?(?:(?=[\\<!\[`*~_]|\b_|https?:\/\/|ftp:\/\/|www\.|$)|[^ ](?= {2,}\n)|[^a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-](?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)))/},$e={...N,br:b(Ae).replace(`{2,}`,`*`).getRegex(),text:b(N.text).replace(`\\b_`,`\\b_| {2,}\\n`).replace(/\{2,\}/g,`*`).getRegex()},P={normal:O,gfm:Ee,pedantic:De},F={normal:M,gfm:N,breaks:$e,pedantic:Qe},et={"&":`&`,"<":`<`,">":`>`,'"':`"`,"'":`'`},tt=e=>et[e];function I(e,t){if(t){if(x.escapeTest.test(e))return e.replace(x.escapeReplace,tt)}else if(x.escapeTestNoEncode.test(e))return e.replace(x.escapeReplaceNoEncode,tt);return e}function nt(e){try{e=encodeURI(e).replace(x.percentDecode,`%`)}catch{return null}return e}function rt(e,t){let n=e.replace(x.findPipe,(e,t,n)=>{let r=!1,i=t;for(;--i>=0&&n[i]===`\\`;)r=!r;return r?`|`:` |`}).split(x.splitPipe),r=0;if(n[0].trim()||n.shift(),n.length>0&&!n.at(-1)?.trim()&&n.pop(),t)if(n.length>t)n.splice(t);else for(;n.length<t;)n.push(``);for(;r<n.length;r++)n[r]=n[r].trim().replace(x.slashPipe,`|`);return n}function L(e,t,n){let r=e.length;if(r===0)return``;let i=0;for(;i<r;){let a=e.charAt(r-i-1);if(a===t&&!n)i++;else if(a!==t&&n)i++;else break}return e.slice(0,r-i)}function it(e,t){if(e.indexOf(t[1])===-1)return-1;let n=0;for(let r=0;r<e.length;r++)if(e[r]===`\\`)r++;else if(e[r]===t[0])n++;else if(e[r]===t[1]&&(n--,n<0))return r;return n>0?-2:-1}function at(e,t,n,r,i){let a=t.href,o=t.title||null,s=e[1].replace(i.other.outputLinkReplace,`$1`);r.state.inLink=!0;let c={type:e[0].charAt(0)===`!`?`image`:`link`,raw:n,href:a,title:o,text:s,tokens:r.inlineTokens(s)};return r.state.inLink=!1,c}function ot(e,t,n){let r=e.match(n.other.indentCodeCompensation);if(r===null)return t;let i=r[1];return t.split(`
|
|
3
3
|
`).map(e=>{let t=e.match(n.other.beginningSpace);if(t===null)return e;let[r]=t;return r.length>=i.length?e.slice(i.length):e}).join(`
|
|
4
4
|
`)}var R=class{options;rules;lexer;constructor(e){this.options=e||v}space(e){let t=this.rules.block.newline.exec(e);if(t&&t[0].length>0)return{type:`space`,raw:t[0]}}code(e){let t=this.rules.block.code.exec(e);if(t){let e=t[0].replace(this.rules.other.codeRemoveIndent,``);return{type:`code`,raw:t[0],codeBlockStyle:`indented`,text:this.options.pedantic?e:L(e,`
|
|
@@ -62,9 +62,9 @@ Please report this to https://github.com/markedjs/marked.`,e){let e=`<p>An error
|
|
|
62
62
|
`)})}r[0]=r[0].replace(/^\r?\n/,``);var o=r[0];return t.forEach(function(e,t){var n=o.match(/(?:^|\n)( *)$/),i=n?n[1]:``,a=e;typeof e==`string`&&e.includes(`
|
|
63
63
|
`)&&(a=String(e).split(`
|
|
64
64
|
`).map(function(e,t){return t===0?e:``+i+e}).join(`
|
|
65
|
-
`)),o+=a+r[t+1]}),o}var ct={body:`<g><rect width="80" height="80" style="fill: #087ebf; stroke-width: 0px;"/><text transform="translate(21.16 64.67)" style="fill: #fff; font-family: ArialMT, Arial; font-size: 67.75px;"><tspan x="0" y="0">?</tspan></text></g>`,height:80,width:80},K=new Map,lt=new Map,ut=
|
|
65
|
+
`)),o+=a+r[t+1]}),o}var ct={body:`<g><rect width="80" height="80" style="fill: #087ebf; stroke-width: 0px;"/><text transform="translate(21.16 64.67)" style="fill: #fff; font-family: ArialMT, Arial; font-size: 67.75px;"><tspan x="0" y="0">?</tspan></text></g>`,height:80,width:80},K=new Map,lt=new Map,ut=e.h(t=>{for(let n of t){if(!n.name)throw Error(`Invalid icon loader. Must have a "name" property with non-empty string value.`);if(e.g.debug(`Registering icon pack:`,n.name),`loader`in n)lt.set(n.name,n.loader);else if(`icons`in n)K.set(n.name,n.icons);else throw e.g.error(`Invalid icon loader:`,n),Error(`Invalid icon loader. Must have either "icons" or "loader" property.`)}},`registerIconPacks`),dt=e.h(async(t,n)=>{let r=l(t,!0,n!==void 0);if(!r)throw Error(`Invalid icon name: ${t}`);let i=r.prefix||n;if(!i)throw Error(`Icon name must contain a prefix: ${t}`);let a=K.get(i);if(!a){let t=lt.get(i);if(!t)throw Error(`Icon set not found: ${r.prefix}`);try{a={...await t(),prefix:i},K.set(i,a)}catch(t){throw e.g.error(t),Error(`Failed to load icon set: ${r.prefix}`)}}let o=h(a,r.name);if(!o)throw Error(`Icon not found: ${t}`);return o},`getRegisteredIconData`),ft=e.h(async e=>{try{return await dt(e),!0}catch{return!1}},`isIconAvailable`),pt=e.h(async(n,r,i)=>{let a;try{a=await dt(n,r?.fallbackPrefix)}catch(t){e.g.error(t),a=ct}let o=oe(a,r);return t.z(de(ue(o.body),{...o.attributes,...i}),t.b())},`getIconSVG`);function mt(e,{markdownAutoWrap:t}){return st(e.replace(/<br\/>/g,`
|
|
66
66
|
`).replace(/\n{2,}/g,`
|
|
67
|
-
`))}
|
|
68
|
-
`).forEach((e,n)=>{n!==0&&(o++,a.push([])),e.split(` `).forEach(e=>{e=e.replace(/'/g,`'`),e&&a[o].push({content:e,type:t})})}):e.type===`strong`||e.type===`em`?e.tokens.forEach(t=>{s(t,e.type)}):e.type===`html`&&a[o].push({content:e.text,type:`normal`})}return
|
|
69
|
-
`)))throw Error(`splitLineToFitWidth does not support newlines in the line`);return J(e,t)}
|
|
70
|
-
`),o):
|
|
67
|
+
`))}e.h(mt,`preprocessMarkdown`);function ht(e){return e.split(/\\n|\n|<br\s*\/?>/gi).map(e=>e.trim().match(/<[^>]+>|[^\s<>]+/g)?.map(e=>({content:e,type:`normal`}))??[])}e.h(ht,`nonMarkdownToLines`);function gt(t,n={}){let r=mt(t,n),i=G.lexer(r),a=[[]],o=0;function s(e,t=`normal`){e.type===`text`?e.text.split(`
|
|
68
|
+
`).forEach((e,n)=>{n!==0&&(o++,a.push([])),e.split(` `).forEach(e=>{e=e.replace(/'/g,`'`),e&&a[o].push({content:e,type:t})})}):e.type===`strong`||e.type===`em`?e.tokens.forEach(t=>{s(t,e.type)}):e.type===`html`&&a[o].push({content:e.text,type:`normal`})}return e.h(s,`processNode`),i.forEach(e=>{e.type===`paragraph`?e.tokens?.forEach(e=>{s(e)}):e.type===`html`?a[o].push({content:e.text,type:`normal`}):a[o].push({content:e.raw,type:`normal`})}),a}e.h(gt,`markdownToLines`);function _t(e){return e?`<p>${e.replace(/\\n|\n/g,`<br />`)}</p>`:``}e.h(_t,`nonMarkdownToHTML`);function vt(t,{markdownAutoWrap:n}={}){let r=G.lexer(t);function i(t){return t.type===`text`?n===!1?t.text.replace(/\n */g,`<br/>`).replace(/ /g,` `):t.text.replace(/\n */g,`<br/>`):t.type===`strong`?`<strong>${t.tokens?.map(i).join(``)}</strong>`:t.type===`em`?`<em>${t.tokens?.map(i).join(``)}</em>`:t.type===`paragraph`?`<p>${t.tokens?.map(i).join(``)}</p>`:t.type===`space`?``:t.type===`html`?`${t.text}`:t.type===`escape`?t.text:(e.g.warn(`Unsupported markdown: ${t.type}`),t.raw)}return e.h(i,`output`),r.map(i).join(``)}e.h(vt,`markdownToHTML`);function yt(e){return Intl.Segmenter?[...new Intl.Segmenter().segment(e)].map(e=>e.segment):[...e]}e.h(yt,`splitTextToChars`);function bt(e,t){return q(e,[],yt(t.content),t.type)}e.h(bt,`splitWordToFitWidth`);function q(e,t,n,r){if(n.length===0)return[{content:t.join(``),type:r},{content:``,type:r}];let[i,...a]=n,o=[...t,i];return e([{content:o.join(``),type:r}])?q(e,o,a,r):(t.length===0&&i&&(t.push(i),n.shift()),[{content:t.join(``),type:r},{content:n.join(``),type:r}])}e.h(q,`splitWordToFitWidthRecursion`);function xt(e,t){if(e.some(({content:e})=>e.includes(`
|
|
69
|
+
`)))throw Error(`splitLineToFitWidth does not support newlines in the line`);return J(e,t)}e.h(xt,`splitLineToFitWidth`);function J(e,t,n=[],r=[]){if(e.length===0)return r.length>0&&n.push(r),n.length>0?n:[];let i=``;e[0].content===` `&&(i=` `,e.shift());let a=e.shift()??{content:` `,type:`normal`},o=[...r];if(i!==``&&o.push({content:i,type:`normal`}),o.push(a),t(o))return J(e,t,n,o);if(r.length>0)n.push(r),e.unshift(a);else if(a.content){let[r,i]=bt(t,a);n.push([r]),i.content&&e.unshift(i)}return J(e,t,n)}e.h(J,`splitLineToFitWidthRecursion`);function Y(e,t){t&&e.attr(`style`,t)}e.h(Y,`applyStyle`);var St=16384;async function X(e,n,r,i,a=!1,o=t.b()){let s=e.append(`foreignObject`);s.attr(`width`,`${Math.min(10*r,St)}px`),s.attr(`height`,`${Math.min(10*r,St)}px`);let c=s.append(`xhtml:div`),l=t.A(n.label)?await t.F(n.label.replace(t.s.lineBreakRegex,`
|
|
70
|
+
`),o):t.z(n.label,o),u=n.isNode?`nodeLabel`:`edgeLabel`,d=c.append(`span`);d.html(l),Y(d,n.labelStyle),d.attr(`class`,`${u} ${i}`),Y(c,n.labelStyle),c.style(`display`,`table-cell`),c.style(`white-space`,`nowrap`),c.style(`line-height`,`1.5`),r!==1/0&&(c.style(`max-width`,r+`px`),c.style(`text-align`,`center`)),c.attr(`xmlns`,`http://www.w3.org/1999/xhtml`),a&&c.attr(`class`,`labelBkg`);let f=c.node().getBoundingClientRect();return f.width===r&&(c.style(`display`,`table`),c.style(`white-space`,`break-spaces`),c.style(`width`,r+`px`),f=c.node().getBoundingClientRect()),s.node()}e.h(X,`addHtmlSpan`);function Z(e,t,n,r=!1){let i=e.append(`tspan`).attr(`class`,`text-outer-tspan`).attr(`x`,0).attr(`y`,t*n-.1+`em`).attr(`dy`,n+`em`);return r&&i.attr(`text-anchor`,`middle`),i}e.h(Z,`createTspan`);function Ct(e,t,n){let r=e.append(`text`),i=Z(r,1,t);$(i,n);let a=i.node().getComputedTextLength();return r.remove(),a}e.h(Ct,`computeWidthOfText`);function wt(e,t,n){let r=e.append(`text`),i=Z(r,1,t);$(i,[{content:n,type:`normal`}]);let a=i.node()?.getBoundingClientRect();return a&&r.remove(),a}e.h(wt,`computeDimensionOfText`);function Tt(t,n,r,i=!1,a=!1){let o=1.1,s=n.append(`g`),c=s.insert(`rect`).attr(`class`,`background`).attr(`style`,`stroke: none`),l=s.append(`text`).attr(`y`,`-10.1`);a&&l.attr(`text-anchor`,`middle`);let u=0;for(let n of r){let r=e.h(e=>Ct(s,o,e)<=t,`checkWidth`),i=r(n)?[n]:xt(n,r);for(let e of i)$(Z(l,u,o,a),e),u++}if(i){let e=l.node().getBBox();return c.attr(`x`,e.x-2).attr(`y`,e.y-2).attr(`width`,e.width+4).attr(`height`,e.height+4),s.node()}else return l.node()}e.h(Tt,`createFormattedText`);function Q(e){return e.replace(/&(amp|lt|gt);/g,(e,t)=>{switch(t){case`amp`:return`&`;case`lt`:return`<`;case`gt`:return`>`;default:return e}})}e.h(Q,`decodeHTMLEntities`);function $(e,t){e.text(``),t.forEach((t,n)=>{let r=e.append(`tspan`).attr(`font-style`,t.type===`em`?`italic`:`normal`).attr(`class`,`text-inner-tspan`).attr(`font-weight`,t.type===`strong`?`bold`:`normal`);n===0?r.text(Q(t.content)):r.text(` `+Q(t.content))})}e.h($,`updateTextContentAndStyles`);async function Et(e,n={}){let r=[];e.replace(/(fa[bklrs]?):fa-([\w-]+)/g,(e,i,a)=>(r.push((async()=>{let r=`${i}:${a}`;return await ft(r)?await pt(r,void 0,{class:`label-icon`}):`<i class='${t.z(e,n).replace(`:`,` `)}'></i>`})()),e));let i=await Promise.all(r);return e.replace(/(fa[bklrs]?):fa-([\w-]+)/g,()=>i.shift()??``)}e.h(Et,`replaceIconSubstring`);var Dt=e.h(async(r,i=``,{style:a=``,isTitle:o=!1,classes:s=``,useHtmlLabels:c=!0,markdown:l=!0,isNode:u=!0,width:d=200,addSvgBackground:f=!1}={},p)=>{if(e.g.debug(`XYZ createText`,i,a,o,s,c,u,`addSvgBackground: `,f),c){let e=await Et(n.a(l?vt(i,p):_t(i)),p),o=i.replace(/\\\\/g,`\\`);return await X(r,{isNode:u,label:t.A(i)?o:e,labelStyle:a.replace(`fill:`,`color:`)},d,s,f,p)}else{let t=n.a(i.replace(/<br\s*\/?>/g,`<br/>`)),s=Tt(d,r,l?gt(t.replace(`<br>`,`<br/>`),p):ht(t),i?f:!1,!u);if(u){/stroke:/.exec(a)&&(a=a.replace(`stroke:`,`lineColor:`));let t=a.replace(/stroke:[^;]+;?/g,``).replace(/stroke-width:[^;]+;?/g,``).replace(/fill:[^;]+;?/g,``).replace(/color:/g,`fill:`);e.p(s).attr(`style`,t)}else{let t=a.replace(/stroke:[^;]+;?/g,``).replace(/stroke-width:[^;]+;?/g,``).replace(/fill:[^;]+;?/g,``).replace(/background:/g,`fill:`);e.p(s).select(`rect`).attr(`style`,t.replace(/background:/g,`fill:`));let n=a.replace(/stroke:[^;]+;?/g,``).replace(/stroke-width:[^;]+;?/g,``).replace(/fill:[^;]+;?/g,``).replace(/color:/g,`fill:`);e.p(s).select(`text`).attr(`style`,n)}return o?e.p(s).selectAll(`tspan.text-outer-tspan`).classed(`title-row`,!0):e.p(s).selectAll(`tspan.text-outer-tspan`).classed(`row`,!0),s}},`createText`);Object.defineProperty(exports,`a`,{enumerable:!0,get:function(){return ct}}),Object.defineProperty(exports,`i`,{enumerable:!0,get:function(){return ut}}),Object.defineProperty(exports,`n`,{enumerable:!0,get:function(){return Dt}}),Object.defineProperty(exports,`o`,{enumerable:!0,get:function(){return st}}),Object.defineProperty(exports,`r`,{enumerable:!0,get:function(){return pt}}),Object.defineProperty(exports,`t`,{enumerable:!0,get:function(){return wt}});
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
1
|
+
import { g as e, h as t, p as n } from "./src-v9RrE_4h.js";
|
|
2
|
+
import { A as r, F as i, b as a, s as o, z as s } from "./chunk-CSCIHK7Q-9WKhcDqw.js";
|
|
3
|
+
import { a as c } from "./chunk-5ZQYHXKU-C4uam08j.js";
|
|
4
4
|
//#region node_modules/@iconify/utils/lib/icon/defaults.js
|
|
5
5
|
var l = Object.freeze({
|
|
6
6
|
left: 0,
|
|
@@ -1615,119 +1615,119 @@ function pt(e) {
|
|
|
1615
1615
|
}), a;
|
|
1616
1616
|
}
|
|
1617
1617
|
//#endregion
|
|
1618
|
-
//#region node_modules/mermaid/dist/chunks/mermaid.core/chunk-
|
|
1618
|
+
//#region node_modules/mermaid/dist/chunks/mermaid.core/chunk-O5CBEL6O.mjs
|
|
1619
1619
|
var mt = {
|
|
1620
1620
|
body: "<g><rect width=\"80\" height=\"80\" style=\"fill: #087ebf; stroke-width: 0px;\"/><text transform=\"translate(21.16 64.67)\" style=\"fill: #fff; font-family: ArialMT, Arial; font-size: 67.75px;\"><tspan x=\"0\" y=\"0\">?</tspan></text></g>",
|
|
1621
1621
|
height: 80,
|
|
1622
1622
|
width: 80
|
|
1623
|
-
}, K = /* @__PURE__ */ new Map(), ht = /* @__PURE__ */ new Map(), gt = /* @__PURE__ */
|
|
1624
|
-
for (let
|
|
1625
|
-
if (!
|
|
1626
|
-
if (
|
|
1627
|
-
else if ("icons" in
|
|
1628
|
-
else throw
|
|
1629
|
-
}
|
|
1630
|
-
}, "registerIconPacks"), _t = /* @__PURE__ */
|
|
1631
|
-
let
|
|
1632
|
-
if (!
|
|
1633
|
-
let
|
|
1634
|
-
if (!
|
|
1635
|
-
let
|
|
1636
|
-
if (!
|
|
1637
|
-
let
|
|
1638
|
-
if (!
|
|
1623
|
+
}, K = /* @__PURE__ */ new Map(), ht = /* @__PURE__ */ new Map(), gt = /* @__PURE__ */ t((t) => {
|
|
1624
|
+
for (let n of t) {
|
|
1625
|
+
if (!n.name) throw Error("Invalid icon loader. Must have a \"name\" property with non-empty string value.");
|
|
1626
|
+
if (e.debug("Registering icon pack:", n.name), "loader" in n) ht.set(n.name, n.loader);
|
|
1627
|
+
else if ("icons" in n) K.set(n.name, n.icons);
|
|
1628
|
+
else throw e.error("Invalid icon loader:", n), Error("Invalid icon loader. Must have either \"icons\" or \"loader\" property.");
|
|
1629
|
+
}
|
|
1630
|
+
}, "registerIconPacks"), _t = /* @__PURE__ */ t(async (t, n) => {
|
|
1631
|
+
let r = h(t, !0, n !== void 0);
|
|
1632
|
+
if (!r) throw Error(`Invalid icon name: ${t}`);
|
|
1633
|
+
let i = r.prefix || n;
|
|
1634
|
+
if (!i) throw Error(`Icon name must contain a prefix: ${t}`);
|
|
1635
|
+
let a = K.get(i);
|
|
1636
|
+
if (!a) {
|
|
1637
|
+
let t = ht.get(i);
|
|
1638
|
+
if (!t) throw Error(`Icon set not found: ${r.prefix}`);
|
|
1639
1639
|
try {
|
|
1640
|
-
|
|
1641
|
-
...await
|
|
1642
|
-
prefix:
|
|
1643
|
-
}, K.set(
|
|
1644
|
-
} catch (
|
|
1645
|
-
throw
|
|
1640
|
+
a = {
|
|
1641
|
+
...await t(),
|
|
1642
|
+
prefix: i
|
|
1643
|
+
}, K.set(i, a);
|
|
1644
|
+
} catch (t) {
|
|
1645
|
+
throw e.error(t), Error(`Failed to load icon set: ${r.prefix}`);
|
|
1646
1646
|
}
|
|
1647
1647
|
}
|
|
1648
|
-
let o = ie(
|
|
1649
|
-
if (!o) throw Error(`Icon not found: ${
|
|
1648
|
+
let o = ie(a, r.name);
|
|
1649
|
+
if (!o) throw Error(`Icon not found: ${t}`);
|
|
1650
1650
|
return o;
|
|
1651
|
-
}, "getRegisteredIconData"), vt = /* @__PURE__ */
|
|
1651
|
+
}, "getRegisteredIconData"), vt = /* @__PURE__ */ t(async (e) => {
|
|
1652
1652
|
try {
|
|
1653
1653
|
return await _t(e), !0;
|
|
1654
1654
|
} catch {
|
|
1655
1655
|
return !1;
|
|
1656
1656
|
}
|
|
1657
|
-
}, "isIconAvailable"), yt = /* @__PURE__ */
|
|
1658
|
-
let
|
|
1657
|
+
}, "isIconAvailable"), yt = /* @__PURE__ */ t(async (t, n, r) => {
|
|
1658
|
+
let i;
|
|
1659
1659
|
try {
|
|
1660
|
-
|
|
1661
|
-
} catch (
|
|
1662
|
-
|
|
1660
|
+
i = await _t(t, n?.fallbackPrefix);
|
|
1661
|
+
} catch (t) {
|
|
1662
|
+
e.error(t), i = mt;
|
|
1663
1663
|
}
|
|
1664
|
-
let
|
|
1665
|
-
return
|
|
1666
|
-
...
|
|
1664
|
+
let o = fe(i, n);
|
|
1665
|
+
return s(_e(ge(o.body), {
|
|
1666
|
+
...o.attributes,
|
|
1667
1667
|
...r
|
|
1668
|
-
}),
|
|
1668
|
+
}), a());
|
|
1669
1669
|
}, "getIconSVG");
|
|
1670
1670
|
function bt(e, { markdownAutoWrap: t }) {
|
|
1671
1671
|
return pt(e.replace(/<br\/>/g, "\n").replace(/\n{2,}/g, "\n"));
|
|
1672
1672
|
}
|
|
1673
|
-
|
|
1673
|
+
t(bt, "preprocessMarkdown");
|
|
1674
1674
|
function xt(e) {
|
|
1675
1675
|
return e.split(/\\n|\n|<br\s*\/?>/gi).map((e) => e.trim().match(/<[^>]+>|[^\s<>]+/g)?.map((e) => ({
|
|
1676
1676
|
content: e,
|
|
1677
1677
|
type: "normal"
|
|
1678
1678
|
})) ?? []);
|
|
1679
1679
|
}
|
|
1680
|
-
|
|
1681
|
-
function St(e,
|
|
1682
|
-
let
|
|
1680
|
+
t(xt, "nonMarkdownToLines");
|
|
1681
|
+
function St(e, n = {}) {
|
|
1682
|
+
let r = bt(e, n), i = G.lexer(r), a = [[]], o = 0;
|
|
1683
1683
|
function s(e, t = "normal") {
|
|
1684
1684
|
e.type === "text" ? e.text.split("\n").forEach((e, n) => {
|
|
1685
|
-
n !== 0 && (
|
|
1686
|
-
e = e.replace(/'/g, "'"), e &&
|
|
1685
|
+
n !== 0 && (o++, a.push([])), e.split(" ").forEach((e) => {
|
|
1686
|
+
e = e.replace(/'/g, "'"), e && a[o].push({
|
|
1687
1687
|
content: e,
|
|
1688
1688
|
type: t
|
|
1689
1689
|
});
|
|
1690
1690
|
});
|
|
1691
1691
|
}) : e.type === "strong" || e.type === "em" ? e.tokens.forEach((t) => {
|
|
1692
1692
|
s(t, e.type);
|
|
1693
|
-
}) : e.type === "html" &&
|
|
1693
|
+
}) : e.type === "html" && a[o].push({
|
|
1694
1694
|
content: e.text,
|
|
1695
1695
|
type: "normal"
|
|
1696
1696
|
});
|
|
1697
1697
|
}
|
|
1698
|
-
return
|
|
1698
|
+
return t(s, "processNode"), i.forEach((e) => {
|
|
1699
1699
|
e.type === "paragraph" ? e.tokens?.forEach((e) => {
|
|
1700
1700
|
s(e);
|
|
1701
|
-
}) : e.type === "html" ?
|
|
1701
|
+
}) : e.type === "html" ? a[o].push({
|
|
1702
1702
|
content: e.text,
|
|
1703
1703
|
type: "normal"
|
|
1704
|
-
}) :
|
|
1704
|
+
}) : a[o].push({
|
|
1705
1705
|
content: e.raw,
|
|
1706
1706
|
type: "normal"
|
|
1707
1707
|
});
|
|
1708
|
-
}),
|
|
1708
|
+
}), a;
|
|
1709
1709
|
}
|
|
1710
|
-
|
|
1710
|
+
t(St, "markdownToLines");
|
|
1711
1711
|
function Ct(e) {
|
|
1712
1712
|
return e ? `<p>${e.replace(/\\n|\n/g, "<br />")}</p>` : "";
|
|
1713
1713
|
}
|
|
1714
|
-
|
|
1715
|
-
function wt(
|
|
1716
|
-
let
|
|
1717
|
-
function
|
|
1718
|
-
return
|
|
1714
|
+
t(Ct, "nonMarkdownToHTML");
|
|
1715
|
+
function wt(n, { markdownAutoWrap: r } = {}) {
|
|
1716
|
+
let i = G.lexer(n);
|
|
1717
|
+
function a(t) {
|
|
1718
|
+
return t.type === "text" ? r === !1 ? t.text.replace(/\n */g, "<br/>").replace(/ /g, " ") : t.text.replace(/\n */g, "<br/>") : t.type === "strong" ? `<strong>${t.tokens?.map(a).join("")}</strong>` : t.type === "em" ? `<em>${t.tokens?.map(a).join("")}</em>` : t.type === "paragraph" ? `<p>${t.tokens?.map(a).join("")}</p>` : t.type === "space" ? "" : t.type === "html" ? `${t.text}` : t.type === "escape" ? t.text : (e.warn(`Unsupported markdown: ${t.type}`), t.raw);
|
|
1719
1719
|
}
|
|
1720
|
-
return
|
|
1720
|
+
return t(a, "output"), i.map(a).join("");
|
|
1721
1721
|
}
|
|
1722
|
-
|
|
1722
|
+
t(wt, "markdownToHTML");
|
|
1723
1723
|
function Tt(e) {
|
|
1724
1724
|
return Intl.Segmenter ? [...new Intl.Segmenter().segment(e)].map((e) => e.segment) : [...e];
|
|
1725
1725
|
}
|
|
1726
|
-
|
|
1726
|
+
t(Tt, "splitTextToChars");
|
|
1727
1727
|
function q(e, t) {
|
|
1728
1728
|
return J(e, [], Tt(t.content), t.type);
|
|
1729
1729
|
}
|
|
1730
|
-
|
|
1730
|
+
t(q, "splitWordToFitWidth");
|
|
1731
1731
|
function J(e, t, n, r) {
|
|
1732
1732
|
if (n.length === 0) return [{
|
|
1733
1733
|
content: t.join(""),
|
|
@@ -1748,12 +1748,12 @@ function J(e, t, n, r) {
|
|
|
1748
1748
|
type: r
|
|
1749
1749
|
}]);
|
|
1750
1750
|
}
|
|
1751
|
-
|
|
1751
|
+
t(J, "splitWordToFitWidthRecursion");
|
|
1752
1752
|
function Et(e, t) {
|
|
1753
1753
|
if (e.some(({ content: e }) => e.includes("\n"))) throw Error("splitLineToFitWidth does not support newlines in the line");
|
|
1754
1754
|
return Y(e, t);
|
|
1755
1755
|
}
|
|
1756
|
-
|
|
1756
|
+
t(Et, "splitLineToFitWidth");
|
|
1757
1757
|
function Y(e, t, n = [], r = []) {
|
|
1758
1758
|
if (e.length === 0) return r.length > 0 && n.push(r), n.length > 0 ? n : [];
|
|
1759
1759
|
let i = "";
|
|
@@ -1773,33 +1773,33 @@ function Y(e, t, n = [], r = []) {
|
|
|
1773
1773
|
}
|
|
1774
1774
|
return Y(e, t, n);
|
|
1775
1775
|
}
|
|
1776
|
-
|
|
1776
|
+
t(Y, "splitLineToFitWidthRecursion");
|
|
1777
1777
|
function X(e, t) {
|
|
1778
1778
|
t && e.attr("style", t);
|
|
1779
1779
|
}
|
|
1780
|
-
|
|
1780
|
+
t(X, "applyStyle");
|
|
1781
1781
|
var Dt = 16384;
|
|
1782
|
-
async function Ot(
|
|
1783
|
-
let d =
|
|
1784
|
-
d.attr("width", `${Math.min(10 *
|
|
1785
|
-
let f = d.append("xhtml:div"), p =
|
|
1786
|
-
h.html(p), X(h,
|
|
1782
|
+
async function Ot(e, t, n, c, l = !1, u = a()) {
|
|
1783
|
+
let d = e.append("foreignObject");
|
|
1784
|
+
d.attr("width", `${Math.min(10 * n, Dt)}px`), d.attr("height", `${Math.min(10 * n, Dt)}px`);
|
|
1785
|
+
let f = d.append("xhtml:div"), p = r(t.label) ? await i(t.label.replace(o.lineBreakRegex, "\n"), u) : s(t.label, u), m = t.isNode ? "nodeLabel" : "edgeLabel", h = f.append("span");
|
|
1786
|
+
h.html(p), X(h, t.labelStyle), h.attr("class", `${m} ${c}`), X(f, t.labelStyle), f.style("display", "table-cell"), f.style("white-space", "nowrap"), f.style("line-height", "1.5"), n !== Infinity && (f.style("max-width", n + "px"), f.style("text-align", "center")), f.attr("xmlns", "http://www.w3.org/1999/xhtml"), l && f.attr("class", "labelBkg");
|
|
1787
1787
|
let g = f.node().getBoundingClientRect();
|
|
1788
|
-
return g.width ===
|
|
1788
|
+
return g.width === n && (f.style("display", "table"), f.style("white-space", "break-spaces"), f.style("width", n + "px"), g = f.node().getBoundingClientRect()), d.node();
|
|
1789
1789
|
}
|
|
1790
|
-
|
|
1790
|
+
t(Ot, "addHtmlSpan");
|
|
1791
1791
|
function Z(e, t, n, r = !1) {
|
|
1792
1792
|
let i = e.append("tspan").attr("class", "text-outer-tspan").attr("x", 0).attr("y", t * n - .1 + "em").attr("dy", n + "em");
|
|
1793
1793
|
return r && i.attr("text-anchor", "middle"), i;
|
|
1794
1794
|
}
|
|
1795
|
-
|
|
1795
|
+
t(Z, "createTspan");
|
|
1796
1796
|
function kt(e, t, n) {
|
|
1797
1797
|
let r = e.append("text"), i = Z(r, 1, t);
|
|
1798
1798
|
$(i, n);
|
|
1799
1799
|
let a = i.node().getComputedTextLength();
|
|
1800
1800
|
return r.remove(), a;
|
|
1801
1801
|
}
|
|
1802
|
-
|
|
1802
|
+
t(kt, "computeWidthOfText");
|
|
1803
1803
|
function At(e, t, n) {
|
|
1804
1804
|
let r = e.append("text"), i = Z(r, 1, t);
|
|
1805
1805
|
$(i, [{
|
|
@@ -1809,21 +1809,21 @@ function At(e, t, n) {
|
|
|
1809
1809
|
let a = i.node()?.getBoundingClientRect();
|
|
1810
1810
|
return a && r.remove(), a;
|
|
1811
1811
|
}
|
|
1812
|
-
|
|
1813
|
-
function jt(e,
|
|
1814
|
-
let
|
|
1815
|
-
|
|
1812
|
+
t(At, "computeDimensionOfText");
|
|
1813
|
+
function jt(e, n, r, i = !1, a = !1) {
|
|
1814
|
+
let o = 1.1, s = n.append("g"), c = s.insert("rect").attr("class", "background").attr("style", "stroke: none"), l = s.append("text").attr("y", "-10.1");
|
|
1815
|
+
a && l.attr("text-anchor", "middle");
|
|
1816
1816
|
let u = 0;
|
|
1817
|
-
for (let
|
|
1818
|
-
let
|
|
1819
|
-
for (let e of
|
|
1817
|
+
for (let n of r) {
|
|
1818
|
+
let r = /* @__PURE__ */ t((t) => kt(s, o, t) <= e, "checkWidth"), i = r(n) ? [n] : Et(n, r);
|
|
1819
|
+
for (let e of i) $(Z(l, u, o, a), e), u++;
|
|
1820
1820
|
}
|
|
1821
|
-
if (
|
|
1821
|
+
if (i) {
|
|
1822
1822
|
let e = l.node().getBBox();
|
|
1823
1823
|
return c.attr("x", e.x - 2).attr("y", e.y - 2).attr("width", e.width + 4).attr("height", e.height + 4), s.node();
|
|
1824
1824
|
} else return l.node();
|
|
1825
1825
|
}
|
|
1826
|
-
|
|
1826
|
+
t(jt, "createFormattedText");
|
|
1827
1827
|
function Q(e) {
|
|
1828
1828
|
return e.replace(/&(amp|lt|gt);/g, (e, t) => {
|
|
1829
1829
|
switch (t) {
|
|
@@ -1834,45 +1834,45 @@ function Q(e) {
|
|
|
1834
1834
|
}
|
|
1835
1835
|
});
|
|
1836
1836
|
}
|
|
1837
|
-
|
|
1837
|
+
t(Q, "decodeHTMLEntities");
|
|
1838
1838
|
function $(e, t) {
|
|
1839
1839
|
e.text(""), t.forEach((t, n) => {
|
|
1840
1840
|
let r = e.append("tspan").attr("font-style", t.type === "em" ? "italic" : "normal").attr("class", "text-inner-tspan").attr("font-weight", t.type === "strong" ? "bold" : "normal");
|
|
1841
1841
|
n === 0 ? r.text(Q(t.content)) : r.text(" " + Q(t.content));
|
|
1842
1842
|
});
|
|
1843
1843
|
}
|
|
1844
|
-
|
|
1845
|
-
async function Mt(
|
|
1846
|
-
let
|
|
1847
|
-
|
|
1848
|
-
let
|
|
1849
|
-
return await vt(
|
|
1850
|
-
})()),
|
|
1851
|
-
let
|
|
1852
|
-
return
|
|
1844
|
+
t($, "updateTextContentAndStyles");
|
|
1845
|
+
async function Mt(e, t = {}) {
|
|
1846
|
+
let n = [];
|
|
1847
|
+
e.replace(/(fa[bklrs]?):fa-([\w-]+)/g, (e, r, i) => (n.push((async () => {
|
|
1848
|
+
let n = `${r}:${i}`;
|
|
1849
|
+
return await vt(n) ? await yt(n, void 0, { class: "label-icon" }) : `<i class='${s(e, t).replace(":", " ")}'></i>`;
|
|
1850
|
+
})()), e));
|
|
1851
|
+
let r = await Promise.all(n);
|
|
1852
|
+
return e.replace(/(fa[bklrs]?):fa-([\w-]+)/g, () => r.shift() ?? "");
|
|
1853
1853
|
}
|
|
1854
|
-
|
|
1855
|
-
var Nt = /* @__PURE__ */
|
|
1856
|
-
if (
|
|
1857
|
-
let
|
|
1858
|
-
return await Ot(
|
|
1854
|
+
t(Mt, "replaceIconSubstring");
|
|
1855
|
+
var Nt = /* @__PURE__ */ t(async (t, i = "", { style: a = "", isTitle: o = !1, classes: s = "", useHtmlLabels: l = !0, markdown: u = !0, isNode: d = !0, width: f = 200, addSvgBackground: p = !1 } = {}, m) => {
|
|
1856
|
+
if (e.debug("XYZ createText", i, a, o, s, l, d, "addSvgBackground: ", p), l) {
|
|
1857
|
+
let e = await Mt(c(u ? wt(i, m) : Ct(i)), m), n = i.replace(/\\\\/g, "\\");
|
|
1858
|
+
return await Ot(t, {
|
|
1859
1859
|
isNode: d,
|
|
1860
|
-
label:
|
|
1861
|
-
labelStyle:
|
|
1862
|
-
}, f,
|
|
1860
|
+
label: r(i) ? n : e,
|
|
1861
|
+
labelStyle: a.replace("fill:", "color:")
|
|
1862
|
+
}, f, s, p, m);
|
|
1863
1863
|
} else {
|
|
1864
|
-
let
|
|
1864
|
+
let e = c(i.replace(/<br\s*\/?>/g, "<br/>")), r = jt(f, t, u ? St(e.replace("<br>", "<br/>"), m) : xt(e), i ? p : !1, !d);
|
|
1865
1865
|
if (d) {
|
|
1866
|
-
/stroke:/.exec(
|
|
1867
|
-
let e =
|
|
1868
|
-
|
|
1866
|
+
/stroke:/.exec(a) && (a = a.replace("stroke:", "lineColor:"));
|
|
1867
|
+
let e = a.replace(/stroke:[^;]+;?/g, "").replace(/stroke-width:[^;]+;?/g, "").replace(/fill:[^;]+;?/g, "").replace(/color:/g, "fill:");
|
|
1868
|
+
n(r).attr("style", e);
|
|
1869
1869
|
} else {
|
|
1870
|
-
let e =
|
|
1871
|
-
|
|
1872
|
-
let t =
|
|
1873
|
-
|
|
1870
|
+
let e = a.replace(/stroke:[^;]+;?/g, "").replace(/stroke-width:[^;]+;?/g, "").replace(/fill:[^;]+;?/g, "").replace(/background:/g, "fill:");
|
|
1871
|
+
n(r).select("rect").attr("style", e.replace(/background:/g, "fill:"));
|
|
1872
|
+
let t = a.replace(/stroke:[^;]+;?/g, "").replace(/stroke-width:[^;]+;?/g, "").replace(/fill:[^;]+;?/g, "").replace(/color:/g, "fill:");
|
|
1873
|
+
n(r).select("text").attr("style", t);
|
|
1874
1874
|
}
|
|
1875
|
-
return
|
|
1875
|
+
return o ? n(r).selectAll("tspan.text-outer-tspan").classed("title-row", !0) : n(r).selectAll("tspan.text-outer-tspan").classed("row", !0), r;
|
|
1876
1876
|
}
|
|
1877
1877
|
}, "createText");
|
|
1878
1878
|
//#endregion
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { _ as e, a as t, g as n, h as r, l as i, n as a, v as o, y as s } from "./chunk-NNHCCRGN-D_orSz6n.js";
|
|
2
|
+
//#region node_modules/@mermaid-js/parser/dist/chunks/mermaid-parser.core/chunk-PUPMXCY4.mjs
|
|
3
|
+
var c = class extends a {
|
|
4
|
+
static {
|
|
5
|
+
n(this, "WardleyValueConverter");
|
|
6
|
+
}
|
|
7
|
+
runCustomConverter(e, t, n) {
|
|
8
|
+
switch (e.name.toUpperCase()) {
|
|
9
|
+
case "LINK_LABEL": return t.substring(1).trim();
|
|
10
|
+
default: return;
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
}, l = { parser: { ValueConverter: /* @__PURE__ */ n(() => new c(), "ValueConverter") } };
|
|
14
|
+
function u(n = t) {
|
|
15
|
+
let a = s(o(n), i), c = s(e({ shared: a }), r, l);
|
|
16
|
+
return a.ServiceRegistry.register(c), {
|
|
17
|
+
shared: a,
|
|
18
|
+
Wardley: c
|
|
19
|
+
};
|
|
20
|
+
}
|
|
21
|
+
n(u, "createWardleyServices");
|
|
22
|
+
//#endregion
|
|
23
|
+
export { u as n, l as t };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const e=require(`./chunk-NNHCCRGN-aKMHXBzL.cjs`);var t=class extends e.n{static{e.g(this,`WardleyValueConverter`)}runCustomConverter(e,t,n){switch(e.name.toUpperCase()){case`LINK_LABEL`:return t.substring(1).trim();default:return}}},n={parser:{ValueConverter:e.g(()=>new t,`ValueConverter`)}};function r(t=e.a){let r=e.y(e.v(t),e.l),i=e.y(e._({shared:r}),e.h,n);return r.ServiceRegistry.register(i),{shared:r,Wardley:i}}e.g(r,`createWardleyServices`),Object.defineProperty(exports,`n`,{enumerable:!0,get:function(){return r}}),Object.defineProperty(exports,`t`,{enumerable:!0,get:function(){return n}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const e=require(`./src-
|
|
1
|
+
const e=require(`./src-BgvDIw01.cjs`);var t=class{constructor(e){this.init=e,this.records=this.init()}static{e.h(this,`ImperativeState`)}reset(){this.records=this.init()}};Object.defineProperty(exports,`t`,{enumerable:!0,get:function(){return t}});
|