@adyen/lume 0.2.1 → 0.3.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,7 +1,7 @@
1
- import q, { isRef as Ut, reactive as it, computed as d, ref as $, watch as P, defineComponent as k, toRefs as w, onMounted as H, onBeforeUnmount as qt, watchEffect as Yt, useSlots as j, defineAsyncComponent as mt } from "vue";
2
- import { sankeyLinkHorizontal as ye, sankey as be, sankeyJustify as Te } from "d3-sankey";
3
- import { format as Ae, ticks as Oe, scaleBand as J, scaleLinear as Q, line as xe, area as Le } from "d3";
4
- import { createPopper as $e } from "@popperjs/core";
1
+ import q, { isRef as Kt, reactive as it, computed as d, ref as L, watch as R, defineComponent as k, toRefs as S, onMounted as H, onBeforeUnmount as Jt, watchEffect as Qt, useSlots as j, defineAsyncComponent as ht } from "vue";
2
+ import { sankeyLinkHorizontal as Oe, sankey as xe, sankeyJustify as Le } from "d3-sankey";
3
+ import { format as $e, ticks as ke, scaleBand as J, scaleLinear as Q, line as we, area as Se } from "d3";
4
+ import { createPopper as Ce } from "@popperjs/core";
5
5
  function rt(e) {
6
6
  return typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? rt = function(t) {
7
7
  return typeof t;
@@ -9,35 +9,35 @@ function rt(e) {
9
9
  return t && typeof Symbol == "function" && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : typeof t;
10
10
  }, rt(e);
11
11
  }
12
- function ke(e) {
13
- return Se(e) || we(e) || Ce();
12
+ function Ie(e) {
13
+ return Re(e) || Pe(e) || De();
14
14
  }
15
- function Se(e) {
15
+ function Re(e) {
16
16
  if (Array.isArray(e)) {
17
17
  for (var t = 0, r = new Array(e.length); t < e.length; t++)
18
18
  r[t] = e[t];
19
19
  return r;
20
20
  }
21
21
  }
22
- function we(e) {
22
+ function Pe(e) {
23
23
  if (Symbol.iterator in Object(e) || Object.prototype.toString.call(e) === "[object Arguments]")
24
24
  return Array.from(e);
25
25
  }
26
- function Ce() {
26
+ function De() {
27
27
  throw new TypeError("Invalid attempt to spread non-iterable instance");
28
28
  }
29
29
  var nt = typeof window < "u";
30
- function Ie(e) {
30
+ function Ee(e) {
31
31
  return Array.isArray(e) || rt(e) === "object" ? Object.freeze(e) : e;
32
32
  }
33
- function De(e) {
33
+ function Ne(e) {
34
34
  var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
35
35
  return e.reduce(function(r, n) {
36
36
  var a = n.passengers[0], o = typeof a == "function" ? a(t) : n.passengers;
37
37
  return r.concat(o);
38
38
  }, []);
39
39
  }
40
- function Re(e, t) {
40
+ function Be(e, t) {
41
41
  return e.map(function(r, n) {
42
42
  return [n, r];
43
43
  }).sort(function(r, n) {
@@ -46,17 +46,17 @@ function Re(e, t) {
46
46
  return r[1];
47
47
  });
48
48
  }
49
- function Pt(e, t) {
49
+ function Nt(e, t) {
50
50
  return t.reduce(function(r, n) {
51
51
  return e.hasOwnProperty(n) && (r[n] = e[n]), r;
52
52
  }, {});
53
53
  }
54
- var Kt = {}, Pe = {}, Ee = {}, Ne = q.extend({
54
+ var te = {}, He = {}, je = {}, Ve = q.extend({
55
55
  data: function() {
56
56
  return {
57
- transports: Kt,
58
- targets: Pe,
59
- sources: Ee,
57
+ transports: te,
58
+ targets: He,
59
+ sources: je,
60
60
  trackInstances: nt
61
61
  };
62
62
  },
@@ -68,13 +68,13 @@ var Kt = {}, Pe = {}, Ee = {}, Ne = q.extend({
68
68
  var i = {
69
69
  to: r,
70
70
  from: n,
71
- passengers: Ie(a),
71
+ passengers: Ee(a),
72
72
  order: s
73
73
  }, l = Object.keys(this.transports);
74
74
  l.indexOf(r) === -1 && q.set(this.transports, r, []);
75
75
  var u = this.$_getTransportIndex(i), c = this.transports[r].slice(0);
76
- u === -1 ? c.push(i) : c[u] = i, this.transports[r] = Re(c, function(p, _) {
77
- return p.order - _.order;
76
+ u === -1 ? c.push(i) : c[u] = i, this.transports[r] = Be(c, function(f, _) {
77
+ return f.order - _.order;
78
78
  });
79
79
  }
80
80
  }
@@ -121,7 +121,7 @@ var Kt = {}, Pe = {}, Ee = {}, Ne = q.extend({
121
121
  return -1;
122
122
  }
123
123
  }
124
- }), I = new Ne(Kt), Be = 1, Ot = q.extend({
124
+ }), I = new Ve(te), Fe = 1, Lt = q.extend({
125
125
  name: "portal",
126
126
  props: {
127
127
  disabled: {
@@ -130,7 +130,7 @@ var Kt = {}, Pe = {}, Ee = {}, Ne = q.extend({
130
130
  name: {
131
131
  type: String,
132
132
  default: function() {
133
- return String(Be++);
133
+ return String(Fe++);
134
134
  }
135
135
  },
136
136
  order: {
@@ -197,7 +197,7 @@ var Kt = {}, Pe = {}, Ee = {}, Ne = q.extend({
197
197
  var r = {
198
198
  from: this.name,
199
199
  to: this.to,
200
- passengers: ke(t),
200
+ passengers: Ie(t),
201
201
  order: this.order
202
202
  };
203
203
  I.open(r);
@@ -217,7 +217,7 @@ var Kt = {}, Pe = {}, Ee = {}, Ne = q.extend({
217
217
  key: "v-portal-placeholder"
218
218
  });
219
219
  }
220
- }), xt = q.extend({
220
+ }), $t = q.extend({
221
221
  name: "portalTarget",
222
222
  props: {
223
223
  multiple: {
@@ -281,7 +281,7 @@ var Kt = {}, Pe = {}, Ee = {}, Ne = q.extend({
281
281
  return this.multiple ? t : t.length === 0 ? [] : [t[t.length - 1]];
282
282
  },
283
283
  passengers: function() {
284
- return De(this.ownTransports, this.slotProps);
284
+ return Ne(this.ownTransports, this.slotProps);
285
285
  }
286
286
  },
287
287
  methods: {
@@ -304,7 +304,7 @@ var Kt = {}, Pe = {}, Ee = {}, Ne = q.extend({
304
304
  }
305
305
  }, n);
306
306
  }
307
- }), He = 0, je = ["disabled", "name", "order", "slim", "slotProps", "tag", "to"], Ve = ["multiple", "transition"];
307
+ }), Ge = 0, Me = ["disabled", "name", "order", "slim", "slotProps", "tag", "to"], ze = ["multiple", "transition"];
308
308
  q.extend({
309
309
  name: "MountingPortal",
310
310
  inheritAttrs: !1,
@@ -325,7 +325,7 @@ q.extend({
325
325
  name: {
326
326
  type: String,
327
327
  default: function() {
328
- return "mounted_" + String(He++);
328
+ return "mounted_" + String(Ge++);
329
329
  }
330
330
  },
331
331
  order: {
@@ -390,8 +390,8 @@ q.extend({
390
390
  var a = typeof n == "string" ? n : "DIV", o = document.createElement(a);
391
391
  t.appendChild(o), t = o;
392
392
  }
393
- var s = Pt(this.$props, Ve);
394
- s.slim = this.targetSlim, s.tag = this.targetTag, s.slotProps = this.targetSlotProps, s.name = this.to, this.portalTarget = new xt({
393
+ var s = Nt(this.$props, ze);
394
+ s.slim = this.targetSlim, s.tag = this.targetTag, s.slotProps = this.targetSlotProps, s.name = this.to, this.portalTarget = new $t({
395
395
  el: t,
396
396
  parent: this.$parent || this,
397
397
  propsData: s
@@ -410,8 +410,8 @@ q.extend({
410
410
  if (!this.portalTarget)
411
411
  return console.warn("[portal-vue] Target wasn't mounted"), t();
412
412
  if (!this.$scopedSlots.manual) {
413
- var r = Pt(this.$props, je);
414
- return t(Ot, {
413
+ var r = Nt(this.$props, Me);
414
+ return t(Lt, {
415
415
  props: r,
416
416
  attrs: this.$attrs,
417
417
  on: this.$listeners,
@@ -424,11 +424,11 @@ q.extend({
424
424
  return Array.isArray(n) && (n = n[0]), n || t();
425
425
  }
426
426
  });
427
- var E = /* @__PURE__ */ ((e) => (e.Skyblue = "skyblue", e.Royalblue = "royalblue", e.Violet = "violet", e.Darkteal = "darkteal", e.Gold = "gold", e))(E || {}), Lt = /* @__PURE__ */ ((e) => (e.SkyTeal = "skyblue-darkteal", e.VioletRoyal = "violet-royalblue", e.VioletTeal = "violet-darkteal", e.GoldTeal = "gold-darkteal", e.GoldRoyal = "gold-royalblue", e))(Lt || {}), Jt = /* @__PURE__ */ ((e) => (e.Grey = "grey", e.Green = "green", e.Orange = "orange", e.Red = "red", e))(Jt || {}), $t = /* @__PURE__ */ ((e) => (e["01"] = "01", e["02"] = "02", e["03"] = "03", e["04"] = "04", e["05"] = "05", e["06"] = "06", e["07"] = "07", e["08"] = "08", e["09"] = "09", e))($t || {});
427
+ var E = /* @__PURE__ */ ((e) => (e.Skyblue = "skyblue", e.Royalblue = "royalblue", e.Violet = "violet", e.Darkteal = "darkteal", e.Gold = "gold", e))(E || {}), kt = /* @__PURE__ */ ((e) => (e.SkyTeal = "skyblue-darkteal", e.VioletRoyal = "violet-royalblue", e.VioletTeal = "violet-darkteal", e.GoldTeal = "gold-darkteal", e.GoldRoyal = "gold-royalblue", e))(kt || {}), ee = /* @__PURE__ */ ((e) => (e.Grey = "grey", e.Green = "green", e.Orange = "orange", e.Red = "red", e))(ee || {}), wt = /* @__PURE__ */ ((e) => (e["01"] = "01", e["02"] = "02", e["03"] = "03", e["04"] = "04", e["05"] = "05", e["06"] = "06", e["07"] = "07", e["08"] = "08", e["09"] = "09", e))(wt || {});
428
428
  const b = {
429
429
  HORIZONTAL: "horizontal",
430
430
  VERTICAL: "vertical"
431
- }, Fe = {
431
+ }, We = {
432
432
  SINGLE: "single",
433
433
  GROUPED: "grouped",
434
434
  STACKED: "stacked"
@@ -445,7 +445,7 @@ const b = {
445
445
  bottom: 28,
446
446
  left: 24
447
447
  }
448
- }, Qt = "No data", Ge = 20, Me = 0.33, ze = 0.5, We = 1, Ze = [
448
+ }, ne = "No data", Ze = 20, Xe = 0.33, Ue = 0.5, qe = 1, Ye = [
449
449
  "auto",
450
450
  "auto-start",
451
451
  "auto-end",
@@ -463,36 +463,36 @@ const b = {
463
463
  "left-end"
464
464
  ];
465
465
  var F = /* @__PURE__ */ ((e) => (e.Categorical = "categorical", e.Sequential = "sequential", e.Divergent = "divergent", e))(F || {});
466
- function te() {
466
+ function re() {
467
467
  return process.env.NODE_ENV === "production";
468
468
  }
469
- function ee(e) {
469
+ function ae(e) {
470
470
  return (e == null ? void 0 : e.map(
471
471
  (t) => t.values.map((r) => r == null ? void 0 : r.value).flat()
472
472
  ).flat()) || [];
473
473
  }
474
- function kt(e) {
474
+ function St(e) {
475
475
  return e.length === 1;
476
476
  }
477
- function ht(e) {
477
+ function mt(e) {
478
478
  return !!e && typeof e == "object" && !Array.isArray(e);
479
479
  }
480
- function ne(e, t) {
480
+ function oe(e, t) {
481
481
  const r = { ...e };
482
482
  return Object.entries(t).forEach(([n, a]) => {
483
- r[n] = ht(e[n]) && ht(a) ? ne(e[n], a) : a;
483
+ r[n] = mt(e[n]) && mt(a) ? oe(e[n], a) : a;
484
484
  }), r;
485
485
  }
486
- function Xe(e) {
487
- return e != null && ht(e) && "value" in e;
486
+ function Ke(e) {
487
+ return e != null && mt(e) && "value" in e;
488
488
  }
489
489
  function M(e) {
490
490
  return (e == null ? void 0 : e.bandwidth) !== void 0;
491
491
  }
492
- function St(e) {
492
+ function Ct(e) {
493
493
  return M(e) ? e.bandwidth() : Math.max(...e.range()) / Math.max(...e.domain());
494
494
  }
495
- const Ue = (e, t) => {
495
+ const Je = (e, t) => {
496
496
  if (!e)
497
497
  throw new Error("Data is not a valid array");
498
498
  if (e.length === 0)
@@ -502,17 +502,17 @@ const Ue = (e, t) => {
502
502
  throw new Error("Index exceeds length of at least one of the datasets");
503
503
  });
504
504
  };
505
- function re(e, t) {
505
+ function Qe(e, t) {
506
506
  var r;
507
- return Ue(e, t), ((r = e.reduce(
507
+ return Je(e, t), ((r = e.reduce(
508
508
  (n, a) => {
509
509
  var o, s, i, l;
510
510
  return ((s = (o = n.values[t]) == null ? void 0 : o.value) != null ? s : 0) > ((l = (i = a.values[t]) == null ? void 0 : i.value) != null ? l : 0) ? n : a;
511
511
  }
512
512
  ).values[t]) == null ? void 0 : r.value) || 0;
513
513
  }
514
- function ot(e) {
515
- const t = Ut(e) ? e.value : e;
514
+ function gt(e) {
515
+ const t = Kt(e) ? e.value : e;
516
516
  if (!t)
517
517
  throw new Error("No empty array can be created from specified data value");
518
518
  const r = Math.max(
@@ -521,13 +521,13 @@ function ot(e) {
521
521
  );
522
522
  return Array(r).fill(null);
523
523
  }
524
- function qe(e) {
524
+ function tn(e) {
525
525
  return M(e) ? e.domain().length : Math.max(...e.domain());
526
526
  }
527
- function Ye(e, t) {
527
+ function en(e, t) {
528
528
  return (r) => Math.round(e * (1 - r) + t * r);
529
529
  }
530
- function Ke(e, t, r) {
530
+ function nn(e, t, r) {
531
531
  const n = r ? e.length - t : t, a = e.slice(0, n);
532
532
  return e.slice(n).concat(a);
533
533
  }
@@ -541,61 +541,61 @@ function z(e) {
541
541
  }
542
542
  return e;
543
543
  }
544
- const Je = (e = 21) => crypto.getRandomValues(new Uint8Array(e)).reduce(
544
+ const rn = (e = 21) => crypto.getRandomValues(new Uint8Array(e)).reduce(
545
545
  (t, r) => t += (r &= 63) < 36 ? r.toString(36) : r < 62 ? (r - 26).toString(36).toUpperCase() : r > 62 ? "-" : "_",
546
546
  ""
547
547
  );
548
548
  var tt = /* @__PURE__ */ ((e) => (e.DatasetLength = `Our guidelines highly recommend not having more than 5 datasets in one chart.
549
549
  Learn more: https://lume.design/guidelines/datasets`, e.ColorLoop = "Colors will loop around after the 5th dataset. You can prevent this by setting specific colors for your datasets.", e.InvalidFormat = "The string provided to format is invalid. Please refer to https://github.com/d3/d3-format for valid arguments.", e.NotContainedInSvg = "This component is an `SVGElement`, thus it is required to be inside an `<svg>` container.", e))(tt || {});
550
- const Qe = "[lume] ";
550
+ const an = "[lume] ";
551
551
  function ut(e, t = !0) {
552
- t && te() || console.warn(Qe + "Warning: " + e);
552
+ t && re() || console.warn(an + "Warning: " + e);
553
553
  }
554
- const tn = F.Categorical, lt = E.Skyblue, en = Lt.SkyTeal;
555
- function nn(e) {
556
- return e === F.Divergent ? en : lt;
554
+ const on = F.Categorical, lt = E.Skyblue, sn = kt.SkyTeal;
555
+ function un(e) {
556
+ return e === F.Divergent ? sn : lt;
557
557
  }
558
- function rn(e) {
559
- return Object.values($t).includes(e);
558
+ function ln(e) {
559
+ return Object.values(wt).includes(e);
560
560
  }
561
- function Et(e, t) {
562
- return t === F.Divergent ? Object.values(Lt).includes(e) : Object.values({ ...E, ...Jt, ...$t }).includes(
561
+ function Bt(e, t) {
562
+ return t === F.Divergent ? Object.values(kt).includes(e) : Object.values({ ...E, ...ee, ...wt }).includes(
563
563
  e
564
564
  );
565
565
  }
566
- function an(e, t) {
566
+ function cn(e, t) {
567
567
  const r = Object.values(E).indexOf(e);
568
- return Ke(Object.values(E), r > -1 ? r : 0)[t];
568
+ return nn(Object.values(E), r > -1 ? r : 0)[t];
569
569
  }
570
- function on(e, t) {
570
+ function dn(e, t) {
571
571
  const r = 50 + t * 10;
572
572
  return `${e}-${r}`;
573
573
  }
574
- function sn(e, t) {
574
+ function pn(e, t) {
575
575
  const r = (t + 1) * 10;
576
576
  return `${e}-${r}`;
577
577
  }
578
- function Nt(e, t, r) {
578
+ function Ht(e, t, r) {
579
579
  switch (t) {
580
580
  default:
581
581
  case F.Categorical:
582
- return rn(e) ? e : an(e, r);
582
+ return ln(e) ? e : cn(e, r);
583
583
  case F.Sequential:
584
- return on(e, r);
584
+ return dn(e, r);
585
585
  case F.Divergent:
586
- return sn(e, r);
586
+ return pn(e, r);
587
587
  }
588
588
  }
589
- function un(e, t, r = tn, n) {
590
- return Et(e, r) ? e : (n > 4 && (ut(tt.ColorLoop), n = n % 5), Et(t, r) ? Nt(t, r, n) : Nt(nn(r), r, n));
589
+ function fn(e, t, r = on, n) {
590
+ return Bt(e, r) ? e : (n > 4 && (ut(tt.ColorLoop), n = n % 5), Bt(t, r) ? Ht(t, r, n) : Ht(un(r), r, n));
591
591
  }
592
- function ln(e) {
593
- return e.map((t) => Xe(t) ? t : { value: t });
592
+ function vn(e) {
593
+ return e.map((t) => Ke(t) ? t : { value: t });
594
594
  }
595
- function cn(e) {
595
+ function _n(e) {
596
596
  return e.__internal === !0;
597
597
  }
598
- const ae = (e = null) => ({
598
+ const se = (e = null) => ({
599
599
  data: {
600
600
  type: Array,
601
601
  required: !0,
@@ -614,30 +614,30 @@ function ct(e, t, r, n, a) {
614
614
  const o = it({
615
615
  width: 0,
616
616
  height: 0
617
- }), s = Je(12), i = d(() => {
617
+ }), s = rn(12), i = d(() => {
618
618
  var c;
619
619
  return e.value.length > 5 && ut(tt.DatasetLength), (c = e.value) == null ? void 0 : c.map(
620
- (p, _) => {
621
- if (cn(p))
622
- return p;
623
- const h = ln(p.values), f = un(
624
- p.color,
620
+ (f, _) => {
621
+ if (_n(f))
622
+ return f;
623
+ const m = vn(f.values), p = fn(
624
+ f.color,
625
625
  r == null ? void 0 : r.value,
626
626
  n == null ? void 0 : n.value.colorPalette,
627
627
  _
628
628
  );
629
629
  return {
630
- ...p,
631
- values: h,
632
- color: f,
630
+ ...f,
631
+ values: m,
632
+ color: p,
633
633
  __internal: !0
634
634
  };
635
635
  }
636
636
  );
637
- }), l = d(() => Array.isArray(t.value) ? t.value : ot(e.value).map((c, p) => p));
637
+ }), l = d(() => Array.isArray(t.value) ? t.value : gt(e.value).map((c, f) => f));
638
638
  function u(c) {
639
- const p = (a == null ? void 0 : a.value) === b.HORIZONTAL ? ot(e).length * (Ge * 2) : c.height;
640
- o.width = c.width, o.height = p;
639
+ const f = (a == null ? void 0 : a.value) === b.HORIZONTAL ? gt(e).length * (Ze * 2) : c.height;
640
+ o.width = c.width, o.height = f;
641
641
  }
642
642
  return {
643
643
  chartID: s,
@@ -647,12 +647,12 @@ function ct(e, t, r, n, a) {
647
647
  updateSize: u
648
648
  };
649
649
  }
650
- const wt = (e) => {
650
+ const It = (e) => {
651
651
  let t = null;
652
652
  switch (typeof e) {
653
653
  case "string":
654
654
  try {
655
- t = Ae(e);
655
+ t = $e(e);
656
656
  } catch {
657
657
  ut(tt.InvalidFormat), t = null;
658
658
  }
@@ -667,7 +667,7 @@ const wt = (e) => {
667
667
  return t ? t(n) : n;
668
668
  }
669
669
  return r;
670
- }, pt = () => ({
670
+ }, dt = () => ({
671
671
  options: {
672
672
  type: Object,
673
673
  default: () => ({})
@@ -675,21 +675,21 @@ const wt = (e) => {
675
675
  });
676
676
  function N(e, t) {
677
677
  return { allOptions: d(() => {
678
- const n = Ut(t) ? t == null ? void 0 : t.value : t;
679
- return n ? ne(n, e.value) : e.value;
678
+ const n = Kt(t) ? t == null ? void 0 : t.value : t;
679
+ return n ? oe(n, e.value) : e.value;
680
680
  }) };
681
681
  }
682
- const pn = 0.15;
683
- function dn(e, t, r) {
684
- const n = $(), a = d(() => Math.max(...e.value.range())), o = d(() => t.value.length);
682
+ const hn = 0.15;
683
+ function mn(e, t, r) {
684
+ const n = L(), a = d(() => Math.max(...e.value.range())), o = d(() => t.value.length);
685
685
  function s() {
686
686
  if (!t.value)
687
687
  return;
688
688
  const l = t.value.reduce(
689
- (c, p) => c + p.getBoundingClientRect().width,
689
+ (c, f) => c + f.getBoundingClientRect().width,
690
690
  0
691
691
  ), u = Math.ceil(l / o.value);
692
- n.value = u + u * pn;
692
+ n.value = u + u * hn;
693
693
  }
694
694
  function i(l) {
695
695
  if (!t.value)
@@ -697,29 +697,29 @@ function dn(e, t, r) {
697
697
  const u = t.value.length;
698
698
  if (l === 0)
699
699
  return !0;
700
- const c = a.value / u, p = typeof r == "number" && r > 0 && r + 1 || Math.ceil(n.value / c);
701
- return l % p === 0;
700
+ const c = a.value / u, f = typeof r == "number" && r > 0 && r + 1 || Math.ceil(n.value / c);
701
+ return l % f === 0;
702
702
  }
703
- return P(t, s), { showTick: i };
703
+ return R(t, s), { showTick: i };
704
704
  }
705
- function dt(e) {
705
+ function pt(e) {
706
706
  e != null && e.closest("svg") || ut(tt.NotContainedInSvg);
707
707
  }
708
- const oe = {
708
+ const ie = {
709
709
  gridLines: !1,
710
710
  withTitle: !0,
711
711
  showTicks: !0,
712
712
  tickCount: 10,
713
713
  tickFormat: null,
714
714
  tickPadding: 8
715
- }, fn = {
716
- ...oe,
715
+ }, gn = {
716
+ ...ie,
717
717
  withTitle: !1,
718
718
  skip: !0
719
- }, vn = {
720
- ...oe,
719
+ }, yn = {
720
+ ...ie,
721
721
  gridLines: !0
722
- }, _n = 12, mn = 8, hn = function(e, t, r) {
722
+ }, bn = 12, Tn = 8, An = function(e, t, r) {
723
723
  const n = d(() => e.value.step() * e.value.paddingInner() / 2);
724
724
  function a(l, u) {
725
725
  var c;
@@ -732,7 +732,7 @@ const oe = {
732
732
  return {
733
733
  x: -(u - e.value.step()) / 2,
734
734
  width: u,
735
- height: r.value.tickPadding + _n + mn
735
+ height: r.value.tickPadding + bn + Tn
736
736
  };
737
737
  }
738
738
  function s() {
@@ -757,7 +757,7 @@ const oe = {
757
757
  getTickGroupAttributes: a,
758
758
  getTickLabelAttributes: i
759
759
  };
760
- }, gn = function(e, t, r) {
760
+ }, On = function(e, t, r) {
761
761
  const n = d(() => e.value.step() * e.value.paddingInner() / 2);
762
762
  function a(l, u) {
763
763
  var c;
@@ -794,7 +794,7 @@ const oe = {
794
794
  getTickGroupAttributes: a,
795
795
  getTickLabelAttributes: i
796
796
  };
797
- }, yn = function(e, t, r) {
797
+ }, xn = function(e, t, r) {
798
798
  function n(i) {
799
799
  return {
800
800
  transform: `translate(${e.value(i)}, 0)`
@@ -821,7 +821,7 @@ const oe = {
821
821
  getTickGroupAttributes: n,
822
822
  getTickLabelAttributes: s
823
823
  };
824
- }, bn = function(e, t, r) {
824
+ }, Ln = function(e, t, r) {
825
825
  function n(i) {
826
826
  return {
827
827
  transform: `translate(0, ${e.value(i)})`
@@ -848,14 +848,14 @@ const oe = {
848
848
  getTickGroupAttributes: n,
849
849
  getTickLabelAttributes: s
850
850
  };
851
- }, Tn = {
852
- "x-band-scale-axis": hn,
853
- "y-band-scale-axis": gn,
854
- "x-linear-scale-axis": yn,
855
- "y-linear-scale-axis": bn
851
+ }, $n = {
852
+ "x-band-scale-axis": An,
853
+ "y-band-scale-axis": On,
854
+ "x-linear-scale-axis": xn,
855
+ "y-linear-scale-axis": Ln
856
856
  };
857
- var gt = /* @__PURE__ */ ((e) => (e.bandScale = "band-scale-axis", e.linearScale = "linear-scale-axis", e))(gt || {}), yt = /* @__PURE__ */ ((e) => (e.left = "left", e.bottom = "bottom", e))(yt || {}), at = /* @__PURE__ */ ((e) => (e.x = "bottom", e.y = "left", e))(at || {});
858
- const An = /* @__PURE__ */ k({
857
+ var yt = /* @__PURE__ */ ((e) => (e.bandScale = "band-scale-axis", e.linearScale = "linear-scale-axis", e))(yt || {}), bt = /* @__PURE__ */ ((e) => (e.left = "left", e.bottom = "bottom", e))(bt || {}), at = /* @__PURE__ */ ((e) => (e.x = "bottom", e.y = "left", e))(at || {});
858
+ const kn = /* @__PURE__ */ k({
859
859
  __name: "lume-axis",
860
860
  props: {
861
861
  scale: {
@@ -870,7 +870,7 @@ const An = /* @__PURE__ */ k({
870
870
  position: {
871
871
  type: String,
872
872
  default: void 0,
873
- validator: (e) => e in yt
873
+ validator: (e) => e in bt
874
874
  },
875
875
  containerSize: {
876
876
  type: Object,
@@ -884,52 +884,52 @@ const An = /* @__PURE__ */ k({
884
884
  type: String,
885
885
  default: b.VERTICAL
886
886
  },
887
- ...pt()
887
+ ...dt()
888
888
  },
889
889
  emits: ["tick-mouseover"],
890
890
  setup(e, { emit: t }) {
891
- const r = e, { scale: n, containerSize: a, hoveredIndex: o, options: s, orientation: i } = w(r), l = it({}), u = $(null), c = $(null), p = $(null), { chartID: _ } = ct(), h = d(
891
+ const r = e, { scale: n, containerSize: a, hoveredIndex: o, options: s, orientation: i } = S(r), l = it({}), u = L(null), c = L(null), f = L(null), { chartID: _ } = ct(), m = d(
892
892
  () => r.type ? at[r.type] : r.position
893
- ), f = d(
894
- () => r.type || (h.value === "left" ? "y" : "x")
895
- ), m = d(
896
- () => f.value === "x" && i.value === b.VERTICAL || f.value === "y" && i.value === b.HORIZONTAL
893
+ ), p = d(
894
+ () => r.type || (m.value === "left" ? "y" : "x")
895
+ ), h = d(
896
+ () => p.value === "x" && i.value === b.VERTICAL || p.value === "y" && i.value === b.HORIZONTAL
897
897
  ), { allOptions: g } = N(
898
898
  s,
899
- f.value === "x" ? fn : vn
900
- ), { showTick: v } = dn(n, u, g.value.skip), y = d(
899
+ p.value === "x" ? gn : yn
900
+ ), { showTick: v } = mn(n, u, g.value.skip), y = d(
901
901
  () => {
902
902
  var x;
903
- return `translate(0, ${f.value === "x" ? (x = a.value) == null ? void 0 : x.height : 0})`;
903
+ return `translate(0, ${p.value === "x" ? (x = a.value) == null ? void 0 : x.height : 0})`;
904
904
  }
905
905
  ), O = d(() => {
906
906
  if (M(n.value))
907
907
  return n.value.labels || n.value.domain();
908
908
  const { tickCount: x } = g.value, [C, K] = n.value.domain();
909
- return Oe(C, K, x);
909
+ return ke(C, K, x);
910
910
  }), T = d(() => {
911
911
  const { tickFormat: x } = g.value;
912
- return wt(x);
912
+ return It(x);
913
913
  });
914
- function L(x) {
914
+ function $(x) {
915
915
  const { showTicks: C } = g.value;
916
916
  return C === !1 ? "" : T.value(x);
917
917
  }
918
- function D(x) {
919
- m.value && t("tick-mouseover", x);
918
+ function P(x) {
919
+ h.value && t("tick-mouseover", x);
920
920
  }
921
- function R(x) {
922
- return g.value.withHover && m.value && o.value === x;
921
+ function D(x) {
922
+ return g.value.withHover && h.value && o.value === x;
923
923
  }
924
924
  function B(x) {
925
- return `${_}-${f.value}-tick--${x}`;
925
+ return `${_}-${p.value}-tick--${x}`;
926
926
  }
927
927
  function Z(x) {
928
928
  if (!!u.value)
929
929
  return u.value.find((C) => +C.dataset.index === x);
930
930
  }
931
931
  function V() {
932
- p.value = O.value.map((x, C) => ({
932
+ f.value = O.value.map((x, C) => ({
933
933
  value: x,
934
934
  group: l.getTickGroupAttributes(x, C),
935
935
  ghost: l.getTickGhostAttributes(Z(C)),
@@ -938,14 +938,14 @@ const An = /* @__PURE__ */ k({
938
938
  }));
939
939
  }
940
940
  function X() {
941
- const x = n.value.step ? "bandScale" : "linearScale", C = Tn[`${f.value}-${gt[x]}`];
941
+ const x = n.value.step ? "bandScale" : "linearScale", C = $n[`${p.value}-${yt[x]}`];
942
942
  Object.entries(C(n, a, g) || []).forEach(
943
943
  ([K, vt]) => {
944
944
  l[K] = vt;
945
945
  }
946
946
  );
947
947
  }
948
- return P(n, X, { flush: "sync", immediate: !0 }), P(
948
+ return R(n, X, { flush: "sync", immediate: !0 }), R(
949
949
  [
950
950
  O,
951
951
  u,
@@ -954,10 +954,10 @@ const An = /* @__PURE__ */ k({
954
954
  ],
955
955
  V,
956
956
  { immediate: !0 }
957
- ), H(() => dt(c.value)), { __sfc: !0, SCALE_MIXIN_MAP: gt, POSITIONS: yt, TYPES: at, props: r, emit: t, scale: n, containerSize: a, hoveredIndex: o, options: s, orientation: i, mixins: l, tickRefs: u, root: c, ticksWithAttributes: p, chartID: _, computedPosition: h, computedType: f, shouldHover: m, allOptions: g, showTick: v, axisTransform: y, ticks: O, tickFormatter: T, formatTick: L, onTickMouseover: D, isHovering: R, getTickId: B, getTextNode: Z, setTicks: V, init: X, VuePortal: Ot, VuePortalTarget: xt };
957
+ ), H(() => pt(c.value)), { __sfc: !0, SCALE_MIXIN_MAP: yt, POSITIONS: bt, TYPES: at, props: r, emit: t, scale: n, containerSize: a, hoveredIndex: o, options: s, orientation: i, mixins: l, tickRefs: u, root: c, ticksWithAttributes: f, chartID: _, computedPosition: m, computedType: p, shouldHover: h, allOptions: g, showTick: v, axisTransform: y, ticks: O, tickFormatter: T, formatTick: $, onTickMouseover: P, isHovering: D, getTickId: B, getTextNode: Z, setTicks: V, init: X, VuePortal: Lt, VuePortalTarget: $t };
958
958
  }
959
959
  });
960
- function S(e, t, r, n, a, o, s, i) {
960
+ function w(e, t, r, n, a, o, s, i) {
961
961
  var l = typeof e == "function" ? e.options : e;
962
962
  t && (l.render = t, l.staticRenderFns = r, l._compiled = !0), n && (l.functional = !0), o && (l._scopeId = "data-v-" + o);
963
963
  var u;
@@ -972,19 +972,19 @@ function S(e, t, r, n, a, o, s, i) {
972
972
  if (l.functional) {
973
973
  l._injectStyles = u;
974
974
  var c = l.render;
975
- l.render = function(h, f) {
976
- return u.call(f), c(h, f);
975
+ l.render = function(m, p) {
976
+ return u.call(p), c(m, p);
977
977
  };
978
978
  } else {
979
- var p = l.beforeCreate;
980
- l.beforeCreate = p ? [].concat(p, u) : [u];
979
+ var f = l.beforeCreate;
980
+ l.beforeCreate = f ? [].concat(f, u) : [u];
981
981
  }
982
982
  return {
983
983
  exports: e,
984
984
  options: l
985
985
  };
986
986
  }
987
- var On = function() {
987
+ var wn = function() {
988
988
  var t = this, r = t._self._c, n = t._self._setupProxy;
989
989
  return n.scale ? r("g", { ref: "root", staticClass: "axis", attrs: { transform: n.axisTransform, "data-j-axis": "" } }, [n.computedType === "x" ? r("defs", [r("linearGradient", { attrs: { id: "lume-tick-gradient" } }, [r("stop", { attrs: { offset: "0%", "stop-color": "rgba(255,255,255,0)" } }), r("stop", { attrs: { offset: "10%", "stop-color": "var(--lume-chart-background-color)" } }), r("stop", { attrs: { offset: "90%", "stop-color": "var(--lume-chart-background-color)" } }), r("stop", { attrs: { offset: "100%", "stop-color": "rgba(255,255,255,0)" } })], 1)], 1) : t._e(), t._l(n.ticksWithAttributes, function(a, o) {
990
990
  return r(n.VuePortal, { key: `${a.value}_${o}`, attrs: { slim: "", disabled: !n.isHovering(o), to: `${n.chartID}-${n.computedType}-hovered-portal` } }, [r("g", t._b({ staticClass: "axis__tick", class: {
@@ -994,19 +994,19 @@ var On = function() {
994
994
  return n.onTickMouseover(o);
995
995
  } } }, [r("rect", t._b({ staticClass: "axis__ghost", attrs: { fill: "url(#lume-tick-gradient)" } }, "rect", a.ghost, !1)), r("text", t._b({ ref: "tickRefs", refInFor: !0, staticClass: "axis__label", attrs: { "data-index": o } }, "text", a.label, !1), [t._v(" " + t._s(n.formatTick(a.value)) + " ")])]), n.allOptions.gridLines ? r("line", t._b({ staticClass: "axis__grid-line" }, "line", a.gridLine, !1)) : t._e()])]);
996
996
  }), r(n.VuePortalTarget, { attrs: { name: `${n.chartID}-${n.computedType}-hovered-portal`, slim: "" } })], 2) : t._e();
997
- }, xn = [], Ln = /* @__PURE__ */ S(
998
- An,
999
- On,
1000
- xn,
997
+ }, Sn = [], Cn = /* @__PURE__ */ w(
998
+ kn,
999
+ wn,
1000
+ Sn,
1001
1001
  !1,
1002
1002
  null,
1003
1003
  "44f74829",
1004
1004
  null,
1005
1005
  null
1006
1006
  );
1007
- const $n = Ln.exports;
1008
- function kn() {
1009
- const e = $(), t = it({
1007
+ const In = Cn.exports;
1008
+ function Rn() {
1009
+ const e = L(), t = it({
1010
1010
  dimensions: {}
1011
1011
  }), r = new ResizeObserver((n) => {
1012
1012
  n.forEach((a) => {
@@ -1015,11 +1015,11 @@ function kn() {
1015
1015
  });
1016
1016
  return H(() => {
1017
1017
  r.observe(e.value);
1018
- }), qt(() => {
1018
+ }), Jt(() => {
1019
1019
  r.unobserve(e.value);
1020
1020
  }), { resizeState: t, resizeRef: e };
1021
1021
  }
1022
- const Sn = /* @__PURE__ */ k({
1022
+ const Pn = /* @__PURE__ */ k({
1023
1023
  __name: "lume-chart-container",
1024
1024
  props: {
1025
1025
  margins: {
@@ -1046,29 +1046,29 @@ const Sn = /* @__PURE__ */ k({
1046
1046
  right: 0,
1047
1047
  top: 0,
1048
1048
  bottom: 0
1049
- }, { margins: a, containerSize: o } = w(r), s = $(null), { resizeRef: i, resizeState: l } = kn(), u = d(() => ({
1049
+ }, { margins: a, containerSize: o } = S(r), s = L(null), { resizeRef: i, resizeState: l } = Rn(), u = d(() => ({
1050
1050
  ...n,
1051
1051
  ...a.value
1052
1052
  })), c = d(
1053
1053
  () => o.value.height + u.value.top + u.value.bottom
1054
1054
  );
1055
- return Yt(() => {
1055
+ return Qt(() => {
1056
1056
  if (!s.value)
1057
1057
  return;
1058
- const { width: p } = l.dimensions, { height: _ } = s.value.getBoundingClientRect();
1059
- if (!p || !_)
1058
+ const { width: f } = l.dimensions, { height: _ } = s.value.getBoundingClientRect();
1059
+ if (!f || !_)
1060
1060
  return;
1061
- const h = p - u.value.left - u.value.right, f = _ - u.value.top - u.value.bottom, m = {
1062
- width: h > 0 ? h : 0,
1063
- height: f > 0 ? f : 0,
1064
- outerWidth: p,
1061
+ const m = f - u.value.left - u.value.right, p = _ - u.value.top - u.value.bottom, h = {
1062
+ width: m > 0 ? m : 0,
1063
+ height: p > 0 ? p : 0,
1064
+ outerWidth: f,
1065
1065
  outerHeight: _
1066
1066
  };
1067
- t("resize", m);
1067
+ t("resize", h);
1068
1068
  }), { __sfc: !0, BASE_MARGINS: n, props: r, emit: t, margins: a, containerSize: o, root: s, resizeRef: i, resizeState: l, computedMargins: u, svgHeight: c };
1069
1069
  }
1070
1070
  });
1071
- var wn = function() {
1071
+ var Dn = function() {
1072
1072
  var t = this, r = t._self._c, n = t._self._setupProxy;
1073
1073
  return r("div", { ref: "resizeRef", staticClass: "lume-chart-container", class: {
1074
1074
  "lume-chart-container--minimum": !t.noMinSize
@@ -1077,17 +1077,17 @@ var wn = function() {
1077
1077
  }, attrs: { height: n.svgHeight, "data-j-chart-container__root": "" }, on: { mouseleave: function(a) {
1078
1078
  return t.$emit("mouseleave", a);
1079
1079
  } } }, [r("g", { staticClass: "lume-chart-container__group", attrs: { transform: `translate(${n.computedMargins.left}, ${n.computedMargins.top})`, "data-j-chart-container__group": "" } }, [t._t("default")], 2)]), t._t("footer"), t._t("extra")], 2);
1080
- }, Cn = [], In = /* @__PURE__ */ S(
1081
- Sn,
1082
- wn,
1083
- Cn,
1080
+ }, En = [], Nn = /* @__PURE__ */ w(
1081
+ Pn,
1082
+ Dn,
1083
+ En,
1084
1084
  !1,
1085
1085
  null,
1086
1086
  "136a2456",
1087
1087
  null,
1088
1088
  null
1089
1089
  );
1090
- const Dn = In.exports, Rn = /* @__PURE__ */ k({
1090
+ const Bn = Nn.exports, Hn = /* @__PURE__ */ k({
1091
1091
  __name: "lume-chart-legend",
1092
1092
  props: {
1093
1093
  data: {
@@ -1101,24 +1101,24 @@ const Dn = In.exports, Rn = /* @__PURE__ */ k({
1101
1101
  return { __sfc: !0, emit: t };
1102
1102
  }
1103
1103
  });
1104
- var Pn = function() {
1104
+ var jn = function() {
1105
1105
  var t = this, r = t._self._c, n = t._self._setupProxy;
1106
1106
  return r("div", { staticClass: "lume-chart-legend", attrs: { "data-j-chart-legend": "" } }, t._l(t.data, function(a, o) {
1107
1107
  return r("div", { key: `legend-item-${o}`, staticClass: "lume-chart-legend__item lume-typography--body", attrs: { tabindex: "0", "data-j-chart-legend__symbol-wrapper": "" }, on: { click: function(s) {
1108
1108
  return n.emit("click", o);
1109
1109
  } } }, [r("span", { staticClass: "lume-chart-legend__symbol", class: `lume-background-color--${a.color}`, attrs: { "data-j-chart-legend__symbol": "" } }), t._v(" " + t._s(a.label) + " ")]);
1110
1110
  }), 0);
1111
- }, En = [], Nn = /* @__PURE__ */ S(
1112
- Rn,
1113
- Pn,
1114
- En,
1111
+ }, Vn = [], Fn = /* @__PURE__ */ w(
1112
+ Hn,
1113
+ jn,
1114
+ Vn,
1115
1115
  !1,
1116
1116
  null,
1117
1117
  "0cbb8403",
1118
1118
  null,
1119
1119
  null
1120
1120
  );
1121
- const Bn = Nn.exports, Hn = /* @__PURE__ */ k({
1121
+ const Gn = Fn.exports, Mn = /* @__PURE__ */ k({
1122
1122
  __name: "lume-tooltip",
1123
1123
  props: {
1124
1124
  targetElement: {
@@ -1132,7 +1132,7 @@ const Bn = Nn.exports, Hn = /* @__PURE__ */ k({
1132
1132
  position: {
1133
1133
  type: String,
1134
1134
  default: "auto",
1135
- validator: (e) => Ze.includes(e)
1135
+ validator: (e) => Ye.includes(e)
1136
1136
  },
1137
1137
  fixedPositioning: {
1138
1138
  type: Boolean,
@@ -1150,10 +1150,10 @@ const Bn = Nn.exports, Hn = /* @__PURE__ */ k({
1150
1150
  type: String,
1151
1151
  default: null
1152
1152
  },
1153
- ...pt()
1153
+ ...dt()
1154
1154
  },
1155
1155
  setup(e) {
1156
- const t = e, r = $(null), { items: n, options: a } = w(t), o = $(null), { allOptions: s } = N(a), i = d(
1156
+ const t = e, r = L(null), { items: n, options: a } = S(t), o = L(null), { allOptions: s } = N(a), i = d(
1157
1157
  () => {
1158
1158
  var g;
1159
1159
  return (g = s.value.fixedPositioning) != null ? g : t.fixedPositioning;
@@ -1174,7 +1174,7 @@ const Bn = Nn.exports, Hn = /* @__PURE__ */ k({
1174
1174
  ...t.modifiers || []
1175
1175
  ]), c = d(
1176
1176
  () => s.value.showTitle !== !1 && t.title != null
1177
- ), p = d(() => wt(s.value.valueFormat)), _ = d(
1177
+ ), f = d(() => It(s.value.valueFormat)), _ = d(
1178
1178
  () => {
1179
1179
  var g, v;
1180
1180
  return ((g = n.value) == null ? void 0 : g.find((y) => y.isSummary)) || {
@@ -1182,46 +1182,46 @@ const Bn = Nn.exports, Hn = /* @__PURE__ */ k({
1182
1182
  };
1183
1183
  }
1184
1184
  );
1185
- function h() {
1186
- t.targetElement && r.value && (o.value = $e(t.targetElement, r.value, {
1185
+ function m() {
1186
+ t.targetElement && r.value && (o.value = Ce(t.targetElement, r.value, {
1187
1187
  placement: t.position,
1188
1188
  strategy: l.value,
1189
1189
  modifiers: u.value
1190
1190
  }));
1191
1191
  }
1192
- function f() {
1192
+ function p() {
1193
1193
  o.value && o.value.destroy();
1194
1194
  }
1195
- function m() {
1195
+ function h() {
1196
1196
  !o.value || (r.value.classList.add("lume-tooltip--animated"), t.targetElement ? function() {
1197
1197
  o.value.state.elements.reference = t.targetElement, o.value.update();
1198
- }() : f());
1198
+ }() : p());
1199
1199
  }
1200
- return P(() => t.targetElement, m), H(h), qt(f), { __sfc: !0, props: t, root: r, items: n, options: a, popper: o, allOptions: s, computedFixedPositioning: i, strategy: l, allModifiers: u, showTitle: c, formatValue: p, summaryItem: _, initPopper: h, destroyPopper: f, updatePopper: m };
1200
+ return R(() => t.targetElement, h), H(m), Jt(p), { __sfc: !0, props: t, root: r, items: n, options: a, popper: o, allOptions: s, computedFixedPositioning: i, strategy: l, allModifiers: u, showTitle: c, formatValue: f, summaryItem: _, initPopper: m, destroyPopper: p, updatePopper: h };
1201
1201
  }
1202
1202
  });
1203
- var jn = function() {
1203
+ var zn = function() {
1204
1204
  var t = this, r = t._self._c, n = t._self._setupProxy;
1205
1205
  return r("div", { ref: "root", staticClass: "lume-tooltip lume-typography--caption", attrs: { "data-j-tooltip": "" } }, [t._t("default", function() {
1206
1206
  return [n.showTitle ? r("div", { staticClass: "lume-tooltip__title", attrs: { "data-j-tooltip__title": "" } }, [t._v(" " + t._s(t.title) + " ")]) : t._e(), r("ul", { staticClass: "lume-tooltip__items" }, [n.summaryItem.label ? [r("li", { staticClass: "lume-tooltip__item", attrs: { "data-j-tooltip__summary-item": "" } }, [r("span", [t._v(" " + t._s(n.summaryItem.label) + " ")]), n.summaryItem.value ? r("strong", { staticClass: "lume-tooltip__value" }, [t._v(" " + t._s(n.formatValue(n.summaryItem.value)) + " ")]) : t._e()]), t._m(0)] : t._e(), t._l(n.items, function(a) {
1207
1207
  return r("li", { key: a.label, staticClass: "lume-tooltip__item", attrs: { "data-j-tooltip__item": "" } }, [r("span", { staticClass: "lume-tooltip__symbol", class: [`lume-background-color--${a.color}`], attrs: { "data-j-tooltip__item__symbol": "" } }), r("span", { attrs: { "data-j-tooltip__item__label": "" } }, [t._v(" " + t._s(a.label) + " ")]), r("strong", { staticClass: "lume-tooltip__value", attrs: { "data-j-tooltip__item__value": "" } }, [t._v(" " + t._s(n.formatValue(a.value)) + " ")])]);
1208
1208
  })], 2)];
1209
1209
  })], 2);
1210
- }, Vn = [function() {
1210
+ }, Wn = [function() {
1211
1211
  var e = this, t = e._self._c;
1212
1212
  return e._self._setupProxy, t("li", { staticClass: "lume-tooltip__break" }, [t("hr")]);
1213
- }], Fn = /* @__PURE__ */ S(
1214
- Hn,
1215
- jn,
1216
- Vn,
1213
+ }], Zn = /* @__PURE__ */ w(
1214
+ Mn,
1215
+ zn,
1216
+ Wn,
1217
1217
  !1,
1218
1218
  null,
1219
1219
  "f861f1d1",
1220
1220
  null,
1221
1221
  null
1222
1222
  );
1223
- const Gn = Fn.exports;
1224
- function Mn(e, t, r, n) {
1223
+ const Xn = Zn.exports;
1224
+ function Un(e, t, r, n) {
1225
1225
  const a = d(() => r.value > 0 && r.value < 1), o = d(
1226
1226
  () => n.value > 0 && n.value < 1
1227
1227
  ), s = d(
@@ -1231,13 +1231,13 @@ function Mn(e, t, r, n) {
1231
1231
  );
1232
1232
  return { computedX: s, computedY: i, shouldHaveMinWidth: a, shouldHaveMinHeight: o };
1233
1233
  }
1234
- function zn(e, t, r, n) {
1235
- const a = $(0), o = $(0), s = d(() => `${e.value + r.value / 2}px ${t.value + n.value / 2}px`);
1234
+ function qn(e, t, r, n) {
1235
+ const a = L(0), o = L(0), s = d(() => `${e.value + r.value / 2}px ${t.value + n.value / 2}px`);
1236
1236
  return H(() => {
1237
1237
  a.value = r.value, o.value = n.value;
1238
- }), P(r, (i) => a.value = i), P(n, (i) => o.value = i), { computedWidth: a, computedHeight: o, transformOrigin: s };
1238
+ }), R(r, (i) => a.value = i), R(n, (i) => o.value = i), { computedWidth: a, computedHeight: o, transformOrigin: s };
1239
1239
  }
1240
- const Wn = /* @__PURE__ */ k({
1240
+ const Yn = /* @__PURE__ */ k({
1241
1241
  __name: "lume-bar",
1242
1242
  props: {
1243
1243
  x: {
@@ -1274,13 +1274,13 @@ const Wn = /* @__PURE__ */ k({
1274
1274
  }
1275
1275
  },
1276
1276
  setup(e) {
1277
- const t = e, { x: r, y: n, width: a, height: o, transition: s, classList: i } = w(t), l = $(null), u = d(
1277
+ const t = e, { x: r, y: n, width: a, height: o, transition: s, classList: i } = S(t), l = L(null), u = d(
1278
1278
  () => typeof i.value == "string" ? [i.value] : i.value
1279
- ), c = d(() => s.value === "width"), p = d(() => s.value === "height"), _ = zn(r, n, a, o), { computedX: h, computedY: f, shouldHaveMinWidth: m, shouldHaveMinHeight: g } = Mn(r, n, a, o), v = d(() => m.value ? 1 : (c.value ? _.computedWidth : a).value), y = d(() => g.value ? 1 : (p.value ? _.computedHeight : o).value), O = c.value || p.value ? _.transformOrigin : null;
1280
- return H(() => dt(l.value)), { __sfc: !0, props: t, x: r, y: n, width: a, height: o, transition: s, classList: i, root: l, computedClasses: u, shouldTransitionWidth: c, shouldTransitionHeight: p, transitionProps: _, computedX: h, computedY: f, shouldHaveMinWidth: m, shouldHaveMinHeight: g, computedWidth: v, computedHeight: y, transformOrigin: O };
1279
+ ), c = d(() => s.value === "width"), f = d(() => s.value === "height"), _ = qn(r, n, a, o), { computedX: m, computedY: p, shouldHaveMinWidth: h, shouldHaveMinHeight: g } = Un(r, n, a, o), v = d(() => h.value ? 1 : (c.value ? _.computedWidth : a).value), y = d(() => g.value ? 1 : (f.value ? _.computedHeight : o).value), O = c.value || f.value ? _.transformOrigin : null;
1280
+ return H(() => pt(l.value)), { __sfc: !0, props: t, x: r, y: n, width: a, height: o, transition: s, classList: i, root: l, computedClasses: u, shouldTransitionWidth: c, shouldTransitionHeight: f, transitionProps: _, computedX: m, computedY: p, shouldHaveMinWidth: h, shouldHaveMinHeight: g, computedWidth: v, computedHeight: y, transformOrigin: O };
1281
1281
  }
1282
1282
  });
1283
- var Zn = function() {
1283
+ var Kn = function() {
1284
1284
  var t = this, r = t._self._c, n = t._self._setupProxy;
1285
1285
  return r("rect", { ref: "root", staticClass: "lume-bar", class: [
1286
1286
  {
@@ -1291,17 +1291,17 @@ var Zn = function() {
1291
1291
  },
1292
1292
  ...n.computedClasses
1293
1293
  ], style: { transformOrigin: n.transformOrigin }, attrs: { x: n.computedX, y: n.computedY, width: n.computedWidth, height: n.computedHeight, "data-j-bar": "" } });
1294
- }, Xn = [], Un = /* @__PURE__ */ S(
1295
- Wn,
1296
- Zn,
1297
- Xn,
1294
+ }, Jn = [], Qn = /* @__PURE__ */ w(
1295
+ Yn,
1296
+ Kn,
1297
+ Jn,
1298
1298
  !1,
1299
1299
  null,
1300
1300
  "08915152",
1301
1301
  null,
1302
1302
  null
1303
1303
  );
1304
- const Ct = Un.exports, Bt = 2, qn = /* @__PURE__ */ k({
1304
+ const Rt = Qn.exports, jt = 2, tr = /* @__PURE__ */ k({
1305
1305
  __name: "lume-line",
1306
1306
  props: {
1307
1307
  pathDefinition: {
@@ -1310,7 +1310,7 @@ const Ct = Un.exports, Bt = 2, qn = /* @__PURE__ */ k({
1310
1310
  },
1311
1311
  width: {
1312
1312
  type: Number,
1313
- default: Bt
1313
+ default: jt
1314
1314
  },
1315
1315
  color: {
1316
1316
  type: String,
@@ -1334,11 +1334,11 @@ const Ct = Un.exports, Bt = 2, qn = /* @__PURE__ */ k({
1334
1334
  }
1335
1335
  },
1336
1336
  setup(e) {
1337
- const t = $(null);
1338
- return H(() => dt(t.value)), { __sfc: !0, DEFAULT_LINE_WIDTH: Bt, root: t };
1337
+ const t = L(null);
1338
+ return H(() => pt(t.value)), { __sfc: !0, DEFAULT_LINE_WIDTH: jt, root: t };
1339
1339
  }
1340
1340
  });
1341
- var Yn = function() {
1341
+ var er = function() {
1342
1342
  var t = this, r = t._self._c;
1343
1343
  return t._self._setupProxy, r("path", { ref: "root", staticClass: "lume-line", class: {
1344
1344
  [`lume-stroke--${t.color}`]: !0,
@@ -1348,17 +1348,17 @@ var Yn = function() {
1348
1348
  animationDelay: t.transition && t.animationDelay + "s",
1349
1349
  animationDuration: t.transition && t.animationDuration + "s"
1350
1350
  }, attrs: { d: t.pathDefinition, "stroke-width": t.width, "data-j-line": "" } });
1351
- }, Kn = [], Jn = /* @__PURE__ */ S(
1352
- qn,
1353
- Yn,
1354
- Kn,
1351
+ }, nr = [], rr = /* @__PURE__ */ w(
1352
+ tr,
1353
+ er,
1354
+ nr,
1355
1355
  !1,
1356
1356
  null,
1357
1357
  "00afaa24",
1358
1358
  null,
1359
1359
  null
1360
1360
  );
1361
- const Qn = Jn.exports, Ht = 4, tr = /* @__PURE__ */ k({
1361
+ const ar = rr.exports, Vt = 4, or = /* @__PURE__ */ k({
1362
1362
  __name: "lume-point",
1363
1363
  props: {
1364
1364
  x: { type: Number, required: !0 },
@@ -1369,7 +1369,7 @@ const Qn = Jn.exports, Ht = 4, tr = /* @__PURE__ */ k({
1369
1369
  },
1370
1370
  radius: {
1371
1371
  type: Number,
1372
- default: Ht
1372
+ default: Vt
1373
1373
  },
1374
1374
  active: {
1375
1375
  type: Boolean,
@@ -1377,24 +1377,24 @@ const Qn = Jn.exports, Ht = 4, tr = /* @__PURE__ */ k({
1377
1377
  }
1378
1378
  },
1379
1379
  setup(e) {
1380
- const t = e, r = $(null), n = d(() => t.radius / 2);
1381
- return H(() => dt(r.value)), { __sfc: !0, DEFAULT_RADIUS: Ht, props: t, root: r, strokeWidth: n };
1380
+ const t = e, r = L(null), n = d(() => t.radius / 2);
1381
+ return H(() => pt(r.value)), { __sfc: !0, DEFAULT_RADIUS: Vt, props: t, root: r, strokeWidth: n };
1382
1382
  }
1383
1383
  });
1384
- var er = function() {
1384
+ var sr = function() {
1385
1385
  var t = this, r = t._self._c, n = t._self._setupProxy;
1386
1386
  return r("circle", { ref: "root", staticClass: "lume-point", class: `lume-stroke--${t.color}`, attrs: { cx: t.x, cy: t.y, r: t.active ? t.radius : 0, "stroke-width": n.strokeWidth, "data-j-point": "" } });
1387
- }, nr = [], rr = /* @__PURE__ */ S(
1388
- tr,
1389
- er,
1390
- nr,
1387
+ }, ir = [], ur = /* @__PURE__ */ w(
1388
+ or,
1389
+ sr,
1390
+ ir,
1391
1391
  !1,
1392
1392
  null,
1393
1393
  "5a728c02",
1394
1394
  null,
1395
1395
  null
1396
1396
  );
1397
- const ar = rr.exports, or = () => ({
1397
+ const lr = ur.exports, cr = () => ({
1398
1398
  xScale: {
1399
1399
  type: Function,
1400
1400
  default: null
@@ -1404,59 +1404,59 @@ const ar = rr.exports, or = () => ({
1404
1404
  default: null
1405
1405
  }
1406
1406
  });
1407
- function sr(e, t, r, n, a) {
1408
- const o = $(null), s = $(null);
1407
+ function dr(e, t, r, n, a) {
1408
+ const o = L(null), s = L(null);
1409
1409
  function i() {
1410
1410
  const { width: l, height: u } = r;
1411
- !l && !u || !t.value || !e.value || (n.value === b.HORIZONTAL ? (o.value = Vt(
1411
+ !l && !u || !t.value || !e.value || (n.value === b.HORIZONTAL ? (o.value = Gt(
1412
1412
  e.value,
1413
1413
  l,
1414
1414
  n.value,
1415
1415
  a.value.startOnZero
1416
- ), s.value = jt(t.value, u)) : (o.value = jt(t.value, l), s.value = Vt(
1416
+ ), s.value = Ft(t.value, u)) : (o.value = Ft(t.value, l), s.value = Gt(
1417
1417
  e.value,
1418
1418
  u,
1419
1419
  n.value,
1420
1420
  a.value.startOnZero
1421
1421
  )));
1422
1422
  }
1423
- return Yt(i), { xScale: o, yScale: s };
1423
+ return Qt(i), { xScale: o, yScale: s };
1424
1424
  }
1425
- function jt(e, t) {
1425
+ function Ft(e, t) {
1426
1426
  const r = [0, t];
1427
1427
  return Object.assign(
1428
1428
  J().range(r).domain(e.map((n, a) => a)),
1429
1429
  { labels: e }
1430
1430
  );
1431
1431
  }
1432
- function Vt(e, t, r, n) {
1433
- const a = ee(e).filter((c) => c != null), o = [0, t];
1432
+ function Gt(e, t, r, n) {
1433
+ const a = ae(e).filter((c) => c != null), o = [0, t];
1434
1434
  if (a.length === 0)
1435
1435
  return Q().range(o).domain([0, 0]).nice();
1436
1436
  const s = Math.min(...a), i = n && s > 0 ? 0 : s, l = Math.max(...a), u = r === b.HORIZONTAL ? [i, l] : [l, i];
1437
1437
  return Q().range(o).domain(u).nice();
1438
1438
  }
1439
- function Ft(e) {
1439
+ function Mt(e) {
1440
1440
  return (e == null ? void 0 : e.range) !== void 0 || (e == null ? void 0 : e.copy) !== void 0;
1441
1441
  }
1442
- function bt(e, t) {
1442
+ function Tt(e, t) {
1443
1443
  return M(e) ? e.bandwidth() / 2 + e(e.domain()[t]) : e(t);
1444
1444
  }
1445
- function st(e, t, {
1445
+ function ot(e, t, {
1446
1446
  padding: r,
1447
1447
  paddingInner: n,
1448
1448
  paddingOuter: a
1449
1449
  } = {}) {
1450
- const o = r != null ? r : t === b.HORIZONTAL ? ze : Me;
1450
+ const o = r != null ? r : t === b.HORIZONTAL ? Ue : Xe;
1451
1451
  return e.copy().paddingInner(n != null ? n : o).paddingOuter(a != null ? a : o / 2);
1452
1452
  }
1453
- function se(e) {
1453
+ function ue(e) {
1454
1454
  return Object.values(b).includes(e);
1455
1455
  }
1456
1456
  const W = (e, t = !0, r = !0) => ({
1457
- ...ae(e),
1458
- ...r ? or() : {},
1459
- ...pt(),
1457
+ ...se(e),
1458
+ ...r ? cr() : {},
1459
+ ...dt(),
1460
1460
  title: {
1461
1461
  type: String,
1462
1462
  default: null
@@ -1465,7 +1465,7 @@ const W = (e, t = !0, r = !0) => ({
1465
1465
  orientation: {
1466
1466
  type: String,
1467
1467
  default: b.VERTICAL,
1468
- validator: se
1468
+ validator: ue
1469
1469
  }
1470
1470
  } : {},
1471
1471
  classList: {
@@ -1488,7 +1488,7 @@ const W = (e, t = !0, r = !0) => ({
1488
1488
  orientation: {
1489
1489
  type: String,
1490
1490
  default: b.VERTICAL,
1491
- validator: se
1491
+ validator: ue
1492
1492
  },
1493
1493
  xScale: {
1494
1494
  type: Function,
@@ -1514,7 +1514,7 @@ const W = (e, t = !0, r = !0) => ({
1514
1514
  type: [String, Array],
1515
1515
  default: () => []
1516
1516
  }
1517
- }), ir = /* @__PURE__ */ k({
1517
+ }), pr = /* @__PURE__ */ k({
1518
1518
  __name: "lume-overlay-group",
1519
1519
  props: {
1520
1520
  ...ft(),
@@ -1525,46 +1525,46 @@ const W = (e, t = !0, r = !0) => ({
1525
1525
  },
1526
1526
  emits: ["mouseover"],
1527
1527
  setup(e, { emit: t }) {
1528
- const r = e, { data: n, orientation: a, xScale: o, yScale: s } = w(r), i = d(() => ot(n));
1528
+ const r = e, { data: n, orientation: a, xScale: o, yScale: s } = S(r), i = d(() => gt(n));
1529
1529
  function l(u) {
1530
- const c = a.value === b.HORIZONTAL ? s.value : o.value, p = c.domain(), _ = St(c), h = M(c) ? c(p[u]) : c(u) - _ / 2;
1530
+ const c = a.value === b.HORIZONTAL ? s.value : o.value, f = c.domain(), _ = Ct(c), m = M(c) ? c(f[u]) : c(u) - _ / 2;
1531
1531
  return a.value === b.HORIZONTAL ? {
1532
1532
  width: Math.max(...o.value.range()),
1533
1533
  height: _,
1534
- transform: `translate(0, ${h})`
1534
+ transform: `translate(0, ${m})`
1535
1535
  } : {
1536
1536
  width: _,
1537
1537
  height: Math.max(...s.value.range()),
1538
- transform: `translate(${h}, 0)`
1538
+ transform: `translate(${m}, 0)`
1539
1539
  };
1540
1540
  }
1541
- return { __sfc: !0, props: r, emit: t, data: n, orientation: a, xScale: o, yScale: s, overlayData: i, getOverlayBarAttributes: l, LumeBar: Ct };
1541
+ return { __sfc: !0, props: r, emit: t, data: n, orientation: a, xScale: o, yScale: s, overlayData: i, getOverlayBarAttributes: l, LumeBar: Rt };
1542
1542
  }
1543
1543
  });
1544
- var ur = function() {
1544
+ var fr = function() {
1545
1545
  var t = this, r = t._self._c, n = t._self._setupProxy;
1546
1546
  return r("g", { staticClass: "lume-overlay-group" }, t._l(n.overlayData, function(a, o) {
1547
1547
  return r(n.LumeBar, t._b({ key: `overlay-${o}`, attrs: { "data-j-lume-overlay-group": o, transition: !1, "class-list": "lume-fill--transparent" }, nativeOn: { mouseover: function(s) {
1548
1548
  return n.emit("mouseover", o);
1549
1549
  } } }, "lume-bar", n.getOverlayBarAttributes(o), !1));
1550
1550
  }), 1);
1551
- }, lr = [], cr = /* @__PURE__ */ S(
1552
- ir,
1553
- ur,
1554
- lr,
1551
+ }, vr = [], _r = /* @__PURE__ */ w(
1552
+ pr,
1553
+ fr,
1554
+ vr,
1555
1555
  !1,
1556
1556
  null,
1557
1557
  null,
1558
1558
  null,
1559
1559
  null
1560
1560
  );
1561
- const pr = cr.exports;
1562
- function dr(e) {
1561
+ const hr = _r.exports;
1562
+ function mr(e) {
1563
1563
  return { hasNegativeValues: d(
1564
- () => ee(e.value).some((r) => r < 0)
1564
+ () => ae(e.value).some((r) => r < 0)
1565
1565
  ) };
1566
1566
  }
1567
- function fr(e, t, r, n) {
1567
+ function gr(e, t, r, n) {
1568
1568
  const a = d(
1569
1569
  () => n.value === b.HORIZONTAL
1570
1570
  ), o = d(
@@ -1589,40 +1589,38 @@ function fr(e, t, r, n) {
1589
1589
  transform: i.value
1590
1590
  })) };
1591
1591
  }
1592
- function vr(e, t) {
1593
- return e.reduce((r, n) => {
1592
+ function yr(e) {
1593
+ return e.reduce((t, r) => r.values.map((n, a) => {
1594
1594
  var o;
1595
- const a = (o = n.values[t]) == null ? void 0 : o.value;
1596
- return a > 0 && (r += a), r;
1597
- }, 0);
1595
+ return t[a] ? n.value > t[a] ? n.value : t[a] : (o = n.value) != null ? o : 0;
1596
+ }), []);
1598
1597
  }
1599
- const Gt = {
1600
- "stacked-bar": vr
1601
- };
1602
- function _r(e, t, r, n, a) {
1603
- const o = d(() => (i) => {
1604
- var p;
1605
- let l = a.value && Gt[a.value] ? Gt[a.value](e.value, i) : re(e.value, i);
1606
- ((p = a == null ? void 0 : a.value) == null ? void 0 : p.includes("bar")) && l < 0 && (l = 0);
1607
- const u = n.value === b.HORIZONTAL ? t.value(l) : bt(t.value, i), c = n.value === b.HORIZONTAL ? bt(r.value, i) : r.value(l);
1608
- return {
1609
- cx: u,
1610
- cy: c
1611
- };
1612
- });
1613
- function s(i) {
1614
- return e.value.map(({ color: l, label: u, values: c }) => {
1615
- var p, _, h, f, m;
1616
- return {
1617
- color: ((p = c[i]) == null ? void 0 : p.color) || l,
1618
- label: u,
1619
- value: (m = (f = (_ = c[i]) == null ? void 0 : _.label) != null ? f : (h = c[i]) == null ? void 0 : h.value) != null ? m : Qt
1620
- };
1621
- });
1598
+ function br(e) {
1599
+ return e.reduce((t, r) => r.values.map((n, a) => {
1600
+ var o;
1601
+ return t[a] ? n.value + t[a] : (o = n.value) != null ? o : 0;
1602
+ }), []);
1603
+ }
1604
+ const zt = {
1605
+ "stacked-bar": br
1606
+ }, Wt = L(null);
1607
+ function le(e, t, r, n, a) {
1608
+ function o(s) {
1609
+ const i = (a == null ? void 0 : a.value) && zt[a.value] ? zt[a.value](s) : yr(s);
1610
+ Wt.value = i.map((l, u) => ({
1611
+ cx: (r == null ? void 0 : r.value) === b.HORIZONTAL ? e.value(l) : Tt(e.value, u),
1612
+ cy: (r == null ? void 0 : r.value) === b.HORIZONTAL ? Tt(t.value, u) : t.value(l)
1613
+ }));
1622
1614
  }
1623
- return { getTooltipAnchorAttributes: o, getTooltipItems: s };
1615
+ return R(
1616
+ [e, t],
1617
+ () => {
1618
+ e.value && t.value && (n == null ? void 0 : n.value) && o(n.value);
1619
+ },
1620
+ { immediate: !0 }
1621
+ ), { tooltipAnchorAttributes: Wt, updateTooltipAnchorAttributes: o };
1624
1622
  }
1625
- function mr() {
1623
+ function Tr() {
1626
1624
  const e = it({
1627
1625
  opened: !1,
1628
1626
  targetElement: null
@@ -1633,7 +1631,19 @@ function mr() {
1633
1631
  e.opened = !1, e.targetElement = null;
1634
1632
  } };
1635
1633
  }
1636
- const hr = /* @__PURE__ */ k({
1634
+ function Ar(e) {
1635
+ return { getTooltipItems: d(
1636
+ () => (r) => e.value.map(({ color: n, label: a, values: o }) => {
1637
+ var s, i, l, u, c;
1638
+ return {
1639
+ color: ((s = o[r]) == null ? void 0 : s.color) || n,
1640
+ label: a,
1641
+ value: (c = (u = (i = o[r]) == null ? void 0 : i.label) != null ? u : (l = o[r]) == null ? void 0 : l.value) != null ? c : ne
1642
+ };
1643
+ })
1644
+ ) };
1645
+ }
1646
+ const Or = /* @__PURE__ */ k({
1637
1647
  __name: "lume-chart",
1638
1648
  props: {
1639
1649
  ...W(),
@@ -1644,77 +1654,78 @@ const hr = /* @__PURE__ */ k({
1644
1654
  },
1645
1655
  emits: ["click"],
1646
1656
  setup(e, { emit: t }) {
1647
- const r = e, n = j(), a = We, { data: o, labels: s, color: i, options: l, orientation: u, chartType: c } = w(r), p = $(-1), _ = $(null), h = $(null), { allOptions: f } = N(l), { internalData: m, computedLabels: g, containerSize: v, updateSize: y, chartID: O } = ct(o, s, i, f, u), { xScale: T, yScale: L } = sr(
1648
- m,
1657
+ const r = e, n = j(), a = qe, { data: o, labels: s, color: i, options: l, orientation: u, chartType: c } = S(r), f = L(-1), _ = L(null), m = L(null), { allOptions: p } = N(l), { internalData: h, computedLabels: g, containerSize: v, updateSize: y, chartID: O } = ct(o, s, i, p, u), { xScale: T, yScale: $ } = dr(
1658
+ h,
1649
1659
  g,
1650
1660
  v,
1651
1661
  u,
1652
- f
1653
- ), D = d(() => {
1662
+ p
1663
+ ), P = d(() => {
1654
1664
  var A;
1655
- return r.xScale ? Ft(r.xScale) ? r.xScale : (A = r.xScale) == null ? void 0 : A.call(r, m.value, s.value, v) : T.value;
1656
- }), R = d(() => {
1665
+ return r.xScale ? Mt(r.xScale) ? r.xScale : (A = r.xScale) == null ? void 0 : A.call(r, h.value, s.value, v) : T.value;
1666
+ }), D = d(() => {
1657
1667
  var A;
1658
- return r.yScale ? Ft(r.yScale) ? r.yScale : (A = r.yScale) == null ? void 0 : A.call(r, m.value, s.value, v) : L.value;
1668
+ return r.yScale ? Mt(r.yScale) ? r.yScale : (A = r.yScale) == null ? void 0 : A.call(r, h.value, s.value, v) : $.value;
1659
1669
  }), B = d(() => ({
1660
- ...f.value.xAxisOptions,
1670
+ ...p.value.xAxisOptions,
1661
1671
  withHover: u.value === b.VERTICAL
1662
1672
  })), Z = d(() => ({
1663
- ...f.value.yAxisOptions,
1673
+ ...p.value.yAxisOptions,
1664
1674
  withHover: u.value === b.HORIZONTAL
1665
1675
  })), V = d(() => {
1666
1676
  var A;
1667
- return (A = f.value.xAxisOptions) == null ? void 0 : A.title;
1677
+ return (A = p.value.xAxisOptions) == null ? void 0 : A.title;
1668
1678
  }), X = d(() => {
1669
1679
  var A;
1670
- return (A = f.value.yAxisOptions) == null ? void 0 : A.title;
1680
+ return (A = p.value.yAxisOptions) == null ? void 0 : A.title;
1671
1681
  }), x = d(() => {
1672
1682
  var A;
1673
- return ((A = f.value.xAxisOptions) == null ? void 0 : A.withTitle) !== !1 && V.value;
1683
+ return ((A = p.value.xAxisOptions) == null ? void 0 : A.withTitle) !== !1 && V.value;
1674
1684
  }), C = d(() => {
1675
1685
  var A;
1676
- return ((A = f.value.yAxisOptions) == null ? void 0 : A.withTitle) !== !1 && X.value;
1686
+ return ((A = p.value.yAxisOptions) == null ? void 0 : A.withTitle) !== !1 && X.value;
1677
1687
  }), K = d(
1678
1688
  () => {
1679
1689
  var A;
1680
- return f.value.withTooltip !== !1 && !((A = f.value.tooltipOptions) != null && A.targetElement);
1690
+ return p.value.withTooltip !== !1 && !((A = p.value.tooltipOptions) != null && A.targetElement);
1681
1691
  }
1682
1692
  ), vt = d(() => {
1683
- const A = [], { noBaseScales: _t } = f.value;
1684
- return _t || A.push(() => !!(D.value && R.value)), A.every((et) => et() === !0);
1685
- }), { hasNegativeValues: pe } = dr(m), { negativeBarAttributes: de } = fr(
1693
+ const A = [], { noBaseScales: et } = p.value;
1694
+ return et || A.push(() => !!(P.value && D.value)), A.every((_t) => _t() === !0);
1695
+ }), { hasNegativeValues: _e } = mr(h), { negativeBarAttributes: he } = gr(
1686
1696
  v,
1697
+ P,
1687
1698
  D,
1688
- R,
1689
1699
  u
1690
- ), { tooltipConfig: fe, showTooltip: Dt, hideTooltip: Rt } = mr(), { getTooltipAnchorAttributes: ve, getTooltipItems: _e } = _r(
1691
- m,
1700
+ ), { tooltipAnchorAttributes: me } = le(
1701
+ P,
1692
1702
  D,
1693
- R,
1694
1703
  u,
1704
+ h,
1695
1705
  c
1696
- ), me = d(
1706
+ ), { tooltipConfig: ge, showTooltip: Dt, hideTooltip: Et } = Tr(), { getTooltipItems: ye } = Ar(h), be = d(
1697
1707
  () => {
1698
1708
  var A;
1699
- return ((A = f.value.tooltipOptions) == null ? void 0 : A.position) || "top";
1709
+ return ((A = p.value.tooltipOptions) == null ? void 0 : A.position) || "top";
1700
1710
  }
1701
1711
  );
1702
- function he(A) {
1712
+ function Te(A) {
1703
1713
  var et;
1704
- f.value.withHover !== !1 && (p.value = A);
1705
- const _t = (et = f.value.tooltipOptions) != null && et.targetElement ? f.value.tooltipOptions.targetElement === "self" ? h.value.$el : f.value.tooltipOptions.targetElement : _.value[A];
1706
- f.value.withTooltip !== !1 && Dt(_t);
1714
+ if (p.value.withHover !== !1 && (f.value = A), p.value.withTooltip !== !1) {
1715
+ const _t = (et = p.value.tooltipOptions) != null && et.targetElement ? p.value.tooltipOptions.targetElement === "self" ? m.value.$el : p.value.tooltipOptions.targetElement : _.value[A];
1716
+ Dt(_t);
1717
+ }
1707
1718
  }
1708
- function ge() {
1709
- Rt(), p.value = -1;
1719
+ function Ae() {
1720
+ Et(), f.value = -1;
1710
1721
  }
1711
1722
  return H(() => {
1712
1723
  var A;
1713
1724
  (A = n.groups) != null && A.call(n) || console.error('"groups" `<slot>` must have content.');
1714
- }), { __sfc: !0, props: r, slots: n, emit: t, tooltipAnchorRadius: a, data: o, labels: s, color: i, options: l, orientation: u, chartType: c, hoveredIndex: p, tooltipAnchor: _, chartContainer: h, allOptions: f, internalData: m, computedLabels: g, containerSize: v, updateSize: y, chartID: O, xScale: T, yScale: L, computedXScale: D, computedYScale: R, computedXAxisOptions: B, computedYAxisOptions: Z, xAxisTitle: V, yAxisTitle: X, showXAxisTitle: x, showYAxisTitle: C, shouldGenerateTooltipAnchors: K, isReady: vt, hasNegativeValues: pe, negativeBarAttributes: de, tooltipConfig: fe, showTooltip: Dt, hideTooltip: Rt, getTooltipAnchorAttributes: ve, getTooltipItems: _e, tooltipPosition: me, mouseOverHandler: he, handleMouseleave: ge, VuePortal: Ot, VuePortalTarget: xt, LumeAxis: $n, LumeBar: Ct, LumeChartContainer: Dn, LumeChartLegend: Bn, LumeTooltip: Gn, LumeOverlayGroup: pr, getEmptyArrayFromData: ot };
1725
+ }), { __sfc: !0, props: r, slots: n, emit: t, tooltipAnchorRadius: a, data: o, labels: s, color: i, options: l, orientation: u, chartType: c, hoveredIndex: f, tooltipAnchor: _, chartContainer: m, allOptions: p, internalData: h, computedLabels: g, containerSize: v, updateSize: y, chartID: O, xScale: T, yScale: $, computedXScale: P, computedYScale: D, computedXAxisOptions: B, computedYAxisOptions: Z, xAxisTitle: V, yAxisTitle: X, showXAxisTitle: x, showYAxisTitle: C, shouldGenerateTooltipAnchors: K, isReady: vt, hasNegativeValues: _e, negativeBarAttributes: he, tooltipAnchorAttributes: me, tooltipConfig: ge, showTooltip: Dt, hideTooltip: Et, getTooltipItems: ye, tooltipPosition: be, mouseOverHandler: Te, handleMouseleave: Ae, VuePortal: Lt, VuePortalTarget: $t, LumeAxis: In, LumeBar: Rt, LumeChartContainer: Bn, LumeChartLegend: Gn, LumeTooltip: Xn, LumeOverlayGroup: hr };
1715
1726
  }
1716
1727
  });
1717
- var gr = function() {
1728
+ var xr = function() {
1718
1729
  var t = this, r = t._self._c, n = t._self._setupProxy;
1719
1730
  return r(n.LumeChartContainer, { ref: "chartContainer", attrs: { margins: n.allOptions.margins, "container-size": n.containerSize, "no-min-size": n.allOptions.noMinSize, "transparent-background": n.allOptions.transparentBackground, "data-j-lume-chart": "" }, on: { resize: n.updateSize, mouseleave: n.handleMouseleave }, scopedSlots: t._u([{ key: "header", fn: function() {
1720
1731
  return [r("div", { staticClass: "lume-chart__header" }, [r("div", { staticClass: "lume-chart__header-section" }, [t.title ? r("h1", { staticClass: "lume-chart__title lume-chart-title lume-typography--display" }, [t._v(" " + t._s(t.title) + " ")]) : t._e(), r("div", { staticClass: "lume-chart__controls" }, [t._t("controls")], 2)]), r("div", { staticClass: "lume-chart__header-section" }, [n.showYAxisTitle ? r("h3", { staticClass: "lume-chart__axis-title lume-axis-title lume-typography--body" }, [t._v(" " + t._s(n.yAxisTitle) + " ")]) : t._e(), n.allOptions.withLegend !== !1 ? r(n.VuePortal, { attrs: { disabled: n.allOptions.legendPosition !== "bottom", to: `legend-bottom-${n.chartID}`, slim: "" } }, [r(n.LumeChartLegend, { staticClass: "lume-chart__legend", attrs: { data: n.internalData, "data-j-lume-chart__legend": "" }, on: { click: function(a) {
@@ -1732,21 +1743,21 @@ var gr = function() {
1732
1743
  } } }), r(n.LumeAxis, { attrs: { type: "y", scale: n.computedYScale, "container-size": n.containerSize, options: n.computedYAxisOptions, "hovered-index": n.hoveredIndex, orientation: n.orientation, "data-j-lume-chart__y-axis": "" }, on: { "tick-mouseover": function(a) {
1733
1744
  return n.mouseOverHandler(a);
1734
1745
  } } })];
1735
- }, { xScale: n.computedXScale, yScale: n.computedYScale, containerSize: n.containerSize, options: n.allOptions, hoveredIndex: n.hoveredIndex }) : t._e(), t._t("groups", null, { data: n.internalData, labels: n.computedLabels, options: n.allOptions, orientation: n.orientation, xScale: n.computedXScale, yScale: n.computedYScale, hoveredIndex: n.hoveredIndex, containerSize: n.containerSize, transition: n.allOptions.withTransition !== !1, classList: t.classList }), n.allOptions.withHover !== !1 ? r(n.LumeOverlayGroup, { attrs: { data: n.internalData, orientation: n.orientation, "x-scale": n.computedXScale, "y-scale": n.computedYScale, "data-j-lume-chart__overlay-group": "" }, on: { mouseover: n.mouseOverHandler } }) : t._e(), n.shouldGenerateTooltipAnchors ? r("g", t._l(n.getEmptyArrayFromData(n.internalData), function(a, o) {
1736
- return r("circle", t._b({ key: `anchor-${o}`, ref: "tooltipAnchor", refInFor: !0, staticClass: "lume-fill--transparent", attrs: { r: n.tooltipAnchorRadius } }, "circle", n.getTooltipAnchorAttributes(o), !1));
1746
+ }, { xScale: n.computedXScale, yScale: n.computedYScale, containerSize: n.containerSize, options: n.allOptions, hoveredIndex: n.hoveredIndex }) : t._e(), t._t("groups", null, { data: n.internalData, labels: n.computedLabels, options: n.allOptions, orientation: n.orientation, xScale: n.computedXScale, yScale: n.computedYScale, hoveredIndex: n.hoveredIndex, containerSize: n.containerSize, transition: n.allOptions.withTransition !== !1, classList: t.classList }), n.allOptions.withHover !== !1 ? r(n.LumeOverlayGroup, { attrs: { data: n.internalData, orientation: n.orientation, "x-scale": n.computedXScale, "y-scale": n.computedYScale, "data-j-lume-chart__overlay-group": "" }, on: { mouseover: n.mouseOverHandler } }) : t._e(), n.shouldGenerateTooltipAnchors ? r("g", t._l(n.tooltipAnchorAttributes, function(a) {
1747
+ return r("circle", t._b({ key: `anchor-${a.cx}${a.cy}`, ref: "tooltipAnchor", refInFor: !0, staticClass: "lume-fill--transparent", attrs: { r: n.tooltipAnchorRadius } }, "circle", a, !1));
1737
1748
  }), 0) : t._e()] : t._e()], 2);
1738
- }, yr = [], br = /* @__PURE__ */ S(
1739
- hr,
1740
- gr,
1741
- yr,
1749
+ }, Lr = [], $r = /* @__PURE__ */ w(
1750
+ Or,
1751
+ xr,
1752
+ Lr,
1742
1753
  !1,
1743
1754
  null,
1744
- "47623801",
1755
+ "64922cd3",
1745
1756
  null,
1746
1757
  null
1747
1758
  );
1748
- const Y = br.exports;
1749
- function Mt(e, t) {
1759
+ const Y = $r.exports;
1760
+ function Zt(e, t) {
1750
1761
  return {
1751
1762
  x0: 0 + (t ? t.left : 0),
1752
1763
  y0: 0 + (t ? t.top : 0),
@@ -1754,32 +1765,32 @@ function Mt(e, t) {
1754
1765
  y1: e.height - (t ? t.bottom : 0)
1755
1766
  };
1756
1767
  }
1757
- function Tr(e) {
1758
- const t = $(Mt(e));
1768
+ function kr(e) {
1769
+ const t = L(Zt(e));
1759
1770
  function r(n) {
1760
- t.value = Mt(e, n);
1771
+ t.value = Zt(e, n);
1761
1772
  }
1762
1773
  return { extents: t, updateExtents: r };
1763
1774
  }
1764
- var ie = /* @__PURE__ */ ((e) => (e.GraphProblem = "There was an issue generating your alluvial graph.", e))(ie || {});
1765
- const Ar = "[lume] ";
1766
- function Or(e, t, r = !0) {
1767
- r && te() || console.error(Ar + "Error: " + e, t);
1775
+ var ce = /* @__PURE__ */ ((e) => (e.GraphProblem = "There was an issue generating your alluvial graph.", e))(ce || {});
1776
+ const wr = "[lume] ";
1777
+ function Sr(e, t, r = !0) {
1778
+ r && re() || console.error(wr + "Error: " + e, t);
1768
1779
  }
1769
- const zt = 8, xr = 8, Lr = 200;
1780
+ const Xt = 8, Cr = 8, Ir = 200;
1770
1781
  function U(e) {
1771
1782
  var t;
1772
1783
  return typeof e == "string" || typeof e == "number" ? e : (t = e.id) != null ? t : e.label;
1773
1784
  }
1774
- function Tt(e) {
1785
+ function st(e) {
1775
1786
  return e.source.id + ":" + e.target.id;
1776
1787
  }
1777
- function $r(e) {
1788
+ function de(e) {
1778
1789
  return Boolean(
1779
1790
  e.sourceLinks && e.targetLinks
1780
1791
  );
1781
1792
  }
1782
- function kr(e, t) {
1793
+ function Rr(e, t) {
1783
1794
  if (!t)
1784
1795
  return;
1785
1796
  const r = e.nodes.filter((s) => s.targetLinks.length === 0).map((s) => `${s.id}`), n = e.nodes.filter((s) => s.sourceLinks.length === 0).map((s) => `${s.id}`), a = t.filter((s) => r.includes(s.dataset.id)).reduce(
@@ -1796,25 +1807,25 @@ function kr(e, t) {
1796
1807
  bottom: 0
1797
1808
  };
1798
1809
  }
1799
- function Sr(e) {
1810
+ function Pr(e) {
1800
1811
  return e.map((t) => ({
1801
1812
  x: t.x0,
1802
1813
  y: t.y0,
1803
1814
  width: t.x1 - t.x0,
1804
1815
  height: t.y1 - t.y0,
1805
1816
  textTransform: {
1806
- x: t.depth > 0 ? t.x1 + zt : t.x0 - zt,
1817
+ x: t.depth > 0 ? t.x1 + Xt : t.x0 - Xt,
1807
1818
  y: (t.y1 + t.y0) / 2
1808
1819
  },
1809
1820
  node: t
1810
1821
  }));
1811
1822
  }
1812
- function wr(e) {
1813
- const t = ye();
1823
+ function Dr(e) {
1824
+ const t = Oe();
1814
1825
  return e.map((r) => {
1815
1826
  var n;
1816
1827
  return {
1817
- id: Tt(r),
1828
+ id: st(r),
1818
1829
  color: r.color || ((n = r.source) == null ? void 0 : n.color) || lt,
1819
1830
  d: t(r),
1820
1831
  strokeWidth: Math.max(1, r.width),
@@ -1822,22 +1833,22 @@ function wr(e) {
1822
1833
  };
1823
1834
  });
1824
1835
  }
1825
- function Wt(e, t, r) {
1826
- const n = Date.now(), a = Ye(t, r), o = () => {
1827
- let i = (Date.now() - n) / Lr;
1836
+ function Ut(e, t, r) {
1837
+ const n = Date.now(), a = en(t, r), o = () => {
1838
+ let i = (Date.now() - n) / Ir;
1828
1839
  i > 1 && (i = 1), q.set(e.node, "transitionValue", a(i)), i < 1 && requestAnimationFrame(o);
1829
1840
  };
1830
1841
  requestAnimationFrame(o);
1831
1842
  }
1832
- const Cr = {
1843
+ const Er = {
1833
1844
  nodes: [],
1834
1845
  links: []
1835
1846
  };
1836
- function Ir(e, t, r) {
1837
- const n = $(null), a = d(() => {
1847
+ function Nr(e, t, r) {
1848
+ const n = L(null), a = d(() => {
1838
1849
  var i;
1839
1850
  return (i = e.value) == null ? void 0 : i[0].values.map(({ label: l, color: u, value: c }) => ({
1840
- label: l,
1851
+ label: l || c.toString(),
1841
1852
  color: u,
1842
1853
  id: c
1843
1854
  }));
@@ -1846,19 +1857,19 @@ function Ir(e, t, r) {
1846
1857
  return (i = e.value) == null ? void 0 : i[0].values.map(
1847
1858
  (l) => {
1848
1859
  var u;
1849
- return (u = l.targets) == null ? void 0 : u.map(({ node: c, value: p, color: _ }) => {
1850
- var h;
1860
+ return (u = l.targets) == null ? void 0 : u.map(({ node: c, value: f, color: _ }) => {
1861
+ var m;
1851
1862
  return {
1852
1863
  color: _,
1853
- source: (h = l.value) != null ? h : l.label,
1864
+ source: (m = l.value) != null ? m : l.label,
1854
1865
  target: c,
1855
- value: p
1866
+ value: f
1856
1867
  };
1857
1868
  });
1858
1869
  }
1859
1870
  ).filter(Boolean).flat();
1860
- }), s = d(() => be().nodeId(U).nodeAlign(t.value.nodeAlign).nodePadding(t.value.nodePadding).nodeSort(t.value.nodeSort).nodeWidth(t.value.nodeWidth));
1861
- return P([s, r], () => {
1871
+ }), s = d(() => xe().nodeId(U).nodeAlign(t.value.nodeAlign).nodePadding(t.value.nodePadding).nodeSort(t.value.nodeSort).nodeWidth(t.value.nodeWidth));
1872
+ return R([s, r], () => {
1862
1873
  try {
1863
1874
  const { x0: i, y0: l, x1: u, y1: c } = r.value;
1864
1875
  n.value = s.value.extent([
@@ -1866,19 +1877,46 @@ function Ir(e, t, r) {
1866
1877
  [u, c]
1867
1878
  ])({ nodes: a.value, links: o.value });
1868
1879
  } catch (i) {
1869
- Or(ie.GraphProblem, i), n.value = Cr;
1880
+ Sr(ce.GraphProblem, i), n.value = Er;
1870
1881
  }
1871
1882
  }), { graph: n };
1872
1883
  }
1873
- const Dr = (e) => {
1874
- if ($r(e)) {
1884
+ function At(e, t) {
1885
+ return t || (t = {}), e.targetLinks && e.targetLinks.forEach(({ source: r, value: n }) => {
1886
+ t[r.id] = n, At(r, t);
1887
+ }), t;
1888
+ }
1889
+ function Ot(e, t) {
1890
+ return t || (t = {}), e.sourceLinks && e.sourceLinks.forEach(({ target: r, value: n }) => {
1891
+ t[r.id] = n, Ot(r, t);
1892
+ }), t;
1893
+ }
1894
+ function Br(e, t) {
1895
+ return t.links.reduce((r, n) => (n.source.id in e && n.target.id in e && r.push(st(n)), r), []);
1896
+ }
1897
+ const Hr = (e, t) => {
1898
+ let r;
1899
+ de(e) ? r = {
1900
+ [e.id]: e.value,
1901
+ ...At(e),
1902
+ ...Ot(e)
1903
+ } : r = {
1904
+ [e.source.id]: e.source.value,
1905
+ [e.target.id]: e.target.value,
1906
+ ...At(e.source),
1907
+ ...Ot(e.target)
1908
+ };
1909
+ const n = Br(r, t);
1910
+ return { nodes: r, links: n };
1911
+ }, jr = (e) => {
1912
+ if (de(e)) {
1875
1913
  const t = [...e.sourceLinks, ...e.targetLinks];
1876
1914
  return {
1877
1915
  nodes: t.reduce(
1878
1916
  (r, { source: n, target: a, value: o }) => n === e ? { ...r, [U(a)]: o } : { ...r, [U(n)]: o },
1879
1917
  { [U(e)]: e.value }
1880
1918
  ),
1881
- links: t.map((r) => Tt(r))
1919
+ links: t.map((r) => st(r))
1882
1920
  };
1883
1921
  }
1884
1922
  return {
@@ -1886,18 +1924,18 @@ const Dr = (e) => {
1886
1924
  [U(e.target)]: e.value,
1887
1925
  [U(e.source)]: e.source.value
1888
1926
  },
1889
- links: [Tt(e)]
1927
+ links: [st(e)]
1890
1928
  };
1891
1929
  };
1892
- function Rr(e, t, r) {
1893
- const n = $(null), a = d(() => n.value ? t.value.getHighlightedElements ? t.value.getHighlightedElements(
1930
+ function Vr(e, t, r) {
1931
+ const n = L(null), a = d(() => n.value ? typeof t.value.highlightedElements == "function" ? t.value.highlightedElements(
1894
1932
  n.value,
1895
1933
  r.value
1896
- ) : Dr(n.value) : { nodes: {}, links: [] });
1897
- return P(a, (o, s) => {
1934
+ ) : t.value.highlightedElements === "closest" ? jr(n.value, r.value) : Hr(n.value, r.value) : { nodes: {}, links: [] });
1935
+ return R(a, (o, s) => {
1898
1936
  if (o.links.length === 0 && Object.keys(o.nodes).length === 0) {
1899
1937
  e.value.forEach((i) => {
1900
- i.node.id in s.nodes && Wt(
1938
+ i.node.id in s.nodes && Ut(
1901
1939
  i,
1902
1940
  s.nodes[i.node.id],
1903
1941
  i.node.value
@@ -1906,47 +1944,44 @@ function Rr(e, t, r) {
1906
1944
  return;
1907
1945
  }
1908
1946
  e.value.forEach((i) => {
1909
- i.node.id in o.nodes && Wt(
1947
+ i.node.id in o.nodes && Ut(
1910
1948
  i,
1911
1949
  i.node.value,
1912
1950
  o.nodes[i.node.id]
1913
1951
  );
1914
1952
  });
1915
- }), {
1916
- highlightedElements: a,
1917
- hoveredElement: n
1918
- };
1953
+ }), { highlightedElements: a, hoveredElement: n };
1919
1954
  }
1920
- const Pr = /* @__PURE__ */ k({
1955
+ const Fr = /* @__PURE__ */ k({
1921
1956
  __name: "lume-alluvial-group",
1922
1957
  props: {
1923
1958
  ...ft()
1924
1959
  },
1925
1960
  setup(e) {
1926
- const t = e, { data: r, options: n } = w(t), a = $([]), o = $([]), s = $(null), { extents: i, updateExtents: l } = Tr(t.containerSize), { graph: u } = Ir(r, n, i), { hoveredElement: c, highlightedElements: p } = Rr(
1961
+ const t = e, { data: r, options: n } = S(t), a = L([]), o = L([]), s = L(null), { extents: i, updateExtents: l } = kr(t.containerSize), { graph: u } = Nr(r, n, i), { hoveredElement: c, highlightedElements: f } = Vr(
1927
1962
  a,
1928
1963
  n,
1929
1964
  u
1930
- ), _ = d(() => wt(n.value.valueFormat)), h = d(
1931
- () => Object.keys(p.value.nodes)
1965
+ ), _ = d(() => It(n.value.valueFormat)), m = d(
1966
+ () => Object.keys(f.value.nodes)
1932
1967
  );
1933
- function f(g) {
1934
- return h.value.length > 0 && !h.value.includes(g.toString());
1968
+ function p(g) {
1969
+ return m.value.length > 0 && !m.value.includes(g.toString());
1935
1970
  }
1936
- function m(g) {
1937
- return p.value.links.length > 0 && !p.value.links.includes(g);
1971
+ function h(g) {
1972
+ return f.value.links.length > 0 && !f.value.links.includes(g);
1938
1973
  }
1939
- return P(u, (g) => {
1940
- a.value = Sr(g.nodes), o.value = wr(g.links);
1941
- }), P([t.containerSize, s], () => {
1974
+ return R(u, (g) => {
1975
+ a.value = Pr(g.nodes), o.value = Dr(g.links);
1976
+ }), R([t.containerSize, s], () => {
1942
1977
  if (t.containerSize.width && t.containerSize.height) {
1943
- const g = kr(u.value, s.value);
1978
+ const g = Rr(u.value, s.value);
1944
1979
  l(g);
1945
1980
  }
1946
- }), { __sfc: !0, props: t, data: r, options: n, nodeBlocks: a, linkPaths: o, nodeTextRefs: s, extents: i, updateExtents: l, graph: u, hoveredElement: c, highlightedElements: p, formatValue: _, hoveredNodeIds: h, isNodeFaded: f, isLinkFaded: m, GHOST_STROKE_WIDTH_OFFSET: xr, DEFAULT_COLOR: lt };
1981
+ }), { __sfc: !0, props: t, data: r, options: n, nodeBlocks: a, linkPaths: o, nodeTextRefs: s, extents: i, updateExtents: l, graph: u, hoveredElement: c, highlightedElements: f, formatValue: _, hoveredNodeIds: m, isNodeFaded: p, isLinkFaded: h, GHOST_STROKE_WIDTH_OFFSET: Cr, DEFAULT_COLOR: lt };
1947
1982
  }
1948
1983
  });
1949
- var Er = function() {
1984
+ var Gr = function() {
1950
1985
  var t = this, r = t._self._c, n = t._self._setupProxy;
1951
1986
  return r("g", { staticClass: "lume-alluvial-group", attrs: { "data-j-alluvial-group": "" } }, [t._l(n.nodeBlocks, function(a, o) {
1952
1987
  return r("g", { key: `node-block_${o}`, staticClass: "lume-alluvial-group__node", class: {
@@ -1979,17 +2014,17 @@ var Er = function() {
1979
2014
  n.hoveredElement = a.link;
1980
2015
  } } });
1981
2016
  })], 2)], 2);
1982
- }, Nr = [], Br = /* @__PURE__ */ S(
1983
- Pr,
1984
- Er,
1985
- Nr,
2017
+ }, Mr = [], zr = /* @__PURE__ */ w(
2018
+ Fr,
2019
+ Gr,
2020
+ Mr,
1986
2021
  !1,
1987
2022
  null,
1988
2023
  "5377a0bf",
1989
2024
  null,
1990
2025
  null
1991
2026
  );
1992
- const Hr = Br.exports, jr = {
2027
+ const Wr = zr.exports, Zr = {
1993
2028
  margins: {
1994
2029
  top: 0,
1995
2030
  right: 0,
@@ -2000,31 +2035,32 @@ const Hr = Br.exports, jr = {
2000
2035
  withTooltip: !1,
2001
2036
  withHover: !1,
2002
2037
  withLegend: !1,
2038
+ highlightedElements: "full",
2003
2039
  nodePadding: 16,
2004
2040
  nodeWidth: 16,
2005
- nodeAlign: Te,
2041
+ nodeAlign: Le,
2006
2042
  valueFormat: (e) => String(e)
2007
- }, Vr = /* @__PURE__ */ k({
2043
+ }, Xr = /* @__PURE__ */ k({
2008
2044
  __name: "lume-alluvial-diagram",
2009
2045
  props: {
2010
2046
  ...W(
2011
- kt,
2047
+ St,
2012
2048
  !1,
2013
2049
  !1
2014
2050
  )
2015
2051
  },
2016
2052
  setup(e) {
2017
- const t = e, r = z(j()), { options: n } = w(t), { allOptions: a } = N(n, jr);
2053
+ const t = e, r = z(j()), { options: n } = S(t), { allOptions: a } = N(n, Zr);
2018
2054
  function o(s) {
2019
2055
  return {
2020
2056
  ...s,
2021
2057
  noBaseScales: !0
2022
2058
  };
2023
2059
  }
2024
- return { __sfc: !0, props: t, slots: r, options: n, allOptions: a, getAlluvialDiagramOptions: o, LumeChart: Y, LumeAlluvialGroup: Hr };
2060
+ return { __sfc: !0, props: t, slots: r, options: n, allOptions: a, getAlluvialDiagramOptions: o, LumeChart: Y, LumeAlluvialGroup: Wr };
2025
2061
  }
2026
2062
  });
2027
- var Fr = function() {
2063
+ var Ur = function() {
2028
2064
  var t = this, r = t._self._c, n = t._self._setupProxy;
2029
2065
  return r(n.LumeChart, t._b({ attrs: { options: n.getAlluvialDiagramOptions(n.allOptions), "data-j-alluvial-diagram": "" }, scopedSlots: t._u([{ key: "groups", fn: function(a) {
2030
2066
  return [r(n.LumeAlluvialGroup, t._b({}, "lume-alluvial-group", a, !1))];
@@ -2033,35 +2069,35 @@ var Fr = function() {
2033
2069
  return [t._t(o, null, null, s || {})];
2034
2070
  } };
2035
2071
  })], null, !0) }, "lume-chart", n.props, !1));
2036
- }, Gr = [], Mr = /* @__PURE__ */ S(
2037
- Vr,
2038
- Fr,
2039
- Gr,
2072
+ }, qr = [], Yr = /* @__PURE__ */ w(
2073
+ Xr,
2074
+ Ur,
2075
+ qr,
2040
2076
  !1,
2041
2077
  null,
2042
2078
  null,
2043
2079
  null,
2044
2080
  null
2045
2081
  );
2046
- const za = Mr.exports;
2047
- var At = /* @__PURE__ */ ((e) => (e.grouped = "grouped", e.stacked = "stacked", e))(At || {});
2048
- const zr = /* @__PURE__ */ k({
2082
+ const Ka = Yr.exports;
2083
+ var xt = /* @__PURE__ */ ((e) => (e.grouped = "grouped", e.stacked = "stacked", e))(xt || {});
2084
+ const Kr = /* @__PURE__ */ k({
2049
2085
  __name: "lume-bar-chart",
2050
2086
  props: {
2051
2087
  ...W(),
2052
2088
  type: {
2053
2089
  type: String,
2054
2090
  default: null,
2055
- validator: (e) => e in At || e == null
2091
+ validator: (e) => e in xt || e == null
2056
2092
  }
2057
2093
  },
2058
2094
  setup(e) {
2059
- const t = e, r = mt(
2060
- () => import("./c4d46fcc.js")
2061
- ), n = mt(
2062
- () => import("./2e744321.js")
2063
- ), a = mt(
2064
- () => import("./dda54efa.js")
2095
+ const t = e, r = ht(
2096
+ () => import("./5808bcb2.js")
2097
+ ), n = ht(
2098
+ () => import("./5b8dd513.js")
2099
+ ), a = ht(
2100
+ () => import("./9fc6a6b2.js")
2065
2101
  ), o = /* @__PURE__ */ new Map([
2066
2102
  ["single", r],
2067
2103
  ["grouped", n],
@@ -2079,55 +2115,55 @@ const zr = /* @__PURE__ */ k({
2079
2115
  }
2080
2116
  const l = d(() => {
2081
2117
  if (!!t.data) {
2082
- if (kt(t.data))
2118
+ if (St(t.data))
2083
2119
  return o.get("single");
2084
2120
  if (!t.type)
2085
2121
  throw new Error("Bar chart needs a type when there's multiple datasets.");
2086
2122
  return o.get(t.type);
2087
2123
  }
2088
2124
  });
2089
- return { __sfc: !0, TYPES: At, LumeSingleBarChart: r, LumeGroupedBarChart: n, LumeStackedBarChart: a, COMPONENT_MAP: o, props: t, slots: s, getBarChartOptions: i, component: l };
2125
+ return { __sfc: !0, TYPES: xt, LumeSingleBarChart: r, LumeGroupedBarChart: n, LumeStackedBarChart: a, COMPONENT_MAP: o, props: t, slots: s, getBarChartOptions: i, component: l };
2090
2126
  }
2091
2127
  });
2092
- var Wr = function() {
2128
+ var Jr = function() {
2093
2129
  var t = this, r = t._self._c, n = t._self._setupProxy;
2094
2130
  return r(n.component, t._b({ tag: "component", attrs: { options: n.getBarChartOptions(t.options) }, scopedSlots: t._u([t._l(n.slots, function(a, o) {
2095
2131
  return { key: o, fn: function(s) {
2096
2132
  return [t._t(o, null, null, s || {})];
2097
2133
  } };
2098
2134
  })], null, !0) }, "component", { ...n.props, ...t.$attrs }, !1));
2099
- }, Zr = [], Xr = /* @__PURE__ */ S(
2100
- zr,
2101
- Wr,
2102
- Zr,
2135
+ }, Qr = [], ta = /* @__PURE__ */ w(
2136
+ Kr,
2137
+ Jr,
2138
+ Qr,
2103
2139
  !1,
2104
2140
  null,
2105
2141
  null,
2106
2142
  null,
2107
2143
  null
2108
2144
  );
2109
- const Wa = Xr.exports;
2110
- function Ur(e) {
2111
- return Object.values(Fe).includes(e) || e == null;
2145
+ const Ja = ta.exports;
2146
+ function ea(e) {
2147
+ return Object.values(We).includes(e) || e == null;
2112
2148
  }
2113
- function qr(e) {
2149
+ function na(e) {
2114
2150
  return Object.values(b).includes(e);
2115
2151
  }
2116
- const Yr = (e = !1) => ({
2152
+ const ra = (e = !1) => ({
2117
2153
  type: {
2118
2154
  type: String,
2119
2155
  default: null,
2120
- validator: Ur
2156
+ validator: ea
2121
2157
  },
2122
2158
  ...e ? {
2123
2159
  orientation: {
2124
2160
  type: String,
2125
2161
  default: b.VERTICAL,
2126
- validator: qr
2162
+ validator: na
2127
2163
  }
2128
2164
  } : {}
2129
2165
  });
2130
- function ue(e) {
2166
+ function pe(e) {
2131
2167
  const t = d(() => e.value.map((n) => ({
2132
2168
  ...n,
2133
2169
  values: n.values.map((a) => ({
@@ -2142,10 +2178,10 @@ function ue(e) {
2142
2178
  });
2143
2179
  return { multiBarData: t, groupedData: r };
2144
2180
  }
2145
- function Kr(e, t) {
2181
+ function aa(e, t) {
2146
2182
  return e.value.length === 1 ? "single" : t.value;
2147
2183
  }
2148
- function Jr(e, t, r, n) {
2184
+ function oa(e, t, r, n) {
2149
2185
  const a = d(
2150
2186
  () => n.value === b.HORIZONTAL
2151
2187
  );
@@ -2154,14 +2190,14 @@ function Jr(e, t, r, n) {
2154
2190
  }
2155
2191
  const s = d(() => {
2156
2192
  const { padding: l, paddingInner: u, paddingOuter: c } = r.value;
2157
- return a.value ? (() => (o(e.value), e.value))() : st(
2193
+ return a.value ? (() => (o(e.value), e.value))() : ot(
2158
2194
  e.value,
2159
2195
  n.value,
2160
2196
  { padding: l, paddingInner: u, paddingOuter: c }
2161
2197
  );
2162
2198
  }), i = d(() => {
2163
2199
  const { padding: l, paddingInner: u, paddingOuter: c } = r.value;
2164
- return a.value ? st(
2200
+ return a.value ? ot(
2165
2201
  t.value,
2166
2202
  n.value,
2167
2203
  { padding: l, paddingInner: u, paddingOuter: c }
@@ -2169,74 +2205,74 @@ function Jr(e, t, r, n) {
2169
2205
  });
2170
2206
  return { barXScale: s, barYScale: i };
2171
2207
  }
2172
- function Qr(e, t, r, n, a, o) {
2208
+ function sa(e, t, r, n, a, o) {
2173
2209
  const s = d(
2174
2210
  () => n.value === b.HORIZONTAL
2175
2211
  );
2176
- function i(p, _) {
2177
- let h, f;
2178
- return s.value ? (h = p >= 0 ? t.value(0) : t.value(p), f = r.value(r.value.domain()[_])) : (h = t.value(t.value.domain()[_]), f = p < 0 ? r.value(0) : r.value(p)), { x: h, y: f };
2212
+ function i(f, _) {
2213
+ let m, p;
2214
+ return s.value ? (m = f >= 0 ? t.value(0) : t.value(f), p = r.value(r.value.domain()[_])) : (m = t.value(t.value.domain()[_]), p = f < 0 ? r.value(0) : r.value(f)), { x: m, y: p };
2179
2215
  }
2180
- function l(p) {
2181
- return s.value ? p < 0 ? t.value(0) - t.value(p) : t.value(p) - t.value(0) : t.value.bandwidth();
2216
+ function l(f) {
2217
+ return s.value ? f < 0 ? t.value(0) - t.value(f) : t.value(f) - t.value(0) : t.value.bandwidth();
2182
2218
  }
2183
- function u(p) {
2184
- return s.value ? r.value.bandwidth() : p < 0 ? r.value(p) - r.value(0) : r.value(0) - r.value(p);
2219
+ function u(f) {
2220
+ return s.value ? r.value.bandwidth() : f < 0 ? r.value(f) - r.value(0) : r.value(0) - r.value(f);
2185
2221
  }
2186
- function c(p, _, h) {
2187
- var L;
2188
- const { value: f, color: m } = p, g = (L = m != null ? m : e.value[_].color) != null ? L : lt, { x: v, y } = i(f, h), O = l(f), T = u(f);
2222
+ function c(f, _, m) {
2223
+ var $;
2224
+ const { value: p, color: h } = f, g = ($ = h != null ? h : e.value[_].color) != null ? $ : lt, { x: v, y } = i(p, m), O = l(p), T = u(p);
2189
2225
  return {
2190
2226
  classList: [`lume-fill--${g}`, ...o],
2191
2227
  x: v,
2192
2228
  y,
2193
2229
  width: O,
2194
2230
  height: T,
2195
- isFaded: a.value !== -1 && a.value !== h,
2196
- isNegative: f < 0
2231
+ isFaded: a.value !== -1 && a.value !== m,
2232
+ isNegative: p < 0
2197
2233
  };
2198
2234
  }
2199
2235
  return { barAttributeGenerator: c };
2200
2236
  }
2201
- function ta(e, t, r, n, a, o) {
2237
+ function ia(e, t, r, n, a, o) {
2202
2238
  const s = d(
2203
2239
  () => n.value === b.HORIZONTAL
2204
- ), i = d(() => J().domain(e.value.map((f, m) => m)).range([0, t.value.bandwidth()]).padding(0)), l = d(() => J().domain(e.value.map((f, m) => m)).range([0, r.value.bandwidth()]).padding(0));
2205
- function u(f, m, g) {
2240
+ ), i = d(() => J().domain(e.value.map((p, h) => h)).range([0, t.value.bandwidth()]).padding(0)), l = d(() => J().domain(e.value.map((p, h) => h)).range([0, r.value.bandwidth()]).padding(0));
2241
+ function u(p, h, g) {
2206
2242
  if (s.value)
2207
- return f >= 0 ? t.value(0) : t.value(f);
2243
+ return p >= 0 ? t.value(0) : t.value(p);
2208
2244
  const v = t.value.domain();
2209
- return t.value(v[m]) + i.value(g);
2245
+ return t.value(v[h]) + i.value(g);
2210
2246
  }
2211
- function c(f, m, g) {
2247
+ function c(p, h, g) {
2212
2248
  if (s.value) {
2213
2249
  const v = r.value.domain();
2214
- return r.value(v[m]) + l.value(g);
2250
+ return r.value(v[h]) + l.value(g);
2215
2251
  }
2216
- return f < 0 ? r.value(0) : r.value(f);
2252
+ return p < 0 ? r.value(0) : r.value(p);
2217
2253
  }
2218
- function p(f) {
2219
- return s.value ? f < 0 ? t.value(0) - t.value(f) : t.value(f) - t.value(0) : i.value.bandwidth();
2254
+ function f(p) {
2255
+ return s.value ? p < 0 ? t.value(0) - t.value(p) : t.value(p) - t.value(0) : i.value.bandwidth();
2220
2256
  }
2221
- function _(f) {
2222
- return s.value ? l.value.bandwidth() : f < 0 ? r.value(f) - r.value(0) : r.value(0) - r.value(f);
2257
+ function _(p) {
2258
+ return s.value ? l.value.bandwidth() : p < 0 ? r.value(p) - r.value(0) : r.value(0) - r.value(p);
2223
2259
  }
2224
- function h(f, m, g) {
2260
+ function m(p, h, g) {
2225
2261
  var B;
2226
- const { value: v, color: y } = f, O = (B = y != null ? y : e.value[m].color) != null ? B : Object.values(E)[m], T = u(v, g, m), L = c(v, g, m), D = p(v), R = _(v);
2262
+ const { value: v, color: y } = p, O = (B = y != null ? y : e.value[h].color) != null ? B : Object.values(E)[h], T = u(v, g, h), $ = c(v, g, h), P = f(v), D = _(v);
2227
2263
  return {
2228
2264
  classList: [`lume-fill--${O}`, ...o],
2229
2265
  x: T,
2230
- y: L,
2231
- width: D,
2232
- height: R,
2266
+ y: $,
2267
+ width: P,
2268
+ height: D,
2233
2269
  isFaded: a.value !== -1 && a.value !== g,
2234
2270
  isNegative: v < 0
2235
2271
  };
2236
2272
  }
2237
- return { barAttributeGenerator: h };
2273
+ return { barAttributeGenerator: m };
2238
2274
  }
2239
- function ea(e, t) {
2275
+ function ua(e, t) {
2240
2276
  const r = d(
2241
2277
  () => t.value === b.HORIZONTAL
2242
2278
  ), n = d(() => {
@@ -2255,23 +2291,23 @@ function ea(e, t) {
2255
2291
  });
2256
2292
  function o(i, l, u) {
2257
2293
  return r.value ? Q().domain([n.value, a.value]).range([0, u.width]) : Object.assign(
2258
- st(
2259
- J().domain(l.map((c, p) => p)).range([0, u.width])
2294
+ ot(
2295
+ J().domain(l.map((c, f) => f)).range([0, u.width])
2260
2296
  ),
2261
2297
  { labels: l }
2262
2298
  );
2263
2299
  }
2264
2300
  function s(i, l, u) {
2265
2301
  return r.value ? Object.assign(
2266
- st(
2267
- J().domain(l.map((c, p) => p)).range([0, u.height])
2302
+ ot(
2303
+ J().domain(l.map((c, f) => f)).range([0, u.height])
2268
2304
  ),
2269
2305
  { labels: l }
2270
2306
  ) : Q().domain([a.value, n.value]).range([0, u.height]);
2271
2307
  }
2272
2308
  return { stackedXScaleGenerator: o, stackedYScaleGenerator: s };
2273
2309
  }
2274
- function na(e, t, r, n, a, o) {
2310
+ function la(e, t, r, n, a, o) {
2275
2311
  const s = d(
2276
2312
  () => n.value === b.HORIZONTAL
2277
2313
  ), i = d(
@@ -2280,34 +2316,34 @@ function na(e, t, r, n, a, o) {
2280
2316
  () => e.value.map((v) => v.values.map((y) => y == null ? void 0 : y.value))
2281
2317
  );
2282
2318
  function u(v, y, O) {
2283
- let T, L;
2284
- return s.value ? (T = t.value(v >= 0 ? 0 + O : v + O), L = r.value(i.value[y])) : (T = t.value(i.value[y]), L = r.value(v >= 0 ? v + O : 0 + O)), { x: T, y: L };
2319
+ let T, $;
2320
+ return s.value ? (T = t.value(v >= 0 ? 0 + O : v + O), $ = r.value(i.value[y])) : (T = t.value(i.value[y]), $ = r.value(v >= 0 ? v + O : 0 + O)), { x: T, y: $ };
2285
2321
  }
2286
2322
  function c(v) {
2287
2323
  return s.value ? t.value(v) - t.value(0) : t.value.bandwidth();
2288
2324
  }
2289
- function p(v) {
2325
+ function f(v) {
2290
2326
  return s.value ? t.value(0) - t.value(v) : t.value.bandwidth();
2291
2327
  }
2292
2328
  function _(v) {
2293
2329
  return s.value ? r.value.bandwidth() : r.value(0) - r.value(v);
2294
2330
  }
2295
- function h(v) {
2331
+ function m(v) {
2296
2332
  return s.value ? r.value.bandwidth() : r.value(v) - r.value(0);
2297
2333
  }
2298
- function f(v, y) {
2299
- return v ? l.value.reduce((O, T, L) => (L < v && T[y] >= 0 && (O += T[y]), O), 0) : 0;
2334
+ function p(v, y) {
2335
+ return v ? l.value.reduce((O, T, $) => ($ < v && T[y] >= 0 && (O += T[y]), O), 0) : 0;
2300
2336
  }
2301
- function m(v, y) {
2302
- return v ? l.value.reduce((O, T, L) => (L < v && T[y] < 0 && (O += T[y]), O), 0) : 0;
2337
+ function h(v, y) {
2338
+ return v ? l.value.reduce((O, T, $) => ($ < v && T[y] < 0 && (O += T[y]), O), 0) : 0;
2303
2339
  }
2304
2340
  function g(v, y, O) {
2305
2341
  var x;
2306
- const { value: T, color: L } = v, D = T >= 0 ? c(T) : p(T), R = T >= 0 ? _(T) : h(T), B = T >= 0 ? f(y, O) : m(y, O), { x: Z, y: V } = u(T, O, B);
2342
+ const { value: T, color: $ } = v, P = T >= 0 ? c(T) : f(T), D = T >= 0 ? _(T) : m(T), B = T >= 0 ? p(y, O) : h(y, O), { x: Z, y: V } = u(T, O, B);
2307
2343
  return {
2308
- classList: [`lume-fill--${(x = L != null ? L : e.value[y].color) != null ? x : Object.values(E)[y]}`, ...o],
2309
- width: D,
2310
- height: R,
2344
+ classList: [`lume-fill--${(x = $ != null ? $ : e.value[y].color) != null ? x : Object.values(E)[y]}`, ...o],
2345
+ width: P,
2346
+ height: D,
2311
2347
  x: Z,
2312
2348
  y: V,
2313
2349
  isFaded: a.value !== -1 && a.value !== O,
@@ -2316,11 +2352,11 @@ function na(e, t, r, n, a, o) {
2316
2352
  }
2317
2353
  return { barAttributeGenerator: g };
2318
2354
  }
2319
- const Zt = {
2320
- single: Qr,
2321
- grouped: ta,
2322
- stacked: na
2323
- }, ra = /* @__PURE__ */ k({
2355
+ const qt = {
2356
+ single: sa,
2357
+ grouped: ia,
2358
+ stacked: la
2359
+ }, ca = /* @__PURE__ */ k({
2324
2360
  __name: "lume-bar-group",
2325
2361
  props: {
2326
2362
  ...ft(),
@@ -2328,7 +2364,7 @@ const Zt = {
2328
2364
  type: [String, Array],
2329
2365
  default: () => []
2330
2366
  },
2331
- ...Yr(!0),
2367
+ ...ra(!0),
2332
2368
  transition: {
2333
2369
  type: Boolean,
2334
2370
  default: !0
@@ -2345,46 +2381,46 @@ const Zt = {
2345
2381
  xScale: l,
2346
2382
  yScale: u,
2347
2383
  classList: c
2348
- } = w(t), { groupedData: p } = ue(r), { barXScale: _, barYScale: h } = Jr(
2384
+ } = S(t), { groupedData: f } = pe(r), { barXScale: _, barYScale: m } = oa(
2349
2385
  l,
2350
2386
  u,
2351
2387
  a,
2352
2388
  o
2353
- ), f = d(() => typeof c.value == "string" ? [c.value] : c.value), m = d(() => {
2354
- const v = Kr(r, i), { barAttributeGenerator: y } = Zt[v](
2389
+ ), p = d(() => typeof c.value == "string" ? [c.value] : c.value), h = d(() => {
2390
+ const v = aa(r, i), { barAttributeGenerator: y } = qt[v](
2355
2391
  r,
2356
2392
  _,
2357
- h,
2393
+ m,
2358
2394
  o,
2359
2395
  n,
2360
- f.value
2396
+ p.value
2361
2397
  );
2362
2398
  return y;
2363
2399
  }), g = d(() => {
2364
2400
  if (!!s.value)
2365
2401
  return o.value === b.HORIZONTAL ? "width" : "height";
2366
2402
  });
2367
- return { __sfc: !0, MIXIN_MAP: Zt, props: t, data: r, hoveredIndex: n, options: a, orientation: o, transition: s, type: i, xScale: l, yScale: u, classList: c, groupedData: p, barXScale: _, barYScale: h, computedClasses: f, getBarAttributes: m, computedTransition: g, LumeBar: Ct };
2403
+ return { __sfc: !0, MIXIN_MAP: qt, props: t, data: r, hoveredIndex: n, options: a, orientation: o, transition: s, type: i, xScale: l, yScale: u, classList: c, groupedData: f, barXScale: _, barYScale: m, computedClasses: p, getBarAttributes: h, computedTransition: g, LumeBar: Rt };
2368
2404
  }
2369
2405
  });
2370
- var aa = function() {
2406
+ var da = function() {
2371
2407
  var t = this, r = t._self._c, n = t._self._setupProxy;
2372
2408
  return r("g", { staticClass: "lume-bar-group", attrs: { "data-j-bars-group": "" } }, t._l(n.groupedData, function(a, o) {
2373
2409
  return r("g", { key: o }, t._l(a, function(s, i) {
2374
2410
  return r(n.LumeBar, t._b({ key: `bar-${i}`, attrs: { transition: n.computedTransition, "data-j-lume-bar": "" } }, "lume-bar", n.getBarAttributes(s, i, o, a), !1));
2375
2411
  }), 1);
2376
2412
  }), 0);
2377
- }, oa = [], sa = /* @__PURE__ */ S(
2378
- ra,
2379
- aa,
2380
- oa,
2413
+ }, pa = [], fa = /* @__PURE__ */ w(
2414
+ ca,
2415
+ da,
2416
+ pa,
2381
2417
  !1,
2382
2418
  null,
2383
2419
  null,
2384
2420
  null,
2385
2421
  null
2386
2422
  );
2387
- const It = sa.exports, ia = {
2423
+ const Pt = fa.exports, va = {
2388
2424
  [b.VERTICAL]: {
2389
2425
  withTooltip: !0,
2390
2426
  xAxisOptions: {},
@@ -2397,19 +2433,19 @@ const It = sa.exports, ia = {
2397
2433
  yAxisOptions: { gridLines: !1 },
2398
2434
  margins: G.HORIZONTAL
2399
2435
  }
2400
- }, ua = /* @__PURE__ */ k({
2436
+ }, _a = /* @__PURE__ */ k({
2401
2437
  __name: "lume-single-bar-chart",
2402
2438
  props: {
2403
- ...W(kt)
2439
+ ...W(St)
2404
2440
  },
2405
2441
  setup(e) {
2406
- const t = e, r = z(j()), { orientation: n, options: a } = w(t), o = d(
2407
- () => ia[n.value || b.VERTICAL]
2442
+ const t = e, r = z(j()), { orientation: n, options: a } = S(t), o = d(
2443
+ () => va[n.value || b.VERTICAL]
2408
2444
  ), { allOptions: s } = N(a, o);
2409
- return { __sfc: !0, props: t, slots: r, orientation: n, options: a, baseOptions: o, allOptions: s, LumeChart: Y, LumeBarGroup: It };
2445
+ return { __sfc: !0, props: t, slots: r, orientation: n, options: a, baseOptions: o, allOptions: s, LumeChart: Y, LumeBarGroup: Pt };
2410
2446
  }
2411
2447
  });
2412
- var la = function() {
2448
+ var ha = function() {
2413
2449
  var t = this, r = t._self._c, n = t._self._setupProxy;
2414
2450
  return r(n.LumeChart, t._b({ attrs: { "chart-type": "single-bar", options: n.allOptions, "data-j-single-bar-chart": "" }, scopedSlots: t._u([{ key: "groups", fn: function(a) {
2415
2451
  return [r(n.LumeBarGroup, t._b({ attrs: { orientation: n.orientation } }, "lume-bar-group", a, !1))];
@@ -2418,17 +2454,17 @@ var la = function() {
2418
2454
  return [t._t(o, null, null, s || {})];
2419
2455
  } };
2420
2456
  })], null, !0) }, "lume-chart", n.props, !1));
2421
- }, ca = [], pa = /* @__PURE__ */ S(
2422
- ua,
2423
- la,
2424
- ca,
2457
+ }, ma = [], ga = /* @__PURE__ */ w(
2458
+ _a,
2459
+ ha,
2460
+ ma,
2425
2461
  !1,
2426
2462
  null,
2427
2463
  null,
2428
2464
  null,
2429
2465
  null
2430
2466
  );
2431
- const Za = pa.exports, da = {
2467
+ const Qa = ga.exports, ya = {
2432
2468
  [b.VERTICAL]: {
2433
2469
  withTooltip: !0,
2434
2470
  xAxisOptions: {},
@@ -2442,19 +2478,19 @@ const Za = pa.exports, da = {
2442
2478
  margins: G.HORIZONTAL,
2443
2479
  tooltipOptions: { position: "right" }
2444
2480
  }
2445
- }, fa = /* @__PURE__ */ k({
2481
+ }, ba = /* @__PURE__ */ k({
2446
2482
  __name: "lume-grouped-bar-chart",
2447
2483
  props: {
2448
2484
  ...W()
2449
2485
  },
2450
2486
  setup(e) {
2451
- const t = e, r = z(j()), { orientation: n, options: a } = w(t), o = d(
2452
- () => da[n.value || b.VERTICAL]
2487
+ const t = e, r = z(j()), { orientation: n, options: a } = S(t), o = d(
2488
+ () => ya[n.value || b.VERTICAL]
2453
2489
  ), { allOptions: s } = N(a, o);
2454
- return { __sfc: !0, props: t, slots: r, orientation: n, options: a, baseOptions: o, allOptions: s, LumeChart: Y, LumeBarGroup: It };
2490
+ return { __sfc: !0, props: t, slots: r, orientation: n, options: a, baseOptions: o, allOptions: s, LumeChart: Y, LumeBarGroup: Pt };
2455
2491
  }
2456
2492
  });
2457
- var va = function() {
2493
+ var Ta = function() {
2458
2494
  var t = this, r = t._self._c, n = t._self._setupProxy;
2459
2495
  return r(n.LumeChart, t._b({ attrs: { "chart-type": "grouped-bar", options: n.allOptions, "data-j-grouped-bar-chart": "" }, scopedSlots: t._u([{ key: "groups", fn: function(a) {
2460
2496
  return [r(n.LumeBarGroup, t._b({ attrs: { type: "grouped" } }, "lume-bar-group", a, !1))];
@@ -2463,17 +2499,17 @@ var va = function() {
2463
2499
  return [t._t(o, null, null, s || {})];
2464
2500
  } };
2465
2501
  })], null, !0) }, "lume-chart", n.props, !1));
2466
- }, _a = [], ma = /* @__PURE__ */ S(
2467
- fa,
2468
- va,
2469
- _a,
2502
+ }, Aa = [], Oa = /* @__PURE__ */ w(
2503
+ ba,
2504
+ Ta,
2505
+ Aa,
2470
2506
  !1,
2471
2507
  null,
2472
2508
  null,
2473
2509
  null,
2474
2510
  null
2475
2511
  );
2476
- const Xa = ma.exports, ha = {
2512
+ const to = Oa.exports, xa = {
2477
2513
  [b.VERTICAL]: {
2478
2514
  withTooltip: !0,
2479
2515
  xAxisOptions: {},
@@ -2487,22 +2523,22 @@ const Xa = ma.exports, ha = {
2487
2523
  margins: G.HORIZONTAL,
2488
2524
  tooltipOptions: { position: "right" }
2489
2525
  }
2490
- }, ga = /* @__PURE__ */ k({
2526
+ }, La = /* @__PURE__ */ k({
2491
2527
  __name: "lume-stacked-bar-chart",
2492
2528
  props: {
2493
2529
  ...W()
2494
2530
  },
2495
2531
  setup(e) {
2496
- const t = e, r = z(j()), { data: n, orientation: a, options: o } = w(t), s = d(
2497
- () => ha[a.value || b.VERTICAL]
2498
- ), { allOptions: i } = N(o, s), { internalData: l } = ct(n), { groupedData: u } = ue(l), { stackedXScaleGenerator: c, stackedYScaleGenerator: p } = ea(
2532
+ const t = e, r = z(j()), { data: n, orientation: a, options: o } = S(t), s = d(
2533
+ () => xa[a.value || b.VERTICAL]
2534
+ ), { allOptions: i } = N(o, s), { internalData: l } = ct(n), { groupedData: u } = pe(l), { stackedXScaleGenerator: c, stackedYScaleGenerator: f } = ua(
2499
2535
  u,
2500
2536
  a
2501
2537
  );
2502
- return { __sfc: !0, props: t, slots: r, data: n, orientation: a, options: o, baseOptions: s, allOptions: i, internalData: l, groupedData: u, stackedXScaleGenerator: c, stackedYScaleGenerator: p, LumeChart: Y, LumeBarGroup: It };
2538
+ return { __sfc: !0, props: t, slots: r, data: n, orientation: a, options: o, baseOptions: s, allOptions: i, internalData: l, groupedData: u, stackedXScaleGenerator: c, stackedYScaleGenerator: f, LumeChart: Y, LumeBarGroup: Pt };
2503
2539
  }
2504
2540
  });
2505
- var ya = function() {
2541
+ var $a = function() {
2506
2542
  var t = this, r = t._self._c, n = t._self._setupProxy;
2507
2543
  return r(n.LumeChart, t._b({ attrs: { "chart-type": "stacked-bar", options: n.allOptions, "x-scale": n.stackedXScaleGenerator, "y-scale": n.stackedYScaleGenerator, "data-j-stacked-bar-chart": "" }, scopedSlots: t._u([{ key: "groups", fn: function(a) {
2508
2544
  return [r(n.LumeBarGroup, t._b({ attrs: { type: "stacked" } }, "lume-bar-group", a, !1))];
@@ -2511,25 +2547,25 @@ var ya = function() {
2511
2547
  return [t._t(o, null, null, s || {})];
2512
2548
  } };
2513
2549
  })], null, !0) }, "lume-chart", n.props, !1));
2514
- }, ba = [], Ta = /* @__PURE__ */ S(
2515
- ga,
2516
- ya,
2517
- ba,
2550
+ }, ka = [], wa = /* @__PURE__ */ w(
2551
+ La,
2552
+ $a,
2553
+ ka,
2518
2554
  !1,
2519
2555
  null,
2520
2556
  null,
2521
2557
  null,
2522
2558
  null
2523
2559
  );
2524
- const Ua = Ta.exports;
2525
- function le(e) {
2560
+ const eo = wa.exports;
2561
+ function fe(e) {
2526
2562
  function t(o) {
2527
2563
  let s = null;
2528
2564
  return o == null ? void 0 : o.reduce((i, l, u) => (l == null || l.value == null ? (s ? s.push(u) : s = [u], u === (o == null ? void 0 : o.length) - 1 && i.push(s)) : s && (i.push(s), s = null), i), []);
2529
2565
  }
2530
2566
  function r(o, s, i, l) {
2531
- const p = Math.abs(o - s) / (i + 1) * (l + 1);
2532
- return o > s ? o - p : o + p;
2567
+ const f = Math.abs(o - s) / (i + 1) * (l + 1);
2568
+ return o > s ? o - f : o + f;
2533
2569
  }
2534
2570
  function n(o) {
2535
2571
  return function(i) {
@@ -2544,21 +2580,21 @@ function le(e) {
2544
2580
  ...o,
2545
2581
  isDashed: n(s),
2546
2582
  values: o.values.map((i, l) => {
2547
- var c, p;
2583
+ var c, f;
2548
2584
  const u = s.find(
2549
2585
  (_) => _.includes(l)
2550
2586
  );
2551
2587
  if (u) {
2552
- const _ = u[0] - 1, h = u[u.length - 1] + 1;
2553
- let f = (c = o.values[_]) == null ? void 0 : c.value, m = (p = o.values[h]) == null ? void 0 : p.value;
2554
- return f == null && (f = m), m == null && (m = f), {
2588
+ const _ = u[0] - 1, m = u[u.length - 1] + 1;
2589
+ let p = (c = o.values[_]) == null ? void 0 : c.value, h = (f = o.values[m]) == null ? void 0 : f.value;
2590
+ return p == null && (p = h), h == null && (h = p), {
2555
2591
  value: r(
2556
- f,
2557
- m,
2592
+ p,
2593
+ h,
2558
2594
  u.length,
2559
2595
  u.indexOf(l)
2560
2596
  ),
2561
- label: Qt
2597
+ label: ne
2562
2598
  };
2563
2599
  }
2564
2600
  return i;
@@ -2566,19 +2602,19 @@ function le(e) {
2566
2602
  };
2567
2603
  })) };
2568
2604
  }
2569
- function Aa(e, t) {
2570
- const r = St(e) / 2;
2605
+ function Sa(e, t) {
2606
+ const r = Ct(e) / 2;
2571
2607
  return (n, a) => e(e.domain()[t + (a - 1)]) + r;
2572
2608
  }
2573
- function Oa(e, t) {
2609
+ function Ca(e, t) {
2574
2610
  return (r, n) => e(t + (n - 1));
2575
2611
  }
2576
- function xa(e, t, r, n) {
2577
- return xe().x(
2578
- M(r) ? Aa(r, e) : Oa(r, e)
2612
+ function Ia(e, t, r, n) {
2613
+ return we().x(
2614
+ M(r) ? Sa(r, e) : Ca(r, e)
2579
2615
  ).y((o) => n(o))(t);
2580
2616
  }
2581
- const Xt = 1, La = /* @__PURE__ */ k({
2617
+ const Yt = 1, Ra = /* @__PURE__ */ k({
2582
2618
  __name: "lume-line-group",
2583
2619
  props: {
2584
2620
  ...ft(),
@@ -2592,64 +2628,71 @@ const Xt = 1, La = /* @__PURE__ */ k({
2592
2628
  }
2593
2629
  },
2594
2630
  setup(e) {
2595
- const t = e, { data: r, options: n, xScale: a, yScale: o } = w(t), s = d(() => {
2631
+ const t = e, { data: r, options: n, xScale: a, yScale: o } = S(t), s = d(() => {
2596
2632
  if (r.value.every((y) => y.isDashed))
2597
2633
  return r.value;
2598
- const { computedLineData: v } = le(r);
2634
+ const { computedLineData: v } = fe(r);
2635
+ if (n.value.withTooltip !== !1) {
2636
+ const { updateTooltipAnchorAttributes: y } = le(a, o);
2637
+ y(v.value);
2638
+ }
2599
2639
  return v.value;
2600
2640
  }), i = d(() => {
2601
2641
  if (t.hoveredIndex === -1)
2602
2642
  return;
2603
- const v = re(r.value, t.hoveredIndex);
2643
+ const v = Qe(
2644
+ s.value,
2645
+ t.hoveredIndex
2646
+ );
2604
2647
  return {
2605
- d: `M ${bt(a.value, t.hoveredIndex)},${o.value.range()[1]}
2648
+ d: `M ${Tt(a.value, t.hoveredIndex)},${o.value.range()[1]}
2606
2649
  V ${o.value(v)}`
2607
2650
  };
2608
2651
  }), l = d(
2609
- () => a.value && Xt / (qe(a.value) - 1)
2652
+ () => a.value && Yt / (tn(a.value) - 1)
2610
2653
  ), u = d(
2611
2654
  () => {
2612
2655
  var v;
2613
2656
  return ((v = n.value) == null ? void 0 : v.lineWidth) * 2 || void 0;
2614
2657
  }
2615
- ), c = d(() => St(a.value) / 2), p = d(() => a.value.domain());
2658
+ ), c = d(() => Ct(a.value) / 2), f = d(() => a.value.domain());
2616
2659
  function _(v) {
2617
2660
  return s.value[v].values;
2618
2661
  }
2619
- function h(v, y) {
2620
- var T, L;
2662
+ function m(v, y) {
2663
+ var T, $;
2621
2664
  const O = v === 0 ? [] : [
2622
2665
  (T = _(y)[v - 1]) == null ? void 0 : T.value,
2623
- (L = _(y)[v]) == null ? void 0 : L.value
2666
+ ($ = _(y)[v]) == null ? void 0 : $.value
2624
2667
  ];
2625
- return xa(
2668
+ return Ia(
2626
2669
  v,
2627
2670
  O,
2628
2671
  a.value,
2629
2672
  o.value
2630
2673
  ) || "";
2631
2674
  }
2632
- function f(v) {
2675
+ function p(v) {
2633
2676
  return {
2634
2677
  animationDelay: v < 2 ? 0 : (v - 1) * l.value,
2635
2678
  animationDuration: l.value
2636
2679
  };
2637
2680
  }
2638
- function m(v, y) {
2681
+ function h(v, y) {
2639
2682
  var T;
2640
2683
  const O = (T = _(y)[v]) == null ? void 0 : T.value;
2641
2684
  return {
2642
- x: M(a.value) ? t.xScale(p.value[v]) + c.value : t.xScale(v),
2685
+ x: M(a.value) ? t.xScale(f.value[v]) + c.value : t.xScale(v),
2643
2686
  y: o.value(O)
2644
2687
  };
2645
2688
  }
2646
2689
  function g(v) {
2647
2690
  return t.hoveredIndex === v;
2648
2691
  }
2649
- return { __sfc: !0, LUME_TRANSITION_TIME_FULL: Xt, props: t, data: r, options: n, xScale: a, yScale: o, computedGroupData: s, overlayLineAttributes: i, animationDuration: l, pointRadius: u, xAxisOffset: c, domain: p, getValuesFromDataset: _, getPathDefinition: h, getLineTransitionParams: f, getPointPosition: m, isPointActive: g, LumeLine: Qn, LumePoint: ar };
2692
+ return { __sfc: !0, LUME_TRANSITION_TIME_FULL: Yt, props: t, data: r, options: n, xScale: a, yScale: o, computedGroupData: s, overlayLineAttributes: i, animationDuration: l, pointRadius: u, xAxisOffset: c, domain: f, getValuesFromDataset: _, getPathDefinition: m, getLineTransitionParams: p, getPointPosition: h, isPointActive: g, LumeLine: ar, LumePoint: lr };
2650
2693
  }
2651
2694
  });
2652
- var $a = function() {
2695
+ var Pa = function() {
2653
2696
  var t = this, r = t._self._c, n = t._self._setupProxy;
2654
2697
  return r("g", { staticClass: "lume-line-group", attrs: { "data-j-lume-line-group": "" } }, [r("path", t._b({ staticClass: "lume-line-group__overlay-line", attrs: { "data-j-lume-line-group__overlay-line": "" } }, "path", n.overlayLineAttributes, !1)), t._l(n.computedGroupData, function(a, o) {
2655
2698
  return r("g", { key: a.label, staticClass: "lume-line-group__group" }, [r("g", { staticClass: "lume-line-group__lines" }, t._l(a.values, function(s, i) {
@@ -2658,33 +2701,33 @@ var $a = function() {
2658
2701
  return r(n.LumePoint, t._b({ key: `point-${i}`, attrs: { active: n.isPointActive(i), color: a.color, index: i, radius: n.pointRadius } }, "lume-point", n.getPointPosition(i, o), !1));
2659
2702
  }), 1) : t._e()]);
2660
2703
  })], 2);
2661
- }, ka = [], Sa = /* @__PURE__ */ S(
2662
- La,
2663
- $a,
2664
- ka,
2704
+ }, Da = [], Ea = /* @__PURE__ */ w(
2705
+ Ra,
2706
+ Pa,
2707
+ Da,
2665
2708
  !1,
2666
2709
  null,
2667
- "8bc23ec3",
2710
+ "d5c53b3e",
2668
2711
  null,
2669
2712
  null
2670
2713
  );
2671
- const ce = Sa.exports, wa = {
2714
+ const ve = Ea.exports, Na = {
2672
2715
  margins: G.VERTICAL,
2673
2716
  startOnZero: !0,
2674
2717
  withTooltip: !0,
2675
2718
  xAxisOptions: {},
2676
2719
  yAxisOptions: { gridLines: !0 }
2677
- }, Ca = /* @__PURE__ */ k({
2720
+ }, Ba = /* @__PURE__ */ k({
2678
2721
  __name: "lume-line-chart",
2679
2722
  props: {
2680
2723
  ...W(null, !1)
2681
2724
  },
2682
2725
  setup(e) {
2683
- const t = e, r = z(j()), { options: n } = w(t), { allOptions: a } = N(n, wa);
2684
- return { __sfc: !0, props: t, slots: r, options: n, allOptions: a, LumeChart: Y, LumeLineGroup: ce };
2726
+ const t = e, r = z(j()), { options: n } = S(t), { allOptions: a } = N(n, Na);
2727
+ return { __sfc: !0, props: t, slots: r, options: n, allOptions: a, LumeChart: Y, LumeLineGroup: ve };
2685
2728
  }
2686
2729
  });
2687
- var Ia = function() {
2730
+ var Ha = function() {
2688
2731
  var t = this, r = t._self._c, n = t._self._setupProxy;
2689
2732
  return r(n.LumeChart, t._b({ attrs: { "chart-type": "line", options: n.allOptions, "data-j-lume-line-chart": "" }, scopedSlots: t._u([{ key: "groups", fn: function(a) {
2690
2733
  return [r(n.LumeLineGroup, t._b({}, "lume-line-group", a, !1))];
@@ -2693,28 +2736,28 @@ var Ia = function() {
2693
2736
  return [t._t(o, null, null, s || {})];
2694
2737
  } };
2695
2738
  })], null, !0) }, "lume-chart", n.props, !1));
2696
- }, Da = [], Ra = /* @__PURE__ */ S(
2697
- Ca,
2698
- Ia,
2699
- Da,
2739
+ }, ja = [], Va = /* @__PURE__ */ w(
2740
+ Ba,
2741
+ Ha,
2742
+ ja,
2700
2743
  !1,
2701
2744
  null,
2702
2745
  null,
2703
2746
  null,
2704
2747
  null
2705
2748
  );
2706
- const qa = Ra.exports;
2707
- function Pa(e) {
2749
+ const no = Va.exports;
2750
+ function Fa(e) {
2708
2751
  return { areaPathDefinition: d(
2709
2752
  () => function(r, n) {
2710
2753
  if (!r || !n)
2711
2754
  return;
2712
2755
  const a = e.value[0].values;
2713
- return Le().x((o, s) => r(s)).y0(n(Math.min(...n.domain()))).y1((o) => n(o.value))(a);
2756
+ return Se().x((o, s) => r(s)).y0(n(Math.min(...n.domain()))).y1((o) => n(o.value))(a);
2714
2757
  }
2715
2758
  ) };
2716
2759
  }
2717
- const Ea = {
2760
+ const Ga = {
2718
2761
  margins: {
2719
2762
  top: 0,
2720
2763
  right: 0,
@@ -2728,31 +2771,31 @@ const Ea = {
2728
2771
  tooltipOptions: {
2729
2772
  showTitle: !1
2730
2773
  }
2731
- }, Na = /* @__PURE__ */ k({
2774
+ }, Ma = /* @__PURE__ */ k({
2732
2775
  __name: "lume-sparkline-chart",
2733
2776
  props: {
2734
- ...ae(null),
2735
- ...pt()
2777
+ ...se(null),
2778
+ ...dt()
2736
2779
  },
2737
2780
  setup(e, { expose: t }) {
2738
- const r = e, n = z(j()), { data: a, options: o } = w(r), { internalData: s } = ct(a), { allOptions: i } = N(o, Ea), { computedLineData: l } = le(s), { areaPathDefinition: u } = Pa(l), c = d(() => s.value[0].color), p = d(
2781
+ const r = e, n = z(j()), { data: a, options: o } = S(r), { internalData: s } = ct(a), { allOptions: i } = N(o, Ga), { computedLineData: l } = fe(s), { areaPathDefinition: u } = Fa(l), c = d(() => s.value[0].color), f = d(
2739
2782
  () => a.value[0].areaColor || c.value
2740
2783
  );
2741
- function _(f) {
2784
+ function _(p) {
2742
2785
  return {
2743
- ...f,
2786
+ ...p,
2744
2787
  noMinSize: !0
2745
2788
  };
2746
2789
  }
2747
- function h(f, m, g) {
2748
- return Q().range([0, g.width]).domain([0, f[0].values.length - 1]);
2790
+ function m(p, h, g) {
2791
+ return Q().range([0, g.width]).domain([0, p[0].values.length - 1]);
2749
2792
  }
2750
2793
  return t({
2751
2794
  areaPathDefinition: u
2752
- }), { __sfc: !0, props: r, slots: n, data: a, options: o, internalData: s, allOptions: i, computedLineData: l, areaPathDefinition: u, computedColor: c, areaColor: p, getSparklineOptions: _, xScaleGenerator: h, LumeChart: Y, LumeLineGroup: ce };
2795
+ }), { __sfc: !0, props: r, slots: n, data: a, options: o, internalData: s, allOptions: i, computedLineData: l, areaPathDefinition: u, computedColor: c, areaColor: f, getSparklineOptions: _, xScaleGenerator: m, LumeChart: Y, LumeLineGroup: ve };
2753
2796
  }
2754
2797
  });
2755
- var Ba = function() {
2798
+ var za = function() {
2756
2799
  var t = this, r = t._self._c, n = t._self._setupProxy;
2757
2800
  return r(n.LumeChart, t._b({ attrs: { "chart-type": "line", options: n.getSparklineOptions(n.allOptions), "x-scale": n.xScaleGenerator }, scopedSlots: t._u([{ key: "groups", fn: function(a) {
2758
2801
  return [n.allOptions.showArea ? r("path", { class: [
@@ -2765,36 +2808,36 @@ var Ba = function() {
2765
2808
  return [t._t(o, null, null, s || {})];
2766
2809
  } };
2767
2810
  })], null, !0) }, "lume-chart", n.props, !1));
2768
- }, Ha = [], ja = /* @__PURE__ */ S(
2769
- Na,
2770
- Ba,
2771
- Ha,
2811
+ }, Wa = [], Za = /* @__PURE__ */ w(
2812
+ Ma,
2813
+ za,
2814
+ Wa,
2772
2815
  !1,
2773
2816
  null,
2774
2817
  "6d7c407a",
2775
2818
  null,
2776
2819
  null
2777
2820
  );
2778
- const Ya = ja.exports;
2821
+ const ro = Za.exports;
2779
2822
  export {
2780
- $n as L,
2781
- Wa as a,
2782
- Za as b,
2783
- Xa as c,
2784
- Ua as d,
2785
- qa as e,
2786
- Ya as f,
2823
+ In as L,
2824
+ Ja as a,
2825
+ Qa as b,
2826
+ to as c,
2827
+ eo as d,
2828
+ no as e,
2829
+ ro as f,
2787
2830
  Y as g,
2788
- Dn as h,
2789
- Bn as i,
2790
- Gn as j,
2791
- Ct as k,
2792
- za as l,
2793
- Qn as m,
2794
- ar as n,
2795
- Hr as o,
2796
- It as p,
2797
- ce as q,
2798
- pr as r
2831
+ Bn as h,
2832
+ Gn as i,
2833
+ Xn as j,
2834
+ Rt as k,
2835
+ Ka as l,
2836
+ ar as m,
2837
+ lr as n,
2838
+ Wr as o,
2839
+ Pt as p,
2840
+ ve as q,
2841
+ hr as r
2799
2842
  };
2800
- //# sourceMappingURL=20475be7.js.map
2843
+ //# sourceMappingURL=26830389.js.map