@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 { av as Ne, aw as Ve, ax as Ge, ay as Ze, az as me, aA as R, aB as ye, c as Ct, s as Cn, g as Dn, x as _n, y as Mn, b as Sn, a as $n, aC as Yn, A as An, m as Fn, l as Zt, h as Pt, i as Un, j as Ln, z as En, aD as Jt, aE as On } from "./index-74HaIrFw.js";
2
- import { Z as In, X as Hn, O as Wn, _ as zn, w as Se } from "./linear-c7VKFbmv-Bcl7PKrY.js";
1
+ import { au as Ne, av as Ve, aw as Ge, ax as Ze, ay as me, az as R, aA as ye, c as wt, s as Cn, g as Dn, v as _n, x as Sn, b as Mn, a as $n, aB as An, z as Yn, m as Fn, l as Zt, h as Pt, i as Un, j as Ln, y as En, aC as Jt, aD as On } from "./index-BRYBB2aM.js";
2
+ import { Z as In, X as Hn, O as Wn, _ as zn, w as Me } from "./linear-DG5qhwMV-BSSd8kt2.js";
3
3
  import { t as Pn } from "./init-DjUOC4st-C8Nwz6AJ.js";
4
4
  function Bn(t, e) {
5
5
  let n;
@@ -45,41 +45,41 @@ function Xn() {
45
45
  return !this.__axis;
46
46
  }
47
47
  function qe(t, e) {
48
- var n = [], r = null, i = null, s = 6, l = 6, m = 3, M = typeof window < "u" && window.devicePixelRatio > 1 ? 0 : 0.5, h = t === Nt || t === Bt ? -1 : 1, w = t === Bt || t === Rt ? "x" : "y", S = t === Nt || t === le ? Gn : Zn;
49
- function v(b) {
50
- var V = r ?? (e.ticks ? e.ticks.apply(e, n) : e.domain()), g = i ?? (e.tickFormat ? e.tickFormat.apply(e, n) : Vn), F = Math.max(s, 0) + m, W = e.range(), H = +W[0] + M, B = +W[W.length - 1] + M, N = (e.bandwidth ? jn : qn)(e.copy(), M), X = b.selection ? b.selection() : b, x = X.selectAll(".domain").data([null]), L = X.selectAll(".tick").data(V, e).order(), k = L.exit(), $ = L.enter().append("g").attr("class", "tick"), _ = L.select("line"), p = L.select("text");
51
- x = x.merge(x.enter().insert("path", ".tick").attr("class", "domain").attr("stroke", "currentColor")), L = L.merge($), _ = _.merge($.append("line").attr("stroke", "currentColor").attr(w + "2", h * s)), p = p.merge($.append("text").attr("fill", "currentColor").attr(w, h * F).attr("dy", t === Nt ? "0em" : t === le ? "0.71em" : "0.32em")), b !== X && (x = x.transition(b), L = L.transition(b), _ = _.transition(b), p = p.transition(b), k = k.transition(b).attr("opacity", $e).attr("transform", function(o) {
52
- return isFinite(o = N(o)) ? S(o + M) : this.getAttribute("transform");
53
- }), $.attr("opacity", $e).attr("transform", function(o) {
48
+ var n = [], r = null, i = null, s = 6, l = 6, g = 3, M = typeof window < "u" && window.devicePixelRatio > 1 ? 0 : 0.5, m = t === Nt || t === Bt ? -1 : 1, D = t === Bt || t === Rt ? "x" : "y", $ = t === Nt || t === le ? Gn : Zn;
49
+ function w(v) {
50
+ var V = r ?? (e.ticks ? e.ticks.apply(e, n) : e.domain()), h = i ?? (e.tickFormat ? e.tickFormat.apply(e, n) : Vn), F = Math.max(s, 0) + g, W = e.range(), H = +W[0] + M, B = +W[W.length - 1] + M, N = (e.bandwidth ? jn : qn)(e.copy(), M), X = v.selection ? v.selection() : v, b = X.selectAll(".domain").data([null]), L = X.selectAll(".tick").data(V, e).order(), p = L.exit(), S = L.enter().append("g").attr("class", "tick"), _ = L.select("line"), k = L.select("text");
51
+ b = b.merge(b.enter().insert("path", ".tick").attr("class", "domain").attr("stroke", "currentColor")), L = L.merge(S), _ = _.merge(S.append("line").attr("stroke", "currentColor").attr(D + "2", m * s)), k = k.merge(S.append("text").attr("fill", "currentColor").attr(D, m * F).attr("dy", t === Nt ? "0em" : t === le ? "0.71em" : "0.32em")), v !== X && (b = b.transition(v), L = L.transition(v), _ = _.transition(v), k = k.transition(v), p = p.transition(v).attr("opacity", $e).attr("transform", function(o) {
52
+ return isFinite(o = N(o)) ? $(o + M) : this.getAttribute("transform");
53
+ }), S.attr("opacity", $e).attr("transform", function(o) {
54
54
  var f = this.parentNode.__axis;
55
- return S((f && isFinite(f = f(o)) ? f : N(o)) + M);
56
- })), k.remove(), x.attr("d", t === Bt || t === Rt ? l ? "M" + h * l + "," + H + "H" + M + "V" + B + "H" + h * l : "M" + M + "," + H + "V" + B : l ? "M" + H + "," + h * l + "V" + M + "H" + B + "V" + h * l : "M" + H + "," + M + "H" + B), L.attr("opacity", 1).attr("transform", function(o) {
57
- return S(N(o) + M);
58
- }), _.attr(w + "2", h * s), p.attr(w, h * F).text(g), X.filter(Xn).attr("fill", "none").attr("font-size", 10).attr("font-family", "sans-serif").attr("text-anchor", t === Rt ? "start" : t === Bt ? "end" : "middle"), X.each(function() {
55
+ return $((f && isFinite(f = f(o)) ? f : N(o)) + M);
56
+ })), p.remove(), b.attr("d", t === Bt || t === Rt ? l ? "M" + m * l + "," + H + "H" + M + "V" + B + "H" + m * l : "M" + M + "," + H + "V" + B : l ? "M" + H + "," + m * l + "V" + M + "H" + B + "V" + m * l : "M" + H + "," + M + "H" + B), L.attr("opacity", 1).attr("transform", function(o) {
57
+ return $(N(o) + M);
58
+ }), _.attr(D + "2", m * s), k.attr(D, m * F).text(h), X.filter(Xn).attr("fill", "none").attr("font-size", 10).attr("font-family", "sans-serif").attr("text-anchor", t === Rt ? "start" : t === Bt ? "end" : "middle"), X.each(function() {
59
59
  this.__axis = N;
60
60
  });
61
61
  }
62
- return v.scale = function(b) {
63
- return arguments.length ? (e = b, v) : e;
64
- }, v.ticks = function() {
65
- return n = Array.from(arguments), v;
66
- }, v.tickArguments = function(b) {
67
- return arguments.length ? (n = b == null ? [] : Array.from(b), v) : n.slice();
68
- }, v.tickValues = function(b) {
69
- return arguments.length ? (r = b == null ? null : Array.from(b), v) : r && r.slice();
70
- }, v.tickFormat = function(b) {
71
- return arguments.length ? (i = b, v) : i;
72
- }, v.tickSize = function(b) {
73
- return arguments.length ? (s = l = +b, v) : s;
74
- }, v.tickSizeInner = function(b) {
75
- return arguments.length ? (s = +b, v) : s;
76
- }, v.tickSizeOuter = function(b) {
77
- return arguments.length ? (l = +b, v) : l;
78
- }, v.tickPadding = function(b) {
79
- return arguments.length ? (m = +b, v) : m;
80
- }, v.offset = function(b) {
81
- return arguments.length ? (M = +b, v) : M;
82
- }, v;
62
+ return w.scale = function(v) {
63
+ return arguments.length ? (e = v, w) : e;
64
+ }, w.ticks = function() {
65
+ return n = Array.from(arguments), w;
66
+ }, w.tickArguments = function(v) {
67
+ return arguments.length ? (n = v == null ? [] : Array.from(v), w) : n.slice();
68
+ }, w.tickValues = function(v) {
69
+ return arguments.length ? (r = v == null ? null : Array.from(v), w) : r && r.slice();
70
+ }, w.tickFormat = function(v) {
71
+ return arguments.length ? (i = v, w) : i;
72
+ }, w.tickSize = function(v) {
73
+ return arguments.length ? (s = l = +v, w) : s;
74
+ }, w.tickSizeInner = function(v) {
75
+ return arguments.length ? (s = +v, w) : s;
76
+ }, w.tickSizeOuter = function(v) {
77
+ return arguments.length ? (l = +v, w) : l;
78
+ }, w.tickPadding = function(v) {
79
+ return arguments.length ? (g = +v, w) : g;
80
+ }, w.offset = function(v) {
81
+ return arguments.length ? (M = +v, w) : M;
82
+ }, w;
83
83
  }
84
84
  function Qn(t) {
85
85
  return qe(Nt, t);
@@ -87,13 +87,13 @@ function Qn(t) {
87
87
  function Kn(t) {
88
88
  return qe(le, t);
89
89
  }
90
- const Jn = Math.PI / 180, Rn = 180 / Math.PI, qt = 18, je = 0.96422, Xe = 1, Qe = 0.82521, Ke = 4 / 29, Dt = 6 / 29, Je = 3 * Dt * Dt, tr = Dt * Dt * Dt;
90
+ const Jn = Math.PI / 180, Rn = 180 / Math.PI, qt = 18, je = 0.96422, Xe = 1, Qe = 0.82521, Ke = 4 / 29, Ct = 6 / 29, Je = 3 * Ct * Ct, tr = Ct * Ct * Ct;
91
91
  function Re(t) {
92
92
  if (t instanceof it)
93
93
  return new it(t.l, t.a, t.b, t.opacity);
94
94
  if (t instanceof ct)
95
95
  return tn(t);
96
- t instanceof Ge || (t = Yn(t));
96
+ t instanceof Ge || (t = An(t));
97
97
  var e = re(t.r), n = re(t.g), r = re(t.b), i = te((0.2225045 * e + 0.7168786 * n + 0.0606169 * r) / Xe), s, l;
98
98
  return e === n && n === r ? s = l = i : (s = te((0.4360747 * e + 0.3850649 * n + 0.1430804 * r) / je), l = te((0.0139322 * e + 0.0971045 * n + 0.7141733 * r) / Qe)), new it(116 * i - 16, 500 * (s - i), 200 * (i - l), t.opacity);
99
99
  }
@@ -124,7 +124,7 @@ function te(t) {
124
124
  return t > tr ? Math.pow(t, 1 / 3) : t / Je + Ke;
125
125
  }
126
126
  function ee(t) {
127
- return t > Dt ? t * t * t : Je * (t - Ke);
127
+ return t > Ct ? t * t * t : Je * (t - Ke);
128
128
  }
129
129
  function ne(t) {
130
130
  return 255 * (t <= 31308e-7 ? 12.92 * t : 1.055 * Math.pow(t, 1 / 2.4) - 0.055);
@@ -166,8 +166,8 @@ Ne(ct, ue, Ve(Ze, {
166
166
  function rr(t) {
167
167
  return function(e, n) {
168
168
  var r = t((e = ue(e)).h, (n = ue(n)).h), i = Jt(e.c, n.c), s = Jt(e.l, n.l), l = Jt(e.opacity, n.opacity);
169
- return function(m) {
170
- return e.h = r(m), e.c = i(m), e.l = s(m), e.opacity = l(m), e + "";
169
+ return function(g) {
170
+ return e.h = r(g), e.c = i(g), e.l = s(g), e.opacity = l(g), e + "";
171
171
  };
172
172
  };
173
173
  }
@@ -183,44 +183,44 @@ function K(t, e, n, r) {
183
183
  return t(s = arguments.length === 0 ? /* @__PURE__ */ new Date() : /* @__PURE__ */ new Date(+s)), s;
184
184
  }
185
185
  return i.floor = (s) => (t(s = /* @__PURE__ */ new Date(+s)), s), i.ceil = (s) => (t(s = new Date(s - 1)), e(s, 1), t(s), s), i.round = (s) => {
186
- const l = i(s), m = i.ceil(s);
187
- return s - l < m - s ? l : m;
188
- }, i.offset = (s, l) => (e(s = /* @__PURE__ */ new Date(+s), l == null ? 1 : Math.floor(l)), s), i.range = (s, l, m) => {
186
+ const l = i(s), g = i.ceil(s);
187
+ return s - l < g - s ? l : g;
188
+ }, i.offset = (s, l) => (e(s = /* @__PURE__ */ new Date(+s), l == null ? 1 : Math.floor(l)), s), i.range = (s, l, g) => {
189
189
  const M = [];
190
- if (s = i.ceil(s), m = m == null ? 1 : Math.floor(m), !(s < l) || !(m > 0))
190
+ if (s = i.ceil(s), g = g == null ? 1 : Math.floor(g), !(s < l) || !(g > 0))
191
191
  return M;
192
- let h;
192
+ let m;
193
193
  do
194
- M.push(h = /* @__PURE__ */ new Date(+s)), e(s, m), t(s);
195
- while (h < s && s < l);
194
+ M.push(m = /* @__PURE__ */ new Date(+s)), e(s, g), t(s);
195
+ while (m < s && s < l);
196
196
  return M;
197
197
  }, i.filter = (s) => K((l) => {
198
198
  if (l >= l)
199
199
  for (; t(l), !s(l); )
200
200
  l.setTime(l - 1);
201
- }, (l, m) => {
201
+ }, (l, g) => {
202
202
  if (l >= l)
203
- if (m < 0)
204
- for (; ++m <= 0; )
203
+ if (g < 0)
204
+ for (; ++g <= 0; )
205
205
  for (; e(l, -1), !s(l); )
206
206
  ;
207
207
  else
208
- for (; --m >= 0; )
208
+ for (; --g >= 0; )
209
209
  for (; e(l, 1), !s(l); )
210
210
  ;
211
211
  }), n && (i.count = (s, l) => (ie.setTime(+s), se.setTime(+l), t(ie), t(se), Math.floor(n(ie, se))), i.every = (s) => (s = Math.floor(s), !isFinite(s) || !(s > 0) ? null : s > 1 ? i.filter(r ? (l) => r(l) % s === 0 : (l) => i.count(0, l) % s === 0) : i)), i;
212
212
  }
213
- const Mt = K(() => {
213
+ const _t = K(() => {
214
214
  }, (t, e) => {
215
215
  t.setTime(+t + e);
216
216
  }, (t, e) => e - t);
217
- Mt.every = (t) => (t = Math.floor(t), !isFinite(t) || !(t > 0) ? null : t > 1 ? K((e) => {
217
+ _t.every = (t) => (t = Math.floor(t), !isFinite(t) || !(t > 0) ? null : t > 1 ? K((e) => {
218
218
  e.setTime(Math.floor(e / t) * t);
219
219
  }, (e, n) => {
220
220
  e.setTime(+e + n * t);
221
- }, (e, n) => (n - e) / t) : Mt);
222
- Mt.range;
223
- const lt = 1e3, et = lt * 60, ut = et * 60, dt = ut * 24, ke = dt * 7, Ye = dt * 30, ae = dt * 365, gt = K((t) => {
221
+ }, (e, n) => (n - e) / t) : _t);
222
+ _t.range;
223
+ const lt = 1e3, et = lt * 60, ut = et * 60, dt = ut * 24, pe = dt * 7, Ae = dt * 30, ae = dt * 365, gt = K((t) => {
224
224
  t.setTime(t - t.getMilliseconds());
225
225
  }, (t, e) => {
226
226
  t.setTime(+t + e * lt);
@@ -250,19 +250,19 @@ const or = K((t) => {
250
250
  t.setTime(+t + e * ut);
251
251
  }, (t, e) => (e - t) / ut, (t) => t.getUTCHours());
252
252
  or.range;
253
- const kt = K(
253
+ const pt = K(
254
254
  (t) => t.setHours(0, 0, 0, 0),
255
255
  (t, e) => t.setDate(t.getDate() + e),
256
256
  (t, e) => (e - t - (e.getTimezoneOffset() - t.getTimezoneOffset()) * et) / dt,
257
257
  (t) => t.getDate() - 1
258
258
  );
259
- kt.range;
260
- const pe = K((t) => {
259
+ pt.range;
260
+ const ke = K((t) => {
261
261
  t.setUTCHours(0, 0, 0, 0);
262
262
  }, (t, e) => {
263
263
  t.setUTCDate(t.getUTCDate() + e);
264
264
  }, (t, e) => (e - t) / dt, (t) => t.getUTCDate() - 1);
265
- pe.range;
265
+ ke.range;
266
266
  const cr = K((t) => {
267
267
  t.setUTCHours(0, 0, 0, 0);
268
268
  }, (t, e) => {
@@ -274,14 +274,14 @@ function vt(t) {
274
274
  e.setDate(e.getDate() - (e.getDay() + 7 - t) % 7), e.setHours(0, 0, 0, 0);
275
275
  }, (e, n) => {
276
276
  e.setDate(e.getDate() + n * 7);
277
- }, (e, n) => (n - e - (n.getTimezoneOffset() - e.getTimezoneOffset()) * et) / ke);
277
+ }, (e, n) => (n - e - (n.getTimezoneOffset() - e.getTimezoneOffset()) * et) / pe);
278
278
  }
279
- const It = vt(0), Et = vt(1), en = vt(2), nn = vt(3), pt = vt(4), rn = vt(5), sn = vt(6);
279
+ const It = vt(0), Et = vt(1), en = vt(2), nn = vt(3), kt = vt(4), rn = vt(5), sn = vt(6);
280
280
  It.range;
281
281
  Et.range;
282
282
  en.range;
283
283
  nn.range;
284
- pt.range;
284
+ kt.range;
285
285
  rn.range;
286
286
  sn.range;
287
287
  function bt(t) {
@@ -289,7 +289,7 @@ function bt(t) {
289
289
  e.setUTCDate(e.getUTCDate() - (e.getUTCDay() + 7 - t) % 7), e.setUTCHours(0, 0, 0, 0);
290
290
  }, (e, n) => {
291
291
  e.setUTCDate(e.getUTCDate() + n * 7);
292
- }, (e, n) => (n - e) / ke);
292
+ }, (e, n) => (n - e) / pe);
293
293
  }
294
294
  const an = bt(0), jt = bt(1), lr = bt(2), ur = bt(3), St = bt(4), dr = bt(5), fr = bt(6);
295
295
  an.range;
@@ -349,29 +349,29 @@ function gr(t, e, n, r, i, s) {
349
349
  [i, 12, 12 * ut],
350
350
  [r, 1, dt],
351
351
  [r, 2, 2 * dt],
352
- [n, 1, ke],
353
- [e, 1, Ye],
354
- [e, 3, 3 * Ye],
352
+ [n, 1, pe],
353
+ [e, 1, Ae],
354
+ [e, 3, 3 * Ae],
355
355
  [t, 1, ae]
356
356
  ];
357
- function m(h, w, S) {
358
- const v = w < h;
359
- v && ([h, w] = [w, h]);
360
- const b = S && typeof S.range == "function" ? S : M(h, w, S), V = b ? b.range(h, +w + 1) : [];
361
- return v ? V.reverse() : V;
362
- }
363
- function M(h, w, S) {
364
- const v = Math.abs(w - h) / S, b = zn(([, , F]) => F).right(l, v);
365
- if (b === l.length)
366
- return t.every(Se(h / ae, w / ae, S));
367
- if (b === 0)
368
- return Mt.every(Math.max(Se(h, w, S), 1));
369
- const [V, g] = l[v / l[b - 1][2] < l[b][2] / v ? b - 1 : b];
370
- return V.every(g);
371
- }
372
- return [m, M];
373
- }
374
- const [mr, yr] = gr(ft, Ot, It, kt, Lt, Ut);
357
+ function g(m, D, $) {
358
+ const w = D < m;
359
+ w && ([m, D] = [D, m]);
360
+ const v = $ && typeof $.range == "function" ? $ : M(m, D, $), V = v ? v.range(m, +D + 1) : [];
361
+ return w ? V.reverse() : V;
362
+ }
363
+ function M(m, D, $) {
364
+ const w = Math.abs(D - m) / $, v = zn(([, , F]) => F).right(l, w);
365
+ if (v === l.length)
366
+ return t.every(Me(m / ae, D / ae, $));
367
+ if (v === 0)
368
+ return _t.every(Math.max(Me(m, D, $), 1));
369
+ const [V, h] = l[w / l[v - 1][2] < l[v][2] / w ? v - 1 : v];
370
+ return V.every(h);
371
+ }
372
+ return [g, M];
373
+ }
374
+ const [mr, yr] = gr(ft, Ot, It, pt, Lt, Ut);
375
375
  function oe(t) {
376
376
  if (0 <= t.y && t.y < 100) {
377
377
  var e = new Date(-1, t.m, t.d, t.H, t.M, t.S, t.L);
@@ -386,14 +386,14 @@ function ce(t) {
386
386
  }
387
387
  return new Date(Date.UTC(t.y, t.m, t.d, t.H, t.M, t.S, t.L));
388
388
  }
389
- function Yt(t, e, n) {
389
+ function At(t, e, n) {
390
390
  return { y: t, m: e, d: n, H: 0, M: 0, S: 0, L: 0 };
391
391
  }
392
- function kr(t) {
393
- var e = t.dateTime, n = t.date, r = t.time, i = t.periods, s = t.days, l = t.shortDays, m = t.months, M = t.shortMonths, h = At(i), w = Ft(i), S = At(s), v = Ft(s), b = At(l), V = Ft(l), g = At(m), F = Ft(m), W = At(M), H = Ft(M), B = {
392
+ function pr(t) {
393
+ var e = t.dateTime, n = t.date, r = t.time, i = t.periods, s = t.days, l = t.shortDays, g = t.months, M = t.shortMonths, m = Yt(i), D = Ft(i), $ = Yt(s), w = Ft(s), v = Yt(l), V = Ft(l), h = Yt(g), F = Ft(g), W = Yt(M), H = Ft(M), B = {
394
394
  a: O,
395
395
  A: a,
396
- b: D,
396
+ b: C,
397
397
  B: E,
398
398
  c: null,
399
399
  d: Oe,
@@ -425,7 +425,7 @@ function kr(t) {
425
425
  "%": He
426
426
  }, N = {
427
427
  a: G,
428
- A,
428
+ A: Y,
429
429
  b: tt,
430
430
  B: st,
431
431
  c: null,
@@ -458,7 +458,7 @@ function kr(t) {
458
458
  "%": He
459
459
  }, X = {
460
460
  a: _,
461
- A: p,
461
+ A: k,
462
462
  b: o,
463
463
  B: f,
464
464
  c: u,
@@ -471,13 +471,13 @@ function kr(t) {
471
471
  I: Ee,
472
472
  j: $r,
473
473
  L: Fr,
474
- m: Sr,
475
- M: Yr,
476
- p: $,
477
- q: Mr,
474
+ m: Mr,
475
+ M: Ar,
476
+ p: S,
477
+ q: Sr,
478
478
  Q: Er,
479
479
  s: Or,
480
- S: Ar,
480
+ S: Yr,
481
481
  u: xr,
482
482
  U: wr,
483
483
  V: Cr,
@@ -490,73 +490,73 @@ function kr(t) {
490
490
  Z: _r,
491
491
  "%": Lr
492
492
  };
493
- B.x = x(n, B), B.X = x(r, B), B.c = x(e, B), N.x = x(n, N), N.X = x(r, N), N.c = x(e, N);
494
- function x(y, C) {
495
- return function(Y) {
493
+ B.x = b(n, B), B.X = b(r, B), B.c = b(e, B), N.x = b(n, N), N.X = b(r, N), N.c = b(e, N);
494
+ function b(y, x) {
495
+ return function(A) {
496
496
  var d = [], q = -1, I = 0, j = y.length, Z, nt, yt;
497
- for (Y instanceof Date || (Y = /* @__PURE__ */ new Date(+Y)); ++q < j; )
498
- y.charCodeAt(q) === 37 && (d.push(y.slice(I, q)), (nt = Ae[Z = y.charAt(++q)]) != null ? Z = y.charAt(++q) : nt = Z === "e" ? " " : "0", (yt = C[Z]) && (Z = yt(Y, nt)), d.push(Z), I = q + 1);
497
+ for (A instanceof Date || (A = /* @__PURE__ */ new Date(+A)); ++q < j; )
498
+ y.charCodeAt(q) === 37 && (d.push(y.slice(I, q)), (nt = Ye[Z = y.charAt(++q)]) != null ? Z = y.charAt(++q) : nt = Z === "e" ? " " : "0", (yt = x[Z]) && (Z = yt(A, nt)), d.push(Z), I = q + 1);
499
499
  return d.push(y.slice(I, q)), d.join("");
500
500
  };
501
501
  }
502
- function L(y, C) {
503
- return function(Y) {
504
- var d = Yt(1900, void 0, 1), q = k(d, y, Y += "", 0), I, j;
505
- if (q != Y.length)
502
+ function L(y, x) {
503
+ return function(A) {
504
+ var d = At(1900, void 0, 1), q = p(d, y, A += "", 0), I, j;
505
+ if (q != A.length)
506
506
  return null;
507
507
  if ("Q" in d)
508
508
  return new Date(d.Q);
509
509
  if ("s" in d)
510
510
  return new Date(d.s * 1e3 + ("L" in d ? d.L : 0));
511
- if (C && !("Z" in d) && (d.Z = 0), "p" in d && (d.H = d.H % 12 + d.p * 12), d.m === void 0 && (d.m = "q" in d ? d.q : 0), "V" in d) {
511
+ if (x && !("Z" in d) && (d.Z = 0), "p" in d && (d.H = d.H % 12 + d.p * 12), d.m === void 0 && (d.m = "q" in d ? d.q : 0), "V" in d) {
512
512
  if (d.V < 1 || d.V > 53)
513
513
  return null;
514
- "w" in d || (d.w = 1), "Z" in d ? (I = ce(Yt(d.y, 0, 1)), j = I.getUTCDay(), I = j > 4 || j === 0 ? jt.ceil(I) : jt(I), I = pe.offset(I, (d.V - 1) * 7), d.y = I.getUTCFullYear(), d.m = I.getUTCMonth(), d.d = I.getUTCDate() + (d.w + 6) % 7) : (I = oe(Yt(d.y, 0, 1)), j = I.getDay(), I = j > 4 || j === 0 ? Et.ceil(I) : Et(I), I = kt.offset(I, (d.V - 1) * 7), d.y = I.getFullYear(), d.m = I.getMonth(), d.d = I.getDate() + (d.w + 6) % 7);
514
+ "w" in d || (d.w = 1), "Z" in d ? (I = ce(At(d.y, 0, 1)), j = I.getUTCDay(), I = j > 4 || j === 0 ? jt.ceil(I) : jt(I), I = ke.offset(I, (d.V - 1) * 7), d.y = I.getUTCFullYear(), d.m = I.getUTCMonth(), d.d = I.getUTCDate() + (d.w + 6) % 7) : (I = oe(At(d.y, 0, 1)), j = I.getDay(), I = j > 4 || j === 0 ? Et.ceil(I) : Et(I), I = pt.offset(I, (d.V - 1) * 7), d.y = I.getFullYear(), d.m = I.getMonth(), d.d = I.getDate() + (d.w + 6) % 7);
515
515
  } else
516
- ("W" in d || "U" in d) && ("w" in d || (d.w = "u" in d ? d.u % 7 : "W" in d ? 1 : 0), j = "Z" in d ? ce(Yt(d.y, 0, 1)).getUTCDay() : oe(Yt(d.y, 0, 1)).getDay(), d.m = 0, d.d = "W" in d ? (d.w + 6) % 7 + d.W * 7 - (j + 5) % 7 : d.w + d.U * 7 - (j + 6) % 7);
516
+ ("W" in d || "U" in d) && ("w" in d || (d.w = "u" in d ? d.u % 7 : "W" in d ? 1 : 0), j = "Z" in d ? ce(At(d.y, 0, 1)).getUTCDay() : oe(At(d.y, 0, 1)).getDay(), d.m = 0, d.d = "W" in d ? (d.w + 6) % 7 + d.W * 7 - (j + 5) % 7 : d.w + d.U * 7 - (j + 6) % 7);
517
517
  return "Z" in d ? (d.H += d.Z / 100 | 0, d.M += d.Z % 100, ce(d)) : oe(d);
518
518
  };
519
519
  }
520
- function k(y, C, Y, d) {
521
- for (var q = 0, I = C.length, j = Y.length, Z, nt; q < I; ) {
520
+ function p(y, x, A, d) {
521
+ for (var q = 0, I = x.length, j = A.length, Z, nt; q < I; ) {
522
522
  if (d >= j)
523
523
  return -1;
524
- if (Z = C.charCodeAt(q++), Z === 37) {
525
- if (Z = C.charAt(q++), nt = X[Z in Ae ? C.charAt(q++) : Z], !nt || (d = nt(y, Y, d)) < 0)
524
+ if (Z = x.charCodeAt(q++), Z === 37) {
525
+ if (Z = x.charAt(q++), nt = X[Z in Ye ? x.charAt(q++) : Z], !nt || (d = nt(y, A, d)) < 0)
526
526
  return -1;
527
- } else if (Z != Y.charCodeAt(d++))
527
+ } else if (Z != A.charCodeAt(d++))
528
528
  return -1;
529
529
  }
530
530
  return d;
531
531
  }
532
- function $(y, C, Y) {
533
- var d = h.exec(C.slice(Y));
534
- return d ? (y.p = w.get(d[0].toLowerCase()), Y + d[0].length) : -1;
532
+ function S(y, x, A) {
533
+ var d = m.exec(x.slice(A));
534
+ return d ? (y.p = D.get(d[0].toLowerCase()), A + d[0].length) : -1;
535
535
  }
536
- function _(y, C, Y) {
537
- var d = b.exec(C.slice(Y));
538
- return d ? (y.w = V.get(d[0].toLowerCase()), Y + d[0].length) : -1;
536
+ function _(y, x, A) {
537
+ var d = v.exec(x.slice(A));
538
+ return d ? (y.w = V.get(d[0].toLowerCase()), A + d[0].length) : -1;
539
539
  }
540
- function p(y, C, Y) {
541
- var d = S.exec(C.slice(Y));
542
- return d ? (y.w = v.get(d[0].toLowerCase()), Y + d[0].length) : -1;
540
+ function k(y, x, A) {
541
+ var d = $.exec(x.slice(A));
542
+ return d ? (y.w = w.get(d[0].toLowerCase()), A + d[0].length) : -1;
543
543
  }
544
- function o(y, C, Y) {
545
- var d = W.exec(C.slice(Y));
546
- return d ? (y.m = H.get(d[0].toLowerCase()), Y + d[0].length) : -1;
544
+ function o(y, x, A) {
545
+ var d = W.exec(x.slice(A));
546
+ return d ? (y.m = H.get(d[0].toLowerCase()), A + d[0].length) : -1;
547
547
  }
548
- function f(y, C, Y) {
549
- var d = g.exec(C.slice(Y));
550
- return d ? (y.m = F.get(d[0].toLowerCase()), Y + d[0].length) : -1;
548
+ function f(y, x, A) {
549
+ var d = h.exec(x.slice(A));
550
+ return d ? (y.m = F.get(d[0].toLowerCase()), A + d[0].length) : -1;
551
551
  }
552
- function u(y, C, Y) {
553
- return k(y, e, C, Y);
552
+ function u(y, x, A) {
553
+ return p(y, e, x, A);
554
554
  }
555
- function T(y, C, Y) {
556
- return k(y, n, C, Y);
555
+ function T(y, x, A) {
556
+ return p(y, n, x, A);
557
557
  }
558
- function c(y, C, Y) {
559
- return k(y, r, C, Y);
558
+ function c(y, x, A) {
559
+ return p(y, r, x, A);
560
560
  }
561
561
  function O(y) {
562
562
  return l[y.getDay()];
@@ -564,11 +564,11 @@ function kr(t) {
564
564
  function a(y) {
565
565
  return s[y.getDay()];
566
566
  }
567
- function D(y) {
567
+ function C(y) {
568
568
  return M[y.getMonth()];
569
569
  }
570
570
  function E(y) {
571
- return m[y.getMonth()];
571
+ return g[y.getMonth()];
572
572
  }
573
573
  function P(y) {
574
574
  return i[+(y.getHours() >= 12)];
@@ -579,14 +579,14 @@ function kr(t) {
579
579
  function G(y) {
580
580
  return l[y.getUTCDay()];
581
581
  }
582
- function A(y) {
582
+ function Y(y) {
583
583
  return s[y.getUTCDay()];
584
584
  }
585
585
  function tt(y) {
586
586
  return M[y.getUTCMonth()];
587
587
  }
588
588
  function st(y) {
589
- return m[y.getUTCMonth()];
589
+ return g[y.getUTCMonth()];
590
590
  }
591
591
  function ht(y) {
592
592
  return i[+(y.getUTCHours() >= 12)];
@@ -596,32 +596,32 @@ function kr(t) {
596
596
  }
597
597
  return {
598
598
  format: function(y) {
599
- var C = x(y += "", B);
600
- return C.toString = function() {
599
+ var x = b(y += "", B);
600
+ return x.toString = function() {
601
601
  return y;
602
- }, C;
602
+ }, x;
603
603
  },
604
604
  parse: function(y) {
605
- var C = L(y += "", !1);
606
- return C.toString = function() {
605
+ var x = L(y += "", !1);
606
+ return x.toString = function() {
607
607
  return y;
608
- }, C;
608
+ }, x;
609
609
  },
610
610
  utcFormat: function(y) {
611
- var C = x(y += "", N);
612
- return C.toString = function() {
611
+ var x = b(y += "", N);
612
+ return x.toString = function() {
613
613
  return y;
614
- }, C;
614
+ }, x;
615
615
  },
616
616
  utcParse: function(y) {
617
- var C = L(y += "", !0);
618
- return C.toString = function() {
617
+ var x = L(y += "", !0);
618
+ return x.toString = function() {
619
619
  return y;
620
- }, C;
620
+ }, x;
621
621
  }
622
622
  };
623
623
  }
624
- var Ae = { "-": "", _: " ", 0: "0" }, J = /^\s*\d+/, pr = /^%/, Tr = /[\\^$*+?|[\]().{}]/g;
624
+ var Ye = { "-": "", _: " ", 0: "0" }, J = /^\s*\d+/, kr = /^%/, Tr = /[\\^$*+?|[\]().{}]/g;
625
625
  function z(t, e, n) {
626
626
  var r = t < 0 ? "-" : "", i = (r ? -t : t) + "", s = i.length;
627
627
  return r + (s < n ? new Array(n - s + 1).join(e) + i : i);
@@ -629,7 +629,7 @@ function z(t, e, n) {
629
629
  function vr(t) {
630
630
  return t.replace(Tr, "\\$&");
631
631
  }
632
- function At(t) {
632
+ function Yt(t) {
633
633
  return new RegExp("^(?:" + t.map(vr).join("|") + ")", "i");
634
634
  }
635
635
  function Ft(t) {
@@ -667,11 +667,11 @@ function _r(t, e, n) {
667
667
  var r = /^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(e.slice(n, n + 6));
668
668
  return r ? (t.Z = r[1] ? 0 : -(r[2] + (r[3] || "00")), n + r[0].length) : -1;
669
669
  }
670
- function Mr(t, e, n) {
670
+ function Sr(t, e, n) {
671
671
  var r = J.exec(e.slice(n, n + 1));
672
672
  return r ? (t.q = r[0] * 3 - 3, n + r[0].length) : -1;
673
673
  }
674
- function Sr(t, e, n) {
674
+ function Mr(t, e, n) {
675
675
  var r = J.exec(e.slice(n, n + 2));
676
676
  return r ? (t.m = r[0] - 1, n + r[0].length) : -1;
677
677
  }
@@ -687,11 +687,11 @@ function Ee(t, e, n) {
687
687
  var r = J.exec(e.slice(n, n + 2));
688
688
  return r ? (t.H = +r[0], n + r[0].length) : -1;
689
689
  }
690
- function Yr(t, e, n) {
690
+ function Ar(t, e, n) {
691
691
  var r = J.exec(e.slice(n, n + 2));
692
692
  return r ? (t.M = +r[0], n + r[0].length) : -1;
693
693
  }
694
- function Ar(t, e, n) {
694
+ function Yr(t, e, n) {
695
695
  var r = J.exec(e.slice(n, n + 2));
696
696
  return r ? (t.S = +r[0], n + r[0].length) : -1;
697
697
  }
@@ -704,7 +704,7 @@ function Ur(t, e, n) {
704
704
  return r ? (t.L = Math.floor(r[0] / 1e3), n + r[0].length) : -1;
705
705
  }
706
706
  function Lr(t, e, n) {
707
- var r = pr.exec(e.slice(n, n + 1));
707
+ var r = kr.exec(e.slice(n, n + 1));
708
708
  return r ? n + r[0].length : -1;
709
709
  }
710
710
  function Er(t, e, n) {
@@ -725,7 +725,7 @@ function Hr(t, e) {
725
725
  return z(t.getHours() % 12 || 12, e, 2);
726
726
  }
727
727
  function Wr(t, e) {
728
- return z(1 + kt.count(ft(t), t), e, 3);
728
+ return z(1 + pt.count(ft(t), t), e, 3);
729
729
  }
730
730
  function on(t, e) {
731
731
  return z(t.getMilliseconds(), e, 3);
@@ -751,10 +751,10 @@ function Gr(t, e) {
751
751
  }
752
752
  function cn(t) {
753
753
  var e = t.getDay();
754
- return e >= 4 || e === 0 ? pt(t) : pt.ceil(t);
754
+ return e >= 4 || e === 0 ? kt(t) : kt.ceil(t);
755
755
  }
756
756
  function Zr(t, e) {
757
- return t = cn(t), z(pt.count(ft(t), t) + (ft(t).getDay() === 4), e, 2);
757
+ return t = cn(t), z(kt.count(ft(t), t) + (ft(t).getDay() === 4), e, 2);
758
758
  }
759
759
  function qr(t) {
760
760
  return t.getDay();
@@ -773,7 +773,7 @@ function Kr(t, e) {
773
773
  }
774
774
  function Jr(t, e) {
775
775
  var n = t.getDay();
776
- return t = n >= 4 || n === 0 ? pt(t) : pt.ceil(t), z(t.getFullYear() % 1e4, e, 4);
776
+ return t = n >= 4 || n === 0 ? kt(t) : kt.ceil(t), z(t.getFullYear() % 1e4, e, 4);
777
777
  }
778
778
  function Rr(t) {
779
779
  var e = t.getTimezoneOffset();
@@ -789,7 +789,7 @@ function ei(t, e) {
789
789
  return z(t.getUTCHours() % 12 || 12, e, 2);
790
790
  }
791
791
  function ni(t, e) {
792
- return z(1 + pe.count(Tt(t), t), e, 3);
792
+ return z(1 + ke.count(Tt(t), t), e, 3);
793
793
  }
794
794
  function ln(t, e) {
795
795
  return z(t.getUTCMilliseconds(), e, 3);
@@ -851,8 +851,8 @@ function We(t) {
851
851
  function ze(t) {
852
852
  return Math.floor(+t / 1e3);
853
853
  }
854
- var wt, Xt;
855
- ki({
854
+ var xt, Xt;
855
+ pi({
856
856
  dateTime: "%x, %X",
857
857
  date: "%-m/%-d/%Y",
858
858
  time: "%-I:%M:%S %p",
@@ -862,38 +862,38 @@ ki({
862
862
  months: ["January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December"],
863
863
  shortMonths: ["Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"]
864
864
  });
865
- function ki(t) {
866
- return wt = kr(t), Xt = wt.format, wt.parse, wt.utcFormat, wt.utcParse, wt;
867
- }
868
865
  function pi(t) {
866
+ return xt = pr(t), Xt = xt.format, xt.parse, xt.utcFormat, xt.utcParse, xt;
867
+ }
868
+ function ki(t) {
869
869
  return new Date(t);
870
870
  }
871
871
  function Ti(t) {
872
872
  return t instanceof Date ? +t : +/* @__PURE__ */ new Date(+t);
873
873
  }
874
- function dn(t, e, n, r, i, s, l, m, M, h) {
875
- var w = Hn(), S = w.invert, v = w.domain, b = h(".%L"), V = h(":%S"), g = h("%I:%M"), F = h("%I %p"), W = h("%a %d"), H = h("%b %d"), B = h("%B"), N = h("%Y");
876
- function X(x) {
877
- return (M(x) < x ? b : m(x) < x ? V : l(x) < x ? g : s(x) < x ? F : r(x) < x ? i(x) < x ? W : H : n(x) < x ? B : N)(x);
878
- }
879
- return w.invert = function(x) {
880
- return new Date(S(x));
881
- }, w.domain = function(x) {
882
- return arguments.length ? v(Array.from(x, Ti)) : v().map(pi);
883
- }, w.ticks = function(x) {
884
- var L = v();
885
- return t(L[0], L[L.length - 1], x ?? 10);
886
- }, w.tickFormat = function(x, L) {
887
- return L == null ? X : h(L);
888
- }, w.nice = function(x) {
889
- var L = v();
890
- return (!x || typeof x.range != "function") && (x = e(L[0], L[L.length - 1], x ?? 10)), x ? v(sr(L, x)) : w;
891
- }, w.copy = function() {
892
- return Wn(w, dn(t, e, n, r, i, s, l, m, M, h));
893
- }, w;
874
+ function dn(t, e, n, r, i, s, l, g, M, m) {
875
+ var D = Hn(), $ = D.invert, w = D.domain, v = m(".%L"), V = m(":%S"), h = m("%I:%M"), F = m("%I %p"), W = m("%a %d"), H = m("%b %d"), B = m("%B"), N = m("%Y");
876
+ function X(b) {
877
+ return (M(b) < b ? v : g(b) < b ? V : l(b) < b ? h : s(b) < b ? F : r(b) < b ? i(b) < b ? W : H : n(b) < b ? B : N)(b);
878
+ }
879
+ return D.invert = function(b) {
880
+ return new Date($(b));
881
+ }, D.domain = function(b) {
882
+ return arguments.length ? w(Array.from(b, Ti)) : w().map(ki);
883
+ }, D.ticks = function(b) {
884
+ var L = w();
885
+ return t(L[0], L[L.length - 1], b ?? 10);
886
+ }, D.tickFormat = function(b, L) {
887
+ return L == null ? X : m(L);
888
+ }, D.nice = function(b) {
889
+ var L = w();
890
+ return (!b || typeof b.range != "function") && (b = e(L[0], L[L.length - 1], b ?? 10)), b ? w(sr(L, b)) : D;
891
+ }, D.copy = function() {
892
+ return Wn(D, dn(t, e, n, r, i, s, l, g, M, m));
893
+ }, D;
894
894
  }
895
895
  function vi() {
896
- return Pn.apply(dn(mr, yr, ft, Ot, It, kt, Lt, Ut, gt, Xt).domain([new Date(2e3, 0, 1), new Date(2e3, 0, 2)]), arguments);
896
+ return Pn.apply(dn(mr, yr, ft, Ot, It, pt, Lt, Ut, gt, Xt).domain([new Date(2e3, 0, 1), new Date(2e3, 0, 2)]), arguments);
897
897
  }
898
898
  var fn = { exports: {} };
899
899
  (function(t, e) {
@@ -902,23 +902,23 @@ var fn = { exports: {} };
902
902
  })(me, function() {
903
903
  var n = "day";
904
904
  return function(r, i, s) {
905
- var l = function(h) {
906
- return h.add(4 - h.isoWeekday(), n);
907
- }, m = i.prototype;
908
- m.isoWeekYear = function() {
905
+ var l = function(m) {
906
+ return m.add(4 - m.isoWeekday(), n);
907
+ }, g = i.prototype;
908
+ g.isoWeekYear = function() {
909
909
  return l(this).year();
910
- }, m.isoWeek = function(h) {
911
- if (!this.$utils().u(h))
912
- return this.add(7 * (h - this.isoWeek()), n);
913
- var w, S, v, b, V = l(this), g = (w = this.isoWeekYear(), S = this.$u, v = (S ? s.utc : s)().year(w).startOf("year"), b = 4 - v.isoWeekday(), v.isoWeekday() > 4 && (b += 7), v.add(b, n));
914
- return V.diff(g, "week") + 1;
915
- }, m.isoWeekday = function(h) {
916
- return this.$utils().u(h) ? this.day() || 7 : this.day(this.day() % 7 ? h : h - 7);
910
+ }, g.isoWeek = function(m) {
911
+ if (!this.$utils().u(m))
912
+ return this.add(7 * (m - this.isoWeek()), n);
913
+ var D, $, w, v, V = l(this), h = (D = this.isoWeekYear(), $ = this.$u, w = ($ ? s.utc : s)().year(D).startOf("year"), v = 4 - w.isoWeekday(), w.isoWeekday() > 4 && (v += 7), w.add(v, n));
914
+ return V.diff(h, "week") + 1;
915
+ }, g.isoWeekday = function(m) {
916
+ return this.$utils().u(m) ? this.day() || 7 : this.day(this.day() % 7 ? m : m - 7);
917
917
  };
918
- var M = m.startOf;
919
- m.startOf = function(h, w) {
920
- var S = this.$utils(), v = !!S.u(w) || w;
921
- return S.p(h) === "isoweek" ? v ? this.date(this.date() - (this.isoWeekday() - 1)).startOf("day") : this.date(this.date() - 1 - (this.isoWeekday() - 1) + 7).endOf("day") : M.bind(this)(h, w);
918
+ var M = g.startOf;
919
+ g.startOf = function(m, D) {
920
+ var $ = this.$utils(), w = !!$.u(D) || D;
921
+ return $.p(m) === "isoweek" ? w ? this.date(this.date() - (this.isoWeekday() - 1)).startOf("day") : this.date(this.date() - 1 - (this.isoWeekday() - 1) + 7).endOf("day") : M.bind(this)(m, D);
922
922
  };
923
923
  };
924
924
  });
@@ -930,118 +930,118 @@ var hn = { exports: {} };
930
930
  (function(n, r) {
931
931
  t.exports = r();
932
932
  })(me, function() {
933
- var n = { LTS: "h:mm:ss A", LT: "h:mm A", L: "MM/DD/YYYY", LL: "MMMM D, YYYY", LLL: "MMMM D, YYYY h:mm A", LLLL: "dddd, MMMM D, YYYY h:mm A" }, r = /(\[[^[]*\])|([-_:/.,()\s]+)|(A|a|YYYY|YY?|MM?M?M?|Do|DD?|hh?|HH?|mm?|ss?|S{1,3}|z|ZZ?)/g, i = /\d\d/, s = /\d\d?/, l = /\d*[^-_:/,()\s\d]+/, m = {}, M = function(g) {
934
- return (g = +g) + (g > 68 ? 1900 : 2e3);
935
- }, h = function(g) {
933
+ var n = { LTS: "h:mm:ss A", LT: "h:mm A", L: "MM/DD/YYYY", LL: "MMMM D, YYYY", LLL: "MMMM D, YYYY h:mm A", LLLL: "dddd, MMMM D, YYYY h:mm A" }, r = /(\[[^[]*\])|([-_:/.,()\s]+)|(A|a|YYYY|YY?|MM?M?M?|Do|DD?|hh?|HH?|mm?|ss?|S{1,3}|z|ZZ?)/g, i = /\d\d/, s = /\d\d?/, l = /\d*[^-_:/,()\s\d]+/, g = {}, M = function(h) {
934
+ return (h = +h) + (h > 68 ? 1900 : 2e3);
935
+ }, m = function(h) {
936
936
  return function(F) {
937
- this[g] = +F;
937
+ this[h] = +F;
938
938
  };
939
- }, w = [/[+-]\d\d:?(\d\d)?|Z/, function(g) {
939
+ }, D = [/[+-]\d\d:?(\d\d)?|Z/, function(h) {
940
940
  (this.zone || (this.zone = {})).offset = function(F) {
941
941
  if (!F || F === "Z")
942
942
  return 0;
943
943
  var W = F.match(/([+-]|\d\d)/g), H = 60 * W[1] + (+W[2] || 0);
944
944
  return H === 0 ? 0 : W[0] === "+" ? -H : H;
945
- }(g);
946
- }], S = function(g) {
947
- var F = m[g];
945
+ }(h);
946
+ }], $ = function(h) {
947
+ var F = g[h];
948
948
  return F && (F.indexOf ? F : F.s.concat(F.f));
949
- }, v = function(g, F) {
950
- var W, H = m.meridiem;
949
+ }, w = function(h, F) {
950
+ var W, H = g.meridiem;
951
951
  if (H) {
952
952
  for (var B = 1; B <= 24; B += 1)
953
- if (g.indexOf(H(B, 0, F)) > -1) {
953
+ if (h.indexOf(H(B, 0, F)) > -1) {
954
954
  W = B > 12;
955
955
  break;
956
956
  }
957
957
  } else
958
- W = g === (F ? "pm" : "PM");
958
+ W = h === (F ? "pm" : "PM");
959
959
  return W;
960
- }, b = { A: [l, function(g) {
961
- this.afternoon = v(g, !1);
962
- }], a: [l, function(g) {
963
- this.afternoon = v(g, !0);
964
- }], S: [/\d/, function(g) {
965
- this.milliseconds = 100 * +g;
966
- }], SS: [i, function(g) {
967
- this.milliseconds = 10 * +g;
968
- }], SSS: [/\d{3}/, function(g) {
969
- this.milliseconds = +g;
970
- }], s: [s, h("seconds")], ss: [s, h("seconds")], m: [s, h("minutes")], mm: [s, h("minutes")], H: [s, h("hours")], h: [s, h("hours")], HH: [s, h("hours")], hh: [s, h("hours")], D: [s, h("day")], DD: [i, h("day")], Do: [l, function(g) {
971
- var F = m.ordinal, W = g.match(/\d+/);
960
+ }, v = { A: [l, function(h) {
961
+ this.afternoon = w(h, !1);
962
+ }], a: [l, function(h) {
963
+ this.afternoon = w(h, !0);
964
+ }], S: [/\d/, function(h) {
965
+ this.milliseconds = 100 * +h;
966
+ }], SS: [i, function(h) {
967
+ this.milliseconds = 10 * +h;
968
+ }], SSS: [/\d{3}/, function(h) {
969
+ this.milliseconds = +h;
970
+ }], s: [s, m("seconds")], ss: [s, m("seconds")], m: [s, m("minutes")], mm: [s, m("minutes")], H: [s, m("hours")], h: [s, m("hours")], HH: [s, m("hours")], hh: [s, m("hours")], D: [s, m("day")], DD: [i, m("day")], Do: [l, function(h) {
971
+ var F = g.ordinal, W = h.match(/\d+/);
972
972
  if (this.day = W[0], F)
973
973
  for (var H = 1; H <= 31; H += 1)
974
- F(H).replace(/\[|\]/g, "") === g && (this.day = H);
975
- }], M: [s, h("month")], MM: [i, h("month")], MMM: [l, function(g) {
976
- var F = S("months"), W = (S("monthsShort") || F.map(function(H) {
974
+ F(H).replace(/\[|\]/g, "") === h && (this.day = H);
975
+ }], M: [s, m("month")], MM: [i, m("month")], MMM: [l, function(h) {
976
+ var F = $("months"), W = ($("monthsShort") || F.map(function(H) {
977
977
  return H.slice(0, 3);
978
- })).indexOf(g) + 1;
978
+ })).indexOf(h) + 1;
979
979
  if (W < 1)
980
980
  throw new Error();
981
981
  this.month = W % 12 || W;
982
- }], MMMM: [l, function(g) {
983
- var F = S("months").indexOf(g) + 1;
982
+ }], MMMM: [l, function(h) {
983
+ var F = $("months").indexOf(h) + 1;
984
984
  if (F < 1)
985
985
  throw new Error();
986
986
  this.month = F % 12 || F;
987
- }], Y: [/[+-]?\d+/, h("year")], YY: [i, function(g) {
988
- this.year = M(g);
989
- }], YYYY: [/\d{4}/, h("year")], Z: w, ZZ: w };
990
- function V(g) {
987
+ }], Y: [/[+-]?\d+/, m("year")], YY: [i, function(h) {
988
+ this.year = M(h);
989
+ }], YYYY: [/\d{4}/, m("year")], Z: D, ZZ: D };
990
+ function V(h) {
991
991
  var F, W;
992
- F = g, W = m && m.formats;
993
- for (var H = (g = F.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g, function($, _, p) {
994
- var o = p && p.toUpperCase();
995
- return _ || W[p] || n[p] || W[o].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g, function(f, u, T) {
992
+ F = h, W = g && g.formats;
993
+ for (var H = (h = F.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g, function(S, _, k) {
994
+ var o = k && k.toUpperCase();
995
+ return _ || W[k] || n[k] || W[o].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g, function(f, u, T) {
996
996
  return u || T.slice(1);
997
997
  });
998
998
  })).match(r), B = H.length, N = 0; N < B; N += 1) {
999
- var X = H[N], x = b[X], L = x && x[0], k = x && x[1];
1000
- H[N] = k ? { regex: L, parser: k } : X.replace(/^\[|\]$/g, "");
999
+ var X = H[N], b = v[X], L = b && b[0], p = b && b[1];
1000
+ H[N] = p ? { regex: L, parser: p } : X.replace(/^\[|\]$/g, "");
1001
1001
  }
1002
- return function($) {
1003
- for (var _ = {}, p = 0, o = 0; p < B; p += 1) {
1004
- var f = H[p];
1002
+ return function(S) {
1003
+ for (var _ = {}, k = 0, o = 0; k < B; k += 1) {
1004
+ var f = H[k];
1005
1005
  if (typeof f == "string")
1006
1006
  o += f.length;
1007
1007
  else {
1008
- var u = f.regex, T = f.parser, c = $.slice(o), O = u.exec(c)[0];
1009
- T.call(_, O), $ = $.replace(O, "");
1008
+ var u = f.regex, T = f.parser, c = S.slice(o), O = u.exec(c)[0];
1009
+ T.call(_, O), S = S.replace(O, "");
1010
1010
  }
1011
1011
  }
1012
1012
  return function(a) {
1013
- var D = a.afternoon;
1014
- if (D !== void 0) {
1013
+ var C = a.afternoon;
1014
+ if (C !== void 0) {
1015
1015
  var E = a.hours;
1016
- D ? E < 12 && (a.hours += 12) : E === 12 && (a.hours = 0), delete a.afternoon;
1016
+ C ? E < 12 && (a.hours += 12) : E === 12 && (a.hours = 0), delete a.afternoon;
1017
1017
  }
1018
1018
  }(_), _;
1019
1019
  };
1020
1020
  }
1021
- return function(g, F, W) {
1022
- W.p.customParseFormat = !0, g && g.parseTwoDigitYear && (M = g.parseTwoDigitYear);
1021
+ return function(h, F, W) {
1022
+ W.p.customParseFormat = !0, h && h.parseTwoDigitYear && (M = h.parseTwoDigitYear);
1023
1023
  var H = F.prototype, B = H.parse;
1024
1024
  H.parse = function(N) {
1025
- var X = N.date, x = N.utc, L = N.args;
1026
- this.$u = x;
1027
- var k = L[1];
1028
- if (typeof k == "string") {
1029
- var $ = L[2] === !0, _ = L[3] === !0, p = $ || _, o = L[2];
1030
- _ && (o = L[2]), m = this.$locale(), !$ && o && (m = W.Ls[o]), this.$d = function(c, O, a) {
1025
+ var X = N.date, b = N.utc, L = N.args;
1026
+ this.$u = b;
1027
+ var p = L[1];
1028
+ if (typeof p == "string") {
1029
+ var S = L[2] === !0, _ = L[3] === !0, k = S || _, o = L[2];
1030
+ _ && (o = L[2]), g = this.$locale(), !S && o && (g = W.Ls[o]), this.$d = function(c, O, a) {
1031
1031
  try {
1032
1032
  if (["x", "X"].indexOf(O) > -1)
1033
1033
  return new Date((O === "X" ? 1e3 : 1) * c);
1034
- var D = V(O)(c), E = D.year, P = D.month, U = D.day, G = D.hours, A = D.minutes, tt = D.seconds, st = D.milliseconds, ht = D.zone, mt = /* @__PURE__ */ new Date(), y = U || (E || P ? 1 : mt.getDate()), C = E || mt.getFullYear(), Y = 0;
1035
- E && !P || (Y = P > 0 ? P - 1 : mt.getMonth());
1036
- var d = G || 0, q = A || 0, I = tt || 0, j = st || 0;
1037
- return ht ? new Date(Date.UTC(C, Y, y, d, q, I, j + 60 * ht.offset * 1e3)) : a ? new Date(Date.UTC(C, Y, y, d, q, I, j)) : new Date(C, Y, y, d, q, I, j);
1034
+ var C = V(O)(c), E = C.year, P = C.month, U = C.day, G = C.hours, Y = C.minutes, tt = C.seconds, st = C.milliseconds, ht = C.zone, mt = /* @__PURE__ */ new Date(), y = U || (E || P ? 1 : mt.getDate()), x = E || mt.getFullYear(), A = 0;
1035
+ E && !P || (A = P > 0 ? P - 1 : mt.getMonth());
1036
+ var d = G || 0, q = Y || 0, I = tt || 0, j = st || 0;
1037
+ return ht ? new Date(Date.UTC(x, A, y, d, q, I, j + 60 * ht.offset * 1e3)) : a ? new Date(Date.UTC(x, A, y, d, q, I, j)) : new Date(x, A, y, d, q, I, j);
1038
1038
  } catch {
1039
1039
  return /* @__PURE__ */ new Date("");
1040
1040
  }
1041
- }(X, k, x), this.init(), o && o !== !0 && (this.$L = this.locale(o).$L), p && X != this.format(k) && (this.$d = /* @__PURE__ */ new Date("")), m = {};
1042
- } else if (k instanceof Array)
1043
- for (var f = k.length, u = 1; u <= f; u += 1) {
1044
- L[1] = k[u - 1];
1041
+ }(X, p, b), this.init(), o && o !== !0 && (this.$L = this.locale(o).$L), k && X != this.format(p) && (this.$d = /* @__PURE__ */ new Date("")), g = {};
1042
+ } else if (p instanceof Array)
1043
+ for (var f = p.length, u = 1; u <= f; u += 1) {
1044
+ L[1] = p[u - 1];
1045
1045
  var T = W.apply(this, L);
1046
1046
  if (T.isValid()) {
1047
1047
  this.$d = T.$d, this.$L = T.$L, this.init();
@@ -1065,43 +1065,43 @@ var gn = { exports: {} };
1065
1065
  return function(n, r) {
1066
1066
  var i = r.prototype, s = i.format;
1067
1067
  i.format = function(l) {
1068
- var m = this, M = this.$locale();
1068
+ var g = this, M = this.$locale();
1069
1069
  if (!this.isValid())
1070
1070
  return s.bind(this)(l);
1071
- var h = this.$utils(), w = (l || "YYYY-MM-DDTHH:mm:ssZ").replace(/\[([^\]]+)]|Q|wo|ww|w|WW|W|zzz|z|gggg|GGGG|Do|X|x|k{1,2}|S/g, function(S) {
1072
- switch (S) {
1071
+ var m = this.$utils(), D = (l || "YYYY-MM-DDTHH:mm:ssZ").replace(/\[([^\]]+)]|Q|wo|ww|w|WW|W|zzz|z|gggg|GGGG|Do|X|x|k{1,2}|S/g, function($) {
1072
+ switch ($) {
1073
1073
  case "Q":
1074
- return Math.ceil((m.$M + 1) / 3);
1074
+ return Math.ceil((g.$M + 1) / 3);
1075
1075
  case "Do":
1076
- return M.ordinal(m.$D);
1076
+ return M.ordinal(g.$D);
1077
1077
  case "gggg":
1078
- return m.weekYear();
1078
+ return g.weekYear();
1079
1079
  case "GGGG":
1080
- return m.isoWeekYear();
1080
+ return g.isoWeekYear();
1081
1081
  case "wo":
1082
- return M.ordinal(m.week(), "W");
1082
+ return M.ordinal(g.week(), "W");
1083
1083
  case "w":
1084
1084
  case "ww":
1085
- return h.s(m.week(), S === "w" ? 1 : 2, "0");
1085
+ return m.s(g.week(), $ === "w" ? 1 : 2, "0");
1086
1086
  case "W":
1087
1087
  case "WW":
1088
- return h.s(m.isoWeek(), S === "W" ? 1 : 2, "0");
1088
+ return m.s(g.isoWeek(), $ === "W" ? 1 : 2, "0");
1089
1089
  case "k":
1090
1090
  case "kk":
1091
- return h.s(String(m.$H === 0 ? 24 : m.$H), S === "k" ? 1 : 2, "0");
1091
+ return m.s(String(g.$H === 0 ? 24 : g.$H), $ === "k" ? 1 : 2, "0");
1092
1092
  case "X":
1093
- return Math.floor(m.$d.getTime() / 1e3);
1093
+ return Math.floor(g.$d.getTime() / 1e3);
1094
1094
  case "x":
1095
- return m.$d.getTime();
1095
+ return g.$d.getTime();
1096
1096
  case "z":
1097
- return "[" + m.offsetName() + "]";
1097
+ return "[" + g.offsetName() + "]";
1098
1098
  case "zzz":
1099
- return "[" + m.offsetName("long") + "]";
1099
+ return "[" + g.offsetName("long") + "]";
1100
1100
  default:
1101
- return S;
1101
+ return $;
1102
1102
  }
1103
1103
  });
1104
- return s.bind(this)(w);
1104
+ return s.bind(this)(D);
1105
1105
  };
1106
1106
  };
1107
1107
  });
@@ -1109,18 +1109,18 @@ var gn = { exports: {} };
1109
1109
  var Di = gn.exports;
1110
1110
  const _i = /* @__PURE__ */ ye(Di);
1111
1111
  var de = function() {
1112
- var t = function(p, o, f, u) {
1113
- for (f = f || {}, u = p.length; u--; f[p[u]] = o)
1112
+ var t = function(k, o, f, u) {
1113
+ for (f = f || {}, u = k.length; u--; f[k[u]] = o)
1114
1114
  ;
1115
1115
  return f;
1116
- }, e = [6, 8, 10, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 30, 32, 33, 35, 37], n = [1, 25], r = [1, 26], i = [1, 27], s = [1, 28], l = [1, 29], m = [1, 30], M = [1, 31], h = [1, 9], w = [1, 10], S = [1, 11], v = [1, 12], b = [1, 13], V = [1, 14], g = [1, 15], F = [1, 16], W = [1, 18], H = [1, 19], B = [1, 20], N = [1, 21], X = [1, 22], x = [1, 24], L = [1, 32], k = {
1116
+ }, e = [6, 8, 10, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 30, 32, 33, 35, 37], n = [1, 25], r = [1, 26], i = [1, 27], s = [1, 28], l = [1, 29], g = [1, 30], M = [1, 31], m = [1, 9], D = [1, 10], $ = [1, 11], w = [1, 12], v = [1, 13], V = [1, 14], h = [1, 15], F = [1, 16], W = [1, 18], H = [1, 19], B = [1, 20], N = [1, 21], X = [1, 22], b = [1, 24], L = [1, 32], p = {
1117
1117
  trace: function() {
1118
1118
  },
1119
1119
  yy: {},
1120
1120
  symbols_: { error: 2, start: 3, gantt: 4, document: 5, EOF: 6, line: 7, SPACE: 8, statement: 9, NL: 10, weekday: 11, weekday_monday: 12, weekday_tuesday: 13, weekday_wednesday: 14, weekday_thursday: 15, weekday_friday: 16, weekday_saturday: 17, weekday_sunday: 18, dateFormat: 19, inclusiveEndDates: 20, topAxis: 21, axisFormat: 22, tickInterval: 23, excludes: 24, includes: 25, todayMarker: 26, title: 27, acc_title: 28, acc_title_value: 29, acc_descr: 30, acc_descr_value: 31, acc_descr_multiline_value: 32, section: 33, clickStatement: 34, taskTxt: 35, taskData: 36, click: 37, callbackname: 38, callbackargs: 39, href: 40, clickStatementDebug: 41, $accept: 0, $end: 1 },
1121
1121
  terminals_: { 2: "error", 4: "gantt", 6: "EOF", 8: "SPACE", 10: "NL", 12: "weekday_monday", 13: "weekday_tuesday", 14: "weekday_wednesday", 15: "weekday_thursday", 16: "weekday_friday", 17: "weekday_saturday", 18: "weekday_sunday", 19: "dateFormat", 20: "inclusiveEndDates", 21: "topAxis", 22: "axisFormat", 23: "tickInterval", 24: "excludes", 25: "includes", 26: "todayMarker", 27: "title", 28: "acc_title", 29: "acc_title_value", 30: "acc_descr", 31: "acc_descr_value", 32: "acc_descr_multiline_value", 33: "section", 35: "taskTxt", 36: "taskData", 37: "click", 38: "callbackname", 39: "callbackargs", 40: "href" },
1122
1122
  productions_: [0, [3, 3], [5, 0], [5, 2], [7, 2], [7, 1], [7, 1], [7, 1], [11, 1], [11, 1], [11, 1], [11, 1], [11, 1], [11, 1], [11, 1], [9, 1], [9, 1], [9, 1], [9, 1], [9, 1], [9, 1], [9, 1], [9, 1], [9, 1], [9, 1], [9, 2], [9, 2], [9, 1], [9, 1], [9, 1], [9, 2], [34, 2], [34, 3], [34, 3], [34, 4], [34, 3], [34, 4], [34, 2], [41, 2], [41, 3], [41, 3], [41, 4], [41, 3], [41, 4], [41, 2]],
1123
- performAction: function(p, o, f, u, T, c, O) {
1123
+ performAction: function(k, o, f, u, T, c, O) {
1124
1124
  var a = c.length - 1;
1125
1125
  switch (T) {
1126
1126
  case 1:
@@ -1236,50 +1236,50 @@ var de = function() {
1236
1236
  break;
1237
1237
  }
1238
1238
  },
1239
- table: [{ 3: 1, 4: [1, 2] }, { 1: [3] }, t(e, [2, 2], { 5: 3 }), { 6: [1, 4], 7: 5, 8: [1, 6], 9: 7, 10: [1, 8], 11: 17, 12: n, 13: r, 14: i, 15: s, 16: l, 17: m, 18: M, 19: h, 20: w, 21: S, 22: v, 23: b, 24: V, 25: g, 26: F, 27: W, 28: H, 30: B, 32: N, 33: X, 34: 23, 35: x, 37: L }, t(e, [2, 7], { 1: [2, 1] }), t(e, [2, 3]), { 9: 33, 11: 17, 12: n, 13: r, 14: i, 15: s, 16: l, 17: m, 18: M, 19: h, 20: w, 21: S, 22: v, 23: b, 24: V, 25: g, 26: F, 27: W, 28: H, 30: B, 32: N, 33: X, 34: 23, 35: x, 37: L }, t(e, [2, 5]), t(e, [2, 6]), t(e, [2, 15]), t(e, [2, 16]), t(e, [2, 17]), t(e, [2, 18]), t(e, [2, 19]), t(e, [2, 20]), t(e, [2, 21]), t(e, [2, 22]), t(e, [2, 23]), t(e, [2, 24]), { 29: [1, 34] }, { 31: [1, 35] }, t(e, [2, 27]), t(e, [2, 28]), t(e, [2, 29]), { 36: [1, 36] }, t(e, [2, 8]), t(e, [2, 9]), t(e, [2, 10]), t(e, [2, 11]), t(e, [2, 12]), t(e, [2, 13]), t(e, [2, 14]), { 38: [1, 37], 40: [1, 38] }, t(e, [2, 4]), t(e, [2, 25]), t(e, [2, 26]), t(e, [2, 30]), t(e, [2, 31], { 39: [1, 39], 40: [1, 40] }), t(e, [2, 37], { 38: [1, 41] }), t(e, [2, 32], { 40: [1, 42] }), t(e, [2, 33]), t(e, [2, 35], { 39: [1, 43] }), t(e, [2, 34]), t(e, [2, 36])],
1239
+ table: [{ 3: 1, 4: [1, 2] }, { 1: [3] }, t(e, [2, 2], { 5: 3 }), { 6: [1, 4], 7: 5, 8: [1, 6], 9: 7, 10: [1, 8], 11: 17, 12: n, 13: r, 14: i, 15: s, 16: l, 17: g, 18: M, 19: m, 20: D, 21: $, 22: w, 23: v, 24: V, 25: h, 26: F, 27: W, 28: H, 30: B, 32: N, 33: X, 34: 23, 35: b, 37: L }, t(e, [2, 7], { 1: [2, 1] }), t(e, [2, 3]), { 9: 33, 11: 17, 12: n, 13: r, 14: i, 15: s, 16: l, 17: g, 18: M, 19: m, 20: D, 21: $, 22: w, 23: v, 24: V, 25: h, 26: F, 27: W, 28: H, 30: B, 32: N, 33: X, 34: 23, 35: b, 37: L }, t(e, [2, 5]), t(e, [2, 6]), t(e, [2, 15]), t(e, [2, 16]), t(e, [2, 17]), t(e, [2, 18]), t(e, [2, 19]), t(e, [2, 20]), t(e, [2, 21]), t(e, [2, 22]), t(e, [2, 23]), t(e, [2, 24]), { 29: [1, 34] }, { 31: [1, 35] }, t(e, [2, 27]), t(e, [2, 28]), t(e, [2, 29]), { 36: [1, 36] }, t(e, [2, 8]), t(e, [2, 9]), t(e, [2, 10]), t(e, [2, 11]), t(e, [2, 12]), t(e, [2, 13]), t(e, [2, 14]), { 38: [1, 37], 40: [1, 38] }, t(e, [2, 4]), t(e, [2, 25]), t(e, [2, 26]), t(e, [2, 30]), t(e, [2, 31], { 39: [1, 39], 40: [1, 40] }), t(e, [2, 37], { 38: [1, 41] }), t(e, [2, 32], { 40: [1, 42] }), t(e, [2, 33]), t(e, [2, 35], { 39: [1, 43] }), t(e, [2, 34]), t(e, [2, 36])],
1240
1240
  defaultActions: {},
1241
- parseError: function(p, o) {
1241
+ parseError: function(k, o) {
1242
1242
  if (o.recoverable)
1243
- this.trace(p);
1243
+ this.trace(k);
1244
1244
  else {
1245
- var f = new Error(p);
1245
+ var f = new Error(k);
1246
1246
  throw f.hash = o, f;
1247
1247
  }
1248
1248
  },
1249
- parse: function(p) {
1250
- var o = this, f = [0], u = [], T = [null], c = [], O = this.table, a = "", D = 0, E = 0, P = 2, U = 1, G = c.slice.call(arguments, 1), A = Object.create(this.lexer), tt = { yy: {} };
1249
+ parse: function(k) {
1250
+ var o = this, f = [0], u = [], T = [null], c = [], O = this.table, a = "", C = 0, E = 0, P = 2, U = 1, G = c.slice.call(arguments, 1), Y = Object.create(this.lexer), tt = { yy: {} };
1251
1251
  for (var st in this.yy)
1252
1252
  Object.prototype.hasOwnProperty.call(this.yy, st) && (tt.yy[st] = this.yy[st]);
1253
- A.setInput(p, tt.yy), tt.yy.lexer = A, tt.yy.parser = this, typeof A.yylloc > "u" && (A.yylloc = {});
1254
- var ht = A.yylloc;
1253
+ Y.setInput(k, tt.yy), tt.yy.lexer = Y, tt.yy.parser = this, typeof Y.yylloc > "u" && (Y.yylloc = {});
1254
+ var ht = Y.yylloc;
1255
1255
  c.push(ht);
1256
- var mt = A.options && A.options.ranges;
1256
+ var mt = Y.options && Y.options.ranges;
1257
1257
  typeof tt.yy.parseError == "function" ? this.parseError = tt.yy.parseError : this.parseError = Object.getPrototypeOf(this).parseError;
1258
1258
  function y() {
1259
1259
  var at;
1260
- return at = u.pop() || A.lex() || U, typeof at != "number" && (at instanceof Array && (u = at, at = u.pop()), at = o.symbols_[at] || at), at;
1260
+ return at = u.pop() || Y.lex() || U, typeof at != "number" && (at instanceof Array && (u = at, at = u.pop()), at = o.symbols_[at] || at), at;
1261
1261
  }
1262
- for (var C, Y, d, q, I = {}, j, Z, nt, yt; ; ) {
1263
- if (Y = f[f.length - 1], this.defaultActions[Y] ? d = this.defaultActions[Y] : ((C === null || typeof C > "u") && (C = y()), d = O[Y] && O[Y][C]), typeof d > "u" || !d.length || !d[0]) {
1262
+ for (var x, A, d, q, I = {}, j, Z, nt, yt; ; ) {
1263
+ if (A = f[f.length - 1], this.defaultActions[A] ? d = this.defaultActions[A] : ((x === null || typeof x > "u") && (x = y()), d = O[A] && O[A][x]), typeof d > "u" || !d.length || !d[0]) {
1264
1264
  var Kt = "";
1265
1265
  yt = [];
1266
- for (j in O[Y])
1266
+ for (j in O[A])
1267
1267
  this.terminals_[j] && j > P && yt.push("'" + this.terminals_[j] + "'");
1268
- A.showPosition ? Kt = "Parse error on line " + (D + 1) + `:
1269
- ` + A.showPosition() + `
1270
- Expecting ` + yt.join(", ") + ", got '" + (this.terminals_[C] || C) + "'" : Kt = "Parse error on line " + (D + 1) + ": Unexpected " + (C == U ? "end of input" : "'" + (this.terminals_[C] || C) + "'"), this.parseError(Kt, {
1271
- text: A.match,
1272
- token: this.terminals_[C] || C,
1273
- line: A.yylineno,
1268
+ Y.showPosition ? Kt = "Parse error on line " + (C + 1) + `:
1269
+ ` + Y.showPosition() + `
1270
+ Expecting ` + yt.join(", ") + ", got '" + (this.terminals_[x] || x) + "'" : Kt = "Parse error on line " + (C + 1) + ": Unexpected " + (x == U ? "end of input" : "'" + (this.terminals_[x] || x) + "'"), this.parseError(Kt, {
1271
+ text: Y.match,
1272
+ token: this.terminals_[x] || x,
1273
+ line: Y.yylineno,
1274
1274
  loc: ht,
1275
1275
  expected: yt
1276
1276
  });
1277
1277
  }
1278
1278
  if (d[0] instanceof Array && d.length > 1)
1279
- throw new Error("Parse Error: multiple actions possible at state: " + Y + ", token: " + C);
1279
+ throw new Error("Parse Error: multiple actions possible at state: " + A + ", token: " + x);
1280
1280
  switch (d[0]) {
1281
1281
  case 1:
1282
- f.push(C), T.push(A.yytext), c.push(A.yylloc), f.push(d[1]), C = null, E = A.yyleng, a = A.yytext, D = A.yylineno, ht = A.yylloc;
1282
+ f.push(x), T.push(Y.yytext), c.push(Y.yylloc), f.push(d[1]), x = null, E = Y.yyleng, a = Y.yytext, C = Y.yylineno, ht = Y.yylloc;
1283
1283
  break;
1284
1284
  case 2:
1285
1285
  if (Z = this.productions_[d[1]][1], I.$ = T[T.length - Z], I._$ = {
@@ -1293,7 +1293,7 @@ Expecting ` + yt.join(", ") + ", got '" + (this.terminals_[C] || C) + "'" : Kt =
1293
1293
  ]), q = this.performAction.apply(I, [
1294
1294
  a,
1295
1295
  E,
1296
- D,
1296
+ C,
1297
1297
  tt.yy,
1298
1298
  d[1],
1299
1299
  T,
@@ -1308,8 +1308,8 @@ Expecting ` + yt.join(", ") + ", got '" + (this.terminals_[C] || C) + "'" : Kt =
1308
1308
  }
1309
1309
  return !0;
1310
1310
  }
1311
- }, $ = /* @__PURE__ */ function() {
1312
- var p = {
1311
+ }, S = /* @__PURE__ */ function() {
1312
+ var k = {
1313
1313
  EOF: 1,
1314
1314
  parseError: function(o, f) {
1315
1315
  if (this.yy.parser)
@@ -1597,29 +1597,29 @@ Expecting ` + yt.join(", ") + ", got '" + (this.terminals_[C] || C) + "'" : Kt =
1597
1597
  rules: [/^(?:%%\{)/i, /^(?:accTitle\s*:\s*)/i, /^(?:(?!\n||)*[^\n]*)/i, /^(?:accDescr\s*:\s*)/i, /^(?:(?!\n||)*[^\n]*)/i, /^(?:accDescr\s*\{\s*)/i, /^(?:[\}])/i, /^(?:[^\}]*)/i, /^(?:%%(?!\{)*[^\n]*)/i, /^(?:[^\}]%%*[^\n]*)/i, /^(?:%%*[^\n]*[\n]*)/i, /^(?:[\n]+)/i, /^(?:\s+)/i, /^(?:%[^\n]*)/i, /^(?:href[\s]+["])/i, /^(?:["])/i, /^(?:[^"]*)/i, /^(?:call[\s]+)/i, /^(?:\([\s]*\))/i, /^(?:\()/i, /^(?:[^(]*)/i, /^(?:\))/i, /^(?:[^)]*)/i, /^(?:click[\s]+)/i, /^(?:[\s\n])/i, /^(?:[^\s\n]*)/i, /^(?:gantt\b)/i, /^(?:dateFormat\s[^#\n;]+)/i, /^(?:inclusiveEndDates\b)/i, /^(?:topAxis\b)/i, /^(?:axisFormat\s[^#\n;]+)/i, /^(?:tickInterval\s[^#\n;]+)/i, /^(?:includes\s[^#\n;]+)/i, /^(?:excludes\s[^#\n;]+)/i, /^(?:todayMarker\s[^\n;]+)/i, /^(?:weekday\s+monday\b)/i, /^(?:weekday\s+tuesday\b)/i, /^(?:weekday\s+wednesday\b)/i, /^(?:weekday\s+thursday\b)/i, /^(?:weekday\s+friday\b)/i, /^(?:weekday\s+saturday\b)/i, /^(?:weekday\s+sunday\b)/i, /^(?:\d\d\d\d-\d\d-\d\d\b)/i, /^(?:title\s[^\n]+)/i, /^(?:accDescription\s[^#\n;]+)/i, /^(?:section\s[^\n]+)/i, /^(?:[^:\n]+)/i, /^(?::[^#\n;]+)/i, /^(?::)/i, /^(?:$)/i, /^(?:.)/i],
1598
1598
  conditions: { acc_descr_multiline: { rules: [6, 7], inclusive: !1 }, acc_descr: { rules: [4], inclusive: !1 }, acc_title: { rules: [2], inclusive: !1 }, callbackargs: { rules: [21, 22], inclusive: !1 }, callbackname: { rules: [18, 19, 20], inclusive: !1 }, href: { rules: [15, 16], inclusive: !1 }, click: { rules: [24, 25], inclusive: !1 }, INITIAL: { rules: [0, 1, 3, 5, 8, 9, 10, 11, 12, 13, 14, 17, 23, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50], inclusive: !0 } }
1599
1599
  };
1600
- return p;
1600
+ return k;
1601
1601
  }();
1602
- k.lexer = $;
1602
+ p.lexer = S;
1603
1603
  function _() {
1604
1604
  this.yy = {};
1605
1605
  }
1606
- return _.prototype = k, k.Parser = _, new _();
1606
+ return _.prototype = p, p.Parser = _, new _();
1607
1607
  }();
1608
1608
  de.parser = de;
1609
- const Mi = de;
1609
+ const Si = de;
1610
1610
  R.extend(xi);
1611
1611
  R.extend(Ci);
1612
1612
  R.extend(_i);
1613
- let rt = "", Te = "", ve, be = "", Ht = [], Wt = [], xe = {}, we = [], Qt = [], $t = "", Ce = "";
1613
+ let rt = "", Te = "", ve, be = "", Ht = [], Wt = [], xe = {}, we = [], Qt = [], Mt = "", Ce = "";
1614
1614
  const mn = ["active", "done", "crit", "milestone"];
1615
- let De = [], zt = !1, _e = !1, Me = "sunday", fe = 0;
1616
- const Si = function() {
1617
- we = [], Qt = [], $t = "", De = [], Vt = 0, ge = void 0, Gt = void 0, Q = [], rt = "", Te = "", Ce = "", ve = void 0, be = "", Ht = [], Wt = [], zt = !1, _e = !1, fe = 0, xe = {}, An(), Me = "sunday";
1615
+ let De = [], zt = !1, _e = !1, Se = "sunday", fe = 0;
1616
+ const Mi = function() {
1617
+ we = [], Qt = [], Mt = "", De = [], Vt = 0, ge = void 0, Gt = void 0, Q = [], rt = "", Te = "", Ce = "", ve = void 0, be = "", Ht = [], Wt = [], zt = !1, _e = !1, fe = 0, xe = {}, Yn(), Se = "sunday";
1618
1618
  }, $i = function(t) {
1619
1619
  Te = t;
1620
- }, Yi = function() {
1620
+ }, Ai = function() {
1621
1621
  return Te;
1622
- }, Ai = function(t) {
1622
+ }, Yi = function(t) {
1623
1623
  ve = t;
1624
1624
  }, Fi = function() {
1625
1625
  return ve;
@@ -1654,7 +1654,7 @@ const Si = function() {
1654
1654
  }, qi = function() {
1655
1655
  return xe;
1656
1656
  }, ji = function(t) {
1657
- $t = t, we.push(t);
1657
+ Mt = t, we.push(t);
1658
1658
  }, Xi = function() {
1659
1659
  return we;
1660
1660
  }, Qi = function() {
@@ -1667,24 +1667,24 @@ const Si = function() {
1667
1667
  }, yn = function(t, e, n, r) {
1668
1668
  return r.includes(t.format(e.trim())) ? !1 : t.isoWeekday() >= 6 && n.includes("weekends") || n.includes(t.format("dddd").toLowerCase()) ? !0 : n.includes(t.format(e.trim()));
1669
1669
  }, Ki = function(t) {
1670
- Me = t;
1670
+ Se = t;
1671
1671
  }, Ji = function() {
1672
- return Me;
1673
- }, kn = function(t, e, n, r) {
1672
+ return Se;
1673
+ }, pn = function(t, e, n, r) {
1674
1674
  if (!n.length || t.manualEndTime)
1675
1675
  return;
1676
1676
  let i;
1677
1677
  t.startTime instanceof Date ? i = R(t.startTime) : i = R(t.startTime, e, !0), i = i.add(1, "d");
1678
1678
  let s;
1679
1679
  t.endTime instanceof Date ? s = R(t.endTime) : s = R(t.endTime, e, !0);
1680
- const [l, m] = Ri(
1680
+ const [l, g] = Ri(
1681
1681
  i,
1682
1682
  s,
1683
1683
  e,
1684
1684
  n,
1685
1685
  r
1686
1686
  );
1687
- t.endTime = l.toDate(), t.renderEndTime = m;
1687
+ t.endTime = l.toDate(), t.renderEndTime = g;
1688
1688
  }, Ri = function(t, e, n, r, i) {
1689
1689
  let s = !1, l = null;
1690
1690
  for (; t <= e; )
@@ -1692,17 +1692,18 @@ const Si = function() {
1692
1692
  return [e, l];
1693
1693
  }, he = function(t, e, n) {
1694
1694
  n = n.trim();
1695
- const r = /^after\s+(?<ids>[\d\w- ]+)/.exec(n);
1695
+ const r = /^after\s+([\d\w- ]+)/.exec(n.trim());
1696
1696
  if (r !== null) {
1697
1697
  let s = null;
1698
- for (const m of r.groups.ids.split(" ")) {
1699
- let M = xt(m);
1700
- M !== void 0 && (!s || M.endTime > s.endTime) && (s = M);
1701
- }
1702
- if (s)
1698
+ if (r[1].split(" ").forEach(function(l) {
1699
+ let g = $t(l);
1700
+ g !== void 0 && (s ? g.endTime > s.endTime && (s = g) : s = g);
1701
+ }), s)
1703
1702
  return s.endTime;
1704
- const l = /* @__PURE__ */ new Date();
1705
- return l.setHours(0, 0, 0, 0), l;
1703
+ {
1704
+ const l = /* @__PURE__ */ new Date();
1705
+ return l.setHours(0, 0, 0, 0), l;
1706
+ }
1706
1707
  }
1707
1708
  let i = R(n, e.trim(), !0);
1708
1709
  if (i.isValid())
@@ -1719,36 +1720,24 @@ const Si = function() {
1719
1720
  throw new Error("Invalid date:" + n);
1720
1721
  return s;
1721
1722
  }
1722
- }, pn = function(t) {
1723
+ }, kn = function(t) {
1723
1724
  const e = /^(\d+(?:\.\d+)?)([Mdhmswy]|ms)$/.exec(t.trim());
1724
1725
  return e !== null ? [Number.parseFloat(e[1]), e[2]] : [NaN, "ms"];
1725
1726
  }, Tn = function(t, e, n, r = !1) {
1726
1727
  n = n.trim();
1727
- const i = /^until\s+(?<ids>[\d\w- ]+)/.exec(n);
1728
- if (i !== null) {
1729
- let h = null;
1730
- for (const S of i.groups.ids.split(" ")) {
1731
- let v = xt(S);
1732
- v !== void 0 && (!h || v.startTime < h.startTime) && (h = v);
1733
- }
1734
- if (h)
1735
- return h.startTime;
1736
- const w = /* @__PURE__ */ new Date();
1737
- return w.setHours(0, 0, 0, 0), w;
1738
- }
1739
- let s = R(n, e.trim(), !0);
1740
- if (s.isValid())
1741
- return r && (s = s.add(1, "d")), s.toDate();
1742
- let l = R(t);
1743
- const [m, M] = pn(n);
1744
- if (!Number.isNaN(m)) {
1745
- const h = l.add(m, M);
1746
- h.isValid() && (l = h);
1747
- }
1748
- return l.toDate();
1728
+ let i = R(n, e.trim(), !0);
1729
+ if (i.isValid())
1730
+ return r && (i = i.add(1, "d")), i.toDate();
1731
+ let s = R(t);
1732
+ const [l, g] = kn(n);
1733
+ if (!Number.isNaN(l)) {
1734
+ const M = s.add(l, g);
1735
+ M.isValid() && (s = M);
1736
+ }
1737
+ return s.toDate();
1749
1738
  };
1750
1739
  let Vt = 0;
1751
- const _t = function(t) {
1740
+ const Dt = function(t) {
1752
1741
  return t === void 0 ? (Vt = Vt + 1, "task" + Vt) : t;
1753
1742
  }, ts = function(t, e) {
1754
1743
  let n;
@@ -1760,16 +1749,16 @@ const _t = function(t) {
1760
1749
  let s = "";
1761
1750
  switch (r.length) {
1762
1751
  case 1:
1763
- i.id = _t(), i.startTime = t.endTime, s = r[0];
1752
+ i.id = Dt(), i.startTime = t.endTime, s = r[0];
1764
1753
  break;
1765
1754
  case 2:
1766
- i.id = _t(), i.startTime = he(void 0, rt, r[0]), s = r[1];
1755
+ i.id = Dt(), i.startTime = he(void 0, rt, r[0]), s = r[1];
1767
1756
  break;
1768
1757
  case 3:
1769
- i.id = _t(r[0]), i.startTime = he(void 0, rt, r[1]), s = r[2];
1758
+ i.id = Dt(r[0]), i.startTime = he(void 0, rt, r[1]), s = r[2];
1770
1759
  break;
1771
1760
  }
1772
- return s && (i.endTime = Tn(i.startTime, rt, s, zt), i.manualEndTime = R(s, "YYYY-MM-DD", !0).isValid(), kn(i, rt, Wt, Ht)), i;
1761
+ return s && (i.endTime = Tn(i.startTime, rt, s, zt), i.manualEndTime = R(s, "YYYY-MM-DD", !0).isValid(), pn(i, rt, Wt, Ht)), i;
1773
1762
  }, es = function(t, e) {
1774
1763
  let n;
1775
1764
  e.substr(0, 1) === ":" ? n = e.substr(1, e.length) : n = e;
@@ -1779,7 +1768,7 @@ const _t = function(t) {
1779
1768
  r[s] = r[s].trim();
1780
1769
  switch (r.length) {
1781
1770
  case 1:
1782
- i.id = _t(), i.startTime = {
1771
+ i.id = Dt(), i.startTime = {
1783
1772
  type: "prevTaskEnd",
1784
1773
  id: t
1785
1774
  }, i.endTime = {
@@ -1787,7 +1776,7 @@ const _t = function(t) {
1787
1776
  };
1788
1777
  break;
1789
1778
  case 2:
1790
- i.id = _t(), i.startTime = {
1779
+ i.id = Dt(), i.startTime = {
1791
1780
  type: "getStartDate",
1792
1781
  startData: r[0]
1793
1782
  }, i.endTime = {
@@ -1795,7 +1784,7 @@ const _t = function(t) {
1795
1784
  };
1796
1785
  break;
1797
1786
  case 3:
1798
- i.id = _t(r[0]), i.startTime = {
1787
+ i.id = Dt(r[0]), i.startTime = {
1799
1788
  type: "getStartDate",
1800
1789
  startData: r[1]
1801
1790
  }, i.endTime = {
@@ -1808,8 +1797,8 @@ const _t = function(t) {
1808
1797
  let ge, Gt, Q = [];
1809
1798
  const vn = {}, ns = function(t, e) {
1810
1799
  const n = {
1811
- section: $t,
1812
- type: $t,
1800
+ section: Mt,
1801
+ type: Mt,
1813
1802
  processed: !1,
1814
1803
  manualEndTime: !1,
1815
1804
  renderEndTime: null,
@@ -1820,13 +1809,13 @@ const vn = {}, ns = function(t, e) {
1820
1809
  n.raw.startTime = r.startTime, n.raw.endTime = r.endTime, n.id = r.id, n.prevTaskId = Gt, n.active = r.active, n.done = r.done, n.crit = r.crit, n.milestone = r.milestone, n.order = fe, fe++;
1821
1810
  const i = Q.push(n);
1822
1811
  Gt = n.id, vn[n.id] = i - 1;
1823
- }, xt = function(t) {
1812
+ }, $t = function(t) {
1824
1813
  const e = vn[t];
1825
1814
  return Q[e];
1826
1815
  }, rs = function(t, e) {
1827
1816
  const n = {
1828
- section: $t,
1829
- type: $t,
1817
+ section: Mt,
1818
+ type: Mt,
1830
1819
  description: t,
1831
1820
  task: t,
1832
1821
  classes: []
@@ -1838,7 +1827,7 @@ const vn = {}, ns = function(t, e) {
1838
1827
  let i = "";
1839
1828
  switch (Q[n].raw.startTime.type) {
1840
1829
  case "prevTaskEnd": {
1841
- const s = xt(r.prevTaskId);
1830
+ const s = $t(r.prevTaskId);
1842
1831
  r.startTime = s.endTime;
1843
1832
  break;
1844
1833
  }
@@ -1855,7 +1844,7 @@ const vn = {}, ns = function(t, e) {
1855
1844
  Q[n].raw.endTime.data,
1856
1845
  "YYYY-MM-DD",
1857
1846
  !0
1858
- ).isValid(), kn(Q[n], rt, Wt, Ht))), Q[n].processed;
1847
+ ).isValid(), pn(Q[n], rt, Wt, Ht))), Q[n].processed;
1859
1848
  };
1860
1849
  let e = !0;
1861
1850
  for (const [n, r] of Q.entries())
@@ -1863,18 +1852,18 @@ const vn = {}, ns = function(t, e) {
1863
1852
  return e;
1864
1853
  }, is = function(t, e) {
1865
1854
  let n = e;
1866
- Ct().securityLevel !== "loose" && (n = Fn.sanitizeUrl(e)), t.split(",").forEach(function(r) {
1867
- xt(r) !== void 0 && (xn(r, () => {
1855
+ wt().securityLevel !== "loose" && (n = Fn.sanitizeUrl(e)), t.split(",").forEach(function(r) {
1856
+ $t(r) !== void 0 && (xn(r, () => {
1868
1857
  window.open(n, "_self");
1869
1858
  }), xe[r] = n);
1870
1859
  }), bn(t, "clickable");
1871
1860
  }, bn = function(t, e) {
1872
1861
  t.split(",").forEach(function(n) {
1873
- let r = xt(n);
1862
+ let r = $t(n);
1874
1863
  r !== void 0 && r.classes.push(e);
1875
1864
  });
1876
1865
  }, ss = function(t, e, n) {
1877
- if (Ct().securityLevel !== "loose" || e === void 0)
1866
+ if (wt().securityLevel !== "loose" || e === void 0)
1878
1867
  return;
1879
1868
  let r = [];
1880
1869
  if (typeof n == "string") {
@@ -1884,7 +1873,7 @@ const vn = {}, ns = function(t, e) {
1884
1873
  s.charAt(0) === '"' && s.charAt(s.length - 1) === '"' && (s = s.substr(1, s.length - 2)), r[i] = s;
1885
1874
  }
1886
1875
  }
1887
- r.length === 0 && r.push(t), xt(t) !== void 0 && xn(t, () => {
1876
+ r.length === 0 && r.push(t), $t(t) !== void 0 && xn(t, () => {
1888
1877
  En.runFunc(e, ...r);
1889
1878
  });
1890
1879
  }, xn = function(t, e) {
@@ -1911,8 +1900,8 @@ const vn = {}, ns = function(t, e) {
1911
1900
  e(t);
1912
1901
  });
1913
1902
  }, cs = {
1914
- getConfig: () => Ct().gantt,
1915
- clear: Si,
1903
+ getConfig: () => wt().gantt,
1904
+ clear: Mi,
1916
1905
  setDateFormat: Ei,
1917
1906
  getDateFormat: Bi,
1918
1907
  enableInclusiveEndDates: Oi,
@@ -1920,24 +1909,24 @@ const vn = {}, ns = function(t, e) {
1920
1909
  enableTopAxis: Hi,
1921
1910
  topAxisEnabled: Wi,
1922
1911
  setAxisFormat: $i,
1923
- getAxisFormat: Yi,
1924
- setTickInterval: Ai,
1912
+ getAxisFormat: Ai,
1913
+ setTickInterval: Yi,
1925
1914
  getTickInterval: Fi,
1926
1915
  setTodayMarker: Ui,
1927
1916
  getTodayMarker: Li,
1928
1917
  setAccTitle: Cn,
1929
1918
  getAccTitle: Dn,
1930
1919
  setDiagramTitle: _n,
1931
- getDiagramTitle: Mn,
1920
+ getDiagramTitle: Sn,
1932
1921
  setDisplayMode: zi,
1933
1922
  getDisplayMode: Pi,
1934
- setAccDescription: Sn,
1923
+ setAccDescription: Mn,
1935
1924
  getAccDescription: $n,
1936
1925
  addSection: ji,
1937
1926
  getSections: Xi,
1938
1927
  getTasks: Qi,
1939
1928
  addTask: ns,
1940
- findTaskById: xt,
1929
+ findTaskById: $t,
1941
1930
  addTaskOrg: rs,
1942
1931
  setIncludes: Ni,
1943
1932
  getIncludes: Vi,
@@ -1947,7 +1936,7 @@ const vn = {}, ns = function(t, e) {
1947
1936
  setLink: is,
1948
1937
  getLinks: qi,
1949
1938
  bindFunctions: os,
1950
- parseDuration: pn,
1939
+ parseDuration: kn,
1951
1940
  isInvalidDate: yn,
1952
1941
  setWeekday: Ki,
1953
1942
  getWeekday: Ji
@@ -1966,7 +1955,7 @@ const ls = function() {
1966
1955
  monday: Et,
1967
1956
  tuesday: en,
1968
1957
  wednesday: nn,
1969
- thursday: pt,
1958
+ thursday: kt,
1970
1959
  friday: rn,
1971
1960
  saturday: sn,
1972
1961
  sunday: It
@@ -1982,130 +1971,130 @@ const ls = function() {
1982
1971
  };
1983
1972
  let ot;
1984
1973
  const ds = function(t, e, n, r) {
1985
- const i = Ct().gantt, s = Ct().securityLevel;
1974
+ const i = wt().gantt, s = wt().securityLevel;
1986
1975
  let l;
1987
1976
  s === "sandbox" && (l = Pt("#i" + e));
1988
- const m = s === "sandbox" ? Pt(l.nodes()[0].contentDocument.body) : Pt("body"), M = s === "sandbox" ? l.nodes()[0].contentDocument : document, h = M.getElementById(e);
1989
- ot = h.parentElement.offsetWidth, ot === void 0 && (ot = 1200), i.useWidth !== void 0 && (ot = i.useWidth);
1990
- const w = r.db.getTasks();
1991
- let S = [];
1992
- for (const k of w)
1993
- S.push(k.type);
1994
- S = L(S);
1995
- const v = {};
1996
- let b = 2 * i.topPadding;
1977
+ const g = s === "sandbox" ? Pt(l.nodes()[0].contentDocument.body) : Pt("body"), M = s === "sandbox" ? l.nodes()[0].contentDocument : document, m = M.getElementById(e);
1978
+ ot = m.parentElement.offsetWidth, ot === void 0 && (ot = 1200), i.useWidth !== void 0 && (ot = i.useWidth);
1979
+ const D = r.db.getTasks();
1980
+ let $ = [];
1981
+ for (const p of D)
1982
+ $.push(p.type);
1983
+ $ = L($);
1984
+ const w = {};
1985
+ let v = 2 * i.topPadding;
1997
1986
  if (r.db.getDisplayMode() === "compact" || i.displayMode === "compact") {
1998
- const k = {};
1999
- for (const _ of w)
2000
- k[_.section] === void 0 ? k[_.section] = [_] : k[_.section].push(_);
2001
- let $ = 0;
2002
- for (const _ of Object.keys(k)) {
2003
- const p = us(k[_], $) + 1;
2004
- $ += p, b += p * (i.barHeight + i.barGap), v[_] = p;
1987
+ const p = {};
1988
+ for (const _ of D)
1989
+ p[_.section] === void 0 ? p[_.section] = [_] : p[_.section].push(_);
1990
+ let S = 0;
1991
+ for (const _ of Object.keys(p)) {
1992
+ const k = us(p[_], S) + 1;
1993
+ S += k, v += k * (i.barHeight + i.barGap), w[_] = k;
2005
1994
  }
2006
1995
  } else {
2007
- b += w.length * (i.barHeight + i.barGap);
2008
- for (const k of S)
2009
- v[k] = w.filter(($) => $.type === k).length;
2010
- }
2011
- h.setAttribute("viewBox", "0 0 " + ot + " " + b);
2012
- const V = m.select(`[id="${e}"]`), g = vi().domain([
2013
- Nn(w, function(k) {
2014
- return k.startTime;
1996
+ v += D.length * (i.barHeight + i.barGap);
1997
+ for (const p of $)
1998
+ w[p] = D.filter((S) => S.type === p).length;
1999
+ }
2000
+ m.setAttribute("viewBox", "0 0 " + ot + " " + v);
2001
+ const V = g.select(`[id="${e}"]`), h = vi().domain([
2002
+ Nn(D, function(p) {
2003
+ return p.startTime;
2015
2004
  }),
2016
- Bn(w, function(k) {
2017
- return k.endTime;
2005
+ Bn(D, function(p) {
2006
+ return p.endTime;
2018
2007
  })
2019
2008
  ]).rangeRound([0, ot - i.leftPadding - i.rightPadding]);
2020
- function F(k, $) {
2021
- const _ = k.startTime, p = $.startTime;
2009
+ function F(p, S) {
2010
+ const _ = p.startTime, k = S.startTime;
2022
2011
  let o = 0;
2023
- return _ > p ? o = 1 : _ < p && (o = -1), o;
2012
+ return _ > k ? o = 1 : _ < k && (o = -1), o;
2024
2013
  }
2025
- w.sort(F), W(w, ot, b), Un(V, b, ot, i.useMaxWidth), V.append("text").text(r.db.getDiagramTitle()).attr("x", ot / 2).attr("y", i.titleTopMargin).attr("class", "titleText");
2026
- function W(k, $, _) {
2027
- const p = i.barHeight, o = p + i.barGap, f = i.topPadding, u = i.leftPadding, T = In().domain([0, S.length]).range(["#00B9FA", "#F95002"]).interpolate(ir);
2014
+ D.sort(F), W(D, ot, v), Un(V, v, ot, i.useMaxWidth), V.append("text").text(r.db.getDiagramTitle()).attr("x", ot / 2).attr("y", i.titleTopMargin).attr("class", "titleText");
2015
+ function W(p, S, _) {
2016
+ const k = i.barHeight, o = k + i.barGap, f = i.topPadding, u = i.leftPadding, T = In().domain([0, $.length]).range(["#00B9FA", "#F95002"]).interpolate(ir);
2028
2017
  B(
2029
2018
  o,
2030
2019
  f,
2031
2020
  u,
2032
- $,
2021
+ S,
2033
2022
  _,
2034
- k,
2023
+ p,
2035
2024
  r.db.getExcludes(),
2036
2025
  r.db.getIncludes()
2037
- ), N(u, f, $, _), H(k, o, f, u, p, T, $), X(o, f), x(u, f, $, _);
2026
+ ), N(u, f, S, _), H(p, o, f, u, k, T, S), X(o, f), b(u, f, S, _);
2038
2027
  }
2039
- function H(k, $, _, p, o, f, u) {
2040
- const T = [...new Set(k.map((a) => a.order))].map((a) => k.find((D) => D.order === a));
2041
- V.append("g").selectAll("rect").data(T).enter().append("rect").attr("x", 0).attr("y", function(a, D) {
2042
- return D = a.order, D * $ + _ - 2;
2028
+ function H(p, S, _, k, o, f, u) {
2029
+ const T = [...new Set(p.map((a) => a.order))].map((a) => p.find((C) => C.order === a));
2030
+ V.append("g").selectAll("rect").data(T).enter().append("rect").attr("x", 0).attr("y", function(a, C) {
2031
+ return C = a.order, C * S + _ - 2;
2043
2032
  }).attr("width", function() {
2044
2033
  return u - i.rightPadding / 2;
2045
- }).attr("height", $).attr("class", function(a) {
2046
- for (const [D, E] of S.entries())
2034
+ }).attr("height", S).attr("class", function(a) {
2035
+ for (const [C, E] of $.entries())
2047
2036
  if (a.type === E)
2048
- return "section section" + D % i.numberSectionStyles;
2037
+ return "section section" + C % i.numberSectionStyles;
2049
2038
  return "section section0";
2050
2039
  });
2051
- const c = V.append("g").selectAll("rect").data(k).enter(), O = r.db.getLinks();
2040
+ const c = V.append("g").selectAll("rect").data(p).enter(), O = r.db.getLinks();
2052
2041
  if (c.append("rect").attr("id", function(a) {
2053
2042
  return a.id;
2054
2043
  }).attr("rx", 3).attr("ry", 3).attr("x", function(a) {
2055
- return a.milestone ? g(a.startTime) + p + 0.5 * (g(a.endTime) - g(a.startTime)) - 0.5 * o : g(a.startTime) + p;
2056
- }).attr("y", function(a, D) {
2057
- return D = a.order, D * $ + _;
2044
+ return a.milestone ? h(a.startTime) + k + 0.5 * (h(a.endTime) - h(a.startTime)) - 0.5 * o : h(a.startTime) + k;
2045
+ }).attr("y", function(a, C) {
2046
+ return C = a.order, C * S + _;
2058
2047
  }).attr("width", function(a) {
2059
- return a.milestone ? o : g(a.renderEndTime || a.endTime) - g(a.startTime);
2060
- }).attr("height", o).attr("transform-origin", function(a, D) {
2061
- return D = a.order, (g(a.startTime) + p + 0.5 * (g(a.endTime) - g(a.startTime))).toString() + "px " + (D * $ + _ + 0.5 * o).toString() + "px";
2048
+ return a.milestone ? o : h(a.renderEndTime || a.endTime) - h(a.startTime);
2049
+ }).attr("height", o).attr("transform-origin", function(a, C) {
2050
+ return C = a.order, (h(a.startTime) + k + 0.5 * (h(a.endTime) - h(a.startTime))).toString() + "px " + (C * S + _ + 0.5 * o).toString() + "px";
2062
2051
  }).attr("class", function(a) {
2063
- const D = "task";
2052
+ const C = "task";
2064
2053
  let E = "";
2065
2054
  a.classes.length > 0 && (E = a.classes.join(" "));
2066
2055
  let P = 0;
2067
- for (const [G, A] of S.entries())
2068
- a.type === A && (P = G % i.numberSectionStyles);
2056
+ for (const [G, Y] of $.entries())
2057
+ a.type === Y && (P = G % i.numberSectionStyles);
2069
2058
  let U = "";
2070
- return a.active ? a.crit ? U += " activeCrit" : U = " active" : a.done ? a.crit ? U = " doneCrit" : U = " done" : a.crit && (U += " crit"), U.length === 0 && (U = " task"), a.milestone && (U = " milestone " + U), U += P, U += " " + E, D + U;
2059
+ return a.active ? a.crit ? U += " activeCrit" : U = " active" : a.done ? a.crit ? U = " doneCrit" : U = " done" : a.crit && (U += " crit"), U.length === 0 && (U = " task"), a.milestone && (U = " milestone " + U), U += P, U += " " + E, C + U;
2071
2060
  }), c.append("text").attr("id", function(a) {
2072
2061
  return a.id + "-text";
2073
2062
  }).text(function(a) {
2074
2063
  return a.task;
2075
2064
  }).attr("font-size", i.fontSize).attr("x", function(a) {
2076
- let D = g(a.startTime), E = g(a.renderEndTime || a.endTime);
2077
- a.milestone && (D += 0.5 * (g(a.endTime) - g(a.startTime)) - 0.5 * o), a.milestone && (E = D + o);
2065
+ let C = h(a.startTime), E = h(a.renderEndTime || a.endTime);
2066
+ a.milestone && (C += 0.5 * (h(a.endTime) - h(a.startTime)) - 0.5 * o), a.milestone && (E = C + o);
2078
2067
  const P = this.getBBox().width;
2079
- return P > E - D ? E + P + 1.5 * i.leftPadding > u ? D + p - 5 : E + p + 5 : (E - D) / 2 + D + p;
2080
- }).attr("y", function(a, D) {
2081
- return D = a.order, D * $ + i.barHeight / 2 + (i.fontSize / 2 - 2) + _;
2068
+ return P > E - C ? E + P + 1.5 * i.leftPadding > u ? C + k - 5 : E + k + 5 : (E - C) / 2 + C + k;
2069
+ }).attr("y", function(a, C) {
2070
+ return C = a.order, C * S + i.barHeight / 2 + (i.fontSize / 2 - 2) + _;
2082
2071
  }).attr("text-height", o).attr("class", function(a) {
2083
- const D = g(a.startTime);
2084
- let E = g(a.endTime);
2085
- a.milestone && (E = D + o);
2072
+ const C = h(a.startTime);
2073
+ let E = h(a.endTime);
2074
+ a.milestone && (E = C + o);
2086
2075
  const P = this.getBBox().width;
2087
2076
  let U = "";
2088
2077
  a.classes.length > 0 && (U = a.classes.join(" "));
2089
2078
  let G = 0;
2090
- for (const [tt, st] of S.entries())
2079
+ for (const [tt, st] of $.entries())
2091
2080
  a.type === st && (G = tt % i.numberSectionStyles);
2092
- let A = "";
2093
- return a.active && (a.crit ? A = "activeCritText" + G : A = "activeText" + G), a.done ? a.crit ? A = A + " doneCritText" + G : A = A + " doneText" + G : a.crit && (A = A + " critText" + G), a.milestone && (A += " milestoneText"), P > E - D ? E + P + 1.5 * i.leftPadding > u ? U + " taskTextOutsideLeft taskTextOutside" + G + " " + A : U + " taskTextOutsideRight taskTextOutside" + G + " " + A + " width-" + P : U + " taskText taskText" + G + " " + A + " width-" + P;
2094
- }), Ct().securityLevel === "sandbox") {
2081
+ let Y = "";
2082
+ return a.active && (a.crit ? Y = "activeCritText" + G : Y = "activeText" + G), a.done ? a.crit ? Y = Y + " doneCritText" + G : Y = Y + " doneText" + G : a.crit && (Y = Y + " critText" + G), a.milestone && (Y += " milestoneText"), P > E - C ? E + P + 1.5 * i.leftPadding > u ? U + " taskTextOutsideLeft taskTextOutside" + G + " " + Y : U + " taskTextOutsideRight taskTextOutside" + G + " " + Y + " width-" + P : U + " taskText taskText" + G + " " + Y + " width-" + P;
2083
+ }), wt().securityLevel === "sandbox") {
2095
2084
  let a;
2096
2085
  a = Pt("#i" + e);
2097
- const D = a.nodes()[0].contentDocument;
2086
+ const C = a.nodes()[0].contentDocument;
2098
2087
  c.filter(function(E) {
2099
2088
  return O[E.id] !== void 0;
2100
2089
  }).each(function(E) {
2101
- var P = D.querySelector("#" + E.id), U = D.querySelector("#" + E.id + "-text");
2090
+ var P = C.querySelector("#" + E.id), U = C.querySelector("#" + E.id + "-text");
2102
2091
  const G = P.parentNode;
2103
- var A = D.createElement("a");
2104
- A.setAttribute("xlink:href", O[E.id]), A.setAttribute("target", "_top"), G.appendChild(A), A.appendChild(P), A.appendChild(U);
2092
+ var Y = C.createElement("a");
2093
+ Y.setAttribute("xlink:href", O[E.id]), Y.setAttribute("target", "_top"), G.appendChild(Y), Y.appendChild(P), Y.appendChild(U);
2105
2094
  });
2106
2095
  }
2107
2096
  }
2108
- function B(k, $, _, p, o, f, u, T) {
2097
+ function B(p, S, _, k, o, f, u, T) {
2109
2098
  if (u.length === 0 && T.length === 0)
2110
2099
  return;
2111
2100
  let c, O;
@@ -2119,26 +2108,26 @@ const ds = function(t, e, n, r) {
2119
2108
  );
2120
2109
  return;
2121
2110
  }
2122
- const a = r.db.getDateFormat(), D = [];
2111
+ const a = r.db.getDateFormat(), C = [];
2123
2112
  let E = null, P = R(c);
2124
2113
  for (; P.valueOf() <= O; )
2125
2114
  r.db.isInvalidDate(P, a, u, T) ? E ? E.end = P : E = {
2126
2115
  start: P,
2127
2116
  end: P
2128
- } : E && (D.push(E), E = null), P = P.add(1, "d");
2129
- V.append("g").selectAll("rect").data(D).enter().append("rect").attr("id", function(U) {
2117
+ } : E && (C.push(E), E = null), P = P.add(1, "d");
2118
+ V.append("g").selectAll("rect").data(C).enter().append("rect").attr("id", function(U) {
2130
2119
  return "exclude-" + U.start.format("YYYY-MM-DD");
2131
2120
  }).attr("x", function(U) {
2132
- return g(U.start) + _;
2121
+ return h(U.start) + _;
2133
2122
  }).attr("y", i.gridLineStartPadding).attr("width", function(U) {
2134
2123
  const G = U.end.add(1, "day");
2135
- return g(G) - g(U.start);
2136
- }).attr("height", o - $ - i.gridLineStartPadding).attr("transform-origin", function(U, G) {
2137
- return (g(U.start) + _ + 0.5 * (g(U.end) - g(U.start))).toString() + "px " + (G * k + 0.5 * o).toString() + "px";
2124
+ return h(G) - h(U.start);
2125
+ }).attr("height", o - S - i.gridLineStartPadding).attr("transform-origin", function(U, G) {
2126
+ return (h(U.start) + _ + 0.5 * (h(U.end) - h(U.start))).toString() + "px " + (G * p + 0.5 * o).toString() + "px";
2138
2127
  }).attr("class", "exclude-range");
2139
2128
  }
2140
- function N(k, $, _, p) {
2141
- let o = Kn(g).tickSize(-p + $ + i.gridLineStartPadding).tickFormat(Xt(r.db.getAxisFormat() || i.axisFormat || "%Y-%m-%d"));
2129
+ function N(p, S, _, k) {
2130
+ let o = Kn(h).tickSize(-k + S + i.gridLineStartPadding).tickFormat(Xt(r.db.getAxisFormat() || i.axisFormat || "%Y-%m-%d"));
2142
2131
  const f = /^([1-9]\d*)(millisecond|second|minute|hour|day|week|month)$/.exec(
2143
2132
  r.db.getTickInterval() || i.tickInterval
2144
2133
  );
@@ -2146,7 +2135,7 @@ const ds = function(t, e, n, r) {
2146
2135
  const u = f[1], T = f[2], c = r.db.getWeekday() || i.weekday;
2147
2136
  switch (T) {
2148
2137
  case "millisecond":
2149
- o.ticks(Mt.every(u));
2138
+ o.ticks(_t.every(u));
2150
2139
  break;
2151
2140
  case "second":
2152
2141
  o.ticks(gt.every(u));
@@ -2158,7 +2147,7 @@ const ds = function(t, e, n, r) {
2158
2147
  o.ticks(Lt.every(u));
2159
2148
  break;
2160
2149
  case "day":
2161
- o.ticks(kt.every(u));
2150
+ o.ticks(pt.every(u));
2162
2151
  break;
2163
2152
  case "week":
2164
2153
  o.ticks(Be[c].every(u));
@@ -2168,13 +2157,13 @@ const ds = function(t, e, n, r) {
2168
2157
  break;
2169
2158
  }
2170
2159
  }
2171
- if (V.append("g").attr("class", "grid").attr("transform", "translate(" + k + ", " + (p - 50) + ")").call(o).selectAll("text").style("text-anchor", "middle").attr("fill", "#000").attr("stroke", "none").attr("font-size", 10).attr("dy", "1em"), r.db.topAxisEnabled() || i.topAxis) {
2172
- let u = Qn(g).tickSize(-p + $ + i.gridLineStartPadding).tickFormat(Xt(r.db.getAxisFormat() || i.axisFormat || "%Y-%m-%d"));
2160
+ if (V.append("g").attr("class", "grid").attr("transform", "translate(" + p + ", " + (k - 50) + ")").call(o).selectAll("text").style("text-anchor", "middle").attr("fill", "#000").attr("stroke", "none").attr("font-size", 10).attr("dy", "1em"), r.db.topAxisEnabled() || i.topAxis) {
2161
+ let u = Qn(h).tickSize(-k + S + i.gridLineStartPadding).tickFormat(Xt(r.db.getAxisFormat() || i.axisFormat || "%Y-%m-%d"));
2173
2162
  if (f !== null) {
2174
2163
  const T = f[1], c = f[2], O = r.db.getWeekday() || i.weekday;
2175
2164
  switch (c) {
2176
2165
  case "millisecond":
2177
- u.ticks(Mt.every(T));
2166
+ u.ticks(_t.every(T));
2178
2167
  break;
2179
2168
  case "second":
2180
2169
  u.ticks(gt.every(T));
@@ -2186,7 +2175,7 @@ const ds = function(t, e, n, r) {
2186
2175
  u.ticks(Lt.every(T));
2187
2176
  break;
2188
2177
  case "day":
2189
- u.ticks(kt.every(T));
2178
+ u.ticks(pt.every(T));
2190
2179
  break;
2191
2180
  case "week":
2192
2181
  u.ticks(Be[O].every(T));
@@ -2196,13 +2185,13 @@ const ds = function(t, e, n, r) {
2196
2185
  break;
2197
2186
  }
2198
2187
  }
2199
- V.append("g").attr("class", "grid").attr("transform", "translate(" + k + ", " + $ + ")").call(u).selectAll("text").style("text-anchor", "middle").attr("fill", "#000").attr("stroke", "none").attr("font-size", 10);
2188
+ V.append("g").attr("class", "grid").attr("transform", "translate(" + p + ", " + S + ")").call(u).selectAll("text").style("text-anchor", "middle").attr("fill", "#000").attr("stroke", "none").attr("font-size", 10);
2200
2189
  }
2201
2190
  }
2202
- function X(k, $) {
2191
+ function X(p, S) {
2203
2192
  let _ = 0;
2204
- const p = Object.keys(v).map((o) => [o, v[o]]);
2205
- V.append("g").selectAll("text").data(p).enter().append(function(o) {
2193
+ const k = Object.keys(w).map((o) => [o, w[o]]);
2194
+ V.append("g").selectAll("text").data(k).enter().append(function(o) {
2206
2195
  const f = o[0].split(Ln.lineBreakRegex), u = -(f.length - 1) / 2, T = M.createElementNS("http://www.w3.org/2000/svg", "text");
2207
2196
  T.setAttribute("dy", u + "em");
2208
2197
  for (const [c, O] of f.entries()) {
@@ -2213,27 +2202,27 @@ const ds = function(t, e, n, r) {
2213
2202
  }).attr("x", 10).attr("y", function(o, f) {
2214
2203
  if (f > 0)
2215
2204
  for (let u = 0; u < f; u++)
2216
- return _ += p[f - 1][1], o[1] * k / 2 + _ * k + $;
2205
+ return _ += k[f - 1][1], o[1] * p / 2 + _ * p + S;
2217
2206
  else
2218
- return o[1] * k / 2 + $;
2207
+ return o[1] * p / 2 + S;
2219
2208
  }).attr("font-size", i.sectionFontSize).attr("class", function(o) {
2220
- for (const [f, u] of S.entries())
2209
+ for (const [f, u] of $.entries())
2221
2210
  if (o[0] === u)
2222
2211
  return "sectionTitle sectionTitle" + f % i.numberSectionStyles;
2223
2212
  return "sectionTitle";
2224
2213
  });
2225
2214
  }
2226
- function x(k, $, _, p) {
2215
+ function b(p, S, _, k) {
2227
2216
  const o = r.db.getTodayMarker();
2228
2217
  if (o === "off")
2229
2218
  return;
2230
2219
  const f = V.append("g").attr("class", "today"), u = /* @__PURE__ */ new Date(), T = f.append("line");
2231
- T.attr("x1", g(u) + k).attr("x2", g(u) + k).attr("y1", i.titleTopMargin).attr("y2", p - i.titleTopMargin).attr("class", "today"), o !== "" && T.attr("style", o.replace(/,/g, ";"));
2220
+ T.attr("x1", h(u) + p).attr("x2", h(u) + p).attr("y1", i.titleTopMargin).attr("y2", k - i.titleTopMargin).attr("class", "today"), o !== "" && T.attr("style", o.replace(/,/g, ";"));
2232
2221
  }
2233
- function L(k) {
2234
- const $ = {}, _ = [];
2235
- for (let p = 0, o = k.length; p < o; ++p)
2236
- Object.prototype.hasOwnProperty.call($, k[p]) || ($[k[p]] = !0, _.push(k[p]));
2222
+ function L(p) {
2223
+ const S = {}, _ = [];
2224
+ for (let k = 0, o = p.length; k < o; ++k)
2225
+ Object.prototype.hasOwnProperty.call(S, p[k]) || (S[p[k]] = !0, _.push(p[k]));
2237
2226
  return _;
2238
2227
  }
2239
2228
  }, fs = {
@@ -2490,12 +2479,12 @@ const ds = function(t, e, n, r) {
2490
2479
  fill: ${t.titleColor || t.textColor};
2491
2480
  font-family: var(--mermaid-font-family, "trebuchet ms", verdana, arial, sans-serif);
2492
2481
  }
2493
- `, gs = hs, ps = {
2494
- parser: Mi,
2482
+ `, gs = hs, ks = {
2483
+ parser: Si,
2495
2484
  db: cs,
2496
2485
  renderer: fs,
2497
2486
  styles: gs
2498
2487
  };
2499
2488
  export {
2500
- ps as diagram
2489
+ ks as diagram
2501
2490
  };