@life-exe/wiki-engine 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.
Files changed (89) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +180 -0
  3. package/dist/analytics/index.d.ts +10 -0
  4. package/dist/chunks/abnfDiagram-VCTEODGH-DyAP6Aua.js +87 -0
  5. package/dist/chunks/arc-OroUeRL_.js +83 -0
  6. package/dist/chunks/architectureDiagram-5GKGNRK7-FjmrDCl4.js +4784 -0
  7. package/dist/chunks/blockDiagram-I7D4REHJ-BF3oIDlI.js +1416 -0
  8. package/dist/chunks/c4Diagram-7LVT6UL2-Cmdq0LZr.js +1511 -0
  9. package/dist/chunks/channel-Bdy1QZHo.js +5 -0
  10. package/dist/chunks/chunk-2Q5K7J3B-BwxRSEKd.js +15 -0
  11. package/dist/chunks/chunk-5VM5RSS4-BtHwUU4T.js +19 -0
  12. package/dist/chunks/chunk-F27PBJKO-DF4TGftR.js +68 -0
  13. package/dist/chunks/chunk-IMKFNOWR-DkBQ-1aV.js +1421 -0
  14. package/dist/chunks/chunk-JWPE2WC7-BIokdAUW.js +9 -0
  15. package/dist/chunks/chunk-POPQ4Y6H-CcjOsf9X.js +20 -0
  16. package/dist/chunks/chunk-SHT3W25Y-lYp5BdEg.js +1695 -0
  17. package/dist/chunks/chunk-SVP7TREG-DN-ravNt.js +664 -0
  18. package/dist/chunks/chunk-TICWLB2K-CtTJ0xaY.js +1534 -0
  19. package/dist/chunks/chunk-XXDRQBXY-BovkWFC0.js +8 -0
  20. package/dist/chunks/classDiagram-ZZMXUADV-CMYS0pHw.js +16 -0
  21. package/dist/chunks/classDiagram-v2-VYDZK3BY-CMYS0pHw.js +16 -0
  22. package/dist/chunks/common-BJ4q25wy.js +12633 -0
  23. package/dist/chunks/cose-bilkent-JH36ORCC-CaMqpJY7.js +2608 -0
  24. package/dist/chunks/cynefin-OW5HDTMX-Bzjecpt-.js +23853 -0
  25. package/dist/chunks/cynefinDiagram-5FMLGOSQ-C0NuKLt0.js +299 -0
  26. package/dist/chunks/cytoscape.esm-DmPrb1GM.js +18787 -0
  27. package/dist/chunks/dagre-GXQ25YYZ-Ds09_NdN.js +461 -0
  28. package/dist/chunks/defaultLocale-BgPVtth8.js +171 -0
  29. package/dist/chunks/diagram-S7CK7UJ4-IvSazk1O.js +349 -0
  30. package/dist/chunks/diagram-UQ7AKVKN-58epdx5V.js +223 -0
  31. package/dist/chunks/diagram-VSXAHHWV-BrzRGMeV.js +466 -0
  32. package/dist/chunks/diagram-VX7I27RA-DPL0Nw6d.js +530 -0
  33. package/dist/chunks/diagram-Z3DM3KII-8VWVu0I5.js +143 -0
  34. package/dist/chunks/ebnfDiagram-PWID7BFC-DeByR_ze.js +109 -0
  35. package/dist/chunks/erDiagram-RLTQ6QDP-C9uo9iE1.js +1060 -0
  36. package/dist/chunks/flowDiagram-HODETNUW-BpoY3OMp.js +7 -0
  37. package/dist/chunks/ganttDiagram-EL5Y4UJY-psdwnC-T.js +2711 -0
  38. package/dist/chunks/gitGraphDiagram-WWUBYQGX-vsDfkn_Q.js +828 -0
  39. package/dist/chunks/index-f7Uzykhj.js +38262 -0
  40. package/dist/chunks/infoDiagram-27XIBGKW-8K-eQZiU.js +24 -0
  41. package/dist/chunks/init-DjUOC4st.js +16 -0
  42. package/dist/chunks/ishikawaDiagram-5VMMS53U-CuqR1k5i.js +622 -0
  43. package/dist/chunks/journeyDiagram-3NMN7TZE-BPW1nmwZ.js +834 -0
  44. package/dist/chunks/kanban-definition-UXKFOSKX-iY6-d6jO.js +726 -0
  45. package/dist/chunks/katex-jHfnQmlp.js +11682 -0
  46. package/dist/chunks/layout-CgV9vOdp.js +1704 -0
  47. package/dist/chunks/linear-BzcaSMTS.js +259 -0
  48. package/dist/chunks/mindmap-definition-YA3MSWOX-CaLfHyv0.js +831 -0
  49. package/dist/chunks/ordinal-DfAQgscy.js +61 -0
  50. package/dist/chunks/pegDiagram-XKGWAZYB-6Y28VvVh.js +95 -0
  51. package/dist/chunks/pieDiagram-E7YTZNPT-OrjeRxhs.js +209 -0
  52. package/dist/chunks/quadrantDiagram-AXDQQJYC-rgw2lV2J.js +1025 -0
  53. package/dist/chunks/railroadDiagram-O6MQD6OU-D6QNO5r1.js +77 -0
  54. package/dist/chunks/requirementDiagram-BXWQKSXE-a8tNRSuE.js +884 -0
  55. package/dist/chunks/sankeyDiagram-P5KCCOFB-CdaC8rLw.js +847 -0
  56. package/dist/chunks/sequenceDiagram-WJ2MYXX4-CGLi38Hj.js +2898 -0
  57. package/dist/chunks/sizeCapture-INFHLROL-g5RJXnik.js +47 -0
  58. package/dist/chunks/stateDiagram-D77RDMKH-Cou0eVl1.js +262 -0
  59. package/dist/chunks/stateDiagram-v2-MP3YSRHH-BHQspnUg.js +16 -0
  60. package/dist/chunks/swimlanes-42K2YHIH-BU7S1WgJ.js +5239 -0
  61. package/dist/chunks/swimlanesDiagram-VR7AAH4N-BsEplbno.js +13 -0
  62. package/dist/chunks/timeline-definition-24CTP7MA-BB-IyxWL.js +1066 -0
  63. package/dist/chunks/vennDiagram-4TSXK5OY-BToYolPI.js +1585 -0
  64. package/dist/chunks/wardleyDiagram-VM6X3IG4-BgoueOw_.js +684 -0
  65. package/dist/chunks/xychartDiagram-S5SC5T6Z-CF0fWv-W.js +1492 -0
  66. package/dist/components/CodeBlock.d.ts +5 -0
  67. package/dist/components/CommunityLinks.d.ts +21 -0
  68. package/dist/components/CookieConsent.d.ts +2 -0
  69. package/dist/components/DocLinkCard.d.ts +6 -0
  70. package/dist/components/LecturePageView.d.ts +3 -0
  71. package/dist/components/MermaidDiagram.d.ts +3 -0
  72. package/dist/components/SearchPopup.d.ts +6 -0
  73. package/dist/components/WikiApp.d.ts +9 -0
  74. package/dist/components/WikiLayout.d.ts +2 -0
  75. package/dist/components/WikiPageView.d.ts +6 -0
  76. package/dist/components/ZoomableImage.d.ts +2 -0
  77. package/dist/context/LangContext.d.ts +2 -0
  78. package/dist/context/WikiContext.d.ts +18 -0
  79. package/dist/data.d.ts +8 -0
  80. package/dist/hooks/useLanguage.d.ts +4 -0
  81. package/dist/hooks/useTheme.d.ts +5 -0
  82. package/dist/hooks/useWiki.d.ts +2 -0
  83. package/dist/index.d.ts +24 -0
  84. package/dist/index.js +45 -0
  85. package/dist/languages/ue-cpp.d.ts +7 -0
  86. package/dist/languages/ue-cpp.js +21 -0
  87. package/dist/types.d.ts +119 -0
  88. package/dist/wiki-engine.css +1 -0
  89. package/package.json +76 -0
