@kong-ui-public/documentation 0.7.20 → 0.7.21

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (47) hide show
  1. package/dist/{Tableau10-GLA_9iAD-BMurskAd.js → Tableau10-D7jGxypv-D3w6FIcJ.js} +1 -2
  2. package/dist/arc-CJ96KFKf-ZAEyyrBI.js +84 -0
  3. package/dist/{blockDiagram-6b2b5046-ZGxr7RGf-D4pbh8vR.js → blockDiagram-9f4a6865-DOUkHJlG-BPuF5-tK.js} +107 -108
  4. package/dist/{c4Diagram-b947cdbb-Bo6xALld-D8DXBmHw.js → c4Diagram-ae766693-qW59_Cjl-BSBtINzy.js} +133 -132
  5. package/dist/{channel-BX3TjCqa-Cdtt6hB1.js → channel-BkEGjNbZ-CzBFLYvk.js} +1 -1
  6. package/dist/{classDiagram-35230388-C60SAKfJ-FQHXcc4J.js → classDiagram-fb54d2a0-DaEnSnV7-BgUSoTGU.js} +8 -7
  7. package/dist/{classDiagram-v2-412acd34-CHK1KDqU-CiKmarbv.js → classDiagram-v2-a2b738ad-DVF-sdZH-lL0m0fQD.js} +8 -8
  8. package/dist/{clone-BSWoNj0I-CW2QP79u.js → clone-Bz5840kP-D3Uvm_gp.js} +1 -1
  9. package/dist/{createText-423428c9-DeHbckoy-r2CCACGx.js → createText-ca0c5216-DGjoI7Oz-8Az9WSXK.js} +14 -20
  10. package/dist/documentation.es.js +3 -3
  11. package/dist/documentation.umd.js +993 -723
  12. package/dist/{edges-d417c7a0-D7e9Y4V--DVOSTCB5.js → edges-066a5561-ByMuMaff-ipHdGCa_.js} +28 -27
  13. package/dist/{erDiagram-0ea73325-E3jchkiK-CfTqZxm6.js → erDiagram-09d1c15f-Ctl-zT4O-B9E7LRcs.js} +71 -72
  14. package/dist/{flowDb-d35e309a-Dch1VW7i-Bk557s4E.js → flowDb-c1833063-nJUM9bYy-B5f_hjwI.js} +4 -4
  15. package/dist/{flowDiagram-d949d7c1-CxjmKfBF-CuFUEya4.js → flowDiagram-b222e15a-BlrP8xne-DJ_sATm6.js} +339 -333
  16. package/dist/{flowDiagram-v2-49332944-Duf6j7PN-DgsEJ4Bo.js → flowDiagram-v2-13329dc7-DlqVPxH6-CgXruRZr.js} +5 -5
  17. package/dist/{flowchart-elk-definition-27cc417a-M-lK4i48-Bs8Ix10e.js → flowchart-elk-definition-ae0efee6-B2FZpaI4-C8o8y5J1.js} +343 -590
  18. package/dist/{ganttDiagram-5c869e3b-CgjZsm2H-Bon0v47P.js → ganttDiagram-b62c793e-BUkrtLIU-roFbcEhP.js} +513 -534
  19. package/dist/gitGraphDiagram-942e62fe-BIndO562-dNVJJzzm.js +1264 -0
  20. package/dist/{graph-Ch18bQn5-BLEKw6WT.js → graph-BN58fiEq-CyCz6HB3.js} +3 -4
  21. package/dist/{index-8fae9850-kUIz8xNo-CDn9_qZB.js → index-01f381cb-DHHDXut0-C1FToHnX.js} +11 -11
  22. package/dist/{index-CVS7cBlb.js → index-Dz46e5bv.js} +2354 -2515
  23. package/dist/{infoDiagram-db7b18fc-BpBtHVy2-DuX4gmA7.js → infoDiagram-94cd232f-CSzv-wTE-Bnonj1Cb.js} +7 -7
  24. package/dist/{journeyDiagram-d5636530-CZUFMDTA-D5VAFQAG.js → journeyDiagram-6625b456-Ca9U8tWI-DoKEPckV.js} +16 -16
  25. package/dist/katex-BXNjbZo7-CF_fuFJb.js +11637 -0
  26. package/dist/{layout-BzV691RN-Br8Ir03a.js → layout-DU4VNk5y-DEbr0_Pk.js} +112 -114
  27. package/dist/{line-JCh8JM-V-T9MVIZIE.js → line-CwSAou3c-dgS2jcU_.js} +3 -4
  28. package/dist/{linear-cwTFOJBq-B6q6qtlZ.js → linear-CngEzq0a-B6fRdJQY.js} +70 -94
  29. package/dist/{mindmap-definition-377f8f1f-BzIPdpBG-DD8FIpST.js → mindmap-definition-307c710a-CvpxqRPj-AB15RcM6.js} +343 -378
  30. package/dist/{ordinal-MUacOSdK-B1MUT0BL.js → ordinal-DfAQgscy-BEJTu10r.js} +3 -7
  31. package/dist/{path-Crsf9Nsj-SiSjwXsf.js → path-DLwuMfdd-EbErTa4c.js} +12 -19
  32. package/dist/{pieDiagram-b0208e96-BQfpnZHG-E8AMqTd3.js → pieDiagram-bb1d19e5-LP-9WGAS-DwilsWxb.js} +61 -61
  33. package/dist/{quadrantDiagram-0332be45-CNL4JCrn-BYyiYlYH.js → quadrantDiagram-c759a472-B_TsLXO0-BviiuQRe.js} +2 -2
  34. package/dist/{requirementDiagram-bf7890df-NBqqCuPF-CIHJhGNa.js → requirementDiagram-87253d64-o6jrBKBt-BDXpXGpQ.js} +30 -30
  35. package/dist/{sankeyDiagram-0acdec17-YE0ROy8d-CU1TmQZx.js → sankeyDiagram-707fac0f-BoEHDAJv-BBNylsjT.js} +44 -58
  36. package/dist/{sequenceDiagram-c18d009d-Yucxrjw7-D_cnXQcd.js → sequenceDiagram-6894f283-Dsj52Wsi-TDdIX1Wn.js} +845 -812
  37. package/dist/{stateDiagram-43596fc0-D9IY4Ssi-KJp_o1Vc.js → stateDiagram-5dee940d-COfohDXu-Dra8cHnR.js} +54 -54
  38. package/dist/{stateDiagram-v2-2ead4f9c-5IZQWbnV-Chm6qgaK.js → stateDiagram-v2-1992cada-v9z1blk7-b2WlcHGI.js} +12 -12
  39. package/dist/{styles-b2c874b6-pUAi9-OK-C7HwN-ih.js → styles-0784dbeb-DHDYpA72-BTX0XQJ5.js} +24 -24
  40. package/dist/{styles-7383a064-DLbSva3T-DWY6NPMf.js → styles-483fbfea-DUrqZeOP-BPfiLFkT.js} +140 -137
  41. package/dist/{styles-6860f46c-DHqkrPDU-JiuD19BB.js → styles-b83b31c9-R9NNyYA0-DnoGi25s.js} +29 -29
  42. package/dist/{svgDrawCommon-0ee1b4e9-rbw7BPwi-Boin581S.js → svgDrawCommon-5e1cfd1d-DeHC_PTd-44CTrnyq.js} +5 -5
  43. package/dist/{timeline-definition-d977decf-CtlVf6FF-BqqlH53Y.js → timeline-definition-bf702344-BzpRV6Z8-DHqazJ7N.js} +2 -2
  44. package/dist/{xychartDiagram-e50adddc-B9qgoJob-CqAKcFLo.js → xychartDiagram-f11f50a6-BMDfQSWf-CixUys_w.js} +40 -40
  45. package/package.json +6 -6
  46. package/dist/arc-TomPQHIy-B0wkvDWU.js +0 -86
  47. package/dist/gitGraphDiagram-b9d81de9-DhOfBQfl-BvCcUYjg.js +0 -1262
@@ -1,5 +1,5 @@
1
- import { at as Ne, au as Ve, av as Ge, aw as Ze, ax as me, ay as R, az as ye, c as wt, s as Cn, g as Dn, v as _n, x as Sn, b as Mn, a as $n, aA as An, z as Yn, m as Fn, l as Zt, h as Pt, i as Un, j as Ln, y as En, aB as Jt, aC as On } from "./index-CVS7cBlb.js";
2
- import { Z as In, X as Hn, O as Wn, W as zn, w as Me } from "./linear-cwTFOJBq-B6q6qtlZ.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 Ct, s as Cn, g as Dn, x as _n, y as Mn, b as Sn, a as $n, aB as Yn, A as An, m as Fn, l as Zt, h as Pt, i as Un, j as Ln, z as En, aC as Jt, aD as On } from "./index-Dz46e5bv.js";
2
+ import { Z as In, X as Hn, O as Wn, _ as zn, w as Se } from "./linear-CngEzq0a-B6fRdJQY.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, 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) {
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) {
54
54
  var f = this.parentNode.__axis;
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() {
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() {
59
59
  this.__axis = N;
60
60
  });
61
61
  }
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;
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;
83
83
  }
