@kong-ui-public/documentation 0.7.2 → 0.7.4

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 (50) hide show
  1. package/dist/arc-BOwQG9_0-DleiJ5MN.js +86 -0
  2. package/dist/{blockDiagram-9f4a6865-IUliCiDO-CB0IBm1m.js → blockDiagram-6b2b5046-Nxmf6ECX-CjmiHCoc.js} +106 -106
  3. package/dist/{c4Diagram-ae766693-CraPSkgX-CsP6MA7_.js → c4Diagram-b947cdbb-Cqv3kxuJ-BXRu2bPz.js} +132 -133
  4. package/dist/{channel-BN6QTnj4-CfiMWXq0.js → channel-b8lMD3zZ-Ds1AntZz.js} +1 -1
  5. package/dist/{classDiagram-fb54d2a0-DXWl4-1y-CoIPJ9Tf.js → classDiagram-35230388-cNSawuF--DF1WKJvq.js} +7 -8
  6. package/dist/{classDiagram-v2-a2b738ad-CuRy1r-r-SMHLTRcJ.js → classDiagram-v2-412acd34-DL9yPzEL-1zjaSugS.js} +8 -8
  7. package/dist/{clone-DPlFlx1_-B6OhGku3.js → clone-DA9j_md9-DOEHuNxk.js} +1 -1
  8. package/dist/{createText-ca0c5216-BJXIFjUv-B9Xp5z9K.js → createText-423428c9-Bi8tqKOA-BAeSkls4.js} +1 -2
  9. package/dist/documentation.es.js +2 -2
  10. package/dist/documentation.umd.js +724 -995
  11. package/dist/{edges-066a5561-DyIiUH3I-B88mxBJO.js → edges-d417c7a0-CyiospL7-DxH-v6Cl.js} +27 -28
  12. package/dist/{erDiagram-09d1c15f-DaNxb97t-DI2sOo4s.js → erDiagram-0ea73325-BWWWgAmd-aPslvlbz.js} +38 -38
  13. package/dist/{flowDb-c1833063-4TreIkwu-DLOEDd2f.js → flowDb-d35e309a-BQRCRAKf-Cf6biv5M.js} +4 -4
  14. package/dist/{flowDiagram-b222e15a-Bz6kEL6X-B4McfssH.js → flowDiagram-d949d7c1-D_OK65PK-DS0CyGIC.js} +329 -337
  15. package/dist/{flowDiagram-v2-13329dc7-BSJVxEBD-CR0v6C6O.js → flowDiagram-v2-49332944-CYs4MQAb-C9m-G3JY.js} +5 -5
  16. package/dist/{flowchart-elk-definition-ae0efee6-D_SQlTEw-DHjq3NxL.js → flowchart-elk-definition-27cc417a-OqMBrUum-CbH3NCkB.js} +12750 -12752
  17. package/dist/{ganttDiagram-b62c793e-w82uNNex-OPrei_7k.js → ganttDiagram-5c869e3b-Cu9aCqHh-De0u-Oas.js} +477 -488
  18. package/dist/gitGraphDiagram-b9d81de9-DVB2N99Y-C2np-enA.js +1262 -0
  19. package/dist/go-BEtjQGEI-BEtjQGEI.js +7 -0
  20. package/dist/{graph-Bb1vku7A-CjMAyaMV.js → graph-Ctghcdhb-CqAdUKOZ.js} +3 -3
  21. package/dist/{index-01f381cb-DFAckdb4-DP_D7ZMM.js → index-8fae9850-CdUaE101-uMPVRleJ.js} +11 -11
  22. package/dist/{index-74HaIrFw.js → index-BRYBB2aM.js} +6920 -6981
  23. package/dist/{infoDiagram-94cd232f-iYUDXeae-DbxyZ1YG.js → infoDiagram-db7b18fc-MHPWI9K2-Cy6tzigE.js} +16 -16
  24. package/dist/{journeyDiagram-6625b456-D9SzlG49-D9WC6928.js → journeyDiagram-d5636530-O6dkdrZq-BghpQv6u.js} +42 -42
  25. package/dist/{latex-CoJDAuLL-lJGSmtOO.js → latex-BOFs-Cxs-XUibdaju.js} +1 -1
  26. package/dist/{layout-BXWpVE1y-Dpdx9MjN.js → layout-Bf4siL6f-B27qrAUf.js} +110 -110
  27. package/dist/{line-cygqshb4-ChLkD5zh.js → line-Bs4J8z8n-kq8RtDQA.js} +1 -1
  28. package/dist/{linear-c7VKFbmv-Bcl7PKrY.js → linear-DG5qhwMV-BSSd8kt2.js} +21 -21
  29. package/dist/{mindmap-definition-307c710a-Dtax51Qo-DiTPR9DS.js → mindmap-definition-377f8f1f-BJZNhhv8-Cinm-UDt.js} +6496 -6729
  30. package/dist/{pieDiagram-bb1d19e5-MIBQswLW-DwEeDM9B.js → pieDiagram-b0208e96-12B2qtCQ-Bl-9vJIA.js} +68 -68
  31. package/dist/{quadrantDiagram-c759a472-CUBvKLS1-BFYNBXmR.js → quadrantDiagram-0332be45-B77W50pM-bQiH7XpR.js} +2 -2
  32. package/dist/{requirementDiagram-87253d64-BZrSGm9j-BTMRMufk.js → requirementDiagram-bf7890df-BfPNYjQ5-CGF46ifn.js} +30 -30
  33. package/dist/{sankeyDiagram-707fac0f-BMrqHGsv-B27LQLYG.js → sankeyDiagram-0acdec17-D5aZuYoJ-DIWEEtuf.js} +22 -22
  34. package/dist/{sequenceDiagram-6894f283-CKZurmNK-kn3T54cJ.js → sequenceDiagram-c18d009d-DE6VyN7w-6UaAYk4p.js} +808 -841
  35. package/dist/{stateDiagram-5dee940d-uylU1OS0-DApYcfZ7.js → stateDiagram-43596fc0-CfGH1LmM-km5kjci0.js} +54 -54
  36. package/dist/{stateDiagram-v2-1992cada-JYJWGRv5-C-8aN2Zs.js → stateDiagram-v2-2ead4f9c-CvDoRhMn-CkUl-Lcu.js} +12 -12
  37. package/dist/style.css +1 -1
  38. package/dist/{styles-b83b31c9-BkcEKpp1-AMZ_2CDs.js → styles-6860f46c-CJplL-uW-BFTTeCMF.js} +19 -19
  39. package/dist/{styles-483fbfea-_Tntk7zw-BMvdfSW3.js → styles-7383a064-N1ljH9gq-D7Iipjtf.js} +137 -140
  40. package/dist/{styles-0784dbeb-CN_Kv1lZ-BqcZ7Gdy.js → styles-b2c874b6-CKJLyUE4-2C22cylE.js} +24 -24
  41. package/dist/{svgDrawCommon-5e1cfd1d--PZSQhO7-VrjnCid8.js → svgDrawCommon-0ee1b4e9-Dc25Bs_w-QhIkJ1Xp.js} +4 -4
  42. package/dist/{timeline-definition-bf702344-DVMY6q6d-BYAHqkvN.js → timeline-definition-d977decf-8C3XuDC--DAD2knZY.js} +2 -2
  43. package/dist/{vue-Djs4WzmL-BDWKKO52.js → vue-DoU_Nr9K-Cj2gXb1y.js} +2 -2
  44. package/dist/{vue-html-CdlOxrsR-C0P0LsFn.js → vue-html-iC7i5f9n-Cfh5ktA3.js} +1 -1
  45. package/dist/{xychartDiagram-f11f50a6-CfFXg3YO-BJuC_16u.js → xychartDiagram-e50adddc-BRQAut2i-DBHY1QQ6.js} +22 -22
  46. package/package.json +5 -5
  47. package/dist/arc-Db-G4La6-9oHI8HT5.js +0 -86
  48. package/dist/gitGraphDiagram-942e62fe-DN0JwANo-r5Axb-YL.js +0 -1264
  49. package/dist/go-DYNyFS5n-DYNyFS5n.js +0 -7
  50. package/dist/katex-BQC_klMa-CaeA20wX.js +0 -11636
