@peasant-labs/fairtrade 0.0.47 → 0.0.49

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.
Files changed (129) hide show
  1. package/dist/lib/abnfDiagram-WEYOIA3C-D4LMNFIJ.js +89 -0
  2. package/dist/lib/{adapter-Dulh38C2.js → adapter-CVKibszh.js} +209 -186
  3. package/dist/lib/arc-1xTxsoRi.js +80 -0
  4. package/dist/lib/architecture-WOLXFQ4H-c6RsZuzu.js +3 -0
  5. package/dist/lib/architectureDiagram-ZHVYKT53-DTINqD5R.js +4145 -0
  6. package/dist/lib/array-CApNbSU9.js +6 -0
  7. package/dist/lib/blockDiagram-RJAE7QA3-CUYHoR3g.js +1946 -0
  8. package/dist/lib/c4Diagram-XDPPPE54-Cdx6_DsI.js +2990 -0
  9. package/dist/lib/channel-DagAO2vE.js +5 -0
  10. package/dist/lib/chunk-2E7WHVMD-BzhgXW3b.js +490 -0
  11. package/dist/lib/chunk-2Q5K7J3B-DWNwIK5Y.js +15 -0
  12. package/dist/lib/chunk-4EMNKR2T-DhFrQz9k.js +236 -0
  13. package/dist/lib/chunk-55XCU76K-CI0GXDkJ.js +61 -0
  14. package/dist/lib/chunk-5VM5RSS4-BAQ-46g4.js +5 -0
  15. package/dist/lib/chunk-7S6XSTFO-CMt_p-O6.js +1373 -0
  16. package/dist/lib/chunk-AQDTSKZB-DrZccIQa.js +1847 -0
  17. package/dist/lib/chunk-DSNLSHJZ-CpA9d2CJ.js +4044 -0
  18. package/dist/lib/chunk-DUW6YSOI-C-tN4Kiv.js +10 -0
  19. package/dist/lib/chunk-EJLWFMJV-B30MNYvY.js +75 -0
  20. package/dist/lib/chunk-HAGFOTED-DMU2JNZM.js +4487 -0
  21. package/dist/lib/chunk-HNE4Q36P-BIA0n2gA.js +363 -0
  22. package/dist/lib/chunk-J5ZVWO5B-CA_-jk8G.js +12 -0
  23. package/dist/lib/chunk-JWPE2WC7-KRpHbrIX.js +8 -0
  24. package/dist/lib/chunk-LNGE3PJU-CMGaAEAh.js +1513 -0
  25. package/dist/lib/chunk-NGNAAXSQ-D7Dvct7J.js +19774 -0
  26. package/dist/lib/chunk-NQOKRVIF-MK9F46y3.js +4258 -0
  27. package/dist/lib/chunk-OYAV6JZA-B1yICcbU.js +10 -0
  28. package/dist/lib/chunk-UHW7PFBP-CLrOaA0y.js +67 -0
  29. package/dist/lib/chunk-VQ5W62QI-_ZR3gKe4.js +26 -0
  30. package/dist/lib/chunk-WQQL4CDK-DFtyhYZq.js +693 -0
  31. package/dist/lib/chunk-XXDRQBXY-uzyNBbgx.js +9 -0
  32. package/dist/lib/chunk-Y2CYZVJY-BYzrzvCI.js +12 -0
  33. package/dist/lib/chunk-YZO67HFG-D1jKt78p.js +275 -0
  34. package/dist/lib/chunk-ZAUX2LTX-7XO0Yj1z.js +37 -0
  35. package/dist/lib/chunk-ZCHMQSOR-CxoKltfF.js +349 -0
  36. package/dist/lib/classDiagram-v2-4MYWR3UA-BPvwhZqw.js +3397 -0
  37. package/dist/lib/commons.js +729 -729
  38. package/dist/lib/components.css +1 -1
  39. package/dist/lib/cose-bilkent-JH36ORCC-Oj79uOIQ.js +2250 -0
  40. package/dist/lib/cynefin-EF2NZ3EQ-COX3NRum.js +3 -0
  41. package/dist/lib/cynefinDiagram-WF24UDRP-UzTptNAX.js +349 -0
  42. package/dist/lib/cytoscape.esm-0ojxgO9x.js +18161 -0
  43. package/dist/lib/dagre-NK4GIZVX-DWZr-NGm.js +2356 -0
  44. package/dist/lib/defaultLocale-BbgDuMnp.js +201 -0
  45. package/dist/lib/diagram-CBK3MWTC-CsyKuv-w.js +525 -0
  46. package/dist/lib/diagram-I5XIIV2D-DWY2JSPC.js +134 -0
  47. package/dist/lib/diagram-ODIL2UCW-DUptj0JZ.js +301 -0
  48. package/dist/lib/diagram-PFBEJUXE-N5XnIBqM.js +447 -0
  49. package/dist/lib/diagram-RJA3I4VV-B9XgohYo.js +214 -0
  50. package/dist/lib/diagram-TYUNFSNR-XnsJIeAd.js +5084 -0
  51. package/dist/lib/dist-AMlsjiDX.js +59 -0
  52. package/dist/lib/ebnfDiagram-V4P3TTPT-BssHqFox.js +100 -0
  53. package/dist/lib/elk-QONTBCTQ-DwmwqYgP.js +47944 -0
  54. package/dist/lib/erDiagram-KYQIGQAA-BQiXw1Tw.js +1970 -0
  55. package/dist/lib/eventmodeling-K75KTNOO-DDb--yMc.js +3 -0
  56. package/dist/lib/flowDiagram-IUGLLWBU-BEqqF1y2.js +17 -0
  57. package/dist/lib/ganttDiagram-R7GPNTJY-BWtGXxEF.js +3094 -0
  58. package/dist/lib/gitGraph-VSP46ZUC-BSwOaak_.js +3 -0
  59. package/dist/lib/gitGraphDiagram-PDYL7XHY-CHGNuGbk.js +729 -0
  60. package/dist/lib/graphlib-Dndp26xU.js +1267 -0
  61. package/dist/lib/info-OHQRW6UA-Dk06sZRe.js +3 -0
  62. package/dist/lib/infoDiagram-MVDRKAX5-Cdhxnjmi.js +20 -0
  63. package/dist/lib/init-Bwwdo3M6.js +15 -0
  64. package/dist/lib/ishikawaDiagram-HPEHV2GE-Dzhti-GJ.js +719 -0
  65. package/dist/lib/journeyDiagram-BOSHW7O7-C3_vsSjw.js +884 -0
  66. package/dist/lib/kanban-definition-FNSA4HC5-XsfCEsjn.js +976 -0
  67. package/dist/lib/katex-Dw0PnoPU.js +21850 -0
  68. package/dist/lib/line-C9krU3Sv.js +34 -0
  69. package/dist/lib/linear-Cvilv3OA.js +289 -0
  70. package/dist/lib/mermaid-parser.core-I7qQ_fxz.js +638 -0
  71. package/dist/lib/mermaid.core-UNHMAbBP.js +1126 -0
  72. package/dist/lib/mindmap-definition-6OY57UG3-CAua-JvB.js +1011 -0
  73. package/dist/lib/ordinal-C55HfHHp.js +65 -0
  74. package/dist/lib/packet-JDAUHWVQ-DZ-MKx4I.js +3 -0
  75. package/dist/lib/path-DNvJyUE8.js +85 -0
  76. package/dist/lib/pegDiagram-ECIUJNBX-BCxa_IO0.js +94 -0
  77. package/dist/lib/pie-XZMESJXO-DpCa-Nnq.js +3 -0
  78. package/dist/lib/pieDiagram-GNMPY74T-CE_C3dCB.js +205 -0
  79. package/dist/lib/quadrantDiagram-D57K4MC3-CDgzdMoL.js +2001 -0
  80. package/dist/lib/radar-ABXABTNO-BOVK7L9p.js +3 -0
  81. package/dist/lib/railroad-I3PHUGI6-B6spKM0Z.js +3 -0
  82. package/dist/lib/railroad-abnf-LNEFI6M7-DEWqfByZ.js +3 -0
  83. package/dist/lib/railroad-ebnf-DWYD2UWJ-CWRLtxHB.js +3 -0
  84. package/dist/lib/railroad-peg-JR7BVNR7-C-3NHSsk.js +3 -0
  85. package/dist/lib/railroadDiagram-Y72NRBL7-a8YVk8LT.js +76 -0
  86. package/dist/lib/requirementDiagram-EQYSW5RA-B9HolqxU.js +2228 -0
  87. package/dist/lib/rough.esm-a8mysczE.js +1352 -0
  88. package/dist/lib/sankeyDiagram-SY24JHO5-CLFMtMJG.js +970 -0
  89. package/dist/lib/sequenceDiagram-BLEHNHQU-B5wfSV85.js +4253 -0
  90. package/dist/lib/share.js +1 -1
  91. package/dist/lib/sizeCapture-INFHLROL-BWGCc9aa.js +46 -0
  92. package/dist/lib/src-Dcy0zUZH.js +2153 -0
  93. package/dist/lib/stateDiagram-v2-A6IESKWZ-C92vye4N.js +2143 -0
  94. package/dist/lib/swimlanes-B3ENRKFQ-B6-i-tPc.js +4764 -0
  95. package/dist/lib/swimlanesDiagram-AYQRV4AK-CbkBeql-.js +28 -0
  96. package/dist/lib/timeline-definition-JXYKGLGB-D2Ip4r72.js +1073 -0
  97. package/dist/lib/treeView-D4JQ5SDB-CFaKQ_2T.js +3 -0
  98. package/dist/lib/treemap-SAJKECNS-BQ6z7Z3g.js +3 -0
  99. package/dist/lib/types/AppSidebar.d.ts +14 -1
  100. package/dist/lib/types/transcript/Collapsible.d.ts +10 -0
  101. package/dist/lib/types/transcript/FiltersRail.d.ts +1 -0
  102. package/dist/lib/types/transcript/MermaidBlock.d.ts +3 -0
  103. package/dist/lib/types/transcript/Thinking.d.ts +1 -1
  104. package/dist/lib/types/transcript/ToolCall.d.ts +1 -1
  105. package/dist/lib/types/transcript/TranscriptViewer.d.ts +2 -2
  106. package/dist/lib/types/transcript/TurnCard.d.ts +3 -1
  107. package/dist/lib/types/transcript/UnverifiedPullRequests.d.ts +12 -0
  108. package/dist/lib/types/transcript/WorkGroup.d.ts +9 -0
  109. package/dist/lib/types/transcript/action-groups.d.ts +9 -0
  110. package/dist/lib/types/transcript/adapter.d.ts +12 -0
  111. package/dist/lib/types/transcript/filters.d.ts +5 -5
  112. package/dist/lib/types/transcript/index.d.ts +2 -1
  113. package/dist/lib/types/transcript/mermaidSource.d.ts +2 -0
  114. package/dist/lib/types/transcript/mermaidSvg.d.ts +1 -0
  115. package/dist/lib/types/transcript/state-capabilities.d.ts +38 -11
  116. package/dist/lib/types/transcript/tool-state-key.d.ts +2 -0
  117. package/dist/lib/types/transcript/useReaderWidthAnchor.d.ts +20 -0
  118. package/dist/lib/types/transcript/view-model.d.ts +19 -0
  119. package/dist/lib/types/transcript/work-summary.d.ts +8 -0
  120. package/dist/lib/types/ui/transcript/adapter.d.ts +12 -0
  121. package/dist/lib/types/ui/transcript/view-model.d.ts +19 -0
  122. package/dist/lib/{ui-CrH0SVd_.js → ui-Beoq-HpN.js} +5345 -4232
  123. package/dist/lib/ui.js +6 -6
  124. package/dist/lib/usecaseDiagram-WPOLBNNX-BK1Anch1.js +7190 -0
  125. package/dist/lib/vennDiagram-Q3Y3IDCW-B6YTBqTS.js +1880 -0
  126. package/dist/lib/wardley-7MLQ67FV-DChYwu4i.js +3 -0
  127. package/dist/lib/wardleyDiagram-IVAIDKWA-D5I1qLUK.js +645 -0
  128. package/dist/lib/xychartDiagram-4URNHDU4-B6RXyhTO.js +2218 -0
  129. package/package.json +3 -2
