vue-chrts 0.0.62 → 0.0.72

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,120 +1,120 @@
1
- import { getCurrentInstance as En, computed as Rn, camelize as ft, defineComponent as Qe, toRefs as On, ref as lt, reactive as Nn, createElementBlock as Lt, watch as Tn, watchEffect as kn, toRaw as Fe, onMounted as Dn, onUnmounted as In, provide as Q, openBlock as je, renderSlot as Vt, createBlock as Mn, unref as zn, withCtx as Bn, createTextVNode as Fn, normalizeClass as Pn } from "vue";
2
- var qe = "http://www.w3.org/1999/xhtml";
1
+ import { getCurrentInstance as $n, computed as En, camelize as ft, defineComponent as Qe, toRefs as Rn, ref as lt, reactive as On, createElementBlock as Wt, watch as Nn, watchEffect as Tn, toRaw as Be, onMounted as kn, onUnmounted as Dn, provide as Q, openBlock as je, renderSlot as qt, createBlock as In, unref as Mn, withCtx as zn, createTextVNode as Bn, normalizeClass as Fn } from "vue";
2
+ var Ue = "http://www.w3.org/1999/xhtml";
3
3
  const ut = {
4
4
  svg: "http://www.w3.org/2000/svg",
5
- xhtml: qe,
5
+ xhtml: Ue,
6
6
  xlink: "http://www.w3.org/1999/xlink",
7
7
  xml: "http://www.w3.org/XML/1998/namespace",
8
8
  xmlns: "http://www.w3.org/2000/xmlns/"
9
9
  };