@@ -1,5 +1,5 @@
1
- import { s as Oe, g as ke, a as Te, b as we, c as vt, d as he, e as ve, f as kt, h as jt, l as re, i as Re, w as De, j as qt, k as le, m as Ne } from "./index-74HaIrFw.js";
2
- import { l as Pe, g as je } from "./svgDrawCommon-5e1cfd1d--PZSQhO7-VrjnCid8.js";
1
+ import { s as Ce, g as Oe, a as ke, b as Te, c as vt, d as he, e as we, f as kt, h as jt, l as re, i as ve, w as Re, j as qt, k as le, m as De } from "./index-BRYBB2aM.js";
2
+ import { c as Ne, g as Pe } from "./svgDrawCommon-0ee1b4e9-Dc25Bs_w-QhIkJ1Xp.js";
3
3
  var Yt = function() {
4
4
  var e = function(F, g, x, b) {
5
5
  for (x = x || {}, b = F.length; b--; x[F[b]] = g)
@@ -192,24 +192,24 @@ var Yt = function() {
192
192
  }
193
193
  },
194
194
  parse: function(F) {
195
- var g = this, x = [0], b = [], k = [null], h = [], D = this.table, y = "", Et = 0, ie = 0, Ee = 2, ae = 1, Ae = h.slice.call(arguments, 1), v = Object.create(this.lexer), At = { yy: {} };
195
+ var g = this, x = [0], b = [], k = [null], h = [], D = this.table, y = "", Et = 0, ie = 0, me = 2, ae = 1, Ee = h.slice.call(arguments, 1), v = Object.create(this.lexer), At = { yy: {} };
196
196
  for (var $t in this.yy)
197
197
  Object.prototype.hasOwnProperty.call(this.yy, $t) && (At.yy[$t] = this.yy[$t]);
198
198
  v.setInput(F, At.yy), At.yy.lexer = v, At.yy.parser = this, typeof v.yylloc > "u" && (v.yylloc = {});
199
199
  var Qt = v.yylloc;
200
200
  h.push(Qt);
201
- var Se = v.options && v.options.ranges;
201
+ var Ae = v.options && v.options.ranges;
202
202
  typeof At.yy.parseError == "function" ? this.parseError = At.yy.parseError : this.parseError = Object.getPrototypeOf(this).parseError;
203
- function Ce() {
203
+ function Se() {
204
204
  var $;
205
205
  return $ = b.pop() || v.lex() || ae, typeof $ != "number" && ($ instanceof Array && (b = $, $ = b.pop()), $ = g.symbols_[$] || $), $;
206
206
  }
207
207
  for (var N, St, j, Vt, Ot = {}, Nt, z, se, Pt; ; ) {
208
- if (St = x[x.length - 1], this.defaultActions[St] ? j = this.defaultActions[St] : ((N === null || typeof N > "u") && (N = Ce()), j = D[St] && D[St][N]), typeof j > "u" || !j.length || !j[0]) {
208
+ if (St = x[x.length - 1], this.defaultActions[St] ? j = this.defaultActions[St] : ((N === null || typeof N > "u") && (N = Se()), j = D[St] && D[St][N]), typeof j > "u" || !j.length || !j[0]) {
209
209
  var Ht = "";
210
210
  Pt = [];
211
211
  for (Nt in D[St])
212
- this.terminals_[Nt] && Nt > Ee && Pt.push("'" + this.terminals_[Nt] + "'");
212
+ this.terminals_[Nt] && Nt > me && Pt.push("'" + this.terminals_[Nt] + "'");
213
213
  v.showPosition ? Ht = "Parse error on line " + (Et + 1) + `:
214
214
  ` + v.showPosition() + `
215
215
  Expecting ` + Pt.join(", ") + ", got '" + (this.terminals_[N] || N) + "'" : Ht = "Parse error on line " + (Et + 1) + ": Unexpected " + (N == ae ? "end of input" : "'" + (this.terminals_[N] || N) + "'"), this.parseError(Ht, {
@@ -232,7 +232,7 @@ Expecting ` + Pt.join(", ") + ", got '" + (this.terminals_[N] || N) + "'" : Ht =
232
232
  last_line: h[h.length - 1].last_line,
233
233
  first_column: h[h.length - (z || 1)].first_column,
234
234
  last_column: h[h.length - 1].last_column
235
- }, Se && (Ot._$.range = [
235
+ }, Ae && (Ot._$.range = [
236
236
  h[h.length - (z || 1)].range[0],
237
237
  h[h.length - 1].range[1]
238
238
  ]), Vt = this.performAction.apply(Ot, [
@@ -243,7 +243,7 @@ Expecting ` + Pt.join(", ") + ", got '" + (this.terminals_[N] || N) + "'" : Ht =
243
243
  j[1],
244
244
  k,
245
245
  h
246
- ].concat(Ae)), typeof Vt < "u")
246
+ ].concat(Ee)), typeof Vt < "u")
247
247
  return Vt;
248
248
  z && (x = x.slice(0, -1 * z * 2), k = k.slice(0, -1 * z), h = h.slice(0, -1 * z)), x.push(this.productions_[j[1]][0]), k.push(Ot.$), h.push(Ot._$), se = D[x[x.length - 2]][x[x.length - 1]], x.push(se);
249
249
  break;
@@ -253,7 +253,7 @@ Expecting ` + Pt.join(", ") + ", got '" + (this.terminals_[N] || N) + "'" : Ht =
253
253
  }
254
254
  return !0;
255
255
  }
256
- }, me = /* @__PURE__ */ function() {
256
+ }, xe = /* @__PURE__ */ function() {
257
257
  var F = {
258
258
  EOF: 1,
259
259
  parseError: function(g, x) {
@@ -614,14 +614,14 @@ Expecting ` + Pt.join(", ") + ", got '" + (this.terminals_[N] || N) + "'" : Ht =
614
614
  };
615
615
  return F;
616
616
  }();
617
- Wt.lexer = me;
617
+ Wt.lexer = xe;
618
618
  function zt() {
619
619
  this.yy = {};
620
620
  }
621
621
  return zt.prototype = Wt, Wt.Parser = zt, new zt();
622
622
  }();
623
623
  Yt.parser = Yt;
