@evercam/ui 0.0.46 → 0.0.47-beta.1

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.
package/dist/index.mjs CHANGED
@@ -1,8 +1,8 @@
1
- import q from "vue";
1
+ import V from "vue";
2
2
  import * as u from "d3";
3
3
  import K from "moment-timezone";
4
- var T = /* @__PURE__ */ ((e) => (e.dot = "dot", e.xs = "xs", e.sm = "sm", e.md = "base", e.base = "base", e.lg = "lg", e.xl = "xl", e["2xl"] = "2xl", e["3xl"] = "3xl", e["4xl"] = "4xl", e["5xl"] = "5xl", e["6xl"] = "6xl", e["7xl"] = "7xl", e["8xl"] = "8xl", e["9xl"] = "9xl", e))(T || {}), j = /* @__PURE__ */ ((e) => (e.warning = "warning", e.error = "error", e.info = "info", e.success = "success", e.primary = "primary", e.brand = "brand", e.default = "default", e))(j || {}), ee = /* @__PURE__ */ ((e) => (e.overview = "overview", e.detailed = "detailed", e.detailedBackground = "detailedBackground", e))(ee || {});
5
- const et = q.extend({
4
+ var T = /* @__PURE__ */ ((e) => (e.dot = "dot", e.xs = "xs", e.sm = "sm", e.md = "base", e.base = "base", e.lg = "lg", e.xl = "xl", e["2xl"] = "2xl", e["3xl"] = "3xl", e["4xl"] = "4xl", e["5xl"] = "5xl", e["6xl"] = "6xl", e["7xl"] = "7xl", e["8xl"] = "8xl", e["9xl"] = "9xl", e))(T || {}), j = /* @__PURE__ */ ((e) => (e.warning = "warning", e.error = "error", e.info = "info", e.success = "success", e.primary = "primary", e.brand = "brand", e.default = "default", e))(j || {}), ee = /* @__PURE__ */ ((e) => (e.overview = "overview", e.detailed = "detailed", e.detailedBackground = "detailedBackground", e))(ee || {}), te = /* @__PURE__ */ ((e) => (e.bars = "bars", e.lineGraph = "lineGraph", e))(te || {});
5
+ const tt = V.extend({
6
6
  name: "EBadge",
7
7
  props: {
8
8
  text: {
@@ -52,7 +52,7 @@ const et = q.extend({
52
52
  }
53
53
  }
54
54
  });
55
- function I(e, t, r, n, a, o, i, c) {
55
+ function q(e, t, r, n, a, o, i, c) {
56
56
  var l = typeof e == "function" ? e.options : e;
57
57
  t && (l.render = t, l.staticRenderFns = r, l._compiled = !0), n && (l.functional = !0), o && (l._scopeId = "data-v-" + o);
58
58
  var s;
@@ -81,23 +81,23 @@ function I(e, t, r, n, a, o, i, c) {
81
81
  options: l
82
82
  };
83
83
  }
84
- var tt = function() {
84
+ var rt = function() {
85
85
  var t = this, r = t._self._c;
86
86
  return r("span", { staticClass: "e-badge", class: t.badgeClasses }, [t.showText ? r("span", [t._v(t._s(t.text))]) : t._e()]);
87
- }, rt = [], it = /* @__PURE__ */ I(
88
- et,
87
+ }, nt = [], it = /* @__PURE__ */ q(
89
88
  tt,
90
89
  rt,
90
+ nt,
91
91
  !1,
92
92
  null,
93
93
  null,
94
94
  null,
95
95
  null
96
96
  );
97
- const Ae = it.exports, nt = q.extend({
97
+ const Fe = it.exports, st = V.extend({
98
98
  name: "EAvatar",
99
99
  components: {
100
- Badge: Ae
100
+ Badge: Fe
101
101
  },
102
102
  props: {
103
103
  size: {
@@ -146,28 +146,28 @@ const Ae = it.exports, nt = q.extend({
146
146
  }
147
147
  }
148
148
  });
149
- var st = function() {
149
+ var at = function() {
150
150
  var t = this, r = t._self._c;
151
151
  return r("div", { staticClass: "e-avatar e-relative", class: t.avatarClasses }, [t._t("default", function() {
152
152
  return [t.image ? r("img", { staticClass: "e-avatar__image e-w-full e-h-full e-object-cover e-rounded-full", attrs: { src: t.image } }) : t._e()];
153
153
  }), t.showBadge ? r("div", { staticClass: "e-avatar__badge e-absolute e-top-0 e-right-0" }, [t._t("badge", function() {
154
154
  return [r("Badge", { attrs: { text: t.badgeText, color: t.badgeColor, size: t.badgeSize } })];
155
155
  })], 2) : t._e()], 2);
156
- }, at = [], ot = /* @__PURE__ */ I(
157
- nt,
156
+ }, ot = [], lt = /* @__PURE__ */ q(
158
157
  st,
159
158
  at,
159
+ ot,
160
160
  !1,
161
161
  null,
162
162
  null,
163
163
  null,
164
164
  null
165
165
  );
166
- const lt = ot.exports;
167
- function ut(e) {
166
+ const ut = lt.exports;
167
+ function ct(e) {
168
168
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
169
169
  }
170
- var Fe = {}, Me = {}, fe = {};
170
+ var Me = {}, ze = {}, he = {};
171
171
  (function(e) {
172
172
  Object.defineProperty(e, "__esModule", {
173
173
  value: !0
@@ -193,8 +193,8 @@ var Fe = {}, Me = {}, fe = {};
193
193
  if (r.includes(`${a}(`))
194
194
  return `calc(${r} * -1)`;
195
195
  }
196
- })(fe);
197
- var ze = {};
196
+ })(he);
197
+ var Pe = {};
198
198
  (function(e) {
199
199
  Object.defineProperty(e, "__esModule", {
200
200
  value: !0
@@ -381,8 +381,8 @@ var ze = {};
381
381
  "willChange",
382
382
  "content"
383
383
  ];
384
- })(ze);
385
- var Pe = {};
384
+ })(Pe);
385
+ var Le = {};
386
386
  (function(e) {
387
387
  Object.defineProperty(e, "__esModule", {
388
388
  value: !0
@@ -397,13 +397,13 @@ var Pe = {};
397
397
  ...new Set(n.filter((o) => r !== !1 && r[o] !== !1).concat(Object.keys(r).filter((o) => r[o] !== !1)))
398
398
  ];
399
399
  }
400
- })(Pe);
401
- var he = {}, re = {}, me = { exports: {} }, z = String, Le = function() {
400
+ })(Le);
401
+ var me = {}, ne = {}, pe = { exports: {} }, z = String, Ge = function() {
402
402
  return { isColorSupported: !1, reset: z, bold: z, dim: z, italic: z, underline: z, inverse: z, hidden: z, strikethrough: z, black: z, red: z, green: z, yellow: z, blue: z, magenta: z, cyan: z, white: z, gray: z, bgBlack: z, bgRed: z, bgGreen: z, bgYellow: z, bgBlue: z, bgMagenta: z, bgCyan: z, bgWhite: z };
403
403
  };
404
- me.exports = Le();
405
- me.exports.createColors = Le;
406
- var He = me.exports;
404
+ pe.exports = Ge();
405
+ pe.exports.createColors = Ge;
406
+ var He = pe.exports;
407
407
  (function(e) {
408
408
  Object.defineProperty(e, "__esModule", {
409
409
  value: !0
@@ -462,7 +462,7 @@ var He = me.exports;
462
462
  ]);
463
463
  }
464
464
  };
465
- })(re);
465
+ })(ne);
466
466
  (function(e) {
467
467
  Object.defineProperty(e, "__esModule", {
468
468
  value: !0
@@ -472,7 +472,7 @@ var He = me.exports;
472
472
  return a;
473
473
  }
474
474
  });
475
- const t = /* @__PURE__ */ r(re);
475
+ const t = /* @__PURE__ */ r(ne);
476
476
  function r(o) {
477
477
  return o && o.__esModule ? o : {
478
478
  default: o
@@ -812,8 +812,8 @@ var He = me.exports;
812
812
  }), this.slate;
813
813
  }
814
814
  };
815
- })(he);
816
- var Ge = {};
815
+ })(me);
816
+ var je = {};
817
817
  (function(e) {
818
818
  Object.defineProperty(e, "__esModule", {
819
819
  value: !0
@@ -836,8 +836,8 @@ var Ge = {};
836
836
  }
837
837
  return r;
838
838
  }
839
- })(Ge);
840
- var je = {};
839
+ })(je);
840
+ var Be = {};
841
841
  (function(e) {
842
842
  Object.defineProperty(e, "__esModule", {
843
843
  value: !0
@@ -855,8 +855,8 @@ var je = {};
855
855
  throw new Error(`Path is invalid. Has unbalanced brackets: ${r}`);
856
856
  return r.split(/\.(?![^\[]*\])|[\[\]]/g).filter(Boolean);
857
857
  }
858
- })(je);
859
- var Be = {}, ie = {};
858
+ })(Be);
859
+ var We = {}, ie = {};
860
860
  (function(e) {
861
861
  Object.defineProperty(e, "__esModule", {
862
862
  value: !0
@@ -879,7 +879,7 @@ var Be = {}, ie = {};
879
879
  return d;
880
880
  }
881
881
  });
882
- const r = /* @__PURE__ */ a(He), n = /* @__PURE__ */ a(re);
882
+ const r = /* @__PURE__ */ a(He), n = /* @__PURE__ */ a(ne);
883
883
  function a(v) {
884
884
  return v && v.__esModule ? v : {
885
885
  default: v
@@ -943,7 +943,7 @@ var Be = {}, ie = {};
943
943
  return o;
944
944
  }
945
945
  });
946
- const t = ie, r = /* @__PURE__ */ a(re);
946
+ const t = ie, r = /* @__PURE__ */ a(ne);
947
947
  function n(i) {
948
948
  if (typeof WeakMap != "function")
949
949
  return null;
@@ -1045,8 +1045,8 @@ var Be = {}, ie = {};
1045
1045
  })(),
1046
1046
  extract: (() => {
1047
1047
  let s = (() => {
1048
- var h, E, y, k, A, P, L, M, H, G;
1049
- return !((h = i.purge) === null || h === void 0) && h.extract ? i.purge.extract : !((E = i.content) === null || E === void 0) && E.extract ? i.content.extract : !((y = i.purge) === null || y === void 0 || (k = y.extract) === null || k === void 0) && k.DEFAULT ? i.purge.extract.DEFAULT : !((A = i.content) === null || A === void 0 || (P = A.extract) === null || P === void 0) && P.DEFAULT ? i.content.extract.DEFAULT : !((L = i.purge) === null || L === void 0 || (M = L.options) === null || M === void 0) && M.extractors ? i.purge.options.extractors : !((H = i.content) === null || H === void 0 || (G = H.options) === null || G === void 0) && G.extractors ? i.content.options.extractors : {};
1048
+ var h, E, y, k, A, P, L, M, G, H;
1049
+ return !((h = i.purge) === null || h === void 0) && h.extract ? i.purge.extract : !((E = i.content) === null || E === void 0) && E.extract ? i.content.extract : !((y = i.purge) === null || y === void 0 || (k = y.extract) === null || k === void 0) && k.DEFAULT ? i.purge.extract.DEFAULT : !((A = i.content) === null || A === void 0 || (P = A.extract) === null || P === void 0) && P.DEFAULT ? i.content.extract.DEFAULT : !((L = i.purge) === null || L === void 0 || (M = L.options) === null || M === void 0) && M.extractors ? i.purge.options.extractors : !((G = i.content) === null || G === void 0 || (H = G.options) === null || H === void 0) && H.extractors ? i.content.options.extractors : {};
1050
1050
  })(), d = {}, v = (() => {
1051
1051
  var h, E, y, k;
1052
1052
  if (!((h = i.purge) === null || h === void 0 || (E = h.options) === null || E === void 0) && E.defaultExtractor)
@@ -1082,7 +1082,7 @@ var Be = {}, ie = {};
1082
1082
  }
1083
1083
  return i;
1084
1084
  }
1085
- })(Be);
1085
+ })(We);
1086
1086
  var Re = {};
