@kong-ui-public/documentation 0.7.20 → 0.7.21

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 (47) hide show
  1. package/dist/{Tableau10-GLA_9iAD-BMurskAd.js → Tableau10-D7jGxypv-D3w6FIcJ.js} +1 -2
  2. package/dist/arc-CJ96KFKf-ZAEyyrBI.js +84 -0
  3. package/dist/{blockDiagram-6b2b5046-ZGxr7RGf-D4pbh8vR.js → blockDiagram-9f4a6865-DOUkHJlG-BPuF5-tK.js} +107 -108
  4. package/dist/{c4Diagram-b947cdbb-Bo6xALld-D8DXBmHw.js → c4Diagram-ae766693-qW59_Cjl-BSBtINzy.js} +133 -132
  5. package/dist/{channel-BX3TjCqa-Cdtt6hB1.js → channel-BkEGjNbZ-CzBFLYvk.js} +1 -1
  6. package/dist/{classDiagram-35230388-C60SAKfJ-FQHXcc4J.js → classDiagram-fb54d2a0-DaEnSnV7-BgUSoTGU.js} +8 -7
  7. package/dist/{classDiagram-v2-412acd34-CHK1KDqU-CiKmarbv.js → classDiagram-v2-a2b738ad-DVF-sdZH-lL0m0fQD.js} +8 -8
  8. package/dist/{clone-BSWoNj0I-CW2QP79u.js → clone-Bz5840kP-D3Uvm_gp.js} +1 -1
  9. package/dist/{createText-423428c9-DeHbckoy-r2CCACGx.js → createText-ca0c5216-DGjoI7Oz-8Az9WSXK.js} +14 -20
  10. package/dist/documentation.es.js +3 -3
  11. package/dist/documentation.umd.js +993 -723
  12. package/dist/{edges-d417c7a0-D7e9Y4V--DVOSTCB5.js → edges-066a5561-ByMuMaff-ipHdGCa_.js} +28 -27
  13. package/dist/{erDiagram-0ea73325-E3jchkiK-CfTqZxm6.js → erDiagram-09d1c15f-Ctl-zT4O-B9E7LRcs.js} +71 -72
  14. package/dist/{flowDb-d35e309a-Dch1VW7i-Bk557s4E.js → flowDb-c1833063-nJUM9bYy-B5f_hjwI.js} +4 -4
  15. package/dist/{flowDiagram-d949d7c1-CxjmKfBF-CuFUEya4.js → flowDiagram-b222e15a-BlrP8xne-DJ_sATm6.js} +339 -333
  16. package/dist/{flowDiagram-v2-49332944-Duf6j7PN-DgsEJ4Bo.js → flowDiagram-v2-13329dc7-DlqVPxH6-CgXruRZr.js} +5 -5
  17. package/dist/{flowchart-elk-definition-27cc417a-M-lK4i48-Bs8Ix10e.js → flowchart-elk-definition-ae0efee6-B2FZpaI4-C8o8y5J1.js} +343 -590
  18. package/dist/{ganttDiagram-5c869e3b-CgjZsm2H-Bon0v47P.js → ganttDiagram-b62c793e-BUkrtLIU-roFbcEhP.js} +513 -534
  19. package/dist/gitGraphDiagram-942e62fe-BIndO562-dNVJJzzm.js +1264 -0
  20. package/dist/{graph-Ch18bQn5-BLEKw6WT.js → graph-BN58fiEq-CyCz6HB3.js} +3 -4
  21. package/dist/{index-8fae9850-kUIz8xNo-CDn9_qZB.js → index-01f381cb-DHHDXut0-C1FToHnX.js} +11 -11
  22. package/dist/{index-CVS7cBlb.js → index-Dz46e5bv.js} +2354 -2515
  23. package/dist/{infoDiagram-db7b18fc-BpBtHVy2-DuX4gmA7.js → infoDiagram-94cd232f-CSzv-wTE-Bnonj1Cb.js} +7 -7
  24. package/dist/{journeyDiagram-d5636530-CZUFMDTA-D5VAFQAG.js → journeyDiagram-6625b456-Ca9U8tWI-DoKEPckV.js} +16 -16
  25. package/dist/katex-BXNjbZo7-CF_fuFJb.js +11637 -0
  26. package/dist/{layout-BzV691RN-Br8Ir03a.js → layout-DU4VNk5y-DEbr0_Pk.js} +112 -114
  27. package/dist/{line-JCh8JM-V-T9MVIZIE.js → line-CwSAou3c-dgS2jcU_.js} +3 -4
  28. package/dist/{linear-cwTFOJBq-B6q6qtlZ.js → linear-CngEzq0a-B6fRdJQY.js} +70 -94
  29. package/dist/{mindmap-definition-377f8f1f-BzIPdpBG-DD8FIpST.js → mindmap-definition-307c710a-CvpxqRPj-AB15RcM6.js} +343 -378
  30. package/dist/{ordinal-MUacOSdK-B1MUT0BL.js → ordinal-DfAQgscy-BEJTu10r.js} +3 -7
  31. package/dist/{path-Crsf9Nsj-SiSjwXsf.js → path-DLwuMfdd-EbErTa4c.js} +12 -19
  32. package/dist/{pieDiagram-b0208e96-BQfpnZHG-E8AMqTd3.js → pieDiagram-bb1d19e5-LP-9WGAS-DwilsWxb.js} +61 -61
  33. package/dist/{quadrantDiagram-0332be45-CNL4JCrn-BYyiYlYH.js → quadrantDiagram-c759a472-B_TsLXO0-BviiuQRe.js} +2 -2
  34. package/dist/{requirementDiagram-bf7890df-NBqqCuPF-CIHJhGNa.js → requirementDiagram-87253d64-o6jrBKBt-BDXpXGpQ.js} +30 -30
  35. package/dist/{sankeyDiagram-0acdec17-YE0ROy8d-CU1TmQZx.js → sankeyDiagram-707fac0f-BoEHDAJv-BBNylsjT.js} +44 -58
  36. package/dist/{sequenceDiagram-c18d009d-Yucxrjw7-D_cnXQcd.js → sequenceDiagram-6894f283-Dsj52Wsi-TDdIX1Wn.js} +845 -812
  37. package/dist/{stateDiagram-43596fc0-D9IY4Ssi-KJp_o1Vc.js → stateDiagram-5dee940d-COfohDXu-Dra8cHnR.js} +54 -54
  38. package/dist/{stateDiagram-v2-2ead4f9c-5IZQWbnV-Chm6qgaK.js → stateDiagram-v2-1992cada-v9z1blk7-b2WlcHGI.js} +12 -12
  39. package/dist/{styles-b2c874b6-pUAi9-OK-C7HwN-ih.js → styles-0784dbeb-DHDYpA72-BTX0XQJ5.js} +24 -24
  40. package/dist/{styles-7383a064-DLbSva3T-DWY6NPMf.js → styles-483fbfea-DUrqZeOP-BPfiLFkT.js} +140 -137
  41. package/dist/{styles-6860f46c-DHqkrPDU-JiuD19BB.js → styles-b83b31c9-R9NNyYA0-DnoGi25s.js} +29 -29
  42. package/dist/{svgDrawCommon-0ee1b4e9-rbw7BPwi-Boin581S.js → svgDrawCommon-5e1cfd1d-DeHC_PTd-44CTrnyq.js} +5 -5
  43. package/dist/{timeline-definition-d977decf-CtlVf6FF-BqqlH53Y.js → timeline-definition-bf702344-BzpRV6Z8-DHqazJ7N.js} +2 -2
  44. package/dist/{xychartDiagram-e50adddc-B9qgoJob-CqAKcFLo.js → xychartDiagram-f11f50a6-BMDfQSWf-CixUys_w.js} +40 -40
  45. package/package.json +6 -6
  46. package/dist/arc-TomPQHIy-B0wkvDWU.js +0 -86
  47. package/dist/gitGraphDiagram-b9d81de9-DhOfBQfl-BvCcUYjg.js +0 -1262