624
- const Be = Yt;
624
+ const je = Yt;
625
625
  let M = [], _t = [""], R = "global", I = "", W = [
626
626
  {
627
627
  alias: "global",
@@ -633,11 +633,11 @@ let M = [], _t = [""], R = "global", I = "", W = [
633
633
  }
634
634
  ], Rt = [], Zt = "", te = !1, Lt = 4, It = 2;
635
635
  var de;
636
- const Ye = function() {
636
+ const Be = function() {
637
637
  return de;
638
- }, Le = function(e) {
638
+ }, Ye = function(e) {
639
639
  de = he(e, vt());
640
- }, Ie = function(e, t, r, o, l, n, a, s, i) {
640
+ }, Le = function(e, t, r, o, l, n, a, s, i) {
641
641
  if (e == null || t === void 0 || t === null || r === void 0 || r === null || o === void 0 || o === null)
642
642
  return;
643
643
  let d = {};
@@ -672,7 +672,7 @@ const Ye = function() {
672
672
  } else
673
673
  d.link = i;
674
674
  d.wrap = xt();
675
- }, Me = function(e, t, r, o, l, n, a) {
675
+ }, Ie = function(e, t, r, o, l, n, a) {
676
676
  if (t === null || r === null)
677
677
  return;
678
678
  let s = {};
@@ -700,7 +700,7 @@ const Ye = function() {
700
700
  } else
701
701
  s.link = a;
702
702
  s.typeC4Shape = { text: e }, s.parentBoundary = R, s.wrap = xt();
703
- }, Ue = function(e, t, r, o, l, n, a, s) {
703
+ }, Me = function(e, t, r, o, l, n, a, s) {
704
704
  if (t === null || r === null)
705
705
  return;
706
706
  let i = {};
@@ -735,7 +735,7 @@ const Ye = function() {
735
735
  } else
736
736
  i.link = s;
737
737
  i.wrap = xt(), i.typeC4Shape = { text: e }, i.parentBoundary = R;
738
- }, Fe = function(e, t, r, o, l, n, a, s) {
738
+ }, Ue = function(e, t, r, o, l, n, a, s) {
739
739
  if (t === null || r === null)
740
740
  return;
741
741
  let i = {};
@@ -770,7 +770,7 @@ const Ye = function() {
770
770
  } else
771
771
  i.link = s;
772
772
  i.wrap = xt(), i.typeC4Shape = { text: e }, i.parentBoundary = R;
773
- }, Xe = function(e, t, r, o, l) {
773
+ }, Fe = function(e, t, r, o, l) {
774
774
  if (e === null || t === null)
775
775
  return;
776
776
  let n = {};
@@ -793,7 +793,7 @@ const Ye = function() {
793
793
  } else
794
794
  n.link = l;
795
795
  n.parentBoundary = R, n.wrap = xt(), I = R, R = e, _t.push(I);
796
- }, We = function(e, t, r, o, l) {
796
+ }, Xe = function(e, t, r, o, l) {
797
797
  if (e === null || t === null)
798
798
  return;
799
799
  let n = {};
@@ -816,7 +816,7 @@ const Ye = function() {
816
816
  } else
817
817
  n.link = l;
818
818
  n.parentBoundary = R, n.wrap = xt(), I = R, R = e, _t.push(I);
819
- }, ze = function(e, t, r, o, l, n, a, s) {
819
+ }, We = function(e, t, r, o, l, n, a, s) {
820
820
  if (t === null || r === null)
821
821
  return;
822
822
  let i = {};
@@ -846,9 +846,9 @@ const Ye = function() {
846
846
  } else
847
847
  i.link = s;
848
848
  i.nodeType = e, i.parentBoundary = R, i.wrap = xt(), I = R, R = t, _t.push(I);
849
- }, $e = function() {
849
+ }, ze = function() {
850
850
  R = I, _t.pop(), I = _t.pop(), _t.push(I);
851
- }, Qe = function(e, t, r, o, l, n, a, s, i, d, u) {
851
+ }, $e = function(e, t, r, o, l, n, a, s, i, d, u) {
852
852
  let p = M.find((f) => f.alias === t);
853
853
  if (!(p === void 0 && (p = W.find((f) => f.alias === t), p === void 0))) {
854
854
  if (r != null)
@@ -906,7 +906,7 @@ const Ye = function() {
906
906
  } else
907
907
  p.legendSprite = u;
908
908
  }
909
- }, Ve = function(e, t, r, o, l, n, a) {
909
+ }, Qe = function(e, t, r, o, l, n, a) {
910
910
  const s = Rt.find((i) => i.from === t && i.to === r);
911
911
  if (s !== void 0) {
912
912
  if (o != null)
@@ -934,7 +934,7 @@ const Ye = function() {
934
934
  } else
935
935
  s.offsetY = parseInt(a);
936
936
  }
937
- }, He = function(e, t, r) {
937
+ }, Ve = function(e, t, r) {
938
938
  let o = Lt, l = It;
939
939
  if (typeof t == "object") {
940
940
  const n = Object.values(t)[0];
@@ -947,31 +947,31 @@ const Ye = function() {
947
947
  } else
948
948
  l = parseInt(r);
949
949
  o >= 1 && (Lt = o), l >= 1 && (It = l);
950
- }, qe = function() {
950
+ }, He = function() {
951
951
  return Lt;
952
- }, Ge = function() {
952
+ }, qe = function() {
953
953
  return It;
954
- }, Ke = function() {
954
+ }, Ge = function() {
955
955
  return R;
956
- }, Je = function() {
956
+ }, Ke = function() {
957
957
  return I;
958
958
  }, pe = function(e) {
959
959
  return e == null ? M : M.filter((t) => t.parentBoundary === e);
960
- }, Ze = function(e) {
960
+ }, Je = function(e) {
961
961
  return M.find((t) => t.alias === e);
962
- }, t0 = function(e) {
962
+ }, Ze = function(e) {
963
963
  return Object.keys(pe(e));
964
- }, ue = function(e) {
964
+ }, t0 = function(e) {
965
965
  return e == null ? W : W.filter((t) => t.parentBoundary === e);
966
- }, e0 = ue, n0 = function() {
966
+ }, e0 = function() {
967
967
  return Rt;
968
- }, i0 = function() {
968
+ }, n0 = function() {
969
969
  return Zt;
970
- }, a0 = function(e) {
970
+ }, i0 = function(e) {
971
971
  te = e;
972
972
  }, xt = function() {
973
973
  return te;
974
- }, s0 = function() {
974
+ }, a0 = function() {
975
975
  M = [], W = [
976
976
  {
977
977
  alias: "global",
@@ -982,7 +982,7 @@ const Ye = function() {
982
982
  parentBoundary: ""
983
983
  }
984
984
  ], I = "", R = "global", _t = [""], Rt = [], _t = [""], Zt = "", te = !1, Lt = 4, It = 2;
985
- }, r0 = {
985
+ }, s0 = {
986
986
  SOLID: 0,
987
987
  DOTTED: 1,
988
988
  NOTE: 2,
@@ -1006,61 +1006,60 @@ const Ye = function() {
1006
1006
  RECT_END: 23,
1007
1007
  SOLID_POINT: 24,
1008
1008
  DOTTED_POINT: 25
1009
- }, l0 = {
1009
+ }, r0 = {
1010
1010
  FILLED: 0,
1011
1011
  OPEN: 1
1012
- }, o0 = {
1012
+ }, l0 = {
1013
1013
  LEFTOF: 0,
1014
1014
  RIGHTOF: 1,
1015
1015
  OVER: 2
1016
- }, c0 = function(e) {
1016
+ }, o0 = function(e) {
1017
1017
  Zt = he(e, vt());
1018
1018
  }, Gt = {
1019
- addPersonOrSystem: Me,
1020
- addPersonOrSystemBoundary: Xe,
1021
- addContainer: Ue,
1022
- addContainerBoundary: We,
1023
- addComponent: Fe,
1024
- addDeploymentNode: ze,
1025
- popBoundaryParseStack: $e,
1026
- addRel: Ie,
1027
- updateElStyle: Qe,
1028
- updateRelStyle: Ve,
1029
- updateLayoutConfig: He,
1019
+ addPersonOrSystem: Ie,
1020
+ addPersonOrSystemBoundary: Fe,
1021
+ addContainer: Me,
1022
+ addContainerBoundary: Xe,
1023
+ addComponent: Ue,
1024
+ addDeploymentNode: We,
1025
+ popBoundaryParseStack: ze,
1026
+ addRel: Le,
1027
+ updateElStyle: $e,
1028
+ updateRelStyle: Qe,
1029
+ updateLayoutConfig: Ve,
1030
1030
  autoWrap: xt,
1031
- setWrap: a0,
1031
+ setWrap: i0,
1032
1032
  getC4ShapeArray: pe,
1033
- getC4Shape: Ze,
1034
- getC4ShapeKeys: t0,
1035
- getBoundaries: ue,
1036
- getBoundarys: e0,
1037
- getCurrentBoundaryParse: Ke,
1038
- getParentBoundaryParse: Je,
1039
- getRels: n0,
1040
- getTitle: i0,
1041
- getC4Type: Ye,
1042
- getC4ShapeInRow: qe,
1043
- getC4BoundaryInRow: Ge,
1044
- setAccTitle: Oe,
1045
- getAccTitle: ke,
1046
- getAccDescription: Te,
1047
- setAccDescription: we,
1033
+ getC4Shape: Je,
1034
+ getC4ShapeKeys: Ze,
1035
+ getBoundarys: t0,
1036
+ getCurrentBoundaryParse: Ge,
1037
+ getParentBoundaryParse: Ke,
1038
+ getRels: e0,
1039
+ getTitle: n0,
1040
+ getC4Type: Be,
1041
+ getC4ShapeInRow: He,
1042
+ getC4BoundaryInRow: qe,
1043
+ setAccTitle: Ce,
1044
+ getAccTitle: Oe,
1045
+ getAccDescription: ke,
1046
+ setAccDescription: Te,
1048
1047
  getConfig: () => vt().c4,
1049
- clear: s0,
1050
- LINETYPE: r0,
1051
- ARROWTYPE: l0,
1052
- PLACEMENT: o0,
1053
- setTitle: c0,
1054
- setC4Type: Le
1048
+ clear: a0,
1049
+ LINETYPE: s0,
1050
+ ARROWTYPE: r0,
1051
+ PLACEMENT: l0,
1052
+ setTitle: o0,
1053
+ setC4Type: Ye
1055
1054
  // apply,
1056
1055
  }, ee = function(e, t) {
1057
- return Pe(e, t);
1058
- }, ye = function(e, t, r, o, l, n) {
1056
+ return Ne(e, t);
1057
+ }, ue = function(e, t, r, o, l, n) {
1059
1058
  const a = e.append("image");
1060
1059
  a.attr("width", t), a.attr("height", r), a.attr("x", o), a.attr("y", l);
1061
- let s = n.startsWith("data:image/png;base64") ? n : Ne.sanitizeUrl(n);
1060
+ let s = n.startsWith("data:image/png;base64") ? n : De.sanitizeUrl(n);
1062
1061
  a.attr("xlink:href", s);
1063
- }, h0 = (e, t, r) => {
1062
+ }, c0 = (e, t, r) => {
1064
1063
  const o = e.append("g");
1065
1064
  let l = 0;
1066
1065
  for (let n of t) {
@@ -1099,7 +1098,7 @@ const Ye = function() {
1099
1098
  p
1100
1099
  ));
1101
1100
  }
1102
- }, d0 = function(e, t, r) {
1101
+ }, h0 = function(e, t, r) {
1103
1102
  const o = e.append("g");
1104
1103
  let l = t.bgColor ? t.bgColor : "none", n = t.borderColor ? t.borderColor : "#444444", a = t.fontColor ? t.fontColor : "black", s = { "stroke-width": 1, "stroke-dasharray": "7.0,7.0" };
1105
1104
  t.nodeType && (s = { "stroke-width": 1 });
@@ -1144,7 +1143,7 @@ const Ye = function() {
1144
1143
  { fill: "#444444" },
1145
1144
  d
1146
1145
  ));
1147
- }, p0 = function(e, t, r) {
1146
+ }, d0 = function(e, t, r) {
1148
1147
  var o;
1149
1148
  let l = t.bgColor ? t.bgColor : r[t.typeC4Shape.text + "_bg_color"], n = t.borderColor ? t.borderColor : r[t.typeC4Shape.text + "_border_color"], a = t.fontColor ? t.fontColor : "#FFFFFF", s = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAIAAADYYG7QAAACD0lEQVR4Xu2YoU4EMRCGT+4j8Ai8AhaH4QHgAUjQuFMECUgMIUgwJAgMhgQsAYUiJCiQIBBY+EITsjfTdme6V24v4c8vyGbb+ZjOtN0bNcvjQXmkH83WvYBWto6PLm6v7p7uH1/w2fXD+PBycX1Pv2l3IdDm/vn7x+dXQiAubRzoURa7gRZWd0iGRIiJbOnhnfYBQZNJjNbuyY2eJG8fkDE3bbG4ep6MHUAsgYxmE3nVs6VsBWJSGccsOlFPmLIViMzLOB7pCVO2AtHJMohH7Fh6zqitQK7m0rJvAVYgGcEpe//PLdDz65sM4pF9N7ICcXDKIB5Nv6j7tD0NoSdM2QrU9Gg0ewE1LqBhHR3BBdvj2vapnidjHxD/q6vd7Pvhr31AwcY8eXMTXAKECZZJFXuEq27aLgQK5uLMohCenGGuGewOxSjBvYBqeG6B+Nqiblggdjnc+ZXDy+FNFpFzw76O3UBAROuXh6FoiAcf5g9eTvUgzy0nWg6I8cXHRUpg5bOVBCo+KDpFajOf23GgPme7RSQ+lacIENUgJ6gg1k6HjgOlqnLqip4tEuhv0hNEMXUD0clyXE3p6pZA0S2nnvTlXwLJEZWlb7cTQH1+USgTN4VhAenm/wea1OCAOmqo6fE1WCb9WSKBah+rbUWPWAmE2Rvk0ApiB45eOyNAzU8xcTvj8KvkKEoOaIYeHNA3ZuygAvFMUO0AAAAASUVORK5CYII=";
1150
1149
  switch (t.typeC4Shape.text) {
@@ -1157,7 +1156,7 @@ const Ye = function() {
1157
1156
  }
1158
1157
  const i = e.append("g");
1159
1158
  i.attr("class", "person-man");
1160
- const d = je();
1159
+ const d = Pe();
1161
1160
  switch (t.typeC4Shape.text) {
1162
1161
  case "person":
1163
1162
  case "external_person":
@@ -1198,11 +1197,11 @@ const Ye = function() {
1198
1197
  );
1199
1198
  break;
1200
1199
  }
1201
- let u = E0(r, t.typeC4Shape.text);
1200
+ let u = m0(r, t.typeC4Shape.text);
1202
1201
  switch (i.append("text").attr("fill", a).attr("font-family", u.fontFamily).attr("font-size", u.fontSize - 2).attr("font-style", "italic").attr("lengthAdjust", "spacing").attr("textLength", t.typeC4Shape.width).attr("x", t.x + t.width / 2 - t.typeC4Shape.width / 2).attr("y", t.y + t.typeC4Shape.Y).text("<<" + t.typeC4Shape.text + ">>"), t.typeC4Shape.text) {
1203
1202
  case "person":
1204
1203
  case "external_person":
1205
- ye(
1204
+ ue(
1206
1205
  i,
1207
1206
  48,
1208
1207
  48,
@@ -1250,33 +1249,33 @@ const Ye = function() {
1250
1249
  { fill: a },
1251
1250
  p
1252
1251
  )), t.height;
1253
- }, u0 = function(e) {
1252
+ }, p0 = function(e) {
1254
1253
  e.append("defs").append("symbol").attr("id", "database").attr("fill-rule", "evenodd").attr("clip-rule", "evenodd").append("path").attr("transform", "scale(.5)").attr(
1255
1254
  "d",
1256
1255
  "M12.258.001l.256.004.255.005.253.008.251.01.249.012.247.015.246.016.242.019.241.02.239.023.236.024.233.027.231.028.229.031.225.032.223.034.22.036.217.038.214.04.211.041.208.043.205.045.201.046.198.048.194.05.191.051.187.053.183.054.18.056.175.057.172.059.168.06.163.061.16.063.155.064.15.066.074.033.073.033.071.034.07.034.069.035.068.035.067.035.066.035.064.036.064.036.062.036.06.036.06.037.058.037.058.037.055.038.055.038.053.038.052.038.051.039.05.039.048.039.047.039.045.04.044.04.043.04.041.04.04.041.039.041.037.041.036.041.034.041.033.042.032.042.03.042.029.042.027.042.026.043.024.043.023.043.021.043.02.043.018.044.017.043.015.044.013.044.012.044.011.045.009.044.007.045.006.045.004.045.002.045.001.045v17l-.001.045-.002.045-.004.045-.006.045-.007.045-.009.044-.011.045-.012.044-.013.044-.015.044-.017.043-.018.044-.02.043-.021.043-.023.043-.024.043-.026.043-.027.042-.029.042-.03.042-.032.042-.033.042-.034.041-.036.041-.037.041-.039.041-.04.041-.041.04-.043.04-.044.04-.045.04-.047.039-.048.039-.05.039-.051.039-.052.038-.053.038-.055.038-.055.038-.058.037-.058.037-.06.037-.06.036-.062.036-.064.036-.064.036-.066.035-.067.035-.068.035-.069.035-.07.034-.071.034-.073.033-.074.033-.15.066-.155.064-.16.063-.163.061-.168.06-.172.059-.175.057-.18.056-.183.054-.187.053-.191.051-.194.05-.198.048-.201.046-.205.045-.208.043-.211.041-.214.04-.217.038-.22.036-.223.034-.225.032-.229.031-.231.028-.233.027-.236.024-.239.023-.241.02-.242.019-.246.016-.247.015-.249.012-.251.01-.253.008-.255.005-.256.004-.258.001-.258-.001-.256-.004-.255-.005-.253-.008-.251-.01-.249-.012-.247-.015-.245-.016-.243-.019-.241-.02-.238-.023-.236-.024-.234-.027-.231-.028-.228-.031-.226-.032-.223-.034-.22-.036-.217-.038-.214-.04-.211-.041-.208-.043-.204-.045-.201-.046-.198-.048-.195-.05-.19-.051-.187-.053-.184-.054-.179-.056-.176-.057-.172-.059-.167-.06-.164-.061-.159-.063-.155-.064-.151-.066-.074-.033-.072-.033-.072-.034-.07-.034-.069-.035-.068-.035-.067-.035-.066-.035-.064-.036-.063-.036-.062-.036-.061-.036-.06-.037-.058-.037-.057-.037-.056-.038-.055-.038-.053-.038-.052-.038-.051-.039-.049-.039-.049-.039-.046-.039-.046-.04-.044-.04-.043-.04-.041-.04-.04-.041-.039-.041-.037-.041-.036-.041-.034-.041-.033-.042-.032-.042-.03-.042-.029-.042-.027-.042-.026-.043-.024-.043-.023-.043-.021-.043-.02-.043-.018-.044-.017-.043-.015-.044-.013-.044-.012-.044-.011-.045-.009-.044-.007-.045-.006-.045-.004-.045-.002-.045-.001-.045v-17l.001-.045.002-.045.004-.045.006-.045.007-.045.009-.044.011-.045.012-.044.013-.044.015-.044.017-.043.018-.044.02-.043.021-.043.023-.043.024-.043.026-.043.027-.042.029-.042.03-.042.032-.042.033-.042.034-.041.036-.041.037-.041.039-.041.04-.041.041-.04.043-.04.044-.04.046-.04.046-.039.049-.039.049-.039.051-.039.052-.038.053-.038.055-.038.056-.038.057-.037.058-.037.06-.037.061-.036.062-.036.063-.036.064-.036.066-.035.067-.035.068-.035.069-.035.07-.034.072-.034.072-.033.074-.033.151-.066.155-.064.159-.063.164-.061.167-.06.172-.059.176-.057.179-.056.184-.054.187-.053.19-.051.195-.05.198-.048.201-.046.204-.045.208-.043.211-.041.214-.04.217-.038.22-.036.223-.034.226-.032.228-.031.231-.028.234-.027.236-.024.238-.023.241-.02.243-.019.245-.016.247-.015.249-.012.251-.01.253-.008.255-.005.256-.004.258-.001.258.001zm-9.258 20.499v.01l.001.021.003.021.004.022.005.021.006.022.007.022.009.023.01.022.011.023.012.023.013.023.015.023.016.024.017.023.018.024.019.024.021.024.022.025.023.024.024.025.052.049.056.05.061.051.066.051.07.051.075.051.079.052.084.052.088.052.092.052.097.052.102.051.105.052.11.052.114.051.119.051.123.051.127.05.131.05.135.05.139.048.144.049.147.047.152.047.155.047.16.045.163.045.167.043.171.043.176.041.178.041.183.039.187.039.19.037.194.035.197.035.202.033.204.031.209.03.212.029.216.027.219.025.222.024.226.021.23.02.233.018.236.016.24.015.243.012.246.01.249.008.253.005.256.004.259.001.26-.001.257-.004.254-.005.25-.008.247-.011.244-.012.241-.014.237-.016.233-.018.231-.021.226-.021.224-.024.22-.026.216-.027.212-.028.21-.031.205-.031.202-.034.198-.034.194-.036.191-.037.187-.039.183-.04.179-.04.175-.042.172-.043.168-.044.163-.045.16-.046.155-.046.152-.047.148-.048.143-.049.139-.049.136-.05.131-.05.126-.05.123-.051.118-.052.114-.051.11-.052.106-.052.101-.052.096-.052.092-.052.088-.053.083-.051.079-.052.074-.052.07-.051.065-.051.06-.051.056-.05.051-.05.023-.024.023-.025.021-.024.02-.024.019-.024.018-.024.017-.024.015-.023.014-.024.013-.023.012-.023.01-.023.01-.022.008-.022.006-.022.006-.022.004-.022.004-.021.001-.021.001-.021v-4.127l-.077.055-.08.053-.083.054-.085.053-.087.052-.09.052-.093.051-.095.05-.097.05-.1.049-.102.049-.105.048-.106.047-.109.047-.111.046-.114.045-.115.045-.118.044-.12.043-.122.042-.124.042-.126.041-.128.04-.13.04-.132.038-.134.038-.135.037-.138.037-.139.035-.142.035-.143.034-.144.033-.147.032-.148.031-.15.03-.151.03-.153.029-.154.027-.156.027-.158.026-.159.025-.161.024-.162.023-.163.022-.165.021-.166.02-.167.019-.169.018-.169.017-.171.016-.173.015-.173.014-.175.013-.175.012-.177.011-.178.01-.179.008-.179.008-.181.006-.182.005-.182.004-.184.003-.184.002h-.37l-.184-.002-.184-.003-.182-.004-.182-.005-.181-.006-.179-.008-.179-.008-.178-.01-.176-.011-.176-.012-.175-.013-.173-.014-.172-.015-.171-.016-.17-.017-.169-.018-.167-.019-.166-.02-.165-.021-.163-.022-.162-.023-.161-.024-.159-.025-.157-.026-.156-.027-.155-.027-.153-.029-.151-.03-.15-.03-.148-.031-.146-.032-.145-.033-.143-.034-.141-.035-.14-.035-.137-.037-.136-.037-.134-.038-.132-.038-.13-.04-.128-.04-.126-.041-.124-.042-.122-.042-.12-.044-.117-.043-.116-.045-.113-.045-.112-.046-.109-.047-.106-.047-.105-.048-.102-.049-.1-.049-.097-.05-.095-.05-.093-.052-.09-.051-.087-.052-.085-.053-.083-.054-.08-.054-.077-.054v4.127zm0-5.654v.011l.001.021.003.021.004.021.005.022.006.022.007.022.009.022.01.022.011.023.012.023.013.023.015.024.016.023.017.024.018.024.019.024.021.024.022.024.023.025.024.024.052.05.056.05.061.05.066.051.07.051.075.052.079.051.084.052.088.052.092.052.097.052.102.052.105.052.11.051.114.051.119.052.123.05.127.051.131.05.135.049.139.049.144.048.147.048.152.047.155.046.16.045.163.045.167.044.171.042.176.042.178.04.183.04.187.038.19.037.194.036.197.034.202.033.204.032.209.03.212.028.216.027.219.025.222.024.226.022.23.02.233.018.236.016.24.014.243.012.246.01.249.008.253.006.256.003.259.001.26-.001.257-.003.254-.006.25-.008.247-.01.244-.012.241-.015.237-.016.233-.018.231-.02.226-.022.224-.024.22-.025.216-.027.212-.029.21-.03.205-.032.202-.033.198-.035.194-.036.191-.037.187-.039.183-.039.179-.041.175-.042.172-.043.168-.044.163-.045.16-.045.155-.047.152-.047.148-.048.143-.048.139-.05.136-.049.131-.05.126-.051.123-.051.118-.051.114-.052.11-.052.106-.052.101-.052.096-.052.092-.052.088-.052.083-.052.079-.052.074-.051.07-.052.065-.051.06-.05.056-.051.051-.049.023-.025.023-.024.021-.025.02-.024.019-.024.018-.024.017-.024.015-.023.014-.023.013-.024.012-.022.01-.023.01-.023.008-.022.006-.022.006-.022.004-.021.004-.022.001-.021.001-.021v-4.139l-.077.054-.08.054-.083.054-.085.052-.087.053-.09.051-.093.051-.095.051-.097.05-.1.049-.102.049-.105.048-.106.047-.109.047-.111.046-.114.045-.115.044-.118.044-.12.044-.122.042-.124.042-.126.041-.128.04-.13.039-.132.039-.134.038-.135.037-.138.036-.139.036-.142.035-.143.033-.144.033-.147.033-.148.031-.15.03-.151.03-.153.028-.154.028-.156.027-.158.026-.159.025-.161.024-.162.023-.163.022-.165.021-.166.02-.167.019-.169.018-.169.017-.171.016-.173.015-.173.014-.175.013-.175.012-.177.011-.178.009-.179.009-.179.007-.181.007-.182.005-.182.004-.184.003-.184.002h-.37l-.184-.002-.184-.003-.182-.004-.182-.005-.181-.007-.179-.007-.179-.009-.178-.009-.176-.011-.176-.012-.175-.013-.173-.014-.172-.015-.171-.016-.17-.017-.169-.018-.167-.019-.166-.02-.165-.021-.163-.022-.162-.023-.161-.024-.159-.025-.157-.026-.156-.027-.155-.028-.153-.028-.151-.03-.15-.03-.148-.031-.146-.033-.145-.033-.143-.033-.141-.035-.14-.036-.137-.036-.136-.037-.134-.038-.132-.039-.13-.039-.128-.04-.126-.041-.124-.042-.122-.043-.12-.043-.117-.044-.116-.044-.113-.046-.112-.046-.109-.046-.106-.047-.105-.048-.102-.049-.1-.049-.097-.05-.095-.051-.093-.051-.09-.051-.087-.053-.085-.052-.083-.054-.08-.054-.077-.054v4.139zm0-5.666v.011l.001.02.003.022.004.021.005.022.006.021.007.022.009.023.01.022.011.023.012.023.013.023.015.023.016.024.017.024.018.023.019.024.021.025.022.024.023.024.024.025.052.05.056.05.061.05.066.051.07.051.075.052.079.051.084.052.088.052.092.052.097.052.102.052.105.051.11.052.114.051.119.051.123.051.127.05.131.05.135.05.139.049.144.048.147.048.152.047.155.046.16.045.163.045.167.043.171.043.176.042.178.04.183.04.187.038.19.037.194.036.197.034.202.033.204.032.209.03.212.028.216.027.219.025.222.024.226.021.23.02.233.018.236.017.24.014.243.012.246.01.249.008.253.006.256.003.259.001.26-.001.257-.003.254-.006.25-.008.247-.01.244-.013.241-.014.237-.016.233-.018.231-.02.226-.022.224-.024.22-.025.216-.027.212-.029.21-.03.205-.032.202-.033.198-.035.194-.036.191-.037.187-.039.183-.039.179-.041.175-.042.172-.043.168-.044.163-.045.16-.045.155-.047.152-.047.148-.048.143-.049.139-.049.136-.049.131-.051.126-.05.123-.051.118-.052.114-.051.11-.052.106-.052.101-.052.096-.052.092-.052.088-.052.083-.052.079-.052.074-.052.07-.051.065-.051.06-.051.056-.05.051-.049.023-.025.023-.025.021-.024.02-.024.019-.024.018-.024.017-.024.015-.023.014-.024.013-.023.012-.023.01-.022.01-.023.008-.022.006-.022.006-.022.004-.022.004-.021.001-.021.001-.021v-4.153l-.077.054-.08.054-.083.053-.085.053-.087.053-.09.051-.093.051-.095.051-.097.05-.1.049-.102.048-.105.048-.106.048-.109.046-.111.046-.114.046-.115.044-.118.044-.12.043-.122.043-.124.042-.126.041-.128.04-.13.039-.132.039-.134.038-.135.037-.138.036-.139.036-.142.034-.143.034-.144.033-.147.032-.148.032-.15.03-.151.03-.153.028-.154.028-.156.027-.158.026-.159.024-.161.024-.162.023-.163.023-.165.021-.166.02-.167.019-.169.018-.169.017-.171.016-.173.015-.173.014-.175.013-.175.012-.177.01-.178.01-.179.009-.179.007-.181.006-.182.006-.182.004-.184.003-.184.001-.185.001-.185-.001-.184-.001-.184-.003-.182-.004-.182-.006-.181-.006-.179-.007-.179-.009-.178-.01-.176-.01-.176-.012-.175-.013-.173-.014-.172-.015-.171-.016-.17-.017-.169-.018-.167-.019-.166-.02-.165-.021-.163-.023-.162-.023-.161-.024-.159-.024-.157-.026-.156-.027-.155-.028-.153-.028-.151-.03-.15-.03-.148-.032-.146-.032-.145-.033-.143-.034-.141-.034-.14-.036-.137-.036-.136-.037-.134-.038-.132-.039-.13-.039-.128-.041-.126-.041-.124-.041-.122-.043-.12-.043-.117-.044-.116-.044-.113-.046-.112-.046-.109-.046-.106-.048-.105-.048-.102-.048-.1-.05-.097-.049-.095-.051-.093-.051-.09-.052-.087-.052-.085-.053-.083-.053-.08-.054-.077-.054v4.153zm8.74-8.179l-.257.004-.254.005-.25.008-.247.011-.244.012-.241.014-.237.016-.233.018-.231.021-.226.022-.224.023-.22.026-.216.027-.212.028-.21.031-.205.032-.202.033-.198.034-.194.036-.191.038-.187.038-.183.04-.179.041-.175.042-.172.043-.168.043-.163.045-.16.046-.155.046-.152.048-.148.048-.143.048-.139.049-.136.05-.131.05-.126.051-.123.051-.118.051-.114.052-.11.052-.106.052-.101.052-.096.052-.092.052-.088.052-.083.052-.079.052-.074.051-.07.052-.065.051-.06.05-.056.05-.051.05-.023.025-.023.024-.021.024-.02.025-.019.024-.018.024-.017.023-.015.024-.014.023-.013.023-.012.023-.01.023-.01.022-.008.022-.006.023-.006.021-.004.022-.004.021-.001.021-.001.021.001.021.001.021.004.021.004.022.006.021.006.023.008.022.01.022.01.023.012.023.013.023.014.023.015.024.017.023.018.024.019.024.02.025.021.024.023.024.023.025.051.05.056.05.06.05.065.051.07.052.074.051.079.052.083.052.088.052.092.052.096.052.101.052.106.052.11.052.114.052.118.051.123.051.126.051.131.05.136.05.139.049.143.048.148.048.152.048.155.046.16.046.163.045.168.043.172.043.175.042.179.041.183.04.187.038.191.038.194.036.198.034.202.033.205.032.21.031.212.028.216.027.22.026.224.023.226.022.231.021.233.018.237.016.241.014.244.012.247.011.25.008.254.005.257.004.26.001.26-.001.257-.004.254-.005.25-.008.247-.011.244-.012.241-.014.237-.016.233-.018.231-.021.226-.022.224-.023.22-.026.216-.027.212-.028.21-.031.205-.032.202-.033.198-.034.194-.036.191-.038.187-.038.183-.04.179-.041.175-.042.172-.043.168-.043.163-.045.16-.046.155-.046.152-.048.148-.048.143-.048.139-.049.136-.05.131-.05.126-.051.123-.051.118-.051.114-.052.11-.052.106-.052.101-.052.096-.052.092-.052.088-.052.083-.052.079-.052.074-.051.07-.052.065-.051.06-.05.056-.05.051-.05.023-.025.023-.024.021-.024.02-.025.019-.024.018-.024.017-.023.015-.024.014-.023.013-.023.012-.023.01-.023.01-.022.008-.022.006-.023.006-.021.004-.022.004-.021.001-.021.001-.021-.001-.021-.001-.021-.004-.021-.004-.022-.006-.021-.006-.023-.008-.022-.01-.022-.01-.023-.012-.023-.013-.023-.014-.023-.015-.024-.017-.023-.018-.024-.019-.024-.02-.025-.021-.024-.023-.024-.023-.025-.051-.05-.056-.05-.06-.05-.065-.051-.07-.052-.074-.051-.079-.052-.083-.052-.088-.052-.092-.052-.096-.052-.101-.052-.106-.052-.11-.052-.114-.052-.118-.051-.123-.051-.126-.051-.131-.05-.136-.05-.139-.049-.143-.048-.148-.048-.152-.048-.155-.046-.16-.046-.163-.045-.168-.043-.172-.043-.175-.042-.179-.041-.183-.04-.187-.038-.191-.038-.194-.036-.198-.034-.202-.033-.205-.032-.21-.031-.212-.028-.216-.027-.22-.026-.224-.023-.226-.022-.231-.021-.233-.018-.237-.016-.241-.014-.244-.012-.247-.011-.25-.008-.254-.005-.257-.004-.26-.001-.26.001z"
1257
1256
  );
1258
- }, y0 = function(e) {
1257
+ }, u0 = function(e) {
1259
1258
  e.append("defs").append("symbol").attr("id", "computer").attr("width", "24").attr("height", "24").append("path").attr("transform", "scale(.5)").attr(
1260
1259
  "d",
1261
1260
  "M2 2v13h20v-13h-20zm18 11h-16v-9h16v9zm-10.228 6l.466-1h3.524l.467 1h-4.457zm14.228 3h-24l2-6h2.104l-1.33 4h18.45l-1.297-4h2.073l2 6zm-5-10h-14v-7h14v7z"
1262
1261
  );
1263
- }, f0 = function(e) {
1262
+ }, y0 = function(e) {
1264
1263
  e.append("defs").append("symbol").attr("id", "clock").attr("width", "24").attr("height", "24").append("path").attr("transform", "scale(.5)").attr(
1265
1264
  "d",
1266
1265
  "M12 2c5.514 0 10 4.486 10 10s-4.486 10-10 10-10-4.486-10-10 4.486-10 10-10zm0-2c-6.627 0-12 5.373-12 12s5.373 12 12 12 12-5.373 12-12-5.373-12-12-12zm5.848 12.459c.202.038.202.333.001.372-1.907.361-6.045 1.111-6.547 1.111-.719 0-1.301-.582-1.301-1.301 0-.512.77-5.447 1.125-7.445.034-.192.312-.181.343.014l.985 6.238 5.394 1.011z"
1267
1266
  );
1268
- }, b0 = function(e) {
1267
+ }, f0 = function(e) {
1269
1268
  e.append("defs").append("marker").attr("id", "arrowhead").attr("refX", 9).attr("refY", 5).attr("markerUnits", "userSpaceOnUse").attr("markerWidth", 12).attr("markerHeight", 12).attr("orient", "auto").append("path").attr("d", "M 0 0 L 10 5 L 0 10 z");
1270
- }, g0 = function(e) {
1269
+ }, b0 = function(e) {
1271
1270
  e.append("defs").append("marker").attr("id", "arrowend").attr("refX", 1).attr("refY", 5).attr("markerUnits", "userSpaceOnUse").attr("markerWidth", 12).attr("markerHeight", 12).attr("orient", "auto").append("path").attr("d", "M 10 0 L 0 5 L 10 10 z");
1272
- }, _0 = function(e) {
1271
+ }, g0 = function(e) {
1273
1272
  e.append("defs").append("marker").attr("id", "filled-head").attr("refX", 18).attr("refY", 7).attr("markerWidth", 20).attr("markerHeight", 28).attr("orient", "auto").append("path").attr("d", "M 18,7 L9,13 L14,7 L9,1 Z");
1274
- }, x0 = function(e) {
1273
+ }, _0 = function(e) {
1275
1274
  e.append("defs").append("marker").attr("id", "sequencenumber").attr("refX", 15).attr("refY", 15).attr("markerWidth", 60).attr("markerHeight", 40).attr("orient", "auto").append("circle").attr("cx", 15).attr("cy", 15).attr("r", 6);
1276
- }, m0 = function(e) {
1275
+ }, x0 = function(e) {
1277
1276
  const t = e.append("defs").append("marker").attr("id", "crosshead").attr("markerWidth", 15).attr("markerHeight", 8).attr("orient", "auto").attr("refX", 16).attr("refY", 4);
1278
1277
  t.append("path").attr("fill", "black").attr("stroke", "#000000").style("stroke-dasharray", "0, 0").attr("stroke-width", "1px").attr("d", "M 9,2 V 6 L16,4 Z"), t.append("path").attr("fill", "none").attr("stroke", "#000000").style("stroke-dasharray", "0, 0").attr("stroke-width", "1px").attr("d", "M 0,1 L 6,7 M 6,1 L 0,7");
1279
- }, E0 = (e, t) => ({
1278
+ }, m0 = (e, t) => ({
1280
1279
  fontFamily: e[t + "FontFamily"],
1281
1280
  fontSize: e[t + "FontSize"],
1282
1281
  fontWeight: e[t + "FontWeight"]
@@ -1305,23 +1304,23 @@ const Ye = function() {
1305
1304
  };
1306
1305
  }(), X = {
1307
1306
  drawRect: ee,
1308
- drawBoundary: d0,
1309
- drawC4Shape: p0,
1310
- drawRels: h0,
1311
- drawImage: ye,
1312
- insertArrowHead: b0,
1313
- insertArrowEnd: g0,
1314
- insertArrowFilledHead: _0,
1315
- insertDynamicNumber: x0,
1316
- insertArrowCrossHead: m0,
1317
- insertDatabaseIcon: u0,
1318
- insertComputerIcon: y0,
1319
- insertClockIcon: f0
1307
+ drawBoundary: h0,
1308
+ drawC4Shape: d0,
1309
+ drawRels: c0,
1310
+ drawImage: ue,
1311
+ insertArrowHead: f0,
1312
+ insertArrowEnd: b0,
1313
+ insertArrowFilledHead: g0,
1314
+ insertDynamicNumber: _0,
1315
+ insertArrowCrossHead: x0,
1316
+ insertDatabaseIcon: p0,
1317
+ insertComputerIcon: u0,
1318
+ insertClockIcon: y0
1320
1319
  };
1321
- let Mt = 0, Ut = 0, fe = 4, Kt = 2;
1320
+ let Mt = 0, Ut = 0, ye = 4, Kt = 2;
1322
1321
  Yt.yy = Gt;
1323
1322
  let _ = {};
1324
- class be {
1323
+ class fe {
1325
1324
  constructor(t) {
1326
1325
  this.name = "", this.data = {}, this.data.startx = void 0, this.data.stopx = void 0, this.data.starty = void 0, this.data.stopy = void 0, this.data.widthLimit = void 0, this.nextData = {}, this.nextData.startx = void 0, this.nextData.stopx = void 0, this.nextData.starty = void 0, this.nextData.stopy = void 0, this.nextData.cnt = 0, Jt(t.db.getConfig());
1327
1326
  }
@@ -1334,7 +1333,7 @@ class be {
1334
1333
  insert(t) {
1335
1334
  this.nextData.cnt = this.nextData.cnt + 1;
1336
1335
  let r = this.nextData.startx === this.nextData.stopx ? this.nextData.stopx + t.margin : this.nextData.stopx + t.margin * 2, o = r + t.width, l = this.nextData.starty + t.margin * 2, n = l + t.height;
1337
- (r >= this.data.widthLimit || o >= this.data.widthLimit || this.nextData.cnt > fe) && (r = this.nextData.startx + t.margin + _.nextLinePaddingX, l = this.nextData.stopy + t.margin * 2, this.nextData.stopx = o = r + t.width, this.nextData.starty = this.nextData.stopy, this.nextData.stopy = n = l + t.height, this.nextData.cnt = 1), t.x = r, t.y = l, this.updateVal(this.data, "startx", r, Math.min), this.updateVal(this.data, "starty", l, Math.min), this.updateVal(this.data, "stopx", o, Math.max), this.updateVal(this.data, "stopy", n, Math.max), this.updateVal(this.nextData, "startx", r, Math.min), this.updateVal(this.nextData, "starty", l, Math.min), this.updateVal(this.nextData, "stopx", o, Math.max), this.updateVal(this.nextData, "stopy", n, Math.max);
1336
+ (r >= this.data.widthLimit || o >= this.data.widthLimit || this.nextData.cnt > ye) && (r = this.nextData.startx + t.margin + _.nextLinePaddingX, l = this.nextData.stopy + t.margin * 2, this.nextData.stopx = o = r + t.width, this.nextData.starty = this.nextData.stopy, this.nextData.stopy = n = l + t.height, this.nextData.cnt = 1), t.x = r, t.y = l, this.updateVal(this.data, "startx", r, Math.min), this.updateVal(this.data, "starty", l, Math.min), this.updateVal(this.data, "stopx", o, Math.max), this.updateVal(this.data, "stopy", n, Math.max), this.updateVal(this.nextData, "startx", r, Math.min), this.updateVal(this.nextData, "starty", l, Math.min), this.updateVal(this.nextData, "stopx", o, Math.max), this.updateVal(this.nextData, "stopy", n, Math.max);
1338
1337
  }
1339
1338
  init(t) {
1340
1339
  this.name = "", this.data = {
@@ -1356,7 +1355,7 @@ class be {
1356
1355
  }
1357
1356
  }
1358
1357
  const Jt = function(e) {
1359
- ve(_, e), e.fontFamily && (_.personFontFamily = _.systemFontFamily = _.messageFontFamily = e.fontFamily), e.fontSize && (_.personFontSize = _.systemFontSize = _.messageFontSize = e.fontSize), e.fontWeight && (_.personFontWeight = _.systemFontWeight = _.messageFontWeight = e.fontWeight);
1358
+ we(_, e), e.fontFamily && (_.personFontFamily = _.systemFontFamily = _.messageFontFamily = e.fontFamily), e.fontSize && (_.personFontSize = _.systemFontSize = _.messageFontSize = e.fontSize), e.fontWeight && (_.personFontWeight = _.systemFontWeight = _.messageFontWeight = e.fontWeight);
1360
1359
  }, wt = (e, t) => ({
1361
1360
  fontFamily: e[t + "FontFamily"],
1362
1361
  fontSize: e[t + "FontSize"],
@@ -1365,7 +1364,7 @@ const Jt = function(e) {
1365
1364
  fontFamily: e.boundaryFontFamily,
1366
1365
  fontSize: e.boundaryFontSize,
1367
1366
  fontWeight: e.boundaryFontWeight
1368
- }), A0 = (e) => ({
1367
+ }), E0 = (e) => ({
1369
1368
  fontFamily: e.messageFontFamily,
1370
1369
  fontSize: e.messageFontSize,
1371
1370
  fontWeight: e.messageFontWeight
@@ -1373,7 +1372,7 @@ const Jt = function(e) {
1373
1372
  function L(e, t, r, o, l) {
1374
1373
  if (!t[e].width)
1375
1374
  if (r)
1376
- t[e].text = De(t[e].text, l, o), t[e].textLines = t[e].text.split(qt.lineBreakRegex).length, t[e].width = l, t[e].height = le(t[e].text, o);
1375
+ t[e].text = Re(t[e].text, l, o), t[e].textLines = t[e].text.split(qt.lineBreakRegex).length, t[e].width = l, t[e].height = le(t[e].text, o);
1377
1376
  else {
1378
1377
  let n = t[e].text.split(qt.lineBreakRegex);
1379
1378
  t[e].textLines = n.length;
@@ -1386,13 +1385,13 @@ function L(e, t, r, o, l) {
1386
1385
  ), a = le(s, o), t[e].height = t[e].height + a;
1387
1386
  }
1388
1387
  }
1389
- const ge = function(e, t, r) {
1388
+ const be = function(e, t, r) {
1390
1389
  t.x = r.data.startx, t.y = r.data.starty, t.width = r.data.stopx - r.data.startx, t.height = r.data.stopy - r.data.starty, t.label.y = _.c4ShapeMargin - 35;
1391
1390
  let o = t.wrap && _.wrap, l = Bt(_);
1392
1391
  l.fontSize = l.fontSize + 2, l.fontWeight = "bold";
1393
1392
  let n = kt(t.label.text, l);
1394
1393
  L("label", t, o, l, n), X.drawBoundary(e, t, _);
1395
- }, _e = function(e, t, r, o) {
1394
+ }, ge = function(e, t, r, o) {
1396
1395
  let l = 0;
1397
1396
  for (const n of o) {
1398
1397
  l = 0;
@@ -1441,7 +1440,7 @@ let oe = function(e, t) {
1441
1440
  a + i / d * e.height / 2,
1442
1441
  o + e.height
1443
1442
  ) : r < l && o > n ? p >= u ? f = new B(r + e.width, s - u * e.width / 2) : f = new B(a + e.height / 2 * i / d, o) : r > l && o > n && (p >= u ? f = new B(r, s - e.width / 2 * u) : f = new B(a - e.height / 2 * i / d, o)), f;
1444
- }, S0 = function(e, t) {
1443
+ }, A0 = function(e, t) {
1445
1444
  let r = { x: 0, y: 0 };
1446
1445
  r.x = t.x + t.width / 2, r.y = t.y + t.height / 2;
1447
1446
  let o = oe(e, r);
@@ -1449,21 +1448,21 @@ let oe = function(e, t) {
1449
1448
  let l = oe(t, r);
1450
1449
  return { startPoint: o, endPoint: l };
1451
1450
  };
1452
- const C0 = function(e, t, r, o) {
1451
+ const S0 = function(e, t, r, o) {
1453
1452
  let l = 0;
1454
1453
  for (let n of t) {
1455
1454
  l = l + 1;
1456
- let a = n.wrap && _.wrap, s = A0(_);
1455
+ let a = n.wrap && _.wrap, s = E0(_);
1457
1456
  o.db.getC4Type() === "C4Dynamic" && (n.label.text = l + ": " + n.label.text);
1458
1457
  let i = kt(n.label.text, s);
1459
1458
  L("label", n, a, s, i), n.techn && n.techn.text !== "" && (i = kt(n.techn.text, s), L("techn", n, a, s, i)), n.descr && n.descr.text !== "" && (i = kt(n.descr.text, s), L("descr", n, a, s, i));
1460
- let d = r(n.from), u = r(n.to), p = S0(d, u);
1459
+ let d = r(n.from), u = r(n.to), p = A0(d, u);
1461
1460
  n.startPoint = p.startPoint, n.endPoint = p.endPoint;
1462
1461
  }
1463
1462
  X.drawRels(e, t, _);
1464
1463
  };
1465
- function xe(e, t, r, o, l) {
1466
- let n = new be(l);
1464
+ function _e(e, t, r, o, l) {
1465
+ let n = new fe(l);
1467
1466
  n.data.widthLimit = r.data.widthLimit / Math.min(Kt, o.length);
1468
1467
  for (let [a, s] of o.entries()) {
1469
1468
  let i = 0;
@@ -1505,20 +1504,20 @@ function xe(e, t, r, o, l) {
1505
1504
  }
1506
1505
  n.name = s.alias;
1507
1506
  let p = l.db.getC4ShapeArray(s.alias), f = l.db.getC4ShapeKeys(s.alias);
1508
- f.length > 0 && _e(
1507
+ f.length > 0 && ge(
1509
1508
  n,
1510
1509
  e,
1511
1510
  p,
1512
1511
  f
1513
1512
  ), t = s.alias;
1514
1513
  let m = l.db.getBoundarys(t);
1515
- m.length > 0 && xe(
1514
+ m.length > 0 && _e(
1516
1515
  e,
1517
1516
  t,
1518
1517
  n,
1519
1518
  m,
1520
1519
  l
1521
- ), s.alias !== "global" && ge(e, s, n), r.data.stopy = Math.max(
1520
+ ), s.alias !== "global" && be(e, s, n), r.data.stopy = Math.max(
1522
1521
  n.data.stopy + _.c4ShapeMargin,
1523
1522
  r.data.stopy
1524
1523
  ), r.data.stopx = Math.max(
@@ -1527,17 +1526,17 @@ function xe(e, t, r, o, l) {
1527
1526
  ), Mt = Math.max(Mt, r.data.stopx), Ut = Math.max(Ut, r.data.stopy);
1528
1527
  }
1529
1528
  }
1530
- const O0 = function(e, t, r, o) {
1529
+ const C0 = function(e, t, r, o) {
1531
1530
  _ = vt().c4;
1532
1531
  const l = vt().securityLevel;
1533
1532
  let n;
1534
1533
  l === "sandbox" && (n = jt("#i" + t));
1535
1534
  const a = l === "sandbox" ? jt(n.nodes()[0].contentDocument.body) : jt("body");
1536
1535
  let s = o.db;
1537
- o.db.setWrap(_.wrap), fe = s.getC4ShapeInRow(), Kt = s.getC4BoundaryInRow(), re.debug(`C:${JSON.stringify(_, null, 2)}`);
1536
+ o.db.setWrap(_.wrap), ye = s.getC4ShapeInRow(), Kt = s.getC4BoundaryInRow(), re.debug(`C:${JSON.stringify(_, null, 2)}`);
1538
1537
  const i = l === "sandbox" ? a.select(`[id="${t}"]`) : jt(`[id="${t}"]`);
1539
1538
  X.insertComputerIcon(i), X.insertDatabaseIcon(i), X.insertClockIcon(i);
1540
- let d = new be(o);
1539
+ let d = new fe(o);
1541
1540
  d.setData(
1542
1541
  _.diagramMarginX,
1543
1542
  _.diagramMarginX,
@@ -1546,34 +1545,34 @@ const O0 = function(e, t, r, o) {
1546
1545
  ), d.data.widthLimit = screen.availWidth, Mt = _.diagramMarginX, Ut = _.diagramMarginY;
1547
1546
  const u = o.db.getTitle();
1548
1547
  let p = o.db.getBoundarys("");
1549
- xe(i, "", d, p, o), X.insertArrowHead(i), X.insertArrowEnd(i), X.insertArrowCrossHead(i), X.insertArrowFilledHead(i), C0(i, o.db.getRels(), o.db.getC4Shape, o), d.data.stopx = Mt, d.data.stopy = Ut;
1548
+ _e(i, "", d, p, o), X.insertArrowHead(i), X.insertArrowEnd(i), X.insertArrowCrossHead(i), X.insertArrowFilledHead(i), S0(i, o.db.getRels(), o.db.getC4Shape, o), d.data.stopx = Mt, d.data.stopy = Ut;
1550
1549
  const f = d.data;
1551
1550
  let m = f.stopy - f.starty + 2 * _.diagramMarginY;
1552
1551
  const T = f.stopx - f.startx + 2 * _.diagramMarginX;
1553
- u && i.append("text").text(u).attr("x", (f.stopx - f.startx) / 2 - 4 * _.diagramMarginX).attr("y", f.starty + _.diagramMarginY), Re(i, m, T, _.useMaxWidth);
1552
+ u && i.append("text").text(u).attr("x", (f.stopx - f.startx) / 2 - 4 * _.diagramMarginX).attr("y", f.starty + _.diagramMarginY), ve(i, m, T, _.useMaxWidth);
1554
1553
  const w = u ? 60 : 0;
1555
1554
  i.attr(
1556
1555
  "viewBox",
1557
1556
  f.startx - _.diagramMarginX + " -" + (_.diagramMarginY + w) + " " + T + " " + (m + w)
1558
1557
  ), re.debug("models:", f);
1559
1558
  }, ce = {
1560
- drawPersonOrSystemArray: _e,
1561
- drawBoundary: ge,
1559
+ drawPersonOrSystemArray: ge,
1560
+ drawBoundary: be,
1562
1561
  setConf: Jt,
1563
- draw: O0
1564
- }, k0 = (e) => `.person {
1562
+ draw: C0
1563
+ }, O0 = (e) => `.person {
1565
1564
  stroke: ${e.personBorder};
1566
1565
  fill: ${e.personBkg};
1567
1566
  }
1568
- `, T0 = k0, R0 = {
1569
- parser: Be,
1567
+ `, k0 = O0, v0 = {
1568
+ parser: je,
1570
1569
  db: Gt,
1571
1570
  renderer: ce,
1572
- styles: T0,
1571
+ styles: k0,
1573
1572
  init: ({ c4: e, wrap: t }) => {
1574
1573
  ce.setConf(e), Gt.setWrap(t);
1575
1574
  }
1576
1575
  };
1577
1576
  export {
1578
- R0 as diagram
1577
+ v0 as diagram
1579
1578
  };
@@ -1,4 +1,4 @@
1
- import { al as r, am as s } from "./index-74HaIrFw.js";
1
+ import { ak as r, al as s } from "./index-BRYBB2aM.js";
2
2
  const l = (o, a) => r.lang.round(s.parse(o)[a]);
3
3
  export {
4
4
  l as t