vue-chrts 0.0.53 → 0.0.54

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,2752 +0,0 @@
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
- const ut = {
4
- svg: "http://www.w3.org/2000/svg",
5
- xhtml: Ue,
6
- xlink: "http://www.w3.org/1999/xlink",
7
- xml: "http://www.w3.org/XML/1998/namespace",
8
- xmlns: "http://www.w3.org/2000/xmlns/"
9
- };
10
- function Ut(e) {
11
- var t = e += "", n = t.indexOf(":");
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
- }
14
- function Pn(e) {
15
- return function() {
16
- var t = this.ownerDocument, n = this.namespaceURI;
17
- return n === Ue && t.documentElement.namespaceURI === Ue ? t.createElement(e) : t.createElementNS(n, e);
18
- };
19
- }
20
- function Hn(e) {
21
- return function() {
22
- return this.ownerDocument.createElementNS(e.space, e.local);
23
- };
24
- }
25
- function Yt(e) {
26
- var t = Ut(e);
27
- return (t.local ? Hn : Pn)(t);
28
- }
29
- function Ln() {
30
- }
31
- function Gt(e) {
32
- return e == null ? Ln : function() {
33
- return this.querySelector(e);
34
- };
35
- }
36
- function Vn(e) {
37
- typeof e != "function" && (e = Gt(e));
38
- for (var t = this._groups, n = t.length, r = new Array(n), i = 0; i < n; ++i)
39
- for (var s = t[i], a = s.length, c = r[i] = new Array(a), o, f, l = 0; l < a; ++l)
40
- (o = s[l]) && (f = e.call(o, o.__data__, l, s)) && ("__data__" in o && (f.__data__ = o.__data__), c[l] = f);
41
- return new D(r, this._parents);
42
- }
43
- function Wn(e) {
44
- return e == null ? [] : Array.isArray(e) ? e : Array.from(e);
45
- }
46
- function qn() {
47
- return [];
48
- }
49
- function Un(e) {
50
- return e == null ? qn : function() {
51
- return this.querySelectorAll(e);
52
- };
53
- }
54
- function Yn(e) {
55
- return function() {
56
- return Wn(e.apply(this, arguments));
57
- };
58
- }
59
- function Gn(e) {
60
- typeof e == "function" ? e = Yn(e) : e = Un(e);
61
- for (var t = this._groups, n = t.length, r = [], i = [], s = 0; s < n; ++s)
62
- for (var a = t[s], c = a.length, o, f = 0; f < c; ++f)
63
- (o = a[f]) && (r.push(e.call(o, o.__data__, f, a)), i.push(o));
64
- return new D(r, i);
65
- }
66
- function Xn(e) {
67
- return function() {
68
- return this.matches(e);
69
- };
70
- }
71
- function Xt(e) {
72
- return function(t) {
73
- return t.matches(e);
74
- };
75
- }
76
- var Zn = Array.prototype.find;
77
- function Kn(e) {
78
- return function() {
79
- return Zn.call(this.children, e);
80
- };
81
- }
82
- function Jn() {
83
- return this.firstElementChild;
84
- }
85
- function Qn(e) {
86
- return this.select(e == null ? Jn : Kn(typeof e == "function" ? e : Xt(e)));
87
- }
88
- var jn = Array.prototype.filter;
89
- function er() {
90
- return Array.from(this.children);
91
- }
92
- function tr(e) {
93
- return function() {
94
- return jn.call(this.children, e);
95
- };
96
- }
97
- function nr(e) {
98
- return this.selectAll(e == null ? er : tr(typeof e == "function" ? e : Xt(e)));
99
- }
100
- function rr(e) {
101
- typeof e != "function" && (e = Xn(e));
102
- for (var t = this._groups, n = t.length, r = new Array(n), i = 0; i < n; ++i)
103
- for (var s = t[i], a = s.length, c = r[i] = [], o, f = 0; f < a; ++f)
104
- (o = s[f]) && e.call(o, o.__data__, f, s) && c.push(o);
105
- return new D(r, this._parents);
106
- }
107
- function Zt(e) {
108
- return new Array(e.length);
109
- }
110
- function ir() {
111
- return new D(this._enter || this._groups.map(Zt), this._parents);
112
- }
113
- function Se(e, t) {
114
- this.ownerDocument = e.ownerDocument, this.namespaceURI = e.namespaceURI, this._next = null, this._parent = e, this.__data__ = t;
115
- }
116
- Se.prototype = {
117
- constructor: Se,
118
- appendChild: function(e) {
119
- return this._parent.insertBefore(e, this._next);
120
- },
121
- insertBefore: function(e, t) {
122
- return this._parent.insertBefore(e, t);
123
- },
124
- querySelector: function(e) {
125
- return this._parent.querySelector(e);
126
- },
127
- querySelectorAll: function(e) {
128
- return this._parent.querySelectorAll(e);
129
- }
130
- };
131
- function sr(e) {
132
- return function() {
133
- return e;
134
- };
135
- }
136
- function ar(e, t, n, r, i, s) {
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 Se(e, s[a]);
139
- for (; a < o; ++a)
140
- (c = t[a]) && (i[a] = c);
141
- }
142
- function or(e, t, n, r, i, s, a) {
143
- var c, o, f = /* @__PURE__ */ new Map(), l = t.length, u = s.length, p = new Array(l), d;
144
- for (c = 0; c < l; ++c)
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
- 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 Se(e, s[c]);
148
- for (c = 0; c < l; ++c)
149
- (o = t[c]) && f.get(p[c]) === o && (i[c] = o);
150
- }
151
- function cr(e) {
152
- return e.__data__;
153
- }
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
- for (var s = i.length, a = new Array(s), c = new Array(s), o = new Array(s), f = 0; f < s; ++f) {
159
- var l = r[f], u = i[f], p = u.length, d = lr(e.call(l, l && l.__data__, f, r)), v = d.length, h = c[f] = new Array(v), g = a[f] = new Array(v), m = o[f] = new Array(p);
160
- n(l, u, h, g, m, d, t);
161
- for (var _ = 0, w = 0, $, S; _ < v; ++_)
162
- if ($ = h[_]) {
163
- for (_ >= w && (w = _ + 1); !(S = g[w]) && ++w < v; ) ;
164
- $._next = S || null;
165
- }
166
- }
167
- return a = new D(a, r), a._enter = c, a._exit = o, a;
168
- }
169
- function lr(e) {
170
- return typeof e == "object" && "length" in e ? e : Array.from(e);
171
- }
172
- function ur() {
173
- return new D(this._exit || this._groups.map(Zt), this._parents);
174
- }
175
- function hr(e, t, n) {
176
- var r = this.enter(), i = this, s = this.exit();
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
- }
179
- function dr(e) {
180
- for (var t = e.selection ? e.selection() : e, n = this._groups, r = t._groups, i = n.length, s = r.length, a = Math.min(i, s), c = new Array(i), o = 0; o < a; ++o)
181
- for (var f = n[o], l = r[o], u = f.length, p = c[o] = new Array(u), d, v = 0; v < u; ++v)
182
- (d = f[v] || l[v]) && (p[v] = d);
183
- for (; o < i; ++o)
184
- c[o] = n[o];
185
- return new D(c, this._parents);
186
- }
187
- function pr() {
188
- for (var e = this._groups, t = -1, n = e.length; ++t < n; )
189
- for (var r = e[t], i = r.length - 1, s = r[i], a; --i >= 0; )
190
- (a = r[i]) && (s && a.compareDocumentPosition(s) ^ 4 && s.parentNode.insertBefore(a, s), s = a);
191
- return this;
192
- }
193
- function vr(e) {
194
- e || (e = gr);
195
- function t(u, p) {
196
- return u && p ? e(u.__data__, p.__data__) : !u - !p;
197
- }
198
- for (var n = this._groups, r = n.length, i = new Array(r), s = 0; s < r; ++s) {
199
- for (var a = n[s], c = a.length, o = i[s] = new Array(c), f, l = 0; l < c; ++l)
200
- (f = a[l]) && (o[l] = f);
201
- o.sort(t);
202
- }
203
- return new D(i, this._parents).order();
204
- }
205
- function gr(e, t) {
206
- return e < t ? -1 : e > t ? 1 : e >= t ? 0 : NaN;
207
- }
208
- function mr() {
209
- var e = arguments[0];
210
- return arguments[0] = this, e.apply(null, arguments), this;
211
- }
212
- function xr() {
213
- return Array.from(this);
214
- }
215
- function yr() {
216
- for (var e = this._groups, t = 0, n = e.length; t < n; ++t)
217
- for (var r = e[t], i = 0, s = r.length; i < s; ++i) {
218
- var a = r[i];
219
- if (a) return a;
220
- }
221
- return null;
222
- }
223
- function br() {
224
- let e = 0;
225
- for (const t of this) ++e;
226
- return e;
227
- }
228
- function _r() {
229
- return !this.node();
230
- }
231
- function wr(e) {
232
- for (var t = this._groups, n = 0, r = t.length; n < r; ++n)
233
- for (var i = t[n], s = 0, a = i.length, c; s < a; ++s)
234
- (c = i[s]) && e.call(c, c.__data__, s, i);
235
- return this;
236
- }
237
- function Ar(e) {
238
- return function() {
239
- this.removeAttribute(e);
240
- };
241
- }
242
- function Sr(e) {
243
- return function() {
244
- this.removeAttributeNS(e.space, e.local);
245
- };
246
- }
247
- function Cr(e, t) {
248
- return function() {
249
- this.setAttribute(e, t);
250
- };
251
- }
252
- function $r(e, t) {
253
- return function() {
254
- this.setAttributeNS(e.space, e.local, t);
255
- };
256
- }
257
- function Er(e, t) {
258
- return function() {
259
- var n = t.apply(this, arguments);
260
- n == null ? this.removeAttribute(e) : this.setAttribute(e, n);
261
- };
262
- }
263
- function Rr(e, t) {
264
- return function() {
265
- var n = t.apply(this, arguments);
266
- n == null ? this.removeAttributeNS(e.space, e.local) : this.setAttributeNS(e.space, e.local, n);
267
- };
268
- }
269
- function Or(e, t) {
270
- var n = Ut(e);
271
- if (arguments.length < 2) {
272
- var r = this.node();
273
- return n.local ? r.getAttributeNS(n.space, n.local) : r.getAttribute(n);
274
- }
275
- return this.each((t == null ? n.local ? Sr : Ar : typeof t == "function" ? n.local ? Rr : Er : n.local ? $r : Cr)(n, t));
276
- }
277
- function Kt(e) {
278
- return e.ownerDocument && e.ownerDocument.defaultView || e.document && e || e.defaultView;
279
- }
280
- function Nr(e) {
281
- return function() {
282
- this.style.removeProperty(e);
283
- };
284
- }
285
- function Tr(e, t, n) {
286
- return function() {
287
- this.style.setProperty(e, t, n);
288
- };
289
- }
290
- function kr(e, t, n) {
291
- return function() {
292
- var r = t.apply(this, arguments);
293
- r == null ? this.style.removeProperty(e) : this.style.setProperty(e, r, n);
294
- };
295
- }
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
- }
299
- function Ir(e, t) {
300
- return e.style.getPropertyValue(t) || Kt(e).getComputedStyle(e, null).getPropertyValue(t);
301
- }
302
- function Mr(e) {
303
- return function() {
304
- delete this[e];
305
- };
306
- }
307
- function zr(e, t) {
308
- return function() {
309
- this[e] = t;
310
- };
311
- }
312
- function Br(e, t) {
313
- return function() {
314
- var n = t.apply(this, arguments);
315
- n == null ? delete this[e] : this[e] = n;
316
- };
317
- }
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
- }
321
- function Jt(e) {
322
- return e.trim().split(/^|\s+/);
323
- }
324
- function et(e) {
325
- return e.classList || new Qt(e);
326
- }
327
- function Qt(e) {
328
- this._node = e, this._names = Jt(e.getAttribute("class") || "");
329
- }
330
- Qt.prototype = {
331
- add: function(e) {
332
- var t = this._names.indexOf(e);
333
- t < 0 && (this._names.push(e), this._node.setAttribute("class", this._names.join(" ")));
334
- },
335
- remove: function(e) {
336
- var t = this._names.indexOf(e);
337
- t >= 0 && (this._names.splice(t, 1), this._node.setAttribute("class", this._names.join(" ")));
338
- },
339
- contains: function(e) {
340
- return this._names.indexOf(e) >= 0;
341
- }
342
- };
343
- function jt(e, t) {
344
- for (var n = et(e), r = -1, i = t.length; ++r < i; ) n.add(t[r]);
345
- }
346
- function en(e, t) {
347
- for (var n = et(e), r = -1, i = t.length; ++r < i; ) n.remove(t[r]);
348
- }
349
- function Pr(e) {
350
- return function() {
351
- jt(this, e);
352
- };
353
- }
354
- function Hr(e) {
355
- return function() {
356
- en(this, e);
357
- };
358
- }
359
- function Lr(e, t) {
360
- return function() {
361
- (t.apply(this, arguments) ? jt : en)(this, e);
362
- };
363
- }
364
- function Vr(e, t) {
365
- var n = Jt(e + "");
366
- if (arguments.length < 2) {
367
- for (var r = et(this.node()), i = -1, s = n.length; ++i < s; ) if (!r.contains(n[i])) return !1;
368
- return !0;
369
- }
370
- return this.each((typeof t == "function" ? Lr : t ? Pr : Hr)(n, t));
371
- }
372
- function Wr() {
373
- this.textContent = "";
374
- }
375
- function qr(e) {
376
- return function() {
377
- this.textContent = e;
378
- };
379
- }
380
- function Ur(e) {
381
- return function() {
382
- var t = e.apply(this, arguments);
383
- this.textContent = t ?? "";
384
- };
385
- }
386
- function Yr(e) {
387
- return arguments.length ? this.each(e == null ? Wr : (typeof e == "function" ? Ur : qr)(e)) : this.node().textContent;
388
- }
389
- function Gr() {
390
- this.innerHTML = "";
391
- }
392
- function Xr(e) {
393
- return function() {
394
- this.innerHTML = e;
395
- };
396
- }
397
- function Zr(e) {
398
- return function() {
399
- var t = e.apply(this, arguments);
400
- this.innerHTML = t ?? "";
401
- };
402
- }
403
- function Kr(e) {
404
- return arguments.length ? this.each(e == null ? Gr : (typeof e == "function" ? Zr : Xr)(e)) : this.node().innerHTML;
405
- }
406
- function Jr() {
407
- this.nextSibling && this.parentNode.appendChild(this);
408
- }
409
- function Qr() {
410
- return this.each(Jr);
411
- }
412
- function jr() {
413
- this.previousSibling && this.parentNode.insertBefore(this, this.parentNode.firstChild);
414
- }
415
- function ei() {
416
- return this.each(jr);
417
- }
418
- function ti(e) {
419
- var t = typeof e == "function" ? e : Yt(e);
420
- return this.select(function() {
421
- return this.appendChild(t.apply(this, arguments));
422
- });
423
- }
424
- function ni() {
425
- return null;
426
- }
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
- return this.select(function() {
430
- return this.insertBefore(n.apply(this, arguments), r.apply(this, arguments) || null);
431
- });
432
- }
433
- function ii() {
434
- var e = this.parentNode;
435
- e && e.removeChild(this);
436
- }
437
- function si() {
438
- return this.each(ii);
439
- }
440
- function ai() {
441
- var e = this.cloneNode(!1), t = this.parentNode;
442
- return t ? t.insertBefore(e, this.nextSibling) : e;
443
- }
444
- function oi() {
445
- var e = this.cloneNode(!0), t = this.parentNode;
446
- return t ? t.insertBefore(e, this.nextSibling) : e;
447
- }
448
- function ci(e) {
449
- return this.select(e ? oi : ai);
450
- }
451
- function fi(e) {
452
- return arguments.length ? this.property("__data__", e) : this.node().__data__;
453
- }
454
- function li(e) {
455
- return function(t) {
456
- e.call(this, t, this.__data__);
457
- };
458
- }
459
- function ui(e) {
460
- return e.trim().split(/^|\s+/).map(function(t) {
461
- var n = "", r = t.indexOf(".");
462
- return r >= 0 && (n = t.slice(r + 1), t = t.slice(0, r)), { type: t, name: n };
463
- });
464
- }
465
- function hi(e) {
466
- return function() {
467
- var t = this.__on;
468
- if (t) {
469
- for (var n = 0, r = -1, i = t.length, s; n < i; ++n)
470
- s = t[n], (!e.type || s.type === e.type) && s.name === e.name ? this.removeEventListener(s.type, s.listener, s.options) : t[++r] = s;
471
- ++r ? t.length = r : delete this.__on;
472
- }
473
- };
474
- }
475
- function di(e, t, n) {
476
- return function() {
477
- var r = this.__on, i, s = li(t);
478
- if (r) {
479
- for (var a = 0, c = r.length; a < c; ++a)
480
- if ((i = r[a]).type === e.type && i.name === e.name) {
481
- this.removeEventListener(i.type, i.listener, i.options), this.addEventListener(i.type, i.listener = s, i.options = n), i.value = t;
482
- return;
483
- }
484
- }
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
- };
487
- }
488
- function pi(e, t, n) {
489
- var r = ui(e + ""), i, s = r.length, a;
490
- if (arguments.length < 2) {
491
- var c = this.node().__on;
492
- if (c) {
493
- for (var o = 0, f = c.length, l; o < f; ++o)
494
- for (i = 0, l = c[o]; i < s; ++i)
495
- if ((a = r[i]).type === l.type && a.name === l.name)
496
- return l.value;
497
- }
498
- return;
499
- }
500
- for (c = t ? di : hi, i = 0; i < s; ++i) this.each(c(r[i], t, n));
501
- return this;
502
- }
503
- function tn(e, t, n) {
504
- var r = Kt(e), i = r.CustomEvent;
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
- }
507
- function vi(e, t) {
508
- return function() {
509
- return tn(this, e, t);
510
- };
511
- }
512
- function gi(e, t) {
513
- return function() {
514
- return tn(this, e, t.apply(this, arguments));
515
- };
516
- }
517
- function mi(e, t) {
518
- return this.each((typeof t == "function" ? gi : vi)(e, t));
519
- }
520
- function* xi() {
521
- for (var e = this._groups, t = 0, n = e.length; t < n; ++t)
522
- for (var r = e[t], i = 0, s = r.length, a; i < s; ++i)
523
- (a = r[i]) && (yield a);
524
- }
525
- var yi = [null];
526
- function D(e, t) {
527
- this._groups = e, this._parents = t;
528
- }
529
- function bi() {
530
- return this;
531
- }
532
- D.prototype = {
533
- constructor: D,
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
- };
570
- function ht(e) {
571
- return typeof e == "string" ? new D([[document.querySelector(e)]], [document.documentElement]) : new D([[e]], yi);
572
- }
573
- var dt;
574
- (function(e) {
575
- e[e.SVG = 0] = "SVG", e[e.HTML = 1] = "HTML";
576
- })(dt || (dt = {}));
577
- var re;
578
- (function(e) {
579
- e.Fit = "fit", e.Extend = "extend", e.FitWidth = "fit_width";
580
- })(re || (re = {}));
581
- function _i(e, t) {
582
- let n, r;
583
- for (const i of e)
584
- i != null && (n === void 0 ? i >= i && (n = r = i) : (n > i && (n = i), r < i && (r = i)));
585
- return [n, r];
586
- }
587
- function* wi(e) {
588
- for (const t of e)
589
- yield* t;
590
- }
591
- function Ai(e) {
592
- return Array.from(wi(e));
593
- }
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
- if (Array.isArray(e)) {
596
- if (!Array.isArray(t) || e.length !== t.length)
597
- return !1;
598
- if (r.has(e))
599
- return !0;
600
- r.add(e);
601
- for (let i = 0; i < e.length; i++)
602
- if (!Ye(e[i], t[i], n, r))
603
- return !1;
604
- return !0;
605
- }
606
- if (e instanceof Date && t instanceof Date)
607
- return e.getTime() === t.getTime();
608
- if (typeof e == "object" && e !== null && t !== null) {
609
- if (typeof t != "object")
610
- return !1;
611
- if (e === t)
612
- return !0;
613
- const i = Object.keys(e).filter((a) => !n.includes(a)), s = Object.keys(t).filter((a) => !n.includes(a));
614
- if (i.length !== s.length)
615
- return !1;
616
- if (r.has(e))
617
- return !0;
618
- r.add(e);
619
- for (const a of i)
620
- if (!Ye(e[a], t[a], n, r))
621
- return !1;
622
- return !0;
623
- }
624
- return e === t;
625
- }, vt = (e) => e.flat(), $e = (e, t = /* @__PURE__ */ new Map()) => {
626
- if (typeof e != "object" || e === null)
627
- return e;
628
- if (e instanceof Date)
629
- return new Date(e.getTime());
630
- if (e instanceof Array) {
631
- const n = [];
632
- t.set(e, n);
633
- for (const r of e)
634
- n.push(t.has(r) ? t.get(r) : $e(r, t));
635
- return n;
636
- }
637
- if (Ce(e))
638
- return e;
639
- if (e instanceof Object) {
640
- const n = {};
641
- t.set(e, n);
642
- const r = e;
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
- }
645
- return e;
646
- }, rn = (e, t, n = /* @__PURE__ */ new Map()) => {
647
- if (!e || !t || e === t)
648
- return e;
649
- const r = Ce(e) ? e : $e(e);
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] = rn(e[i], t[i], n) : Ce(t) ? r[i] = t : r[i] = $e(t[i]));
652
- }), r);
653
- };
654
- function j(e) {
655
- return e.filter((t) => t && !nn(t));
656
- }
657
- function Y(e, t, n) {
658
- return Math.min(Math.max(e, t), n);
659
- }
660
- var W = [], Ei = function() {
661
- return W.some(function(e) {
662
- return e.activeTargets.length > 0;
663
- });
664
- }, Ri = function() {
665
- return W.some(function(e) {
666
- return e.skippedTargets.length > 0;
667
- });
668
- }, gt = "ResizeObserver loop completed with undelivered notifications.", Oi = function() {
669
- var e;
670
- typeof ErrorEvent == "function" ? e = new ErrorEvent("error", {
671
- message: gt
672
- }) : (e = document.createEvent("Event"), e.initEvent("error", !1, !1), e.message = gt), window.dispatchEvent(e);
673
- }, ie;
674
- (function(e) {
675
- e.BORDER_BOX = "border-box", e.CONTENT_BOX = "content-box", e.DEVICE_PIXEL_CONTENT_BOX = "device-pixel-content-box";
676
- })(ie || (ie = {}));
677
- var q = function(e) {
678
- return Object.freeze(e);
679
- }, Ni = /* @__PURE__ */ function() {
680
- function e(t, n) {
681
- this.inlineSize = t, this.blockSize = n, q(this);
682
- }
683
- return e;
684
- }(), sn = function() {
685
- function e(t, n, r, i) {
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
- }
688
- return e.prototype.toJSON = function() {
689
- var t = this, n = t.x, r = t.y, i = t.top, s = t.right, a = t.bottom, c = t.left, o = t.width, f = t.height;
690
- return { x: n, y: r, top: i, right: s, bottom: a, left: c, width: o, height: f };
691
- }, e.fromRect = function(t) {
692
- return new e(t.x, t.y, t.width, t.height);
693
- }, e;
694
- }(), tt = function(e) {
695
- return e instanceof SVGElement && "getBBox" in e;
696
- }, an = function(e) {
697
- if (tt(e)) {
698
- var t = e.getBBox(), n = t.width, r = t.height;
699
- return !n && !r;
700
- }
701
- var i = e, s = i.offsetWidth, a = i.offsetHeight;
702
- return !(s || a || e.getClientRects().length);
703
- }, mt = function(e) {
704
- var t;
705
- if (e instanceof Element)
706
- return !0;
707
- var n = (t = e == null ? void 0 : e.ownerDocument) === null || t === void 0 ? void 0 : t.defaultView;
708
- return !!(n && e instanceof n.Element);
709
- }, Ti = function(e) {
710
- switch (e.tagName) {
711
- case "INPUT":
712
- if (e.type !== "image")
713
- break;
714
- case "VIDEO":
715
- case "AUDIO":
716
- case "EMBED":
717
- case "OBJECT":
718
- case "CANVAS":
719
- case "IFRAME":
720
- case "IMG":
721
- return !0;
722
- }
723
- return !1;
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
- return parseFloat(e || "0");
726
- }, G = function(e, t, n) {
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
- }, yt = q({
729
- devicePixelContentBoxSize: G(),
730
- borderBoxSize: G(),
731
- contentBoxSize: G(),
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
- });
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
- switch (t) {
748
- case ie.DEVICE_PIXEL_CONTENT_BOX:
749
- return a;
750
- case ie.BORDER_BOX:
751
- return i;
752
- default:
753
- return s;
754
- }
755
- }, Ii = /* @__PURE__ */ function() {
756
- function e(t) {
757
- var n = on(t);
758
- this.target = t, this.contentRect = n.contentRect, this.borderBoxSize = q([n.borderBoxSize]), this.contentBoxSize = q([n.contentBoxSize]), this.devicePixelContentBoxSize = q([n.devicePixelContentBoxSize]);
759
- }
760
- return e;
761
- }(), fn = function(e) {
762
- if (an(e))
763
- return 1 / 0;
764
- for (var t = 0, n = e.parentNode; n; )
765
- t += 1, n = n.parentNode;
766
- return t;
767
- }, Mi = function() {
768
- var e = 1 / 0, t = [];
769
- W.forEach(function(a) {
770
- if (a.activeTargets.length !== 0) {
771
- var c = [];
772
- a.activeTargets.forEach(function(f) {
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
- }), t.push(function() {
776
- a.callback.call(a.observer, c, a.observer);
777
- }), a.activeTargets.splice(0, a.activeTargets.length);
778
- }
779
- });
780
- for (var n = 0, r = t; n < r.length; n++) {
781
- var i = r[n];
782
- i();
783
- }
784
- return e;
785
- }, bt = function(e) {
786
- W.forEach(function(n) {
787
- n.activeTargets.splice(0, n.activeTargets.length), n.skippedTargets.splice(0, n.skippedTargets.length), n.observationTargets.forEach(function(i) {
788
- i.isActive() && (fn(i.target) > e ? n.activeTargets.push(i) : n.skippedTargets.push(i));
789
- });
790
- });
791
- }, zi = function() {
792
- var e = 0;
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
- return e();
799
- });
800
- }, Fi = function(e) {
801
- if (!Fe) {
802
- var t = 0, n = document.createTextNode(""), r = { characterData: !0 };
803
- new MutationObserver(function() {
804
- return Bi();
805
- }).observe(n, r), Fe = function() {
806
- n.textContent = "".concat(t ? t-- : t++);
807
- };
808
- }
809
- ln.push(e), Fe();
810
- }, Pi = function(e) {
811
- Fi(function() {
812
- requestAnimationFrame(e);
813
- });
814
- }, be = 0, Hi = function() {
815
- return !!be;
816
- }, Li = 250, Vi = { attributes: !0, characterData: !0, childList: !0, subtree: !0 }, _t = [
817
- "resize",
818
- "load",
819
- "transitionend",
820
- "animationend",
821
- "animationstart",
822
- "animationiteration",
823
- "keyup",
824
- "keydown",
825
- "mouseup",
826
- "mousedown",
827
- "mouseover",
828
- "mouseout",
829
- "blur",
830
- "focus"
831
- ], wt = function(e) {
832
- return e === void 0 && (e = 0), Date.now() + e;
833
- }, Pe = !1, Wi = function() {
834
- function e() {
835
- var t = this;
836
- this.stopped = !0, this.listener = function() {
837
- return t.schedule();
838
- };
839
- }
840
- return e.prototype.run = function(t) {
841
- var n = this;
842
- if (t === void 0 && (t = Li), !Pe) {
843
- Pe = !0;
844
- var r = wt(t);
845
- Pi(function() {
846
- var i = !1;
847
- try {
848
- i = zi();
849
- } finally {
850
- if (Pe = !1, t = r - wt(), !Hi())
851
- return;
852
- i ? n.run(1e3) : t > 0 ? n.run(t) : n.start();
853
- }
854
- });
855
- }
856
- }, e.prototype.schedule = function() {
857
- this.stop(), this.run();
858
- }, e.prototype.observe = function() {
859
- var t = this, n = function() {
860
- return t.observer && t.observer.observe(document.body, Vi);
861
- };
862
- document.body ? n() : ne.addEventListener("DOMContentLoaded", n);
863
- }, e.prototype.start = function() {
864
- var t = this;
865
- this.stopped && (this.stopped = !1, this.observer = new MutationObserver(this.listener), this.observe(), _t.forEach(function(n) {
866
- return ne.addEventListener(n, t.listener, !0);
867
- }));
868
- }, e.prototype.stop = function() {
869
- var t = this;
870
- this.stopped || (this.observer && this.observer.disconnect(), _t.forEach(function(n) {
871
- return ne.removeEventListener(n, t.listener, !0);
872
- }), this.stopped = !0);
873
- }, e;
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
- function e(t, n) {
880
- this.target = t, this.observedBox = n || ie.CONTENT_BOX, this.lastReportedSize = {
881
- inlineSize: 0,
882
- blockSize: 0
883
- };
884
- }
885
- return e.prototype.isActive = function() {
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
- }, e;
889
- }(), Yi = /* @__PURE__ */ function() {
890
- function e(t, n) {
891
- this.activeTargets = [], this.skippedTargets = [], this.observationTargets = [], this.observer = t, this.callback = n;
892
- }
893
- return e;
894
- }(), ve = /* @__PURE__ */ new WeakMap(), St = function(e, t) {
895
- for (var n = 0; n < e.length; n += 1)
896
- if (e[n].target === t)
897
- return n;
898
- return -1;
899
- }, ge = function() {
900
- function e() {
901
- }
902
- return e.connect = function(t, n) {
903
- var r = new Yi(t, n);
904
- ve.set(t, r);
905
- }, e.observe = function(t, n, r) {
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
- }, e.unobserve = function(t, n) {
909
- var r = ve.get(t), i = St(r.observationTargets, n), s = r.observationTargets.length === 1;
910
- i >= 0 && (s && W.splice(W.indexOf(r), 1), r.observationTargets.splice(i, 1), At(-1));
911
- }, e.disconnect = function(t) {
912
- var n = this, r = ve.get(t);
913
- r.observationTargets.slice().forEach(function(i) {
914
- return n.unobserve(t, i.target);
915
- }), r.activeTargets.splice(0, r.activeTargets.length);
916
- }, e;
917
- }(), Gi = function() {
918
- function e(t) {
919
- if (arguments.length === 0)
920
- throw new TypeError("Failed to construct 'ResizeObserver': 1 argument required, but only 0 present.");
921
- if (typeof t != "function")
922
- throw new TypeError("Failed to construct 'ResizeObserver': The callback provided as parameter 1 is not a function.");
923
- ge.connect(this, t);
924
- }
925
- return e.prototype.observe = function(t, n) {
926
- if (arguments.length === 0)
927
- throw new TypeError("Failed to execute 'observe' on 'ResizeObserver': 1 argument required, but only 0 present.");
928
- if (!mt(t))
929
- throw new TypeError("Failed to execute 'observe' on 'ResizeObserver': parameter 1 is not of type 'Element");
930
- ge.observe(this, t, n);
931
- }, e.prototype.unobserve = function(t) {
932
- if (arguments.length === 0)
933
- throw new TypeError("Failed to execute 'unobserve' on 'ResizeObserver': 1 argument required, but only 0 present.");
934
- if (!mt(t))
935
- throw new TypeError("Failed to execute 'unobserve' on 'ResizeObserver': parameter 1 is not of type 'Element");
936
- ge.unobserve(this, t);
937
- }, e.prototype.disconnect = function() {
938
- ge.disconnect(this);
939
- }, e.toString = function() {
940
- return "function ResizeObserver () { [polyfill code] }";
941
- }, e;
942
- }();
943
- const Xi = globalThis.ResizeObserver || Gi, un = {
944
- duration: void 0,
945
- margin: {
946
- top: 0,
947
- bottom: 0,
948
- left: 0,
949
- right: 0
950
- },
951
- padding: {
952
- top: 0,
953
- bottom: 0,
954
- left: 0,
955
- right: 0
956
- },
957
- sizing: re.Fit,
958
- width: void 0,
959
- height: void 0,
960
- svgDefs: void 0,
961
- ariaLabel: void 0
962
- };
963
- class se {
964
- constructor(t) {
965
- this._defaultConfig = un, this._isFirstRender = !0, this._renderAnimationFrameId = null, this._container = t;
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", 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
- }
969
- updateContainer(t) {
970
- var n;
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
- }
973
- // The `_preRender` step should be used to perform some actions before rendering.
974
- // For example, calculating scales, setting component sizes, etc ...
975
- // eslint-disable-next-line @typescript-eslint/no-empty-function
976
- _preRender() {
977
- }
978
- // The `_render` step should be used to perform the actual rendering
979
- _render(t) {
980
- const { config: n } = this;
981
- ht(this._container).attr("aria-label", n.ariaLabel), this._isFirstRender = !1;
982
- }
983
- // Warning: Some Containers (i.e. Single Container) may override this method, so if you introduce any changes here,
984
- // make sure to check that other containers didn't break after them.
985
- render(t = this.config.duration) {
986
- const n = this.config.width || this.containerWidth, r = this.config.height || this.containerHeight;
987
- this.svg.attr("width", n).attr("height", r), this._resizeObserver || this._setUpResizeObserver(), cancelAnimationFrame(this._renderAnimationFrameId), this._renderAnimationFrameId = requestAnimationFrame(() => {
988
- this._preRender(), this._render(t);
989
- });
990
- }
991
- get containerWidth() {
992
- return this.config.width ? this.element.clientWidth : this._container.clientWidth || this._container.getBoundingClientRect().width;
993
- }
994
- get containerHeight() {
995
- return this.config.height ? this.element.clientHeight : this._container.clientHeight || this._container.getBoundingClientRect().height || se.DEFAULT_CONTAINER_HEIGHT;
996
- }
997
- get width() {
998
- return Y(this.containerWidth - this.config.margin.left - this.config.margin.right, 0, Number.POSITIVE_INFINITY);
999
- }
1000
- get height() {
1001
- return Y(this.containerHeight - this.config.margin.top - this.config.margin.bottom, 0, Number.POSITIVE_INFINITY);
1002
- }
1003
- _removeAllChildren() {
1004
- for (; this.element.firstChild; )
1005
- this.element.removeChild(this.element.firstChild);
1006
- }
1007
- _onResize() {
1008
- const { config: t } = this;
1009
- (t.sizing === re.Fit || t.sizing === re.FitWidth) && this.render(0);
1010
- }
1011
- _setUpResizeObserver() {
1012
- if (this._resizeObserver)
1013
- return;
1014
- const t = this._container.getBoundingClientRect();
1015
- this._containerSize = { width: t.width, height: t.height }, this._resizeObserver = new Xi((n, r) => {
1016
- cancelAnimationFrame(this._resizeObserverAnimationFrameId), this._resizeObserverAnimationFrameId = requestAnimationFrame(() => {
1017
- const i = this._container.getBoundingClientRect(), s = { width: i.width, height: i.height };
1018
- !Ye(this._containerSize, s) && s.width && s.height && (this._containerSize = s, this._onResize());
1019
- });
1020
- }), this._resizeObserver.observe(this._container);
1021
- }
1022
- destroy() {
1023
- var t;
1024
- cancelAnimationFrame(this._renderAnimationFrameId), cancelAnimationFrame(this._resizeObserverAnimationFrameId), (t = this._resizeObserver) === null || t === void 0 || t.disconnect(), this.svg.remove();
1025
- }
1026
- }
1027
- se.DEFAULT_CONTAINER_HEIGHT = 300;
1028
- function Zi(e) {
1029
- if (e.sheet)
1030
- return e.sheet;
1031
- for (var t = 0; t < document.styleSheets.length; t++)
1032
- if (document.styleSheets[t].ownerNode === e)
1033
- return document.styleSheets[t];
1034
- }
1035
- function Ki(e) {
1036
- var t = document.createElement("style");
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
- }
1039
- var Ji = /* @__PURE__ */ function() {
1040
- function e(n) {
1041
- var r = this;
1042
- this._insertTag = function(i) {
1043
- var s;
1044
- r.tags.length === 0 ? r.insertionPoint ? s = r.insertionPoint.nextSibling : r.prepend ? s = r.container.firstChild : s = r.before : s = r.tags[r.tags.length - 1].nextSibling, r.container.insertBefore(i, s), r.tags.push(i);
1045
- }, this.isSpeedy = n.speedy === void 0 ? !0 : n.speedy, this.tags = [], this.ctr = 0, this.nonce = n.nonce, this.key = n.key, this.container = n.container, this.prepend = n.prepend, this.insertionPoint = n.insertionPoint, this.before = null;
1046
- }
1047
- var t = e.prototype;
1048
- return t.hydrate = function(r) {
1049
- r.forEach(this._insertTag);
1050
- }, t.insert = function(r) {
1051
- this.ctr % (this.isSpeedy ? 65e3 : 1) === 0 && this._insertTag(Ki(this));
1052
- var i = this.tags[this.tags.length - 1];
1053
- if (this.isSpeedy) {
1054
- var s = Zi(i);
1055
- try {
1056
- s.insertRule(r, s.cssRules.length);
1057
- } catch {
1058
- }
1059
- } else
1060
- i.appendChild(document.createTextNode(r));
1061
- this.ctr++;
1062
- }, t.flush = function() {
1063
- this.tags.forEach(function(r) {
1064
- var i;
1065
- return (i = r.parentNode) == null ? void 0 : i.removeChild(r);
1066
- }), this.tags = [], this.ctr = 0;
1067
- }, e;
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
- return C(e, 0) ^ 45 ? (((t << 2 ^ C(e, 0)) << 2 ^ C(e, 1)) << 2 ^ C(e, 2)) << 2 ^ C(e, 3) : 0;
1071
- }
1072
- function pn(e) {
1073
- return e.trim();
1074
- }
1075
- function rs(e, t) {
1076
- return (e = t.exec(e)) ? e[0] : e;
1077
- }
1078
- function b(e, t, n) {
1079
- return e.replace(t, n);
1080
- }
1081
- function Xe(e, t) {
1082
- return e.indexOf(t);
1083
- }
1084
- function C(e, t) {
1085
- return e.charCodeAt(t) | 0;
1086
- }
1087
- function ae(e, t, n) {
1088
- return e.slice(t, n);
1089
- }
1090
- function z(e) {
1091
- return e.length;
1092
- }
1093
- function it(e) {
1094
- return e.length;
1095
- }
1096
- function me(e, t) {
1097
- return t.push(e), e;
1098
- }
1099
- function is(e, t) {
1100
- return e.map(t).join("");
1101
- }
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
- }
1106
- function ee(e, t) {
1107
- return ts(ze("", null, null, "", null, null, 0), e, { length: -e.length }, t);
1108
- }
1109
- function ss() {
1110
- return A;
1111
- }
1112
- function as() {
1113
- return A = N > 0 ? C(J, --N) : 0, K--, A === 10 && (K = 1, Me--), A;
1114
- }
1115
- function k() {
1116
- return A = N < vn ? C(J, N++) : 0, K++, A === 10 && (K = 1, Me++), A;
1117
- }
1118
- function B() {
1119
- return C(J, N);
1120
- }
1121
- function _e() {
1122
- return N;
1123
- }
1124
- function le(e, t) {
1125
- return ae(J, e, t);
1126
- }
1127
- function oe(e) {
1128
- switch (e) {
1129
- // \0 \t \n \r \s whitespace token
1130
- case 0:
1131
- case 9:
1132
- case 10:
1133
- case 13:
1134
- case 32:
1135
- return 5;
1136
- // ! + , / > @ ~ isolate token
1137
- case 33:
1138
- case 43:
1139
- case 44:
1140
- case 47:
1141
- case 62:
1142
- case 64:
1143
- case 126:
1144
- // ; { } breakpoint token
1145
- case 59:
1146
- case 123:
1147
- case 125:
1148
- return 4;
1149
- // : accompanied token
1150
- case 58:
1151
- return 3;
1152
- // " ' ( [ opening delimit token
1153
- case 34:
1154
- case 39:
1155
- case 40:
1156
- case 91:
1157
- return 2;
1158
- // ) ] closing delimit token
1159
- case 41:
1160
- case 93:
1161
- return 1;
1162
- }
1163
- return 0;
1164
- }
1165
- function gn(e) {
1166
- return Me = K = 1, vn = z(J = e), N = 0, [];
1167
- }
1168
- function mn(e) {
1169
- return J = "", e;
1170
- }
1171
- function we(e) {
1172
- return pn(le(N - 1, Ze(e === 91 ? e + 2 : e === 40 ? e + 1 : e)));
1173
- }
1174
- function os(e) {
1175
- for (; (A = B()) && A < 33; )
1176
- k();
1177
- return oe(e) > 2 || oe(A) > 3 ? "" : " ";
1178
- }
1179
- function cs(e, t) {
1180
- for (; --t && k() && !(A < 48 || A > 102 || A > 57 && A < 65 || A > 70 && A < 97); )
1181
- ;
1182
- return le(e, _e() + (t < 6 && B() == 32 && k() == 32));
1183
- }
1184
- function Ze(e) {
1185
- for (; k(); )
1186
- switch (A) {
1187
- // ] ) " '
1188
- case e:
1189
- return N;
1190
- // " '
1191
- case 34:
1192
- case 39:
1193
- e !== 34 && e !== 39 && Ze(A);
1194
- break;
1195
- // (
1196
- case 40:
1197
- e === 41 && Ze(e);
1198
- break;
1199
- // \
1200
- case 92:
1201
- k();
1202
- break;
1203
- }
1204
- return N;
1205
- }
1206
- function fs(e, t) {
1207
- for (; k() && e + A !== 57; )
1208
- if (e + A === 84 && B() === 47)
1209
- break;
1210
- return "/*" + le(t, N - 1) + "*" + Ie(e === 47 ? e : k());
1211
- }
1212
- function ls(e) {
1213
- for (; !oe(B()); )
1214
- k();
1215
- return le(e, N);
1216
- }
1217
- function us(e) {
1218
- return mn(Ae("", null, null, null, [""], e = gn(e), 0, [0], e));
1219
- }
1220
- function Ae(e, t, n, r, i, s, a, c, o) {
1221
- for (var f = 0, l = 0, u = a, p = 0, d = 0, v = 0, h = 1, g = 1, m = 1, _ = 0, w = "", $ = i, S = s, R = r, x = w; g; )
1222
- switch (v = _, _ = k()) {
1223
- // (
1224
- case 40:
1225
- if (v != 108 && C(x, u - 1) == 58) {
1226
- Xe(x += b(we(_), "&", "&\f"), "&\f") != -1 && (m = -1);
1227
- break;
1228
- }
1229
- // " ' [
1230
- case 34:
1231
- case 39:
1232
- case 91:
1233
- x += we(_);
1234
- break;
1235
- // \t \n \r \s
1236
- case 9:
1237
- case 10:
1238
- case 13:
1239
- case 32:
1240
- x += os(v);
1241
- break;
1242
- // \
1243
- case 92:
1244
- x += cs(_e() - 1, 7);
1245
- continue;
1246
- // /
1247
- case 47:
1248
- switch (B()) {
1249
- case 42:
1250
- case 47:
1251
- me(hs(fs(k(), _e()), t, n), o);
1252
- break;
1253
- default:
1254
- x += "/";
1255
- }
1256
- break;
1257
- // {
1258
- case 123 * h:
1259
- c[f++] = z(x) * m;
1260
- // } ; \0
1261
- case 125 * h:
1262
- case 59:
1263
- case 0:
1264
- switch (_) {
1265
- // \0 }
1266
- case 0:
1267
- case 125:
1268
- g = 0;
1269
- // ;
1270
- case 59 + l:
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);
1272
- break;
1273
- // @ ;
1274
- case 59:
1275
- x += ";";
1276
- // { rule/at-rule
1277
- default:
1278
- if (me(R = Ct(x, t, n, f, l, i, c, w, $ = [], S = [], u), s), _ === 123)
1279
- if (l === 0)
1280
- Ae(x, t, R, R, $, s, u, c, S);
1281
- else
1282
- switch (p === 99 && C(x, 3) === 110 ? 100 : p) {
1283
- // d l m s
1284
- case 100:
1285
- case 108:
1286
- case 109:
1287
- case 115:
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);
1289
- break;
1290
- default:
1291
- Ae(x, R, R, R, [""], S, 0, c, S);
1292
- }
1293
- }
1294
- f = l = d = 0, h = m = 1, w = x = "", u = a;
1295
- break;
1296
- // :
1297
- case 58:
1298
- u = 1 + z(x), d = v;
1299
- default:
1300
- if (h < 1) {
1301
- if (_ == 123)
1302
- --h;
1303
- else if (_ == 125 && h++ == 0 && as() == 125)
1304
- continue;
1305
- }
1306
- switch (x += Ie(_), _ * h) {
1307
- // &
1308
- case 38:
1309
- m = l > 0 ? 1 : (x += "\f", -1);
1310
- break;
1311
- // ,
1312
- case 44:
1313
- c[f++] = (z(x) - 1) * m, m = 1;
1314
- break;
1315
- // @
1316
- case 64:
1317
- B() === 45 && (x += we(k())), p = B(), l = u = z(w = x += ls(_e())), _++;
1318
- break;
1319
- // -
1320
- case 45:
1321
- v === 45 && z(x) == 2 && (h = 0);
1322
- }
1323
- }
1324
- return s;
1325
- }
1326
- function Ct(e, t, n, r, i, s, a, c, o, f, l) {
1327
- for (var u = i - 1, p = i === 0 ? s : [""], d = it(p), v = 0, h = 0, g = 0; v < r; ++v)
1328
- for (var m = 0, _ = ae(e, u + 1, u = es(h = a[v])), w = e; m < d; ++m)
1329
- (w = 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);
1331
- }
1332
- function hs(e, t, n) {
1333
- return ze(e, t, n, hn, Ie(ss()), ae(e, 2, -2), 0);
1334
- }
1335
- function $t(e, t, n, r) {
1336
- return ze(e, t, n, rt, ae(e, 0, r), ae(e, r + 1, -1), r);
1337
- }
1338
- function X(e, t) {
1339
- for (var n = "", r = it(e), i = 0; i < r; i++)
1340
- n += t(e[i], i, e, t) || "";
1341
- return n;
1342
- }
1343
- function ds(e, t, n, r) {
1344
- switch (e.type) {
1345
- case ji:
1346
- if (e.children.length) break;
1347
- case Qi:
1348
- case rt:
1349
- return e.return = e.return || e.value;
1350
- case hn:
1351
- return "";
1352
- case dn:
1353
- return e.return = e.value + "{" + X(e.children, r) + "}";
1354
- case nt:
1355
- e.value = e.props.join(",");
1356
- }
1357
- return z(n = X(e.children, r)) ? e.return = e.value + "{" + n + "}" : "";
1358
- }
1359
- function ps(e) {
1360
- var t = it(e);
1361
- return function(n, r, i, s) {
1362
- for (var a = "", c = 0; c < t; c++)
1363
- a += e[c](n, r, i, s) || "";
1364
- return a;
1365
- };
1366
- }
1367
- function vs(e) {
1368
- return function(t) {
1369
- t.root || (t = t.return) && e(t);
1370
- };
1371
- }
1372
- function gs(e) {
1373
- var t = /* @__PURE__ */ Object.create(null);
1374
- return function(n) {
1375
- return t[n] === void 0 && (t[n] = e(n)), t[n];
1376
- };
1377
- }
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); )
1380
- k();
1381
- return le(t, N);
1382
- }, xs = function(t, n) {
1383
- var r = -1, i = 44;
1384
- do
1385
- switch (oe(i)) {
1386
- case 0:
1387
- i === 38 && B() === 12 && (n[r] = 1), t[r] += ms(N - 1, n, r);
1388
- break;
1389
- case 2:
1390
- t[r] += we(i);
1391
- break;
1392
- case 4:
1393
- if (i === 44) {
1394
- t[++r] = B() === 58 ? "&\f" : "", n[r] = t[r].length;
1395
- break;
1396
- }
1397
- // fallthrough
1398
- default:
1399
- t[r] += Ie(i);
1400
- }
1401
- while (i = k());
1402
- return t;
1403
- }, ys = function(t, n) {
1404
- return mn(xs(gn(t), n));
1405
- }, Et = /* @__PURE__ */ new WeakMap(), bs = function(t) {
1406
- if (!(t.type !== "rule" || !t.parent || // positive .length indicates that this rule contains pseudo
1407
- // negative .length indicates that this rule has been already prefixed
1408
- t.length < 1)) {
1409
- for (var n = t.value, r = t.parent, i = t.column === r.column && t.line === r.line; r.type !== "rule"; )
1410
- if (r = r.parent, !r) return;
1411
- if (!(t.props.length === 1 && n.charCodeAt(0) !== 58 && !Et.get(r)) && !i) {
1412
- Et.set(t, !0);
1413
- for (var s = [], a = ys(n, s), c = r.props, o = 0, f = 0; o < a.length; o++)
1414
- for (var l = 0; l < c.length; l++, f++)
1415
- t.props[f] = s[o] ? a[o].replace(/&\f/g, c[l]) : c[l] + " " + a[o];
1416
- }
1417
- }
1418
- }, _s = function(t) {
1419
- if (t.type === "decl") {
1420
- var n = t.value;
1421
- // charcode for l
1422
- n.charCodeAt(0) === 108 && // charcode for b
1423
- n.charCodeAt(2) === 98 && (t.return = "", t.value = "");
1424
- }
1425
- };
1426
- function xn(e, t) {
1427
- switch (ns(e, t)) {
1428
- // color-adjust
1429
- case 5103:
1430
- return y + "print-" + e + e;
1431
- // animation, animation-(delay|direction|duration|fill-mode|iteration-count|name|play-state|timing-function)
1432
- case 5737:
1433
- case 4201:
1434
- case 3177:
1435
- case 3433:
1436
- case 1641:
1437
- case 4457:
1438
- case 2921:
1439
- // text-decoration, filter, clip-path, backface-visibility, column, box-decoration-break
1440
- case 5572:
1441
- case 6356:
1442
- case 5844:
1443
- case 3191:
1444
- case 6645:
1445
- case 3005:
1446
- // mask, mask-image, mask-(mode|clip|size), mask-(repeat|origin), mask-position, mask-composite,
1447
- case 6391:
1448
- case 5879:
1449
- case 5623:
1450
- case 6135:
1451
- case 4599:
1452
- case 4855:
1453
- // background-clip, columns, column-(count|fill|gap|rule|rule-color|rule-style|rule-width|span|width)
1454
- case 4215:
1455
- case 6389:
1456
- case 5109:
1457
- case 5365:
1458
- case 5621:
1459
- case 3829:
1460
- return y + e + e;
1461
- // appearance, user-select, transform, hyphens, text-size-adjust
1462
- case 5349:
1463
- case 4246:
1464
- case 4810:
1465
- case 6968:
1466
- case 2756:
1467
- return y + e + Ee + e + E + e + e;
1468
- // flex, flex-direction
1469
- case 6828:
1470
- case 4268:
1471
- return y + e + E + e + e;
1472
- // order
1473
- case 6165:
1474
- return y + e + E + "flex-" + e + e;
1475
- // align-items
1476
- case 5187:
1477
- return y + e + b(e, /(\w+).+(:[^]+)/, y + "box-$1$2" + E + "flex-$1$2") + e;
1478
- // align-self
1479
- case 5443:
1480
- return y + e + E + "flex-item-" + b(e, /flex-|-self/, "") + e;
1481
- // align-content
1482
- case 4675:
1483
- return y + e + E + "flex-line-pack" + b(e, /align-content|flex-|-self/, "") + e;
1484
- // flex-shrink
1485
- case 5548:
1486
- return y + e + E + b(e, "shrink", "negative") + e;
1487
- // flex-basis
1488
- case 5292:
1489
- return y + e + E + b(e, "basis", "preferred-size") + e;
1490
- // flex-grow
1491
- case 6060:
1492
- return y + "box-" + b(e, "-grow", "") + y + e + E + b(e, "grow", "positive") + e;
1493
- // transition
1494
- case 4554:
1495
- return y + b(e, /([^-])(transform)/g, "$1" + y + "$2") + e;
1496
- // cursor
1497
- case 6187:
1498
- return b(b(b(e, /(zoom-|grab)/, y + "$1"), /(image-set)/, y + "$1"), e, "") + e;
1499
- // background, background-image
1500
- case 5495:
1501
- case 3959:
1502
- return b(e, /(image-set\([^]*)/, y + "$1$`$1");
1503
- // justify-content
1504
- case 4968:
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)
1507
- case 4095:
1508
- case 3583:
1509
- case 4068:
1510
- case 2532:
1511
- return b(e, /(.+)-inline(.+)/, y + "$1$2") + e;
1512
- // (min|max)?(width|height|inline-size|block-size)
1513
- case 8116:
1514
- case 7059:
1515
- case 5753:
1516
- case 5535:
1517
- case 5445:
1518
- case 5701:
1519
- case 4933:
1520
- case 4677:
1521
- case 5533:
1522
- case 5789:
1523
- case 5021:
1524
- case 4765:
1525
- if (z(e) - 1 - t > 6) switch (C(e, t + 1)) {
1526
- // (m)ax-content, (m)in-content
1527
- case 109:
1528
- if (C(e, t + 4) !== 45) break;
1529
- // (f)ill-available, (f)it-content
1530
- case 102:
1531
- return b(e, /(.+:)(.+)-([^]+)/, "$1" + y + "$2-$3$1" + Ee + (C(e, t + 3) == 108 ? "$3" : "$2-$3")) + e;
1532
- // (s)tretch
1533
- case 115:
1534
- return ~Xe(e, "stretch") ? xn(b(e, "stretch", "fill-available"), t) + e : e;
1535
- }
1536
- break;
1537
- // position: sticky
1538
- case 4949:
1539
- if (C(e, t + 1) !== 115) break;
1540
- // display: (flex|inline-flex)
1541
- case 6444:
1542
- switch (C(e, z(e) - 3 - (~Xe(e, "!important") && 10))) {
1543
- // stic(k)y
1544
- case 107:
1545
- return b(e, ":", ":" + y) + e;
1546
- // (inline-)?fl(e)x
1547
- case 101:
1548
- return b(e, /(.+:)([^;!]+)(;|!.+)?/, "$1" + y + (C(e, 14) === 45 ? "inline-" : "") + "box$3$1" + y + "$2$3$1" + E + "$2box$3") + e;
1549
- }
1550
- break;
1551
- // writing-mode
1552
- case 5936:
1553
- switch (C(e, t + 11)) {
1554
- // vertical-l(r)
1555
- case 114:
1556
- return y + e + E + b(e, /[svh]\w+-[tblr]{2}/, "tb") + e;
1557
- // vertical-r(l)
1558
- case 108:
1559
- return y + e + E + b(e, /[svh]\w+-[tblr]{2}/, "tb-rl") + e;
1560
- // horizontal(-)tb
1561
- case 45:
1562
- return y + e + E + b(e, /[svh]\w+-[tblr]{2}/, "lr") + e;
1563
- }
1564
- return y + e + E + e + e;
1565
- }
1566
- return e;
1567
- }
1568
- var ws = function(t, n, r, i) {
1569
- if (t.length > -1 && !t.return) switch (t.type) {
1570
- case rt:
1571
- t.return = xn(t.value, t.length);
1572
- break;
1573
- case dn:
1574
- return X([ee(t, {
1575
- value: b(t.value, "@", "@" + y)
1576
- })], i);
1577
- case nt:
1578
- if (t.length) return is(t.props, function(s) {
1579
- switch (rs(s, /(::plac\w+|:read-\w+)/)) {
1580
- // :read-(only|write)
1581
- case ":read-only":
1582
- case ":read-write":
1583
- return X([ee(t, {
1584
- props: [b(s, /:(read-\w+)/, ":" + Ee + "$1")]
1585
- })], i);
1586
- // :placeholder
1587
- case "::placeholder":
1588
- return X([ee(t, {
1589
- props: [b(s, /:(plac\w+)/, ":" + y + "input-$1")]
1590
- }), ee(t, {
1591
- props: [b(s, /:(plac\w+)/, ":" + Ee + "$1")]
1592
- }), ee(t, {
1593
- props: [b(s, /:(plac\w+)/, E + "input-$1")]
1594
- })], i);
1595
- }
1596
- return "";
1597
- });
1598
- }
1599
- }, As = [ws], Ss = function(t) {
1600
- var n = t.key;
1601
- if (n === "css") {
1602
- var r = document.querySelectorAll("style[data-emotion]:not([data-s])");
1603
- Array.prototype.forEach.call(r, function(h) {
1604
- var g = h.getAttribute("data-emotion");
1605
- g.indexOf(" ") !== -1 && (document.head.appendChild(h), h.setAttribute("data-s", ""));
1606
- });
1607
- }
1608
- var i = t.stylisPlugins || As, s = {}, a, c = [];
1609
- a = t.container || document.head, Array.prototype.forEach.call(
1610
- // this means we will ignore elements which don't have a space in them which
1611
- // means that the style elements we're looking at are only Emotion 11 server-rendered style elements
1612
- document.querySelectorAll('style[data-emotion^="' + n + ' "]'),
1613
- function(h) {
1614
- for (var g = h.getAttribute("data-emotion").split(" "), m = 1; m < g.length; m++)
1615
- s[g[m]] = !0;
1616
- c.push(h);
1617
- }
1618
- );
1619
- var o, f = [bs, _s];
1620
- {
1621
- var l, u = [ds, vs(function(h) {
1622
- l.insert(h);
1623
- })], p = ps(f.concat(i, u)), d = function(g) {
1624
- return X(us(g), p);
1625
- };
1626
- o = function(g, m, _, w) {
1627
- l = _, d(g ? g + "{" + m.styles + "}" : m.styles), w && (v.inserted[m.name] = !0);
1628
- };
1629
- }
1630
- var v = {
1631
- key: n,
1632
- sheet: new Ji({
1633
- key: n,
1634
- container: a,
1635
- nonce: t.nonce,
1636
- speedy: t.speedy,
1637
- prepend: t.prepend,
1638
- insertionPoint: t.insertionPoint
1639
- }),
1640
- nonce: t.nonce,
1641
- inserted: s,
1642
- registered: {},
1643
- insert: o
1644
- };
1645
- return v.sheet.hydrate(c), v;
1646
- };
1647
- function Cs(e) {
1648
- for (var t = 0, n, r = 0, i = e.length; i >= 4; ++r, i -= 4)
1649
- n = e.charCodeAt(r) & 255 | (e.charCodeAt(++r) & 255) << 8 | (e.charCodeAt(++r) & 255) << 16 | (e.charCodeAt(++r) & 255) << 24, n = /* Math.imul(k, m): */
1650
- (n & 65535) * 1540483477 + ((n >>> 16) * 59797 << 16), n ^= /* k >>> r: */
1651
- n >>> 24, t = /* Math.imul(k, m): */
1652
- (n & 65535) * 1540483477 + ((n >>> 16) * 59797 << 16) ^ /* Math.imul(h, m): */
1653
- (t & 65535) * 1540483477 + ((t >>> 16) * 59797 << 16);
1654
- switch (i) {
1655
- case 3:
1656
- t ^= (e.charCodeAt(r + 2) & 255) << 16;
1657
- case 2:
1658
- t ^= (e.charCodeAt(r + 1) & 255) << 8;
1659
- case 1:
1660
- t ^= e.charCodeAt(r) & 255, t = /* Math.imul(h, m): */
1661
- (t & 65535) * 1540483477 + ((t >>> 16) * 59797 << 16);
1662
- }
1663
- return t ^= t >>> 13, t = /* Math.imul(h, m): */
1664
- (t & 65535) * 1540483477 + ((t >>> 16) * 59797 << 16), ((t ^ t >>> 15) >>> 0).toString(36);
1665
- }
1666
- var $s = {
1667
- animationIterationCount: 1,
1668
- aspectRatio: 1,
1669
- borderImageOutset: 1,
1670
- borderImageSlice: 1,
1671
- borderImageWidth: 1,
1672
- boxFlex: 1,
1673
- boxFlexGroup: 1,
1674
- boxOrdinalGroup: 1,
1675
- columnCount: 1,
1676
- columns: 1,
1677
- flex: 1,
1678
- flexGrow: 1,
1679
- flexPositive: 1,
1680
- flexShrink: 1,
1681
- flexNegative: 1,
1682
- flexOrder: 1,
1683
- gridRow: 1,
1684
- gridRowEnd: 1,
1685
- gridRowSpan: 1,
1686
- gridRowStart: 1,
1687
- gridColumn: 1,
1688
- gridColumnEnd: 1,
1689
- gridColumnSpan: 1,
1690
- gridColumnStart: 1,
1691
- msGridRow: 1,
1692
- msGridRowSpan: 1,
1693
- msGridColumn: 1,
1694
- msGridColumnSpan: 1,
1695
- fontWeight: 1,
1696
- lineHeight: 1,
1697
- opacity: 1,
1698
- order: 1,
1699
- orphans: 1,
1700
- scale: 1,
1701
- tabSize: 1,
1702
- widows: 1,
1703
- zIndex: 1,
1704
- zoom: 1,
1705
- WebkitLineClamp: 1,
1706
- // SVG-related properties
1707
- fillOpacity: 1,
1708
- floodOpacity: 1,
1709
- stopOpacity: 1,
1710
- strokeDasharray: 1,
1711
- strokeDashoffset: 1,
1712
- strokeMiterlimit: 1,
1713
- strokeOpacity: 1,
1714
- strokeWidth: 1
1715
- }, Es = /[A-Z]|^ms/g, Rs = /_EMO_([^_]+?)_([^]*?)_EMO_/g, yn = function(t) {
1716
- return t.charCodeAt(1) === 45;
1717
- }, Rt = function(t) {
1718
- return t != null && typeof t != "boolean";
1719
- }, He = /* @__PURE__ */ gs(function(e) {
1720
- return yn(e) ? e : e.replace(Es, "-$&").toLowerCase();
1721
- }), Ot = function(t, n) {
1722
- switch (t) {
1723
- case "animation":
1724
- case "animationName":
1725
- if (typeof n == "string")
1726
- return n.replace(Rs, function(r, i, s) {
1727
- return H = {
1728
- name: i,
1729
- styles: s,
1730
- next: H
1731
- }, i;
1732
- });
1733
- }
1734
- return $s[t] !== 1 && !yn(t) && typeof n == "number" && n !== 0 ? n + "px" : n;
1735
- };
1736
- function Re(e, t, n) {
1737
- if (n == null)
1738
- return "";
1739
- var r = n;
1740
- if (r.__emotion_styles !== void 0)
1741
- return r;
1742
- switch (typeof n) {
1743
- case "boolean":
1744
- return "";
1745
- case "object": {
1746
- var i = n;
1747
- if (i.anim === 1)
1748
- return H = {
1749
- name: i.name,
1750
- styles: i.styles,
1751
- next: H
1752
- }, i.name;
1753
- var s = n;
1754
- if (s.styles !== void 0) {
1755
- var a = s.next;
1756
- if (a !== void 0)
1757
- for (; a !== void 0; )
1758
- H = {
1759
- name: a.name,
1760
- styles: a.styles,
1761
- next: H
1762
- }, a = a.next;
1763
- var c = s.styles + ";";
1764
- return c;
1765
- }
1766
- return Os(e, t, n);
1767
- }
1768
- }
1769
- var o = n;
1770
- if (t == null)
1771
- return o;
1772
- var f = t[o];
1773
- return f !== void 0 ? f : o;
1774
- }
1775
- function Os(e, t, n) {
1776
- var r = "";
1777
- if (Array.isArray(n))
1778
- for (var i = 0; i < n.length; i++)
1779
- r += Re(e, t, n[i]) + ";";
1780
- else
1781
- for (var s in n) {
1782
- var a = n[s];
1783
- if (typeof a != "object") {
1784
- var c = a;
1785
- t != null && t[c] !== void 0 ? r += s + "{" + t[c] + "}" : Rt(c) && (r += He(s) + ":" + Ot(s, c) + ";");
1786
- } else if (Array.isArray(a) && typeof a[0] == "string" && (t == null || t[a[0]] === void 0))
1787
- for (var o = 0; o < a.length; o++)
1788
- Rt(a[o]) && (r += He(s) + ":" + Ot(s, a[o]) + ";");
1789
- else {
1790
- var f = Re(e, t, a);
1791
- switch (s) {
1792
- case "animation":
1793
- case "animationName": {
1794
- r += He(s) + ":" + f + ";";
1795
- break;
1796
- }
1797
- default:
1798
- r += s + "{" + f + "}";
1799
- }
1800
- }
1801
- }
1802
- return r;
1803
- }
1804
- var Nt = /label:\s*([^\s;{]+)\s*(;|$)/g, H;
1805
- function Le(e, t, n) {
1806
- if (e.length === 1 && typeof e[0] == "object" && e[0] !== null && e[0].styles !== void 0)
1807
- return e[0];
1808
- var r = !0, i = "";
1809
- H = void 0;
1810
- var s = e[0];
1811
- if (s == null || s.raw === void 0)
1812
- r = !1, i += Re(n, t, s);
1813
- else {
1814
- var a = s;
1815
- i += a[0];
1816
- }
1817
- for (var c = 1; c < e.length; c++)
1818
- if (i += Re(n, t, e[c]), r) {
1819
- var o = s;
1820
- i += o[c];
1821
- }
1822
- Nt.lastIndex = 0;
1823
- for (var f = "", l; (l = Nt.exec(i)) !== null; )
1824
- f += "-" + l[1];
1825
- var u = Cs(i) + f;
1826
- return {
1827
- name: u,
1828
- styles: i,
1829
- next: H
1830
- };
1831
- }
1832
- function bn(e, t, n) {
1833
- var r = "";
1834
- return n.split(" ").forEach(function(i) {
1835
- e[i] !== void 0 ? t.push(e[i] + ";") : i && (r += i + " ");
1836
- }), r;
1837
- }
1838
- var Ns = function(t, n, r) {
1839
- var i = t.key + "-" + n.name;
1840
- // we only need to add the styles to the registered cache if the
1841
- // class name could be used further down
1842
- // the tree but if it's a string tag, we know it won't
1843
- // so we don't have to add it to registered cache.
1844
- // this improves memory usage since we can avoid storing the whole style string
1845
- t.registered[i] === void 0 && (t.registered[i] = n.styles);
1846
- }, Ts = function(t, n, r) {
1847
- Ns(t, n);
1848
- var i = t.key + "-" + n.name;
1849
- if (t.inserted[n.name] === void 0) {
1850
- var s = n;
1851
- do
1852
- t.insert(n === s ? "." + i : "", s, t.sheet, !0), s = s.next;
1853
- while (s !== void 0);
1854
- }
1855
- };
1856
- function Tt(e, t) {
1857
- if (e.inserted[t.name] === void 0)
1858
- return e.insert("", t, e.sheet, !0);
1859
- }
1860
- function kt(e, t, n) {
1861
- var r = [], i = bn(e, r, n);
1862
- return r.length < 2 ? n : i + t(r);
1863
- }
1864
- var ks = function(t) {
1865
- var n = Ss(t);
1866
- n.sheet.speedy = function(c) {
1867
- this.isSpeedy = c;
1868
- }, n.compat = !0;
1869
- var r = function() {
1870
- for (var o = arguments.length, f = new Array(o), l = 0; l < o; l++)
1871
- f[l] = arguments[l];
1872
- var u = Le(f, n.registered, void 0);
1873
- return Ts(n, u), n.key + "-" + u.name;
1874
- }, i = function() {
1875
- for (var o = arguments.length, f = new Array(o), l = 0; l < o; l++)
1876
- f[l] = arguments[l];
1877
- var u = Le(f, n.registered), p = "animation-" + u.name;
1878
- return Tt(n, {
1879
- name: u.name,
1880
- styles: "@keyframes " + p + "{" + u.styles + "}"
1881
- }), p;
1882
- }, s = function() {
1883
- for (var o = arguments.length, f = new Array(o), l = 0; l < o; l++)
1884
- f[l] = arguments[l];
1885
- var u = Le(f, n.registered);
1886
- Tt(n, u);
1887
- }, a = function() {
1888
- for (var o = arguments.length, f = new Array(o), l = 0; l < o; l++)
1889
- f[l] = arguments[l];
1890
- return kt(n.registered, r, Ds(f));
1891
- };
1892
- return {
1893
- css: r,
1894
- cx: a,
1895
- injectGlobal: s,
1896
- keyframes: i,
1897
- hydrate: function(o) {
1898
- o.forEach(function(f) {
1899
- n.inserted[f] = !0;
1900
- });
1901
- },
1902
- flush: function() {
1903
- n.registered = {}, n.inserted = {}, n.sheet.flush();
1904
- },
1905
- sheet: n.sheet,
1906
- cache: n,
1907
- getRegisteredStyles: bn.bind(null, n.registered),
1908
- merge: kt.bind(null, n.registered, r)
1909
- };
1910
- }, Ds = function e(t) {
1911
- for (var n = "", r = 0; r < t.length; r++) {
1912
- var i = t[r];
1913
- if (i != null) {
1914
- var s = void 0;
1915
- switch (typeof i) {
1916
- case "boolean":
1917
- break;
1918
- case "object": {
1919
- if (Array.isArray(i))
1920
- s = e(i);
1921
- else {
1922
- s = "";
1923
- for (var a in i)
1924
- i[a] && a && (s && (s += " "), s += a);
1925
- }
1926
- break;
1927
- }
1928
- default:
1929
- s = i;
1930
- }
1931
- s && (n && (n += " "), n += s);
1932
- }
1933
- }
1934
- return n;
1935
- }, _n = ks({
1936
- key: "css"
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;
2001
- }
2002
- return We;
2003
- }
2004
- Bs();
2005
- function Fs() {
2006
- const e = () => Math.floor((1 + crypto.getRandomValues(new Uint32Array(1))[0]) * 65536).toString(16).substring(1);
2007
- return `${e() + e()}-${e()}-${e()}-${e()}-${e()}${e()}${e()}`;
2008
- }
2009
- function st(e, t, n) {
2010
- e.prototype = t.prototype = n, n.constructor = e;
2011
- }
2012
- function wn(e, t) {
2013
- var n = Object.create(e.prototype);
2014
- for (var r in t) n[r] = t[r];
2015
- return n;
2016
- }
2017
- function ue() {
2018
- }
2019
- var ce = 0.7, Oe = 1 / ce, Z = "\\s*([+-]?\\d+)\\s*", fe = "\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*", F = "\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*", Ps = /^#([0-9a-f]{3,8})$/, 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 = {
2020
- aliceblue: 15792383,
2021
- antiquewhite: 16444375,
2022
- aqua: 65535,
2023
- aquamarine: 8388564,
2024
- azure: 15794175,
2025
- beige: 16119260,
2026
- bisque: 16770244,
2027
- black: 0,
2028
- blanchedalmond: 16772045,
2029
- blue: 255,
2030
- blueviolet: 9055202,
2031
- brown: 10824234,
2032
- burlywood: 14596231,
2033
- cadetblue: 6266528,
2034
- chartreuse: 8388352,
2035
- chocolate: 13789470,
2036
- coral: 16744272,
2037
- cornflowerblue: 6591981,
2038
- cornsilk: 16775388,
2039
- crimson: 14423100,
2040
- cyan: 65535,
2041
- darkblue: 139,
2042
- darkcyan: 35723,
2043
- darkgoldenrod: 12092939,
2044
- darkgray: 11119017,
2045
- darkgreen: 25600,
2046
- darkgrey: 11119017,
2047
- darkkhaki: 12433259,
2048
- darkmagenta: 9109643,
2049
- darkolivegreen: 5597999,
2050
- darkorange: 16747520,
2051
- darkorchid: 10040012,
2052
- darkred: 9109504,
2053
- darksalmon: 15308410,
2054
- darkseagreen: 9419919,
2055
- darkslateblue: 4734347,
2056
- darkslategray: 3100495,
2057
- darkslategrey: 3100495,
2058
- darkturquoise: 52945,
2059
- darkviolet: 9699539,
2060
- deeppink: 16716947,
2061
- deepskyblue: 49151,
2062
- dimgray: 6908265,
2063
- dimgrey: 6908265,
2064
- dodgerblue: 2003199,
2065
- firebrick: 11674146,
2066
- floralwhite: 16775920,
2067
- forestgreen: 2263842,
2068
- fuchsia: 16711935,
2069
- gainsboro: 14474460,
2070
- ghostwhite: 16316671,
2071
- gold: 16766720,
2072
- goldenrod: 14329120,
2073
- gray: 8421504,
2074
- green: 32768,
2075
- greenyellow: 11403055,
2076
- grey: 8421504,
2077
- honeydew: 15794160,
2078
- hotpink: 16738740,
2079
- indianred: 13458524,
2080
- indigo: 4915330,
2081
- ivory: 16777200,
2082
- khaki: 15787660,
2083
- lavender: 15132410,
2084
- lavenderblush: 16773365,
2085
- lawngreen: 8190976,
2086
- lemonchiffon: 16775885,
2087
- lightblue: 11393254,
2088
- lightcoral: 15761536,
2089
- lightcyan: 14745599,
2090
- lightgoldenrodyellow: 16448210,
2091
- lightgray: 13882323,
2092
- lightgreen: 9498256,
2093
- lightgrey: 13882323,
2094
- lightpink: 16758465,
2095
- lightsalmon: 16752762,
2096
- lightseagreen: 2142890,
2097
- lightskyblue: 8900346,
2098
- lightslategray: 7833753,
2099
- lightslategrey: 7833753,
2100
- lightsteelblue: 11584734,
2101
- lightyellow: 16777184,
2102
- lime: 65280,
2103
- limegreen: 3329330,
2104
- linen: 16445670,
2105
- magenta: 16711935,
2106
- maroon: 8388608,
2107
- mediumaquamarine: 6737322,
2108
- mediumblue: 205,
2109
- mediumorchid: 12211667,
2110
- mediumpurple: 9662683,
2111
- mediumseagreen: 3978097,
2112
- mediumslateblue: 8087790,
2113
- mediumspringgreen: 64154,
2114
- mediumturquoise: 4772300,
2115
- mediumvioletred: 13047173,
2116
- midnightblue: 1644912,
2117
- mintcream: 16121850,
2118
- mistyrose: 16770273,
2119
- moccasin: 16770229,
2120
- navajowhite: 16768685,
2121
- navy: 128,
2122
- oldlace: 16643558,
2123
- olive: 8421376,
2124
- olivedrab: 7048739,
2125
- orange: 16753920,
2126
- orangered: 16729344,
2127
- orchid: 14315734,
2128
- palegoldenrod: 15657130,
2129
- palegreen: 10025880,
2130
- paleturquoise: 11529966,
2131
- palevioletred: 14381203,
2132
- papayawhip: 16773077,
2133
- peachpuff: 16767673,
2134
- peru: 13468991,
2135
- pink: 16761035,
2136
- plum: 14524637,
2137
- powderblue: 11591910,
2138
- purple: 8388736,
2139
- rebeccapurple: 6697881,
2140
- red: 16711680,
2141
- rosybrown: 12357519,
2142
- royalblue: 4286945,
2143
- saddlebrown: 9127187,
2144
- salmon: 16416882,
2145
- sandybrown: 16032864,
2146
- seagreen: 3050327,
2147
- seashell: 16774638,
2148
- sienna: 10506797,
2149
- silver: 12632256,
2150
- skyblue: 8900331,
2151
- slateblue: 6970061,
2152
- slategray: 7372944,
2153
- slategrey: 7372944,
2154
- snow: 16775930,
2155
- springgreen: 65407,
2156
- steelblue: 4620980,
2157
- tan: 13808780,
2158
- teal: 32896,
2159
- thistle: 14204888,
2160
- tomato: 16737095,
2161
- turquoise: 4251856,
2162
- violet: 15631086,
2163
- wheat: 16113331,
2164
- white: 16777215,
2165
- whitesmoke: 16119285,
2166
- yellow: 16776960,
2167
- yellowgreen: 10145074
2168
- };
2169
- st(ue, at, {
2170
- copy(e) {
2171
- return Object.assign(new this.constructor(), this, e);
2172
- },
2173
- displayable() {
2174
- return this.rgb().displayable();
2175
- },
2176
- hex: zt,
2177
- // Deprecated! Use color.formatHex.
2178
- formatHex: zt,
2179
- formatHex8: Ys,
2180
- formatHsl: Gs,
2181
- formatRgb: Bt,
2182
- toString: Bt
2183
- });
2184
- function zt() {
2185
- return this.rgb().formatHex();
2186
- }
2187
- function Ys() {
2188
- return this.rgb().formatHex8();
2189
- }
2190
- function Gs() {
2191
- return An(this).formatHsl();
2192
- }
2193
- function Bt() {
2194
- return this.rgb().formatRgb();
2195
- }
2196
- function at(e) {
2197
- var t, n;
2198
- return e = (e + "").trim().toLowerCase(), (t = Ps.exec(e)) ? (n = t[1].length, t = parseInt(t[1], 16), n === 6 ? 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;
2199
- }
2200
- function Ft(e) {
2201
- return new O(e >> 16 & 255, e >> 8 & 255, e & 255, 1);
2202
- }
2203
- function xe(e, t, n, r) {
2204
- return r <= 0 && (e = t = n = NaN), new O(e, t, n, r);
2205
- }
2206
- function Xs(e) {
2207
- return e instanceof ue || (e = at(e)), e ? (e = e.rgb(), new O(e.r, e.g, e.b, e.opacity)) : new O();
2208
- }
2209
- function Zs(e, t, n, r) {
2210
- return arguments.length === 1 ? Xs(e) : new O(e, t, n, r ?? 1);
2211
- }
2212
- function O(e, t, n, r) {
2213
- this.r = +e, this.g = +t, this.b = +n, this.opacity = +r;
2214
- }
2215
- st(O, Zs, wn(ue, {
2216
- brighter(e) {
2217
- return e = e == null ? Oe : Math.pow(Oe, e), new O(this.r * e, this.g * e, this.b * e, this.opacity);
2218
- },
2219
- darker(e) {
2220
- return e = e == null ? ce : Math.pow(ce, e), new O(this.r * e, this.g * e, this.b * e, this.opacity);
2221
- },
2222
- rgb() {
2223
- return this;
2224
- },
2225
- clamp() {
2226
- return new O(U(this.r), U(this.g), U(this.b), Ne(this.opacity));
2227
- },
2228
- displayable() {
2229
- return -0.5 <= this.r && this.r < 255.5 && -0.5 <= this.g && this.g < 255.5 && -0.5 <= this.b && this.b < 255.5 && 0 <= this.opacity && this.opacity <= 1;
2230
- },
2231
- hex: Pt,
2232
- // Deprecated! Use color.formatHex.
2233
- formatHex: Pt,
2234
- formatHex8: Ks,
2235
- formatRgb: Ht,
2236
- toString: Ht
2237
- }));
2238
- function Pt() {
2239
- return `#${V(this.r)}${V(this.g)}${V(this.b)}`;
2240
- }
2241
- function Ks() {
2242
- return `#${V(this.r)}${V(this.g)}${V(this.b)}${V((isNaN(this.opacity) ? 1 : this.opacity) * 255)}`;
2243
- }
2244
- function Ht() {
2245
- const e = Ne(this.opacity);
2246
- return `${e === 1 ? "rgb(" : "rgba("}${U(this.r)}, ${U(this.g)}, ${U(this.b)}${e === 1 ? ")" : `, ${e})`}`;
2247
- }
2248
- function Ne(e) {
2249
- return isNaN(e) ? 1 : Math.max(0, Math.min(1, e));
2250
- }
2251
- function U(e) {
2252
- return Math.max(0, Math.min(255, Math.round(e) || 0));
2253
- }
2254
- function V(e) {
2255
- return e = U(e), (e < 16 ? "0" : "") + e.toString(16);
2256
- }
2257
- function Lt(e, t, n, r) {
2258
- return r <= 0 ? e = t = n = NaN : n <= 0 || n >= 1 ? e = t = NaN : t <= 0 && (e = NaN), new I(e, t, n, r);
2259
- }
2260
- function An(e) {
2261
- if (e instanceof I) return new I(e.h, e.s, e.l, e.opacity);
2262
- if (e instanceof ue || (e = at(e)), !e) return new I();
2263
- if (e instanceof I) return e;
2264
- e = e.rgb();
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;
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);
2267
- }
2268
- function ot(e, t, n, r) {
2269
- return arguments.length === 1 ? An(e) : new I(e, t, n, r ?? 1);
2270
- }
2271
- function I(e, t, n, r) {
2272
- this.h = +e, this.s = +t, this.l = +n, this.opacity = +r;
2273
- }
2274
- st(I, ot, wn(ue, {
2275
- brighter(e) {
2276
- return e = e == null ? Oe : Math.pow(Oe, e), new I(this.h, this.s, this.l * e, this.opacity);
2277
- },
2278
- darker(e) {
2279
- return e = e == null ? ce : Math.pow(ce, e), new I(this.h, this.s, this.l * e, this.opacity);
2280
- },
2281
- rgb() {
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;
2283
- return new O(
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),
2287
- this.opacity
2288
- );
2289
- },
2290
- clamp() {
2291
- return new I(Vt(this.h), ye(this.s), ye(this.l), Ne(this.opacity));
2292
- },
2293
- displayable() {
2294
- return (0 <= this.s && this.s <= 1 || isNaN(this.s)) && 0 <= this.l && this.l <= 1 && 0 <= this.opacity && this.opacity <= 1;
2295
- },
2296
- formatHsl() {
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})`}`;
2299
- }
2300
- }));
2301
- function Vt(e) {
2302
- return e = (e || 0) % 360, e < 0 ? e + 360 : e;
2303
- }
2304
- function ye(e) {
2305
- return Math.max(0, Math.min(1, e || 0));
2306
- }
2307
- function qe(e, t, n) {
2308
- return (e < 60 ? t + (n - t) * e / 60 : e < 180 ? n : e < 240 ? t + (n - t) * (240 - e) / 60 : t) * 255;
2309
- }
2310
- const te = (globalThis == null ? void 0 : globalThis.UNOVIS_COLORS) || ["#4D8CFD", "#FF6B7E", "#F4B83E", "#A6CC74", "#00C19A", "#6859BE"], Js = (globalThis == null ? void 0 : globalThis.UNOVIS_COLORS_DARK) || ["#4D8CFD", "#FF6B7E", "#FFC16D", "#A6CC74", "#00C19A", "#7887E0"], L = (e) => `--vis-${nn(e) ? `color${e % te.length}` : e}`;
2311
- function Qs(e, t = 0.4) {
2312
- const n = ot(e);
2313
- return n.l = n.l * (1 + t), n.formatHex();
2314
- }
2315
- function js(e, t = 0.4, n = 0.6) {
2316
- const r = ot(e);
2317
- return r.s = r.s * (1 - n), r.l = r.l * (1 - t), r.formatHex();
2318
- }
2319
- const Te = 10, Ke = [
2320
- { id: "stripes-diagonal", svg: '<path d="M-1,1 l2,-2 M0,10 l10,-10 M9,11 l2,-2" stroke="#000"/>' },
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"/>' },
2322
- { id: "stripes-vertical", svg: '<path d="M 5,-1 L5,11" stroke="#000"/>' },
2323
- { id: "crosshatch", svg: '<path d="M0 0L10 10ZM10 0L0 10Z" stroke="#000"/>' },
2324
- { id: "waves", svg: '<path d="M0 4Q2.5 1 5 4 7.5 7 10 4v2Q7.5 9 5 6 2.5 3 0 6Z" fill="#000"/>' },
2325
- { id: "circles", svg: '<circle cx="5" cy="5" r="3" stroke="#000" fill="#fff"/>' }
2326
- ], Je = [
2327
- { id: "circle", marker: '<circle cx="5" cy="5" r="5"/>', dashArray: [] },
2328
- { id: "triangle", marker: '<path d="M5,0 L10,9 L0,9Z">', dashArray: [9, 1] },
2329
- { id: "diamond", marker: '<path d="M 0 5 L5 0 L 10 5 L 5 10 L 0 5Z">', dashArray: [2] },
2330
- { id: "arrow", marker: '<path d="M4 0 0 0 6 5 0 10 4 10 10 5Z">', dashArray: [2, 3, 8, 3] },
2331
- { id: "square", marker: '<rect x="1" y="1" width="8" height="8"/>', dashArray: [6] },
2332
- { id: "star", marker: '<path d="m2 9 3-9 3 9L0 3h10Z"/>', dashArray: [1, 6] }
2333
- ];
2334
- function P(e) {
2335
- return `vis-${`pattern-${e.svg ? "fill" : "marker"}`}-${e.id}`;
2336
- }
2337
- const ea = (e) => `<mask id="${P(e)}">
2338
- <pattern id="${e.id}" viewBox="0 0 10 10" width="${Te}" height="${Te}" patternUnits="userSpaceOnUse">
2339
- <rect width="100%" height="100%" fill="#fff"/>
2340
- ${e.svg}
2341
- </pattern>
2342
- <rect x="-50%" y="-50%" width="200%" height="200%" fill="url(#${e.id})"/>
2343
- </mask>`, ta = (e, t) => `<marker id="${P(e)}"
2344
- fill="var(${L(t)})"
2345
- markerUnits="userSpaceOnUse"
2346
- refX="5"
2347
- refY="5"
2348
- markerWidth="${Te}"
2349
- markerHeight="${Te}">
2350
- ${e.marker}
2351
- </marker>`;
2352
- function na() {
2353
- const e = Ke.map(ea).concat(Je.map(ta)).join(""), t = document.createElementNS("http://www.w3.org/2000/svg", "svg");
2354
- t.setAttribute("height", "100%"), t.setAttribute("width", "100%"), t.style.position = "fixed", t.style.zIndex = "-99999999", t.innerHTML = `<defs>${e}</defs>`, document.body.appendChild(t);
2355
- }
2356
- typeof window < "u" && na();
2357
- const ra = (globalThis == null ? void 0 : globalThis.UNOVIS_FONT_W2H_RATIO_DEFAULT) || 0.5;
2358
- Is`
2359
- :root {
2360
- label: vis-root-styles;
2361
- --vis-font-family: Inter, Arial, "Helvetica Neue", Helvetica, sans-serif;
2362
- --vis-font-wh-ratio: ${ra};
2363
- --vis-color-main: var(${L(0)});
2364
- --vis-color-main-light: ${Qs(te[0])};
2365
- --vis-color-main-dark: ${js(te[0])};
2366
- --vis-color-grey: #2a2a2a;
2367
- ${te.map((e, t) => `${L(t)}: ${e};`)}
2368
- ${Js.map((e, t) => `--vis-dark-color${t}: ${e};`)}
2369
- ${Ke.map((e, t) => `
2370
- --${P(e)}: url(#${P(e)});
2371
- --vis-pattern-fill${t}: var(--${P(e)});
2372
- `)}
2373
- ${Je.map((e, t) => {
2374
- var n;
2375
- return `
2376
- --${P(e)}: url(#${P(e)});
2377
- --vis-pattern-marker${t}: var(--${P(e)});
2378
- --vis-pattern-dasharray${t}: ${(n = e.dashArray) === null || n === void 0 ? void 0 : n.join(" ")};
2379
- `;
2380
- })}
2381
-
2382
- body.theme-dark {
2383
- ${te.map((e, t) => `${L(t)}: var(--vis-dark-color${t});`)}
2384
- }
2385
-
2386
- body.theme-patterns {
2387
- ${Ke.map((e, t) => `path[style*="fill: var(${L(t)})"] {
2388
- mask: var(--vis-pattern-fill${t});
2389
- }`)}
2390
- ${Je.map((e, t) => `
2391
- path[stroke="var(${L(t)})"]:not([style*="fill"]),
2392
- path[style*="stroke: var(${L(t)})"]:not([style*="fill"]) {
2393
- marker: var(--vis-pattern-marker${t});
2394
- stroke-dasharray: var(--vis-pattern-dasharray${t});
2395
- }
2396
- `)}
2397
- }
2398
- `;
2399
- class ia {
2400
- constructor(t) {
2401
- this.data = t;
2402
- }
2403
- get data() {
2404
- return this._data;
2405
- }
2406
- set data(t) {
2407
- this._data = t;
2408
- }
2409
- }
2410
- var ke;
2411
- (function(e) {
2412
- e.X = "x", e.Y = "y";
2413
- })(ke || (ke = {}));
2414
- var T;
2415
- (function(e) {
2416
- e.X = "x", e.Y = "y";
2417
- })(T || (T = {}));
2418
- var De;
2419
- (function(e) {
2420
- e.West = "west", e.East = "east", e.North = "north", e.South = "south";
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 {
2424
- constructor(t, n, r) {
2425
- var i, s;
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");
2427
- const a = "saturate", c = window.location.href.replace(window.location.hash, "");
2428
- this.svg.attr("class", Ms`
2429
- --highlight-filter-id: url(${c}#${a}); // defining a css variable
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(() => {
2431
- this._firstRender || this._renderAxes(0);
2432
- });
2433
- }
2434
- get components() {
2435
- return this.config.components;
2436
- }
2437
- // Overriding ContainerCore default get width method to work with axis auto margin
2438
- get width() {
2439
- const t = this._getMargin();
2440
- return Y(this.containerWidth - t.left - t.right, 0, Number.POSITIVE_INFINITY);
2441
- }
2442
- // Overriding ContainerCore default get height method to work with axis auto margin
2443
- get height() {
2444
- const t = this._getMargin();
2445
- return Y(this.containerHeight - t.top - t.bottom, 0, Number.POSITIVE_INFINITY);
2446
- }
2447
- setData(t, n) {
2448
- var r, i, s, a;
2449
- const { components: c, config: o } = this;
2450
- t && (this.datamodel.data = t, c.forEach((f) => {
2451
- f.setData(t);
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());
2453
- }
2454
- updateContainer(t, n) {
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));
2456
- for (const a of this.components)
2457
- this.element.appendChild(a.element);
2458
- const r = t.tooltip;
2459
- r && (r.hasContainer() || r.setContainer(this._container), r.setComponents(this.components));
2460
- const i = t.crosshair;
2461
- i && (i.setContainer(this.svg), i.tooltip = r, this.element.appendChild(i.element));
2462
- const s = t.annotations;
2463
- s && this.element.appendChild(s.element), this.element.appendChild(this._clipPath.node()), this.element.appendChild(this._svgDefs.node()), this.element.appendChild(this._svgDefsExternal.node()), n || this.render();
2464
- }
2465
- updateComponents(t, n) {
2466
- const { config: r } = this;
2467
- this.components.forEach((i, s) => {
2468
- t[s] && i.setConfig(t[s]);
2469
- }), this._updateScales(...this.components, r.xAxis, r.yAxis, r.crosshair), n || this.render();
2470
- }
2471
- update(t, n, r) {
2472
- r && (this.datamodel.data = r), t && this.updateContainer(t, !0), n && this.updateComponents(n, !0), this.render();
2473
- }
2474
- _preRender() {
2475
- const { config: t } = this;
2476
- super._preRender(), t.autoMargin && this._setAutoMargin();
2477
- const n = j([...this.components, t.xAxis, t.yAxis, t.crosshair, t.annotations]);
2478
- for (const r of n)
2479
- r.setSize(this.width, this.height, this.containerWidth, this.containerHeight);
2480
- this._updateScales(...this.components, t.xAxis, t.yAxis, t.crosshair);
2481
- }
2482
- _render(t) {
2483
- var n, r, i, s, a;
2484
- const { config: c } = this;
2485
- super._render();
2486
- const o = this._getMargin();
2487
- for (const u of this.components)
2488
- u.g.attr("transform", `translate(${o.left},${o.top})`).style("clip-path", u.clippable ? `url(#${this._clipPathId})` : null).style("-webkit-clip-path", u.clippable ? `url(#${this._clipPathId})` : null), u.render(t);
2489
- this._renderAxes(this._firstRender ? 0 : t);
2490
- const f = 2;
2491
- this._clipPath.select("rect").attr("x", -2).attr("y", -2).attr("width", this.width + 2 * f).attr("height", this.height + 2 * f), (n = c.tooltip) === null || n === void 0 || n.update();
2492
- const l = c.crosshair;
2493
- if (l) {
2494
- const u = this.components.filter((h) => !h.stacked).map((h) => h.config.y), p = this.components.filter((h) => h.stacked).map((h) => h.config.y), d = (r = this.components.find((h) => h.config.baseline)) === null || r === void 0 ? void 0 : r.config, v = d == null ? void 0 : d.baseline;
2495
- l.accessors = {
2496
- x: (i = this.components[0]) === null || i === void 0 ? void 0 : i.config.x,
2497
- y: vt(u),
2498
- yStacked: vt(p),
2499
- baseline: v
2500
- }, l.g.attr("transform", `translate(${o.left},${o.top})`).style("clip-path", `url(#${this._clipPathId})`).style("-webkit-clip-path", `url(#${this._clipPathId})`), l.hide();
2501
- }
2502
- (s = c.annotations) === null || s === void 0 || s.g.attr("transform", `translate(${o.left},${o.top})`), (a = c.annotations) === null || a === void 0 || a.render(), this._firstRender = !1;
2503
- }
2504
- _updateScales(...t) {
2505
- const n = j(t || this.components);
2506
- this._setScales(...n), this._updateScalesDomain(...n), this._updateScalesRange(...n);
2507
- }
2508
- _setScales(...t) {
2509
- const { config: n } = this;
2510
- t && (n.xScale && t.forEach((r) => r.setScale(T.X, n.xScale)), n.yScale && t.forEach((r) => r.setScale(T.Y, n.yScale)));
2511
- }
2512
- _updateScalesDomain(...t) {
2513
- const { config: n } = this;
2514
- if (!t)
2515
- return;
2516
- const r = t.filter((i) => !i.config.excludeFromDomainCalculation);
2517
- Object.values(T).forEach((i) => {
2518
- var s, a, c, o, f, l, u, p;
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, $ = [
2520
- Y(_, (f = g == null ? void 0 : g[0]) !== null && f !== void 0 ? f : Number.NEGATIVE_INFINITY, (l = g == null ? void 0 : g[1]) !== null && l !== void 0 ? l : Number.POSITIVE_INFINITY),
2521
- Y(w, (u = m == null ? void 0 : m[0]) !== null && u !== void 0 ? u : Number.NEGATIVE_INFINITY, (p = m == null ? void 0 : m[1]) !== null && p !== void 0 ? p : Number.POSITIVE_INFINITY)
2522
- ];
2523
- if ($[0] === $[1]) {
2524
- const S = r.some((R) => {
2525
- var x;
2526
- return ((x = R.datamodel.data) === null || x === void 0 ? void 0 : x.length) > 0;
2527
- });
2528
- (n.preventEmptyDomain || n.preventEmptyDomain === null && (!S || i === T.Y)) && ($[1] = $[0] + 1);
2529
- }
2530
- t.forEach((S) => S.setScaleDomain(i, $));
2531
- });
2532
- }
2533
- _updateScalesRange(...t) {
2534
- var n, r, i, s, a, c;
2535
- const { config: o } = this;
2536
- if (!t)
2537
- return;
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];
2539
- f && u.reverse();
2540
- for (const d of t)
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);
2542
- const p = t.map((d) => d.bleed).reduce((d, v) => {
2543
- for (const h of Object.keys(d)) {
2544
- const g = h;
2545
- d[g] < v[g] && (d[g] = v[g]);
2546
- }
2547
- return d;
2548
- }, { top: 0, bottom: 0, left: 0, right: 0 });
2549
- for (const d of t)
2550
- d.setScaleRange(T.X, [l[0] + p.left, l[1] - p.right]), d.setScaleRange(
2551
- T.Y,
2552
- f ? [u[0] + p.top, u[1] - p.bottom] : [u[0] - p.bottom, u[1] + p.top]
2553
- // if Y axis is directed upwards
2554
- );
2555
- }
2556
- _renderAxes(t) {
2557
- const { config: { xAxis: n, yAxis: r } } = this, i = this._getMargin();
2558
- j([n, r]).forEach((a) => {
2559
- const c = a.getOffset(i);
2560
- a.g.attr("transform", `translate(${c.left},${c.top})`), a.render(t);
2561
- });
2562
- }
2563
- _setAutoMargin() {
2564
- const { config: { xAxis: t, yAxis: n } } = this, r = j([...this.components, t, n]);
2565
- this._setScales(...r), this._updateScalesDomain(...r);
2566
- const i = this._firstRender ? 2 : 1;
2567
- for (let s = 0; s < i; s += 1) {
2568
- const a = { top: 0, bottom: 0, left: 0, right: 0 };
2569
- this._updateScalesRange(...r), j([t, n]).forEach((o) => {
2570
- o.preRender();
2571
- const f = o.getRequiredMargin();
2572
- a.top < f.top && (a.top = f.top), a.bottom < f.bottom && (a.bottom = f.bottom), a.left < f.left && (a.left = f.left), a.right < f.right && (a.right = f.right);
2573
- }), this._axisMargin = a;
2574
- }
2575
- }
2576
- _getMargin() {
2577
- const { config: { margin: t } } = this;
2578
- return {
2579
- top: t.top + this._axisMargin.top,
2580
- bottom: t.bottom + this._axisMargin.bottom,
2581
- left: t.left + this._axisMargin.left,
2582
- right: t.right + this._axisMargin.right
2583
- };
2584
- }
2585
- destroy() {
2586
- const { components: t, config: { tooltip: n, crosshair: r, annotations: i, xAxis: s, yAxis: a } } = this;
2587
- super.destroy();
2588
- for (const c of t)
2589
- c == null || c.destroy();
2590
- n == null || n.destroy(), r == null || r.destroy(), i == null || i.destroy(), s == null || s.destroy(), a == null || a.destroy();
2591
- }
2592
- }
2593
- const oa = Symbol("componentAccessorKey"), ca = Symbol("tooltipAccessorKey"), fa = Symbol("crosshairAccessorKey"), la = Symbol("axisAccessorKey"), ua = Symbol("annotationsAccessorKey");
2594
- function ha(e) {
2595
- const t = $n(), n = t.attrs;
2596
- return En(() => {
2597
- const r = {}, i = (t == null ? void 0 : t.vnode.props) ?? {};
2598
- return Object.keys(i).forEach((s) => {
2599
- r[ft(s)] = e[ft(s)];
2600
- }), { ...r, ...n };
2601
- });
2602
- }
2603
- const da = /* @__PURE__ */ Qe({
2604
- __name: "index",
2605
- props: {
2606
- components: {},
2607
- xScale: { type: [Object, Function] },
2608
- xDomain: {},
2609
- xDomainMinConstraint: {},
2610
- xDomainMaxConstraint: {},
2611
- xRange: {},
2612
- yScale: { type: [Object, Function] },
2613
- yDomain: {},
2614
- yDomainMinConstraint: {},
2615
- yDomainMaxConstraint: {},
2616
- yRange: {},
2617
- yDirection: {},
2618
- xAxis: {},
2619
- yAxis: {},
2620
- autoMargin: { type: Boolean },
2621
- tooltip: {},
2622
- crosshair: {},
2623
- preventEmptyDomain: { type: [Boolean, null] },
2624
- scaleByDomain: { type: Boolean },
2625
- annotations: {},
2626
- duration: {},
2627
- margin: {},
2628
- padding: {},
2629
- sizing: {},
2630
- width: {},
2631
- height: {},
2632
- svgDefs: {},
2633
- ariaLabel: {},
2634
- data: {}
2635
- },
2636
- setup(e, { expose: t }) {
2637
- const n = e, { data: r } = Rn(n), i = ha(n), s = lt(), a = On({
2638
- components: [],
2639
- annotations: void 0,
2640
- crosshair: void 0,
2641
- tooltip: void 0,
2642
- xAxis: void 0,
2643
- yAxis: void 0
2644
- }), c = lt();
2645
- return Nn(r, () => {
2646
- s.value && s.value.setData(r.value, !0);
2647
- }), Tn(() => {
2648
- var o;
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));
2652
- }), Dn(() => {
2653
- var o;
2654
- return (o = s.value) == null ? void 0 : o.destroy();
2655
- }), Q(oa, {
2656
- data: r,
2657
- update: (o) => a.components = [...a.components, o],
2658
- destroy: () => {
2659
- var o;
2660
- return a.components = (o = a.components) == null ? void 0 : o.filter((f) => !f.isDestroyed());
2661
- }
2662
- }), Q(la, {
2663
- data: r,
2664
- update: (o) => a[`${o.config.type}Axis`] = o,
2665
- destroy: (o) => {
2666
- a[`${o}Axis`] = void 0;
2667
- }
2668
- }), Q(fa, {
2669
- data: r,
2670
- update: (o) => a.crosshair = o,
2671
- destroy: () => {
2672
- a.crosshair = void 0;
2673
- }
2674
- }), Q(ca, {
2675
- data: r,
2676
- update: (o) => a.tooltip = o,
2677
- destroy: () => {
2678
- a.tooltip = void 0;
2679
- }
2680
- }), Q(ua, {
2681
- data: r,
2682
- update: (o) => a.annotations = o,
2683
- destroy: () => {
2684
- a.annotations = void 0;
2685
- }
2686
- }), t({
2687
- component: s
2688
- }), (o, f) => (je(), Wt("div", {
2689
- "data-vis-xy-container": "",
2690
- ref_key: "elRef",
2691
- ref: c,
2692
- class: "unovis-xy-container"
2693
- }, [
2694
- qt(o.$slots, "default")
2695
- ], 512));
2696
- }
2697
- });
2698
- (function() {
2699
- try {
2700
- if (typeof document < "u") {
2701
- var e = document.createElement("style");
2702
- e.appendChild(document.createTextNode(".unovis-xy-container,.unovis-single-container{display:block;position:relative;width:100%}[data-vis-leaflet-map],[data-vis-leaflet-flow-map]{display:block;position:relative}[data-vis-bullet-legend]{display:block}")), document.head.appendChild(e);
2703
- }
2704
- } catch (t) {
2705
- console.error("vite-plugin-css-injected-by-js", t);
2706
- }
2707
- })();
2708
- const xa = /* @__PURE__ */ Qe({
2709
- __name: "Area",
2710
- props: {
2711
- data: {},
2712
- xNumTicks: { default: (e) => e.data.length > 24 ? 24 / 4 : e.data.length - 1 },
2713
- yNumTicks: { default: (e) => e.data.length > 24 ? 24 / 4 : e.data.length - 1 }
2714
- },
2715
- setup(e) {
2716
- return (t, n) => (je(), In(Mn(da), { height: 600 }, {
2717
- default: zn(() => n[0] || (n[0] = [
2718
- Bn(" 123123123 ")
2719
- ])),
2720
- _: 1
2721
- }));
2722
- }
2723
- });
2724
- var pa = /* @__PURE__ */ ((e) => (e.Top = "top", e.Bottom = "bottom", e))(pa || {});
2725
- const va = /* @__PURE__ */ Qe({
2726
- __name: "Button",
2727
- props: {
2728
- variant: {},
2729
- size: {}
2730
- },
2731
- setup(e) {
2732
- return (t, n) => (je(), Wt("button", {
2733
- class: Fn([
2734
- "button",
2735
- `button--${t.variant || "primary"}`,
2736
- `button--${t.size || "medium"}`
2737
- ])
2738
- }, [
2739
- qt(t.$slots, "default", {}, void 0, !0)
2740
- ], 2));
2741
- }
2742
- }), ga = (e, t) => {
2743
- const n = e.__vccOpts || e;
2744
- for (const [r, i] of t)
2745
- n[r] = i;
2746
- return n;
2747
- }, ya = /* @__PURE__ */ ga(va, [["__scopeId", "data-v-52b6ec0c"]]);
2748
- export {
2749
- xa as Area,
2750
- ya as Button,
2751
- pa as PaginationPosition
2752
- };