vue-chrts 0.0.42 → 0.0.44

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/vue-chrts.js CHANGED
@@ -1,15 +1,15 @@
1
- import { getCurrentInstance as On, computed as Nn, camelize as ut, defineComponent as je, toRefs as kn, ref as ht, reactive as Tn, createElementBlock as et, watch as Dn, watchEffect as In, toRaw as Be, onMounted as Mn, onUnmounted as zn, provide as Q, openBlock as tt, renderSlot as Yt, resolveComponent as Bn, normalizeClass as Xt, createVNode as Fe, unref as dt, withCtx as Fn } from "vue";
1
+ import { getCurrentInstance as Rn, computed as On, camelize as ut, defineComponent as je, toRefs as Nn, ref as ht, reactive as kn, createElementBlock as et, watch as Tn, watchEffect as Dn, toRaw as Be, onMounted as In, onUnmounted as Mn, provide as Q, openBlock as tt, renderSlot as Ut, resolveComponent as zn, normalizeClass as Yt, createVNode as Fe, unref as Bn, withCtx as Fn } from "vue";
2
2
  var Ye = "http://www.w3.org/1999/xhtml";
3
- const pt = {
3
+ const dt = {
4
4
  svg: "http://www.w3.org/2000/svg",
5
5
  xhtml: Ye,
6
6
  xlink: "http://www.w3.org/1999/xlink",
7
7
  xml: "http://www.w3.org/XML/1998/namespace",
8
8
  xmlns: "http://www.w3.org/2000/xmlns/"
9
9
  };
10
- function Gt(e) {
10
+ function Xt(e) {
11
11
  var t = e += "", n = t.indexOf(":");
12
- return n >= 0 && (t = e.slice(0, n)) !== "xmlns" && (e = e.slice(n + 1)), pt.hasOwnProperty(t) ? { space: pt[t], local: e } : e;
12
+ return n >= 0 && (t = e.slice(0, n)) !== "xmlns" && (e = e.slice(n + 1)), dt.hasOwnProperty(t) ? { space: dt[t], local: e } : e;
13
13
  }
14
14
  function Pn(e) {
15
15
  return function() {
@@ -22,19 +22,19 @@ function Ln(e) {
22
22
  return this.ownerDocument.createElementNS(e.space, e.local);
23
23
  };
24
24
  }
25
- function Zt(e) {
26
- var t = Gt(e);
25
+ function Gt(e) {
26
+ var t = Xt(e);
27
27
  return (t.local ? Ln : Pn)(t);
28
28
  }
29
29
  function Hn() {
30
30
  }
31
- function Kt(e) {
31
+ function Zt(e) {
32
32
  return e == null ? Hn : function() {
33
33
  return this.querySelector(e);
34
34
  };
35
35
  }
36
36
  function Vn(e) {
37
- typeof e != "function" && (e = Kt(e));
37
+ typeof e != "function" && (e = Zt(e));
38
38
  for (var t = this._groups, n = t.length, r = new Array(n), i = 0; i < n; ++i)
39
39
  for (var s = t[i], a = s.length, c = r[i] = new Array(a), o, f, l = 0; l < a; ++l)
40
40
  (o = s[l]) && (f = e.call(o, o.__data__, l, s)) && ("__data__" in o && (f.__data__ = o.__data__), c[l] = f);
@@ -68,7 +68,7 @@ function Gn(e) {
68
68
  return this.matches(e);
69
69
  };
70
70
  }
71
- function Jt(e) {
71
+ function Kt(e) {
72
72
  return function(t) {
73
73
  return t.matches(e);
74
74
  };
@@ -83,7 +83,7 @@ function Jn() {
83
83
  return this.firstElementChild;
84
84
  }
85
85
  function Qn(e) {
86
- return this.select(e == null ? Jn : Kn(typeof e == "function" ? e : Jt(e)));
86
+ return this.select(e == null ? Jn : Kn(typeof e == "function" ? e : Kt(e)));
87
87
  }
88
88
  var jn = Array.prototype.filter;
89
89
  function er() {
@@ -95,7 +95,7 @@ function tr(e) {
95
95
  };
96
96
  }
97
97
  function nr(e) {
98
- return this.selectAll(e == null ? er : tr(typeof e == "function" ? e : Jt(e)));
98
+ return this.selectAll(e == null ? er : tr(typeof e == "function" ? e : Kt(e)));
99
99
  }
100
100
  function rr(e) {
101
101
  typeof e != "function" && (e = Gn(e));
@@ -104,11 +104,11 @@ function rr(e) {
104
104
  (o = s[f]) && e.call(o, o.__data__, f, s) && c.push(o);
105
105
  return new D(r, this._parents);
106
106
  }
107
- function Qt(e) {
107
+ function Jt(e) {
108
108
  return new Array(e.length);
109
109
  }
110
110
  function ir() {
111
- return new D(this._enter || this._groups.map(Qt), this._parents);
111
+ return new D(this._enter || this._groups.map(Jt), this._parents);
112
112
  }
113
113
  function Se(e, t) {
114
114
  this.ownerDocument = e.ownerDocument, this.namespaceURI = e.namespaceURI, this._next = null, this._parent = e, this.__data__ = t;
@@ -156,12 +156,12 @@ function fr(e, t) {
156
156
  var n = t ? or : ar, r = this._parents, i = this._groups;
157
157
  typeof e != "function" && (e = sr(e));
158
158
  for (var s = i.length, a = new Array(s), c = new Array(s), o = new Array(s), f = 0; f < s; ++f) {
159
- var l = r[f], u = i[f], p = u.length, d = lr(e.call(l, l && l.__data__, f, r)), g = d.length, h = c[f] = new Array(g), v = a[f] = new Array(g), m = o[f] = new Array(p);
160
- n(l, u, h, v, m, d, t);
161
- for (var _ = 0, w = 0, C, S; _ < g; ++_)
162
- if (C = h[_]) {
163
- for (_ >= w && (w = _ + 1); !(S = v[w]) && ++w < g; ) ;
164
- C._next = S || null;
159
+ var l = r[f], u = i[f], p = u.length, d = lr(e.call(l, l && l.__data__, f, r)), v = d.length, h = c[f] = new Array(v), g = a[f] = new Array(v), m = o[f] = new Array(p);
160
+ n(l, u, h, g, m, d, t);
161
+ for (var _ = 0, w = 0, $, S; _ < v; ++_)
162
+ if ($ = h[_]) {
163
+ for (_ >= w && (w = _ + 1); !(S = g[w]) && ++w < v; ) ;
164
+ $._next = S || null;
165
165
  }
166
166
  }
167
167
  return a = new D(a, r), a._enter = c, a._exit = o, a;
@@ -170,7 +170,7 @@ function lr(e) {
170
170
  return typeof e == "object" && "length" in e ? e : Array.from(e);
171
171
  }
172
172
  function ur() {
173
- return new D(this._exit || this._groups.map(Qt), this._parents);
173
+ return new D(this._exit || this._groups.map(Jt), this._parents);
174
174
  }
175
175
  function hr(e, t, n) {
176
176
  var r = this.enter(), i = this, s = this.exit();
@@ -178,8 +178,8 @@ function hr(e, t, n) {
178
178
  }
179
179
  function dr(e) {
180
180
  for (var t = e.selection ? e.selection() : e, n = this._groups, r = t._groups, i = n.length, s = r.length, a = Math.min(i, s), c = new Array(i), o = 0; o < a; ++o)
181
- for (var f = n[o], l = r[o], u = f.length, p = c[o] = new Array(u), d, g = 0; g < u; ++g)
182
- (d = f[g] || l[g]) && (p[g] = d);
181
+ for (var f = n[o], l = r[o], u = f.length, p = c[o] = new Array(u), d, v = 0; v < u; ++v)
182
+ (d = f[v] || l[v]) && (p[v] = d);
183
183
  for (; o < i; ++o)
184
184
  c[o] = n[o];
185
185
  return new D(c, this._parents);
@@ -190,8 +190,8 @@ function pr() {
190
190
  (a = r[i]) && (s && a.compareDocumentPosition(s) ^ 4 && s.parentNode.insertBefore(a, s), s = a);
191
191
  return this;
192
192
  }
193
- function gr(e) {
194
- e || (e = vr);
193
+ function vr(e) {
194
+ e || (e = gr);
195
195
  function t(u, p) {
196
196
  return u && p ? e(u.__data__, p.__data__) : !u - !p;
197
197
  }
@@ -202,7 +202,7 @@ function gr(e) {
202
202
  }
203
203
  return new D(i, this._parents).order();
204
204
  }
205
- function vr(e, t) {
205
+ function gr(e, t) {
206
206
  return e < t ? -1 : e > t ? 1 : e >= t ? 0 : NaN;
207
207
  }
208
208
  function mr() {
@@ -244,12 +244,12 @@ function Sr(e) {
244
244
  this.removeAttributeNS(e.space, e.local);
245
245
  };
246
246
  }
247
- function $r(e, t) {
247
+ function Cr(e, t) {
248
248
  return function() {
249
249
  this.setAttribute(e, t);
250
250
  };
251
251
  }
252
- function Cr(e, t) {
252
+ function $r(e, t) {
253
253
  return function() {
254
254
  this.setAttributeNS(e.space, e.local, t);
255
255
  };
@@ -267,14 +267,14 @@ function Rr(e, t) {
267
267
  };
268
268
  }
269
269
  function Or(e, t) {
270
- var n = Gt(e);
270
+ var n = Xt(e);
271
271
  if (arguments.length < 2) {
272
272
  var r = this.node();
273
273
  return n.local ? r.getAttributeNS(n.space, n.local) : r.getAttribute(n);
274
274
  }
275
- return this.each((t == null ? n.local ? Sr : Ar : typeof t == "function" ? n.local ? Rr : Er : n.local ? Cr : $r)(n, t));
275
+ return this.each((t == null ? n.local ? Sr : Ar : typeof t == "function" ? n.local ? Rr : Er : n.local ? $r : Cr)(n, t));
276
276
  }
277
- function jt(e) {
277
+ function Qt(e) {
278
278
  return e.ownerDocument && e.ownerDocument.defaultView || e.document && e || e.defaultView;
279
279
  }
280
280
  function Nr(e) {
@@ -297,7 +297,7 @@ function Dr(e, t, n) {
297
297
  return arguments.length > 1 ? this.each((t == null ? Nr : typeof t == "function" ? Tr : kr)(e, t, n ?? "")) : Ir(this.node(), e);
298
298
  }
299
299
  function Ir(e, t) {
300
- return e.style.getPropertyValue(t) || jt(e).getComputedStyle(e, null).getPropertyValue(t);
300
+ return e.style.getPropertyValue(t) || Qt(e).getComputedStyle(e, null).getPropertyValue(t);
301
301
  }
302
302
  function Mr(e) {
303
303
  return function() {
@@ -318,16 +318,16 @@ function Br(e, t) {
318
318
  function Fr(e, t) {
319
319
  return arguments.length > 1 ? this.each((t == null ? Mr : typeof t == "function" ? Br : zr)(e, t)) : this.node()[e];
320
320
  }
321
- function en(e) {
321
+ function jt(e) {
322
322
  return e.trim().split(/^|\s+/);
323
323
  }
324
324
  function nt(e) {
325
- return e.classList || new tn(e);
325
+ return e.classList || new en(e);
326
326
  }
327
- function tn(e) {
328
- this._node = e, this._names = en(e.getAttribute("class") || "");
327
+ function en(e) {
328
+ this._node = e, this._names = jt(e.getAttribute("class") || "");
329
329
  }
330
- tn.prototype = {
330
+ en.prototype = {
331
331
  add: function(e) {
332
332
  var t = this._names.indexOf(e);
333
333
  t < 0 && (this._names.push(e), this._node.setAttribute("class", this._names.join(" ")));
@@ -340,29 +340,29 @@ tn.prototype = {
340
340
  return this._names.indexOf(e) >= 0;
341
341
  }
342
342
  };
343
- function nn(e, t) {
343
+ function tn(e, t) {
344
344
  for (var n = nt(e), r = -1, i = t.length; ++r < i; ) n.add(t[r]);
345
345
  }
346
- function rn(e, t) {
346
+ function nn(e, t) {
347
347
  for (var n = nt(e), r = -1, i = t.length; ++r < i; ) n.remove(t[r]);
348
348
  }
349
349
  function Pr(e) {
350
350
  return function() {
351
- nn(this, e);
351
+ tn(this, e);
352
352
  };
353
353
  }
354
354
  function Lr(e) {
355
355
  return function() {
356
- rn(this, e);
356
+ nn(this, e);
357
357
  };
358
358
  }
359
359
  function Hr(e, t) {
360
360
  return function() {
361
- (t.apply(this, arguments) ? nn : rn)(this, e);
361
+ (t.apply(this, arguments) ? tn : nn)(this, e);
362
362
  };
363
363
  }
364
364
  function Vr(e, t) {
365
- var n = en(e + "");
365
+ var n = jt(e + "");
366
366
  if (arguments.length < 2) {
367
367
  for (var r = nt(this.node()), i = -1, s = n.length; ++i < s; ) if (!r.contains(n[i])) return !1;
368
368
  return !0;
@@ -416,7 +416,7 @@ function ei() {
416
416
  return this.each(jr);
417
417
  }
418
418
  function ti(e) {
419
- var t = typeof e == "function" ? e : Zt(e);
419
+ var t = typeof e == "function" ? e : Gt(e);
420
420
  return this.select(function() {
421
421
  return this.appendChild(t.apply(this, arguments));
422
422
  });
@@ -425,7 +425,7 @@ function ni() {
425
425
  return null;
426
426
  }
427
427
  function ri(e, t) {
428
- var n = typeof e == "function" ? e : Zt(e), r = t == null ? ni : typeof t == "function" ? t : Kt(t);
428
+ var n = typeof e == "function" ? e : Gt(e), r = t == null ? ni : typeof t == "function" ? t : Zt(t);
429
429
  return this.select(function() {
430
430
  return this.insertBefore(n.apply(this, arguments), r.apply(this, arguments) || null);
431
431
  });
@@ -500,22 +500,22 @@ function pi(e, t, n) {
500
500
  for (c = t ? di : hi, i = 0; i < s; ++i) this.each(c(r[i], t, n));
501
501
  return this;
502
502
  }
503
- function sn(e, t, n) {
504
- var r = jt(e), i = r.CustomEvent;
503
+ function rn(e, t, n) {
504
+ var r = Qt(e), i = r.CustomEvent;
505
505
  typeof i == "function" ? i = new i(t, n) : (i = r.document.createEvent("Event"), n ? (i.initEvent(t, n.bubbles, n.cancelable), i.detail = n.detail) : i.initEvent(t, !1, !1)), e.dispatchEvent(i);
506
506
  }
507
- function gi(e, t) {
507
+ function vi(e, t) {
508
508
  return function() {
509
- return sn(this, e, t);
509
+ return rn(this, e, t);
510
510
  };
511
511
  }
512
- function vi(e, t) {
512
+ function gi(e, t) {
513
513
  return function() {
514
- return sn(this, e, t.apply(this, arguments));
514
+ return rn(this, e, t.apply(this, arguments));
515
515
  };
516
516
  }
517
517
  function mi(e, t) {
518
- return this.each((typeof t == "function" ? vi : gi)(e, t));
518
+ return this.each((typeof t == "function" ? gi : vi)(e, t));
519
519
  }
520
520
  function* xi() {
521
521
  for (var e = this._groups, t = 0, n = e.length; t < n; ++t)
@@ -543,7 +543,7 @@ D.prototype = {
543
543
  merge: dr,
544
544
  selection: bi,
545
545
  order: pr,
546
- sort: gr,
546
+ sort: vr,
547
547
  call: mr,
548
548
  nodes: xr,
549
549
  node: yr,
@@ -567,7 +567,7 @@ D.prototype = {
567
567
  dispatch: mi,
568
568
  [Symbol.iterator]: xi
569
569
  };
570
- function gt(e) {
570
+ function pt(e) {
571
571
  return typeof e == "string" ? new D([[document.querySelector(e)]], [document.documentElement]) : new D([[e]], yi);
572
572
  }
573
573
  var vt;
@@ -591,7 +591,7 @@ function* wi(e) {
591
591
  function Ai(e) {
592
592
  return Array.from(wi(e));
593
593
  }
594
- const an = (e) => typeof e == "number", Si = (e) => typeof e == "function", $i = (e) => Array.isArray(e), Ci = (e) => e instanceof Object, $e = (e) => e.constructor.name !== "Function" && e.constructor.name !== "Object", mt = (e) => Ci(e) && !$i(e) && !Si(e) && !$e(e), Xe = (e, t, n = [], r = /* @__PURE__ */ new Set()) => {
594
+ const sn = (e) => typeof e == "number", Si = (e) => typeof e == "function", Ci = (e) => Array.isArray(e), $i = (e) => e instanceof Object, Ce = (e) => e.constructor.name !== "Function" && e.constructor.name !== "Object", gt = (e) => $i(e) && !Ci(e) && !Si(e) && !Ce(e), Xe = (e, t, n = [], r = /* @__PURE__ */ new Set()) => {
595
595
  if (Array.isArray(e)) {
596
596
  if (!Array.isArray(t) || e.length !== t.length)
597
597
  return !1;
@@ -622,7 +622,7 @@ const an = (e) => typeof e == "number", Si = (e) => typeof e == "function", $i =
622
622
  return !0;
623
623
  }
624
624
  return e === t;
625
- }, xt = (e) => e.flat(), Ce = (e, t = /* @__PURE__ */ new Map()) => {
625
+ }, mt = (e) => e.flat(), $e = (e, t = /* @__PURE__ */ new Map()) => {
626
626
  if (typeof e != "object" || e === null)
627
627
  return e;
628
628
  if (e instanceof Date)
@@ -631,28 +631,28 @@ const an = (e) => typeof e == "number", Si = (e) => typeof e == "function", $i =
631
631
  const n = [];
632
632
  t.set(e, n);
633
633
  for (const r of e)
634
- n.push(t.has(r) ? t.get(r) : Ce(r, t));
634
+ n.push(t.has(r) ? t.get(r) : $e(r, t));
635
635
  return n;
636
636
  }
637
- if ($e(e))
637
+ if (Ce(e))
638
638
  return e;
639
639
  if (e instanceof Object) {
640
640
  const n = {};
641
641
  t.set(e, n);
642
642
  const r = e;
643
- return Object.keys(e).reduce((i, s) => (i[s] = t.has(r[s]) ? t.get(r[s]) : Ce(r[s], t), i), n), n;
643
+ return Object.keys(e).reduce((i, s) => (i[s] = t.has(r[s]) ? t.get(r[s]) : $e(r[s], t), i), n), n;
644
644
  }
645
645
  return e;
646
- }, on = (e, t, n = /* @__PURE__ */ new Map()) => {
646
+ }, an = (e, t, n = /* @__PURE__ */ new Map()) => {
647
647
  if (!e || !t || e === t)
648
648
  return e;
649
- const r = $e(e) ? e : Ce(e);
649
+ const r = Ce(e) ? e : $e(e);
650
650
  return n.has(t) ? n.get(t) : (n.set(t, r), Object.keys(t).forEach((i) => {
651
- i === "__proto__" || i === "constructor" || (mt(e[i]) && mt(t[i]) ? r[i] = on(e[i], t[i], n) : $e(t) ? r[i] = t : r[i] = Ce(t[i]));
651
+ i === "__proto__" || i === "constructor" || (gt(e[i]) && gt(t[i]) ? r[i] = an(e[i], t[i], n) : Ce(t) ? r[i] = t : r[i] = $e(t[i]));
652
652
  }), r);
653
653
  };
654
654
  function j(e) {
655
- return e.filter((t) => t && !an(t));
655
+ return e.filter((t) => t && !sn(t));
656
656
  }
657
657
  function Y(e, t, n) {
658
658
  return Math.min(Math.max(e, t), n);
@@ -665,11 +665,11 @@ var W = [], Ei = function() {
665
665
  return W.some(function(e) {
666
666
  return e.skippedTargets.length > 0;
667
667
  });
668
- }, yt = "ResizeObserver loop completed with undelivered notifications.", Oi = function() {
668
+ }, xt = "ResizeObserver loop completed with undelivered notifications.", Oi = function() {
669
669
  var e;
670
670
  typeof ErrorEvent == "function" ? e = new ErrorEvent("error", {
671
- message: yt
672
- }) : (e = document.createEvent("Event"), e.initEvent("error", !1, !1), e.message = yt), window.dispatchEvent(e);
671
+ message: xt
672
+ }) : (e = document.createEvent("Event"), e.initEvent("error", !1, !1), e.message = xt), window.dispatchEvent(e);
673
673
  }, ie;
674
674
  (function(e) {
675
675
  e.BORDER_BOX = "border-box", e.CONTENT_BOX = "content-box", e.DEVICE_PIXEL_CONTENT_BOX = "device-pixel-content-box";
@@ -681,7 +681,7 @@ var q = function(e) {
681
681
  this.inlineSize = t, this.blockSize = n, q(this);
682
682
  }
683
683
  return e;
684
- }(), cn = function() {
684
+ }(), on = function() {
685
685
  function e(t, n, r, i) {
686
686
  return this.x = t, this.y = n, this.width = r, this.height = i, this.top = this.y, this.left = this.x, this.bottom = this.top + this.height, this.right = this.left + this.width, q(this);
687
687
  }
@@ -693,14 +693,14 @@ var q = function(e) {
693
693
  }, e;
694
694
  }(), rt = function(e) {
695
695
  return e instanceof SVGElement && "getBBox" in e;
696
- }, fn = function(e) {
696
+ }, cn = function(e) {
697
697
  if (rt(e)) {
698
698
  var t = e.getBBox(), n = t.width, r = t.height;
699
699
  return !n && !r;
700
700
  }
701
701
  var i = e, s = i.offsetWidth, a = i.offsetHeight;
702
702
  return !(s || a || e.getClientRects().length);
703
- }, bt = function(e) {
703
+ }, yt = function(e) {
704
704
  var t;
705
705
  if (e instanceof Element)
706
706
  return !0;
@@ -721,29 +721,29 @@ var q = function(e) {
721
721
  return !0;
722
722
  }
723
723
  return !1;
724
- }, ne = typeof window < "u" ? window : {}, pe = /* @__PURE__ */ new WeakMap(), _t = /auto|scroll/, Ti = /^tb|vertical/, Di = /msie|trident/i.test(ne.navigator && ne.navigator.userAgent), M = function(e) {
724
+ }, ne = typeof window < "u" ? window : {}, pe = /* @__PURE__ */ new WeakMap(), bt = /auto|scroll/, Ti = /^tb|vertical/, Di = /msie|trident/i.test(ne.navigator && ne.navigator.userAgent), M = function(e) {
725
725
  return parseFloat(e || "0");
726
726
  }, X = function(e, t, n) {
727
727
  return e === void 0 && (e = 0), t === void 0 && (t = 0), n === void 0 && (n = !1), new Ni((n ? t : e) || 0, (n ? e : t) || 0);
728
- }, wt = q({
728
+ }, _t = q({
729
729
  devicePixelContentBoxSize: X(),
730
730
  borderBoxSize: X(),
731
731
  contentBoxSize: X(),
732
- contentRect: new cn(0, 0, 0, 0)
733
- }), ln = function(e, t) {
732
+ contentRect: new on(0, 0, 0, 0)
733
+ }), fn = function(e, t) {
734
734
  if (t === void 0 && (t = !1), pe.has(e) && !t)
735
735
  return pe.get(e);
736
- if (fn(e))
737
- return pe.set(e, wt), wt;
738
- var n = getComputedStyle(e), r = rt(e) && e.ownerSVGElement && e.getBBox(), i = !Di && n.boxSizing === "border-box", s = Ti.test(n.writingMode || ""), a = !r && _t.test(n.overflowY || ""), c = !r && _t.test(n.overflowX || ""), o = r ? 0 : M(n.paddingTop), f = r ? 0 : M(n.paddingRight), l = r ? 0 : M(n.paddingBottom), u = r ? 0 : M(n.paddingLeft), p = r ? 0 : M(n.borderTopWidth), d = r ? 0 : M(n.borderRightWidth), g = r ? 0 : M(n.borderBottomWidth), h = r ? 0 : M(n.borderLeftWidth), v = u + f, m = o + l, _ = h + d, w = p + g, C = c ? e.offsetHeight - w - e.clientHeight : 0, S = a ? e.offsetWidth - _ - e.clientWidth : 0, R = i ? v + _ : 0, x = i ? m + w : 0, he = r ? r.width : M(n.width) - R - S, de = r ? r.height : M(n.height) - x - C, En = he + v + S + _, Rn = de + m + C + w, lt = q({
736
+ if (cn(e))
737
+ return pe.set(e, _t), _t;
738
+ var n = getComputedStyle(e), r = rt(e) && e.ownerSVGElement && e.getBBox(), i = !Di && n.boxSizing === "border-box", s = Ti.test(n.writingMode || ""), a = !r && bt.test(n.overflowY || ""), c = !r && bt.test(n.overflowX || ""), o = r ? 0 : M(n.paddingTop), f = r ? 0 : M(n.paddingRight), l = r ? 0 : M(n.paddingBottom), u = r ? 0 : M(n.paddingLeft), p = r ? 0 : M(n.borderTopWidth), d = r ? 0 : M(n.borderRightWidth), v = r ? 0 : M(n.borderBottomWidth), h = r ? 0 : M(n.borderLeftWidth), g = u + f, m = o + l, _ = h + d, w = p + v, $ = c ? e.offsetHeight - w - e.clientHeight : 0, S = a ? e.offsetWidth - _ - e.clientWidth : 0, R = i ? g + _ : 0, x = i ? m + w : 0, he = r ? r.width : M(n.width) - R - S, de = r ? r.height : M(n.height) - x - $, $n = he + g + S + _, En = de + m + $ + w, lt = q({
739
739
  devicePixelContentBoxSize: X(Math.round(he * devicePixelRatio), Math.round(de * devicePixelRatio), s),
740
- borderBoxSize: X(En, Rn, s),
740
+ borderBoxSize: X($n, En, s),
741
741
  contentBoxSize: X(he, de, s),
742
- contentRect: new cn(u, o, he, de)
742
+ contentRect: new on(u, o, he, de)
743
743
  });
744
744
  return pe.set(e, lt), lt;
745
- }, un = function(e, t, n) {
746
- var r = ln(e, n), i = r.borderBoxSize, s = r.contentBoxSize, a = r.devicePixelContentBoxSize;
745
+ }, ln = function(e, t, n) {
746
+ var r = fn(e, n), i = r.borderBoxSize, s = r.contentBoxSize, a = r.devicePixelContentBoxSize;
747
747
  switch (t) {
748
748
  case ie.DEVICE_PIXEL_CONTENT_BOX:
749
749
  return a;
@@ -754,12 +754,12 @@ var q = function(e) {
754
754
  }
755
755
  }, Ii = /* @__PURE__ */ function() {
756
756
  function e(t) {
757
- var n = ln(t);
757
+ var n = fn(t);
758
758
  this.target = t, this.contentRect = n.contentRect, this.borderBoxSize = q([n.borderBoxSize]), this.contentBoxSize = q([n.contentBoxSize]), this.devicePixelContentBoxSize = q([n.devicePixelContentBoxSize]);
759
759
  }
760
760
  return e;
761
- }(), hn = function(e) {
762
- if (fn(e))
761
+ }(), un = function(e) {
762
+ if (cn(e))
763
763
  return 1 / 0;
764
764
  for (var t = 0, n = e.parentNode; n; )
765
765
  t += 1, n = n.parentNode;
@@ -770,8 +770,8 @@ var q = function(e) {
770
770
  if (a.activeTargets.length !== 0) {
771
771
  var c = [];
772
772
  a.activeTargets.forEach(function(f) {
773
- var l = new Ii(f.target), u = hn(f.target);
774
- c.push(l), f.lastReportedSize = un(f.target, f.observedBox), u < e && (e = u);
773
+ var l = new Ii(f.target), u = un(f.target);
774
+ c.push(l), f.lastReportedSize = ln(f.target, f.observedBox), u < e && (e = u);
775
775
  }), t.push(function() {
776
776
  a.callback.call(a.observer, c, a.observer);
777
777
  }), a.activeTargets.splice(0, a.activeTargets.length);
@@ -782,19 +782,19 @@ var q = function(e) {
782
782
  i();
783
783
  }
784
784
  return e;
785
- }, At = function(e) {
785
+ }, wt = function(e) {
786
786
  W.forEach(function(n) {
787
787
  n.activeTargets.splice(0, n.activeTargets.length), n.skippedTargets.splice(0, n.skippedTargets.length), n.observationTargets.forEach(function(i) {
788
- i.isActive() && (hn(i.target) > e ? n.activeTargets.push(i) : n.skippedTargets.push(i));
788
+ i.isActive() && (un(i.target) > e ? n.activeTargets.push(i) : n.skippedTargets.push(i));
789
789
  });
790
790
  });
791
791
  }, zi = function() {
792
792
  var e = 0;
793
- for (At(e); Ei(); )
794
- e = Mi(), At(e);
793
+ for (wt(e); Ei(); )
794
+ e = Mi(), wt(e);
795
795
  return Ri() && Oi(), e > 0;
796
- }, Pe, dn = [], Bi = function() {
797
- return dn.splice(0).forEach(function(e) {
796
+ }, Pe, hn = [], Bi = function() {
797
+ return hn.splice(0).forEach(function(e) {
798
798
  return e();
799
799
  });
800
800
  }, Fi = function(e) {
@@ -806,14 +806,14 @@ var q = function(e) {
806
806
  n.textContent = "".concat(t ? t-- : t++);
807
807
  };
808
808
  }
809
- dn.push(e), Pe();
809
+ hn.push(e), Pe();
810
810
  }, Pi = function(e) {
811
811
  Fi(function() {
812
812
  requestAnimationFrame(e);
813
813
  });
814
814
  }, be = 0, Li = function() {
815
815
  return !!be;
816
- }, Hi = 250, Vi = { attributes: !0, characterData: !0, childList: !0, subtree: !0 }, St = [
816
+ }, Hi = 250, Vi = { attributes: !0, characterData: !0, childList: !0, subtree: !0 }, At = [
817
817
  "resize",
818
818
  "load",
819
819
  "transitionend",
@@ -828,7 +828,7 @@ var q = function(e) {
828
828
  "mouseout",
829
829
  "blur",
830
830
  "focus"
831
- ], $t = function(e) {
831
+ ], St = function(e) {
832
832
  return e === void 0 && (e = 0), Date.now() + e;
833
833
  }, Le = !1, Wi = function() {
834
834
  function e() {
@@ -841,13 +841,13 @@ var q = function(e) {
841
841
  var n = this;
842
842
  if (t === void 0 && (t = Hi), !Le) {
843
843
  Le = !0;
844
- var r = $t(t);
844
+ var r = St(t);
845
845
  Pi(function() {
846
846
  var i = !1;
847
847
  try {
848
848
  i = zi();
849
849
  } finally {
850
- if (Le = !1, t = r - $t(), !Li())
850
+ if (Le = !1, t = r - St(), !Li())
851
851
  return;
852
852
  i ? n.run(1e3) : t > 0 ? n.run(t) : n.start();
853
853
  }
@@ -862,12 +862,12 @@ var q = function(e) {
862
862
  document.body ? n() : ne.addEventListener("DOMContentLoaded", n);
863
863
  }, e.prototype.start = function() {
864
864
  var t = this;
865
- this.stopped && (this.stopped = !1, this.observer = new MutationObserver(this.listener), this.observe(), St.forEach(function(n) {
865
+ this.stopped && (this.stopped = !1, this.observer = new MutationObserver(this.listener), this.observe(), At.forEach(function(n) {
866
866
  return ne.addEventListener(n, t.listener, !0);
867
867
  }));
868
868
  }, e.prototype.stop = function() {
869
869
  var t = this;
870
- this.stopped || (this.observer && this.observer.disconnect(), St.forEach(function(n) {
870
+ this.stopped || (this.observer && this.observer.disconnect(), At.forEach(function(n) {
871
871
  return ne.removeEventListener(n, t.listener, !0);
872
872
  }), this.stopped = !0);
873
873
  }, e;
@@ -883,7 +883,7 @@ var q = function(e) {
883
883
  };
884
884
  }
885
885
  return e.prototype.isActive = function() {
886
- var t = un(this.target, this.observedBox, !0);
886
+ var t = ln(this.target, this.observedBox, !0);
887
887
  return qi(this.target) && (this.lastReportedSize = t), this.lastReportedSize.inlineSize !== t.inlineSize || this.lastReportedSize.blockSize !== t.blockSize;
888
888
  }, e;
889
889
  }(), Yi = /* @__PURE__ */ function() {
@@ -891,25 +891,25 @@ var q = function(e) {
891
891
  this.activeTargets = [], this.skippedTargets = [], this.observationTargets = [], this.observer = t, this.callback = n;
892
892
  }
893
893
  return e;
894
- }(), ge = /* @__PURE__ */ new WeakMap(), Et = function(e, t) {
894
+ }(), ve = /* @__PURE__ */ new WeakMap(), $t = function(e, t) {
895
895
  for (var n = 0; n < e.length; n += 1)
896
896
  if (e[n].target === t)
897
897
  return n;
898
898
  return -1;
899
- }, ve = function() {
899
+ }, ge = function() {
900
900
  function e() {
901
901
  }
902
902
  return e.connect = function(t, n) {
903
903
  var r = new Yi(t, n);
904
- ge.set(t, r);
904
+ ve.set(t, r);
905
905
  }, e.observe = function(t, n, r) {
906
- var i = ge.get(t), s = i.observationTargets.length === 0;
907
- Et(i.observationTargets, n) < 0 && (s && W.push(i), i.observationTargets.push(new Ui(n, r && r.box)), Ct(1), Ge.schedule());
906
+ var i = ve.get(t), s = i.observationTargets.length === 0;
907
+ $t(i.observationTargets, n) < 0 && (s && W.push(i), i.observationTargets.push(new Ui(n, r && r.box)), Ct(1), Ge.schedule());
908
908
  }, e.unobserve = function(t, n) {
909
- var r = ge.get(t), i = Et(r.observationTargets, n), s = r.observationTargets.length === 1;
909
+ var r = ve.get(t), i = $t(r.observationTargets, n), s = r.observationTargets.length === 1;
910
910
  i >= 0 && (s && W.splice(W.indexOf(r), 1), r.observationTargets.splice(i, 1), Ct(-1));
911
911
  }, e.disconnect = function(t) {
912
- var n = this, r = ge.get(t);
912
+ var n = this, r = ve.get(t);
913
913
  r.observationTargets.slice().forEach(function(i) {
914
914
  return n.unobserve(t, i.target);
915
915
  }), r.activeTargets.splice(0, r.activeTargets.length);
@@ -920,27 +920,27 @@ var q = function(e) {
920
920
  throw new TypeError("Failed to construct 'ResizeObserver': 1 argument required, but only 0 present.");
921
921
  if (typeof t != "function")
922
922
  throw new TypeError("Failed to construct 'ResizeObserver': The callback provided as parameter 1 is not a function.");
923
- ve.connect(this, t);
923
+ ge.connect(this, t);
924
924
  }
925
925
  return e.prototype.observe = function(t, n) {
926
926
  if (arguments.length === 0)
927
927
  throw new TypeError("Failed to execute 'observe' on 'ResizeObserver': 1 argument required, but only 0 present.");
928
- if (!bt(t))
928
+ if (!yt(t))
929
929
  throw new TypeError("Failed to execute 'observe' on 'ResizeObserver': parameter 1 is not of type 'Element");
930
- ve.observe(this, t, n);
930
+ ge.observe(this, t, n);
931
931
  }, e.prototype.unobserve = function(t) {
932
932
  if (arguments.length === 0)
933
933
  throw new TypeError("Failed to execute 'unobserve' on 'ResizeObserver': 1 argument required, but only 0 present.");
934
- if (!bt(t))
934
+ if (!yt(t))
935
935
  throw new TypeError("Failed to execute 'unobserve' on 'ResizeObserver': parameter 1 is not of type 'Element");
936
- ve.unobserve(this, t);
936
+ ge.unobserve(this, t);
937
937
  }, e.prototype.disconnect = function() {
938
- ve.disconnect(this);
938
+ ge.disconnect(this);
939
939
  }, e.toString = function() {
940
940
  return "function ResizeObserver () { [polyfill code] }";
941
941
  }, e;
942
942
  }();
943
- const Gi = globalThis.ResizeObserver || Xi, pn = {
943
+ const Gi = globalThis.ResizeObserver || Xi, dn = {
944
944
  duration: void 0,
945
945
  margin: {
946
946
  top: 0,
@@ -962,13 +962,13 @@ const Gi = globalThis.ResizeObserver || Xi, pn = {
962
962
  };
963
963
  class se {
964
964
  constructor(t) {
965
- this._defaultConfig = pn, this._isFirstRender = !0, this._renderAnimationFrameId = null, this._container = t;
966
- const n = gt(this._container);
965
+ this._defaultConfig = dn, this._isFirstRender = !0, this._renderAnimationFrameId = null, this._container = t;
966
+ const n = pt(this._container);
967
967
  n.attr("role", "figure"), this.svg = n.append("svg").style("display", "block").attr("xmlns", "http://www.w3.org/2000/svg").attr("height", se.DEFAULT_CONTAINER_HEIGHT).attr("aria-hidden", !0), this._svgDefs = this.svg.append("defs"), this._svgDefsExternal = this.svg.append("defs"), this.element = this.svg.node();
968
968
  }
969
969
  updateContainer(t) {
970
970
  var n;
971
- this.prevConfig = this.config, this.config = on(this._defaultConfig, t), (t == null ? void 0 : t.svgDefs) !== ((n = this.prevConfig) === null || n === void 0 ? void 0 : n.svgDefs) && (this._svgDefsExternal.selectAll("*").remove(), this._svgDefsExternal.html(t.svgDefs));
971
+ this.prevConfig = this.config, this.config = an(this._defaultConfig, t), (t == null ? void 0 : t.svgDefs) !== ((n = this.prevConfig) === null || n === void 0 ? void 0 : n.svgDefs) && (this._svgDefsExternal.selectAll("*").remove(), this._svgDefsExternal.html(t.svgDefs));
972
972
  }
973
973
  // The `_preRender` step should be used to perform some actions before rendering.
974
974
  // For example, calculating scales, setting component sizes, etc ...
@@ -978,7 +978,7 @@ class se {
978
978
  // The `_render` step should be used to perform the actual rendering
979
979
  _render(t) {
980
980
  const { config: n } = this;
981
- gt(this._container).attr("aria-label", n.ariaLabel), this._isFirstRender = !1;
981
+ pt(this._container).attr("aria-label", n.ariaLabel), this._isFirstRender = !1;
982
982
  }
983
983
  // Warning: Some Containers (i.e. Single Container) may override this method, so if you introduce any changes here,
984
984
  // make sure to check that other containers didn't break after them.
@@ -1065,11 +1065,11 @@ var Ji = /* @__PURE__ */ function() {
1065
1065
  return (i = r.parentNode) == null ? void 0 : i.removeChild(r);
1066
1066
  }), this.tags = [], this.ctr = 0;
1067
1067
  }, e;
1068
- }(), E = "-ms-", Ee = "-moz-", y = "-webkit-", gn = "comm", it = "rule", st = "decl", Qi = "@import", vn = "@keyframes", ji = "@layer", es = Math.abs, Ie = String.fromCharCode, ts = Object.assign;
1068
+ }(), E = "-ms-", Ee = "-moz-", y = "-webkit-", pn = "comm", it = "rule", st = "decl", Qi = "@import", vn = "@keyframes", ji = "@layer", es = Math.abs, Ie = String.fromCharCode, ts = Object.assign;
1069
1069
  function ns(e, t) {
1070
- return $(e, 0) ^ 45 ? (((t << 2 ^ $(e, 0)) << 2 ^ $(e, 1)) << 2 ^ $(e, 2)) << 2 ^ $(e, 3) : 0;
1070
+ return C(e, 0) ^ 45 ? (((t << 2 ^ C(e, 0)) << 2 ^ C(e, 1)) << 2 ^ C(e, 2)) << 2 ^ C(e, 3) : 0;
1071
1071
  }
1072
- function mn(e) {
1072
+ function gn(e) {
1073
1073
  return e.trim();
1074
1074
  }
1075
1075
  function rs(e, t) {
@@ -1081,7 +1081,7 @@ function b(e, t, n) {
1081
1081
  function Ze(e, t) {
1082
1082
  return e.indexOf(t);
1083
1083
  }
1084
- function $(e, t) {
1084
+ function C(e, t) {
1085
1085
  return e.charCodeAt(t) | 0;
1086
1086
  }
1087
1087
  function ae(e, t, n) {
@@ -1099,7 +1099,7 @@ function me(e, t) {
1099
1099
  function is(e, t) {
1100
1100
  return e.map(t).join("");
1101
1101
  }
1102
- var Me = 1, K = 1, xn = 0, N = 0, A = 0, J = "";
1102
+ var Me = 1, K = 1, mn = 0, N = 0, A = 0, J = "";
1103
1103
  function ze(e, t, n, r, i, s, a) {
1104
1104
  return { value: e, root: t, parent: n, type: r, props: i, children: s, line: Me, column: K, length: a, return: "" };
1105
1105
  }
@@ -1110,13 +1110,13 @@ function ss() {
1110
1110
  return A;
1111
1111
  }
1112
1112
  function as() {
1113
- return A = N > 0 ? $(J, --N) : 0, K--, A === 10 && (K = 1, Me--), A;
1113
+ return A = N > 0 ? C(J, --N) : 0, K--, A === 10 && (K = 1, Me--), A;
1114
1114
  }
1115
1115
  function T() {
1116
- return A = N < xn ? $(J, N++) : 0, K++, A === 10 && (K = 1, Me++), A;
1116
+ return A = N < mn ? C(J, N++) : 0, K++, A === 10 && (K = 1, Me++), A;
1117
1117
  }
1118
1118
  function B() {
1119
- return $(J, N);
1119
+ return C(J, N);
1120
1120
  }
1121
1121
  function _e() {
1122
1122
  return N;
@@ -1162,14 +1162,14 @@ function oe(e) {
1162
1162
  }
1163
1163
  return 0;
1164
1164
  }
1165
- function yn(e) {
1166
- return Me = K = 1, xn = z(J = e), N = 0, [];
1165
+ function xn(e) {
1166
+ return Me = K = 1, mn = z(J = e), N = 0, [];
1167
1167
  }
1168
- function bn(e) {
1168
+ function yn(e) {
1169
1169
  return J = "", e;
1170
1170
  }
1171
1171
  function we(e) {
1172
- return mn(le(N - 1, Ke(e === 91 ? e + 2 : e === 40 ? e + 1 : e)));
1172
+ return gn(le(N - 1, Ke(e === 91 ? e + 2 : e === 40 ? e + 1 : e)));
1173
1173
  }
1174
1174
  function os(e) {
1175
1175
  for (; (A = B()) && A < 33; )
@@ -1215,14 +1215,14 @@ function ls(e) {
1215
1215
  return le(e, N);
1216
1216
  }
1217
1217
  function us(e) {
1218
- return bn(Ae("", null, null, null, [""], e = yn(e), 0, [0], e));
1218
+ return yn(Ae("", null, null, null, [""], e = xn(e), 0, [0], e));
1219
1219
  }
1220
1220
  function Ae(e, t, n, r, i, s, a, c, o) {
1221
- for (var f = 0, l = 0, u = a, p = 0, d = 0, g = 0, h = 1, v = 1, m = 1, _ = 0, w = "", C = i, S = s, R = r, x = w; v; )
1222
- switch (g = _, _ = T()) {
1221
+ for (var f = 0, l = 0, u = a, p = 0, d = 0, v = 0, h = 1, g = 1, m = 1, _ = 0, w = "", $ = i, S = s, R = r, x = w; g; )
1222
+ switch (v = _, _ = T()) {
1223
1223
  // (
1224
1224
  case 40:
1225
- if (g != 108 && $(x, u - 1) == 58) {
1225
+ if (v != 108 && C(x, u - 1) == 58) {
1226
1226
  Ze(x += b(we(_), "&", "&\f"), "&\f") != -1 && (m = -1);
1227
1227
  break;
1228
1228
  }
@@ -1237,7 +1237,7 @@ function Ae(e, t, n, r, i, s, a, c, o) {
1237
1237
  case 10:
1238
1238
  case 13:
1239
1239
  case 32:
1240
- x += os(g);
1240
+ x += os(v);
1241
1241
  break;
1242
1242
  // \
1243
1243
  case 92:
@@ -1265,27 +1265,27 @@ function Ae(e, t, n, r, i, s, a, c, o) {
1265
1265
  // \0 }
1266
1266
  case 0:
1267
1267
  case 125:
1268
- v = 0;
1268
+ g = 0;
1269
1269
  // ;
1270
1270
  case 59 + l:
1271
- m == -1 && (x = b(x, /\f/g, "")), d > 0 && z(x) - u && me(d > 32 ? Ot(x + ";", r, n, u - 1) : Ot(b(x, " ", "") + ";", r, n, u - 2), o);
1271
+ m == -1 && (x = b(x, /\f/g, "")), d > 0 && z(x) - u && me(d > 32 ? Rt(x + ";", r, n, u - 1) : Rt(b(x, " ", "") + ";", r, n, u - 2), o);
1272
1272
  break;
1273
1273
  // @ ;
1274
1274
  case 59:
1275
1275
  x += ";";
1276
1276
  // { rule/at-rule
1277
1277
  default:
1278
- if (me(R = Rt(x, t, n, f, l, i, c, w, C = [], S = [], u), s), _ === 123)
1278
+ if (me(R = Et(x, t, n, f, l, i, c, w, $ = [], S = [], u), s), _ === 123)
1279
1279
  if (l === 0)
1280
- Ae(x, t, R, R, C, s, u, c, S);
1280
+ Ae(x, t, R, R, $, s, u, c, S);
1281
1281
  else
1282
- switch (p === 99 && $(x, 3) === 110 ? 100 : p) {
1282
+ switch (p === 99 && C(x, 3) === 110 ? 100 : p) {
1283
1283
  // d l m s
1284
1284
  case 100:
1285
1285
  case 108:
1286
1286
  case 109:
1287
1287
  case 115:
1288
- Ae(e, R, R, r && me(Rt(e, R, R, 0, 0, i, c, w, i, C = [], u), S), i, S, u, c, r ? C : S);
1288
+ Ae(e, R, R, r && me(Et(e, R, R, 0, 0, i, c, w, i, $ = [], u), S), i, S, u, c, r ? $ : S);
1289
1289
  break;
1290
1290
  default:
1291
1291
  Ae(x, R, R, R, [""], S, 0, c, S);
@@ -1295,7 +1295,7 @@ function Ae(e, t, n, r, i, s, a, c, o) {
1295
1295
  break;
1296
1296
  // :
1297
1297
  case 58:
1298
- u = 1 + z(x), d = g;
1298
+ u = 1 + z(x), d = v;
1299
1299
  default:
1300
1300
  if (h < 1) {
1301
1301
  if (_ == 123)
@@ -1318,21 +1318,21 @@ function Ae(e, t, n, r, i, s, a, c, o) {
1318
1318
  break;
1319
1319
  // -
1320
1320
  case 45:
1321
- g === 45 && z(x) == 2 && (h = 0);
1321
+ v === 45 && z(x) == 2 && (h = 0);
1322
1322
  }
1323
1323
  }
1324
1324
  return s;
1325
1325
  }
1326
- function Rt(e, t, n, r, i, s, a, c, o, f, l) {
1327
- for (var u = i - 1, p = i === 0 ? s : [""], d = at(p), g = 0, h = 0, v = 0; g < r; ++g)
1328
- for (var m = 0, _ = ae(e, u + 1, u = es(h = a[g])), w = e; m < d; ++m)
1329
- (w = mn(h > 0 ? p[m] + " " + _ : b(_, /&\f/g, p[m]))) && (o[v++] = w);
1326
+ function Et(e, t, n, r, i, s, a, c, o, f, l) {
1327
+ for (var u = i - 1, p = i === 0 ? s : [""], d = at(p), v = 0, h = 0, g = 0; v < r; ++v)
1328
+ for (var m = 0, _ = ae(e, u + 1, u = es(h = a[v])), w = e; m < d; ++m)
1329
+ (w = gn(h > 0 ? p[m] + " " + _ : b(_, /&\f/g, p[m]))) && (o[g++] = w);
1330
1330
  return ze(e, t, n, i === 0 ? it : c, o, f, l);
1331
1331
  }
1332
1332
  function hs(e, t, n) {
1333
- return ze(e, t, n, gn, Ie(ss()), ae(e, 2, -2), 0);
1333
+ return ze(e, t, n, pn, Ie(ss()), ae(e, 2, -2), 0);
1334
1334
  }
1335
- function Ot(e, t, n, r) {
1335
+ function Rt(e, t, n, r) {
1336
1336
  return ze(e, t, n, st, ae(e, 0, r), ae(e, r + 1, -1), r);
1337
1337
  }
1338
1338
  function G(e, t) {
@@ -1347,7 +1347,7 @@ function ds(e, t, n, r) {
1347
1347
  case Qi:
1348
1348
  case st:
1349
1349
  return e.return = e.return || e.value;
1350
- case gn:
1350
+ case pn:
1351
1351
  return "";
1352
1352
  case vn:
1353
1353
  return e.return = e.value + "{" + G(e.children, r) + "}";
@@ -1364,12 +1364,12 @@ function ps(e) {
1364
1364
  return a;
1365
1365
  };
1366
1366
  }
1367
- function gs(e) {
1367
+ function vs(e) {
1368
1368
  return function(t) {
1369
1369
  t.root || (t = t.return) && e(t);
1370
1370
  };
1371
1371
  }
1372
- function vs(e) {
1372
+ function gs(e) {
1373
1373
  var t = /* @__PURE__ */ Object.create(null);
1374
1374
  return function(n) {
1375
1375
  return t[n] === void 0 && (t[n] = e(n)), t[n];
@@ -1401,15 +1401,15 @@ var ms = function(t, n, r) {
1401
1401
  while (i = T());
1402
1402
  return t;
1403
1403
  }, ys = function(t, n) {
1404
- return bn(xs(yn(t), n));
1405
- }, Nt = /* @__PURE__ */ new WeakMap(), bs = function(t) {
1404
+ return yn(xs(xn(t), n));
1405
+ }, Ot = /* @__PURE__ */ new WeakMap(), bs = function(t) {
1406
1406
  if (!(t.type !== "rule" || !t.parent || // positive .length indicates that this rule contains pseudo
1407
1407
  // negative .length indicates that this rule has been already prefixed
1408
1408
  t.length < 1)) {
1409
1409
  for (var n = t.value, r = t.parent, i = t.column === r.column && t.line === r.line; r.type !== "rule"; )
1410
1410
  if (r = r.parent, !r) return;
1411
- if (!(t.props.length === 1 && n.charCodeAt(0) !== 58 && !Nt.get(r)) && !i) {
1412
- Nt.set(t, !0);
1411
+ if (!(t.props.length === 1 && n.charCodeAt(0) !== 58 && !Ot.get(r)) && !i) {
1412
+ Ot.set(t, !0);
1413
1413
  for (var s = [], a = ys(n, s), c = r.props, o = 0, f = 0; o < a.length; o++)
1414
1414
  for (var l = 0; l < c.length; l++, f++)
1415
1415
  t.props[f] = s[o] ? a[o].replace(/&\f/g, c[l]) : c[l] + " " + a[o];
@@ -1423,7 +1423,7 @@ var ms = function(t, n, r) {
1423
1423
  n.charCodeAt(2) === 98 && (t.return = "", t.value = "");
1424
1424
  }
1425
1425
  };
1426
- function _n(e, t) {
1426
+ function bn(e, t) {
1427
1427
  switch (ns(e, t)) {
1428
1428
  // color-adjust
1429
1429
  case 5103:
@@ -1522,35 +1522,35 @@ function _n(e, t) {
1522
1522
  case 5789:
1523
1523
  case 5021:
1524
1524
  case 4765:
1525
- if (z(e) - 1 - t > 6) switch ($(e, t + 1)) {
1525
+ if (z(e) - 1 - t > 6) switch (C(e, t + 1)) {
1526
1526
  // (m)ax-content, (m)in-content
1527
1527
  case 109:
1528
- if ($(e, t + 4) !== 45) break;
1528
+ if (C(e, t + 4) !== 45) break;
1529
1529
  // (f)ill-available, (f)it-content
1530
1530
  case 102:
1531
- return b(e, /(.+:)(.+)-([^]+)/, "$1" + y + "$2-$3$1" + Ee + ($(e, t + 3) == 108 ? "$3" : "$2-$3")) + e;
1531
+ return b(e, /(.+:)(.+)-([^]+)/, "$1" + y + "$2-$3$1" + Ee + (C(e, t + 3) == 108 ? "$3" : "$2-$3")) + e;
1532
1532
  // (s)tretch
1533
1533
  case 115:
1534
- return ~Ze(e, "stretch") ? _n(b(e, "stretch", "fill-available"), t) + e : e;
1534
+ return ~Ze(e, "stretch") ? bn(b(e, "stretch", "fill-available"), t) + e : e;
1535
1535
  }
1536
1536
  break;
1537
1537
  // position: sticky
1538
1538
  case 4949:
1539
- if ($(e, t + 1) !== 115) break;
1539
+ if (C(e, t + 1) !== 115) break;
1540
1540
  // display: (flex|inline-flex)
1541
1541
  case 6444:
1542
- switch ($(e, z(e) - 3 - (~Ze(e, "!important") && 10))) {
1542
+ switch (C(e, z(e) - 3 - (~Ze(e, "!important") && 10))) {
1543
1543
  // stic(k)y
1544
1544
  case 107:
1545
1545
  return b(e, ":", ":" + y) + e;
1546
1546
  // (inline-)?fl(e)x
1547
1547
  case 101:
1548
- return b(e, /(.+:)([^;!]+)(;|!.+)?/, "$1" + y + ($(e, 14) === 45 ? "inline-" : "") + "box$3$1" + y + "$2$3$1" + E + "$2box$3") + e;
1548
+ return b(e, /(.+:)([^;!]+)(;|!.+)?/, "$1" + y + (C(e, 14) === 45 ? "inline-" : "") + "box$3$1" + y + "$2$3$1" + E + "$2box$3") + e;
1549
1549
  }
1550
1550
  break;
1551
1551
  // writing-mode
1552
1552
  case 5936:
1553
- switch ($(e, t + 11)) {
1553
+ switch (C(e, t + 11)) {
1554
1554
  // vertical-l(r)
1555
1555
  case 114:
1556
1556
  return y + e + E + b(e, /[svh]\w+-[tblr]{2}/, "tb") + e;
@@ -1568,7 +1568,7 @@ function _n(e, t) {
1568
1568
  var ws = function(t, n, r, i) {
1569
1569
  if (t.length > -1 && !t.return) switch (t.type) {
1570
1570
  case st:
1571
- t.return = _n(t.value, t.length);
1571
+ t.return = bn(t.value, t.length);
1572
1572
  break;
1573
1573
  case vn:
1574
1574
  return G([ee(t, {
@@ -1601,8 +1601,8 @@ var ws = function(t, n, r, i) {
1601
1601
  if (n === "css") {
1602
1602
  var r = document.querySelectorAll("style[data-emotion]:not([data-s])");
1603
1603
  Array.prototype.forEach.call(r, function(h) {
1604
- var v = h.getAttribute("data-emotion");
1605
- v.indexOf(" ") !== -1 && (document.head.appendChild(h), h.setAttribute("data-s", ""));
1604
+ var g = h.getAttribute("data-emotion");
1605
+ g.indexOf(" ") !== -1 && (document.head.appendChild(h), h.setAttribute("data-s", ""));
1606
1606
  });
1607
1607
  }
1608
1608
  var i = t.stylisPlugins || As, s = {}, a, c = [];
@@ -1611,23 +1611,23 @@ var ws = function(t, n, r, i) {
1611
1611
  // means that the style elements we're looking at are only Emotion 11 server-rendered style elements
1612
1612
  document.querySelectorAll('style[data-emotion^="' + n + ' "]'),
1613
1613
  function(h) {
1614
- for (var v = h.getAttribute("data-emotion").split(" "), m = 1; m < v.length; m++)
1615
- s[v[m]] = !0;
1614
+ for (var g = h.getAttribute("data-emotion").split(" "), m = 1; m < g.length; m++)
1615
+ s[g[m]] = !0;
1616
1616
  c.push(h);
1617
1617
  }
1618
1618
  );
1619
1619
  var o, f = [bs, _s];
1620
1620
  {
1621
- var l, u = [ds, gs(function(h) {
1621
+ var l, u = [ds, vs(function(h) {
1622
1622
  l.insert(h);
1623
- })], p = ps(f.concat(i, u)), d = function(v) {
1624
- return G(us(v), p);
1623
+ })], p = ps(f.concat(i, u)), d = function(g) {
1624
+ return G(us(g), p);
1625
1625
  };
1626
- o = function(v, m, _, w) {
1627
- l = _, d(v ? v + "{" + m.styles + "}" : m.styles), w && (g.inserted[m.name] = !0);
1626
+ o = function(g, m, _, w) {
1627
+ l = _, d(g ? g + "{" + m.styles + "}" : m.styles), w && (v.inserted[m.name] = !0);
1628
1628
  };
1629
1629
  }
1630
- var g = {
1630
+ var v = {
1631
1631
  key: n,
1632
1632
  sheet: new Ji({
1633
1633
  key: n,
@@ -1642,9 +1642,9 @@ var ws = function(t, n, r, i) {
1642
1642
  registered: {},
1643
1643
  insert: o
1644
1644
  };
1645
- return g.sheet.hydrate(c), g;
1645
+ return v.sheet.hydrate(c), v;
1646
1646
  };
1647
- function $s(e) {
1647
+ function Cs(e) {
1648
1648
  for (var t = 0, n, r = 0, i = e.length; i >= 4; ++r, i -= 4)
1649
1649
  n = e.charCodeAt(r) & 255 | (e.charCodeAt(++r) & 255) << 8 | (e.charCodeAt(++r) & 255) << 16 | (e.charCodeAt(++r) & 255) << 24, n = /* Math.imul(k, m): */
1650
1650
  (n & 65535) * 1540483477 + ((n >>> 16) * 59797 << 16), n ^= /* k >>> r: */
@@ -1663,7 +1663,7 @@ function $s(e) {
1663
1663
  return t ^= t >>> 13, t = /* Math.imul(h, m): */
1664
1664
  (t & 65535) * 1540483477 + ((t >>> 16) * 59797 << 16), ((t ^ t >>> 15) >>> 0).toString(36);
1665
1665
  }
1666
- var Cs = {
1666
+ var $s = {
1667
1667
  animationIterationCount: 1,
1668
1668
  aspectRatio: 1,
1669
1669
  borderImageOutset: 1,
@@ -1712,13 +1712,13 @@ var Cs = {
1712
1712
  strokeMiterlimit: 1,
1713
1713
  strokeOpacity: 1,
1714
1714
  strokeWidth: 1
1715
- }, Es = /[A-Z]|^ms/g, Rs = /_EMO_([^_]+?)_([^]*?)_EMO_/g, wn = function(t) {
1715
+ }, Es = /[A-Z]|^ms/g, Rs = /_EMO_([^_]+?)_([^]*?)_EMO_/g, _n = function(t) {
1716
1716
  return t.charCodeAt(1) === 45;
1717
- }, kt = function(t) {
1717
+ }, Nt = function(t) {
1718
1718
  return t != null && typeof t != "boolean";
1719
- }, He = /* @__PURE__ */ vs(function(e) {
1720
- return wn(e) ? e : e.replace(Es, "-$&").toLowerCase();
1721
- }), Tt = function(t, n) {
1719
+ }, He = /* @__PURE__ */ gs(function(e) {
1720
+ return _n(e) ? e : e.replace(Es, "-$&").toLowerCase();
1721
+ }), kt = function(t, n) {
1722
1722
  switch (t) {
1723
1723
  case "animation":
1724
1724
  case "animationName":
@@ -1731,7 +1731,7 @@ var Cs = {
1731
1731
  }, i;
1732
1732
  });
1733
1733
  }
1734
- return Cs[t] !== 1 && !wn(t) && typeof n == "number" && n !== 0 ? n + "px" : n;
1734
+ return $s[t] !== 1 && !_n(t) && typeof n == "number" && n !== 0 ? n + "px" : n;
1735
1735
  };
1736
1736
  function Re(e, t, n) {
1737
1737
  if (n == null)
@@ -1782,10 +1782,10 @@ function Os(e, t, n) {
1782
1782
  var a = n[s];
1783
1783
  if (typeof a != "object") {
1784
1784
  var c = a;
1785
- t != null && t[c] !== void 0 ? r += s + "{" + t[c] + "}" : kt(c) && (r += He(s) + ":" + Tt(s, c) + ";");
1785
+ t != null && t[c] !== void 0 ? r += s + "{" + t[c] + "}" : Nt(c) && (r += He(s) + ":" + kt(s, c) + ";");
1786
1786
  } else if (Array.isArray(a) && typeof a[0] == "string" && (t == null || t[a[0]] === void 0))
1787
1787
  for (var o = 0; o < a.length; o++)
1788
- kt(a[o]) && (r += He(s) + ":" + Tt(s, a[o]) + ";");
1788
+ Nt(a[o]) && (r += He(s) + ":" + kt(s, a[o]) + ";");
1789
1789
  else {
1790
1790
  var f = Re(e, t, a);
1791
1791
  switch (s) {
@@ -1801,7 +1801,7 @@ function Os(e, t, n) {
1801
1801
  }
1802
1802
  return r;
1803
1803
  }
1804
- var Dt = /label:\s*([^\s;{]+)\s*(;|$)/g, L;
1804
+ var Tt = /label:\s*([^\s;{]+)\s*(;|$)/g, L;
1805
1805
  function Ve(e, t, n) {
1806
1806
  if (e.length === 1 && typeof e[0] == "object" && e[0] !== null && e[0].styles !== void 0)
1807
1807
  return e[0];
@@ -1819,17 +1819,17 @@ function Ve(e, t, n) {
1819
1819
  var o = s;
1820
1820
  i += o[c];
1821
1821
  }
1822
- Dt.lastIndex = 0;
1823
- for (var f = "", l; (l = Dt.exec(i)) !== null; )
1822
+ Tt.lastIndex = 0;
1823
+ for (var f = "", l; (l = Tt.exec(i)) !== null; )
1824
1824
  f += "-" + l[1];
1825
- var u = $s(i) + f;
1825
+ var u = Cs(i) + f;
1826
1826
  return {
1827
1827
  name: u,
1828
1828
  styles: i,
1829
1829
  next: L
1830
1830
  };
1831
1831
  }
1832
- function An(e, t, n) {
1832
+ function wn(e, t, n) {
1833
1833
  var r = "";
1834
1834
  return n.split(" ").forEach(function(i) {
1835
1835
  e[i] !== void 0 ? t.push(e[i] + ";") : i && (r += i + " ");
@@ -1853,12 +1853,12 @@ var Ns = function(t, n, r) {
1853
1853
  while (s !== void 0);
1854
1854
  }
1855
1855
  };
1856
- function It(e, t) {
1856
+ function Dt(e, t) {
1857
1857
  if (e.inserted[t.name] === void 0)
1858
1858
  return e.insert("", t, e.sheet, !0);
1859
1859
  }
1860
- function Mt(e, t, n) {
1861
- var r = [], i = An(e, r, n);
1860
+ function It(e, t, n) {
1861
+ var r = [], i = wn(e, r, n);
1862
1862
  return r.length < 2 ? n : i + t(r);
1863
1863
  }
1864
1864
  var Ts = function(t) {
@@ -1875,7 +1875,7 @@ var Ts = function(t) {
1875
1875
  for (var o = arguments.length, f = new Array(o), l = 0; l < o; l++)
1876
1876
  f[l] = arguments[l];
1877
1877
  var u = Ve(f, n.registered), p = "animation-" + u.name;
1878
- return It(n, {
1878
+ return Dt(n, {
1879
1879
  name: u.name,
1880
1880
  styles: "@keyframes " + p + "{" + u.styles + "}"
1881
1881
  }), p;
@@ -1883,11 +1883,11 @@ var Ts = function(t) {
1883
1883
  for (var o = arguments.length, f = new Array(o), l = 0; l < o; l++)
1884
1884
  f[l] = arguments[l];
1885
1885
  var u = Ve(f, n.registered);
1886
- It(n, u);
1886
+ Dt(n, u);
1887
1887
  }, a = function() {
1888
1888
  for (var o = arguments.length, f = new Array(o), l = 0; l < o; l++)
1889
1889
  f[l] = arguments[l];
1890
- return Mt(n.registered, r, Ds(f));
1890
+ return It(n.registered, r, Ds(f));
1891
1891
  };
1892
1892
  return {
1893
1893
  css: r,
@@ -1904,8 +1904,8 @@ var Ts = function(t) {
1904
1904
  },
1905
1905
  sheet: n.sheet,
1906
1906
  cache: n,
1907
- getRegisteredStyles: An.bind(null, n.registered),
1908
- merge: Mt.bind(null, n.registered, r)
1907
+ getRegisteredStyles: wn.bind(null, n.registered),
1908
+ merge: It.bind(null, n.registered, r)
1909
1909
  };
1910
1910
  }, Ds = function e(t) {
1911
1911
  for (var n = "", r = 0; r < t.length; r++) {
@@ -1932,20 +1932,20 @@ var Ts = function(t) {
1932
1932
  }
1933
1933
  }
1934
1934
  return n;
1935
- }, Sn = Ts({
1935
+ }, An = Ts({
1936
1936
  key: "css"
1937
- }), Is = Sn.injectGlobal, Ms = Sn.css, We, zt;
1937
+ }), Is = An.injectGlobal, Ms = An.css, We, Mt;
1938
1938
  function zs() {
1939
- return zt || (zt = 1, We = function(t, n) {
1939
+ return Mt || (Mt = 1, We = function(t, n) {
1940
1940
  n || (n = [0, ""]), t = String(t);
1941
1941
  var r = parseFloat(t, 10);
1942
1942
  return n[0] = r, n[1] = t.match(/[\d.\-\+]*\s*(.*)/)[1] || "", n;
1943
1943
  }), We;
1944
1944
  }
1945
- var qe, Bt;
1945
+ var qe, zt;
1946
1946
  function Bs() {
1947
- if (Bt) return qe;
1948
- Bt = 1;
1947
+ if (zt) return qe;
1948
+ zt = 1;
1949
1949
  var e = zs();
1950
1950
  qe = i;
1951
1951
  var t = r("in", document.body);
@@ -2009,14 +2009,14 @@ function Fs() {
2009
2009
  function ot(e, t, n) {
2010
2010
  e.prototype = t.prototype = n, n.constructor = e;
2011
2011
  }
2012
- function $n(e, t) {
2012
+ function Sn(e, t) {
2013
2013
  var n = Object.create(e.prototype);
2014
2014
  for (var r in t) n[r] = t[r];
2015
2015
  return n;
2016
2016
  }
2017
2017
  function ue() {
2018
2018
  }
2019
- var ce = 0.7, Oe = 1 / ce, Z = "\\s*([+-]?\\d+)\\s*", fe = "\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*", F = "\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*", Ps = /^#([0-9a-f]{3,8})$/, Ls = new RegExp(`^rgb\\(${Z},${Z},${Z}\\)$`), Hs = new RegExp(`^rgb\\(${F},${F},${F}\\)$`), Vs = new RegExp(`^rgba\\(${Z},${Z},${Z},${fe}\\)$`), Ws = new RegExp(`^rgba\\(${F},${F},${F},${fe}\\)$`), qs = new RegExp(`^hsl\\(${fe},${F},${F}\\)$`), Us = new RegExp(`^hsla\\(${fe},${F},${F},${fe}\\)$`), Ft = {
2019
+ var ce = 0.7, Oe = 1 / ce, Z = "\\s*([+-]?\\d+)\\s*", fe = "\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*", F = "\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*", Ps = /^#([0-9a-f]{3,8})$/, Ls = new RegExp(`^rgb\\(${Z},${Z},${Z}\\)$`), Hs = new RegExp(`^rgb\\(${F},${F},${F}\\)$`), Vs = new RegExp(`^rgba\\(${Z},${Z},${Z},${fe}\\)$`), Ws = new RegExp(`^rgba\\(${F},${F},${F},${fe}\\)$`), qs = new RegExp(`^hsl\\(${fe},${F},${F}\\)$`), Us = new RegExp(`^hsla\\(${fe},${F},${F},${fe}\\)$`), Bt = {
2020
2020
  aliceblue: 15792383,
2021
2021
  antiquewhite: 16444375,
2022
2022
  aqua: 65535,
@@ -2173,15 +2173,15 @@ ot(ue, ct, {
2173
2173
  displayable() {
2174
2174
  return this.rgb().displayable();
2175
2175
  },
2176
- hex: Pt,
2176
+ hex: Ft,
2177
2177
  // Deprecated! Use color.formatHex.
2178
- formatHex: Pt,
2178
+ formatHex: Ft,
2179
2179
  formatHex8: Ys,
2180
2180
  formatHsl: Xs,
2181
- formatRgb: Lt,
2182
- toString: Lt
2181
+ formatRgb: Pt,
2182
+ toString: Pt
2183
2183
  });
2184
- function Pt() {
2184
+ function Ft() {
2185
2185
  return this.rgb().formatHex();
2186
2186
  }
2187
2187
  function Ys() {
@@ -2190,14 +2190,14 @@ function Ys() {
2190
2190
  function Xs() {
2191
2191
  return Cn(this).formatHsl();
2192
2192
  }
2193
- function Lt() {
2193
+ function Pt() {
2194
2194
  return this.rgb().formatRgb();
2195
2195
  }
2196
2196
  function ct(e) {
2197
2197
  var t, n;
2198
- return e = (e + "").trim().toLowerCase(), (t = Ps.exec(e)) ? (n = t[1].length, t = parseInt(t[1], 16), n === 6 ? Ht(t) : n === 3 ? new O(t >> 8 & 15 | t >> 4 & 240, t >> 4 & 15 | t & 240, (t & 15) << 4 | t & 15, 1) : n === 8 ? xe(t >> 24 & 255, t >> 16 & 255, t >> 8 & 255, (t & 255) / 255) : n === 4 ? xe(t >> 12 & 15 | t >> 8 & 240, t >> 8 & 15 | t >> 4 & 240, t >> 4 & 15 | t & 240, ((t & 15) << 4 | t & 15) / 255) : null) : (t = Ls.exec(e)) ? new O(t[1], t[2], t[3], 1) : (t = Hs.exec(e)) ? new O(t[1] * 255 / 100, t[2] * 255 / 100, t[3] * 255 / 100, 1) : (t = Vs.exec(e)) ? xe(t[1], t[2], t[3], t[4]) : (t = Ws.exec(e)) ? xe(t[1] * 255 / 100, t[2] * 255 / 100, t[3] * 255 / 100, t[4]) : (t = qs.exec(e)) ? qt(t[1], t[2] / 100, t[3] / 100, 1) : (t = Us.exec(e)) ? qt(t[1], t[2] / 100, t[3] / 100, t[4]) : Ft.hasOwnProperty(e) ? Ht(Ft[e]) : e === "transparent" ? new O(NaN, NaN, NaN, 0) : null;
2198
+ return e = (e + "").trim().toLowerCase(), (t = Ps.exec(e)) ? (n = t[1].length, t = parseInt(t[1], 16), n === 6 ? Lt(t) : n === 3 ? new O(t >> 8 & 15 | t >> 4 & 240, t >> 4 & 15 | t & 240, (t & 15) << 4 | t & 15, 1) : n === 8 ? xe(t >> 24 & 255, t >> 16 & 255, t >> 8 & 255, (t & 255) / 255) : n === 4 ? xe(t >> 12 & 15 | t >> 8 & 240, t >> 8 & 15 | t >> 4 & 240, t >> 4 & 15 | t & 240, ((t & 15) << 4 | t & 15) / 255) : null) : (t = Ls.exec(e)) ? new O(t[1], t[2], t[3], 1) : (t = Hs.exec(e)) ? new O(t[1] * 255 / 100, t[2] * 255 / 100, t[3] * 255 / 100, 1) : (t = Vs.exec(e)) ? xe(t[1], t[2], t[3], t[4]) : (t = Ws.exec(e)) ? xe(t[1] * 255 / 100, t[2] * 255 / 100, t[3] * 255 / 100, t[4]) : (t = qs.exec(e)) ? Wt(t[1], t[2] / 100, t[3] / 100, 1) : (t = Us.exec(e)) ? Wt(t[1], t[2] / 100, t[3] / 100, t[4]) : Bt.hasOwnProperty(e) ? Lt(Bt[e]) : e === "transparent" ? new O(NaN, NaN, NaN, 0) : null;
2199
2199
  }
2200
- function Ht(e) {
2200
+ function Lt(e) {
2201
2201
  return new O(e >> 16 & 255, e >> 8 & 255, e & 255, 1);
2202
2202
  }
2203
2203
  function xe(e, t, n, r) {
@@ -2212,7 +2212,7 @@ function Zs(e, t, n, r) {
2212
2212
  function O(e, t, n, r) {
2213
2213
  this.r = +e, this.g = +t, this.b = +n, this.opacity = +r;
2214
2214
  }
2215
- ot(O, Zs, $n(ue, {
2215
+ ot(O, Zs, Sn(ue, {
2216
2216
  brighter(e) {
2217
2217
  return e = e == null ? Oe : Math.pow(Oe, e), new O(this.r * e, this.g * e, this.b * e, this.opacity);
2218
2218
  },
@@ -2228,20 +2228,20 @@ ot(O, Zs, $n(ue, {
2228
2228
  displayable() {
2229
2229
  return -0.5 <= this.r && this.r < 255.5 && -0.5 <= this.g && this.g < 255.5 && -0.5 <= this.b && this.b < 255.5 && 0 <= this.opacity && this.opacity <= 1;
2230
2230
  },
2231
- hex: Vt,
2231
+ hex: Ht,
2232
2232
  // Deprecated! Use color.formatHex.
2233
- formatHex: Vt,
2233
+ formatHex: Ht,
2234
2234
  formatHex8: Ks,
2235
- formatRgb: Wt,
2236
- toString: Wt
2235
+ formatRgb: Vt,
2236
+ toString: Vt
2237
2237
  }));
2238
- function Vt() {
2238
+ function Ht() {
2239
2239
  return `#${V(this.r)}${V(this.g)}${V(this.b)}`;
2240
2240
  }
2241
2241
  function Ks() {
2242
2242
  return `#${V(this.r)}${V(this.g)}${V(this.b)}${V((isNaN(this.opacity) ? 1 : this.opacity) * 255)}`;
2243
2243
  }
2244
- function Wt() {
2244
+ function Vt() {
2245
2245
  const e = Ne(this.opacity);
2246
2246
  return `${e === 1 ? "rgb(" : "rgba("}${U(this.r)}, ${U(this.g)}, ${U(this.b)}${e === 1 ? ")" : `, ${e})`}`;
2247
2247
  }
@@ -2254,7 +2254,7 @@ function U(e) {
2254
2254
  function V(e) {
2255
2255
  return e = U(e), (e < 16 ? "0" : "") + e.toString(16);
2256
2256
  }
2257
- function qt(e, t, n, r) {
2257
+ function Wt(e, t, n, r) {
2258
2258
  return r <= 0 ? e = t = n = NaN : n <= 0 || n >= 1 ? e = t = NaN : t <= 0 && (e = NaN), new I(e, t, n, r);
2259
2259
  }
2260
2260
  function Cn(e) {
@@ -2271,7 +2271,7 @@ function ft(e, t, n, r) {
2271
2271
  function I(e, t, n, r) {
2272
2272
  this.h = +e, this.s = +t, this.l = +n, this.opacity = +r;
2273
2273
  }
2274
- ot(I, ft, $n(ue, {
2274
+ ot(I, ft, Sn(ue, {
2275
2275
  brighter(e) {
2276
2276
  return e = e == null ? Oe : Math.pow(Oe, e), new I(this.h, this.s, this.l * e, this.opacity);
2277
2277
  },
@@ -2288,17 +2288,17 @@ ot(I, ft, $n(ue, {
2288
2288
  );
2289
2289
  },
2290
2290
  clamp() {
2291
- return new I(Ut(this.h), ye(this.s), ye(this.l), Ne(this.opacity));
2291
+ return new I(qt(this.h), ye(this.s), ye(this.l), Ne(this.opacity));
2292
2292
  },
2293
2293
  displayable() {
2294
2294
  return (0 <= this.s && this.s <= 1 || isNaN(this.s)) && 0 <= this.l && this.l <= 1 && 0 <= this.opacity && this.opacity <= 1;
2295
2295
  },
2296
2296
  formatHsl() {
2297
2297
  const e = Ne(this.opacity);
2298
- return `${e === 1 ? "hsl(" : "hsla("}${Ut(this.h)}, ${ye(this.s) * 100}%, ${ye(this.l) * 100}%${e === 1 ? ")" : `, ${e})`}`;
2298
+ return `${e === 1 ? "hsl(" : "hsla("}${qt(this.h)}, ${ye(this.s) * 100}%, ${ye(this.l) * 100}%${e === 1 ? ")" : `, ${e})`}`;
2299
2299
  }
2300
2300
  }));
2301
- function Ut(e) {
2301
+ function qt(e) {
2302
2302
  return e = (e || 0) % 360, e < 0 ? e + 360 : e;
2303
2303
  }
2304
2304
  function ye(e) {
@@ -2307,7 +2307,7 @@ function ye(e) {
2307
2307
  function Ue(e, t, n) {
2308
2308
  return (e < 60 ? t + (n - t) * e / 60 : e < 180 ? n : e < 240 ? t + (n - t) * (240 - e) / 60 : t) * 255;
2309
2309
  }
2310
- const te = (globalThis == null ? void 0 : globalThis.UNOVIS_COLORS) || ["#4D8CFD", "#FF6B7E", "#F4B83E", "#A6CC74", "#00C19A", "#6859BE"], Js = (globalThis == null ? void 0 : globalThis.UNOVIS_COLORS_DARK) || ["#4D8CFD", "#FF6B7E", "#FFC16D", "#A6CC74", "#00C19A", "#7887E0"], H = (e) => `--vis-${an(e) ? `color${e % te.length}` : e}`;
2310
+ const te = (globalThis == null ? void 0 : globalThis.UNOVIS_COLORS) || ["#4D8CFD", "#FF6B7E", "#F4B83E", "#A6CC74", "#00C19A", "#6859BE"], Js = (globalThis == null ? void 0 : globalThis.UNOVIS_COLORS_DARK) || ["#4D8CFD", "#FF6B7E", "#FFC16D", "#A6CC74", "#00C19A", "#7887E0"], H = (e) => `--vis-${sn(e) ? `color${e % te.length}` : e}`;
2311
2311
  function Qs(e, t = 0.4) {
2312
2312
  const n = ft(e);
2313
2313
  return n.l = n.l * (1 + t), n.formatHex();
@@ -2419,7 +2419,7 @@ var De;
2419
2419
  (function(e) {
2420
2420
  e.West = "west", e.East = "east", e.North = "north", e.South = "south";
2421
2421
  })(De || (De = {}));
2422
- const sa = Object.assign(Object.assign({}, pn), { components: [], tooltip: void 0, crosshair: void 0, annotations: void 0, xAxis: void 0, yAxis: void 0, autoMargin: !0, xScale: void 0, xDomain: void 0, xDomainMinConstraint: void 0, xDomainMaxConstraint: void 0, xRange: void 0, yScale: void 0, yDomain: void 0, yDomainMinConstraint: void 0, yDomainMaxConstraint: void 0, yRange: void 0, yDirection: De.North, preventEmptyDomain: null, scaleByDomain: !1 });
2422
+ const sa = Object.assign(Object.assign({}, dn), { components: [], tooltip: void 0, crosshair: void 0, annotations: void 0, xAxis: void 0, yAxis: void 0, autoMargin: !0, xScale: void 0, xDomain: void 0, xDomainMinConstraint: void 0, xDomainMaxConstraint: void 0, xRange: void 0, yScale: void 0, yDomain: void 0, yDomainMinConstraint: void 0, yDomainMaxConstraint: void 0, yRange: void 0, yDirection: De.North, preventEmptyDomain: null, scaleByDomain: !1 });
2423
2423
  class aa extends se {
2424
2424
  constructor(t, n, r) {
2425
2425
  var i, s;
@@ -2491,12 +2491,12 @@ class aa extends se {
2491
2491
  this._clipPath.select("rect").attr("x", -2).attr("y", -2).attr("width", this.width + 2 * f).attr("height", this.height + 2 * f), (n = c.tooltip) === null || n === void 0 || n.update();
2492
2492
  const l = c.crosshair;
2493
2493
  if (l) {
2494
- const u = this.components.filter((h) => !h.stacked).map((h) => h.config.y), p = this.components.filter((h) => h.stacked).map((h) => h.config.y), d = (r = this.components.find((h) => h.config.baseline)) === null || r === void 0 ? void 0 : r.config, g = d == null ? void 0 : d.baseline;
2494
+ const u = this.components.filter((h) => !h.stacked).map((h) => h.config.y), p = this.components.filter((h) => h.stacked).map((h) => h.config.y), d = (r = this.components.find((h) => h.config.baseline)) === null || r === void 0 ? void 0 : r.config, v = d == null ? void 0 : d.baseline;
2495
2495
  l.accessors = {
2496
2496
  x: (i = this.components[0]) === null || i === void 0 ? void 0 : i.config.x,
2497
- y: xt(u),
2498
- yStacked: xt(p),
2499
- baseline: g
2497
+ y: mt(u),
2498
+ yStacked: mt(p),
2499
+ baseline: v
2500
2500
  }, l.g.attr("transform", `translate(${o.left},${o.top})`).style("clip-path", `url(#${this._clipPathId})`).style("-webkit-clip-path", `url(#${this._clipPathId})`), l.hide();
2501
2501
  }
2502
2502
  (s = c.annotations) === null || s === void 0 || s.g.attr("transform", `translate(${o.left},${o.top})`), (a = c.annotations) === null || a === void 0 || a.render(), this._firstRender = !1;
@@ -2516,18 +2516,18 @@ class aa extends se {
2516
2516
  const r = t.filter((i) => !i.config.excludeFromDomainCalculation);
2517
2517
  Object.values(k).forEach((i) => {
2518
2518
  var s, a, c, o, f, l, u, p;
2519
- const [d, g] = _i(Ai(r.map((S) => S.getDataExtent(i, n.scaleByDomain)))), h = i === k.Y ? n.yDomain : n.xDomain, v = i === k.Y ? n.yDomainMinConstraint : n.xDomainMinConstraint, m = i === k.Y ? n.yDomainMaxConstraint : n.xDomainMaxConstraint, _ = (a = (s = h == null ? void 0 : h[0]) !== null && s !== void 0 ? s : d) !== null && a !== void 0 ? a : 0, w = (o = (c = h == null ? void 0 : h[1]) !== null && c !== void 0 ? c : g) !== null && o !== void 0 ? o : 1, C = [
2520
- Y(_, (f = v == null ? void 0 : v[0]) !== null && f !== void 0 ? f : Number.NEGATIVE_INFINITY, (l = v == null ? void 0 : v[1]) !== null && l !== void 0 ? l : Number.POSITIVE_INFINITY),
2519
+ const [d, v] = _i(Ai(r.map((S) => S.getDataExtent(i, n.scaleByDomain)))), h = i === k.Y ? n.yDomain : n.xDomain, g = i === k.Y ? n.yDomainMinConstraint : n.xDomainMinConstraint, m = i === k.Y ? n.yDomainMaxConstraint : n.xDomainMaxConstraint, _ = (a = (s = h == null ? void 0 : h[0]) !== null && s !== void 0 ? s : d) !== null && a !== void 0 ? a : 0, w = (o = (c = h == null ? void 0 : h[1]) !== null && c !== void 0 ? c : v) !== null && o !== void 0 ? o : 1, $ = [
2520
+ Y(_, (f = g == null ? void 0 : g[0]) !== null && f !== void 0 ? f : Number.NEGATIVE_INFINITY, (l = g == null ? void 0 : g[1]) !== null && l !== void 0 ? l : Number.POSITIVE_INFINITY),
2521
2521
  Y(w, (u = m == null ? void 0 : m[0]) !== null && u !== void 0 ? u : Number.NEGATIVE_INFINITY, (p = m == null ? void 0 : m[1]) !== null && p !== void 0 ? p : Number.POSITIVE_INFINITY)
2522
2522
  ];
2523
- if (C[0] === C[1]) {
2523
+ if ($[0] === $[1]) {
2524
2524
  const S = r.some((R) => {
2525
2525
  var x;
2526
2526
  return ((x = R.datamodel.data) === null || x === void 0 ? void 0 : x.length) > 0;
2527
2527
  });
2528
- (n.preventEmptyDomain || n.preventEmptyDomain === null && (!S || i === k.Y)) && (C[1] = C[0] + 1);
2528
+ (n.preventEmptyDomain || n.preventEmptyDomain === null && (!S || i === k.Y)) && ($[1] = $[0] + 1);
2529
2529
  }
2530
- t.forEach((S) => S.setScaleDomain(i, C));
2530
+ t.forEach((S) => S.setScaleDomain(i, $));
2531
2531
  });
2532
2532
  }
2533
2533
  _updateScalesRange(...t) {
@@ -2539,10 +2539,10 @@ class aa extends se {
2539
2539
  f && u.reverse();
2540
2540
  for (const d of t)
2541
2541
  d.setSize(this.width, this.height, this.containerWidth, this.containerHeight), d.setScaleRange(k.X, (a = o.xRange) !== null && a !== void 0 ? a : l), d.setScaleRange(k.Y, (c = o.yRange) !== null && c !== void 0 ? c : u);
2542
- const p = t.map((d) => d.bleed).reduce((d, g) => {
2542
+ const p = t.map((d) => d.bleed).reduce((d, v) => {
2543
2543
  for (const h of Object.keys(d)) {
2544
- const v = h;
2545
- d[v] < g[v] && (d[v] = g[v]);
2544
+ const g = h;
2545
+ d[g] < v[g] && (d[g] = v[g]);
2546
2546
  }
2547
2547
  return d;
2548
2548
  }, { top: 0, bottom: 0, left: 0, right: 0 });
@@ -2592,8 +2592,8 @@ class aa extends se {
2592
2592
  }
2593
2593
  const oa = Symbol("componentAccessorKey"), ca = Symbol("tooltipAccessorKey"), fa = Symbol("crosshairAccessorKey"), la = Symbol("axisAccessorKey"), ua = Symbol("annotationsAccessorKey");
2594
2594
  function ha(e) {
2595
- const t = On(), n = t.attrs;
2596
- return Nn(() => {
2595
+ const t = Rn(), n = t.attrs;
2596
+ return On(() => {
2597
2597
  const r = {}, i = (t == null ? void 0 : t.vnode.props) ?? {};
2598
2598
  return Object.keys(i).forEach((s) => {
2599
2599
  r[ut(s)] = e[ut(s)];
@@ -2634,7 +2634,7 @@ const da = /* @__PURE__ */ je({
2634
2634
  data: {}
2635
2635
  },
2636
2636
  setup(e, { expose: t }) {
2637
- const n = e, { data: r } = kn(n), i = ha(n), s = ht(), a = Tn({
2637
+ const n = e, { data: r } = Nn(n), i = ha(n), s = ht(), a = kn({
2638
2638
  components: [],
2639
2639
  annotations: void 0,
2640
2640
  crosshair: void 0,
@@ -2642,14 +2642,14 @@ const da = /* @__PURE__ */ je({
2642
2642
  xAxis: void 0,
2643
2643
  yAxis: void 0
2644
2644
  }), c = ht();
2645
- return Dn(r, () => {
2645
+ return Tn(r, () => {
2646
2646
  s.value && s.value.setData(r.value, !0);
2647
- }), In(() => {
2647
+ }), Dn(() => {
2648
2648
  var o;
2649
2649
  a.components.map((f) => f.config), (o = s.value) == null || o.updateContainer({ ...Be(i.value), ...Be(a) });
2650
- }), Mn(() => {
2650
+ }), In(() => {
2651
2651
  c.value && (s.value = new aa(c.value, { ...Be(a) }, r.value));
2652
- }), zn(() => {
2652
+ }), Mn(() => {
2653
2653
  var o;
2654
2654
  return (o = s.value) == null ? void 0 : o.destroy();
2655
2655
  }), Q(oa, {
@@ -2691,7 +2691,7 @@ const da = /* @__PURE__ */ je({
2691
2691
  ref: c,
2692
2692
  class: "unovis-xy-container"
2693
2693
  }, [
2694
- Yt(o.$slots, "default")
2694
+ Ut(o.$slots, "default")
2695
2695
  ], 512));
2696
2696
  }
2697
2697
  });
@@ -2727,54 +2727,46 @@ const xa = /* @__PURE__ */ je({
2727
2727
  paginationPoisition: {}
2728
2728
  },
2729
2729
  setup(e) {
2730
- const t = e, r = Object.values(t.categories).map((i) => i.color).map(
2731
- (i, s) => `
2732
- <linearGradient id="gradient${s}-${i}" gradientTransform="rotate(90)">
2733
- <stop offset="0%" stop-color="${i}" stop-opacity="1" />
2734
- <stop offset="100%" stop-color="${i}" stop-opacity="0" />
2735
- </linearGradient>
2736
- `
2737
- ).join("");
2738
- return (i, s) => {
2739
- const a = Bn("VisAxis");
2730
+ const t = e;
2731
+ return (n, r) => {
2732
+ const i = zn("VisAxis");
2740
2733
  return tt(), et("div", {
2741
- class: Xt(["flex flex-col space-y-4", {
2734
+ class: Yt(["flex flex-col space-y-4", {
2742
2735
  "flex-col-reverse": t.paginationPoisition === "top"
2743
2736
  }])
2744
2737
  }, [
2745
- Fe(dt(da), {
2746
- data: i.data,
2747
- height: i.height,
2748
- "svg-defs": dt(r)
2738
+ Fe(Bn(da), {
2739
+ data: n.data,
2740
+ height: n.height
2749
2741
  }, {
2750
2742
  default: Fn(() => [
2751
- Fe(a, {
2743
+ Fe(i, {
2752
2744
  type: "x",
2753
- "tick-format": i.xFormatter,
2754
- "num-ticks": i.xNumTicks,
2755
- label: i.xLabel,
2756
- "grid-line": i.gridLineX,
2757
- "domain-line": i.domainLineX,
2758
- "tick-line": !!i.gridLineX
2745
+ "tick-format": n.xFormatter,
2746
+ "num-ticks": n.xNumTicks,
2747
+ label: n.xLabel,
2748
+ "grid-line": n.gridLineX,
2749
+ "domain-line": n.domainLineX,
2750
+ "tick-line": !!n.gridLineX
2759
2751
  }, null, 8, ["tick-format", "num-ticks", "label", "grid-line", "domain-line", "tick-line"]),
2760
- Fe(a, {
2752
+ Fe(i, {
2761
2753
  type: "y",
2762
- "num-ticks": i.yNumTicks ?? i.data.length,
2763
- "tick-format": i.yFormatter,
2764
- label: i.yLabel,
2765
- "grid-line": i.gridLineY,
2766
- "domain-line": i.domainLineY,
2767
- "tick-line": !!i.gridLineY
2754
+ "num-ticks": n.yNumTicks ?? n.data.length,
2755
+ "tick-format": n.yFormatter,
2756
+ label: n.yLabel,
2757
+ "grid-line": n.gridLineY,
2758
+ "domain-line": n.domainLineY,
2759
+ "tick-line": !!n.gridLineY
2768
2760
  }, null, 8, ["num-ticks", "tick-format", "label", "grid-line", "domain-line", "tick-line"])
2769
2761
  ]),
2770
2762
  _: 1
2771
- }, 8, ["data", "height", "svg-defs"])
2763
+ }, 8, ["data", "height"])
2772
2764
  ], 2);
2773
2765
  };
2774
2766
  }
2775
2767
  });
2776
2768
  var pa = /* @__PURE__ */ ((e) => (e.Top = "top", e.Bottom = "bottom", e))(pa || {});
2777
- const ga = /* @__PURE__ */ je({
2769
+ const va = /* @__PURE__ */ je({
2778
2770
  __name: "Button",
2779
2771
  props: {
2780
2772
  variant: {},
@@ -2782,21 +2774,21 @@ const ga = /* @__PURE__ */ je({
2782
2774
  },
2783
2775
  setup(e) {
2784
2776
  return (t, n) => (tt(), et("button", {
2785
- class: Xt([
2777
+ class: Yt([
2786
2778
  "button",
2787
2779
  `button--${t.variant || "primary"}`,
2788
2780
  `button--${t.size || "medium"}`
2789
2781
  ])
2790
2782
  }, [
2791
- Yt(t.$slots, "default", {}, void 0, !0)
2783
+ Ut(t.$slots, "default", {}, void 0, !0)
2792
2784
  ], 2));
2793
2785
  }
2794
- }), va = (e, t) => {
2786
+ }), ga = (e, t) => {
2795
2787
  const n = e.__vccOpts || e;
2796
2788
  for (const [r, i] of t)
2797
2789
  n[r] = i;
2798
2790
  return n;
2799
- }, ya = /* @__PURE__ */ va(ga, [["__scopeId", "data-v-52b6ec0c"]]);
2791
+ }, ya = /* @__PURE__ */ ga(va, [["__scopeId", "data-v-52b6ec0c"]]);
2800
2792
  export {
2801
2793
  xa as Area,
2802
2794
  ya as Button,