1087
1087
  (function(e) {
1088
1088
  Object.defineProperty(e, "__esModule", {
@@ -1100,7 +1100,7 @@ var Re = {};
1100
1100
  return n === null || n === Object.prototype;
1101
1101
  }
1102
1102
  })(Re);
1103
- var We = {};
1103
+ var Ue = {};
1104
1104
  (function(e) {
1105
1105
  Object.defineProperty(e, "__esModule", {
1106
1106
  value: !0
@@ -1116,8 +1116,8 @@ var We = {};
1116
1116
  t(a)
1117
1117
  ])) : r;
1118
1118
  }
1119
- })(We);
1120
- var Ue = {}, Ne = {};
1119
+ })(Ue);
1120
+ var Ne = {}, Ie = {};
1121
1121
  (function(e) {
1122
1122
  Object.defineProperty(e, "__esModule", {
1123
1123
  value: !0
@@ -1130,8 +1130,8 @@ var Ue = {}, Ne = {};
1130
1130
  function t(r) {
1131
1131
  return r.replace(/\\,/g, "\\2c ");
1132
1132
  }
1133
- })(Ne);
1134
- var pe = {}, ge = {}, Ie = {};
1133
+ })(Ie);
1134
+ var ge = {}, ve = {}, Ve = {};
1135
1135
  (function(e) {
1136
1136
  Object.defineProperty(e, "__esModule", {
1137
1137
  value: !0
@@ -1883,7 +1883,7 @@ var pe = {}, ge = {}, Ie = {};
1883
1883
  50
1884
1884
  ]
1885
1885
  };
1886
- })(Ie);
1886
+ })(Ve);
1887
1887
  (function(e) {
1888
1888
  Object.defineProperty(e, "__esModule", {
1889
1889
  value: !0
@@ -1903,7 +1903,7 @@ var pe = {}, ge = {}, Ie = {};
1903
1903
  return E;
1904
1904
  }
1905
1905
  });
1906
- const r = /* @__PURE__ */ n(Ie);
1906
+ const r = /* @__PURE__ */ n(Ve);
1907
1907
  function n(y) {
1908
1908
  return y && y.__esModule ? y : {
1909
1909
  default: y
@@ -1927,14 +1927,14 @@ var pe = {}, ge = {}, Ie = {};
1927
1927
  if (y in r.default)
1928
1928
  return {
1929
1929
  mode: "rgb",
1930
- color: r.default[y].map((R) => R.toString())
1930
+ color: r.default[y].map((W) => W.toString())
1931
1931
  };
1932
- let L = y.replace(o, (R, N, W, g, D) => [
1932
+ let L = y.replace(o, (W, N, R, g, D) => [
1933
1933
  "#",
1934
1934
  N,
1935
1935
  N,
1936
- W,
1937
- W,
1936
+ R,
1937
+ R,
1938
1938
  g,
1939
1939
  g,
1940
1940
  D ? D + D : ""
@@ -1946,35 +1946,35 @@ var pe = {}, ge = {}, Ie = {};
1946
1946
  parseInt(L[1], 16),
1947
1947
  parseInt(L[2], 16),
1948
1948
  parseInt(L[3], 16)
1949
- ].map((R) => R.toString()),
1949
+ ].map((W) => W.toString()),
1950
1950
  alpha: L[4] ? (parseInt(L[4], 16) / 255).toString() : void 0
1951
1951
  };
1952
1952
  var M;
1953
- let H = (M = y.match(d)) !== null && M !== void 0 ? M : y.match(v);
1954
- if (H === null)
1953
+ let G = (M = y.match(d)) !== null && M !== void 0 ? M : y.match(v);
1954
+ if (G === null)
1955
1955
  return null;
1956
- let G = [
1957
- H[2],
1958
- H[3],
1959
- H[4]
1960
- ].filter(Boolean).map((R) => R.toString());
1961
- return G.length === 2 && G[0].startsWith("var(") ? {
1962
- mode: H[1],
1956
+ let H = [
1957
+ G[2],
1958
+ G[3],
1959
+ G[4]
1960
+ ].filter(Boolean).map((W) => W.toString());
1961
+ return H.length === 2 && H[0].startsWith("var(") ? {
1962
+ mode: G[1],
1963
1963
  color: [
1964
- G[0]
1964
+ H[0]
1965
1965
  ],
1966
- alpha: G[1]
1967
- } : !k && G.length !== 3 || G.length < 3 && !G.some((R) => /^var\(.*?\)$/.test(R)) ? null : {
1968
- mode: H[1],
1969
- color: G,
1970
- alpha: (A = H[5]) === null || A === void 0 || (P = A.toString) === null || P === void 0 ? void 0 : P.call(A)
1966
+ alpha: H[1]
1967
+ } : !k && H.length !== 3 || H.length < 3 && !H.some((W) => /^var\(.*?\)$/.test(W)) ? null : {
1968
+ mode: G[1],
1969
+ color: H,
1970
+ alpha: (A = G[5]) === null || A === void 0 || (P = A.toString) === null || P === void 0 ? void 0 : P.call(A)
1971
1971
  };
1972
1972
  }
1973
1973
  function E({ mode: y, color: k, alpha: A }) {
1974
1974
  let P = A !== void 0;
1975
1975
  return y === "rgba" || y === "hsla" ? `${y}(${k.join(", ")}${P ? `, ${A}` : ""})` : `${y}(${k.join(" ")}${P ? ` / ${A}` : ""})`;
1976
1976
  }
1977
- })(ge);
1977
+ })(ve);
1978
1978
  (function(e) {
1979
1979
  Object.defineProperty(e, "__esModule", {
1980
1980
  value: !0
@@ -1994,7 +1994,7 @@ var pe = {}, ge = {}, Ie = {};
1994
1994
  return a;
1995
1995
  }
1996
1996
  });
1997
- const r = ge;
1997
+ const r = ve;
1998
1998
  function n(o, i, c) {
1999
1999
  if (typeof o == "function")
2000
2000
  return o({
@@ -2039,8 +2039,8 @@ var pe = {}, ge = {}, Ie = {};
2039
2039
  ]))
2040
2040
  };
2041
2041
  }
2042
- })(pe);
2043
- var ve = {}, Ve = {}, ne = {};
2042
+ })(ge);
2043
+ var ye = {}, qe = {}, se = {};
2044
2044
  (function(e) {
2045
2045
  Object.defineProperty(e, "__esModule", {
2046
2046
  value: !0
@@ -2058,7 +2058,7 @@ var ve = {}, Ve = {}, ne = {};
2058
2058
  }
2059
2059
  return o.push(r.slice(i)), o;
2060
2060
  }
2061
- })(ne);
2061
+ })(se);
2062
2062
  (function(e) {
2063
2063
  Object.defineProperty(e, "__esModule", {
2064
2064
  value: !0
@@ -2078,7 +2078,7 @@ var ve = {}, Ve = {}, ne = {};
2078
2078
  return c;
2079
2079
  }
2080
2080
  });
2081
- const r = ne;
2081
+ const r = se;
2082
2082
  let n = /* @__PURE__ */ new Set([
2083
2083
  "inset",
2084
2084
  "inherit",
@@ -2106,16 +2106,16 @@ var ve = {}, Ve = {}, ne = {};
2106
2106
  s.color
2107
2107
  ].filter(Boolean).join(" ") : s.raw).join(", ");
2108
2108
  }