@@ -0,0 +1,693 @@
1
+ import { m as e, p as t } from "./src-Dcy0zUZH.js";
2
+ import { n } from "./chunk-Y2CYZVJY-BYzrzvCI.js";
3
+ import { b as r, w as i, y as a } from "./chunk-DSNLSHJZ-CpA9d2CJ.js";
4
+ import { $ as o, J as s, Q as c, X as l, Y as u, Z as d, _ as f, d as p, et as m, it as h, nt as g, q as _, rt as v, tt as y } from "./chunk-7S6XSTFO-CMt_p-O6.js";
5
+ import { t as b } from "./line-C9krU3Sv.js";
6
+ import { n as x, r as S } from "./chunk-AQDTSKZB-DrZccIQa.js";
7
+ import { i as C, n as ee } from "./chunk-UHW7PFBP-CLrOaA0y.js";
8
+ import { t as te } from "./rough.esm-a8mysczE.js";
9
+ import { t as w } from "./chunk-HAGFOTED-DMU2JNZM.js";
10
+ import { n as T } from "./chunk-ZAUX2LTX-7XO0Yj1z.js";
11
+ //#region node_modules/.pnpm/mermaid@12.2.0/node_modules/mermaid/dist/chunks/mermaid.core/chunk-WQQL4CDK.mjs
12
+ var E = /* @__PURE__ */ n((e, t) => {
13
+ if (t) return "translate(" + -e.width / 2 + ", " + -e.height / 2 + ")";
14
+ let n = e.x ?? 0, r = e.y ?? 0;
15
+ return "translate(" + -(n + e.width / 2) + ", " + -(r + e.height / 2) + ")";
16
+ }, "computeLabelTransform"), D = {
17
+ aggregation: 17.25,
18
+ extension: 17.25,
19
+ composition: 17.25,
20
+ dependency: 6,
21
+ lollipop: 13.5,
22
+ arrow_point: 4,
23
+ arrow_barb: 0,
24
+ arrow_barb_neo: 5.5
25
+ }, O = {
26
+ arrow_point: 4,
27
+ arrow_cross: 12.5,
28
+ arrow_circle: 12.5
29
+ };
30
+ function k(e, t) {
31
+ if (e === void 0 || t === void 0) return {
32
+ angle: 0,
33
+ deltaX: 0,
34
+ deltaY: 0
35
+ };
36
+ e = A(e), t = A(t);
37
+ let [n, r] = [e.x, e.y], [i, a] = [t.x, t.y], o = i - n, s = a - r;
38
+ return {
39
+ angle: Math.atan(s / o),
40
+ deltaX: o,
41
+ deltaY: s
42
+ };
43
+ }
44
+ n(k, "calculateDeltaAndAngle");
45
+ var A = /* @__PURE__ */ n((e) => Array.isArray(e) ? {
46
+ x: e[0],
47
+ y: e[1]
48
+ } : e, "pointTransformer"), ne = /* @__PURE__ */ n((e) => ({
49
+ x: /* @__PURE__ */ n(function(t, n, r) {
50
+ let i = 0, a = A(r[0]).x < A(r[r.length - 1]).x ? "left" : "right";
51
+ if (n === 0 && Object.hasOwn(D, e.arrowTypeStart)) {
52
+ let { angle: t, deltaX: n } = k(r[0], r[1]);
53
+ i = D[e.arrowTypeStart] * Math.cos(t) * (n >= 0 ? 1 : -1);
54
+ } else if (n === r.length - 1 && Object.hasOwn(D, e.arrowTypeEnd)) {
55
+ let { angle: t, deltaX: n } = k(r[r.length - 1], r[r.length - 2]);
56
+ i = D[e.arrowTypeEnd] * Math.cos(t) * (n >= 0 ? 1 : -1);
57
+ }
58
+ let o = Math.abs(A(t).x - A(r[r.length - 1]).x), s = Math.abs(A(t).y - A(r[r.length - 1]).y), c = Math.abs(A(t).x - A(r[0]).x), l = Math.abs(A(t).y - A(r[0]).y), u = D[e.arrowTypeStart], d = D[e.arrowTypeEnd];
59
+ if (o < d && o > 0 && s < d) {
60
+ let e = d + 1 - o;
61
+ e *= a === "right" ? -1 : 1, i -= e;
62
+ }
63
+ if (c < u && c > 0 && l < u) {
64
+ let e = u + 1 - c;
65
+ e *= a === "right" ? -1 : 1, i += e;
66
+ }
67
+ return A(t).x + i;
68
+ }, "x"),
69
+ y: /* @__PURE__ */ n(function(t, n, r) {
70
+ let i = 0, a = A(r[0]).y < A(r[r.length - 1]).y ? "down" : "up";
71
+ if (n === 0 && Object.hasOwn(D, e.arrowTypeStart)) {
72
+ let { angle: t, deltaY: n } = k(r[0], r[1]);
73
+ i = D[e.arrowTypeStart] * Math.abs(Math.sin(t)) * (n >= 0 ? 1 : -1);
74
+ } else if (n === r.length - 1 && Object.hasOwn(D, e.arrowTypeEnd)) {
75
+ let { angle: t, deltaY: n } = k(r[r.length - 1], r[r.length - 2]);
76
+ i = D[e.arrowTypeEnd] * Math.abs(Math.sin(t)) * (n >= 0 ? 1 : -1);
77
+ }
78
+ let o = Math.abs(A(t).y - A(r[r.length - 1]).y), s = Math.abs(A(t).x - A(r[r.length - 1]).x), c = Math.abs(A(t).y - A(r[0]).y), l = Math.abs(A(t).x - A(r[0]).x), u = D[e.arrowTypeStart], d = D[e.arrowTypeEnd];
79
+ if (o < d && o > 0 && s < d) {
80
+ let e = d + 1 - o;
81
+ e *= a === "up" ? -1 : 1, i -= e;
82
+ }
83
+ if (c < u && c > 0 && l < u) {
84
+ let e = u + 1 - c;
85
+ e *= a === "up" ? -1 : 1, i += e;
86
+ }
87
+ return A(t).y + i;
88
+ }, "y")
89
+ }), "getLineFunctionsWithOffset"), re = /* @__PURE__ */ n((e, t, n, r, i, a = !1, o) => {
90
+ t.arrowTypeStart && N(e, "start", t.arrowTypeStart, n, r, i, a, o), t.arrowTypeEnd && N(e, "end", t.arrowTypeEnd, n, r, i, a, o);
91
+ }, "addEdgeMarkers"), j = {
92
+ arrow_cross: {
93
+ type: "cross",
94
+ fill: !1
95
+ },
96
+ arrow_point: {
97
+ type: "point",
98
+ fill: !0
99
+ },
100
+ arrow_barb: {
101
+ type: "barb",
102
+ fill: !0
103
+ },
104
+ arrow_barb_neo: {
105
+ type: "barb",
106
+ fill: !0
107
+ },
108
+ arrow_circle: {
109
+ type: "circle",
110
+ fill: !1
111
+ },
112
+ arrow_hierarchy: {
113
+ type: "hierarchy",
114
+ fill: !1
115
+ },
116
+ aggregation: {
117
+ type: "aggregation",
118
+ fill: !1
119
+ },
120
+ extension: {
121
+ type: "extension",
122
+ fill: !1
123
+ },
124
+ composition: {
125
+ type: "composition",
126
+ fill: !0
127
+ },
128
+ dependency: {
129
+ type: "dependency",
130
+ fill: !0
131
+ },
132
+ lollipop: {
133
+ type: "lollipop",
134
+ fill: !1
135
+ },
136
+ only_one: {
137
+ type: "onlyOne",
138
+ fill: !1
139
+ },
140
+ zero_or_one: {
141
+ type: "zeroOrOne",
142
+ fill: !1
143
+ },
144
+ one_or_more: {
145
+ type: "oneOrMore",
146
+ fill: !1
147
+ },
148
+ zero_or_more: {
149
+ type: "zeroOrMore",
150
+ fill: !1
151
+ },
152
+ requirement_arrow: {
153
+ type: "requirement_arrow",
154
+ fill: !1
155
+ },
156
+ requirement_contains: {
157
+ type: "requirement_contains",
158
+ fill: !1
159
+ }
160
+ }, M = [
161
+ "cross",
162
+ "point",
163
+ "circle",
164
+ "lollipop",
165
+ "aggregation",
166
+ "extension",
167
+ "composition",
168
+ "dependency",
169
+ "barb"
170
+ ], N = /* @__PURE__ */ n((t, n, r, i, a, o, s = !1, c) => {
171
+ if (!r || r === "none") return;
172
+ let l = j[r], u = l && M.includes(l.type);
173
+ if (!l) {
174
+ e.warn(`Unknown arrow type: ${r}`);
175
+ return;
176
+ }
177
+ let d = `${a}_${o}-${l.type}${n === "start" ? "Start" : "End"}${s && u ? "-margin" : ""}`;
178
+ if (c && c.trim() !== "") {
179
+ let e = `${d}_${c.replace(/[^\dA-Za-z]/g, "_")}`;
180
+ if (!document.getElementById(e)) {
181
+ let t = document.getElementById(d);
182
+ if (t) {
183
+ let n = t.cloneNode(!0);
184
+ n.id = e, n.querySelectorAll("path, circle, line").forEach((e) => {
185
+ e.setAttribute("stroke", c), l.fill && e.setAttribute("fill", c);
186
+ }), t.parentNode?.appendChild(n);
187
+ }
188
+ }
189
+ t.attr(`marker-${n}`, `url(${i}#${e})`);
190
+ } else t.attr(`marker-${n}`, `url(${i}#${d})`);
191
+ }, "addEdgeMarker"), ie = /* @__PURE__ */ n((e) => typeof e == "string" ? e : r()?.flowchart?.curve, "resolveEdgeCurveType"), P = /* @__PURE__ */ new Map(), F = /* @__PURE__ */ new Map(), ae = /* @__PURE__ */ n(() => {
192
+ P.clear(), F.clear();
193
+ }, "clear"), I = /* @__PURE__ */ n((e) => !!(e.label || e.startLabelLeft || e.startLabelRight || e.endLabelLeft || e.endLabelRight), "hasEdgeLabel"), L = /* @__PURE__ */ n((e) => e ? typeof e == "string" ? e : e.reduce((e, t) => e + ";" + t, "") : "", "getLabelStyles"), R = /* @__PURE__ */ n(async (n, a) => {
194
+ let o = r(), s = i(o), { labelStyles: c } = C(a);
195
+ a.labelStyle = c;
196
+ let l = n.insert("g").attr("class", "edgeLabel"), u = l.insert("g").attr("class", "label").attr("data-id", a.id), d = a.labelType === "markdown", f = await x(n, a.label, {
197
+ style: L(a.labelStyle),
198
+ useHtmlLabels: s,
199
+ addSvgBackground: !0,
200
+ isNode: !1,
201
+ markdown: d,
202
+ width: void 0
203
+ }, o);
204
+ u.node().appendChild(f), e.info("abc82", a, a.labelType);
205
+ let p, m;
206
+ if (s) {
207
+ let e = f.children[0], n = t(f);
208
+ p = await S.measure(() => e.getBoundingClientRect()), m = p, n.attr("width", p.width), n.attr("height", p.height);
209
+ } else {
210
+ let e = t(f).select("text").node();
211
+ await S.measure(() => {
212
+ p = f.getBBox(), m = e && typeof e.getBBox == "function" ? e.getBBox() : p;
213
+ });
214
+ }
215
+ u.attr("transform", E(m, s)), P.set(a.id, l), a.width = p.width, a.height = p.height;
216
+ let h;
217
+ if (a.startLabelLeft) {
218
+ let e = n.insert("g").attr("class", "edgeTerminals"), r = e.insert("g").attr("class", "inner"), i = await w(r, a.startLabelLeft, L(a.labelStyle) || "", !1, !1);
219
+ h = i;
220
+ let o = i.getBBox();
221
+ if (s) {
222
+ let e = i.children[0], n = t(i);
223
+ o = e.getBoundingClientRect(), n.attr("width", o.width), n.attr("height", o.height);
224
+ }
225
+ r.attr("transform", E(o, s)), F.get(a.id) || F.set(a.id, {}), F.get(a.id).startLeft = e, B(h, a.startLabelLeft, o), z(a, "startLeft", o);
226
+ }
227
+ if (a.startLabelRight) {
228
+ let e = n.insert("g").attr("class", "edgeTerminals"), r = e.insert("g").attr("class", "inner"), i = await w(r, a.startLabelRight, L(a.labelStyle) || "", !1, !1);
229
+ h = i;
230
+ let o = i.getBBox();
231
+ if (s) {
232
+ let e = i.children[0], n = t(i);
233
+ o = e.getBoundingClientRect(), n.attr("width", o.width), n.attr("height", o.height);
234
+ }
235
+ r.attr("transform", E(o, s)), F.get(a.id) || F.set(a.id, {}), F.get(a.id).startRight = e, B(h, a.startLabelRight, o), z(a, "startRight", o);
236
+ }
237
+ if (a.endLabelLeft) {
238
+ let e = n.insert("g").attr("class", "edgeTerminals"), r = e.insert("g").attr("class", "inner"), i = await w(r, a.endLabelLeft, L(a.labelStyle) || "", !1, !1);
239
+ h = i;
240
+ let o = i.getBBox();
241
+ if (s) {
242
+ let e = i.children[0], n = t(i);
243
+ o = e.getBoundingClientRect(), n.attr("width", o.width), n.attr("height", o.height);
244
+ }
245
+ r.attr("transform", E(o, s)), F.get(a.id) || F.set(a.id, {}), F.get(a.id).endLeft = e, B(h, a.endLabelLeft, o), z(a, "endLeft", o);
246
+ }
247
+ if (a.endLabelRight) {
248
+ let e = n.insert("g").attr("class", "edgeTerminals"), r = e.insert("g").attr("class", "inner"), i = await w(r, a.endLabelRight, L(a.labelStyle) || "", !1, !1);
249
+ h = i;
250
+ let o = i.getBBox();
251
+ if (s) {
252
+ let e = i.children[0], n = t(i);
253
+ o = e.getBoundingClientRect(), n.attr("width", o.width), n.attr("height", o.height);
254
+ }
255
+ r.attr("transform", E(o, s)), F.get(a.id) || F.set(a.id, {}), F.get(a.id).endRight = e, B(h, a.endLabelRight, o), z(a, "endRight", o);
256
+ }
257
+ return f;
258
+ }, "insertEdgeLabel");
259
+ function z(e, t, n) {
260
+ e.terminalLabelSizes ??= {}, e.terminalLabelSizes[t] = {
261
+ width: n.width,
262
+ height: n.height
263
+ };
264
+ }
265
+ n(z, "recordTerminalLabelSize");
266
+ function B(e, t, n) {
267
+ i(r()) && e && (e.style.width = Math.max(t.length * 9, n.width) + "px", e.style.height = n.height + "px");
268
+ }
269
+ n(B, "setTerminalWidth");
270
+ var V = /* @__PURE__ */ n((e, t) => {
271
+ let n = e.x, r = e.y;
272
+ if (t?.updatedPath) {
273
+ let i = f.calcLabelPosition(t.updatedPath);
274
+ if (t.originalPath) {
275
+ let a = f.calcLabelPosition(t.originalPath);
276
+ n = e.x + (i.x - a.x), r = e.y + (i.y - a.y);
277
+ } else n = i.x, r = i.y;
278
+ }
279
+ return {
280
+ x: n,
281
+ y: r
282
+ };
283
+ }, "resolveEdgeLabelPosition"), H = /* @__PURE__ */ n((t, n) => {
284
+ e.debug("Moving label abc88 ", t.id, t.label, P.get(t.id), n);
285
+ let { subGraphTitleTotalMargin: i } = T(r());
286
+ if (t.label) {
287
+ let r = P.get(t.id), { x: a, y: o } = V(t, n);
288
+ e.debug("Moving label " + t.label + " from (", t.x, ",", t.y, ") to (", a, ",", o, ") abc88"), r.attr("transform", `translate(${a}, ${o + i / 2})`);
289
+ }
290
+ let a = n.updatedPath ? n.updatedPath : n.originalPath;
291
+ if (t.startLabelLeft) {
292
+ let e = F.get(t.id).startLeft, n = t.x, r = t.y;
293
+ if (a) {
294
+ let e = f.calcTerminalLabelPosition(t.arrowTypeStart ? 10 : 0, "start_left", a);
295
+ n = e.x, r = e.y;
296
+ }
297
+ e.attr("transform", `translate(${n}, ${r})`);
298
+ }
299
+ if (t.startLabelRight) {
300
+ let e = F.get(t.id).startRight, n = t.x, r = t.y;
301
+ if (a) {
302
+ let e = f.calcTerminalLabelPosition(t.arrowTypeStart ? 10 : 0, "start_right", a);
303
+ n = e.x, r = e.y;
304
+ }
305
+ e.attr("transform", `translate(${n}, ${r})`);
306
+ }
307
+ if (t.endLabelLeft) {
308
+ let e = F.get(t.id).endLeft, n = t.x, r = t.y;
309
+ if (a) {
310
+ let e = f.calcTerminalLabelPosition(t.arrowTypeEnd ? 10 : 0, "end_left", a);
311
+ n = e.x, r = e.y;
312
+ }
313
+ e.attr("transform", `translate(${n}, ${r})`);
314
+ }
315
+ if (t.endLabelRight) {
316
+ let e = F.get(t.id).endRight, n = t.x, r = t.y;
317
+ if (a) {
318
+ let e = f.calcTerminalLabelPosition(t.arrowTypeEnd ? 10 : 0, "end_right", a);
319
+ n = e.x, r = e.y;
320
+ }
321
+ e.attr("transform", `translate(${n}, ${r})`);
322
+ }
323
+ }, "positionEdgeLabel"), oe = /* @__PURE__ */ n((e, t) => {
324
+ if (!e?.isLabelEdge || !e?.id?.endsWith("-to-label") || !Array.isArray(t) || t.length !== 2) return t;
325
+ let [n, r] = t, i = Math.abs(r.x - n.x), a = Math.abs(r.y - n.y);
326
+ return i < .001 || a < .001 ? t : a >= i ? [
327
+ n,
328
+ {
329
+ x: n.x,
330
+ y: r.y
331
+ },
332
+ r
333
+ ] : [
334
+ n,
335
+ {
336
+ x: r.x,
337
+ y: n.y
338
+ },
339
+ r
340
+ ];
341
+ }, "orthogonalizeToLabelClippedPoints"), U = /* @__PURE__ */ n((e, t) => {
342
+ let n = e.x, r = e.y, i = Math.abs(t.x - n), a = Math.abs(t.y - r), o = e.width / 2, s = e.height / 2;
343
+ return i >= o || a >= s;
344
+ }, "outsideNode"), W = /* @__PURE__ */ n((t, n, r) => {
345
+ e.debug(`intersection calc abc89:
346
+ outsidePoint: ${JSON.stringify(n)}
347
+ insidePoint : ${JSON.stringify(r)}
348
+ node : x:${t.x} y:${t.y} w:${t.width} h:${t.height}`);
349
+ let i = t.x, a = t.y, o = Math.abs(i - r.x), s = t.width / 2, c = r.x < n.x ? s - o : s + o, l = t.height / 2, u = Math.abs(n.y - r.y), d = Math.abs(n.x - r.x);
350
+ if (Math.abs(a - n.y) * s > Math.abs(i - n.x) * l) {
351
+ let t = r.y < n.y ? n.y - l - a : a - l - n.y;
352
+ c = d * t / u;
353
+ let i = {
354
+ x: r.x < n.x ? r.x + c : r.x - d + c,
355
+ y: r.y < n.y ? r.y + u - t : r.y - u + t
356
+ };
357
+ return c === 0 && (i.x = n.x, i.y = n.y), d === 0 && (i.x = n.x), u === 0 && (i.y = n.y), e.debug(`abc89 top/bottom calc, Q ${u}, q ${t}, R ${d}, r ${c}`, i), i;
358
+ } else {
359
+ c = r.x < n.x ? n.x - s - i : i - s - n.x;
360
+ let t = u * c / d, a = r.x < n.x ? r.x + d - c : r.x - d + c, o = r.y < n.y ? r.y + t : r.y - t;
361
+ return e.debug(`sides calc abc89, Q ${u}, q ${t}, R ${d}, r ${c}`, {
362
+ _x: a,
363
+ _y: o
364
+ }), c === 0 && (a = n.x, o = n.y), d === 0 && (a = n.x), u === 0 && (o = n.y), {
365
+ x: a,
366
+ y: o
367
+ };
368
+ }
369
+ }, "intersection"), G = /* @__PURE__ */ n((t, n) => {
370
+ e.warn("abc88 cutPathAtIntersect", t, n);
371
+ let r = [], i = t[0], a = !1;
372
+ return t.forEach((t) => {
373
+ if (e.info("abc88 checking point", t, n), !U(n, t) && !a) {
374
+ let o = W(n, i, t);
375
+ e.debug("abc88 inside", t, i, o), e.debug("abc88 intersection", o, n);
376
+ let s = !1;
377
+ r.forEach((e) => {
378
+ s ||= e.x === o.x && e.y === o.y;
379
+ }), r.some((e) => e.x === o.x && e.y === o.y) ? e.warn("abc88 no intersect", o, r) : r.push(o), a = !0;
380
+ } else e.warn("abc88 outside", t, i), i = t, a || r.push(t);
381
+ }), e.debug("returning points", r), r;
382
+ }, "cutPathAtIntersect");
383
+ function K(e) {
384
+ let t = [], n = [];
385
+ for (let r = 1; r < e.length - 1; r++) {
386
+ let i = e[r - 1], a = e[r], o = e[r + 1];
387
+ (i.x === a.x && a.y === o.y && Math.abs(a.x - o.x) > 5 && Math.abs(a.y - i.y) > 5 || i.y === a.y && a.x === o.x && Math.abs(a.x - i.x) > 5 && Math.abs(a.y - o.y) > 5) && (t.push(a), n.push(r));
388
+ }
389
+ return {
390
+ cornerPoints: t,
391
+ cornerPointPositions: n
392
+ };
393
+ }
394
+ n(K, "extractCornerPoints");
395
+ var q = /* @__PURE__ */ n(function(e, t, n) {
396
+ let r = t.x - e.x, i = t.y - e.y, a = n / Math.sqrt(r * r + i * i);
397
+ return {
398
+ x: t.x - a * r,
399
+ y: t.y - a * i
400
+ };
401
+ }, "findAdjacentPoint"), se = /* @__PURE__ */ n(function(t) {
402
+ let { cornerPointPositions: n } = K(t), r = [];
403
+ for (let i = 0; i < t.length; i++) if (n.includes(i)) {
404
+ let n = t[i - 1], a = t[i + 1], o = t[i], s = q(n, o, 5), c = q(a, o, 5), l = c.x - s.x, u = c.y - s.y;
405
+ r.push(s);
406
+ let d = Math.sqrt(2) * 2, f = {
407
+ x: o.x,
408
+ y: o.y
409
+ };
410
+ Math.abs(a.x - n.x) > 10 && Math.abs(a.y - n.y) >= 10 ? (e.debug("Corner point fixing", Math.abs(a.x - n.x), Math.abs(a.y - n.y)), f = o.x === s.x ? {
411
+ x: l < 0 ? s.x - 5 + d : s.x + 5 - d,
412
+ y: u < 0 ? s.y - d : s.y + d
413
+ } : {
414
+ x: l < 0 ? s.x - d : s.x + d,
415
+ y: u < 0 ? s.y - 5 + d : s.y + 5 - d
416
+ }) : e.debug("Corner point skipping fixing", Math.abs(a.x - n.x), Math.abs(a.y - n.y)), r.push(f, c);
417
+ } else r.push(t[i]);
418
+ return r;
419
+ }, "fixCorners"), ce = /* @__PURE__ */ n((e, t, n) => {
420
+ let r = e - t - n, i = Math.floor(r / 4);
421
+ return `0 ${t} ${Array(Number.isFinite(i) ? Math.max(0, i) : 0).fill("2 2").join(" ")} ${n}`;
422
+ }, "generateDashArray"), J = /* @__PURE__ */ n(function(n, i, a, x, S, C, w, T = !1, E = void 0) {
423
+ if (!w) throw Error(`insertEdge: missing diagramId for edge "${i.id}" \u2014 edge IDs require a diagram prefix for uniqueness`);
424
+ let { handDrawnSeed: D, layout: k } = r(), A = E ?? k, j = i.points, M = !1, N = S;
425
+ var P = C;
426
+ let F = [];
427
+ for (let e in i.cssCompiledStyles) ee(e) || F.push(i.cssCompiledStyles[e]);
428
+ if (A === "swimlane") {
429
+ if (!T && P.intersect && N.intersect && Array.isArray(j) && j.length >= 2) if (j.length === 2) j = [N.intersect(j[0]), P.intersect(j[1])];
430
+ else {
431
+ let e = j.slice(1, -1), t = e[0], n = e[e.length - 1], r = .5, i = Math.abs(j[j.length - 1].x - n.x) < r && Math.abs(j[j.length - 1].y - n.y) < r, a = N.intersect(t), o = i ? n : P.intersect(n), s = Math.abs(o.x - n.x) < r && Math.abs(o.y - n.y) < r, c = Math.abs(a.x - t.x) < r && Math.abs(a.y - t.y) < r ? [] : [a], l = s ? [] : [o];
432
+ j = [
433
+ ...c,
434
+ ...e,
435
+ ...l
436
+ ];
437
+ }
438
+ j = oe(i, j);
439
+ } else P.intersect && N.intersect && !T && (j = j.slice(1, i.points.length - 1), j.unshift(N.intersect(j[0])), j.push(P.intersect(j[j.length - 1])));
440
+ let ae = btoa(JSON.stringify(j));
441
+ i.toCluster && (e.info("to cluster abc88", a.get(i.toCluster)), j = G(i.points, a.get(i.toCluster).node), M = !0), i.fromCluster && (e.debug("from cluster abc88", a.get(i.fromCluster), JSON.stringify(j, null, 2)), j = G(j.reverse(), a.get(i.fromCluster).node).reverse(), M = !0);
442
+ let I = j.filter((e) => !Number.isNaN(e.y)), L = ie(i.curve);
443
+ L !== "rounded" && (I = se(I));
444
+ let R = h;
445
+ switch (L) {
446
+ case "linear":
447
+ R = h;
448
+ break;
449
+ case "basis":
450
+ R = y;
451
+ break;
452
+ case "cardinal":
453
+ R = m;
454
+ break;
455
+ case "bumpX":
456
+ R = g;
457
+ break;
458
+ case "bumpY":
459
+ R = v;
460
+ break;
461
+ case "catmullRom":
462
+ R = o;
463
+ break;
464
+ case "monotoneX":
465
+ R = d;
466
+ break;
467
+ case "monotoneY":
468
+ R = c;
469
+ break;
470
+ case "natural":
471
+ R = l;
472
+ break;
473
+ case "step":
474
+ R = u;
475
+ break;
476
+ case "stepAfter":
477
+ R = _;
478
+ break;
479
+ case "stepBefore":
480
+ R = s;
481
+ break;
482
+ case "rounded":
483
+ R = h;
484
+ break;
485
+ default: R = y;
486
+ }
487
+ let { x: z, y: B } = ne(i), V = b().x(z).y(B).curve(R), H;
488
+ switch (i.thickness) {
489
+ case "normal":
490
+ H = "edge-thickness-normal";
491
+ break;
492
+ case "thick":
493
+ H = "edge-thickness-thick";
494
+ break;
495
+ case "invisible":
496
+ H = "edge-thickness-invisible";
497
+ break;
498
+ default: H = "edge-thickness-normal";
499
+ }
500
+ switch (i.pattern) {
501
+ case "solid":
502
+ H += " edge-pattern-solid";
503
+ break;
504
+ case "dotted":
505
+ H += " edge-pattern-dotted";
506
+ break;
507
+ case "dashed":
508
+ H += " edge-pattern-dashed";
509
+ break;
510
+ default: H += " edge-pattern-solid";
511
+ }
512
+ let U, W = L === "rounded" ? Y(Z(I, i), 5) : V(I), K = Array.isArray(i.style) ? i.style : [i.style], q = K.find((e) => e?.startsWith("stroke:")), J = "";
513
+ i.animate && (J = "edge-animation-fast"), i.animation && (J = "edge-animation-" + i.animation);
514
+ let X = !1;
515
+ if (i.look === "handDrawn") {
516
+ let e = te.svg(n);
517
+ Object.assign([], I);
518
+ let r = e.path(W, {
519
+ roughness: .3,
520
+ seed: D
521
+ });
522
+ H += " transition", U = t(r).select("path").attr("id", `${w}-${i.id}`).attr("class", " " + H + (i.classes ? " " + i.classes : "") + (J ? " " + J : "")).attr("style", K ? K.reduce((e, t) => e + ";" + t, "") : "");
523
+ let a = U.attr("d");
524
+ U.attr("d", a), n.node().appendChild(U.node());
525
+ } else {
526
+ let e = F.join(";"), t = K ? K.reduce((e, t) => e + t + ";", "") : "", r = (e ? e + ";" + t + ";" : t) + ";" + (K ? K.reduce((e, t) => e + ";" + t, "") : "");
527
+ U = n.append("path").attr("d", W).attr("id", `${w}-${i.id}`).attr("class", " " + H + (i.classes ? " " + i.classes : "") + (J ? " " + J : "")).attr("style", r), q = r.match(/stroke:([^;]+)/)?.[1], X = i.animate === !0 || !!i.animation || e.includes("animation");
528
+ let a = U.node(), o = typeof a.getTotalLength == "function" ? a.getTotalLength() : 0, s = O[i.arrowTypeStart] || 0, c = O[i.arrowTypeEnd] || 0;
529
+ if (i.look === "neo" && !X) {
530
+ let e = `stroke-dasharray: ${i.pattern === "dotted" || i.pattern === "dashed" ? ce(o, s, c) : `0 ${s} ${o - s - c} ${c}`}; stroke-dashoffset: 0;`;
531
+ U.attr("style", e + U.attr("style"));
532
+ }
533
+ }
534
+ U.attr("data-edge", !0), U.attr("data-et", "edge"), U.attr("data-id", i.id), U.attr("data-points", ae), U.attr("data-look", p(i.look)), i.showPoints && I.forEach((e) => {
535
+ n.append("circle").style("stroke", "red").style("fill", "red").attr("r", 1).attr("cx", e.x).attr("cy", e.y);
536
+ });
537
+ let Q = "";
538
+ (r().flowchart.arrowMarkerAbsolute || r().state.arrowMarkerAbsolute) && (Q = window.location.protocol + "//" + window.location.host + window.location.pathname + window.location.search, Q = Q.replace(/\(/g, "\\(").replace(/\)/g, "\\)")), e.info("arrowTypeStart", i.arrowTypeStart), e.info("arrowTypeEnd", i.arrowTypeEnd);
539
+ let le = !X && i?.look === "neo";
540
+ re(U, i, Q, w, x, le, q);
541
+ let ue = Math.floor(j.length / 2), de = j[ue];
542
+ f.isLabelCoordinateInPath(de, U.attr("d")) || (M = !0);
543
+ let $ = {};
544
+ return M && ($.updatedPath = j), $.originalPath = i.points, $;
545
+ }, "insertEdge");
546
+ function Y(e, t) {
547
+ if (e.length < 2) return "";
548
+ let n = "", r = e.length, i = 1e-5;
549
+ for (let a = 0; a < r; a++) {
550
+ let o = e[a], s = e[a - 1], c = e[a + 1];
551
+ if (a === 0) n += `M${o.x},${o.y}`;
552
+ else if (a === r - 1) n += `L${o.x},${o.y}`;
553
+ else {
554
+ let e = o.x - s.x, r = o.y - s.y, a = c.x - o.x, l = c.y - o.y, u = Math.hypot(e, r), d = Math.hypot(a, l);
555
+ if (u < i || d < i) {
556
+ n += `L${o.x},${o.y}`;
557
+ continue;
558
+ }
559
+ let f = e / u, p = r / u, m = a / d, h = l / d, g = f * m + p * h, _ = Math.acos(Math.max(-1, Math.min(1, g)));
560
+ if (_ < i || Math.abs(Math.PI - _) < i) {
561
+ n += `L${o.x},${o.y}`;
562
+ continue;
563
+ }
564
+ let v = Math.min(t / Math.sin(_ / 2), u / 2, d / 2), y = o.x - f * v, b = o.y - p * v, x = o.x + m * v, S = o.y + h * v;
565
+ n += `L${y},${b}`, n += `Q${o.x},${o.y} ${x},${S}`;
566
+ }
567
+ }
568
+ return n;
569
+ }
570
+ n(Y, "generateRoundedPath");
571
+ function X(e, t) {
572
+ if (!e || !t) return {
573
+ angle: 0,
574
+ deltaX: 0,
575
+ deltaY: 0
576
+ };
577
+ let n = t.x - e.x, r = t.y - e.y;
578
+ return {
579
+ angle: Math.atan2(r, n),
580
+ deltaX: n,
581
+ deltaY: r
582
+ };
583
+ }
584
+ n(X, "calculateDeltaAndAngle");
585
+ function Z(e, t) {
586
+ let n = e.map((e) => ({ ...e }));
587
+ if (e.length >= 2 && D[t.arrowTypeStart]) {
588
+ let r = D[t.arrowTypeStart], i = e[0], a = e[1], { angle: o } = X(i, a), s = r * Math.cos(o), c = r * Math.sin(o);
589
+ n[0].x = i.x + s, n[0].y = i.y + c;
590
+ }
591
+ let r = e.length;
592
+ if (r >= 2 && D[t.arrowTypeEnd]) {
593
+ let i = D[t.arrowTypeEnd], a = e[r - 1], o = e[r - 2], { angle: s } = X(o, a), c = i * Math.cos(s), l = i * Math.sin(s);
594
+ n[r - 1].x = a.x - c, n[r - 1].y = a.y - l;
595
+ }
596
+ return n;
597
+ }
598
+ n(Z, "applyMarkerOffsetsToPoints");
599
+ var Q = /* @__PURE__ */ n((e, t, n, r) => {
600
+ t.forEach((t) => {
601
+ le[t](e, n, r);
602
+ });
603
+ }, "insertMarkers"), le = {
604
+ extension: /* @__PURE__ */ n((t, n, r) => {
605
+ e.trace("Making markers for ", r), t.append("defs").append("marker").attr("id", r + "_" + n + "-extensionStart").attr("class", "marker extension " + n).attr("refX", 18).attr("refY", 7).attr("markerWidth", 20).attr("markerHeight", 28).attr("orient", "auto").attr("markerUnits", "userSpaceOnUse").append("path").attr("d", "M 1,7 L18,13 V 1 Z"), t.append("defs").append("marker").attr("id", r + "_" + n + "-extensionEnd").attr("class", "marker extension " + n).attr("refX", 1).attr("refY", 7).attr("markerWidth", 20).attr("markerHeight", 28).attr("orient", "auto").attr("markerUnits", "userSpaceOnUse").append("path").attr("d", "M 1,1 V 13 L18,7 Z"), t.append("marker").attr("id", r + "_" + n + "-extensionStart-margin").attr("class", "marker extension " + n).attr("refX", 18).attr("refY", 7).attr("markerWidth", 20).attr("markerHeight", 28).attr("orient", "auto").attr("markerUnits", "userSpaceOnUse").attr("viewBox", "0 0 20 14").append("polygon").attr("points", "10,7 18,13 18,1").style("stroke-width", 2).style("stroke-dasharray", "0"), t.append("defs").append("marker").attr("id", r + "_" + n + "-extensionEnd-margin").attr("class", "marker extension " + n).attr("refX", 9).attr("refY", 7).attr("markerWidth", 20).attr("markerHeight", 28).attr("orient", "auto").attr("markerUnits", "userSpaceOnUse").attr("viewBox", "0 0 20 14").append("polygon").attr("points", "10,1 10,13 18,7").style("stroke-width", 2).style("stroke-dasharray", "0");
606
+ }, "extension"),
607
+ composition: /* @__PURE__ */ n((e, t, n) => {
608
+ e.append("defs").append("marker").attr("id", n + "_" + t + "-compositionStart").attr("class", "marker composition " + t).attr("refX", 18).attr("refY", 7).attr("markerWidth", 190).attr("markerHeight", 240).attr("orient", "auto").attr("markerUnits", "userSpaceOnUse").append("path").attr("d", "M 18,7 L9,13 L1,7 L9,1 Z"), e.append("defs").append("marker").attr("id", n + "_" + t + "-compositionEnd").attr("class", "marker composition " + t).attr("refX", 1).attr("refY", 7).attr("markerWidth", 20).attr("markerHeight", 28).attr("orient", "auto").attr("markerUnits", "userSpaceOnUse").append("path").attr("d", "M 18,7 L9,13 L1,7 L9,1 Z"), e.append("defs").append("marker").attr("id", n + "_" + t + "-compositionStart-margin").attr("class", "marker composition " + t).attr("refX", 15).attr("refY", 7).attr("markerWidth", 190).attr("markerHeight", 240).attr("orient", "auto").attr("markerUnits", "userSpaceOnUse").append("path").style("stroke-width", 0).attr("viewBox", "0 0 15 15").attr("d", "M 18,7 L9,13 L1,7 L9,1 Z"), e.append("defs").append("marker").attr("id", n + "_" + t + "-compositionEnd-margin").attr("class", "marker composition " + t).attr("refX", 3.5).attr("refY", 7).attr("markerWidth", 20).attr("markerHeight", 28).attr("orient", "auto").attr("markerUnits", "userSpaceOnUse").append("path").style("stroke-width", 0).attr("d", "M 18,7 L9,13 L1,7 L9,1 Z");
609
+ }, "composition"),
610
+ aggregation: /* @__PURE__ */ n((e, t, n) => {
611
+ e.append("defs").append("marker").attr("id", n + "_" + t + "-aggregationStart").attr("class", "marker aggregation " + t).attr("refX", 18).attr("refY", 7).attr("markerWidth", 190).attr("markerHeight", 240).attr("orient", "auto").attr("markerUnits", "userSpaceOnUse").append("path").attr("d", "M 18,7 L9,13 L1,7 L9,1 Z"), e.append("defs").append("marker").attr("id", n + "_" + t + "-aggregationEnd").attr("class", "marker aggregation " + t).attr("refX", 1).attr("refY", 7).attr("markerWidth", 20).attr("markerHeight", 28).attr("orient", "auto").attr("markerUnits", "userSpaceOnUse").append("path").attr("d", "M 18,7 L9,13 L1,7 L9,1 Z"), e.append("defs").append("marker").attr("id", n + "_" + t + "-aggregationStart-margin").attr("class", "marker aggregation " + t).attr("refX", 15).attr("refY", 7).attr("markerWidth", 190).attr("markerHeight", 240).attr("orient", "auto").attr("markerUnits", "userSpaceOnUse").append("path").style("stroke-width", 2).attr("d", "M 18,7 L9,13 L1,7 L9,1 Z"), e.append("defs").append("marker").attr("id", n + "_" + t + "-aggregationEnd-margin").attr("class", "marker aggregation " + t).attr("refX", 1).attr("refY", 7).attr("markerWidth", 20).attr("markerHeight", 28).attr("orient", "auto").attr("markerUnits", "userSpaceOnUse").append("path").style("stroke-width", 2).attr("d", "M 18,7 L9,13 L1,7 L9,1 Z");
612
+ }, "aggregation"),
613
+ dependency: /* @__PURE__ */ n((e, t, n) => {
614
+ e.append("defs").append("marker").attr("id", n + "_" + t + "-dependencyStart").attr("class", "marker dependency " + t).attr("refX", 6).attr("refY", 7).attr("markerWidth", 190).attr("markerHeight", 240).attr("orient", "auto").attr("markerUnits", "userSpaceOnUse").append("path").attr("d", "M 5,7 L9,13 L1,7 L9,1 Z"), e.append("defs").append("marker").attr("id", n + "_" + t + "-dependencyEnd").attr("class", "marker dependency " + t).attr("refX", 13).attr("refY", 7).attr("markerWidth", 20).attr("markerHeight", 28).attr("orient", "auto").attr("markerUnits", "userSpaceOnUse").append("path").attr("d", "M 18,7 L9,13 L14,7 L9,1 Z"), e.append("defs").append("marker").attr("id", n + "_" + t + "-dependencyStart-margin").attr("class", "marker dependency " + t).attr("refX", 4).attr("refY", 7).attr("markerWidth", 190).attr("markerHeight", 240).attr("orient", "auto").attr("markerUnits", "userSpaceOnUse").append("path").style("stroke-width", 0).attr("d", "M 5,7 L9,13 L1,7 L9,1 Z"), e.append("defs").append("marker").attr("id", n + "_" + t + "-dependencyEnd-margin").attr("class", "marker dependency " + t).attr("refX", 16).attr("refY", 7).attr("markerWidth", 20).attr("markerHeight", 28).attr("orient", "auto").attr("markerUnits", "userSpaceOnUse").append("path").style("stroke-width", 0).attr("d", "M 18,7 L9,13 L14,7 L9,1 Z");
615
+ }, "dependency"),
616
+ lollipop: /* @__PURE__ */ n((e, t, n) => {
617
+ e.append("defs").append("marker").attr("id", n + "_" + t + "-lollipopStart").attr("class", "marker lollipop " + t).attr("refX", 13).attr("refY", 7).attr("markerWidth", 190).attr("markerHeight", 240).attr("orient", "auto").attr("markerUnits", "userSpaceOnUse").append("circle").attr("fill", "transparent").attr("cx", 7).attr("cy", 7).attr("r", 6), e.append("defs").append("marker").attr("id", n + "_" + t + "-lollipopEnd").attr("class", "marker lollipop " + t).attr("refX", 1).attr("refY", 7).attr("markerWidth", 190).attr("markerHeight", 240).attr("orient", "auto").attr("markerUnits", "userSpaceOnUse").append("circle").attr("fill", "transparent").attr("cx", 7).attr("cy", 7).attr("r", 6), e.append("defs").append("marker").attr("id", n + "_" + t + "-lollipopStart-margin").attr("class", "marker lollipop " + t).attr("refX", 13).attr("refY", 7).attr("markerWidth", 190).attr("markerHeight", 240).attr("orient", "auto").attr("markerUnits", "userSpaceOnUse").append("circle").attr("fill", "transparent").attr("cx", 7).attr("cy", 7).attr("r", 6).attr("stroke-width", 2), e.append("defs").append("marker").attr("id", n + "_" + t + "-lollipopEnd-margin").attr("class", "marker lollipop " + t).attr("refX", 1).attr("refY", 7).attr("markerWidth", 190).attr("markerHeight", 240).attr("orient", "auto").attr("markerUnits", "userSpaceOnUse").append("circle").attr("fill", "transparent").attr("cx", 7).attr("cy", 7).attr("r", 6).attr("stroke-width", 2);
618
+ }, "lollipop"),
619
+ point: /* @__PURE__ */ n((e, t, n) => {
620
+ e.append("marker").attr("id", n + "_" + t + "-pointEnd").attr("class", "marker " + t).attr("viewBox", "0 0 10 10").attr("refX", 5).attr("refY", 5).attr("markerUnits", "userSpaceOnUse").attr("markerWidth", 8).attr("markerHeight", 8).attr("orient", "auto").append("path").attr("d", "M 0 0 L 10 5 L 0 10 z").attr("class", "arrowMarkerPath").style("stroke-width", 1).style("stroke-dasharray", "1,0"), e.append("marker").attr("id", n + "_" + t + "-pointStart").attr("class", "marker " + t).attr("viewBox", "0 0 10 10").attr("refX", 4.5).attr("refY", 5).attr("markerUnits", "userSpaceOnUse").attr("markerWidth", 8).attr("markerHeight", 8).attr("orient", "auto").append("path").attr("d", "M 0 5 L 10 10 L 10 0 z").attr("class", "arrowMarkerPath").style("stroke-width", 1).style("stroke-dasharray", "1,0"), e.append("marker").attr("id", n + "_" + t + "-pointEnd-margin").attr("class", "marker " + t).attr("viewBox", "0 0 11.5 14").attr("refX", 11.5).attr("refY", 7).attr("markerUnits", "userSpaceOnUse").attr("markerWidth", 10.5).attr("markerHeight", 14).attr("orient", "auto").append("path").attr("d", "M 0 0 L 11.5 7 L 0 14 z").attr("class", "arrowMarkerPath").style("stroke-width", 0).style("stroke-dasharray", "1,0"), e.append("marker").attr("id", n + "_" + t + "-pointStart-margin").attr("class", "marker " + t).attr("viewBox", "0 0 11.5 14").attr("refX", 1).attr("refY", 7).attr("markerUnits", "userSpaceOnUse").attr("markerWidth", 11.5).attr("markerHeight", 14).attr("orient", "auto").append("polygon").attr("points", "0,7 11.5,14 11.5,0").attr("class", "arrowMarkerPath").style("stroke-width", 0).style("stroke-dasharray", "1,0");
621
+ }, "point"),
622
+ circle: /* @__PURE__ */ n((e, t, n) => {
623
+ e.append("marker").attr("id", n + "_" + t + "-circleEnd").attr("class", "marker " + t).attr("viewBox", "0 0 10 10").attr("refX", 11).attr("refY", 5).attr("markerUnits", "userSpaceOnUse").attr("markerWidth", 11).attr("markerHeight", 11).attr("orient", "auto").append("circle").attr("cx", "5").attr("cy", "5").attr("r", "5").attr("class", "arrowMarkerPath").style("stroke-width", 1).style("stroke-dasharray", "1,0"), e.append("marker").attr("id", n + "_" + t + "-circleStart").attr("class", "marker " + t).attr("viewBox", "0 0 10 10").attr("refX", -1).attr("refY", 5).attr("markerUnits", "userSpaceOnUse").attr("markerWidth", 11).attr("markerHeight", 11).attr("orient", "auto").append("circle").attr("cx", "5").attr("cy", "5").attr("r", "5").attr("class", "arrowMarkerPath").style("stroke-width", 1).style("stroke-dasharray", "1,0"), e.append("marker").attr("id", n + "_" + t + "-circleEnd-margin").attr("class", "marker " + t).attr("viewBox", "0 0 10 10").attr("refY", 5).attr("refX", 12.25).attr("markerUnits", "userSpaceOnUse").attr("markerWidth", 14).attr("markerHeight", 14).attr("orient", "auto").append("circle").attr("cx", "5").attr("cy", "5").attr("r", "5").attr("class", "arrowMarkerPath").style("stroke-width", 0).style("stroke-dasharray", "1,0"), e.append("marker").attr("id", n + "_" + t + "-circleStart-margin").attr("class", "marker " + t).attr("viewBox", "0 0 10 10").attr("refX", -2).attr("refY", 5).attr("markerUnits", "userSpaceOnUse").attr("markerWidth", 14).attr("markerHeight", 14).attr("orient", "auto").append("circle").attr("cx", "5").attr("cy", "5").attr("r", "5").attr("class", "arrowMarkerPath").style("stroke-width", 0).style("stroke-dasharray", "1,0");
624
+ }, "circle"),
625
+ cross: /* @__PURE__ */ n((e, t, n) => {
626
+ e.append("marker").attr("id", n + "_" + t + "-crossEnd").attr("class", "marker cross " + t).attr("viewBox", "0 0 11 11").attr("refX", 12).attr("refY", 5.2).attr("markerUnits", "userSpaceOnUse").attr("markerWidth", 11).attr("markerHeight", 11).attr("orient", "auto").append("path").attr("d", "M 1,1 l 9,9 M 10,1 l -9,9").attr("class", "arrowMarkerPath").style("stroke-width", 2).style("stroke-dasharray", "1,0"), e.append("marker").attr("id", n + "_" + t + "-crossStart").attr("class", "marker cross " + t).attr("viewBox", "0 0 11 11").attr("refX", -1).attr("refY", 5.2).attr("markerUnits", "userSpaceOnUse").attr("markerWidth", 11).attr("markerHeight", 11).attr("orient", "auto").append("path").attr("d", "M 1,1 l 9,9 M 10,1 l -9,9").attr("class", "arrowMarkerPath").style("stroke-width", 2).style("stroke-dasharray", "1,0"), e.append("marker").attr("id", n + "_" + t + "-crossEnd-margin").attr("class", "marker cross " + t).attr("viewBox", "0 0 15 15").attr("refX", 17.7).attr("refY", 7.5).attr("markerUnits", "userSpaceOnUse").attr("markerWidth", 12).attr("markerHeight", 12).attr("orient", "auto").append("path").attr("d", "M 1,1 L 14,14 M 1,14 L 14,1").attr("class", "arrowMarkerPath").style("stroke-width", 2.5), e.append("marker").attr("id", n + "_" + t + "-crossStart-margin").attr("class", "marker cross " + t).attr("viewBox", "0 0 15 15").attr("refX", -3.5).attr("refY", 7.5).attr("markerUnits", "userSpaceOnUse").attr("markerWidth", 12).attr("markerHeight", 12).attr("orient", "auto").append("path").attr("d", "M 1,1 L 14,14 M 1,14 L 14,1").attr("class", "arrowMarkerPath").style("stroke-width", 2.5).style("stroke-dasharray", "1,0");
627
+ }, "cross"),
628
+ barb: /* @__PURE__ */ n((e, t, n) => {
629
+ e.append("defs").append("marker").attr("id", n + "_" + t + "-barbEnd").attr("refX", 19).attr("refY", 7).attr("markerWidth", 20).attr("markerHeight", 14).attr("markerUnits", "userSpaceOnUse").attr("orient", "auto").append("path").attr("d", "M 19,7 L9,13 L14,7 L9,1 Z");
630
+ }, "barb"),
631
+ barbNeo: /* @__PURE__ */ n((e, t, n) => {
632
+ let { themeVariables: r } = a(), { transitionColor: i } = r;
633
+ e.append("defs").append("marker").attr("id", n + "_" + t + "-barbEnd").attr("refX", 19).attr("refY", 7).attr("markerWidth", 20).attr("markerHeight", 14).attr("markerUnits", "strokeWidth").attr("orient", "auto").append("path").attr("d", "M 19,7 L11,14 L13,7 L11,0 Z"), e.append("defs").append("marker").attr("id", n + "_" + t + "-barbEnd-margin").attr("refX", 17).attr("refY", 7).attr("markerWidth", 20).attr("markerHeight", 14).attr("markerUnits", "userSpaceOnUse").attr("orient", "auto").append("path").attr("d", "M 19,7 L11,14 L13,7 L11,0 Z").attr("fill", `${i}`);
634
+ }, "barbNeo"),
635
+ hierarchy: /* @__PURE__ */ n((e, t, n) => {
636
+ e.append("marker").attr("id", n + "_" + t + "-hierarchyEnd").attr("class", "marker hierarchy " + t).attr("viewBox", "0 0 12 10").attr("refX", 10).attr("refY", 5).attr("markerUnits", "userSpaceOnUse").attr("markerWidth", 12).attr("markerHeight", 10).attr("orient", "auto").append("path").attr("d", "M 0 0 L 6 5 L 0 10 M 4 0 L 10 5 L 4 10").attr("class", "arrowMarkerPath").style("stroke-width", 1).style("stroke-dasharray", "1,0").style("fill", "none"), e.append("marker").attr("id", n + "_" + t + "-hierarchyStart").attr("class", "marker hierarchy " + t).attr("viewBox", "0 0 12 10").attr("refX", 2).attr("refY", 5).attr("markerUnits", "userSpaceOnUse").attr("markerWidth", 12).attr("markerHeight", 10).attr("orient", "auto").append("path").attr("d", "M 12 0 L 6 5 L 12 10 M 8 0 L 2 5 L 8 10").attr("class", "arrowMarkerPath").style("stroke-width", 1).style("stroke-dasharray", "1,0").style("fill", "none");
637
+ }, "hierarchy"),
638
+ only_one: /* @__PURE__ */ n((e, t, n) => {
639
+ e.append("defs").append("marker").attr("id", n + "_" + t + "-onlyOneStart").attr("class", "marker onlyOne " + t).attr("refX", 0).attr("refY", 9).attr("markerWidth", 18).attr("markerHeight", 18).attr("orient", "auto").append("path").attr("d", "M9,0 L9,18 M15,0 L15,18"), e.append("defs").append("marker").attr("id", n + "_" + t + "-onlyOneEnd").attr("class", "marker onlyOne " + t).attr("refX", 18).attr("refY", 9).attr("markerWidth", 18).attr("markerHeight", 18).attr("orient", "auto").append("path").attr("d", "M3,0 L3,18 M9,0 L9,18");
640
+ }, "only_one"),
641
+ zero_or_one: /* @__PURE__ */ n((e, t, n) => {
642
+ let r = e.append("defs").append("marker").attr("id", n + "_" + t + "-zeroOrOneStart").attr("class", "marker zeroOrOne " + t).attr("refX", 0).attr("refY", 9).attr("markerWidth", 30).attr("markerHeight", 18).attr("orient", "auto");
643
+ r.append("circle").attr("fill", "white").attr("cx", 21).attr("cy", 9).attr("r", 6), r.append("path").attr("d", "M9,0 L9,18");
644
+ let i = e.append("defs").append("marker").attr("id", n + "_" + t + "-zeroOrOneEnd").attr("class", "marker zeroOrOne " + t).attr("refX", 30).attr("refY", 9).attr("markerWidth", 30).attr("markerHeight", 18).attr("orient", "auto");
645
+ i.append("circle").attr("fill", "white").attr("cx", 9).attr("cy", 9).attr("r", 6), i.append("path").attr("d", "M21,0 L21,18");
646
+ }, "zero_or_one"),
647
+ one_or_more: /* @__PURE__ */ n((e, t, n) => {
648
+ e.append("defs").append("marker").attr("id", n + "_" + t + "-oneOrMoreStart").attr("class", "marker oneOrMore " + t).attr("refX", 18).attr("refY", 18).attr("markerWidth", 45).attr("markerHeight", 36).attr("orient", "auto").append("path").attr("d", "M0,18 Q 18,0 36,18 Q 18,36 0,18 M42,9 L42,27"), e.append("defs").append("marker").attr("id", n + "_" + t + "-oneOrMoreEnd").attr("class", "marker oneOrMore " + t).attr("refX", 27).attr("refY", 18).attr("markerWidth", 45).attr("markerHeight", 36).attr("orient", "auto").append("path").attr("d", "M3,9 L3,27 M9,18 Q27,0 45,18 Q27,36 9,18");
649
+ }, "one_or_more"),
650
+ zero_or_more: /* @__PURE__ */ n((e, t, n) => {
651
+ let r = e.append("defs").append("marker").attr("id", n + "_" + t + "-zeroOrMoreStart").attr("class", "marker zeroOrMore " + t).attr("refX", 18).attr("refY", 18).attr("markerWidth", 57).attr("markerHeight", 36).attr("orient", "auto");
652
+ r.append("circle").attr("fill", "white").attr("cx", 48).attr("cy", 18).attr("r", 6), r.append("path").attr("d", "M0,18 Q18,0 36,18 Q18,36 0,18");
653
+ let i = e.append("defs").append("marker").attr("id", n + "_" + t + "-zeroOrMoreEnd").attr("class", "marker zeroOrMore " + t).attr("refX", 39).attr("refY", 18).attr("markerWidth", 57).attr("markerHeight", 36).attr("orient", "auto");
654
+ i.append("circle").attr("fill", "white").attr("cx", 9).attr("cy", 18).attr("r", 6), i.append("path").attr("d", "M21,18 Q39,0 57,18 Q39,36 21,18");
655
+ }, "zero_or_more"),
656
+ only_one_neo: /* @__PURE__ */ n((e, t, n) => {
657
+ let { themeVariables: r } = a(), { strokeWidth: i } = r;
658
+ e.append("defs").append("marker").attr("id", n + "_" + t + "-onlyOneStart").attr("class", "marker onlyOne " + t).attr("refX", 0).attr("refY", 9).attr("markerWidth", 18).attr("markerHeight", 18).attr("orient", "auto").attr("markerUnits", "userSpaceOnUse").append("path").attr("d", "M9,0 L9,18 M15,0 L15,18").attr("stroke-width", `${i}`), e.append("defs").append("marker").attr("id", n + "_" + t + "-onlyOneEnd").attr("class", "marker onlyOne " + t).attr("refX", 18).attr("refY", 9).attr("markerWidth", 18).attr("markerHeight", 18).attr("orient", "auto").attr("markerUnits", "userSpaceOnUse").append("path").attr("d", "M3,0 L3,18 M9,0 L9,18").attr("stroke-width", `${i}`);
659
+ }, "only_one_neo"),
660
+ zero_or_one_neo: /* @__PURE__ */ n((e, t, n) => {
661
+ let { themeVariables: r } = a(), { strokeWidth: i, mainBkg: o } = r, s = e.append("defs").append("marker").attr("id", n + "_" + t + "-zeroOrOneStart").attr("class", "marker zeroOrOne " + t).attr("refX", 0).attr("refY", 9).attr("markerWidth", 30).attr("markerHeight", 18).attr("orient", "auto").attr("markerUnits", "userSpaceOnUse");
662
+ s.append("circle").attr("fill", o ?? "white").attr("cx", 21).attr("cy", 9).attr("stroke-width", `${i}`).attr("r", 6), s.append("path").attr("d", "M9,0 L9,18").attr("stroke-width", `${i}`);
663
+ let c = e.append("defs").append("marker").attr("id", n + "_" + t + "-zeroOrOneEnd").attr("class", "marker zeroOrOne " + t).attr("refX", 30).attr("refY", 9).attr("markerWidth", 30).attr("markerHeight", 18).attr("markerUnits", "userSpaceOnUse").attr("orient", "auto");
664
+ c.append("circle").attr("fill", o ?? "white").attr("cx", 9).attr("cy", 9).attr("stroke-width", `${i}`).attr("r", 6), c.append("path").attr("d", "M21,0 L21,18").attr("stroke-width", `${i}`);
665
+ }, "zero_or_one_neo"),
666
+ one_or_more_neo: /* @__PURE__ */ n((e, t, n) => {
667
+ let { themeVariables: r } = a(), { strokeWidth: i } = r;
668
+ e.append("defs").append("marker").attr("id", n + "_" + t + "-oneOrMoreStart").attr("class", "marker oneOrMore " + t).attr("refX", 18).attr("refY", 18).attr("markerWidth", 45).attr("markerHeight", 36).attr("orient", "auto").attr("markerUnits", "userSpaceOnUse").append("path").attr("d", "M0,18 Q 18,0 36,18 Q 18,36 0,18 M42,9 L42,27").attr("stroke-width", `${i}`), e.append("defs").append("marker").attr("id", n + "_" + t + "-oneOrMoreEnd").attr("class", "marker oneOrMore " + t).attr("refX", 27).attr("refY", 18).attr("markerWidth", 45).attr("markerHeight", 36).attr("markerUnits", "userSpaceOnUse").attr("orient", "auto").append("path").attr("d", "M3,9 L3,27 M9,18 Q27,0 45,18 Q27,36 9,18").attr("stroke-width", `${i}`);
669
+ }, "one_or_more_neo"),
670
+ zero_or_more_neo: /* @__PURE__ */ n((e, t, n) => {
671
+ let { themeVariables: r } = a(), { strokeWidth: i, mainBkg: o } = r, s = e.append("defs").append("marker").attr("id", n + "_" + t + "-zeroOrMoreStart").attr("class", "marker zeroOrMore " + t).attr("refX", 18).attr("refY", 18).attr("markerWidth", 57).attr("markerHeight", 36).attr("markerUnits", "userSpaceOnUse").attr("orient", "auto");
672
+ s.append("circle").attr("fill", o ?? "white").attr("cx", 45.5).attr("cy", 18).attr("r", 6).attr("stroke-width", `${i}`), s.append("path").attr("d", "M0,18 Q18,0 36,18 Q18,36 0,18").attr("stroke-width", `${i}`);
673
+ let c = e.append("defs").append("marker").attr("id", n + "_" + t + "-zeroOrMoreEnd").attr("class", "marker zeroOrMore " + t).attr("refX", 39).attr("refY", 18).attr("markerWidth", 57).attr("markerHeight", 36).attr("orient", "auto").attr("markerUnits", "userSpaceOnUse");
674
+ c.append("circle").attr("fill", o ?? "white").attr("cx", 11).attr("cy", 18).attr("r", 6).attr("stroke-width", `${i}`), c.append("path").attr("d", "M21,18 Q39,0 57,18 Q39,36 21,18").attr("stroke-width", `${i}`);
675
+ }, "zero_or_more_neo"),
676
+ requirement_arrow: /* @__PURE__ */ n((e, t, n) => {
677
+ e.append("defs").append("marker").attr("id", n + "_" + t + "-requirement_arrowEnd").attr("refX", 20).attr("refY", 10).attr("markerWidth", 20).attr("markerHeight", 20).attr("orient", "auto").append("path").attr("d", "M0,0\n L20,10\n M20,10\n L0,20");
678
+ }, "requirement_arrow"),
679
+ requirement_contains: /* @__PURE__ */ n((e, t, n) => {
680
+ let r = e.append("defs").append("marker").attr("id", n + "_" + t + "-requirement_containsStart").attr("refX", 0).attr("refY", 10).attr("markerWidth", 20).attr("markerHeight", 20).attr("orient", "auto").append("g");
681
+ r.append("circle").attr("cx", 10).attr("cy", 10).attr("r", 9).attr("fill", "none"), r.append("line").attr("x1", 1).attr("x2", 19).attr("y1", 10).attr("y2", 10), r.append("line").attr("y1", 1).attr("y2", 19).attr("x1", 10).attr("x2", 10);
682
+ }, "requirement_contains"),
683
+ requirement_arrow_neo: /* @__PURE__ */ n((e, t, n) => {
684
+ let { themeVariables: r } = a(), { strokeWidth: i } = r;
685
+ e.append("defs").append("marker").attr("id", n + "_" + t + "-requirement_arrowEnd").attr("refX", 20).attr("refY", 10).attr("markerWidth", 20).attr("markerHeight", 20).attr("orient", "auto").attr("markerUnits", "userSpaceOnUse").attr("stroke-width", `${i}`).attr("viewBox", "0 0 25 20").append("path").attr("d", "M0,0\n L20,10\n M20,10\n L0,20").attr("stroke-linejoin", "miter");
686
+ }, "requirement_arrow_neo"),
687
+ requirement_contains_neo: /* @__PURE__ */ n((e, t, n) => {
688
+ let { themeVariables: r } = a(), { strokeWidth: i } = r, o = e.append("defs").append("marker").attr("id", n + "_" + t + "-requirement_containsStart").attr("refX", 0).attr("refY", 10).attr("markerWidth", 20).attr("markerHeight", 20).attr("orient", "auto").attr("markerUnits", "userSpaceOnUse").append("g");
689
+ o.append("circle").attr("cx", 10).attr("cy", 10).attr("r", 9).attr("fill", "none"), o.append("line").attr("x1", 1).attr("x2", 19).attr("y1", 10).attr("y2", 10), o.append("line").attr("y1", 1).attr("y2", 19).attr("x1", 10).attr("x2", 10), o.selectAll("*").attr("stroke-width", `${i}`);
690
+ }, "requirement_contains_neo")
691
+ }, ue = Q;
692
+ //#endregion
693
+ export { R as a, ue as c, F as d, J as i, H as l, P as n, D as o, I as r, O as s, ae as t, V as u };