@@ -0,0 +1,299 @@
1
+ import { p as xt } from "./chunk-JWPE2WC7-BIokdAUW.js";
2
+ import { s as gt, g as $t, t as bt, q as wt, a as Ct, b as vt, _ as s, l as O, K as Dt, d as kt, A as At, G as U, E as K, H as Tt, L as ot } from "./index-f7Uzykhj.js";
3
+ import { p as Bt } from "./cynefin-OW5HDTMX-Bzjecpt-.js";
4
+ var rt = /* @__PURE__ */ s(() => ({
5
+ domains: /* @__PURE__ */ new Map(),
6
+ transitions: []
7
+ }), "createDefaultData"), V = rt(), St = /* @__PURE__ */ s(() => V.domains, "getDomains"), Mt = /* @__PURE__ */ s(() => V.transitions, "getTransitions"), Lt = /* @__PURE__ */ s((t) => {
8
+ if (t)
9
+ for (const e of t) {
10
+ const n = e.domain, a = (e.items ?? []).map((c) => ({
11
+ label: c.label
12
+ }));
13
+ V.domains.set(n, {
14
+ name: n,
15
+ items: a
16
+ });
17
+ }
18
+ }, "setDomains"), zt = /* @__PURE__ */ s((t) => {
19
+ t && (V.transitions = t.filter((e) => e.from === e.to ? (O.warn(
20
+ `Cynefin: self-loop transition on domain "${e.from}" is not meaningful and will be skipped.`
21
+ ), !1) : !0).map((e) => ({
22
+ from: e.from,
23
+ to: e.to,
24
+ label: e.label || void 0
25
+ })));
26
+ }, "setTransitions"), Nt = /* @__PURE__ */ s(() => U({
27
+ ...Tt.cynefin,
28
+ ...K().cynefin
29
+ }), "getConfig"), Pt = /* @__PURE__ */ s(() => {
30
+ At(), V = rt();
31
+ }, "clear"), Y = {
32
+ getDomains: St,
33
+ getTransitions: Mt,
34
+ setDomains: Lt,
35
+ setTransitions: zt,
36
+ getConfig: Nt,
37
+ clear: Pt,
38
+ setAccTitle: vt,
39
+ getAccTitle: Ct,
40
+ setDiagramTitle: wt,
41
+ getDiagramTitle: bt,
42
+ getAccDescription: $t,
43
+ setAccDescription: gt
44
+ }, It = /* @__PURE__ */ s((t) => {
45
+ xt(t, Y), Y.setDomains(t.domains), Y.setTransitions(t.transitions);
46
+ }, "populate"), Wt = {
47
+ parse: /* @__PURE__ */ s(async (t) => {
48
+ const e = await Bt("cynefin", t);
49
+ O.debug(e), It(e);
50
+ }, "parse")
51
+ };
52
+ function H(t) {
53
+ let e = t + 1831565813 | 0;
54
+ return e = Math.imul(e ^ e >>> 15, e | 1), e ^= e + Math.imul(e ^ e >>> 7, e | 61), ((e ^ e >>> 14) >>> 0) / 4294967296;
55
+ }
56
+ s(H, "seededRandom");
57
+ function st(t) {
58
+ let e = 0;
59
+ for (let n = 0; n < t.length; n++) {
60
+ const a = t.charCodeAt(n);
61
+ e = (e << 5) - e + a, e |= 0;
62
+ }
63
+ return e;
64
+ }
65
+ s(st, "hashString");
66
+ function it(t, e) {
67
+ return typeof t == "number" && Number.isFinite(t) && t !== 0 ? t : st(e);
68
+ }
69
+ s(it, "resolveSeed");
70
+ function ct(t, e, n, a) {
71
+ const c = t / 2, m = a ?? t * 0.015, v = 7, W = e / v, d = [];
72
+ for (let o = 0; o <= v; o++) {
73
+ const p = H(n + o * 17) * m * 2 - m;
74
+ d.push({ x: c + p, y: o * W });
75
+ }
76
+ let D = `M${d[0].x},${d[0].y}`;
77
+ for (let o = 0; o < d.length - 1; o++) {
78
+ const p = d[o], i = d[o + 1], f = (p.y + i.y) / 2, b = o % 2 === 0 ? 1 : -1, h = m * 1.5 * b * H(n + o * 31 + 7), R = p.x + h, _ = f, E = i.x - h;
79
+ D += ` C${R},${_} ${E},${f} ${i.x},${i.y}`;
80
+ }
81
+ return D;
82
+ }
83
+ s(ct, "generateFoldPath");
84
+ function lt(t, e, n, a) {
85
+ const c = e / 2, m = a ?? e * 0.015, v = 7, W = t / v, d = [];
86
+ for (let o = 0; o <= v; o++) {
87
+ const p = H(n + o * 23) * m * 2 - m;
88
+ d.push({ x: o * W, y: c + p });
89
+ }
90
+ let D = `M${d[0].x},${d[0].y}`;
91
+ for (let o = 0; o < d.length - 1; o++) {
92
+ const p = d[o], i = d[o + 1], f = (p.x + i.x) / 2, b = o % 2 === 0 ? 1 : -1, h = m * 1.5 * b * H(n + o * 37 + 11), R = f, _ = p.y + h, E = f, L = i.y - h;
93
+ D += ` C${R},${_} ${E},${L} ${i.x},${i.y}`;
94
+ }
95
+ return D;
96
+ }
97
+ s(lt, "generateHorizontalBoundary");
98
+ function dt(t, e) {
99
+ const n = t / 2, a = e * 0.5, c = e, m = t * 0.03;
100
+ return [
101
+ `M${n},${a}`,
102
+ `C${n + m},${a + (c - a) * 0.2}`,
103
+ `${n - m * 1.5},${a + (c - a) * 0.55}`,
104
+ `${n + m * 0.5},${a + (c - a) * 0.75}`,
105
+ `C${n - m},${a + (c - a) * 0.85}`,
106
+ `${n + m * 0.3},${a + (c - a) * 0.95}`,
107
+ `${n},${c}`
108
+ ].join(" ");
109
+ }
110
+ s(dt, "generateCliffPath");
111
+ function ft(t, e, n, a) {
112
+ return [
113
+ `M${t - n},${e}`,
114
+ `A${n},${a} 0 1,1 ${t + n},${e}`,
115
+ `A${n},${a} 0 1,1 ${t - n},${e}`,
116
+ "Z"
117
+ ].join(" ");
118
+ }
119
+ s(ft, "generateConfusionPath");
120
+ var at = {
121
+ complex: { model: "Probe → Sense → Respond", practice: "Emergent Practices" },
122
+ complicated: { model: "Sense → Analyse → Respond", practice: "Good Practices" },
123
+ clear: { model: "Sense → Categorise → Respond", practice: "Best Practices" },
124
+ chaotic: { model: "Act → Sense → Respond", practice: "Novel Practices" },
125
+ confusion: { model: "", practice: "Disorder" }
126
+ }, Rt = /* @__PURE__ */ s((t, e) => {
127
+ const n = t / 2, a = e / 2;
128
+ return {
129
+ complex: { cx: n / 2, cy: a / 2, x: 0, y: 0, w: n, h: a },
130
+ complicated: { cx: n + n / 2, cy: a / 2, x: n, y: 0, w: n, h: a },
131
+ chaotic: { cx: n / 2, cy: a + a / 2, x: 0, y: a, w: n, h: a },
132
+ clear: { cx: n + n / 2, cy: a + a / 2, x: n, y: a, w: n, h: a },
133
+ confusion: { cx: n, cy: a, x: n * 0.7, y: a * 0.7, w: n * 0.6, h: a * 0.6 }
134
+ };
135
+ }, "getDomainLayouts"), _t = /* @__PURE__ */ s(() => {
136
+ const t = ot(), e = K();
137
+ return U(t, e.themeVariables).cynefin;
138
+ }, "getCynefinDomainColors"), q = 3, Et = /* @__PURE__ */ s((t, e, n, a) => {
139
+ const c = a.db, m = c.getDomains(), v = c.getTransitions(), W = c.getDiagramTitle(), d = c.getAccTitle(), D = c.getAccDescription(), o = c.getConfig(), p = _t();
140
+ O.debug("Rendering Cynefin diagram");
141
+ const i = o.width, f = o.height, b = o.padding, h = o.showDomainDescriptions, R = o.boundaryAmplitude, _ = i + b * 2, E = f + b * 2, L = {
142
+ complex: p.complexBg,
143
+ complicated: p.complicatedBg,
144
+ clear: p.clearBg,
145
+ chaotic: p.chaoticBg,
146
+ confusion: p.confusionBg
147
+ }, k = Dt(e);
148
+ kt(k, E, _, o.useMaxWidth ?? !0), k.attr("viewBox", `0 0 ${_} ${E}`), d && k.append("title").text(d), D && k.append("desc").text(D);
149
+ const A = k.append("g").attr("transform", `translate(${b}, ${b})`), F = Rt(i, f), Q = it(o.seed, e), mt = A.append("g").attr("class", "cynefin-backgrounds"), X = ["complex", "complicated", "chaotic", "clear"];
150
+ for (const l of X) {
151
+ const r = F[l];
152
+ mt.append("rect").attr("class", "cynefinDomain").attr("x", r.x).attr("y", r.y).attr("width", r.w).attr("height", r.h).attr("fill", L[l]).attr("fill-opacity", 0.4).attr("stroke", "none");
153
+ }
154
+ const j = A.append("g").attr("class", "cynefin-boundaries");
155
+ j.append("path").attr("class", "cynefinBoundary").attr("d", ct(i, f, Q, R)).attr("fill", "none"), j.append("path").attr("class", "cynefinBoundary").attr("d", lt(i, f, Q + 100, R)).attr("fill", "none"), j.append("path").attr("class", "cynefinCliff").attr("d", dt(i, f)).attr("fill", "none");
156
+ const pt = i * 0.15, yt = f * 0.15;
157
+ A.append("path").attr("class", "cynefinConfusion").attr("d", ft(i / 2, f / 2, pt, yt)).attr("fill", L.confusion).attr("fill-opacity", 0.5);
158
+ const Z = A.append("g").attr("class", "cynefin-labels");
159
+ for (const l of X) {
160
+ const r = F[l];
161
+ Z.append("text").attr("class", "cynefinDomainLabel").attr("x", r.cx).attr("y", h ? r.cy - 30 : r.cy).attr("text-anchor", "middle").attr("dominant-baseline", "middle").text(l.charAt(0).toUpperCase() + l.slice(1));
162
+ }
163
+ if (Z.append("text").attr("class", "cynefinDomainLabel").attr("x", i / 2).attr("y", h ? f / 2 - 10 : f / 2).attr("text-anchor", "middle").attr("dominant-baseline", "middle").text("Confusion"), h) {
164
+ const l = A.append("g").attr("class", "cynefin-subtitles");
165
+ for (const r of X) {
166
+ const u = F[r], y = at[r];
167
+ l.append("text").attr("class", "cynefinSubtitle").attr("x", u.cx).attr("y", u.cy - 10).attr("text-anchor", "middle").attr("dominant-baseline", "middle").text(y.model), l.append("text").attr("class", "cynefinSubtitle").attr("x", u.cx).attr("y", u.cy + 5).attr("text-anchor", "middle").attr("dominant-baseline", "middle").text(y.practice);
168
+ }
169
+ l.append("text").attr("class", "cynefinSubtitle").attr("x", i / 2).attr("y", f / 2 + 8).attr("text-anchor", "middle").attr("dominant-baseline", "middle").text(at.confusion.practice);
170
+ }
171
+ const J = A.append("g").attr("class", "cynefin-items"), T = 26, tt = 10, ut = ["complex", "complicated", "chaotic", "clear", "confusion"];
172
+ for (const l of ut) {
173
+ const r = m.get(l);
174
+ if (!r || r.items.length === 0)
175
+ continue;
176
+ const u = F[l], y = l === "confusion";
177
+ let z = r.items, N = 0;
178
+ y && r.items.length > q && (N = r.items.length - q, z = r.items.slice(0, q));
179
+ let B;
180
+ if (y) {
181
+ const g = h ? 22 : 14;
182
+ B = u.cy + g;
183
+ } else
184
+ B = u.cy + (h ? 25 : 15);
185
+ if ([...z].forEach((g, S) => {
186
+ const w = B + S * (T + 4), M = J.append("g"), P = M.append("text").attr("class", "cynefinItemText").attr("x", 0).attr("y", T / 2).attr("text-anchor", "middle").attr("dominant-baseline", "central").text(g.label);
187
+ let $ = g.label.length * 7;
188
+ const x = P.node();
189
+ if (x && typeof x.getBBox == "function") {
190
+ const G = x.getBBox();
191
+ G.width > 0 && ($ = G.width);
192
+ }
193
+ const C = $ + tt * 2, I = u.cx - C / 2;
194
+ M.attr("transform", `translate(${I}, ${w})`), M.insert("rect", "text").attr("class", "cynefinItem").attr("x", 0).attr("y", 0).attr("width", C).attr("height", T).attr("rx", 4).attr("ry", 4).attr("fill", L[l]).attr("fill-opacity", 0.95), P.attr("x", C / 2).attr("y", T / 2);
195
+ }), N > 0) {
196
+ const g = B + z.length * (T + 4), S = `+${N} more`, w = J.append("g"), M = w.append("text").attr("class", "cynefinItemText").attr("x", 0).attr("y", T / 2).attr("text-anchor", "middle").attr("dominant-baseline", "central").text(S);
197
+ let P = S.length * 7;
198
+ const $ = M.node();
199
+ if ($ && typeof $.getBBox == "function") {
200
+ const I = $.getBBox();
201
+ I.width > 0 && (P = I.width);
202
+ }
203
+ const x = P + tt * 2, C = u.cx - x / 2;
204
+ w.attr("transform", `translate(${C}, ${g})`), w.insert("rect", "text").attr("class", "cynefinItemOverflow").attr("x", 0).attr("y", 0).attr("width", x).attr("height", T).attr("rx", 4).attr("ry", 4).attr("fill", L[l]).attr("fill-opacity", 0.6), M.attr("x", x / 2).attr("y", T / 2);
205
+ }
206
+ }
207
+ if (v.length > 0) {
208
+ const l = k.select("defs").empty() ? k.append("defs") : k.select("defs"), r = `cynefin-arrow-${e}`;
209
+ l.append("marker").attr("id", r).attr("viewBox", "0 0 10 10").attr("refX", 9).attr("refY", 5).attr("markerWidth", 6).attr("markerHeight", 6).attr("orient", "auto-start-reverse").append("path").attr("d", "M 0 0 L 10 5 L 0 10 z").attr("class", "cynefinArrowHead");
210
+ const u = A.append("g").attr("class", "cynefin-arrows");
211
+ v.forEach((y) => {
212
+ const z = F[y.from], N = F[y.to];
213
+ if (!z || !N)
214
+ return;
215
+ if (y.from === y.to) {
216
+ O.warn(`Cynefin renderer: skipping self-loop on domain "${y.from}"`);
217
+ return;
218
+ }
219
+ const B = z.cx, g = z.cy, S = N.cx, w = N.cy, M = (B + S) / 2, P = (g + w) / 2, $ = S - B, x = w - g, C = Math.sqrt($ * $ + x * x), I = C * 0.15, G = -x / C, ht = $ / C, et = M + G * I, nt = P + ht * I;
220
+ u.append("path").attr("class", "cynefinArrowLine").attr("d", `M${B},${g} Q${et},${nt} ${S},${w}`).attr("fill", "none").attr("marker-end", `url(#${r})`), y.label && u.append("text").attr("class", "cynefinArrowLabel").attr("x", et).attr("y", nt - 6).attr("text-anchor", "middle").attr("dominant-baseline", "auto").text(y.label);
221
+ });
222
+ }
223
+ W && A.append("text").attr("class", "cynefinTitle").attr("x", i / 2).attr("y", -b / 2).attr("text-anchor", "middle").attr("dominant-baseline", "middle").text(W);
224
+ }, "draw"), Ft = { draw: Et }, Ht = /* @__PURE__ */ s(() => {
225
+ const t = ot(), e = K();
226
+ return U(t, e.themeVariables).cynefin;
227
+ }, "getCynefinTheme"), Vt = /* @__PURE__ */ s(() => {
228
+ const t = Ht();
229
+ return `
230
+ .cynefinDomain {
231
+ stroke: none;
232
+ }
233
+ .cynefinDomainLabel {
234
+ font-size: ${t.domainFontSize}px;
235
+ font-weight: bold;
236
+ fill: ${t.labelColor};
237
+ }
238
+ .cynefinSubtitle {
239
+ font-size: ${t.itemFontSize - 1}px;
240
+ fill: ${t.textColor};
241
+ font-style: italic;
242
+ }
243
+ .cynefinItem {
244
+ fill-opacity: 0.95;
245
+ stroke: ${t.boundaryColor};
246
+ stroke-width: 1;
247
+ }
248
+ .cynefinItemText {
249
+ font-size: ${t.itemFontSize}px;
250
+ fill: ${t.textColor};
251
+ }
252
+ .cynefinItemOverflow {
253
+ fill-opacity: 0.6;
254
+ stroke: ${t.boundaryColor};
255
+ stroke-width: 1;
256
+ stroke-dasharray: 3 2;
257
+ }
258
+ .cynefinBoundary {
259
+ stroke: ${t.boundaryColor};
260
+ stroke-width: ${t.boundaryWidth};
261
+ stroke-dasharray: 6 3;
262
+ }
263
+ .cynefinCliff {
264
+ stroke: ${t.cliffColor};
265
+ stroke-width: ${t.cliffWidth};
266
+ }
267
+ .cynefinConfusion {
268
+ stroke: ${t.boundaryColor};
269
+ stroke-width: 1.5;
270
+ stroke-dasharray: 4 2;
271
+ }
272
+ .cynefinArrowLine {
273
+ stroke: ${t.arrowColor};
274
+ stroke-width: ${t.arrowWidth};
275
+ fill: none;
276
+ }
277
+ .cynefinArrowHead {
278
+ fill: ${t.arrowColor};
279
+ stroke: none;
280
+ }
281
+ .cynefinArrowLabel {
282
+ font-size: ${t.itemFontSize - 1}px;
283
+ fill: ${t.textColor};
284
+ }
285
+ .cynefinTitle {
286
+ font-size: ${t.domainFontSize + 2}px;
287
+ font-weight: bold;
288
+ fill: ${t.labelColor};
289
+ }
290
+ `;
291
+ }, "styles"), Gt = Vt, jt = {
292
+ parser: Wt,
293
+ db: Y,
294
+ renderer: Ft,
295
+ styles: Gt
296
+ };
297
+ export {
298
+ jt as diagram
299
+ };