@evercam/ui 0.0.52-beta.1 → 0.0.52-beta.11

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,7 +1,7 @@
1
1
  import q from "vue";
2
2
  import * as u from "d3";
3
3
  import V 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 || {}), B = /* @__PURE__ */ ((e) => (e.warning = "warning", e.error = "error", e.info = "info", e.success = "success", e.primary = "primary", e.brand = "brand", e.default = "default", e))(B || {}), te = /* @__PURE__ */ ((e) => (e.overview = "overview", e.detailed = "detailed", e.detailedBackground = "detailedBackground", e))(te || {}), Z = /* @__PURE__ */ ((e) => (e.bars = "bars", e.lineGraph = "lineGraph", e.barChart = "barGraph", e))(Z || {}), fe = /* @__PURE__ */ ((e) => (e.zoom = "zoom", e.initial = "initial", e))(fe || {});
4
+ var E = /* @__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))(E || {}), G = /* @__PURE__ */ ((e) => (e.warning = "warning", e.error = "error", e.info = "info", e.success = "success", e.primary = "primary", e.brand = "brand", e.default = "default", e))(G || {}), te = /* @__PURE__ */ ((e) => (e.overview = "overview", e.detailed = "detailed", e.detailedBackground = "detailedBackground", e))(te || {}), Z = /* @__PURE__ */ ((e) => (e.bars = "bars", e.lineGraph = "lineGraph", e.barChart = "barGraph", e))(Z || {}), re = /* @__PURE__ */ ((e) => (e.zoom = "zoom", e.autoPan = "autoPan", e.initial = "initial", e))(re || {});
5
5
  const rt = q.extend({
6
6
  name: "EBadge",
7
7
  props: {
@@ -11,36 +11,36 @@ const rt = q.extend({
11
11
  },
12
12
  color: {
13
13
  type: String,
14
- default: B.default
14
+ default: G.default
15
15
  },
16
16
  size: {
17
17
  type: String,
18
- default: T.base
18
+ default: E.base
19
19
  }
20
20
  },
21
21
  data() {
22
22
  return {
23
23
  colors: {
24
- [B.error]: "e-bg-rose-500 e-text-white",
25
- [B.info]: "e-bg-cyan-500 e-text-white",
26
- [B.warning]: "e-bg-amber-500 e-text-white",
27
- [B.primary]: "e-bg-sky-500 e-text-white",
28
- [B.default]: "e-bg-slate-300 e-text-white",
29
- [B.success]: "e-bg-lime-500 e-text-white"
24
+ [G.error]: "e-bg-rose-500 e-text-white",
25
+ [G.info]: "e-bg-cyan-500 e-text-white",
26
+ [G.warning]: "e-bg-amber-500 e-text-white",
27
+ [G.primary]: "e-bg-sky-500 e-text-white",
28
+ [G.default]: "e-bg-slate-300 e-text-white",
29
+ [G.success]: "e-bg-lime-500 e-text-white"
30
30
  },
31
31
  sizes: {
32
- [T.dot]: "e-w-2 e-h-2",
33
- [T.xs]: "e-w-3 e-h-3",
34
- [T.sm]: "e-w-4 e-h-4",
35
- [T.md]: "e-w-5 e-h-5",
36
- [T.lg]: "e-min-w-[2rem] e-max-w-[4rem] e-px-1 e-h-6 e-text-sm e-font-medium",
37
- [T.xl]: "e-min-w-[3rem] e-max-w-[5rem] e-px-1 e-h-8 e-text-base e-font-medium"
32
+ [E.dot]: "e-w-2 e-h-2",
33
+ [E.xs]: "e-w-3 e-h-3",
34
+ [E.sm]: "e-w-4 e-h-4",
35
+ [E.md]: "e-w-5 e-h-5",
36
+ [E.lg]: "e-min-w-[2rem] e-max-w-[4rem] e-px-1 e-h-6 e-text-sm e-font-medium",
37
+ [E.xl]: "e-min-w-[3rem] e-max-w-[5rem] e-px-1 e-h-8 e-text-base e-font-medium"
38
38
  }
39
39
  };
40
40
  },
41
41
  computed: {
42
42
  badgeClasses() {
43
- const e = this.colors[this.color] || this.colors[B.default], t = this.sizes[this.size] || this.sizes[T.md];
43
+ const e = this.colors[this.color] || this.colors[G.default], t = this.sizes[this.size] || this.sizes[E.md];
44
44
  return [
45
45
  "e-flex e-items-center e-justify-center e-rounded-full",
46
46
  e,
@@ -48,33 +48,33 @@ const rt = q.extend({
48
48
  ];
49
49
  },
50
50
  showText() {
51
- return [T.lg, T.xl].includes(this.size);
51
+ return [E.lg, E.xl].includes(this.size);
52
52
  }
53
53
  }
54
54
  });
55
- function I(e, t, r, n, a, o, i, d) {
55
+ function I(e, t, r, n, s, o, i, d) {
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
- var s;
59
- if (i ? (s = function(m) {
60
- m = m || // cached call
58
+ var a;
59
+ if (i ? (a = function(p) {
60
+ p = p || // cached call
61
61
  this.$vnode && this.$vnode.ssrContext || // stateful
62
- this.parent && this.parent.$vnode && this.parent.$vnode.ssrContext, !m && typeof __VUE_SSR_CONTEXT__ != "undefined" && (m = __VUE_SSR_CONTEXT__), a && a.call(this, m), m && m._registeredComponents && m._registeredComponents.add(i);
63
- }, l._ssrRegister = s) : a && (s = d ? function() {
64
- a.call(
62
+ this.parent && this.parent.$vnode && this.parent.$vnode.ssrContext, !p && typeof __VUE_SSR_CONTEXT__ != "undefined" && (p = __VUE_SSR_CONTEXT__), s && s.call(this, p), p && p._registeredComponents && p._registeredComponents.add(i);
63
+ }, l._ssrRegister = a) : s && (a = d ? function() {
64
+ s.call(
65
65
  this,
66
66
  (l.functional ? this.parent : this).$root.$options.shadowRoot
67
67
  );
68
- } : a), s)
68
+ } : s), a)
69
69
  if (l.functional) {
70
- l._injectStyles = s;
71
- var c = l.render;
72
- l.render = function(E, b) {
73
- return s.call(b), c(E, b);
70
+ l._injectStyles = a;
71
+ var f = l.render;
72
+ l.render = function(C, b) {
73
+ return a.call(b), f(C, b);
74
74
  };
75
75
  } else {
76
- var g = l.beforeCreate;
77
- l.beforeCreate = g ? [].concat(g, s) : [s];
76
+ var c = l.beforeCreate;
77
+ l.beforeCreate = c ? [].concat(c, a) : [a];
78
78
  }
79
79
  return {
80
80
  exports: e,
@@ -102,7 +102,7 @@ const Me = st.exports, at = q.extend({
102
102
  props: {
103
103
  size: {
104
104
  type: String,
105
- default: T.md
105
+ default: E.md
106
106
  },
107
107
  showBadge: {
108
108
  type: Boolean,
@@ -110,7 +110,7 @@ const Me = st.exports, at = q.extend({
110
110
  },
111
111
  badgeColor: {
112
112
  type: String,
113
- default: B.error
113
+ default: G.error
114
114
  },
115
115
  badgeText: {
116
116
  type: String,
@@ -118,7 +118,7 @@ const Me = st.exports, at = q.extend({
118
118
  },
119
119
  badgeSize: {
120
120
  type: String,
121
- default: T.md
121
+ default: E.md
122
122
  },
123
123
  image: {
124
124
  type: String,
@@ -128,12 +128,12 @@ const Me = st.exports, at = q.extend({
128
128
  data() {
129
129
  return {
130
130
  sizes: {
131
- [T.xs]: "e-w-8 e-h-8 e-text-xs",
132
- [T.sm]: "e-w-10 e-h-10 e-text-sm",
133
- [T.md]: "e-w-14 e-h-14 e-text-base",
134
- [T.lg]: "e-w-20 e-h-20 e-text-2xl",
135
- [T.xl]: "e-w-28 e-h-28 e-text-3xl",
136
- [T["2xl"]]: "e-w-36 e-h-36 e-text-5xl"
131
+ [E.xs]: "e-w-8 e-h-8 e-text-xs",
132
+ [E.sm]: "e-w-10 e-h-10 e-text-sm",
133
+ [E.md]: "e-w-14 e-h-14 e-text-base",
134
+ [E.lg]: "e-w-20 e-h-20 e-text-2xl",
135
+ [E.xl]: "e-w-28 e-h-28 e-text-3xl",
136
+ [E["2xl"]]: "e-w-36 e-h-36 e-text-5xl"
137
137
  }
138
138
  };
139
139
  },
@@ -141,7 +141,7 @@ const Me = st.exports, at = q.extend({
141
141
  avatarClasses() {
142
142
  return [
143
143
  "e-flex e-items-center e-justify-center e-rounded-full e-bg-purple-500 e-text-white e-font-medium",
144
- this.sizes[this.size] || this.sizes[T.xs]
144
+ this.sizes[this.size] || this.sizes[E.xs]
145
145
  ];
146
146
  }
147
147
  }
@@ -181,7 +181,7 @@ var Pe = {}, ze = {}, me = {};
181
181
  if (r = `${r}`, r === "0")
182
182
  return "0";
183
183
  if (/^[+-]?(\d+|\d*\.\d+)(e[+-]?\d+)?(%|\w+)?$/.test(r))
184
- return r.replace(/^[+-]?/, (a) => a === "-" ? "" : "-");
184
+ return r.replace(/^[+-]?/, (s) => s === "-" ? "" : "-");
185
185
  let n = [
186
186
  "var",
187
187
  "calc",
@@ -189,12 +189,12 @@ var Pe = {}, ze = {}, me = {};
189
189
  "max",
190
190
  "clamp"
191
191
  ];
192
- for (const a of n)
193
- if (r.includes(`${a}(`))
192
+ for (const s of n)
193
+ if (r.includes(`${s}(`))
194
194
  return `calc(${r} * -1)`;
195
195
  }
196
196
  })(me);
197
- var Le = {};
197
+ var He = {};
198
198
  (function(e) {
199
199
  Object.defineProperty(e, "__esModule", {
200
200
  value: !0
@@ -381,8 +381,8 @@ var Le = {};
381
381
  "willChange",
382
382
  "content"
383
383
  ];
384
- })(Le);
385
- var He = {};
384
+ })(He);
385
+ var Be = {};
386
386
  (function(e) {
387
387
  Object.defineProperty(e, "__esModule", {
388
388
  value: !0
@@ -397,22 +397,22 @@ var He = {};
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
- })(He);
401
- var pe = {}, ne = {}, ge = { exports: {} }, P = String, Ge = function() {
400
+ })(Be);
401
+ var pe = {}, ie = {}, ge = { exports: {} }, P = String, Le = function() {
402
402
  return { isColorSupported: !1, reset: P, bold: P, dim: P, italic: P, underline: P, inverse: P, hidden: P, strikethrough: P, black: P, red: P, green: P, yellow: P, blue: P, magenta: P, cyan: P, white: P, gray: P, bgBlack: P, bgRed: P, bgGreen: P, bgYellow: P, bgBlue: P, bgMagenta: P, bgCyan: P, bgWhite: P };
403
403
  };
404
- ge.exports = Ge();
405
- ge.exports.createColors = Ge;
406
- var Be = ge.exports;
404
+ ge.exports = Le();
405
+ ge.exports.createColors = Le;
406
+ var Ge = ge.exports;
407
407
  (function(e) {
408
408
  Object.defineProperty(e, "__esModule", {
409
409
  value: !0
410
410
  });
411
- function t(l, s) {
412
- for (var c in s)
413
- Object.defineProperty(l, c, {
411
+ function t(l, a) {
412
+ for (var f in a)
413
+ Object.defineProperty(l, f, {
414
414
  enumerable: !0,
415
- get: s[c]
415
+ get: a[f]
416
416
  });
417
417
  }
418
418
  t(e, {
@@ -423,56 +423,56 @@ var Be = ge.exports;
423
423
  return d;
424
424
  }
425
425
  });
426
- const r = /* @__PURE__ */ n(Be);
426
+ const r = /* @__PURE__ */ n(Ge);
427
427
  function n(l) {
428
428
  return l && l.__esModule ? l : {
429
429
  default: l
430
430
  };
431
431
  }
432
- let a = /* @__PURE__ */ new Set();
433
- function o(l, s, c) {
434
- typeof process != "undefined" && process.env.JEST_WORKER_ID || c && a.has(c) || (c && a.add(c), console.warn(""), s.forEach((g) => console.warn(l, "-", g)));
432
+ let s = /* @__PURE__ */ new Set();
433
+ function o(l, a, f) {
434
+ typeof process != "undefined" && process.env.JEST_WORKER_ID || f && s.has(f) || (f && s.add(f), console.warn(""), a.forEach((c) => console.warn(l, "-", c)));
435
435
  }
436
436
  function i(l) {
437
437
  return r.default.dim(l);
438
438
  }
439
439
  const d = {
440
- info(l, s) {
440
+ info(l, a) {
441
441
  o(r.default.bold(r.default.cyan("info")), ...Array.isArray(l) ? [
442
442
  l
443
443
  ] : [
444
- s,
444
+ a,
445
445
  l
446
446
  ]);
447
447
  },
448
- warn(l, s) {
448
+ warn(l, a) {
449
449
  o(r.default.bold(r.default.yellow("warn")), ...Array.isArray(l) ? [
450
450
  l
451
451
  ] : [
452
- s,
452
+ a,
453
453
  l
454
454
  ]);
455
455
  },
456
- risk(l, s) {
456
+ risk(l, a) {
457
457
  o(r.default.bold(r.default.magenta("risk")), ...Array.isArray(l) ? [
458
458
  l
459
459
  ] : [
460
- s,
460
+ a,
461
461
  l
462
462
  ]);
463
463
  }
464
464
  };
465
- })(ne);
465
+ })(ie);
466
466
  (function(e) {
467
467
  Object.defineProperty(e, "__esModule", {
468
468
  value: !0
469
469
  }), Object.defineProperty(e, "default", {
470
470
  enumerable: !0,
471
471
  get: function() {
472
- return a;
472
+ return s;
473
473
  }
474
474
  });
475
- const t = /* @__PURE__ */ r(ne);
475
+ const t = /* @__PURE__ */ r(ie);
476
476
  function r(o) {
477
477
  return o && o.__esModule ? o : {
478
478
  default: o
@@ -484,7 +484,7 @@ var Be = ge.exports;
484
484
  "Update your configuration file to silence this warning."
485
485
  ]);
486
486
  }
487
- const a = {
487
+ const s = {
488
488
  inherit: "inherit",
489
489
  current: "currentColor",
490
490
  transparent: "transparent",
@@ -826,8 +826,8 @@ var je = {};
826
826
  function t(r, ...n) {
827
827
  for (let i of n) {
828
828
  for (let d in i) {
829
- var a;
830
- !(r == null || (a = r.hasOwnProperty) === null || a === void 0) && a.call(r, d) || (r[d] = i[d]);
829
+ var s;
830
+ !(r == null || (s = r.hasOwnProperty) === null || s === void 0) && s.call(r, d) || (r[d] = i[d]);
831
831
  }
832
832
  for (let d of Object.getOwnPropertySymbols(i)) {
833
833
  var o;
@@ -850,22 +850,22 @@ var Re = {};
850
850
  function t(r) {
851
851
  if (Array.isArray(r))
852
852
  return r;
853
- let n = r.split("[").length - 1, a = r.split("]").length - 1;
854
- if (n !== a)
853
+ let n = r.split("[").length - 1, s = r.split("]").length - 1;
854
+ if (n !== s)
855
855
  throw new Error(`Path is invalid. Has unbalanced brackets: ${r}`);
856
856
  return r.split(/\.(?![^\[]*\])|[\[\]]/g).filter(Boolean);
857
857
  }
858
858
  })(Re);
859
- var We = {}, ie = {};
859
+ var We = {}, se = {};
860
860
  (function(e) {
861
861
  Object.defineProperty(e, "__esModule", {
862
862
  value: !0
863
863
  });
864
- function t(g, m) {
865
- for (var E in m)
866
- Object.defineProperty(g, E, {
864
+ function t(c, p) {
865
+ for (var C in p)
866
+ Object.defineProperty(c, C, {
867
867
  enumerable: !0,
868
- get: m[E]
868
+ get: p[C]
869
869
  });
870
870
  }
871
871
  t(e, {
@@ -873,16 +873,16 @@ var We = {}, ie = {};
873
873
  return d;
874
874
  },
875
875
  issueFlagNotices: function() {
876
- return s;
876
+ return a;
877
877
  },
878
878
  default: function() {
879
- return c;
879
+ return f;
880
880
  }
881
881
  });
882
- const r = /* @__PURE__ */ a(Be), n = /* @__PURE__ */ a(ne);
883
- function a(g) {
884
- return g && g.__esModule ? g : {
885
- default: g
882
+ const r = /* @__PURE__ */ s(Ge), n = /* @__PURE__ */ s(ie);
883
+ function s(c) {
884
+ return c && c.__esModule ? c : {
885
+ default: c
886
886
  };
887
887
  }
888
888
  let o = {
@@ -906,34 +906,34 @@ var We = {}, ie = {};
906
906
  "generalizedModifiers"
907
907
  ]
908
908
  };
909
- function d(g, m) {
910
- if (i.future.includes(m)) {
911
- var E, b, k;
912
- return g.future === "all" || ((k = (b = g == null || (E = g.future) === null || E === void 0 ? void 0 : E[m]) !== null && b !== void 0 ? b : o[m]) !== null && k !== void 0 ? k : !1);
909
+ function d(c, p) {
910
+ if (i.future.includes(p)) {
911
+ var C, b, k;
912
+ return c.future === "all" || ((k = (b = c == null || (C = c.future) === null || C === void 0 ? void 0 : C[p]) !== null && b !== void 0 ? b : o[p]) !== null && k !== void 0 ? k : !1);
913
913
  }
914
- if (i.experimental.includes(m)) {
915
- var A, z, L;
916
- return g.experimental === "all" || ((L = (z = g == null || (A = g.experimental) === null || A === void 0 ? void 0 : A[m]) !== null && z !== void 0 ? z : o[m]) !== null && L !== void 0 ? L : !1);
914
+ if (i.experimental.includes(p)) {
915
+ var A, z, H;
916
+ return c.experimental === "all" || ((H = (z = c == null || (A = c.experimental) === null || A === void 0 ? void 0 : A[p]) !== null && z !== void 0 ? z : o[p]) !== null && H !== void 0 ? H : !1);
917
917
  }
918
918
  return !1;
919
919
  }
920
- function l(g) {
921
- if (g.experimental === "all")
920
+ function l(c) {
921
+ if (c.experimental === "all")
922
922
  return i.experimental;
923
- var m;
924
- return Object.keys((m = g == null ? void 0 : g.experimental) !== null && m !== void 0 ? m : {}).filter((E) => i.experimental.includes(E) && g.experimental[E]);
923
+ var p;
924
+ return Object.keys((p = c == null ? void 0 : c.experimental) !== null && p !== void 0 ? p : {}).filter((C) => i.experimental.includes(C) && c.experimental[C]);
925
925
  }
926
- function s(g) {
927
- if (process.env.JEST_WORKER_ID === void 0 && l(g).length > 0) {
928
- let m = l(g).map((E) => r.default.yellow(E)).join(", ");
926
+ function a(c) {
927
+ if (process.env.JEST_WORKER_ID === void 0 && l(c).length > 0) {
928
+ let p = l(c).map((C) => r.default.yellow(C)).join(", ");
929
929
  n.default.warn("experimental-flags-enabled", [
930
- `You have enabled experimental features: ${m}`,
930
+ `You have enabled experimental features: ${p}`,
931
931
  "Experimental features in Tailwind CSS are not covered by semver, may introduce breaking changes, and can change at any time."
932
932
  ]);
933
933
  }
934
934
  }
935
- const c = i;
936
- })(ie);
935
+ const f = i;
936
+ })(se);
937
937
  (function(e) {
938
938
  Object.defineProperty(e, "__esModule", {
939
939
  value: !0
@@ -943,16 +943,16 @@ var We = {}, ie = {};
943
943
  return o;
944
944
  }
945
945
  });
946
- const t = ie, r = /* @__PURE__ */ a(ne);
946
+ const t = se, r = /* @__PURE__ */ s(ie);
947
947
  function n(i) {
948
948
  if (typeof WeakMap != "function")
949
949
  return null;
950
950
  var d = /* @__PURE__ */ new WeakMap(), l = /* @__PURE__ */ new WeakMap();
951
- return (n = function(s) {
952
- return s ? l : d;
951
+ return (n = function(a) {
952
+ return a ? l : d;
953
953
  })(i);
954
954
  }
955
- function a(i, d) {
955
+ function s(i, d) {
956
956
  if (!d && i && i.__esModule)
957
957
  return i;
958
958
  if (i === null || typeof i != "object" && typeof i != "function")
@@ -962,40 +962,40 @@ var We = {}, ie = {};
962
962
  var l = n(d);
963
963
  if (l && l.has(i))
964
964
  return l.get(i);
965
- var s = {}, c = Object.defineProperty && Object.getOwnPropertyDescriptor;
966
- for (var g in i)
967
- if (g !== "default" && Object.prototype.hasOwnProperty.call(i, g)) {
968
- var m = c ? Object.getOwnPropertyDescriptor(i, g) : null;
969
- m && (m.get || m.set) ? Object.defineProperty(s, g, m) : s[g] = i[g];
965
+ var a = {}, f = Object.defineProperty && Object.getOwnPropertyDescriptor;
966
+ for (var c in i)
967
+ if (c !== "default" && Object.prototype.hasOwnProperty.call(i, c)) {
968
+ var p = f ? Object.getOwnPropertyDescriptor(i, c) : null;
969
+ p && (p.get || p.set) ? Object.defineProperty(a, c, p) : a[c] = i[c];
970
970
  }
971
- return s.default = i, l && l.set(i, s), s;
971
+ return a.default = i, l && l.set(i, a), a;
972
972
  }
973
973
  function o(i) {
974
974
  if ((() => {
975
975
  if (i.purge || !i.content || !Array.isArray(i.content) && !(typeof i.content == "object" && i.content !== null))
976
976
  return !1;
977
977
  if (Array.isArray(i.content))
978
- return i.content.every((s) => typeof s == "string" ? !0 : !(typeof (s == null ? void 0 : s.raw) != "string" || s != null && s.extension && typeof (s == null ? void 0 : s.extension) != "string"));
978
+ return i.content.every((a) => typeof a == "string" ? !0 : !(typeof (a == null ? void 0 : a.raw) != "string" || a != null && a.extension && typeof (a == null ? void 0 : a.extension) != "string"));
979
979
  if (typeof i.content == "object" && i.content !== null) {
980
- if (Object.keys(i.content).some((s) => ![
980
+ if (Object.keys(i.content).some((a) => ![
981
981
  "files",
982
982
  "relative",
983
983
  "extract",
984
984
  "transform"
985
- ].includes(s)))
985
+ ].includes(a)))
986
986
  return !1;
987
987
  if (Array.isArray(i.content.files)) {
988
- if (!i.content.files.every((s) => typeof s == "string" ? !0 : !(typeof (s == null ? void 0 : s.raw) != "string" || s != null && s.extension && typeof (s == null ? void 0 : s.extension) != "string")))
988
+ if (!i.content.files.every((a) => typeof a == "string" ? !0 : !(typeof (a == null ? void 0 : a.raw) != "string" || a != null && a.extension && typeof (a == null ? void 0 : a.extension) != "string")))
989
989
  return !1;
990
990
  if (typeof i.content.extract == "object") {
991
- for (let s of Object.values(i.content.extract))
992
- if (typeof s != "function")
991
+ for (let a of Object.values(i.content.extract))
992
+ if (typeof a != "function")
993
993
  return !1;
994
994
  } else if (!(i.content.extract === void 0 || typeof i.content.extract == "function"))
995
995
  return !1;
996
996
  if (typeof i.content.transform == "object") {
997
- for (let s of Object.values(i.content.transform))
998
- if (typeof s != "function")
997
+ for (let a of Object.values(i.content.transform))
998
+ if (typeof a != "function")
999
999
  return !1;
1000
1000
  } else if (!(i.content.transform === void 0 || typeof i.content.transform == "function"))
1001
1001
  return !1;
@@ -1010,14 +1010,14 @@ var We = {}, ie = {};
1010
1010
  "Update your configuration file to eliminate this warning.",
1011
1011
  "https://tailwindcss.com/docs/upgrade-guide#configure-content-sources"
1012
1012
  ]), i.safelist = (() => {
1013
- var s;
1014
- let { content: c, purge: g, safelist: m } = i;
1015
- return Array.isArray(m) ? m : Array.isArray(c == null ? void 0 : c.safelist) ? c.safelist : Array.isArray(g == null ? void 0 : g.safelist) ? g.safelist : Array.isArray(g == null || (s = g.options) === null || s === void 0 ? void 0 : s.safelist) ? g.options.safelist : [];
1013
+ var a;
1014
+ let { content: f, purge: c, safelist: p } = i;
1015
+ return Array.isArray(p) ? p : Array.isArray(f == null ? void 0 : f.safelist) ? f.safelist : Array.isArray(c == null ? void 0 : c.safelist) ? c.safelist : Array.isArray(c == null || (a = c.options) === null || a === void 0 ? void 0 : a.safelist) ? c.options.safelist : [];
1016
1016
  })(), i.blocklist = (() => {
1017
- let { blocklist: s } = i;
1018
- if (Array.isArray(s)) {
1019
- if (s.every((c) => typeof c == "string"))
1020
- return s;
1017
+ let { blocklist: a } = i;
1018
+ if (Array.isArray(a)) {
1019
+ if (a.every((f) => typeof f == "string"))
1020
+ return a;
1021
1021
  r.default.warn("blocklist-invalid", [
1022
1022
  "The `blocklist` option must be an array of strings.",
1023
1023
  "https://tailwindcss.com/docs/content-configuration#discarding-classes"
@@ -1036,54 +1036,54 @@ var We = {}, ie = {};
1036
1036
  }
1037
1037
  i.content = {
1038
1038
  relative: (() => {
1039
- let { content: s } = i;
1040
- return s != null && s.relative ? s.relative : (0, t.flagEnabled)(i, "relativeContentPathsByDefault");
1039
+ let { content: a } = i;
1040
+ return a != null && a.relative ? a.relative : (0, t.flagEnabled)(i, "relativeContentPathsByDefault");
1041
1041
  })(),
1042
1042
  files: (() => {
1043
- let { content: s, purge: c } = i;
1044
- return Array.isArray(c) ? c : Array.isArray(c == null ? void 0 : c.content) ? c.content : Array.isArray(s) ? s : Array.isArray(s == null ? void 0 : s.content) ? s.content : Array.isArray(s == null ? void 0 : s.files) ? s.files : [];
1043
+ let { content: a, purge: f } = i;
1044
+ return Array.isArray(f) ? f : Array.isArray(f == null ? void 0 : f.content) ? f.content : Array.isArray(a) ? a : Array.isArray(a == null ? void 0 : a.content) ? a.content : Array.isArray(a == null ? void 0 : a.files) ? a.files : [];
1045
1045
  })(),
1046
1046
  extract: (() => {
1047
- let s = (() => {
1048
- var m, E, b, k, A, z, L, M, H, G;
1049
- return !((m = i.purge) === null || m === void 0) && m.extract ? i.purge.extract : !((E = i.content) === null || E === void 0) && E.extract ? i.content.extract : !((b = i.purge) === null || b === void 0 || (k = b.extract) === null || k === void 0) && k.DEFAULT ? i.purge.extract.DEFAULT : !((A = i.content) === null || A === void 0 || (z = A.extract) === null || z === void 0) && z.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 : {};
1050
- })(), c = {}, g = (() => {
1051
- var m, E, b, k;
1052
- if (!((m = i.purge) === null || m === void 0 || (E = m.options) === null || E === void 0) && E.defaultExtractor)
1047
+ let a = (() => {
1048
+ var p, C, b, k, A, z, H, M, B, L;
1049
+ return !((p = i.purge) === null || p === void 0) && p.extract ? i.purge.extract : !((C = i.content) === null || C === void 0) && C.extract ? i.content.extract : !((b = i.purge) === null || b === void 0 || (k = b.extract) === null || k === void 0) && k.DEFAULT ? i.purge.extract.DEFAULT : !((A = i.content) === null || A === void 0 || (z = A.extract) === null || z === void 0) && z.DEFAULT ? i.content.extract.DEFAULT : !((H = i.purge) === null || H === void 0 || (M = H.options) === null || M === void 0) && M.extractors ? i.purge.options.extractors : !((B = i.content) === null || B === void 0 || (L = B.options) === null || L === void 0) && L.extractors ? i.content.options.extractors : {};
1050
+ })(), f = {}, c = (() => {
1051
+ var p, C, b, k;
1052
+ if (!((p = i.purge) === null || p === void 0 || (C = p.options) === null || C === void 0) && C.defaultExtractor)
1053
1053
  return i.purge.options.defaultExtractor;
1054
1054
  if (!((b = i.content) === null || b === void 0 || (k = b.options) === null || k === void 0) && k.defaultExtractor)
1055
1055
  return i.content.options.defaultExtractor;
1056
1056
  })();
1057
- if (g !== void 0 && (c.DEFAULT = g), typeof s == "function")
1058
- c.DEFAULT = s;
1059
- else if (Array.isArray(s))
1060
- for (let { extensions: m, extractor: E } of s != null ? s : [])
1061
- for (let b of m)
1062
- c[b] = E;
1057
+ if (c !== void 0 && (f.DEFAULT = c), typeof a == "function")
1058
+ f.DEFAULT = a;
1059
+ else if (Array.isArray(a))
1060
+ for (let { extensions: p, extractor: C } of a != null ? a : [])
1061
+ for (let b of p)
1062
+ f[b] = C;
1063
1063
  else
1064
- typeof s == "object" && s !== null && Object.assign(c, s);
1065
- return c;
1064
+ typeof a == "object" && a !== null && Object.assign(f, a);
1065
+ return f;
1066
1066
  })(),
1067
1067
  transform: (() => {
1068
- let s = (() => {
1069
- var g, m, E, b, k, A;
1070
- return !((g = i.purge) === null || g === void 0) && g.transform ? i.purge.transform : !((m = i.content) === null || m === void 0) && m.transform ? i.content.transform : !((E = i.purge) === null || E === void 0 || (b = E.transform) === null || b === void 0) && b.DEFAULT ? i.purge.transform.DEFAULT : !((k = i.content) === null || k === void 0 || (A = k.transform) === null || A === void 0) && A.DEFAULT ? i.content.transform.DEFAULT : {};
1071
- })(), c = {};
1072
- return typeof s == "function" && (c.DEFAULT = s), typeof s == "object" && s !== null && Object.assign(c, s), c;
1068
+ let a = (() => {
1069
+ var c, p, C, b, k, A;
1070
+ return !((c = i.purge) === null || c === void 0) && c.transform ? i.purge.transform : !((p = i.content) === null || p === void 0) && p.transform ? i.content.transform : !((C = i.purge) === null || C === void 0 || (b = C.transform) === null || b === void 0) && b.DEFAULT ? i.purge.transform.DEFAULT : !((k = i.content) === null || k === void 0 || (A = k.transform) === null || A === void 0) && A.DEFAULT ? i.content.transform.DEFAULT : {};
1071
+ })(), f = {};
1072
+ return typeof a == "function" && (f.DEFAULT = a), typeof a == "object" && a !== null && Object.assign(f, a), f;
1073
1073
  })()
1074
1074
  };
1075
- for (let s of i.content.files)
1076
- if (typeof s == "string" && /{([^,]*?)}/g.test(s)) {
1075
+ for (let a of i.content.files)
1076
+ if (typeof a == "string" && /{([^,]*?)}/g.test(a)) {
1077
1077
  r.default.warn("invalid-glob-braces", [
1078
- `The glob pattern ${(0, r.dim)(s)} in your Tailwind CSS configuration is invalid.`,
1079
- `Update it to ${(0, r.dim)(s.replace(/{([^,]*?)}/g, "$1"))} to silence this warning.`
1078
+ `The glob pattern ${(0, r.dim)(a)} in your Tailwind CSS configuration is invalid.`,
1079
+ `Update it to ${(0, r.dim)(a.replace(/{([^,]*?)}/g, "$1"))} to silence this warning.`
1080
1080
  ]);
1081
1081
  break;
1082
1082
  }
1083
1083
  return i;
1084
1084
  }
1085
1085
  })(We);
1086
- var Ue = {};
1086
+ var Ne = {};
1087
1087
  (function(e) {
1088
1088
  Object.defineProperty(e, "__esModule", {
1089
1089
  value: !0
@@ -1099,8 +1099,8 @@ var Ue = {};
1099
1099
  const n = Object.getPrototypeOf(r);
1100
1100
  return n === null || n === Object.prototype;
1101
1101
  }
1102
- })(Ue);
1103
- var Ne = {};
1102
+ })(Ne);
1103
+ var Ue = {};
1104
1104
  (function(e) {
1105
1105
  Object.defineProperty(e, "__esModule", {
1106
1106
  value: !0
@@ -1111,12 +1111,12 @@ var Ne = {};
1111
1111
  }
1112
1112
  });
1113
1113
  function t(r) {
1114
- return Array.isArray(r) ? r.map((n) => t(n)) : typeof r == "object" && r !== null ? Object.fromEntries(Object.entries(r).map(([n, a]) => [
1114
+ return Array.isArray(r) ? r.map((n) => t(n)) : typeof r == "object" && r !== null ? Object.fromEntries(Object.entries(r).map(([n, s]) => [
1115
1115
  n,
1116
- t(a)
1116
+ t(s)
1117
1117
  ])) : r;
1118
1118
  }
1119
- })(Ne);
1119
+ })(Ue);
1120
1120
  var Ie = {}, Ve = {};
1121
1121
  (function(e) {
1122
1122
  Object.defineProperty(e, "__esModule", {
@@ -1897,10 +1897,10 @@ var ve = {}, ye = {}, Xe = {};
1897
1897
  }
1898
1898
  t(e, {
1899
1899
  parseColor: function() {
1900
- return m;
1900
+ return p;
1901
1901
  },
1902
1902
  formatColor: function() {
1903
- return E;
1903
+ return C;
1904
1904
  }
1905
1905
  });
1906
1906
  const r = /* @__PURE__ */ n(Xe);
@@ -1909,8 +1909,8 @@ var ve = {}, ye = {}, Xe = {};
1909
1909
  default: b
1910
1910
  };
1911
1911
  }
1912
- let a = /^#([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})?$/i, o = /^#([a-f\d])([a-f\d])([a-f\d])([a-f\d])?$/i, i = /(?:\d+|\d*\.\d+)%?/, d = /(?:\s*,\s*|\s+)/, l = /\s*[,/]\s*/, s = /var\(--(?:[^ )]*?)\)/, c = new RegExp(`^(rgba?)\\(\\s*(${i.source}|${s.source})(?:${d.source}(${i.source}|${s.source}))?(?:${d.source}(${i.source}|${s.source}))?(?:${l.source}(${i.source}|${s.source}))?\\s*\\)$`), g = new RegExp(`^(hsla?)\\(\\s*((?:${i.source})(?:deg|rad|grad|turn)?|${s.source})(?:${d.source}(${i.source}|${s.source}))?(?:${d.source}(${i.source}|${s.source}))?(?:${l.source}(${i.source}|${s.source}))?\\s*\\)$`);
1913
- function m(b, { loose: k = !1 } = {}) {
1912
+ let s = /^#([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})?$/i, o = /^#([a-f\d])([a-f\d])([a-f\d])([a-f\d])?$/i, i = /(?:\d+|\d*\.\d+)%?/, d = /(?:\s*,\s*|\s+)/, l = /\s*[,/]\s*/, a = /var\(--(?:[^ )]*?)\)/, f = new RegExp(`^(rgba?)\\(\\s*(${i.source}|${a.source})(?:${d.source}(${i.source}|${a.source}))?(?:${d.source}(${i.source}|${a.source}))?(?:${l.source}(${i.source}|${a.source}))?\\s*\\)$`), c = new RegExp(`^(hsla?)\\(\\s*((?:${i.source})(?:deg|rad|grad|turn)?|${a.source})(?:${d.source}(${i.source}|${a.source}))?(?:${d.source}(${i.source}|${a.source}))?(?:${l.source}(${i.source}|${a.source}))?\\s*\\)$`);
1913
+ function p(b, { loose: k = !1 } = {}) {
1914
1914
  var A, z;
1915
1915
  if (typeof b != "string")
1916
1916
  return null;
@@ -1929,48 +1929,48 @@ var ve = {}, ye = {}, Xe = {};
1929
1929
  mode: "rgb",
1930
1930
  color: r.default[b].map((R) => R.toString())
1931
1931
  };
1932
- let L = b.replace(o, (R, N, W, v, D) => [
1932
+ let H = b.replace(o, (R, U, W, y, D) => [
1933
1933
  "#",
1934
- N,
1935
- N,
1934
+ U,
1935
+ U,
1936
1936
  W,
1937
1937
  W,
1938
- v,
1939
- v,
1938
+ y,
1939
+ y,
1940
1940
  D ? D + D : ""
1941
- ].join("")).match(a);
1942
- if (L !== null)
1941
+ ].join("")).match(s);
1942
+ if (H !== null)
1943
1943
  return {
1944
1944
  mode: "rgb",
1945
1945
  color: [
1946
- parseInt(L[1], 16),
1947
- parseInt(L[2], 16),
1948
- parseInt(L[3], 16)
1946
+ parseInt(H[1], 16),
1947
+ parseInt(H[2], 16),
1948
+ parseInt(H[3], 16)
1949
1949
  ].map((R) => R.toString()),
1950
- alpha: L[4] ? (parseInt(L[4], 16) / 255).toString() : void 0
1950
+ alpha: H[4] ? (parseInt(H[4], 16) / 255).toString() : void 0
1951
1951
  };
1952
1952
  var M;
1953
- let H = (M = b.match(c)) !== null && M !== void 0 ? M : b.match(g);
1954
- if (H === null)
1953
+ let B = (M = b.match(f)) !== null && M !== void 0 ? M : b.match(c);
1954
+ if (B === null)
1955
1955
  return null;
1956
- let G = [
1957
- H[2],
1958
- H[3],
1959
- H[4]
1956
+ let L = [
1957
+ B[2],
1958
+ B[3],
1959
+ B[4]
1960
1960
  ].filter(Boolean).map((R) => R.toString());
1961
- return G.length === 2 && G[0].startsWith("var(") ? {
1962
- mode: H[1],
1961
+ return L.length === 2 && L[0].startsWith("var(") ? {
1962
+ mode: B[1],
1963
1963
  color: [
1964
- G[0]
1964
+ L[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 || (z = A.toString) === null || z === void 0 ? void 0 : z.call(A)
1966
+ alpha: L[1]
1967
+ } : !k && L.length !== 3 || L.length < 3 && !L.some((R) => /^var\(.*?\)$/.test(R)) ? null : {
1968
+ mode: B[1],
1969
+ color: L,
1970
+ alpha: (A = B[5]) === null || A === void 0 || (z = A.toString) === null || z === void 0 ? void 0 : z.call(A)
1971
1971
  };
1972
1972
  }
1973
- function E({ mode: b, color: k, alpha: A }) {
1973
+ function C({ mode: b, color: k, alpha: A }) {
1974
1974
  let z = A !== void 0;
1975
1975
  return b === "rgba" || b === "hsla" ? `${b}(${k.join(", ")}${z ? `, ${A}` : ""})` : `${b}(${k.join(" ")}${z ? ` / ${A}` : ""})`;
1976
1976
  }
@@ -1991,7 +1991,7 @@ var ve = {}, ye = {}, Xe = {};
1991
1991
  return n;
1992
1992
  },
1993
1993
  default: function() {
1994
- return a;
1994
+ return s;
1995
1995
  }
1996
1996
  });
1997
1997
  const r = ye;
@@ -2008,39 +2008,39 @@ var ve = {}, ye = {}, Xe = {};
2008
2008
  alpha: i
2009
2009
  });
2010
2010
  }
2011
- function a({ color: o, property: i, variable: d }) {
2011
+ function s({ color: o, property: i, variable: d }) {
2012
2012
  let l = [].concat(i);
2013
2013
  if (typeof o == "function")
2014
2014
  return {
2015
2015
  [d]: "1",
2016
- ...Object.fromEntries(l.map((c) => [
2017
- c,
2016
+ ...Object.fromEntries(l.map((f) => [
2017
+ f,
2018
2018
  o({
2019
2019
  opacityVariable: d,
2020
2020
  opacityValue: `var(${d})`
2021
2021
  })
2022
2022
  ]))
2023
2023
  };
2024
- const s = (0, r.parseColor)(o);
2025
- return s === null ? Object.fromEntries(l.map((c) => [
2026
- c,
2024
+ const a = (0, r.parseColor)(o);
2025
+ return a === null ? Object.fromEntries(l.map((f) => [
2026
+ f,
2027
2027
  o
2028
- ])) : s.alpha !== void 0 ? Object.fromEntries(l.map((c) => [
2029
- c,
2028
+ ])) : a.alpha !== void 0 ? Object.fromEntries(l.map((f) => [
2029
+ f,
2030
2030
  o
2031
2031
  ])) : {
2032
2032
  [d]: "1",
2033
- ...Object.fromEntries(l.map((c) => [
2034
- c,
2033
+ ...Object.fromEntries(l.map((f) => [
2034
+ f,
2035
2035
  (0, r.formatColor)({
2036
- ...s,
2036
+ ...a,
2037
2037
  alpha: `var(${d})`
2038
2038
  })
2039
2039
  ]))
2040
2040
  };
2041
2041
  }
2042
2042
  })(ve);
2043
- var be = {}, qe = {}, se = {};
2043
+ var be = {}, qe = {}, ae = {};
2044
2044
  (function(e) {
2045
2045
  Object.defineProperty(e, "__esModule", {
2046
2046
  value: !0
@@ -2051,23 +2051,23 @@ var be = {}, qe = {}, se = {};
2051
2051
  }
2052
2052
  });
2053
2053
  function t(r, n) {
2054
- let a = [], o = [], i = 0, d = !1;
2054
+ let s = [], o = [], i = 0, d = !1;
2055
2055
  for (let l = 0; l < r.length; l++) {
2056
- let s = r[l];
2057
- a.length === 0 && s === n[0] && !d && (n.length === 1 || r.slice(l, l + n.length) === n) && (o.push(r.slice(i, l)), i = l + n.length), d ? d = !1 : s === "\\" && (d = !0), s === "(" || s === "[" || s === "{" ? a.push(s) : (s === ")" && a[a.length - 1] === "(" || s === "]" && a[a.length - 1] === "[" || s === "}" && a[a.length - 1] === "{") && a.pop();
2056
+ let a = r[l];
2057
+ s.length === 0 && a === n[0] && !d && (n.length === 1 || r.slice(l, l + n.length) === n) && (o.push(r.slice(i, l)), i = l + n.length), d ? d = !1 : a === "\\" && (d = !0), a === "(" || a === "[" || a === "{" ? s.push(a) : (a === ")" && s[s.length - 1] === "(" || a === "]" && s[s.length - 1] === "[" || a === "}" && s[s.length - 1] === "{") && s.pop();
2058
2058
  }
2059
2059
  return o.push(r.slice(i)), o;
2060
2060
  }
2061
- })(se);
2061
+ })(ae);
2062
2062
  (function(e) {
2063
2063
  Object.defineProperty(e, "__esModule", {
2064
2064
  value: !0
2065
2065
  });
2066
- function t(l, s) {
2067
- for (var c in s)
2068
- Object.defineProperty(l, c, {
2066
+ function t(l, a) {
2067
+ for (var f in a)
2068
+ Object.defineProperty(l, f, {
2069
2069
  enumerable: !0,
2070
- get: s[c]
2070
+ get: a[f]
2071
2071
  });
2072
2072
  }
2073
2073
  t(e, {
@@ -2078,85 +2078,85 @@ var be = {}, qe = {}, se = {};
2078
2078
  return d;
2079
2079
  }
2080
2080
  });
2081
- const r = se;
2081
+ const r = ae;
2082
2082
  let n = /* @__PURE__ */ new Set([
2083
2083
  "inset",
2084
2084
  "inherit",
2085
2085
  "initial",
2086
2086
  "revert",
2087
2087
  "unset"
2088
- ]), a = /\ +(?![^(]*\))/g, o = /^-?(\d+|\.\d+)(.*?)$/g;
2088
+ ]), s = /\ +(?![^(]*\))/g, o = /^-?(\d+|\.\d+)(.*?)$/g;
2089
2089
  function i(l) {
2090
- return (0, r.splitAtTopLevelOnly)(l, ",").map((c) => {
2091
- let g = c.trim(), m = {
2092
- raw: g
2093
- }, E = g.split(a), b = /* @__PURE__ */ new Set();
2094
- for (let k of E)
2095
- o.lastIndex = 0, !b.has("KEYWORD") && n.has(k) ? (m.keyword = k, b.add("KEYWORD")) : o.test(k) ? b.has("X") ? b.has("Y") ? b.has("BLUR") ? b.has("SPREAD") || (m.spread = k, b.add("SPREAD")) : (m.blur = k, b.add("BLUR")) : (m.y = k, b.add("Y")) : (m.x = k, b.add("X")) : m.color ? (m.unknown || (m.unknown = []), m.unknown.push(k)) : m.color = k;
2096
- return m.valid = m.x !== void 0 && m.y !== void 0, m;
2090
+ return (0, r.splitAtTopLevelOnly)(l, ",").map((f) => {
2091
+ let c = f.trim(), p = {
2092
+ raw: c
2093
+ }, C = c.split(s), b = /* @__PURE__ */ new Set();
2094
+ for (let k of C)
2095
+ o.lastIndex = 0, !b.has("KEYWORD") && n.has(k) ? (p.keyword = k, b.add("KEYWORD")) : o.test(k) ? b.has("X") ? b.has("Y") ? b.has("BLUR") ? b.has("SPREAD") || (p.spread = k, b.add("SPREAD")) : (p.blur = k, b.add("BLUR")) : (p.y = k, b.add("Y")) : (p.x = k, b.add("X")) : p.color ? (p.unknown || (p.unknown = []), p.unknown.push(k)) : p.color = k;
2096
+ return p.valid = p.x !== void 0 && p.y !== void 0, p;
2097
2097
  });
2098
2098
  }
2099
2099
  function d(l) {
2100
- return l.map((s) => s.valid ? [
2101
- s.keyword,
2102
- s.x,
2103
- s.y,
2104
- s.blur,
2105
- s.spread,
2106
- s.color
2107
- ].filter(Boolean).join(" ") : s.raw).join(", ");
2100
+ return l.map((a) => a.valid ? [
2101
+ a.keyword,
2102
+ a.x,
2103
+ a.y,
2104
+ a.blur,
2105
+ a.spread,
2106
+ a.color
2107
+ ].filter(Boolean).join(" ") : a.raw).join(", ");
2108
2108
  }
2109
2109
  })(qe);
2110
2110
  (function(e) {
2111
2111
  Object.defineProperty(e, "__esModule", {
2112
2112
  value: !0
2113
2113
  });
2114
- function t(f, w) {
2114
+ function t(h, w) {
2115
2115
  for (var F in w)
2116
- Object.defineProperty(f, F, {
2116
+ Object.defineProperty(h, F, {
2117
2117
  enumerable: !0,
2118
2118
  get: w[F]
2119
2119
  });
2120
2120
  }
2121
2121
  t(e, {
2122
2122
  normalize: function() {
2123
- return s;
2123
+ return a;
2124
2124
  },
2125
2125
  url: function() {
2126
- return g;
2126
+ return c;
2127
2127
  },
2128
2128
  number: function() {
2129
- return m;
2129
+ return p;
2130
2130
  },
2131
2131
  percentage: function() {
2132
- return E;
2132
+ return C;
2133
2133
  },
2134
2134
  length: function() {
2135
2135
  return A;
2136
2136
  },
2137
2137
  lineWidth: function() {
2138
- return L;
2138
+ return H;
2139
2139
  },
2140
2140
  shadow: function() {
2141
2141
  return M;
2142
2142
  },
2143
2143
  color: function() {
2144
- return H;
2144
+ return B;
2145
2145
  },
2146
2146
  image: function() {
2147
- return G;
2147
+ return L;
2148
2148
  },
2149
2149
  gradient: function() {
2150
- return N;
2150
+ return U;
2151
2151
  },
2152
2152
  position: function() {
2153
- return v;
2153
+ return y;
2154
2154
  },
2155
2155
  familyName: function() {
2156
2156
  return D;
2157
2157
  },
2158
2158
  genericName: function() {
2159
- return h;
2159
+ return g;
2160
2160
  },
2161
2161
  absoluteSize: function() {
2162
2162
  return _;
@@ -2165,34 +2165,34 @@ var be = {}, qe = {}, se = {};
2165
2165
  return $;
2166
2166
  }
2167
2167
  });
2168
- const r = ye, n = qe, a = se;
2168
+ const r = ye, n = qe, s = ae;
2169
2169
  let o = [
2170
2170
  "min",
2171
2171
  "max",
2172
2172
  "clamp",
2173
2173
  "calc"
2174
2174
  ];
2175
- function i(f) {
2176
- return o.some((w) => new RegExp(`^${w}\\(.*\\)`).test(f));
2175
+ function i(h) {
2176
+ return o.some((w) => new RegExp(`^${w}\\(.*\\)`).test(h));
2177
2177
  }
2178
2178
  const d = "--tw-placeholder", l = new RegExp(d, "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 = c(f), f);
2179
+ function a(h, w = !0) {
2180
+ return h.startsWith("--") ? `var(${h})` : h.includes("url(") ? h.split(/(url\(.*?\))/g).filter(Boolean).map((F) => /^url\(.*?\)$/.test(F) ? F : a(F, !1)).join("") : (h = h.replace(/([^\\])_+/g, (F, O) => O + " ".repeat(F.length - 1)).replace(/^_/g, " ").replace(/\\_/g, "_"), w && (h = h.trim()), h = f(h), h);
2181
2181
  }
2182
- function c(f) {
2183
- return f.replace(/(calc|min|max|clamp)\(.+\)/g, (w) => {
2182
+ function f(h) {
2183
+ return h.replace(/(calc|min|max|clamp)\(.+\)/g, (w) => {
2184
2184
  let F = [];
2185
2185
  return w.replace(/var\((--.+?)[,)]/g, (O, Q) => (F.push(Q), O.replace(Q, d))).replace(/(-?\d*\.?\d(?!\b-\d.+[,)](?![^+\-/*])\D)(?:%|[a-z]+)?|\))([+\-/*])/g, "$1 $2 ").replace(l, () => F.shift());
2186
2186
  });
2187
2187
  }
2188
- function g(f) {
2189
- return f.startsWith("url(");
2188
+ function c(h) {
2189
+ return h.startsWith("url(");
2190
2190
  }
2191
- function m(f) {
2192
- return !isNaN(Number(f)) || i(f);
2191
+ function p(h) {
2192
+ return !isNaN(Number(h)) || i(h);
2193
2193
  }
2194
- function E(f) {
2195
- return f.endsWith("%") && m(f.slice(0, -1)) || i(f);
2194
+ function C(h) {
2195
+ return h.endsWith("%") && p(h.slice(0, -1)) || i(h);
2196
2196
  }
2197
2197
  let k = `(?:${[
2198
2198
  "cm",
@@ -2227,33 +2227,33 @@ var be = {}, qe = {}, se = {};
2227
2227
  "cqmin",
2228
2228
  "cqmax"
2229
2229
  ].join("|")})`;
2230
- function A(f) {
2231
- return f === "0" || new RegExp(`^[+-]?[0-9]*.?[0-9]+(?:[eE][+-]?[0-9]+)?${k}$`).test(f) || i(f);
2230
+ function A(h) {
2231
+ return h === "0" || new RegExp(`^[+-]?[0-9]*.?[0-9]+(?:[eE][+-]?[0-9]+)?${k}$`).test(h) || i(h);
2232
2232
  }
2233
2233
  let z = /* @__PURE__ */ new Set([
2234
2234
  "thin",
2235
2235
  "medium",
2236
2236
  "thick"
2237
2237
  ]);
2238
- function L(f) {
2239
- return z.has(f);
2238
+ function H(h) {
2239
+ return z.has(h);
2240
2240
  }
2241
- function M(f) {
2242
- let w = (0, n.parseBoxShadowValue)(s(f));
2241
+ function M(h) {
2242
+ let w = (0, n.parseBoxShadowValue)(a(h));
2243
2243
  for (let F of w)
2244
2244
  if (!F.valid)
2245
2245
  return !1;
2246
2246
  return !0;
2247
2247
  }
2248
- function H(f) {
2248
+ function B(h) {
2249
2249
  let w = 0;
2250
- return (0, a.splitAtTopLevelOnly)(f, "_").every((O) => (O = s(O), O.startsWith("var(") ? !0 : (0, r.parseColor)(O, {
2250
+ return (0, s.splitAtTopLevelOnly)(h, "_").every((O) => (O = a(O), O.startsWith("var(") ? !0 : (0, r.parseColor)(O, {
2251
2251
  loose: !0
2252
2252
  }) !== null ? (w++, !0) : !1)) ? w > 0 : !1;
2253
2253
  }
2254
- function G(f) {
2254
+ function L(h) {
2255
2255
  let w = 0;
2256
- return (0, a.splitAtTopLevelOnly)(f, ",").every((O) => (O = s(O), O.startsWith("var(") ? !0 : g(O) || N(O) || [
2256
+ return (0, s.splitAtTopLevelOnly)(h, ",").every((O) => (O = a(O), O.startsWith("var(") ? !0 : c(O) || U(O) || [
2257
2257
  "element(",
2258
2258
  "image(",
2259
2259
  "cross-fade(",
@@ -2268,10 +2268,10 @@ var be = {}, qe = {}, se = {};
2268
2268
  "repeating-linear-gradient",
2269
2269
  "repeating-radial-gradient"
2270
2270
  ]);
2271
- function N(f) {
2272
- f = s(f);
2271
+ function U(h) {
2272
+ h = a(h);
2273
2273
  for (let w of R)
2274
- if (f.startsWith(`${w}(`))
2274
+ if (h.startsWith(`${w}(`))
2275
2275
  return !0;
2276
2276
  return !1;
2277
2277
  }
@@ -2282,15 +2282,15 @@ var be = {}, qe = {}, se = {};
2282
2282
  "bottom",
2283
2283
  "left"
2284
2284
  ]);
2285
- function v(f) {
2285
+ function y(h) {
2286
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;
2287
+ return (0, s.splitAtTopLevelOnly)(h, "_").every((O) => (O = a(O), O.startsWith("var(") ? !0 : W.has(O) || A(O) || C(O) ? (w++, !0) : !1)) ? w > 0 : !1;
2288
2288
  }
2289
- function D(f) {
2289
+ function D(h) {
2290
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;
2291
+ return (0, s.splitAtTopLevelOnly)(h, ",").every((O) => (O = a(O), O.startsWith("var(") ? !0 : O.includes(" ") && !/(['"])([^"']+)\1/g.test(O) || /^\d/g.test(O) ? !1 : (w++, !0))) ? w > 0 : !1;
2292
2292
  }
2293
- let C = /* @__PURE__ */ new Set([
2293
+ let S = /* @__PURE__ */ new Set([
2294
2294
  "serif",
2295
2295
  "sans-serif",
2296
2296
  "monospace",
@@ -2305,8 +2305,8 @@ var be = {}, qe = {}, se = {};
2305
2305
  "emoji",
2306
2306
  "fangsong"
2307
2307
  ]);
2308
- function h(f) {
2309
- return C.has(f);
2308
+ function g(h) {
2309
+ return S.has(h);
2310
2310
  }
2311
2311
  let x = /* @__PURE__ */ new Set([
2312
2312
  "xx-small",
@@ -2318,15 +2318,15 @@ var be = {}, qe = {}, se = {};
2318
2318
  "x-large",
2319
2319
  "xxx-large"
2320
2320
  ]);
2321
- function _(f) {
2322
- return x.has(f);
2321
+ function _(h) {
2322
+ return x.has(h);
2323
2323
  }
2324
- let p = /* @__PURE__ */ new Set([
2324
+ let v = /* @__PURE__ */ new Set([
2325
2325
  "larger",
2326
2326
  "smaller"
2327
2327
  ]);
2328
- function $(f) {
2329
- return p.has(f);
2328
+ function $(h) {
2329
+ return v.has(h);
2330
2330
  }
2331
2331
  })(be);
2332
2332
  var Ye = {};
@@ -2339,13 +2339,13 @@ var Ye = {};
2339
2339
  return n;
2340
2340
  }
2341
2341
  });
2342
- const t = be, r = se;
2343
- function n(a) {
2342
+ const t = be, r = ae;
2343
+ function n(s) {
2344
2344
  let o = [
2345
2345
  "cover",
2346
2346
  "contain"
2347
2347
  ];
2348
- return (0, r.splitAtTopLevelOnly)(a, ",").every((i) => {
2348
+ return (0, r.splitAtTopLevelOnly)(s, ",").every((i) => {
2349
2349
  let d = (0, r.splitAtTopLevelOnly)(i, "_").filter(Boolean);
2350
2350
  return d.length === 1 && o.includes(d[0]) ? !0 : d.length !== 1 && d.length !== 2 ? !1 : d.every((l) => (0, t.length)(l) || (0, t.percentage)(l) || l === "auto");
2351
2351
  });
@@ -2355,19 +2355,19 @@ var Ye = {};
2355
2355
  Object.defineProperty(e, "__esModule", {
2356
2356
  value: !0
2357
2357
  });
2358
- function t(v, D) {
2359
- for (var C in D)
2360
- Object.defineProperty(v, C, {
2358
+ function t(y, D) {
2359
+ for (var S in D)
2360
+ Object.defineProperty(y, S, {
2361
2361
  enumerable: !0,
2362
- get: D[C]
2362
+ get: D[S]
2363
2363
  });
2364
2364
  }
2365
2365
  t(e, {
2366
2366
  updateAllClasses: function() {
2367
- return s;
2367
+ return a;
2368
2368
  },
2369
2369
  asValue: function() {
2370
- return m;
2370
+ return p;
2371
2371
  },
2372
2372
  parseColorFormat: function() {
2373
2373
  return k;
@@ -2376,175 +2376,175 @@ var Ye = {};
2376
2376
  return z;
2377
2377
  },
2378
2378
  asLookupValue: function() {
2379
- return L;
2379
+ return H;
2380
2380
  },
2381
2381
  typeMap: function() {
2382
- return H;
2382
+ return B;
2383
2383
  },
2384
2384
  coerceValue: function() {
2385
- return N;
2385
+ return U;
2386
2386
  },
2387
2387
  getMatchingTypes: function() {
2388
2388
  return W;
2389
2389
  }
2390
2390
  });
2391
- const r = /* @__PURE__ */ l(Ve), n = ve, a = be, o = /* @__PURE__ */ l(me), i = Ye, d = ie;
2392
- function l(v) {
2393
- return v && v.__esModule ? v : {
2394
- default: v
2391
+ const r = /* @__PURE__ */ l(Ve), n = ve, s = be, o = /* @__PURE__ */ l(me), i = Ye, d = se;
2392
+ function l(y) {
2393
+ return y && y.__esModule ? y : {
2394
+ default: y
2395
2395
  };
2396
2396
  }
2397
- function s(v, D) {
2398
- v.walkClasses((C) => {
2399
- C.value = D(C.value), C.raws && C.raws.value && (C.raws.value = (0, r.default)(C.raws.value));
2397
+ function a(y, D) {
2398
+ y.walkClasses((S) => {
2399
+ S.value = D(S.value), S.raws && S.raws.value && (S.raws.value = (0, r.default)(S.raws.value));
2400
2400
  });
2401
2401
  }
2402
- function c(v, D) {
2403
- if (!E(v))
2402
+ function f(y, D) {
2403
+ if (!C(y))
2404
2404
  return;
2405
- let C = v.slice(1, -1);
2406
- if (D(C))
2407
- return (0, a.normalize)(C);
2405
+ let S = y.slice(1, -1);
2406
+ if (D(S))
2407
+ return (0, s.normalize)(S);
2408
2408
  }
2409
- function g(v, D = {}, C) {
2410
- let h = D[v];
2411
- if (h !== void 0)
2412
- return (0, o.default)(h);
2413
- if (E(v)) {
2414
- let x = c(v, C);
2409
+ function c(y, D = {}, S) {
2410
+ let g = D[y];
2411
+ if (g !== void 0)
2412
+ return (0, o.default)(g);
2413
+ if (C(y)) {
2414
+ let x = f(y, S);
2415
2415
  return x === void 0 ? void 0 : (0, o.default)(x);
2416
2416
  }
2417
2417
  }
2418
- function m(v, D = {}, { validate: C = () => !0 } = {}) {
2419
- var h;
2420
- let x = (h = D.values) === null || h === void 0 ? void 0 : h[v];
2421
- return x !== void 0 ? x : D.supportsNegativeValues && v.startsWith("-") ? g(v.slice(1), D.values, C) : c(v, C);
2418
+ function p(y, D = {}, { validate: S = () => !0 } = {}) {
2419
+ var g;
2420
+ let x = (g = D.values) === null || g === void 0 ? void 0 : g[y];
2421
+ return x !== void 0 ? x : D.supportsNegativeValues && y.startsWith("-") ? c(y.slice(1), D.values, S) : f(y, S);
2422
2422
  }
2423
- function E(v) {
2424
- return v.startsWith("[") && v.endsWith("]");
2423
+ function C(y) {
2424
+ return y.startsWith("[") && y.endsWith("]");
2425
2425
  }
2426
- function b(v) {
2427
- let D = v.lastIndexOf("/");
2428
- return D === -1 || D === v.length - 1 ? [
2429
- v,
2426
+ function b(y) {
2427
+ let D = y.lastIndexOf("/");
2428
+ return D === -1 || D === y.length - 1 ? [
2429
+ y,
2430
2430
  void 0
2431
- ] : E(v) && !v.includes("]/[") ? [
2432
- v,
2431
+ ] : C(y) && !y.includes("]/[") ? [
2432
+ y,
2433
2433
  void 0
2434
2434
  ] : [
2435
- v.slice(0, D),
2436
- v.slice(D + 1)
2435
+ y.slice(0, D),
2436
+ y.slice(D + 1)
2437
2437
  ];
2438
2438
  }
2439
- function k(v) {
2440
- if (typeof v == "string" && v.includes("<alpha-value>")) {
2441
- let D = v;
2442
- return ({ opacityValue: C = 1 }) => D.replace("<alpha-value>", C);
2439
+ function k(y) {
2440
+ if (typeof y == "string" && y.includes("<alpha-value>")) {
2441
+ let D = y;
2442
+ return ({ opacityValue: S = 1 }) => D.replace("<alpha-value>", S);
2443
2443
  }
2444
- return v;
2444
+ return y;
2445
2445
  }
2446
- function A(v) {
2447
- return (0, a.normalize)(v.slice(1, -1));
2446
+ function A(y) {
2447
+ return (0, s.normalize)(y.slice(1, -1));
2448
2448
  }
2449
- function z(v, D = {}, { tailwindConfig: C = {} } = {}) {
2450
- var h;
2451
- if (((h = D.values) === null || h === void 0 ? void 0 : h[v]) !== void 0) {
2449
+ function z(y, D = {}, { tailwindConfig: S = {} } = {}) {
2450
+ var g;
2451
+ if (((g = D.values) === null || g === void 0 ? void 0 : g[y]) !== void 0) {
2452
2452
  var x;
2453
- return k((x = D.values) === null || x === void 0 ? void 0 : x[v]);
2453
+ return k((x = D.values) === null || x === void 0 ? void 0 : x[y]);
2454
2454
  }
2455
- let [_, p] = b(v);
2456
- if (p !== void 0) {
2457
- var $, f, w, F;
2458
- let O = (F = ($ = D.values) === null || $ === void 0 ? void 0 : $[_]) !== null && F !== void 0 ? F : E(_) ? _.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]));
2455
+ let [_, v] = b(y);
2456
+ if (v !== void 0) {
2457
+ var $, h, w, F;
2458
+ let O = (F = ($ = D.values) === null || $ === void 0 ? void 0 : $[_]) !== null && F !== void 0 ? F : C(_) ? _.slice(1, -1) : void 0;
2459
+ return O === void 0 ? void 0 : (O = k(O), C(v) ? (0, n.withAlphaValue)(O, A(v)) : ((h = S.theme) === null || h === void 0 || (w = h.opacity) === null || w === void 0 ? void 0 : w[v]) === void 0 ? void 0 : (0, n.withAlphaValue)(O, S.theme.opacity[v]));
2460
2460
  }
2461
- return m(v, D, {
2462
- validate: a.color
2461
+ return p(y, D, {
2462
+ validate: s.color
2463
2463
  });
2464
2464
  }
2465
- function L(v, D = {}) {
2466
- var C;
2467
- return (C = D.values) === null || C === void 0 ? void 0 : C[v];
2465
+ function H(y, D = {}) {
2466
+ var S;
2467
+ return (S = D.values) === null || S === void 0 ? void 0 : S[y];
2468
2468
  }
2469
- function M(v) {
2470
- return (D, C) => m(D, C, {
2471
- validate: v
2469
+ function M(y) {
2470
+ return (D, S) => p(D, S, {
2471
+ validate: y
2472
2472
  });
2473
2473
  }
2474
- let H = {
2475
- any: m,
2474
+ let B = {
2475
+ any: p,
2476
2476
  color: z,
2477
- url: M(a.url),
2478
- image: M(a.image),
2479
- length: M(a.length),
2480
- percentage: M(a.percentage),
2481
- position: M(a.position),
2482
- lookup: L,
2483
- "generic-name": M(a.genericName),
2484
- "family-name": M(a.familyName),
2485
- number: M(a.number),
2486
- "line-width": M(a.lineWidth),
2487
- "absolute-size": M(a.absoluteSize),
2488
- "relative-size": M(a.relativeSize),
2489
- shadow: M(a.shadow),
2477
+ url: M(s.url),
2478
+ image: M(s.image),
2479
+ length: M(s.length),
2480
+ percentage: M(s.percentage),
2481
+ position: M(s.position),
2482
+ lookup: H,
2483
+ "generic-name": M(s.genericName),
2484
+ "family-name": M(s.familyName),
2485
+ number: M(s.number),
2486
+ "line-width": M(s.lineWidth),
2487
+ "absolute-size": M(s.absoluteSize),
2488
+ "relative-size": M(s.relativeSize),
2489
+ shadow: M(s.shadow),
2490
2490
  size: M(i.backgroundSize)
2491
- }, G = Object.keys(H);
2492
- function R(v, D) {
2493
- let C = v.indexOf(D);
2494
- return C === -1 ? [
2491
+ }, L = Object.keys(B);
2492
+ function R(y, D) {
2493
+ let S = y.indexOf(D);
2494
+ return S === -1 ? [
2495
2495
  void 0,
2496
- v
2496
+ y
2497
2497
  ] : [
2498
- v.slice(0, C),
2499
- v.slice(C + 1)
2498
+ y.slice(0, S),
2499
+ y.slice(S + 1)
2500
2500
  ];
2501
2501
  }
2502
- function N(v, D, C, h) {
2503
- if (C.values && D in C.values)
2504
- for (let { type: _ } of v != null ? v : []) {
2505
- let p = H[_](D, C, {
2506
- tailwindConfig: h
2502
+ function U(y, D, S, g) {
2503
+ if (S.values && D in S.values)
2504
+ for (let { type: _ } of y != null ? y : []) {
2505
+ let v = B[_](D, S, {
2506
+ tailwindConfig: g
2507
2507
  });
2508
- if (p !== void 0)
2508
+ if (v !== void 0)
2509
2509
  return [
2510
- p,
2510
+ v,
2511
2511
  _,
2512
2512
  null
2513
2513
  ];
2514
2514
  }
2515
- if (E(D)) {
2516
- let _ = D.slice(1, -1), [p, $] = R(_, ":");
2517
- if (!/^[\w-_]+$/g.test(p))
2515
+ if (C(D)) {
2516
+ let _ = D.slice(1, -1), [v, $] = R(_, ":");
2517
+ if (!/^[\w-_]+$/g.test(v))
2518
2518
  $ = _;
2519
- else if (p !== void 0 && !G.includes(p))
2519
+ else if (v !== void 0 && !L.includes(v))
2520
2520
  return [];
2521
- if ($.length > 0 && G.includes(p))
2521
+ if ($.length > 0 && L.includes(v))
2522
2522
  return [
2523
- m(`[${$}]`, C),
2524
- p,
2523
+ p(`[${$}]`, S),
2524
+ v,
2525
2525
  null
2526
2526
  ];
2527
2527
  }
2528
- let x = W(v, D, C, h);
2528
+ let x = W(y, D, S, g);
2529
2529
  for (let _ of x)
2530
2530
  return _;
2531
2531
  return [];
2532
2532
  }
2533
- function* W(v, D, C, h) {
2534
- let x = (0, d.flagEnabled)(h, "generalizedModifiers"), [_, p] = b(D);
2535
- if (x && C.modifiers != null && (C.modifiers === "any" || typeof C.modifiers == "object" && (p && E(p) || p in C.modifiers)) || (_ = D, p = void 0), p !== void 0 && _ === "" && (_ = "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;
2538
- F !== null ? p = F : E(p) && (p = A(p));
2533
+ function* W(y, D, S, g) {
2534
+ let x = (0, d.flagEnabled)(g, "generalizedModifiers"), [_, v] = b(D);
2535
+ if (x && S.modifiers != null && (S.modifiers === "any" || typeof S.modifiers == "object" && (v && C(v) || v in S.modifiers)) || (_ = D, v = void 0), v !== void 0 && _ === "" && (_ = "DEFAULT"), v !== void 0 && typeof S.modifiers == "object") {
2536
+ var h, w;
2537
+ let F = (w = (h = S.modifiers) === null || h === void 0 ? void 0 : h[v]) !== null && w !== void 0 ? w : null;
2538
+ F !== null ? v = F : C(v) && (v = A(v));
2539
2539
  }
2540
- for (let { type: F } of v != null ? v : []) {
2541
- let O = H[F](_, C, {
2542
- tailwindConfig: h
2540
+ for (let { type: F } of y != null ? y : []) {
2541
+ let O = B[F](_, S, {
2542
+ tailwindConfig: g
2543
2543
  });
2544
2544
  O !== void 0 && (yield [
2545
2545
  O,
2546
2546
  F,
2547
- p != null ? p : null
2547
+ v != null ? v : null
2548
2548
  ]);
2549
2549
  }
2550
2550
  }
@@ -2569,162 +2569,162 @@ var Ze = {};
2569
2569
  }), Object.defineProperty(e, "default", {
2570
2570
  enumerable: !0,
2571
2571
  get: function() {
2572
- return C;
2572
+ return S;
2573
2573
  }
2574
2574
  });
2575
- const t = /* @__PURE__ */ E(me), r = /* @__PURE__ */ E(Le), n = /* @__PURE__ */ E(He), a = /* @__PURE__ */ E(pe), o = je, i = Re, d = We, l = /* @__PURE__ */ E(Ue), s = Ne, c = Ie, g = ve, m = /* @__PURE__ */ E(Ze);
2576
- function E(h) {
2577
- return h && h.__esModule ? h : {
2578
- default: h
2575
+ const t = /* @__PURE__ */ C(me), r = /* @__PURE__ */ C(He), n = /* @__PURE__ */ C(Be), s = /* @__PURE__ */ C(pe), o = je, i = Re, d = We, l = /* @__PURE__ */ C(Ne), a = Ue, f = Ie, c = ve, p = /* @__PURE__ */ C(Ze);
2576
+ function C(g) {
2577
+ return g && g.__esModule ? g : {
2578
+ default: g
2579
2579
  };
2580
2580
  }
2581
- function b(h) {
2582
- return typeof h == "function";
2581
+ function b(g) {
2582
+ return typeof g == "function";
2583
2583
  }
2584
- function k(h, ...x) {
2584
+ function k(g, ...x) {
2585
2585
  let _ = x.pop();
2586
- for (let p of x)
2587
- for (let $ in p) {
2588
- let f = _(h[$], p[$]);
2589
- f === void 0 ? (0, l.default)(h[$]) && (0, l.default)(p[$]) ? h[$] = k({}, h[$], p[$], _) : h[$] = p[$] : h[$] = f;
2586
+ for (let v of x)
2587
+ for (let $ in v) {
2588
+ let h = _(g[$], v[$]);
2589
+ h === void 0 ? (0, l.default)(g[$]) && (0, l.default)(v[$]) ? g[$] = k({}, g[$], v[$], _) : g[$] = v[$] : g[$] = h;
2590
2590
  }
2591
- return h;
2591
+ return g;
2592
2592
  }
2593
2593
  const A = {
2594
- colors: a.default,
2595
- negative(h) {
2596
- return Object.keys(h).filter((x) => h[x] !== "0").reduce((x, _) => {
2597
- let p = (0, t.default)(h[_]);
2598
- return p !== void 0 && (x[`-${_}`] = p), x;
2594
+ colors: s.default,
2595
+ negative(g) {
2596
+ return Object.keys(g).filter((x) => g[x] !== "0").reduce((x, _) => {
2597
+ let v = (0, t.default)(g[_]);
2598
+ return v !== void 0 && (x[`-${_}`] = v), x;
2599
2599
  }, {});
2600
2600
  },
2601
- breakpoints(h) {
2602
- return Object.keys(h).filter((x) => typeof h[x] == "string").reduce((x, _) => ({
2601
+ breakpoints(g) {
2602
+ return Object.keys(g).filter((x) => typeof g[x] == "string").reduce((x, _) => ({
2603
2603
  ...x,
2604
- [`screen-${_}`]: h[_]
2604
+ [`screen-${_}`]: g[_]
2605
2605
  }), {});
2606
2606
  }
2607
2607
  };
2608
- function z(h, ...x) {
2609
- return b(h) ? h(...x) : h;
2608
+ function z(g, ...x) {
2609
+ return b(g) ? g(...x) : g;
2610
2610
  }
2611
- function L(h) {
2612
- return h.reduce((x, { extend: _ }) => k(x, _, (p, $) => p === void 0 ? [
2611
+ function H(g) {
2612
+ return g.reduce((x, { extend: _ }) => k(x, _, (v, $) => v === void 0 ? [
2613
2613
  $
2614
- ] : Array.isArray(p) ? [
2614
+ ] : Array.isArray(v) ? [
2615
2615
  $,
2616
- ...p
2616
+ ...v
2617
2617
  ] : [
2618
2618
  $,
2619
- p
2619
+ v
2620
2620
  ]), {});
2621
2621
  }
2622
- function M(h) {
2622
+ function M(g) {
2623
2623
  return {
2624
- ...h.reduce((x, _) => (0, o.defaults)(x, _), {}),
2624
+ ...g.reduce((x, _) => (0, o.defaults)(x, _), {}),
2625
2625
  // In order to resolve n config objects, we combine all of their `extend` properties
2626
2626
  // into arrays instead of objects so they aren't overridden.
2627
- extend: L(h)
2627
+ extend: H(g)
2628
2628
  };
2629
2629
  }
2630
- function H(h, x) {
2631
- if (Array.isArray(h) && (0, l.default)(h[0]))
2632
- return h.concat(x);
2633
- if (Array.isArray(x) && (0, l.default)(x[0]) && (0, l.default)(h))
2630
+ function B(g, x) {
2631
+ if (Array.isArray(g) && (0, l.default)(g[0]))
2632
+ return g.concat(x);
2633
+ if (Array.isArray(x) && (0, l.default)(x[0]) && (0, l.default)(g))
2634
2634
  return [
2635
- h,
2635
+ g,
2636
2636
  ...x
2637
2637
  ];
2638
2638
  if (Array.isArray(x))
2639
2639
  return x;
2640
2640
  }
2641
- function G({ extend: h, ...x }) {
2642
- return k(x, h, (_, p) => !b(_) && !p.some(b) ? k({}, _, ...p, H) : ($, f) => k({}, ...[
2641
+ function L({ extend: g, ...x }) {
2642
+ return k(x, g, (_, v) => !b(_) && !v.some(b) ? k({}, _, ...v, B) : ($, h) => k({}, ...[
2643
2643
  _,
2644
- ...p
2645
- ].map((w) => z(w, $, f)), H));
2644
+ ...v
2645
+ ].map((w) => z(w, $, h)), B));
2646
2646
  }
2647
- function* R(h) {
2648
- let x = (0, i.toPath)(h);
2649
- if (x.length === 0 || (yield x, Array.isArray(h)))
2647
+ function* R(g) {
2648
+ let x = (0, i.toPath)(g);
2649
+ if (x.length === 0 || (yield x, Array.isArray(g)))
2650
2650
  return;
2651
- let _ = /^(.*?)\s*\/\s*([^/]+)$/, p = h.match(_);
2652
- if (p !== null) {
2653
- let [, $, f] = p, w = (0, i.toPath)($);
2654
- w.alpha = f, yield w;
2651
+ let _ = /^(.*?)\s*\/\s*([^/]+)$/, v = g.match(_);
2652
+ if (v !== null) {
2653
+ let [, $, h] = v, w = (0, i.toPath)($);
2654
+ w.alpha = h, yield w;
2655
2655
  }
2656
2656
  }
2657
- function N(h) {
2658
- const x = (_, p) => {
2657
+ function U(g) {
2658
+ const x = (_, v) => {
2659
2659
  for (const $ of R(_)) {
2660
- let f = 0, w = h;
2661
- for (; w != null && f < $.length; )
2662
- w = w[$[f++]], w = b(w) && ($.alpha === void 0 || f <= $.length - 1) ? w(x, A) : w;
2660
+ let h = 0, w = g;
2661
+ for (; w != null && h < $.length; )
2662
+ w = w[$[h++]], w = b(w) && ($.alpha === void 0 || h <= $.length - 1) ? w(x, A) : w;
2663
2663
  if (w !== void 0) {
2664
2664
  if ($.alpha !== void 0) {
2665
- let F = (0, c.parseColorFormat)(w);
2666
- return (0, g.withAlphaValue)(F, $.alpha, (0, m.default)(F));
2665
+ let F = (0, f.parseColorFormat)(w);
2666
+ return (0, c.withAlphaValue)(F, $.alpha, (0, p.default)(F));
2667
2667
  }
2668
- return (0, l.default)(w) ? (0, s.cloneDeep)(w) : w;
2668
+ return (0, l.default)(w) ? (0, a.cloneDeep)(w) : w;
2669
2669
  }
2670
2670
  }
2671
- return p;
2671
+ return v;
2672
2672
  };
2673
2673
  return Object.assign(x, {
2674
2674
  theme: x,
2675
2675
  ...A
2676
- }), Object.keys(h).reduce((_, p) => (_[p] = b(h[p]) ? h[p](x, A) : h[p], _), {});
2676
+ }), Object.keys(g).reduce((_, v) => (_[v] = b(g[v]) ? g[v](x, A) : g[v], _), {});
2677
2677
  }
2678
- function W(h) {
2678
+ function W(g) {
2679
2679
  let x = [];
2680
- return h.forEach((_) => {
2680
+ return g.forEach((_) => {
2681
2681
  x = [
2682
2682
  ...x,
2683
2683
  _
2684
2684
  ];
2685
- var p;
2686
- const $ = (p = _ == null ? void 0 : _.plugins) !== null && p !== void 0 ? p : [];
2687
- $.length !== 0 && $.forEach((f) => {
2688
- f.__isOptionsFunction && (f = f());
2685
+ var v;
2686
+ const $ = (v = _ == null ? void 0 : _.plugins) !== null && v !== void 0 ? v : [];
2687
+ $.length !== 0 && $.forEach((h) => {
2688
+ h.__isOptionsFunction && (h = h());
2689
2689
  var w;
2690
2690
  x = [
2691
2691
  ...x,
2692
2692
  ...W([
2693
- (w = f == null ? void 0 : f.config) !== null && w !== void 0 ? w : {}
2693
+ (w = h == null ? void 0 : h.config) !== null && w !== void 0 ? w : {}
2694
2694
  ])
2695
2695
  ];
2696
2696
  });
2697
2697
  }), x;
2698
2698
  }
2699
- function v(h) {
2699
+ function y(g) {
2700
2700
  return [
2701
- ...h
2702
- ].reduceRight((_, p) => b(p) ? p({
2701
+ ...g
2702
+ ].reduceRight((_, v) => b(v) ? v({
2703
2703
  corePlugins: _
2704
- }) : (0, n.default)(p, _), r.default);
2704
+ }) : (0, n.default)(v, _), r.default);
2705
2705
  }
2706
- function D(h) {
2706
+ function D(g) {
2707
2707
  return [
2708
- ...h
2709
- ].reduceRight((_, p) => [
2708
+ ...g
2709
+ ].reduceRight((_, v) => [
2710
2710
  ..._,
2711
- ...p
2711
+ ...v
2712
2712
  ], []);
2713
2713
  }
2714
- function C(h) {
2714
+ function S(g) {
2715
2715
  let x = [
2716
- ...W(h),
2716
+ ...W(g),
2717
2717
  {
2718
2718
  prefix: "",
2719
2719
  important: !1,
2720
2720
  separator: ":"
2721
2721
  }
2722
2722
  ];
2723
- var _, p;
2723
+ var _, v;
2724
2724
  return (0, d.normalizeConfig)((0, o.defaults)({
2725
- theme: N(G(M(x.map(($) => (_ = $ == null ? void 0 : $.theme) !== null && _ !== void 0 ? _ : {})))),
2726
- corePlugins: v(x.map(($) => $.corePlugins)),
2727
- plugins: D(h.map(($) => (p = $ == null ? void 0 : $.plugins) !== null && p !== void 0 ? p : []))
2725
+ theme: U(L(M(x.map(($) => (_ = $ == null ? void 0 : $.theme) !== null && _ !== void 0 ? _ : {})))),
2726
+ corePlugins: y(x.map(($) => $.corePlugins)),
2727
+ plugins: D(g.map(($) => (v = $ == null ? void 0 : $.plugins) !== null && v !== void 0 ? v : []))
2728
2728
  }, ...x));
2729
2729
  }
2730
2730
  })(ze);
@@ -3725,26 +3725,26 @@ var Ke = {}, ft = {
3725
3725
  }), Object.defineProperty(e, "default", {
3726
3726
  enumerable: !0,
3727
3727
  get: function() {
3728
- return a;
3728
+ return s;
3729
3729
  }
3730
3730
  });
3731
- const t = /* @__PURE__ */ n(ft), r = ie;
3731
+ const t = /* @__PURE__ */ n(ft), r = se;
3732
3732
  function n(o) {
3733
3733
  return o && o.__esModule ? o : {
3734
3734
  default: o
3735
3735
  };
3736
3736
  }
3737
- function a(o) {
3737
+ function s(o) {
3738
3738
  var i;
3739
3739
  const d = ((i = o == null ? void 0 : o.presets) !== null && i !== void 0 ? i : [
3740
3740
  t.default
3741
- ]).slice().reverse().flatMap((c) => a(c instanceof Function ? c() : c)), l = {
3741
+ ]).slice().reverse().flatMap((f) => s(f instanceof Function ? f() : f)), l = {
3742
3742
  // Add experimental configs here...
3743
3743
  respectDefaultRingColorOpacity: {
3744
3744
  theme: {
3745
- ringColor: ({ theme: c }) => ({
3745
+ ringColor: ({ theme: f }) => ({
3746
3746
  DEFAULT: "#3b82f67f",
3747
- ...c("colors")
3747
+ ...f("colors")
3748
3748
  })
3749
3749
  }
3750
3750
  },
@@ -3758,10 +3758,10 @@ var Ke = {}, ft = {
3758
3758
  textOpacity: !1
3759
3759
  }
3760
3760
  }
3761
- }, s = Object.keys(l).filter((c) => (0, r.flagEnabled)(o, c)).map((c) => l[c]);
3761
+ }, a = Object.keys(l).filter((f) => (0, r.flagEnabled)(o, f)).map((f) => l[f]);
3762
3762
  return [
3763
3763
  o,
3764
- ...s,
3764
+ ...a,
3765
3765
  ...d
3766
3766
  ];
3767
3767
  }
@@ -3772,7 +3772,7 @@ var Ke = {}, ft = {
3772
3772
  }), Object.defineProperty(e, "default", {
3773
3773
  enumerable: !0,
3774
3774
  get: function() {
3775
- return a;
3775
+ return s;
3776
3776
  }
3777
3777
  });
3778
3778
  const t = /* @__PURE__ */ n(ze), r = /* @__PURE__ */ n(Ke);
@@ -3781,7 +3781,7 @@ var Ke = {}, ft = {
3781
3781
  default: o
3782
3782
  };
3783
3783
  }
3784
- function a(...o) {
3784
+ function s(...o) {
3785
3785
  let [, ...i] = (0, r.default)(o[0]);
3786
3786
  return (0, t.default)([
3787
3787
  ...o,
@@ -3789,11 +3789,11 @@ var Ke = {}, ft = {
3789
3789
  ]);
3790
3790
  }
3791
3791
  })(Pe);
3792
- let ae = Pe;
3793
- var ht = (ae.__esModule ? ae : { default: ae }).default;
3792
+ let oe = Pe;
3793
+ var ht = (oe.__esModule ? oe : { default: oe }).default;
3794
3794
  const mt = /* @__PURE__ */ dt(ht);
3795
- let oe = pe;
3796
- var U = (oe.__esModule ? oe : { default: oe }).default;
3795
+ let le = pe;
3796
+ var N = (le.__esModule ? le : { default: le }).default;
3797
3797
  const pt = {
3798
3798
  50: "#FCE3E4",
3799
3799
  100: "#F9CDCE",
@@ -3806,12 +3806,12 @@ const pt = {
3806
3806
  800: "#4E090B",
3807
3807
  900: "#290506"
3808
3808
  }, j = {
3809
- onprimary: U.white,
3810
- warning: U.amber,
3811
- error: U.rose,
3812
- info: U.cyan,
3813
- success: U.lime,
3814
- primary: U.sky,
3809
+ onprimary: N.white,
3810
+ warning: N.amber,
3811
+ error: N.rose,
3812
+ info: N.cyan,
3813
+ success: N.lime,
3814
+ primary: N.sky,
3815
3815
  brand: pt
3816
3816
  }, gt = {
3817
3817
  ...j,
@@ -3836,10 +3836,10 @@ const pt = {
3836
3836
  "primary-darken": j.primary[600],
3837
3837
  "primary-lighten": j.primary[400],
3838
3838
  // Surfaces
3839
- onsurface: U.slate[500],
3840
- onbackground: U.slate[700],
3841
- surface: U.slate[50],
3842
- background: U.white
3839
+ onsurface: N.slate[500],
3840
+ onbackground: N.slate[700],
3841
+ surface: N.slate[50],
3842
+ background: N.white
3843
3843
  }, vt = {
3844
3844
  prefix: "e-",
3845
3845
  corePlugins: {
@@ -3917,41 +3917,41 @@ const pt = {
3917
3917
  }
3918
3918
  ]
3919
3919
  }, Je = mt(vt), yt = Je.theme.fontSize, bt = Je.theme.colors, lr = [
3920
- T.dot,
3921
- T.xs,
3922
- T.sm,
3923
- T.md,
3924
- T.lg,
3925
- T.xl
3920
+ E.dot,
3921
+ E.xs,
3922
+ E.sm,
3923
+ E.md,
3924
+ E.lg,
3925
+ E.xl
3926
3926
  ], ur = [
3927
- T.xs,
3928
- T.sm,
3929
- T.md,
3930
- T.lg,
3931
- T.xl,
3932
- T["2xl"]
3927
+ E.xs,
3928
+ E.sm,
3929
+ E.md,
3930
+ E.lg,
3931
+ E.xl,
3932
+ E["2xl"]
3933
3933
  ], xt = [
3934
- T.xs,
3935
- T.sm,
3936
- T.md,
3937
- T.base,
3938
- T.lg,
3939
- T.xl,
3940
- T["2xl"],
3941
- T["3xl"],
3942
- T["4xl"],
3943
- T["5xl"],
3944
- T["6xl"],
3945
- T["7xl"],
3946
- T["8xl"],
3947
- T["9xl"]
3934
+ E.xs,
3935
+ E.sm,
3936
+ E.md,
3937
+ E.base,
3938
+ E.lg,
3939
+ E.xl,
3940
+ E["2xl"],
3941
+ E["3xl"],
3942
+ E["4xl"],
3943
+ E["5xl"],
3944
+ E["6xl"],
3945
+ E["7xl"],
3946
+ E["8xl"],
3947
+ E["9xl"]
3948
3948
  ], cr = [
3949
- B.warning,
3950
- B.error,
3951
- B.info,
3952
- B.success,
3953
- B.primary,
3954
- B.default
3949
+ G.warning,
3950
+ G.error,
3951
+ G.info,
3952
+ G.success,
3953
+ G.primary,
3954
+ G.default
3955
3955
  ], dr = [
3956
3956
  "play",
3957
3957
  "pause",
@@ -3972,11 +3972,11 @@ const pt = {
3972
3972
  },
3973
3973
  color: {
3974
3974
  type: String,
3975
- default: B.default
3975
+ default: G.default
3976
3976
  },
3977
3977
  size: {
3978
3978
  type: String,
3979
- default: T.sm
3979
+ default: E.sm
3980
3980
  }
3981
3981
  },
3982
3982
  computed: {
@@ -3987,8 +3987,8 @@ const pt = {
3987
3987
  }), {});
3988
3988
  },
3989
3989
  iconClasses() {
3990
- var n, a;
3991
- const e = this.sizes[this.size] || this.sizes[T.sm], t = `${((a = (n = this.icon) == null ? void 0 : n.split(" ")) == null ? void 0 : a.length) > 1 ? this.icon : `fa fa-${this.icon}`}`;
3990
+ var n, s;
3991
+ const e = this.sizes[this.size] || this.sizes[E.sm], t = `${((s = (n = this.icon) == null ? void 0 : n.split(" ")) == null ? void 0 : s.length) > 1 ? this.icon : `fa fa-${this.icon}`}`;
3992
3992
  return [
3993
3993
  "e-inline-flex e-items-center e-justify-center e-rounded-full",
3994
3994
  this.color,
@@ -4028,7 +4028,7 @@ const Tt = St.exports, Et = q.extend({
4028
4028
  },
4029
4029
  size: {
4030
4030
  type: String,
4031
- default: T.base
4031
+ default: E.base
4032
4032
  },
4033
4033
  opacity: {
4034
4034
  type: [String, Number],
@@ -4043,7 +4043,7 @@ const Tt = St.exports, Et = q.extend({
4043
4043
  },
4044
4044
  computed: {
4045
4045
  computedSize() {
4046
- return this.sizes[T[this.size]] || this.size || this.sizes[T.base];
4046
+ return this.sizes[E[this.size]] || this.size || this.sizes[E.base];
4047
4047
  },
4048
4048
  fill() {
4049
4049
  let e = {
@@ -4266,20 +4266,20 @@ const Pt = Mt.exports, zt = q.extend({
4266
4266
  }
4267
4267
  }
4268
4268
  });
4269
- var Lt = function() {
4269
+ var Ht = 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
- }, Ht = [], Gt = /* @__PURE__ */ I(
4272
+ }, Bt = [], Lt = /* @__PURE__ */ I(
4273
4273
  zt,
4274
- Lt,
4275
4274
  Ht,
4275
+ Bt,
4276
4276
  !1,
4277
4277
  null,
4278
4278
  null,
4279
4279
  null,
4280
4280
  null
4281
4281
  );
4282
- const Bt = Gt.exports;
4282
+ const Gt = Lt.exports;
4283
4283
  function et() {
4284
4284
  const e = document;
4285
4285
  return !!(e.fullscreenElement || e.mozFullScreenElement || e.webkitFullscreenElement || e.msFullscreenElement);
@@ -4313,13 +4313,13 @@ function Rt() {
4313
4313
  function Wt(e, t) {
4314
4314
  let r = null;
4315
4315
  return function(...n) {
4316
- const a = this;
4316
+ const s = this;
4317
4317
  r !== null && clearTimeout(r), r = setTimeout(() => {
4318
- r = null, e.apply(a, n);
4318
+ r = null, e.apply(s, n);
4319
4319
  }, t || 1e3);
4320
4320
  };
4321
4321
  }
4322
- const le = new Intl.NumberFormat(void 0, {
4322
+ const ue = new Intl.NumberFormat(void 0, {
4323
4323
  minimumIntegerDigits: 2
4324
4324
  }), xe = [
4325
4325
  "play",
@@ -4335,10 +4335,10 @@ const le = new Intl.NumberFormat(void 0, {
4335
4335
  "error"
4336
4336
  ], ee = (e) => {
4337
4337
  const t = Math.floor(e % 60), r = Math.floor(e / 60) % 60, n = Math.floor(e / 3600);
4338
- return n === 0 ? `${r}:${le.format(t)}` : `${n}:${le.format(
4338
+ return n === 0 ? `${r}:${ue.format(t)}` : `${n}:${ue.format(
4339
4339
  r
4340
- )}:${le.format(t)}`;
4341
- }, Ut = q.extend({
4340
+ )}:${ue.format(t)}`;
4341
+ }, Nt = q.extend({
4342
4342
  name: "VideoPlayer",
4343
4343
  components: {
4344
4344
  ESpinner: Qe
@@ -4543,13 +4543,13 @@ const le = new Intl.NumberFormat(void 0, {
4543
4543
  const t = this.$refs.player;
4544
4544
  if (!document.body.contains(t))
4545
4545
  return;
4546
- const r = this.$refs.timelineContainer, n = r.getBoundingClientRect(), a = Math.min(Math.max(0, e.x - n.x), n.width) / n.width;
4546
+ const r = this.$refs.timelineContainer, n = r.getBoundingClientRect(), s = Math.min(Math.max(0, e.x - n.x), n.width) / n.width;
4547
4547
  r.style.setProperty(
4548
4548
  "--preview-position",
4549
- a.toString()
4549
+ s.toString()
4550
4550
  ), this.isScrubbing && (e.preventDefault(), r.style.setProperty(
4551
4551
  "--progress-position",
4552
- a.toString()
4552
+ s.toString()
4553
4553
  ));
4554
4554
  },
4555
4555
  skip(e = 5) {
@@ -4560,7 +4560,7 @@ const le = new Intl.NumberFormat(void 0, {
4560
4560
  const t = this.$refs.timelineContainer, r = this.$refs.videoContainer, n = this.$refs.player;
4561
4561
  if (!n)
4562
4562
  return;
4563
- const a = t.getBoundingClientRect(), o = Math.min(Math.max(0, e.x - a.x), a.width) / a.width;
4563
+ const s = t.getBoundingClientRect(), o = Math.min(Math.max(0, e.x - s.x), s.width) / s.width;
4564
4564
  if (this.isScrubbing = (e.buttons & 1) === 1, r.classList.toggle("scrubbing", this.isScrubbing), this.isScrubbing) {
4565
4565
  this.wasPaused = n.paused, await n.pause(), this.handleTimelineUpdate(e);
4566
4566
  return;
@@ -4593,7 +4593,7 @@ const le = new Intl.NumberFormat(void 0, {
4593
4593
  }
4594
4594
  }
4595
4595
  });
4596
- var Nt = function() {
4596
+ var Ut = function() {
4597
4597
  var t = this, r = t._self._c;
4598
4598
  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) {
4599
4599
  return r("source", t._g({ key: n.src, attrs: { src: n.src, type: n.type }, on: { error: t.handle404Error } }, t.videoListeners));
@@ -4608,8 +4608,8 @@ var Nt = function() {
4608
4608
  var e = this, t = e._self._c;
4609
4609
  return t("div", { staticClass: "timeline" }, [t("div", { staticClass: "thumb-indicator" })]);
4610
4610
  }], Vt = /* @__PURE__ */ I(
4611
- Ut,
4612
4611
  Nt,
4612
+ Ut,
4613
4613
  It,
4614
4614
  !1,
4615
4615
  null,
@@ -4617,7 +4617,7 @@ var Nt = function() {
4617
4617
  null,
4618
4618
  null
4619
4619
  );
4620
- const Xt = Vt.exports, re = (e) => {
4620
+ const Xt = Vt.exports, ne = (e) => {
4621
4621
  const t = u.utcFormat("%_d")(e), n = {
4622
4622
  1: "st",
4623
4623
  2: "nd",
@@ -4629,22 +4629,22 @@ const Xt = Vt.exports, re = (e) => {
4629
4629
  ).getUTCDate() === 1 ? "" : u.utcFormat("%-d")(e), K = (e) => ["0", " 0", "00"].includes(u.utcFormat("%H")(e)) ? "" : `${u.utcFormat("%H")(e)}h`, X = (e) => {
4630
4630
  const t = u.utcFormat("%H:%M")(e);
4631
4631
  return t === "00:00" ? "" : t;
4632
- }, ue = (e) => u.utcFormat("%M:%S")(e), we = (e) => `${u.utcFormat("%Hh%Mm")(e)}`, he = (e) => {
4633
- const t = X(e), r = re(e), n = u.utcFormat("%B")(e);
4632
+ }, ce = (e) => u.utcFormat("%M:%S")(e), we = (e) => `${u.utcFormat("%Hh%Mm")(e)}`, he = (e) => {
4633
+ const t = X(e), r = ne(e), n = u.utcFormat("%B")(e);
4634
4634
  return t || `${n} ${r}`;
4635
- }, ce = (e) => {
4636
- const t = X(e), r = Number.parseInt(u.utcFormat("%H")(e)), n = re(e), a = u.utcFormat("%B")(e);
4637
- return t && r % 6 === 0 ? `${a} ${n} ${t}` : he(e);
4635
+ }, de = (e) => {
4636
+ const t = X(e), r = Number.parseInt(u.utcFormat("%H")(e)), n = ne(e), s = u.utcFormat("%B")(e);
4637
+ return t && r % 6 === 0 ? `${s} ${n} ${t}` : he(e);
4638
4638
  }, J = (e) => (t) => {
4639
4639
  const r = u.utcFormat("%H")(t);
4640
4640
  return !(u.utcFormat("%M")(t) === "00" && Number.parseInt(r) % e === 0);
4641
- }, de = (e) => (t) => {
4641
+ }, fe = (e) => (t) => {
4642
4642
  const r = u.utcFormat("%M")(t);
4643
4643
  return Number.parseInt(r) % e !== 0;
4644
4644
  }, Ce = (e) => (t) => {
4645
4645
  const r = u.utcFormat("%M")(t), n = u.utcFormat("%S")(t);
4646
4646
  return Number.parseInt(r) % e !== 0 && Number.parseInt(n) === 0;
4647
- }, S = {
4647
+ }, T = {
4648
4648
  _10_seconds: 25e-6,
4649
4649
  _20_seconds: 1e-4,
4650
4650
  _30_seconds: 15e-5,
@@ -4670,58 +4670,58 @@ var Te, Ee, $e, De, ke, Oe, Ae, Fe;
4670
4670
  const qt = {
4671
4671
  [te.overview]: [
4672
4672
  {
4673
- precision: S._30_seconds,
4673
+ precision: T._30_seconds,
4674
4674
  interval: u.utcMinute.every(2),
4675
4675
  format: we
4676
4676
  },
4677
4677
  {
4678
- precision: S._1_minute,
4678
+ precision: T._1_minute,
4679
4679
  interval: u.utcMinute.every(5),
4680
4680
  format: we
4681
4681
  },
4682
4682
  {
4683
- precision: S._2_minutes,
4683
+ precision: T._2_minutes,
4684
4684
  interval: u.utcMinute.every(10),
4685
4685
  format: he
4686
4686
  },
4687
4687
  {
4688
- precision: S._5_minutes,
4688
+ precision: T._5_minutes,
4689
4689
  interval: u.utcMinute.every(20),
4690
- format: ce
4690
+ format: de
4691
4691
  },
4692
4692
  {
4693
- precision: S._15_minutes,
4693
+ precision: T._15_minutes,
4694
4694
  interval: u.utcHour,
4695
- format: ce
4695
+ format: de
4696
4696
  },
4697
4697
  {
4698
- precision: S._30_minutes,
4698
+ precision: T._30_minutes,
4699
4699
  interval: u.utcHour.every(2),
4700
- format: ce
4700
+ format: de
4701
4701
  },
4702
4702
  {
4703
- precision: S._2_hours,
4703
+ precision: T._2_hours,
4704
4704
  interval: u.utcHour.every(6),
4705
4705
  format: (e) => {
4706
- const t = X(e), r = re(e), n = u.utcFormat("%B")(e);
4706
+ const t = X(e), r = ne(e), n = u.utcFormat("%B")(e);
4707
4707
  return t || `${n} ${r}`;
4708
4708
  }
4709
4709
  },
4710
4710
  {
4711
- precision: S._3_hours,
4711
+ precision: T._3_hours,
4712
4712
  interval: u.utcHour.every(12),
4713
4713
  format: he
4714
4714
  },
4715
4715
  {
4716
- precision: S._6_hours,
4716
+ precision: T._6_hours,
4717
4717
  interval: u.utcHour.every(24),
4718
4718
  format: (e) => {
4719
- const t = re(e);
4719
+ const t = ne(e);
4720
4720
  return `${u.utcFormat("%b")(e)} ${t}`;
4721
4721
  }
4722
4722
  },
4723
4723
  {
4724
- precision: S._2_days,
4724
+ precision: T._2_days,
4725
4725
  interval: u.utcMonth,
4726
4726
  format: (e) => {
4727
4727
  const r = e.getUTCMonth() === 0 && e.getUTCDate() === 1 ? "%Y – %B" : "%B";
@@ -4729,191 +4729,191 @@ const qt = {
4729
4729
  }
4730
4730
  },
4731
4731
  {
4732
- precision: S.infinity,
4732
+ precision: T.infinity,
4733
4733
  interval: u.utcYear,
4734
4734
  format: "%Y"
4735
4735
  }
4736
4736
  ],
4737
4737
  [te.detailed]: [
4738
4738
  {
4739
- precision: S._10_seconds,
4739
+ precision: T._10_seconds,
4740
4740
  interval: u.utcSecond.every(10),
4741
- format: ue
4741
+ format: ce
4742
4742
  },
4743
4743
  {
4744
- precision: S._20_seconds,
4744
+ precision: T._20_seconds,
4745
4745
  interval: (Te = u.utcSecond.every(20)) == null ? void 0 : Te.filter(Ce(2)),
4746
- format: ue
4746
+ format: ce
4747
4747
  },
4748
4748
  {
4749
- precision: S._30_seconds,
4749
+ precision: T._30_seconds,
4750
4750
  interval: (Ee = u.utcSecond.every(30)) == null ? void 0 : Ee.filter(Ce(2)),
4751
- format: ue
4751
+ format: ce
4752
4752
  },
4753
4753
  {
4754
- precision: S._1_minute,
4755
- interval: u.utcMinute.filter(de(5)),
4754
+ precision: T._1_minute,
4755
+ interval: u.utcMinute.filter(fe(5)),
4756
4756
  format: X
4757
4757
  },
4758
4758
  {
4759
- precision: S._2_minutes,
4760
- interval: ($e = u.utcMinute.every(2)) == null ? void 0 : $e.filter(de(10)),
4759
+ precision: T._2_minutes,
4760
+ interval: ($e = u.utcMinute.every(2)) == null ? void 0 : $e.filter(fe(10)),
4761
4761
  format: X
4762
4762
  },
4763
4763
  {
4764
- precision: S._5_minutes,
4765
- interval: (De = u.utcMinute.every(5)) == null ? void 0 : De.filter(de(20)),
4764
+ precision: T._5_minutes,
4765
+ interval: (De = u.utcMinute.every(5)) == null ? void 0 : De.filter(fe(20)),
4766
4766
  format: X
4767
4767
  },
4768
4768
  {
4769
- precision: S._15_minutes,
4769
+ precision: T._15_minutes,
4770
4770
  interval: (ke = u.utcMinute.every(15)) == null ? void 0 : ke.filter(J(1)),
4771
4771
  format: X
4772
4772
  },
4773
4773
  {
4774
- precision: S._30_minutes,
4774
+ precision: T._30_minutes,
4775
4775
  interval: (Oe = u.utcMinute.every(30)) == null ? void 0 : Oe.filter(J(2)),
4776
4776
  format: X
4777
4777
  },
4778
4778
  {
4779
- precision: S._1_hour,
4779
+ precision: T._1_hour,
4780
4780
  interval: u.utcHour.filter(J(6)),
4781
4781
  format: K
4782
4782
  },
4783
4783
  {
4784
- precision: S._2_hours,
4784
+ precision: T._2_hours,
4785
4785
  interval: (Ae = u.utcHour.every(2)) == null ? void 0 : Ae.filter(J(6)),
4786
4786
  format: K
4787
4787
  },
4788
4788
  {
4789
- precision: S._3_hours,
4789
+ precision: T._3_hours,
4790
4790
  interval: (Fe = u.utcHour.every(3)) == null ? void 0 : Fe.filter(J(12)),
4791
4791
  format: K
4792
4792
  },
4793
4793
  {
4794
- precision: S._4_hours,
4794
+ precision: T._4_hours,
4795
4795
  interval: u.utcHour.every(4),
4796
4796
  format: K
4797
4797
  },
4798
4798
  {
4799
- precision: S._6_hours,
4799
+ precision: T._6_hours,
4800
4800
  interval: u.utcHour.every(6),
4801
4801
  format: K
4802
4802
  },
4803
4803
  {
4804
- precision: S._1_day,
4804
+ precision: T._1_day,
4805
4805
  interval: u.utcDay,
4806
4806
  format: _e
4807
4807
  },
4808
4808
  {
4809
- precision: S._2_days,
4809
+ precision: T._2_days,
4810
4810
  interval: u.utcDay.every(2),
4811
4811
  format: _e
4812
4812
  },
4813
4813
  {
4814
- precision: S._1_month,
4814
+ precision: T._1_month,
4815
4815
  interval: u.utcMonth,
4816
4816
  format: "%B"
4817
4817
  },
4818
4818
  {
4819
- precision: S._1_month_abbr,
4819
+ precision: T._1_month_abbr,
4820
4820
  interval: u.utcMonth,
4821
4821
  format: "%b"
4822
4822
  },
4823
4823
  {
4824
- precision: S._1_month_letter,
4824
+ precision: T._1_month_letter,
4825
4825
  interval: u.utcMonth,
4826
4826
  format: (e) => u.utcFormat("%B")(e).charAt(0)
4827
4827
  },
4828
4828
  {
4829
- precision: S._3_months,
4829
+ precision: T._3_months,
4830
4830
  interval: u.utcMonth.every(3),
4831
4831
  format: "Q%q"
4832
4832
  },
4833
4833
  {
4834
- precision: S.infinity,
4834
+ precision: T.infinity,
4835
4835
  interval: u.utcMonth.every(3),
4836
4836
  format: ""
4837
4837
  }
4838
4838
  ],
4839
4839
  [te.detailedBackground]: [
4840
4840
  {
4841
- precision: S._10_seconds,
4841
+ precision: T._10_seconds,
4842
4842
  interval: u.utcSecond,
4843
4843
  format: ""
4844
4844
  },
4845
4845
  {
4846
- precision: S._20_seconds,
4846
+ precision: T._20_seconds,
4847
4847
  interval: u.utcSecond.every(5),
4848
4848
  format: ""
4849
4849
  },
4850
4850
  {
4851
- precision: S._30_seconds,
4851
+ precision: T._30_seconds,
4852
4852
  interval: u.utcSecond.every(10),
4853
4853
  format: ""
4854
4854
  },
4855
4855
  {
4856
- precision: S._1_minute,
4856
+ precision: T._1_minute,
4857
4857
  interval: u.utcSecond.every(20),
4858
4858
  format: ""
4859
4859
  },
4860
4860
  {
4861
- precision: S._2_minutes,
4861
+ precision: T._2_minutes,
4862
4862
  interval: u.utcSecond.every(30),
4863
4863
  format: ""
4864
4864
  },
4865
4865
  {
4866
- precision: S._5_minutes,
4866
+ precision: T._5_minutes,
4867
4867
  interval: u.utcMinute,
4868
4868
  format: ""
4869
4869
  },
4870
4870
  {
4871
- precision: S._15_minutes,
4871
+ precision: T._15_minutes,
4872
4872
  interval: u.utcMinute.every(3),
4873
4873
  format: ""
4874
4874
  },
4875
4875
  {
4876
- precision: S._30_minutes,
4876
+ precision: T._30_minutes,
4877
4877
  interval: u.utcMinute.every(6),
4878
4878
  format: ""
4879
4879
  },
4880
4880
  {
4881
- precision: S._1_hour,
4881
+ precision: T._1_hour,
4882
4882
  interval: u.utcMinute.every(15),
4883
4883
  format: ""
4884
4884
  },
4885
4885
  {
4886
- precision: S._2_hours,
4886
+ precision: T._2_hours,
4887
4887
  interval: u.utcMinute.every(30),
4888
4888
  format: ""
4889
4889
  },
4890
4890
  {
4891
- precision: S._3_hours,
4891
+ precision: T._3_hours,
4892
4892
  interval: u.utcHour,
4893
4893
  format: ""
4894
4894
  },
4895
4895
  {
4896
- precision: S._4_hours,
4896
+ precision: T._4_hours,
4897
4897
  interval: u.utcHour,
4898
4898
  format: ""
4899
4899
  },
4900
4900
  {
4901
- precision: S._6_hours,
4901
+ precision: T._6_hours,
4902
4902
  interval: u.utcMinute.every(120),
4903
4903
  format: ""
4904
4904
  },
4905
4905
  {
4906
- precision: S._1_day,
4906
+ precision: T._1_day,
4907
4907
  interval: u.utcHour.every(8),
4908
4908
  format: ""
4909
4909
  },
4910
4910
  {
4911
- precision: S._2_days,
4911
+ precision: T._2_days,
4912
4912
  interval: u.utcHour.every(12),
4913
4913
  format: ""
4914
4914
  },
4915
4915
  {
4916
- precision: S._1_month,
4916
+ precision: T._1_month,
4917
4917
  interval: u.utcDay.filter((e) => {
4918
4918
  const t = e.getUTCDate(), r = new Date(
4919
4919
  e.getUTCFullYear(),
@@ -4925,7 +4925,7 @@ const qt = {
4925
4925
  format: ""
4926
4926
  },
4927
4927
  {
4928
- precision: S._1_month_abbr,
4928
+ precision: T._1_month_abbr,
4929
4929
  interval: u.utcDay.filter((e) => {
4930
4930
  const t = e.getUTCDate(), r = new Date(
4931
4931
  e.getUTCFullYear(),
@@ -4937,7 +4937,7 @@ const qt = {
4937
4937
  format: ""
4938
4938
  },
4939
4939
  {
4940
- precision: S._1_month_letter,
4940
+ precision: T._1_month_letter,
4941
4941
  interval: u.utcDay.filter((e) => {
4942
4942
  const t = e.getUTCDate(), r = new Date(
4943
4943
  e.getUTCFullYear(),
@@ -4949,12 +4949,12 @@ const qt = {
4949
4949
  format: ""
4950
4950
  },
4951
4951
  {
4952
- precision: S._3_months,
4952
+ precision: T._3_months,
4953
4953
  interval: u.utcMonth,
4954
4954
  format: ""
4955
4955
  },
4956
4956
  {
4957
- precision: S.infinity,
4957
+ precision: T.infinity,
4958
4958
  interval: u.utcMonth,
4959
4959
  format: ""
4960
4960
  }
@@ -4967,8 +4967,8 @@ const qt = {
4967
4967
  return;
4968
4968
  }
4969
4969
  const n = new ResizeObserver(
4970
- (a) => {
4971
- a[0] && r(a[0]);
4970
+ (s) => {
4971
+ s[0] && r(s[0]);
4972
4972
  }
4973
4973
  );
4974
4974
  n.observe(e), e.__resizeObserver__ = n;
@@ -4981,13 +4981,19 @@ const qt = {
4981
4981
  name: "resize-observer",
4982
4982
  definition: tt
4983
4983
  }
4984
- ], y = {
4984
+ ], m = {
4985
4985
  eventGroup: "event-group",
4986
4986
  eventGroupBg: "event-group-bg",
4987
4987
  eventRect: "event-rect",
4988
+ eventBarContainer: "event-bar-container",
4989
+ eventBarContainerHovered: "event-bar-container--hovered",
4990
+ eventBarContainerSelected: "event-bar-container--selected",
4988
4991
  eventBar: "event-bar",
4992
+ eventBarHoverZone: "event-bar-hover-zone",
4989
4993
  eventBarCap: "event-bar-cap",
4990
4994
  eventRectText: "event-rect-text",
4995
+ eventRectHovered: "event-rect--hovered",
4996
+ eventRectSelected: "event-rect--selected",
4991
4997
  labelBg: "label-bg",
4992
4998
  labelBgFill: "label-bg-fill",
4993
4999
  labelText: "label-text",
@@ -5089,6 +5095,18 @@ const qt = {
5089
5095
  cursorTimestamp: {
5090
5096
  type: [String, void 0],
5091
5097
  default: void 0
5098
+ },
5099
+ selectedClass: {
5100
+ type: [String, void 0],
5101
+ default: void 0
5102
+ },
5103
+ panOnDateClick: {
5104
+ type: Boolean,
5105
+ default: !1
5106
+ },
5107
+ panTransitionDuration: {
5108
+ type: Number,
5109
+ default: 500
5092
5110
  }
5093
5111
  },
5094
5112
  data() {
@@ -5180,8 +5198,8 @@ const qt = {
5180
5198
  return Object.values(
5181
5199
  this.eventsGroups
5182
5200
  ).reduce((r, n) => {
5183
- var a;
5184
- return Math.max(r, (a = n.label) == null ? void 0 : a.length);
5201
+ var s;
5202
+ return Math.max(r, (s = n.label) == null ? void 0 : s.length);
5185
5203
  }, 0) * this.characterWidth + 2 * this.textPadding;
5186
5204
  },
5187
5205
  combinedXAxesHeight() {
@@ -5189,8 +5207,8 @@ const qt = {
5189
5207
  return this.axisHeight * e;
5190
5208
  },
5191
5209
  timelineHeight() {
5192
- const e = Object.keys(this.barGroups).length, t = this.hasChart ? this.chartHeight : 0, r = this.barChartHeight * e;
5193
- return this.combinedXAxesHeight + t + r;
5210
+ const e = Object.keys(this.barGroups).length, t = this.barChartHeight * e, r = this.hasChart ? this.chartHeight : 0;
5211
+ return this.combinedXAxesHeight + r + t;
5194
5212
  },
5195
5213
  filteredEventsGroups() {
5196
5214
  const e = Object.entries(this.eventsGroups).filter(
@@ -5293,7 +5311,7 @@ const qt = {
5293
5311
  setTimeout(this.initTimeline, 500);
5294
5312
  return;
5295
5313
  }
5296
- this.initSvg(), this.initDefs(), this.initUtcOffset(), this.initTimeScale(e, t), this.initXAxes(), this.initYScale(), this.initZoomBehavior(), this.drawEventsGroups(), this.initCurtains(), this.emitCurtainChange(), this.initSelectedTimestampCursor(), this.registerEventsListeners(), this.emitVisibleInterval(fe.initial);
5314
+ this.initSvg(), this.initDefs(), this.initUtcOffset(), this.initTimeScale(e, t), this.initXAxes(), this.initYScale(), this.initZoomBehavior(), this.drawEventsGroups(), this.initCurtains(), this.emitCurtainChange(), this.initSelectedTimestampCursor(), this.registerEventsListeners(), this.emitVisibleInterval(re.initial);
5297
5315
  },
5298
5316
  initRefs() {
5299
5317
  this.tooltip = this.$refs.tooltip, this.cursor = this.$refs.cursor, this.timeline = this.$refs.timelineContainer, this.selectedTimestampCursor = this.$refs.selectedTimestamp;
@@ -5305,9 +5323,9 @@ const qt = {
5305
5323
  const e = this.svg.append("defs");
5306
5324
  Object.entries(this.filteredEventsGroups).forEach(
5307
5325
  ([t, r]) => {
5308
- const { color: n, chartType: a } = r, o = e.append("linearGradient").attr("id", `${Y.loadingGradient}-${t}`).attr("x1", "0%").attr("y1", "0%").attr("x2", "100%").attr("y2", "0%");
5326
+ const { color: n, chartType: s } = r, o = e.append("linearGradient").attr("id", `${Y.loadingGradient}-${t}`).attr("x1", "0%").attr("y1", "0%").attr("x2", "100%").attr("y2", "0%");
5309
5327
  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"), [Z.lineGraph, Z.barChart].includes(
5310
- a
5328
+ s
5311
5329
  ) && [
5312
5330
  {
5313
5331
  id: Y.transparencyGradientLight,
@@ -5319,9 +5337,9 @@ const qt = {
5319
5337
  stop: 130,
5320
5338
  opacity: 0.4
5321
5339
  }
5322
- ].forEach(({ id: d, stop: l, opacity: s }) => {
5323
- const c = e.append("linearGradient").attr("id", `${d}-${t}`).attr("x1", "0%").attr("x2", "0%").attr("y1", "0%").attr("y2", "100%");
5324
- c.append("stop").attr("offset", "0%").style("stop-color", n).style("stop-opacity", s), c.append("stop").attr("offset", `${l}%`).style("stop-color", n).style("stop-opacity", 0);
5340
+ ].forEach(({ id: d, stop: l, opacity: a }) => {
5341
+ const f = e.append("linearGradient").attr("id", `${d}-${t}`).attr("x1", "0%").attr("x2", "0%").attr("y1", "0%").attr("y2", "100%");
5342
+ f.append("stop").attr("offset", "0%").style("stop-color", n).style("stop-opacity", a), f.append("stop").attr("offset", `${l}%`).style("stop-color", n).style("stop-opacity", 0);
5325
5343
  });
5326
5344
  }
5327
5345
  );
@@ -5339,24 +5357,24 @@ const qt = {
5339
5357
  const t = 5;
5340
5358
  for (const r in this.xAxesConfig) {
5341
5359
  const n = this.createAxis(r);
5342
- this.xAxes[r] = n, this.svg.append("g").classed(y.xAxis, !0).classed(`${y.xAxis}-${r}`, !0).attr("transform", `translate(0, ${e || t})`).call(n), this.translateTicksText(r), e += this.axisHeight;
5360
+ this.xAxes[r] = n, this.svg.append("g").classed(m.xAxis, !0).classed(`${m.xAxis}-${r}`, !0).attr("transform", `translate(0, ${e || t})`).call(n), this.translateTicksText(r), e += this.axisHeight;
5343
5361
  }
5344
5362
  },
5345
5363
  initYScale() {
5346
5364
  this.yScale = u.scaleLinear().range([this.chartHeight, 0]), this.updateYScaleDomain();
5347
5365
  },
5348
5366
  updateYScaleDomain() {
5349
- const [e, t] = this.timeScale.domain(), r = this.flattenedCounts.filter((a) => {
5350
- const o = new Date(a.startDate || a.timestamp), i = new Date(a.endDate || a.timestamp);
5367
+ const [e, t] = this.timeScale.domain(), r = this.flattenedCounts.filter((s) => {
5368
+ const o = new Date(s.startDate || s.timestamp), i = new Date(s.endDate || s.timestamp);
5351
5369
  return i >= e && i <= t || o >= e && o <= t;
5352
- }), n = u.max(r, (a) => a.count);
5370
+ }), n = u.max(r, (s) => s.count);
5353
5371
  this.yScale.domain([0, n]);
5354
5372
  },
5355
5373
  initZoomBehavior() {
5356
5374
  this.disableZoom || (this.zoomBehavior = u.zoom().on("zoom", this.handleZoom).scaleExtent([this.minZoom, this.maxZoom]), this.svg.call(this.zoomBehavior));
5357
5375
  },
5358
5376
  initSelectedTimestampCursor() {
5359
- this.svg.append("line").attr("class", y.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();
5377
+ this.svg.append("line").attr("class", m.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();
5360
5378
  },
5361
5379
  updateAndRedrawTimeline() {
5362
5380
  const { startDate: e, endDate: t } = this.getCurrentTimeBounds();
@@ -5366,7 +5384,7 @@ const qt = {
5366
5384
  this.svg && this.svg.remove(), this.countsByTimestamp = {};
5367
5385
  },
5368
5386
  repositionSelectedTimestampCursor() {
5369
- const e = this.svg.select(`.${y.selectedTimestampCursor}`);
5387
+ const e = this.svg.select(`.${m.selectedTimestampCursor}`);
5370
5388
  if (!this.selectedTimestamp) {
5371
5389
  e.style("opacity", 0);
5372
5390
  return;
@@ -5386,10 +5404,10 @@ const qt = {
5386
5404
  if (this.visibleFrom && this.visibleFrom.getTime() === t.getTime() && this.visibleTo && this.visibleTo.getTime() === r.getTime())
5387
5405
  return;
5388
5406
  this.visibleFrom = t, this.visibleTo = r;
5389
- const n = this.dateToTzString(this.visibleFrom), a = this.dateToTzString(this.visibleTo);
5407
+ const n = this.dateToTzString(this.visibleFrom), s = this.dateToTzString(this.visibleTo);
5390
5408
  this.$emit("visible-interval-change", {
5391
5409
  fromDate: n,
5392
- toDate: a,
5410
+ toDate: s,
5393
5411
  trigger: e,
5394
5412
  transform: this.transformDiff
5395
5413
  });
@@ -5400,10 +5418,10 @@ const qt = {
5400
5418
  },
5401
5419
  getAxisTicksConfig(e) {
5402
5420
  const { interval: t, format: r } = e.find(
5403
- (a) => a.precision >= this.currentTimeScaleDensity && a.interval
5421
+ (s) => s.precision >= this.currentTimeScaleDensity && s.interval
5404
5422
  );
5405
5423
  return {
5406
- formatFn: (a) => typeof r == "function" ? r(a) : u.timeFormat(r)(a),
5424
+ formatFn: (s) => typeof r == "function" ? r(s) : u.timeFormat(r)(s),
5407
5425
  interval: t
5408
5426
  };
5409
5427
  },
@@ -5417,12 +5435,12 @@ const qt = {
5417
5435
  if (!this.showLabels)
5418
5436
  return;
5419
5437
  const e = this;
5420
- this.svg.selectAll(`.${y.labelBg}`).each(function() {
5438
+ this.svg.selectAll(`.${m.labelBg}`).each(function() {
5421
5439
  u.select(this).style("fill", e.dark ? "black" : "white");
5422
- }), this.svg.selectAll(`.${y.labelBgFill}`).each(function() {
5440
+ }), this.svg.selectAll(`.${m.labelBgFill}`).each(function() {
5423
5441
  const t = u.select(this), r = t.node().dataset.color;
5424
5442
  t.style("fill", e.getLabelBackgroundColor(r)).style("stroke", e.getTextFillColor(r)).style("stroke-width", 0.25);
5425
- }), this.svg.selectAll(`.${y.labelText}`).each(function() {
5443
+ }), this.svg.selectAll(`.${m.labelText}`).each(function() {
5426
5444
  const t = u.select(this), r = t.node().dataset.color;
5427
5445
  t.style("fill", e.getTextFillColor(r));
5428
5446
  });
@@ -5451,13 +5469,13 @@ const qt = {
5451
5469
  this.$emit("date-clicked", n), this.isHoveringEvent && this.$emit("event-clicked", {
5452
5470
  event: this.hoveredEvent,
5453
5471
  type: this.hoveredEventType
5454
- });
5472
+ }), this.panOnDateClick && this.panToTimestamp(n);
5455
5473
  },
5456
5474
  handleLineMouseOver(e, t, r) {
5457
5475
  this.hoveredCounts = Object.entries(
5458
5476
  this.countsByTimestamp[`${t.timestamp}`]
5459
- ).reduce((n, a) => {
5460
- const [o, i] = a;
5477
+ ).reduce((n, s) => {
5478
+ const [o, i] = s;
5461
5479
  return [...n, { type: o, count: i }];
5462
5480
  }, []), this.hoveredEvent = t, this.isHoveringEvent = !0, this.$emit("event-mouseover", {
5463
5481
  eventData: t,
@@ -5475,20 +5493,20 @@ const qt = {
5475
5493
  this.isHoveringEvent = !1, this.hoveredEvent = null, this.$emit("event-mouseout");
5476
5494
  },
5477
5495
  handleLabelMouseOver(e) {
5478
- u.selectAll(`.${y.lineGraphGroup}-${e}`).classed(
5479
- `${y.lineGraphGroup}--highlighted`,
5496
+ u.selectAll(`.${m.lineGraphGroup}-${e}`).classed(
5497
+ `${m.lineGraphGroup}--highlighted`,
5480
5498
  !0
5481
- ), u.selectAll(`.${y.lineGraphGroup}-label`).classed(
5482
- `${y.lineGraphGroup}-label--highlighted`,
5499
+ ), u.selectAll(`.${m.lineGraphGroup}-label`).classed(
5500
+ `${m.lineGraphGroup}-label--highlighted`,
5483
5501
  !0
5484
5502
  );
5485
5503
  },
5486
5504
  handleLabelMouseLeave(e) {
5487
- u.selectAll(`.${y.lineGraphGroup}-${e}`).classed(
5488
- `${y.lineGraphGroup}--highlighted`,
5505
+ u.selectAll(`.${m.lineGraphGroup}-${e}`).classed(
5506
+ `${m.lineGraphGroup}--highlighted`,
5489
5507
  !1
5490
- ), u.selectAll(`.${y.lineGraphGroup}-label`).classed(
5491
- `${y.lineGraphGroup}-label--highlighted`,
5508
+ ), u.selectAll(`.${m.lineGraphGroup}-label`).classed(
5509
+ `${m.lineGraphGroup}-label--highlighted`,
5492
5510
  !1
5493
5511
  );
5494
5512
  },
@@ -5502,7 +5520,14 @@ const qt = {
5502
5520
  }, this.lastTransform = { ...e.transform };
5503
5521
  for (const n in this.xAxes)
5504
5522
  this.rescaleAxis(n, t), this.translateTicksText(n);
5505
- this.updateEventsBars(), this.updateLineGraphs(), this.updateBarChart(), this.updateLineGraphHoverZones(), this.repositionSelectedTimestampCursor(), this.emitVisibleInterval(fe.zoom), this.emitCurtainChange();
5523
+ this.updateEventsBars(), this.updateLineGraphs(), this.updateBarChart(), this.updateLineGraphHoverZones(), this.repositionSelectedTimestampCursor(), this.emitVisibleInterval(re.zoom), this.curtains && this.emitCurtainChange();
5524
+ },
5525
+ panToTimestamp(e) {
5526
+ const t = this.tzStringToDate(e), r = this.timeScale(t), n = u.zoomTransform(this.svg.node()), s = n.x - r + this.timeline.offsetWidth / 2;
5527
+ this.svg.transition().duration(this.panTransitionDuration).call(
5528
+ this.zoomBehavior.transform,
5529
+ u.zoomIdentity.translate(s, 0).scale(n.k)
5530
+ ), this.emitVisibleInterval(re.autoPan);
5506
5531
  },
5507
5532
  emitCurtainChange() {
5508
5533
  const { startDate: e, endDate: t } = this.calculateDateRangeFromCurtains();
@@ -5512,12 +5537,12 @@ const qt = {
5512
5537
  });
5513
5538
  },
5514
5539
  calculateDateRangeFromCurtains() {
5515
- const e = this.timeline.offsetWidth, t = this.timeScale.domain(), r = t[1].getTime() - t[0].getTime(), n = (this.leftCurtainWidth - this.curtainHandleWidth * 2) / e * r, a = (this.rightCurtainWidth + this.curtainHandleWidth * 2) / e * r, o = new Date(t[0].getTime() + n), i = new Date(t[1].getTime() - a);
5540
+ const e = this.timeline.offsetWidth, t = this.timeScale.domain(), r = t[1].getTime() - t[0].getTime(), n = (this.leftCurtainWidth - this.curtainHandleWidth * 2) / e * r, s = (this.rightCurtainWidth + this.curtainHandleWidth * 2) / e * r, o = new Date(t[0].getTime() + n), i = new Date(t[1].getTime() - s);
5516
5541
  return { startDate: o, endDate: i };
5517
5542
  },
5518
5543
  updateCurtainsOnResize(e) {
5519
- 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();
5520
- this.leftCurtainWidth = o / a * e, this.rightCurtainWidth = i / a * e, this.svg.select(`.${y.curtain}--left`).attr("width", this.leftCurtainWidth), this.svg.select(`.${y.curtain}--right`).attr(
5544
+ const { startDate: t, endDate: r } = this.calculateDateRangeFromCurtains(), n = this.timeScale.domain(), s = n[1].getTime() - n[0].getTime(), o = t.getTime() - n[0].getTime(), i = n[1].getTime() - r.getTime();
5545
+ this.leftCurtainWidth = o / s * e, this.rightCurtainWidth = i / s * e, this.svg.select(`.${m.curtain}--left`).attr("width", this.leftCurtainWidth), this.svg.select(`.${m.curtain}--right`).attr(
5521
5546
  "x",
5522
5547
  e - this.rightCurtainWidth + this.curtainHandleWidth * 2
5523
5548
  ).attr("width", this.rightCurtainWidth);
@@ -5534,7 +5559,7 @@ const qt = {
5534
5559
  e.x,
5535
5560
  this.timeline.offsetWidth - this.rightCurtainWidth
5536
5561
  );
5537
- this.leftCurtainWidth = Math.max(0, t), this.svg.select(`.${y.curtain}--left`).attr("width", this.leftCurtainWidth), this.emitCurtainChange();
5562
+ this.leftCurtainWidth = Math.max(0, t), this.svg.select(`.${m.curtain}--left`).attr("width", this.leftCurtainWidth), this.emitCurtainChange();
5538
5563
  },
5539
5564
  handleRightDrag(e) {
5540
5565
  e.sourceEvent.stopPropagation();
@@ -5542,10 +5567,10 @@ const qt = {
5542
5567
  this.timeline.offsetWidth - e.x,
5543
5568
  this.timeline.offsetWidth - this.leftCurtainWidth
5544
5569
  ), n = t - r;
5545
- this.rightCurtainWidth = Math.max(0, r), this.svg.select(`.${y.curtain}--right`).attr("width", this.rightCurtainWidth).attr("x", n), this.emitCurtainChange();
5570
+ this.rightCurtainWidth = Math.max(0, r), this.svg.select(`.${m.curtain}--right`).attr("width", this.rightCurtainWidth).attr("x", n), this.emitCurtainChange();
5546
5571
  },
5547
5572
  zoomToStartAndEndDates() {
5548
- 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];
5573
+ 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), s = this.timeline.offsetWidth, o = [r, n], i = [0, s];
5549
5574
  this.timeScale = u.scaleTime().domain(o).range(i), this.initialTimeScale = this.timeScale.copy(), this.updateCurrentTimeScaleDensity();
5550
5575
  for (const d in this.xAxes)
5551
5576
  this.rescaleAxis(d, this.timeScale), this.translateTicksText(d);
@@ -5555,31 +5580,33 @@ const qt = {
5555
5580
  const r = this.xAxes[e], n = this.getAxisTicksConfig(
5556
5581
  this.xAxesConfig[e]
5557
5582
  );
5558
- r.scale(t).ticks(n.interval).tickFormat(n.formatFn).tickSizeOuter(0), this.svg.select(`.${y.xAxis}-${e}`).call(r);
5583
+ r.scale(t).ticks(n.interval).tickFormat(n.formatFn).tickSizeOuter(0), this.svg.select(`.${m.xAxis}-${e}`).call(r);
5559
5584
  },
5560
5585
  translateTicksText(e) {
5561
- this.svg.select(`.${y.xAxis}-${e}`).selectAll(".tick text").each(function() {
5586
+ this.svg.select(`.${m.xAxis}-${e}`).selectAll(".tick text").each(function() {
5562
5587
  let t = u.select(this), r = t.node().getBBox();
5563
5588
  t.attr("x", r.height / 2).attr("y", 0).style("text-anchor", "start");
5564
5589
  });
5565
5590
  },
5566
5591
  updateEventsBars() {
5567
- const e = `.${y.eventGroup} > rect.${y.eventRect}`;
5592
+ const e = `.${m.eventGroup} > rect.${m.eventRect}`;
5568
5593
  this.svg.selectAll(e).attr("x", this.getEventRectX).attr("width", this.getEventRectWidth);
5569
- const t = `.${y.eventGroup} > text.${y.eventRectText}`;
5594
+ const t = `.${m.eventGroup} > text.${m.eventRectText}`;
5570
5595
  this.svg.selectAll(t).attr("x", (r) => this.getEventRectX(r) + this.textPadding).text(this.getEventText);
5571
5596
  },
5572
5597
  updateBarChart() {
5573
- const e = (o) => this.getEventRectX(o) + this.barXPadding, t = (o) => this.yScale(o.count), r = (o) => this.getEventRectWidth(o) - this.barXPadding * 2, n = (o) => this.yScale.range()[0] - this.yScale(o.count), a = `.${y.barChartGroup} > rect`;
5574
- this.svg.selectAll(a).attr("x", e).attr("width", r).attr("y", t), this.svg.selectAll(
5575
- `${a}:not(.${y.eventBarCap})`
5576
- ).attr("height", n);
5598
+ const e = (d) => this.getEventRectX(d) + this.barXPadding, t = (d) => this.yScale(d.count), r = (d) => this.getEventRectWidth(d) - this.barXPadding * 2, n = (d) => this.yScale.range()[0] - this.yScale(d.count), s = `.${m.barChartGroup} rect.${m.eventBarHoverZone}`;
5599
+ this.svg.selectAll(s).attr("x", e).attr("width", r);
5600
+ const o = `.${m.barChartGroup} rect.${m.eventBar}`;
5601
+ this.svg.selectAll(o).attr("x", e).attr("width", r).attr("y", t).attr("height", n);
5602
+ const i = `.${m.barChartGroup} rect.${m.eventBarCap}`;
5603
+ this.svg.selectAll(i).attr("x", e).attr("width", r).attr("y", t);
5577
5604
  },
5578
5605
  updateLineGraphs() {
5579
5606
  Object.entries(this.lineGraphGroups).forEach(([e]) => {
5580
5607
  const t = u.area().x((r) => this.timeScale(this.tzStringToDate(r.timestamp))).y0(this.timelineHeight).y1((r) => this.yScale(r.count)).curve(u.curveMonotoneX);
5581
5608
  this.svg.selectAll(
5582
- `.${y.lineGraphPath}-${e}`
5609
+ `.${m.lineGraphPath}-${e}`
5583
5610
  ).attr("d", (r) => t(r));
5584
5611
  });
5585
5612
  },
@@ -5587,11 +5614,11 @@ const qt = {
5587
5614
  Object.keys(this.lineGraphGroups).forEach((e) => {
5588
5615
  const t = this;
5589
5616
  this.svg.selectAll(
5590
- `.${y.lineGraphDot}-${e}`
5617
+ `.${m.lineGraphDot}-${e}`
5591
5618
  ).each(function(r) {
5592
5619
  u.select(this).attr("cx", t.timeScale(t.tzStringToDate(r.timestamp))).attr("cy", t.yScale(r.count));
5593
5620
  }), this.svg.selectAll(
5594
- `.${y.lineGraphHoverZone}-${e}`
5621
+ `.${m.lineGraphHoverZone}-${e}`
5595
5622
  ).each(function(r) {
5596
5623
  const n = t.timeScale(t.tzStringToDate(r.timestamp).getTime()) - 15;
5597
5624
  u.select(this).attr("x", n).attr("y", 0).attr("width", 30).attr("height", t.chartHeight);
@@ -5621,9 +5648,9 @@ const qt = {
5621
5648
  if (!this.curtains)
5622
5649
  return;
5623
5650
  const e = this.timeline.offsetWidth, t = this.timelineHeight;
5624
- this.svg.append("rect").classed(`${y.curtain} ${y.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(
5651
+ this.svg.append("rect").classed(`${m.curtain} ${m.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(
5625
5652
  u.drag().on("start", this.handleDragStart).on("drag", this.handleLeftDrag).on("end", this.handleDragEnd)
5626
- ), this.svg.append("rect").classed(`${y.curtain} ${y.curtain}--right`, !0).attr(
5653
+ ), this.svg.append("rect").classed(`${m.curtain} ${m.curtain}--right`, !0).attr(
5627
5654
  "x",
5628
5655
  e - this.rightCurtainWidth + this.curtainHandleWidth * 2
5629
5656
  ).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(
@@ -5631,39 +5658,39 @@ const qt = {
5631
5658
  );
5632
5659
  },
5633
5660
  drawEventsGroups() {
5634
- this.svg.selectAll(`g.${y.eventGroup}`).remove(), this.drawLineGraphEventsGroups(), this.drawBarEventsGroups(), this.drawBarChartEventsGroups();
5661
+ this.svg.selectAll(`g.${m.eventGroup}`).remove(), this.drawLineGraphEventsGroups(), this.drawBarEventsGroups(), this.drawBarChartEventsGroups();
5635
5662
  },
5636
5663
  drawLineGraphEventsGroups() {
5637
5664
  const e = this.combinedXAxesHeight, t = this.insertZerosAtInterval ? this.filledGapsLineGraphGroups : this.lineGraphGroups;
5638
5665
  Object.entries(t).forEach(([r, n]) => {
5639
- const a = this.svg.append("g").classed(
5640
- `${y.lineGraphGroup} ${y.lineGraphGroup}-${r}`,
5666
+ const s = this.svg.append("g").classed(
5667
+ `${m.lineGraphGroup} ${m.lineGraphGroup}-${r}`,
5641
5668
  !0
5642
5669
  ).attr("transform", `translate(0,${e})`), { color: o, events: i } = n;
5643
5670
  this.drawLineGraph({
5644
5671
  events: i,
5645
- gElement: a,
5672
+ gElement: s,
5646
5673
  color: o,
5647
5674
  type: r
5648
5675
  }), this.drawLineGraphHoverZones({
5649
5676
  events: i,
5650
- gElement: a,
5677
+ gElement: s,
5651
5678
  color: o,
5652
5679
  type: r
5653
5680
  });
5654
5681
  }), Object.entries(this.lineGraphGroups).forEach(
5655
- ([r, n], a) => {
5656
- const { color: o, isLoading: i, label: d } = n, l = this.chartHeight - this.barChartHeight * (a + 1), s = e + this.chartHeight - this.barChartHeight, c = this.svg.append("g").classed(`${y.lineGraphGroup}-label`, !0).attr("transform", `translate(0,${e})`).on("mouseover", () => this.handleLabelMouseOver(r)).on("mouseleave", () => this.handleLabelMouseLeave(r));
5682
+ ([r, n], s) => {
5683
+ const { color: o, isLoading: i, label: d } = n, l = this.chartHeight - this.barChartHeight * (s + 1), a = e + this.chartHeight - this.barChartHeight, f = this.svg.append("g").classed(`${m.lineGraphGroup}-label`, !0).attr("transform", `translate(0,${e})`).on("mouseover", () => this.handleLabelMouseOver(r)).on("mouseleave", () => this.handleLabelMouseLeave(r));
5657
5684
  this.drawProgressIndicator({
5658
5685
  type: r,
5659
5686
  color: o,
5660
5687
  isLoading: i,
5661
- yPosition: s
5688
+ yPosition: a
5662
5689
  }), this.drawTextLabel({
5663
5690
  color: o,
5664
5691
  label: d,
5665
5692
  yPosition: l,
5666
- gElement: c
5693
+ gElement: f
5667
5694
  });
5668
5695
  }
5669
5696
  );
@@ -5674,8 +5701,8 @@ const qt = {
5674
5701
  color: r,
5675
5702
  type: n
5676
5703
  }) {
5677
- const a = u.area().x((i) => this.timeScale(this.tzStringToDate(i.timestamp))).y0(this.timelineHeight).y1((i) => this.yScale(i.count)).curve(u.curveMonotoneX), o = `clip-${n}`;
5678
- t.append("defs").append("clipPath").attr("id", o).append("rect").attr("width", this.timeline.offsetWidth).attr("height", this.chartHeight), t.append("path").datum(e).classed(`${y.lineGraphPath}-${n}`, !0).attr("fill", `url(#${Y.transparencyGradientLight}-${n})`).attr("stroke", r).attr("stroke-linejoin", "round").attr("stroke-linecap", "round").attr("stroke-width", 1).attr("d", (i) => a(i)).attr("clip-path", `url(#${o})`);
5704
+ const s = u.area().x((i) => this.timeScale(this.tzStringToDate(i.timestamp))).y0(this.timelineHeight).y1((i) => this.yScale(i.count)).curve(u.curveMonotoneX), o = `clip-${n}`;
5705
+ t.append("defs").append("clipPath").attr("id", o).append("rect").attr("width", this.timeline.offsetWidth).attr("height", this.chartHeight), t.append("path").datum(e).classed(`${m.lineGraphPath}-${n}`, !0).attr("fill", `url(#${Y.transparencyGradientLight}-${n})`).attr("stroke", r).attr("stroke-linejoin", "round").attr("stroke-linecap", "round").attr("stroke-width", 1).attr("d", (i) => s(i)).attr("clip-path", `url(#${o})`);
5679
5706
  },
5680
5707
  drawLineGraphHoverZones({
5681
5708
  events: e,
@@ -5683,69 +5710,70 @@ const qt = {
5683
5710
  color: r,
5684
5711
  type: n
5685
5712
  }) {
5686
- e.forEach((a) => {
5687
- const o = `${a.timestamp}`;
5713
+ e.forEach((s) => {
5714
+ const o = `${s.timestamp}`;
5688
5715
  this.countsByTimestamp[o] = {
5689
5716
  ...this.countsByTimestamp[o] || {},
5690
- [n]: a.count
5717
+ [n]: s.count
5691
5718
  };
5692
5719
  const i = t.append("circle").classed(
5693
- `${y.lineGraphDot} ${y.lineGraphDot}-${n}`,
5720
+ `${m.lineGraphDot} ${m.lineGraphDot}-${n}`,
5694
5721
  !0
5695
- ).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);
5722
+ ).attr("cx", this.timeScale(this.tzStringToDate(s.timestamp))).attr("cy", this.yScale(s.count)).attr("r", 1.5).attr("fill", r).attr("stroke-width", 0).datum(s);
5696
5723
  this.dotsByTimestamp[o] = [
5697
5724
  ...this.dotsByTimestamp[o] || [],
5698
5725
  i
5699
- ], t.append("rect").classed(`${y.lineGraphHoverZone}-${n}`, !0).attr("x", this.timeScale(this.tzStringToDate(a.timestamp)) - 15).attr("y", 0).attr("width", 30).attr("height", this.chartHeight).attr("fill", "transparent").datum(a).on("mouseover", (d) => {
5700
- this.handleLineMouseOver(d, a, n), this.dotsByTimestamp[o].forEach(
5701
- (l) => l.classed(`${y.lineGraphDot}--active`, !0)
5726
+ ], t.append("rect").classed(`${m.lineGraphHoverZone}-${n}`, !0).attr("x", this.timeScale(this.tzStringToDate(s.timestamp)) - 15).attr("y", 0).attr("width", 30).attr("height", this.chartHeight).attr("fill", "transparent").datum(s).on("mouseover", (d) => {
5727
+ this.handleLineMouseOver(d, s, n), this.dotsByTimestamp[o].forEach(
5728
+ (l) => l.classed(`${m.lineGraphDot}--active`, !0)
5702
5729
  );
5703
5730
  }).on("mouseout", () => {
5704
5731
  this.handleLineMouseOut(), this.dotsByTimestamp[o].forEach(
5705
- (d) => d.classed(`${y.lineGraphDot}--active`, !1)
5732
+ (d) => d.classed(`${m.lineGraphDot}--active`, !1)
5706
5733
  );
5707
5734
  });
5708
5735
  });
5709
5736
  },
5710
5737
  drawBarEventsGroups() {
5711
5738
  Object.entries(this.barGroups).forEach(([e, t], r) => {
5712
- const { color: n, bgColor: a, label: o, events: i, isLoading: d } = t, l = this.hasChart ? this.chartHeight : 0, s = r * this.barChartHeight + this.combinedXAxesHeight + l;
5739
+ const { color: n, bgColor: s, label: o, events: i, isLoading: d } = t, l = this.hasChart ? this.chartHeight : 0, a = r * this.barChartHeight + this.combinedXAxesHeight + l;
5713
5740
  this.drawProgressIndicator({
5714
- yPosition: s,
5741
+ yPosition: a,
5715
5742
  type: e,
5716
5743
  color: n,
5717
5744
  isLoading: d
5718
5745
  });
5719
- const c = this.svg.append("g").attr("data-color", n).classed(y.eventGroup, !0).classed(`${y.eventGroup}-${e}`, !0);
5746
+ const f = this.svg.append("g").attr("data-color", n).classed(m.eventGroup, !0).classed(`${m.eventGroup}-${e}`, !0);
5720
5747
  this.drawBackground({
5721
- color: a || n,
5722
- gElement: c,
5723
- yPosition: s
5748
+ color: s || n,
5749
+ gElement: f,
5750
+ yPosition: a
5724
5751
  }), this.drawBars({
5725
5752
  events: i,
5726
5753
  color: n,
5727
- gElement: c,
5728
- yPosition: s,
5754
+ gElement: f,
5755
+ yPosition: a,
5729
5756
  type: e
5730
5757
  }), this.drawTextLabel({
5731
5758
  color: n,
5732
5759
  label: o,
5733
- gElement: c,
5734
- yPosition: s
5760
+ gElement: f,
5761
+ yPosition: a
5735
5762
  });
5736
5763
  });
5737
5764
  },
5738
5765
  drawBarChartEventsGroups() {
5739
5766
  const e = this.combinedXAxesHeight, t = this.barChartGroups;
5740
5767
  Object.entries(t).forEach(([r, n]) => {
5741
- const a = this.svg.append("g").classed(
5742
- `${y.barChartGroup} ${y.barChartGroup}-${r}`,
5768
+ const s = this.svg.append("g").classed(
5769
+ `${m.barChartGroup} ${m.barChartGroup}-${r}`,
5743
5770
  !0
5744
5771
  ).attr("transform", `translate(0,${e})`), { color: o, events: i } = n;
5745
5772
  this.drawBarsChart({
5746
5773
  events: i,
5747
5774
  color: o,
5748
- gElement: a,
5775
+ gElement: s,
5776
+ yOffset: e,
5749
5777
  type: r
5750
5778
  });
5751
5779
  });
@@ -5756,7 +5784,7 @@ const qt = {
5756
5784
  isLoading: r
5757
5785
  }) {
5758
5786
  this.svg.append("rect").classed(
5759
- `${y.loadingIndicator} ${y.loadingIndicator}-${t}`,
5787
+ `${m.loadingIndicator} ${m.loadingIndicator}-${t}`,
5760
5788
  !0
5761
5789
  ).attr("x", 0).attr("y", e).attr("width", this.timeline.offsetWidth / 3).attr("height", this.barChartHeight).attr("fill", `url(#${Y.loadingGradient}-${t})`).style("visibility", r ? "visible" : "hidden");
5762
5790
  },
@@ -5765,21 +5793,24 @@ const qt = {
5765
5793
  yPosition: t,
5766
5794
  gElement: r
5767
5795
  }) {
5768
- r.append("rect").attr("class", y.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);
5796
+ r.append("rect").attr("class", m.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);
5769
5797
  },
5770
5798
  drawBars({
5771
5799
  events: e,
5772
5800
  gElement: t,
5773
5801
  yPosition: r,
5774
5802
  color: n,
5775
- type: a
5803
+ type: s
5776
5804
  }) {
5777
5805
  const o = this;
5778
- t.selectAll(y.eventRect).data(e).enter().append("rect").classed(y.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, d) {
5779
- u.select(this).classed(`${y.eventRect}--hovered`, !0), o.handleBarMouseOver(i, d, a);
5806
+ t.selectAll(m.eventRect).data(e).enter().append("rect").attr(
5807
+ "class",
5808
+ (i) => m.eventRect + (i.className ? ` ${i.className}` : "")
5809
+ ).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, d) {
5810
+ u.select(this).classed(m.eventRectHovered, !0), o.handleBarMouseOver(i, d, s);
5780
5811
  }).on("mouseout", function() {
5781
- u.select(this).classed(`${y.eventRect}--hovered`, !1), o.handleBarMouseOut();
5782
- }), t.selectAll(y.eventRectText).data(e.filter((i) => !!i.text)).enter().append("text").attr("class", y.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(
5812
+ u.select(this).classed(m.eventRectHovered, !1), o.handleBarMouseOut();
5813
+ }), t.selectAll(m.eventRectText).data(e.filter((i) => !!i.text)).enter().append("text").attr("class", m.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(
5783
5814
  "fill",
5784
5815
  (i) => this.getTextFillColor(i.color || n, 0.75)
5785
5816
  ).text(this.getEventText);
@@ -5788,19 +5819,38 @@ const qt = {
5788
5819
  events: e,
5789
5820
  gElement: t,
5790
5821
  color: r,
5791
- type: n
5822
+ yOffset: n,
5823
+ type: s
5792
5824
  }) {
5793
- const a = this, o = (s) => this.getEventRectX(s) + this.barXPadding, i = (s) => this.yScale(s.count), d = (s) => this.getEventRectWidth(s) - this.barXPadding * 2, l = (s) => this.yScale.range()[0] - this.yScale(s.count);
5794
- t.selectAll(y.eventBar).data(e).enter().append("rect").classed(y.eventBar, !0).attr("x", o).attr("y", i).attr("width", d).attr("height", l).attr("stroke-width", 5).attr("cursor", "pointer").attr("stroke", "#0000").attr(
5795
- "fill",
5796
- (s) => s.color || `url(#${Y.transparencyGradient}-${n})`
5797
- ).on("mouseover", function(s, c) {
5798
- const g = u.select(this);
5799
- g.classed(`${y.eventBar}--hovered`, !0), g.attr("fill", s.color || r), g.attr("fill-opacity", 0.5), a.handleBarMouseOver(s, c, n);
5825
+ const o = this, i = (c) => this.getEventRectX(c) + this.barXPadding, d = (c) => this.yScale(c.count), l = (c) => this.getEventRectWidth(c) - this.barXPadding * 2, a = (c) => this.yScale.range()[0] - this.yScale(c.count), f = t.selectAll(m.eventBarContainer).data(e).enter().append("g").attr("class", m.eventBarContainer);
5826
+ f.append("rect").attr(
5827
+ "class",
5828
+ (c) => m.eventBarHoverZone + (c.className ? ` ${c.className}` : "")
5829
+ ).attr("x", i).attr("y", -n).attr("width", l).attr("height", this.yScale.range()[0] + n).attr("fill", (c) => c.color || r).attr("fill-opacity", 0), f.append("rect").attr(
5830
+ "class",
5831
+ (c) => m.eventBar + (c.className ? ` ${c.className}` : "")
5832
+ ).attr("x", i).attr("y", d).attr("width", l).attr("height", a).attr("stroke-width", 5).attr("cursor", "pointer").attr("stroke", "#0000").attr("fill", `url(#${Y.transparencyGradient}-${s})`), f.append("rect").attr(
5833
+ "class",
5834
+ (c) => m.eventBarCap + (c.className ? ` ${c.className}` : "")
5835
+ ).attr("x", i).attr("y", d).attr("width", l).attr("height", 2).attr("stroke-width", 0).style("fill", (c) => c.color || r), f.on("mouseover", function(c, p) {
5836
+ const C = u.select(this);
5837
+ o.onBarChartBarMouseOver(C, s, r), o.handleBarMouseOver(c, p, s);
5800
5838
  }).on("mouseout", function() {
5801
- const s = u.select(this);
5802
- s.attr("fill", `url(#${Y.transparencyGradient}-${n})`), s.attr("fill-opacity", 1), s.classed(`${y.eventBar}--hovered`, !1), a.handleBarMouseOut();
5803
- }), t.selectAll(y.eventBarCap).data(e).enter().append("rect").classed(y.eventBarCap, !0).attr("x", o).attr("y", i).attr("width", d).attr("height", 2).attr("stroke-width", 0).style("fill", (s) => s.color || r);
5839
+ const c = u.select(this);
5840
+ o.onBarChartBarMouseOut(c, s), o.handleBarMouseOut();
5841
+ }).on("click", function() {
5842
+ t.selectAll(`.${m.eventBarContainerSelected}`).classed(m.eventBarContainerSelected, !1), u.select(this).classed(m.eventBarContainerSelected, !0);
5843
+ });
5844
+ },
5845
+ onBarChartBarMouseOver(e, t, r) {
5846
+ e.classed(m.eventBarContainerHovered, !0), e.selectAll(`.${m.eventBarHoverZone}`).attr("fill-opacity", 0.2);
5847
+ const s = e.selectAll(`.${m.eventBar}`);
5848
+ s.attr("fill", r), s.attr("fill-opacity", 0.5);
5849
+ },
5850
+ onBarChartBarMouseOut(e, t) {
5851
+ e.classed(m.eventBarContainerHovered, !0), e.selectAll(`.${m.eventBarHoverZone}`).attr("fill-opacity", 0);
5852
+ const n = e.selectAll(`.${m.eventBar}`);
5853
+ n.attr("fill", `url(#${Y.transparencyGradient}-${t})`), n.attr("fill-opacity", 1);
5804
5854
  },
5805
5855
  drawTextLabel({
5806
5856
  gElement: e,
@@ -5810,14 +5860,14 @@ const qt = {
5810
5860
  }) {
5811
5861
  if (!this.showLabels)
5812
5862
  return;
5813
- const a = {
5863
+ const s = {
5814
5864
  x: -5,
5815
5865
  y: t,
5816
5866
  w: this.labelRectWidth,
5817
5867
  h: this.barChartHeight,
5818
5868
  radius: 3
5819
5869
  };
5820
- e.append("rect").attr("class", y.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", y.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", y.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);
5870
+ e.append("rect").attr("class", m.labelBg).attr("data-color", r).attr("x", s.x).attr("y", s.y).attr("width", s.w).attr("height", s.h).attr("rx", s.radius).attr("ry", s.radius).style("fill", this.dark ? "#131a29" : "white"), e.append("rect").attr("class", m.labelBgFill).attr("data-color", r).attr("x", s.x).attr("y", s.y).attr("width", s.w).attr("height", s.h).attr("rx", s.radius).attr("ry", s.radius).style("fill", this.getLabelBackgroundColor(r)).style("stroke", this.getTextFillColor(r)).style("stroke-width", 0.25), e.append("text").attr("class", m.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);
5821
5871
  },
5822
5872
  getTextFillColor(e, t = 0) {
5823
5873
  var r, n;
@@ -5845,26 +5895,26 @@ const qt = {
5845
5895
  if (e.length <= 1)
5846
5896
  return e;
5847
5897
  const t = this.insertZerosAtInterval, r = (o) => o.clone().add(1, t), n = (o) => o.clone().subtract(1, t);
5848
- let a = [];
5898
+ let s = [];
5849
5899
  for (let o = 0; o < e.length; o++) {
5850
5900
  const i = e[o];
5851
- if (a.push(i), o === e.length - 1)
5901
+ if (s.push(i), o === e.length - 1)
5852
5902
  break;
5853
- const d = e[o + 1], l = V(i.timestamp), s = V(d.timestamp);
5854
- if (s.diff(l, t) > 1) {
5855
- const c = r(l).toISOString(), g = n(s).toISOString();
5856
- a.push({ timestamp: c, count: 0 }), c !== g && a.push({ timestamp: g, count: 0 });
5903
+ const d = e[o + 1], l = V(i.timestamp), a = V(d.timestamp);
5904
+ if (a.diff(l, t) > 1) {
5905
+ const f = r(l).toISOString(), c = n(a).toISOString();
5906
+ s.push({ timestamp: f, count: 0 }), f !== c && s.push({ timestamp: c, count: 0 });
5857
5907
  }
5858
5908
  }
5859
5909
  if (this.flattenLineGraphEnds) {
5860
5910
  const o = V(e[0].timestamp), i = V(e[e.length - 1].timestamp), d = n(o).toISOString(), l = r(i).toISOString();
5861
- a = [
5911
+ s = [
5862
5912
  { timestamp: d, count: 0 },
5863
- ...a,
5913
+ ...s,
5864
5914
  { timestamp: l, count: 0 }
5865
5915
  ];
5866
5916
  }
5867
- return a;
5917
+ return s;
5868
5918
  },
5869
5919
  fillEvents(e) {
5870
5920
  return this.placeholderLineChartGroup.map((t) => e.find(
@@ -5883,8 +5933,8 @@ var Kt = function() {
5883
5933
  !cursorTimestamp
5884
5934
  ` }], 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) + " ")])];
5885
5935
  }, { 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() {
5886
- 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) {
5887
- return r("div", { key: a }, [r("strong", [t._v(t._s(n.type) + " Count")]), t._v(": " + t._s(n.count) + " ")]);
5936
+ 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, s) {
5937
+ return r("div", { key: s }, [r("strong", [t._v(t._s(n.type) + " Count")]), t._v(": " + t._s(n.count) + " ")]);
5888
5938
  })], 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()];
5889
5939
  }, { event: t.hoveredEvent, counts: t.hoveredCounts, active: t.isHoveringEvent && !t.isInteractingWithCurtain, type: t.hoveredEventType })], 2)]);
5890
5940
  }, Jt = [], Qt = /* @__PURE__ */ I(
@@ -5970,7 +6020,7 @@ const sr = ir.exports, Se = {
5970
6020
  EIcon: Tt,
5971
6021
  ESpinner: Qe,
5972
6022
  ERow: Pt,
5973
- ECol: Bt,
6023
+ ECol: Gt,
5974
6024
  EVideoPlayer: Xt,
5975
6025
  ETimeline: er,
5976
6026
  EVideoEmbed: sr
@@ -5987,12 +6037,12 @@ export {
5987
6037
  ur as AvatarSizes,
5988
6038
  cr as BadgeColors,
5989
6039
  lr as BadgeSizes,
5990
- B as BaseColor,
6040
+ G as BaseColor,
5991
6041
  bt as Colors,
5992
6042
  Yt as DirectivesMap,
5993
6043
  ct as EAvatar,
5994
6044
  Me as EBadge,
5995
- Bt as ECol,
6045
+ Gt as ECol,
5996
6046
  Tt as EIcon,
5997
6047
  Pt as ERow,
5998
6048
  Qe as ESpinner,
@@ -6002,11 +6052,11 @@ export {
6002
6052
  Xt as EVideoPlayer,
6003
6053
  xt as IconSizes,
6004
6054
  tt as ResizeObserverDirective,
6005
- T as Size,
6055
+ E as Size,
6006
6056
  yt as TextSizes,
6007
6057
  te as TimelineAxis,
6008
6058
  Z as TimelineChartType,
6009
- fe as TimelineIntervalChangeTrigger,
6059
+ re as TimelineIntervalChangeTrigger,
6010
6060
  Se as components,
6011
6061
  Wt as debounce,
6012
6062
  fr as default,