2109
- })(Ve);
2109
+ })(qe);
2110
2110
  (function(e) {
2111
2111
  Object.defineProperty(e, "__esModule", {
2112
2112
  value: !0
2113
2113
  });
2114
- function t(f, w) {
2115
- for (var F in w)
2114
+ function t(f, _) {
2115
+ for (var F in _)
2116
2116
  Object.defineProperty(f, F, {
2117
2117
  enumerable: !0,
2118
- get: w[F]
2118
+ get: _[F]
2119
2119
  });
2120
2120
  }
2121
2121
  t(e, {
@@ -2141,10 +2141,10 @@ var ve = {}, Ve = {}, ne = {};
2141
2141
  return M;
2142
2142
  },
2143
2143
  color: function() {
2144
- return H;
2144
+ return G;
2145
2145
  },
2146
2146
  image: function() {
2147
- return G;
2147
+ return H;
2148
2148
  },
2149
2149
  gradient: function() {
2150
2150
  return N;
@@ -2165,7 +2165,7 @@ var ve = {}, Ve = {}, ne = {};
2165
2165
  return $;
2166
2166
  }
2167
2167
  });
2168
- const r = ge, n = Ve, a = ne;
2168
+ const r = ve, n = qe, a = se;
2169
2169
  let o = [
2170
2170
  "min",
2171
2171
  "max",
@@ -2173,16 +2173,16 @@ var ve = {}, Ve = {}, ne = {};
2173
2173
  "calc"
2174
2174
  ];
2175
2175
  function i(f) {
2176
- return o.some((w) => new RegExp(`^${w}\\(.*\\)`).test(f));
2176
+ return o.some((_) => new RegExp(`^${_}\\(.*\\)`).test(f));
2177
2177
  }
2178
2178
  const c = "--tw-placeholder", l = new RegExp(c, "g");
2179
- function s(f, w = !0) {
2180
- return f.startsWith("--") ? `var(${f})` : f.includes("url(") ? f.split(/(url\(.*?\))/g).filter(Boolean).map((F) => /^url\(.*?\)$/.test(F) ? F : s(F, !1)).join("") : (f = f.replace(/([^\\])_+/g, (F, O) => O + " ".repeat(F.length - 1)).replace(/^_/g, " ").replace(/\\_/g, "_"), w && (f = f.trim()), f = d(f), f);
2179
+ function s(f, _ = !0) {
2180
+ return f.startsWith("--") ? `var(${f})` : f.includes("url(") ? f.split(/(url\(.*?\))/g).filter(Boolean).map((F) => /^url\(.*?\)$/.test(F) ? F : s(F, !1)).join("") : (f = f.replace(/([^\\])_+/g, (F, O) => O + " ".repeat(F.length - 1)).replace(/^_/g, " ").replace(/\\_/g, "_"), _ && (f = f.trim()), f = d(f), f);
2181
2181
  }
2182
2182
  function d(f) {
2183
- return f.replace(/(calc|min|max|clamp)\(.+\)/g, (w) => {
2183
+ return f.replace(/(calc|min|max|clamp)\(.+\)/g, (_) => {
2184
2184
  let F = [];
2185
- return w.replace(/var\((--.+?)[,)]/g, (O, Z) => (F.push(Z), O.replace(Z, c))).replace(/(-?\d*\.?\d(?!\b-\d.+[,)](?![^+\-/*])\D)(?:%|[a-z]+)?|\))([+\-/*])/g, "$1 $2 ").replace(l, () => F.shift());
2185
+ return _.replace(/var\((--.+?)[,)]/g, (O, Z) => (F.push(Z), O.replace(Z, c))).replace(/(-?\d*\.?\d(?!\b-\d.+[,)](?![^+\-/*])\D)(?:%|[a-z]+)?|\))([+\-/*])/g, "$1 $2 ").replace(l, () => F.shift());
2186
2186
  });
2187
2187
  }
2188
2188
  function v(f) {
@@ -2239,28 +2239,28 @@ var ve = {}, Ve = {}, ne = {};
2239
2239
  return P.has(f);
2240
2240
  }
2241
2241
  function M(f) {
2242
- let w = (0, n.parseBoxShadowValue)(s(f));
2243
- for (let F of w)
2242
+ let _ = (0, n.parseBoxShadowValue)(s(f));
2243
+ for (let F of _)
2244
2244
  if (!F.valid)
2245
2245
  return !1;
2246
2246
  return !0;
2247
2247
  }
2248
- function H(f) {
2249
- let w = 0;
2248
+ function G(f) {
2249
+ let _ = 0;
2250
2250
  return (0, a.splitAtTopLevelOnly)(f, "_").every((O) => (O = s(O), O.startsWith("var(") ? !0 : (0, r.parseColor)(O, {
2251
2251
  loose: !0
2252
- }) !== null ? (w++, !0) : !1)) ? w > 0 : !1;
2252
+ }) !== null ? (_++, !0) : !1)) ? _ > 0 : !1;
2253
2253
  }
2254
- function G(f) {
2255
- let w = 0;
2254
+ function H(f) {
2255
+ let _ = 0;
2256
2256
  return (0, a.splitAtTopLevelOnly)(f, ",").every((O) => (O = s(O), O.startsWith("var(") ? !0 : v(O) || N(O) || [
2257
2257
  "element(",
2258
2258
  "image(",
2259
2259
  "cross-fade(",
2260
2260
  "image-set("
2261
- ].some((Z) => O.startsWith(Z)) ? (w++, !0) : !1)) ? w > 0 : !1;
2261
+ ].some((Z) => O.startsWith(Z)) ? (_++, !0) : !1)) ? _ > 0 : !1;
2262
2262
  }
2263
- let R = /* @__PURE__ */ new Set([
2263
+ let W = /* @__PURE__ */ new Set([
2264
2264
  "conic-gradient",
2265
2265
  "linear-gradient",
2266
2266
  "radial-gradient",
@@ -2270,12 +2270,12 @@ var ve = {}, Ve = {}, ne = {};
2270
2270
  ]);
2271
2271
  function N(f) {
2272
2272
  f = s(f);
2273
- for (let w of R)
2274
- if (f.startsWith(`${w}(`))
2273
+ for (let _ of W)
2274
+ if (f.startsWith(`${_}(`))
2275
2275
  return !0;
2276
2276
  return !1;
2277
2277
  }
2278
- let W = /* @__PURE__ */ new Set([
2278
+ let R = /* @__PURE__ */ new Set([
2279
2279
  "center",
2280
2280
  "top",
2281
2281
  "right",
@@ -2283,12 +2283,12 @@ var ve = {}, Ve = {}, ne = {};
2283
2283
  "left"
2284
2284
  ]);
2285
2285
  function g(f) {
2286
- let w = 0;
2287
- return (0, a.splitAtTopLevelOnly)(f, "_").every((O) => (O = s(O), O.startsWith("var(") ? !0 : W.has(O) || A(O) || E(O) ? (w++, !0) : !1)) ? w > 0 : !1;
2286
+ let _ = 0;
2287
+ return (0, a.splitAtTopLevelOnly)(f, "_").every((O) => (O = s(O), O.startsWith("var(") ? !0 : R.has(O) || A(O) || E(O) ? (_++, !0) : !1)) ? _ > 0 : !1;
2288
2288
  }
2289
2289
  function D(f) {
2290
- let w = 0;
2291
- return (0, a.splitAtTopLevelOnly)(f, ",").every((O) => (O = s(O), O.startsWith("var(") ? !0 : O.includes(" ") && !/(['"])([^"']+)\1/g.test(O) || /^\d/g.test(O) ? !1 : (w++, !0))) ? w > 0 : !1;
2290
+ let _ = 0;
2291
+ return (0, a.splitAtTopLevelOnly)(f, ",").every((O) => (O = s(O), O.startsWith("var(") ? !0 : O.includes(" ") && !/(['"])([^"']+)\1/g.test(O) || /^\d/g.test(O) ? !1 : (_++, !0))) ? _ > 0 : !1;
2292
2292
  }
2293
2293
  let C = /* @__PURE__ */ new Set([
2294
2294
  "serif",
@@ -2328,8 +2328,8 @@ var ve = {}, Ve = {}, ne = {};
2328
2328
  function $(f) {
2329
2329
  return p.has(f);
2330
2330
  }
2331
- })(ve);
2332
- var qe = {};
2331
+ })(ye);
2332
+ var Xe = {};
2333
2333
  (function(e) {
2334
2334
  Object.defineProperty(e, "__esModule", {
2335
2335
  value: !0
@@ -2339,7 +2339,7 @@ var qe = {};
2339
2339
  return n;
2340
2340
  }
2341
2341
  });
2342
- const t = ve, r = ne;
2342
+ const t = ye, r = se;
2343
2343
  function n(a) {
2344
2344
  let o = [
2345
2345
  "cover",
@@ -2350,7 +2350,7 @@ var qe = {};
2350
2350
  return c.length === 1 && o.includes(c[0]) ? !0 : c.length !== 1 && c.length !== 2 ? !1 : c.every((l) => (0, t.length)(l) || (0, t.percentage)(l) || l === "auto");
2351
2351
  });
2352
2352
  }
2353
- })(qe);
2353
+ })(Xe);
2354
2354
  (function(e) {
2355
2355
  Object.defineProperty(e, "__esModule", {
2356
2356
  value: !0
@@ -2379,16 +2379,16 @@ var qe = {};
2379
2379
  return L;
2380
2380
  },
2381
2381
  typeMap: function() {
2382
- return H;
2382
+ return G;
2383
2383
  },
2384
2384
  coerceValue: function() {
2385
2385
  return N;
2386
2386
  },
2387
2387
  getMatchingTypes: function() {
2388
- return W;
2388
+ return R;
2389
2389
  }
2390
2390
  });
2391
- const r = /* @__PURE__ */ l(Ne), n = pe, a = ve, o = /* @__PURE__ */ l(fe), i = qe, c = ie;
2391
+ const r = /* @__PURE__ */ l(Ie), n = ge, a = ye, o = /* @__PURE__ */ l(he), i = Xe, c = ie;
2392
2392
  function l(g) {
2393
2393
  return g && g.__esModule ? g : {
2394
2394
  default: g
@@ -2454,9 +2454,9 @@ var qe = {};
2454
2454
  }
2455
2455
  let [x, p] = y(g);
2456
2456
  if (p !== void 0) {
2457
- var $, f, w, F;
2457
+ var $, f, _, F;
2458
2458
  let O = (F = ($ = D.values) === null || $ === void 0 ? void 0 : $[x]) !== null && F !== void 0 ? F : E(x) ? x.slice(1, -1) : void 0;
2459
- return O === void 0 ? void 0 : (O = k(O), E(p) ? (0, n.withAlphaValue)(O, A(p)) : ((f = C.theme) === null || f === void 0 || (w = f.opacity) === null || w === void 0 ? void 0 : w[p]) === void 0 ? void 0 : (0, n.withAlphaValue)(O, C.theme.opacity[p]));
2459
+ return O === void 0 ? void 0 : (O = k(O), E(p) ? (0, n.withAlphaValue)(O, A(p)) : ((f = C.theme) === null || f === void 0 || (_ = f.opacity) === null || _ === void 0 ? void 0 : _[p]) === void 0 ? void 0 : (0, n.withAlphaValue)(O, C.theme.opacity[p]));
2460
2460
  }
2461
2461
  return h(g, D, {
2462
2462
  validate: a.color
@@ -2471,7 +2471,7 @@ var qe = {};
2471
2471
  validate: g
2472
2472
  });
2473
2473
  }
2474
- let H = {
2474
+ let G = {
2475
2475
  any: h,
2476
2476
  color: P,
2477
2477
  url: M(a.url),
@@ -2488,8 +2488,8 @@ var qe = {};
2488
2488
  "relative-size": M(a.relativeSize),
2489
2489
  shadow: M(a.shadow),
2490
2490
  size: M(i.backgroundSize)
2491
- }, G = Object.keys(H);
2492
- function R(g, D) {
2491
+ }, H = Object.keys(G);
2492
+ function W(g, D) {
2493
2493
  let C = g.indexOf(D);
2494
2494
  return C === -1 ? [
2495
2495
  void 0,
@@ -2502,7 +2502,7 @@ var qe = {};
2502
2502
  function N(g, D, C, m) {
2503
2503
  if (C.values && D in C.values)
2504
2504
  for (let { type: x } of g != null ? g : []) {
2505
- let p = H[x](D, C, {
2505
+ let p = G[x](D, C, {
2506
2506
  tailwindConfig: m
2507
2507
  });
2508
2508
  if (p !== void 0)
@@ -2513,32 +2513,32 @@ var qe = {};
2513
2513
  ];
2514
2514
  }
2515
2515
  if (E(D)) {
2516
- let x = D.slice(1, -1), [p, $] = R(x, ":");
2516
+ let x = D.slice(1, -1), [p, $] = W(x, ":");
2517
2517
  if (!/^[\w-_]+$/g.test(p))
2518
2518
  $ = x;
2519
- else if (p !== void 0 && !G.includes(p))
2519
+ else if (p !== void 0 && !H.includes(p))
2520
2520
  return [];
2521
- if ($.length > 0 && G.includes(p))
2521
+ if ($.length > 0 && H.includes(p))
2522
2522
  return [
2523
2523
  h(`[${$}]`, C),
2524
2524
  p,
2525
2525
  null
2526
2526
  ];
2527
2527
  }
2528
- let b = W(g, D, C, m);
2528
+ let b = R(g, D, C, m);
2529
2529
  for (let x of b)
2530
2530
  return x;
2531
2531
  return [];
2532
2532
  }
2533
- function* W(g, D, C, m) {
2533
+ function* R(g, D, C, m) {
2534
2534
  let b = (0, c.flagEnabled)(m, "generalizedModifiers"), [x, p] = y(D);
2535
2535
  if (b && C.modifiers != null && (C.modifiers === "any" || typeof C.modifiers == "object" && (p && E(p) || p in C.modifiers)) || (x = D, p = void 0), p !== void 0 && x === "" && (x = "DEFAULT"), p !== void 0 && typeof C.modifiers == "object") {
2536
- var f, w;
2537
- let F = (w = (f = C.modifiers) === null || f === void 0 ? void 0 : f[p]) !== null && w !== void 0 ? w : null;
2536
+ var f, _;
2537
+ let F = (_ = (f = C.modifiers) === null || f === void 0 ? void 0 : f[p]) !== null && _ !== void 0 ? _ : null;
2538
2538
  F !== null ? p = F : E(p) && (p = A(p));
2539
2539
  }
2540
2540
  for (let { type: F } of g != null ? g : []) {
2541
- let O = H[F](x, C, {
2541
+ let O = G[F](x, C, {
2542
2542
  tailwindConfig: m
2543
2543
  });
2544
2544
  O !== void 0 && (yield [
@@ -2548,8 +2548,8 @@ var qe = {};
2548
2548
  ]);
2549
2549
  }
2550
2550
  }
2551
- })(Ue);
2552
- var Xe = {};
2551
+ })(Ne);
2552
+ var Ye = {};
2553
2553
  (function(e) {
2554
2554
  Object.defineProperty(e, "__esModule", {
2555
2555
  value: !0
@@ -2562,7 +2562,7 @@ var Xe = {};
2562
2562
  function t(r) {
2563
2563
  return typeof r == "function" ? r({}) : r;
2564
2564
  }
2565
- })(Xe);
2565
+ })(Ye);
2566
2566
  (function(e) {
2567
2567
  Object.defineProperty(e, "__esModule", {
2568
2568
  value: !0
@@ -2572,7 +2572,7 @@ var Xe = {};
2572
2572
  return C;
2573
2573
  }
2574
2574
  });
2575
- const t = /* @__PURE__ */ E(fe), r = /* @__PURE__ */ E(ze), n = /* @__PURE__ */ E(Pe), a = /* @__PURE__ */ E(he), o = Ge, i = je, c = Be, l = /* @__PURE__ */ E(Re), s = We, d = Ue, v = pe, h = /* @__PURE__ */ E(Xe);
2575
+ const t = /* @__PURE__ */ E(he), r = /* @__PURE__ */ E(Pe), n = /* @__PURE__ */ E(Le), a = /* @__PURE__ */ E(me), o = je, i = Be, c = We, l = /* @__PURE__ */ E(Re), s = Ue, d = Ne, v = ge, h = /* @__PURE__ */ E(Ye);
2576
2576
  function E(m) {
2577
2577
  return m && m.__esModule ? m : {
2578
2578
  default: m
@@ -2627,7 +2627,7 @@ var Xe = {};
2627
2627
  extend: L(m)
2628
2628
  };
2629
2629
  }
2630
- function H(m, b) {
2630
+ function G(m, b) {
2631
2631
  if (Array.isArray(m) && (0, l.default)(m[0]))
2632
2632
  return m.concat(b);
2633
2633
  if (Array.isArray(b) && (0, l.default)(b[0]) && (0, l.default)(m))
@@ -2638,34 +2638,34 @@ var Xe = {};
2638
2638
  if (Array.isArray(b))
2639
2639
  return b;
2640
2640
  }
2641
- function G({ extend: m, ...b }) {
2642
- return k(b, m, (x, p) => !y(x) && !p.some(y) ? k({}, x, ...p, H) : ($, f) => k({}, ...[
2641
+ function H({ extend: m, ...b }) {
2642
+ return k(b, m, (x, p) => !y(x) && !p.some(y) ? k({}, x, ...p, G) : ($, f) => k({}, ...[
2643
2643
  x,
2644
2644
  ...p
2645
- ].map((w) => P(w, $, f)), H));
2645
+ ].map((_) => P(_, $, f)), G));
2646
2646
  }
2647
- function* R(m) {
2647
+ function* W(m) {
2648
2648
  let b = (0, i.toPath)(m);
2649
2649
  if (b.length === 0 || (yield b, Array.isArray(m)))
2650
2650
  return;
2651
2651
  let x = /^(.*?)\s*\/\s*([^/]+)$/, p = m.match(x);
2652
2652
  if (p !== null) {
2653
- let [, $, f] = p, w = (0, i.toPath)($);
2654
- w.alpha = f, yield w;
2653
+ let [, $, f] = p, _ = (0, i.toPath)($);
2654
+ _.alpha = f, yield _;
2655
2655
  }
2656
2656
  }
2657
2657
  function N(m) {
2658
2658
  const b = (x, p) => {
2659
- for (const $ of R(x)) {
2660
- let f = 0, w = m;
2661
- for (; w != null && f < $.length; )
2662
- w = w[$[f++]], w = y(w) && ($.alpha === void 0 || f <= $.length - 1) ? w(b, A) : w;
2663
- if (w !== void 0) {
2659
+ for (const $ of W(x)) {
2660
+ let f = 0, _ = m;
2661
+ for (; _ != null && f < $.length; )
2662
+ _ = _[$[f++]], _ = y(_) && ($.alpha === void 0 || f <= $.length - 1) ? _(b, A) : _;
2663
+ if (_ !== void 0) {
2664
2664
  if ($.alpha !== void 0) {
2665
- let F = (0, d.parseColorFormat)(w);
2665
+ let F = (0, d.parseColorFormat)(_);
2666
2666
  return (0, v.withAlphaValue)(F, $.alpha, (0, h.default)(F));
2667
2667
  }
2668
- return (0, l.default)(w) ? (0, s.cloneDeep)(w) : w;
2668
+ return (0, l.default)(_) ? (0, s.cloneDeep)(_) : _;
2669
2669
  }
2670
2670
  }
2671
2671
  return p;
@@ -2675,7 +2675,7 @@ var Xe = {};
2675
2675
  ...A
2676
2676
  }), Object.keys(m).reduce((x, p) => (x[p] = y(m[p]) ? m[p](b, A) : m[p], x), {});
2677
2677
  }
2678
- function W(m) {
2678
+ function R(m) {
2679
2679
  let b = [];
2680
2680
  return m.forEach((x) => {
2681
2681
  b = [
@@ -2686,11 +2686,11 @@ var Xe = {};
2686
2686
  const $ = (p = x == null ? void 0 : x.plugins) !== null && p !== void 0 ? p : [];
2687
2687
  $.length !== 0 && $.forEach((f) => {
2688
2688
  f.__isOptionsFunction && (f = f());
2689
- var w;
2689
+ var _;
2690
2690
  b = [
2691
2691
  ...b,
2692
- ...W([
2693
- (w = f == null ? void 0 : f.config) !== null && w !== void 0 ? w : {}
2692
+ ...R([
2693
+ (_ = f == null ? void 0 : f.config) !== null && _ !== void 0 ? _ : {}
2694
2694
  ])
2695
2695
  ];
2696
2696
  });
@@ -2713,7 +2713,7 @@ var Xe = {};
2713
2713
  }
2714
2714
  function C(m) {
2715
2715
  let b = [
2716
- ...W(m),
2716
+ ...R(m),
2717
2717
  {
2718
2718
  prefix: "",
2719
2719
  important: !1,
@@ -2722,13 +2722,13 @@ var Xe = {};
2722
2722
  ];
2723
2723
  var x, p;
2724
2724
  return (0, c.normalizeConfig)((0, o.defaults)({
2725
- theme: N(G(M(b.map(($) => (x = $ == null ? void 0 : $.theme) !== null && x !== void 0 ? x : {})))),
2725
+ theme: N(H(M(b.map(($) => (x = $ == null ? void 0 : $.theme) !== null && x !== void 0 ? x : {})))),
2726
2726
  corePlugins: g(b.map(($) => $.corePlugins)),
2727
2727
  plugins: D(m.map(($) => (p = $ == null ? void 0 : $.plugins) !== null && p !== void 0 ? p : []))
2728
2728
  }, ...b));
2729
2729
  }
2730
- })(Me);
2731
- var Ye = {}, ct = {
2730
+ })(ze);
2731
+ var Ze = {}, dt = {
2732
2732
  content: [],
2733
2733
  presets: [],
2734
2734
  darkMode: "media",
@@ -3728,7 +3728,7 @@ var Ye = {}, ct = {
3728
3728
  return a;
3729
3729
  }
3730
3730
  });
3731
- const t = /* @__PURE__ */ n(ct), r = ie;
3731
+ const t = /* @__PURE__ */ n(dt), r = ie;
3732
3732
  function n(o) {
3733
3733
  return o && o.__esModule ? o : {
3734
3734
  default: o
@@ -3765,7 +3765,7 @@ var Ye = {}, ct = {
3765
3765
  ...c
3766
3766
  ];
3767
3767
  }
3768
- })(Ye);
3768
+ })(Ze);
3769
3769
  (function(e) {
3770
3770
  Object.defineProperty(e, "__esModule", {
3771
3771
  value: !0
@@ -3775,7 +3775,7 @@ var Ye = {}, ct = {
3775
3775
  return a;
3776
3776
  }
3777
3777
  });
3778
- const t = /* @__PURE__ */ n(Me), r = /* @__PURE__ */ n(Ye);
3778
+ const t = /* @__PURE__ */ n(ze), r = /* @__PURE__ */ n(Ze);
3779
3779
  function n(o) {
3780
3780
  return o && o.__esModule ? o : {
3781
3781
  default: o
@@ -3788,13 +3788,13 @@ var Ye = {}, ct = {
3788
3788
  ...i
3789
3789
  ]);
3790
3790
  }
3791
- })(Fe);
3792
- let se = Fe;
3793
- var dt = (se.__esModule ? se : { default: se }).default;
3794
- const ft = /* @__PURE__ */ ut(dt);
3795
- let ae = he;
3796
- var U = (ae.__esModule ? ae : { default: ae }).default;
3797
- const ht = {
3791
+ })(Me);
3792
+ let ae = Me;
3793
+ var ft = (ae.__esModule ? ae : { default: ae }).default;
3794
+ const ht = /* @__PURE__ */ ct(ft);
3795
+ let oe = me;
3796
+ var U = (oe.__esModule ? oe : { default: oe }).default;
3797
+ const mt = {
3798
3798
  50: "#FCE3E4",
3799
3799
  100: "#F9CDCE",
3800
3800
  200: "#F39699",
@@ -3812,8 +3812,8 @@ const ht = {
3812
3812
  info: U.cyan,
3813
3813
  success: U.lime,
3814
3814
  primary: U.sky,
3815
- brand: ht
3816
- }, mt = {
3815
+ brand: mt
3816
+ }, pt = {
3817
3817
  ...B,
3818
3818
  // Warning
3819
3819
  warning: B.warning[500],
@@ -3840,7 +3840,7 @@ const ht = {
3840
3840
  onbackground: U.slate[700],
3841
3841
  surface: U.slate[50],
3842
3842
  background: U.white
3843
- }, pt = {
3843
+ }, gt = {
3844
3844
  prefix: "e-",
3845
3845
  corePlugins: {
3846
3846
  preflight: !1
@@ -3848,7 +3848,7 @@ const ht = {
3848
3848
  content: ["./src/**/*.{html,js,vue,ts}"],
3849
3849
  theme: {
3850
3850
  extend: {
3851
- colors: mt,
3851
+ colors: pt,
3852
3852
  maxWidth: {
3853
3853
  "1/12": "8.333333333%",
3854
3854
  "2/12": "16.666666666%",
@@ -3916,21 +3916,21 @@ const ht = {
3916
3916
  pattern: /e-content-(around|baseline|between|center|end|evenly|normal|start|stretch)/
3917
3917
  }
3918
3918
  ]
3919
- }, Ze = ft(pt), gt = Ze.theme.fontSize, vt = Ze.theme.colors, sr = [
3919
+ }, Ke = ht(gt), vt = Ke.theme.fontSize, yt = Ke.theme.colors, tr = [
3920
3920
  T.dot,
3921
3921
  T.xs,
3922
3922
  T.sm,
3923
3923
  T.md,
3924
3924
  T.lg,
3925
3925
  T.xl
3926
- ], ar = [
3926
+ ], rr = [
3927
3927
  T.xs,
3928
3928
  T.sm,
3929
3929
  T.md,
3930
3930
  T.lg,
3931
3931
  T.xl,
3932
3932
  T["2xl"]
3933
- ], yt = [
3933
+ ], bt = [
3934
3934
  T.xs,
3935
3935
  T.sm,
3936
3936
  T.md,
@@ -3945,14 +3945,14 @@ const ht = {
3945
3945
  T["7xl"],
3946
3946
  T["8xl"],
3947
3947
  T["9xl"]
3948
- ], or = [
3948
+ ], nr = [
3949
3949
  j.warning,
3950
3950
  j.error,
3951
3951
  j.info,
3952
3952
  j.success,
3953
3953
  j.primary,
3954
3954
  j.default
3955
- ], lr = [
3955
+ ], ir = [
3956
3956
  "play",
3957
3957
  "pause",
3958
3958
  "ended",
@@ -3963,7 +3963,7 @@ const ht = {
3963
3963
  "canplay",
3964
3964
  "canplaythrough",
3965
3965
  "statechanged"
3966
- ], bt = q.extend({
3966
+ ], xt = V.extend({
3967
3967
  name: "EIcon",
3968
3968
  props: {
3969
3969
  icon: {
@@ -3981,7 +3981,7 @@ const ht = {
3981
3981
  },
3982
3982
  computed: {
3983
3983
  sizes() {
3984
- return yt.reduce((e, t) => ({
3984
+ return bt.reduce((e, t) => ({
3985
3985
  ...e,
3986
3986
  [t]: `e-text-${t}`
3987
3987
  }), {});
@@ -3998,20 +3998,20 @@ const ht = {
3998
3998
  }
3999
3999
  }
4000
4000
  });
4001
- var xt = function() {
4001
+ var _t = function() {
4002
4002
  var t = this, r = t._self._c;
4003
4003
  return r("div", { staticClass: "e-icon" }, [r("i", { class: t.iconClasses })]);
4004
- }, _t = [], wt = /* @__PURE__ */ I(
4005
- bt,
4004
+ }, wt = [], Ct = /* @__PURE__ */ q(
4006
4005
  xt,
4007
4006
  _t,
4007
+ wt,
4008
4008
  !1,
4009
4009
  null,
4010
4010
  null,
4011
4011
  null,
4012
4012
  null
4013
4013
  );
4014
- const Ct = wt.exports, St = q.extend({
4014
+ const St = Ct.exports, Tt = V.extend({
4015
4015
  name: "ESpinner",
4016
4016
  props: {
4017
4017
  dark: {
@@ -4037,8 +4037,8 @@ const Ct = wt.exports, St = q.extend({
4037
4037
  },
4038
4038
  data() {
4039
4039
  return {
4040
- sizes: gt,
4041
- colors: vt
4040
+ sizes: vt,
4041
+ colors: yt
4042
4042
  };
4043
4043
  },
4044
4044
  computed: {
@@ -4073,23 +4073,23 @@ const Ct = wt.exports, St = q.extend({
4073
4073
  }
4074
4074
  }
4075
4075
  });
4076
- var Tt = function() {
4076
+ var Et = function() {
4077
4077
  var t = this, r = t._self._c;
4078
4078
  return r("svg", { staticClass: "e-spinner e-block", class: {
4079
4079
  "e-spinner--dark": t.dark,
4080
4080
  "e-spinner--grey": !t.color
4081
4081
  }, style: { opacity: t.opacity }, attrs: { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 1629.32 1608.86", width: t.computedSize, height: t.computedSize } }, [r("path", { staticClass: "e-spinner__primary", style: t.getNthPathStyle(0), attrs: { d: "m1254.12,591.61C992.01,401.11,439.78,0,439.78,0h601.2c14.3,0,48.95,9.02,62.54,38.01,55.27,117.88,111.32,235.46,170.48,351.43,33.16,70.9-8.99,170.35-19.87,202.16" } }), r("path", { staticClass: "e-spinner__secondary", style: t.getNthPathStyle(1), attrs: { d: "m1404.65,131.67c-29.37,89.94-55.8,170.95-82.25,251.93-4.05.87-8.1,1.73-12.15,2.61-40.61-83.95-81.21-167.9-123.12-254.54h217.51Z" } }), r("path", { staticClass: "e-spinner__primary", style: t.getNthPathStyle(2), attrs: { d: "m1129.06,1093.51c100.75-307.98,312.75-956.75,312.75-956.75,0,0,180.36,558.53,184.75,572.14,4.39,13.59,6.45,49.34-16.96,71.19-95.21,88.81-189.88,178.28-282.06,270.2-57.29,53.34-164.86,43.8-198.48,43.21" } }), r("path", { staticClass: "e-spinner__secondary", style: t.getNthPathStyle(3), attrs: { d: "m1342.3,1083.06c66.6-63.43,133.22-126.86,207.93-197.98,21.51,73.55,40.3,137.81,60.64,207.37h-263.35c-1.75-3.13-3.48-6.27-5.22-9.39" } }), r("path", { staticClass: "e-spinner__primary", style: t.getNthPathStyle(4), attrs: { d: "m610.27,1137.17c324.03-.53,1006.55-1.85,1006.55-1.85,0,0-474.19,345.83-485.74,354.25-11.55,8.42-44.87,21.56-72.94,6.14-114.11-62.68-228.69-124.66-344.81-183.5-68.56-37.76-93.12-142.93-103.06-175.04" } }), r("path", { staticClass: "e-spinner__secondary", style: t.getNthPathStyle(5), attrs: { d: "m938.58,1468.29c-62.81,42.58-118.35,80.24-180.28,122.23-28.35-87.22-54.62-168.03-80.89-248.86,2.62-2.92,5.26-5.85,7.9-8.76,81.89,43.78,163.79,87.56,253.26,135.39" } }), r("path", { staticClass: "e-spinner__primary", style: t.getNthPathStyle(6), attrs: { d: "m413.07,652.86c101.35,307.77,314.99,956,314.99,956,0,0-476.23-343.04-487.83-351.39-11.58-8.36-34.44-35.93-28.52-67.4,24.07-127.96,47.3-256.13,67.09-384.8,14.54-76.9,106.84-132.96,134.28-152.42" } }), r("path", { staticClass: "e-spinner__secondary", style: t.getNthPathStyle(7), attrs: { d: "m197.48,1068.8c-62.36-47.73-115.99-88.79-176.78-135.33,75.54-54.91,146.18-106.24,216.83-157.57,3.73,2.24,7.45,4.47,11.19,6.71-16.36,91.3-32.7,182.61-51.25,286.19" } }), r("path", { staticClass: "e-spinner__primary", style: t.getNthPathStyle(8), attrs: { d: "m813.58,314.41C551.63,505.15,0,907.07,0,907.07c0,0,180.68-558.4,185.09-572.01,4.39-13.59,23.65-43.78,55.41-47.8,129.19-16.29,258.32-33.41,386.86-53.99,77.67-9.72,159.3,60.97,186.22,81.13" } }), r("path", { staticClass: "e-spinner__secondary", style: t.getNthPathStyle(9), attrs: { d: "m635.14,199.78c-91.99,12.38-183.97,24.77-288.07,38.76,25.77-73.18,48.3-137.14,73.8-209.53,76.56,55.41,147.27,106.58,217.97,157.75-1.23,4.34-2.46,8.68-3.69,13.02" } })]);
4082
- }, Et = [], $t = /* @__PURE__ */ I(
4083
- St,
4082
+ }, $t = [], Dt = /* @__PURE__ */ q(
4084
4083
  Tt,
4085
4084
  Et,
4085
+ $t,
4086
4086
  !1,
4087
4087
  null,
4088
4088
  "29711f67",
4089
4089
  null,
4090
4090
  null
4091
4091
  );
4092
- const Ke = $t.exports, Dt = q.extend({
4092
+ const Je = Dt.exports, kt = V.extend({
4093
4093
  props: {
4094
4094
  align: {
4095
4095
  type: String,
@@ -4149,20 +4149,20 @@ const Ke = $t.exports, Dt = q.extend({
4149
4149
  }
4150
4150
  }
4151
4151
  });
4152
- var kt = function() {
4152
+ var Ot = function() {
4153
4153
  var t = this, r = t._self._c;
4154
4154
  return t._self._setupProxy, r("div", { staticClass: "e-row e-flex e-flex-wrap", class: t.rowClasses }, [t._t("default")], 2);
4155
- }, Ot = [], At = /* @__PURE__ */ I(
4156
- Dt,
4155
+ }, At = [], Ft = /* @__PURE__ */ q(
4157
4156
  kt,
4158
4157
  Ot,
4158
+ At,
4159
4159
  !1,
4160
4160
  null,
4161
4161
  null,
4162
4162
  null,
4163
4163
  null
4164
4164
  );
4165
- const Ft = At.exports, Mt = q.extend({
4165
+ const Mt = Ft.exports, zt = V.extend({
4166
4166
  props: {
4167
4167
  alignSelf: {
4168
4168
  type: String,
@@ -4266,25 +4266,25 @@ const Ft = At.exports, Mt = q.extend({
4266
4266
  }
4267
4267
  }
4268
4268
  });
4269
- var zt = function() {
4269
+ var Pt = function() {
4270
4270
  var t = this, r = t._self._c;
4271
4271
  return r("div", { staticClass: "e-col", class: t.colClasses }, [t._t("default")], 2);
4272
- }, Pt = [], Lt = /* @__PURE__ */ I(
4273
- Mt,
4272
+ }, Lt = [], Gt = /* @__PURE__ */ q(
4274
4273
  zt,
4275
4274
  Pt,
4275
+ Lt,
4276
4276
  !1,
4277
4277
  null,
4278
4278
  null,
4279
4279
  null,
4280
4280
  null
4281
4281
  );
4282
- const Ht = Lt.exports;
4283
- function Je() {
4282
+ const Ht = Gt.exports;
4283
+ function Qe() {
4284
4284
  return !!(document.fullscreenElement || document.mozFullScreenElement || document.webkitFullscreenElement || document.msFullscreenElement);
4285
4285
  }
4286
- function Gt(e) {
4287
- if (Je())
4286
+ function jt(e) {
4287
+ if (Qe())
4288
4288
  return new Promise((t) => t());
4289
4289
  if (e.requestFullscreen)
4290
4290
  return e == null ? void 0 : e.requestFullscreen();
@@ -4295,8 +4295,8 @@ function Gt(e) {
4295
4295
  if (e.msRequestFullscreen)
4296
4296
  return e == null ? void 0 : e.msRequestFullscreen();
4297
4297
  }
4298
- function jt() {
4299
- if (!Je())
4298
+ function Bt() {
4299
+ if (!Qe())
4300
4300
  return new Promise((e) => e());
4301
4301
  if (document.exitFullscreen)
4302
4302
  return document.exitFullscreen();
@@ -4307,9 +4307,9 @@ function jt() {
4307
4307
  if (document.msExitFullscreen)
4308
4308
  return document.msExitFullscreen();
4309
4309
  }
4310
- const oe = new Intl.NumberFormat(void 0, {
4310
+ const le = new Intl.NumberFormat(void 0, {
4311
4311
  minimumIntegerDigits: 2
4312
- }), ye = [
4312
+ }), be = [
4313
4313
  "play",
4314
4314
  "pause",
4315
4315
  "ended",
@@ -4323,13 +4323,13 @@ const oe = new Intl.NumberFormat(void 0, {
4323
4323
  "error"
4324
4324
  ], J = (e) => {
4325
4325
  const t = Math.floor(e % 60), r = Math.floor(e / 60) % 60, n = Math.floor(e / 3600);
4326
- return n === 0 ? `${r}:${oe.format(t)}` : `${n}:${oe.format(
4326
+ return n === 0 ? `${r}:${le.format(t)}` : `${n}:${le.format(
4327
4327
  r
4328
- )}:${oe.format(t)}`;
4329
- }, Bt = q.extend({
4328
+ )}:${le.format(t)}`;
4329
+ }, Wt = V.extend({
4330
4330
  name: "VideoPlayer",
4331
4331
  components: {
4332
- ESpinner: Ke
4332
+ ESpinner: Je
4333
4333
  },
4334
4334
  props: {
4335
4335
  sources: {
@@ -4385,12 +4385,12 @@ const oe = new Intl.NumberFormat(void 0, {
4385
4385
  this.isError = !0, this.isLoading = !1, this.playing = !1;
4386
4386
  },
4387
4387
  bindEvents() {
4388
- ye.forEach((e) => {
4388
+ be.forEach((e) => {
4389
4389
  this.bindVideoEvent(e);
4390
4390
  });
4391
4391
  },
4392
4392
  unbindEvents() {
4393
- ye.forEach((e) => {
4393
+ be.forEach((e) => {
4394
4394
  this.unbindVideoEvent(e);
4395
4395
  });
4396
4396
  },
@@ -4499,13 +4499,13 @@ const oe = new Intl.NumberFormat(void 0, {
4499
4499
  return [parseInt(e / 60 % 60, 10), parseInt(e % 60, 10)].join(":").replace(/\b(\d)\b/g, "0$1");
4500
4500
  },
4501
4501
  closeFullscreenMode() {
4502
- document.fullscreenElement && (jt().then(() => {
4502
+ document.fullscreenElement && (Bt().then(() => {
4503
4503
  this.isFullscreen = !1, console.log("Exited fullscreen");
4504
4504
  }), this.isFullscreen = !1);
4505
4505
  },
4506
4506
  openFullscreenMode() {
4507
4507
  const e = this.$refs.videoContainer;
4508
- e && (Gt(e).then(() => {
4508
+ e && (jt(e).then(() => {
4509
4509
  this.isFullscreen = !0;
4510
4510
  }), this.isFullscreen = !0);
4511
4511
  },
@@ -4584,7 +4584,7 @@ const oe = new Intl.NumberFormat(void 0, {
4584
4584
  var Rt = function() {
4585
4585
  var t = this, r = t._self._c;
4586
4586
  return r("div", { ref: "videoContainer", staticClass: "video-container paused", attrs: { "data-volume-level": "high" } }, [r("video", t._g(t._b({ ref: "player", attrs: { controls: !1, preload: "auto" }, on: { ended: t.handleEnded, click: t.togglePlay, loadedmetadata: t.getDuration, timeupdate: t.handleTimeUpdate, loadeddata: t.handleLoading } }, "video", t.videoOptions, !1), t.videoListeners), t._l(t.sourceItems, function(n) {
4587
- return r("source", t._g({ key: n.src, attrs: { src: n.src, type: n.type }, on: { error: t.handle404Error } }, t.videoListeners));
4587
+ return r("source", { key: n.src, attrs: { src: n.src, type: n.type }, on: { error: t.handle404Error } });
4588
4588
  }), 0), t.isLoading ? r("div", { staticClass: "spinner-container" }, [r("ESpinner", { attrs: { size: "9xl", opacity: "0.6", dark: !0 } })], 1) : t._e(), t.isError ? r("div", { staticClass: "spinner-container e-gap-3" }, [r("i", { staticClass: "fa-solid fa-video-slash fa-2xl e-align-middle" }), r("span", [t._v("This video file cannot be played.")])]) : t._e(), r("div", { class: ["video-controls-container", t.withControls] }, [r("div", { staticClass: "controls" }, [r("button", { ref: "playPauseBtn", staticClass: "play-pause-btn fa-lg fa-solid", class: {
4589
4589
  "fa-play": !t.playing,
4590
4590
  "fa-pause": t.playing
@@ -4592,44 +4592,44 @@ var Rt = function() {
4592
4592
  "fa-expand": !t.isFullscreen,
4593
4593
  "fa-compress": t.isFullscreen
4594
4594
  }, on: { click: t.toggleFullscreenMode } })])])]);
4595
- }, Wt = [function() {
4595
+ }, Ut = [function() {
4596
4596
  var e = this, t = e._self._c;
4597
4597
  return t("div", { staticClass: "timeline" }, [t("div", { staticClass: "thumb-indicator" })]);
4598
- }], Ut = /* @__PURE__ */ I(
4599
- Bt,
4600
- Rt,
4598
+ }], Nt = /* @__PURE__ */ q(
4601
4599
  Wt,
4600
+ Rt,
4601
+ Ut,
4602
4602
  !1,
4603
4603
  null,
4604
- "dd8ff405",
4604
+ "99c9162d",
4605
4605
  null,
4606
4606
  null
4607
4607
  );
4608
- const Nt = Ut.exports, te = (e) => {
4608
+ const It = Nt.exports, re = (e) => {
4609
4609
  const t = u.utcFormat("%_d")(e), n = {
4610
4610
  1: "st",
4611
4611
  2: "nd",
4612
4612
  3: "rd"
4613
4613
  }[t.charAt(1)] || "th";
4614
4614
  return `${t}${n}`;
4615
- }, be = (e) => new Date(
4615
+ }, xe = (e) => new Date(
4616
4616
  Date.UTC(e.getUTCFullYear(), e.getUTCMonth(), e.getUTCDate() + 1)
4617
- ).getUTCDate() === 1 ? "" : u.utcFormat("%-d")(e), X = (e) => ["0", " 0", "00"].includes(u.utcFormat("%H")(e)) ? "" : `${u.utcFormat("%H")(e)}h`, V = (e) => {
4617
+ ).getUTCDate() === 1 ? "" : u.utcFormat("%-d")(e), X = (e) => ["0", " 0", "00"].includes(u.utcFormat("%H")(e)) ? "" : `${u.utcFormat("%H")(e)}h`, I = (e) => {
4618
4618
  const t = u.utcFormat("%H:%M")(e);
4619
4619
  return t === "00:00" ? "" : t;
4620
- }, le = (e) => u.utcFormat("%M:%S")(e), xe = (e) => `${u.utcFormat("%Hh%Mm")(e)}`, de = (e) => {
4621
- const t = V(e), r = te(e), n = u.utcFormat("%B")(e);
4620
+ }, ue = (e) => u.utcFormat("%M:%S")(e), _e = (e) => `${u.utcFormat("%Hh%Mm")(e)}`, fe = (e) => {
4621
+ const t = I(e), r = re(e), n = u.utcFormat("%B")(e);
4622
4622
  return t || `${n} ${r}`;
4623
- }, ue = (e) => {
4624
- const t = V(e), r = Number.parseInt(u.utcFormat("%H")(e)), n = te(e), a = u.utcFormat("%B")(e);
4625
- return t && r % 6 === 0 ? `${a} ${n} ${t}` : de(e);
4623
+ }, ce = (e) => {
4624
+ const t = I(e), r = Number.parseInt(u.utcFormat("%H")(e)), n = re(e), a = u.utcFormat("%B")(e);
4625
+ return t && r % 6 === 0 ? `${a} ${n} ${t}` : fe(e);
4626
4626
  }, Y = (e) => (t) => {
4627
4627
  const r = u.utcFormat("%H")(t);
4628
4628
  return !(u.utcFormat("%M")(t) === "00" && Number.parseInt(r) % e === 0);
4629
- }, ce = (e) => (t) => {
4629
+ }, de = (e) => (t) => {
4630
4630
  const r = u.utcFormat("%M")(t);
4631
4631
  return Number.parseInt(r) % e !== 0;
4632
- }, _e = (e) => (t) => {
4632
+ }, we = (e) => (t) => {
4633
4633
  const r = u.utcFormat("%M")(t), n = u.utcFormat("%S")(t);
4634
4634
  return Number.parseInt(r) % e !== 0 && Number.parseInt(n) === 0;
4635
4635
  }, S = {
@@ -4654,57 +4654,57 @@ const Nt = Ut.exports, te = (e) => {
4654
4654
  _3_months: 33,
4655
4655
  infinity: 1 / 0
4656
4656
  };
4657
- var Ce, Se, Te, Ee, $e, De, ke, Oe;
4658
- const It = {
4657
+ var Se, Te, Ee, $e, De, ke, Oe, Ae;
4658
+ const Vt = {
4659
4659
  [ee.overview]: [
4660
4660
  {
4661
4661
  precision: S._30_seconds,
4662
4662
  interval: u.utcMinute.every(2),
4663
- format: xe
4663
+ format: _e
4664
4664
  },
4665
4665
  {
4666
4666
  precision: S._1_minute,
4667
4667
  interval: u.utcMinute.every(5),
4668
- format: xe
4668
+ format: _e
4669
4669
  },
4670
4670
  {
4671
4671
  precision: S._2_minutes,
4672
4672
  interval: u.utcMinute.every(10),
4673
- format: de
4673
+ format: fe
4674
4674
  },
4675
4675
  {
4676
4676
  precision: S._5_minutes,
4677
4677
  interval: u.utcMinute.every(20),
4678
- format: ue
4678
+ format: ce
4679
4679
  },
4680
4680
  {
4681
4681
  precision: S._15_minutes,
4682
4682
  interval: u.utcHour,
4683
- format: ue
4683
+ format: ce
4684
4684
  },
4685
4685
  {
4686
4686
  precision: S._30_minutes,
4687
4687
  interval: u.utcHour.every(2),
4688
- format: ue
4688
+ format: ce
4689
4689
  },
4690
4690
  {
4691
4691
  precision: S._2_hours,
4692
4692
  interval: u.utcHour.every(6),
4693
4693
  format: (e) => {
4694
- const t = V(e), r = te(e), n = u.utcFormat("%B")(e);
4694
+ const t = I(e), r = re(e), n = u.utcFormat("%B")(e);
4695
4695
  return t || `${n} ${r}`;
4696
4696
  }
4697
4697
  },
4698
4698
  {
4699
4699
  precision: S._3_hours,
4700
4700
  interval: u.utcHour.every(12),
4701
- format: de
4701
+ format: fe
4702
4702
  },
4703
4703
  {
4704
4704
  precision: S._6_hours,
4705
4705
  interval: u.utcHour.every(24),
4706
4706
  format: (e) => {
4707
- const t = te(e);
4707
+ const t = re(e);
4708
4708
  return `${u.utcFormat("%b")(e)} ${t}`;
4709
4709
  }
4710
4710
  },
@@ -4726,42 +4726,42 @@ const It = {
4726
4726
  {
4727
4727
  precision: S._10_seconds,
4728
4728
  interval: u.utcSecond.every(10),
4729
- format: le
4729
+ format: ue
4730
4730
  },
4731
4731
  {
4732
4732
  precision: S._20_seconds,
4733
- interval: (Ce = u.utcSecond.every(20)) == null ? void 0 : Ce.filter(_e(2)),
4734
- format: le
4733
+ interval: (Se = u.utcSecond.every(20)) == null ? void 0 : Se.filter(we(2)),
4734
+ format: ue
4735
4735
  },
4736
4736
  {
4737
4737
  precision: S._30_seconds,
4738
- interval: (Se = u.utcSecond.every(30)) == null ? void 0 : Se.filter(_e(2)),
4739
- format: le
4738
+ interval: (Te = u.utcSecond.every(30)) == null ? void 0 : Te.filter(we(2)),
4739
+ format: ue
4740
4740
  },
4741
4741
  {
4742
4742
  precision: S._1_minute,
4743
- interval: u.utcMinute.filter(ce(5)),
4744
- format: V
4743
+ interval: u.utcMinute.filter(de(5)),
4744
+ format: I
4745
4745
  },
4746
4746
  {
4747
4747
  precision: S._2_minutes,
4748
- interval: (Te = u.utcMinute.every(2)) == null ? void 0 : Te.filter(ce(10)),
4749
- format: V
4748
+ interval: (Ee = u.utcMinute.every(2)) == null ? void 0 : Ee.filter(de(10)),
4749
+ format: I
4750
4750
  },
4751
4751
  {
4752
4752
  precision: S._5_minutes,
4753
- interval: (Ee = u.utcMinute.every(5)) == null ? void 0 : Ee.filter(ce(20)),
4754
- format: V
4753
+ interval: ($e = u.utcMinute.every(5)) == null ? void 0 : $e.filter(de(20)),
4754
+ format: I
4755
4755
  },
4756
4756
  {
4757
4757
  precision: S._15_minutes,
4758
- interval: ($e = u.utcMinute.every(15)) == null ? void 0 : $e.filter(Y(1)),
4759
- format: V
4758
+ interval: (De = u.utcMinute.every(15)) == null ? void 0 : De.filter(Y(1)),
4759
+ format: I
4760
4760
  },
4761
4761
  {
4762
4762
  precision: S._30_minutes,
4763
- interval: (De = u.utcMinute.every(30)) == null ? void 0 : De.filter(Y(2)),
4764
- format: V
4763
+ interval: (ke = u.utcMinute.every(30)) == null ? void 0 : ke.filter(Y(2)),
4764
+ format: I
4765
4765
  },
4766
4766
  {
4767
4767
  precision: S._1_hour,
@@ -4770,12 +4770,12 @@ const It = {
4770
4770
  },
4771
4771
  {
4772
4772
  precision: S._2_hours,
4773
- interval: (ke = u.utcHour.every(2)) == null ? void 0 : ke.filter(Y(6)),
4773
+ interval: (Oe = u.utcHour.every(2)) == null ? void 0 : Oe.filter(Y(6)),
4774
4774
  format: X
4775
4775
  },
4776
4776
  {
4777
4777
  precision: S._3_hours,
4778
- interval: (Oe = u.utcHour.every(3)) == null ? void 0 : Oe.filter(Y(12)),
4778
+ interval: (Ae = u.utcHour.every(3)) == null ? void 0 : Ae.filter(Y(12)),
4779
4779
  format: X
4780
4780
  },
4781
4781
  {
@@ -4791,12 +4791,12 @@ const It = {
4791
4791
  {
4792
4792
  precision: S._1_day,
4793
4793
  interval: u.utcDay,
4794
- format: be
4794
+ format: xe
4795
4795
  },
4796
4796
  {
4797
4797
  precision: S._2_days,
4798
4798
  interval: u.utcDay.every(2),
4799
- format: be
4799
+ format: xe
4800
4800
  },
4801
4801
  {
4802
4802
  precision: S._1_month,
@@ -4947,7 +4947,7 @@ const It = {
4947
4947
  format: ""
4948
4948
  }
4949
4949
  ]
4950
- }, Qe = {
4950
+ }, et = {
4951
4951
  bind(e, t) {
4952
4952
  const { value: r } = t;
4953
4953
  if (typeof r != "function") {
@@ -4964,16 +4964,15 @@ const It = {
4964
4964
  unbind(e) {
4965
4965
  e.__resizeObserver__ && (e.__resizeObserver__.disconnect(), delete e.__resizeObserver__);
4966
4966
  }
4967
- }, Vt = [
4967
+ }, qt = [
4968
4968
  {
4969
4969
  name: "resize-observer",
4970
- definition: Qe
4970
+ definition: et
4971
4971
  }
4972
- ], _ = {
4972
+ ], w = {
4973
4973
  eventGroup: "event-group",
4974
4974
  eventGroupBg: "event-group-bg",
4975
4975
  eventRect: "event-rect",
4976
- eventRectText: "event-rect-text",
4977
4976
  labelBg: "label-bg",
4978
4977
  labelBgFill: "label-bg-fill",
4979
4978
  labelText: "label-text",
@@ -4988,10 +4987,10 @@ const It = {
4988
4987
  }, Q = {
4989
4988
  areaGradient: "area-gradient",
4990
4989
  loadingGradient: "loading-gradient"
4991
- }, qt = q.extend({
4990
+ }, Xt = V.extend({
4992
4991
  name: "ETimeline",
4993
4992
  directives: {
4994
- resizeObserver: Qe
4993
+ resizeObserver: et
4995
4994
  },
4996
4995
  props: {
4997
4996
  eventsGroups: {
@@ -5000,7 +4999,7 @@ const It = {
5000
4999
  },
5001
5000
  xAxesConfig: {
5002
5001
  type: Object,
5003
- default: () => It
5002
+ default: () => Vt
5004
5003
  },
5005
5004
  dark: {
5006
5005
  type: Boolean,
@@ -5046,14 +5045,10 @@ const It = {
5046
5045
  type: Number,
5047
5046
  default: 1
5048
5047
  },
5049
- barHeight: {
5048
+ barChartHeight: {
5050
5049
  type: Number,
5051
5050
  default: 18
5052
5051
  },
5053
- barYPadding: {
5054
- type: Number,
5055
- default: 0
5056
- },
5057
5052
  lineGraphMinHeight: {
5058
5053
  type: Number,
5059
5054
  default: 60
@@ -5086,6 +5081,7 @@ const It = {
5086
5081
  zoomBehavior: null,
5087
5082
  isMouseDown: !1,
5088
5083
  axisHeight: 22,
5084
+ eventGroupPadding: 0,
5089
5085
  isHoveringEvent: !1,
5090
5086
  hoveredEvent: null,
5091
5087
  isHoveringTimeline: !1,
@@ -5105,15 +5101,10 @@ const It = {
5105
5101
  leftCurtainWidth: 50,
5106
5102
  rightCurtainWidth: 50,
5107
5103
  isHoveringCurtain: !1,
5108
- isDraggingCurtain: !1,
5109
- characterWidth: 7.5,
5110
- textPadding: 5
5104
+ isDraggingCurtain: !1
5111
5105
  };
5112
5106
  },
5113
5107
  computed: {
5114
- barChartHeight() {
5115
- return this.barHeight + this.barYPadding;
5116
- },
5117
5108
  classes() {
5118
5109
  return {
5119
5110
  wrapper: {
@@ -5128,7 +5119,7 @@ const It = {
5128
5119
  },
5129
5120
  lineGraphGroups() {
5130
5121
  return Object.entries(this.filteredEventsGroups).reduce(
5131
- (e, [t, r]) => r.chartType === "lineGraph" ? { ...e, [t]: r } : e,
5122
+ (e, [t, r]) => r.chartType === te.lineGraph ? { ...e, [t]: r } : e,
5132
5123
  {}
5133
5124
  );
5134
5125
  },
@@ -5140,7 +5131,7 @@ const It = {
5140
5131
  },
5141
5132
  barGroups() {
5142
5133
  return Object.entries(this.filteredEventsGroups).reduce(
5143
- (e, [t, r]) => r.chartType !== "lineGraph" ? { ...e, [t]: r } : e,
5134
+ (e, [t, r]) => r.chartType !== te.lineGraph ? { ...e, [t]: r } : e,
5144
5135
  {}
5145
5136
  );
5146
5137
  },
@@ -5153,15 +5144,15 @@ const It = {
5153
5144
  ).reduce((r, n) => {
5154
5145
  var a;
5155
5146
  return Math.max(r, (a = n.label) == null ? void 0 : a.length);
5156
- }, 0) * this.characterWidth + 2 * this.textPadding;
5147
+ }, 0) * 7.5 + 5;
5157
5148
  },
5158
5149
  combinedXAxesHeight() {
5159
5150
  const e = Object.keys(this.xAxesConfig).length - 1;
5160
5151
  return this.axisHeight * e;
5161
5152
  },
5162
5153
  timelineHeight() {
5163
- const e = Object.keys(this.barGroups).length, t = this.hasLineGraphChart ? this.lineGraphChartHeight : 0, r = this.barChartHeight * e;
5164
- return this.combinedXAxesHeight + t + r;
5154
+ const e = Object.keys(this.barGroups).length, t = this.hasLineGraphChart ? this.lineGraphChartHeight : 0, r = this.eventGroupPadding * (e - 1), n = this.barChartHeight * e;
5155
+ return this.combinedXAxesHeight + t + n + r;
5165
5156
  },
5166
5157
  filteredEventsGroups() {
5167
5158
  const e = Object.entries(this.eventsGroups).filter(
@@ -5268,7 +5259,7 @@ const It = {
5268
5259
  Object.entries(this.filteredEventsGroups).forEach(
5269
5260
  ([t, r]) => {
5270
5261
  const { color: n, chartType: a } = r, o = e.append("linearGradient").attr("id", `${Q.loadingGradient}-${t}`).attr("x1", "0%").attr("y1", "0%").attr("x2", "100%").attr("y2", "0%");
5271
- if (o.append("stop").attr("offset", "0%").attr("stop-color", n).attr("stop-opacity", "0"), o.append("stop").attr("offset", "50%").attr("stop-color", n).attr("stop-opacity", "0.6"), o.append("stop").attr("offset", "100%").attr("stop-color", n).attr("stop-opacity", "0"), a === "lineGraph") {
5262
+ if (o.append("stop").attr("offset", "0%").attr("stop-color", n).attr("stop-opacity", "0"), o.append("stop").attr("offset", "50%").attr("stop-color", n).attr("stop-opacity", "0.6"), o.append("stop").attr("offset", "100%").attr("stop-color", n).attr("stop-opacity", "0"), a === te.lineGraph) {
5272
5263
  const i = e.append("linearGradient").attr("id", `${Q.areaGradient}-${t}`).attr("x1", "0%").attr("x2", "0%").attr("y1", "0%").attr("y2", "100%");
5273
5264
  i.append("stop").attr("offset", "0%").style("stop-color", n).style("stop-opacity", 0.3), i.append("stop").attr("offset", "38%").style("stop-color", n).style("stop-opacity", 0);
5274
5265
  }
@@ -5288,7 +5279,7 @@ const It = {
5288
5279
  const t = 5;
5289
5280
  for (const r in this.xAxesConfig) {
5290
5281
  const n = this.createAxis(r);
5291
- this.xAxes[r] = n, this.svg.append("g").classed(_.xAxis, !0).classed(`${_.xAxis}-${r}`, !0).attr("transform", `translate(0, ${e || t})`).call(n), this.translateTicksText(r), e += this.axisHeight;
5282
+ this.xAxes[r] = n, this.svg.append("g").classed(w.xAxis, !0).classed(`${w.xAxis}-${r}`, !0).attr("transform", `translate(0, ${e || t})`).call(n), this.translateTicksText(r), e += this.axisHeight;
5292
5283
  }
5293
5284
  },
5294
5285
  initYScale() {
@@ -5300,7 +5291,7 @@ const It = {
5300
5291
  this.disableZoom || (this.zoomBehavior = u.zoom().on("zoom", this.handleZoom).scaleExtent([this.minZoom, this.maxZoom]), this.svg.call(this.zoomBehavior));
5301
5292
  },
5302
5293
  initSelectedTimestampCursor() {
5303
- this.svg.append("line").attr("class", _.selectedTimestampCursor).style("stroke", "red").style("stroke-width", "1px").style("opacity", 0).attr("x1", 0).attr("x2", 0).attr("y1", 0).attr("y2", this.timelineHeight), this.repositionSelectedTimestampCursor();
5294
+ this.svg.append("line").attr("class", w.selectedTimestampCursor).style("stroke", "red").style("stroke-width", "1px").style("opacity", 0).attr("x1", 0).attr("x2", 0).attr("y1", 0).attr("y2", this.timelineHeight), this.repositionSelectedTimestampCursor();
5304
5295
  },
5305
5296
  updateAndRedrawTimeline() {
5306
5297
  const { startDate: e, endDate: t } = this.getCurrentTimeBounds();
@@ -5310,7 +5301,7 @@ const It = {
5310
5301
  this.svg && this.svg.remove(), this.countsByTimestamp = {};
5311
5302
  },
5312
5303
  repositionSelectedTimestampCursor() {
5313
- const e = this.svg.select(`.${_.selectedTimestampCursor}`);
5304
+ const e = this.svg.select(`.${w.selectedTimestampCursor}`);
5314
5305
  if (!this.selectedTimestamp) {
5315
5306
  e.style("opacity", 0);
5316
5307
  return;
@@ -5357,12 +5348,12 @@ const It = {
5357
5348
  if (!this.showLabels)
5358
5349
  return;
5359
5350
  const e = this;
5360
- this.svg.selectAll(`.${_.labelBg}`).each(function() {
5351
+ this.svg.selectAll(`.${w.labelBg}`).each(function() {
5361
5352
  u.select(this).style("fill", e.dark ? "black" : "white");
5362
- }), this.svg.selectAll(`.${_.labelBgFill}`).each(function() {
5353
+ }), this.svg.selectAll(`.${w.labelBgFill}`).each(function() {
5363
5354
  const t = u.select(this), r = t.node().dataset.color;
5364
5355
  t.style("fill", e.getLabelBackgroundColor(r)).style("stroke", e.getTextFillColor(r)).style("stroke-width", 0.25);
5365
- }), this.svg.selectAll(`.${_.labelText}`).each(function() {
5356
+ }), this.svg.selectAll(`.${w.labelText}`).each(function() {
5366
5357
  const t = u.select(this), r = t.node().dataset.color;
5367
5358
  t.style("fill", e.getTextFillColor(r));
5368
5359
  });
@@ -5382,8 +5373,7 @@ const It = {
5382
5373
  const t = e.offsetX, r = this.timeScale.invert(t);
5383
5374
  this.hoveredTimestamp = this.dateToTzString(r), this.isHoveringTimeline = !0, this.$emit("hovered-timestamp", this.hoveredTimestamp), this.cursor.style.left = t + "px", this.tooltip && (this.eventTooltipStyle = {
5384
5375
  left: `${t}px`,
5385
- bottom: `${this.timeline.getBoundingClientRect().height}px`,
5386
- zIndex: 100
5376
+ bottom: `${this.timeline.getBoundingClientRect().height}px`
5387
5377
  }, this.repositionSelectedTimestampCursor());
5388
5378
  },
5389
5379
  handleClick(e) {
@@ -5415,20 +5405,20 @@ const It = {
5415
5405
  this.isHoveringEvent = !1, this.hoveredEvent = null, this.$emit("event-mouseout");
5416
5406
  },
5417
5407
  handleLabelMouseOver(e) {
5418
- u.selectAll(`.${_.lineGraphGroup}-${e}`).classed(
5419
- `${_.lineGraphGroup}--highlighted`,
5408
+ u.selectAll(`.${w.lineGraphGroup}-${e}`).classed(
5409
+ `${w.lineGraphGroup}--highlighted`,
5420
5410
  !0
5421
- ), u.selectAll(`.${_.lineGraphGroup}-label`).classed(
5422
- `${_.lineGraphGroup}-label--highlighted`,
5411
+ ), u.selectAll(`.${w.lineGraphGroup}-label`).classed(
5412
+ `${w.lineGraphGroup}-label--highlighted`,
5423
5413
  !0
5424
5414
  );
5425
5415
  },
5426
5416
  handleLabelMouseLeave(e) {
5427
- u.selectAll(`.${_.lineGraphGroup}-${e}`).classed(
5428
- `${_.lineGraphGroup}--highlighted`,
5417
+ u.selectAll(`.${w.lineGraphGroup}-${e}`).classed(
5418
+ `${w.lineGraphGroup}--highlighted`,
5429
5419
  !1
5430
- ), u.selectAll(`.${_.lineGraphGroup}-label`).classed(
5431
- `${_.lineGraphGroup}-label--highlighted`,
5420
+ ), u.selectAll(`.${w.lineGraphGroup}-label`).classed(
5421
+ `${w.lineGraphGroup}-label--highlighted`,
5432
5422
  !1
5433
5423
  );
5434
5424
  },
@@ -5457,7 +5447,7 @@ const It = {
5457
5447
  },
5458
5448
  updateCurtainsOnResize(e) {
5459
5449
  const { startDate: t, endDate: r } = this.calculateDateRangeFromCurtains(), n = this.timeScale.domain(), a = n[1].getTime() - n[0].getTime(), o = t.getTime() - n[0].getTime(), i = n[1].getTime() - r.getTime();
5460
- this.leftCurtainWidth = o / a * e, this.rightCurtainWidth = i / a * e, this.svg.select(`.${_.curtain}--left`).attr("width", this.leftCurtainWidth), this.svg.select(`.${_.curtain}--right`).attr(
5450
+ this.leftCurtainWidth = o / a * e, this.rightCurtainWidth = i / a * e, this.svg.select(`.${w.curtain}--left`).attr("width", this.leftCurtainWidth), this.svg.select(`.${w.curtain}--right`).attr(
5461
5451
  "x",
5462
5452
  e - this.rightCurtainWidth + this.curtainHandleWidth * 2
5463
5453
  ).attr("width", this.rightCurtainWidth);
@@ -5474,7 +5464,7 @@ const It = {
5474
5464
  e.x,
5475
5465
  this.timeline.offsetWidth - this.rightCurtainWidth
5476
5466
  );
5477
- this.leftCurtainWidth = Math.max(0, t), this.svg.select(`.${_.curtain}--left`).attr("width", this.leftCurtainWidth), this.emitCurtainChange();
5467
+ this.leftCurtainWidth = Math.max(0, t), this.svg.select(`.${w.curtain}--left`).attr("width", this.leftCurtainWidth), this.emitCurtainChange();
5478
5468
  },
5479
5469
  handleRightDrag(e) {
5480
5470
  e.sourceEvent.stopPropagation();
@@ -5482,7 +5472,7 @@ const It = {
5482
5472
  this.timeline.offsetWidth - e.x,
5483
5473
  this.timeline.offsetWidth - this.leftCurtainWidth
5484
5474
  ), n = t - r;
5485
- this.rightCurtainWidth = Math.max(0, r), this.svg.select(`.${_.curtain}--right`).attr("width", this.rightCurtainWidth).attr("x", n), this.emitCurtainChange();
5475
+ this.rightCurtainWidth = Math.max(0, r), this.svg.select(`.${w.curtain}--right`).attr("width", this.rightCurtainWidth).attr("x", n), this.emitCurtainChange();
5486
5476
  },
5487
5477
  zoomToStartAndEndDates() {
5488
5478
  const e = this.startDate || this.oldestEvent.timestamp || this.oldestEvent.startDate, t = this.endDate || this.latestEvent.timestamp || this.latestEvent.endDate, r = this.tzStringToDate(e), n = this.tzStringToDate(t), a = this.timeline.offsetWidth, o = [r, n], i = [0, a];
@@ -5495,25 +5485,23 @@ const It = {
5495
5485
  const r = this.xAxes[e], n = this.getAxisTicksConfig(
5496
5486
  this.xAxesConfig[e]
5497
5487
  );
5498
- r.scale(t).ticks(n.interval).tickFormat(n.formatFn).tickSizeOuter(0), this.svg.select(`.${_.xAxis}-${e}`).call(r);
5488
+ r.scale(t).ticks(n.interval).tickFormat(n.formatFn).tickSizeOuter(0), this.svg.select(`.${w.xAxis}-${e}`).call(r);
5499
5489
  },
5500
5490
  translateTicksText(e) {
5501
- this.svg.select(`.${_.xAxis}-${e}`).selectAll(".tick text").each(function() {
5491
+ this.svg.select(`.${w.xAxis}-${e}`).selectAll(".tick text").each(function() {
5502
5492
  let t = u.select(this), r = t.node().getBBox();
5503
5493
  t.attr("x", r.height / 2).attr("y", 0).style("text-anchor", "start");
5504
5494
  });
5505
5495
  },
5506
5496
  updateBarCharts() {
5507
- const e = `.${_.eventGroup} > rect.${_.eventRect}`;
5508
- this.svg.selectAll(e).attr("x", this.getEventRectX).attr("width", this.getEventRectWidth);
5509
- const t = `.${_.eventGroup} > text.${_.eventRectText}`;
5510
- this.svg.selectAll(t).attr("x", (r) => this.getEventRectX(r) + this.textPadding).text(this.getEventText);
5497
+ const e = `.${w.eventGroup} > rect.${w.eventRect}`;
5498
+ this.svg.selectAll(e).attr("x", this.getEventRectX).attr("width", this.getEventRectWidth).attr("height", this.barChartHeight);
5511
5499
  },
5512
5500
  updateLineGraphs() {
5513
5501
  Object.entries(this.lineGraphGroups).forEach(([e]) => {
5514
5502
  const t = u.area().x((r) => this.timeScale(this.tzStringToDate(r.timestamp))).y0(this.timelineHeight).y1((r) => this.yScale(r.count)).curve(u.curveMonotoneX);
5515
5503
  this.svg.selectAll(
5516
- `.${_.lineGraphPath}-${e}`
5504
+ `.${w.lineGraphPath}-${e}`
5517
5505
  ).attr("d", (r) => t(r));
5518
5506
  });
5519
5507
  },
@@ -5521,11 +5509,11 @@ const It = {
5521
5509
  Object.keys(this.lineGraphGroups).forEach((e) => {
5522
5510
  const t = this;
5523
5511
  this.svg.selectAll(
5524
- `.${_.lineGraphDot}-${e}`
5512
+ `.${w.lineGraphDot}-${e}`
5525
5513
  ).each(function(r) {
5526
5514
  u.select(this).attr("cx", t.timeScale(t.tzStringToDate(r.timestamp))).attr("cy", t.yScale(r.count));
5527
5515
  }), this.svg.selectAll(
5528
- `.${_.lineGraphHoverZone}-${e}`
5516
+ `.${w.lineGraphHoverZone}-${e}`
5529
5517
  ).each(function(r) {
5530
5518
  const n = t.timeScale(t.tzStringToDate(r.timestamp).getTime()) - 15;
5531
5519
  u.select(this).attr("x", n).attr("y", 0).attr("width", 30).attr("height", t.lineGraphChartHeight);
@@ -5546,18 +5534,13 @@ const It = {
5546
5534
  return Math.max(t, this.rectMinWidth);
5547
5535
  }
5548
5536
  },
5549
- getEventText(e) {
5550
- var n;
5551
- const r = (this.getEventRectWidth(e) - this.textPadding) / this.characterWidth;
5552
- return r < 4 ? "" : ((n = e.text) == null ? void 0 : n.length) <= r ? e.text : `${e.text.slice(0, r - 3)}...`;
5553
- },
5554
5537
  initCurtains() {
5555
5538
  if (!this.curtains)
5556
5539
  return;
5557
5540
  const e = this.timeline.offsetWidth, t = this.timelineHeight;
5558
- this.svg.append("rect").classed(`${_.curtain} ${_.curtain}--left`, !0).attr("width", this.leftCurtainWidth).attr("height", t + this.curtainHandleWidth * 2).attr("y", -this.curtainHandleWidth).attr("x", -this.curtainHandleWidth).attr("fill", "rgba(0, 0, 0, 0.5)").on("mouseenter", () => this.isHoveringCurtain = !0).on("mouseleave", () => this.isHoveringCurtain = !1).call(
5541
+ this.svg.append("rect").classed(`${w.curtain} ${w.curtain}--left`, !0).attr("width", this.leftCurtainWidth).attr("height", t + this.curtainHandleWidth * 2).attr("y", -this.curtainHandleWidth).attr("x", -this.curtainHandleWidth).attr("fill", "rgba(0, 0, 0, 0.5)").on("mouseenter", () => this.isHoveringCurtain = !0).on("mouseleave", () => this.isHoveringCurtain = !1).call(
5559
5542
  u.drag().on("start", this.handleDragStart).on("drag", this.handleLeftDrag).on("end", this.handleDragEnd)
5560
- ), this.svg.append("rect").classed(`${_.curtain} ${_.curtain}--right`, !0).attr(
5543
+ ), this.svg.append("rect").classed(`${w.curtain} ${w.curtain}--right`, !0).attr(
5561
5544
  "x",
5562
5545
  e - this.rightCurtainWidth + this.curtainHandleWidth * 2
5563
5546
  ).attr("y", -this.curtainHandleWidth).attr("width", this.rightCurtainWidth + this.curtainHandleWidth * 2).attr("height", t + this.curtainHandleWidth * 2).attr("fill", "rgba(0, 0, 0, 0.5)").on("mouseenter", () => this.isHoveringCurtain = !0).on("mouseleave", () => this.isHoveringCurtain = !1).call(
@@ -5565,13 +5548,13 @@ const It = {
5565
5548
  );
5566
5549
  },
5567
5550
  drawEventsGroups() {
5568
- this.svg.selectAll(`g.${_.eventGroup}`).remove(), this.drawLineGraphEventsGroups(), this.drawBarEventsGroups();
5551
+ this.svg.selectAll(`g.${w.eventGroup}`).remove(), this.drawLineGraphEventsGroups(), this.drawBarEventsGroups();
5569
5552
  },
5570
5553
  drawLineGraphEventsGroups() {
5571
5554
  const e = this.combinedXAxesHeight, t = this.normalizeEvents ? this.normalizedLineGraphGroups : this.lineGraphGroups;
5572
5555
  Object.entries(t).forEach(([r, n]) => {
5573
5556
  const a = this.svg.append("g").classed(
5574
- `${_.lineGraphGroup} ${_.lineGraphGroup}-${r}`,
5557
+ `${w.lineGraphGroup} ${w.lineGraphGroup}-${r}`,
5575
5558
  !0
5576
5559
  ).attr("transform", `translate(0,${e})`), { color: o, events: i } = n;
5577
5560
  this.drawLineGraph({
@@ -5587,7 +5570,7 @@ const It = {
5587
5570
  });
5588
5571
  }), Object.entries(this.lineGraphGroups).forEach(
5589
5572
  ([r, n], a) => {
5590
- const { color: o, isLoading: i, label: c } = n, l = this.lineGraphChartHeight - this.barChartHeight * (a + 1), s = e + this.lineGraphChartHeight - this.barChartHeight, d = this.svg.append("g").classed(`${_.lineGraphGroup}-label`, !0).attr("transform", `translate(0,${e})`).on("mouseover", () => this.handleLabelMouseOver(r)).on("mouseleave", () => this.handleLabelMouseLeave(r));
5573
+ const { color: o, isLoading: i, label: c } = n, l = this.lineGraphChartHeight - this.barChartHeight * (a + 1), s = e + this.lineGraphChartHeight - this.barChartHeight, d = this.svg.append("g").classed(`${w.lineGraphGroup}-label`, !0).attr("transform", `translate(0,${e})`).on("mouseover", () => this.handleLabelMouseOver(r)).on("mouseleave", () => this.handleLabelMouseLeave(r));
5591
5574
  this.drawProgressIndicator({
5592
5575
  type: r,
5593
5576
  color: o,
@@ -5609,7 +5592,7 @@ const It = {
5609
5592
  type: n
5610
5593
  }) {
5611
5594
  const a = u.area().x((o) => this.timeScale(this.tzStringToDate(o.timestamp))).y0(this.timelineHeight).y1((o) => this.yScale(o.count)).curve(u.curveMonotoneX);
5612
- t.append("path").datum(e).classed(`${_.lineGraphPath}-${n}`, !0).attr("fill", `url(#${Q.areaGradient}-${n})`).attr("stroke", r).attr("stroke-linejoin", "round").attr("stroke-linecap", "round").attr("stroke-width", 1).attr("d", (o) => a(o));
5595
+ t.append("path").datum(e).classed(`${w.lineGraphPath}-${n}`, !0).attr("fill", `url(#${Q.areaGradient}-${n})`).attr("stroke", r).attr("stroke-linejoin", "round").attr("stroke-linecap", "round").attr("stroke-width", 1).attr("d", (o) => a(o));
5613
5596
  },
5614
5597
  drawLineGraphHoverZones({
5615
5598
  events: e,
@@ -5624,46 +5607,46 @@ const It = {
5624
5607
  [n]: a.count
5625
5608
  };
5626
5609
  const i = t.append("circle").classed(
5627
- `${_.lineGraphDot} ${_.lineGraphDot}-${n}`,
5610
+ `${w.lineGraphDot} ${w.lineGraphDot}-${n}`,
5628
5611
  !0
5629
5612
  ).attr("cx", this.timeScale(this.tzStringToDate(a.timestamp))).attr("cy", this.yScale(a.count)).attr("r", 1.5).attr("fill", r).attr("stroke-width", 0).datum(a);
5630
5613
  this.dotsByTimestamp[o] = [
5631
5614
  ...this.dotsByTimestamp[o] || [],
5632
5615
  i
5633
- ], t.append("rect").classed(`${_.lineGraphHoverZone}-${n}`, !0).attr("x", this.timeScale(this.tzStringToDate(a.timestamp)) - 15).attr("y", 0).attr("width", 30).attr("height", this.lineGraphChartHeight).attr("fill", "transparent").datum(a).on("mouseover", (c) => {
5616
+ ], t.append("rect").classed(`${w.lineGraphHoverZone}-${n}`, !0).attr("x", this.timeScale(this.tzStringToDate(a.timestamp)) - 15).attr("y", 0).attr("width", 30).attr("height", this.lineGraphChartHeight).attr("fill", "transparent").datum(a).on("mouseover", (c) => {
5634
5617
  this.handleLineMouseOver(c, a, n), this.dotsByTimestamp[o].forEach(
5635
- (l) => l.classed(`${_.lineGraphDot}--active`, !0)
5618
+ (l) => l.classed(`${w.lineGraphDot}--active`, !0)
5636
5619
  );
5637
5620
  }).on("mouseout", () => {
5638
5621
  this.handleLineMouseOut(), this.dotsByTimestamp[o].forEach(
5639
- (c) => c.classed(`${_.lineGraphDot}--active`, !1)
5622
+ (c) => c.classed(`${w.lineGraphDot}--active`, !1)
5640
5623
  );
5641
5624
  });
5642
5625
  });
5643
5626
  },
5644
5627
  drawBarEventsGroups() {
5645
5628
  Object.entries(this.barGroups).forEach(([e, t], r) => {
5646
- const { color: n, bgColor: a, label: o, events: i, isLoading: c } = t, l = this.hasLineGraphChart ? this.lineGraphChartHeight : 0, s = r * this.barChartHeight + this.combinedXAxesHeight + l;
5629
+ const { color: n, label: a, events: o, isLoading: i } = t, c = r === 0 ? 0 : this.eventGroupPadding, l = this.hasLineGraphChart ? this.lineGraphChartHeight : 0, s = r * (this.barChartHeight + c) + this.combinedXAxesHeight + l;
5647
5630
  this.drawProgressIndicator({
5648
5631
  yPosition: s,
5649
5632
  type: e,
5650
5633
  color: n,
5651
- isLoading: c
5634
+ isLoading: i
5652
5635
  });
5653
- const d = this.svg.append("g").attr("data-color", n).classed(_.eventGroup, !0).classed(`${_.eventGroup}-${e}`, !0);
5636
+ const d = this.svg.append("g").attr("data-color", n).classed(w.eventGroup, !0).classed(`${w.eventGroup}-${e}`, !0);
5654
5637
  this.drawBackground({
5655
- color: a || n,
5638
+ color: n,
5656
5639
  gElement: d,
5657
5640
  yPosition: s
5658
5641
  }), this.drawBars({
5659
- events: i,
5642
+ events: o,
5660
5643
  color: n,
5661
5644
  gElement: d,
5662
5645
  yPosition: s,
5663
5646
  type: e
5664
5647
  }), this.drawTextLabel({
5665
5648
  color: n,
5666
- label: o,
5649
+ label: a,
5667
5650
  gElement: d,
5668
5651
  yPosition: s
5669
5652
  });
@@ -5675,7 +5658,7 @@ const It = {
5675
5658
  isLoading: r
5676
5659
  }) {
5677
5660
  this.svg.append("rect").classed(
5678
- `${_.loadingIndicator} ${_.loadingIndicator}-${t}`,
5661
+ `${w.loadingIndicator} ${w.loadingIndicator}-${t}`,
5679
5662
  !0
5680
5663
  ).attr("x", 0).attr("y", e).attr("width", this.timeline.offsetWidth / 3).attr("height", this.barChartHeight).attr("fill", `url(#${Q.loadingGradient}-${t})`).style("visibility", r ? "visible" : "hidden");
5681
5664
  },
@@ -5684,7 +5667,7 @@ const It = {
5684
5667
  yPosition: t,
5685
5668
  gElement: r
5686
5669
  }) {
5687
- r.append("rect").attr("class", _.eventGroupBg).attr("x", 0).attr("y", t).attr("width", this.timeline.offsetWidth).attr("height", this.barChartHeight).attr("fill", u.color(e).toString()).style("opacity", 0.1);
5670
+ r.append("rect").attr("class", w.eventGroupBg).attr("x", 0).attr("y", t).attr("width", this.timeline.offsetWidth).attr("height", this.barChartHeight).attr("fill", u.color(e).toString()).style("opacity", 0.1);
5688
5671
  },
5689
5672
  drawBars({
5690
5673
  events: e,
@@ -5694,14 +5677,11 @@ const It = {
5694
5677
  type: a
5695
5678
  }) {
5696
5679
  const o = this;
5697
- t.selectAll(_.eventRect).data(e).enter().append("rect").classed(_.eventRect, !0).attr("x", this.getEventRectX).attr("y", r + this.barYPadding / 2).attr("ry", 1.5).attr("rx", 1.5).attr("width", this.getEventRectWidth).attr("height", this.barChartHeight - this.barYPadding).attr("stroke-width", 5).attr("cursor", "pointer").attr("stroke", "#0000").style("fill", (i) => i.color || n).on("mouseover", function(i, c) {
5698
- u.select(this).classed(`${_.eventRect}--hovered`, !0), o.handleBarMouseOver(i, c, a);
5680
+ t.selectAll(w.eventRect).data(e).enter().append("rect").classed(w.eventRect, !0).attr("x", this.getEventRectX).attr("y", r).attr("ry", 1.5).attr("rx", 1.5).attr("width", this.getEventRectWidth).attr("height", this.barChartHeight).attr("stroke-width", 5).attr("cursor", "pointer").attr("stroke", "#0000").style("fill", n).on("mouseover", function(i, c) {
5681
+ u.select(this).classed(`${w.eventRect}--hovered`, !0), o.handleBarMouseOver(i, c, a);
5699
5682
  }).on("mouseout", function() {
5700
- u.select(this).classed(`${_.eventRect}--hovered`, !1), o.handleBarMouseOut();
5701
- }), t.selectAll(_.eventRectText).data(e.filter((i) => !!i.text)).enter().append("text").attr("class", _.eventRectText).attr("x", (i) => this.getEventRectX(i) + this.textPadding).attr("y", r + this.barChartHeight / 2).attr("dy", "0.35em").style("text-anchor", "start").style("font-size", "12px").style("font-weight", 600).style("stroke-linejoin", "round").style("paint-order", "stroke").style("pointer-events", "none").style(
5702
- "fill",
5703
- (i) => this.getTextFillColor(i.color || n, 0.75)
5704
- ).text(this.getEventText);
5683
+ u.select(this).classed(`${w.eventRect}--hovered`, !1), o.handleBarMouseOut();
5684
+ });
5705
5685
  },
5706
5686
  drawTextLabel({
5707
5687
  gElement: e,
@@ -5714,15 +5694,15 @@ const It = {
5714
5694
  const a = {
5715
5695
  x: -5,
5716
5696
  y: t,
5717
- w: this.labelRectWidth,
5697
+ w: this.labelRectWidth + 5,
5718
5698
  h: this.barChartHeight,
5719
5699
  radius: 3
5720
5700
  };
5721
- e.append("rect").attr("class", _.labelBg).attr("data-color", r).attr("x", a.x).attr("y", a.y).attr("width", a.w).attr("height", a.h).attr("rx", a.radius).attr("ry", a.radius).style("fill", this.dark ? "#131a29" : "white"), e.append("rect").attr("class", _.labelBgFill).attr("data-color", r).attr("x", a.x).attr("y", a.y).attr("width", a.w).attr("height", a.h).attr("rx", a.radius).attr("ry", a.radius).style("fill", this.getLabelBackgroundColor(r)).style("stroke", this.getTextFillColor(r)).style("stroke-width", 0.25), e.append("text").attr("class", _.labelText).attr("data-color", r).attr("x", 5).attr("y", t + this.barChartHeight / 2).attr("dy", "0.35em").style("text-anchor", "start").style("font-size", "12px").style("font-weight", 500).style("stroke-linejoin", "round").style("paint-order", "stroke").style("fill", this.getTextFillColor(r)).text(n);
5701
+ e.append("rect").attr("class", w.labelBg).attr("data-color", r).attr("x", a.x).attr("y", a.y).attr("width", a.w).attr("height", a.h).attr("rx", a.radius).attr("ry", a.radius).style("fill", this.dark ? "#131a29" : "white"), e.append("rect").attr("class", w.labelBgFill).attr("data-color", r).attr("x", a.x).attr("y", a.y).attr("width", a.w).attr("height", a.h).attr("rx", a.radius).attr("ry", a.radius).style("fill", this.getLabelBackgroundColor(r)).style("stroke", this.getTextFillColor(r)).style("stroke-width", 0.25), e.append("text").attr("class", w.labelText).attr("data-color", r).attr("x", 5).attr("y", t + this.barChartHeight / 2).attr("dy", "0.35em").style("text-anchor", "start").style("font-size", "12px").style("font-weight", 500).style("stroke-linejoin", "round").style("paint-order", "stroke").style("fill", this.getTextFillColor(r)).text(n);
5722
5702
  },
5723
- getTextFillColor(e, t = 0) {
5724
- var r, n;
5725
- return (this.dark ? (r = u.color(e)) == null ? void 0 : r.brighter(1.5 + t) : (n = u.color(e)) == null ? void 0 : n.darker(2 + t)).toString();
5703
+ getTextFillColor(e) {
5704
+ var t, r;
5705
+ return (this.dark ? (t = u.color(e)) == null ? void 0 : t.brighter(1.5) : (r = u.color(e)) == null ? void 0 : r.darker(2)).toString();
5726
5706
  },
5727
5707
  getLabelBackgroundColor(e) {
5728
5708
  let t = u.color(e);
@@ -5794,7 +5774,7 @@ const It = {
5794
5774
  }
5795
5775
  }
5796
5776
  });
5797
- var Xt = function() {
5777
+ var Yt = function() {
5798
5778
  var t = this, r = t._self._c;
5799
5779
  return r("div", { staticClass: "e-relative e-timeline e-border e-rounded", class: t.classes.wrapper }, [r("div", { staticClass: "e-timeline__background e-w-full e-h-full e-absolute e-top-0 e-rounded", class: t.classes.background }), r("div", { directives: [{ name: "resize-observer", rawName: "v-resize-observer", value: t.handleResize, expression: "handleResize" }], ref: "timelineContainer", staticClass: "e-timeline__svg-container e-relative e-h-13 e-rounded e-select-none e-overflow-x-hidden e-overflow-hidden" }), r("div", { directives: [{ name: "show", rawName: "v-show", value: t.isHoveringTimeline && !t.isInteractingWithCurtain, expression: "isHoveringTimeline && !isInteractingWithCurtain" }], ref: "cursor", staticClass: "e-timeline__cursor e-absolute e-bg-green-600 e-w-px e-h-full e-top-0 e-pointer-events-none" }), r("div", { ref: "tooltip", staticClass: "e-absolute", style: t.eventTooltipStyle }, [t._t("tooltip", function() {
5800
5780
  return [r("div", { directives: [{ name: "show", rawName: "v-show", value: t.isHoveringTimeline && !t.isHoveringEvent && !t.isInteractingWithCurtain && !t.cursorTimestamp, expression: `
@@ -5803,134 +5783,66 @@ var Xt = function() {
5803
5783
  !isInteractingWithCurtain &&
5804
5784
  !cursorTimestamp
5805
5785
  ` }], staticClass: "e-timeline__tooltip e-border e-rounded e-px-2 -e-left-2/4 e-relative", class: t.classes.tooltipSlot }, [t._v(" " + t._s(t.hoveredTimestamp) + " ")])];
5806
- }, { timestamp: t.hoveredTimestamp, active: t.isHoveringTimeline && !t.isInteractingWithCurtain && !t.cursorTimestamp })], 2), r("div", { ref: "eventPreviewTooltip", staticClass: "e-absolute e-z-50", style: t.eventTooltipStyle }, [t._t("eventTooltip", function() {
5786
+ }, { timestamp: t.hoveredTimestamp, active: t.isHoveringTimeline && !t.isInteractingWithCurtain && !t.cursorTimestamp })], 2), r("div", { ref: "eventPreviewTooltip", staticClass: "e-absolute", style: t.eventTooltipStyle }, [t._t("eventTooltip", function() {
5807
5787
  return [t.showEventTooltip && (t.hoveredEvent || t.hoveredCounts.length) ? r("div", { directives: [{ name: "show", rawName: "v-show", value: t.isHoveringEvent && !t.isInteractingWithCurtain, expression: "isHoveringEvent && !isInteractingWithCurtain" }], staticClass: "e-timeline__event-tooltip e-border e-rounded e-px-2 -e-left-2/4 e-relative", class: t.classes.eventTooltipSlot }, [t.hoveredCounts.length ? r("div", [r("strong", [t._v("Timestamp")]), t._v(": " + t._s(t.hoveredEvent.timestamp) + " "), t._l(t.hoveredCounts, function(n, a) {
5808
5788
  return r("div", { key: a }, [r("strong", [t._v(t._s(n.type) + " Count")]), t._v(": " + t._s(n.count) + " ")]);
5809
5789
  })], 2) : t.hoveredEvent ? r("div", [t.hoveredEvent.timestamp ? r("div", [r("strong", [t._v("Event time")]), t._v(": " + t._s(t.hoveredEvent.timestamp) + " ")]) : t._e(), t.hoveredEvent.startDate ? r("div", [r("strong", [t._v("From")]), t._v(":" + t._s(t.hoveredEvent.startDate) + " ")]) : t._e(), t.hoveredEvent.endDate ? r("div", [r("strong", [t._v("To")]), t._v(":" + t._s(t.hoveredEvent.endDate) + " ")]) : t._e()]) : t._e()]) : t._e()];
5810
5790
  }, { event: t.hoveredEvent, counts: t.hoveredCounts, active: t.isHoveringEvent && !t.isInteractingWithCurtain, type: t.hoveredEventType })], 2)]);
5811
- }, Yt = [], Zt = /* @__PURE__ */ I(
5812
- qt,
5791
+ }, Zt = [], Kt = /* @__PURE__ */ q(
5813
5792
  Xt,
5814
5793
  Yt,
5794
+ Zt,
5815
5795
  !1,
5816
5796
  null,
5817
5797
  null,
5818
5798
  null,
5819
5799
  null
5820
5800
  );
5821
- const Kt = Zt.exports, Jt = {
5822
- name: "EVideoEmbed",
5823
- props: {
5824
- videoUrl: {
5825
- type: String,
5826
- required: !0
5827
- },
5828
- platform: {
5829
- type: String,
5830
- required: !0,
5831
- validator: (e) => ["youtube", "vimeo"].includes(e)
5832
- },
5833
- iframeListeners: {
5834
- type: Object,
5835
- default: () => ({})
5836
- },
5837
- iframeOptions: {
5838
- type: Object,
5839
- default: () => ({})
5840
- }
5841
- },
5842
- computed: {
5843
- videoId() {
5844
- if (this.platform === "youtube") {
5845
- const e = (
5846
- // eslint-disable-next-line no-useless-escape
5847
- /^.*(?:youtu.be\/|v\/|u\/\w\/|embed\/|watch\?v=|&v=)([^#\&\?]*).*/
5848
- ), t = this.videoUrl.match(e);
5849
- return t && t[1].length === 11 ? t[1] : void 0;
5850
- } else if (this.platform === "vimeo") {
5851
- const e = this.videoUrl.match(/vimeo\.com\/(\d+)/);
5852
- return e ? e[1] : void 0;
5853
- }
5854
- },
5855
- embedUrl() {
5856
- var e;
5857
- if (this.platform === "youtube") {
5858
- const t = new URLSearchParams({
5859
- quality: "1080p",
5860
- ...this.iframeOptions
5861
- });
5862
- return `https://www.youtube.com/embed/${this.videoId}?${t.toString()}`;
5863
- } else if (this.platform === "vimeo" && this.videoId) {
5864
- const t = (e = this.videoUrl.split("/").pop()) == null ? void 0 : e.split("?")[0], r = new URLSearchParams({
5865
- h: t || "",
5866
- quality: "1080p",
5867
- ...this.iframeOptions
5868
- });
5869
- return `https://player.vimeo.com/video/${this.videoId}?${r.toString()}`;
5870
- }
5871
- return "";
5872
- }
5873
- }
5874
- };
5875
- var Qt = function() {
5876
- var t = this, r = t._self._c;
5877
- return r("div", { staticClass: "video-embed" }, [r("iframe", t._g(t._b({ attrs: { src: t.embedUrl, frameborder: "0", allowfullscreen: "", width: "100%", height: "100%", allow: "autoplay; fullscreen; picture-in-picture" } }, "iframe", t.iframeOptions, !1), t.iframeListeners))]);
5878
- }, er = [], tr = /* @__PURE__ */ I(
5879
- Jt,
5880
- Qt,
5881
- er,
5882
- !1,
5883
- null,
5884
- "0ecf4a71",
5885
- null,
5886
- null
5887
- );
5888
- const rr = tr.exports, we = {
5889
- EAvatar: lt,
5890
- EBadge: Ae,
5891
- EIcon: Ct,
5892
- ESpinner: Ke,
5893
- ERow: Ft,
5801
+ const Jt = Kt.exports, Ce = {
5802
+ EAvatar: ut,
5803
+ EBadge: Fe,
5804
+ EIcon: St,
5805
+ ESpinner: Je,
5806
+ ERow: Mt,
5894
5807
  ECol: Ht,
5895
- EVideoPlayer: Nt,
5896
- ETimeline: Kt,
5897
- EVideoEmbed: rr
5898
- }, ur = {
5808
+ EVideoPlayer: It,
5809
+ ETimeline: Jt
5810
+ }, sr = {
5899
5811
  install(e) {
5900
- Object.keys(we).forEach((t) => {
5901
- e.component(t, we[t]);
5902
- }), Vt.forEach(({ name: t, definition: r }) => {
5812
+ Object.keys(Ce).forEach((t) => {
5813
+ e.component(t, Ce[t]);
5814
+ }), qt.forEach(({ name: t, definition: r }) => {
5903
5815
  e.directive(t, r);
5904
5816
  });
5905
5817
  }
5906
5818
  };
5907
5819
  export {
5908
- ar as AvatarSizes,
5909
- or as BadgeColors,
5910
- sr as BadgeSizes,
5820
+ rr as AvatarSizes,
5821
+ nr as BadgeColors,
5822
+ tr as BadgeSizes,
5911
5823
  j as BaseColor,
5912
- vt as Colors,
5913
- Vt as DirectivesMap,
5914
- lt as EAvatar,
5915
- Ae as EBadge,
5824
+ yt as Colors,
5825
+ qt as DirectivesMap,
5826
+ ut as EAvatar,
5827
+ Fe as EBadge,
5916
5828
  Ht as ECol,
5917
- Ct as EIcon,
5918
- Ft as ERow,
5919
- Ke as ESpinner,
5920
- Kt as ETimeline,
5921
- lr as EVENTS,
5922
- rr as EVideoEmbed,
5923
- Nt as EVideoPlayer,
5924
- yt as IconSizes,
5925
- Qe as ResizeObserverDirective,
5829
+ St as EIcon,
5830
+ Mt as ERow,
5831
+ Je as ESpinner,
5832
+ Jt as ETimeline,
5833
+ ir as EVENTS,
5834
+ It as EVideoPlayer,
5835
+ bt as IconSizes,
5836
+ et as ResizeObserverDirective,
5926
5837
  T as Size,
5927
- gt as TextSizes,
5838
+ vt as TextSizes,
5928
5839
  ee as TimelineAxis,
5929
- we as components,
5930
- ur as default,
5931
- jt as exitFullScreen,
5932
- Ze as fullConfig,
5933
- Je as isFullScreen,
5934
- Gt as makeFullScreen
5840
+ te as TimelineChartType,
5841
+ Ce as components,
5842
+ sr as default,
5843
+ Bt as exitFullScreen,
5844
+ Ke as fullConfig,
5845
+ Qe as isFullScreen,
5846
+ jt as makeFullScreen
5935
5847
  };
5936
5848
  //# sourceMappingURL=index.mjs.map