84
84
  function Qn(t) {
85
85
  return qe(Nt, t);
@@ -87,13 +87,11 @@ 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, Ct = 6 / 29, Je = 3 * Ct * Ct, tr = Ct * Ct * Ct;
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;
91
91
  function Re(t) {
92
- if (t instanceof it)
93
- return new it(t.l, t.a, t.b, t.opacity);
94
- if (t instanceof ct)
95
- return tn(t);
96
- t instanceof Ge || (t = An(t));
92
+ if (t instanceof it) return new it(t.l, t.a, t.b, t.opacity);
93
+ if (t instanceof ct) return tn(t);
94
+ t instanceof Ge || (t = Yn(t));
97
95
  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
96
  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
97
  }
@@ -124,7 +122,7 @@ function te(t) {
124
122
  return t > tr ? Math.pow(t, 1 / 3) : t / Je + Ke;
125
123
  }
126
124
  function ee(t) {
127
- return t > Ct ? t * t * t : Je * (t - Ke);
125
+ return t > Dt ? t * t * t : Je * (t - Ke);
128
126
  }
129
127
  function ne(t) {
130
128
  return 255 * (t <= 31308e-7 ? 12.92 * t : 1.055 * Math.pow(t, 1 / 2.4) - 0.055);
@@ -133,10 +131,8 @@ function re(t) {
133
131
  return (t /= 255) <= 0.04045 ? t / 12.92 : Math.pow((t + 0.055) / 1.055, 2.4);
134
132
  }
135
133
  function nr(t) {
136
- if (t instanceof ct)
137
- return new ct(t.h, t.c, t.l, t.opacity);
138
- if (t instanceof it || (t = Re(t)), t.a === 0 && t.b === 0)
139
- return new ct(NaN, 0 < t.l && t.l < 100 ? 0 : NaN, t.l, t.opacity);
134
+ if (t instanceof ct) return new ct(t.h, t.c, t.l, t.opacity);
135
+ if (t instanceof it || (t = Re(t)), t.a === 0 && t.b === 0) return new ct(NaN, 0 < t.l && t.l < 100 ? 0 : NaN, t.l, t.opacity);
140
136
  var e = Math.atan2(t.b, t.a) * Rn;
141
137
  return new ct(e < 0 ? e + 360 : e, Math.sqrt(t.a * t.a + t.b * t.b), t.l, t.opacity);
142
138
  }
@@ -147,8 +143,7 @@ function ct(t, e, n, r) {
147
143
  this.h = +t, this.c = +e, this.l = +n, this.opacity = +r;
148
144
  }
149
145
  function tn(t) {
150
- if (isNaN(t.h))
151
- return new it(t.l, 0, 0, t.opacity);
146
+ if (isNaN(t.h)) return new it(t.l, 0, 0, t.opacity);
152
147
  var e = t.h * Jn;
153
148
  return new it(t.l, Math.cos(e) * t.c, Math.sin(e) * t.c, t.opacity);
154
149
  }
@@ -166,8 +161,8 @@ Ne(ct, ue, Ve(Ze, {
166
161
  function rr(t) {
167
162
  return function(e, n) {
168
163
  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(g) {
170
- return e.h = r(g), e.c = i(g), e.l = s(g), e.opacity = l(g), e + "";
164
+ return function(m) {
165
+ return e.h = r(m), e.c = i(m), e.l = s(m), e.opacity = l(m), e + "";
171
166
  };
172
167
  };
173
168
  }
@@ -183,44 +178,39 @@ function K(t, e, n, r) {
183
178
  return t(s = arguments.length === 0 ? /* @__PURE__ */ new Date() : /* @__PURE__ */ new Date(+s)), s;
184
179
  }
185
180
  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), 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) => {
181
+ const l = i(s), m = i.ceil(s);
182
+ return s - l < m - s ? l : m;
183
+ }, i.offset = (s, l) => (e(s = /* @__PURE__ */ new Date(+s), l == null ? 1 : Math.floor(l)), s), i.range = (s, l, m) => {
189
184
  const M = [];
190
- if (s = i.ceil(s), g = g == null ? 1 : Math.floor(g), !(s < l) || !(g > 0))
191
- return M;
192
- let m;
185
+ if (s = i.ceil(s), m = m == null ? 1 : Math.floor(m), !(s < l) || !(m > 0)) return M;
186
+ let h;
193
187
  do
194
- M.push(m = /* @__PURE__ */ new Date(+s)), e(s, g), t(s);
195
- while (m < s && s < l);
188
+ M.push(h = /* @__PURE__ */ new Date(+s)), e(s, m), t(s);
189
+ while (h < s && s < l);
196
190
  return M;
197
191
  }, i.filter = (s) => K((l) => {
192
+ if (l >= l) for (; t(l), !s(l); ) l.setTime(l - 1);
193
+ }, (l, m) => {
198
194
  if (l >= l)
199
- for (; t(l), !s(l); )
200
- l.setTime(l - 1);
201
- }, (l, g) => {
202
- if (l >= l)
203
- if (g < 0)
204
- for (; ++g <= 0; )
205
- for (; e(l, -1), !s(l); )
206
- ;
207
- else
208
- for (; --g >= 0; )
209
- for (; e(l, 1), !s(l); )
210
- ;
195
+ if (m < 0) for (; ++m <= 0; )
196
+ for (; e(l, -1), !s(l); )
197
+ ;
198
+ else for (; --m >= 0; )
199
+ for (; e(l, 1), !s(l); )
200
+ ;
211
201
  }), 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
202
  }
213
- const _t = K(() => {
203
+ const Mt = K(() => {
214
204
  }, (t, e) => {
215
205
  t.setTime(+t + e);
216
206
  }, (t, e) => e - t);
217
- _t.every = (t) => (t = Math.floor(t), !isFinite(t) || !(t > 0) ? null : t > 1 ? K((e) => {
207
+ Mt.every = (t) => (t = Math.floor(t), !isFinite(t) || !(t > 0) ? null : t > 1 ? K((e) => {
218
208
  e.setTime(Math.floor(e / t) * t);
219
209
  }, (e, n) => {
220
210
  e.setTime(+e + n * 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) => {
211
+ }, (e, n) => (n - e) / t) : Mt);
212
+ Mt.range;
213
+ const lt = 1e3, et = lt * 60, ut = et * 60, dt = ut * 24, ke = dt * 7, Ye = dt * 30, ae = dt * 365, gt = K((t) => {
224
214
  t.setTime(t - t.getMilliseconds());
225
215
  }, (t, e) => {
226
216
  t.setTime(+t + e * lt);
@@ -250,19 +240,19 @@ const or = K((t) => {
250
240
  t.setTime(+t + e * ut);
251
241
  }, (t, e) => (e - t) / ut, (t) => t.getUTCHours());
252
242
  or.range;
253
- const pt = K(
243
+ const kt = K(
254
244
  (t) => t.setHours(0, 0, 0, 0),
255
245
  (t, e) => t.setDate(t.getDate() + e),
256
246
  (t, e) => (e - t - (e.getTimezoneOffset() - t.getTimezoneOffset()) * et) / dt,
257
247
  (t) => t.getDate() - 1
258
248
  );
259
- pt.range;
260
- const ke = K((t) => {
249
+ kt.range;
250
+ const pe = K((t) => {
261
251
  t.setUTCHours(0, 0, 0, 0);
262
252
  }, (t, e) => {
263
253
  t.setUTCDate(t.getUTCDate() + e);
264
254
  }, (t, e) => (e - t) / dt, (t) => t.getUTCDate() - 1);
265
- ke.range;
255
+ pe.range;
266
256
  const cr = K((t) => {
267
257
  t.setUTCHours(0, 0, 0, 0);
268
258
  }, (t, e) => {
@@ -274,14 +264,14 @@ function vt(t) {
274
264
  e.setDate(e.getDate() - (e.getDay() + 7 - t) % 7), e.setHours(0, 0, 0, 0);
275
265
  }, (e, n) => {
276
266
  e.setDate(e.getDate() + n * 7);
277
- }, (e, n) => (n - e - (n.getTimezoneOffset() - e.getTimezoneOffset()) * et) / pe);
267
+ }, (e, n) => (n - e - (n.getTimezoneOffset() - e.getTimezoneOffset()) * et) / ke);
278
268
  }
279
- const It = vt(0), Et = vt(1), en = vt(2), nn = vt(3), kt = vt(4), rn = vt(5), sn = vt(6);
269
+ const It = vt(0), Et = vt(1), en = vt(2), nn = vt(3), pt = vt(4), rn = vt(5), sn = vt(6);
280
270
  It.range;
281
271
  Et.range;
282
272
  en.range;
283
273
  nn.range;
284
- kt.range;
274
+ pt.range;
285
275
  rn.range;
286
276
  sn.range;
287
277
  function bt(t) {
@@ -289,7 +279,7 @@ function bt(t) {
289
279
  e.setUTCDate(e.getUTCDate() - (e.getUTCDay() + 7 - t) % 7), e.setUTCHours(0, 0, 0, 0);
290
280
  }, (e, n) => {
291
281
  e.setUTCDate(e.getUTCDate() + n * 7);
292
- }, (e, n) => (n - e) / pe);
282
+ }, (e, n) => (n - e) / ke);
293
283
  }
294
284
  const an = bt(0), jt = bt(1), lr = bt(2), ur = bt(3), St = bt(4), dr = bt(5), fr = bt(6);
295
285
  an.range;
@@ -349,29 +339,27 @@ function gr(t, e, n, r, i, s) {
349
339
  [i, 12, 12 * ut],
350
340
  [r, 1, dt],
351
341
  [r, 2, 2 * dt],
352
- [n, 1, pe],
353
- [e, 1, Ae],
354
- [e, 3, 3 * Ae],
342
+ [n, 1, ke],
343
+ [e, 1, Ye],
344
+ [e, 3, 3 * Ye],
355
345
  [t, 1, ae]
356
346
  ];
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);
347
+ function m(h, w, S) {
348
+ const v = w < h;
349
+ v && ([h, w] = [w, h]);
350
+ const b = S && typeof S.range == "function" ? S : M(h, w, S), V = b ? b.range(h, +w + 1) : [];
351
+ return v ? V.reverse() : V;
352
+ }
353
+ function M(h, w, S) {
354
+ const v = Math.abs(w - h) / S, b = zn(([, , F]) => F).right(l, v);
355
+ if (b === l.length) return t.every(Se(h / ae, w / ae, S));
356
+ if (b === 0) return Mt.every(Math.max(Se(h, w, S), 1));
357
+ const [V, g] = l[v / l[b - 1][2] < l[b][2] / v ? b - 1 : b];
358
+ return V.every(g);
359
+ }
360
+ return [m, M];
361
+ }
362
+ const [mr, yr] = gr(ft, Ot, It, kt, Lt, Ut);
375
363
  function oe(t) {
376
364
  if (0 <= t.y && t.y < 100) {
377
365
  var e = new Date(-1, t.m, t.d, t.H, t.M, t.S, t.L);
@@ -386,14 +374,14 @@ function ce(t) {
386
374
  }
387
375
  return new Date(Date.UTC(t.y, t.m, t.d, t.H, t.M, t.S, t.L));
388
376
  }
389
- function At(t, e, n) {
377
+ function Yt(t, e, n) {
390
378
  return { y: t, m: e, d: n, H: 0, M: 0, S: 0, L: 0 };
391
379
  }
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 = {
380
+ function kr(t) {
381
+ 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 = {
394
382
  a: O,
395
383
  A: a,
396
- b: C,
384
+ b: D,
397
385
  B: E,
398
386
  c: null,
399
387
  d: Oe,
@@ -425,7 +413,7 @@ function pr(t) {
425
413
  "%": He
426
414
  }, N = {
427
415
  a: G,
428
- A: Y,
416
+ A,
429
417
  b: tt,
430
418
  B: st,
431
419
  c: null,
@@ -458,7 +446,7 @@ function pr(t) {
458
446
  "%": He
459
447
  }, X = {
460
448
  a: _,
461
- A: k,
449
+ A: p,
462
450
  b: o,
463
451
  B: f,
464
452
  c: u,
@@ -471,13 +459,13 @@ function pr(t) {
471
459
  I: Ee,
472
460
  j: $r,
473
461
  L: Fr,
474
- m: Mr,
475
- M: Ar,
476
- p: S,
477
- q: Sr,
462
+ m: Sr,
463
+ M: Yr,
464
+ p: $,
465
+ q: Mr,
478
466
  Q: Er,
479
467
  s: Or,
480
- S: Yr,
468
+ S: Ar,
481
469
  u: xr,
482
470
  U: wr,
483
471
  V: Cr,
@@ -490,73 +478,66 @@ function pr(t) {
490
478
  Z: _r,
491
479
  "%": Lr
492
480
  };
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) {
481
+ 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);
482
+ function x(y, C) {
483
+ return function(Y) {
496
484
  var d = [], q = -1, I = 0, j = y.length, Z, nt, yt;
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);
485
+ for (Y instanceof Date || (Y = /* @__PURE__ */ new Date(+Y)); ++q < j; )
486
+ 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);
499
487
  return d.push(y.slice(I, q)), d.join("");
500
488
  };
501
489
  }
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
- return null;
507
- if ("Q" in d)
508
- return new Date(d.Q);
509
- if ("s" in d)
510
- return new Date(d.s * 1e3 + ("L" in d ? d.L : 0));
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
- if (d.V < 1 || d.V > 53)
513
- return null;
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
- } 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(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);
490
+ function L(y, C) {
491
+ return function(Y) {
492
+ var d = Yt(1900, void 0, 1), q = k(d, y, Y += "", 0), I, j;
493
+ if (q != Y.length) return null;
494
+ if ("Q" in d) return new Date(d.Q);
495
+ if ("s" in d) return new Date(d.s * 1e3 + ("L" in d ? d.L : 0));
496
+ 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) {
497
+ if (d.V < 1 || d.V > 53) return null;
498
+ "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);
499
+ } else ("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);
517
500
  return "Z" in d ? (d.H += d.Z / 100 | 0, d.M += d.Z % 100, ce(d)) : oe(d);
518
501
  };
519
502
  }
520
- function p(y, x, A, d) {
521
- for (var q = 0, I = x.length, j = A.length, Z, nt; q < I; ) {
522
- if (d >= j)
523
- return -1;
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
- return -1;
527
- } else if (Z != A.charCodeAt(d++))
503
+ function k(y, C, Y, d) {
504
+ for (var q = 0, I = C.length, j = Y.length, Z, nt; q < I; ) {
505
+ if (d >= j) return -1;
506
+ if (Z = C.charCodeAt(q++), Z === 37) {
507
+ if (Z = C.charAt(q++), nt = X[Z in Ae ? C.charAt(q++) : Z], !nt || (d = nt(y, Y, d)) < 0) return -1;
508
+ } else if (Z != Y.charCodeAt(d++))
528
509
  return -1;
529
510
  }
530
511
  return d;
531
512
  }
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;
513
+ function $(y, C, Y) {
514
+ var d = h.exec(C.slice(Y));
515
+ return d ? (y.p = w.get(d[0].toLowerCase()), Y + d[0].length) : -1;
535
516
  }
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;
517
+ function _(y, C, Y) {
518
+ var d = b.exec(C.slice(Y));
519
+ return d ? (y.w = V.get(d[0].toLowerCase()), Y + d[0].length) : -1;
539
520
  }
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;
521
+ function p(y, C, Y) {
522
+ var d = S.exec(C.slice(Y));
523
+ return d ? (y.w = v.get(d[0].toLowerCase()), Y + d[0].length) : -1;
543
524
  }
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;
525
+ function o(y, C, Y) {
526
+ var d = W.exec(C.slice(Y));
527
+ return d ? (y.m = H.get(d[0].toLowerCase()), Y + d[0].length) : -1;
547
528
  }
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;
529
+ function f(y, C, Y) {
530
+ var d = g.exec(C.slice(Y));
531
+ return d ? (y.m = F.get(d[0].toLowerCase()), Y + d[0].length) : -1;
551
532
  }
552
- function u(y, x, A) {
553
- return p(y, e, x, A);
533
+ function u(y, C, Y) {
534
+ return k(y, e, C, Y);
554
535
  }
555
- function T(y, x, A) {
556
- return p(y, n, x, A);
536
+ function T(y, C, Y) {
537
+ return k(y, n, C, Y);
557
538
  }
558
- function c(y, x, A) {
559
- return p(y, r, x, A);
539
+ function c(y, C, Y) {
540
+ return k(y, r, C, Y);
560
541
  }
561
542
  function O(y) {
562
543
  return l[y.getDay()];
@@ -564,11 +545,11 @@ function pr(t) {
564
545
  function a(y) {
565
546
  return s[y.getDay()];
566
547
  }
567
- function C(y) {
548
+ function D(y) {
568
549
  return M[y.getMonth()];
569
550
  }
570
551
  function E(y) {
571
- return g[y.getMonth()];
552
+ return m[y.getMonth()];
572
553
  }
573
554
  function P(y) {
574
555
  return i[+(y.getHours() >= 12)];
@@ -579,14 +560,14 @@ function pr(t) {
579
560
  function G(y) {
580
561
  return l[y.getUTCDay()];
581
562
  }
582
- function Y(y) {
563
+ function A(y) {
583
564
  return s[y.getUTCDay()];
584
565
  }
585
566
  function tt(y) {
586
567
  return M[y.getUTCMonth()];
587
568
  }
588
569
  function st(y) {
589
- return g[y.getUTCMonth()];
570
+ return m[y.getUTCMonth()];
590
571
  }
591
572
  function ht(y) {
592
573
  return i[+(y.getUTCHours() >= 12)];
@@ -596,32 +577,32 @@ function pr(t) {
596
577
  }
597
578
  return {
598
579
  format: function(y) {
599
- var x = b(y += "", B);
600
- return x.toString = function() {
580
+ var C = x(y += "", B);
581
+ return C.toString = function() {
601
582
  return y;
602
- }, x;
583
+ }, C;
603
584
  },
604
585
  parse: function(y) {
605
- var x = L(y += "", !1);
606
- return x.toString = function() {
586
+ var C = L(y += "", !1);
587
+ return C.toString = function() {
607
588
  return y;
608
- }, x;
589
+ }, C;
609
590
  },
610
591
  utcFormat: function(y) {
611
- var x = b(y += "", N);
612
- return x.toString = function() {
592
+ var C = x(y += "", N);
593
+ return C.toString = function() {
613
594
  return y;
614
- }, x;
595
+ }, C;
615
596
  },
616
597
  utcParse: function(y) {
617
- var x = L(y += "", !0);
618
- return x.toString = function() {
598
+ var C = L(y += "", !0);
599
+ return C.toString = function() {
619
600
  return y;
620
- }, x;
601
+ }, C;
621
602
  }
622
603
  };
623
604
  }
624
- var Ye = { "-": "", _: " ", 0: "0" }, J = /^\s*\d+/, kr = /^%/, Tr = /[\\^$*+?|[\]().{}]/g;
605
+ var Ae = { "-": "", _: " ", 0: "0" }, J = /^\s*\d+/, pr = /^%/, Tr = /[\\^$*+?|[\]().{}]/g;
625
606
  function z(t, e, n) {
626
607
  var r = t < 0 ? "-" : "", i = (r ? -t : t) + "", s = i.length;
627
608
  return r + (s < n ? new Array(n - s + 1).join(e) + i : i);
@@ -629,7 +610,7 @@ function z(t, e, n) {
629
610
  function vr(t) {
630
611
  return t.replace(Tr, "\\$&");
631
612
  }
632
- function Yt(t) {
613
+ function At(t) {
633
614
  return new RegExp("^(?:" + t.map(vr).join("|") + ")", "i");
634
615
  }
635
616
  function Ft(t) {
@@ -667,11 +648,11 @@ function _r(t, e, n) {
667
648
  var r = /^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(e.slice(n, n + 6));
668
649
  return r ? (t.Z = r[1] ? 0 : -(r[2] + (r[3] || "00")), n + r[0].length) : -1;
669
650
  }
670
- function Sr(t, e, n) {
651
+ function Mr(t, e, n) {
671
652
  var r = J.exec(e.slice(n, n + 1));
672
653
  return r ? (t.q = r[0] * 3 - 3, n + r[0].length) : -1;
673
654
  }
674
- function Mr(t, e, n) {
655
+ function Sr(t, e, n) {
675
656
  var r = J.exec(e.slice(n, n + 2));
676
657
  return r ? (t.m = r[0] - 1, n + r[0].length) : -1;
677
658
  }
@@ -687,11 +668,11 @@ function Ee(t, e, n) {
687
668
  var r = J.exec(e.slice(n, n + 2));
688
669
  return r ? (t.H = +r[0], n + r[0].length) : -1;
689
670
  }
690
- function Ar(t, e, n) {
671
+ function Yr(t, e, n) {
691
672
  var r = J.exec(e.slice(n, n + 2));
692
673
  return r ? (t.M = +r[0], n + r[0].length) : -1;
693
674
  }
694
- function Yr(t, e, n) {
675
+ function Ar(t, e, n) {
695
676
  var r = J.exec(e.slice(n, n + 2));
696
677
  return r ? (t.S = +r[0], n + r[0].length) : -1;
697
678
  }
@@ -704,7 +685,7 @@ function Ur(t, e, n) {
704
685
  return r ? (t.L = Math.floor(r[0] / 1e3), n + r[0].length) : -1;
705
686
  }
706
687
  function Lr(t, e, n) {
707
- var r = kr.exec(e.slice(n, n + 1));
688
+ var r = pr.exec(e.slice(n, n + 1));
708
689
  return r ? n + r[0].length : -1;
709
690
  }
710
691
  function Er(t, e, n) {
@@ -725,7 +706,7 @@ function Hr(t, e) {
725
706
  return z(t.getHours() % 12 || 12, e, 2);
726
707
  }
727
708
  function Wr(t, e) {
728
- return z(1 + pt.count(ft(t), t), e, 3);
709
+ return z(1 + kt.count(ft(t), t), e, 3);
729
710
  }
730
711
  function on(t, e) {
731
712
  return z(t.getMilliseconds(), e, 3);
@@ -751,10 +732,10 @@ function Gr(t, e) {
751
732
  }
752
733
  function cn(t) {
753
734
  var e = t.getDay();
754
- return e >= 4 || e === 0 ? kt(t) : kt.ceil(t);
735
+ return e >= 4 || e === 0 ? pt(t) : pt.ceil(t);
755
736
  }
756
737
  function Zr(t, e) {
757
- return t = cn(t), z(kt.count(ft(t), t) + (ft(t).getDay() === 4), e, 2);
738
+ return t = cn(t), z(pt.count(ft(t), t) + (ft(t).getDay() === 4), e, 2);
758
739
  }
759
740
  function qr(t) {
760
741
  return t.getDay();
@@ -773,7 +754,7 @@ function Kr(t, e) {
773
754
  }
774
755
  function Jr(t, e) {
775
756
  var n = t.getDay();
776
- return t = n >= 4 || n === 0 ? kt(t) : kt.ceil(t), z(t.getFullYear() % 1e4, e, 4);
757
+ return t = n >= 4 || n === 0 ? pt(t) : pt.ceil(t), z(t.getFullYear() % 1e4, e, 4);
777
758
  }
778
759
  function Rr(t) {
779
760
  var e = t.getTimezoneOffset();
@@ -789,7 +770,7 @@ function ei(t, e) {
789
770
  return z(t.getUTCHours() % 12 || 12, e, 2);
790
771
  }
791
772
  function ni(t, e) {
792
- return z(1 + ke.count(Tt(t), t), e, 3);
773
+ return z(1 + pe.count(Tt(t), t), e, 3);
793
774
  }
794
775
  function ln(t, e) {
795
776
  return z(t.getUTCMilliseconds(), e, 3);
@@ -851,8 +832,8 @@ function We(t) {
851
832
  function ze(t) {
852
833
  return Math.floor(+t / 1e3);
853
834
  }
854
- var xt, Xt;
855
- pi({
835
+ var wt, Xt;
836
+ ki({
856
837
  dateTime: "%x, %X",
857
838
  date: "%-m/%-d/%Y",
858
839
  time: "%-I:%M:%S %p",
@@ -862,38 +843,38 @@ pi({
862
843
  months: ["January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December"],
863
844
  shortMonths: ["Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"]
864
845
  });
865
- function pi(t) {
866
- return xt = pr(t), Xt = xt.format, xt.parse, xt.utcFormat, xt.utcParse, xt;
867
- }
868
846
  function ki(t) {
847
+ return wt = kr(t), Xt = wt.format, wt.parse, wt.utcFormat, wt.utcParse, wt;
848
+ }
849
+ function pi(t) {
869
850
  return new Date(t);
870
851
  }
871
852
  function Ti(t) {
872
853
  return t instanceof Date ? +t : +/* @__PURE__ */ new Date(+t);
873
854
  }
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;
855
+ function dn(t, e, n, r, i, s, l, m, M, h) {
856
+ 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");
857
+ function X(x) {
858
+ 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);
859
+ }
860
+ return w.invert = function(x) {
861
+ return new Date(S(x));
862
+ }, w.domain = function(x) {
863
+ return arguments.length ? v(Array.from(x, Ti)) : v().map(pi);
864
+ }, w.ticks = function(x) {
865
+ var L = v();
866
+ return t(L[0], L[L.length - 1], x ?? 10);
867
+ }, w.tickFormat = function(x, L) {
868
+ return L == null ? X : h(L);
869
+ }, w.nice = function(x) {
870
+ var L = v();
871
+ return (!x || typeof x.range != "function") && (x = e(L[0], L[L.length - 1], x ?? 10)), x ? v(sr(L, x)) : w;
872
+ }, w.copy = function() {
873
+ return Wn(w, dn(t, e, n, r, i, s, l, m, M, h));
874
+ }, w;
894
875
  }
895
876
  function vi() {
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);
877
+ 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);
897
878
  }
898
879
  var fn = { exports: {} };
899
880
  (function(t, e) {
@@ -902,23 +883,22 @@ var fn = { exports: {} };
902
883
  })(me, function() {
903
884
  var n = "day";
904
885
  return function(r, i, s) {
905
- var l = function(m) {
906
- return m.add(4 - m.isoWeekday(), n);
907
- }, g = i.prototype;
908
- g.isoWeekYear = function() {
886
+ var l = function(h) {
887
+ return h.add(4 - h.isoWeekday(), n);
888
+ }, m = i.prototype;
889
+ m.isoWeekYear = function() {
909
890
  return l(this).year();
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);
891
+ }, m.isoWeek = function(h) {
892
+ if (!this.$utils().u(h)) return this.add(7 * (h - this.isoWeek()), n);
893
+ 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));
894
+ return V.diff(g, "week") + 1;
895
+ }, m.isoWeekday = function(h) {
896
+ return this.$utils().u(h) ? this.day() || 7 : this.day(this.day() % 7 ? h : h - 7);
917
897
  };
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);
898
+ var M = m.startOf;
899
+ m.startOf = function(h, w) {
900
+ var S = this.$utils(), v = !!S.u(w) || w;
901
+ 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);
922
902
  };
923
903
  };
924
904
  });
@@ -930,127 +910,116 @@ var hn = { exports: {} };
930
910
  (function(n, r) {
931
911
  t.exports = r();
932
912
  })(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]+/, g = {}, M = function(h) {
934
- return (h = +h) + (h > 68 ? 1900 : 2e3);
935
- }, m = function(h) {
913
+ 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) {
914
+ return (g = +g) + (g > 68 ? 1900 : 2e3);
915
+ }, h = function(g) {
936
916
  return function(F) {
937
- this[h] = +F;
917
+ this[g] = +F;
938
918
  };
939
- }, D = [/[+-]\d\d:?(\d\d)?|Z/, function(h) {
919
+ }, w = [/[+-]\d\d:?(\d\d)?|Z/, function(g) {
940
920
  (this.zone || (this.zone = {})).offset = function(F) {
941
- if (!F || F === "Z")
942
- return 0;
921
+ if (!F || F === "Z") return 0;
943
922
  var W = F.match(/([+-]|\d\d)/g), H = 60 * W[1] + (+W[2] || 0);
944
923
  return H === 0 ? 0 : W[0] === "+" ? -H : H;
945
- }(h);
946
- }], $ = function(h) {
947
- var F = g[h];
924
+ }(g);
925
+ }], S = function(g) {
926
+ var F = m[g];
948
927
  return F && (F.indexOf ? F : F.s.concat(F.f));
949
- }, w = function(h, F) {
950
- var W, H = g.meridiem;
928
+ }, v = function(g, F) {
929
+ var W, H = m.meridiem;
951
930
  if (H) {
952
- for (var B = 1; B <= 24; B += 1)
953
- if (h.indexOf(H(B, 0, F)) > -1) {
954
- W = B > 12;
955
- break;
956
- }
957
- } else
958
- W = h === (F ? "pm" : "PM");
931
+ for (var B = 1; B <= 24; B += 1) if (g.indexOf(H(B, 0, F)) > -1) {
932
+ W = B > 12;
933
+ break;
934
+ }
935
+ } else W = g === (F ? "pm" : "PM");
959
936
  return W;
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
- if (this.day = W[0], F)
973
- for (var H = 1; H <= 31; H += 1)
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) {
937
+ }, b = { A: [l, function(g) {
938
+ this.afternoon = v(g, !1);
939
+ }], a: [l, function(g) {
940
+ this.afternoon = v(g, !0);
941
+ }], S: [/\d/, function(g) {
942
+ this.milliseconds = 100 * +g;
943
+ }], SS: [i, function(g) {
944
+ this.milliseconds = 10 * +g;
945
+ }], SSS: [/\d{3}/, function(g) {
946
+ this.milliseconds = +g;
947
+ }], 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) {
948
+ var F = m.ordinal, W = g.match(/\d+/);
949
+ if (this.day = W[0], F) for (var H = 1; H <= 31; H += 1) F(H).replace(/\[|\]/g, "") === g && (this.day = H);
950
+ }], M: [s, h("month")], MM: [i, h("month")], MMM: [l, function(g) {
951
+ var F = S("months"), W = (S("monthsShort") || F.map(function(H) {
977
952
  return H.slice(0, 3);
978
- })).indexOf(h) + 1;
979
- if (W < 1)
980
- throw new Error();
953
+ })).indexOf(g) + 1;
954
+ if (W < 1) throw new Error();
981
955
  this.month = W % 12 || W;
982
- }], MMMM: [l, function(h) {
983
- var F = $("months").indexOf(h) + 1;
984
- if (F < 1)
985
- throw new Error();
956
+ }], MMMM: [l, function(g) {
957
+ var F = S("months").indexOf(g) + 1;
958
+ if (F < 1) throw new Error();
986
959
  this.month = F % 12 || F;
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) {
960
+ }], Y: [/[+-]?\d+/, h("year")], YY: [i, function(g) {
961
+ this.year = M(g);
962
+ }], YYYY: [/\d{4}/, h("year")], Z: w, ZZ: w };
963
+ function V(g) {
991
964
  var F, W;
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) {
965
+ F = g, W = m && m.formats;
966
+ for (var H = (g = F.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g, function($, _, p) {
967
+ var o = p && p.toUpperCase();
968
+ return _ || W[p] || n[p] || W[o].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g, function(f, u, T) {
996
969
  return u || T.slice(1);
997
970
  });
998
971
  })).match(r), B = H.length, N = 0; N < B; N += 1) {
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, "");
972
+ var X = H[N], x = b[X], L = x && x[0], k = x && x[1];
973
+ H[N] = k ? { regex: L, parser: k } : X.replace(/^\[|\]$/g, "");
1001
974
  }
1002
- return function(S) {
1003
- for (var _ = {}, k = 0, o = 0; k < B; k += 1) {
1004
- var f = H[k];
1005
- if (typeof f == "string")
1006
- o += f.length;
975
+ return function($) {
976
+ for (var _ = {}, p = 0, o = 0; p < B; p += 1) {
977
+ var f = H[p];
978
+ if (typeof f == "string") o += f.length;
1007
979
  else {
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, "");
980
+ var u = f.regex, T = f.parser, c = $.slice(o), O = u.exec(c)[0];
981
+ T.call(_, O), $ = $.replace(O, "");
1010
982
  }
1011
983
  }
1012
984
  return function(a) {
1013
- var C = a.afternoon;
1014
- if (C !== void 0) {
985
+ var D = a.afternoon;
986
+ if (D !== void 0) {
1015
987
  var E = a.hours;
1016
- C ? E < 12 && (a.hours += 12) : E === 12 && (a.hours = 0), delete a.afternoon;
988
+ D ? E < 12 && (a.hours += 12) : E === 12 && (a.hours = 0), delete a.afternoon;
1017
989
  }
1018
990
  }(_), _;
1019
991
  };
1020
992
  }
1021
- return function(h, F, W) {
1022
- W.p.customParseFormat = !0, h && h.parseTwoDigitYear && (M = h.parseTwoDigitYear);
993
+ return function(g, F, W) {
994
+ W.p.customParseFormat = !0, g && g.parseTwoDigitYear && (M = g.parseTwoDigitYear);
1023
995
  var H = F.prototype, B = H.parse;
1024
996
  H.parse = function(N) {
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) {
997
+ var X = N.date, x = N.utc, L = N.args;
998
+ this.$u = x;
999
+ var k = L[1];
1000
+ if (typeof k == "string") {
1001
+ var $ = L[2] === !0, _ = L[3] === !0, p = $ || _, o = L[2];
1002
+ _ && (o = L[2]), m = this.$locale(), !$ && o && (m = W.Ls[o]), this.$d = function(c, O, a) {
1031
1003
  try {
1032
- if (["x", "X"].indexOf(O) > -1)
1033
- return new Date((O === "X" ? 1e3 : 1) * c);
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);
1004
+ if (["x", "X"].indexOf(O) > -1) return new Date((O === "X" ? 1e3 : 1) * c);
1005
+ 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;
1006
+ E && !P || (Y = P > 0 ? P - 1 : mt.getMonth());
1007
+ var d = G || 0, q = A || 0, I = tt || 0, j = st || 0;
1008
+ 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);
1038
1009
  } catch {
1039
1010
  return /* @__PURE__ */ new Date("");
1040
1011
  }
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
- var T = W.apply(this, L);
1046
- if (T.isValid()) {
1047
- this.$d = T.$d, this.$L = T.$L, this.init();
1048
- break;
1049
- }
1050
- u === f && (this.$d = /* @__PURE__ */ new Date(""));
1012
+ }(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 = {};
1013
+ } else if (k instanceof Array) for (var f = k.length, u = 1; u <= f; u += 1) {
1014
+ L[1] = k[u - 1];
1015
+ var T = W.apply(this, L);
1016
+ if (T.isValid()) {
1017
+ this.$d = T.$d, this.$L = T.$L, this.init();
1018
+ break;
1051
1019
  }
1052
- else
1053
- B.call(this, N);
1020
+ u === f && (this.$d = /* @__PURE__ */ new Date(""));
1021
+ }
1022
+ else B.call(this, N);
1054
1023
  };
1055
1024
  };
1056
1025
  });
@@ -1065,43 +1034,42 @@ var gn = { exports: {} };
1065
1034
  return function(n, r) {
1066
1035
  var i = r.prototype, s = i.format;
1067
1036
  i.format = function(l) {
1068
- var g = this, M = this.$locale();
1069
- if (!this.isValid())
1070
- return s.bind(this)(l);
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 ($) {
1037
+ var m = this, M = this.$locale();
1038
+ if (!this.isValid()) return s.bind(this)(l);
1039
+ 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) {
1040
+ switch (S) {
1073
1041
  case "Q":
1074
- return Math.ceil((g.$M + 1) / 3);
1042
+ return Math.ceil((m.$M + 1) / 3);
1075
1043
  case "Do":
1076
- return M.ordinal(g.$D);
1044
+ return M.ordinal(m.$D);
1077
1045
  case "gggg":
1078
- return g.weekYear();
1046
+ return m.weekYear();
1079
1047
  case "GGGG":
1080
- return g.isoWeekYear();
1048
+ return m.isoWeekYear();
1081
1049
  case "wo":
1082
- return M.ordinal(g.week(), "W");
1050
+ return M.ordinal(m.week(), "W");
1083
1051
  case "w":
1084
1052
  case "ww":
1085
- return m.s(g.week(), $ === "w" ? 1 : 2, "0");
1053
+ return h.s(m.week(), S === "w" ? 1 : 2, "0");
1086
1054
  case "W":
1087
1055
  case "WW":
1088
- return m.s(g.isoWeek(), $ === "W" ? 1 : 2, "0");
1056
+ return h.s(m.isoWeek(), S === "W" ? 1 : 2, "0");
1089
1057
  case "k":
1090
1058
  case "kk":
1091
- return m.s(String(g.$H === 0 ? 24 : g.$H), $ === "k" ? 1 : 2, "0");
1059
+ return h.s(String(m.$H === 0 ? 24 : m.$H), S === "k" ? 1 : 2, "0");
1092
1060
  case "X":
1093
- return Math.floor(g.$d.getTime() / 1e3);
1061
+ return Math.floor(m.$d.getTime() / 1e3);
1094
1062
  case "x":
1095
- return g.$d.getTime();
1063
+ return m.$d.getTime();
1096
1064
  case "z":
1097
- return "[" + g.offsetName() + "]";
1065
+ return "[" + m.offsetName() + "]";
1098
1066
  case "zzz":
1099
- return "[" + g.offsetName("long") + "]";
1067
+ return "[" + m.offsetName("long") + "]";
1100
1068
  default:
1101
- return $;
1069
+ return S;
1102
1070
  }
1103
1071
  });
1104
- return s.bind(this)(D);
1072
+ return s.bind(this)(w);
1105
1073
  };
1106
1074
  };
1107
1075
  });
@@ -1109,18 +1077,18 @@ var gn = { exports: {} };
1109
1077
  var Di = gn.exports;
1110
1078
  const _i = /* @__PURE__ */ ye(Di);
1111
1079
  var de = function() {
1112
- var t = function(k, o, f, u) {
1113
- for (f = f || {}, u = k.length; u--; f[k[u]] = o)
1080
+ var t = function(p, o, f, u) {
1081
+ for (f = f || {}, u = p.length; u--; f[p[u]] = o)
1114
1082
  ;
1115
1083
  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], 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 = {
1084
+ }, 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 = {
1117
1085
  trace: function() {
1118
1086
  },
1119
1087
  yy: {},
1120
1088
  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
1089
  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
1090
  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(k, o, f, u, T, c, O) {
1091
+ performAction: function(p, o, f, u, T, c, O) {
1124
1092
  var a = c.length - 1;
1125
1093
  switch (T) {
1126
1094
  case 1:
@@ -1236,50 +1204,50 @@ var de = function() {
1236
1204
  break;
1237
1205
  }
1238
1206
  },
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])],
1207
+ 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])],
1240
1208
  defaultActions: {},
1241
- parseError: function(k, o) {
1209
+ parseError: function(p, o) {
1242
1210
  if (o.recoverable)
1243
- this.trace(k);
1211
+ this.trace(p);
1244
1212
  else {
1245
- var f = new Error(k);
1213
+ var f = new Error(p);
1246
1214
  throw f.hash = o, f;
1247
1215
  }
1248
1216
  },
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: {} };
1217
+ parse: function(p) {
1218
+ 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: {} };
1251
1219
  for (var st in this.yy)
1252
1220
  Object.prototype.hasOwnProperty.call(this.yy, st) && (tt.yy[st] = this.yy[st]);
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;
1221
+ A.setInput(p, tt.yy), tt.yy.lexer = A, tt.yy.parser = this, typeof A.yylloc > "u" && (A.yylloc = {});
1222
+ var ht = A.yylloc;
1255
1223
  c.push(ht);
1256
- var mt = Y.options && Y.options.ranges;
1224
+ var mt = A.options && A.options.ranges;
1257
1225
  typeof tt.yy.parseError == "function" ? this.parseError = tt.yy.parseError : this.parseError = Object.getPrototypeOf(this).parseError;
1258
1226
  function y() {
1259
1227
  var 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;
1228
+ return at = u.pop() || A.lex() || U, typeof at != "number" && (at instanceof Array && (u = at, at = u.pop()), at = o.symbols_[at] || at), at;
1261
1229
  }
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]) {
1230
+ for (var C, Y, d, q, I = {}, j, Z, nt, yt; ; ) {
1231
+ 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]) {
1264
1232
  var Kt = "";
1265
1233
  yt = [];
1266
- for (j in O[A])
1234
+ for (j in O[Y])
1267
1235
  this.terminals_[j] && j > P && yt.push("'" + this.terminals_[j] + "'");
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,
1236
+ A.showPosition ? Kt = "Parse error on line " + (D + 1) + `:
1237
+ ` + A.showPosition() + `
1238
+ 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, {
1239
+ text: A.match,
1240
+ token: this.terminals_[C] || C,
1241
+ line: A.yylineno,
1274
1242
  loc: ht,
1275
1243
  expected: yt
1276
1244
  });
1277
1245
  }
1278
1246
  if (d[0] instanceof Array && d.length > 1)
1279
- throw new Error("Parse Error: multiple actions possible at state: " + A + ", token: " + x);
1247
+ throw new Error("Parse Error: multiple actions possible at state: " + Y + ", token: " + C);
1280
1248
  switch (d[0]) {
1281
1249
  case 1:
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;
1250
+ 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;
1283
1251
  break;
1284
1252
  case 2:
1285
1253
  if (Z = this.productions_[d[1]][1], I.$ = T[T.length - Z], I._$ = {
@@ -1293,7 +1261,7 @@ Expecting ` + yt.join(", ") + ", got '" + (this.terminals_[x] || x) + "'" : Kt =
1293
1261
  ]), q = this.performAction.apply(I, [
1294
1262
  a,
1295
1263
  E,
1296
- C,
1264
+ D,
1297
1265
  tt.yy,
1298
1266
  d[1],
1299
1267
  T,
@@ -1308,8 +1276,8 @@ Expecting ` + yt.join(", ") + ", got '" + (this.terminals_[x] || x) + "'" : Kt =
1308
1276
  }
1309
1277
  return !0;
1310
1278
  }
1311
- }, S = /* @__PURE__ */ function() {
1312
- var k = {
1279
+ }, $ = /* @__PURE__ */ function() {
1280
+ var p = {
1313
1281
  EOF: 1,
1314
1282
  parseError: function(o, f) {
1315
1283
  if (this.yy.parser)
@@ -1597,29 +1565,29 @@ Expecting ` + yt.join(", ") + ", got '" + (this.terminals_[x] || x) + "'" : Kt =
1597
1565
  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
1566
  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
1567
  };
1600
- return k;
1568
+ return p;
1601
1569
  }();
1602
- p.lexer = S;
1570
+ k.lexer = $;
1603
1571
  function _() {
1604
1572
  this.yy = {};
1605
1573
  }
1606
- return _.prototype = p, p.Parser = _, new _();
1574
+ return _.prototype = k, k.Parser = _, new _();
1607
1575
  }();
1608
1576
  de.parser = de;
1609
- const Si = de;
1577
+ const Mi = de;
1610
1578
  R.extend(xi);
1611
1579
  R.extend(Ci);
1612
1580
  R.extend(_i);
1613
- let rt = "", Te = "", ve, be = "", Ht = [], Wt = [], xe = {}, we = [], Qt = [], Mt = "", Ce = "";
1581
+ let rt = "", Te = "", ve, be = "", Ht = [], Wt = [], xe = {}, we = [], Qt = [], $t = "", Ce = "";
1614
1582
  const mn = ["active", "done", "crit", "milestone"];
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";
1583
+ let De = [], zt = !1, _e = !1, Me = "sunday", fe = 0;
1584
+ const Si = function() {
1585
+ 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";
1618
1586
  }, $i = function(t) {
1619
1587
  Te = t;
1620
- }, Ai = function() {
1588
+ }, Yi = function() {
1621
1589
  return Te;
1622
- }, Yi = function(t) {
1590
+ }, Ai = function(t) {
1623
1591
  ve = t;
1624
1592
  }, Fi = function() {
1625
1593
  return ve;
@@ -1654,7 +1622,7 @@ const Mi = function() {
1654
1622
  }, qi = function() {
1655
1623
  return xe;
1656
1624
  }, ji = function(t) {
1657
- Mt = t, we.push(t);
1625
+ $t = t, we.push(t);
1658
1626
  }, Xi = function() {
1659
1627
  return we;
1660
1628
  }, Qi = function() {
@@ -1667,24 +1635,24 @@ const Mi = function() {
1667
1635
  }, yn = function(t, e, n, r) {
1668
1636
  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
1637
  }, Ki = function(t) {
1670
- Se = t;
1638
+ Me = t;
1671
1639
  }, Ji = function() {
1672
- return Se;
1673
- }, pn = function(t, e, n, r) {
1640
+ return Me;
1641
+ }, kn = function(t, e, n, r) {
1674
1642
  if (!n.length || t.manualEndTime)
1675
1643
  return;
1676
1644
  let i;
1677
1645
  t.startTime instanceof Date ? i = R(t.startTime) : i = R(t.startTime, e, !0), i = i.add(1, "d");
1678
1646
  let s;
1679
1647
  t.endTime instanceof Date ? s = R(t.endTime) : s = R(t.endTime, e, !0);
1680
- const [l, g] = Ri(
1648
+ const [l, m] = Ri(
1681
1649
  i,
1682
1650
  s,
1683
1651
  e,
1684
1652
  n,
1685
1653
  r
1686
1654
  );
1687
- t.endTime = l.toDate(), t.renderEndTime = g;
1655
+ t.endTime = l.toDate(), t.renderEndTime = m;
1688
1656
  }, Ri = function(t, e, n, r, i) {
1689
1657
  let s = !1, l = null;
1690
1658
  for (; t <= e; )
@@ -1692,18 +1660,17 @@ const Mi = function() {
1692
1660
  return [e, l];
1693
1661
  }, he = function(t, e, n) {
1694
1662
  n = n.trim();
1695
- const r = /^after\s+([\d\w- ]+)/.exec(n.trim());
1663
+ const r = /^after\s+(?<ids>[\d\w- ]+)/.exec(n);
1696
1664
  if (r !== null) {
1697
1665
  let s = null;
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)
1702
- return s.endTime;
1703
- {
1704
- const l = /* @__PURE__ */ new Date();
1705
- return l.setHours(0, 0, 0, 0), l;
1666
+ for (const m of r.groups.ids.split(" ")) {
1667
+ let M = xt(m);
1668
+ M !== void 0 && (!s || M.endTime > s.endTime) && (s = M);
1706
1669
  }
1670
+ if (s)
1671
+ return s.endTime;
1672
+ const l = /* @__PURE__ */ new Date();
1673
+ return l.setHours(0, 0, 0, 0), l;
1707
1674
  }
1708
1675
  let i = R(n, e.trim(), !0);
1709
1676
  if (i.isValid())
@@ -1720,24 +1687,36 @@ const Mi = function() {
1720
1687
  throw new Error("Invalid date:" + n);
1721
1688
  return s;
1722
1689
  }
1723
- }, kn = function(t) {
1690
+ }, pn = function(t) {
1724
1691
  const e = /^(\d+(?:\.\d+)?)([Mdhmswy]|ms)$/.exec(t.trim());
1725
1692
  return e !== null ? [Number.parseFloat(e[1]), e[2]] : [NaN, "ms"];
1726
1693
  }, Tn = function(t, e, n, r = !1) {
1727
1694
  n = n.trim();
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();
1695
+ const i = /^until\s+(?<ids>[\d\w- ]+)/.exec(n);
1696
+ if (i !== null) {
1697
+ let h = null;
1698
+ for (const S of i.groups.ids.split(" ")) {
1699
+ let v = xt(S);
1700
+ v !== void 0 && (!h || v.startTime < h.startTime) && (h = v);
1701
+ }
1702
+ if (h)
1703
+ return h.startTime;
1704
+ const w = /* @__PURE__ */ new Date();
1705
+ return w.setHours(0, 0, 0, 0), w;
1706
+ }
1707
+ let s = R(n, e.trim(), !0);
1708
+ if (s.isValid())
1709
+ return r && (s = s.add(1, "d")), s.toDate();
1710
+ let l = R(t);
1711
+ const [m, M] = pn(n);
1712
+ if (!Number.isNaN(m)) {
1713
+ const h = l.add(m, M);
1714
+ h.isValid() && (l = h);
1715
+ }
1716
+ return l.toDate();
1738
1717
  };
1739
1718
  let Vt = 0;
1740
- const Dt = function(t) {
1719
+ const _t = function(t) {
1741
1720
  return t === void 0 ? (Vt = Vt + 1, "task" + Vt) : t;
1742
1721
  }, ts = function(t, e) {
1743
1722
  let n;
@@ -1749,16 +1728,16 @@ const Dt = function(t) {
1749
1728
  let s = "";
1750
1729
  switch (r.length) {
1751
1730
  case 1:
1752
- i.id = Dt(), i.startTime = t.endTime, s = r[0];
1731
+ i.id = _t(), i.startTime = t.endTime, s = r[0];
1753
1732
  break;
1754
1733
  case 2:
1755
- i.id = Dt(), i.startTime = he(void 0, rt, r[0]), s = r[1];
1734
+ i.id = _t(), i.startTime = he(void 0, rt, r[0]), s = r[1];
1756
1735
  break;
1757
1736
  case 3:
1758
- i.id = Dt(r[0]), i.startTime = he(void 0, rt, r[1]), s = r[2];
1737
+ i.id = _t(r[0]), i.startTime = he(void 0, rt, r[1]), s = r[2];
1759
1738
  break;
1760
1739
  }
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;
1740
+ 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;
1762
1741
  }, es = function(t, e) {
1763
1742
  let n;
1764
1743
  e.substr(0, 1) === ":" ? n = e.substr(1, e.length) : n = e;
@@ -1768,7 +1747,7 @@ const Dt = function(t) {
1768
1747
  r[s] = r[s].trim();
1769
1748
  switch (r.length) {
1770
1749
  case 1:
1771
- i.id = Dt(), i.startTime = {
1750
+ i.id = _t(), i.startTime = {
1772
1751
  type: "prevTaskEnd",
1773
1752
  id: t
1774
1753
  }, i.endTime = {
@@ -1776,7 +1755,7 @@ const Dt = function(t) {
1776
1755
  };
1777
1756
  break;
1778
1757
  case 2:
1779
- i.id = Dt(), i.startTime = {
1758
+ i.id = _t(), i.startTime = {
1780
1759
  type: "getStartDate",
1781
1760
  startData: r[0]
1782
1761
  }, i.endTime = {
@@ -1784,7 +1763,7 @@ const Dt = function(t) {
1784
1763
  };
1785
1764
  break;
1786
1765
  case 3:
1787
- i.id = Dt(r[0]), i.startTime = {
1766
+ i.id = _t(r[0]), i.startTime = {
1788
1767
  type: "getStartDate",
1789
1768
  startData: r[1]
1790
1769
  }, i.endTime = {
@@ -1797,8 +1776,8 @@ const Dt = function(t) {
1797
1776
  let ge, Gt, Q = [];
1798
1777
  const vn = {}, ns = function(t, e) {
1799
1778
  const n = {
1800
- section: Mt,
1801
- type: Mt,
1779
+ section: $t,
1780
+ type: $t,
1802
1781
  processed: !1,
1803
1782
  manualEndTime: !1,
1804
1783
  renderEndTime: null,
@@ -1809,13 +1788,13 @@ const vn = {}, ns = function(t, e) {
1809
1788
  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++;
1810
1789
  const i = Q.push(n);
1811
1790
  Gt = n.id, vn[n.id] = i - 1;
1812
- }, $t = function(t) {
1791
+ }, xt = function(t) {
1813
1792
  const e = vn[t];
1814
1793
  return Q[e];
1815
1794
  }, rs = function(t, e) {
1816
1795
  const n = {
1817
- section: Mt,
1818
- type: Mt,
1796
+ section: $t,
1797
+ type: $t,
1819
1798
  description: t,
1820
1799
  task: t,
1821
1800
  classes: []
@@ -1827,7 +1806,7 @@ const vn = {}, ns = function(t, e) {
1827
1806
  let i = "";
1828
1807
  switch (Q[n].raw.startTime.type) {
1829
1808
  case "prevTaskEnd": {
1830
- const s = $t(r.prevTaskId);
1809
+ const s = xt(r.prevTaskId);
1831
1810
  r.startTime = s.endTime;
1832
1811
  break;
1833
1812
  }
@@ -1844,7 +1823,7 @@ const vn = {}, ns = function(t, e) {
1844
1823
  Q[n].raw.endTime.data,
1845
1824
  "YYYY-MM-DD",
1846
1825
  !0
1847
- ).isValid(), pn(Q[n], rt, Wt, Ht))), Q[n].processed;
1826
+ ).isValid(), kn(Q[n], rt, Wt, Ht))), Q[n].processed;
1848
1827
  };
1849
1828
  let e = !0;
1850
1829
  for (const [n, r] of Q.entries())
@@ -1852,18 +1831,18 @@ const vn = {}, ns = function(t, e) {
1852
1831
  return e;
1853
1832
  }, is = function(t, e) {
1854
1833
  let n = e;
1855
- wt().securityLevel !== "loose" && (n = Fn.sanitizeUrl(e)), t.split(",").forEach(function(r) {
1856
- $t(r) !== void 0 && (xn(r, () => {
1834
+ Ct().securityLevel !== "loose" && (n = Fn.sanitizeUrl(e)), t.split(",").forEach(function(r) {
1835
+ xt(r) !== void 0 && (xn(r, () => {
1857
1836
  window.open(n, "_self");
1858
1837
  }), xe[r] = n);
1859
1838
  }), bn(t, "clickable");
1860
1839
  }, bn = function(t, e) {
1861
1840
  t.split(",").forEach(function(n) {
1862
- let r = $t(n);
1841
+ let r = xt(n);
1863
1842
  r !== void 0 && r.classes.push(e);
1864
1843
  });
1865
1844
  }, ss = function(t, e, n) {
1866
- if (wt().securityLevel !== "loose" || e === void 0)
1845
+ if (Ct().securityLevel !== "loose" || e === void 0)
1867
1846
  return;
1868
1847
  let r = [];
1869
1848
  if (typeof n == "string") {
@@ -1873,7 +1852,7 @@ const vn = {}, ns = function(t, e) {
1873
1852
  s.charAt(0) === '"' && s.charAt(s.length - 1) === '"' && (s = s.substr(1, s.length - 2)), r[i] = s;
1874
1853
  }
1875
1854
  }
1876
- r.length === 0 && r.push(t), $t(t) !== void 0 && xn(t, () => {
1855
+ r.length === 0 && r.push(t), xt(t) !== void 0 && xn(t, () => {
1877
1856
  En.runFunc(e, ...r);
1878
1857
  });
1879
1858
  }, xn = function(t, e) {
@@ -1900,8 +1879,8 @@ const vn = {}, ns = function(t, e) {
1900
1879
  e(t);
1901
1880
  });
1902
1881
  }, cs = {
1903
- getConfig: () => wt().gantt,
1904
- clear: Mi,
1882
+ getConfig: () => Ct().gantt,
1883
+ clear: Si,
1905
1884
  setDateFormat: Ei,
1906
1885
  getDateFormat: Bi,
1907
1886
  enableInclusiveEndDates: Oi,
@@ -1909,24 +1888,24 @@ const vn = {}, ns = function(t, e) {
1909
1888
  enableTopAxis: Hi,
1910
1889
  topAxisEnabled: Wi,
1911
1890
  setAxisFormat: $i,
1912
- getAxisFormat: Ai,
1913
- setTickInterval: Yi,
1891
+ getAxisFormat: Yi,
1892
+ setTickInterval: Ai,
1914
1893
  getTickInterval: Fi,
1915
1894
  setTodayMarker: Ui,
1916
1895
  getTodayMarker: Li,
1917
1896
  setAccTitle: Cn,
1918
1897
  getAccTitle: Dn,
1919
1898
  setDiagramTitle: _n,
1920
- getDiagramTitle: Sn,
1899
+ getDiagramTitle: Mn,
1921
1900
  setDisplayMode: zi,
1922
1901
  getDisplayMode: Pi,
1923
- setAccDescription: Mn,
1902
+ setAccDescription: Sn,
1924
1903
  getAccDescription: $n,
1925
1904
  addSection: ji,
1926
1905
  getSections: Xi,
1927
1906
  getTasks: Qi,
1928
1907
  addTask: ns,
1929
- findTaskById: $t,
1908
+ findTaskById: xt,
1930
1909
  addTaskOrg: rs,
1931
1910
  setIncludes: Ni,
1932
1911
  getIncludes: Vi,
@@ -1936,7 +1915,7 @@ const vn = {}, ns = function(t, e) {
1936
1915
  setLink: is,
1937
1916
  getLinks: qi,
1938
1917
  bindFunctions: os,
1939
- parseDuration: kn,
1918
+ parseDuration: pn,
1940
1919
  isInvalidDate: yn,
1941
1920
  setWeekday: Ki,
1942
1921
  getWeekday: Ji
@@ -1955,7 +1934,7 @@ const ls = function() {
1955
1934
  monday: Et,
1956
1935
  tuesday: en,
1957
1936
  wednesday: nn,
1958
- thursday: kt,
1937
+ thursday: pt,
1959
1938
  friday: rn,
1960
1939
  saturday: sn,
1961
1940
  sunday: It
@@ -1971,130 +1950,130 @@ const ls = function() {
1971
1950
  };
1972
1951
  let ot;
1973
1952
  const ds = function(t, e, n, r) {
1974
- const i = wt().gantt, s = wt().securityLevel;
1953
+ const i = Ct().gantt, s = Ct().securityLevel;
1975
1954
  let l;
1976
1955
  s === "sandbox" && (l = Pt("#i" + e));
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;
1956
+ const m = s === "sandbox" ? Pt(l.nodes()[0].contentDocument.body) : Pt("body"), M = s === "sandbox" ? l.nodes()[0].contentDocument : document, h = M.getElementById(e);
1957
+ ot = h.parentElement.offsetWidth, ot === void 0 && (ot = 1200), i.useWidth !== void 0 && (ot = i.useWidth);
1958
+ const w = r.db.getTasks();
1959
+ let S = [];
1960
+ for (const k of w)
1961
+ S.push(k.type);
1962
+ S = L(S);
1963
+ const v = {};
1964
+ let b = 2 * i.topPadding;
1986
1965
  if (r.db.getDisplayMode() === "compact" || i.displayMode === "compact") {
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;
1966
+ const k = {};
1967
+ for (const _ of w)
1968
+ k[_.section] === void 0 ? k[_.section] = [_] : k[_.section].push(_);
1969
+ let $ = 0;
1970
+ for (const _ of Object.keys(k)) {
1971
+ const p = us(k[_], $) + 1;
1972
+ $ += p, b += p * (i.barHeight + i.barGap), v[_] = p;
1994
1973
  }
1995
1974
  } else {
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;
1975
+ b += w.length * (i.barHeight + i.barGap);
1976
+ for (const k of S)
1977
+ v[k] = w.filter(($) => $.type === k).length;
1978
+ }
1979
+ h.setAttribute("viewBox", "0 0 " + ot + " " + b);
1980
+ const V = m.select(`[id="${e}"]`), g = vi().domain([
1981
+ Nn(w, function(k) {
1982
+ return k.startTime;
2004
1983
  }),
2005
- Bn(D, function(p) {
2006
- return p.endTime;
1984
+ Bn(w, function(k) {
1985
+ return k.endTime;
2007
1986
  })
2008
1987
  ]).rangeRound([0, ot - i.leftPadding - i.rightPadding]);
2009
- function F(p, S) {
2010
- const _ = p.startTime, k = S.startTime;
1988
+ function F(k, $) {
1989
+ const _ = k.startTime, p = $.startTime;
2011
1990
  let o = 0;
2012
- return _ > k ? o = 1 : _ < k && (o = -1), o;
1991
+ return _ > p ? o = 1 : _ < p && (o = -1), o;
2013
1992
  }
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);
1993
+ 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");
1994
+ function W(k, $, _) {
1995
+ 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);
2017
1996
  B(
2018
1997
  o,
2019
1998
  f,
2020
1999
  u,
2021
- S,
2000
+ $,
2022
2001
  _,
2023
- p,
2002
+ k,
2024
2003
  r.db.getExcludes(),
2025
2004
  r.db.getIncludes()
2026
- ), N(u, f, S, _), H(p, o, f, u, k, T, S), X(o, f), b(u, f, S, _);
2005
+ ), N(u, f, $, _), H(k, o, f, u, p, T, $), X(o, f), x(u, f, $, _);
2027
2006
  }
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;
2007
+ function H(k, $, _, p, o, f, u) {
2008
+ const T = [...new Set(k.map((a) => a.order))].map((a) => k.find((D) => D.order === a));
2009
+ V.append("g").selectAll("rect").data(T).enter().append("rect").attr("x", 0).attr("y", function(a, D) {
2010
+ return D = a.order, D * $ + _ - 2;
2032
2011
  }).attr("width", function() {
2033
2012
  return u - i.rightPadding / 2;
2034
- }).attr("height", S).attr("class", function(a) {
2035
- for (const [C, E] of $.entries())
2013
+ }).attr("height", $).attr("class", function(a) {
2014
+ for (const [D, E] of S.entries())
2036
2015
  if (a.type === E)
2037
- return "section section" + C % i.numberSectionStyles;
2016
+ return "section section" + D % i.numberSectionStyles;
2038
2017
  return "section section0";
2039
2018
  });
2040
- const c = V.append("g").selectAll("rect").data(p).enter(), O = r.db.getLinks();
2019
+ const c = V.append("g").selectAll("rect").data(k).enter(), O = r.db.getLinks();
2041
2020
  if (c.append("rect").attr("id", function(a) {
2042
2021
  return a.id;
2043
2022
  }).attr("rx", 3).attr("ry", 3).attr("x", function(a) {
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 + _;
2023
+ return a.milestone ? g(a.startTime) + p + 0.5 * (g(a.endTime) - g(a.startTime)) - 0.5 * o : g(a.startTime) + p;
2024
+ }).attr("y", function(a, D) {
2025
+ return D = a.order, D * $ + _;
2047
2026
  }).attr("width", function(a) {
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";
2027
+ return a.milestone ? o : g(a.renderEndTime || a.endTime) - g(a.startTime);
2028
+ }).attr("height", o).attr("transform-origin", function(a, D) {
2029
+ return D = a.order, (g(a.startTime) + p + 0.5 * (g(a.endTime) - g(a.startTime))).toString() + "px " + (D * $ + _ + 0.5 * o).toString() + "px";
2051
2030
  }).attr("class", function(a) {
2052
- const C = "task";
2031
+ const D = "task";
2053
2032
  let E = "";
2054
2033
  a.classes.length > 0 && (E = a.classes.join(" "));
2055
2034
  let P = 0;
2056
- for (const [G, Y] of $.entries())
2057
- a.type === Y && (P = G % i.numberSectionStyles);
2035
+ for (const [G, A] of S.entries())
2036
+ a.type === A && (P = G % i.numberSectionStyles);
2058
2037
  let 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;
2038
+ 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;
2060
2039
  }), c.append("text").attr("id", function(a) {
2061
2040
  return a.id + "-text";
2062
2041
  }).text(function(a) {
2063
2042
  return a.task;
2064
2043
  }).attr("font-size", i.fontSize).attr("x", function(a) {
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);
2044
+ let D = g(a.startTime), E = g(a.renderEndTime || a.endTime);
2045
+ a.milestone && (D += 0.5 * (g(a.endTime) - g(a.startTime)) - 0.5 * o), a.milestone && (E = D + o);
2067
2046
  const P = this.getBBox().width;
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) + _;
2047
+ return P > E - D ? E + P + 1.5 * i.leftPadding > u ? D + p - 5 : E + p + 5 : (E - D) / 2 + D + p;
2048
+ }).attr("y", function(a, D) {
2049
+ return D = a.order, D * $ + i.barHeight / 2 + (i.fontSize / 2 - 2) + _;
2071
2050
  }).attr("text-height", o).attr("class", function(a) {
2072
- const C = h(a.startTime);
2073
- let E = h(a.endTime);
2074
- a.milestone && (E = C + o);
2051
+ const D = g(a.startTime);
2052
+ let E = g(a.endTime);
2053
+ a.milestone && (E = D + o);
2075
2054
  const P = this.getBBox().width;
2076
2055
  let U = "";
2077
2056
  a.classes.length > 0 && (U = a.classes.join(" "));
2078
2057
  let G = 0;
2079
- for (const [tt, st] of $.entries())
2058
+ for (const [tt, st] of S.entries())
2080
2059
  a.type === st && (G = tt % i.numberSectionStyles);
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") {
2060
+ let A = "";
2061
+ 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;
2062
+ }), Ct().securityLevel === "sandbox") {
2084
2063
  let a;
2085
2064
  a = Pt("#i" + e);
2086
- const C = a.nodes()[0].contentDocument;
2065
+ const D = a.nodes()[0].contentDocument;
2087
2066
  c.filter(function(E) {
2088
2067
  return O[E.id] !== void 0;
2089
2068
  }).each(function(E) {
2090
- var P = C.querySelector("#" + E.id), U = C.querySelector("#" + E.id + "-text");
2069
+ var P = D.querySelector("#" + E.id), U = D.querySelector("#" + E.id + "-text");
2091
2070
  const G = P.parentNode;
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);
2071
+ var A = D.createElement("a");
2072
+ A.setAttribute("xlink:href", O[E.id]), A.setAttribute("target", "_top"), G.appendChild(A), A.appendChild(P), A.appendChild(U);
2094
2073
  });
2095
2074
  }
2096
2075
  }
2097
- function B(p, S, _, k, o, f, u, T) {
2076
+ function B(k, $, _, p, o, f, u, T) {
2098
2077
  if (u.length === 0 && T.length === 0)
2099
2078
  return;
2100
2079
  let c, O;
@@ -2108,26 +2087,26 @@ const ds = function(t, e, n, r) {
2108
2087
  );
2109
2088
  return;
2110
2089
  }
2111
- const a = r.db.getDateFormat(), C = [];
2090
+ const a = r.db.getDateFormat(), D = [];
2112
2091
  let E = null, P = R(c);
2113
2092
  for (; P.valueOf() <= O; )
2114
2093
  r.db.isInvalidDate(P, a, u, T) ? E ? E.end = P : E = {
2115
2094
  start: P,
2116
2095
  end: P
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) {
2096
+ } : E && (D.push(E), E = null), P = P.add(1, "d");
2097
+ V.append("g").selectAll("rect").data(D).enter().append("rect").attr("id", function(U) {
2119
2098
  return "exclude-" + U.start.format("YYYY-MM-DD");
2120
2099
  }).attr("x", function(U) {
2121
- return h(U.start) + _;
2100
+ return g(U.start) + _;
2122
2101
  }).attr("y", i.gridLineStartPadding).attr("width", function(U) {
2123
2102
  const G = U.end.add(1, "day");
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";
2103
+ return g(G) - g(U.start);
2104
+ }).attr("height", o - $ - i.gridLineStartPadding).attr("transform-origin", function(U, G) {
2105
+ return (g(U.start) + _ + 0.5 * (g(U.end) - g(U.start))).toString() + "px " + (G * k + 0.5 * o).toString() + "px";
2127
2106
  }).attr("class", "exclude-range");
2128
2107
  }
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"));
2108
+ function N(k, $, _, p) {
2109
+ let o = Kn(g).tickSize(-p + $ + i.gridLineStartPadding).tickFormat(Xt(r.db.getAxisFormat() || i.axisFormat || "%Y-%m-%d"));
2131
2110
  const f = /^([1-9]\d*)(millisecond|second|minute|hour|day|week|month)$/.exec(
2132
2111
  r.db.getTickInterval() || i.tickInterval
2133
2112
  );
@@ -2135,7 +2114,7 @@ const ds = function(t, e, n, r) {
2135
2114
  const u = f[1], T = f[2], c = r.db.getWeekday() || i.weekday;
2136
2115
  switch (T) {
2137
2116
  case "millisecond":
2138
- o.ticks(_t.every(u));
2117
+ o.ticks(Mt.every(u));
2139
2118
  break;
2140
2119
  case "second":
2141
2120
  o.ticks(gt.every(u));
@@ -2147,7 +2126,7 @@ const ds = function(t, e, n, r) {
2147
2126
  o.ticks(Lt.every(u));
2148
2127
  break;
2149
2128
  case "day":
2150
- o.ticks(pt.every(u));
2129
+ o.ticks(kt.every(u));
2151
2130
  break;
2152
2131
  case "week":
2153
2132
  o.ticks(Be[c].every(u));
@@ -2157,13 +2136,13 @@ const ds = function(t, e, n, r) {
2157
2136
  break;
2158
2137
  }
2159
2138
  }
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"));
2139
+ 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) {
2140
+ let u = Qn(g).tickSize(-p + $ + i.gridLineStartPadding).tickFormat(Xt(r.db.getAxisFormat() || i.axisFormat || "%Y-%m-%d"));
2162
2141
  if (f !== null) {
2163
2142
  const T = f[1], c = f[2], O = r.db.getWeekday() || i.weekday;
2164
2143
  switch (c) {
2165
2144
  case "millisecond":
2166
- u.ticks(_t.every(T));
2145
+ u.ticks(Mt.every(T));
2167
2146
  break;
2168
2147
  case "second":
2169
2148
  u.ticks(gt.every(T));
@@ -2175,7 +2154,7 @@ const ds = function(t, e, n, r) {
2175
2154
  u.ticks(Lt.every(T));
2176
2155
  break;
2177
2156
  case "day":
2178
- u.ticks(pt.every(T));
2157
+ u.ticks(kt.every(T));
2179
2158
  break;
2180
2159
  case "week":
2181
2160
  u.ticks(Be[O].every(T));
@@ -2185,13 +2164,13 @@ const ds = function(t, e, n, r) {
2185
2164
  break;
2186
2165
  }
2187
2166
  }
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);
2167
+ 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);
2189
2168
  }
2190
2169
  }
2191
- function X(p, S) {
2170
+ function X(k, $) {
2192
2171
  let _ = 0;
2193
- const k = Object.keys(w).map((o) => [o, w[o]]);
2194
- V.append("g").selectAll("text").data(k).enter().append(function(o) {
2172
+ const p = Object.keys(v).map((o) => [o, v[o]]);
2173
+ V.append("g").selectAll("text").data(p).enter().append(function(o) {
2195
2174
  const f = o[0].split(Ln.lineBreakRegex), u = -(f.length - 1) / 2, T = M.createElementNS("http://www.w3.org/2000/svg", "text");
2196
2175
  T.setAttribute("dy", u + "em");
2197
2176
  for (const [c, O] of f.entries()) {
@@ -2202,27 +2181,27 @@ const ds = function(t, e, n, r) {
2202
2181
  }).attr("x", 10).attr("y", function(o, f) {
2203
2182
  if (f > 0)
2204
2183
  for (let u = 0; u < f; u++)
2205
- return _ += k[f - 1][1], o[1] * p / 2 + _ * p + S;
2184
+ return _ += p[f - 1][1], o[1] * k / 2 + _ * k + $;
2206
2185
  else
2207
- return o[1] * p / 2 + S;
2186
+ return o[1] * k / 2 + $;
2208
2187
  }).attr("font-size", i.sectionFontSize).attr("class", function(o) {
2209
- for (const [f, u] of $.entries())
2188
+ for (const [f, u] of S.entries())
2210
2189
  if (o[0] === u)
2211
2190
  return "sectionTitle sectionTitle" + f % i.numberSectionStyles;
2212
2191
  return "sectionTitle";
2213
2192
  });
2214
2193
  }
2215
- function b(p, S, _, k) {
2194
+ function x(k, $, _, p) {
2216
2195
  const o = r.db.getTodayMarker();
2217
2196
  if (o === "off")
2218
2197
  return;
2219
2198
  const f = V.append("g").attr("class", "today"), u = /* @__PURE__ */ new Date(), T = f.append("line");
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, ";"));
2199
+ 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, ";"));
2221
2200
  }
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]));
2201
+ function L(k) {
2202
+ const $ = {}, _ = [];
2203
+ for (let p = 0, o = k.length; p < o; ++p)
2204
+ Object.prototype.hasOwnProperty.call($, k[p]) || ($[k[p]] = !0, _.push(k[p]));
2226
2205
  return _;
2227
2206
  }
2228
2207
  }, fs = {
@@ -2479,12 +2458,12 @@ const ds = function(t, e, n, r) {
2479
2458
  fill: ${t.titleColor || t.textColor};
2480
2459
  font-family: var(--mermaid-font-family, "trebuchet ms", verdana, arial, sans-serif);
2481
2460
  }
2482
- `, gs = hs, ks = {
2483
- parser: Si,
2461
+ `, gs = hs, ps = {
2462
+ parser: Mi,
2484
2463
  db: cs,
2485
2464
  renderer: fs,
2486
2465
  styles: gs
2487
2466
  };
2488
2467
  export {
2489
- ks as diagram
2468
+ ps as diagram
2490
2469
  };