@@ -1,5 +1,5 @@
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-CVS7cBlb.js";
2
- import { c as Ne, g as Pe } from "./svgDrawCommon-0ee1b4e9-rbw7BPwi-Boin581S.js";
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-Dz46e5bv.js";
2
+ import { l as Pe, p as je } from "./svgDrawCommon-5e1cfd1d-DeHC_PTd-44CTrnyq.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, me = 2, ae = 1, Ee = 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, Ee = 2, ae = 1, Ae = 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 Ae = v.options && v.options.ranges;
201
+ var Se = 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 Se() {
203
+ function Ce() {
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 = Se()), 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 = Ce()), 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 > me && Pt.push("'" + this.terminals_[Nt] + "'");
212
+ this.terminals_[Nt] && Nt > Ee && 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
- }, Ae && (Ot._$.range = [
235
+ }, Se && (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(Ee)), typeof Vt < "u")
246
+ ].concat(Ae)), 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
- }, xe = /* @__PURE__ */ function() {
256
+ }, me = /* @__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 = xe;
617
+ Wt.lexer = me;
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 je = Yt;
624
+ const Be = 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 Be = function() {
636
+ const Ye = function() {
637
637
  return de;
638
- }, Ye = function(e) {
638
+ }, Le = function(e) {
639
639
  de = he(e, vt());
640
- }, Le = function(e, t, r, o, l, n, a, s, i) {
640
+ }, Ie = 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 Be = function() {
672
672
  } else
673
673
  d.link = i;
674
674
  d.wrap = xt();
675
- }, Ie = function(e, t, r, o, l, n, a) {
675
+ }, Me = 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 Be = function() {
700
700
  } else
701
701
  s.link = a;
702
702
  s.typeC4Shape = { text: e }, s.parentBoundary = R, s.wrap = xt();
703
- }, Me = function(e, t, r, o, l, n, a, s) {
703
+ }, Ue = 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 Be = function() {
735
735
  } else
736
736
  i.link = s;
737
737
  i.wrap = xt(), i.typeC4Shape = { text: e }, i.parentBoundary = R;
738
- }, Ue = function(e, t, r, o, l, n, a, s) {
738
+ }, Fe = 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 Be = function() {
770
770
  } else
771
771
  i.link = s;
772
772
  i.wrap = xt(), i.typeC4Shape = { text: e }, i.parentBoundary = R;
773
- }, Fe = function(e, t, r, o, l) {
773
+ }, Xe = 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 Be = 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
- }, Xe = function(e, t, r, o, l) {
796
+ }, We = 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 Be = 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
- }, We = function(e, t, r, o, l, n, a, s) {
819
+ }, ze = 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 Be = 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
- }, ze = function() {
849
+ }, $e = function() {
850
850
  R = I, _t.pop(), I = _t.pop(), _t.push(I);
851
- }, $e = function(e, t, r, o, l, n, a, s, i, d, u) {
851
+ }, Qe = 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 Be = function() {
906
906
  } else
907
907
  p.legendSprite = u;
908
908
  }
909
- }, Qe = function(e, t, r, o, l, n, a) {
909
+ }, Ve = 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 Be = function() {
934
934
  } else
935
935
  s.offsetY = parseInt(a);
936
936
  }
937
- }, Ve = function(e, t, r) {
937
+ }, He = 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 Be = function() {
947
947
  } else
948
948
  l = parseInt(r);
949
949
  o >= 1 && (Lt = o), l >= 1 && (It = l);
950
- }, He = function() {
951
- return Lt;
952
950
  }, qe = function() {
953
- return It;
951
+ return Lt;
954
952
  }, Ge = function() {
955
- return R;
953
+ return It;
956
954
  }, Ke = function() {
955
+ return R;
956
+ }, Je = function() {
957
957
  return I;
958
958
  }, pe = function(e) {
959
959
  return e == null ? M : M.filter((t) => t.parentBoundary === e);
960
- }, Je = function(e) {
961
- return M.find((t) => t.alias === e);
962
960
  }, Ze = function(e) {
963
- return Object.keys(pe(e));
961
+ return M.find((t) => t.alias === e);
964
962
  }, t0 = function(e) {
963
+ return Object.keys(pe(e));
964
+ }, ue = function(e) {
965
965
  return e == null ? W : W.filter((t) => t.parentBoundary === e);
966
- }, e0 = function() {
966
+ }, e0 = ue, n0 = function() {
967
967
  return Rt;
968
- }, n0 = function() {
968
+ }, i0 = function() {
969
969
  return Zt;
970
- }, i0 = function(e) {
970
+ }, a0 = function(e) {
971
971
  te = e;
972
972
  }, xt = function() {
973
973
  return te;
974
- }, a0 = function() {
974
+ }, s0 = function() {
975
975
  M = [], W = [
976
976
  {
977
977
  alias: "global",
@@ -982,7 +982,7 @@ const Be = function() {
982
982
  parentBoundary: ""
983
983
  }
984
984
  ], I = "", R = "global", _t = [""], Rt = [], _t = [""], Zt = "", te = !1, Lt = 4, It = 2;
985
- }, s0 = {
985
+ }, r0 = {
986
986
  SOLID: 0,
987
987
  DOTTED: 1,
988
988
  NOTE: 2,
@@ -1006,60 +1006,61 @@ const Be = function() {
1006
1006
  RECT_END: 23,
1007
1007
  SOLID_POINT: 24,
1008
1008
  DOTTED_POINT: 25
1009
- }, r0 = {
1009
+ }, l0 = {
1010
1010
  FILLED: 0,
1011
1011
  OPEN: 1
1012
- }, l0 = {
1012
+ }, o0 = {
1013
1013
  LEFTOF: 0,
1014
1014
  RIGHTOF: 1,
1015
1015
  OVER: 2
1016
- }, o0 = function(e) {
1016
+ }, c0 = function(e) {
1017
1017
  Zt = he(e, vt());
1018
1018
  }, Gt = {
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,
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,
1030
1030
  autoWrap: xt,
1031
- setWrap: i0,
1031
+ setWrap: a0,
1032
1032
  getC4ShapeArray: pe,
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,
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,
1047
1048
  getConfig: () => vt().c4,
1048
- clear: a0,
1049
- LINETYPE: s0,
1050
- ARROWTYPE: r0,
1051
- PLACEMENT: l0,
1052
- setTitle: o0,
1053
- setC4Type: Ye
1049
+ clear: s0,
1050
+ LINETYPE: r0,
1051
+ ARROWTYPE: l0,
1052
+ PLACEMENT: o0,
1053
+ setTitle: c0,
1054
+ setC4Type: Le
1054
1055
  // apply,
1055
1056
  }, ee = function(e, t) {
1056
- return Ne(e, t);
1057
- }, ue = function(e, t, r, o, l, n) {
1057
+ return Pe(e, t);
1058
+ }, ye = function(e, t, r, o, l, n) {
1058
1059
  const a = e.append("image");
1059
1060
  a.attr("width", t), a.attr("height", r), a.attr("x", o), a.attr("y", l);
1060
- let s = n.startsWith("data:image/png;base64") ? n : De.sanitizeUrl(n);
1061
+ let s = n.startsWith("data:image/png;base64") ? n : Ne.sanitizeUrl(n);
1061
1062
  a.attr("xlink:href", s);
1062
- }, c0 = (e, t, r) => {
1063
+ }, h0 = (e, t, r) => {
1063
1064
  const o = e.append("g");
1064
1065
  let l = 0;
1065
1066
  for (let n of t) {
@@ -1098,7 +1099,7 @@ const Be = function() {
1098
1099
  p
1099
1100
  ));
1100
1101
  }
1101
- }, h0 = function(e, t, r) {
1102
+ }, d0 = function(e, t, r) {
1102
1103
  const o = e.append("g");
1103
1104
  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" };
1104
1105
  t.nodeType && (s = { "stroke-width": 1 });
@@ -1143,7 +1144,7 @@ const Be = function() {
1143
1144
  { fill: "#444444" },
1144
1145
  d
1145
1146
  ));
1146
- }, d0 = function(e, t, r) {
1147
+ }, p0 = function(e, t, r) {
1147
1148
  var o;
1148
1149
  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=";
1149
1150
  switch (t.typeC4Shape.text) {
@@ -1156,7 +1157,7 @@ const Be = function() {
1156
1157
  }
1157
1158
  const i = e.append("g");
1158
1159
  i.attr("class", "person-man");
1159
- const d = Pe();
1160
+ const d = je();
1160
1161
  switch (t.typeC4Shape.text) {
1161
1162
  case "person":
1162
1163
  case "external_person":
@@ -1197,11 +1198,11 @@ const Be = function() {
1197
1198
  );
1198
1199
  break;
1199
1200
  }
1200
- let u = m0(r, t.typeC4Shape.text);
1201
+ let u = E0(r, t.typeC4Shape.text);
1201
1202
  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) {
1202
1203
  case "person":
1203
1204
  case "external_person":
1204
- ue(
1205
+ ye(
1205
1206
  i,
1206
1207
  48,
1207
1208
  48,
@@ -1249,33 +1250,33 @@ const Be = function() {
1249
1250
  { fill: a },
1250
1251
  p
1251
1252
  )), t.height;
1252
- }, p0 = function(e) {
1253
+ }, u0 = function(e) {
1253
1254
  e.append("defs").append("symbol").attr("id", "database").attr("fill-rule", "evenodd").attr("clip-rule", "evenodd").append("path").attr("transform", "scale(.5)").attr(
1254
1255
  "d",
1255
1256
  "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"
1256
1257
  );
1257
- }, u0 = function(e) {
1258
+ }, y0 = function(e) {
1258
1259
  e.append("defs").append("symbol").attr("id", "computer").attr("width", "24").attr("height", "24").append("path").attr("transform", "scale(.5)").attr(
1259
1260
  "d",
1260
1261
  "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"
1261
1262
  );
1262
- }, y0 = function(e) {
1263
+ }, f0 = function(e) {
1263
1264
  e.append("defs").append("symbol").attr("id", "clock").attr("width", "24").attr("height", "24").append("path").attr("transform", "scale(.5)").attr(
1264
1265
  "d",
1265
1266
  "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"
1266
1267
  );
1267
- }, f0 = function(e) {
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");
1269
1268
  }, b0 = function(e) {
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");
1269
+ 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");
1271
1270
  }, g0 = function(e) {
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");
1271
+ 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");
1273
1272
  }, _0 = function(e) {
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);
1273
+ 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");
1275
1274
  }, x0 = function(e) {
1275
+ 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) {
1276
1277
  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);
1277
1278
  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");
1278
- }, m0 = (e, t) => ({
1279
+ }, E0 = (e, t) => ({
1279
1280
  fontFamily: e[t + "FontFamily"],
1280
1281
  fontSize: e[t + "FontSize"],
1281
1282
  fontWeight: e[t + "FontWeight"]
@@ -1304,23 +1305,23 @@ const Be = function() {
1304
1305
  };
1305
1306
  }(), X = {
1306
1307
  drawRect: ee,
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
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
1319
1320
  };
1320
- let Mt = 0, Ut = 0, ye = 4, Kt = 2;
1321
+ let Mt = 0, Ut = 0, fe = 4, Kt = 2;
1321
1322
  Yt.yy = Gt;
1322
1323
  let _ = {};
1323
- class fe {
1324
+ class be {
1324
1325
  constructor(t) {
1325
1326
  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());
1326
1327
  }
@@ -1333,7 +1334,7 @@ class fe {
1333
1334
  insert(t) {
1334
1335
  this.nextData.cnt = this.nextData.cnt + 1;
1335
1336
  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;
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);
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);
1337
1338
  }
1338
1339
  init(t) {
1339
1340
  this.name = "", this.data = {
@@ -1355,7 +1356,7 @@ class fe {
1355
1356
  }
1356
1357
  }
1357
1358
  const Jt = function(e) {
1358
- we(_, e), e.fontFamily && (_.personFontFamily = _.systemFontFamily = _.messageFontFamily = e.fontFamily), e.fontSize && (_.personFontSize = _.systemFontSize = _.messageFontSize = e.fontSize), e.fontWeight && (_.personFontWeight = _.systemFontWeight = _.messageFontWeight = e.fontWeight);
1359
+ ve(_, e), e.fontFamily && (_.personFontFamily = _.systemFontFamily = _.messageFontFamily = e.fontFamily), e.fontSize && (_.personFontSize = _.systemFontSize = _.messageFontSize = e.fontSize), e.fontWeight && (_.personFontWeight = _.systemFontWeight = _.messageFontWeight = e.fontWeight);
1359
1360
  }, wt = (e, t) => ({
1360
1361
  fontFamily: e[t + "FontFamily"],
1361
1362
  fontSize: e[t + "FontSize"],
@@ -1364,7 +1365,7 @@ const Jt = function(e) {
1364
1365
  fontFamily: e.boundaryFontFamily,
1365
1366
  fontSize: e.boundaryFontSize,
1366
1367
  fontWeight: e.boundaryFontWeight
1367
- }), E0 = (e) => ({
1368
+ }), A0 = (e) => ({
1368
1369
  fontFamily: e.messageFontFamily,
1369
1370
  fontSize: e.messageFontSize,
1370
1371
  fontWeight: e.messageFontWeight
@@ -1372,7 +1373,7 @@ const Jt = function(e) {
1372
1373
  function L(e, t, r, o, l) {
1373
1374
  if (!t[e].width)
1374
1375
  if (r)
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);
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);
1376
1377
  else {
1377
1378
  let n = t[e].text.split(qt.lineBreakRegex);
1378
1379
  t[e].textLines = n.length;
@@ -1385,13 +1386,13 @@ function L(e, t, r, o, l) {
1385
1386
  ), a = le(s, o), t[e].height = t[e].height + a;
1386
1387
  }
1387
1388
  }
1388
- const be = function(e, t, r) {
1389
+ const ge = function(e, t, r) {
1389
1390
  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;
1390
1391
  let o = t.wrap && _.wrap, l = Bt(_);
1391
1392
  l.fontSize = l.fontSize + 2, l.fontWeight = "bold";
1392
1393
  let n = kt(t.label.text, l);
1393
1394
  L("label", t, o, l, n), X.drawBoundary(e, t, _);
1394
- }, ge = function(e, t, r, o) {
1395
+ }, _e = function(e, t, r, o) {
1395
1396
  let l = 0;
1396
1397
  for (const n of o) {
1397
1398
  l = 0;
@@ -1440,7 +1441,7 @@ let oe = function(e, t) {
1440
1441
  a + i / d * e.height / 2,
1441
1442
  o + e.height
1442
1443
  ) : 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;
1443
- }, A0 = function(e, t) {
1444
+ }, S0 = function(e, t) {
1444
1445
  let r = { x: 0, y: 0 };
1445
1446
  r.x = t.x + t.width / 2, r.y = t.y + t.height / 2;
1446
1447
  let o = oe(e, r);
@@ -1448,21 +1449,21 @@ let oe = function(e, t) {
1448
1449
  let l = oe(t, r);
1449
1450
  return { startPoint: o, endPoint: l };
1450
1451
  };
1451
- const S0 = function(e, t, r, o) {
1452
+ const C0 = function(e, t, r, o) {
1452
1453
  let l = 0;
1453
1454
  for (let n of t) {
1454
1455
  l = l + 1;
1455
- let a = n.wrap && _.wrap, s = E0(_);
1456
+ let a = n.wrap && _.wrap, s = A0(_);
1456
1457
  o.db.getC4Type() === "C4Dynamic" && (n.label.text = l + ": " + n.label.text);
1457
1458
  let i = kt(n.label.text, s);
1458
1459
  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));
1459
- let d = r(n.from), u = r(n.to), p = A0(d, u);
1460
+ let d = r(n.from), u = r(n.to), p = S0(d, u);
1460
1461
  n.startPoint = p.startPoint, n.endPoint = p.endPoint;
1461
1462
  }
1462
1463
  X.drawRels(e, t, _);
1463
1464
  };
1464
- function _e(e, t, r, o, l) {
1465
- let n = new fe(l);
1465
+ function xe(e, t, r, o, l) {
1466
+ let n = new be(l);
1466
1467
  n.data.widthLimit = r.data.widthLimit / Math.min(Kt, o.length);
1467
1468
  for (let [a, s] of o.entries()) {
1468
1469
  let i = 0;
@@ -1504,20 +1505,20 @@ function _e(e, t, r, o, l) {
1504
1505
  }
1505
1506
  n.name = s.alias;
1506
1507
  let p = l.db.getC4ShapeArray(s.alias), f = l.db.getC4ShapeKeys(s.alias);
1507
- f.length > 0 && ge(
1508
+ f.length > 0 && _e(
1508
1509
  n,
1509
1510
  e,
1510
1511
  p,
1511
1512
  f
1512
1513
  ), t = s.alias;
1513
1514
  let m = l.db.getBoundarys(t);
1514
- m.length > 0 && _e(
1515
+ m.length > 0 && xe(
1515
1516
  e,
1516
1517
  t,
1517
1518
  n,
1518
1519
  m,
1519
1520
  l
1520
- ), s.alias !== "global" && be(e, s, n), r.data.stopy = Math.max(
1521
+ ), s.alias !== "global" && ge(e, s, n), r.data.stopy = Math.max(
1521
1522
  n.data.stopy + _.c4ShapeMargin,
1522
1523
  r.data.stopy
1523
1524
  ), r.data.stopx = Math.max(
@@ -1526,17 +1527,17 @@ function _e(e, t, r, o, l) {
1526
1527
  ), Mt = Math.max(Mt, r.data.stopx), Ut = Math.max(Ut, r.data.stopy);
1527
1528
  }
1528
1529
  }
1529
- const C0 = function(e, t, r, o) {
1530
+ const O0 = function(e, t, r, o) {
1530
1531
  _ = vt().c4;
1531
1532
  const l = vt().securityLevel;
1532
1533
  let n;
1533
1534
  l === "sandbox" && (n = jt("#i" + t));
1534
1535
  const a = l === "sandbox" ? jt(n.nodes()[0].contentDocument.body) : jt("body");
1535
1536
  let s = o.db;
1536
- o.db.setWrap(_.wrap), ye = s.getC4ShapeInRow(), Kt = s.getC4BoundaryInRow(), re.debug(`C:${JSON.stringify(_, null, 2)}`);
1537
+ o.db.setWrap(_.wrap), fe = s.getC4ShapeInRow(), Kt = s.getC4BoundaryInRow(), re.debug(`C:${JSON.stringify(_, null, 2)}`);
1537
1538
  const i = l === "sandbox" ? a.select(`[id="${t}"]`) : jt(`[id="${t}"]`);
1538
1539
  X.insertComputerIcon(i), X.insertDatabaseIcon(i), X.insertClockIcon(i);
1539
- let d = new fe(o);
1540
+ let d = new be(o);
1540
1541
  d.setData(
1541
1542
  _.diagramMarginX,
1542
1543
  _.diagramMarginX,
@@ -1545,34 +1546,34 @@ const C0 = function(e, t, r, o) {
1545
1546
  ), d.data.widthLimit = screen.availWidth, Mt = _.diagramMarginX, Ut = _.diagramMarginY;
1546
1547
  const u = o.db.getTitle();
1547
1548
  let p = o.db.getBoundarys("");
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;
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;
1549
1550
  const f = d.data;
1550
1551
  let m = f.stopy - f.starty + 2 * _.diagramMarginY;
1551
1552
  const T = f.stopx - f.startx + 2 * _.diagramMarginX;
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);
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);
1553
1554
  const w = u ? 60 : 0;
1554
1555
  i.attr(
1555
1556
  "viewBox",
1556
1557
  f.startx - _.diagramMarginX + " -" + (_.diagramMarginY + w) + " " + T + " " + (m + w)
1557
1558
  ), re.debug("models:", f);
1558
1559
  }, ce = {
1559
- drawPersonOrSystemArray: ge,
1560
- drawBoundary: be,
1560
+ drawPersonOrSystemArray: _e,
1561
+ drawBoundary: ge,
1561
1562
  setConf: Jt,
1562
- draw: C0
1563
- }, O0 = (e) => `.person {
1563
+ draw: O0
1564
+ }, k0 = (e) => `.person {
1564
1565
  stroke: ${e.personBorder};
1565
1566
  fill: ${e.personBkg};
1566
1567
  }
1567
- `, k0 = O0, v0 = {
1568
- parser: je,
1568
+ `, T0 = k0, R0 = {
1569
+ parser: Be,
1569
1570
  db: Gt,
1570
1571
  renderer: ce,
1571
- styles: k0,
1572
+ styles: T0,
1572
1573
  init: ({ c4: e, wrap: t }) => {
1573
1574
  ce.setConf(e), Gt.setWrap(t);
1574
1575
  }
1575
1576
  };
1576
1577
  export {
1577
- v0 as diagram
1578
+ R0 as diagram
1578
1579
  };