@pi-outpost/embed 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/README.md +63 -0
- package/dist/abnfDiagram-VRR7QNED-BPTALLb_.cjs +1 -0
- package/dist/abnfDiagram-VRR7QNED-DlAvVtuC.js +89 -0
- package/dist/arc-BBnpgwVQ.js +80 -0
- package/dist/arc-DcUn9_NX.cjs +1 -0
- package/dist/architecture-TIHT7OUA-D-35jO9Y.cjs +1 -0
- package/dist/architecture-TIHT7OUA-DDyMqjR1.js +3 -0
- package/dist/architectureDiagram-ZJ3FMSHR-Bh5-VPPg.cjs +36 -0
- package/dist/architectureDiagram-ZJ3FMSHR-D7UsY5ua.js +4120 -0
- package/dist/array-CApNbSU9.js +6 -0
- package/dist/array-DZSRzHA_.cjs +1 -0
- package/dist/bash-BLBHkRa_.js +169 -0
- package/dist/bash-DHJu-DNv.cjs +1 -0
- package/dist/blockDiagram-677ZJIJ3-BrXgigdO.cjs +132 -0
- package/dist/blockDiagram-677ZJIJ3-s-fanRPN.js +3160 -0
- package/dist/c-4QgYfi8K.cjs +1 -0
- package/dist/c-Cw4FsAeJ.js +176 -0
- package/dist/c4Diagram-LMCZKHZV-BbZFAi_K.js +2962 -0
- package/dist/c4Diagram-LMCZKHZV-DFBVQ9Uo.cjs +10 -0
- package/dist/channel-DV0ST12Z.js +5 -0
- package/dist/channel-DkMGzfUR.cjs +1 -0
- package/dist/chunk-2Q5K7J3B-B8v9mTdK.cjs +1 -0
- package/dist/chunk-2Q5K7J3B-DqJF2oYF.js +15 -0
- package/dist/chunk-32BRIVSS-Byu3FrKX.js +61 -0
- package/dist/chunk-32BRIVSS-oWSJWk-u.cjs +1 -0
- package/dist/chunk-52WLFC77-C9zQbcGs.js +590 -0
- package/dist/chunk-52WLFC77-D9PTsiCj.cjs +10 -0
- package/dist/chunk-5VM5RSS4-BMfgdMFU.js +5 -0
- package/dist/chunk-5VM5RSS4-CwDmQ9T_.cjs +15 -0
- package/dist/chunk-7BUUIJ7U-BFUeQBoS.js +82 -0
- package/dist/chunk-7BUUIJ7U-MzS1pW_S.cjs +1 -0
- package/dist/chunk-C7G6YPKG-CDjkH_UW.cjs +1 -0
- package/dist/chunk-C7G6YPKG-GTlyrFFt.js +67 -0
- package/dist/chunk-EX3LRPZG-BBldDxGh.js +2046 -0
- package/dist/chunk-EX3LRPZG-u-BKCEWO.cjs +231 -0
- package/dist/chunk-FWX5IMBZ-h3GfgkP2.js +57 -0
- package/dist/chunk-FWX5IMBZ-nqBth1J9.cjs +1 -0
- package/dist/chunk-HOUHSVGY-CgfXy94u.cjs +1 -0
- package/dist/chunk-HOUHSVGY-CtRCnz1G.js +277 -0
- package/dist/chunk-ICXQ74PX-BmEfYj-r.cjs +2 -0
- package/dist/chunk-ICXQ74PX-CC59NQmW.js +1366 -0
- package/dist/chunk-JWPE2WC7-B_J6qwQL.js +8 -0
- package/dist/chunk-JWPE2WC7-Cs1kjq8S.cjs +1 -0
- package/dist/chunk-KEIR6QF5-BVnxrdHo.js +21388 -0
- package/dist/chunk-KEIR6QF5-Cy_QBNG6.cjs +161 -0
- package/dist/chunk-MOJQB5TN-D6YxvkUY.js +490 -0
- package/dist/chunk-MOJQB5TN-H2vwz-oQ.cjs +88 -0
- package/dist/chunk-OGEWGWER-BGdqgMza.js +32 -0
- package/dist/chunk-OGEWGWER-BP4o8A-v.cjs +1 -0
- package/dist/chunk-PUDLZKDR-C8jMDFq6.js +4142 -0
- package/dist/chunk-PUDLZKDR-DtzwSdxX.cjs +156 -0
- package/dist/chunk-Q4XR5HBZ-Bk18cMuk.js +1628 -0
- package/dist/chunk-Q4XR5HBZ-COrrWZzi.cjs +70 -0
- package/dist/chunk-RYQCIY6F-27FDzaaE.cjs +1 -0
- package/dist/chunk-RYQCIY6F-C-YC3QS_.js +239 -0
- package/dist/chunk-V7JOEXUC-BROsdKzY.js +3357 -0
- package/dist/chunk-V7JOEXUC-Cfrm5GQn.cjs +206 -0
- package/dist/chunk-VAUOI2AC-05FwamOA.js +10 -0
- package/dist/chunk-VAUOI2AC-CBXi4Di2.cjs +1 -0
- package/dist/chunk-VR4S4FIN-CSU_1xTZ.cjs +1 -0
- package/dist/chunk-VR4S4FIN-Ci491c8N.js +26 -0
- package/dist/chunk-WYO6CB5R-BTvDzbWd.cjs +127 -0
- package/dist/chunk-WYO6CB5R-Y9HJHB3Q.js +3739 -0
- package/dist/chunk-XXDRQBXY-DsVp5qjg.js +9 -0
- package/dist/chunk-XXDRQBXY-gWcN0uCZ.cjs +1 -0
- package/dist/chunk-Y2CYZVJY-CnmLqFtv.cjs +1 -0
- package/dist/chunk-Y2CYZVJY-CwsV_8W4.js +12 -0
- package/dist/chunk-ZGVPDNZ5-CDTkXY1G.js +3736 -0
- package/dist/chunk-ZGVPDNZ5-COEQX4AZ.cjs +62 -0
- package/dist/chunk-ZIRB5QZD-BU6XQUGC.cjs +32 -0
- package/dist/chunk-ZIRB5QZD-Cj-y77rH.js +1146 -0
- package/dist/classDiagram-OUVF2IWQ-Avsu6OKn.cjs +1 -0
- package/dist/classDiagram-OUVF2IWQ-eC72Wwol.js +30 -0
- package/dist/classDiagram-v2-EOCWNBFH-Avsu6OKn.cjs +1 -0
- package/dist/classDiagram-v2-EOCWNBFH-DsRoQgCt.js +30 -0
- package/dist/core-2nR1zkKb.cjs +3 -0
- package/dist/core-BO2hTFeF.js +845 -0
- package/dist/cose-bilkent-JH36ORCC-AyWV1dUo.cjs +1 -0
- package/dist/cose-bilkent-JH36ORCC-BFo5zomD.js +2251 -0
- package/dist/cpp-BUtp-HE2.cjs +1 -0
- package/dist/cpp-CeyO6lBG.js +225 -0
- package/dist/csharp-BJu4kEpt.cjs +1 -0
- package/dist/csharp-Ck6Fet_o.js +260 -0
- package/dist/css-ClSGJRju.js +140 -0
- package/dist/css-DeFr0lev.cjs +1 -0
- package/dist/cynefin-VYW2F7L2-DHhUPDgc.cjs +1 -0
- package/dist/cynefin-VYW2F7L2-DwiVqvhg.js +3 -0
- package/dist/cynefinDiagram-TSTJHNR4-BRUl09PN.js +349 -0
- package/dist/cynefinDiagram-TSTJHNR4-rKPqxFde.cjs +62 -0
- package/dist/cytoscape.esm-ByjvpCPI.cjs +321 -0
- package/dist/cytoscape.esm-asYnbYTy.js +18148 -0
- package/dist/dagre-BBlCxSvR.cjs +1 -0
- package/dist/dagre-BpqwxFKp.js +1701 -0
- package/dist/dagre-VKFMJZFB-BsfMZfPu.cjs +4 -0
- package/dist/dagre-VKFMJZFB-ChTkS14y.js +328 -0
- package/dist/defaultLocale-u9yUoUmE.cjs +1 -0
- package/dist/defaultLocale-up9-vqhM.js +201 -0
- package/dist/diagram-FQU43EPY-BnAYoLDy.js +432 -0
- package/dist/diagram-FQU43EPY-CdbwLZpm.cjs +3 -0
- package/dist/diagram-G47NLZAW-C1ZiELQG.js +525 -0
- package/dist/diagram-G47NLZAW-CtWKuxkf.cjs +24 -0
- package/dist/diagram-NH7WQ7WH-Be0KXo6w.js +134 -0
- package/dist/diagram-NH7WQ7WH-CG6VWVza.cjs +24 -0
- package/dist/diagram-OA4YK3LP-B7avlqjG.js +300 -0
- package/dist/diagram-OA4YK3LP-Drq_GA6o.cjs +30 -0
- package/dist/diagram-WEI45ONY-CoPX6-sx.js +214 -0
- package/dist/diagram-WEI45ONY-SJmgVL59.cjs +41 -0
- package/dist/dist-D6LMt8nW.js +59 -0
- package/dist/dist-DNGlMOWd.cjs +1 -0
- package/dist/dockerfile-O4rAswfG.js +34 -0
- package/dist/dockerfile-YBgAWga3.cjs +1 -0
- package/dist/ebnfDiagram-CCIWWBDH-B-T4_JnX.js +100 -0
- package/dist/ebnfDiagram-CCIWWBDH-BY7L3HVQ.cjs +1 -0
- package/dist/erDiagram-Q63AITRT-DPgZpeaH.js +1727 -0
- package/dist/erDiagram-Q63AITRT-w4C1PxYd.cjs +85 -0
- package/dist/eventmodeling-45OFAUF4-COTtdYDJ.js +3 -0
- package/dist/eventmodeling-45OFAUF4-CPEyr9kU.cjs +1 -0
- package/dist/flowDiagram-23GEKE2U-CQxPdUX4.cjs +1 -0
- package/dist/flowDiagram-23GEKE2U-ClCSBl2p.js +17 -0
- package/dist/ganttDiagram-NO4QXBWP-BcBp028S.cjs +292 -0
- package/dist/ganttDiagram-NO4QXBWP-Cf12fLfa.js +3083 -0
- package/dist/gitGraph-TEB2WS4Q-C3qBT0GM.js +3 -0
- package/dist/gitGraph-TEB2WS4Q-a8KsoPmR.cjs +1 -0
- package/dist/gitGraphDiagram-IHSO6WYX-13ahKewT.js +729 -0
- package/dist/gitGraphDiagram-IHSO6WYX-BTtNkGkN.cjs +106 -0
- package/dist/go-D-pz-dmd.cjs +1 -0
- package/dist/go-rg7jg1mu.js +140 -0
- package/dist/graphlib-B0GbLif1.js +1267 -0
- package/dist/graphlib-CkkG5MuS.cjs +1 -0
- package/dist/info-DKCQHKI2-BEYhR6ip.cjs +1 -0
- package/dist/info-DKCQHKI2-BPF6-pOb.js +3 -0
- package/dist/infoDiagram-FWYZ7A6U-20rh0VNL.cjs +2 -0
- package/dist/infoDiagram-FWYZ7A6U-DcV-eSsb.js +20 -0
- package/dist/ini-C1q3_1-Q.js +88 -0
- package/dist/ini-nVcUEghj.cjs +1 -0
- package/dist/init-07zIhv_j.cjs +1 -0
- package/dist/init-CirqLVcp.js +15 -0
- package/dist/ishikawaDiagram-FXEZZL3T-BTaBCHIG.js +719 -0
- package/dist/ishikawaDiagram-FXEZZL3T-BUq5kcFI.cjs +70 -0
- package/dist/java-CUN_usaq.cjs +1 -0
- package/dist/java-HguKEfA2.js +169 -0
- package/dist/javascript-C8NCH8DE.js +436 -0
- package/dist/javascript-UZXSyUuu.cjs +1 -0
- package/dist/journeyDiagram-5HDEW3XC-Cl9Z4b58.js +884 -0
- package/dist/journeyDiagram-5HDEW3XC-XQa-rhY_.cjs +139 -0
- package/dist/json-Cp01TR_B.js +36 -0
- package/dist/json-usH_MUzR.cjs +1 -0
- package/dist/kanban-definition-HUTT4EX6-CtWnZ0nS.js +975 -0
- package/dist/kanban-definition-HUTT4EX6-DVHXUPOt.cjs +89 -0
- package/dist/line-Ca8dE_lT.cjs +1 -0
- package/dist/line-O2xx2vVQ.js +34 -0
- package/dist/linear-CVhyaVzf.js +289 -0
- package/dist/linear-Cl2-QuPP.cjs +1 -0
- package/dist/map-CwPlMWPw.cjs +1 -0
- package/dist/map-DU12fF3s.js +241 -0
- package/dist/markdown-CzgRofaE.js +181 -0
- package/dist/markdown-qeo95R0i.cjs +1 -0
- package/dist/mermaid-parser.core-B8DQcCaz.js +638 -0
- package/dist/mermaid-parser.core-Cgsz0CdK.cjs +6 -0
- package/dist/mermaid.core-BR-iKb2Q.js +1064 -0
- package/dist/mermaid.core-DQrbAA--.cjs +10 -0
- package/dist/mindmap-definition-LN4V7U3C-C0I9iWmq.cjs +96 -0
- package/dist/mindmap-definition-LN4V7U3C-lkSmRsIC.js +1008 -0
- package/dist/mount.d.ts +31 -0
- package/dist/ordinal-CCTD6_le.js +65 -0
- package/dist/ordinal-CUPR-p0T.cjs +1 -0
- package/dist/packet-7NZHBO7P-DqvBYJTR.js +3 -0
- package/dist/packet-7NZHBO7P-Dz0O2bgq.cjs +1 -0
- package/dist/path-Kklx0M1v.cjs +1 -0
- package/dist/path-mKa7UESy.js +85 -0
- package/dist/pegDiagram-2B236MQR-BgRCQTZd.js +94 -0
- package/dist/pegDiagram-2B236MQR-hlmRl_PA.cjs +1 -0
- package/dist/php-C9FOMGEA.js +294 -0
- package/dist/php-j6EhDZDE.cjs +2 -0
- package/dist/pi-outpost-embed.cjs +305 -0
- package/dist/pi-outpost-embed.js +40942 -0
- package/dist/pie-RZYD4A2V-Hi9UdoE3.cjs +1 -0
- package/dist/pie-RZYD4A2V-qnruo9sH.js +3 -0
- package/dist/pieDiagram-ENE6RG2P-BVi7ck2I.js +205 -0
- package/dist/pieDiagram-ENE6RG2P-Buuvrs-h.cjs +39 -0
- package/dist/plaintext-BYYAHR3Z.js +10 -0
- package/dist/plaintext-DmnjizxG.cjs +1 -0
- package/dist/python-BYJzTRkK.cjs +1 -0
- package/dist/python-DKAazMIE.js +238 -0
- package/dist/quadrantDiagram-ABIIQ3AL-DeU97c2B.js +2001 -0
- package/dist/quadrantDiagram-ABIIQ3AL-LCbC0LEt.cjs +7 -0
- package/dist/radar-I7S5WNFK-Dqdssa34.cjs +1 -0
- package/dist/radar-I7S5WNFK-np_pJCO-.js +3 -0
- package/dist/railroad-3IZDKUUU-NILjDQft.cjs +1 -0
- package/dist/railroad-3IZDKUUU-sjKBeXxB.js +3 -0
- package/dist/railroad-abnf-AHOZXSZD-BojH9sxV.cjs +1 -0
- package/dist/railroad-abnf-AHOZXSZD-x5cC_e_R.js +3 -0
- package/dist/railroad-ebnf-EBAXGLYW-2mlWpz38.js +3 -0
- package/dist/railroad-ebnf-EBAXGLYW-BKCSut1M.cjs +1 -0
- package/dist/railroad-peg-LSFZ7HO6-CsH-gnsp.cjs +1 -0
- package/dist/railroad-peg-LSFZ7HO6-D5vguo03.js +3 -0
- package/dist/railroadDiagram-RFXS5EU6-CMTDNjsw.cjs +1 -0
- package/dist/railroadDiagram-RFXS5EU6-DNSNpLmQ.js +76 -0
- package/dist/requirementDiagram-TGXJPOKE-CdspXMgv.js +2223 -0
- package/dist/requirementDiagram-TGXJPOKE-irImpO8w.cjs +84 -0
- package/dist/rolldown-runtime-Dqa2HsxW.js +20 -0
- package/dist/rolldown-runtime-mLOUI7ql.cjs +1 -0
- package/dist/rough.esm-C5XyeDCN.js +1352 -0
- package/dist/rough.esm-r0QOSzHM.cjs +1 -0
- package/dist/ruby-BAUeZQKZ.js +262 -0
- package/dist/ruby-ClR4zp-1.cjs +1 -0
- package/dist/rust-DiTjMjP5.js +169 -0
- package/dist/rust-ghVvEWhm.cjs +1 -0
- package/dist/sankeyDiagram-HTMAVEWB-B0ZJBVpN.cjs +40 -0
- package/dist/sankeyDiagram-HTMAVEWB-BQcvUCMA.js +970 -0
- package/dist/scss-CKxh5HRg.cjs +1 -0
- package/dist/scss-CckAvQOx.js +150 -0
- package/dist/sequenceDiagram-DBY2YBRQ-BQFP2DGs.js +4168 -0
- package/dist/sequenceDiagram-DBY2YBRQ-C5WukkcA.cjs +162 -0
- package/dist/sizeCapture-X5ZJPWSS-DKbHZNyz.js +46 -0
- package/dist/sizeCapture-X5ZJPWSS-bJ2ZX4Du.cjs +1 -0
- package/dist/sql-B-Rnc2C3.js +118 -0
- package/dist/sql-B7syKcd8.cjs +1 -0
- package/dist/src-CR--T_NF.cjs +1 -0
- package/dist/src-DJ4x3y2O.js +2142 -0
- package/dist/stateDiagram-2N3HPSRC-4aBQt5dk.js +220 -0
- package/dist/stateDiagram-2N3HPSRC-YbRd67eD.cjs +1 -0
- package/dist/stateDiagram-v2-6OUMAXLB-D-c6D5za.js +30 -0
- package/dist/stateDiagram-v2-6OUMAXLB-ciXN_270.cjs +1 -0
- package/dist/swimlanes-5IMT3BWC-C8zkS7yx.cjs +1 -0
- package/dist/swimlanes-5IMT3BWC-aKH3Xgob.js +5066 -0
- package/dist/swimlanesDiagram-G3AALYLV-BcgsG1in.js +31 -0
- package/dist/swimlanesDiagram-G3AALYLV-CBjVJdH0.cjs +8 -0
- package/dist/timeline-definition-FHXFAJF6-DS-X0FCl.cjs +120 -0
- package/dist/timeline-definition-FHXFAJF6-Lnag6wiw.js +1069 -0
- package/dist/treeView-QDETBFTQ-Cpg_YeQ4.cjs +1 -0
- package/dist/treeView-QDETBFTQ-DdpEhzZX.js +3 -0
- package/dist/treemap-6X3UGDF4-BeCuRpkA.js +3 -0
- package/dist/treemap-6X3UGDF4-CFAmnKaf.cjs +1 -0
- package/dist/typescript-clWeqIBY.cjs +1 -0
- package/dist/typescript-mdYq8uqf.js +521 -0
- package/dist/vennDiagram-L72KCM5P-CF7lC7jn.js +1880 -0
- package/dist/vennDiagram-L72KCM5P-DYZP8jT_.cjs +34 -0
- package/dist/wardley-OPB4EBWU-B0jnKd8x.cjs +1 -0
- package/dist/wardley-OPB4EBWU-DlIk2K0J.js +3 -0
- package/dist/wardleyDiagram-EHGQE667-CbtWlMOa.js +645 -0
- package/dist/wardleyDiagram-EHGQE667-Dxewrpeh.cjs +78 -0
- package/dist/xml-BamqaQOf.cjs +1 -0
- package/dist/xml-DVYfB8uY.js +166 -0
- package/dist/xychartDiagram-FW5EYKEG-BAnVfMdN.cjs +7 -0
- package/dist/xychartDiagram-FW5EYKEG-DmdGPSi6.js +2102 -0
- package/dist/yaml-_1BORZTQ.js +144 -0
- package/dist/yaml-bAgWofBg.cjs +1 -0
- package/package.json +72 -0
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { n as e } from "./chunk-Y2CYZVJY-CwsV_8W4.js";
|
|
2
|
+
import "./src-DJ4x3y2O.js";
|
|
3
|
+
import "./chunk-WYO6CB5R-Y9HJHB3Q.js";
|
|
4
|
+
import "./chunk-ICXQ74PX-CC59NQmW.js";
|
|
5
|
+
import "./chunk-HOUHSVGY-CtRCnz1G.js";
|
|
6
|
+
import "./chunk-Q4XR5HBZ-Bk18cMuk.js";
|
|
7
|
+
import "./chunk-7BUUIJ7U-BFUeQBoS.js";
|
|
8
|
+
import "./chunk-OGEWGWER-BGdqgMza.js";
|
|
9
|
+
import "./chunk-32BRIVSS-Byu3FrKX.js";
|
|
10
|
+
import "./chunk-XXDRQBXY-DsVp5qjg.js";
|
|
11
|
+
import "./chunk-VR4S4FIN-Ci491c8N.js";
|
|
12
|
+
import "./chunk-C7G6YPKG-GTlyrFFt.js";
|
|
13
|
+
import "./chunk-ZGVPDNZ5-CDTkXY1G.js";
|
|
14
|
+
import "./chunk-52WLFC77-C9zQbcGs.js";
|
|
15
|
+
import "./chunk-FWX5IMBZ-h3GfgkP2.js";
|
|
16
|
+
import "./chunk-ZIRB5QZD-Cj-y77rH.js";
|
|
17
|
+
import { r as t, t as n } from "./chunk-PUDLZKDR-C8jMDFq6.js";
|
|
18
|
+
//#region ../node_modules/mermaid/dist/chunks/mermaid.core/swimlanesDiagram-G3AALYLV.mjs
|
|
19
|
+
var r = n({
|
|
20
|
+
defaultLayout: "swimlane",
|
|
21
|
+
styles: /* @__PURE__ */ e((e) => `${t(e)}
|
|
22
|
+
.swimlane.cluster rect {
|
|
23
|
+
stroke: ${e.clusterBorder} !important;
|
|
24
|
+
}
|
|
25
|
+
[data-look="neo"].cluster rect {
|
|
26
|
+
filter: none;
|
|
27
|
+
}
|
|
28
|
+
`, "getStyles")
|
|
29
|
+
});
|
|
30
|
+
//#endregion
|
|
31
|
+
export { r as diagram };
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
const e=require("./chunk-Y2CYZVJY-CnmLqFtv.cjs");require("./src-CR--T_NF.cjs"),require("./chunk-WYO6CB5R-BTvDzbWd.cjs"),require("./chunk-ICXQ74PX-BmEfYj-r.cjs"),require("./chunk-HOUHSVGY-CgfXy94u.cjs"),require("./chunk-Q4XR5HBZ-COrrWZzi.cjs"),require("./chunk-7BUUIJ7U-MzS1pW_S.cjs"),require("./chunk-OGEWGWER-BP4o8A-v.cjs"),require("./chunk-32BRIVSS-oWSJWk-u.cjs"),require("./chunk-XXDRQBXY-gWcN0uCZ.cjs"),require("./chunk-VR4S4FIN-CSU_1xTZ.cjs"),require("./chunk-C7G6YPKG-CDjkH_UW.cjs"),require("./chunk-ZGVPDNZ5-COEQX4AZ.cjs"),require("./chunk-52WLFC77-D9PTsiCj.cjs"),require("./chunk-FWX5IMBZ-nqBth1J9.cjs"),require("./chunk-ZIRB5QZD-BU6XQUGC.cjs");const t=require("./chunk-PUDLZKDR-DtzwSdxX.cjs");var n=t.t({defaultLayout:`swimlane`,styles:e.n(e=>`${t.r(e)}
|
|
2
|
+
.swimlane.cluster rect {
|
|
3
|
+
stroke: ${e.clusterBorder} !important;
|
|
4
|
+
}
|
|
5
|
+
[data-look="neo"].cluster rect {
|
|
6
|
+
filter: none;
|
|
7
|
+
}
|
|
8
|
+
`,`getStyles`)});exports.diagram=n;
|
|
@@ -0,0 +1,120 @@
|
|
|
1
|
+
const e=require("./chunk-Y2CYZVJY-CnmLqFtv.cjs"),t=require("./src-CR--T_NF.cjs"),n=require("./chunk-WYO6CB5R-BTvDzbWd.cjs"),r=require("./arc-DcUn9_NX.cjs"),i=require("./chunk-ICXQ74PX-BmEfYj-r.cjs"),a=require("./chunk-VAUOI2AC-CBXi4Di2.cjs");var o=(function(){var t=e.n(function(e,t,n,r){for(n||={},r=e.length;r--;n[e[r]]=t);return n},`o`),n=[6,11,13,14,15,17,19,20,23,24],r=[1,12],i=[1,13],a=[1,14],o=[1,15],s=[1,16],c=[1,19],l=[1,20],u={trace:e.n(function(){},`trace`),yy:{},symbols_:{error:2,start:3,timeline_header:4,document:5,EOF:6,timeline:7,timeline_lr:8,timeline_td:9,line:10,SPACE:11,statement:12,NEWLINE:13,title:14,acc_title:15,acc_title_value:16,acc_descr:17,acc_descr_value:18,acc_descr_multiline_value:19,section:20,period_statement:21,event_statement:22,period:23,event:24,$accept:0,$end:1},terminals_:{2:`error`,6:`EOF`,7:`timeline`,8:`timeline_lr`,9:`timeline_td`,11:`SPACE`,13:`NEWLINE`,14:`title`,15:`acc_title`,16:`acc_title_value`,17:`acc_descr`,18:`acc_descr_value`,19:`acc_descr_multiline_value`,20:`section`,23:`period`,24:`event`},productions_:[0,[3,3],[4,1],[4,1],[4,1],[5,0],[5,2],[10,2],[10,1],[10,1],[10,1],[12,1],[12,2],[12,2],[12,1],[12,1],[12,1],[12,1],[21,1],[22,1]],performAction:e.n(function(e,t,n,r,i,a,o){var s=a.length-1;switch(i){case 1:return a[s-1];case 3:r.setDirection(`LR`);break;case 4:r.setDirection(`TD`);break;case 5:this.$=[];break;case 6:a[s-1].push(a[s]),this.$=a[s-1];break;case 7:case 8:this.$=a[s];break;case 9:case 10:this.$=[];break;case 11:r.getCommonDb().setDiagramTitle(a[s].substr(6)),this.$=a[s].substr(6);break;case 12:this.$=a[s].trim(),r.getCommonDb().setAccTitle(this.$);break;case 13:case 14:this.$=a[s].trim(),r.getCommonDb().setAccDescription(this.$);break;case 15:r.addSection(a[s].substr(8)),this.$=a[s].substr(8);break;case 18:r.addTask(a[s],0,``),this.$=a[s];break;case 19:r.addEvent(a[s].substr(2)),this.$=a[s];break}},`anonymous`),table:[{3:1,4:2,7:[1,3],8:[1,4],9:[1,5]},{1:[3]},t(n,[2,5],{5:6}),t(n,[2,2]),t(n,[2,3]),t(n,[2,4]),{6:[1,7],10:8,11:[1,9],12:10,13:[1,11],14:r,15:i,17:a,19:o,20:s,21:17,22:18,23:c,24:l},t(n,[2,10],{1:[2,1]}),t(n,[2,6]),{12:21,14:r,15:i,17:a,19:o,20:s,21:17,22:18,23:c,24:l},t(n,[2,8]),t(n,[2,9]),t(n,[2,11]),{16:[1,22]},{18:[1,23]},t(n,[2,14]),t(n,[2,15]),t(n,[2,16]),t(n,[2,17]),t(n,[2,18]),t(n,[2,19]),t(n,[2,7]),t(n,[2,12]),t(n,[2,13])],defaultActions:{},parseError:e.n(function(e,t){if(t.recoverable)this.trace(e);else{var n=Error(e);throw n.hash=t,n}},`parseError`),parse:e.n(function(t){var n=this,r=[0],i=[],a=[null],o=[],s=this.table,c=``,l=0,u=0,d=0,f=2,p=1,m=o.slice.call(arguments,1),h=Object.create(this.lexer),g={yy:{}};for(var _ in this.yy)Object.prototype.hasOwnProperty.call(this.yy,_)&&(g.yy[_]=this.yy[_]);h.setInput(t,g.yy),g.yy.lexer=h,g.yy.parser=this,h.yylloc===void 0&&(h.yylloc={});var v=h.yylloc;o.push(v);var y=h.options&&h.options.ranges;typeof g.yy.parseError==`function`?this.parseError=g.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function b(e){r.length-=2*e,a.length-=e,o.length-=e}e.n(b,`popStack`);function x(){var e=i.pop()||h.lex()||p;return typeof e!=`number`&&(e instanceof Array&&(i=e,e=i.pop()),e=n.symbols_[e]||e),e}e.n(x,`lex`);for(var S,C,w,T,E,D={},O,k,A,j;;){if(w=r[r.length-1],this.defaultActions[w]?T=this.defaultActions[w]:(S??=x(),T=s[w]&&s[w][S]),T===void 0||!T.length||!T[0]){var M=``;for(O in j=[],s[w])this.terminals_[O]&&O>f&&j.push(`'`+this.terminals_[O]+`'`);M=h.showPosition?`Parse error on line `+(l+1)+`:
|
|
2
|
+
`+h.showPosition()+`
|
|
3
|
+
Expecting `+j.join(`, `)+`, got '`+(this.terminals_[S]||S)+`'`:`Parse error on line `+(l+1)+`: Unexpected `+(S==p?`end of input`:`'`+(this.terminals_[S]||S)+`'`),this.parseError(M,{text:h.match,token:this.terminals_[S]||S,line:h.yylineno,loc:v,expected:j})}if(T[0]instanceof Array&&T.length>1)throw Error(`Parse Error: multiple actions possible at state: `+w+`, token: `+S);switch(T[0]){case 1:r.push(S),a.push(h.yytext),o.push(h.yylloc),r.push(T[1]),S=null,C?(S=C,C=null):(u=h.yyleng,c=h.yytext,l=h.yylineno,v=h.yylloc,d>0&&d--);break;case 2:if(k=this.productions_[T[1]][1],D.$=a[a.length-k],D._$={first_line:o[o.length-(k||1)].first_line,last_line:o[o.length-1].last_line,first_column:o[o.length-(k||1)].first_column,last_column:o[o.length-1].last_column},y&&(D._$.range=[o[o.length-(k||1)].range[0],o[o.length-1].range[1]]),E=this.performAction.apply(D,[c,u,l,g.yy,T[1],a,o].concat(m)),E!==void 0)return E;k&&(r=r.slice(0,-1*k*2),a=a.slice(0,-1*k),o=o.slice(0,-1*k)),r.push(this.productions_[T[1]][0]),a.push(D.$),o.push(D._$),A=s[r[r.length-2]][r[r.length-1]],r.push(A);break;case 3:return!0}}return!0},`parse`)};u.lexer=(function(){return{EOF:1,parseError:e.n(function(e,t){if(this.yy.parser)this.yy.parser.parseError(e,t);else throw Error(e)},`parseError`),setInput:e.n(function(e,t){return this.yy=t||this.yy||{},this._input=e,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match=``,this.conditionStack=[`INITIAL`],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},`setInput`),input:e.n(function(){var e=this._input[0];return this.yytext+=e,this.yyleng++,this.offset++,this.match+=e,this.matched+=e,e.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),e},`input`),unput:e.n(function(e){var t=e.length,n=e.split(/(?:\r\n?|\n)/g);this._input=e+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-t),this.offset-=t;var r=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),n.length-1&&(this.yylineno-=n.length-1);var i=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:n?(n.length===r.length?this.yylloc.first_column:0)+r[r.length-n.length].length-n[0].length:this.yylloc.first_column-t},this.options.ranges&&(this.yylloc.range=[i[0],i[0]+this.yyleng-t]),this.yyleng=this.yytext.length,this},`unput`),more:e.n(function(){return this._more=!0,this},`more`),reject:e.n(function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError(`Lexical error on line `+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).
|
|
4
|
+
`+this.showPosition(),{text:``,token:null,line:this.yylineno});return this},`reject`),less:e.n(function(e){this.unput(this.match.slice(e))},`less`),pastInput:e.n(function(){var e=this.matched.substr(0,this.matched.length-this.match.length);return(e.length>20?`...`:``)+e.substr(-20).replace(/\n/g,``)},`pastInput`),upcomingInput:e.n(function(){var e=this.match;return e.length<20&&(e+=this._input.substr(0,20-e.length)),(e.substr(0,20)+(e.length>20?`...`:``)).replace(/\n/g,``)},`upcomingInput`),showPosition:e.n(function(){var e=this.pastInput(),t=Array(e.length+1).join(`-`);return e+this.upcomingInput()+`
|
|
5
|
+
`+t+`^`},`showPosition`),test_match:e.n(function(e,t){var n,r,i;if(this.options.backtrack_lexer&&(i={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(i.yylloc.range=this.yylloc.range.slice(0))),r=e[0].match(/(?:\r\n?|\n).*/g),r&&(this.yylineno+=r.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:r?r[r.length-1].length-r[r.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+e[0].length},this.yytext+=e[0],this.match+=e[0],this.matches=e,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(e[0].length),this.matched+=e[0],n=this.performAction.call(this,this.yy,this,t,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),n)return n;if(this._backtrack){for(var a in i)this[a]=i[a];return!1}return!1},`test_match`),next:e.n(function(){if(this.done)return this.EOF;this._input||(this.done=!0);var e,t,n,r;this._more||(this.yytext=``,this.match=``);for(var i=this._currentRules(),a=0;a<i.length;a++)if(n=this._input.match(this.rules[i[a]]),n&&(!t||n[0].length>t[0].length)){if(t=n,r=a,this.options.backtrack_lexer){if(e=this.test_match(n,i[a]),e!==!1)return e;if(this._backtrack){t=!1;continue}else return!1}else if(!this.options.flex)break}return t?(e=this.test_match(t,i[r]),e===!1?!1:e):this._input===``?this.EOF:this.parseError(`Lexical error on line `+(this.yylineno+1)+`. Unrecognized text.
|
|
6
|
+
`+this.showPosition(),{text:``,token:null,line:this.yylineno})},`next`),lex:e.n(function(){return this.next()||this.lex()},`lex`),begin:e.n(function(e){this.conditionStack.push(e)},`begin`),popState:e.n(function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]},`popState`),_currentRules:e.n(function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},`_currentRules`),topState:e.n(function(e){return e=this.conditionStack.length-1-Math.abs(e||0),e>=0?this.conditionStack[e]:`INITIAL`},`topState`),pushState:e.n(function(e){this.begin(e)},`pushState`),stateStackSize:e.n(function(){return this.conditionStack.length},`stateStackSize`),options:{"case-insensitive":!0},performAction:e.n(function(e,t,n,r){switch(n){case 0:break;case 1:break;case 2:return 13;case 3:break;case 4:break;case 5:return 8;case 6:return 9;case 7:return 7;case 8:return 14;case 9:return this.begin(`acc_title`),15;case 10:return this.popState(),`acc_title_value`;case 11:return this.begin(`acc_descr`),17;case 12:return this.popState(),`acc_descr_value`;case 13:this.begin(`acc_descr_multiline`);break;case 14:this.popState();break;case 15:return`acc_descr_multiline_value`;case 16:return 20;case 17:return 24;case 18:return 23;case 19:return 6;case 20:return`INVALID`}},`anonymous`),rules:[/^(?:%(?!\{)[^\n]*)/i,/^(?:[^\}]%%[^\n]*)/i,/^(?:[\n]+)/i,/^(?:\s+)/i,/^(?:#[^\n]*)/i,/^(?:timeline[ \t]+LR\b)/i,/^(?:timeline[ \t]+TD\b)/i,/^(?:timeline\b)/i,/^(?:title\s[^\n]+)/i,/^(?:accTitle\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*\{\s*)/i,/^(?:[\}])/i,/^(?:[^\}]*)/i,/^(?:section\s[^:\n]+)/i,/^(?::\s(?:[^:\n]|:(?!\s))+)/i,/^(?:[^#:\n]+)/i,/^(?:$)/i,/^(?:.)/i],conditions:{acc_descr_multiline:{rules:[14,15],inclusive:!1},acc_descr:{rules:[12],inclusive:!1},acc_title:{rules:[10],inclusive:!1},INITIAL:{rules:[0,1,2,3,4,5,6,7,8,9,11,13,16,17,18,19,20],inclusive:!0}}}})();function d(){this.yy={}}return e.n(d,`Parser`),d.prototype=u,u.Parser=d,new d})();o.parser=o;var s=o,c={};e.t(c,{addEvent:()=>C,addSection:()=>y,addTask:()=>S,addTaskOrg:()=>w,clear:()=>g,default:()=>E,getCommonDb:()=>h,getDirection:()=>v,getSections:()=>b,getTasks:()=>x,setDirection:()=>_});var l=``,u=0,d=`LR`,f=[],p=[],m=[],h=e.n(()=>n.o,`getCommonDb`),g=e.n(function(){f.length=0,p.length=0,l=``,m.length=0,d=`LR`,n.a()},`clear`),_=e.n(function(e){d=e},`setDirection`),v=e.n(function(){return d},`getDirection`),y=e.n(function(e){l=e,f.push(e)},`addSection`),b=e.n(function(){return f},`getSections`),x=e.n(function(){let e=T(),t=0;for(;!e&&t<100;)e=T(),t++;return p.push(...m),p},`getTasks`),S=e.n(function(e,t,n){let r={id:u++,section:l,type:l,task:e,score:t||0,events:n?[n]:[]};m.push(r)},`addTask`),C=e.n(function(e){m.find(e=>e.id===u-1).events.push(e)},`addEvent`),w=e.n(function(e){let t={section:l,type:l,description:e,task:e,classes:[]};p.push(t)},`addTaskOrg`),T=e.n(function(){let t=e.n(function(e){return m[e].processed},`compileTask`),n=!0;for(let[e,r]of m.entries())t(e),n&&=r.processed;return n},`compileTasks`),E={clear:g,getCommonDb:h,getDirection:v,setDirection:_,addSection:y,getSections:b,getTasks:x,addTask:S,addTaskOrg:w,addEvent:C},D=0,O=e.n(function(e,t){let n=e.append(`rect`);return n.attr(`x`,t.x),n.attr(`y`,t.y),n.attr(`fill`,t.fill),n.attr(`stroke`,t.stroke),n.attr(`width`,t.width),n.attr(`height`,t.height),n.attr(`rx`,t.rx),n.attr(`ry`,t.ry),t.class!==void 0&&n.attr(`class`,t.class),n},`drawRect`),k=e.n(function(t,n){let i=t.append(`circle`).attr(`cx`,n.cx).attr(`cy`,n.cy).attr(`class`,`face`).attr(`r`,15).attr(`stroke-width`,2).attr(`overflow`,`visible`),a=t.append(`g`);a.append(`circle`).attr(`cx`,n.cx-15/3).attr(`cy`,n.cy-15/3).attr(`r`,1.5).attr(`stroke-width`,2).attr(`fill`,`#666`).attr(`stroke`,`#666`),a.append(`circle`).attr(`cx`,n.cx+15/3).attr(`cy`,n.cy-15/3).attr(`r`,1.5).attr(`stroke-width`,2).attr(`fill`,`#666`).attr(`stroke`,`#666`);function o(e){let t=r.t().startAngle(Math.PI/2).endAngle(Math.PI/2*3).innerRadius(15/2).outerRadius(15/2.2);e.append(`path`).attr(`class`,`mouth`).attr(`d`,t).attr(`transform`,`translate(`+n.cx+`,`+(n.cy+2)+`)`)}e.n(o,`smile`);function s(e){let t=r.t().startAngle(3*Math.PI/2).endAngle(Math.PI/2*5).innerRadius(15/2).outerRadius(15/2.2);e.append(`path`).attr(`class`,`mouth`).attr(`d`,t).attr(`transform`,`translate(`+n.cx+`,`+(n.cy+7)+`)`)}e.n(s,`sad`);function c(e){e.append(`line`).attr(`class`,`mouth`).attr(`stroke`,2).attr(`x1`,n.cx-5).attr(`y1`,n.cy+7).attr(`x2`,n.cx+5).attr(`y2`,n.cy+7).attr(`class`,`mouth`).attr(`stroke-width`,`1px`).attr(`stroke`,`#666`)}return e.n(c,`ambivalent`),n.score>3?o(a):n.score<3?s(a):c(a),i},`drawFace`),A=e.n(function(e,t){let n=e.append(`circle`);return n.attr(`cx`,t.cx),n.attr(`cy`,t.cy),n.attr(`class`,`actor-`+t.pos),n.attr(`fill`,t.fill),n.attr(`stroke`,t.stroke),n.attr(`r`,t.r),n.class!==void 0&&n.attr(`class`,n.class),t.title!==void 0&&n.append(`title`).text(t.title),n},`drawCircle`),j=e.n(function(e,t){let n=t.text.replace(/<br\s*\/?>/gi,` `),r=e.append(`text`);r.attr(`x`,t.x),r.attr(`y`,t.y),r.attr(`class`,`legend`),r.style(`text-anchor`,t.anchor),t.class!==void 0&&r.attr(`class`,t.class);let i=r.append(`tspan`);return i.attr(`x`,t.x+t.textMargin*2),i.text(n),r},`drawText`),M=e.n(function(t,n){function r(e,t,n,r,i){return e+`,`+t+` `+(e+n)+`,`+t+` `+(e+n)+`,`+(t+r-i)+` `+(e+n-i*1.2)+`,`+(t+r)+` `+e+`,`+(t+r)}e.n(r,`genPoints`);let i=t.append(`polygon`);i.attr(`points`,r(n.x,n.y,50,20,7)),i.attr(`class`,`labelBox`),n.y+=n.labelMargin,n.x+=.5*n.labelMargin,j(t,n)},`drawLabel`),N=e.n(function(e,t,n){let r=e.append(`g`),i=I();i.x=t.x,i.y=t.y,i.fill=t.fill,i.width=n.width,i.height=n.height,i.class=`journey-section section-type-`+t.num,i.rx=3,i.ry=3,O(r,i),L(n)(t.text,r,i.x,i.y,i.width,i.height,{class:`journey-section section-type-`+t.num},n,t.colour)},`drawSection`),P=-1,F=e.n(function(e,t,n,r){let i=t.x+n.width/2,a=e.append(`g`);P++,a.append(`line`).attr(`id`,r+`-task`+P).attr(`x1`,i).attr(`y1`,t.y).attr(`x2`,i).attr(`y2`,450).attr(`class`,`task-line`).attr(`stroke-width`,`1px`).attr(`stroke-dasharray`,`4 2`).attr(`stroke`,`#666`),k(a,{cx:i,cy:300+(5-t.score)*30,score:t.score});let o=I();o.x=t.x,o.y=t.y,o.fill=t.fill,o.width=n.width,o.height=n.height,o.class=`task task-type-`+t.num,o.rx=3,o.ry=3,O(a,o),L(n)(t.task,a,o.x,o.y,o.width,o.height,{class:`task`},n,t.colour)},`drawTask`),ee=e.n(function(e,t){O(e,{x:t.startx,y:t.starty,width:t.stopx-t.startx,height:t.stopy-t.starty,fill:t.fill,class:`rect`}).lower()},`drawBackgroundRect`),te=e.n(function(){return{x:0,y:0,fill:void 0,"text-anchor":`start`,width:100,height:100,textMargin:0,rx:0,ry:0}},`getTextObj`),I=e.n(function(){return{x:0,y:0,width:100,anchor:`start`,height:100,rx:0,ry:0}},`getNoteRect`),L=(function(){function t(e,t,n,r,a,o,s,c){i(t.append(`text`).attr(`x`,n+a/2).attr(`y`,r+o/2+5).style(`font-color`,c).style(`text-anchor`,`middle`).text(e),s)}e.n(t,`byText`);function n(e,t,n,r,a,o,s,c,l){let{taskFontSize:u,taskFontFamily:d}=c,f=e.split(/<br\s*\/?>/gi);for(let e=0;e<f.length;e++){let c=e*u-u*(f.length-1)/2,p=t.append(`text`).attr(`x`,n+a/2).attr(`y`,r).attr(`fill`,l).style(`text-anchor`,`middle`).style(`font-size`,u).style(`font-family`,d);p.append(`tspan`).attr(`x`,n+a/2).attr(`dy`,c).text(f[e]),p.attr(`y`,r+o/2).attr(`dominant-baseline`,`central`).attr(`alignment-baseline`,`central`),i(p,s)}}e.n(n,`byTspan`);function r(e,t,r,a,o,s,c,l){let u=t.append(`switch`),d=u.append(`foreignObject`).attr(`x`,r).attr(`y`,a).attr(`width`,o).attr(`height`,s).attr(`position`,`fixed`).append(`xhtml:div`).style(`display`,`table`).style(`height`,`100%`).style(`width`,`100%`);d.append(`div`).attr(`class`,`label`).style(`display`,`table-cell`).style(`text-align`,`center`).style(`vertical-align`,`middle`).text(e),n(e,u,r,a,o,s,c,l),i(d,c)}e.n(r,`byFo`);function i(e,t){for(let n in t)n in t&&e.attr(n,t[n])}return e.n(i,`_setTextAttrs`),function(e){return e.textPlacement===`fo`?r:e.textPlacement===`old`?t:n}})(),ne=e.n(function(e,t){D=0,P=-1,e.append(`defs`).append(`marker`).attr(`id`,t+`-arrowhead`).attr(`refX`,5).attr(`refY`,2).attr(`markerWidth`,6).attr(`markerHeight`,4).attr(`orient`,`auto`).append(`path`).attr(`d`,`M 0,0 V 4 L6,2 Z`)},`initGraphics`);function R(e,n){e.each(function(){var e=t.p(this),r=e.text().split(/(\s+|<br>)/).reverse(),i,a=[],o=1.1,s=e.attr(`y`),c=parseFloat(e.attr(`dy`)),l=e.text(null).append(`tspan`).attr(`x`,0).attr(`y`,s).attr(`dy`,c+`em`);for(let t=0;t<r.length;t++)i=r[r.length-1-t],a.push(i),l.text(a.join(` `).trim()),(l.node().getComputedTextLength()>n||i===`<br>`)&&(a.pop(),l.text(a.join(` `).trim()),a=i===`<br>`?[``]:[i],l=e.append(`tspan`).attr(`x`,0).attr(`y`,s).attr(`dy`,o+`em`).text(i))})}e.n(R,`wrap`);var z=e.n(function(e,n,r,i,a,o=!1){let{theme:s,look:c}=i,l=s?.includes(`redux`),u=r%(i?.themeVariables?.THEME_COLOR_LIMIT??12)-1,d=e.append(`g`);n.section=u,d.attr(`class`,(n.class?n.class+` `:``)+`timeline-node `+(`section-`+u));let f=d.append(`g`),p=d.append(`g`),m=p.append(`text`).text(n.descr).attr(`dy`,`1em`).attr(`alignment-baseline`,`middle`).attr(`dominant-baseline`,`middle`).attr(`text-anchor`,`middle`).call(R,n.width).node().getBBox(),h=i.fontSize?.replace?i.fontSize.replace(`px`,``):i.fontSize;if(n.height=m.height+h*1.1*.5+n.padding,n.height=Math.max(n.height,n.maxHeight),n.width+=2*n.padding,p.attr(`transform`,`translate(`+n.width/2+`, `+n.padding/2+`)`),l&&p.attr(`transform`,`translate(${n.width/2}, ${o?n.padding/2+3:n.padding})`),V(f,n,u,a,i),c===`neo`&&(d.attr(`data-look`,`neo`),l)){let n=s.includes(`dark`),r=t.p(e.node()?.ownerSVGElement??e.node()),i=r.attr(`id`)??``,a=i?`${i}-drop-shadow`:`drop-shadow`;if(r.select(`#${a}`).empty()){let e=r.select(`defs`);(e.empty()?r.append(`defs`):e).append(`filter`).attr(`id`,a).attr(`height`,`130%`).attr(`width`,`130%`).append(`feDropShadow`).attr(`dx`,`4`).attr(`dy`,`4`).attr(`stdDeviation`,0).attr(`flood-opacity`,n?`0.2`:`0.06`).attr(`flood-color`,n?`#FFFFFF`:`#000000`)}}return n},`drawNode`),B=e.n(function(e,t,n){let r=e.append(`g`),i=r.append(`text`).text(t.descr).attr(`dy`,`1em`).attr(`alignment-baseline`,`middle`).attr(`dominant-baseline`,`middle`).attr(`text-anchor`,`middle`).call(R,t.width).node().getBBox(),a=n.fontSize?.replace?n.fontSize.replace(`px`,``):n.fontSize;return r.remove(),i.height+a*1.1*.5+t.padding},`getVirtualNodeHeight`),V=e.n(function(e,t,n,r,i){let{theme:a}=i,o=a?.includes(`redux`)?0:5,s=o>0?`M0 ${t.height-5} v${-t.height+10} q0,-${o},${o},-${o} h${t.width-10} q${o},0,${o},${o} v${t.height-5} H0 Z`:`M0 ${t.height-5} v${-(t.height-5)} h${t.width} v${t.height} H0 Z`;e.append(`path`).attr(`id`,r+`-node-`+D++).attr(`class`,`node-bkg node-`+t.type).attr(`d`,s),a?.includes(`redux`)||e.append(`line`).attr(`class`,`node-line-`+n).attr(`x1`,0).attr(`y1`,t.height).attr(`x2`,t.width).attr(`y2`,t.height)},`defaultBkg`),H={drawRect:O,drawCircle:A,drawSection:N,drawText:j,drawLabel:M,drawTask:F,drawBackgroundRect:ee,getTextObj:te,getNoteRect:I,initGraphics:ne,drawNode:z,getVirtualNodeHeight:B},U=e.n(function(e,r,i,a){let o=n.x(),{look:s,theme:c,themeVariables:l}=o,{useGradient:u,gradientStart:d,gradientStop:f}=l,p=o.timeline?.leftMargin??50;t.m.debug(`timeline`,a.db);let m=o.securityLevel,h;m===`sandbox`&&(h=t.p(`#i`+r));let g=(m===`sandbox`?t.p(h.nodes()[0].contentDocument.body):t.p(`body`)).select(`#`+r);g.append(`g`);let _=a.db.getTasks(),v=a.db.getCommonDb().getDiagramTitle();t.m.debug(`task`,_),H.initGraphics(g,r);let y=a.db.getSections();t.m.debug(`sections`,y);let b=0,x=0,S=0,C=0,w=50+p,T=50;C=50;let E=0,D=!0;y.forEach(function(e){let n={number:E,descr:e,section:E,width:150,padding:20,maxHeight:b},r=H.getVirtualNodeHeight(g,n,o);t.m.debug(`sectionHeight before draw`,r),b=Math.max(b,r+20)});let O=0,k=0;t.m.debug(`tasks.length`,_.length);for(let[e,n]of _.entries()){let r={number:e,descr:n,section:n.section,width:150,padding:20,maxHeight:x},i=H.getVirtualNodeHeight(g,r,o);t.m.debug(`taskHeight before draw`,i),x=Math.max(x,i+20),O=Math.max(O,n.events.length);let a=0;for(let e of n.events){let t={descr:e,section:n.section,number:n.section,width:150,padding:20,maxHeight:50};a+=H.getVirtualNodeHeight(g,t,o)}n.events.length>0&&(a+=(n.events.length-1)*10),k=Math.max(k,a)}t.m.debug(`maxSectionHeight before draw`,b),t.m.debug(`maxTaskHeight before draw`,x),y&&y.length>0?y.forEach(e=>{let n=_.filter(t=>t.section===e),i={number:E,descr:e,section:E,width:200*Math.max(n.length,1)-50,padding:20,maxHeight:b};t.m.debug(`sectionNode`,i);let a=g.append(`g`),s=H.drawNode(a,i,E,o,r);t.m.debug(`sectionNode output`,s),a.attr(`transform`,`translate(${w}, ${C})`),T+=b+50,n.length>0&&W(g,n,E,w,T,x,o,O,k,b,!1,r),w+=200*Math.max(n.length,1),T=C,E++}):(D=!1,W(g,_,E,w,T,x,o,O,k,b,!0,r));let A=g.node().getBBox();if(t.m.debug(`bounds`,A),v&&g.append(`text`).text(v).attr(`x`,s===`neo`?A.x*2+p:A.width/2-p).attr(`font-size`,`4ex`).attr(`font-weight`,`bold`).attr(`y`,20),S=D?b+x+150:x+100,g.append(`g`).attr(`class`,`lineWrapper`).append(`line`).attr(`x1`,p).attr(`y1`,S).attr(`x2`,A.width+3*p).attr(`y2`,S).attr(`stroke-width`,4).attr(`stroke`,`black`).attr(`marker-end`,`url(#${r}-arrowhead)`),s===`neo`&&u&&c!==`neutral`){let e=g.select(`defs`),t=(e.empty()?g.append(`defs`):e).append(`linearGradient`).attr(`id`,g.attr(`id`)+`-gradient`).attr(`gradientUnits`,`objectBoundingBox`).attr(`x1`,`0%`).attr(`y1`,`0%`).attr(`x2`,`100%`).attr(`y2`,`0%`);t.append(`stop`).attr(`offset`,`0%`).attr(`stop-color`,d).attr(`stop-opacity`,1),t.append(`stop`).attr(`offset`,`100%`).attr(`stop-color`,f).attr(`stop-opacity`,1)}n.J(void 0,g,o.timeline?.padding??50,o.timeline?.useMaxWidth??!1)},`draw`),W=e.n(function(e,n,r,i,a,o,s,c,l,u,d,f){for(let c of n){let n={descr:c.task,section:r,number:r,width:150,padding:20,maxHeight:o};t.m.debug(`taskNode`,n);let u=e.append(`g`).attr(`class`,`taskWrapper`),p=H.drawNode(u,n,r,s,f).height;if(t.m.debug(`taskHeight after draw`,p),u.attr(`transform`,`translate(${i}, ${a})`),o=Math.max(o,p),c.events){let t=e.append(`g`).attr(`class`,`lineWrapper`),n=o;a+=100,n+=re(e,c.events,r,i,a,s,f),a-=100,t.append(`line`).attr(`x1`,i+190/2).attr(`y1`,a+o).attr(`x2`,i+190/2).attr(`y2`,a+o+100+l+100).attr(`stroke-width`,2).attr(`stroke`,`black`).attr(`marker-end`,`url(#${f}-arrowhead)`).attr(`stroke-dasharray`,`5,5`)}i+=200,d&&!s.timeline?.disableMulticolor&&r++}a-=10},`drawTasks`),re=e.n(function(e,n,r,i,a,o,s){let c=0,l=a;a+=100;for(let l of n){let n={descr:l,section:r,number:r,width:150,padding:20,maxHeight:50};t.m.debug(`eventNode`,n);let u=e.append(`g`).attr(`class`,`eventWrapper`),d=H.drawNode(u,n,r,o,s,!0).height;c+=d,u.attr(`transform`,`translate(${i}, ${a})`),a=a+10+d}return a=l,c},`drawEvents`),ie={setConf:e.n(()=>{},`setConf`),draw:U},G=200,K=5,ae=G+K*2,q=G+100,oe=q+K*2,J=10,se=0,Y=20,X=20,Z=30,Q=50,ce=e.n(function(e,r,o,s){let c=n.x(),l=c.timeline?.leftMargin??50;t.m.debug(`timeline`,s.db);let u=a.t(r);u.append(`g`);let d=s.db.getTasks(),f=s.db.getCommonDb().getDiagramTitle();t.m.debug(`task`,d),H.initGraphics(u);let p=s.db.getSections();t.m.debug(`sections`,p);let m=0,h=0,g=50+l,_=50,v=_,y=g,b=ae+X,x=oe+Q,S=y+b,C=0,w=p&&p.length>0,T=w?S:g+b,E=Math.max(50,b+x-K*2);p.forEach(function(e){let n={number:C,descr:e,section:C,width:E,padding:K,maxHeight:m},r=H.getVirtualNodeHeight(u,n,c);t.m.debug(`sectionHeight before draw`,r),m=Math.max(m,r)});let D=0;t.m.debug(`tasks.length`,d.length);for(let[e,n]of d.entries()){let r={number:e,descr:n,section:n.section,width:G,padding:K,maxHeight:h},i=H.getVirtualNodeHeight(u,r,c);t.m.debug(`taskHeight before draw`,i),h=Math.max(h,i);let a=0;for(let e of n.events){let t={descr:e,section:n.section,number:n.section,width:q,padding:K,maxHeight:50};a+=H.getVirtualNodeHeight(u,t,c)}n.events.length>0&&(a+=(n.events.length-1)*J),D=Math.max(D,a)+se}t.m.debug(`maxSectionHeight before draw`,m),t.m.debug(`maxTaskHeight before draw`,h);let O=Math.max(h,D)+Z;w?p.forEach(e=>{let n=d.filter(t=>t.section===e),r={number:C,descr:e,section:C,width:E,padding:K,maxHeight:m};t.m.debug(`sectionNode`,r);let i=u.append(`g`),a=H.drawNode(i,r,C,c);t.m.debug(`sectionNode output`,a);let o=T-b;i.attr(`transform`,`translate(${o}, ${_})`);let s=_+a.height+Y;n.length>0&&$(u,n,C,T,s,h,c,O,!1);let l=n.length,f=a.height+Y+O*Math.max(l,1)-(l>0?Z*2:0);_+=f,C++}):$(u,d,C,T,_,h,c,O,!0);let k=u.node()?.getBBox();if(!k)throw Error(`bbox not found`);if(t.m.debug(`bounds`,k),f){if(u.append(`text`).text(f).attr(`x`,k.width/2-l).attr(`font-size`,`4ex`).attr(`font-weight`,`bold`).attr(`y`,20),k=u.node()?.getBBox(),!k)throw Error(`bbox not found`);t.m.debug(`bounds after title`,k)}let[A]=i.p(c.fontSize),j=(A??16)*2,M=(A??16)*.5+20,N=u.append(`g`).attr(`class`,`lineWrapper`);N.append(`line`).attr(`x1`,T).attr(`y1`,v-j).attr(`x2`,T).attr(`y2`,k.y+k.height+M).attr(`stroke-width`,4).attr(`stroke`,`black`).attr(`marker-end`,`url(#arrowhead)`),N.lower(),n.J(void 0,u,c.timeline?.padding??50,c.timeline?.useMaxWidth??!1)},`draw`),$=e.n(function(e,n,r,i,a,o,s,c,l){for(let u of n){let n={descr:u.task,section:r,number:r,width:G,padding:K,maxHeight:o};t.m.debug(`taskNode`,n);let d=e.append(`g`).attr(`class`,`taskWrapper`),f=H.drawNode(d,n,r,s),p=f.height;t.m.debug(`taskHeight after draw`,p);let m=i-X-f.width;if(d.attr(`transform`,`translate(${m}, ${a})`),o=Math.max(o,p),u.events&&u.events.length>0){let t=a,n=i+Q;le(e,u.events,r,i,n,t,s)}a+=c,l&&!s.timeline?.disableMulticolor&&r++}},`drawTasks`),le=e.n(function(e,n,r,i,a,o,s){let c=o;for(let o of n){let n={descr:o,section:r,number:r,width:q,padding:K,maxHeight:0};t.m.debug(`eventNode`,n);let l=e.append(`g`).attr(`class`,`eventWrapper`),u=H.drawNode(l,n,r,s).height;l.attr(`transform`,`translate(${a}, ${c})`);let d=e.append(`g`).attr(`class`,`lineWrapper`),f=c+u/2;d.append(`line`).attr(`x1`,i).attr(`y1`,f).attr(`x2`,a).attr(`y2`,f).attr(`stroke-width`,2).attr(`stroke`,`black`).attr(`marker-end`,`url(#arrowhead)`).attr(`stroke-dasharray`,`5,5`),c=c+u+J}return c-o},`drawEvents`),ue={setConf:e.n(()=>{},`setConf`),draw:ce},de=e.n(e=>{let{theme:t}=n.b(),r=t?.includes(`dark`),i=t?.includes(`color`),a=e.svgId?.replace(/^#/,``)??``,o=a?`url(#${a}-drop-shadow)`:e.dropShadow??`none`,s=``;for(let t=0;t<e.THEME_COLOR_LIMIT;t++){let n=`${17-3*t}`,a=i?e.borderColorArray[t]:e.mainBkg,c=i?e.borderColorArray[t]:e.nodeBorder;s+=`
|
|
7
|
+
.section-${t-1} rect,
|
|
8
|
+
.section-${t-1} path,
|
|
9
|
+
.section-${t-1} circle {
|
|
10
|
+
fill: ${r&&i?e.mainBkg:a};
|
|
11
|
+
stroke: ${c};
|
|
12
|
+
stroke-width: ${e.strokeWidth};
|
|
13
|
+
filter: ${o};
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
.section-${t-1} text {
|
|
17
|
+
fill: ${e.nodeBorder};
|
|
18
|
+
font-weight: ${e.fontWeight}
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
.node-icon-${t-1} {
|
|
22
|
+
font-size: 40px;
|
|
23
|
+
color: ${e[`cScaleLabel`+t]};
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
.section-edge-${t-1} {
|
|
27
|
+
stroke: ${e[`cScale`+t]};
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
.edge-depth-${t-1} {
|
|
31
|
+
stroke-width: ${n};
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
.section-${t-1} line {
|
|
35
|
+
stroke: ${e[`cScaleInv`+t]};
|
|
36
|
+
stroke-width: 3;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
.lineWrapper line {
|
|
40
|
+
stroke: ${e.nodeBorder};
|
|
41
|
+
stroke-width:${e.strokeWidth}
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
.disabled,
|
|
45
|
+
.disabled circle,
|
|
46
|
+
.disabled text {
|
|
47
|
+
fill: ${e.tertiaryColor??`lightgray`};
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
.disabled text {
|
|
51
|
+
fill: ${e.clusterBorder??`#efefef`};
|
|
52
|
+
}
|
|
53
|
+
`}return s},`genReduxSections`),fe=e.n(e=>{let t=``;for(let t=0;t<e.THEME_COLOR_LIMIT;t++)e[`lineColor`+t]=e[`lineColor`+t]||e[`cScaleInv`+t],n.rt(e[`lineColor`+t])?e[`lineColor`+t]=n.tt(e[`lineColor`+t],20):e[`lineColor`+t]=n.et(e[`lineColor`+t],20);for(let n=0;n<e.THEME_COLOR_LIMIT;n++){let r=``+(17-3*n);t+=`
|
|
54
|
+
.section-${n-1} rect, .section-${n-1} path, .section-${n-1} circle, .section-${n-1} path {
|
|
55
|
+
fill: ${e[`cScale`+n]};
|
|
56
|
+
}
|
|
57
|
+
.section-${n-1} text {
|
|
58
|
+
fill: ${e[`cScaleLabel`+n]};
|
|
59
|
+
}
|
|
60
|
+
.node-icon-${n-1} {
|
|
61
|
+
font-size: 40px;
|
|
62
|
+
color: ${e[`cScaleLabel`+n]};
|
|
63
|
+
}
|
|
64
|
+
.section-edge-${n-1}{
|
|
65
|
+
stroke: ${e[`cScale`+n]};
|
|
66
|
+
}
|
|
67
|
+
.edge-depth-${n-1}{
|
|
68
|
+
stroke-width: ${r};
|
|
69
|
+
}
|
|
70
|
+
.section-${n-1} line {
|
|
71
|
+
stroke: ${e[`cScaleInv`+n]} ;
|
|
72
|
+
stroke-width: 3;
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
.lineWrapper line{
|
|
76
|
+
stroke: ${e[`cScaleLabel`+n]} ;
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
.disabled, .disabled circle, .disabled text {
|
|
80
|
+
fill: ${e.tertiaryColor??`lightgray`};
|
|
81
|
+
}
|
|
82
|
+
.disabled text {
|
|
83
|
+
fill: ${e.clusterBorder??`#efefef`};
|
|
84
|
+
}
|
|
85
|
+
`}return t},`genSections`),pe={db:c,renderer:{setConf:e.n(()=>{},`setConf`),draw:e.n((e,t,n,r)=>(r?.db?.getDirection?.()??`LR`)===`TD`?ue.draw(e,t,n,r):ie.draw(e,t,n,r),`draw`)},parser:s,styles:e.n(e=>{let{theme:t}=n.b(),r=t?.includes(`redux`),i=t===`neutral`,a=e.svgId?.replace(/^#/,``)??``,o=``;if(e.useGradient&&a&&e.THEME_COLOR_LIMIT&&!i)for(let t=0;t<e.THEME_COLOR_LIMIT;t++)o+=`
|
|
86
|
+
.section-${t-1}[data-look="neo"] rect,
|
|
87
|
+
.section-${t-1}[data-look="neo"] path,
|
|
88
|
+
.section-${t-1}[data-look="neo"] circle {
|
|
89
|
+
fill: ${e.mainBkg};
|
|
90
|
+
stroke: url(#${a}-gradient);
|
|
91
|
+
stroke-width: 2;
|
|
92
|
+
}
|
|
93
|
+
.section-${t-1}[data-look="neo"] line {
|
|
94
|
+
stroke: url(#${a}-gradient);
|
|
95
|
+
stroke-width: 2;
|
|
96
|
+
}`;return`
|
|
97
|
+
.edge {
|
|
98
|
+
stroke-width: 3;
|
|
99
|
+
}
|
|
100
|
+
${r?de(e):fe(e)}
|
|
101
|
+
${o}
|
|
102
|
+
.section-root rect, .section-root path, .section-root circle {
|
|
103
|
+
fill: ${e.git0};
|
|
104
|
+
}
|
|
105
|
+
.section-root text {
|
|
106
|
+
fill: ${e.gitBranchLabel0};
|
|
107
|
+
}
|
|
108
|
+
.icon-container {
|
|
109
|
+
height:100%;
|
|
110
|
+
display: flex;
|
|
111
|
+
justify-content: center;
|
|
112
|
+
align-items: center;
|
|
113
|
+
}
|
|
114
|
+
.edge {
|
|
115
|
+
fill: none;
|
|
116
|
+
}
|
|
117
|
+
.eventWrapper {
|
|
118
|
+
filter: brightness(120%);
|
|
119
|
+
}
|
|
120
|
+
`},`getStyles`)};exports.diagram=pe;
|