@altimateai/ui-components 0.0.6-beta.1 → 0.0.6

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,14 +1,14 @@
1
- import { j as O } from "./index2.js";
2
- import { U as mt, E as en } from "./Tooltip.js";
3
- import { createContext as kt, Component as yt, createElement as on, isValidElement as wt, useState as vt, useRef as St } from "react";
4
- import { Tooltip as xt, Card as zt, CardTitle as At, CardBody as _t } from "reactstrap";
5
- import { Prism as Mt } from "react-syntax-highlighter";
6
- import './redux-toolkit.css';var hs = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
7
- function bs(e) {
1
+ import { j as C } from "./index2.js";
2
+ import { X as kt, E as on, c as yt } from "./Tooltip.js";
3
+ import { createContext as wt, Component as vt, createElement as nn, isValidElement as St, useState as be, useRef as xt, forwardRef as zt } from "react";
4
+ import { Tooltip as At, Card as _t, CardTitle as Mt, CardBody as Ct } from "reactstrap";
5
+ import { Prism as Ht } from "react-syntax-highlighter";
6
+ import './redux-toolkit.css';var ps = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
7
+ function ms(e) {
8
8
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
9
9
  }
10
- const ps = (e) => e.title ? /* @__PURE__ */ O.jsx(mt, { title: e.title, children: /* @__PURE__ */ O.jsx(
11
- en,
10
+ const ks = (e) => e.title ? /* @__PURE__ */ C.jsx(kt, { title: e.title, children: /* @__PURE__ */ C.jsx(
11
+ on,
12
12
  {
13
13
  ...e,
14
14
  title: void 0,
@@ -17,13 +17,13 @@ const ps = (e) => e.title ? /* @__PURE__ */ O.jsx(mt, { title: e.title, children
17
17
  variant: e.variant ?? "ghost",
18
18
  children: e.children
19
19
  }
20
- ) }) : /* @__PURE__ */ O.jsx(en, { ...e, type: e.type ?? "button", size: "icon", variant: e.variant ?? "ghost", children: e.children }), Ct = kt(null), Ee = {
20
+ ) }) : /* @__PURE__ */ C.jsx(on, { ...e, type: e.type ?? "button", size: "icon", variant: e.variant ?? "ghost", children: e.children }), Ot = wt(null), Be = {
21
21
  didCatch: !1,
22
22
  error: null
23
23
  };
24
- class Ht extends yt {
24
+ class Tt extends vt {
25
25
  constructor(o) {
26
- super(o), this.resetErrorBoundary = this.resetErrorBoundary.bind(this), this.state = Ee;
26
+ super(o), this.resetErrorBoundary = this.resetErrorBoundary.bind(this), this.state = Be;
27
27
  }
28
28
  static getDerivedStateFromError(o) {
29
29
  return {
@@ -41,7 +41,7 @@ class Ht extends yt {
41
41
  (n = (r = this.props).onReset) === null || n === void 0 || n.call(r, {
42
42
  args: a,
43
43
  reason: "imperative-api"
44
- }), this.setState(Ee);
44
+ }), this.setState(Be);
45
45
  }
46
46
  }
47
47
  componentDidCatch(o, n) {
@@ -54,13 +54,13 @@ class Ht extends yt {
54
54
  } = this.state, {
55
55
  resetKeys: t
56
56
  } = this.props;
57
- if (r && n.error !== null && Ot(o.resetKeys, t)) {
57
+ if (r && n.error !== null && Dt(o.resetKeys, t)) {
58
58
  var a, l;
59
59
  (a = (l = this.props).onReset) === null || a === void 0 || a.call(l, {
60
60
  next: t,
61
61
  prev: o.resetKeys,
62
62
  reason: "keys"
63
- }), this.setState(Ee);
63
+ }), this.setState(Be);
64
64
  }
65
65
  }
66
66
  render() {
@@ -82,13 +82,13 @@ class Ht extends yt {
82
82
  if (typeof n == "function")
83
83
  c = n(i);
84
84
  else if (r)
85
- c = on(r, i);
86
- else if (t === null || wt(t))
85
+ c = nn(r, i);
86
+ else if (t === null || St(t))
87
87
  c = t;
88
88
  else
89
89
  throw l;
90
90
  }
91
- return on(Ct.Provider, {
91
+ return nn(Ot.Provider, {
92
92
  value: {
93
93
  didCatch: a,
94
94
  error: l,
@@ -97,18 +97,18 @@ class Ht extends yt {
97
97
  }, c);
98
98
  }
99
99
  }
100
- function Ot() {
100
+ function Dt() {
101
101
  let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : [], o = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : [];
102
102
  return e.length !== o.length || e.some((n, r) => !Object.is(n, o[r]));
103
103
  }
104
- const ms = (e) => {
105
- const [o, n] = vt(!1), r = () => n(!o), t = St(
104
+ const ys = (e) => {
105
+ const [o, n] = be(!1), r = () => n(!o), t = xt(
106
106
  (e.id ?? `tooltip-${Math.random().toString(36).substring(3, 9)}`).replace(/\s/g, "-")
107
107
  );
108
- return /* @__PURE__ */ O.jsxs(Ht, { fallback: /* @__PURE__ */ O.jsx("span", { id: t.current, children: e.children }), children: [
109
- /* @__PURE__ */ O.jsx("span", { id: t.current, children: e.children }),
110
- e.title ? /* @__PURE__ */ O.jsx(
111
- xt,
108
+ return /* @__PURE__ */ C.jsxs(Tt, { fallback: /* @__PURE__ */ C.jsx("span", { id: t.current, children: e.children }), children: [
109
+ /* @__PURE__ */ C.jsx("span", { id: t.current, children: e.children }),
110
+ e.title ? /* @__PURE__ */ C.jsx(
111
+ At,
112
112
  {
113
113
  isOpen: o,
114
114
  target: t.current,
@@ -120,7 +120,7 @@ const ms = (e) => {
120
120
  ) : null
121
121
  ] });
122
122
  };
123
- var Z = {}, kr = { exports: {} };
123
+ var Z = {}, yr = { exports: {} };
124
124
  (function(e) {
125
125
  function o(n) {
126
126
  return n && n.__esModule ? n : {
@@ -128,10 +128,10 @@ var Z = {}, kr = { exports: {} };
128
128
  };
129
129
  }
130
130
  e.exports = o, e.exports.__esModule = !0, e.exports.default = e.exports;
131
- })(kr);
132
- var Tt = kr.exports, Be = {}, nn;
133
- function Dt() {
134
- return nn || (nn = 1, function(e) {
131
+ })(yr);
132
+ var Ft = yr.exports, Ne = {}, rn;
133
+ function Rt() {
134
+ return rn || (rn = 1, function(e) {
135
135
  Object.defineProperty(e, "__esModule", {
136
136
  value: !0
137
137
  }), e.default = void 0;
@@ -385,11 +385,11 @@ function Dt() {
385
385
  }
386
386
  };
387
387
  e.default = o;
388
- }(Be)), Be;
388
+ }(Ne)), Ne;
389
389
  }
390
- var Ne = {}, rn;
391
- function Ft() {
392
- return rn || (rn = 1, function(e) {
390
+ var Pe = {}, tn;
391
+ function Wt() {
392
+ return tn || (tn = 1, function(e) {
393
393
  Object.defineProperty(e, "__esModule", {
394
394
  value: !0
395
395
  }), e.default = void 0;
@@ -548,11 +548,11 @@ function Ft() {
548
548
  }
549
549
  };
550
550
  e.default = o;
551
- }(Ne)), Ne;
551
+ }(Pe)), Pe;
552
552
  }
553
- var Pe = {}, tn;
554
- function Rt() {
555
- return tn || (tn = 1, function(e) {
553
+ var je = {}, an;
554
+ function Et() {
555
+ return an || (an = 1, function(e) {
556
556
  Object.defineProperty(e, "__esModule", {
557
557
  value: !0
558
558
  }), e.default = void 0;
@@ -718,11 +718,11 @@ function Rt() {
718
718
  }
719
719
  };
720
720
  e.default = o;
721
- }(Pe)), Pe;
721
+ }(je)), je;
722
722
  }
723
- var je = {}, an;
724
- function Wt() {
725
- return an || (an = 1, function(e) {
723
+ var Le = {}, ln;
724
+ function Bt() {
725
+ return ln || (ln = 1, function(e) {
726
726
  Object.defineProperty(e, "__esModule", {
727
727
  value: !0
728
728
  }), e.default = void 0;
@@ -883,11 +883,11 @@ function Wt() {
883
883
  }
884
884
  };
885
885
  e.default = o;
886
- }(je)), je;
886
+ }(Le)), Le;
887
887
  }
888
- var Le = {}, ln;
889
- function Et() {
890
- return ln || (ln = 1, function(e) {
888
+ var qe = {}, cn;
889
+ function Nt() {
890
+ return cn || (cn = 1, function(e) {
891
891
  Object.defineProperty(e, "__esModule", {
892
892
  value: !0
893
893
  }), e.default = void 0;
@@ -1060,11 +1060,11 @@ function Et() {
1060
1060
  }
1061
1061
  };
1062
1062
  e.default = o;
1063
- }(Le)), Le;
1063
+ }(qe)), qe;
1064
1064
  }
1065
- var qe = {}, cn;
1066
- function Bt() {
1067
- return cn || (cn = 1, function(e) {
1065
+ var Ve = {}, sn;
1066
+ function Pt() {
1067
+ return sn || (sn = 1, function(e) {
1068
1068
  Object.defineProperty(e, "__esModule", {
1069
1069
  value: !0
1070
1070
  }), e.default = void 0;
@@ -1222,11 +1222,11 @@ function Bt() {
1222
1222
  }
1223
1223
  };
1224
1224
  e.default = o;
1225
- }(qe)), qe;
1225
+ }(Ve)), Ve;
1226
1226
  }
1227
- var Ve = {}, sn;
1228
- function Nt() {
1229
- return sn || (sn = 1, function(e) {
1227
+ var Ie = {}, un;
1228
+ function jt() {
1229
+ return un || (un = 1, function(e) {
1230
1230
  Object.defineProperty(e, "__esModule", {
1231
1231
  value: !0
1232
1232
  }), e.default = void 0;
@@ -1445,11 +1445,11 @@ function Nt() {
1445
1445
  }
1446
1446
  };
1447
1447
  e.default = o;
1448
- }(Ve)), Ve;
1448
+ }(Ie)), Ie;
1449
1449
  }
1450
- var Ie = {}, un;
1451
- function Pt() {
1452
- return un || (un = 1, function(e) {
1450
+ var Ue = {}, dn;
1451
+ function Lt() {
1452
+ return dn || (dn = 1, function(e) {
1453
1453
  Object.defineProperty(e, "__esModule", {
1454
1454
  value: !0
1455
1455
  }), e.default = void 0;
@@ -1646,11 +1646,11 @@ function Pt() {
1646
1646
  }
1647
1647
  };
1648
1648
  e.default = o;
1649
- }(Ie)), Ie;
1649
+ }(Ue)), Ue;
1650
1650
  }
1651
- var Ue = {}, dn;
1652
- function jt() {
1653
- return dn || (dn = 1, function(e) {
1651
+ var $e = {}, fn;
1652
+ function qt() {
1653
+ return fn || (fn = 1, function(e) {
1654
1654
  Object.defineProperty(e, "__esModule", {
1655
1655
  value: !0
1656
1656
  }), e.default = void 0;
@@ -1801,11 +1801,11 @@ function jt() {
1801
1801
  }
1802
1802
  };
1803
1803
  e.default = o;
1804
- }(Ue)), Ue;
1804
+ }($e)), $e;
1805
1805
  }
1806
- var $e = {}, fn;
1807
- function Lt() {
1808
- return fn || (fn = 1, function(e) {
1806
+ var Ke = {}, gn;
1807
+ function Vt() {
1808
+ return gn || (gn = 1, function(e) {
1809
1809
  Object.defineProperty(e, "__esModule", {
1810
1810
  value: !0
1811
1811
  }), e.default = void 0;
@@ -1963,11 +1963,11 @@ function Lt() {
1963
1963
  }
1964
1964
  };
1965
1965
  e.default = o;
1966
- }($e)), $e;
1966
+ }(Ke)), Ke;
1967
1967
  }
1968
- var Ke = {}, gn;
1969
- function qt() {
1970
- return gn || (gn = 1, function(e) {
1968
+ var Qe = {}, hn;
1969
+ function It() {
1970
+ return hn || (hn = 1, function(e) {
1971
1971
  Object.defineProperty(e, "__esModule", {
1972
1972
  value: !0
1973
1973
  }), e.default = void 0;
@@ -2169,11 +2169,11 @@ function qt() {
2169
2169
  }
2170
2170
  };
2171
2171
  e.default = o;
2172
- }(Ke)), Ke;
2172
+ }(Qe)), Qe;
2173
2173
  }
2174
- var Qe = {}, hn;
2175
- function Vt() {
2176
- return hn || (hn = 1, function(e) {
2174
+ var Ye = {}, bn;
2175
+ function Ut() {
2176
+ return bn || (bn = 1, function(e) {
2177
2177
  Object.defineProperty(e, "__esModule", {
2178
2178
  value: !0
2179
2179
  }), e.default = void 0;
@@ -2339,11 +2339,11 @@ function Vt() {
2339
2339
  }
2340
2340
  };
2341
2341
  e.default = o;
2342
- }(Qe)), Qe;
2342
+ }(Ye)), Ye;
2343
2343
  }
2344
- var Ye = {}, bn;
2345
- function It() {
2346
- return bn || (bn = 1, function(e) {
2344
+ var Ge = {}, pn;
2345
+ function $t() {
2346
+ return pn || (pn = 1, function(e) {
2347
2347
  Object.defineProperty(e, "__esModule", {
2348
2348
  value: !0
2349
2349
  }), e.default = void 0;
@@ -2734,11 +2734,11 @@ function It() {
2734
2734
  }
2735
2735
  };
2736
2736
  e.default = o;
2737
- }(Ye)), Ye;
2737
+ }(Ge)), Ge;
2738
2738
  }
2739
- var Ge = {}, pn;
2740
- function Ut() {
2741
- return pn || (pn = 1, function(e) {
2739
+ var Xe = {}, mn;
2740
+ function Kt() {
2741
+ return mn || (mn = 1, function(e) {
2742
2742
  Object.defineProperty(e, "__esModule", {
2743
2743
  value: !0
2744
2744
  }), e.default = void 0;
@@ -3129,11 +3129,11 @@ function Ut() {
3129
3129
  }
3130
3130
  };
3131
3131
  e.default = o;
3132
- }(Ge)), Ge;
3132
+ }(Xe)), Xe;
3133
3133
  }
3134
- var Xe = {}, mn;
3135
- function $t() {
3136
- return mn || (mn = 1, function(e) {
3134
+ var Je = {}, kn;
3135
+ function Qt() {
3136
+ return kn || (kn = 1, function(e) {
3137
3137
  Object.defineProperty(e, "__esModule", {
3138
3138
  value: !0
3139
3139
  }), e.default = void 0;
@@ -3320,11 +3320,11 @@ function $t() {
3320
3320
  }
3321
3321
  };
3322
3322
  e.default = o;
3323
- }(Xe)), Xe;
3323
+ }(Je)), Je;
3324
3324
  }
3325
- var Je = {}, kn;
3326
- function Kt() {
3327
- return kn || (kn = 1, function(e) {
3325
+ var Ze = {}, yn;
3326
+ function Yt() {
3327
+ return yn || (yn = 1, function(e) {
3328
3328
  Object.defineProperty(e, "__esModule", {
3329
3329
  value: !0
3330
3330
  }), e.default = void 0;
@@ -3530,11 +3530,11 @@ function Kt() {
3530
3530
  }
3531
3531
  };
3532
3532
  e.default = o;
3533
- }(Je)), Je;
3533
+ }(Ze)), Ze;
3534
3534
  }
3535
- var Ze = {}, yn;
3536
- function Qt() {
3537
- return yn || (yn = 1, function(e) {
3535
+ var eo = {}, wn;
3536
+ function Gt() {
3537
+ return wn || (wn = 1, function(e) {
3538
3538
  Object.defineProperty(e, "__esModule", {
3539
3539
  value: !0
3540
3540
  }), e.default = void 0;
@@ -3693,11 +3693,11 @@ function Qt() {
3693
3693
  }
3694
3694
  };
3695
3695
  e.default = o;
3696
- }(Ze)), Ze;
3696
+ }(eo)), eo;
3697
3697
  }
3698
- var eo = {}, wn;
3699
- function Yt() {
3700
- return wn || (wn = 1, function(e) {
3698
+ var oo = {}, vn;
3699
+ function Xt() {
3700
+ return vn || (vn = 1, function(e) {
3701
3701
  Object.defineProperty(e, "__esModule", {
3702
3702
  value: !0
3703
3703
  }), e.default = void 0;
@@ -3920,11 +3920,11 @@ function Yt() {
3920
3920
  }
3921
3921
  };
3922
3922
  e.default = o;
3923
- }(eo)), eo;
3923
+ }(oo)), oo;
3924
3924
  }
3925
- var oo = {}, vn;
3926
- function Gt() {
3927
- return vn || (vn = 1, function(e) {
3925
+ var no = {}, Sn;
3926
+ function Jt() {
3927
+ return Sn || (Sn = 1, function(e) {
3928
3928
  Object.defineProperty(e, "__esModule", {
3929
3929
  value: !0
3930
3930
  }), e.default = void 0;
@@ -4147,11 +4147,11 @@ function Gt() {
4147
4147
  }
4148
4148
  };
4149
4149
  e.default = o;
4150
- }(oo)), oo;
4150
+ }(no)), no;
4151
4151
  }
4152
- var no = {}, Sn;
4153
- function Xt() {
4154
- return Sn || (Sn = 1, function(e) {
4152
+ var ro = {}, xn;
4153
+ function Zt() {
4154
+ return xn || (xn = 1, function(e) {
4155
4155
  Object.defineProperty(e, "__esModule", {
4156
4156
  value: !0
4157
4157
  }), e.default = void 0;
@@ -4374,11 +4374,11 @@ function Xt() {
4374
4374
  }
4375
4375
  };
4376
4376
  e.default = o;
4377
- }(no)), no;
4377
+ }(ro)), ro;
4378
4378
  }
4379
- var ro = {}, xn;
4380
- function Jt() {
4381
- return xn || (xn = 1, function(e) {
4379
+ var to = {}, zn;
4380
+ function ea() {
4381
+ return zn || (zn = 1, function(e) {
4382
4382
  Object.defineProperty(e, "__esModule", {
4383
4383
  value: !0
4384
4384
  }), e.default = void 0;
@@ -4601,11 +4601,11 @@ function Jt() {
4601
4601
  }
4602
4602
  };
4603
4603
  e.default = o;
4604
- }(ro)), ro;
4604
+ }(to)), to;
4605
4605
  }
4606
- var to = {}, zn;
4607
- function Zt() {
4608
- return zn || (zn = 1, function(e) {
4606
+ var ao = {}, An;
4607
+ function oa() {
4608
+ return An || (An = 1, function(e) {
4609
4609
  Object.defineProperty(e, "__esModule", {
4610
4610
  value: !0
4611
4611
  }), e.default = void 0;
@@ -4828,11 +4828,11 @@ function Zt() {
4828
4828
  }
4829
4829
  };
4830
4830
  e.default = o;
4831
- }(to)), to;
4831
+ }(ao)), ao;
4832
4832
  }
4833
- var ao = {}, An;
4834
- function ea() {
4835
- return An || (An = 1, function(e) {
4833
+ var lo = {}, _n;
4834
+ function na() {
4835
+ return _n || (_n = 1, function(e) {
4836
4836
  Object.defineProperty(e, "__esModule", {
4837
4837
  value: !0
4838
4838
  }), e.default = void 0;
@@ -5055,11 +5055,11 @@ function ea() {
5055
5055
  }
5056
5056
  };
5057
5057
  e.default = o;
5058
- }(ao)), ao;
5058
+ }(lo)), lo;
5059
5059
  }
5060
- var lo = {}, _n;
5061
- function oa() {
5062
- return _n || (_n = 1, function(e) {
5060
+ var co = {}, Mn;
5061
+ function ra() {
5062
+ return Mn || (Mn = 1, function(e) {
5063
5063
  Object.defineProperty(e, "__esModule", {
5064
5064
  value: !0
5065
5065
  }), e.default = void 0;
@@ -5242,11 +5242,11 @@ function oa() {
5242
5242
  }
5243
5243
  };
5244
5244
  e.default = o;
5245
- }(lo)), lo;
5245
+ }(co)), co;
5246
5246
  }
5247
- var co = {}, Mn;
5248
- function na() {
5249
- return Mn || (Mn = 1, function(e) {
5247
+ var io = {}, Cn;
5248
+ function ta() {
5249
+ return Cn || (Cn = 1, function(e) {
5250
5250
  Object.defineProperty(e, "__esModule", {
5251
5251
  value: !0
5252
5252
  }), e.default = void 0;
@@ -5428,11 +5428,11 @@ function na() {
5428
5428
  }
5429
5429
  };
5430
5430
  e.default = o;
5431
- }(co)), co;
5431
+ }(io)), io;
5432
5432
  }
5433
- var io = {}, Cn;
5434
- function ra() {
5435
- return Cn || (Cn = 1, function(e) {
5433
+ var so = {}, Hn;
5434
+ function aa() {
5435
+ return Hn || (Hn = 1, function(e) {
5436
5436
  Object.defineProperty(e, "__esModule", {
5437
5437
  value: !0
5438
5438
  }), e.default = void 0;
@@ -5614,11 +5614,11 @@ function ra() {
5614
5614
  }
5615
5615
  };
5616
5616
  e.default = o;
5617
- }(io)), io;
5617
+ }(so)), so;
5618
5618
  }
5619
- var so = {}, Hn;
5620
- function ta() {
5621
- return Hn || (Hn = 1, function(e) {
5619
+ var uo = {}, On;
5620
+ function la() {
5621
+ return On || (On = 1, function(e) {
5622
5622
  Object.defineProperty(e, "__esModule", {
5623
5623
  value: !0
5624
5624
  }), e.default = void 0;
@@ -5817,11 +5817,11 @@ function ta() {
5817
5817
  }
5818
5818
  };
5819
5819
  e.default = o;
5820
- }(so)), so;
5820
+ }(uo)), uo;
5821
5821
  }
5822
- var uo = {}, On;
5823
- function aa() {
5824
- return On || (On = 1, function(e) {
5822
+ var fo = {}, Tn;
5823
+ function ca() {
5824
+ return Tn || (Tn = 1, function(e) {
5825
5825
  Object.defineProperty(e, "__esModule", {
5826
5826
  value: !0
5827
5827
  }), e.default = void 0;
@@ -5974,11 +5974,11 @@ function aa() {
5974
5974
  }
5975
5975
  };
5976
5976
  e.default = o;
5977
- }(uo)), uo;
5977
+ }(fo)), fo;
5978
5978
  }
5979
- var fo = {}, Tn;
5980
- function la() {
5981
- return Tn || (Tn = 1, function(e) {
5979
+ var go = {}, Dn;
5980
+ function ia() {
5981
+ return Dn || (Dn = 1, function(e) {
5982
5982
  Object.defineProperty(e, "__esModule", {
5983
5983
  value: !0
5984
5984
  }), e.default = void 0;
@@ -6137,11 +6137,11 @@ function la() {
6137
6137
  }
6138
6138
  };
6139
6139
  e.default = o;
6140
- }(fo)), fo;
6140
+ }(go)), go;
6141
6141
  }
6142
- var go = {}, Dn;
6143
- function ca() {
6144
- return Dn || (Dn = 1, function(e) {
6142
+ var ho = {}, Fn;
6143
+ function sa() {
6144
+ return Fn || (Fn = 1, function(e) {
6145
6145
  Object.defineProperty(e, "__esModule", {
6146
6146
  value: !0
6147
6147
  }), e.default = void 0;
@@ -6341,11 +6341,11 @@ function ca() {
6341
6341
  }
6342
6342
  };
6343
6343
  e.default = o;
6344
- }(go)), go;
6344
+ }(ho)), ho;
6345
6345
  }
6346
- var ho = {}, Fn;
6347
- function ia() {
6348
- return Fn || (Fn = 1, function(e) {
6346
+ var bo = {}, Rn;
6347
+ function ua() {
6348
+ return Rn || (Rn = 1, function(e) {
6349
6349
  Object.defineProperty(e, "__esModule", {
6350
6350
  value: !0
6351
6351
  }), e.default = void 0;
@@ -6553,11 +6553,11 @@ function ia() {
6553
6553
  }
6554
6554
  };
6555
6555
  e.default = o;
6556
- }(ho)), ho;
6556
+ }(bo)), bo;
6557
6557
  }
6558
- var bo = {}, Rn;
6559
- function sa() {
6560
- return Rn || (Rn = 1, function(e) {
6558
+ var po = {}, Wn;
6559
+ function da() {
6560
+ return Wn || (Wn = 1, function(e) {
6561
6561
  Object.defineProperty(e, "__esModule", {
6562
6562
  value: !0
6563
6563
  }), e.default = void 0;
@@ -6761,13 +6761,13 @@ function sa() {
6761
6761
  }
6762
6762
  };
6763
6763
  e.default = o;
6764
- }(bo)), bo;
6764
+ }(po)), po;
6765
6765
  }
6766
- var po = {}, Wn;
6767
- function ua() {
6768
- return Wn || (Wn = 1, function(e) {
6769
- Object.defineProperty(e, "__esModule", {
6770
- value: !0
6766
+ var mo = {}, En;
6767
+ function fa() {
6768
+ return En || (En = 1, function(e) {
6769
+ Object.defineProperty(e, "__esModule", {
6770
+ value: !0
6771
6771
  }), e.default = void 0;
6772
6772
  var o = {
6773
6773
  'code[class*="language-"]': {
@@ -6962,11 +6962,11 @@ function ua() {
6962
6962
  }
6963
6963
  };
6964
6964
  e.default = o;
6965
- }(po)), po;
6965
+ }(mo)), mo;
6966
6966
  }
6967
- var mo = {}, En;
6968
- function da() {
6969
- return En || (En = 1, function(e) {
6967
+ var ko = {}, Bn;
6968
+ function ga() {
6969
+ return Bn || (Bn = 1, function(e) {
6970
6970
  Object.defineProperty(e, "__esModule", {
6971
6971
  value: !0
6972
6972
  }), e.default = void 0;
@@ -7123,11 +7123,11 @@ function da() {
7123
7123
  }
7124
7124
  };
7125
7125
  e.default = o;
7126
- }(mo)), mo;
7126
+ }(ko)), ko;
7127
7127
  }
7128
- var ko = {}, Bn;
7129
- function fa() {
7130
- return Bn || (Bn = 1, function(e) {
7128
+ var yo = {}, Nn;
7129
+ function ha() {
7130
+ return Nn || (Nn = 1, function(e) {
7131
7131
  Object.defineProperty(e, "__esModule", {
7132
7132
  value: !0
7133
7133
  }), e.default = void 0;
@@ -7633,11 +7633,11 @@ function fa() {
7633
7633
  }
7634
7634
  };
7635
7635
  e.default = o;
7636
- }(ko)), ko;
7636
+ }(yo)), yo;
7637
7637
  }
7638
- var yo = {}, Nn;
7639
- function ga() {
7640
- return Nn || (Nn = 1, function(e) {
7638
+ var wo = {}, Pn;
7639
+ function ba() {
7640
+ return Pn || (Pn = 1, function(e) {
7641
7641
  Object.defineProperty(e, "__esModule", {
7642
7642
  value: !0
7643
7643
  }), e.default = void 0;
@@ -8131,11 +8131,11 @@ function ga() {
8131
8131
  }
8132
8132
  };
8133
8133
  e.default = o;
8134
- }(yo)), yo;
8134
+ }(wo)), wo;
8135
8135
  }
8136
- var wo = {}, Pn;
8137
- function ha() {
8138
- return Pn || (Pn = 1, function(e) {
8136
+ var vo = {}, jn;
8137
+ function pa() {
8138
+ return jn || (jn = 1, function(e) {
8139
8139
  Object.defineProperty(e, "__esModule", {
8140
8140
  value: !0
8141
8141
  }), e.default = void 0;
@@ -8301,11 +8301,11 @@ function ha() {
8301
8301
  }
8302
8302
  };
8303
8303
  e.default = o;
8304
- }(wo)), wo;
8304
+ }(vo)), vo;
8305
8305
  }
8306
- var vo = {}, jn;
8307
- function ba() {
8308
- return jn || (jn = 1, function(e) {
8306
+ var So = {}, Ln;
8307
+ function ma() {
8308
+ return Ln || (Ln = 1, function(e) {
8309
8309
  Object.defineProperty(e, "__esModule", {
8310
8310
  value: !0
8311
8311
  }), e.default = void 0;
@@ -8544,11 +8544,11 @@ function ba() {
8544
8544
  }
8545
8545
  };
8546
8546
  e.default = o;
8547
- }(vo)), vo;
8547
+ }(So)), So;
8548
8548
  }
8549
- var So = {}, Ln;
8550
- function pa() {
8551
- return Ln || (Ln = 1, function(e) {
8549
+ var xo = {}, qn;
8550
+ function ka() {
8551
+ return qn || (qn = 1, function(e) {
8552
8552
  Object.defineProperty(e, "__esModule", {
8553
8553
  value: !0
8554
8554
  }), e.default = void 0;
@@ -8706,11 +8706,11 @@ function pa() {
8706
8706
  }
8707
8707
  };
8708
8708
  e.default = o;
8709
- }(So)), So;
8709
+ }(xo)), xo;
8710
8710
  }
8711
- var xo = {}, qn;
8712
- function ma() {
8713
- return qn || (qn = 1, function(e) {
8711
+ var zo = {}, Vn;
8712
+ function ya() {
8713
+ return Vn || (Vn = 1, function(e) {
8714
8714
  Object.defineProperty(e, "__esModule", {
8715
8715
  value: !0
8716
8716
  }), e.default = void 0;
@@ -8898,11 +8898,11 @@ function ma() {
8898
8898
  }
8899
8899
  };
8900
8900
  e.default = o;
8901
- }(xo)), xo;
8901
+ }(zo)), zo;
8902
8902
  }
8903
- var zo = {}, Vn;
8904
- function ka() {
8905
- return Vn || (Vn = 1, function(e) {
8903
+ var Ao = {}, In;
8904
+ function wa() {
8905
+ return In || (In = 1, function(e) {
8906
8906
  Object.defineProperty(e, "__esModule", {
8907
8907
  value: !0
8908
8908
  }), e.default = void 0;
@@ -9113,11 +9113,11 @@ function ka() {
9113
9113
  }
9114
9114
  };
9115
9115
  e.default = o;
9116
- }(zo)), zo;
9116
+ }(Ao)), Ao;
9117
9117
  }
9118
- var Ao = {}, In;
9119
- function ya() {
9120
- return In || (In = 1, function(e) {
9118
+ var _o = {}, Un;
9119
+ function va() {
9120
+ return Un || (Un = 1, function(e) {
9121
9121
  Object.defineProperty(e, "__esModule", {
9122
9122
  value: !0
9123
9123
  }), e.default = void 0;
@@ -9404,11 +9404,11 @@ function ya() {
9404
9404
  }
9405
9405
  };
9406
9406
  e.default = o;
9407
- }(Ao)), Ao;
9407
+ }(_o)), _o;
9408
9408
  }
9409
- var _o = {}, Un;
9410
- function wa() {
9411
- return Un || (Un = 1, function(e) {
9409
+ var Mo = {}, $n;
9410
+ function Sa() {
9411
+ return $n || ($n = 1, function(e) {
9412
9412
  Object.defineProperty(e, "__esModule", {
9413
9413
  value: !0
9414
9414
  }), e.default = void 0;
@@ -9593,11 +9593,11 @@ function wa() {
9593
9593
  }
9594
9594
  };
9595
9595
  e.default = o;
9596
- }(_o)), _o;
9596
+ }(Mo)), Mo;
9597
9597
  }
9598
- var Mo = {}, $n;
9599
- function va() {
9600
- return $n || ($n = 1, function(e) {
9598
+ var Co = {}, Kn;
9599
+ function xa() {
9600
+ return Kn || (Kn = 1, function(e) {
9601
9601
  Object.defineProperty(e, "__esModule", {
9602
9602
  value: !0
9603
9603
  }), e.default = void 0;
@@ -9798,16 +9798,16 @@ function va() {
9798
9798
  }
9799
9799
  };
9800
9800
  e.default = o;
9801
- }(Mo)), Mo;
9801
+ }(Co)), Co;
9802
9802
  }
9803
9803
  (function(e) {
9804
- var o = Tt;
9804
+ var o = Ft;
9805
9805
  Object.defineProperty(e, "__esModule", {
9806
9806
  value: !0
9807
9807
  }), Object.defineProperty(e, "a11yDark", {
9808
9808
  enumerable: !0,
9809
9809
  get: function() {
9810
- return u.default;
9810
+ return s.default;
9811
9811
  }
9812
9812
  }), Object.defineProperty(e, "atomDark", {
9813
9813
  enumerable: !0,
@@ -9882,7 +9882,7 @@ function va() {
9882
9882
  }), Object.defineProperty(e, "duotoneSea", {
9883
9883
  enumerable: !0,
9884
9884
  get: function() {
9885
- return C.default;
9885
+ return H.default;
9886
9886
  }
9887
9887
  }), Object.defineProperty(e, "duotoneSpace", {
9888
9888
  enumerable: !0,
@@ -9902,52 +9902,52 @@ function va() {
9902
9902
  }), Object.defineProperty(e, "gruvboxDark", {
9903
9903
  enumerable: !0,
9904
9904
  get: function() {
9905
- return Re.default;
9905
+ return We.default;
9906
9906
  }
9907
9907
  }), Object.defineProperty(e, "gruvboxLight", {
9908
9908
  enumerable: !0,
9909
9909
  get: function() {
9910
- return We.default;
9910
+ return Ee.default;
9911
9911
  }
9912
9912
  }), Object.defineProperty(e, "holiTheme", {
9913
9913
  enumerable: !0,
9914
9914
  get: function() {
9915
- return Zr.default;
9915
+ return et.default;
9916
9916
  }
9917
9917
  }), Object.defineProperty(e, "hopscotch", {
9918
9918
  enumerable: !0,
9919
9919
  get: function() {
9920
- return et.default;
9920
+ return ot.default;
9921
9921
  }
9922
9922
  }), Object.defineProperty(e, "lucario", {
9923
9923
  enumerable: !0,
9924
9924
  get: function() {
9925
- return ot.default;
9925
+ return nt.default;
9926
9926
  }
9927
9927
  }), Object.defineProperty(e, "materialDark", {
9928
9928
  enumerable: !0,
9929
9929
  get: function() {
9930
- return nt.default;
9930
+ return rt.default;
9931
9931
  }
9932
9932
  }), Object.defineProperty(e, "materialLight", {
9933
9933
  enumerable: !0,
9934
9934
  get: function() {
9935
- return rt.default;
9935
+ return tt.default;
9936
9936
  }
9937
9937
  }), Object.defineProperty(e, "materialOceanic", {
9938
9938
  enumerable: !0,
9939
9939
  get: function() {
9940
- return tt.default;
9940
+ return at.default;
9941
9941
  }
9942
9942
  }), Object.defineProperty(e, "nightOwl", {
9943
9943
  enumerable: !0,
9944
9944
  get: function() {
9945
- return at.default;
9945
+ return lt.default;
9946
9946
  }
9947
9947
  }), Object.defineProperty(e, "nord", {
9948
9948
  enumerable: !0,
9949
9949
  get: function() {
9950
- return lt.default;
9950
+ return ct.default;
9951
9951
  }
9952
9952
  }), Object.defineProperty(e, "okaidia", {
9953
9953
  enumerable: !0,
@@ -9957,32 +9957,32 @@ function va() {
9957
9957
  }), Object.defineProperty(e, "oneDark", {
9958
9958
  enumerable: !0,
9959
9959
  get: function() {
9960
- return ct.default;
9960
+ return it.default;
9961
9961
  }
9962
9962
  }), Object.defineProperty(e, "oneLight", {
9963
9963
  enumerable: !0,
9964
9964
  get: function() {
9965
- return it.default;
9965
+ return st.default;
9966
9966
  }
9967
9967
  }), Object.defineProperty(e, "pojoaque", {
9968
9968
  enumerable: !0,
9969
9969
  get: function() {
9970
- return st.default;
9970
+ return ut.default;
9971
9971
  }
9972
9972
  }), Object.defineProperty(e, "prism", {
9973
9973
  enumerable: !0,
9974
9974
  get: function() {
9975
- return s.default;
9975
+ return u.default;
9976
9976
  }
9977
9977
  }), Object.defineProperty(e, "shadesOfPurple", {
9978
9978
  enumerable: !0,
9979
9979
  get: function() {
9980
- return ut.default;
9980
+ return dt.default;
9981
9981
  }
9982
9982
  }), Object.defineProperty(e, "solarizedDarkAtom", {
9983
9983
  enumerable: !0,
9984
9984
  get: function() {
9985
- return dt.default;
9985
+ return ft.default;
9986
9986
  }
9987
9987
  }), Object.defineProperty(e, "solarizedlight", {
9988
9988
  enumerable: !0,
@@ -9992,7 +9992,7 @@ function va() {
9992
9992
  }), Object.defineProperty(e, "synthwave84", {
9993
9993
  enumerable: !0,
9994
9994
  get: function() {
9995
- return ft.default;
9995
+ return gt.default;
9996
9996
  }
9997
9997
  }), Object.defineProperty(e, "tomorrow", {
9998
9998
  enumerable: !0,
@@ -10007,30 +10007,30 @@ function va() {
10007
10007
  }), Object.defineProperty(e, "vs", {
10008
10008
  enumerable: !0,
10009
10009
  get: function() {
10010
- return gt.default;
10010
+ return ht.default;
10011
10011
  }
10012
10012
  }), Object.defineProperty(e, "vscDarkPlus", {
10013
10013
  enumerable: !0,
10014
10014
  get: function() {
10015
- return ht.default;
10015
+ return bt.default;
10016
10016
  }
10017
10017
  }), Object.defineProperty(e, "xonokai", {
10018
10018
  enumerable: !0,
10019
10019
  get: function() {
10020
- return bt.default;
10020
+ return pt.default;
10021
10021
  }
10022
10022
  }), Object.defineProperty(e, "zTouch", {
10023
10023
  enumerable: !0,
10024
10024
  get: function() {
10025
- return pt.default;
10025
+ return mt.default;
10026
10026
  }
10027
10027
  });
10028
- var n = o(Dt()), r = o(Ft()), t = o(Rt()), a = o(Wt()), l = o(Et()), c = o(Bt()), i = o(Nt()), s = o(Pt()), u = o(jt()), d = o(Lt()), f = o(qt()), g = o(Vt()), p = o(It()), k = o(Ut()), z = o($t()), $ = o(Kt()), D = o(Qt()), b = o(Yt()), m = o(Gt()), y = o(Xt()), F = o(Jt()), C = o(Zt()), v = o(ea()), ue = o(oa()), Re = o(na()), We = o(ra()), Zr = o(ta()), et = o(aa()), ot = o(la()), nt = o(ca()), rt = o(ia()), tt = o(sa()), at = o(ua()), lt = o(da()), ct = o(fa()), it = o(ga()), st = o(ha()), ut = o(ba()), dt = o(pa()), ft = o(ma()), gt = o(ka()), ht = o(ya()), bt = o(wa()), pt = o(va());
10028
+ var n = o(Rt()), r = o(Wt()), t = o(Et()), a = o(Bt()), l = o(Nt()), c = o(Pt()), i = o(jt()), u = o(Lt()), s = o(qt()), d = o(Vt()), f = o(It()), g = o(Ut()), p = o($t()), k = o(Kt()), z = o(Qt()), $ = o(Yt()), D = o(Gt()), b = o(Xt()), m = o(Jt()), y = o(Zt()), F = o(ea()), H = o(oa()), v = o(na()), ue = o(ra()), We = o(ta()), Ee = o(aa()), et = o(la()), ot = o(ca()), nt = o(ia()), rt = o(sa()), tt = o(ua()), at = o(da()), lt = o(fa()), ct = o(ga()), it = o(ha()), st = o(ba()), ut = o(pa()), dt = o(ma()), ft = o(ka()), gt = o(ya()), ht = o(wa()), bt = o(va()), pt = o(Sa()), mt = o(xa());
10029
10029
  })(Z);
10030
- const Sa = "_codeblock_19tsp_1", xa = "_dark_19tsp_1", Kn = {
10031
- codeblock: Sa,
10032
- dark: xa
10033
- }, za = { vs: Z.vs, "vsc-dark-plus": Z.vscDarkPlus, solarizedLight: Z.solarizedlight, tomorrow: Z.tomorrow }, ks = ({
10030
+ const za = "_codeblock_19tsp_1", Aa = "_dark_19tsp_1", Qn = {
10031
+ codeblock: za,
10032
+ dark: Aa
10033
+ }, _a = { vs: Z.vs, "vsc-dark-plus": Z.vscDarkPlus, solarizedLight: Z.solarizedlight, tomorrow: Z.tomorrow }, ws = ({
10034
10034
  code: e,
10035
10035
  language: o,
10036
10036
  fileName: n,
@@ -10039,65 +10039,134 @@ const Sa = "_codeblock_19tsp_1", xa = "_dark_19tsp_1", Kn = {
10039
10039
  showLineNumbers: a,
10040
10040
  className: l,
10041
10041
  titleActions: c
10042
- }) => /* @__PURE__ */ O.jsxs(
10043
- zt,
10042
+ }) => /* @__PURE__ */ C.jsxs(
10043
+ _t,
10044
10044
  {
10045
- className: `${Kn.codeblock} ${l || ""} ${t === "dark" ? Kn.dark : ""}`,
10045
+ className: `${Qn.codeblock} ${l || ""} ${t === "dark" ? Qn.dark : ""}`,
10046
10046
  children: [
10047
- n ? /* @__PURE__ */ O.jsxs(At, { className: "d-flex justify-content-between", children: [
10047
+ n ? /* @__PURE__ */ C.jsxs(Mt, { className: "d-flex justify-content-between", children: [
10048
10048
  n,
10049
10049
  " ",
10050
10050
  c
10051
10051
  ] }) : null,
10052
- /* @__PURE__ */ O.jsx(_t, { children: /* @__PURE__ */ O.jsx(
10053
- Mt,
10052
+ /* @__PURE__ */ C.jsx(Ct, { children: /* @__PURE__ */ C.jsx(
10053
+ Ht,
10054
10054
  {
10055
10055
  showLineNumbers: a,
10056
10056
  language: o,
10057
- style: za[r],
10057
+ style: _a[r],
10058
10058
  children: e
10059
10059
  }
10060
10060
  ) })
10061
10061
  ]
10062
10062
  }
10063
- );
10064
- var Aa = { value: () => {
10063
+ ), vs = zt(function({
10064
+ children: o,
10065
+ wrap: n = !1,
10066
+ justify: r,
10067
+ align: t,
10068
+ flex: a,
10069
+ gap: l = "md",
10070
+ className: c,
10071
+ direction: i = "row",
10072
+ ...u
10073
+ }, s) {
10074
+ const d = (g) => ({
10075
+ none: "al-gap-0",
10076
+ xxs: "al-gap-0.5",
10077
+ // 2px
10078
+ xs: "al-gap-1",
10079
+ // 4px
10080
+ sm: "al-gap-1.5",
10081
+ // 6px
10082
+ md: "al-gap-2",
10083
+ // 8px
10084
+ lg: "al-gap-3",
10085
+ // 12px
10086
+ xl: "al-gap-4",
10087
+ // 16px
10088
+ "2xl": "al-gap-5",
10089
+ // 20px
10090
+ "3xl": "al-gap-6",
10091
+ // 24px
10092
+ "4xl": "al-gap-8",
10093
+ // 32px
10094
+ "5xl": "al-gap-10",
10095
+ // 40px
10096
+ "6xl": "al-gap-12",
10097
+ // 48px
10098
+ "7xl": "al-gap-16",
10099
+ // 64px
10100
+ "8xl": "al-gap-20"
10101
+ // 80px
10102
+ })[g], f = yt(
10103
+ "al-flex",
10104
+ // Direction
10105
+ i === "column" ? "al-flex-col" : "al-flex-row",
10106
+ // Wrap
10107
+ n ? "al-flex-wrap" : "al-flex-nowrap",
10108
+ // Justify
10109
+ {
10110
+ "al-justify-start": r === "start",
10111
+ "al-justify-end": r === "end",
10112
+ "al-justify-center": r === "center",
10113
+ "al-justify-between": r === "between",
10114
+ "al-justify-around": r === "around",
10115
+ "al-justify-evenly": r === "evenly"
10116
+ },
10117
+ // Align
10118
+ {
10119
+ "al-items-start": t === "start",
10120
+ "al-items-end": t === "end",
10121
+ "al-items-center": t === "center",
10122
+ "al-items-baseline": t === "baseline",
10123
+ "al-items-stretch": t === "stretch"
10124
+ },
10125
+ // Flex
10126
+ a && `al-flex-[${a}]`,
10127
+ // Gap
10128
+ d(l),
10129
+ c
10130
+ );
10131
+ return /* @__PURE__ */ C.jsx("div", { ...u, className: f, ref: s, children: o });
10132
+ });
10133
+ var Ma = { value: () => {
10065
10134
  } };
10066
- function yr() {
10135
+ function wr() {
10067
10136
  for (var e = 0, o = arguments.length, n = {}, r; e < o; ++e) {
10068
10137
  if (!(r = arguments[e] + "") || r in n || /[\s.]/.test(r)) throw new Error("illegal type: " + r);
10069
10138
  n[r] = [];
10070
10139
  }
10071
- return new be(n);
10140
+ return new pe(n);
10072
10141
  }
10073
- function be(e) {
10142
+ function pe(e) {
10074
10143
  this._ = e;
10075
10144
  }
10076
- function _a(e, o) {
10145
+ function Ca(e, o) {
10077
10146
  return e.trim().split(/^|\s+/).map(function(n) {
10078
10147
  var r = "", t = n.indexOf(".");
10079
10148
  if (t >= 0 && (r = n.slice(t + 1), n = n.slice(0, t)), n && !o.hasOwnProperty(n)) throw new Error("unknown type: " + n);
10080
10149
  return { type: n, name: r };
10081
10150
  });
10082
10151
  }
10083
- be.prototype = yr.prototype = {
10084
- constructor: be,
10152
+ pe.prototype = wr.prototype = {
10153
+ constructor: pe,
10085
10154
  on: function(e, o) {
10086
- var n = this._, r = _a(e + "", n), t, a = -1, l = r.length;
10155
+ var n = this._, r = Ca(e + "", n), t, a = -1, l = r.length;
10087
10156
  if (arguments.length < 2) {
10088
- for (; ++a < l; ) if ((t = (e = r[a]).type) && (t = Ma(n[t], e.name))) return t;
10157
+ for (; ++a < l; ) if ((t = (e = r[a]).type) && (t = Ha(n[t], e.name))) return t;
10089
10158
  return;
10090
10159
  }
10091
10160
  if (o != null && typeof o != "function") throw new Error("invalid callback: " + o);
10092
10161
  for (; ++a < l; )
10093
- if (t = (e = r[a]).type) n[t] = Qn(n[t], e.name, o);
10094
- else if (o == null) for (t in n) n[t] = Qn(n[t], e.name, null);
10162
+ if (t = (e = r[a]).type) n[t] = Yn(n[t], e.name, o);
10163
+ else if (o == null) for (t in n) n[t] = Yn(n[t], e.name, null);
10095
10164
  return this;
10096
10165
  },
10097
10166
  copy: function() {
10098
10167
  var e = {}, o = this._;
10099
10168
  for (var n in o) e[n] = o[n].slice();
10100
- return new be(e);
10169
+ return new pe(e);
10101
10170
  },
10102
10171
  call: function(e, o) {
10103
10172
  if ((t = arguments.length - 2) > 0) for (var n = new Array(t), r = 0, t, a; r < t; ++r) n[r] = arguments[r + 2];
@@ -10109,135 +10178,135 @@ be.prototype = yr.prototype = {
10109
10178
  for (var r = this._[e], t = 0, a = r.length; t < a; ++t) r[t].value.apply(o, n);
10110
10179
  }
10111
10180
  };
10112
- function Ma(e, o) {
10181
+ function Ha(e, o) {
10113
10182
  for (var n = 0, r = e.length, t; n < r; ++n)
10114
10183
  if ((t = e[n]).name === o)
10115
10184
  return t.value;
10116
10185
  }
10117
- function Qn(e, o, n) {
10186
+ function Yn(e, o, n) {
10118
10187
  for (var r = 0, t = e.length; r < t; ++r)
10119
10188
  if (e[r].name === o) {
10120
- e[r] = Aa, e = e.slice(0, r).concat(e.slice(r + 1));
10189
+ e[r] = Ma, e = e.slice(0, r).concat(e.slice(r + 1));
10121
10190
  break;
10122
10191
  }
10123
10192
  return n != null && e.push({ name: o, value: n }), e;
10124
10193
  }
10125
- var Do = "http://www.w3.org/1999/xhtml";
10126
- const Yn = {
10194
+ var Fo = "http://www.w3.org/1999/xhtml";
10195
+ const Gn = {
10127
10196
  svg: "http://www.w3.org/2000/svg",
10128
- xhtml: Do,
10197
+ xhtml: Fo,
10129
10198
  xlink: "http://www.w3.org/1999/xlink",
10130
10199
  xml: "http://www.w3.org/XML/1998/namespace",
10131
10200
  xmlns: "http://www.w3.org/2000/xmlns/"
10132
10201
  };
10133
- function Me(e) {
10202
+ function Ce(e) {
10134
10203
  var o = e += "", n = o.indexOf(":");
10135
- return n >= 0 && (o = e.slice(0, n)) !== "xmlns" && (e = e.slice(n + 1)), Yn.hasOwnProperty(o) ? { space: Yn[o], local: e } : e;
10204
+ return n >= 0 && (o = e.slice(0, n)) !== "xmlns" && (e = e.slice(n + 1)), Gn.hasOwnProperty(o) ? { space: Gn[o], local: e } : e;
10136
10205
  }
10137
- function Ca(e) {
10206
+ function Oa(e) {
10138
10207
  return function() {
10139
10208
  var o = this.ownerDocument, n = this.namespaceURI;
10140
- return n === Do && o.documentElement.namespaceURI === Do ? o.createElement(e) : o.createElementNS(n, e);
10209
+ return n === Fo && o.documentElement.namespaceURI === Fo ? o.createElement(e) : o.createElementNS(n, e);
10141
10210
  };
10142
10211
  }
10143
- function Ha(e) {
10212
+ function Ta(e) {
10144
10213
  return function() {
10145
10214
  return this.ownerDocument.createElementNS(e.space, e.local);
10146
10215
  };
10147
10216
  }
10148
- function wr(e) {
10149
- var o = Me(e);
10150
- return (o.local ? Ha : Ca)(o);
10217
+ function vr(e) {
10218
+ var o = Ce(e);
10219
+ return (o.local ? Ta : Oa)(o);
10151
10220
  }
10152
- function Oa() {
10221
+ function Da() {
10153
10222
  }
10154
- function Uo(e) {
10155
- return e == null ? Oa : function() {
10223
+ function $o(e) {
10224
+ return e == null ? Da : function() {
10156
10225
  return this.querySelector(e);
10157
10226
  };
10158
10227
  }
10159
- function Ta(e) {
10160
- typeof e != "function" && (e = Uo(e));
10228
+ function Fa(e) {
10229
+ typeof e != "function" && (e = $o(e));
10161
10230
  for (var o = this._groups, n = o.length, r = new Array(n), t = 0; t < n; ++t)
10162
- for (var a = o[t], l = a.length, c = r[t] = new Array(l), i, s, u = 0; u < l; ++u)
10163
- (i = a[u]) && (s = e.call(i, i.__data__, u, a)) && ("__data__" in i && (s.__data__ = i.__data__), c[u] = s);
10231
+ for (var a = o[t], l = a.length, c = r[t] = new Array(l), i, u, s = 0; s < l; ++s)
10232
+ (i = a[s]) && (u = e.call(i, i.__data__, s, a)) && ("__data__" in i && (u.__data__ = i.__data__), c[s] = u);
10164
10233
  return new A(r, this._parents);
10165
10234
  }
10166
- function Da(e) {
10235
+ function Ra(e) {
10167
10236
  return e == null ? [] : Array.isArray(e) ? e : Array.from(e);
10168
10237
  }
10169
- function Fa() {
10238
+ function Wa() {
10170
10239
  return [];
10171
10240
  }
10172
- function vr(e) {
10173
- return e == null ? Fa : function() {
10241
+ function Sr(e) {
10242
+ return e == null ? Wa : function() {
10174
10243
  return this.querySelectorAll(e);
10175
10244
  };
10176
10245
  }
10177
- function Ra(e) {
10246
+ function Ea(e) {
10178
10247
  return function() {
10179
- return Da(e.apply(this, arguments));
10248
+ return Ra(e.apply(this, arguments));
10180
10249
  };
10181
10250
  }
10182
- function Wa(e) {
10183
- typeof e == "function" ? e = Ra(e) : e = vr(e);
10251
+ function Ba(e) {
10252
+ typeof e == "function" ? e = Ea(e) : e = Sr(e);
10184
10253
  for (var o = this._groups, n = o.length, r = [], t = [], a = 0; a < n; ++a)
10185
- for (var l = o[a], c = l.length, i, s = 0; s < c; ++s)
10186
- (i = l[s]) && (r.push(e.call(i, i.__data__, s, l)), t.push(i));
10254
+ for (var l = o[a], c = l.length, i, u = 0; u < c; ++u)
10255
+ (i = l[u]) && (r.push(e.call(i, i.__data__, u, l)), t.push(i));
10187
10256
  return new A(r, t);
10188
10257
  }
10189
- function Sr(e) {
10258
+ function xr(e) {
10190
10259
  return function() {
10191
10260
  return this.matches(e);
10192
10261
  };
10193
10262
  }
10194
- function xr(e) {
10263
+ function zr(e) {
10195
10264
  return function(o) {
10196
10265
  return o.matches(e);
10197
10266
  };
10198
10267
  }
10199
- var Ea = Array.prototype.find;
10200
- function Ba(e) {
10268
+ var Na = Array.prototype.find;
10269
+ function Pa(e) {
10201
10270
  return function() {
10202
- return Ea.call(this.children, e);
10271
+ return Na.call(this.children, e);
10203
10272
  };
10204
10273
  }
10205
- function Na() {
10274
+ function ja() {
10206
10275
  return this.firstElementChild;
10207
10276
  }
10208
- function Pa(e) {
10209
- return this.select(e == null ? Na : Ba(typeof e == "function" ? e : xr(e)));
10277
+ function La(e) {
10278
+ return this.select(e == null ? ja : Pa(typeof e == "function" ? e : zr(e)));
10210
10279
  }
10211
- var ja = Array.prototype.filter;
10212
- function La() {
10280
+ var qa = Array.prototype.filter;
10281
+ function Va() {
10213
10282
  return Array.from(this.children);
10214
10283
  }
10215
- function qa(e) {
10284
+ function Ia(e) {
10216
10285
  return function() {
10217
- return ja.call(this.children, e);
10286
+ return qa.call(this.children, e);
10218
10287
  };
10219
10288
  }
10220
- function Va(e) {
10221
- return this.selectAll(e == null ? La : qa(typeof e == "function" ? e : xr(e)));
10289
+ function Ua(e) {
10290
+ return this.selectAll(e == null ? Va : Ia(typeof e == "function" ? e : zr(e)));
10222
10291
  }
10223
- function Ia(e) {
10224
- typeof e != "function" && (e = Sr(e));
10292
+ function $a(e) {
10293
+ typeof e != "function" && (e = xr(e));
10225
10294
  for (var o = this._groups, n = o.length, r = new Array(n), t = 0; t < n; ++t)
10226
- for (var a = o[t], l = a.length, c = r[t] = [], i, s = 0; s < l; ++s)
10227
- (i = a[s]) && e.call(i, i.__data__, s, a) && c.push(i);
10295
+ for (var a = o[t], l = a.length, c = r[t] = [], i, u = 0; u < l; ++u)
10296
+ (i = a[u]) && e.call(i, i.__data__, u, a) && c.push(i);
10228
10297
  return new A(r, this._parents);
10229
10298
  }
10230
- function zr(e) {
10299
+ function Ar(e) {
10231
10300
  return new Array(e.length);
10232
10301
  }
10233
- function Ua() {
10234
- return new A(this._enter || this._groups.map(zr), this._parents);
10302
+ function Ka() {
10303
+ return new A(this._enter || this._groups.map(Ar), this._parents);
10235
10304
  }
10236
- function ke(e, o) {
10305
+ function ye(e, o) {
10237
10306
  this.ownerDocument = e.ownerDocument, this.namespaceURI = e.namespaceURI, this._next = null, this._parent = e, this.__data__ = o;
10238
10307
  }
10239
- ke.prototype = {
10240
- constructor: ke,
10308
+ ye.prototype = {
10309
+ constructor: ye,
10241
10310
  appendChild: function(e) {
10242
10311
  return this._parent.insertBefore(e, this._next);
10243
10312
  },
@@ -10251,36 +10320,36 @@ ke.prototype = {
10251
10320
  return this._parent.querySelectorAll(e);
10252
10321
  }
10253
10322
  };
10254
- function $a(e) {
10323
+ function Qa(e) {
10255
10324
  return function() {
10256
10325
  return e;
10257
10326
  };
10258
10327
  }
10259
- function Ka(e, o, n, r, t, a) {
10260
- for (var l = 0, c, i = o.length, s = a.length; l < s; ++l)
10261
- (c = o[l]) ? (c.__data__ = a[l], r[l] = c) : n[l] = new ke(e, a[l]);
10328
+ function Ya(e, o, n, r, t, a) {
10329
+ for (var l = 0, c, i = o.length, u = a.length; l < u; ++l)
10330
+ (c = o[l]) ? (c.__data__ = a[l], r[l] = c) : n[l] = new ye(e, a[l]);
10262
10331
  for (; l < i; ++l)
10263
10332
  (c = o[l]) && (t[l] = c);
10264
10333
  }
10265
- function Qa(e, o, n, r, t, a, l) {
10266
- var c, i, s = /* @__PURE__ */ new Map(), u = o.length, d = a.length, f = new Array(u), g;
10267
- for (c = 0; c < u; ++c)
10268
- (i = o[c]) && (f[c] = g = l.call(i, i.__data__, c, o) + "", s.has(g) ? t[c] = i : s.set(g, i));
10334
+ function Ga(e, o, n, r, t, a, l) {
10335
+ var c, i, u = /* @__PURE__ */ new Map(), s = o.length, d = a.length, f = new Array(s), g;
10336
+ for (c = 0; c < s; ++c)
10337
+ (i = o[c]) && (f[c] = g = l.call(i, i.__data__, c, o) + "", u.has(g) ? t[c] = i : u.set(g, i));
10269
10338
  for (c = 0; c < d; ++c)
10270
- g = l.call(e, a[c], c, a) + "", (i = s.get(g)) ? (r[c] = i, i.__data__ = a[c], s.delete(g)) : n[c] = new ke(e, a[c]);
10271
- for (c = 0; c < u; ++c)
10272
- (i = o[c]) && s.get(f[c]) === i && (t[c] = i);
10339
+ g = l.call(e, a[c], c, a) + "", (i = u.get(g)) ? (r[c] = i, i.__data__ = a[c], u.delete(g)) : n[c] = new ye(e, a[c]);
10340
+ for (c = 0; c < s; ++c)
10341
+ (i = o[c]) && u.get(f[c]) === i && (t[c] = i);
10273
10342
  }
10274
- function Ya(e) {
10343
+ function Xa(e) {
10275
10344
  return e.__data__;
10276
10345
  }
10277
- function Ga(e, o) {
10278
- if (!arguments.length) return Array.from(this, Ya);
10279
- var n = o ? Qa : Ka, r = this._parents, t = this._groups;
10280
- typeof e != "function" && (e = $a(e));
10281
- for (var a = t.length, l = new Array(a), c = new Array(a), i = new Array(a), s = 0; s < a; ++s) {
10282
- var u = r[s], d = t[s], f = d.length, g = Xa(e.call(u, u && u.__data__, s, r)), p = g.length, k = c[s] = new Array(p), z = l[s] = new Array(p), $ = i[s] = new Array(f);
10283
- n(u, d, k, z, $, g, o);
10346
+ function Ja(e, o) {
10347
+ if (!arguments.length) return Array.from(this, Xa);
10348
+ var n = o ? Ga : Ya, r = this._parents, t = this._groups;
10349
+ typeof e != "function" && (e = Qa(e));
10350
+ for (var a = t.length, l = new Array(a), c = new Array(a), i = new Array(a), u = 0; u < a; ++u) {
10351
+ var s = r[u], d = t[u], f = d.length, g = Za(e.call(s, s && s.__data__, u, r)), p = g.length, k = c[u] = new Array(p), z = l[u] = new Array(p), $ = i[u] = new Array(f);
10352
+ n(s, d, k, z, $, g, o);
10284
10353
  for (var D = 0, b = 0, m, y; D < p; ++D)
10285
10354
  if (m = k[D]) {
10286
10355
  for (D >= b && (b = D + 1); !(y = z[b]) && ++b < p; ) ;
@@ -10289,53 +10358,53 @@ function Ga(e, o) {
10289
10358
  }
10290
10359
  return l = new A(l, r), l._enter = c, l._exit = i, l;
10291
10360
  }
10292
- function Xa(e) {
10361
+ function Za(e) {
10293
10362
  return typeof e == "object" && "length" in e ? e : Array.from(e);
10294
10363
  }
10295
- function Ja() {
10296
- return new A(this._exit || this._groups.map(zr), this._parents);
10364
+ function el() {
10365
+ return new A(this._exit || this._groups.map(Ar), this._parents);
10297
10366
  }
10298
- function Za(e, o, n) {
10367
+ function ol(e, o, n) {
10299
10368
  var r = this.enter(), t = this, a = this.exit();
10300
10369
  return typeof e == "function" ? (r = e(r), r && (r = r.selection())) : r = r.append(e + ""), o != null && (t = o(t), t && (t = t.selection())), n == null ? a.remove() : n(a), r && t ? r.merge(t).order() : t;
10301
10370
  }
10302
- function el(e) {
10371
+ function nl(e) {
10303
10372
  for (var o = e.selection ? e.selection() : e, n = this._groups, r = o._groups, t = n.length, a = r.length, l = Math.min(t, a), c = new Array(t), i = 0; i < l; ++i)
10304
- for (var s = n[i], u = r[i], d = s.length, f = c[i] = new Array(d), g, p = 0; p < d; ++p)
10305
- (g = s[p] || u[p]) && (f[p] = g);
10373
+ for (var u = n[i], s = r[i], d = u.length, f = c[i] = new Array(d), g, p = 0; p < d; ++p)
10374
+ (g = u[p] || s[p]) && (f[p] = g);
10306
10375
  for (; i < t; ++i)
10307
10376
  c[i] = n[i];
10308
10377
  return new A(c, this._parents);
10309
10378
  }
10310
- function ol() {
10379
+ function rl() {
10311
10380
  for (var e = this._groups, o = -1, n = e.length; ++o < n; )
10312
10381
  for (var r = e[o], t = r.length - 1, a = r[t], l; --t >= 0; )
10313
10382
  (l = r[t]) && (a && l.compareDocumentPosition(a) ^ 4 && a.parentNode.insertBefore(l, a), a = l);
10314
10383
  return this;
10315
10384
  }
10316
- function nl(e) {
10317
- e || (e = rl);
10385
+ function tl(e) {
10386
+ e || (e = al);
10318
10387
  function o(d, f) {
10319
10388
  return d && f ? e(d.__data__, f.__data__) : !d - !f;
10320
10389
  }
10321
10390
  for (var n = this._groups, r = n.length, t = new Array(r), a = 0; a < r; ++a) {
10322
- for (var l = n[a], c = l.length, i = t[a] = new Array(c), s, u = 0; u < c; ++u)
10323
- (s = l[u]) && (i[u] = s);
10391
+ for (var l = n[a], c = l.length, i = t[a] = new Array(c), u, s = 0; s < c; ++s)
10392
+ (u = l[s]) && (i[s] = u);
10324
10393
  i.sort(o);
10325
10394
  }
10326
10395
  return new A(t, this._parents).order();
10327
10396
  }
10328
- function rl(e, o) {
10397
+ function al(e, o) {
10329
10398
  return e < o ? -1 : e > o ? 1 : e >= o ? 0 : NaN;
10330
10399
  }
10331
- function tl() {
10400
+ function ll() {
10332
10401
  var e = arguments[0];
10333
10402
  return arguments[0] = this, e.apply(null, arguments), this;
10334
10403
  }
10335
- function al() {
10404
+ function cl() {
10336
10405
  return Array.from(this);
10337
10406
  }
10338
- function ll() {
10407
+ function il() {
10339
10408
  for (var e = this._groups, o = 0, n = e.length; o < n; ++o)
10340
10409
  for (var r = e[o], t = 0, a = r.length; t < a; ++t) {
10341
10410
  var l = r[t];
@@ -10343,114 +10412,114 @@ function ll() {
10343
10412
  }
10344
10413
  return null;
10345
10414
  }
10346
- function cl() {
10415
+ function sl() {
10347
10416
  let e = 0;
10348
10417
  for (const o of this) ++e;
10349
10418
  return e;
10350
10419
  }
10351
- function il() {
10420
+ function ul() {
10352
10421
  return !this.node();
10353
10422
  }
10354
- function sl(e) {
10423
+ function dl(e) {
10355
10424
  for (var o = this._groups, n = 0, r = o.length; n < r; ++n)
10356
10425
  for (var t = o[n], a = 0, l = t.length, c; a < l; ++a)
10357
10426
  (c = t[a]) && e.call(c, c.__data__, a, t);
10358
10427
  return this;
10359
10428
  }
10360
- function ul(e) {
10429
+ function fl(e) {
10361
10430
  return function() {
10362
10431
  this.removeAttribute(e);
10363
10432
  };
10364
10433
  }
10365
- function dl(e) {
10434
+ function gl(e) {
10366
10435
  return function() {
10367
10436
  this.removeAttributeNS(e.space, e.local);
10368
10437
  };
10369
10438
  }
10370
- function fl(e, o) {
10439
+ function hl(e, o) {
10371
10440
  return function() {
10372
10441
  this.setAttribute(e, o);
10373
10442
  };
10374
10443
  }
10375
- function gl(e, o) {
10444
+ function bl(e, o) {
10376
10445
  return function() {
10377
10446
  this.setAttributeNS(e.space, e.local, o);
10378
10447
  };
10379
10448
  }
10380
- function hl(e, o) {
10449
+ function pl(e, o) {
10381
10450
  return function() {
10382
10451
  var n = o.apply(this, arguments);
10383
10452
  n == null ? this.removeAttribute(e) : this.setAttribute(e, n);
10384
10453
  };
10385
10454
  }
10386
- function bl(e, o) {
10455
+ function ml(e, o) {
10387
10456
  return function() {
10388
10457
  var n = o.apply(this, arguments);
10389
10458
  n == null ? this.removeAttributeNS(e.space, e.local) : this.setAttributeNS(e.space, e.local, n);
10390
10459
  };
10391
10460
  }
10392
- function pl(e, o) {
10393
- var n = Me(e);
10461
+ function kl(e, o) {
10462
+ var n = Ce(e);
10394
10463
  if (arguments.length < 2) {
10395
10464
  var r = this.node();
10396
10465
  return n.local ? r.getAttributeNS(n.space, n.local) : r.getAttribute(n);
10397
10466
  }
10398
- return this.each((o == null ? n.local ? dl : ul : typeof o == "function" ? n.local ? bl : hl : n.local ? gl : fl)(n, o));
10467
+ return this.each((o == null ? n.local ? gl : fl : typeof o == "function" ? n.local ? ml : pl : n.local ? bl : hl)(n, o));
10399
10468
  }
10400
- function Ar(e) {
10469
+ function _r(e) {
10401
10470
  return e.ownerDocument && e.ownerDocument.defaultView || e.document && e || e.defaultView;
10402
10471
  }
10403
- function ml(e) {
10472
+ function yl(e) {
10404
10473
  return function() {
10405
10474
  this.style.removeProperty(e);
10406
10475
  };
10407
10476
  }
10408
- function kl(e, o, n) {
10477
+ function wl(e, o, n) {
10409
10478
  return function() {
10410
10479
  this.style.setProperty(e, o, n);
10411
10480
  };
10412
10481
  }
10413
- function yl(e, o, n) {
10482
+ function vl(e, o, n) {
10414
10483
  return function() {
10415
10484
  var r = o.apply(this, arguments);
10416
10485
  r == null ? this.style.removeProperty(e) : this.style.setProperty(e, r, n);
10417
10486
  };
10418
10487
  }
10419
- function wl(e, o, n) {
10420
- return arguments.length > 1 ? this.each((o == null ? ml : typeof o == "function" ? yl : kl)(e, o, n ?? "")) : Y(this.node(), e);
10488
+ function Sl(e, o, n) {
10489
+ return arguments.length > 1 ? this.each((o == null ? yl : typeof o == "function" ? vl : wl)(e, o, n ?? "")) : Y(this.node(), e);
10421
10490
  }
10422
10491
  function Y(e, o) {
10423
- return e.style.getPropertyValue(o) || Ar(e).getComputedStyle(e, null).getPropertyValue(o);
10492
+ return e.style.getPropertyValue(o) || _r(e).getComputedStyle(e, null).getPropertyValue(o);
10424
10493
  }
10425
- function vl(e) {
10494
+ function xl(e) {
10426
10495
  return function() {
10427
10496
  delete this[e];
10428
10497
  };
10429
10498
  }
10430
- function Sl(e, o) {
10499
+ function zl(e, o) {
10431
10500
  return function() {
10432
10501
  this[e] = o;
10433
10502
  };
10434
10503
  }
10435
- function xl(e, o) {
10504
+ function Al(e, o) {
10436
10505
  return function() {
10437
10506
  var n = o.apply(this, arguments);
10438
10507
  n == null ? delete this[e] : this[e] = n;
10439
10508
  };
10440
10509
  }
10441
- function zl(e, o) {
10442
- return arguments.length > 1 ? this.each((o == null ? vl : typeof o == "function" ? xl : Sl)(e, o)) : this.node()[e];
10510
+ function _l(e, o) {
10511
+ return arguments.length > 1 ? this.each((o == null ? xl : typeof o == "function" ? Al : zl)(e, o)) : this.node()[e];
10443
10512
  }
10444
- function _r(e) {
10513
+ function Mr(e) {
10445
10514
  return e.trim().split(/^|\s+/);
10446
10515
  }
10447
- function $o(e) {
10448
- return e.classList || new Mr(e);
10516
+ function Ko(e) {
10517
+ return e.classList || new Cr(e);
10449
10518
  }
10450
- function Mr(e) {
10451
- this._node = e, this._names = _r(e.getAttribute("class") || "");
10519
+ function Cr(e) {
10520
+ this._node = e, this._names = Mr(e.getAttribute("class") || "");
10452
10521
  }
10453
- Mr.prototype = {
10522
+ Cr.prototype = {
10454
10523
  add: function(e) {
10455
10524
  var o = this._names.indexOf(e);
10456
10525
  o < 0 && (this._names.push(e), this._node.setAttribute("class", this._names.join(" ")));
@@ -10463,129 +10532,129 @@ Mr.prototype = {
10463
10532
  return this._names.indexOf(e) >= 0;
10464
10533
  }
10465
10534
  };
10466
- function Cr(e, o) {
10467
- for (var n = $o(e), r = -1, t = o.length; ++r < t; ) n.add(o[r]);
10468
- }
10469
10535
  function Hr(e, o) {
10470
- for (var n = $o(e), r = -1, t = o.length; ++r < t; ) n.remove(o[r]);
10536
+ for (var n = Ko(e), r = -1, t = o.length; ++r < t; ) n.add(o[r]);
10537
+ }
10538
+ function Or(e, o) {
10539
+ for (var n = Ko(e), r = -1, t = o.length; ++r < t; ) n.remove(o[r]);
10471
10540
  }
10472
- function Al(e) {
10541
+ function Ml(e) {
10473
10542
  return function() {
10474
- Cr(this, e);
10543
+ Hr(this, e);
10475
10544
  };
10476
10545
  }
10477
- function _l(e) {
10546
+ function Cl(e) {
10478
10547
  return function() {
10479
- Hr(this, e);
10548
+ Or(this, e);
10480
10549
  };
10481
10550
  }
10482
- function Ml(e, o) {
10551
+ function Hl(e, o) {
10483
10552
  return function() {
10484
- (o.apply(this, arguments) ? Cr : Hr)(this, e);
10553
+ (o.apply(this, arguments) ? Hr : Or)(this, e);
10485
10554
  };
10486
10555
  }
10487
- function Cl(e, o) {
10488
- var n = _r(e + "");
10556
+ function Ol(e, o) {
10557
+ var n = Mr(e + "");
10489
10558
  if (arguments.length < 2) {
10490
- for (var r = $o(this.node()), t = -1, a = n.length; ++t < a; ) if (!r.contains(n[t])) return !1;
10559
+ for (var r = Ko(this.node()), t = -1, a = n.length; ++t < a; ) if (!r.contains(n[t])) return !1;
10491
10560
  return !0;
10492
10561
  }
10493
- return this.each((typeof o == "function" ? Ml : o ? Al : _l)(n, o));
10562
+ return this.each((typeof o == "function" ? Hl : o ? Ml : Cl)(n, o));
10494
10563
  }
10495
- function Hl() {
10564
+ function Tl() {
10496
10565
  this.textContent = "";
10497
10566
  }
10498
- function Ol(e) {
10567
+ function Dl(e) {
10499
10568
  return function() {
10500
10569
  this.textContent = e;
10501
10570
  };
10502
10571
  }
10503
- function Tl(e) {
10572
+ function Fl(e) {
10504
10573
  return function() {
10505
10574
  var o = e.apply(this, arguments);
10506
10575
  this.textContent = o ?? "";
10507
10576
  };
10508
10577
  }
10509
- function Dl(e) {
10510
- return arguments.length ? this.each(e == null ? Hl : (typeof e == "function" ? Tl : Ol)(e)) : this.node().textContent;
10578
+ function Rl(e) {
10579
+ return arguments.length ? this.each(e == null ? Tl : (typeof e == "function" ? Fl : Dl)(e)) : this.node().textContent;
10511
10580
  }
10512
- function Fl() {
10581
+ function Wl() {
10513
10582
  this.innerHTML = "";
10514
10583
  }
10515
- function Rl(e) {
10584
+ function El(e) {
10516
10585
  return function() {
10517
10586
  this.innerHTML = e;
10518
10587
  };
10519
10588
  }
10520
- function Wl(e) {
10589
+ function Bl(e) {
10521
10590
  return function() {
10522
10591
  var o = e.apply(this, arguments);
10523
10592
  this.innerHTML = o ?? "";
10524
10593
  };
10525
10594
  }
10526
- function El(e) {
10527
- return arguments.length ? this.each(e == null ? Fl : (typeof e == "function" ? Wl : Rl)(e)) : this.node().innerHTML;
10595
+ function Nl(e) {
10596
+ return arguments.length ? this.each(e == null ? Wl : (typeof e == "function" ? Bl : El)(e)) : this.node().innerHTML;
10528
10597
  }
10529
- function Bl() {
10598
+ function Pl() {
10530
10599
  this.nextSibling && this.parentNode.appendChild(this);
10531
10600
  }
10532
- function Nl() {
10533
- return this.each(Bl);
10601
+ function jl() {
10602
+ return this.each(Pl);
10534
10603
  }
10535
- function Pl() {
10604
+ function Ll() {
10536
10605
  this.previousSibling && this.parentNode.insertBefore(this, this.parentNode.firstChild);
10537
10606
  }
10538
- function jl() {
10539
- return this.each(Pl);
10607
+ function ql() {
10608
+ return this.each(Ll);
10540
10609
  }
10541
- function Ll(e) {
10542
- var o = typeof e == "function" ? e : wr(e);
10610
+ function Vl(e) {
10611
+ var o = typeof e == "function" ? e : vr(e);
10543
10612
  return this.select(function() {
10544
10613
  return this.appendChild(o.apply(this, arguments));
10545
10614
  });
10546
10615
  }
10547
- function ql() {
10616
+ function Il() {
10548
10617
  return null;
10549
10618
  }
10550
- function Vl(e, o) {
10551
- var n = typeof e == "function" ? e : wr(e), r = o == null ? ql : typeof o == "function" ? o : Uo(o);
10619
+ function Ul(e, o) {
10620
+ var n = typeof e == "function" ? e : vr(e), r = o == null ? Il : typeof o == "function" ? o : $o(o);
10552
10621
  return this.select(function() {
10553
10622
  return this.insertBefore(n.apply(this, arguments), r.apply(this, arguments) || null);
10554
10623
  });
10555
10624
  }
10556
- function Il() {
10625
+ function $l() {
10557
10626
  var e = this.parentNode;
10558
10627
  e && e.removeChild(this);
10559
10628
  }
10560
- function Ul() {
10561
- return this.each(Il);
10629
+ function Kl() {
10630
+ return this.each($l);
10562
10631
  }
10563
- function $l() {
10632
+ function Ql() {
10564
10633
  var e = this.cloneNode(!1), o = this.parentNode;
10565
10634
  return o ? o.insertBefore(e, this.nextSibling) : e;
10566
10635
  }
10567
- function Kl() {
10636
+ function Yl() {
10568
10637
  var e = this.cloneNode(!0), o = this.parentNode;
10569
10638
  return o ? o.insertBefore(e, this.nextSibling) : e;
10570
10639
  }
10571
- function Ql(e) {
10572
- return this.select(e ? Kl : $l);
10640
+ function Gl(e) {
10641
+ return this.select(e ? Yl : Ql);
10573
10642
  }
10574
- function Yl(e) {
10643
+ function Xl(e) {
10575
10644
  return arguments.length ? this.property("__data__", e) : this.node().__data__;
10576
10645
  }
10577
- function Gl(e) {
10646
+ function Jl(e) {
10578
10647
  return function(o) {
10579
10648
  e.call(this, o, this.__data__);
10580
10649
  };
10581
10650
  }
10582
- function Xl(e) {
10651
+ function Zl(e) {
10583
10652
  return e.trim().split(/^|\s+/).map(function(o) {
10584
10653
  var n = "", r = o.indexOf(".");
10585
10654
  return r >= 0 && (n = o.slice(r + 1), o = o.slice(0, r)), { type: o, name: n };
10586
10655
  });
10587
10656
  }
10588
- function Jl(e) {
10657
+ function ec(e) {
10589
10658
  return function() {
10590
10659
  var o = this.__on;
10591
10660
  if (o) {
@@ -10595,9 +10664,9 @@ function Jl(e) {
10595
10664
  }
10596
10665
  };
10597
10666
  }
10598
- function Zl(e, o, n) {
10667
+ function oc(e, o, n) {
10599
10668
  return function() {
10600
- var r = this.__on, t, a = Gl(o);
10669
+ var r = this.__on, t, a = Jl(o);
10601
10670
  if (r) {
10602
10671
  for (var l = 0, c = r.length; l < c; ++l)
10603
10672
  if ((t = r[l]).type === e.type && t.name === e.name) {
@@ -10608,105 +10677,105 @@ function Zl(e, o, n) {
10608
10677
  this.addEventListener(e.type, a, n), t = { type: e.type, name: e.name, value: o, listener: a, options: n }, r ? r.push(t) : this.__on = [t];
10609
10678
  };
10610
10679
  }
10611
- function ec(e, o, n) {
10612
- var r = Xl(e + ""), t, a = r.length, l;
10680
+ function nc(e, o, n) {
10681
+ var r = Zl(e + ""), t, a = r.length, l;
10613
10682
  if (arguments.length < 2) {
10614
10683
  var c = this.node().__on;
10615
10684
  if (c) {
10616
- for (var i = 0, s = c.length, u; i < s; ++i)
10617
- for (t = 0, u = c[i]; t < a; ++t)
10618
- if ((l = r[t]).type === u.type && l.name === u.name)
10619
- return u.value;
10685
+ for (var i = 0, u = c.length, s; i < u; ++i)
10686
+ for (t = 0, s = c[i]; t < a; ++t)
10687
+ if ((l = r[t]).type === s.type && l.name === s.name)
10688
+ return s.value;
10620
10689
  }
10621
10690
  return;
10622
10691
  }
10623
- for (c = o ? Zl : Jl, t = 0; t < a; ++t) this.each(c(r[t], o, n));
10692
+ for (c = o ? oc : ec, t = 0; t < a; ++t) this.each(c(r[t], o, n));
10624
10693
  return this;
10625
10694
  }
10626
- function Or(e, o, n) {
10627
- var r = Ar(e), t = r.CustomEvent;
10695
+ function Tr(e, o, n) {
10696
+ var r = _r(e), t = r.CustomEvent;
10628
10697
  typeof t == "function" ? t = new t(o, n) : (t = r.document.createEvent("Event"), n ? (t.initEvent(o, n.bubbles, n.cancelable), t.detail = n.detail) : t.initEvent(o, !1, !1)), e.dispatchEvent(t);
10629
10698
  }
10630
- function oc(e, o) {
10699
+ function rc(e, o) {
10631
10700
  return function() {
10632
- return Or(this, e, o);
10701
+ return Tr(this, e, o);
10633
10702
  };
10634
10703
  }
10635
- function nc(e, o) {
10704
+ function tc(e, o) {
10636
10705
  return function() {
10637
- return Or(this, e, o.apply(this, arguments));
10706
+ return Tr(this, e, o.apply(this, arguments));
10638
10707
  };
10639
10708
  }
10640
- function rc(e, o) {
10641
- return this.each((typeof o == "function" ? nc : oc)(e, o));
10709
+ function ac(e, o) {
10710
+ return this.each((typeof o == "function" ? tc : rc)(e, o));
10642
10711
  }
10643
- function* tc() {
10712
+ function* lc() {
10644
10713
  for (var e = this._groups, o = 0, n = e.length; o < n; ++o)
10645
10714
  for (var r = e[o], t = 0, a = r.length, l; t < a; ++t)
10646
10715
  (l = r[t]) && (yield l);
10647
10716
  }
10648
- var Tr = [null];
10717
+ var Dr = [null];
10649
10718
  function A(e, o) {
10650
10719
  this._groups = e, this._parents = o;
10651
10720
  }
10652
10721
  function ie() {
10653
- return new A([[document.documentElement]], Tr);
10722
+ return new A([[document.documentElement]], Dr);
10654
10723
  }
10655
- function ac() {
10724
+ function cc() {
10656
10725
  return this;
10657
10726
  }
10658
10727
  A.prototype = ie.prototype = {
10659
10728
  constructor: A,
10660
- select: Ta,
10661
- selectAll: Wa,
10662
- selectChild: Pa,
10663
- selectChildren: Va,
10664
- filter: Ia,
10665
- data: Ga,
10666
- enter: Ua,
10667
- exit: Ja,
10668
- join: Za,
10669
- merge: el,
10670
- selection: ac,
10671
- order: ol,
10672
- sort: nl,
10673
- call: tl,
10674
- nodes: al,
10675
- node: ll,
10676
- size: cl,
10677
- empty: il,
10678
- each: sl,
10679
- attr: pl,
10680
- style: wl,
10681
- property: zl,
10682
- classed: Cl,
10683
- text: Dl,
10684
- html: El,
10685
- raise: Nl,
10686
- lower: jl,
10687
- append: Ll,
10688
- insert: Vl,
10689
- remove: Ul,
10690
- clone: Ql,
10691
- datum: Yl,
10692
- on: ec,
10693
- dispatch: rc,
10694
- [Symbol.iterator]: tc
10729
+ select: Fa,
10730
+ selectAll: Ba,
10731
+ selectChild: La,
10732
+ selectChildren: Ua,
10733
+ filter: $a,
10734
+ data: Ja,
10735
+ enter: Ka,
10736
+ exit: el,
10737
+ join: ol,
10738
+ merge: nl,
10739
+ selection: cc,
10740
+ order: rl,
10741
+ sort: tl,
10742
+ call: ll,
10743
+ nodes: cl,
10744
+ node: il,
10745
+ size: sl,
10746
+ empty: ul,
10747
+ each: dl,
10748
+ attr: kl,
10749
+ style: Sl,
10750
+ property: _l,
10751
+ classed: Ol,
10752
+ text: Rl,
10753
+ html: Nl,
10754
+ raise: jl,
10755
+ lower: ql,
10756
+ append: Vl,
10757
+ insert: Ul,
10758
+ remove: Kl,
10759
+ clone: Gl,
10760
+ datum: Xl,
10761
+ on: nc,
10762
+ dispatch: ac,
10763
+ [Symbol.iterator]: lc
10695
10764
  };
10696
- function ys(e) {
10697
- return typeof e == "string" ? new A([[document.querySelector(e)]], [document.documentElement]) : new A([[e]], Tr);
10765
+ function Ss(e) {
10766
+ return typeof e == "string" ? new A([[document.querySelector(e)]], [document.documentElement]) : new A([[e]], Dr);
10698
10767
  }
10699
- function Ko(e, o, n) {
10768
+ function Qo(e, o, n) {
10700
10769
  e.prototype = o.prototype = n, n.constructor = e;
10701
10770
  }
10702
- function Dr(e, o) {
10771
+ function Fr(e, o) {
10703
10772
  var n = Object.create(e.prototype);
10704
10773
  for (var r in o) n[r] = o[r];
10705
10774
  return n;
10706
10775
  }
10707
10776
  function se() {
10708
10777
  }
10709
- var ne = 0.7, ye = 1 / ne, Q = "\\s*([+-]?\\d+)\\s*", re = "\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*", R = "\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*", lc = /^#([0-9a-f]{3,8})$/, cc = new RegExp(`^rgb\\(${Q},${Q},${Q}\\)$`), ic = new RegExp(`^rgb\\(${R},${R},${R}\\)$`), sc = new RegExp(`^rgba\\(${Q},${Q},${Q},${re}\\)$`), uc = new RegExp(`^rgba\\(${R},${R},${R},${re}\\)$`), dc = new RegExp(`^hsl\\(${re},${R},${R}\\)$`), fc = new RegExp(`^hsla\\(${re},${R},${R},${re}\\)$`), Gn = {
10778
+ var ne = 0.7, we = 1 / ne, Q = "\\s*([+-]?\\d+)\\s*", re = "\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*", R = "\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*", ic = /^#([0-9a-f]{3,8})$/, sc = new RegExp(`^rgb\\(${Q},${Q},${Q}\\)$`), uc = new RegExp(`^rgb\\(${R},${R},${R}\\)$`), dc = new RegExp(`^rgba\\(${Q},${Q},${Q},${re}\\)$`), fc = new RegExp(`^rgba\\(${R},${R},${R},${re}\\)$`), gc = new RegExp(`^hsl\\(${re},${R},${R}\\)$`), hc = new RegExp(`^hsla\\(${re},${R},${R},${re}\\)$`), Xn = {
10710
10779
  aliceblue: 15792383,
10711
10780
  antiquewhite: 16444375,
10712
10781
  aqua: 65535,
@@ -10856,55 +10925,55 @@ var ne = 0.7, ye = 1 / ne, Q = "\\s*([+-]?\\d+)\\s*", re = "\\s*([+-]?(?:\\d*\\.
10856
10925
  yellow: 16776960,
10857
10926
  yellowgreen: 10145074
10858
10927
  };
10859
- Ko(se, te, {
10928
+ Qo(se, te, {
10860
10929
  copy(e) {
10861
10930
  return Object.assign(new this.constructor(), this, e);
10862
10931
  },
10863
10932
  displayable() {
10864
10933
  return this.rgb().displayable();
10865
10934
  },
10866
- hex: Xn,
10935
+ hex: Jn,
10867
10936
  // Deprecated! Use color.formatHex.
10868
- formatHex: Xn,
10869
- formatHex8: gc,
10870
- formatHsl: hc,
10871
- formatRgb: Jn,
10872
- toString: Jn
10937
+ formatHex: Jn,
10938
+ formatHex8: bc,
10939
+ formatHsl: pc,
10940
+ formatRgb: Zn,
10941
+ toString: Zn
10873
10942
  });
10874
- function Xn() {
10943
+ function Jn() {
10875
10944
  return this.rgb().formatHex();
10876
10945
  }
10877
- function gc() {
10946
+ function bc() {
10878
10947
  return this.rgb().formatHex8();
10879
10948
  }
10880
- function hc() {
10881
- return Fr(this).formatHsl();
10949
+ function pc() {
10950
+ return Rr(this).formatHsl();
10882
10951
  }
10883
- function Jn() {
10952
+ function Zn() {
10884
10953
  return this.rgb().formatRgb();
10885
10954
  }
10886
10955
  function te(e) {
10887
10956
  var o, n;
10888
- return e = (e + "").trim().toLowerCase(), (o = lc.exec(e)) ? (n = o[1].length, o = parseInt(o[1], 16), n === 6 ? Zn(o) : n === 3 ? new x(o >> 8 & 15 | o >> 4 & 240, o >> 4 & 15 | o & 240, (o & 15) << 4 | o & 15, 1) : n === 8 ? de(o >> 24 & 255, o >> 16 & 255, o >> 8 & 255, (o & 255) / 255) : n === 4 ? de(o >> 12 & 15 | o >> 8 & 240, o >> 8 & 15 | o >> 4 & 240, o >> 4 & 15 | o & 240, ((o & 15) << 4 | o & 15) / 255) : null) : (o = cc.exec(e)) ? new x(o[1], o[2], o[3], 1) : (o = ic.exec(e)) ? new x(o[1] * 255 / 100, o[2] * 255 / 100, o[3] * 255 / 100, 1) : (o = sc.exec(e)) ? de(o[1], o[2], o[3], o[4]) : (o = uc.exec(e)) ? de(o[1] * 255 / 100, o[2] * 255 / 100, o[3] * 255 / 100, o[4]) : (o = dc.exec(e)) ? nr(o[1], o[2] / 100, o[3] / 100, 1) : (o = fc.exec(e)) ? nr(o[1], o[2] / 100, o[3] / 100, o[4]) : Gn.hasOwnProperty(e) ? Zn(Gn[e]) : e === "transparent" ? new x(NaN, NaN, NaN, 0) : null;
10957
+ return e = (e + "").trim().toLowerCase(), (o = ic.exec(e)) ? (n = o[1].length, o = parseInt(o[1], 16), n === 6 ? er(o) : n === 3 ? new x(o >> 8 & 15 | o >> 4 & 240, o >> 4 & 15 | o & 240, (o & 15) << 4 | o & 15, 1) : n === 8 ? de(o >> 24 & 255, o >> 16 & 255, o >> 8 & 255, (o & 255) / 255) : n === 4 ? de(o >> 12 & 15 | o >> 8 & 240, o >> 8 & 15 | o >> 4 & 240, o >> 4 & 15 | o & 240, ((o & 15) << 4 | o & 15) / 255) : null) : (o = sc.exec(e)) ? new x(o[1], o[2], o[3], 1) : (o = uc.exec(e)) ? new x(o[1] * 255 / 100, o[2] * 255 / 100, o[3] * 255 / 100, 1) : (o = dc.exec(e)) ? de(o[1], o[2], o[3], o[4]) : (o = fc.exec(e)) ? de(o[1] * 255 / 100, o[2] * 255 / 100, o[3] * 255 / 100, o[4]) : (o = gc.exec(e)) ? rr(o[1], o[2] / 100, o[3] / 100, 1) : (o = hc.exec(e)) ? rr(o[1], o[2] / 100, o[3] / 100, o[4]) : Xn.hasOwnProperty(e) ? er(Xn[e]) : e === "transparent" ? new x(NaN, NaN, NaN, 0) : null;
10889
10958
  }
10890
- function Zn(e) {
10959
+ function er(e) {
10891
10960
  return new x(e >> 16 & 255, e >> 8 & 255, e & 255, 1);
10892
10961
  }
10893
10962
  function de(e, o, n, r) {
10894
10963
  return r <= 0 && (e = o = n = NaN), new x(e, o, n, r);
10895
10964
  }
10896
- function bc(e) {
10965
+ function mc(e) {
10897
10966
  return e instanceof se || (e = te(e)), e ? (e = e.rgb(), new x(e.r, e.g, e.b, e.opacity)) : new x();
10898
10967
  }
10899
- function Fo(e, o, n, r) {
10900
- return arguments.length === 1 ? bc(e) : new x(e, o, n, r ?? 1);
10968
+ function Ro(e, o, n, r) {
10969
+ return arguments.length === 1 ? mc(e) : new x(e, o, n, r ?? 1);
10901
10970
  }
10902
10971
  function x(e, o, n, r) {
10903
10972
  this.r = +e, this.g = +o, this.b = +n, this.opacity = +r;
10904
10973
  }
10905
- Ko(x, Fo, Dr(se, {
10974
+ Qo(x, Ro, Fr(se, {
10906
10975
  brighter(e) {
10907
- return e = e == null ? ye : Math.pow(ye, e), new x(this.r * e, this.g * e, this.b * e, this.opacity);
10976
+ return e = e == null ? we : Math.pow(we, e), new x(this.r * e, this.g * e, this.b * e, this.opacity);
10908
10977
  },
10909
10978
  darker(e) {
10910
10979
  return e = e == null ? ne : Math.pow(ne, e), new x(this.r * e, this.g * e, this.b * e, this.opacity);
@@ -10913,29 +10982,29 @@ Ko(x, Fo, Dr(se, {
10913
10982
  return this;
10914
10983
  },
10915
10984
  clamp() {
10916
- return new x(q(this.r), q(this.g), q(this.b), we(this.opacity));
10985
+ return new x(q(this.r), q(this.g), q(this.b), ve(this.opacity));
10917
10986
  },
10918
10987
  displayable() {
10919
10988
  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;
10920
10989
  },
10921
- hex: er,
10990
+ hex: or,
10922
10991
  // Deprecated! Use color.formatHex.
10923
- formatHex: er,
10924
- formatHex8: pc,
10925
- formatRgb: or,
10926
- toString: or
10992
+ formatHex: or,
10993
+ formatHex8: kc,
10994
+ formatRgb: nr,
10995
+ toString: nr
10927
10996
  }));
10928
- function er() {
10997
+ function or() {
10929
10998
  return `#${L(this.r)}${L(this.g)}${L(this.b)}`;
10930
10999
  }
10931
- function pc() {
11000
+ function kc() {
10932
11001
  return `#${L(this.r)}${L(this.g)}${L(this.b)}${L((isNaN(this.opacity) ? 1 : this.opacity) * 255)}`;
10933
11002
  }
10934
- function or() {
10935
- const e = we(this.opacity);
11003
+ function nr() {
11004
+ const e = ve(this.opacity);
10936
11005
  return `${e === 1 ? "rgb(" : "rgba("}${q(this.r)}, ${q(this.g)}, ${q(this.b)}${e === 1 ? ")" : `, ${e})`}`;
10937
11006
  }
10938
- function we(e) {
11007
+ function ve(e) {
10939
11008
  return isNaN(e) ? 1 : Math.max(0, Math.min(1, e));
10940
11009
  }
10941
11010
  function q(e) {
@@ -10944,89 +11013,89 @@ function q(e) {
10944
11013
  function L(e) {
10945
11014
  return e = q(e), (e < 16 ? "0" : "") + e.toString(16);
10946
11015
  }
10947
- function nr(e, o, n, r) {
10948
- return r <= 0 ? e = o = n = NaN : n <= 0 || n >= 1 ? e = o = NaN : o <= 0 && (e = NaN), new H(e, o, n, r);
11016
+ function rr(e, o, n, r) {
11017
+ return r <= 0 ? e = o = n = NaN : n <= 0 || n >= 1 ? e = o = NaN : o <= 0 && (e = NaN), new O(e, o, n, r);
10949
11018
  }
10950
- function Fr(e) {
10951
- if (e instanceof H) return new H(e.h, e.s, e.l, e.opacity);
10952
- if (e instanceof se || (e = te(e)), !e) return new H();
10953
- if (e instanceof H) return e;
11019
+ function Rr(e) {
11020
+ if (e instanceof O) return new O(e.h, e.s, e.l, e.opacity);
11021
+ if (e instanceof se || (e = te(e)), !e) return new O();
11022
+ if (e instanceof O) return e;
10954
11023
  e = e.rgb();
10955
11024
  var o = e.r / 255, n = e.g / 255, r = e.b / 255, t = Math.min(o, n, r), a = Math.max(o, n, r), l = NaN, c = a - t, i = (a + t) / 2;
10956
- return c ? (o === a ? l = (n - r) / c + (n < r) * 6 : n === a ? l = (r - o) / c + 2 : l = (o - n) / c + 4, c /= i < 0.5 ? a + t : 2 - a - t, l *= 60) : c = i > 0 && i < 1 ? 0 : l, new H(l, c, i, e.opacity);
11025
+ return c ? (o === a ? l = (n - r) / c + (n < r) * 6 : n === a ? l = (r - o) / c + 2 : l = (o - n) / c + 4, c /= i < 0.5 ? a + t : 2 - a - t, l *= 60) : c = i > 0 && i < 1 ? 0 : l, new O(l, c, i, e.opacity);
10957
11026
  }
10958
- function mc(e, o, n, r) {
10959
- return arguments.length === 1 ? Fr(e) : new H(e, o, n, r ?? 1);
11027
+ function yc(e, o, n, r) {
11028
+ return arguments.length === 1 ? Rr(e) : new O(e, o, n, r ?? 1);
10960
11029
  }
10961
- function H(e, o, n, r) {
11030
+ function O(e, o, n, r) {
10962
11031
  this.h = +e, this.s = +o, this.l = +n, this.opacity = +r;
10963
11032
  }
10964
- Ko(H, mc, Dr(se, {
11033
+ Qo(O, yc, Fr(se, {
10965
11034
  brighter(e) {
10966
- return e = e == null ? ye : Math.pow(ye, e), new H(this.h, this.s, this.l * e, this.opacity);
11035
+ return e = e == null ? we : Math.pow(we, e), new O(this.h, this.s, this.l * e, this.opacity);
10967
11036
  },
10968
11037
  darker(e) {
10969
- return e = e == null ? ne : Math.pow(ne, e), new H(this.h, this.s, this.l * e, this.opacity);
11038
+ return e = e == null ? ne : Math.pow(ne, e), new O(this.h, this.s, this.l * e, this.opacity);
10970
11039
  },
10971
11040
  rgb() {
10972
11041
  var e = this.h % 360 + (this.h < 0) * 360, o = isNaN(e) || isNaN(this.s) ? 0 : this.s, n = this.l, r = n + (n < 0.5 ? n : 1 - n) * o, t = 2 * n - r;
10973
11042
  return new x(
10974
- Co(e >= 240 ? e - 240 : e + 120, t, r),
10975
- Co(e, t, r),
10976
- Co(e < 120 ? e + 240 : e - 120, t, r),
11043
+ Ho(e >= 240 ? e - 240 : e + 120, t, r),
11044
+ Ho(e, t, r),
11045
+ Ho(e < 120 ? e + 240 : e - 120, t, r),
10977
11046
  this.opacity
10978
11047
  );
10979
11048
  },
10980
11049
  clamp() {
10981
- return new H(rr(this.h), fe(this.s), fe(this.l), we(this.opacity));
11050
+ return new O(tr(this.h), fe(this.s), fe(this.l), ve(this.opacity));
10982
11051
  },
10983
11052
  displayable() {
10984
11053
  return (0 <= this.s && this.s <= 1 || isNaN(this.s)) && 0 <= this.l && this.l <= 1 && 0 <= this.opacity && this.opacity <= 1;
10985
11054
  },
10986
11055
  formatHsl() {
10987
- const e = we(this.opacity);
10988
- return `${e === 1 ? "hsl(" : "hsla("}${rr(this.h)}, ${fe(this.s) * 100}%, ${fe(this.l) * 100}%${e === 1 ? ")" : `, ${e})`}`;
11056
+ const e = ve(this.opacity);
11057
+ return `${e === 1 ? "hsl(" : "hsla("}${tr(this.h)}, ${fe(this.s) * 100}%, ${fe(this.l) * 100}%${e === 1 ? ")" : `, ${e})`}`;
10989
11058
  }
10990
11059
  }));
10991
- function rr(e) {
11060
+ function tr(e) {
10992
11061
  return e = (e || 0) % 360, e < 0 ? e + 360 : e;
10993
11062
  }
10994
11063
  function fe(e) {
10995
11064
  return Math.max(0, Math.min(1, e || 0));
10996
11065
  }
10997
- function Co(e, o, n) {
11066
+ function Ho(e, o, n) {
10998
11067
  return (e < 60 ? o + (n - o) * e / 60 : e < 180 ? n : e < 240 ? o + (n - o) * (240 - e) / 60 : o) * 255;
10999
11068
  }
11000
- const Qo = (e) => () => e;
11001
- function Rr(e, o) {
11069
+ const Yo = (e) => () => e;
11070
+ function Wr(e, o) {
11002
11071
  return function(n) {
11003
11072
  return e + n * o;
11004
11073
  };
11005
11074
  }
11006
- function kc(e, o, n) {
11075
+ function wc(e, o, n) {
11007
11076
  return e = Math.pow(e, n), o = Math.pow(o, n) - e, n = 1 / n, function(r) {
11008
11077
  return Math.pow(e + r * o, n);
11009
11078
  };
11010
11079
  }
11011
- function ws(e, o) {
11080
+ function xs(e, o) {
11012
11081
  var n = o - e;
11013
- return n ? Rr(e, n > 180 || n < -180 ? n - 360 * Math.round(n / 360) : n) : Qo(isNaN(e) ? o : e);
11082
+ return n ? Wr(e, n > 180 || n < -180 ? n - 360 * Math.round(n / 360) : n) : Yo(isNaN(e) ? o : e);
11014
11083
  }
11015
- function yc(e) {
11016
- return (e = +e) == 1 ? Wr : function(o, n) {
11017
- return n - o ? kc(o, n, e) : Qo(isNaN(o) ? n : o);
11084
+ function vc(e) {
11085
+ return (e = +e) == 1 ? Er : function(o, n) {
11086
+ return n - o ? wc(o, n, e) : Yo(isNaN(o) ? n : o);
11018
11087
  };
11019
11088
  }
11020
- function Wr(e, o) {
11089
+ function Er(e, o) {
11021
11090
  var n = o - e;
11022
- return n ? Rr(e, n) : Qo(isNaN(e) ? o : e);
11091
+ return n ? Wr(e, n) : Yo(isNaN(e) ? o : e);
11023
11092
  }
11024
- const tr = function e(o) {
11025
- var n = yc(o);
11093
+ const ar = function e(o) {
11094
+ var n = vc(o);
11026
11095
  function r(t, a) {
11027
- var l = n((t = Fo(t)).r, (a = Fo(a)).r), c = n(t.g, a.g), i = n(t.b, a.b), s = Wr(t.opacity, a.opacity);
11028
- return function(u) {
11029
- return t.r = l(u), t.g = c(u), t.b = i(u), t.opacity = s(u), t + "";
11096
+ var l = n((t = Ro(t)).r, (a = Ro(a)).r), c = n(t.g, a.g), i = n(t.b, a.b), u = Er(t.opacity, a.opacity);
11097
+ return function(s) {
11098
+ return t.r = l(s), t.g = c(s), t.b = i(s), t.opacity = u(s), t + "";
11030
11099
  };
11031
11100
  }
11032
11101
  return r.gamma = e, r;
@@ -11036,27 +11105,27 @@ function P(e, o) {
11036
11105
  return e * (1 - n) + o * n;
11037
11106
  };
11038
11107
  }
11039
- var Ro = /[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g, Ho = new RegExp(Ro.source, "g");
11040
- function wc(e) {
11108
+ var Wo = /[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g, Oo = new RegExp(Wo.source, "g");
11109
+ function Sc(e) {
11041
11110
  return function() {
11042
11111
  return e;
11043
11112
  };
11044
11113
  }
11045
- function vc(e) {
11114
+ function xc(e) {
11046
11115
  return function(o) {
11047
11116
  return e(o) + "";
11048
11117
  };
11049
11118
  }
11050
- function Sc(e, o) {
11051
- var n = Ro.lastIndex = Ho.lastIndex = 0, r, t, a, l = -1, c = [], i = [];
11052
- for (e = e + "", o = o + ""; (r = Ro.exec(e)) && (t = Ho.exec(o)); )
11053
- (a = t.index) > n && (a = o.slice(n, a), c[l] ? c[l] += a : c[++l] = a), (r = r[0]) === (t = t[0]) ? c[l] ? c[l] += t : c[++l] = t : (c[++l] = null, i.push({ i: l, x: P(r, t) })), n = Ho.lastIndex;
11054
- return n < o.length && (a = o.slice(n), c[l] ? c[l] += a : c[++l] = a), c.length < 2 ? i[0] ? vc(i[0].x) : wc(o) : (o = i.length, function(s) {
11055
- for (var u = 0, d; u < o; ++u) c[(d = i[u]).i] = d.x(s);
11119
+ function zc(e, o) {
11120
+ var n = Wo.lastIndex = Oo.lastIndex = 0, r, t, a, l = -1, c = [], i = [];
11121
+ for (e = e + "", o = o + ""; (r = Wo.exec(e)) && (t = Oo.exec(o)); )
11122
+ (a = t.index) > n && (a = o.slice(n, a), c[l] ? c[l] += a : c[++l] = a), (r = r[0]) === (t = t[0]) ? c[l] ? c[l] += t : c[++l] = t : (c[++l] = null, i.push({ i: l, x: P(r, t) })), n = Oo.lastIndex;
11123
+ return n < o.length && (a = o.slice(n), c[l] ? c[l] += a : c[++l] = a), c.length < 2 ? i[0] ? xc(i[0].x) : Sc(o) : (o = i.length, function(u) {
11124
+ for (var s = 0, d; s < o; ++s) c[(d = i[s]).i] = d.x(u);
11056
11125
  return c.join("");
11057
11126
  });
11058
11127
  }
11059
- var ar = 180 / Math.PI, Wo = {
11128
+ var lr = 180 / Math.PI, Eo = {
11060
11129
  translateX: 0,
11061
11130
  translateY: 0,
11062
11131
  rotate: 0,
@@ -11064,146 +11133,146 @@ var ar = 180 / Math.PI, Wo = {
11064
11133
  scaleX: 1,
11065
11134
  scaleY: 1
11066
11135
  };
11067
- function Er(e, o, n, r, t, a) {
11136
+ function Br(e, o, n, r, t, a) {
11068
11137
  var l, c, i;
11069
11138
  return (l = Math.sqrt(e * e + o * o)) && (e /= l, o /= l), (i = e * n + o * r) && (n -= e * i, r -= o * i), (c = Math.sqrt(n * n + r * r)) && (n /= c, r /= c, i /= c), e * r < o * n && (e = -e, o = -o, i = -i, l = -l), {
11070
11139
  translateX: t,
11071
11140
  translateY: a,
11072
- rotate: Math.atan2(o, e) * ar,
11073
- skewX: Math.atan(i) * ar,
11141
+ rotate: Math.atan2(o, e) * lr,
11142
+ skewX: Math.atan(i) * lr,
11074
11143
  scaleX: l,
11075
11144
  scaleY: c
11076
11145
  };
11077
11146
  }
11078
11147
  var ge;
11079
- function xc(e) {
11148
+ function Ac(e) {
11080
11149
  const o = new (typeof DOMMatrix == "function" ? DOMMatrix : WebKitCSSMatrix)(e + "");
11081
- return o.isIdentity ? Wo : Er(o.a, o.b, o.c, o.d, o.e, o.f);
11150
+ return o.isIdentity ? Eo : Br(o.a, o.b, o.c, o.d, o.e, o.f);
11082
11151
  }
11083
- function zc(e) {
11084
- return e == null || (ge || (ge = document.createElementNS("http://www.w3.org/2000/svg", "g")), ge.setAttribute("transform", e), !(e = ge.transform.baseVal.consolidate())) ? Wo : (e = e.matrix, Er(e.a, e.b, e.c, e.d, e.e, e.f));
11152
+ function _c(e) {
11153
+ return e == null || (ge || (ge = document.createElementNS("http://www.w3.org/2000/svg", "g")), ge.setAttribute("transform", e), !(e = ge.transform.baseVal.consolidate())) ? Eo : (e = e.matrix, Br(e.a, e.b, e.c, e.d, e.e, e.f));
11085
11154
  }
11086
- function Br(e, o, n, r) {
11087
- function t(s) {
11088
- return s.length ? s.pop() + " " : "";
11155
+ function Nr(e, o, n, r) {
11156
+ function t(u) {
11157
+ return u.length ? u.pop() + " " : "";
11089
11158
  }
11090
- function a(s, u, d, f, g, p) {
11091
- if (s !== d || u !== f) {
11159
+ function a(u, s, d, f, g, p) {
11160
+ if (u !== d || s !== f) {
11092
11161
  var k = g.push("translate(", null, o, null, n);
11093
- p.push({ i: k - 4, x: P(s, d) }, { i: k - 2, x: P(u, f) });
11162
+ p.push({ i: k - 4, x: P(u, d) }, { i: k - 2, x: P(s, f) });
11094
11163
  } else (d || f) && g.push("translate(" + d + o + f + n);
11095
11164
  }
11096
- function l(s, u, d, f) {
11097
- s !== u ? (s - u > 180 ? u += 360 : u - s > 180 && (s += 360), f.push({ i: d.push(t(d) + "rotate(", null, r) - 2, x: P(s, u) })) : u && d.push(t(d) + "rotate(" + u + r);
11165
+ function l(u, s, d, f) {
11166
+ u !== s ? (u - s > 180 ? s += 360 : s - u > 180 && (u += 360), f.push({ i: d.push(t(d) + "rotate(", null, r) - 2, x: P(u, s) })) : s && d.push(t(d) + "rotate(" + s + r);
11098
11167
  }
11099
- function c(s, u, d, f) {
11100
- s !== u ? f.push({ i: d.push(t(d) + "skewX(", null, r) - 2, x: P(s, u) }) : u && d.push(t(d) + "skewX(" + u + r);
11168
+ function c(u, s, d, f) {
11169
+ u !== s ? f.push({ i: d.push(t(d) + "skewX(", null, r) - 2, x: P(u, s) }) : s && d.push(t(d) + "skewX(" + s + r);
11101
11170
  }
11102
- function i(s, u, d, f, g, p) {
11103
- if (s !== d || u !== f) {
11171
+ function i(u, s, d, f, g, p) {
11172
+ if (u !== d || s !== f) {
11104
11173
  var k = g.push(t(g) + "scale(", null, ",", null, ")");
11105
- p.push({ i: k - 4, x: P(s, d) }, { i: k - 2, x: P(u, f) });
11174
+ p.push({ i: k - 4, x: P(u, d) }, { i: k - 2, x: P(s, f) });
11106
11175
  } else (d !== 1 || f !== 1) && g.push(t(g) + "scale(" + d + "," + f + ")");
11107
11176
  }
11108
- return function(s, u) {
11177
+ return function(u, s) {
11109
11178
  var d = [], f = [];
11110
- return s = e(s), u = e(u), a(s.translateX, s.translateY, u.translateX, u.translateY, d, f), l(s.rotate, u.rotate, d, f), c(s.skewX, u.skewX, d, f), i(s.scaleX, s.scaleY, u.scaleX, u.scaleY, d, f), s = u = null, function(g) {
11179
+ return u = e(u), s = e(s), a(u.translateX, u.translateY, s.translateX, s.translateY, d, f), l(u.rotate, s.rotate, d, f), c(u.skewX, s.skewX, d, f), i(u.scaleX, u.scaleY, s.scaleX, s.scaleY, d, f), u = s = null, function(g) {
11111
11180
  for (var p = -1, k = f.length, z; ++p < k; ) d[(z = f[p]).i] = z.x(g);
11112
11181
  return d.join("");
11113
11182
  };
11114
11183
  };
11115
11184
  }
11116
- var Ac = Br(xc, "px, ", "px)", "deg)"), _c = Br(zc, ", ", ")", ")"), G = 0, ee = 0, J = 0, Nr = 1e3, ve, oe, Se = 0, V = 0, Ce = 0, ae = typeof performance == "object" && performance.now ? performance : Date, Pr = typeof window == "object" && window.requestAnimationFrame ? window.requestAnimationFrame.bind(window) : function(e) {
11185
+ var Mc = Nr(Ac, "px, ", "px)", "deg)"), Cc = Nr(_c, ", ", ")", ")"), G = 0, ee = 0, J = 0, Pr = 1e3, Se, oe, xe = 0, V = 0, He = 0, ae = typeof performance == "object" && performance.now ? performance : Date, jr = typeof window == "object" && window.requestAnimationFrame ? window.requestAnimationFrame.bind(window) : function(e) {
11117
11186
  setTimeout(e, 17);
11118
11187
  };
11119
- function Yo() {
11120
- return V || (Pr(Mc), V = ae.now() + Ce);
11188
+ function Go() {
11189
+ return V || (jr(Hc), V = ae.now() + He);
11121
11190
  }
11122
- function Mc() {
11191
+ function Hc() {
11123
11192
  V = 0;
11124
11193
  }
11125
- function xe() {
11194
+ function ze() {
11126
11195
  this._call = this._time = this._next = null;
11127
11196
  }
11128
- xe.prototype = jr.prototype = {
11129
- constructor: xe,
11197
+ ze.prototype = Lr.prototype = {
11198
+ constructor: ze,
11130
11199
  restart: function(e, o, n) {
11131
11200
  if (typeof e != "function") throw new TypeError("callback is not a function");
11132
- n = (n == null ? Yo() : +n) + (o == null ? 0 : +o), !this._next && oe !== this && (oe ? oe._next = this : ve = this, oe = this), this._call = e, this._time = n, Eo();
11201
+ n = (n == null ? Go() : +n) + (o == null ? 0 : +o), !this._next && oe !== this && (oe ? oe._next = this : Se = this, oe = this), this._call = e, this._time = n, Bo();
11133
11202
  },
11134
11203
  stop: function() {
11135
- this._call && (this._call = null, this._time = 1 / 0, Eo());
11204
+ this._call && (this._call = null, this._time = 1 / 0, Bo());
11136
11205
  }
11137
11206
  };
11138
- function jr(e, o, n) {
11139
- var r = new xe();
11207
+ function Lr(e, o, n) {
11208
+ var r = new ze();
11140
11209
  return r.restart(e, o, n), r;
11141
11210
  }
11142
- function Cc() {
11143
- Yo(), ++G;
11144
- for (var e = ve, o; e; )
11211
+ function Oc() {
11212
+ Go(), ++G;
11213
+ for (var e = Se, o; e; )
11145
11214
  (o = V - e._time) >= 0 && e._call.call(void 0, o), e = e._next;
11146
11215
  --G;
11147
11216
  }
11148
- function lr() {
11149
- V = (Se = ae.now()) + Ce, G = ee = 0;
11217
+ function cr() {
11218
+ V = (xe = ae.now()) + He, G = ee = 0;
11150
11219
  try {
11151
- Cc();
11220
+ Oc();
11152
11221
  } finally {
11153
- G = 0, Oc(), V = 0;
11222
+ G = 0, Dc(), V = 0;
11154
11223
  }
11155
11224
  }
11156
- function Hc() {
11157
- var e = ae.now(), o = e - Se;
11158
- o > Nr && (Ce -= o, Se = e);
11225
+ function Tc() {
11226
+ var e = ae.now(), o = e - xe;
11227
+ o > Pr && (He -= o, xe = e);
11159
11228
  }
11160
- function Oc() {
11161
- for (var e, o = ve, n, r = 1 / 0; o; )
11162
- o._call ? (r > o._time && (r = o._time), e = o, o = o._next) : (n = o._next, o._next = null, o = e ? e._next = n : ve = n);
11163
- oe = e, Eo(r);
11229
+ function Dc() {
11230
+ for (var e, o = Se, n, r = 1 / 0; o; )
11231
+ o._call ? (r > o._time && (r = o._time), e = o, o = o._next) : (n = o._next, o._next = null, o = e ? e._next = n : Se = n);
11232
+ oe = e, Bo(r);
11164
11233
  }
11165
- function Eo(e) {
11234
+ function Bo(e) {
11166
11235
  if (!G) {
11167
11236
  ee && (ee = clearTimeout(ee));
11168
11237
  var o = e - V;
11169
- o > 24 ? (e < 1 / 0 && (ee = setTimeout(lr, e - ae.now() - Ce)), J && (J = clearInterval(J))) : (J || (Se = ae.now(), J = setInterval(Hc, Nr)), G = 1, Pr(lr));
11238
+ o > 24 ? (e < 1 / 0 && (ee = setTimeout(cr, e - ae.now() - He)), J && (J = clearInterval(J))) : (J || (xe = ae.now(), J = setInterval(Tc, Pr)), G = 1, jr(cr));
11170
11239
  }
11171
11240
  }
11172
- function cr(e, o, n) {
11173
- var r = new xe();
11241
+ function ir(e, o, n) {
11242
+ var r = new ze();
11174
11243
  return o = o == null ? 0 : +o, r.restart((t) => {
11175
11244
  r.stop(), e(t + o);
11176
11245
  }, o, n), r;
11177
11246
  }
11178
- var Tc = yr("start", "end", "cancel", "interrupt"), Dc = [], Lr = 0, ir = 1, Bo = 2, pe = 3, sr = 4, No = 5, me = 6;
11179
- function He(e, o, n, r, t, a) {
11247
+ var Fc = wr("start", "end", "cancel", "interrupt"), Rc = [], qr = 0, sr = 1, No = 2, me = 3, ur = 4, Po = 5, ke = 6;
11248
+ function Oe(e, o, n, r, t, a) {
11180
11249
  var l = e.__transition;
11181
11250
  if (!l) e.__transition = {};
11182
11251
  else if (n in l) return;
11183
- Fc(e, n, {
11252
+ Wc(e, n, {
11184
11253
  name: o,
11185
11254
  index: r,
11186
11255
  // For context during callback.
11187
11256
  group: t,
11188
11257
  // For context during callback.
11189
- on: Tc,
11190
- tween: Dc,
11258
+ on: Fc,
11259
+ tween: Rc,
11191
11260
  time: a.time,
11192
11261
  delay: a.delay,
11193
11262
  duration: a.duration,
11194
11263
  ease: a.ease,
11195
11264
  timer: null,
11196
- state: Lr
11265
+ state: qr
11197
11266
  });
11198
11267
  }
11199
- function Go(e, o) {
11268
+ function Xo(e, o) {
11200
11269
  var n = T(e, o);
11201
- if (n.state > Lr) throw new Error("too late; already scheduled");
11270
+ if (n.state > qr) throw new Error("too late; already scheduled");
11202
11271
  return n;
11203
11272
  }
11204
11273
  function W(e, o) {
11205
11274
  var n = T(e, o);
11206
- if (n.state > pe) throw new Error("too late; already running");
11275
+ if (n.state > me) throw new Error("too late; already running");
11207
11276
  return n;
11208
11277
  }
11209
11278
  function T(e, o) {
@@ -11211,40 +11280,40 @@ function T(e, o) {
11211
11280
  if (!n || !(n = n[o])) throw new Error("transition not found");
11212
11281
  return n;
11213
11282
  }
11214
- function Fc(e, o, n) {
11283
+ function Wc(e, o, n) {
11215
11284
  var r = e.__transition, t;
11216
- r[o] = n, n.timer = jr(a, 0, n.time);
11217
- function a(s) {
11218
- n.state = ir, n.timer.restart(l, n.delay, n.time), n.delay <= s && l(s - n.delay);
11285
+ r[o] = n, n.timer = Lr(a, 0, n.time);
11286
+ function a(u) {
11287
+ n.state = sr, n.timer.restart(l, n.delay, n.time), n.delay <= u && l(u - n.delay);
11219
11288
  }
11220
- function l(s) {
11221
- var u, d, f, g;
11222
- if (n.state !== ir) return i();
11223
- for (u in r)
11224
- if (g = r[u], g.name === n.name) {
11225
- if (g.state === pe) return cr(l);
11226
- g.state === sr ? (g.state = me, g.timer.stop(), g.on.call("interrupt", e, e.__data__, g.index, g.group), delete r[u]) : +u < o && (g.state = me, g.timer.stop(), g.on.call("cancel", e, e.__data__, g.index, g.group), delete r[u]);
11289
+ function l(u) {
11290
+ var s, d, f, g;
11291
+ if (n.state !== sr) return i();
11292
+ for (s in r)
11293
+ if (g = r[s], g.name === n.name) {
11294
+ if (g.state === me) return ir(l);
11295
+ g.state === ur ? (g.state = ke, g.timer.stop(), g.on.call("interrupt", e, e.__data__, g.index, g.group), delete r[s]) : +s < o && (g.state = ke, g.timer.stop(), g.on.call("cancel", e, e.__data__, g.index, g.group), delete r[s]);
11227
11296
  }
11228
- if (cr(function() {
11229
- n.state === pe && (n.state = sr, n.timer.restart(c, n.delay, n.time), c(s));
11230
- }), n.state = Bo, n.on.call("start", e, e.__data__, n.index, n.group), n.state === Bo) {
11231
- for (n.state = pe, t = new Array(f = n.tween.length), u = 0, d = -1; u < f; ++u)
11232
- (g = n.tween[u].value.call(e, e.__data__, n.index, n.group)) && (t[++d] = g);
11297
+ if (ir(function() {
11298
+ n.state === me && (n.state = ur, n.timer.restart(c, n.delay, n.time), c(u));
11299
+ }), n.state = No, n.on.call("start", e, e.__data__, n.index, n.group), n.state === No) {
11300
+ for (n.state = me, t = new Array(f = n.tween.length), s = 0, d = -1; s < f; ++s)
11301
+ (g = n.tween[s].value.call(e, e.__data__, n.index, n.group)) && (t[++d] = g);
11233
11302
  t.length = d + 1;
11234
11303
  }
11235
11304
  }
11236
- function c(s) {
11237
- for (var u = s < n.duration ? n.ease.call(null, s / n.duration) : (n.timer.restart(i), n.state = No, 1), d = -1, f = t.length; ++d < f; )
11238
- t[d].call(e, u);
11239
- n.state === No && (n.on.call("end", e, e.__data__, n.index, n.group), i());
11305
+ function c(u) {
11306
+ for (var s = u < n.duration ? n.ease.call(null, u / n.duration) : (n.timer.restart(i), n.state = Po, 1), d = -1, f = t.length; ++d < f; )
11307
+ t[d].call(e, s);
11308
+ n.state === Po && (n.on.call("end", e, e.__data__, n.index, n.group), i());
11240
11309
  }
11241
11310
  function i() {
11242
- n.state = me, n.timer.stop(), delete r[o];
11243
- for (var s in r) return;
11311
+ n.state = ke, n.timer.stop(), delete r[o];
11312
+ for (var u in r) return;
11244
11313
  delete e.__transition;
11245
11314
  }
11246
11315
  }
11247
- function Rc(e, o) {
11316
+ function Ec(e, o) {
11248
11317
  var n = e.__transition, r, t, a = !0, l;
11249
11318
  if (n) {
11250
11319
  o = o == null ? null : o + "";
@@ -11253,17 +11322,17 @@ function Rc(e, o) {
11253
11322
  a = !1;
11254
11323
  continue;
11255
11324
  }
11256
- t = r.state > Bo && r.state < No, r.state = me, r.timer.stop(), r.on.call(t ? "interrupt" : "cancel", e, e.__data__, r.index, r.group), delete n[l];
11325
+ t = r.state > No && r.state < Po, r.state = ke, r.timer.stop(), r.on.call(t ? "interrupt" : "cancel", e, e.__data__, r.index, r.group), delete n[l];
11257
11326
  }
11258
11327
  a && delete e.__transition;
11259
11328
  }
11260
11329
  }
11261
- function Wc(e) {
11330
+ function Bc(e) {
11262
11331
  return this.each(function() {
11263
- Rc(this, e);
11332
+ Ec(this, e);
11264
11333
  });
11265
11334
  }
11266
- function Ec(e, o) {
11335
+ function Nc(e, o) {
11267
11336
  var n, r;
11268
11337
  return function() {
11269
11338
  var t = W(this, e), a = t.tween;
@@ -11278,24 +11347,24 @@ function Ec(e, o) {
11278
11347
  t.tween = r;
11279
11348
  };
11280
11349
  }
11281
- function Bc(e, o, n) {
11350
+ function Pc(e, o, n) {
11282
11351
  var r, t;
11283
11352
  if (typeof n != "function") throw new Error();
11284
11353
  return function() {
11285
11354
  var a = W(this, e), l = a.tween;
11286
11355
  if (l !== r) {
11287
11356
  t = (r = l).slice();
11288
- for (var c = { name: o, value: n }, i = 0, s = t.length; i < s; ++i)
11357
+ for (var c = { name: o, value: n }, i = 0, u = t.length; i < u; ++i)
11289
11358
  if (t[i].name === o) {
11290
11359
  t[i] = c;
11291
11360
  break;
11292
11361
  }
11293
- i === s && t.push(c);
11362
+ i === u && t.push(c);
11294
11363
  }
11295
11364
  a.tween = t;
11296
11365
  };
11297
11366
  }
11298
- function Nc(e, o) {
11367
+ function jc(e, o) {
11299
11368
  var n = this._id;
11300
11369
  if (e += "", arguments.length < 2) {
11301
11370
  for (var r = T(this.node(), n).tween, t = 0, a = r.length, l; t < a; ++t)
@@ -11303,9 +11372,9 @@ function Nc(e, o) {
11303
11372
  return l.value;
11304
11373
  return null;
11305
11374
  }
11306
- return this.each((o == null ? Ec : Bc)(n, e, o));
11375
+ return this.each((o == null ? Nc : Pc)(n, e, o));
11307
11376
  }
11308
- function Xo(e, o, n) {
11377
+ function Jo(e, o, n) {
11309
11378
  var r = e._id;
11310
11379
  return e.each(function() {
11311
11380
  var t = W(this, r);
@@ -11314,385 +11383,385 @@ function Xo(e, o, n) {
11314
11383
  return T(t, r).value[o];
11315
11384
  };
11316
11385
  }
11317
- function qr(e, o) {
11386
+ function Vr(e, o) {
11318
11387
  var n;
11319
- return (typeof o == "number" ? P : o instanceof te ? tr : (n = te(o)) ? (o = n, tr) : Sc)(e, o);
11388
+ return (typeof o == "number" ? P : o instanceof te ? ar : (n = te(o)) ? (o = n, ar) : zc)(e, o);
11320
11389
  }
11321
- function Pc(e) {
11390
+ function Lc(e) {
11322
11391
  return function() {
11323
11392
  this.removeAttribute(e);
11324
11393
  };
11325
11394
  }
11326
- function jc(e) {
11395
+ function qc(e) {
11327
11396
  return function() {
11328
11397
  this.removeAttributeNS(e.space, e.local);
11329
11398
  };
11330
11399
  }
11331
- function Lc(e, o, n) {
11400
+ function Vc(e, o, n) {
11332
11401
  var r, t = n + "", a;
11333
11402
  return function() {
11334
11403
  var l = this.getAttribute(e);
11335
11404
  return l === t ? null : l === r ? a : a = o(r = l, n);
11336
11405
  };
11337
11406
  }
11338
- function qc(e, o, n) {
11407
+ function Ic(e, o, n) {
11339
11408
  var r, t = n + "", a;
11340
11409
  return function() {
11341
11410
  var l = this.getAttributeNS(e.space, e.local);
11342
11411
  return l === t ? null : l === r ? a : a = o(r = l, n);
11343
11412
  };
11344
11413
  }
11345
- function Vc(e, o, n) {
11414
+ function Uc(e, o, n) {
11346
11415
  var r, t, a;
11347
11416
  return function() {
11348
11417
  var l, c = n(this), i;
11349
11418
  return c == null ? void this.removeAttribute(e) : (l = this.getAttribute(e), i = c + "", l === i ? null : l === r && i === t ? a : (t = i, a = o(r = l, c)));
11350
11419
  };
11351
11420
  }
11352
- function Ic(e, o, n) {
11421
+ function $c(e, o, n) {
11353
11422
  var r, t, a;
11354
11423
  return function() {
11355
11424
  var l, c = n(this), i;
11356
11425
  return c == null ? void this.removeAttributeNS(e.space, e.local) : (l = this.getAttributeNS(e.space, e.local), i = c + "", l === i ? null : l === r && i === t ? a : (t = i, a = o(r = l, c)));
11357
11426
  };
11358
11427
  }
11359
- function Uc(e, o) {
11360
- var n = Me(e), r = n === "transform" ? _c : qr;
11361
- return this.attrTween(e, typeof o == "function" ? (n.local ? Ic : Vc)(n, r, Xo(this, "attr." + e, o)) : o == null ? (n.local ? jc : Pc)(n) : (n.local ? qc : Lc)(n, r, o));
11428
+ function Kc(e, o) {
11429
+ var n = Ce(e), r = n === "transform" ? Cc : Vr;
11430
+ return this.attrTween(e, typeof o == "function" ? (n.local ? $c : Uc)(n, r, Jo(this, "attr." + e, o)) : o == null ? (n.local ? qc : Lc)(n) : (n.local ? Ic : Vc)(n, r, o));
11362
11431
  }
11363
- function $c(e, o) {
11432
+ function Qc(e, o) {
11364
11433
  return function(n) {
11365
11434
  this.setAttribute(e, o.call(this, n));
11366
11435
  };
11367
11436
  }
11368
- function Kc(e, o) {
11437
+ function Yc(e, o) {
11369
11438
  return function(n) {
11370
11439
  this.setAttributeNS(e.space, e.local, o.call(this, n));
11371
11440
  };
11372
11441
  }
11373
- function Qc(e, o) {
11442
+ function Gc(e, o) {
11374
11443
  var n, r;
11375
11444
  function t() {
11376
11445
  var a = o.apply(this, arguments);
11377
- return a !== r && (n = (r = a) && Kc(e, a)), n;
11446
+ return a !== r && (n = (r = a) && Yc(e, a)), n;
11378
11447
  }
11379
11448
  return t._value = o, t;
11380
11449
  }
11381
- function Yc(e, o) {
11450
+ function Xc(e, o) {
11382
11451
  var n, r;
11383
11452
  function t() {
11384
11453
  var a = o.apply(this, arguments);
11385
- return a !== r && (n = (r = a) && $c(e, a)), n;
11454
+ return a !== r && (n = (r = a) && Qc(e, a)), n;
11386
11455
  }
11387
11456
  return t._value = o, t;
11388
11457
  }
11389
- function Gc(e, o) {
11458
+ function Jc(e, o) {
11390
11459
  var n = "attr." + e;
11391
11460
  if (arguments.length < 2) return (n = this.tween(n)) && n._value;
11392
11461
  if (o == null) return this.tween(n, null);
11393
11462
  if (typeof o != "function") throw new Error();
11394
- var r = Me(e);
11395
- return this.tween(n, (r.local ? Qc : Yc)(r, o));
11463
+ var r = Ce(e);
11464
+ return this.tween(n, (r.local ? Gc : Xc)(r, o));
11396
11465
  }
11397
- function Xc(e, o) {
11466
+ function Zc(e, o) {
11398
11467
  return function() {
11399
- Go(this, e).delay = +o.apply(this, arguments);
11468
+ Xo(this, e).delay = +o.apply(this, arguments);
11400
11469
  };
11401
11470
  }
11402
- function Jc(e, o) {
11471
+ function ei(e, o) {
11403
11472
  return o = +o, function() {
11404
- Go(this, e).delay = o;
11473
+ Xo(this, e).delay = o;
11405
11474
  };
11406
11475
  }
11407
- function Zc(e) {
11476
+ function oi(e) {
11408
11477
  var o = this._id;
11409
- return arguments.length ? this.each((typeof e == "function" ? Xc : Jc)(o, e)) : T(this.node(), o).delay;
11478
+ return arguments.length ? this.each((typeof e == "function" ? Zc : ei)(o, e)) : T(this.node(), o).delay;
11410
11479
  }
11411
- function ei(e, o) {
11480
+ function ni(e, o) {
11412
11481
  return function() {
11413
11482
  W(this, e).duration = +o.apply(this, arguments);
11414
11483
  };
11415
11484
  }
11416
- function oi(e, o) {
11485
+ function ri(e, o) {
11417
11486
  return o = +o, function() {
11418
11487
  W(this, e).duration = o;
11419
11488
  };
11420
11489
  }
11421
- function ni(e) {
11490
+ function ti(e) {
11422
11491
  var o = this._id;
11423
- return arguments.length ? this.each((typeof e == "function" ? ei : oi)(o, e)) : T(this.node(), o).duration;
11492
+ return arguments.length ? this.each((typeof e == "function" ? ni : ri)(o, e)) : T(this.node(), o).duration;
11424
11493
  }
11425
- function ri(e, o) {
11494
+ function ai(e, o) {
11426
11495
  if (typeof o != "function") throw new Error();
11427
11496
  return function() {
11428
11497
  W(this, e).ease = o;
11429
11498
  };
11430
11499
  }
11431
- function ti(e) {
11500
+ function li(e) {
11432
11501
  var o = this._id;
11433
- return arguments.length ? this.each(ri(o, e)) : T(this.node(), o).ease;
11502
+ return arguments.length ? this.each(ai(o, e)) : T(this.node(), o).ease;
11434
11503
  }
11435
- function ai(e, o) {
11504
+ function ci(e, o) {
11436
11505
  return function() {
11437
11506
  var n = o.apply(this, arguments);
11438
11507
  if (typeof n != "function") throw new Error();
11439
11508
  W(this, e).ease = n;
11440
11509
  };
11441
11510
  }
11442
- function li(e) {
11511
+ function ii(e) {
11443
11512
  if (typeof e != "function") throw new Error();
11444
- return this.each(ai(this._id, e));
11513
+ return this.each(ci(this._id, e));
11445
11514
  }
11446
- function ci(e) {
11447
- typeof e != "function" && (e = Sr(e));
11515
+ function si(e) {
11516
+ typeof e != "function" && (e = xr(e));
11448
11517
  for (var o = this._groups, n = o.length, r = new Array(n), t = 0; t < n; ++t)
11449
- for (var a = o[t], l = a.length, c = r[t] = [], i, s = 0; s < l; ++s)
11450
- (i = a[s]) && e.call(i, i.__data__, s, a) && c.push(i);
11518
+ for (var a = o[t], l = a.length, c = r[t] = [], i, u = 0; u < l; ++u)
11519
+ (i = a[u]) && e.call(i, i.__data__, u, a) && c.push(i);
11451
11520
  return new B(r, this._parents, this._name, this._id);
11452
11521
  }
11453
- function ii(e) {
11522
+ function ui(e) {
11454
11523
  if (e._id !== this._id) throw new Error();
11455
11524
  for (var o = this._groups, n = e._groups, r = o.length, t = n.length, a = Math.min(r, t), l = new Array(r), c = 0; c < a; ++c)
11456
- for (var i = o[c], s = n[c], u = i.length, d = l[c] = new Array(u), f, g = 0; g < u; ++g)
11457
- (f = i[g] || s[g]) && (d[g] = f);
11525
+ for (var i = o[c], u = n[c], s = i.length, d = l[c] = new Array(s), f, g = 0; g < s; ++g)
11526
+ (f = i[g] || u[g]) && (d[g] = f);
11458
11527
  for (; c < r; ++c)
11459
11528
  l[c] = o[c];
11460
11529
  return new B(l, this._parents, this._name, this._id);
11461
11530
  }
11462
- function si(e) {
11531
+ function di(e) {
11463
11532
  return (e + "").trim().split(/^|\s+/).every(function(o) {
11464
11533
  var n = o.indexOf(".");
11465
11534
  return n >= 0 && (o = o.slice(0, n)), !o || o === "start";
11466
11535
  });
11467
11536
  }
11468
- function ui(e, o, n) {
11469
- var r, t, a = si(o) ? Go : W;
11537
+ function fi(e, o, n) {
11538
+ var r, t, a = di(o) ? Xo : W;
11470
11539
  return function() {
11471
11540
  var l = a(this, e), c = l.on;
11472
11541
  c !== r && (t = (r = c).copy()).on(o, n), l.on = t;
11473
11542
  };
11474
11543
  }
11475
- function di(e, o) {
11544
+ function gi(e, o) {
11476
11545
  var n = this._id;
11477
- return arguments.length < 2 ? T(this.node(), n).on.on(e) : this.each(ui(n, e, o));
11546
+ return arguments.length < 2 ? T(this.node(), n).on.on(e) : this.each(fi(n, e, o));
11478
11547
  }
11479
- function fi(e) {
11548
+ function hi(e) {
11480
11549
  return function() {
11481
11550
  var o = this.parentNode;
11482
11551
  for (var n in this.__transition) if (+n !== e) return;
11483
11552
  o && o.removeChild(this);
11484
11553
  };
11485
11554
  }
11486
- function gi() {
11487
- return this.on("end.remove", fi(this._id));
11555
+ function bi() {
11556
+ return this.on("end.remove", hi(this._id));
11488
11557
  }
11489
- function hi(e) {
11558
+ function pi(e) {
11490
11559
  var o = this._name, n = this._id;
11491
- typeof e != "function" && (e = Uo(e));
11560
+ typeof e != "function" && (e = $o(e));
11492
11561
  for (var r = this._groups, t = r.length, a = new Array(t), l = 0; l < t; ++l)
11493
- for (var c = r[l], i = c.length, s = a[l] = new Array(i), u, d, f = 0; f < i; ++f)
11494
- (u = c[f]) && (d = e.call(u, u.__data__, f, c)) && ("__data__" in u && (d.__data__ = u.__data__), s[f] = d, He(s[f], o, n, f, s, T(u, n)));
11562
+ for (var c = r[l], i = c.length, u = a[l] = new Array(i), s, d, f = 0; f < i; ++f)
11563
+ (s = c[f]) && (d = e.call(s, s.__data__, f, c)) && ("__data__" in s && (d.__data__ = s.__data__), u[f] = d, Oe(u[f], o, n, f, u, T(s, n)));
11495
11564
  return new B(a, this._parents, o, n);
11496
11565
  }
11497
- function bi(e) {
11566
+ function mi(e) {
11498
11567
  var o = this._name, n = this._id;
11499
- typeof e != "function" && (e = vr(e));
11568
+ typeof e != "function" && (e = Sr(e));
11500
11569
  for (var r = this._groups, t = r.length, a = [], l = [], c = 0; c < t; ++c)
11501
- for (var i = r[c], s = i.length, u, d = 0; d < s; ++d)
11502
- if (u = i[d]) {
11503
- for (var f = e.call(u, u.__data__, d, i), g, p = T(u, n), k = 0, z = f.length; k < z; ++k)
11504
- (g = f[k]) && He(g, o, n, k, f, p);
11505
- a.push(f), l.push(u);
11570
+ for (var i = r[c], u = i.length, s, d = 0; d < u; ++d)
11571
+ if (s = i[d]) {
11572
+ for (var f = e.call(s, s.__data__, d, i), g, p = T(s, n), k = 0, z = f.length; k < z; ++k)
11573
+ (g = f[k]) && Oe(g, o, n, k, f, p);
11574
+ a.push(f), l.push(s);
11506
11575
  }
11507
11576
  return new B(a, l, o, n);
11508
11577
  }
11509
- var pi = ie.prototype.constructor;
11510
- function mi() {
11511
- return new pi(this._groups, this._parents);
11578
+ var ki = ie.prototype.constructor;
11579
+ function yi() {
11580
+ return new ki(this._groups, this._parents);
11512
11581
  }
11513
- function ki(e, o) {
11582
+ function wi(e, o) {
11514
11583
  var n, r, t;
11515
11584
  return function() {
11516
11585
  var a = Y(this, e), l = (this.style.removeProperty(e), Y(this, e));
11517
11586
  return a === l ? null : a === n && l === r ? t : t = o(n = a, r = l);
11518
11587
  };
11519
11588
  }
11520
- function Vr(e) {
11589
+ function Ir(e) {
11521
11590
  return function() {
11522
11591
  this.style.removeProperty(e);
11523
11592
  };
11524
11593
  }
11525
- function yi(e, o, n) {
11594
+ function vi(e, o, n) {
11526
11595
  var r, t = n + "", a;
11527
11596
  return function() {
11528
11597
  var l = Y(this, e);
11529
11598
  return l === t ? null : l === r ? a : a = o(r = l, n);
11530
11599
  };
11531
11600
  }
11532
- function wi(e, o, n) {
11601
+ function Si(e, o, n) {
11533
11602
  var r, t, a;
11534
11603
  return function() {
11535
11604
  var l = Y(this, e), c = n(this), i = c + "";
11536
11605
  return c == null && (i = c = (this.style.removeProperty(e), Y(this, e))), l === i ? null : l === r && i === t ? a : (t = i, a = o(r = l, c));
11537
11606
  };
11538
11607
  }
11539
- function vi(e, o) {
11608
+ function xi(e, o) {
11540
11609
  var n, r, t, a = "style." + o, l = "end." + a, c;
11541
11610
  return function() {
11542
- var i = W(this, e), s = i.on, u = i.value[a] == null ? c || (c = Vr(o)) : void 0;
11543
- (s !== n || t !== u) && (r = (n = s).copy()).on(l, t = u), i.on = r;
11611
+ var i = W(this, e), u = i.on, s = i.value[a] == null ? c || (c = Ir(o)) : void 0;
11612
+ (u !== n || t !== s) && (r = (n = u).copy()).on(l, t = s), i.on = r;
11544
11613
  };
11545
11614
  }
11546
- function Si(e, o, n) {
11547
- var r = (e += "") == "transform" ? Ac : qr;
11548
- return o == null ? this.styleTween(e, ki(e, r)).on("end.style." + e, Vr(e)) : typeof o == "function" ? this.styleTween(e, wi(e, r, Xo(this, "style." + e, o))).each(vi(this._id, e)) : this.styleTween(e, yi(e, r, o), n).on("end.style." + e, null);
11615
+ function zi(e, o, n) {
11616
+ var r = (e += "") == "transform" ? Mc : Vr;
11617
+ return o == null ? this.styleTween(e, wi(e, r)).on("end.style." + e, Ir(e)) : typeof o == "function" ? this.styleTween(e, Si(e, r, Jo(this, "style." + e, o))).each(xi(this._id, e)) : this.styleTween(e, vi(e, r, o), n).on("end.style." + e, null);
11549
11618
  }
11550
- function xi(e, o, n) {
11619
+ function Ai(e, o, n) {
11551
11620
  return function(r) {
11552
11621
  this.style.setProperty(e, o.call(this, r), n);
11553
11622
  };
11554
11623
  }
11555
- function zi(e, o, n) {
11624
+ function _i(e, o, n) {
11556
11625
  var r, t;
11557
11626
  function a() {
11558
11627
  var l = o.apply(this, arguments);
11559
- return l !== t && (r = (t = l) && xi(e, l, n)), r;
11628
+ return l !== t && (r = (t = l) && Ai(e, l, n)), r;
11560
11629
  }
11561
11630
  return a._value = o, a;
11562
11631
  }
11563
- function Ai(e, o, n) {
11632
+ function Mi(e, o, n) {
11564
11633
  var r = "style." + (e += "");
11565
11634
  if (arguments.length < 2) return (r = this.tween(r)) && r._value;
11566
11635
  if (o == null) return this.tween(r, null);
11567
11636
  if (typeof o != "function") throw new Error();
11568
- return this.tween(r, zi(e, o, n ?? ""));
11637
+ return this.tween(r, _i(e, o, n ?? ""));
11569
11638
  }
11570
- function _i(e) {
11639
+ function Ci(e) {
11571
11640
  return function() {
11572
11641
  this.textContent = e;
11573
11642
  };
11574
11643
  }
11575
- function Mi(e) {
11644
+ function Hi(e) {
11576
11645
  return function() {
11577
11646
  var o = e(this);
11578
11647
  this.textContent = o ?? "";
11579
11648
  };
11580
11649
  }
11581
- function Ci(e) {
11582
- return this.tween("text", typeof e == "function" ? Mi(Xo(this, "text", e)) : _i(e == null ? "" : e + ""));
11650
+ function Oi(e) {
11651
+ return this.tween("text", typeof e == "function" ? Hi(Jo(this, "text", e)) : Ci(e == null ? "" : e + ""));
11583
11652
  }
11584
- function Hi(e) {
11653
+ function Ti(e) {
11585
11654
  return function(o) {
11586
11655
  this.textContent = e.call(this, o);
11587
11656
  };
11588
11657
  }
11589
- function Oi(e) {
11658
+ function Di(e) {
11590
11659
  var o, n;
11591
11660
  function r() {
11592
11661
  var t = e.apply(this, arguments);
11593
- return t !== n && (o = (n = t) && Hi(t)), o;
11662
+ return t !== n && (o = (n = t) && Ti(t)), o;
11594
11663
  }
11595
11664
  return r._value = e, r;
11596
11665
  }
11597
- function Ti(e) {
11666
+ function Fi(e) {
11598
11667
  var o = "text";
11599
11668
  if (arguments.length < 1) return (o = this.tween(o)) && o._value;
11600
11669
  if (e == null) return this.tween(o, null);
11601
11670
  if (typeof e != "function") throw new Error();
11602
- return this.tween(o, Oi(e));
11603
- }
11604
- function Di() {
11605
- for (var e = this._name, o = this._id, n = Ir(), r = this._groups, t = r.length, a = 0; a < t; ++a)
11606
- for (var l = r[a], c = l.length, i, s = 0; s < c; ++s)
11607
- if (i = l[s]) {
11608
- var u = T(i, o);
11609
- He(i, e, n, s, l, {
11610
- time: u.time + u.delay + u.duration,
11671
+ return this.tween(o, Di(e));
11672
+ }
11673
+ function Ri() {
11674
+ for (var e = this._name, o = this._id, n = Ur(), r = this._groups, t = r.length, a = 0; a < t; ++a)
11675
+ for (var l = r[a], c = l.length, i, u = 0; u < c; ++u)
11676
+ if (i = l[u]) {
11677
+ var s = T(i, o);
11678
+ Oe(i, e, n, u, l, {
11679
+ time: s.time + s.delay + s.duration,
11611
11680
  delay: 0,
11612
- duration: u.duration,
11613
- ease: u.ease
11681
+ duration: s.duration,
11682
+ ease: s.ease
11614
11683
  });
11615
11684
  }
11616
11685
  return new B(r, this._parents, e, n);
11617
11686
  }
11618
- function Fi() {
11687
+ function Wi() {
11619
11688
  var e, o, n = this, r = n._id, t = n.size();
11620
11689
  return new Promise(function(a, l) {
11621
11690
  var c = { value: l }, i = { value: function() {
11622
11691
  --t === 0 && a();
11623
11692
  } };
11624
11693
  n.each(function() {
11625
- var s = W(this, r), u = s.on;
11626
- u !== e && (o = (e = u).copy(), o._.cancel.push(c), o._.interrupt.push(c), o._.end.push(i)), s.on = o;
11694
+ var u = W(this, r), s = u.on;
11695
+ s !== e && (o = (e = s).copy(), o._.cancel.push(c), o._.interrupt.push(c), o._.end.push(i)), u.on = o;
11627
11696
  }), t === 0 && a();
11628
11697
  });
11629
11698
  }
11630
- var Ri = 0;
11699
+ var Ei = 0;
11631
11700
  function B(e, o, n, r) {
11632
11701
  this._groups = e, this._parents = o, this._name = n, this._id = r;
11633
11702
  }
11634
- function Ir() {
11635
- return ++Ri;
11703
+ function Ur() {
11704
+ return ++Ei;
11636
11705
  }
11637
11706
  var E = ie.prototype;
11638
11707
  B.prototype = {
11639
11708
  constructor: B,
11640
- select: hi,
11641
- selectAll: bi,
11709
+ select: pi,
11710
+ selectAll: mi,
11642
11711
  selectChild: E.selectChild,
11643
11712
  selectChildren: E.selectChildren,
11644
- filter: ci,
11645
- merge: ii,
11646
- selection: mi,
11647
- transition: Di,
11713
+ filter: si,
11714
+ merge: ui,
11715
+ selection: yi,
11716
+ transition: Ri,
11648
11717
  call: E.call,
11649
11718
  nodes: E.nodes,
11650
11719
  node: E.node,
11651
11720
  size: E.size,
11652
11721
  empty: E.empty,
11653
11722
  each: E.each,
11654
- on: di,
11655
- attr: Uc,
11656
- attrTween: Gc,
11657
- style: Si,
11658
- styleTween: Ai,
11659
- text: Ci,
11660
- textTween: Ti,
11661
- remove: gi,
11662
- tween: Nc,
11663
- delay: Zc,
11664
- duration: ni,
11665
- ease: ti,
11666
- easeVarying: li,
11667
- end: Fi,
11723
+ on: gi,
11724
+ attr: Kc,
11725
+ attrTween: Jc,
11726
+ style: zi,
11727
+ styleTween: Mi,
11728
+ text: Oi,
11729
+ textTween: Fi,
11730
+ remove: bi,
11731
+ tween: jc,
11732
+ delay: oi,
11733
+ duration: ti,
11734
+ ease: li,
11735
+ easeVarying: ii,
11736
+ end: Wi,
11668
11737
  [Symbol.iterator]: E[Symbol.iterator]
11669
11738
  };
11670
- function Wi(e) {
11739
+ function Bi(e) {
11671
11740
  return ((e *= 2) <= 1 ? e * e * e : (e -= 2) * e * e + 2) / 2;
11672
11741
  }
11673
- var Ei = {
11742
+ var Ni = {
11674
11743
  time: null,
11675
11744
  // Set on use.
11676
11745
  delay: 0,
11677
11746
  duration: 250,
11678
- ease: Wi
11747
+ ease: Bi
11679
11748
  };
11680
- function Bi(e, o) {
11749
+ function Pi(e, o) {
11681
11750
  for (var n; !(n = e.__transition) || !(n = n[o]); )
11682
11751
  if (!(e = e.parentNode))
11683
11752
  throw new Error(`transition ${o} not found`);
11684
11753
  return n;
11685
11754
  }
11686
- function Ni(e) {
11755
+ function ji(e) {
11687
11756
  var o, n;
11688
- e instanceof B ? (o = e._id, e = e._name) : (o = Ir(), (n = Ei).time = Yo(), e = e == null ? null : e + "");
11757
+ e instanceof B ? (o = e._id, e = e._name) : (o = Ur(), (n = Ni).time = Go(), e = e == null ? null : e + "");
11689
11758
  for (var r = this._groups, t = r.length, a = 0; a < t; ++a)
11690
- for (var l = r[a], c = l.length, i, s = 0; s < c; ++s)
11691
- (i = l[s]) && He(i, e, o, s, l, n || Bi(i, o));
11759
+ for (var l = r[a], c = l.length, i, u = 0; u < c; ++u)
11760
+ (i = l[u]) && Oe(i, e, o, u, l, n || Pi(i, o));
11692
11761
  return new B(r, this._parents, e, o);
11693
11762
  }
11694
- ie.prototype.interrupt = Wc;
11695
- ie.prototype.transition = Ni;
11763
+ ie.prototype.interrupt = Bc;
11764
+ ie.prototype.transition = ji;
11696
11765
  function K(e, o, n) {
11697
11766
  this.k = e, this.x = o, this.y = n;
11698
11767
  }
@@ -11732,13 +11801,34 @@ K.prototype = {
11732
11801
  return "translate(" + this.x + "," + this.y + ") scale(" + this.k + ")";
11733
11802
  }
11734
11803
  };
11735
- var vs = new K(1, 0, 0);
11804
+ var zs = new K(1, 0, 0);
11736
11805
  K.prototype;
11737
- const Ss = {
11806
+ const As = ({
11807
+ queryFn: e,
11808
+ onSuccess: o
11809
+ }) => {
11810
+ const [n, r] = be(), [t, a] = be(!1), [l, c] = be();
11811
+ return {
11812
+ error: n,
11813
+ data: l,
11814
+ loading: t,
11815
+ mutate: async (u) => {
11816
+ a(!0);
11817
+ try {
11818
+ const s = await e(u);
11819
+ c(s), o == null || o(s);
11820
+ } catch (s) {
11821
+ r(s);
11822
+ } finally {
11823
+ a(!1);
11824
+ }
11825
+ }
11826
+ };
11827
+ }, _s = {
11738
11828
  get: async (e, o, n) => ({}),
11739
11829
  post: async (e, o, n) => ({})
11740
11830
  };
11741
- function Pi(e) {
11831
+ function Li(e) {
11742
11832
  if (typeof e != "object" || e === null)
11743
11833
  return !1;
11744
11834
  let o = e;
@@ -11746,10 +11836,10 @@ function Pi(e) {
11746
11836
  o = Object.getPrototypeOf(o);
11747
11837
  return Object.getPrototypeOf(e) === o || Object.getPrototypeOf(e) === null;
11748
11838
  }
11749
- function ji(e) {
11750
- return Pi(e) && "type" in e && typeof e.type == "string";
11839
+ function qi(e) {
11840
+ return Li(e) && "type" in e && typeof e.type == "string";
11751
11841
  }
11752
- var Ur = Symbol.for("immer-nothing"), ur = Symbol.for("immer-draftable"), _ = Symbol.for("immer-state"), Li = process.env.NODE_ENV !== "production" ? [
11842
+ var $r = Symbol.for("immer-nothing"), dr = Symbol.for("immer-draftable"), _ = Symbol.for("immer-state"), Vi = process.env.NODE_ENV !== "production" ? [
11753
11843
  // All error codes, starting by 0:
11754
11844
  function(e) {
11755
11845
  return `The plugin for '${e}' has not been loaded into Immer. To enable the plugin, import and call \`enable${e}()\` when initializing your application.`;
@@ -11782,7 +11872,7 @@ var Ur = Symbol.for("immer-nothing"), ur = Symbol.for("immer-draftable"), _ = Sy
11782
11872
  ] : [];
11783
11873
  function S(e, ...o) {
11784
11874
  if (process.env.NODE_ENV !== "production") {
11785
- const n = Li[e], r = typeof n == "function" ? n.apply(null, o) : n;
11875
+ const n = Vi[e], r = typeof n == "function" ? n.apply(null, o) : n;
11786
11876
  throw new Error(`[Immer] ${r}`);
11787
11877
  }
11788
11878
  throw new Error(
@@ -11795,54 +11885,54 @@ function I(e) {
11795
11885
  }
11796
11886
  function N(e) {
11797
11887
  var o;
11798
- return e ? $r(e) || Array.isArray(e) || !!e[ur] || !!((o = e.constructor) != null && o[ur]) || Te(e) || De(e) : !1;
11888
+ return e ? Kr(e) || Array.isArray(e) || !!e[dr] || !!((o = e.constructor) != null && o[dr]) || De(e) || Fe(e) : !1;
11799
11889
  }
11800
- var qi = Object.prototype.constructor.toString();
11801
- function $r(e) {
11890
+ var Ii = Object.prototype.constructor.toString();
11891
+ function Kr(e) {
11802
11892
  if (!e || typeof e != "object")
11803
11893
  return !1;
11804
11894
  const o = X(e);
11805
11895
  if (o === null)
11806
11896
  return !0;
11807
11897
  const n = Object.hasOwnProperty.call(o, "constructor") && o.constructor;
11808
- return n === Object ? !0 : typeof n == "function" && Function.toString.call(n) === qi;
11898
+ return n === Object ? !0 : typeof n == "function" && Function.toString.call(n) === Ii;
11809
11899
  }
11810
- function ze(e, o) {
11811
- Oe(e) === 0 ? Reflect.ownKeys(e).forEach((n) => {
11900
+ function Ae(e, o) {
11901
+ Te(e) === 0 ? Reflect.ownKeys(e).forEach((n) => {
11812
11902
  o(n, e[n], e);
11813
11903
  }) : e.forEach((n, r) => o(r, n, e));
11814
11904
  }
11815
- function Oe(e) {
11905
+ function Te(e) {
11816
11906
  const o = e[_];
11817
- return o ? o.type_ : Array.isArray(e) ? 1 : Te(e) ? 2 : De(e) ? 3 : 0;
11907
+ return o ? o.type_ : Array.isArray(e) ? 1 : De(e) ? 2 : Fe(e) ? 3 : 0;
11818
11908
  }
11819
- function Po(e, o) {
11820
- return Oe(e) === 2 ? e.has(o) : Object.prototype.hasOwnProperty.call(e, o);
11909
+ function jo(e, o) {
11910
+ return Te(e) === 2 ? e.has(o) : Object.prototype.hasOwnProperty.call(e, o);
11821
11911
  }
11822
- function Kr(e, o, n) {
11823
- const r = Oe(e);
11912
+ function Qr(e, o, n) {
11913
+ const r = Te(e);
11824
11914
  r === 2 ? e.set(o, n) : r === 3 ? e.add(n) : e[o] = n;
11825
11915
  }
11826
- function Vi(e, o) {
11916
+ function Ui(e, o) {
11827
11917
  return e === o ? e !== 0 || 1 / e === 1 / o : e !== e && o !== o;
11828
11918
  }
11829
- function Te(e) {
11919
+ function De(e) {
11830
11920
  return e instanceof Map;
11831
11921
  }
11832
- function De(e) {
11922
+ function Fe(e) {
11833
11923
  return e instanceof Set;
11834
11924
  }
11835
11925
  function j(e) {
11836
11926
  return e.copy_ || e.base_;
11837
11927
  }
11838
- function jo(e, o) {
11839
- if (Te(e))
11840
- return new Map(e);
11928
+ function Lo(e, o) {
11841
11929
  if (De(e))
11930
+ return new Map(e);
11931
+ if (Fe(e))
11842
11932
  return new Set(e);
11843
11933
  if (Array.isArray(e))
11844
11934
  return Array.prototype.slice.call(e);
11845
- const n = $r(e);
11935
+ const n = Kr(e);
11846
11936
  if (o === !0 || o === "class_only" && !n) {
11847
11937
  const r = Object.getOwnPropertyDescriptors(e);
11848
11938
  delete r[_];
@@ -11866,25 +11956,25 @@ function jo(e, o) {
11866
11956
  return Object.assign(t, e);
11867
11957
  }
11868
11958
  }
11869
- function Jo(e, o = !1) {
11870
- return Fe(e) || I(e) || !N(e) || (Oe(e) > 1 && (e.set = e.add = e.clear = e.delete = Ii), Object.freeze(e), o && Object.entries(e).forEach(([n, r]) => Jo(r, !0))), e;
11959
+ function Zo(e, o = !1) {
11960
+ return Re(e) || I(e) || !N(e) || (Te(e) > 1 && (e.set = e.add = e.clear = e.delete = $i), Object.freeze(e), o && Object.entries(e).forEach(([n, r]) => Zo(r, !0))), e;
11871
11961
  }
11872
- function Ii() {
11962
+ function $i() {
11873
11963
  S(2);
11874
11964
  }
11875
- function Fe(e) {
11965
+ function Re(e) {
11876
11966
  return Object.isFrozen(e);
11877
11967
  }
11878
- var Ui = {};
11968
+ var Ki = {};
11879
11969
  function U(e) {
11880
- const o = Ui[e];
11970
+ const o = Ki[e];
11881
11971
  return o || S(0, e), o;
11882
11972
  }
11883
11973
  var le;
11884
- function Qr() {
11974
+ function Yr() {
11885
11975
  return le;
11886
11976
  }
11887
- function $i(e, o) {
11977
+ function Qi(e, o) {
11888
11978
  return {
11889
11979
  drafts_: [],
11890
11980
  parent_: e,
@@ -11895,53 +11985,53 @@ function $i(e, o) {
11895
11985
  unfinalizedDrafts_: 0
11896
11986
  };
11897
11987
  }
11898
- function dr(e, o) {
11988
+ function fr(e, o) {
11899
11989
  o && (U("Patches"), e.patches_ = [], e.inversePatches_ = [], e.patchListener_ = o);
11900
11990
  }
11901
- function Lo(e) {
11902
- qo(e), e.drafts_.forEach(Ki), e.drafts_ = null;
11903
- }
11904
11991
  function qo(e) {
11992
+ Vo(e), e.drafts_.forEach(Yi), e.drafts_ = null;
11993
+ }
11994
+ function Vo(e) {
11905
11995
  e === le && (le = e.parent_);
11906
11996
  }
11907
- function fr(e) {
11908
- return le = $i(le, e);
11997
+ function gr(e) {
11998
+ return le = Qi(le, e);
11909
11999
  }
11910
- function Ki(e) {
12000
+ function Yi(e) {
11911
12001
  const o = e[_];
11912
12002
  o.type_ === 0 || o.type_ === 1 ? o.revoke_() : o.revoked_ = !0;
11913
12003
  }
11914
- function gr(e, o) {
12004
+ function hr(e, o) {
11915
12005
  o.unfinalizedDrafts_ = o.drafts_.length;
11916
12006
  const n = o.drafts_[0];
11917
- return e !== void 0 && e !== n ? (n[_].modified_ && (Lo(o), S(4)), N(e) && (e = Ae(o, e), o.parent_ || _e(o, e)), o.patches_ && U("Patches").generateReplacementPatches_(
12007
+ return e !== void 0 && e !== n ? (n[_].modified_ && (qo(o), S(4)), N(e) && (e = _e(o, e), o.parent_ || Me(o, e)), o.patches_ && U("Patches").generateReplacementPatches_(
11918
12008
  n[_].base_,
11919
12009
  e,
11920
12010
  o.patches_,
11921
12011
  o.inversePatches_
11922
- )) : e = Ae(o, n, []), Lo(o), o.patches_ && o.patchListener_(o.patches_, o.inversePatches_), e !== Ur ? e : void 0;
12012
+ )) : e = _e(o, n, []), qo(o), o.patches_ && o.patchListener_(o.patches_, o.inversePatches_), e !== $r ? e : void 0;
11923
12013
  }
11924
- function Ae(e, o, n) {
11925
- if (Fe(o))
12014
+ function _e(e, o, n) {
12015
+ if (Re(o))
11926
12016
  return o;
11927
12017
  const r = o[_];
11928
12018
  if (!r)
11929
- return ze(
12019
+ return Ae(
11930
12020
  o,
11931
- (t, a) => hr(e, r, o, t, a, n)
12021
+ (t, a) => br(e, r, o, t, a, n)
11932
12022
  ), o;
11933
12023
  if (r.scope_ !== e)
11934
12024
  return o;
11935
12025
  if (!r.modified_)
11936
- return _e(e, r.base_, !0), r.base_;
12026
+ return Me(e, r.base_, !0), r.base_;
11937
12027
  if (!r.finalized_) {
11938
12028
  r.finalized_ = !0, r.scope_.unfinalizedDrafts_--;
11939
12029
  const t = r.copy_;
11940
12030
  let a = t, l = !1;
11941
- r.type_ === 3 && (a = new Set(t), t.clear(), l = !0), ze(
12031
+ r.type_ === 3 && (a = new Set(t), t.clear(), l = !0), Ae(
11942
12032
  a,
11943
- (c, i) => hr(e, r, t, c, i, n, l)
11944
- ), _e(e, t, !1), n && e.patches_ && U("Patches").generatePatches_(
12033
+ (c, i) => br(e, r, t, c, i, n, l)
12034
+ ), Me(e, t, !1), n && e.patches_ && U("Patches").generatePatches_(
11945
12035
  r,
11946
12036
  n,
11947
12037
  e.patches_,
@@ -11950,29 +12040,29 @@ function Ae(e, o, n) {
11950
12040
  }
11951
12041
  return r.copy_;
11952
12042
  }
11953
- function hr(e, o, n, r, t, a, l) {
12043
+ function br(e, o, n, r, t, a, l) {
11954
12044
  if (process.env.NODE_ENV !== "production" && t === n && S(5), I(t)) {
11955
12045
  const c = a && o && o.type_ !== 3 && // Set objects are atomic since they have no keys.
11956
- !Po(o.assigned_, r) ? a.concat(r) : void 0, i = Ae(e, t, c);
11957
- if (Kr(n, r, i), I(i))
12046
+ !jo(o.assigned_, r) ? a.concat(r) : void 0, i = _e(e, t, c);
12047
+ if (Qr(n, r, i), I(i))
11958
12048
  e.canAutoFreeze_ = !1;
11959
12049
  else
11960
12050
  return;
11961
12051
  } else l && n.add(t);
11962
- if (N(t) && !Fe(t)) {
12052
+ if (N(t) && !Re(t)) {
11963
12053
  if (!e.immer_.autoFreeze_ && e.unfinalizedDrafts_ < 1)
11964
12054
  return;
11965
- Ae(e, t), (!o || !o.scope_.parent_) && typeof r != "symbol" && Object.prototype.propertyIsEnumerable.call(n, r) && _e(e, t);
12055
+ _e(e, t), (!o || !o.scope_.parent_) && typeof r != "symbol" && Object.prototype.propertyIsEnumerable.call(n, r) && Me(e, t);
11966
12056
  }
11967
12057
  }
11968
- function _e(e, o, n = !1) {
11969
- !e.parent_ && e.immer_.autoFreeze_ && e.canAutoFreeze_ && Jo(o, n);
12058
+ function Me(e, o, n = !1) {
12059
+ !e.parent_ && e.immer_.autoFreeze_ && e.canAutoFreeze_ && Zo(o, n);
11970
12060
  }
11971
- function Qi(e, o) {
12061
+ function Gi(e, o) {
11972
12062
  const n = Array.isArray(e), r = {
11973
12063
  type_: n ? 1 : 0,
11974
12064
  // Track which produce call this is associated with.
11975
- scope_: o ? o.scope_ : Qr(),
12065
+ scope_: o ? o.scope_ : Yr(),
11976
12066
  // True for both shallow and deep changes.
11977
12067
  modified_: !1,
11978
12068
  // Used during finalization.
@@ -11992,20 +12082,20 @@ function Qi(e, o) {
11992
12082
  revoke_: null,
11993
12083
  isManual_: !1
11994
12084
  };
11995
- let t = r, a = Zo;
12085
+ let t = r, a = en;
11996
12086
  n && (t = [r], a = ce);
11997
12087
  const { revoke: l, proxy: c } = Proxy.revocable(t, a);
11998
12088
  return r.draft_ = c, r.revoke_ = l, c;
11999
12089
  }
12000
- var Zo = {
12090
+ var en = {
12001
12091
  get(e, o) {
12002
12092
  if (o === _)
12003
12093
  return e;
12004
12094
  const n = j(e);
12005
- if (!Po(n, o))
12006
- return Yi(e, n, o);
12095
+ if (!jo(n, o))
12096
+ return Xi(e, n, o);
12007
12097
  const r = n[o];
12008
- return e.finalized_ || !N(r) ? r : r === Oo(e.base_, o) ? (To(e), e.copy_[o] = Io(r, e)) : r;
12098
+ return e.finalized_ || !N(r) ? r : r === To(e.base_, o) ? (Do(e), e.copy_[o] = Uo(r, e)) : r;
12009
12099
  },
12010
12100
  has(e, o) {
12011
12101
  return o in j(e);
@@ -12014,23 +12104,23 @@ var Zo = {
12014
12104
  return Reflect.ownKeys(j(e));
12015
12105
  },
12016
12106
  set(e, o, n) {
12017
- const r = Yr(j(e), o);
12107
+ const r = Gr(j(e), o);
12018
12108
  if (r != null && r.set)
12019
12109
  return r.set.call(e.draft_, n), !0;
12020
12110
  if (!e.modified_) {
12021
- const t = Oo(j(e), o), a = t == null ? void 0 : t[_];
12111
+ const t = To(j(e), o), a = t == null ? void 0 : t[_];
12022
12112
  if (a && a.base_ === n)
12023
12113
  return e.copy_[o] = n, e.assigned_[o] = !1, !0;
12024
- if (Vi(n, t) && (n !== void 0 || Po(e.base_, o)))
12114
+ if (Ui(n, t) && (n !== void 0 || jo(e.base_, o)))
12025
12115
  return !0;
12026
- To(e), Vo(e);
12116
+ Do(e), Io(e);
12027
12117
  }
12028
12118
  return e.copy_[o] === n && // special case: handle new props with value 'undefined'
12029
12119
  (n !== void 0 || o in e.copy_) || // special case: NaN
12030
12120
  Number.isNaN(n) && Number.isNaN(e.copy_[o]) || (e.copy_[o] = n, e.assigned_[o] = !0), !0;
12031
12121
  },
12032
12122
  deleteProperty(e, o) {
12033
- return Oo(e.base_, o) !== void 0 || o in e.base_ ? (e.assigned_[o] = !1, To(e), Vo(e)) : delete e.assigned_[o], e.copy_ && delete e.copy_[o], !0;
12123
+ return To(e.base_, o) !== void 0 || o in e.base_ ? (e.assigned_[o] = !1, Do(e), Io(e)) : delete e.assigned_[o], e.copy_ && delete e.copy_[o], !0;
12034
12124
  },
12035
12125
  // Note: We never coerce `desc.value` into an Immer draft, because we can't make
12036
12126
  // the same guarantee in ES5 mode.
@@ -12053,7 +12143,7 @@ var Zo = {
12053
12143
  S(12);
12054
12144
  }
12055
12145
  }, ce = {};
12056
- ze(Zo, (e, o) => {
12146
+ Ae(en, (e, o) => {
12057
12147
  ce[e] = function() {
12058
12148
  return arguments[0] = arguments[0][0], o.apply(this, arguments);
12059
12149
  };
@@ -12062,22 +12152,22 @@ ce.deleteProperty = function(e, o) {
12062
12152
  return process.env.NODE_ENV !== "production" && isNaN(parseInt(o)) && S(13), ce.set.call(this, e, o, void 0);
12063
12153
  };
12064
12154
  ce.set = function(e, o, n) {
12065
- return process.env.NODE_ENV !== "production" && o !== "length" && isNaN(parseInt(o)) && S(14), Zo.set.call(this, e[0], o, n, e[0]);
12155
+ return process.env.NODE_ENV !== "production" && o !== "length" && isNaN(parseInt(o)) && S(14), en.set.call(this, e[0], o, n, e[0]);
12066
12156
  };
12067
- function Oo(e, o) {
12157
+ function To(e, o) {
12068
12158
  const n = e[_];
12069
12159
  return (n ? j(n) : e)[o];
12070
12160
  }
12071
- function Yi(e, o, n) {
12161
+ function Xi(e, o, n) {
12072
12162
  var t;
12073
- const r = Yr(o, n);
12163
+ const r = Gr(o, n);
12074
12164
  return r ? "value" in r ? r.value : (
12075
12165
  // This is a very special case, if the prop is a getter defined by the
12076
12166
  // prototype, we should invoke it with the draft as context!
12077
12167
  (t = r.get) == null ? void 0 : t.call(e.draft_)
12078
12168
  ) : void 0;
12079
12169
  }
12080
- function Yr(e, o) {
12170
+ function Gr(e, o) {
12081
12171
  if (!(o in e))
12082
12172
  return;
12083
12173
  let n = X(e);
@@ -12088,39 +12178,39 @@ function Yr(e, o) {
12088
12178
  n = X(n);
12089
12179
  }
12090
12180
  }
12091
- function Vo(e) {
12092
- e.modified_ || (e.modified_ = !0, e.parent_ && Vo(e.parent_));
12181
+ function Io(e) {
12182
+ e.modified_ || (e.modified_ = !0, e.parent_ && Io(e.parent_));
12093
12183
  }
12094
- function To(e) {
12095
- e.copy_ || (e.copy_ = jo(
12184
+ function Do(e) {
12185
+ e.copy_ || (e.copy_ = Lo(
12096
12186
  e.base_,
12097
12187
  e.scope_.immer_.useStrictShallowCopy_
12098
12188
  ));
12099
12189
  }
12100
- var Gi = class {
12190
+ var Ji = class {
12101
12191
  constructor(e) {
12102
12192
  this.autoFreeze_ = !0, this.useStrictShallowCopy_ = !1, this.produce = (o, n, r) => {
12103
12193
  if (typeof o == "function" && typeof n != "function") {
12104
12194
  const a = n;
12105
12195
  n = o;
12106
12196
  const l = this;
12107
- return function(i = a, ...s) {
12108
- return l.produce(i, (u) => n.call(this, u, ...s));
12197
+ return function(i = a, ...u) {
12198
+ return l.produce(i, (s) => n.call(this, s, ...u));
12109
12199
  };
12110
12200
  }
12111
12201
  typeof n != "function" && S(6), r !== void 0 && typeof r != "function" && S(7);
12112
12202
  let t;
12113
12203
  if (N(o)) {
12114
- const a = fr(this), l = Io(o, void 0);
12204
+ const a = gr(this), l = Uo(o, void 0);
12115
12205
  let c = !0;
12116
12206
  try {
12117
12207
  t = n(l), c = !1;
12118
12208
  } finally {
12119
- c ? Lo(a) : qo(a);
12209
+ c ? qo(a) : Vo(a);
12120
12210
  }
12121
- return dr(a, r), gr(t, a);
12211
+ return fr(a, r), hr(t, a);
12122
12212
  } else if (!o || typeof o != "object") {
12123
- if (t = n(o), t === void 0 && (t = o), t === Ur && (t = void 0), this.autoFreeze_ && Jo(t, !0), r) {
12213
+ if (t = n(o), t === void 0 && (t = o), t === $r && (t = void 0), this.autoFreeze_ && Zo(t, !0), r) {
12124
12214
  const a = [], l = [];
12125
12215
  U("Patches").generateReplacementPatches_(o, t, a, l), r(a, l);
12126
12216
  }
@@ -12137,15 +12227,15 @@ var Gi = class {
12137
12227
  }, typeof (e == null ? void 0 : e.autoFreeze) == "boolean" && this.setAutoFreeze(e.autoFreeze), typeof (e == null ? void 0 : e.useStrictShallowCopy) == "boolean" && this.setUseStrictShallowCopy(e.useStrictShallowCopy);
12138
12228
  }
12139
12229
  createDraft(e) {
12140
- N(e) || S(8), I(e) && (e = Xi(e));
12141
- const o = fr(this), n = Io(e, void 0);
12142
- return n[_].isManual_ = !0, qo(o), n;
12230
+ N(e) || S(8), I(e) && (e = Zi(e));
12231
+ const o = gr(this), n = Uo(e, void 0);
12232
+ return n[_].isManual_ = !0, Vo(o), n;
12143
12233
  }
12144
12234
  finishDraft(e, o) {
12145
12235
  const n = e && e[_];
12146
12236
  (!n || !n.isManual_) && S(9);
12147
12237
  const { scope_: r } = n;
12148
- return dr(r, o), gr(void 0, r);
12238
+ return fr(r, o), hr(void 0, r);
12149
12239
  }
12150
12240
  /**
12151
12241
  * Pass true to automatically freeze all copies created by Immer.
@@ -12180,29 +12270,29 @@ var Gi = class {
12180
12270
  );
12181
12271
  }
12182
12272
  };
12183
- function Io(e, o) {
12184
- const n = Te(e) ? U("MapSet").proxyMap_(e, o) : De(e) ? U("MapSet").proxySet_(e, o) : Qi(e, o);
12185
- return (o ? o.scope_ : Qr()).drafts_.push(n), n;
12273
+ function Uo(e, o) {
12274
+ const n = De(e) ? U("MapSet").proxyMap_(e, o) : Fe(e) ? U("MapSet").proxySet_(e, o) : Gi(e, o);
12275
+ return (o ? o.scope_ : Yr()).drafts_.push(n), n;
12186
12276
  }
12187
- function Xi(e) {
12188
- return I(e) || S(10, e), Gr(e);
12277
+ function Zi(e) {
12278
+ return I(e) || S(10, e), Xr(e);
12189
12279
  }
12190
- function Gr(e) {
12191
- if (!N(e) || Fe(e))
12280
+ function Xr(e) {
12281
+ if (!N(e) || Re(e))
12192
12282
  return e;
12193
12283
  const o = e[_];
12194
12284
  let n;
12195
12285
  if (o) {
12196
12286
  if (!o.modified_)
12197
12287
  return o.base_;
12198
- o.finalized_ = !0, n = jo(e, o.scope_.immer_.useStrictShallowCopy_);
12288
+ o.finalized_ = !0, n = Lo(e, o.scope_.immer_.useStrictShallowCopy_);
12199
12289
  } else
12200
- n = jo(e, !0);
12201
- return ze(n, (r, t) => {
12202
- Kr(n, r, Gr(t));
12290
+ n = Lo(e, !0);
12291
+ return Ae(n, (r, t) => {
12292
+ Qr(n, r, Xr(t));
12203
12293
  }), o && (o.finalized_ = !1), n;
12204
12294
  }
12205
- var M = new Gi(), Xr = M.produce;
12295
+ var M = new Ji(), Jr = M.produce;
12206
12296
  M.produceWithPatches.bind(
12207
12297
  M
12208
12298
  );
@@ -12211,7 +12301,7 @@ M.setUseStrictShallowCopy.bind(M);
12211
12301
  M.applyPatches.bind(M);
12212
12302
  M.createDraft.bind(M);
12213
12303
  M.finishDraft.bind(M);
12214
- function br(e, o) {
12304
+ function pr(e, o) {
12215
12305
  function n(...r) {
12216
12306
  if (o) {
12217
12307
  let t = o(...r);
@@ -12233,13 +12323,13 @@ function br(e, o) {
12233
12323
  payload: r[0]
12234
12324
  };
12235
12325
  }
12236
- return n.toString = () => `${e}`, n.type = e, n.match = (r) => ji(r) && r.type === e, n;
12326
+ return n.toString = () => `${e}`, n.type = e, n.match = (r) => qi(r) && r.type === e, n;
12237
12327
  }
12238
- function pr(e) {
12239
- return N(e) ? Xr(e, () => {
12328
+ function mr(e) {
12329
+ return N(e) ? Jr(e, () => {
12240
12330
  }) : e;
12241
12331
  }
12242
- function mr(e, o, n) {
12332
+ function kr(e, o, n) {
12243
12333
  if (e.has(o)) {
12244
12334
  let t = e.get(o);
12245
12335
  return n.update && (t = n.update(t, o, e), e.set(o, t)), t;
@@ -12248,7 +12338,7 @@ function mr(e, o, n) {
12248
12338
  const r = n.insert(o, e);
12249
12339
  return e.set(o, r), r;
12250
12340
  }
12251
- function Jr(e) {
12341
+ function Zr(e) {
12252
12342
  const o = {}, n = [];
12253
12343
  let r;
12254
12344
  const t = {
@@ -12282,57 +12372,57 @@ function Jr(e) {
12282
12372
  };
12283
12373
  return e(t), [o, n, r];
12284
12374
  }
12285
- function Ji(e) {
12375
+ function es(e) {
12286
12376
  return typeof e == "function";
12287
12377
  }
12288
- function Zi(e, o) {
12378
+ function os(e, o) {
12289
12379
  if (process.env.NODE_ENV !== "production" && typeof o == "object")
12290
12380
  throw new Error(process.env.NODE_ENV === "production" ? w(8) : "The object notation for `createReducer` has been removed. Please use the 'builder callback' notation instead: https://redux-toolkit.js.org/api/createReducer");
12291
- let [n, r, t] = Jr(o), a;
12292
- if (Ji(e))
12293
- a = () => pr(e());
12381
+ let [n, r, t] = Zr(o), a;
12382
+ if (es(e))
12383
+ a = () => mr(e());
12294
12384
  else {
12295
- const c = pr(e);
12385
+ const c = mr(e);
12296
12386
  a = () => c;
12297
12387
  }
12298
12388
  function l(c = a(), i) {
12299
- let s = [n[i.type], ...r.filter(({
12300
- matcher: u
12301
- }) => u(i)).map(({
12302
- reducer: u
12303
- }) => u)];
12304
- return s.filter((u) => !!u).length === 0 && (s = [t]), s.reduce((u, d) => {
12389
+ let u = [n[i.type], ...r.filter(({
12390
+ matcher: s
12391
+ }) => s(i)).map(({
12392
+ reducer: s
12393
+ }) => s)];
12394
+ return u.filter((s) => !!s).length === 0 && (u = [t]), u.reduce((s, d) => {
12305
12395
  if (d)
12306
- if (I(u)) {
12307
- const g = d(u, i);
12308
- return g === void 0 ? u : g;
12396
+ if (I(s)) {
12397
+ const g = d(s, i);
12398
+ return g === void 0 ? s : g;
12309
12399
  } else {
12310
- if (N(u))
12311
- return Xr(u, (f) => d(f, i));
12400
+ if (N(s))
12401
+ return Jr(s, (f) => d(f, i));
12312
12402
  {
12313
- const f = d(u, i);
12403
+ const f = d(s, i);
12314
12404
  if (f === void 0) {
12315
- if (u === null)
12316
- return u;
12405
+ if (s === null)
12406
+ return s;
12317
12407
  throw new Error(process.env.NODE_ENV === "production" ? w(9) : "A case reducer on a non-draftable value must not return undefined");
12318
12408
  }
12319
12409
  return f;
12320
12410
  }
12321
12411
  }
12322
- return u;
12412
+ return s;
12323
12413
  }, c);
12324
12414
  }
12325
12415
  return l.getInitialState = a, l;
12326
12416
  }
12327
- var es = /* @__PURE__ */ Symbol.for("rtk-slice-createasyncthunk");
12328
- function os(e, o) {
12417
+ var ns = /* @__PURE__ */ Symbol.for("rtk-slice-createasyncthunk");
12418
+ function rs(e, o) {
12329
12419
  return `${e}/${o}`;
12330
12420
  }
12331
- function ns({
12421
+ function ts({
12332
12422
  creators: e
12333
12423
  } = {}) {
12334
12424
  var n;
12335
- const o = (n = e == null ? void 0 : e.asyncThunk) == null ? void 0 : n[es];
12425
+ const o = (n = e == null ? void 0 : e.asyncThunk) == null ? void 0 : n[ns];
12336
12426
  return function(t) {
12337
12427
  const {
12338
12428
  name: a,
@@ -12341,56 +12431,56 @@ function ns({
12341
12431
  if (!a)
12342
12432
  throw new Error(process.env.NODE_ENV === "production" ? w(11) : "`name` is a required option for createSlice");
12343
12433
  typeof process < "u" && process.env.NODE_ENV === "development" && t.initialState === void 0 && console.error("You must provide an `initialState` value that is not `undefined`. You may have misspelled `initialState`");
12344
- const c = (typeof t.reducers == "function" ? t.reducers(ts()) : t.reducers) || {}, i = Object.keys(c), s = {
12434
+ const c = (typeof t.reducers == "function" ? t.reducers(ls()) : t.reducers) || {}, i = Object.keys(c), u = {
12345
12435
  sliceCaseReducersByName: {},
12346
12436
  sliceCaseReducersByType: {},
12347
12437
  actionCreators: {},
12348
12438
  sliceMatchers: []
12349
- }, u = {
12439
+ }, s = {
12350
12440
  addCase(b, m) {
12351
12441
  const y = typeof b == "string" ? b : b.type;
12352
12442
  if (!y)
12353
12443
  throw new Error(process.env.NODE_ENV === "production" ? w(12) : "`context.addCase` cannot be called with an empty action type");
12354
- if (y in s.sliceCaseReducersByType)
12444
+ if (y in u.sliceCaseReducersByType)
12355
12445
  throw new Error(process.env.NODE_ENV === "production" ? w(13) : "`context.addCase` cannot be called with two reducers for the same action type: " + y);
12356
- return s.sliceCaseReducersByType[y] = m, u;
12446
+ return u.sliceCaseReducersByType[y] = m, s;
12357
12447
  },
12358
12448
  addMatcher(b, m) {
12359
- return s.sliceMatchers.push({
12449
+ return u.sliceMatchers.push({
12360
12450
  matcher: b,
12361
12451
  reducer: m
12362
- }), u;
12452
+ }), s;
12363
12453
  },
12364
12454
  exposeAction(b, m) {
12365
- return s.actionCreators[b] = m, u;
12455
+ return u.actionCreators[b] = m, s;
12366
12456
  },
12367
12457
  exposeCaseReducer(b, m) {
12368
- return s.sliceCaseReducersByName[b] = m, u;
12458
+ return u.sliceCaseReducersByName[b] = m, s;
12369
12459
  }
12370
12460
  };
12371
12461
  i.forEach((b) => {
12372
12462
  const m = c[b], y = {
12373
12463
  reducerName: b,
12374
- type: os(a, b),
12464
+ type: rs(a, b),
12375
12465
  createNotation: typeof t.reducers == "function"
12376
12466
  };
12377
- ls(m) ? is(y, m, u, o) : as(y, m, u);
12467
+ is(m) ? us(y, m, s, o) : cs(y, m, s);
12378
12468
  });
12379
12469
  function d() {
12380
12470
  if (process.env.NODE_ENV !== "production" && typeof t.extraReducers == "object")
12381
12471
  throw new Error(process.env.NODE_ENV === "production" ? w(14) : "The object notation for `createSlice.extraReducers` has been removed. Please use the 'builder callback' notation instead: https://redux-toolkit.js.org/api/createSlice");
12382
- const [b = {}, m = [], y = void 0] = typeof t.extraReducers == "function" ? Jr(t.extraReducers) : [t.extraReducers], F = {
12472
+ const [b = {}, m = [], y = void 0] = typeof t.extraReducers == "function" ? Zr(t.extraReducers) : [t.extraReducers], F = {
12383
12473
  ...b,
12384
- ...s.sliceCaseReducersByType
12474
+ ...u.sliceCaseReducersByType
12385
12475
  };
12386
- return Zi(t.initialState, (C) => {
12476
+ return os(t.initialState, (H) => {
12387
12477
  for (let v in F)
12388
- C.addCase(v, F[v]);
12389
- for (let v of s.sliceMatchers)
12390
- C.addMatcher(v.matcher, v.reducer);
12478
+ H.addCase(v, F[v]);
12479
+ for (let v of u.sliceMatchers)
12480
+ H.addMatcher(v.matcher, v.reducer);
12391
12481
  for (let v of m)
12392
- C.addMatcher(v.matcher, v.reducer);
12393
- y && C.addDefaultCase(y);
12482
+ H.addMatcher(v.matcher, v.reducer);
12483
+ y && H.addDefaultCase(y);
12394
12484
  });
12395
12485
  }
12396
12486
  const f = (b) => b, g = /* @__PURE__ */ new Map();
@@ -12402,8 +12492,8 @@ function ns({
12402
12492
  return p || (p = d()), p.getInitialState();
12403
12493
  }
12404
12494
  function $(b, m = !1) {
12405
- function y(C) {
12406
- let v = C[b];
12495
+ function y(H) {
12496
+ let v = H[b];
12407
12497
  if (typeof v > "u") {
12408
12498
  if (m)
12409
12499
  v = z();
@@ -12412,15 +12502,15 @@ function ns({
12412
12502
  }
12413
12503
  return v;
12414
12504
  }
12415
- function F(C = f) {
12416
- const v = mr(g, m, {
12505
+ function F(H = f) {
12506
+ const v = kr(g, m, {
12417
12507
  insert: () => /* @__PURE__ */ new WeakMap()
12418
12508
  });
12419
- return mr(v, C, {
12509
+ return kr(v, H, {
12420
12510
  insert: () => {
12421
12511
  const ue = {};
12422
- for (const [Re, We] of Object.entries(t.selectors ?? {}))
12423
- ue[Re] = rs(We, C, z, m);
12512
+ for (const [We, Ee] of Object.entries(t.selectors ?? {}))
12513
+ ue[We] = as(Ee, H, z, m);
12424
12514
  return ue;
12425
12515
  }
12426
12516
  });
@@ -12437,8 +12527,8 @@ function ns({
12437
12527
  const D = {
12438
12528
  name: a,
12439
12529
  reducer: k,
12440
- actions: s.actionCreators,
12441
- caseReducers: s.sliceCaseReducersByName,
12530
+ actions: u.actionCreators,
12531
+ caseReducers: u.sliceCaseReducersByName,
12442
12532
  getInitialState: z,
12443
12533
  ...$(l),
12444
12534
  injectInto(b, {
@@ -12458,7 +12548,7 @@ function ns({
12458
12548
  return D;
12459
12549
  };
12460
12550
  }
12461
- function rs(e, o, n, r) {
12551
+ function as(e, o, n, r) {
12462
12552
  function t(a, ...l) {
12463
12553
  let c = o(a);
12464
12554
  if (typeof c > "u") {
@@ -12471,8 +12561,8 @@ function rs(e, o, n, r) {
12471
12561
  }
12472
12562
  return t.unwrapped = e, t;
12473
12563
  }
12474
- var xs = /* @__PURE__ */ ns();
12475
- function ts() {
12564
+ var Ms = /* @__PURE__ */ ts();
12565
+ function ls() {
12476
12566
  function e(o, n) {
12477
12567
  return {
12478
12568
  _reducerDefinitionType: "asyncThunk",
@@ -12503,27 +12593,27 @@ function ts() {
12503
12593
  asyncThunk: e
12504
12594
  };
12505
12595
  }
12506
- function as({
12596
+ function cs({
12507
12597
  type: e,
12508
12598
  reducerName: o,
12509
12599
  createNotation: n
12510
12600
  }, r, t) {
12511
12601
  let a, l;
12512
12602
  if ("reducer" in r) {
12513
- if (n && !cs(r))
12603
+ if (n && !ss(r))
12514
12604
  throw new Error(process.env.NODE_ENV === "production" ? w(17) : "Please use the `create.preparedReducer` notation for prepared action creators with the `create` notation.");
12515
12605
  a = r.reducer, l = r.prepare;
12516
12606
  } else
12517
12607
  a = r;
12518
- t.addCase(e, a).exposeCaseReducer(o, a).exposeAction(o, l ? br(e, l) : br(e));
12608
+ t.addCase(e, a).exposeCaseReducer(o, a).exposeAction(o, l ? pr(e, l) : pr(e));
12519
12609
  }
12520
- function ls(e) {
12610
+ function is(e) {
12521
12611
  return e._reducerDefinitionType === "asyncThunk";
12522
12612
  }
12523
- function cs(e) {
12613
+ function ss(e) {
12524
12614
  return e._reducerDefinitionType === "reducerWithPrepare";
12525
12615
  }
12526
- function is({
12616
+ function us({
12527
12617
  type: e,
12528
12618
  reducerName: o
12529
12619
  }, n, r, t) {
@@ -12534,14 +12624,14 @@ function is({
12534
12624
  fulfilled: l,
12535
12625
  pending: c,
12536
12626
  rejected: i,
12537
- settled: s,
12538
- options: u
12539
- } = n, d = t(e, a, u);
12540
- r.exposeAction(o, d), l && r.addCase(d.fulfilled, l), c && r.addCase(d.pending, c), i && r.addCase(d.rejected, i), s && r.addMatcher(d.settled, s), r.exposeCaseReducer(o, {
12627
+ settled: u,
12628
+ options: s
12629
+ } = n, d = t(e, a, s);
12630
+ r.exposeAction(o, d), l && r.addCase(d.fulfilled, l), c && r.addCase(d.pending, c), i && r.addCase(d.rejected, i), u && r.addMatcher(d.settled, u), r.exposeCaseReducer(o, {
12541
12631
  fulfilled: l || he,
12542
12632
  pending: c || he,
12543
12633
  rejected: i || he,
12544
- settled: s || he
12634
+ settled: u || he
12545
12635
  });
12546
12636
  }
12547
12637
  function he() {
@@ -12550,31 +12640,33 @@ function w(e) {
12550
12640
  return `Minified Redux Toolkit error #${e}; visit https://redux-toolkit.js.org/Errors?code=${e} for the full message or use the non-minified dev environment for full errors. `;
12551
12641
  }
12552
12642
  export {
12553
- Ss as A,
12554
- ks as C,
12555
- ps as I,
12643
+ _s as A,
12644
+ ws as C,
12645
+ ks as I,
12556
12646
  x as R,
12557
- A as S,
12558
- ms as T,
12559
- xs as a,
12647
+ vs as S,
12648
+ ys as T,
12649
+ Ms as a,
12560
12650
  K as b,
12561
- hs as c,
12562
- yr as d,
12563
- Rc as e,
12564
- Da as f,
12565
- bs as g,
12566
- Ko as h,
12567
- vs as i,
12568
- Dr as j,
12569
- se as k,
12570
- bc as l,
12571
- Qo as m,
12572
- P as n,
12573
- te as o,
12574
- tr as p,
12575
- Sc as q,
12576
- Tr as r,
12577
- ys as s,
12578
- Wr as t,
12579
- ws as u
12651
+ ps as c,
12652
+ wr as d,
12653
+ Ec as e,
12654
+ A as f,
12655
+ ms as g,
12656
+ Ra as h,
12657
+ zs as i,
12658
+ Qo as j,
12659
+ Fr as k,
12660
+ se as l,
12661
+ mc as m,
12662
+ Yo as n,
12663
+ P as o,
12664
+ te as p,
12665
+ ar as q,
12666
+ Dr as r,
12667
+ Ss as s,
12668
+ zc as t,
12669
+ As as u,
12670
+ Er as v,
12671
+ xs as w
12580
12672
  };