10
- function Wt(e) {
10
+ function Ut(e) {
11
11
  var t = e += "", n = t.indexOf(":");
12
12
  return n >= 0 && (t = e.slice(0, n)) !== "xmlns" && (e = e.slice(n + 1)), ut.hasOwnProperty(t) ? { space: ut[t], local: e } : e;
13
13
  }
14
- function Hn(e) {
14
+ function Pn(e) {
15
15
  return function() {
16
16
  var t = this.ownerDocument, n = this.namespaceURI;
17
- return n === qe && t.documentElement.namespaceURI === qe ? t.createElement(e) : t.createElementNS(n, e);
17
+ return n === Ue && t.documentElement.namespaceURI === Ue ? t.createElement(e) : t.createElementNS(n, e);
18
18
  };
19
19
  }
20
- function Ln(e) {
20
+ function Hn(e) {
21
21
  return function() {
22
22
  return this.ownerDocument.createElementNS(e.space, e.local);
23
23
  };
24
24
  }
25
- function qt(e) {
26
- var t = Wt(e);
27
- return (t.local ? Ln : Hn)(t);
25
+ function Yt(e) {
26
+ var t = Ut(e);
27
+ return (t.local ? Hn : Pn)(t);
28
28
  }
29
- function Vn() {
29
+ function Ln() {
30
30
  }
31
- function Ut(e) {
32
- return e == null ? Vn : function() {
31
+ function Gt(e) {
32
+ return e == null ? Ln : function() {
33
33
  return this.querySelector(e);
34
34
  };
35
35
  }
36
- function Wn(e) {
37
- typeof e != "function" && (e = Ut(e));
36
+ function Vn(e) {
37
+ typeof e != "function" && (e = Gt(e));
38
38
  for (var t = this._groups, n = t.length, r = new Array(n), i = 0; i < n; ++i)
39
39
  for (var s = t[i], a = s.length, c = r[i] = new Array(a), o, f, l = 0; l < a; ++l)
40
40
  (o = s[l]) && (f = e.call(o, o.__data__, l, s)) && ("__data__" in o && (f.__data__ = o.__data__), c[l] = f);
41
41
  return new D(r, this._parents);
42
42
  }
43
- function qn(e) {
43
+ function Wn(e) {
44
44
  return e == null ? [] : Array.isArray(e) ? e : Array.from(e);
45
45
  }
46
- function Un() {
46
+ function qn() {
47
47
  return [];
48
48
  }
49
- function Yn(e) {
50
- return e == null ? Un : function() {
49
+ function Un(e) {
50
+ return e == null ? qn : function() {
51
51
  return this.querySelectorAll(e);
52
52
  };
53
53
  }
54
- function Gn(e) {
54
+ function Yn(e) {
55
55
  return function() {
56
- return qn(e.apply(this, arguments));
56
+ return Wn(e.apply(this, arguments));
57
57
  };
58
58
  }
59
- function Xn(e) {
60
- typeof e == "function" ? e = Gn(e) : e = Yn(e);
59
+ function Gn(e) {
60
+ typeof e == "function" ? e = Yn(e) : e = Un(e);
61
61
  for (var t = this._groups, n = t.length, r = [], i = [], s = 0; s < n; ++s)
62
62
  for (var a = t[s], c = a.length, o, f = 0; f < c; ++f)
63
63
  (o = a[f]) && (r.push(e.call(o, o.__data__, f, a)), i.push(o));
64
64
  return new D(r, i);
65
65
  }
66
- function Zn(e) {
66
+ function Xn(e) {
67
67
  return function() {
68
68
  return this.matches(e);
69
69
  };
70
70
  }
71
- function Yt(e) {
71
+ function Xt(e) {
72
72
  return function(t) {
73
73
  return t.matches(e);
74
74
  };
75
75
  }
76
- var Kn = Array.prototype.find;
77
- function Jn(e) {
76
+ var Zn = Array.prototype.find;
77
+ function Kn(e) {
78
78
  return function() {
79
- return Kn.call(this.children, e);
79
+ return Zn.call(this.children, e);
80
80
  };
81
81
  }
82
- function Qn() {
82
+ function Jn() {
83
83
  return this.firstElementChild;
84
84
  }
85
- function jn(e) {
86
- return this.select(e == null ? Qn : Jn(typeof e == "function" ? e : Yt(e)));
85
+ function Qn(e) {
86
+ return this.select(e == null ? Jn : Kn(typeof e == "function" ? e : Xt(e)));
87
87
  }
88
- var er = Array.prototype.filter;
89
- function tr() {
88
+ var jn = Array.prototype.filter;
89
+ function er() {
90
90
  return Array.from(this.children);
91
91
  }
92
- function nr(e) {
92
+ function tr(e) {
93
93
  return function() {
94
- return er.call(this.children, e);
94
+ return jn.call(this.children, e);
95
95
  };
96
96
  }
97
- function rr(e) {
98
- return this.selectAll(e == null ? tr : nr(typeof e == "function" ? e : Yt(e)));
97
+ function nr(e) {
98
+ return this.selectAll(e == null ? er : tr(typeof e == "function" ? e : Xt(e)));
99
99
  }
100
- function ir(e) {
101
- typeof e != "function" && (e = Zn(e));
100
+ function rr(e) {
101
+ typeof e != "function" && (e = Xn(e));
102
102
  for (var t = this._groups, n = t.length, r = new Array(n), i = 0; i < n; ++i)
103
103
  for (var s = t[i], a = s.length, c = r[i] = [], o, f = 0; f < a; ++f)
104
104
  (o = s[f]) && e.call(o, o.__data__, f, s) && c.push(o);
105
105
  return new D(r, this._parents);
106
106
  }
107
- function Gt(e) {
107
+ function Zt(e) {
108
108
  return new Array(e.length);
109
109
  }
110
- function sr() {
111
- return new D(this._enter || this._groups.map(Gt), this._parents);
110
+ function ir() {
111
+ return new D(this._enter || this._groups.map(Zt), this._parents);
112
112
  }
113
- function Ce(e, t) {
113
+ function Se(e, t) {
114
114
  this.ownerDocument = e.ownerDocument, this.namespaceURI = e.namespaceURI, this._next = null, this._parent = e, this.__data__ = t;
115
115
  }
116
- Ce.prototype = {
117
- constructor: Ce,
116
+ Se.prototype = {
117
+ constructor: Se,
118
118
  appendChild: function(e) {
119
119
  return this._parent.insertBefore(e, this._next);
120
120
  },
@@ -128,35 +128,35 @@ Ce.prototype = {
128
128
  return this._parent.querySelectorAll(e);
129
129
  }
130
130
  };
131
- function ar(e) {
131
+ function sr(e) {
132
132
  return function() {
133
133
  return e;
134
134
  };
135
135
  }
136
- function or(e, t, n, r, i, s) {
136
+ function ar(e, t, n, r, i, s) {
137
137
  for (var a = 0, c, o = t.length, f = s.length; a < f; ++a)
138
- (c = t[a]) ? (c.__data__ = s[a], r[a] = c) : n[a] = new Ce(e, s[a]);
138
+ (c = t[a]) ? (c.__data__ = s[a], r[a] = c) : n[a] = new Se(e, s[a]);
139
139
  for (; a < o; ++a)
140
140
  (c = t[a]) && (i[a] = c);
141
141
  }
142
- function cr(e, t, n, r, i, s, a) {
142
+ function or(e, t, n, r, i, s, a) {
143
143
  var c, o, f = /* @__PURE__ */ new Map(), l = t.length, u = s.length, p = new Array(l), d;
144
144
  for (c = 0; c < l; ++c)
145
145
  (o = t[c]) && (p[c] = d = a.call(o, o.__data__, c, t) + "", f.has(d) ? i[c] = o : f.set(d, o));
146
146
  for (c = 0; c < u; ++c)
147
- d = a.call(e, s[c], c, s) + "", (o = f.get(d)) ? (r[c] = o, o.__data__ = s[c], f.delete(d)) : n[c] = new Ce(e, s[c]);
147
+ d = a.call(e, s[c], c, s) + "", (o = f.get(d)) ? (r[c] = o, o.__data__ = s[c], f.delete(d)) : n[c] = new Se(e, s[c]);
148
148
  for (c = 0; c < l; ++c)
149
149
  (o = t[c]) && f.get(p[c]) === o && (i[c] = o);
150
150
  }
151
- function fr(e) {
151
+ function cr(e) {
152
152
  return e.__data__;
153
153
  }
154
- function lr(e, t) {
155
- if (!arguments.length) return Array.from(this, fr);
156
- var n = t ? cr : or, r = this._parents, i = this._groups;
157
- typeof e != "function" && (e = ar(e));
154
+ function fr(e, t) {
155
+ if (!arguments.length) return Array.from(this, cr);
156
+ var n = t ? or : ar, r = this._parents, i = this._groups;
157
+ typeof e != "function" && (e = sr(e));
158
158
  for (var s = i.length, a = new Array(s), c = new Array(s), o = new Array(s), f = 0; f < s; ++f) {
159
- var l = r[f], u = i[f], p = u.length, d = ur(e.call(l, l && l.__data__, f, r)), v = d.length, h = c[f] = new Array(v), g = a[f] = new Array(v), m = o[f] = new Array(p);
159
+ var l = r[f], u = i[f], p = u.length, d = lr(e.call(l, l && l.__data__, f, r)), v = d.length, h = c[f] = new Array(v), g = a[f] = new Array(v), m = o[f] = new Array(p);
160
160
  n(l, u, h, g, m, d, t);
161
161
  for (var _ = 0, w = 0, $, S; _ < v; ++_)
162
162
  if ($ = h[_]) {
@@ -166,17 +166,17 @@ function lr(e, t) {
166
166
  }
167
167
  return a = new D(a, r), a._enter = c, a._exit = o, a;
168
168
  }
169
- function ur(e) {
169
+ function lr(e) {
170
170
  return typeof e == "object" && "length" in e ? e : Array.from(e);
171
171
  }
172
- function hr() {
173
- return new D(this._exit || this._groups.map(Gt), this._parents);
172
+ function ur() {
173
+ return new D(this._exit || this._groups.map(Zt), this._parents);
174
174
  }
175
- function dr(e, t, n) {
175
+ function hr(e, t, n) {
176
176
  var r = this.enter(), i = this, s = this.exit();
177
177
  return typeof e == "function" ? (r = e(r), r && (r = r.selection())) : r = r.append(e + ""), t != null && (i = t(i), i && (i = i.selection())), n == null ? s.remove() : n(s), r && i ? r.merge(i).order() : i;
178
178
  }
179
- function pr(e) {
179
+ function dr(e) {
180
180
  for (var t = e.selection ? e.selection() : e, n = this._groups, r = t._groups, i = n.length, s = r.length, a = Math.min(i, s), c = new Array(i), o = 0; o < a; ++o)
181
181
  for (var f = n[o], l = r[o], u = f.length, p = c[o] = new Array(u), d, v = 0; v < u; ++v)
182
182
  (d = f[v] || l[v]) && (p[v] = d);
@@ -184,14 +184,14 @@ function pr(e) {
184
184
  c[o] = n[o];
185
185
  return new D(c, this._parents);
186
186
  }
187
- function vr() {
187
+ function pr() {
188
188
  for (var e = this._groups, t = -1, n = e.length; ++t < n; )
189
189
  for (var r = e[t], i = r.length - 1, s = r[i], a; --i >= 0; )
190
190
  (a = r[i]) && (s && a.compareDocumentPosition(s) ^ 4 && s.parentNode.insertBefore(a, s), s = a);
191
191
  return this;
192
192
  }
193
- function gr(e) {
194
- e || (e = mr);
193
+ function vr(e) {
194
+ e || (e = gr);
195
195
  function t(u, p) {
196
196
  return u && p ? e(u.__data__, p.__data__) : !u - !p;
197
197
  }
@@ -202,17 +202,17 @@ function gr(e) {
202
202
  }
203
203
  return new D(i, this._parents).order();
204
204
  }
205
- function mr(e, t) {
205
+ function gr(e, t) {
206
206
  return e < t ? -1 : e > t ? 1 : e >= t ? 0 : NaN;
207
207
  }
208
- function xr() {
208
+ function mr() {
209
209
  var e = arguments[0];
210
210
  return arguments[0] = this, e.apply(null, arguments), this;
211
211
  }
212
- function yr() {
212
+ function xr() {
213
213
  return Array.from(this);
214
214
  }
215
- function br() {
215
+ function yr() {
216
216
  for (var e = this._groups, t = 0, n = e.length; t < n; ++t)
217
217
  for (var r = e[t], i = 0, s = r.length; i < s; ++i) {
218
218
  var a = r[i];
@@ -220,114 +220,114 @@ function br() {
220
220
  }
221
221
  return null;
222
222
  }
223
- function _r() {
223
+ function br() {
224
224
  let e = 0;
225
225
  for (const t of this) ++e;
226
226
  return e;
227
227
  }
228
- function wr() {
228
+ function _r() {
229
229
  return !this.node();
230
230
  }
231
- function Ar(e) {
231
+ function wr(e) {
232
232
  for (var t = this._groups, n = 0, r = t.length; n < r; ++n)
233
233
  for (var i = t[n], s = 0, a = i.length, c; s < a; ++s)
234
234
  (c = i[s]) && e.call(c, c.__data__, s, i);
235
235
  return this;
236
236
  }
237
- function Sr(e) {
237
+ function Ar(e) {
238
238
  return function() {
239
239
  this.removeAttribute(e);
240
240
  };
241
241
  }
242
- function Cr(e) {
242
+ function Sr(e) {
243
243
  return function() {
244
244
  this.removeAttributeNS(e.space, e.local);
245
245
  };
246
246
  }
247
- function $r(e, t) {
247
+ function Cr(e, t) {
248
248
  return function() {
249
249
  this.setAttribute(e, t);
250
250
  };
251
251
  }
252
- function Er(e, t) {
252
+ function $r(e, t) {
253
253
  return function() {
254
254
  this.setAttributeNS(e.space, e.local, t);
255
255
  };
256
256
  }
257
- function Rr(e, t) {
257
+ function Er(e, t) {
258
258
  return function() {
259
259
  var n = t.apply(this, arguments);
260
260
  n == null ? this.removeAttribute(e) : this.setAttribute(e, n);
261
261
  };
262
262
  }
263
- function Or(e, t) {
263
+ function Rr(e, t) {
264
264
  return function() {
265
265
  var n = t.apply(this, arguments);
266
266
  n == null ? this.removeAttributeNS(e.space, e.local) : this.setAttributeNS(e.space, e.local, n);
267
267
  };
268
268
  }
269
- function Nr(e, t) {
270
- var n = Wt(e);
269
+ function Or(e, t) {
270
+ var n = Ut(e);
271
271
  if (arguments.length < 2) {
272
272
  var r = this.node();
273
273
  return n.local ? r.getAttributeNS(n.space, n.local) : r.getAttribute(n);
274
274
  }
275
- return this.each((t == null ? n.local ? Cr : Sr : typeof t == "function" ? n.local ? Or : Rr : n.local ? Er : $r)(n, t));
275
+ return this.each((t == null ? n.local ? Sr : Ar : typeof t == "function" ? n.local ? Rr : Er : n.local ? $r : Cr)(n, t));
276
276
  }
277
- function Xt(e) {
277
+ function Kt(e) {
278
278
  return e.ownerDocument && e.ownerDocument.defaultView || e.document && e || e.defaultView;
279
279
  }
280
- function Tr(e) {
280
+ function Nr(e) {
281
281
  return function() {
282
282
  this.style.removeProperty(e);
283
283
  };
284
284
  }
285
- function kr(e, t, n) {
285
+ function Tr(e, t, n) {
286
286
  return function() {
287
287
  this.style.setProperty(e, t, n);
288
288
  };
289
289
  }
290
- function Dr(e, t, n) {
290
+ function kr(e, t, n) {
291
291
  return function() {
292
292
  var r = t.apply(this, arguments);
293
293
  r == null ? this.style.removeProperty(e) : this.style.setProperty(e, r, n);
294
294
  };
295
295
  }
296
- function Ir(e, t, n) {
297
- return arguments.length > 1 ? this.each((t == null ? Tr : typeof t == "function" ? Dr : kr)(e, t, n ?? "")) : Mr(this.node(), e);
296
+ function Dr(e, t, n) {
297
+ return arguments.length > 1 ? this.each((t == null ? Nr : typeof t == "function" ? kr : Tr)(e, t, n ?? "")) : Ir(this.node(), e);
298
298
  }
299
- function Mr(e, t) {
300
- return e.style.getPropertyValue(t) || Xt(e).getComputedStyle(e, null).getPropertyValue(t);
299
+ function Ir(e, t) {
300
+ return e.style.getPropertyValue(t) || Kt(e).getComputedStyle(e, null).getPropertyValue(t);
301
301
  }
302
- function zr(e) {
302
+ function Mr(e) {
303
303
  return function() {
304
304
  delete this[e];
305
305
  };
306
306
  }
307
- function Br(e, t) {
307
+ function zr(e, t) {
308
308
  return function() {
309
309
  this[e] = t;
310
310
  };
311
311
  }
312
- function Fr(e, t) {
312
+ function Br(e, t) {
313
313
  return function() {
314
314
  var n = t.apply(this, arguments);
315
315
  n == null ? delete this[e] : this[e] = n;
316
316
  };
317
317
  }
318
- function Pr(e, t) {
319
- return arguments.length > 1 ? this.each((t == null ? zr : typeof t == "function" ? Fr : Br)(e, t)) : this.node()[e];
318
+ function Fr(e, t) {
319
+ return arguments.length > 1 ? this.each((t == null ? Mr : typeof t == "function" ? Br : zr)(e, t)) : this.node()[e];
320
320
  }
321
- function Zt(e) {
321
+ function Jt(e) {
322
322
  return e.trim().split(/^|\s+/);
323
323
  }
324
324
  function et(e) {
325
- return e.classList || new Kt(e);
325
+ return e.classList || new Qt(e);
326
326
  }
327
- function Kt(e) {
328
- this._node = e, this._names = Zt(e.getAttribute("class") || "");
327
+ function Qt(e) {
328
+ this._node = e, this._names = Jt(e.getAttribute("class") || "");
329
329
  }
330
- Kt.prototype = {
330
+ Qt.prototype = {
331
331
  add: function(e) {
332
332
  var t = this._names.indexOf(e);
333
333
  t < 0 && (this._names.push(e), this._node.setAttribute("class", this._names.join(" ")));
@@ -340,129 +340,129 @@ Kt.prototype = {
340
340
  return this._names.indexOf(e) >= 0;
341
341
  }
342
342
  };
343
- function Jt(e, t) {
343
+ function jt(e, t) {
344
344
  for (var n = et(e), r = -1, i = t.length; ++r < i; ) n.add(t[r]);
345
345
  }
346
- function Qt(e, t) {
346
+ function en(e, t) {
347
347
  for (var n = et(e), r = -1, i = t.length; ++r < i; ) n.remove(t[r]);
348
348
  }
349
- function Hr(e) {
349
+ function Pr(e) {
350
350
  return function() {
351
- Jt(this, e);
351
+ jt(this, e);
352
352
  };
353
353
  }
354
- function Lr(e) {
354
+ function Hr(e) {
355
355
  return function() {
356
- Qt(this, e);
356
+ en(this, e);
357
357
  };
358
358
  }
359
- function Vr(e, t) {
359
+ function Lr(e, t) {
360
360
  return function() {
361
- (t.apply(this, arguments) ? Jt : Qt)(this, e);
361
+ (t.apply(this, arguments) ? jt : en)(this, e);
362
362
  };
363
363
  }
364
- function Wr(e, t) {
365
- var n = Zt(e + "");
364
+ function Vr(e, t) {
365
+ var n = Jt(e + "");
366
366
  if (arguments.length < 2) {
367
367
  for (var r = et(this.node()), i = -1, s = n.length; ++i < s; ) if (!r.contains(n[i])) return !1;
368
368
  return !0;
369
369
  }
370
- return this.each((typeof t == "function" ? Vr : t ? Hr : Lr)(n, t));
370
+ return this.each((typeof t == "function" ? Lr : t ? Pr : Hr)(n, t));
371
371
  }
372
- function qr() {
372
+ function Wr() {
373
373
  this.textContent = "";
374
374
  }
375
- function Ur(e) {
375
+ function qr(e) {
376
376
  return function() {
377
377
  this.textContent = e;
378
378
  };
379
379
  }
380
- function Yr(e) {
380
+ function Ur(e) {
381
381
  return function() {
382
382
  var t = e.apply(this, arguments);
383
383
  this.textContent = t ?? "";
384
384
  };
385
385
  }
386
- function Gr(e) {
387
- return arguments.length ? this.each(e == null ? qr : (typeof e == "function" ? Yr : Ur)(e)) : this.node().textContent;
386
+ function Yr(e) {
387
+ return arguments.length ? this.each(e == null ? Wr : (typeof e == "function" ? Ur : qr)(e)) : this.node().textContent;
388
388
  }
389
- function Xr() {
389
+ function Gr() {
390
390
  this.innerHTML = "";
391
391
  }
392
- function Zr(e) {
392
+ function Xr(e) {
393
393
  return function() {
394
394
  this.innerHTML = e;
395
395
  };
396
396
  }
397
- function Kr(e) {
397
+ function Zr(e) {
398
398
  return function() {
399
399
  var t = e.apply(this, arguments);
400
400
  this.innerHTML = t ?? "";
401
401
  };
402
402
  }
403
- function Jr(e) {
404
- return arguments.length ? this.each(e == null ? Xr : (typeof e == "function" ? Kr : Zr)(e)) : this.node().innerHTML;
403
+ function Kr(e) {
404
+ return arguments.length ? this.each(e == null ? Gr : (typeof e == "function" ? Zr : Xr)(e)) : this.node().innerHTML;
405
405
  }
406
- function Qr() {
406
+ function Jr() {
407
407
  this.nextSibling && this.parentNode.appendChild(this);
408
408
  }
409
- function jr() {
410
- return this.each(Qr);
409
+ function Qr() {
410
+ return this.each(Jr);
411
411
  }
412
- function ei() {
412
+ function jr() {
413
413
  this.previousSibling && this.parentNode.insertBefore(this, this.parentNode.firstChild);
414
414
  }
415
- function ti() {
416
- return this.each(ei);
415
+ function ei() {
416
+ return this.each(jr);
417
417
  }
418
- function ni(e) {
419
- var t = typeof e == "function" ? e : qt(e);
418
+ function ti(e) {
419
+ var t = typeof e == "function" ? e : Yt(e);
420
420
  return this.select(function() {
421
421
  return this.appendChild(t.apply(this, arguments));
422
422
  });
423
423
  }
424
- function ri() {
424
+ function ni() {
425
425
  return null;
426
426
  }
427
- function ii(e, t) {
428
- var n = typeof e == "function" ? e : qt(e), r = t == null ? ri : typeof t == "function" ? t : Ut(t);
427
+ function ri(e, t) {
428
+ var n = typeof e == "function" ? e : Yt(e), r = t == null ? ni : typeof t == "function" ? t : Gt(t);
429
429
  return this.select(function() {
430
430
  return this.insertBefore(n.apply(this, arguments), r.apply(this, arguments) || null);
431
431
  });
432
432
  }
433
- function si() {
433
+ function ii() {
434
434
  var e = this.parentNode;
435
435
  e && e.removeChild(this);
436
436
  }
437
- function ai() {
438
- return this.each(si);
437
+ function si() {
438
+ return this.each(ii);
439
439
  }
440
- function oi() {
440
+ function ai() {
441
441
  var e = this.cloneNode(!1), t = this.parentNode;
442
442
  return t ? t.insertBefore(e, this.nextSibling) : e;
443
443
  }
444
- function ci() {
444
+ function oi() {
445
445
  var e = this.cloneNode(!0), t = this.parentNode;
446
446
  return t ? t.insertBefore(e, this.nextSibling) : e;
447
447
  }
448
- function fi(e) {
449
- return this.select(e ? ci : oi);
448
+ function ci(e) {
449
+ return this.select(e ? oi : ai);
450
450
  }
451
- function li(e) {
451
+ function fi(e) {
452
452
  return arguments.length ? this.property("__data__", e) : this.node().__data__;
453
453
  }
454
- function ui(e) {
454
+ function li(e) {
455
455
  return function(t) {
456
456
  e.call(this, t, this.__data__);
457
457
  };
458
458
  }
459
- function hi(e) {
459
+ function ui(e) {
460
460
  return e.trim().split(/^|\s+/).map(function(t) {
461
461
  var n = "", r = t.indexOf(".");
462
462
  return r >= 0 && (n = t.slice(r + 1), t = t.slice(0, r)), { type: t, name: n };
463
463
  });
464
464
  }
465
- function di(e) {
465
+ function hi(e) {
466
466
  return function() {
467
467
  var t = this.__on;
468
468
  if (t) {
@@ -472,9 +472,9 @@ function di(e) {
472
472
  }
473
473
  };
474
474
  }
475
- function pi(e, t, n) {
475
+ function di(e, t, n) {
476
476
  return function() {
477
- var r = this.__on, i, s = ui(t);
477
+ var r = this.__on, i, s = li(t);
478
478
  if (r) {
479
479
  for (var a = 0, c = r.length; a < c; ++a)
480
480
  if ((i = r[a]).type === e.type && i.name === e.name) {
@@ -485,8 +485,8 @@ function pi(e, t, n) {
485
485
  this.addEventListener(e.type, s, n), i = { type: e.type, name: e.name, value: t, listener: s, options: n }, r ? r.push(i) : this.__on = [i];
486
486
  };
487
487
  }
488
- function vi(e, t, n) {
489
- var r = hi(e + ""), i, s = r.length, a;
488
+ function pi(e, t, n) {
489
+ var r = ui(e + ""), i, s = r.length, a;
490
490
  if (arguments.length < 2) {
491
491
  var c = this.node().__on;
492
492
  if (c) {
@@ -497,101 +497,101 @@ function vi(e, t, n) {
497
497
  }
498
498
  return;
499
499
  }
500
- for (c = t ? pi : di, i = 0; i < s; ++i) this.each(c(r[i], t, n));
500
+ for (c = t ? di : hi, i = 0; i < s; ++i) this.each(c(r[i], t, n));
501
501
  return this;
502
502
  }
503
- function jt(e, t, n) {
504
- var r = Xt(e), i = r.CustomEvent;
503
+ function tn(e, t, n) {
504
+ var r = Kt(e), i = r.CustomEvent;
505
505
  typeof i == "function" ? i = new i(t, n) : (i = r.document.createEvent("Event"), n ? (i.initEvent(t, n.bubbles, n.cancelable), i.detail = n.detail) : i.initEvent(t, !1, !1)), e.dispatchEvent(i);
506
506
  }
507
- function gi(e, t) {
507
+ function vi(e, t) {
508
508
  return function() {
509
- return jt(this, e, t);
509
+ return tn(this, e, t);
510
510
  };
511
511
  }
512
- function mi(e, t) {
512
+ function gi(e, t) {
513
513
  return function() {
514
- return jt(this, e, t.apply(this, arguments));
514
+ return tn(this, e, t.apply(this, arguments));
515
515
  };
516
516
  }
517
- function xi(e, t) {
518
- return this.each((typeof t == "function" ? mi : gi)(e, t));
517
+ function mi(e, t) {
518
+ return this.each((typeof t == "function" ? gi : vi)(e, t));
519
519
  }
520
- function* yi() {
520
+ function* xi() {
521
521
  for (var e = this._groups, t = 0, n = e.length; t < n; ++t)
522
522
  for (var r = e[t], i = 0, s = r.length, a; i < s; ++i)
523
523
  (a = r[i]) && (yield a);
524
524
  }
525
- var bi = [null];
525
+ var yi = [null];
526
526
  function D(e, t) {
527
527
  this._groups = e, this._parents = t;
528
528
  }
529
- function _i() {
529
+ function bi() {
530
530
  return this;
531
531
  }
532
532
  D.prototype = {
533
533
  constructor: D,
534
- select: Wn,
535
- selectAll: Xn,
536
- selectChild: jn,
537
- selectChildren: rr,
538
- filter: ir,
539
- data: lr,
540
- enter: sr,
541
- exit: hr,
542
- join: dr,
543
- merge: pr,
544
- selection: _i,
545
- order: vr,
546
- sort: gr,
547
- call: xr,
548
- nodes: yr,
549
- node: br,
550
- size: _r,
551
- empty: wr,
552
- each: Ar,
553
- attr: Nr,
554
- style: Ir,
555
- property: Pr,
556
- classed: Wr,
557
- text: Gr,
558
- html: Jr,
559
- raise: jr,
560
- lower: ti,
561
- append: ni,
562
- insert: ii,
563
- remove: ai,
564
- clone: fi,
565
- datum: li,
566
- on: vi,
567
- dispatch: xi,
568
- [Symbol.iterator]: yi
534
+ select: Vn,
535
+ selectAll: Gn,
536
+ selectChild: Qn,
537
+ selectChildren: nr,
538
+ filter: rr,
539
+ data: fr,
540
+ enter: ir,
541
+ exit: ur,
542
+ join: hr,
543
+ merge: dr,
544
+ selection: bi,
545
+ order: pr,
546
+ sort: vr,
547
+ call: mr,
548
+ nodes: xr,
549
+ node: yr,
550
+ size: br,
551
+ empty: _r,
552
+ each: wr,
553
+ attr: Or,
554
+ style: Dr,
555
+ property: Fr,
556
+ classed: Vr,
557
+ text: Yr,
558
+ html: Kr,
559
+ raise: Qr,
560
+ lower: ei,
561
+ append: ti,
562
+ insert: ri,
563
+ remove: si,
564
+ clone: ci,
565
+ datum: fi,
566
+ on: pi,
567
+ dispatch: mi,
568
+ [Symbol.iterator]: xi
569
569
  };
570
570
  function ht(e) {
571
- return typeof e == "string" ? new D([[document.querySelector(e)]], [document.documentElement]) : new D([[e]], bi);
571
+ return typeof e == "string" ? new D([[document.querySelector(e)]], [document.documentElement]) : new D([[e]], yi);
572
572
  }
573
573
  var dt;
574
574
  (function(e) {
575
575
  e[e.SVG = 0] = "SVG", e[e.HTML = 1] = "HTML";
576
576
  })(dt || (dt = {}));
577
- var ie;
577
+ var re;
578
578
  (function(e) {
579
579
  e.Fit = "fit", e.Extend = "extend", e.FitWidth = "fit_width";
580
- })(ie || (ie = {}));
581
- function wi(e, t) {
580
+ })(re || (re = {}));
581
+ function _i(e, t) {
582
582
  let n, r;
583
583
  for (const i of e)
584
584
  i != null && (n === void 0 ? i >= i && (n = r = i) : (n > i && (n = i), r < i && (r = i)));
585
585
  return [n, r];
586
586
  }
587
- function* Ai(e) {
587
+ function* wi(e) {
588
588
  for (const t of e)
589
589
  yield* t;
590
590
  }
591
- function Si(e) {
592
- return Array.from(Ai(e));
591
+ function Ai(e) {
592
+ return Array.from(wi(e));
593
593
  }
594
- const en = (e) => typeof e == "number", Ci = (e) => typeof e == "function", $i = (e) => Array.isArray(e), Ei = (e) => e instanceof Object, $e = (e) => e.constructor.name !== "Function" && e.constructor.name !== "Object", pt = (e) => Ei(e) && !$i(e) && !Ci(e) && !$e(e), Ue = (e, t, n = [], r = /* @__PURE__ */ new Set()) => {
594
+ const nn = (e) => typeof e == "number", Si = (e) => typeof e == "function", Ci = (e) => Array.isArray(e), $i = (e) => e instanceof Object, Ce = (e) => e.constructor.name !== "Function" && e.constructor.name !== "Object", pt = (e) => $i(e) && !Ci(e) && !Si(e) && !Ce(e), Ye = (e, t, n = [], r = /* @__PURE__ */ new Set()) => {
595
595
  if (Array.isArray(e)) {
596
596
  if (!Array.isArray(t) || e.length !== t.length)
597
597
  return !1;
@@ -599,7 +599,7 @@ const en = (e) => typeof e == "number", Ci = (e) => typeof e == "function", $i =
599
599
  return !0;
600
600
  r.add(e);
601
601
  for (let i = 0; i < e.length; i++)
602
- if (!Ue(e[i], t[i], n, r))
602
+ if (!Ye(e[i], t[i], n, r))
603
603
  return !1;
604
604
  return !0;
605
605
  }
@@ -617,12 +617,12 @@ const en = (e) => typeof e == "number", Ci = (e) => typeof e == "function", $i =
617
617
  return !0;
618
618
  r.add(e);
619
619
  for (const a of i)
620
- if (!Ue(e[a], t[a], n, r))
620
+ if (!Ye(e[a], t[a], n, r))
621
621
  return !1;
622
622
  return !0;
623
623
  }
624
624
  return e === t;
625
- }, vt = (e) => e.flat(), Ee = (e, t = /* @__PURE__ */ new Map()) => {
625
+ }, vt = (e) => e.flat(), $e = (e, t = /* @__PURE__ */ new Map()) => {
626
626
  if (typeof e != "object" || e === null)
627
627
  return e;
628
628
  if (e instanceof Date)
@@ -631,57 +631,57 @@ const en = (e) => typeof e == "number", Ci = (e) => typeof e == "function", $i =
631
631
  const n = [];
632
632
  t.set(e, n);
633
633
  for (const r of e)
634
- n.push(t.has(r) ? t.get(r) : Ee(r, t));
634
+ n.push(t.has(r) ? t.get(r) : $e(r, t));
635
635
  return n;
636
636
  }
637
- if ($e(e))
637
+ if (Ce(e))
638
638
  return e;
639
639
  if (e instanceof Object) {
640
640
  const n = {};
641
641
  t.set(e, n);
642
642
  const r = e;
643
- return Object.keys(e).reduce((i, s) => (i[s] = t.has(r[s]) ? t.get(r[s]) : Ee(r[s], t), i), n), n;
643
+ return Object.keys(e).reduce((i, s) => (i[s] = t.has(r[s]) ? t.get(r[s]) : $e(r[s], t), i), n), n;
644
644
  }
645
645
  return e;
646
- }, tn = (e, t, n = /* @__PURE__ */ new Map()) => {
646
+ }, rn = (e, t, n = /* @__PURE__ */ new Map()) => {
647
647
  if (!e || !t || e === t)
648
648
  return e;
649
- const r = $e(e) ? e : Ee(e);
649
+ const r = Ce(e) ? e : $e(e);
650
650
  return n.has(t) ? n.get(t) : (n.set(t, r), Object.keys(t).forEach((i) => {
651
- i === "__proto__" || i === "constructor" || (pt(e[i]) && pt(t[i]) ? r[i] = tn(e[i], t[i], n) : $e(t) ? r[i] = t : r[i] = Ee(t[i]));
651
+ i === "__proto__" || i === "constructor" || (pt(e[i]) && pt(t[i]) ? r[i] = rn(e[i], t[i], n) : Ce(t) ? r[i] = t : r[i] = $e(t[i]));
652
652
  }), r);
653
653
  };
654
654
  function j(e) {
655
- return e.filter((t) => t && !en(t));
655
+ return e.filter((t) => t && !nn(t));
656
656
  }
657
657
  function Y(e, t, n) {
658
658
  return Math.min(Math.max(e, t), n);
659
659
  }
660
- var W = [], Ri = function() {
660
+ var W = [], Ei = function() {
661
661
  return W.some(function(e) {
662
662
  return e.activeTargets.length > 0;
663
663
  });
664
- }, Oi = function() {
664
+ }, Ri = function() {
665
665
  return W.some(function(e) {
666
666
  return e.skippedTargets.length > 0;
667
667
  });
668
- }, gt = "ResizeObserver loop completed with undelivered notifications.", Ni = function() {
668
+ }, gt = "ResizeObserver loop completed with undelivered notifications.", Oi = function() {
669
669
  var e;
670
670
  typeof ErrorEvent == "function" ? e = new ErrorEvent("error", {
671
671
  message: gt
672
672
  }) : (e = document.createEvent("Event"), e.initEvent("error", !1, !1), e.message = gt), window.dispatchEvent(e);
673
- }, se;
673
+ }, ie;
674
674
  (function(e) {
675
675
  e.BORDER_BOX = "border-box", e.CONTENT_BOX = "content-box", e.DEVICE_PIXEL_CONTENT_BOX = "device-pixel-content-box";
676
- })(se || (se = {}));
676
+ })(ie || (ie = {}));
677
677
  var q = function(e) {
678
678
  return Object.freeze(e);
679
- }, Ti = /* @__PURE__ */ function() {
679
+ }, Ni = /* @__PURE__ */ function() {
680
680
  function e(t, n) {
681
681
  this.inlineSize = t, this.blockSize = n, q(this);
682
682
  }
683
683
  return e;
684
- }(), nn = function() {
684
+ }(), sn = function() {
685
685
  function e(t, n, r, i) {
686
686
  return this.x = t, this.y = n, this.width = r, this.height = i, this.top = this.y, this.left = this.x, this.bottom = this.top + this.height, this.right = this.left + this.width, q(this);
687
687
  }
@@ -693,7 +693,7 @@ var q = function(e) {
693
693
  }, e;
694
694
  }(), tt = function(e) {
695
695
  return e instanceof SVGElement && "getBBox" in e;
696
- }, rn = function(e) {
696
+ }, an = function(e) {
697
697
  if (tt(e)) {
698
698
  var t = e.getBBox(), n = t.width, r = t.height;
699
699
  return !n && !r;
@@ -706,7 +706,7 @@ var q = function(e) {
706
706
  return !0;
707
707
  var n = (t = e == null ? void 0 : e.ownerDocument) === null || t === void 0 ? void 0 : t.defaultView;
708
708
  return !!(n && e instanceof n.Element);
709
- }, ki = function(e) {
709
+ }, Ti = function(e) {
710
710
  switch (e.tagName) {
711
711
  case "INPUT":
712
712
  if (e.type !== "image")
@@ -721,57 +721,57 @@ var q = function(e) {
721
721
  return !0;
722
722
  }
723
723
  return !1;
724
- }, re = typeof window < "u" ? window : {}, ve = /* @__PURE__ */ new WeakMap(), xt = /auto|scroll/, Di = /^tb|vertical/, Ii = /msie|trident/i.test(re.navigator && re.navigator.userAgent), M = function(e) {
724
+ }, ne = typeof window < "u" ? window : {}, pe = /* @__PURE__ */ new WeakMap(), xt = /auto|scroll/, ki = /^tb|vertical/, Di = /msie|trident/i.test(ne.navigator && ne.navigator.userAgent), M = function(e) {
725
725
  return parseFloat(e || "0");
726
726
  }, G = function(e, t, n) {
727
- return e === void 0 && (e = 0), t === void 0 && (t = 0), n === void 0 && (n = !1), new Ti((n ? t : e) || 0, (n ? e : t) || 0);
727
+ return e === void 0 && (e = 0), t === void 0 && (t = 0), n === void 0 && (n = !1), new Ni((n ? t : e) || 0, (n ? e : t) || 0);
728
728
  }, yt = q({
729
729
  devicePixelContentBoxSize: G(),
730
730
  borderBoxSize: G(),
731
731
  contentBoxSize: G(),
732
- contentRect: new nn(0, 0, 0, 0)
733
- }), sn = function(e, t) {
734
- if (t === void 0 && (t = !1), ve.has(e) && !t)
735
- return ve.get(e);
736
- if (rn(e))
737
- return ve.set(e, yt), yt;
738
- var n = getComputedStyle(e), r = tt(e) && e.ownerSVGElement && e.getBBox(), i = !Ii && n.boxSizing === "border-box", s = Di.test(n.writingMode || ""), a = !r && xt.test(n.overflowY || ""), c = !r && xt.test(n.overflowX || ""), o = r ? 0 : M(n.paddingTop), f = r ? 0 : M(n.paddingRight), l = r ? 0 : M(n.paddingBottom), u = r ? 0 : M(n.paddingLeft), p = r ? 0 : M(n.borderTopWidth), d = r ? 0 : M(n.borderRightWidth), v = r ? 0 : M(n.borderBottomWidth), h = r ? 0 : M(n.borderLeftWidth), g = u + f, m = o + l, _ = h + d, w = p + v, $ = c ? e.offsetHeight - w - e.clientHeight : 0, S = a ? e.offsetWidth - _ - e.clientWidth : 0, R = i ? g + _ : 0, x = i ? m + w : 0, de = r ? r.width : M(n.width) - R - S, pe = r ? r.height : M(n.height) - x - $, Cn = de + g + S + _, $n = pe + m + $ + w, ct = q({
739
- devicePixelContentBoxSize: G(Math.round(de * devicePixelRatio), Math.round(pe * devicePixelRatio), s),
740
- borderBoxSize: G(Cn, $n, s),
741
- contentBoxSize: G(de, pe, s),
742
- contentRect: new nn(u, o, de, pe)
732
+ contentRect: new sn(0, 0, 0, 0)
733
+ }), on = function(e, t) {
734
+ if (t === void 0 && (t = !1), pe.has(e) && !t)
735
+ return pe.get(e);
736
+ if (an(e))
737
+ return pe.set(e, yt), yt;
738
+ var n = getComputedStyle(e), r = tt(e) && e.ownerSVGElement && e.getBBox(), i = !Di && n.boxSizing === "border-box", s = ki.test(n.writingMode || ""), a = !r && xt.test(n.overflowY || ""), c = !r && xt.test(n.overflowX || ""), o = r ? 0 : M(n.paddingTop), f = r ? 0 : M(n.paddingRight), l = r ? 0 : M(n.paddingBottom), u = r ? 0 : M(n.paddingLeft), p = r ? 0 : M(n.borderTopWidth), d = r ? 0 : M(n.borderRightWidth), v = r ? 0 : M(n.borderBottomWidth), h = r ? 0 : M(n.borderLeftWidth), g = u + f, m = o + l, _ = h + d, w = p + v, $ = c ? e.offsetHeight - w - e.clientHeight : 0, S = a ? e.offsetWidth - _ - e.clientWidth : 0, R = i ? g + _ : 0, x = i ? m + w : 0, he = r ? r.width : M(n.width) - R - S, de = r ? r.height : M(n.height) - x - $, Sn = he + g + S + _, Cn = de + m + $ + w, ct = q({
739
+ devicePixelContentBoxSize: G(Math.round(he * devicePixelRatio), Math.round(de * devicePixelRatio), s),
740
+ borderBoxSize: G(Sn, Cn, s),
741
+ contentBoxSize: G(he, de, s),
742
+ contentRect: new sn(u, o, he, de)
743
743
  });
744
- return ve.set(e, ct), ct;
745
- }, an = function(e, t, n) {
746
- var r = sn(e, n), i = r.borderBoxSize, s = r.contentBoxSize, a = r.devicePixelContentBoxSize;
744
+ return pe.set(e, ct), ct;
745
+ }, cn = function(e, t, n) {
746
+ var r = on(e, n), i = r.borderBoxSize, s = r.contentBoxSize, a = r.devicePixelContentBoxSize;
747
747
  switch (t) {
748
- case se.DEVICE_PIXEL_CONTENT_BOX:
748
+ case ie.DEVICE_PIXEL_CONTENT_BOX:
749
749
  return a;
750
- case se.BORDER_BOX:
750
+ case ie.BORDER_BOX:
751
751
  return i;
752
752
  default:
753
753
  return s;
754
754
  }
755
- }, Mi = /* @__PURE__ */ function() {
755
+ }, Ii = /* @__PURE__ */ function() {
756
756
  function e(t) {
757
- var n = sn(t);
757
+ var n = on(t);
758
758
  this.target = t, this.contentRect = n.contentRect, this.borderBoxSize = q([n.borderBoxSize]), this.contentBoxSize = q([n.contentBoxSize]), this.devicePixelContentBoxSize = q([n.devicePixelContentBoxSize]);
759
759
  }
760
760
  return e;
761
- }(), on = function(e) {
762
- if (rn(e))
761
+ }(), fn = function(e) {
762
+ if (an(e))
763
763
  return 1 / 0;
764
764
  for (var t = 0, n = e.parentNode; n; )
765
765
  t += 1, n = n.parentNode;
766
766
  return t;
767
- }, zi = function() {
767
+ }, Mi = function() {
768
768
  var e = 1 / 0, t = [];
769
769
  W.forEach(function(a) {
770
770
  if (a.activeTargets.length !== 0) {
771
771
  var c = [];
772
772
  a.activeTargets.forEach(function(f) {
773
- var l = new Mi(f.target), u = on(f.target);
774
- c.push(l), f.lastReportedSize = an(f.target, f.observedBox), u < e && (e = u);
773
+ var l = new Ii(f.target), u = fn(f.target);
774
+ c.push(l), f.lastReportedSize = cn(f.target, f.observedBox), u < e && (e = u);
775
775
  }), t.push(function() {
776
776
  a.callback.call(a.observer, c, a.observer);
777
777
  }), a.activeTargets.splice(0, a.activeTargets.length);
@@ -785,35 +785,35 @@ var q = function(e) {
785
785
  }, bt = function(e) {
786
786
  W.forEach(function(n) {
787
787
  n.activeTargets.splice(0, n.activeTargets.length), n.skippedTargets.splice(0, n.skippedTargets.length), n.observationTargets.forEach(function(i) {
788
- i.isActive() && (on(i.target) > e ? n.activeTargets.push(i) : n.skippedTargets.push(i));
788
+ i.isActive() && (fn(i.target) > e ? n.activeTargets.push(i) : n.skippedTargets.push(i));
789
789
  });
790
790
  });
791
- }, Bi = function() {
791
+ }, zi = function() {
792
792
  var e = 0;
793
- for (bt(e); Ri(); )
794
- e = zi(), bt(e);
795
- return Oi() && Ni(), e > 0;
796
- }, Pe, cn = [], Fi = function() {
797
- return cn.splice(0).forEach(function(e) {
793
+ for (bt(e); Ei(); )
794
+ e = Mi(), bt(e);
795
+ return Ri() && Oi(), e > 0;
796
+ }, Fe, ln = [], Bi = function() {
797
+ return ln.splice(0).forEach(function(e) {
798
798
  return e();
799
799
  });
800
- }, Pi = function(e) {
801
- if (!Pe) {
800
+ }, Fi = function(e) {
801
+ if (!Fe) {
802
802
  var t = 0, n = document.createTextNode(""), r = { characterData: !0 };
803
803
  new MutationObserver(function() {
804
- return Fi();
805
- }).observe(n, r), Pe = function() {
804
+ return Bi();
805
+ }).observe(n, r), Fe = function() {
806
806
  n.textContent = "".concat(t ? t-- : t++);
807
807
  };
808
808
  }
809
- cn.push(e), Pe();
810
- }, Hi = function(e) {
811
- Pi(function() {
809
+ ln.push(e), Fe();
810
+ }, Pi = function(e) {
811
+ Fi(function() {
812
812
  requestAnimationFrame(e);
813
813
  });
814
- }, _e = 0, Li = function() {
815
- return !!_e;
816
- }, Vi = 250, Wi = { attributes: !0, characterData: !0, childList: !0, subtree: !0 }, _t = [
814
+ }, be = 0, Hi = function() {
815
+ return !!be;
816
+ }, Li = 250, Vi = { attributes: !0, characterData: !0, childList: !0, subtree: !0 }, _t = [
817
817
  "resize",
818
818
  "load",
819
819
  "transitionend",
@@ -830,7 +830,7 @@ var q = function(e) {
830
830
  "focus"
831
831
  ], wt = function(e) {
832
832
  return e === void 0 && (e = 0), Date.now() + e;
833
- }, He = !1, qi = function() {
833
+ }, Pe = !1, Wi = function() {
834
834
  function e() {
835
835
  var t = this;
836
836
  this.stopped = !0, this.listener = function() {
@@ -839,15 +839,15 @@ var q = function(e) {
839
839
  }
840
840
  return e.prototype.run = function(t) {
841
841
  var n = this;
842
- if (t === void 0 && (t = Vi), !He) {
843
- He = !0;
842
+ if (t === void 0 && (t = Li), !Pe) {
843
+ Pe = !0;
844
844
  var r = wt(t);
845
- Hi(function() {
845
+ Pi(function() {
846
846
  var i = !1;
847
847
  try {
848
- i = Bi();
848
+ i = zi();
849
849
  } finally {
850
- if (He = !1, t = r - wt(), !Li())
850
+ if (Pe = !1, t = r - wt(), !Hi())
851
851
  return;
852
852
  i ? n.run(1e3) : t > 0 ? n.run(t) : n.start();
853
853
  }
@@ -857,90 +857,90 @@ var q = function(e) {
857
857
  this.stop(), this.run();
858
858
  }, e.prototype.observe = function() {
859
859
  var t = this, n = function() {
860
- return t.observer && t.observer.observe(document.body, Wi);
860
+ return t.observer && t.observer.observe(document.body, Vi);
861
861
  };
862
- document.body ? n() : re.addEventListener("DOMContentLoaded", n);
862
+ document.body ? n() : ne.addEventListener("DOMContentLoaded", n);
863
863
  }, e.prototype.start = function() {
864
864
  var t = this;
865
865
  this.stopped && (this.stopped = !1, this.observer = new MutationObserver(this.listener), this.observe(), _t.forEach(function(n) {
866
- return re.addEventListener(n, t.listener, !0);
866
+ return ne.addEventListener(n, t.listener, !0);
867
867
  }));
868
868
  }, e.prototype.stop = function() {
869
869
  var t = this;
870
870
  this.stopped || (this.observer && this.observer.disconnect(), _t.forEach(function(n) {
871
- return re.removeEventListener(n, t.listener, !0);
871
+ return ne.removeEventListener(n, t.listener, !0);
872
872
  }), this.stopped = !0);
873
873
  }, e;
874
- }(), Ye = new qi(), At = function(e) {
875
- !_e && e > 0 && Ye.start(), _e += e, !_e && Ye.stop();
876
- }, Ui = function(e) {
877
- return !tt(e) && !ki(e) && getComputedStyle(e).display === "inline";
878
- }, Yi = function() {
874
+ }(), Ge = new Wi(), At = function(e) {
875
+ !be && e > 0 && Ge.start(), be += e, !be && Ge.stop();
876
+ }, qi = function(e) {
877
+ return !tt(e) && !Ti(e) && getComputedStyle(e).display === "inline";
878
+ }, Ui = function() {
879
879
  function e(t, n) {
880
- this.target = t, this.observedBox = n || se.CONTENT_BOX, this.lastReportedSize = {
880
+ this.target = t, this.observedBox = n || ie.CONTENT_BOX, this.lastReportedSize = {
881
881
  inlineSize: 0,
882
882
  blockSize: 0
883
883
  };
884
884
  }
885
885
  return e.prototype.isActive = function() {
886
- var t = an(this.target, this.observedBox, !0);
887
- return Ui(this.target) && (this.lastReportedSize = t), this.lastReportedSize.inlineSize !== t.inlineSize || this.lastReportedSize.blockSize !== t.blockSize;
886
+ var t = cn(this.target, this.observedBox, !0);
887
+ return qi(this.target) && (this.lastReportedSize = t), this.lastReportedSize.inlineSize !== t.inlineSize || this.lastReportedSize.blockSize !== t.blockSize;
888
888
  }, e;
889
- }(), Gi = /* @__PURE__ */ function() {
889
+ }(), Yi = /* @__PURE__ */ function() {
890
890
  function e(t, n) {
891
891
  this.activeTargets = [], this.skippedTargets = [], this.observationTargets = [], this.observer = t, this.callback = n;
892
892
  }
893
893
  return e;
894
- }(), ge = /* @__PURE__ */ new WeakMap(), St = function(e, t) {
894
+ }(), ve = /* @__PURE__ */ new WeakMap(), St = function(e, t) {
895
895
  for (var n = 0; n < e.length; n += 1)
896
896
  if (e[n].target === t)
897
897
  return n;
898
898
  return -1;
899
- }, me = function() {
899
+ }, ge = function() {
900
900
  function e() {
901
901
  }
902
902
  return e.connect = function(t, n) {
903
- var r = new Gi(t, n);
904
- ge.set(t, r);
903
+ var r = new Yi(t, n);
904
+ ve.set(t, r);
905
905
  }, e.observe = function(t, n, r) {
906
- var i = ge.get(t), s = i.observationTargets.length === 0;
907
- St(i.observationTargets, n) < 0 && (s && W.push(i), i.observationTargets.push(new Yi(n, r && r.box)), At(1), Ye.schedule());
906
+ var i = ve.get(t), s = i.observationTargets.length === 0;
907
+ St(i.observationTargets, n) < 0 && (s && W.push(i), i.observationTargets.push(new Ui(n, r && r.box)), At(1), Ge.schedule());
908
908
  }, e.unobserve = function(t, n) {
909
- var r = ge.get(t), i = St(r.observationTargets, n), s = r.observationTargets.length === 1;
909
+ var r = ve.get(t), i = St(r.observationTargets, n), s = r.observationTargets.length === 1;
910
910
  i >= 0 && (s && W.splice(W.indexOf(r), 1), r.observationTargets.splice(i, 1), At(-1));
911
911
  }, e.disconnect = function(t) {
912
- var n = this, r = ge.get(t);
912
+ var n = this, r = ve.get(t);
913
913
  r.observationTargets.slice().forEach(function(i) {
914
914
  return n.unobserve(t, i.target);
915
915
  }), r.activeTargets.splice(0, r.activeTargets.length);
916
916
  }, e;
917
- }(), Xi = function() {
917
+ }(), Gi = function() {
918
918
  function e(t) {
919
919
  if (arguments.length === 0)
920
920
  throw new TypeError("Failed to construct 'ResizeObserver': 1 argument required, but only 0 present.");
921
921
  if (typeof t != "function")
922
922
  throw new TypeError("Failed to construct 'ResizeObserver': The callback provided as parameter 1 is not a function.");
923
- me.connect(this, t);
923
+ ge.connect(this, t);
924
924
  }
925
925
  return e.prototype.observe = function(t, n) {
926
926
  if (arguments.length === 0)
927
927
  throw new TypeError("Failed to execute 'observe' on 'ResizeObserver': 1 argument required, but only 0 present.");
928
928
  if (!mt(t))
929
929
  throw new TypeError("Failed to execute 'observe' on 'ResizeObserver': parameter 1 is not of type 'Element");
930
- me.observe(this, t, n);
930
+ ge.observe(this, t, n);
931
931
  }, e.prototype.unobserve = function(t) {
932
932
  if (arguments.length === 0)
933
933
  throw new TypeError("Failed to execute 'unobserve' on 'ResizeObserver': 1 argument required, but only 0 present.");
934
934
  if (!mt(t))
935
935
  throw new TypeError("Failed to execute 'unobserve' on 'ResizeObserver': parameter 1 is not of type 'Element");
936
- me.unobserve(this, t);
936
+ ge.unobserve(this, t);
937
937
  }, e.prototype.disconnect = function() {
938
- me.disconnect(this);
938
+ ge.disconnect(this);
939
939
  }, e.toString = function() {
940
940
  return "function ResizeObserver () { [polyfill code] }";
941
941
  }, e;
942
942
  }();
943
- const Zi = globalThis.ResizeObserver || Xi, fn = {
943
+ const Xi = globalThis.ResizeObserver || Gi, un = {
944
944
  duration: void 0,
945
945
  margin: {
946
946
  top: 0,
@@ -954,21 +954,21 @@ const Zi = globalThis.ResizeObserver || Xi, fn = {
954
954
  left: 0,
955
955
  right: 0
956
956
  },
957
- sizing: ie.Fit,
957
+ sizing: re.Fit,
958
958
  width: void 0,
959
959
  height: void 0,
960
960
  svgDefs: void 0,
961
961
  ariaLabel: void 0
962
962
  };
963
- class ae {
963
+ class se {
964
964
  constructor(t) {
965
- this._defaultConfig = fn, this._isFirstRender = !0, this._renderAnimationFrameId = null, this._container = t;
965
+ this._defaultConfig = un, this._isFirstRender = !0, this._renderAnimationFrameId = null, this._container = t;
966
966
  const n = ht(this._container);
967
- n.attr("role", "figure"), this.svg = n.append("svg").style("display", "block").attr("xmlns", "http://www.w3.org/2000/svg").attr("height", ae.DEFAULT_CONTAINER_HEIGHT).attr("aria-hidden", !0), this._svgDefs = this.svg.append("defs"), this._svgDefsExternal = this.svg.append("defs"), this.element = this.svg.node();
967
+ n.attr("role", "figure"), this.svg = n.append("svg").style("display", "block").attr("xmlns", "http://www.w3.org/2000/svg").attr("height", se.DEFAULT_CONTAINER_HEIGHT).attr("aria-hidden", !0), this._svgDefs = this.svg.append("defs"), this._svgDefsExternal = this.svg.append("defs"), this.element = this.svg.node();
968
968
  }
969
969
  updateContainer(t) {
970
970
  var n;
971
- this.prevConfig = this.config, this.config = tn(this._defaultConfig, t), (t == null ? void 0 : t.svgDefs) !== ((n = this.prevConfig) === null || n === void 0 ? void 0 : n.svgDefs) && (this._svgDefsExternal.selectAll("*").remove(), this._svgDefsExternal.html(t.svgDefs));
971
+ this.prevConfig = this.config, this.config = rn(this._defaultConfig, t), (t == null ? void 0 : t.svgDefs) !== ((n = this.prevConfig) === null || n === void 0 ? void 0 : n.svgDefs) && (this._svgDefsExternal.selectAll("*").remove(), this._svgDefsExternal.html(t.svgDefs));
972
972
  }
973
973
  // The `_preRender` step should be used to perform some actions before rendering.
974
974
  // For example, calculating scales, setting component sizes, etc ...
@@ -992,7 +992,7 @@ class ae {
992
992
  return this.config.width ? this.element.clientWidth : this._container.clientWidth || this._container.getBoundingClientRect().width;
993
993
  }
994
994
  get containerHeight() {
995
- return this.config.height ? this.element.clientHeight : this._container.clientHeight || this._container.getBoundingClientRect().height || ae.DEFAULT_CONTAINER_HEIGHT;
995
+ return this.config.height ? this.element.clientHeight : this._container.clientHeight || this._container.getBoundingClientRect().height || se.DEFAULT_CONTAINER_HEIGHT;
996
996
  }
997
997
  get width() {
998
998
  return Y(this.containerWidth - this.config.margin.left - this.config.margin.right, 0, Number.POSITIVE_INFINITY);
@@ -1006,16 +1006,16 @@ class ae {
1006
1006
  }
1007
1007
  _onResize() {
1008
1008
  const { config: t } = this;
1009
- (t.sizing === ie.Fit || t.sizing === ie.FitWidth) && this.render(0);
1009
+ (t.sizing === re.Fit || t.sizing === re.FitWidth) && this.render(0);
1010
1010
  }
1011
1011
  _setUpResizeObserver() {
1012
1012
  if (this._resizeObserver)
1013
1013
  return;
1014
1014
  const t = this._container.getBoundingClientRect();
1015
- this._containerSize = { width: t.width, height: t.height }, this._resizeObserver = new Zi((n, r) => {
1015
+ this._containerSize = { width: t.width, height: t.height }, this._resizeObserver = new Xi((n, r) => {
1016
1016
  cancelAnimationFrame(this._resizeObserverAnimationFrameId), this._resizeObserverAnimationFrameId = requestAnimationFrame(() => {
1017
1017
  const i = this._container.getBoundingClientRect(), s = { width: i.width, height: i.height };
1018
- !Ue(this._containerSize, s) && s.width && s.height && (this._containerSize = s, this._onResize());
1018
+ !Ye(this._containerSize, s) && s.width && s.height && (this._containerSize = s, this._onResize());
1019
1019
  });
1020
1020
  }), this._resizeObserver.observe(this._container);
1021
1021
  }
@@ -1024,19 +1024,19 @@ class ae {
1024
1024
  cancelAnimationFrame(this._renderAnimationFrameId), cancelAnimationFrame(this._resizeObserverAnimationFrameId), (t = this._resizeObserver) === null || t === void 0 || t.disconnect(), this.svg.remove();
1025
1025
  }
1026
1026
  }
1027
- ae.DEFAULT_CONTAINER_HEIGHT = 300;
1028
- function Ki(e) {
1027
+ se.DEFAULT_CONTAINER_HEIGHT = 300;
1028
+ function Zi(e) {
1029
1029
  if (e.sheet)
1030
1030
  return e.sheet;
1031
1031
  for (var t = 0; t < document.styleSheets.length; t++)
1032
1032
  if (document.styleSheets[t].ownerNode === e)
1033
1033
  return document.styleSheets[t];
1034
1034
  }
1035
- function Ji(e) {
1035
+ function Ki(e) {
1036
1036
  var t = document.createElement("style");
1037
1037
  return t.setAttribute("data-emotion", e.key), e.nonce !== void 0 && t.setAttribute("nonce", e.nonce), t.appendChild(document.createTextNode("")), t.setAttribute("data-s", ""), t;
1038
1038
  }
1039
- var Qi = /* @__PURE__ */ function() {
1039
+ var Ji = /* @__PURE__ */ function() {
1040
1040
  function e(n) {
1041
1041
  var r = this;
1042
1042
  this._insertTag = function(i) {
@@ -1048,10 +1048,10 @@ var Qi = /* @__PURE__ */ function() {
1048
1048
  return t.hydrate = function(r) {
1049
1049
  r.forEach(this._insertTag);
1050
1050
  }, t.insert = function(r) {
1051
- this.ctr % (this.isSpeedy ? 65e3 : 1) === 0 && this._insertTag(Ji(this));
1051
+ this.ctr % (this.isSpeedy ? 65e3 : 1) === 0 && this._insertTag(Ki(this));
1052
1052
  var i = this.tags[this.tags.length - 1];
1053
1053
  if (this.isSpeedy) {
1054
- var s = Ki(i);
1054
+ var s = Zi(i);
1055
1055
  try {
1056
1056
  s.insertRule(r, s.cssRules.length);
1057
1057
  } catch {
@@ -1065,26 +1065,26 @@ var Qi = /* @__PURE__ */ function() {
1065
1065
  return (i = r.parentNode) == null ? void 0 : i.removeChild(r);
1066
1066
  }), this.tags = [], this.ctr = 0;
1067
1067
  }, e;
1068
- }(), E = "-ms-", Re = "-moz-", y = "-webkit-", ln = "comm", nt = "rule", rt = "decl", ji = "@import", un = "@keyframes", es = "@layer", ts = Math.abs, Me = String.fromCharCode, ns = Object.assign;
1069
- function rs(e, t) {
1068
+ }(), E = "-ms-", Ee = "-moz-", y = "-webkit-", hn = "comm", nt = "rule", rt = "decl", Qi = "@import", dn = "@keyframes", ji = "@layer", es = Math.abs, Ie = String.fromCharCode, ts = Object.assign;
1069
+ function ns(e, t) {
1070
1070
  return C(e, 0) ^ 45 ? (((t << 2 ^ C(e, 0)) << 2 ^ C(e, 1)) << 2 ^ C(e, 2)) << 2 ^ C(e, 3) : 0;
1071
1071
  }
1072
- function hn(e) {
1072
+ function pn(e) {
1073
1073
  return e.trim();
1074
1074
  }
1075
- function is(e, t) {
1075
+ function rs(e, t) {
1076
1076
  return (e = t.exec(e)) ? e[0] : e;
1077
1077
  }
1078
1078
  function b(e, t, n) {
1079
1079
  return e.replace(t, n);
1080
1080
  }
1081
- function Ge(e, t) {
1081
+ function Xe(e, t) {
1082
1082
  return e.indexOf(t);
1083
1083
  }
1084
1084
  function C(e, t) {
1085
1085
  return e.charCodeAt(t) | 0;
1086
1086
  }
1087
- function oe(e, t, n) {
1087
+ function ae(e, t, n) {
1088
1088
  return e.slice(t, n);
1089
1089
  }
1090
1090
  function z(e) {
@@ -1093,45 +1093,47 @@ function z(e) {
1093
1093
  function it(e) {
1094
1094
  return e.length;
1095
1095
  }
1096
- function xe(e, t) {
1096
+ function me(e, t) {
1097
1097
  return t.push(e), e;
1098
1098
  }
1099
- function ss(e, t) {
1099
+ function is(e, t) {
1100
1100
  return e.map(t).join("");
1101
1101
  }
1102
- var ze = 1, K = 1, dn = 0, N = 0, A = 0, J = "";
1103
- function Be(e, t, n, r, i, s, a) {
1104
- return { value: e, root: t, parent: n, type: r, props: i, children: s, line: ze, column: K, length: a, return: "" };
1102
+ var Me = 1, K = 1, vn = 0, N = 0, A = 0, J = "";
1103
+ function ze(e, t, n, r, i, s, a) {
1104
+ return { value: e, root: t, parent: n, type: r, props: i, children: s, line: Me, column: K, length: a, return: "" };
1105
1105
  }
1106
1106
  function ee(e, t) {
1107
- return ns(Be("", null, null, "", null, null, 0), e, { length: -e.length }, t);
1107
+ return ts(ze("", null, null, "", null, null, 0), e, { length: -e.length }, t);
1108
1108
  }
1109
- function as() {
1109
+ function ss() {
1110
1110
  return A;
1111
1111
  }
1112
- function os() {
1113
- return A = N > 0 ? C(J, --N) : 0, K--, A === 10 && (K = 1, ze--), A;
1112
+ function as() {
1113
+ return A = N > 0 ? C(J, --N) : 0, K--, A === 10 && (K = 1, Me--), A;
1114
1114
  }
1115
1115
  function k() {
1116
- return A = N < dn ? C(J, N++) : 0, K++, A === 10 && (K = 1, ze++), A;
1116
+ return A = N < vn ? C(J, N++) : 0, K++, A === 10 && (K = 1, Me++), A;
1117
1117
  }
1118
1118
  function B() {
1119
1119
  return C(J, N);
1120
1120
  }
1121
- function we() {
1121
+ function _e() {
1122
1122
  return N;
1123
1123
  }
1124
- function ue(e, t) {
1125
- return oe(J, e, t);
1124
+ function le(e, t) {
1125
+ return ae(J, e, t);
1126
1126
  }
1127
- function ce(e) {
1127
+ function oe(e) {
1128
1128
  switch (e) {
1129
+ // \0 \t \n \r \s whitespace token
1129
1130
  case 0:
1130
1131
  case 9:
1131
1132
  case 10:
1132
1133
  case 13:
1133
1134
  case 32:
1134
1135
  return 5;
1136
+ // ! + , / > @ ~ isolate token
1135
1137
  case 33:
1136
1138
  case 43:
1137
1139
  case 44:
@@ -1139,157 +1141,182 @@ function ce(e) {
1139
1141
  case 62:
1140
1142
  case 64:
1141
1143
  case 126:
1144
+ // ; { } breakpoint token
1142
1145
  case 59:
1143
1146
  case 123:
1144
1147
  case 125:
1145
1148
  return 4;
1149
+ // : accompanied token
1146
1150
  case 58:
1147
1151
  return 3;
1152
+ // " ' ( [ opening delimit token
1148
1153
  case 34:
1149
1154
  case 39:
1150
1155
  case 40:
1151
1156
  case 91:
1152
1157
  return 2;
1158
+ // ) ] closing delimit token
1153
1159
  case 41:
1154
1160
  case 93:
1155
1161
  return 1;
1156
1162
  }
1157
1163
  return 0;
1158
1164
  }
1159
- function pn(e) {
1160
- return ze = K = 1, dn = z(J = e), N = 0, [];
1165
+ function gn(e) {
1166
+ return Me = K = 1, vn = z(J = e), N = 0, [];
1161
1167
  }
1162
- function vn(e) {
1168
+ function mn(e) {
1163
1169
  return J = "", e;
1164
1170
  }
1165
- function Ae(e) {
1166
- return hn(ue(N - 1, Xe(e === 91 ? e + 2 : e === 40 ? e + 1 : e)));
1171
+ function we(e) {
1172
+ return pn(le(N - 1, Ze(e === 91 ? e + 2 : e === 40 ? e + 1 : e)));
1167
1173
  }
1168
- function cs(e) {
1174
+ function os(e) {
1169
1175
  for (; (A = B()) && A < 33; )
1170
1176
  k();
1171
- return ce(e) > 2 || ce(A) > 3 ? "" : " ";
1177
+ return oe(e) > 2 || oe(A) > 3 ? "" : " ";
1172
1178
  }
1173
- function fs(e, t) {
1179
+ function cs(e, t) {
1174
1180
  for (; --t && k() && !(A < 48 || A > 102 || A > 57 && A < 65 || A > 70 && A < 97); )
1175
1181
  ;
1176
- return ue(e, we() + (t < 6 && B() == 32 && k() == 32));
1182
+ return le(e, _e() + (t < 6 && B() == 32 && k() == 32));
1177
1183
  }
1178
- function Xe(e) {
1184
+ function Ze(e) {
1179
1185
  for (; k(); )
1180
1186
  switch (A) {
1187
+ // ] ) " '
1181
1188
  case e:
1182
1189
  return N;
1190
+ // " '
1183
1191
  case 34:
1184
1192
  case 39:
1185
- e !== 34 && e !== 39 && Xe(A);
1193
+ e !== 34 && e !== 39 && Ze(A);
1186
1194
  break;
1195
+ // (
1187
1196
  case 40:
1188
- e === 41 && Xe(e);
1197
+ e === 41 && Ze(e);
1189
1198
  break;
1199
+ // \
1190
1200
  case 92:
1191
1201
  k();
1192
1202
  break;
1193
1203
  }
1194
1204
  return N;
1195
1205
  }
1196
- function ls(e, t) {
1206
+ function fs(e, t) {
1197
1207
  for (; k() && e + A !== 57; )
1198
1208
  if (e + A === 84 && B() === 47)
1199
1209
  break;
1200
- return "/*" + ue(t, N - 1) + "*" + Me(e === 47 ? e : k());
1210
+ return "/*" + le(t, N - 1) + "*" + Ie(e === 47 ? e : k());
1201
1211
  }
1202
- function us(e) {
1203
- for (; !ce(B()); )
1212
+ function ls(e) {
1213
+ for (; !oe(B()); )
1204
1214
  k();
1205
- return ue(e, N);
1215
+ return le(e, N);
1206
1216
  }
1207
- function hs(e) {
1208
- return vn(Se("", null, null, null, [""], e = pn(e), 0, [0], e));
1217
+ function us(e) {
1218
+ return mn(Ae("", null, null, null, [""], e = gn(e), 0, [0], e));
1209
1219
  }
1210
- function Se(e, t, n, r, i, s, a, c, o) {
1220
+ function Ae(e, t, n, r, i, s, a, c, o) {
1211
1221
  for (var f = 0, l = 0, u = a, p = 0, d = 0, v = 0, h = 1, g = 1, m = 1, _ = 0, w = "", $ = i, S = s, R = r, x = w; g; )
1212
1222
  switch (v = _, _ = k()) {
1223
+ // (
1213
1224
  case 40:
1214
1225
  if (v != 108 && C(x, u - 1) == 58) {
1215
- Ge(x += b(Ae(_), "&", "&\f"), "&\f") != -1 && (m = -1);
1226
+ Xe(x += b(we(_), "&", "&\f"), "&\f") != -1 && (m = -1);
1216
1227
  break;
1217
1228
  }
1229
+ // " ' [
1218
1230
  case 34:
1219
1231
  case 39:
1220
1232
  case 91:
1221
- x += Ae(_);
1233
+ x += we(_);
1222
1234
  break;
1235
+ // \t \n \r \s
1223
1236
  case 9:
1224
1237
  case 10:
1225
1238
  case 13:
1226
1239
  case 32:
1227
- x += cs(v);
1240
+ x += os(v);
1228
1241
  break;
1242
+ // \
1229
1243
  case 92:
1230
- x += fs(we() - 1, 7);
1244
+ x += cs(_e() - 1, 7);
1231
1245
  continue;
1246
+ // /
1232
1247
  case 47:
1233
1248
  switch (B()) {
1234
1249
  case 42:
1235
1250
  case 47:
1236
- xe(ds(ls(k(), we()), t, n), o);
1251
+ me(hs(fs(k(), _e()), t, n), o);
1237
1252
  break;
1238
1253
  default:
1239
1254
  x += "/";
1240
1255
  }
1241
1256
  break;
1257
+ // {
1242
1258
  case 123 * h:
1243
1259
  c[f++] = z(x) * m;
1260
+ // } ; \0
1244
1261
  case 125 * h:
1245
1262
  case 59:
1246
1263
  case 0:
1247
1264
  switch (_) {
1265
+ // \0 }
1248
1266
  case 0:
1249
1267
  case 125:
1250
1268
  g = 0;
1269
+ // ;
1251
1270
  case 59 + l:
1252
- m == -1 && (x = b(x, /\f/g, "")), d > 0 && z(x) - u && xe(d > 32 ? $t(x + ";", r, n, u - 1) : $t(b(x, " ", "") + ";", r, n, u - 2), o);
1271
+ m == -1 && (x = b(x, /\f/g, "")), d > 0 && z(x) - u && me(d > 32 ? $t(x + ";", r, n, u - 1) : $t(b(x, " ", "") + ";", r, n, u - 2), o);
1253
1272
  break;
1273
+ // @ ;
1254
1274
  case 59:
1255
1275
  x += ";";
1276
+ // { rule/at-rule
1256
1277
  default:
1257
- if (xe(R = Ct(x, t, n, f, l, i, c, w, $ = [], S = [], u), s), _ === 123)
1278
+ if (me(R = Ct(x, t, n, f, l, i, c, w, $ = [], S = [], u), s), _ === 123)
1258
1279
  if (l === 0)
1259
- Se(x, t, R, R, $, s, u, c, S);
1280
+ Ae(x, t, R, R, $, s, u, c, S);
1260
1281
  else
1261
1282
  switch (p === 99 && C(x, 3) === 110 ? 100 : p) {
1283
+ // d l m s
1262
1284
  case 100:
1263
1285
  case 108:
1264
1286
  case 109:
1265
1287
  case 115:
1266
- Se(e, R, R, r && xe(Ct(e, R, R, 0, 0, i, c, w, i, $ = [], u), S), i, S, u, c, r ? $ : S);
1288
+ Ae(e, R, R, r && me(Ct(e, R, R, 0, 0, i, c, w, i, $ = [], u), S), i, S, u, c, r ? $ : S);
1267
1289
  break;
1268
1290
  default:
1269
- Se(x, R, R, R, [""], S, 0, c, S);
1291
+ Ae(x, R, R, R, [""], S, 0, c, S);
1270
1292
  }
1271
1293
  }
1272
1294
  f = l = d = 0, h = m = 1, w = x = "", u = a;
1273
1295
  break;
1296
+ // :
1274
1297
  case 58:
1275
1298
  u = 1 + z(x), d = v;
1276
1299
  default:
1277
1300
  if (h < 1) {
1278
1301
  if (_ == 123)
1279
1302
  --h;
1280
- else if (_ == 125 && h++ == 0 && os() == 125)
1303
+ else if (_ == 125 && h++ == 0 && as() == 125)
1281
1304
  continue;
1282
1305
  }
1283
- switch (x += Me(_), _ * h) {
1306
+ switch (x += Ie(_), _ * h) {
1307
+ // &
1284
1308
  case 38:
1285
1309
  m = l > 0 ? 1 : (x += "\f", -1);
1286
1310
  break;
1311
+ // ,
1287
1312
  case 44:
1288
1313
  c[f++] = (z(x) - 1) * m, m = 1;
1289
1314
  break;
1315
+ // @
1290
1316
  case 64:
1291
- B() === 45 && (x += Ae(k())), p = B(), l = u = z(w = x += us(we())), _++;
1317
+ B() === 45 && (x += we(k())), p = B(), l = u = z(w = x += ls(_e())), _++;
1292
1318
  break;
1319
+ // -
1293
1320
  case 45:
1294
1321
  v === 45 && z(x) == 2 && (h = 0);
1295
1322
  }
@@ -1298,38 +1325,38 @@ function Se(e, t, n, r, i, s, a, c, o) {
1298
1325
  }
1299
1326
  function Ct(e, t, n, r, i, s, a, c, o, f, l) {
1300
1327
  for (var u = i - 1, p = i === 0 ? s : [""], d = it(p), v = 0, h = 0, g = 0; v < r; ++v)
1301
- for (var m = 0, _ = oe(e, u + 1, u = ts(h = a[v])), w = e; m < d; ++m)
1302
- (w = hn(h > 0 ? p[m] + " " + _ : b(_, /&\f/g, p[m]))) && (o[g++] = w);
1303
- return Be(e, t, n, i === 0 ? nt : c, o, f, l);
1328
+ for (var m = 0, _ = ae(e, u + 1, u = es(h = a[v])), w = e; m < d; ++m)
1329
+ (w = pn(h > 0 ? p[m] + " " + _ : b(_, /&\f/g, p[m]))) && (o[g++] = w);
1330
+ return ze(e, t, n, i === 0 ? nt : c, o, f, l);
1304
1331
  }
1305
- function ds(e, t, n) {
1306
- return Be(e, t, n, ln, Me(as()), oe(e, 2, -2), 0);
1332
+ function hs(e, t, n) {
1333
+ return ze(e, t, n, hn, Ie(ss()), ae(e, 2, -2), 0);
1307
1334
  }
1308
1335
  function $t(e, t, n, r) {
1309
- return Be(e, t, n, rt, oe(e, 0, r), oe(e, r + 1, -1), r);
1336
+ return ze(e, t, n, rt, ae(e, 0, r), ae(e, r + 1, -1), r);
1310
1337
  }
1311
1338
  function X(e, t) {
1312
1339
  for (var n = "", r = it(e), i = 0; i < r; i++)
1313
1340
  n += t(e[i], i, e, t) || "";
1314
1341
  return n;
1315
1342
  }
1316
- function ps(e, t, n, r) {
1343
+ function ds(e, t, n, r) {
1317
1344
  switch (e.type) {
1318
- case es:
1319
- if (e.children.length) break;
1320
1345
  case ji:
1346
+ if (e.children.length) break;
1347
+ case Qi:
1321
1348
  case rt:
1322
1349
  return e.return = e.return || e.value;
1323
- case ln:
1350
+ case hn:
1324
1351
  return "";
1325
- case un:
1352
+ case dn:
1326
1353
  return e.return = e.value + "{" + X(e.children, r) + "}";
1327
1354
  case nt:
1328
1355
  e.value = e.props.join(",");
1329
1356
  }
1330
1357
  return z(n = X(e.children, r)) ? e.return = e.value + "{" + n + "}" : "";
1331
1358
  }
1332
- function vs(e) {
1359
+ function ps(e) {
1333
1360
  var t = it(e);
1334
1361
  return function(n, r, i, s) {
1335
1362
  for (var a = "", c = 0; c < t; c++)
@@ -1337,44 +1364,45 @@ function vs(e) {
1337
1364
  return a;
1338
1365
  };
1339
1366
  }
1340
- function gs(e) {
1367
+ function vs(e) {
1341
1368
  return function(t) {
1342
1369
  t.root || (t = t.return) && e(t);
1343
1370
  };
1344
1371
  }
1345
- function ms(e) {
1372
+ function gs(e) {
1346
1373
  var t = /* @__PURE__ */ Object.create(null);
1347
1374
  return function(n) {
1348
1375
  return t[n] === void 0 && (t[n] = e(n)), t[n];
1349
1376
  };
1350
1377
  }
1351
- var xs = function(t, n, r) {
1352
- for (var i = 0, s = 0; i = s, s = B(), i === 38 && s === 12 && (n[r] = 1), !ce(s); )
1378
+ var ms = function(t, n, r) {
1379
+ for (var i = 0, s = 0; i = s, s = B(), i === 38 && s === 12 && (n[r] = 1), !oe(s); )
1353
1380
  k();
1354
- return ue(t, N);
1355
- }, ys = function(t, n) {
1381
+ return le(t, N);
1382
+ }, xs = function(t, n) {
1356
1383
  var r = -1, i = 44;
1357
1384
  do
1358
- switch (ce(i)) {
1385
+ switch (oe(i)) {
1359
1386
  case 0:
1360
- i === 38 && B() === 12 && (n[r] = 1), t[r] += xs(N - 1, n, r);
1387
+ i === 38 && B() === 12 && (n[r] = 1), t[r] += ms(N - 1, n, r);
1361
1388
  break;
1362
1389
  case 2:
1363
- t[r] += Ae(i);
1390
+ t[r] += we(i);
1364
1391
  break;
1365
1392
  case 4:
1366
1393
  if (i === 44) {
1367
1394
  t[++r] = B() === 58 ? "&\f" : "", n[r] = t[r].length;
1368
1395
  break;
1369
1396
  }
1397
+ // fallthrough
1370
1398
  default:
1371
- t[r] += Me(i);
1399
+ t[r] += Ie(i);
1372
1400
  }
1373
1401
  while (i = k());
1374
1402
  return t;
1375
- }, bs = function(t, n) {
1376
- return vn(ys(pn(t), n));
1377
- }, Et = /* @__PURE__ */ new WeakMap(), _s = function(t) {
1403
+ }, ys = function(t, n) {
1404
+ return mn(xs(gn(t), n));
1405
+ }, Et = /* @__PURE__ */ new WeakMap(), bs = function(t) {
1378
1406
  if (!(t.type !== "rule" || !t.parent || // positive .length indicates that this rule contains pseudo
1379
1407
  // negative .length indicates that this rule has been already prefixed
1380
1408
  t.length < 1)) {
@@ -1382,12 +1410,12 @@ var xs = function(t, n, r) {
1382
1410
  if (r = r.parent, !r) return;
1383
1411
  if (!(t.props.length === 1 && n.charCodeAt(0) !== 58 && !Et.get(r)) && !i) {
1384
1412
  Et.set(t, !0);
1385
- for (var s = [], a = bs(n, s), c = r.props, o = 0, f = 0; o < a.length; o++)
1413
+ for (var s = [], a = ys(n, s), c = r.props, o = 0, f = 0; o < a.length; o++)
1386
1414
  for (var l = 0; l < c.length; l++, f++)
1387
1415
  t.props[f] = s[o] ? a[o].replace(/&\f/g, c[l]) : c[l] + " " + a[o];
1388
1416
  }
1389
1417
  }
1390
- }, ws = function(t) {
1418
+ }, _s = function(t) {
1391
1419
  if (t.type === "decl") {
1392
1420
  var n = t.value;
1393
1421
  // charcode for l
@@ -1395,10 +1423,12 @@ var xs = function(t, n, r) {
1395
1423
  n.charCodeAt(2) === 98 && (t.return = "", t.value = "");
1396
1424
  }
1397
1425
  };
1398
- function gn(e, t) {
1399
- switch (rs(e, t)) {
1426
+ function xn(e, t) {
1427
+ switch (ns(e, t)) {
1428
+ // color-adjust
1400
1429
  case 5103:
1401
1430
  return y + "print-" + e + e;
1431
+ // animation, animation-(delay|direction|duration|fill-mode|iteration-count|name|play-state|timing-function)
1402
1432
  case 5737:
1403
1433
  case 4201:
1404
1434
  case 3177:
@@ -1406,18 +1436,21 @@ function gn(e, t) {
1406
1436
  case 1641:
1407
1437
  case 4457:
1408
1438
  case 2921:
1439
+ // text-decoration, filter, clip-path, backface-visibility, column, box-decoration-break
1409
1440
  case 5572:
1410
1441
  case 6356:
1411
1442
  case 5844:
1412
1443
  case 3191:
1413
1444
  case 6645:
1414
1445
  case 3005:
1446
+ // mask, mask-image, mask-(mode|clip|size), mask-(repeat|origin), mask-position, mask-composite,
1415
1447
  case 6391:
1416
1448
  case 5879:
1417
1449
  case 5623:
1418
1450
  case 6135:
1419
1451
  case 4599:
1420
1452
  case 4855:
1453
+ // background-clip, columns, column-(count|fill|gap|rule|rule-color|rule-style|rule-width|span|width)
1421
1454
  case 4215:
1422
1455
  case 6389:
1423
1456
  case 5109:
@@ -1425,43 +1458,58 @@ function gn(e, t) {
1425
1458
  case 5621:
1426
1459
  case 3829:
1427
1460
  return y + e + e;
1461
+ // appearance, user-select, transform, hyphens, text-size-adjust
1428
1462
  case 5349:
1429
1463
  case 4246:
1430
1464
  case 4810:
1431
1465
  case 6968:
1432
1466
  case 2756:
1433
- return y + e + Re + e + E + e + e;
1467
+ return y + e + Ee + e + E + e + e;
1468
+ // flex, flex-direction
1434
1469
  case 6828:
1435
1470
  case 4268:
1436
1471
  return y + e + E + e + e;
1472
+ // order
1437
1473
  case 6165:
1438
1474
  return y + e + E + "flex-" + e + e;
1475
+ // align-items
1439
1476
  case 5187:
1440
1477
  return y + e + b(e, /(\w+).+(:[^]+)/, y + "box-$1$2" + E + "flex-$1$2") + e;
1478
+ // align-self
1441
1479
  case 5443:
1442
1480
  return y + e + E + "flex-item-" + b(e, /flex-|-self/, "") + e;
1481
+ // align-content
1443
1482
  case 4675:
1444
1483
  return y + e + E + "flex-line-pack" + b(e, /align-content|flex-|-self/, "") + e;
1484
+ // flex-shrink
1445
1485
  case 5548:
1446
1486
  return y + e + E + b(e, "shrink", "negative") + e;
1487
+ // flex-basis
1447
1488
  case 5292:
1448
1489
  return y + e + E + b(e, "basis", "preferred-size") + e;
1490
+ // flex-grow
1449
1491
  case 6060:
1450
1492
  return y + "box-" + b(e, "-grow", "") + y + e + E + b(e, "grow", "positive") + e;
1493
+ // transition
1451
1494
  case 4554:
1452
1495
  return y + b(e, /([^-])(transform)/g, "$1" + y + "$2") + e;
1496
+ // cursor
1453
1497
  case 6187:
1454
1498
  return b(b(b(e, /(zoom-|grab)/, y + "$1"), /(image-set)/, y + "$1"), e, "") + e;
1499
+ // background, background-image
1455
1500
  case 5495:
1456
1501
  case 3959:
1457
1502
  return b(e, /(image-set\([^]*)/, y + "$1$`$1");
1503
+ // justify-content
1458
1504
  case 4968:
1459
1505
  return b(b(e, /(.+:)(flex-)?(.*)/, y + "box-pack:$3" + E + "flex-pack:$3"), /s.+-b[^;]+/, "justify") + y + e + e;
1506
+ // (margin|padding)-inline-(start|end)
1460
1507
  case 4095:
1461
1508
  case 3583:
1462
1509
  case 4068:
1463
1510
  case 2532:
1464
1511
  return b(e, /(.+)-inline(.+)/, y + "$1$2") + e;
1512
+ // (min|max)?(width|height|inline-size|block-size)
1465
1513
  case 8116:
1466
1514
  case 7059:
1467
1515
  case 5753:
@@ -1475,30 +1523,41 @@ function gn(e, t) {
1475
1523
  case 5021:
1476
1524
  case 4765:
1477
1525
  if (z(e) - 1 - t > 6) switch (C(e, t + 1)) {
1526
+ // (m)ax-content, (m)in-content
1478
1527
  case 109:
1479
1528
  if (C(e, t + 4) !== 45) break;
1529
+ // (f)ill-available, (f)it-content
1480
1530
  case 102:
1481
- return b(e, /(.+:)(.+)-([^]+)/, "$1" + y + "$2-$3$1" + Re + (C(e, t + 3) == 108 ? "$3" : "$2-$3")) + e;
1531
+ return b(e, /(.+:)(.+)-([^]+)/, "$1" + y + "$2-$3$1" + Ee + (C(e, t + 3) == 108 ? "$3" : "$2-$3")) + e;
1532
+ // (s)tretch
1482
1533
  case 115:
1483
- return ~Ge(e, "stretch") ? gn(b(e, "stretch", "fill-available"), t) + e : e;
1534
+ return ~Xe(e, "stretch") ? xn(b(e, "stretch", "fill-available"), t) + e : e;
1484
1535
  }
1485
1536
  break;
1537
+ // position: sticky
1486
1538
  case 4949:
1487
1539
  if (C(e, t + 1) !== 115) break;
1540
+ // display: (flex|inline-flex)
1488
1541
  case 6444:
1489
- switch (C(e, z(e) - 3 - (~Ge(e, "!important") && 10))) {
1542
+ switch (C(e, z(e) - 3 - (~Xe(e, "!important") && 10))) {
1543
+ // stic(k)y
1490
1544
  case 107:
1491
1545
  return b(e, ":", ":" + y) + e;
1546
+ // (inline-)?fl(e)x
1492
1547
  case 101:
1493
1548
  return b(e, /(.+:)([^;!]+)(;|!.+)?/, "$1" + y + (C(e, 14) === 45 ? "inline-" : "") + "box$3$1" + y + "$2$3$1" + E + "$2box$3") + e;
1494
1549
  }
1495
1550
  break;
1551
+ // writing-mode
1496
1552
  case 5936:
1497
1553
  switch (C(e, t + 11)) {
1554
+ // vertical-l(r)
1498
1555
  case 114:
1499
1556
  return y + e + E + b(e, /[svh]\w+-[tblr]{2}/, "tb") + e;
1557
+ // vertical-r(l)
1500
1558
  case 108:
1501
1559
  return y + e + E + b(e, /[svh]\w+-[tblr]{2}/, "tb-rl") + e;
1560
+ // horizontal(-)tb
1502
1561
  case 45:
1503
1562
  return y + e + E + b(e, /[svh]\w+-[tblr]{2}/, "lr") + e;
1504
1563
  }
@@ -1506,28 +1565,30 @@ function gn(e, t) {
1506
1565
  }
1507
1566
  return e;
1508
1567
  }
1509
- var As = function(t, n, r, i) {
1568
+ var ws = function(t, n, r, i) {
1510
1569
  if (t.length > -1 && !t.return) switch (t.type) {
1511
1570
  case rt:
1512
- t.return = gn(t.value, t.length);
1571
+ t.return = xn(t.value, t.length);
1513
1572
  break;
1514
- case un:
1573
+ case dn:
1515
1574
  return X([ee(t, {
1516
1575
  value: b(t.value, "@", "@" + y)
1517
1576
  })], i);
1518
1577
  case nt:
1519
- if (t.length) return ss(t.props, function(s) {
1520
- switch (is(s, /(::plac\w+|:read-\w+)/)) {
1578
+ if (t.length) return is(t.props, function(s) {
1579
+ switch (rs(s, /(::plac\w+|:read-\w+)/)) {
1580
+ // :read-(only|write)
1521
1581
  case ":read-only":
1522
1582
  case ":read-write":
1523
1583
  return X([ee(t, {
1524
- props: [b(s, /:(read-\w+)/, ":" + Re + "$1")]
1584
+ props: [b(s, /:(read-\w+)/, ":" + Ee + "$1")]
1525
1585
  })], i);
1586
+ // :placeholder
1526
1587
  case "::placeholder":
1527
1588
  return X([ee(t, {
1528
1589
  props: [b(s, /:(plac\w+)/, ":" + y + "input-$1")]
1529
1590
  }), ee(t, {
1530
- props: [b(s, /:(plac\w+)/, ":" + Re + "$1")]
1591
+ props: [b(s, /:(plac\w+)/, ":" + Ee + "$1")]
1531
1592
  }), ee(t, {
1532
1593
  props: [b(s, /:(plac\w+)/, E + "input-$1")]
1533
1594
  })], i);
@@ -1535,7 +1596,7 @@ var As = function(t, n, r, i) {
1535
1596
  return "";
1536
1597
  });
1537
1598
  }
1538
- }, Ss = [As], Cs = function(t) {
1599
+ }, As = [ws], Ss = function(t) {
1539
1600
  var n = t.key;
1540
1601
  if (n === "css") {
1541
1602
  var r = document.querySelectorAll("style[data-emotion]:not([data-s])");
@@ -1544,7 +1605,7 @@ var As = function(t, n, r, i) {
1544
1605
  g.indexOf(" ") !== -1 && (document.head.appendChild(h), h.setAttribute("data-s", ""));
1545
1606
  });
1546
1607
  }
1547
- var i = t.stylisPlugins || Ss, s = {}, a, c = [];
1608
+ var i = t.stylisPlugins || As, s = {}, a, c = [];
1548
1609
  a = t.container || document.head, Array.prototype.forEach.call(
1549
1610
  // this means we will ignore elements which don't have a space in them which
1550
1611
  // means that the style elements we're looking at are only Emotion 11 server-rendered style elements
@@ -1555,12 +1616,12 @@ var As = function(t, n, r, i) {
1555
1616
  c.push(h);
1556
1617
  }
1557
1618
  );
1558
- var o, f = [_s, ws];
1619
+ var o, f = [bs, _s];
1559
1620
  {
1560
- var l, u = [ps, gs(function(h) {
1621
+ var l, u = [ds, vs(function(h) {
1561
1622
  l.insert(h);
1562
- })], p = vs(f.concat(i, u)), d = function(g) {
1563
- return X(hs(g), p);
1623
+ })], p = ps(f.concat(i, u)), d = function(g) {
1624
+ return X(us(g), p);
1564
1625
  };
1565
1626
  o = function(g, m, _, w) {
1566
1627
  l = _, d(g ? g + "{" + m.styles + "}" : m.styles), w && (v.inserted[m.name] = !0);
@@ -1568,7 +1629,7 @@ var As = function(t, n, r, i) {
1568
1629
  }
1569
1630
  var v = {
1570
1631
  key: n,
1571
- sheet: new Qi({
1632
+ sheet: new Ji({
1572
1633
  key: n,
1573
1634
  container: a,
1574
1635
  nonce: t.nonce,
@@ -1583,7 +1644,7 @@ var As = function(t, n, r, i) {
1583
1644
  };
1584
1645
  return v.sheet.hydrate(c), v;
1585
1646
  };
1586
- function $s(e) {
1647
+ function Cs(e) {
1587
1648
  for (var t = 0, n, r = 0, i = e.length; i >= 4; ++r, i -= 4)
1588
1649
  n = e.charCodeAt(r) & 255 | (e.charCodeAt(++r) & 255) << 8 | (e.charCodeAt(++r) & 255) << 16 | (e.charCodeAt(++r) & 255) << 24, n = /* Math.imul(k, m): */
1589
1650
  (n & 65535) * 1540483477 + ((n >>> 16) * 59797 << 16), n ^= /* k >>> r: */
@@ -1602,7 +1663,7 @@ function $s(e) {
1602
1663
  return t ^= t >>> 13, t = /* Math.imul(h, m): */
1603
1664
  (t & 65535) * 1540483477 + ((t >>> 16) * 59797 << 16), ((t ^ t >>> 15) >>> 0).toString(36);
1604
1665
  }
1605
- var Es = {
1666
+ var $s = {
1606
1667
  animationIterationCount: 1,
1607
1668
  aspectRatio: 1,
1608
1669
  borderImageOutset: 1,
@@ -1651,18 +1712,18 @@ var Es = {
1651
1712
  strokeMiterlimit: 1,
1652
1713
  strokeOpacity: 1,
1653
1714
  strokeWidth: 1
1654
- }, Rs = /[A-Z]|^ms/g, Os = /_EMO_([^_]+?)_([^]*?)_EMO_/g, mn = function(t) {
1715
+ }, Es = /[A-Z]|^ms/g, Rs = /_EMO_([^_]+?)_([^]*?)_EMO_/g, yn = function(t) {
1655
1716
  return t.charCodeAt(1) === 45;
1656
1717
  }, Rt = function(t) {
1657
1718
  return t != null && typeof t != "boolean";
1658
- }, Le = /* @__PURE__ */ ms(function(e) {
1659
- return mn(e) ? e : e.replace(Rs, "-$&").toLowerCase();
1719
+ }, He = /* @__PURE__ */ gs(function(e) {
1720
+ return yn(e) ? e : e.replace(Es, "-$&").toLowerCase();
1660
1721
  }), Ot = function(t, n) {
1661
1722
  switch (t) {
1662
1723
  case "animation":
1663
1724
  case "animationName":
1664
1725
  if (typeof n == "string")
1665
- return n.replace(Os, function(r, i, s) {
1726
+ return n.replace(Rs, function(r, i, s) {
1666
1727
  return H = {
1667
1728
  name: i,
1668
1729
  styles: s,
@@ -1670,9 +1731,9 @@ var Es = {
1670
1731
  }, i;
1671
1732
  });
1672
1733
  }
1673
- return Es[t] !== 1 && !mn(t) && typeof n == "number" && n !== 0 ? n + "px" : n;
1734
+ return $s[t] !== 1 && !yn(t) && typeof n == "number" && n !== 0 ? n + "px" : n;
1674
1735
  };
1675
- function Oe(e, t, n) {
1736
+ function Re(e, t, n) {
1676
1737
  if (n == null)
1677
1738
  return "";
1678
1739
  var r = n;
@@ -1702,7 +1763,7 @@ function Oe(e, t, n) {
1702
1763
  var c = s.styles + ";";
1703
1764
  return c;
1704
1765
  }
1705
- return Ns(e, t, n);
1766
+ return Os(e, t, n);
1706
1767
  }
1707
1768
  }
1708
1769
  var o = n;
@@ -1711,26 +1772,26 @@ function Oe(e, t, n) {
1711
1772
  var f = t[o];
1712
1773
  return f !== void 0 ? f : o;
1713
1774
  }
1714
- function Ns(e, t, n) {
1775
+ function Os(e, t, n) {
1715
1776
  var r = "";
1716
1777
  if (Array.isArray(n))
1717
1778
  for (var i = 0; i < n.length; i++)
1718
- r += Oe(e, t, n[i]) + ";";
1779
+ r += Re(e, t, n[i]) + ";";
1719
1780
  else
1720
1781
  for (var s in n) {
1721
1782
  var a = n[s];
1722
1783
  if (typeof a != "object") {
1723
1784
  var c = a;
1724
- t != null && t[c] !== void 0 ? r += s + "{" + t[c] + "}" : Rt(c) && (r += Le(s) + ":" + Ot(s, c) + ";");
1785
+ t != null && t[c] !== void 0 ? r += s + "{" + t[c] + "}" : Rt(c) && (r += He(s) + ":" + Ot(s, c) + ";");
1725
1786
  } else if (Array.isArray(a) && typeof a[0] == "string" && (t == null || t[a[0]] === void 0))
1726
1787
  for (var o = 0; o < a.length; o++)
1727
- Rt(a[o]) && (r += Le(s) + ":" + Ot(s, a[o]) + ";");
1788
+ Rt(a[o]) && (r += He(s) + ":" + Ot(s, a[o]) + ";");
1728
1789
  else {
1729
- var f = Oe(e, t, a);
1790
+ var f = Re(e, t, a);
1730
1791
  switch (s) {
1731
1792
  case "animation":
1732
1793
  case "animationName": {
1733
- r += Le(s) + ":" + f + ";";
1794
+ r += He(s) + ":" + f + ";";
1734
1795
  break;
1735
1796
  }
1736
1797
  default:
@@ -1741,40 +1802,40 @@ function Ns(e, t, n) {
1741
1802
  return r;
1742
1803
  }
1743
1804
  var Nt = /label:\s*([^\s;{]+)\s*(;|$)/g, H;
1744
- function Ve(e, t, n) {
1805
+ function Le(e, t, n) {
1745
1806
  if (e.length === 1 && typeof e[0] == "object" && e[0] !== null && e[0].styles !== void 0)
1746
1807
  return e[0];
1747
1808
  var r = !0, i = "";
1748
1809
  H = void 0;
1749
1810
  var s = e[0];
1750
1811
  if (s == null || s.raw === void 0)
1751
- r = !1, i += Oe(n, t, s);
1812
+ r = !1, i += Re(n, t, s);
1752
1813
  else {
1753
1814
  var a = s;
1754
1815
  i += a[0];
1755
1816
  }
1756
1817
  for (var c = 1; c < e.length; c++)
1757
- if (i += Oe(n, t, e[c]), r) {
1818
+ if (i += Re(n, t, e[c]), r) {
1758
1819
  var o = s;
1759
1820
  i += o[c];
1760
1821
  }
1761
1822
  Nt.lastIndex = 0;
1762
1823
  for (var f = "", l; (l = Nt.exec(i)) !== null; )
1763
1824
  f += "-" + l[1];
1764
- var u = $s(i) + f;
1825
+ var u = Cs(i) + f;
1765
1826
  return {
1766
1827
  name: u,
1767
1828
  styles: i,
1768
1829
  next: H
1769
1830
  };
1770
1831
  }
1771
- function xn(e, t, n) {
1832
+ function bn(e, t, n) {
1772
1833
  var r = "";
1773
1834
  return n.split(" ").forEach(function(i) {
1774
1835
  e[i] !== void 0 ? t.push(e[i] + ";") : i && (r += i + " ");
1775
1836
  }), r;
1776
1837
  }
1777
- var Ts = function(t, n, r) {
1838
+ var Ns = function(t, n, r) {
1778
1839
  var i = t.key + "-" + n.name;
1779
1840
  // we only need to add the styles to the registered cache if the
1780
1841
  // class name could be used further down
@@ -1782,8 +1843,8 @@ var Ts = function(t, n, r) {
1782
1843
  // so we don't have to add it to registered cache.
1783
1844
  // this improves memory usage since we can avoid storing the whole style string
1784
1845
  t.registered[i] === void 0 && (t.registered[i] = n.styles);
1785
- }, ks = function(t, n, r) {
1786
- Ts(t, n);
1846
+ }, Ts = function(t, n, r) {
1847
+ Ns(t, n);
1787
1848
  var i = t.key + "-" + n.name;
1788
1849
  if (t.inserted[n.name] === void 0) {
1789
1850
  var s = n;
@@ -1797,23 +1858,23 @@ function Tt(e, t) {
1797
1858
  return e.insert("", t, e.sheet, !0);
1798
1859
  }
1799
1860
  function kt(e, t, n) {
1800
- var r = [], i = xn(e, r, n);
1861
+ var r = [], i = bn(e, r, n);
1801
1862
  return r.length < 2 ? n : i + t(r);
1802
1863
  }
1803
- var Ds = function(t) {
1804
- var n = Cs(t);
1864
+ var ks = function(t) {
1865
+ var n = Ss(t);
1805
1866
  n.sheet.speedy = function(c) {
1806
1867
  this.isSpeedy = c;
1807
1868
  }, n.compat = !0;
1808
1869
  var r = function() {
1809
1870
  for (var o = arguments.length, f = new Array(o), l = 0; l < o; l++)
1810
1871
  f[l] = arguments[l];
1811
- var u = Ve(f, n.registered, void 0);
1812
- return ks(n, u), n.key + "-" + u.name;
1872
+ var u = Le(f, n.registered, void 0);
1873
+ return Ts(n, u), n.key + "-" + u.name;
1813
1874
  }, i = function() {
1814
1875
  for (var o = arguments.length, f = new Array(o), l = 0; l < o; l++)
1815
1876
  f[l] = arguments[l];
1816
- var u = Ve(f, n.registered), p = "animation-" + u.name;
1877
+ var u = Le(f, n.registered), p = "animation-" + u.name;
1817
1878
  return Tt(n, {
1818
1879
  name: u.name,
1819
1880
  styles: "@keyframes " + p + "{" + u.styles + "}"
@@ -1821,12 +1882,12 @@ var Ds = function(t) {
1821
1882
  }, s = function() {
1822
1883
  for (var o = arguments.length, f = new Array(o), l = 0; l < o; l++)
1823
1884
  f[l] = arguments[l];
1824
- var u = Ve(f, n.registered);
1885
+ var u = Le(f, n.registered);
1825
1886
  Tt(n, u);
1826
1887
  }, a = function() {
1827
1888
  for (var o = arguments.length, f = new Array(o), l = 0; l < o; l++)
1828
1889
  f[l] = arguments[l];
1829
- return kt(n.registered, r, Is(f));
1890
+ return kt(n.registered, r, Ds(f));
1830
1891
  };
1831
1892
  return {
1832
1893
  css: r,
@@ -1843,10 +1904,10 @@ var Ds = function(t) {
1843
1904
  },
1844
1905
  sheet: n.sheet,
1845
1906
  cache: n,
1846
- getRegisteredStyles: xn.bind(null, n.registered),
1907
+ getRegisteredStyles: bn.bind(null, n.registered),
1847
1908
  merge: kt.bind(null, n.registered, r)
1848
1909
  };
1849
- }, Is = function e(t) {
1910
+ }, Ds = function e(t) {
1850
1911
  for (var n = "", r = 0; r < t.length; r++) {
1851
1912
  var i = t[r];
1852
1913
  if (i != null) {
@@ -1871,63 +1932,76 @@ var Ds = function(t) {
1871
1932
  }
1872
1933
  }
1873
1934
  return n;
1874
- }, yn = Ds({
1935
+ }, _n = ks({
1875
1936
  key: "css"
1876
- }), Ms = yn.injectGlobal, zs = yn.css, Bs = function(t, n) {
1877
- n || (n = [0, ""]), t = String(t);
1878
- var r = parseFloat(t, 10);
1879
- return n[0] = r, n[1] = t.match(/[\d.\-\+]*\s*(.*)/)[1] || "", n;
1880
- }, bn = Bs, te = _n("in", document.body);
1881
- function Ze(e, t) {
1882
- var n = bn(getComputedStyle(e).getPropertyValue(t));
1883
- return n[0] * wn(n[1], e);
1884
- }
1885
- function _n(e, t) {
1886
- var n = document.createElement("div");
1887
- n.style.height = "128" + e, t.appendChild(n);
1888
- var r = Ze(n, "height") / 128;
1889
- return t.removeChild(n), r;
1890
- }
1891
- function wn(e, t) {
1892
- if (!e) return null;
1893
- switch (t = t || document.body, e = (e + "" || "px").trim().toLowerCase(), (t === window || t === document) && (t = document.body), e) {
1894
- case "%":
1895
- return t.clientHeight / 100;
1896
- case "ch":
1897
- case "ex":
1898
- return _n(e, t);
1899
- case "em":
1900
- return Ze(t, "font-size");
1901
- case "rem":
1902
- return Ze(document.body, "font-size");
1903
- case "vw":
1904
- return window.innerWidth / 100;
1905
- case "vh":
1906
- return window.innerHeight / 100;
1907
- case "vmin":
1908
- return Math.min(window.innerWidth, window.innerHeight) / 100;
1909
- case "vmax":
1910
- return Math.max(window.innerWidth, window.innerHeight) / 100;
1911
- case "in":
1912
- return te;
1913
- case "cm":
1914
- return te / 2.54;
1915
- case "mm":
1916
- return te / 25.4;
1917
- case "pt":
1918
- return te / 72;
1919
- case "pc":
1920
- return te / 6;
1921
- case "px":
1922
- return 1;
1923
- }
1924
- var n = bn(e);
1925
- if (!isNaN(n[0]) && n[1]) {
1926
- var r = wn(n[1], t);
1927
- return typeof r == "number" ? n[0] * r : null;
1937
+ }), Is = _n.injectGlobal, Ms = _n.css, Ve, Dt;
1938
+ function zs() {
1939
+ return Dt || (Dt = 1, Ve = function(t, n) {
1940
+ n || (n = [0, ""]), t = String(t);
1941
+ var r = parseFloat(t, 10);
1942
+ return n[0] = r, n[1] = t.match(/[\d.\-\+]*\s*(.*)/)[1] || "", n;
1943
+ }), Ve;
1944
+ }
1945
+ var We, It;
1946
+ function Bs() {
1947
+ if (It) return We;
1948
+ It = 1;
1949
+ var e = zs();
1950
+ We = i;
1951
+ var t = r("in", document.body);
1952
+ function n(s, a) {
1953
+ var c = e(getComputedStyle(s).getPropertyValue(a));
1954
+ return c[0] * i(c[1], s);
1955
+ }
1956
+ function r(s, a) {
1957
+ var c = document.createElement("div");
1958
+ c.style.height = "128" + s, a.appendChild(c);
1959
+ var o = n(c, "height") / 128;
1960
+ return a.removeChild(c), o;
1961
+ }
1962
+ function i(s, a) {
1963
+ if (!s) return null;
1964
+ switch (a = a || document.body, s = (s + "" || "px").trim().toLowerCase(), (a === window || a === document) && (a = document.body), s) {
1965
+ case "%":
1966
+ return a.clientHeight / 100;
1967
+ case "ch":
1968
+ case "ex":
1969
+ return r(s, a);
1970
+ case "em":
1971
+ return n(a, "font-size");
1972
+ case "rem":
1973
+ return n(document.body, "font-size");
1974
+ case "vw":
1975
+ return window.innerWidth / 100;
1976
+ case "vh":
1977
+ return window.innerHeight / 100;
1978
+ case "vmin":
1979
+ return Math.min(window.innerWidth, window.innerHeight) / 100;
1980
+ case "vmax":
1981
+ return Math.max(window.innerWidth, window.innerHeight) / 100;
1982
+ case "in":
1983
+ return t;
1984
+ case "cm":
1985
+ return t / 2.54;
1986
+ case "mm":
1987
+ return t / 25.4;
1988
+ case "pt":
1989
+ return t / 72;
1990
+ case "pc":
1991
+ return t / 6;
1992
+ case "px":
1993
+ return 1;
1994
+ }
1995
+ var c = e(s);
1996
+ if (!isNaN(c[0]) && c[1]) {
1997
+ var o = i(c[1], a);
1998
+ return typeof o == "number" ? c[0] * o : null;
1999
+ }
2000
+ return null;
1928
2001
  }
1929
- return null;
2002
+ return We;
1930
2003
  }
2004
+ Bs();
1931
2005
  function Fs() {
1932
2006
  const e = () => Math.floor((1 + crypto.getRandomValues(new Uint32Array(1))[0]) * 65536).toString(16).substring(1);
1933
2007
  return `${e() + e()}-${e()}-${e()}-${e()}-${e()}${e()}${e()}`;
@@ -1935,14 +2009,14 @@ function Fs() {
1935
2009
  function st(e, t, n) {
1936
2010
  e.prototype = t.prototype = n, n.constructor = e;
1937
2011
  }
1938
- function An(e, t) {
2012
+ function wn(e, t) {
1939
2013
  var n = Object.create(e.prototype);
1940
2014
  for (var r in t) n[r] = t[r];
1941
2015
  return n;
1942
2016
  }
1943
- function he() {
2017
+ function ue() {
1944
2018
  }
1945
- var fe = 0.7, Ne = 1 / fe, Z = "\\s*([+-]?\\d+)\\s*", le = "\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*", F = "\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*", Ps = /^#([0-9a-f]{3,8})$/, Hs = new RegExp(`^rgb\\(${Z},${Z},${Z}\\)$`), Ls = new RegExp(`^rgb\\(${F},${F},${F}\\)$`), Vs = new RegExp(`^rgba\\(${Z},${Z},${Z},${le}\\)$`), Ws = new RegExp(`^rgba\\(${F},${F},${F},${le}\\)$`), qs = new RegExp(`^hsl\\(${le},${F},${F}\\)$`), Us = new RegExp(`^hsla\\(${le},${F},${F},${le}\\)$`), Dt = {
2019
+ var ce = 0.7, Oe = 1 / ce, Z = "\\s*([+-]?\\d+)\\s*", fe = "\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*", F = "\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*", Ps = /^#([0-9a-f]{3,8})$/, Hs = new RegExp(`^rgb\\(${Z},${Z},${Z}\\)$`), Ls = new RegExp(`^rgb\\(${F},${F},${F}\\)$`), Vs = new RegExp(`^rgba\\(${Z},${Z},${Z},${fe}\\)$`), Ws = new RegExp(`^rgba\\(${F},${F},${F},${fe}\\)$`), qs = new RegExp(`^hsl\\(${fe},${F},${F}\\)$`), Us = new RegExp(`^hsla\\(${fe},${F},${F},${fe}\\)$`), Mt = {
1946
2020
  aliceblue: 15792383,
1947
2021
  antiquewhite: 16444375,
1948
2022
  aqua: 65535,
@@ -2092,45 +2166,45 @@ var fe = 0.7, Ne = 1 / fe, Z = "\\s*([+-]?\\d+)\\s*", le = "\\s*([+-]?(?:\\d*\\.
2092
2166
  yellow: 16776960,
2093
2167
  yellowgreen: 10145074
2094
2168
  };
2095
- st(he, at, {
2169
+ st(ue, at, {
2096
2170
  copy(e) {
2097
2171
  return Object.assign(new this.constructor(), this, e);
2098
2172
  },
2099
2173
  displayable() {
2100
2174
  return this.rgb().displayable();
2101
2175
  },
2102
- hex: It,
2176
+ hex: zt,
2103
2177
  // Deprecated! Use color.formatHex.
2104
- formatHex: It,
2178
+ formatHex: zt,
2105
2179
  formatHex8: Ys,
2106
2180
  formatHsl: Gs,
2107
- formatRgb: Mt,
2108
- toString: Mt
2181
+ formatRgb: Bt,
2182
+ toString: Bt
2109
2183
  });
2110
- function It() {
2184
+ function zt() {
2111
2185
  return this.rgb().formatHex();
2112
2186
  }
2113
2187
  function Ys() {
2114
2188
  return this.rgb().formatHex8();
2115
2189
  }
2116
2190
  function Gs() {
2117
- return Sn(this).formatHsl();
2191
+ return An(this).formatHsl();
2118
2192
  }
2119
- function Mt() {
2193
+ function Bt() {
2120
2194
  return this.rgb().formatRgb();
2121
2195
  }
2122
2196
  function at(e) {
2123
2197
  var t, n;
2124
- return e = (e + "").trim().toLowerCase(), (t = Ps.exec(e)) ? (n = t[1].length, t = parseInt(t[1], 16), n === 6 ? zt(t) : n === 3 ? new O(t >> 8 & 15 | t >> 4 & 240, t >> 4 & 15 | t & 240, (t & 15) << 4 | t & 15, 1) : n === 8 ? ye(t >> 24 & 255, t >> 16 & 255, t >> 8 & 255, (t & 255) / 255) : n === 4 ? ye(t >> 12 & 15 | t >> 8 & 240, t >> 8 & 15 | t >> 4 & 240, t >> 4 & 15 | t & 240, ((t & 15) << 4 | t & 15) / 255) : null) : (t = Hs.exec(e)) ? new O(t[1], t[2], t[3], 1) : (t = Ls.exec(e)) ? new O(t[1] * 255 / 100, t[2] * 255 / 100, t[3] * 255 / 100, 1) : (t = Vs.exec(e)) ? ye(t[1], t[2], t[3], t[4]) : (t = Ws.exec(e)) ? ye(t[1] * 255 / 100, t[2] * 255 / 100, t[3] * 255 / 100, t[4]) : (t = qs.exec(e)) ? Pt(t[1], t[2] / 100, t[3] / 100, 1) : (t = Us.exec(e)) ? Pt(t[1], t[2] / 100, t[3] / 100, t[4]) : Dt.hasOwnProperty(e) ? zt(Dt[e]) : e === "transparent" ? new O(NaN, NaN, NaN, 0) : null;
2198
+ return e = (e + "").trim().toLowerCase(), (t = Ps.exec(e)) ? (n = t[1].length, t = parseInt(t[1], 16), n === 6 ? Ft(t) : n === 3 ? new O(t >> 8 & 15 | t >> 4 & 240, t >> 4 & 15 | t & 240, (t & 15) << 4 | t & 15, 1) : n === 8 ? xe(t >> 24 & 255, t >> 16 & 255, t >> 8 & 255, (t & 255) / 255) : n === 4 ? xe(t >> 12 & 15 | t >> 8 & 240, t >> 8 & 15 | t >> 4 & 240, t >> 4 & 15 | t & 240, ((t & 15) << 4 | t & 15) / 255) : null) : (t = Hs.exec(e)) ? new O(t[1], t[2], t[3], 1) : (t = Ls.exec(e)) ? new O(t[1] * 255 / 100, t[2] * 255 / 100, t[3] * 255 / 100, 1) : (t = Vs.exec(e)) ? xe(t[1], t[2], t[3], t[4]) : (t = Ws.exec(e)) ? xe(t[1] * 255 / 100, t[2] * 255 / 100, t[3] * 255 / 100, t[4]) : (t = qs.exec(e)) ? Lt(t[1], t[2] / 100, t[3] / 100, 1) : (t = Us.exec(e)) ? Lt(t[1], t[2] / 100, t[3] / 100, t[4]) : Mt.hasOwnProperty(e) ? Ft(Mt[e]) : e === "transparent" ? new O(NaN, NaN, NaN, 0) : null;
2125
2199
  }
2126
- function zt(e) {
2200
+ function Ft(e) {
2127
2201
  return new O(e >> 16 & 255, e >> 8 & 255, e & 255, 1);
2128
2202
  }
2129
- function ye(e, t, n, r) {
2203
+ function xe(e, t, n, r) {
2130
2204
  return r <= 0 && (e = t = n = NaN), new O(e, t, n, r);
2131
2205
  }
2132
2206
  function Xs(e) {
2133
- return e instanceof he || (e = at(e)), e ? (e = e.rgb(), new O(e.r, e.g, e.b, e.opacity)) : new O();
2207
+ return e instanceof ue || (e = at(e)), e ? (e = e.rgb(), new O(e.r, e.g, e.b, e.opacity)) : new O();
2134
2208
  }
2135
2209
  function Zs(e, t, n, r) {
2136
2210
  return arguments.length === 1 ? Xs(e) : new O(e, t, n, r ?? 1);
@@ -2138,40 +2212,40 @@ function Zs(e, t, n, r) {
2138
2212
  function O(e, t, n, r) {
2139
2213
  this.r = +e, this.g = +t, this.b = +n, this.opacity = +r;
2140
2214
  }
2141
- st(O, Zs, An(he, {
2215
+ st(O, Zs, wn(ue, {
2142
2216
  brighter(e) {
2143
- return e = e == null ? Ne : Math.pow(Ne, e), new O(this.r * e, this.g * e, this.b * e, this.opacity);
2217
+ return e = e == null ? Oe : Math.pow(Oe, e), new O(this.r * e, this.g * e, this.b * e, this.opacity);
2144
2218
  },
2145
2219
  darker(e) {
2146
- return e = e == null ? fe : Math.pow(fe, e), new O(this.r * e, this.g * e, this.b * e, this.opacity);
2220
+ return e = e == null ? ce : Math.pow(ce, e), new O(this.r * e, this.g * e, this.b * e, this.opacity);
2147
2221
  },
2148
2222
  rgb() {
2149
2223
  return this;
2150
2224
  },
2151
2225
  clamp() {
2152
- return new O(U(this.r), U(this.g), U(this.b), Te(this.opacity));
2226
+ return new O(U(this.r), U(this.g), U(this.b), Ne(this.opacity));
2153
2227
  },
2154
2228
  displayable() {
2155
2229
  return -0.5 <= this.r && this.r < 255.5 && -0.5 <= this.g && this.g < 255.5 && -0.5 <= this.b && this.b < 255.5 && 0 <= this.opacity && this.opacity <= 1;
2156
2230
  },
2157
- hex: Bt,
2231
+ hex: Pt,
2158
2232
  // Deprecated! Use color.formatHex.
2159
- formatHex: Bt,
2233
+ formatHex: Pt,
2160
2234
  formatHex8: Ks,
2161
- formatRgb: Ft,
2162
- toString: Ft
2235
+ formatRgb: Ht,
2236
+ toString: Ht
2163
2237
  }));
2164
- function Bt() {
2238
+ function Pt() {
2165
2239
  return `#${V(this.r)}${V(this.g)}${V(this.b)}`;
2166
2240
  }
2167
2241
  function Ks() {
2168
2242
  return `#${V(this.r)}${V(this.g)}${V(this.b)}${V((isNaN(this.opacity) ? 1 : this.opacity) * 255)}`;
2169
2243
  }
2170
- function Ft() {
2171
- const e = Te(this.opacity);
2244
+ function Ht() {
2245
+ const e = Ne(this.opacity);
2172
2246
  return `${e === 1 ? "rgb(" : "rgba("}${U(this.r)}, ${U(this.g)}, ${U(this.b)}${e === 1 ? ")" : `, ${e})`}`;
2173
2247
  }
2174
- function Te(e) {
2248
+ function Ne(e) {
2175
2249
  return isNaN(e) ? 1 : Math.max(0, Math.min(1, e));
2176
2250
  }
2177
2251
  function U(e) {
@@ -2180,60 +2254,60 @@ function U(e) {
2180
2254
  function V(e) {
2181
2255
  return e = U(e), (e < 16 ? "0" : "") + e.toString(16);
2182
2256
  }
2183
- function Pt(e, t, n, r) {
2257
+ function Lt(e, t, n, r) {
2184
2258
  return r <= 0 ? e = t = n = NaN : n <= 0 || n >= 1 ? e = t = NaN : t <= 0 && (e = NaN), new I(e, t, n, r);
2185
2259
  }
2186
- function Sn(e) {
2260
+ function An(e) {
2187
2261
  if (e instanceof I) return new I(e.h, e.s, e.l, e.opacity);
2188
- if (e instanceof he || (e = at(e)), !e) return new I();
2262
+ if (e instanceof ue || (e = at(e)), !e) return new I();
2189
2263
  if (e instanceof I) return e;
2190
2264
  e = e.rgb();
2191
2265
  var t = e.r / 255, n = e.g / 255, r = e.b / 255, i = Math.min(t, n, r), s = Math.max(t, n, r), a = NaN, c = s - i, o = (s + i) / 2;
2192
2266
  return c ? (t === s ? a = (n - r) / c + (n < r) * 6 : n === s ? a = (r - t) / c + 2 : a = (t - n) / c + 4, c /= o < 0.5 ? s + i : 2 - s - i, a *= 60) : c = o > 0 && o < 1 ? 0 : a, new I(a, c, o, e.opacity);
2193
2267
  }
2194
2268
  function ot(e, t, n, r) {
2195
- return arguments.length === 1 ? Sn(e) : new I(e, t, n, r ?? 1);
2269
+ return arguments.length === 1 ? An(e) : new I(e, t, n, r ?? 1);
2196
2270
  }
2197
2271
  function I(e, t, n, r) {
2198
2272
  this.h = +e, this.s = +t, this.l = +n, this.opacity = +r;
2199
2273
  }
2200
- st(I, ot, An(he, {
2274
+ st(I, ot, wn(ue, {
2201
2275
  brighter(e) {
2202
- return e = e == null ? Ne : Math.pow(Ne, e), new I(this.h, this.s, this.l * e, this.opacity);
2276
+ return e = e == null ? Oe : Math.pow(Oe, e), new I(this.h, this.s, this.l * e, this.opacity);
2203
2277
  },
2204
2278
  darker(e) {
2205
- return e = e == null ? fe : Math.pow(fe, e), new I(this.h, this.s, this.l * e, this.opacity);
2279
+ return e = e == null ? ce : Math.pow(ce, e), new I(this.h, this.s, this.l * e, this.opacity);
2206
2280
  },
2207
2281
  rgb() {
2208
2282
  var e = this.h % 360 + (this.h < 0) * 360, t = isNaN(e) || isNaN(this.s) ? 0 : this.s, n = this.l, r = n + (n < 0.5 ? n : 1 - n) * t, i = 2 * n - r;
2209
2283
  return new O(
2210
- We(e >= 240 ? e - 240 : e + 120, i, r),
2211
- We(e, i, r),
2212
- We(e < 120 ? e + 240 : e - 120, i, r),
2284
+ qe(e >= 240 ? e - 240 : e + 120, i, r),
2285
+ qe(e, i, r),
2286
+ qe(e < 120 ? e + 240 : e - 120, i, r),
2213
2287
  this.opacity
2214
2288
  );
2215
2289
  },
2216
2290
  clamp() {
2217
- return new I(Ht(this.h), be(this.s), be(this.l), Te(this.opacity));
2291
+ return new I(Vt(this.h), ye(this.s), ye(this.l), Ne(this.opacity));
2218
2292
  },
2219
2293
  displayable() {
2220
2294
  return (0 <= this.s && this.s <= 1 || isNaN(this.s)) && 0 <= this.l && this.l <= 1 && 0 <= this.opacity && this.opacity <= 1;
2221
2295
  },
2222
2296
  formatHsl() {
2223
- const e = Te(this.opacity);
2224
- return `${e === 1 ? "hsl(" : "hsla("}${Ht(this.h)}, ${be(this.s) * 100}%, ${be(this.l) * 100}%${e === 1 ? ")" : `, ${e})`}`;
2297
+ const e = Ne(this.opacity);
2298
+ return `${e === 1 ? "hsl(" : "hsla("}${Vt(this.h)}, ${ye(this.s) * 100}%, ${ye(this.l) * 100}%${e === 1 ? ")" : `, ${e})`}`;
2225
2299
  }
2226
2300
  }));
2227
- function Ht(e) {
2301
+ function Vt(e) {
2228
2302
  return e = (e || 0) % 360, e < 0 ? e + 360 : e;
2229
2303
  }
2230
- function be(e) {
2304
+ function ye(e) {
2231
2305
  return Math.max(0, Math.min(1, e || 0));
2232
2306
  }
2233
- function We(e, t, n) {
2307
+ function qe(e, t, n) {
2234
2308
  return (e < 60 ? t + (n - t) * e / 60 : e < 180 ? n : e < 240 ? t + (n - t) * (240 - e) / 60 : t) * 255;
2235
2309
  }
2236
- const ne = (globalThis == null ? void 0 : globalThis.UNOVIS_COLORS) || ["#4D8CFD", "#FF6B7E", "#F4B83E", "#A6CC74", "#00C19A", "#6859BE"], Js = (globalThis == null ? void 0 : globalThis.UNOVIS_COLORS_DARK) || ["#4D8CFD", "#FF6B7E", "#FFC16D", "#A6CC74", "#00C19A", "#7887E0"], L = (e) => `--vis-${en(e) ? `color${e % ne.length}` : e}`;
2310
+ const te = (globalThis == null ? void 0 : globalThis.UNOVIS_COLORS) || ["#4D8CFD", "#FF6B7E", "#F4B83E", "#A6CC74", "#00C19A", "#6859BE"], Js = (globalThis == null ? void 0 : globalThis.UNOVIS_COLORS_DARK) || ["#4D8CFD", "#FF6B7E", "#FFC16D", "#A6CC74", "#00C19A", "#7887E0"], L = (e) => `--vis-${nn(e) ? `color${e % te.length}` : e}`;
2237
2311
  function Qs(e, t = 0.4) {
2238
2312
  const n = ot(e);
2239
2313
  return n.l = n.l * (1 + t), n.formatHex();
@@ -2242,7 +2316,7 @@ function js(e, t = 0.4, n = 0.6) {
2242
2316
  const r = ot(e);
2243
2317
  return r.s = r.s * (1 - n), r.l = r.l * (1 - t), r.formatHex();
2244
2318
  }
2245
- const ke = 10, Ke = [
2319
+ const Te = 10, Ke = [
2246
2320
  { id: "stripes-diagonal", svg: '<path d="M-1,1 l2,-2 M0,10 l10,-10 M9,11 l2,-2" stroke="#000"/>' },
2247
2321
  { id: "dots", svg: '<path d="m0-1.5a1 1 0 010 3m10-3a1 1 0 000 3M5 3.5a1 1 0 010 3 1 1 0 010-3M0 8.5 a1 1 0 010 3m10-3a1 1 0 000 3" fill"#000"/>' },
2248
2322
  { id: "stripes-vertical", svg: '<path d="M 5,-1 L5,11" stroke="#000"/>' },
@@ -2261,7 +2335,7 @@ function P(e) {
2261
2335
  return `vis-${`pattern-${e.svg ? "fill" : "marker"}`}-${e.id}`;
2262
2336
  }
2263
2337
  const ea = (e) => `<mask id="${P(e)}">
2264
- <pattern id="${e.id}" viewBox="0 0 10 10" width="${ke}" height="${ke}" patternUnits="userSpaceOnUse">
2338
+ <pattern id="${e.id}" viewBox="0 0 10 10" width="${Te}" height="${Te}" patternUnits="userSpaceOnUse">
2265
2339
  <rect width="100%" height="100%" fill="#fff"/>
2266
2340
  ${e.svg}
2267
2341
  </pattern>
@@ -2271,8 +2345,8 @@ const ea = (e) => `<mask id="${P(e)}">
2271
2345
  markerUnits="userSpaceOnUse"
2272
2346
  refX="5"
2273
2347
  refY="5"
2274
- markerWidth="${ke}"
2275
- markerHeight="${ke}">
2348
+ markerWidth="${Te}"
2349
+ markerHeight="${Te}">
2276
2350
  ${e.marker}
2277
2351
  </marker>`;
2278
2352
  function na() {
@@ -2281,16 +2355,16 @@ function na() {
2281
2355
  }
2282
2356
  typeof window < "u" && na();
2283
2357
  const ra = (globalThis == null ? void 0 : globalThis.UNOVIS_FONT_W2H_RATIO_DEFAULT) || 0.5;
2284
- Ms`
2358
+ Is`
2285
2359
  :root {
2286
2360
  label: vis-root-styles;
2287
2361
  --vis-font-family: Inter, Arial, "Helvetica Neue", Helvetica, sans-serif;
2288
2362
  --vis-font-wh-ratio: ${ra};
2289
2363
  --vis-color-main: var(${L(0)});
2290
- --vis-color-main-light: ${Qs(ne[0])};
2291
- --vis-color-main-dark: ${js(ne[0])};
2364
+ --vis-color-main-light: ${Qs(te[0])};
2365
+ --vis-color-main-dark: ${js(te[0])};
2292
2366
  --vis-color-grey: #2a2a2a;
2293
- ${ne.map((e, t) => `${L(t)}: ${e};`)}
2367
+ ${te.map((e, t) => `${L(t)}: ${e};`)}
2294
2368
  ${Js.map((e, t) => `--vis-dark-color${t}: ${e};`)}
2295
2369
  ${Ke.map((e, t) => `
2296
2370
  --${P(e)}: url(#${P(e)});
@@ -2306,7 +2380,7 @@ Ms`
2306
2380
  })}
2307
2381
 
2308
2382
  body.theme-dark {
2309
- ${ne.map((e, t) => `${L(t)}: var(--vis-dark-color${t});`)}
2383
+ ${te.map((e, t) => `${L(t)}: var(--vis-dark-color${t});`)}
2310
2384
  }
2311
2385
 
2312
2386
  body.theme-patterns {
@@ -2333,25 +2407,25 @@ class ia {
2333
2407
  this._data = t;
2334
2408
  }
2335
2409
  }
2336
- var De;
2410
+ var ke;
2337
2411
  (function(e) {
2338
2412
  e.X = "x", e.Y = "y";
2339
- })(De || (De = {}));
2413
+ })(ke || (ke = {}));
2340
2414
  var T;
2341
2415
  (function(e) {
2342
2416
  e.X = "x", e.Y = "y";
2343
2417
  })(T || (T = {}));
2344
- var Ie;
2418
+ var De;
2345
2419
  (function(e) {
2346
2420
  e.West = "west", e.East = "east", e.North = "north", e.South = "south";
2347
- })(Ie || (Ie = {}));
2348
- const sa = Object.assign(Object.assign({}, fn), { components: [], tooltip: void 0, crosshair: void 0, annotations: void 0, xAxis: void 0, yAxis: void 0, autoMargin: !0, xScale: void 0, xDomain: void 0, xDomainMinConstraint: void 0, xDomainMaxConstraint: void 0, xRange: void 0, yScale: void 0, yDomain: void 0, yDomainMinConstraint: void 0, yDomainMaxConstraint: void 0, yRange: void 0, yDirection: Ie.North, preventEmptyDomain: null, scaleByDomain: !1 });
2349
- class aa extends ae {
2421
+ })(De || (De = {}));
2422
+ const sa = Object.assign(Object.assign({}, un), { components: [], tooltip: void 0, crosshair: void 0, annotations: void 0, xAxis: void 0, yAxis: void 0, autoMargin: !0, xScale: void 0, xDomain: void 0, xDomainMinConstraint: void 0, xDomainMaxConstraint: void 0, xRange: void 0, yScale: void 0, yDomain: void 0, yDomainMinConstraint: void 0, yDomainMaxConstraint: void 0, yRange: void 0, yDirection: De.North, preventEmptyDomain: null, scaleByDomain: !1 });
2423
+ class aa extends se {
2350
2424
  constructor(t, n, r) {
2351
2425
  var i, s;
2352
2426
  super(t), this._defaultConfig = sa, this.datamodel = new ia(), this.config = this._defaultConfig, this._clipPathId = Fs(), this._axisMargin = { top: 0, bottom: 0, left: 0, right: 0 }, this._firstRender = !0, this._clipPath = this.svg.append("clipPath").attr("id", this._clipPathId), this._clipPath.append("rect");
2353
2427
  const a = "saturate", c = window.location.href.replace(window.location.hash, "");
2354
- this.svg.attr("class", zs`
2428
+ this.svg.attr("class", Ms`
2355
2429
  --highlight-filter-id: url(${c}#${a}); // defining a css variable
2356
2430
  `), this._svgDefs.append("filter").attr("id", a).attr("filterUnits", "objectBoundingBox").html('<feColorMatrix type="saturate" in="SourceGraphic" values="1.35"/>'), n && this.updateContainer(n, !0), r && this.setData(r, !0), (this.config.xAxis || this.config.yAxis || !((i = this.components) === null || i === void 0) && i.some((o) => o.datamodel.data)) && this.render(), (s = document.fonts) === null || s === void 0 || s.ready.then(() => {
2357
2431
  this._firstRender || this._renderAxes(0);
@@ -2378,7 +2452,7 @@ class aa extends ae {
2378
2452
  }), (r = o.crosshair) === null || r === void 0 || r.setData(t), (i = o.xAxis) === null || i === void 0 || i.setData(t), (s = o.yAxis) === null || s === void 0 || s.setData(t), (a = o.tooltip) === null || a === void 0 || a.hide(), n || this.render());
2379
2453
  }
2380
2454
  updateContainer(t, n) {
2381
- super.updateContainer(t), this._removeAllChildren(), this.setData(this.datamodel.data, !0), t.xAxis && (this.config.xAxis.config.type = De.X, this.element.appendChild(t.xAxis.element)), t.yAxis && (this.config.yAxis.config.type = De.Y, this.element.appendChild(t.yAxis.element));
2455
+ super.updateContainer(t), this._removeAllChildren(), this.setData(this.datamodel.data, !0), t.xAxis && (this.config.xAxis.config.type = ke.X, this.element.appendChild(t.xAxis.element)), t.yAxis && (this.config.yAxis.config.type = ke.Y, this.element.appendChild(t.yAxis.element));
2382
2456
  for (const a of this.components)
2383
2457
  this.element.appendChild(a.element);
2384
2458
  const r = t.tooltip;
@@ -2442,7 +2516,7 @@ class aa extends ae {
2442
2516
  const r = t.filter((i) => !i.config.excludeFromDomainCalculation);
2443
2517
  Object.values(T).forEach((i) => {
2444
2518
  var s, a, c, o, f, l, u, p;
2445
- const [d, v] = wi(Si(r.map((S) => S.getDataExtent(i, n.scaleByDomain)))), h = i === T.Y ? n.yDomain : n.xDomain, g = i === T.Y ? n.yDomainMinConstraint : n.xDomainMinConstraint, m = i === T.Y ? n.yDomainMaxConstraint : n.xDomainMaxConstraint, _ = (a = (s = h == null ? void 0 : h[0]) !== null && s !== void 0 ? s : d) !== null && a !== void 0 ? a : 0, w = (o = (c = h == null ? void 0 : h[1]) !== null && c !== void 0 ? c : v) !== null && o !== void 0 ? o : 1, $ = [
2519
+ const [d, v] = _i(Ai(r.map((S) => S.getDataExtent(i, n.scaleByDomain)))), h = i === T.Y ? n.yDomain : n.xDomain, g = i === T.Y ? n.yDomainMinConstraint : n.xDomainMinConstraint, m = i === T.Y ? n.yDomainMaxConstraint : n.xDomainMaxConstraint, _ = (a = (s = h == null ? void 0 : h[0]) !== null && s !== void 0 ? s : d) !== null && a !== void 0 ? a : 0, w = (o = (c = h == null ? void 0 : h[1]) !== null && c !== void 0 ? c : v) !== null && o !== void 0 ? o : 1, $ = [
2446
2520
  Y(_, (f = g == null ? void 0 : g[0]) !== null && f !== void 0 ? f : Number.NEGATIVE_INFINITY, (l = g == null ? void 0 : g[1]) !== null && l !== void 0 ? l : Number.POSITIVE_INFINITY),
2447
2521
  Y(w, (u = m == null ? void 0 : m[0]) !== null && u !== void 0 ? u : Number.NEGATIVE_INFINITY, (p = m == null ? void 0 : m[1]) !== null && p !== void 0 ? p : Number.POSITIVE_INFINITY)
2448
2522
  ];
@@ -2461,7 +2535,7 @@ class aa extends ae {
2461
2535
  const { config: o } = this;
2462
2536
  if (!t)
2463
2537
  return;
2464
- const f = o.yDirection === Ie.South, l = [(n = o.padding.left) !== null && n !== void 0 ? n : 0, this.width - ((r = o.padding.right) !== null && r !== void 0 ? r : 0)], u = [this.height - ((i = o.padding.bottom) !== null && i !== void 0 ? i : 0), (s = o.padding.top) !== null && s !== void 0 ? s : 0];
2538
+ const f = o.yDirection === De.South, l = [(n = o.padding.left) !== null && n !== void 0 ? n : 0, this.width - ((r = o.padding.right) !== null && r !== void 0 ? r : 0)], u = [this.height - ((i = o.padding.bottom) !== null && i !== void 0 ? i : 0), (s = o.padding.top) !== null && s !== void 0 ? s : 0];
2465
2539
  f && u.reverse();
2466
2540
  for (const d of t)
2467
2541
  d.setSize(this.width, this.height, this.containerWidth, this.containerHeight), d.setScaleRange(T.X, (a = o.xRange) !== null && a !== void 0 ? a : l), d.setScaleRange(T.Y, (c = o.yRange) !== null && c !== void 0 ? c : u);
@@ -2518,8 +2592,8 @@ class aa extends ae {
2518
2592
  }
2519
2593
  const oa = Symbol("componentAccessorKey"), ca = Symbol("tooltipAccessorKey"), fa = Symbol("crosshairAccessorKey"), la = Symbol("axisAccessorKey"), ua = Symbol("annotationsAccessorKey");
2520
2594
  function ha(e) {
2521
- const t = En(), n = t.attrs;
2522
- return Rn(() => {
2595
+ const t = $n(), n = t.attrs;
2596
+ return En(() => {
2523
2597
  const r = {}, i = (t == null ? void 0 : t.vnode.props) ?? {};
2524
2598
  return Object.keys(i).forEach((s) => {
2525
2599
  r[ft(s)] = e[ft(s)];
@@ -2560,7 +2634,7 @@ const da = /* @__PURE__ */ Qe({
2560
2634
  data: {}
2561
2635
  },
2562
2636
  setup(e, { expose: t }) {
2563
- const n = e, { data: r } = On(n), i = ha(n), s = lt(), a = Nn({
2637
+ const n = e, { data: r } = Rn(n), i = ha(n), s = lt(), a = On({
2564
2638
  components: [],
2565
2639
  annotations: void 0,
2566
2640
  crosshair: void 0,
@@ -2568,14 +2642,14 @@ const da = /* @__PURE__ */ Qe({
2568
2642
  xAxis: void 0,
2569
2643
  yAxis: void 0
2570
2644
  }), c = lt();
2571
- return Tn(r, () => {
2645
+ return Nn(r, () => {
2572
2646
  s.value && s.value.setData(r.value, !0);
2573
- }), kn(() => {
2647
+ }), Tn(() => {
2574
2648
  var o;
2575
- a.components.map((f) => f.config), (o = s.value) == null || o.updateContainer({ ...Fe(i.value), ...Fe(a) });
2649
+ a.components.map((f) => f.config), (o = s.value) == null || o.updateContainer({ ...Be(i.value), ...Be(a) });
2650
+ }), kn(() => {
2651
+ c.value && (s.value = new aa(c.value, { ...Be(a) }, r.value));
2576
2652
  }), Dn(() => {
2577
- c.value && (s.value = new aa(c.value, { ...Fe(a) }, r.value));
2578
- }), In(() => {
2579
2653
  var o;
2580
2654
  return (o = s.value) == null ? void 0 : o.destroy();
2581
2655
  }), Q(oa, {
@@ -2611,13 +2685,13 @@ const da = /* @__PURE__ */ Qe({
2611
2685
  }
2612
2686
  }), t({
2613
2687
  component: s
2614
- }), (o, f) => (je(), Lt("div", {
2688
+ }), (o, f) => (je(), Wt("div", {
2615
2689
  "data-vis-xy-container": "",
2616
2690
  ref_key: "elRef",
2617
2691
  ref: c,
2618
2692
  class: "unovis-xy-container"
2619
2693
  }, [
2620
- Vt(o.$slots, "default")
2694
+ qt(o.$slots, "default")
2621
2695
  ], 512));
2622
2696
  }
2623
2697
  });
@@ -2639,9 +2713,9 @@ const xa = /* @__PURE__ */ Qe({
2639
2713
  yNumTicks: { default: (e) => e.data.length > 24 ? 24 / 4 : e.data.length - 1 }
2640
2714
  },
2641
2715
  setup(e) {
2642
- return (t, n) => (je(), Mn(zn(da), { height: 600 }, {
2643
- default: Bn(() => n[0] || (n[0] = [
2644
- Fn(" 123123123 ")
2716
+ return (t, n) => (je(), In(Mn(da), { height: 600 }, {
2717
+ default: zn(() => n[0] || (n[0] = [
2718
+ Bn(" 123123123 ")
2645
2719
  ])),
2646
2720
  _: 1
2647
2721
  }));
@@ -2655,14 +2729,14 @@ const va = /* @__PURE__ */ Qe({
2655
2729
  size: {}
2656
2730
  },
2657
2731
  setup(e) {
2658
- return (t, n) => (je(), Lt("button", {
2659
- class: Pn([
2732
+ return (t, n) => (je(), Wt("button", {
2733
+ class: Fn([
2660
2734
  "button",
2661
2735
  `button--${t.variant || "primary"}`,
2662
2736
  `button--${t.size || "medium"}`
2663
2737
  ])
2664
2738
  }, [
2665
- Vt(t.$slots, "default", {}, void 0, !0)
2739
+ qt(t.$slots, "default", {}, void 0, !0)
2666
2740
  ], 2));
2667
2741
  }
2668
2742
  }), ga = (e, t) => {