one-north-cla 0.0.3 → 0.0.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs.js +10 -10
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.d.ts +23 -4
- package/dist/index.es.js +783 -761
- package/dist/index.es.js.map +1 -1
- package/dist/style.css +1 -1
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -1,53 +1,53 @@
|
|
|
1
1
|
import { jsx as S, jsxs as $, Fragment as Se } from "react/jsx-runtime";
|
|
2
2
|
import * as h from "react";
|
|
3
|
-
import { useRef as tt, useState as ht, useCallback as Xe, useEffect as qt, useLayoutEffect as
|
|
4
|
-
import * as
|
|
3
|
+
import { useRef as tt, useState as ht, useCallback as Xe, useEffect as qt, useLayoutEffect as fa, Children as Pr, isValidElement as da, cloneElement as To, forwardRef as ma, useImperativeHandle as pa } from "react";
|
|
4
|
+
import * as Oo from "react-dom";
|
|
5
5
|
import ha from "react-dom";
|
|
6
6
|
function ga(e) {
|
|
7
7
|
return Object.prototype.toString.call(e) === "[object Object]";
|
|
8
8
|
}
|
|
9
|
-
function
|
|
9
|
+
function Ar(e) {
|
|
10
10
|
return ga(e) || Array.isArray(e);
|
|
11
11
|
}
|
|
12
12
|
function va() {
|
|
13
13
|
return !!(typeof window < "u" && window.document && window.document.createElement);
|
|
14
14
|
}
|
|
15
|
-
function
|
|
15
|
+
function Kn(e, t) {
|
|
16
16
|
const n = Object.keys(e), r = Object.keys(t);
|
|
17
17
|
if (n.length !== r.length) return !1;
|
|
18
18
|
const o = JSON.stringify(Object.keys(e.breakpoints || {})), i = JSON.stringify(Object.keys(t.breakpoints || {}));
|
|
19
19
|
return o !== i ? !1 : n.every((a) => {
|
|
20
20
|
const s = e[a], c = t[a];
|
|
21
|
-
return typeof s == "function" ? `${s}` == `${c}` : !
|
|
21
|
+
return typeof s == "function" ? `${s}` == `${c}` : !Ar(s) || !Ar(c) ? s === c : Kn(s, c);
|
|
22
22
|
});
|
|
23
23
|
}
|
|
24
|
-
function
|
|
24
|
+
function Rr(e) {
|
|
25
25
|
return e.concat().sort((t, n) => t.name > n.name ? 1 : -1).map((t) => t.options);
|
|
26
26
|
}
|
|
27
27
|
function ya(e, t) {
|
|
28
28
|
if (e.length !== t.length) return !1;
|
|
29
|
-
const n =
|
|
29
|
+
const n = Rr(e), r = Rr(t);
|
|
30
30
|
return n.every((o, i) => {
|
|
31
31
|
const a = r[i];
|
|
32
|
-
return
|
|
32
|
+
return Kn(o, a);
|
|
33
33
|
});
|
|
34
34
|
}
|
|
35
|
-
function
|
|
35
|
+
function Qn(e) {
|
|
36
36
|
return typeof e == "number";
|
|
37
37
|
}
|
|
38
|
-
function
|
|
38
|
+
function $n(e) {
|
|
39
39
|
return typeof e == "string";
|
|
40
40
|
}
|
|
41
41
|
function un(e) {
|
|
42
42
|
return typeof e == "boolean";
|
|
43
43
|
}
|
|
44
|
-
function
|
|
44
|
+
function Tr(e) {
|
|
45
45
|
return Object.prototype.toString.call(e) === "[object Object]";
|
|
46
46
|
}
|
|
47
47
|
function K(e) {
|
|
48
48
|
return Math.abs(e);
|
|
49
49
|
}
|
|
50
|
-
function
|
|
50
|
+
function Jn(e) {
|
|
51
51
|
return Math.sign(e);
|
|
52
52
|
}
|
|
53
53
|
function mt(e, t) {
|
|
@@ -70,22 +70,22 @@ function me(e) {
|
|
|
70
70
|
function Et(e) {
|
|
71
71
|
return Math.max(0, e.length - 1);
|
|
72
72
|
}
|
|
73
|
-
function
|
|
73
|
+
function er(e, t) {
|
|
74
74
|
return t === Et(e);
|
|
75
75
|
}
|
|
76
|
-
function
|
|
76
|
+
function Or(e, t = 0) {
|
|
77
77
|
return Array.from(Array(e), (n, r) => t + r);
|
|
78
78
|
}
|
|
79
79
|
function vt(e) {
|
|
80
80
|
return Object.keys(e);
|
|
81
81
|
}
|
|
82
|
-
function
|
|
82
|
+
function Mo(e, t) {
|
|
83
83
|
return [e, t].reduce((n, r) => (vt(r).forEach((o) => {
|
|
84
|
-
const i = n[o], a = r[o], s =
|
|
85
|
-
n[o] = s ?
|
|
84
|
+
const i = n[o], a = r[o], s = Tr(i) && Tr(a);
|
|
85
|
+
n[o] = s ? Mo(i, a) : a;
|
|
86
86
|
}), n), {});
|
|
87
87
|
}
|
|
88
|
-
function
|
|
88
|
+
function Hn(e, t) {
|
|
89
89
|
return typeof t.MouseEvent < "u" && e instanceof t.MouseEvent;
|
|
90
90
|
}
|
|
91
91
|
function Ca(e, t) {
|
|
@@ -104,7 +104,7 @@ function Ca(e, t) {
|
|
|
104
104
|
return t - c;
|
|
105
105
|
}
|
|
106
106
|
function a(c, l) {
|
|
107
|
-
return
|
|
107
|
+
return $n(e) ? n[e](c) : e(t, c, l);
|
|
108
108
|
}
|
|
109
109
|
return {
|
|
110
110
|
measure: a
|
|
@@ -226,7 +226,7 @@ function $e(e = 0, t = 0) {
|
|
|
226
226
|
removeOffset: s
|
|
227
227
|
};
|
|
228
228
|
}
|
|
229
|
-
function
|
|
229
|
+
function Lo(e, t, n) {
|
|
230
230
|
const {
|
|
231
231
|
constrain: r
|
|
232
232
|
} = $e(0, e), o = e + 1;
|
|
@@ -244,7 +244,7 @@ function To(e, t, n) {
|
|
|
244
244
|
return f().set(s() + d);
|
|
245
245
|
}
|
|
246
246
|
function f() {
|
|
247
|
-
return
|
|
247
|
+
return Lo(e, s(), n);
|
|
248
248
|
}
|
|
249
249
|
const u = {
|
|
250
250
|
get: s,
|
|
@@ -260,14 +260,14 @@ function Sa(e, t, n, r, o, i, a, s, c, l, f, u, d, m, p, g, y, v, b) {
|
|
|
260
260
|
direction: C
|
|
261
261
|
} = e, x = ["INPUT", "SELECT", "TEXTAREA"], R = {
|
|
262
262
|
passive: !1
|
|
263
|
-
}, k = yt(), E = yt(),
|
|
263
|
+
}, k = yt(), E = yt(), L = $e(50, 225).constrain(m.measure(20)), V = {
|
|
264
264
|
mouse: 300,
|
|
265
265
|
touch: 400
|
|
266
266
|
}, B = {
|
|
267
267
|
mouse: 500,
|
|
268
268
|
touch: 600
|
|
269
269
|
}, P = p ? 43 : 25;
|
|
270
|
-
let A = !1, O = 0,
|
|
270
|
+
let A = !1, O = 0, N = 0, M = !1, F = !1, T = !1, j = !1;
|
|
271
271
|
function W(I) {
|
|
272
272
|
if (!b) return;
|
|
273
273
|
function q(re) {
|
|
@@ -278,7 +278,7 @@ function Sa(e, t, n, r, o, i, a, s, c, l, f, u, d, m, p, g, y, v, b) {
|
|
|
278
278
|
}, R).add(X, "touchend", () => {
|
|
279
279
|
}).add(X, "touchstart", q).add(X, "mousedown", q).add(X, "touchcancel", Q).add(X, "contextmenu", Q).add(X, "click", ne, !0);
|
|
280
280
|
}
|
|
281
|
-
function
|
|
281
|
+
function Z() {
|
|
282
282
|
k.clear(), E.clear();
|
|
283
283
|
}
|
|
284
284
|
function te() {
|
|
@@ -289,27 +289,27 @@ function Sa(e, t, n, r, o, i, a, s, c, l, f, u, d, m, p, g, y, v, b) {
|
|
|
289
289
|
const q = I.nodeName || "";
|
|
290
290
|
return x.includes(q);
|
|
291
291
|
}
|
|
292
|
-
function
|
|
292
|
+
function Y() {
|
|
293
293
|
return (p ? B : V)[j ? "mouse" : "touch"];
|
|
294
294
|
}
|
|
295
295
|
function le(I, q) {
|
|
296
|
-
const X = u.add(
|
|
297
|
-
return p || K(I) <
|
|
296
|
+
const X = u.add(Jn(I) * -1), re = f.byDistance(I, !p).distance;
|
|
297
|
+
return p || K(I) < L ? re : y && q ? re * 0.5 : f.byIndex(X.get(), 0).distance;
|
|
298
298
|
}
|
|
299
299
|
function ge(I) {
|
|
300
|
-
const q =
|
|
301
|
-
j = q, T = p && q && !I.buttons && A, A = mt(o.get(), a.get()) >= 2, !(q && I.button !== 0) && (U(I.target) || (M = !0, i.pointerDown(I), l.useFriction(0).useDuration(0), o.set(a), te(), O = i.readPoint(I),
|
|
300
|
+
const q = Hn(I, r);
|
|
301
|
+
j = q, T = p && q && !I.buttons && A, A = mt(o.get(), a.get()) >= 2, !(q && I.button !== 0) && (U(I.target) || (M = !0, i.pointerDown(I), l.useFriction(0).useDuration(0), o.set(a), te(), O = i.readPoint(I), N = i.readPoint(I, w), d.emit("pointerDown")));
|
|
302
302
|
}
|
|
303
303
|
function H(I) {
|
|
304
|
-
if (
|
|
305
|
-
const X = i.readPoint(I), re = i.readPoint(I, w), ue = mt(X, O), de = mt(re,
|
|
304
|
+
if (!Hn(I, r) && I.touches.length >= 2) return Q(I);
|
|
305
|
+
const X = i.readPoint(I), re = i.readPoint(I, w), ue = mt(X, O), de = mt(re, N);
|
|
306
306
|
if (!F && !j && (!I.cancelable || (F = ue > de, !F)))
|
|
307
307
|
return Q(I);
|
|
308
308
|
const xe = i.pointerMove(I);
|
|
309
309
|
ue > g && (T = !0), l.useFriction(0.3).useDuration(0.75), s.start(), o.add(C(xe)), I.preventDefault();
|
|
310
310
|
}
|
|
311
311
|
function Q(I) {
|
|
312
|
-
const X = f.byDistance(0, !1).index !== u.get(), re = i.pointerUp(I) *
|
|
312
|
+
const X = f.byDistance(0, !1).index !== u.get(), re = i.pointerUp(I) * Y(), ue = le(C(re), X), de = ba(re, ue), xe = P - 10 * de, ae = v + de / 50;
|
|
313
313
|
F = !1, M = !1, E.clear(), l.useDuration(xe).useFriction(ae), c.distance(ue, !p), j = !1, d.emit("pointerUp");
|
|
314
314
|
}
|
|
315
315
|
function ne(I) {
|
|
@@ -320,7 +320,7 @@ function Sa(e, t, n, r, o, i, a, s, c, l, f, u, d, m, p, g, y, v, b) {
|
|
|
320
320
|
}
|
|
321
321
|
return {
|
|
322
322
|
init: W,
|
|
323
|
-
destroy:
|
|
323
|
+
destroy: Z,
|
|
324
324
|
pointerDown: J
|
|
325
325
|
};
|
|
326
326
|
}
|
|
@@ -331,7 +331,7 @@ function ka(e, t) {
|
|
|
331
331
|
}
|
|
332
332
|
function a(u, d) {
|
|
333
333
|
const p = `client${(d || e.scroll) === "x" ? "X" : "Y"}`;
|
|
334
|
-
return (
|
|
334
|
+
return (Hn(u, t) ? u : u.touches[0])[p];
|
|
335
335
|
}
|
|
336
336
|
function s(u) {
|
|
337
337
|
return r = u, o = u, a(u);
|
|
@@ -419,7 +419,7 @@ function Ta(e, t, n, r, o, i) {
|
|
|
419
419
|
function d() {
|
|
420
420
|
const R = r.get() - e.get(), k = !c;
|
|
421
421
|
let E = 0;
|
|
422
|
-
return k ? (a = 0, n.set(r), e.set(r), E = R) : (n.set(e), a += R / c, a *= l, f += a, e.add(a), E = f - u), s =
|
|
422
|
+
return k ? (a = 0, n.set(r), e.set(r), E = R) : (n.set(e), a += R / c, a *= l, f += a, e.add(a), E = f - u), s = Jn(E), u = f, x;
|
|
423
423
|
}
|
|
424
424
|
function m() {
|
|
425
425
|
const R = r.get() - t.get();
|
|
@@ -493,7 +493,7 @@ function Ma(e, t, n, r, o) {
|
|
|
493
493
|
const {
|
|
494
494
|
min: y,
|
|
495
495
|
max: v
|
|
496
|
-
} = i, b = i.constrain(p), w = !g, C =
|
|
496
|
+
} = i, b = i.constrain(p), w = !g, C = er(n, g);
|
|
497
497
|
return w ? v : C || l(y, b) ? y : l(v, b) ? v : b;
|
|
498
498
|
}).map((p) => parseFloat(p.toFixed(3)));
|
|
499
499
|
}
|
|
@@ -511,13 +511,13 @@ function Ma(e, t, n, r, o) {
|
|
|
511
511
|
scrollContainLimit: s
|
|
512
512
|
};
|
|
513
513
|
}
|
|
514
|
-
function
|
|
514
|
+
function La(e, t, n) {
|
|
515
515
|
const r = t[0], o = n ? r - e : me(t);
|
|
516
516
|
return {
|
|
517
517
|
limit: $e(o, r)
|
|
518
518
|
};
|
|
519
519
|
}
|
|
520
|
-
function
|
|
520
|
+
function Na(e, t, n, r) {
|
|
521
521
|
const i = t.min + 0.1, a = t.max + 0.1, {
|
|
522
522
|
reachedMin: s,
|
|
523
523
|
reachedMax: c
|
|
@@ -578,14 +578,14 @@ function _a(e, t, n, r, o, i) {
|
|
|
578
578
|
function f() {
|
|
579
579
|
const d = a(i), m = !e || t === "keepSnaps";
|
|
580
580
|
return n.length === 1 ? [i] : m ? d : d.slice(s, c).map((p, g, y) => {
|
|
581
|
-
const v = !g, b =
|
|
581
|
+
const v = !g, b = er(y, g);
|
|
582
582
|
if (v) {
|
|
583
583
|
const w = me(y[0]) + 1;
|
|
584
|
-
return
|
|
584
|
+
return Or(w);
|
|
585
585
|
}
|
|
586
586
|
if (b) {
|
|
587
587
|
const w = Et(i) - me(y)[0] + 1;
|
|
588
|
-
return
|
|
588
|
+
return Or(w, me(y)[0]);
|
|
589
589
|
}
|
|
590
590
|
return p;
|
|
591
591
|
});
|
|
@@ -619,7 +619,7 @@ function Da(e, t, n, r, o) {
|
|
|
619
619
|
const y = [p, p + n, p - n];
|
|
620
620
|
if (!e) return p;
|
|
621
621
|
if (!g) return c(y);
|
|
622
|
-
const v = y.filter((b) =>
|
|
622
|
+
const v = y.filter((b) => Jn(b) === g);
|
|
623
623
|
return v.length ? c(v) : me(y) - n;
|
|
624
624
|
}
|
|
625
625
|
function u(p, g) {
|
|
@@ -680,7 +680,7 @@ function Ba(e, t, n, r, o, i, a, s) {
|
|
|
680
680
|
if ((/* @__PURE__ */ new Date()).getTime() - l > 10) return;
|
|
681
681
|
a.emit("slideFocusStart"), e.scrollLeft = 0;
|
|
682
682
|
const b = n.findIndex((w) => w.includes(g));
|
|
683
|
-
|
|
683
|
+
Qn(b) && (o.useDuration(0), r.index(b, 0), a.emit("slideFocus"));
|
|
684
684
|
}
|
|
685
685
|
i.add(document, "keydown", u, !1), t.forEach((g, y) => {
|
|
686
686
|
i.add(g, "focus", (v) => {
|
|
@@ -710,7 +710,7 @@ function dt(e) {
|
|
|
710
710
|
t -= a(c);
|
|
711
711
|
}
|
|
712
712
|
function a(c) {
|
|
713
|
-
return
|
|
713
|
+
return Qn(c) ? c : c.get();
|
|
714
714
|
}
|
|
715
715
|
return {
|
|
716
716
|
get: n,
|
|
@@ -719,7 +719,7 @@ function dt(e) {
|
|
|
719
719
|
subtract: i
|
|
720
720
|
};
|
|
721
721
|
}
|
|
722
|
-
function
|
|
722
|
+
function No(e, t) {
|
|
723
723
|
const n = e.scroll === "x" ? a : s, r = t.style;
|
|
724
724
|
let o = null, i = !1;
|
|
725
725
|
function a(d) {
|
|
@@ -748,27 +748,27 @@ function Oo(e, t) {
|
|
|
748
748
|
function ja(e, t, n, r, o, i, a, s, c) {
|
|
749
749
|
const f = gt(o), u = gt(o).reverse(), d = v().concat(b());
|
|
750
750
|
function m(k, E) {
|
|
751
|
-
return k.reduce((
|
|
751
|
+
return k.reduce((L, V) => L - o[V], E);
|
|
752
752
|
}
|
|
753
753
|
function p(k, E) {
|
|
754
|
-
return k.reduce((
|
|
754
|
+
return k.reduce((L, V) => m(L, E) > 0 ? L.concat([V]) : L, []);
|
|
755
755
|
}
|
|
756
756
|
function g(k) {
|
|
757
|
-
return i.map((E,
|
|
758
|
-
start: E - r[
|
|
757
|
+
return i.map((E, L) => ({
|
|
758
|
+
start: E - r[L] + 0.5 + k,
|
|
759
759
|
end: E + t - 0.5 + k
|
|
760
760
|
}));
|
|
761
761
|
}
|
|
762
|
-
function y(k, E,
|
|
762
|
+
function y(k, E, L) {
|
|
763
763
|
const V = g(E);
|
|
764
764
|
return k.map((B) => {
|
|
765
|
-
const P =
|
|
765
|
+
const P = L ? 0 : -n, A = L ? n : 0, O = L ? "end" : "start", N = V[B][O];
|
|
766
766
|
return {
|
|
767
767
|
index: B,
|
|
768
|
-
loopPoint:
|
|
768
|
+
loopPoint: N,
|
|
769
769
|
slideLocation: dt(-1),
|
|
770
|
-
translate:
|
|
771
|
-
target: () => s.get() >
|
|
770
|
+
translate: No(e, c[B]),
|
|
771
|
+
target: () => s.get() > N ? P : A
|
|
772
772
|
};
|
|
773
773
|
});
|
|
774
774
|
}
|
|
@@ -784,7 +784,7 @@ function ja(e, t, n, r, o, i, a, s, c) {
|
|
|
784
784
|
return d.every(({
|
|
785
785
|
index: k
|
|
786
786
|
}) => {
|
|
787
|
-
const E = f.filter((
|
|
787
|
+
const E = f.filter((L) => L !== k);
|
|
788
788
|
return m(E, t) <= 0.1;
|
|
789
789
|
});
|
|
790
790
|
}
|
|
@@ -792,10 +792,10 @@ function ja(e, t, n, r, o, i, a, s, c) {
|
|
|
792
792
|
d.forEach((k) => {
|
|
793
793
|
const {
|
|
794
794
|
target: E,
|
|
795
|
-
translate:
|
|
795
|
+
translate: L,
|
|
796
796
|
slideLocation: V
|
|
797
797
|
} = k, B = E();
|
|
798
|
-
B !== V.get() && (
|
|
798
|
+
B !== V.get() && (L.to(B), V.set(B));
|
|
799
799
|
});
|
|
800
800
|
}
|
|
801
801
|
function x() {
|
|
@@ -888,7 +888,7 @@ function Ha(e, t, n, r, o, i) {
|
|
|
888
888
|
}
|
|
889
889
|
function y() {
|
|
890
890
|
return n.map((b, w, C) => {
|
|
891
|
-
const x = !w, R =
|
|
891
|
+
const x = !w, R = er(C, w);
|
|
892
892
|
return x ? d[w] + f : R ? d[w] + u : C[w + 1][s] - b[s];
|
|
893
893
|
}).map(K);
|
|
894
894
|
}
|
|
@@ -904,13 +904,13 @@ function Wa(e, t, n, r, o, i, a, s, c) {
|
|
|
904
904
|
startEdge: l,
|
|
905
905
|
endEdge: f,
|
|
906
906
|
direction: u
|
|
907
|
-
} = e, d =
|
|
907
|
+
} = e, d = Qn(n);
|
|
908
908
|
function m(v, b) {
|
|
909
909
|
return gt(v).filter((w) => w % b === 0).map((w) => v.slice(w, w + b));
|
|
910
910
|
}
|
|
911
911
|
function p(v) {
|
|
912
912
|
return v.length ? gt(v).reduce((b, w, C) => {
|
|
913
|
-
const x = me(b) || 0, R = x === 0, k = w === Et(v), E = o[l] - i[x][l],
|
|
913
|
+
const x = me(b) || 0, R = x === 0, k = w === Et(v), E = o[l] - i[x][l], L = o[l] - i[w][f], V = !r && R ? u(a) : 0, B = !r && k ? u(s) : 0, P = K(L - B - (E + V));
|
|
914
914
|
return C && P > t + c && b.push(w), k && b.push(v.length), b;
|
|
915
915
|
}, []).map((b, w, C) => {
|
|
916
916
|
const x = Math.max(C[w - 1] || 0);
|
|
@@ -942,60 +942,60 @@ function Ua(e, t, n, r, o, i, a) {
|
|
|
942
942
|
watchSlides: C,
|
|
943
943
|
watchDrag: x,
|
|
944
944
|
watchFocus: R
|
|
945
|
-
} = i, k = 2, E = Pa(),
|
|
945
|
+
} = i, k = 2, E = Pa(), L = E.measure(t), V = n.map(E.measure), B = Ea(c, l), P = B.measureSize(L), A = Aa(P), O = Ca(s, P), N = !u && !!b, M = u || !!b, {
|
|
946
946
|
slideSizes: F,
|
|
947
947
|
slideSizesWithGaps: T,
|
|
948
948
|
startGap: j,
|
|
949
949
|
endGap: W
|
|
950
|
-
} = Ha(B,
|
|
950
|
+
} = Ha(B, L, V, n, M, o), Z = Wa(B, P, y, u, L, V, j, W, k), {
|
|
951
951
|
snaps: te,
|
|
952
952
|
snapsAligned: U
|
|
953
|
-
} = Ia(B, O,
|
|
953
|
+
} = Ia(B, O, L, V, Z), Y = -me(te) + me(T), {
|
|
954
954
|
snapsContained: le,
|
|
955
955
|
scrollContainLimit: ge
|
|
956
|
-
} = Ma(P,
|
|
956
|
+
} = Ma(P, Y, U, b, k), H = N ? le : U, {
|
|
957
957
|
limit: Q
|
|
958
|
-
} =
|
|
958
|
+
} = La(Y, H, u), ne = Lo(Et(H), f, u), J = ne.clone(), G = gt(n), I = ({
|
|
959
959
|
dragHandler: We,
|
|
960
|
-
scrollBody:
|
|
961
|
-
scrollBounds:
|
|
960
|
+
scrollBody: Sn,
|
|
961
|
+
scrollBounds: kn,
|
|
962
962
|
options: {
|
|
963
963
|
loop: Tt
|
|
964
964
|
}
|
|
965
965
|
}) => {
|
|
966
|
-
Tt ||
|
|
966
|
+
Tt || kn.constrain(We.pointerDown()), Sn.seek();
|
|
967
967
|
}, q = ({
|
|
968
968
|
scrollBody: We,
|
|
969
|
-
translate:
|
|
970
|
-
location:
|
|
969
|
+
translate: Sn,
|
|
970
|
+
location: kn,
|
|
971
971
|
offsetLocation: Tt,
|
|
972
|
-
previousLocation:
|
|
973
|
-
scrollLooper:
|
|
974
|
-
slideLooper:
|
|
975
|
-
dragHandler:
|
|
976
|
-
animation:
|
|
977
|
-
eventHandler:
|
|
978
|
-
scrollBounds:
|
|
972
|
+
previousLocation: ra,
|
|
973
|
+
scrollLooper: oa,
|
|
974
|
+
slideLooper: ia,
|
|
975
|
+
dragHandler: aa,
|
|
976
|
+
animation: sa,
|
|
977
|
+
eventHandler: wr,
|
|
978
|
+
scrollBounds: ca,
|
|
979
979
|
options: {
|
|
980
|
-
loop:
|
|
981
|
-
}
|
|
982
|
-
},
|
|
983
|
-
const
|
|
984
|
-
|
|
985
|
-
const
|
|
986
|
-
Tt.set(
|
|
987
|
-
}, X = xa(r, o, () => I(
|
|
988
|
-
slideRegistry:
|
|
989
|
-
} = _a(
|
|
980
|
+
loop: Cr
|
|
981
|
+
}
|
|
982
|
+
}, xr) => {
|
|
983
|
+
const Er = We.settled(), la = !ca.shouldConstrain(), Sr = Cr ? Er : Er && la, kr = Sr && !aa.pointerDown();
|
|
984
|
+
kr && sa.stop();
|
|
985
|
+
const ua = kn.get() * xr + ra.get() * (1 - xr);
|
|
986
|
+
Tt.set(ua), Cr && (oa.loop(We.direction()), ia.loop()), Sn.to(Tt.get()), kr && wr.emit("settle"), Sr || wr.emit("scroll");
|
|
987
|
+
}, X = xa(r, o, () => I(En), (We) => q(En, We)), re = 0.68, ue = H[ne.get()], de = dt(ue), xe = dt(ue), ae = dt(ue), Ve = dt(ue), lt = Ta(de, ae, xe, Ve, d, re), Cn = Da(u, H, Y, Q, Ve), xn = Va(X, ne, J, lt, Cn, Ve, a), vr = Fa(Q), yr = yt(), ta = $a(t, n, a, g), {
|
|
988
|
+
slideRegistry: br
|
|
989
|
+
} = _a(N, b, H, ge, Z, G), na = Ba(e, n, br, xn, lt, yr, a, R), En = {
|
|
990
990
|
ownerDocument: r,
|
|
991
991
|
ownerWindow: o,
|
|
992
992
|
eventHandler: a,
|
|
993
|
-
containerRect:
|
|
993
|
+
containerRect: L,
|
|
994
994
|
slideRects: V,
|
|
995
995
|
animation: X,
|
|
996
996
|
axis: B,
|
|
997
|
-
dragHandler: Sa(B, e, r, o, Ve, ka(B, o), de, X,
|
|
998
|
-
eventStore:
|
|
997
|
+
dragHandler: Sa(B, e, r, o, Ve, ka(B, o), de, X, xn, lt, Cn, ne, a, A, m, p, v, re, x),
|
|
998
|
+
eventStore: yr,
|
|
999
999
|
percentOfView: A,
|
|
1000
1000
|
index: ne,
|
|
1001
1001
|
indexPrevious: J,
|
|
@@ -1007,23 +1007,23 @@ function Ua(e, t, n, r, o, i, a) {
|
|
|
1007
1007
|
resizeHandler: Ra(t, a, o, n, B, w, E),
|
|
1008
1008
|
scrollBody: lt,
|
|
1009
1009
|
scrollBounds: Oa(Q, ae, Ve, lt, A),
|
|
1010
|
-
scrollLooper:
|
|
1011
|
-
scrollProgress:
|
|
1012
|
-
scrollSnapList: H.map(
|
|
1010
|
+
scrollLooper: Na(Y, Q, ae, [de, ae, xe, Ve]),
|
|
1011
|
+
scrollProgress: vr,
|
|
1012
|
+
scrollSnapList: H.map(vr.get),
|
|
1013
1013
|
scrollSnaps: H,
|
|
1014
|
-
scrollTarget:
|
|
1015
|
-
scrollTo:
|
|
1016
|
-
slideLooper: ja(B, P,
|
|
1017
|
-
slideFocus:
|
|
1014
|
+
scrollTarget: Cn,
|
|
1015
|
+
scrollTo: xn,
|
|
1016
|
+
slideLooper: ja(B, P, Y, F, T, te, H, ae, n),
|
|
1017
|
+
slideFocus: na,
|
|
1018
1018
|
slidesHandler: za(t, a, C),
|
|
1019
|
-
slidesInView:
|
|
1019
|
+
slidesInView: ta,
|
|
1020
1020
|
slideIndexes: G,
|
|
1021
|
-
slideRegistry:
|
|
1022
|
-
slidesToScroll:
|
|
1021
|
+
slideRegistry: br,
|
|
1022
|
+
slidesToScroll: Z,
|
|
1023
1023
|
target: Ve,
|
|
1024
|
-
translate:
|
|
1024
|
+
translate: No(B, t)
|
|
1025
1025
|
};
|
|
1026
|
-
return
|
|
1026
|
+
return En;
|
|
1027
1027
|
}
|
|
1028
1028
|
function qa() {
|
|
1029
1029
|
let e = {}, t;
|
|
@@ -1076,9 +1076,9 @@ const Ga = {
|
|
|
1076
1076
|
watchSlides: !0,
|
|
1077
1077
|
watchFocus: !0
|
|
1078
1078
|
};
|
|
1079
|
-
function
|
|
1079
|
+
function Za(e) {
|
|
1080
1080
|
function t(i, a) {
|
|
1081
|
-
return
|
|
1081
|
+
return Mo(i, a || {});
|
|
1082
1082
|
}
|
|
1083
1083
|
function n(i) {
|
|
1084
1084
|
const a = i.breakpoints || {}, s = vt(a).filter((c) => e.matchMedia(c).matches).map((c) => a[c]).reduce((c, l) => t(c, l), {});
|
|
@@ -1093,7 +1093,7 @@ function Ya(e) {
|
|
|
1093
1093
|
optionsMediaQueries: r
|
|
1094
1094
|
};
|
|
1095
1095
|
}
|
|
1096
|
-
function
|
|
1096
|
+
function Ya(e) {
|
|
1097
1097
|
let t = [];
|
|
1098
1098
|
function n(i, a) {
|
|
1099
1099
|
return t = a.filter(({
|
|
@@ -1111,7 +1111,7 @@ function Za(e) {
|
|
|
1111
1111
|
};
|
|
1112
1112
|
}
|
|
1113
1113
|
function Jt(e, t, n) {
|
|
1114
|
-
const r = e.ownerDocument, o = r.defaultView, i =
|
|
1114
|
+
const r = e.ownerDocument, o = r.defaultView, i = Za(o), a = Ya(i), s = yt(), c = qa(), {
|
|
1115
1115
|
mergeOptions: l,
|
|
1116
1116
|
optionsAtMedia: f,
|
|
1117
1117
|
optionsMediaQueries: u
|
|
@@ -1126,27 +1126,27 @@ function Jt(e, t, n) {
|
|
|
1126
1126
|
container: G,
|
|
1127
1127
|
slides: I
|
|
1128
1128
|
} = w;
|
|
1129
|
-
R = (
|
|
1130
|
-
const X =
|
|
1129
|
+
R = ($n(G) ? e.querySelector(G) : G) || e.children[0];
|
|
1130
|
+
const X = $n(I) ? R.querySelectorAll(I) : I;
|
|
1131
1131
|
k = [].slice.call(X || R.children);
|
|
1132
1132
|
}
|
|
1133
|
-
function
|
|
1133
|
+
function L(G) {
|
|
1134
1134
|
const I = Ua(e, R, k, r, o, G, c);
|
|
1135
1135
|
if (G.loop && !I.slideLooper.canLoop()) {
|
|
1136
1136
|
const q = Object.assign({}, G, {
|
|
1137
1137
|
loop: !1
|
|
1138
1138
|
});
|
|
1139
|
-
return
|
|
1139
|
+
return L(q);
|
|
1140
1140
|
}
|
|
1141
1141
|
return I;
|
|
1142
1142
|
}
|
|
1143
1143
|
function V(G, I) {
|
|
1144
|
-
y || (b = l(b, G), w = f(b), C = I || C, E(), v =
|
|
1144
|
+
y || (b = l(b, G), w = f(b), C = I || C, E(), v = L(w), u([b, ...C.map(({
|
|
1145
1145
|
options: q
|
|
1146
1146
|
}) => q)]).forEach((q) => s.add(q, "change", B)), w.active && (v.translate.to(v.location.get()), v.animation.init(), v.slidesInView.init(), v.slideFocus.init(J), v.eventHandler.init(J), v.resizeHandler.init(J), v.slidesHandler.init(J), v.options.loop && v.slideLooper.loop(), R.offsetParent && k.length && v.dragHandler.init(J), x = a.init(J, C)));
|
|
1147
1147
|
}
|
|
1148
1148
|
function B(G, I) {
|
|
1149
|
-
const q =
|
|
1149
|
+
const q = Z();
|
|
1150
1150
|
P(), V(l({
|
|
1151
1151
|
startIndex: q
|
|
1152
1152
|
}, G), I), c.emit("reInit");
|
|
@@ -1160,7 +1160,7 @@ function Jt(e, t, n) {
|
|
|
1160
1160
|
function O(G, I, q) {
|
|
1161
1161
|
!w.active || y || (v.scrollBody.useBaseFriction().useDuration(I === !0 ? 0 : w.duration), v.scrollTo.index(G, q || 0));
|
|
1162
1162
|
}
|
|
1163
|
-
function
|
|
1163
|
+
function N(G) {
|
|
1164
1164
|
const I = v.index.add(1).get();
|
|
1165
1165
|
O(I, G, -1);
|
|
1166
1166
|
}
|
|
@@ -1169,10 +1169,10 @@ function Jt(e, t, n) {
|
|
|
1169
1169
|
O(I, G, 1);
|
|
1170
1170
|
}
|
|
1171
1171
|
function F() {
|
|
1172
|
-
return v.index.add(1).get() !==
|
|
1172
|
+
return v.index.add(1).get() !== Z();
|
|
1173
1173
|
}
|
|
1174
1174
|
function T() {
|
|
1175
|
-
return v.index.add(-1).get() !==
|
|
1175
|
+
return v.index.add(-1).get() !== Z();
|
|
1176
1176
|
}
|
|
1177
1177
|
function j() {
|
|
1178
1178
|
return v.scrollSnapList;
|
|
@@ -1180,7 +1180,7 @@ function Jt(e, t, n) {
|
|
|
1180
1180
|
function W() {
|
|
1181
1181
|
return v.scrollProgress.get(v.offsetLocation.get());
|
|
1182
1182
|
}
|
|
1183
|
-
function
|
|
1183
|
+
function Z() {
|
|
1184
1184
|
return v.index.get();
|
|
1185
1185
|
}
|
|
1186
1186
|
function te() {
|
|
@@ -1189,7 +1189,7 @@ function Jt(e, t, n) {
|
|
|
1189
1189
|
function U() {
|
|
1190
1190
|
return v.slidesInView.get();
|
|
1191
1191
|
}
|
|
1192
|
-
function
|
|
1192
|
+
function Y() {
|
|
1193
1193
|
return v.slidesInView.get(!1);
|
|
1194
1194
|
}
|
|
1195
1195
|
function le() {
|
|
@@ -1220,49 +1220,49 @@ function Jt(e, t, n) {
|
|
|
1220
1220
|
previousScrollSnap: te,
|
|
1221
1221
|
reInit: g,
|
|
1222
1222
|
rootNode: H,
|
|
1223
|
-
scrollNext:
|
|
1223
|
+
scrollNext: N,
|
|
1224
1224
|
scrollPrev: M,
|
|
1225
1225
|
scrollProgress: W,
|
|
1226
1226
|
scrollSnapList: j,
|
|
1227
1227
|
scrollTo: O,
|
|
1228
|
-
selectedScrollSnap:
|
|
1228
|
+
selectedScrollSnap: Z,
|
|
1229
1229
|
slideNodes: ne,
|
|
1230
1230
|
slidesInView: U,
|
|
1231
|
-
slidesNotInView:
|
|
1231
|
+
slidesNotInView: Y
|
|
1232
1232
|
};
|
|
1233
1233
|
return V(t, n), setTimeout(() => c.emit("init"), 0), J;
|
|
1234
1234
|
}
|
|
1235
1235
|
Jt.globalOptions = void 0;
|
|
1236
|
-
function
|
|
1236
|
+
function tr(e = {}, t = []) {
|
|
1237
1237
|
const n = tt(e), r = tt(t), [o, i] = ht(), [a, s] = ht(), c = Xe(() => {
|
|
1238
1238
|
o && o.reInit(n.current, r.current);
|
|
1239
1239
|
}, [o]);
|
|
1240
1240
|
return qt(() => {
|
|
1241
|
-
|
|
1241
|
+
Kn(n.current, e) || (n.current = e, c());
|
|
1242
1242
|
}, [e, c]), qt(() => {
|
|
1243
1243
|
ya(r.current, t) || (r.current = t, c());
|
|
1244
1244
|
}, [t, c]), qt(() => {
|
|
1245
1245
|
if (va() && a) {
|
|
1246
|
-
Jt.globalOptions =
|
|
1246
|
+
Jt.globalOptions = tr.globalOptions;
|
|
1247
1247
|
const l = Jt(a, n.current, r.current);
|
|
1248
1248
|
return i(l), () => l.destroy();
|
|
1249
1249
|
} else
|
|
1250
1250
|
i(void 0);
|
|
1251
1251
|
}, [a, i]), [s, o];
|
|
1252
1252
|
}
|
|
1253
|
-
|
|
1253
|
+
tr.globalOptions = void 0;
|
|
1254
1254
|
const Xa = (e) => /* @__PURE__ */ h.createElement("svg", { width: 28, height: 28, viewBox: "0 0 28 28", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ h.createElement("path", { d: "M17.5861 14L24.7656 7L17.5861 0L3.22717 14L17.5861 28L24.7656 21L17.5861 14Z", fill: "currentColor" })), Ka = (e) => /* @__PURE__ */ h.createElement("svg", { width: 28, height: 28, viewBox: "0 0 28 28", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ h.createElement("path", { d: "M10.4139 14L3.23438 7L10.4139 0L24.7728 14L10.4139 28L3.23438 21L10.4139 14Z", fill: "currentColor" }));
|
|
1255
|
-
function
|
|
1255
|
+
function Fo(e) {
|
|
1256
1256
|
var t, n, r = "";
|
|
1257
1257
|
if (typeof e == "string" || typeof e == "number") r += e;
|
|
1258
1258
|
else if (typeof e == "object") if (Array.isArray(e)) {
|
|
1259
1259
|
var o = e.length;
|
|
1260
|
-
for (t = 0; t < o; t++) e[t] && (n =
|
|
1260
|
+
for (t = 0; t < o; t++) e[t] && (n = Fo(e[t])) && (r && (r += " "), r += n);
|
|
1261
1261
|
} else for (n in e) e[n] && (r && (r += " "), r += n);
|
|
1262
1262
|
return r;
|
|
1263
1263
|
}
|
|
1264
1264
|
function Qa() {
|
|
1265
|
-
for (var e, t, n = 0, r = "", o = arguments.length; n < o; n++) (e = arguments[n]) && (t =
|
|
1265
|
+
for (var e, t, n = 0, r = "", o = arguments.length; n < o; n++) (e = arguments[n]) && (t = Fo(e)) && (r && (r += " "), r += t);
|
|
1266
1266
|
return r;
|
|
1267
1267
|
}
|
|
1268
1268
|
const Ja = (e, t) => {
|
|
@@ -1275,11 +1275,11 @@ const Ja = (e, t) => {
|
|
|
1275
1275
|
}, es = (e, t) => ({
|
|
1276
1276
|
classGroupId: e,
|
|
1277
1277
|
validator: t
|
|
1278
|
-
}),
|
|
1278
|
+
}), Io = (e = /* @__PURE__ */ new Map(), t = null, n) => ({
|
|
1279
1279
|
nextPart: e,
|
|
1280
1280
|
validators: t,
|
|
1281
1281
|
classGroupId: n
|
|
1282
|
-
}), en = "-",
|
|
1282
|
+
}), en = "-", Mr = [], ts = "arbitrary..", ns = (e) => {
|
|
1283
1283
|
const t = os(e), {
|
|
1284
1284
|
conflictingClassGroups: n,
|
|
1285
1285
|
conflictingClassGroupModifiers: r
|
|
@@ -1289,22 +1289,22 @@ const Ja = (e, t) => {
|
|
|
1289
1289
|
if (a.startsWith("[") && a.endsWith("]"))
|
|
1290
1290
|
return rs(a);
|
|
1291
1291
|
const s = a.split(en), c = s[0] === "" && s.length > 1 ? 1 : 0;
|
|
1292
|
-
return
|
|
1292
|
+
return _o(s, c, t);
|
|
1293
1293
|
},
|
|
1294
1294
|
getConflictingClassGroupIds: (a, s) => {
|
|
1295
1295
|
if (s) {
|
|
1296
1296
|
const c = r[a], l = n[a];
|
|
1297
|
-
return c ? l ? Ja(l, c) : c : l ||
|
|
1297
|
+
return c ? l ? Ja(l, c) : c : l || Mr;
|
|
1298
1298
|
}
|
|
1299
|
-
return n[a] ||
|
|
1299
|
+
return n[a] || Mr;
|
|
1300
1300
|
}
|
|
1301
1301
|
};
|
|
1302
|
-
},
|
|
1302
|
+
}, _o = (e, t, n) => {
|
|
1303
1303
|
if (e.length - t === 0)
|
|
1304
1304
|
return n.classGroupId;
|
|
1305
1305
|
const o = e[t], i = n.nextPart.get(o);
|
|
1306
1306
|
if (i) {
|
|
1307
|
-
const l =
|
|
1307
|
+
const l = _o(e, t + 1, i);
|
|
1308
1308
|
if (l) return l;
|
|
1309
1309
|
}
|
|
1310
1310
|
const a = n.validators;
|
|
@@ -1326,13 +1326,13 @@ const Ja = (e, t) => {
|
|
|
1326
1326
|
} = e;
|
|
1327
1327
|
return is(n, t);
|
|
1328
1328
|
}, is = (e, t) => {
|
|
1329
|
-
const n =
|
|
1329
|
+
const n = Io();
|
|
1330
1330
|
for (const r in e) {
|
|
1331
1331
|
const o = e[r];
|
|
1332
|
-
|
|
1332
|
+
nr(o, n, r, t);
|
|
1333
1333
|
}
|
|
1334
1334
|
return n;
|
|
1335
|
-
},
|
|
1335
|
+
}, nr = (e, t, n, r) => {
|
|
1336
1336
|
const o = e.length;
|
|
1337
1337
|
for (let i = 0; i < o; i++) {
|
|
1338
1338
|
const a = e[i];
|
|
@@ -1349,11 +1349,11 @@ const Ja = (e, t) => {
|
|
|
1349
1349
|
}
|
|
1350
1350
|
ls(e, t, n, r);
|
|
1351
1351
|
}, ss = (e, t, n) => {
|
|
1352
|
-
const r = e === "" ? t :
|
|
1352
|
+
const r = e === "" ? t : Do(t, e);
|
|
1353
1353
|
r.classGroupId = n;
|
|
1354
1354
|
}, cs = (e, t, n, r) => {
|
|
1355
1355
|
if (us(e)) {
|
|
1356
|
-
|
|
1356
|
+
nr(e(r), t, n, r);
|
|
1357
1357
|
return;
|
|
1358
1358
|
}
|
|
1359
1359
|
t.validators === null && (t.validators = []), t.validators.push(es(n, e));
|
|
@@ -1361,15 +1361,15 @@ const Ja = (e, t) => {
|
|
|
1361
1361
|
const o = Object.entries(e), i = o.length;
|
|
1362
1362
|
for (let a = 0; a < i; a++) {
|
|
1363
1363
|
const [s, c] = o[a];
|
|
1364
|
-
|
|
1364
|
+
nr(c, Do(t, s), n, r);
|
|
1365
1365
|
}
|
|
1366
|
-
},
|
|
1366
|
+
}, Do = (e, t) => {
|
|
1367
1367
|
let n = e;
|
|
1368
1368
|
const r = t.split(en), o = r.length;
|
|
1369
1369
|
for (let i = 0; i < o; i++) {
|
|
1370
1370
|
const a = r[i];
|
|
1371
1371
|
let s = n.nextPart.get(a);
|
|
1372
|
-
s || (s =
|
|
1372
|
+
s || (s = Io(), n.nextPart.set(a, s)), n = s;
|
|
1373
1373
|
}
|
|
1374
1374
|
return n;
|
|
1375
1375
|
}, us = (e) => "isThemeGetter" in e && e.isThemeGetter === !0, fs = (e) => {
|
|
@@ -1396,7 +1396,7 @@ const Ja = (e, t) => {
|
|
|
1396
1396
|
i in n ? n[i] = a : o(i, a);
|
|
1397
1397
|
}
|
|
1398
1398
|
};
|
|
1399
|
-
},
|
|
1399
|
+
}, Wn = "!", Lr = ":", ds = [], Nr = (e, t, n, r, o) => ({
|
|
1400
1400
|
modifiers: e,
|
|
1401
1401
|
hasImportantModifier: t,
|
|
1402
1402
|
baseClassName: n,
|
|
@@ -1414,7 +1414,7 @@ const Ja = (e, t) => {
|
|
|
1414
1414
|
for (let g = 0; g < f; g++) {
|
|
1415
1415
|
const y = o[g];
|
|
1416
1416
|
if (a === 0 && s === 0) {
|
|
1417
|
-
if (y ===
|
|
1417
|
+
if (y === Lr) {
|
|
1418
1418
|
i.push(o.slice(c, g)), c = g + 1;
|
|
1419
1419
|
continue;
|
|
1420
1420
|
}
|
|
@@ -1427,19 +1427,19 @@ const Ja = (e, t) => {
|
|
|
1427
1427
|
}
|
|
1428
1428
|
const u = i.length === 0 ? o : o.slice(c);
|
|
1429
1429
|
let d = u, m = !1;
|
|
1430
|
-
u.endsWith(
|
|
1430
|
+
u.endsWith(Wn) ? (d = u.slice(0, -1), m = !0) : (
|
|
1431
1431
|
/**
|
|
1432
1432
|
* In Tailwind CSS v3 the important modifier was at the start of the base class name. This is still supported for legacy reasons.
|
|
1433
1433
|
* @see https://github.com/dcastil/tailwind-merge/issues/513#issuecomment-2614029864
|
|
1434
1434
|
*/
|
|
1435
|
-
u.startsWith(
|
|
1435
|
+
u.startsWith(Wn) && (d = u.slice(1), m = !0)
|
|
1436
1436
|
);
|
|
1437
1437
|
const p = l && l > c ? l - c : void 0;
|
|
1438
|
-
return
|
|
1438
|
+
return Nr(i, m, d, p);
|
|
1439
1439
|
};
|
|
1440
1440
|
if (t) {
|
|
1441
|
-
const o = t +
|
|
1442
|
-
r = (a) => a.startsWith(o) ? i(a.slice(o.length)) :
|
|
1441
|
+
const o = t + Lr, i = r;
|
|
1442
|
+
r = (a) => a.startsWith(o) ? i(a.slice(o.length)) : Nr(ds, !1, a, void 0, !0);
|
|
1443
1443
|
}
|
|
1444
1444
|
if (n) {
|
|
1445
1445
|
const o = r;
|
|
@@ -1499,7 +1499,7 @@ const Ja = (e, t) => {
|
|
|
1499
1499
|
}
|
|
1500
1500
|
y = !1;
|
|
1501
1501
|
}
|
|
1502
|
-
const b = d.length === 0 ? "" : d.length === 1 ? d[0] : i(d).join(":"), w = m ? b +
|
|
1502
|
+
const b = d.length === 0 ? "" : d.length === 1 ? d[0] : i(d).join(":"), w = m ? b + Wn : b, C = w + v;
|
|
1503
1503
|
if (a.indexOf(C) > -1)
|
|
1504
1504
|
continue;
|
|
1505
1505
|
a.push(C);
|
|
@@ -1514,14 +1514,14 @@ const Ja = (e, t) => {
|
|
|
1514
1514
|
}, ys = (...e) => {
|
|
1515
1515
|
let t = 0, n, r, o = "";
|
|
1516
1516
|
for (; t < e.length; )
|
|
1517
|
-
(n = e[t++]) && (r =
|
|
1517
|
+
(n = e[t++]) && (r = Vo(n)) && (o && (o += " "), o += r);
|
|
1518
1518
|
return o;
|
|
1519
|
-
},
|
|
1519
|
+
}, Vo = (e) => {
|
|
1520
1520
|
if (typeof e == "string")
|
|
1521
1521
|
return e;
|
|
1522
1522
|
let t, n = "";
|
|
1523
1523
|
for (let r = 0; r < e.length; r++)
|
|
1524
|
-
e[r] && (t =
|
|
1524
|
+
e[r] && (t = Vo(e[r])) && (n && (n += " "), n += t);
|
|
1525
1525
|
return n;
|
|
1526
1526
|
}, bs = (e, ...t) => {
|
|
1527
1527
|
let n, r, o, i;
|
|
@@ -1539,18 +1539,18 @@ const Ja = (e, t) => {
|
|
|
1539
1539
|
}, ws = [], ee = (e) => {
|
|
1540
1540
|
const t = (n) => n[e] || ws;
|
|
1541
1541
|
return t.isThemeGetter = !0, t;
|
|
1542
|
-
},
|
|
1542
|
+
}, Bo = /^\[(?:(\w[\w-]*):)?(.+)\]$/i, jo = /^\((?:(\w[\w-]*):)?(.+)\)$/i, Cs = /^\d+\/\d+$/, xs = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, Es = /\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/, Ss = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/, ks = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, Ps = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, Ue = (e) => Cs.test(e), z = (e) => !!e && !Number.isNaN(Number(e)), Oe = (e) => !!e && Number.isInteger(Number(e)), Pn = (e) => e.endsWith("%") && z(e.slice(0, -1)), Ee = (e) => xs.test(e), As = () => !0, Rs = (e) => (
|
|
1543
1543
|
// `colorFunctionRegex` check is necessary because color functions can have percentages in them which which would be incorrectly classified as lengths.
|
|
1544
1544
|
// For example, `hsl(0 0% 0%)` would be classified as a length without this check.
|
|
1545
1545
|
// I could also use lookbehind assertion in `lengthUnitRegex` but that isn't supported widely enough.
|
|
1546
1546
|
Es.test(e) && !Ss.test(e)
|
|
1547
|
-
),
|
|
1548
|
-
const r =
|
|
1547
|
+
), zo = () => !1, Ts = (e) => ks.test(e), Os = (e) => Ps.test(e), Ms = (e) => !_(e) && !D(e), Ls = (e) => it(e, Wo, zo), _ = (e) => Bo.test(e), Be = (e) => it(e, Uo, Rs), An = (e) => it(e, Ds, z), Fr = (e) => it(e, $o, zo), Ns = (e) => it(e, Ho, Os), Ot = (e) => it(e, qo, Ts), D = (e) => jo.test(e), ut = (e) => at(e, Uo), Fs = (e) => at(e, Vs), Ir = (e) => at(e, $o), Is = (e) => at(e, Wo), _s = (e) => at(e, Ho), Mt = (e) => at(e, qo, !0), it = (e, t, n) => {
|
|
1548
|
+
const r = Bo.exec(e);
|
|
1549
1549
|
return r ? r[1] ? t(r[1]) : n(r[2]) : !1;
|
|
1550
1550
|
}, at = (e, t, n = !1) => {
|
|
1551
|
-
const r =
|
|
1551
|
+
const r = jo.exec(e);
|
|
1552
1552
|
return r ? r[1] ? t(r[1]) : n : !1;
|
|
1553
|
-
},
|
|
1553
|
+
}, $o = (e) => e === "position" || e === "percentage", Ho = (e) => e === "image" || e === "url", Wo = (e) => e === "length" || e === "size" || e === "bg-size", Uo = (e) => e === "length", Ds = (e) => e === "number", Vs = (e) => e === "family-name", qo = (e) => e === "shadow", Bs = () => {
|
|
1554
1554
|
const e = ee("color"), t = ee("font"), n = ee("text"), r = ee("font-weight"), o = ee("tracking"), i = ee("leading"), a = ee("breakpoint"), s = ee("container"), c = ee("spacing"), l = ee("radius"), f = ee("shadow"), u = ee("inset-shadow"), d = ee("text-shadow"), m = ee("drop-shadow"), p = ee("blur"), g = ee("perspective"), y = ee("aspect"), v = ee("ease"), b = ee("animate"), w = () => ["auto", "avoid", "all", "avoid-page", "page", "left", "right", "column"], C = () => [
|
|
1555
1555
|
"center",
|
|
1556
1556
|
"top",
|
|
@@ -1569,15 +1569,15 @@ const Ja = (e, t) => {
|
|
|
1569
1569
|
"bottom-left",
|
|
1570
1570
|
// Deprecated since Tailwind CSS v4.1.0, see https://github.com/tailwindlabs/tailwindcss/pull/17378
|
|
1571
1571
|
"left-bottom"
|
|
1572
|
-
], x = () => [...C(), D, _], R = () => ["auto", "hidden", "clip", "visible", "scroll"], k = () => ["auto", "contain", "none"], E = () => [D, _, c],
|
|
1572
|
+
], x = () => [...C(), D, _], R = () => ["auto", "hidden", "clip", "visible", "scroll"], k = () => ["auto", "contain", "none"], E = () => [D, _, c], L = () => [Ue, "full", "auto", ...E()], V = () => [Oe, "none", "subgrid", D, _], B = () => ["auto", {
|
|
1573
1573
|
span: ["full", Oe, D, _]
|
|
1574
|
-
}, Oe, D, _], P = () => [Oe, "auto", D, _], A = () => ["auto", "min", "max", "fr", D, _], O = () => ["start", "end", "center", "between", "around", "evenly", "stretch", "baseline", "center-safe", "end-safe"],
|
|
1574
|
+
}, Oe, D, _], P = () => [Oe, "auto", D, _], A = () => ["auto", "min", "max", "fr", D, _], O = () => ["start", "end", "center", "between", "around", "evenly", "stretch", "baseline", "center-safe", "end-safe"], N = () => ["start", "end", "center", "stretch", "center-safe", "end-safe"], M = () => ["auto", ...E()], F = () => [Ue, "auto", "full", "dvw", "dvh", "lvw", "lvh", "svw", "svh", "min", "max", "fit", ...E()], T = () => [e, D, _], j = () => [...C(), Ir, Fr, {
|
|
1575
1575
|
position: [D, _]
|
|
1576
1576
|
}], W = () => ["no-repeat", {
|
|
1577
1577
|
repeat: ["", "x", "y", "space", "round"]
|
|
1578
|
-
}],
|
|
1578
|
+
}], Z = () => ["auto", "cover", "contain", Is, Ls, {
|
|
1579
1579
|
size: [D, _]
|
|
1580
|
-
}], te = () => [
|
|
1580
|
+
}], te = () => [Pn, ut, Be], U = () => [
|
|
1581
1581
|
// Deprecated since Tailwind CSS v4.0.0
|
|
1582
1582
|
"",
|
|
1583
1583
|
"none",
|
|
@@ -1585,7 +1585,7 @@ const Ja = (e, t) => {
|
|
|
1585
1585
|
l,
|
|
1586
1586
|
D,
|
|
1587
1587
|
_
|
|
1588
|
-
],
|
|
1588
|
+
], Y = () => ["", z, ut, Be], le = () => ["solid", "dashed", "dotted", "double"], ge = () => ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity"], H = () => [z, Pn, Ir, Fr], Q = () => [
|
|
1589
1589
|
// Deprecated since Tailwind CSS v4.0.0
|
|
1590
1590
|
"",
|
|
1591
1591
|
"none",
|
|
@@ -1770,63 +1770,63 @@ const Ja = (e, t) => {
|
|
|
1770
1770
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
1771
1771
|
*/
|
|
1772
1772
|
inset: [{
|
|
1773
|
-
inset:
|
|
1773
|
+
inset: L()
|
|
1774
1774
|
}],
|
|
1775
1775
|
/**
|
|
1776
1776
|
* Right / Left
|
|
1777
1777
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
1778
1778
|
*/
|
|
1779
1779
|
"inset-x": [{
|
|
1780
|
-
"inset-x":
|
|
1780
|
+
"inset-x": L()
|
|
1781
1781
|
}],
|
|
1782
1782
|
/**
|
|
1783
1783
|
* Top / Bottom
|
|
1784
1784
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
1785
1785
|
*/
|
|
1786
1786
|
"inset-y": [{
|
|
1787
|
-
"inset-y":
|
|
1787
|
+
"inset-y": L()
|
|
1788
1788
|
}],
|
|
1789
1789
|
/**
|
|
1790
1790
|
* Start
|
|
1791
1791
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
1792
1792
|
*/
|
|
1793
1793
|
start: [{
|
|
1794
|
-
start:
|
|
1794
|
+
start: L()
|
|
1795
1795
|
}],
|
|
1796
1796
|
/**
|
|
1797
1797
|
* End
|
|
1798
1798
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
1799
1799
|
*/
|
|
1800
1800
|
end: [{
|
|
1801
|
-
end:
|
|
1801
|
+
end: L()
|
|
1802
1802
|
}],
|
|
1803
1803
|
/**
|
|
1804
1804
|
* Top
|
|
1805
1805
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
1806
1806
|
*/
|
|
1807
1807
|
top: [{
|
|
1808
|
-
top:
|
|
1808
|
+
top: L()
|
|
1809
1809
|
}],
|
|
1810
1810
|
/**
|
|
1811
1811
|
* Right
|
|
1812
1812
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
1813
1813
|
*/
|
|
1814
1814
|
right: [{
|
|
1815
|
-
right:
|
|
1815
|
+
right: L()
|
|
1816
1816
|
}],
|
|
1817
1817
|
/**
|
|
1818
1818
|
* Bottom
|
|
1819
1819
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
1820
1820
|
*/
|
|
1821
1821
|
bottom: [{
|
|
1822
|
-
bottom:
|
|
1822
|
+
bottom: L()
|
|
1823
1823
|
}],
|
|
1824
1824
|
/**
|
|
1825
1825
|
* Left
|
|
1826
1826
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
1827
1827
|
*/
|
|
1828
1828
|
left: [{
|
|
1829
|
-
left:
|
|
1829
|
+
left: L()
|
|
1830
1830
|
}],
|
|
1831
1831
|
/**
|
|
1832
1832
|
* Visibility
|
|
@@ -2002,14 +2002,14 @@ const Ja = (e, t) => {
|
|
|
2002
2002
|
* @see https://tailwindcss.com/docs/justify-items
|
|
2003
2003
|
*/
|
|
2004
2004
|
"justify-items": [{
|
|
2005
|
-
"justify-items": [...
|
|
2005
|
+
"justify-items": [...N(), "normal"]
|
|
2006
2006
|
}],
|
|
2007
2007
|
/**
|
|
2008
2008
|
* Justify Self
|
|
2009
2009
|
* @see https://tailwindcss.com/docs/justify-self
|
|
2010
2010
|
*/
|
|
2011
2011
|
"justify-self": [{
|
|
2012
|
-
"justify-self": ["auto", ...
|
|
2012
|
+
"justify-self": ["auto", ...N()]
|
|
2013
2013
|
}],
|
|
2014
2014
|
/**
|
|
2015
2015
|
* Align Content
|
|
@@ -2023,7 +2023,7 @@ const Ja = (e, t) => {
|
|
|
2023
2023
|
* @see https://tailwindcss.com/docs/align-items
|
|
2024
2024
|
*/
|
|
2025
2025
|
"align-items": [{
|
|
2026
|
-
items: [...
|
|
2026
|
+
items: [...N(), {
|
|
2027
2027
|
baseline: ["", "last"]
|
|
2028
2028
|
}]
|
|
2029
2029
|
}],
|
|
@@ -2032,7 +2032,7 @@ const Ja = (e, t) => {
|
|
|
2032
2032
|
* @see https://tailwindcss.com/docs/align-self
|
|
2033
2033
|
*/
|
|
2034
2034
|
"align-self": [{
|
|
2035
|
-
self: ["auto", ...
|
|
2035
|
+
self: ["auto", ...N(), {
|
|
2036
2036
|
baseline: ["", "last"]
|
|
2037
2037
|
}]
|
|
2038
2038
|
}],
|
|
@@ -2048,14 +2048,14 @@ const Ja = (e, t) => {
|
|
|
2048
2048
|
* @see https://tailwindcss.com/docs/place-items
|
|
2049
2049
|
*/
|
|
2050
2050
|
"place-items": [{
|
|
2051
|
-
"place-items": [...
|
|
2051
|
+
"place-items": [...N(), "baseline"]
|
|
2052
2052
|
}],
|
|
2053
2053
|
/**
|
|
2054
2054
|
* Place Self
|
|
2055
2055
|
* @see https://tailwindcss.com/docs/place-self
|
|
2056
2056
|
*/
|
|
2057
2057
|
"place-self": [{
|
|
2058
|
-
"place-self": ["auto", ...
|
|
2058
|
+
"place-self": ["auto", ...N()]
|
|
2059
2059
|
}],
|
|
2060
2060
|
// Spacing
|
|
2061
2061
|
/**
|
|
@@ -2302,14 +2302,14 @@ const Ja = (e, t) => {
|
|
|
2302
2302
|
* @see https://tailwindcss.com/docs/font-weight
|
|
2303
2303
|
*/
|
|
2304
2304
|
"font-weight": [{
|
|
2305
|
-
font: [r, D,
|
|
2305
|
+
font: [r, D, An]
|
|
2306
2306
|
}],
|
|
2307
2307
|
/**
|
|
2308
2308
|
* Font Stretch
|
|
2309
2309
|
* @see https://tailwindcss.com/docs/font-stretch
|
|
2310
2310
|
*/
|
|
2311
2311
|
"font-stretch": [{
|
|
2312
|
-
"font-stretch": ["ultra-condensed", "extra-condensed", "condensed", "semi-condensed", "normal", "semi-expanded", "expanded", "extra-expanded", "ultra-expanded",
|
|
2312
|
+
"font-stretch": ["ultra-condensed", "extra-condensed", "condensed", "semi-condensed", "normal", "semi-expanded", "expanded", "extra-expanded", "ultra-expanded", Pn, _]
|
|
2313
2313
|
}],
|
|
2314
2314
|
/**
|
|
2315
2315
|
* Font Family
|
|
@@ -2360,7 +2360,7 @@ const Ja = (e, t) => {
|
|
|
2360
2360
|
* @see https://tailwindcss.com/docs/line-clamp
|
|
2361
2361
|
*/
|
|
2362
2362
|
"line-clamp": [{
|
|
2363
|
-
"line-clamp": [z, "none", D,
|
|
2363
|
+
"line-clamp": [z, "none", D, An]
|
|
2364
2364
|
}],
|
|
2365
2365
|
/**
|
|
2366
2366
|
* Line Height
|
|
@@ -2558,7 +2558,7 @@ const Ja = (e, t) => {
|
|
|
2558
2558
|
* @see https://tailwindcss.com/docs/background-size
|
|
2559
2559
|
*/
|
|
2560
2560
|
"bg-size": [{
|
|
2561
|
-
bg:
|
|
2561
|
+
bg: Z()
|
|
2562
2562
|
}],
|
|
2563
2563
|
/**
|
|
2564
2564
|
* Background Image
|
|
@@ -2571,7 +2571,7 @@ const Ja = (e, t) => {
|
|
|
2571
2571
|
}, Oe, D, _],
|
|
2572
2572
|
radial: ["", D, _],
|
|
2573
2573
|
conic: [Oe, D, _]
|
|
2574
|
-
}, _s,
|
|
2574
|
+
}, _s, Ns]
|
|
2575
2575
|
}],
|
|
2576
2576
|
/**
|
|
2577
2577
|
* Background Color
|
|
@@ -2735,70 +2735,70 @@ const Ja = (e, t) => {
|
|
|
2735
2735
|
* @see https://tailwindcss.com/docs/border-width
|
|
2736
2736
|
*/
|
|
2737
2737
|
"border-w": [{
|
|
2738
|
-
border:
|
|
2738
|
+
border: Y()
|
|
2739
2739
|
}],
|
|
2740
2740
|
/**
|
|
2741
2741
|
* Border Width X
|
|
2742
2742
|
* @see https://tailwindcss.com/docs/border-width
|
|
2743
2743
|
*/
|
|
2744
2744
|
"border-w-x": [{
|
|
2745
|
-
"border-x":
|
|
2745
|
+
"border-x": Y()
|
|
2746
2746
|
}],
|
|
2747
2747
|
/**
|
|
2748
2748
|
* Border Width Y
|
|
2749
2749
|
* @see https://tailwindcss.com/docs/border-width
|
|
2750
2750
|
*/
|
|
2751
2751
|
"border-w-y": [{
|
|
2752
|
-
"border-y":
|
|
2752
|
+
"border-y": Y()
|
|
2753
2753
|
}],
|
|
2754
2754
|
/**
|
|
2755
2755
|
* Border Width Start
|
|
2756
2756
|
* @see https://tailwindcss.com/docs/border-width
|
|
2757
2757
|
*/
|
|
2758
2758
|
"border-w-s": [{
|
|
2759
|
-
"border-s":
|
|
2759
|
+
"border-s": Y()
|
|
2760
2760
|
}],
|
|
2761
2761
|
/**
|
|
2762
2762
|
* Border Width End
|
|
2763
2763
|
* @see https://tailwindcss.com/docs/border-width
|
|
2764
2764
|
*/
|
|
2765
2765
|
"border-w-e": [{
|
|
2766
|
-
"border-e":
|
|
2766
|
+
"border-e": Y()
|
|
2767
2767
|
}],
|
|
2768
2768
|
/**
|
|
2769
2769
|
* Border Width Top
|
|
2770
2770
|
* @see https://tailwindcss.com/docs/border-width
|
|
2771
2771
|
*/
|
|
2772
2772
|
"border-w-t": [{
|
|
2773
|
-
"border-t":
|
|
2773
|
+
"border-t": Y()
|
|
2774
2774
|
}],
|
|
2775
2775
|
/**
|
|
2776
2776
|
* Border Width Right
|
|
2777
2777
|
* @see https://tailwindcss.com/docs/border-width
|
|
2778
2778
|
*/
|
|
2779
2779
|
"border-w-r": [{
|
|
2780
|
-
"border-r":
|
|
2780
|
+
"border-r": Y()
|
|
2781
2781
|
}],
|
|
2782
2782
|
/**
|
|
2783
2783
|
* Border Width Bottom
|
|
2784
2784
|
* @see https://tailwindcss.com/docs/border-width
|
|
2785
2785
|
*/
|
|
2786
2786
|
"border-w-b": [{
|
|
2787
|
-
"border-b":
|
|
2787
|
+
"border-b": Y()
|
|
2788
2788
|
}],
|
|
2789
2789
|
/**
|
|
2790
2790
|
* Border Width Left
|
|
2791
2791
|
* @see https://tailwindcss.com/docs/border-width
|
|
2792
2792
|
*/
|
|
2793
2793
|
"border-w-l": [{
|
|
2794
|
-
"border-l":
|
|
2794
|
+
"border-l": Y()
|
|
2795
2795
|
}],
|
|
2796
2796
|
/**
|
|
2797
2797
|
* Divide Width X
|
|
2798
2798
|
* @see https://tailwindcss.com/docs/border-width#between-children
|
|
2799
2799
|
*/
|
|
2800
2800
|
"divide-x": [{
|
|
2801
|
-
"divide-x":
|
|
2801
|
+
"divide-x": Y()
|
|
2802
2802
|
}],
|
|
2803
2803
|
/**
|
|
2804
2804
|
* Divide Width X Reverse
|
|
@@ -2810,7 +2810,7 @@ const Ja = (e, t) => {
|
|
|
2810
2810
|
* @see https://tailwindcss.com/docs/border-width#between-children
|
|
2811
2811
|
*/
|
|
2812
2812
|
"divide-y": [{
|
|
2813
|
-
"divide-y":
|
|
2813
|
+
"divide-y": Y()
|
|
2814
2814
|
}],
|
|
2815
2815
|
/**
|
|
2816
2816
|
* Divide Width Y Reverse
|
|
@@ -2972,7 +2972,7 @@ const Ja = (e, t) => {
|
|
|
2972
2972
|
* @see https://tailwindcss.com/docs/box-shadow#adding-a-ring
|
|
2973
2973
|
*/
|
|
2974
2974
|
"ring-w": [{
|
|
2975
|
-
ring:
|
|
2975
|
+
ring: Y()
|
|
2976
2976
|
}],
|
|
2977
2977
|
/**
|
|
2978
2978
|
* Ring Width Inset
|
|
@@ -3011,7 +3011,7 @@ const Ja = (e, t) => {
|
|
|
3011
3011
|
* @see https://tailwindcss.com/docs/box-shadow#adding-an-inset-ring
|
|
3012
3012
|
*/
|
|
3013
3013
|
"inset-ring-w": [{
|
|
3014
|
-
"inset-ring":
|
|
3014
|
+
"inset-ring": Y()
|
|
3015
3015
|
}],
|
|
3016
3016
|
/**
|
|
3017
3017
|
* Inset Ring Color
|
|
@@ -3235,7 +3235,7 @@ const Ja = (e, t) => {
|
|
|
3235
3235
|
* @see https://tailwindcss.com/docs/mask-size
|
|
3236
3236
|
*/
|
|
3237
3237
|
"mask-size": [{
|
|
3238
|
-
mask:
|
|
3238
|
+
mask: Z()
|
|
3239
3239
|
}],
|
|
3240
3240
|
/**
|
|
3241
3241
|
* Mask Type
|
|
@@ -3945,7 +3945,7 @@ const Ja = (e, t) => {
|
|
|
3945
3945
|
* @see https://tailwindcss.com/docs/stroke-width
|
|
3946
3946
|
*/
|
|
3947
3947
|
"stroke-w": [{
|
|
3948
|
-
stroke: [z, ut, Be,
|
|
3948
|
+
stroke: [z, ut, Be, An]
|
|
3949
3949
|
}],
|
|
3950
3950
|
/**
|
|
3951
3951
|
* Stroke
|
|
@@ -4024,19 +4024,19 @@ const Ja = (e, t) => {
|
|
|
4024
4024
|
function St(...e) {
|
|
4025
4025
|
return js(Qa(e));
|
|
4026
4026
|
}
|
|
4027
|
-
function
|
|
4027
|
+
function _r(e) {
|
|
4028
4028
|
const { className: t, type: n } = e, r = document.createElement("div");
|
|
4029
4029
|
r.className = t, r.style.display = "none", document.body.appendChild(r);
|
|
4030
4030
|
let o = getComputedStyle(r).backgroundColor;
|
|
4031
4031
|
return n === "text" && (o = getComputedStyle(r).color), document.body.removeChild(r), o;
|
|
4032
4032
|
}
|
|
4033
|
-
function
|
|
4033
|
+
function Dr(e) {
|
|
4034
4034
|
const t = e.match(/\d+/g);
|
|
4035
4035
|
if (!t || t.length < 3)
|
|
4036
4036
|
throw new Error(`Unsupported color format: ${e}`);
|
|
4037
4037
|
return [parseInt(t[0], 10), parseInt(t[1], 10), parseInt(t[2], 10)];
|
|
4038
4038
|
}
|
|
4039
|
-
function
|
|
4039
|
+
function Vr([e, t, n]) {
|
|
4040
4040
|
const r = (s) => {
|
|
4041
4041
|
const c = s / 255;
|
|
4042
4042
|
return c <= 0.03928 ? c / 12.92 : Math.pow((c + 0.055) / 1.055, 2.4);
|
|
@@ -4044,7 +4044,7 @@ function _r([e, t, n]) {
|
|
|
4044
4044
|
return 0.2126 * o + 0.7152 * i + 0.0722 * a;
|
|
4045
4045
|
}
|
|
4046
4046
|
function zs(e, t, n = 4.5) {
|
|
4047
|
-
const r =
|
|
4047
|
+
const r = _r(e), o = _r(t), i = Dr(r), a = Dr(o), s = Vr(i), c = Vr(a), l = Math.max(s, c), f = Math.min(s, c);
|
|
4048
4048
|
return (l + 0.05) / (f + 0.05) >= n;
|
|
4049
4049
|
}
|
|
4050
4050
|
function $s() {
|
|
@@ -4071,9 +4071,9 @@ function qs() {
|
|
|
4071
4071
|
const e = encodeURIComponent(window.location.href);
|
|
4072
4072
|
window.open(`https://www.linkedin.com/sharing/share-offsite/?url=${e}`, "_blank");
|
|
4073
4073
|
}
|
|
4074
|
-
const
|
|
4075
|
-
function
|
|
4076
|
-
const e = h.useContext(
|
|
4074
|
+
const Go = h.createContext(null);
|
|
4075
|
+
function rr() {
|
|
4076
|
+
const e = h.useContext(Go);
|
|
4077
4077
|
if (!e)
|
|
4078
4078
|
throw new Error("useCarousel must be used within a <Carousel />");
|
|
4079
4079
|
return e;
|
|
@@ -4087,7 +4087,7 @@ function Gs({
|
|
|
4087
4087
|
children: i,
|
|
4088
4088
|
...a
|
|
4089
4089
|
}) {
|
|
4090
|
-
const [s, c] =
|
|
4090
|
+
const [s, c] = tr(
|
|
4091
4091
|
{
|
|
4092
4092
|
...t,
|
|
4093
4093
|
axis: e === "horizontal" ? "x" : "y"
|
|
@@ -4113,7 +4113,7 @@ function Gs({
|
|
|
4113
4113
|
c == null || c.off("select", m);
|
|
4114
4114
|
};
|
|
4115
4115
|
}, [c, m]), /* @__PURE__ */ S(
|
|
4116
|
-
|
|
4116
|
+
Go.Provider,
|
|
4117
4117
|
{
|
|
4118
4118
|
value: {
|
|
4119
4119
|
carouselRef: s,
|
|
@@ -4140,11 +4140,11 @@ function Gs({
|
|
|
4140
4140
|
}
|
|
4141
4141
|
);
|
|
4142
4142
|
}
|
|
4143
|
-
function
|
|
4144
|
-
const { carouselRef: n } =
|
|
4143
|
+
function Zs({ className: e, ...t }) {
|
|
4144
|
+
const { carouselRef: n } = rr();
|
|
4145
4145
|
return /* @__PURE__ */ S("div", { ref: n, className: "overflow-hidden", "data-slot": "carousel-content", children: /* @__PURE__ */ S("div", { className: St("flex", e), ...t }) });
|
|
4146
4146
|
}
|
|
4147
|
-
function
|
|
4147
|
+
function Ys({ className: e, ...t }) {
|
|
4148
4148
|
return /* @__PURE__ */ S(
|
|
4149
4149
|
"div",
|
|
4150
4150
|
{
|
|
@@ -4157,26 +4157,26 @@ function Zs({ className: e, ...t }) {
|
|
|
4157
4157
|
);
|
|
4158
4158
|
}
|
|
4159
4159
|
function Xs({ className: e, variant: t, ...n }) {
|
|
4160
|
-
const { scrollPrev: r, canScrollPrev: o } =
|
|
4160
|
+
const { scrollPrev: r, canScrollPrev: o } = rr();
|
|
4161
4161
|
return /* @__PURE__ */ S(Rt, { className: e, "data-slot": "carousel-previous", variant: t, ...n, children: /* @__PURE__ */ $("button", { disabled: !o, onClick: r, children: [
|
|
4162
4162
|
/* @__PURE__ */ S(Xa, {}),
|
|
4163
4163
|
/* @__PURE__ */ S("span", { className: "sr-only", children: "Previous slide" })
|
|
4164
4164
|
] }) });
|
|
4165
4165
|
}
|
|
4166
4166
|
function Ks({ className: e, variant: t, ...n }) {
|
|
4167
|
-
const { scrollNext: r, canScrollNext: o } =
|
|
4167
|
+
const { scrollNext: r, canScrollNext: o } = rr();
|
|
4168
4168
|
return /* @__PURE__ */ S(Rt, { className: e, "data-slot": "carousel-next", variant: t, ...n, children: /* @__PURE__ */ $("button", { disabled: !o, onClick: r, children: [
|
|
4169
4169
|
/* @__PURE__ */ S(Ka, {}),
|
|
4170
4170
|
/* @__PURE__ */ S("span", { className: "sr-only", children: "Next slide" })
|
|
4171
4171
|
] }) });
|
|
4172
4172
|
}
|
|
4173
|
-
function
|
|
4173
|
+
function Le(e, t, { checkForDefaultPrevented: n = !0 } = {}) {
|
|
4174
4174
|
return function(o) {
|
|
4175
4175
|
if (e == null || e(o), n === !1 || !o.defaultPrevented)
|
|
4176
4176
|
return t == null ? void 0 : t(o);
|
|
4177
4177
|
};
|
|
4178
4178
|
}
|
|
4179
|
-
function
|
|
4179
|
+
function Br(e, t) {
|
|
4180
4180
|
if (typeof e == "function")
|
|
4181
4181
|
return e(t);
|
|
4182
4182
|
e != null && (e.current = t);
|
|
@@ -4185,14 +4185,14 @@ function fn(...e) {
|
|
|
4185
4185
|
return (t) => {
|
|
4186
4186
|
let n = !1;
|
|
4187
4187
|
const r = e.map((o) => {
|
|
4188
|
-
const i =
|
|
4188
|
+
const i = Br(o, t);
|
|
4189
4189
|
return !n && typeof i == "function" && (n = !0), i;
|
|
4190
4190
|
});
|
|
4191
4191
|
if (n)
|
|
4192
4192
|
return () => {
|
|
4193
4193
|
for (let o = 0; o < r.length; o++) {
|
|
4194
4194
|
const i = r[o];
|
|
4195
|
-
typeof i == "function" ? i() :
|
|
4195
|
+
typeof i == "function" ? i() : Br(e[o], null);
|
|
4196
4196
|
}
|
|
4197
4197
|
};
|
|
4198
4198
|
};
|
|
@@ -4200,7 +4200,7 @@ function fn(...e) {
|
|
|
4200
4200
|
function _e(...e) {
|
|
4201
4201
|
return h.useCallback(fn(...e), e);
|
|
4202
4202
|
}
|
|
4203
|
-
function
|
|
4203
|
+
function Zo(e, t = []) {
|
|
4204
4204
|
let n = [];
|
|
4205
4205
|
function r(i, a) {
|
|
4206
4206
|
const s = h.createContext(a), c = n.length;
|
|
@@ -4320,7 +4320,7 @@ var ic = [
|
|
|
4320
4320
|
return r.displayName = `Primitive.${t}`, { ...e, [t]: r };
|
|
4321
4321
|
}, {});
|
|
4322
4322
|
function ac(e, t) {
|
|
4323
|
-
e &&
|
|
4323
|
+
e && Oo.flushSync(() => e.dispatchEvent(t));
|
|
4324
4324
|
}
|
|
4325
4325
|
function nt(e) {
|
|
4326
4326
|
const t = h.useRef(e);
|
|
@@ -4340,11 +4340,11 @@ function sc(e, t = globalThis == null ? void 0 : globalThis.document) {
|
|
|
4340
4340
|
return t.addEventListener("keydown", r, { capture: !0 }), () => t.removeEventListener("keydown", r, { capture: !0 });
|
|
4341
4341
|
}, [n, t]);
|
|
4342
4342
|
}
|
|
4343
|
-
var cc = "DismissableLayer",
|
|
4343
|
+
var cc = "DismissableLayer", Un = "dismissableLayer.update", lc = "dismissableLayer.pointerDownOutside", uc = "dismissableLayer.focusOutside", jr, Yo = h.createContext({
|
|
4344
4344
|
layers: /* @__PURE__ */ new Set(),
|
|
4345
4345
|
layersWithOutsidePointerEventsDisabled: /* @__PURE__ */ new Set(),
|
|
4346
4346
|
branches: /* @__PURE__ */ new Set()
|
|
4347
|
-
}),
|
|
4347
|
+
}), Xo = h.forwardRef(
|
|
4348
4348
|
(e, t) => {
|
|
4349
4349
|
const {
|
|
4350
4350
|
disableOutsidePointerEvents: n = !1,
|
|
@@ -4354,9 +4354,9 @@ var cc = "DismissableLayer", Wn = "dismissableLayer.update", lc = "dismissableLa
|
|
|
4354
4354
|
onInteractOutside: a,
|
|
4355
4355
|
onDismiss: s,
|
|
4356
4356
|
...c
|
|
4357
|
-
} = e, l = h.useContext(
|
|
4358
|
-
const E = k.target,
|
|
4359
|
-
!C ||
|
|
4357
|
+
} = e, l = h.useContext(Yo), [f, u] = h.useState(null), d = (f == null ? void 0 : f.ownerDocument) ?? (globalThis == null ? void 0 : globalThis.document), [, m] = h.useState({}), p = _e(t, (k) => u(k)), g = Array.from(l.layers), [y] = [...l.layersWithOutsidePointerEventsDisabled].slice(-1), v = g.indexOf(y), b = f ? g.indexOf(f) : -1, w = l.layersWithOutsidePointerEventsDisabled.size > 0, C = b >= v, x = mc((k) => {
|
|
4358
|
+
const E = k.target, L = [...l.branches].some((V) => V.contains(E));
|
|
4359
|
+
!C || L || (o == null || o(k), a == null || a(k), k.defaultPrevented || s == null || s());
|
|
4360
4360
|
}, d), R = pc((k) => {
|
|
4361
4361
|
const E = k.target;
|
|
4362
4362
|
[...l.branches].some((V) => V.contains(E)) || (i == null || i(k), a == null || a(k), k.defaultPrevented || s == null || s());
|
|
@@ -4365,14 +4365,14 @@ var cc = "DismissableLayer", Wn = "dismissableLayer.update", lc = "dismissableLa
|
|
|
4365
4365
|
b === l.layers.size - 1 && (r == null || r(k), !k.defaultPrevented && s && (k.preventDefault(), s()));
|
|
4366
4366
|
}, d), h.useEffect(() => {
|
|
4367
4367
|
if (f)
|
|
4368
|
-
return n && (l.layersWithOutsidePointerEventsDisabled.size === 0 && (
|
|
4369
|
-
n && l.layersWithOutsidePointerEventsDisabled.size === 1 && (d.body.style.pointerEvents =
|
|
4368
|
+
return n && (l.layersWithOutsidePointerEventsDisabled.size === 0 && (jr = d.body.style.pointerEvents, d.body.style.pointerEvents = "none"), l.layersWithOutsidePointerEventsDisabled.add(f)), l.layers.add(f), zr(), () => {
|
|
4369
|
+
n && l.layersWithOutsidePointerEventsDisabled.size === 1 && (d.body.style.pointerEvents = jr);
|
|
4370
4370
|
};
|
|
4371
4371
|
}, [f, d, n, l]), h.useEffect(() => () => {
|
|
4372
|
-
f && (l.layers.delete(f), l.layersWithOutsidePointerEventsDisabled.delete(f),
|
|
4372
|
+
f && (l.layers.delete(f), l.layersWithOutsidePointerEventsDisabled.delete(f), zr());
|
|
4373
4373
|
}, [f, l]), h.useEffect(() => {
|
|
4374
4374
|
const k = () => m({});
|
|
4375
|
-
return document.addEventListener(
|
|
4375
|
+
return document.addEventListener(Un, k), () => document.removeEventListener(Un, k);
|
|
4376
4376
|
}, []), /* @__PURE__ */ S(
|
|
4377
4377
|
Te.div,
|
|
4378
4378
|
{
|
|
@@ -4382,9 +4382,9 @@ var cc = "DismissableLayer", Wn = "dismissableLayer.update", lc = "dismissableLa
|
|
|
4382
4382
|
pointerEvents: w ? C ? "auto" : "none" : void 0,
|
|
4383
4383
|
...e.style
|
|
4384
4384
|
},
|
|
4385
|
-
onFocusCapture:
|
|
4386
|
-
onBlurCapture:
|
|
4387
|
-
onPointerDownCapture:
|
|
4385
|
+
onFocusCapture: Le(e.onFocusCapture, R.onFocusCapture),
|
|
4386
|
+
onBlurCapture: Le(e.onBlurCapture, R.onBlurCapture),
|
|
4387
|
+
onPointerDownCapture: Le(
|
|
4388
4388
|
e.onPointerDownCapture,
|
|
4389
4389
|
x.onPointerDownCapture
|
|
4390
4390
|
)
|
|
@@ -4392,9 +4392,9 @@ var cc = "DismissableLayer", Wn = "dismissableLayer.update", lc = "dismissableLa
|
|
|
4392
4392
|
);
|
|
4393
4393
|
}
|
|
4394
4394
|
);
|
|
4395
|
-
|
|
4395
|
+
Xo.displayName = cc;
|
|
4396
4396
|
var fc = "DismissableLayerBranch", dc = h.forwardRef((e, t) => {
|
|
4397
|
-
const n = h.useContext(
|
|
4397
|
+
const n = h.useContext(Yo), r = h.useRef(null), o = _e(t, r);
|
|
4398
4398
|
return h.useEffect(() => {
|
|
4399
4399
|
const i = r.current;
|
|
4400
4400
|
if (i)
|
|
@@ -4411,7 +4411,7 @@ function mc(e, t = globalThis == null ? void 0 : globalThis.document) {
|
|
|
4411
4411
|
const i = (s) => {
|
|
4412
4412
|
if (s.target && !r.current) {
|
|
4413
4413
|
let c = function() {
|
|
4414
|
-
|
|
4414
|
+
Ko(
|
|
4415
4415
|
lc,
|
|
4416
4416
|
n,
|
|
4417
4417
|
l,
|
|
@@ -4438,7 +4438,7 @@ function pc(e, t = globalThis == null ? void 0 : globalThis.document) {
|
|
|
4438
4438
|
const n = nt(e), r = h.useRef(!1);
|
|
4439
4439
|
return h.useEffect(() => {
|
|
4440
4440
|
const o = (i) => {
|
|
4441
|
-
i.target && !r.current &&
|
|
4441
|
+
i.target && !r.current && Ko(uc, n, { originalEvent: i }, {
|
|
4442
4442
|
discrete: !1
|
|
4443
4443
|
});
|
|
4444
4444
|
};
|
|
@@ -4448,28 +4448,28 @@ function pc(e, t = globalThis == null ? void 0 : globalThis.document) {
|
|
|
4448
4448
|
onBlurCapture: () => r.current = !1
|
|
4449
4449
|
};
|
|
4450
4450
|
}
|
|
4451
|
-
function
|
|
4452
|
-
const e = new CustomEvent(
|
|
4451
|
+
function zr() {
|
|
4452
|
+
const e = new CustomEvent(Un);
|
|
4453
4453
|
document.dispatchEvent(e);
|
|
4454
4454
|
}
|
|
4455
|
-
function
|
|
4455
|
+
function Ko(e, t, n, { discrete: r }) {
|
|
4456
4456
|
const o = n.originalEvent.target, i = new CustomEvent(e, { bubbles: !1, cancelable: !0, detail: n });
|
|
4457
4457
|
t && o.addEventListener(e, t, { once: !0 }), r ? ac(o, i) : o.dispatchEvent(i);
|
|
4458
4458
|
}
|
|
4459
|
-
var
|
|
4459
|
+
var Rn = 0;
|
|
4460
4460
|
function hc() {
|
|
4461
4461
|
h.useEffect(() => {
|
|
4462
4462
|
const e = document.querySelectorAll("[data-radix-focus-guard]");
|
|
4463
|
-
return document.body.insertAdjacentElement("afterbegin", e[0] ??
|
|
4464
|
-
|
|
4463
|
+
return document.body.insertAdjacentElement("afterbegin", e[0] ?? $r()), document.body.insertAdjacentElement("beforeend", e[1] ?? $r()), Rn++, () => {
|
|
4464
|
+
Rn === 1 && document.querySelectorAll("[data-radix-focus-guard]").forEach((t) => t.remove()), Rn--;
|
|
4465
4465
|
};
|
|
4466
4466
|
}, []);
|
|
4467
4467
|
}
|
|
4468
|
-
function
|
|
4468
|
+
function $r() {
|
|
4469
4469
|
const e = document.createElement("span");
|
|
4470
4470
|
return e.setAttribute("data-radix-focus-guard", ""), e.tabIndex = 0, e.style.outline = "none", e.style.opacity = "0", e.style.position = "fixed", e.style.pointerEvents = "none", e;
|
|
4471
4471
|
}
|
|
4472
|
-
var
|
|
4472
|
+
var Tn = "focusScope.autoFocusOnMount", On = "focusScope.autoFocusOnUnmount", Hr = { bubbles: !1, cancelable: !0 }, gc = "FocusScope", Qo = h.forwardRef((e, t) => {
|
|
4473
4473
|
const {
|
|
4474
4474
|
loop: n = !1,
|
|
4475
4475
|
trapped: r = !1,
|
|
@@ -4508,16 +4508,16 @@ var Rn = "focusScope.autoFocusOnMount", Tn = "focusScope.autoFocusOnUnmount", zr
|
|
|
4508
4508
|
}
|
|
4509
4509
|
}, [r, s, m.paused]), h.useEffect(() => {
|
|
4510
4510
|
if (s) {
|
|
4511
|
-
|
|
4511
|
+
Ur.add(m);
|
|
4512
4512
|
const g = document.activeElement;
|
|
4513
4513
|
if (!s.contains(g)) {
|
|
4514
|
-
const v = new CustomEvent(
|
|
4515
|
-
s.addEventListener(
|
|
4514
|
+
const v = new CustomEvent(Tn, Hr);
|
|
4515
|
+
s.addEventListener(Tn, l), s.dispatchEvent(v), v.defaultPrevented || (vc(xc(Jo(s)), { select: !0 }), document.activeElement === g && Me(s));
|
|
4516
4516
|
}
|
|
4517
4517
|
return () => {
|
|
4518
|
-
s.removeEventListener(
|
|
4519
|
-
const v = new CustomEvent(
|
|
4520
|
-
s.addEventListener(
|
|
4518
|
+
s.removeEventListener(Tn, l), setTimeout(() => {
|
|
4519
|
+
const v = new CustomEvent(On, Hr);
|
|
4520
|
+
s.addEventListener(On, f), s.dispatchEvent(v), v.defaultPrevented || Me(g ?? document.body, { select: !0 }), s.removeEventListener(On, f), Ur.remove(m);
|
|
4521
4521
|
}, 0);
|
|
4522
4522
|
};
|
|
4523
4523
|
}
|
|
@@ -4535,17 +4535,17 @@ var Rn = "focusScope.autoFocusOnMount", Tn = "focusScope.autoFocusOnUnmount", zr
|
|
|
4535
4535
|
);
|
|
4536
4536
|
return /* @__PURE__ */ S(Te.div, { tabIndex: -1, ...a, ref: d, onKeyDown: p });
|
|
4537
4537
|
});
|
|
4538
|
-
|
|
4538
|
+
Qo.displayName = gc;
|
|
4539
4539
|
function vc(e, { select: t = !1 } = {}) {
|
|
4540
4540
|
const n = document.activeElement;
|
|
4541
4541
|
for (const r of e)
|
|
4542
4542
|
if (Me(r, { select: t }), document.activeElement !== n) return;
|
|
4543
4543
|
}
|
|
4544
4544
|
function yc(e) {
|
|
4545
|
-
const t =
|
|
4545
|
+
const t = Jo(e), n = Wr(t, e), r = Wr(t.reverse(), e);
|
|
4546
4546
|
return [n, r];
|
|
4547
4547
|
}
|
|
4548
|
-
function
|
|
4548
|
+
function Jo(e) {
|
|
4549
4549
|
const t = [], n = document.createTreeWalker(e, NodeFilter.SHOW_ELEMENT, {
|
|
4550
4550
|
acceptNode: (r) => {
|
|
4551
4551
|
const o = r.tagName === "INPUT" && r.type === "hidden";
|
|
@@ -4555,7 +4555,7 @@ function Xo(e) {
|
|
|
4555
4555
|
for (; n.nextNode(); ) t.push(n.currentNode);
|
|
4556
4556
|
return t;
|
|
4557
4557
|
}
|
|
4558
|
-
function
|
|
4558
|
+
function Wr(e, t) {
|
|
4559
4559
|
for (const n of e)
|
|
4560
4560
|
if (!bc(n, { upTo: t })) return n;
|
|
4561
4561
|
}
|
|
@@ -4577,37 +4577,37 @@ function Me(e, { select: t = !1 } = {}) {
|
|
|
4577
4577
|
e.focus({ preventScroll: !0 }), e !== n && wc(e) && t && e.select();
|
|
4578
4578
|
}
|
|
4579
4579
|
}
|
|
4580
|
-
var
|
|
4580
|
+
var Ur = Cc();
|
|
4581
4581
|
function Cc() {
|
|
4582
4582
|
let e = [];
|
|
4583
4583
|
return {
|
|
4584
4584
|
add(t) {
|
|
4585
4585
|
const n = e[0];
|
|
4586
|
-
t !== n && (n == null || n.pause()), e =
|
|
4586
|
+
t !== n && (n == null || n.pause()), e = qr(e, t), e.unshift(t);
|
|
4587
4587
|
},
|
|
4588
4588
|
remove(t) {
|
|
4589
4589
|
var n;
|
|
4590
|
-
e =
|
|
4590
|
+
e = qr(e, t), (n = e[0]) == null || n.resume();
|
|
4591
4591
|
}
|
|
4592
4592
|
};
|
|
4593
4593
|
}
|
|
4594
|
-
function
|
|
4594
|
+
function qr(e, t) {
|
|
4595
4595
|
const n = [...e], r = n.indexOf(t);
|
|
4596
4596
|
return r !== -1 && n.splice(r, 1), n;
|
|
4597
4597
|
}
|
|
4598
4598
|
function xc(e) {
|
|
4599
4599
|
return e.filter((t) => t.tagName !== "A");
|
|
4600
4600
|
}
|
|
4601
|
-
var
|
|
4601
|
+
var Ne = globalThis != null && globalThis.document ? h.useLayoutEffect : () => {
|
|
4602
4602
|
}, Ec = h[" useId ".trim().toString()] || (() => {
|
|
4603
4603
|
}), Sc = 0;
|
|
4604
4604
|
function kc(e) {
|
|
4605
4605
|
const [t, n] = h.useState(Ec());
|
|
4606
|
-
return
|
|
4606
|
+
return Ne(() => {
|
|
4607
4607
|
n((r) => r ?? String(Sc++));
|
|
4608
4608
|
}, [e]), e || (t ? `radix-${t}` : "");
|
|
4609
4609
|
}
|
|
4610
|
-
const Pc = ["top", "right", "bottom", "left"], Fe = Math.min, se = Math.max, tn = Math.round,
|
|
4610
|
+
const Pc = ["top", "right", "bottom", "left"], Fe = Math.min, se = Math.max, tn = Math.round, Lt = Math.floor, be = (e) => ({
|
|
4611
4611
|
x: e,
|
|
4612
4612
|
y: e
|
|
4613
4613
|
}), Ac = {
|
|
@@ -4619,7 +4619,7 @@ const Pc = ["top", "right", "bottom", "left"], Fe = Math.min, se = Math.max, tn
|
|
|
4619
4619
|
start: "end",
|
|
4620
4620
|
end: "start"
|
|
4621
4621
|
};
|
|
4622
|
-
function
|
|
4622
|
+
function qn(e, t, n) {
|
|
4623
4623
|
return se(e, Fe(t, n));
|
|
4624
4624
|
}
|
|
4625
4625
|
function Ae(e, t) {
|
|
@@ -4631,41 +4631,41 @@ function Re(e) {
|
|
|
4631
4631
|
function st(e) {
|
|
4632
4632
|
return e.split("-")[1];
|
|
4633
4633
|
}
|
|
4634
|
-
function
|
|
4634
|
+
function or(e) {
|
|
4635
4635
|
return e === "x" ? "y" : "x";
|
|
4636
4636
|
}
|
|
4637
|
-
function
|
|
4637
|
+
function ir(e) {
|
|
4638
4638
|
return e === "y" ? "height" : "width";
|
|
4639
4639
|
}
|
|
4640
4640
|
const Tc = /* @__PURE__ */ new Set(["top", "bottom"]);
|
|
4641
4641
|
function ye(e) {
|
|
4642
4642
|
return Tc.has(Re(e)) ? "y" : "x";
|
|
4643
4643
|
}
|
|
4644
|
-
function
|
|
4645
|
-
return
|
|
4644
|
+
function ar(e) {
|
|
4645
|
+
return or(ye(e));
|
|
4646
4646
|
}
|
|
4647
4647
|
function Oc(e, t, n) {
|
|
4648
4648
|
n === void 0 && (n = !1);
|
|
4649
|
-
const r = st(e), o =
|
|
4649
|
+
const r = st(e), o = ar(e), i = ir(o);
|
|
4650
4650
|
let a = o === "x" ? r === (n ? "end" : "start") ? "right" : "left" : r === "start" ? "bottom" : "top";
|
|
4651
4651
|
return t.reference[i] > t.floating[i] && (a = nn(a)), [a, nn(a)];
|
|
4652
4652
|
}
|
|
4653
4653
|
function Mc(e) {
|
|
4654
4654
|
const t = nn(e);
|
|
4655
|
-
return [
|
|
4655
|
+
return [Gn(e), t, Gn(t)];
|
|
4656
4656
|
}
|
|
4657
|
-
function
|
|
4657
|
+
function Gn(e) {
|
|
4658
4658
|
return e.replace(/start|end/g, (t) => Rc[t]);
|
|
4659
4659
|
}
|
|
4660
|
-
const
|
|
4660
|
+
const Gr = ["left", "right"], Zr = ["right", "left"], Lc = ["top", "bottom"], Nc = ["bottom", "top"];
|
|
4661
4661
|
function Fc(e, t, n) {
|
|
4662
4662
|
switch (e) {
|
|
4663
4663
|
case "top":
|
|
4664
4664
|
case "bottom":
|
|
4665
|
-
return n ? t ?
|
|
4665
|
+
return n ? t ? Zr : Gr : t ? Gr : Zr;
|
|
4666
4666
|
case "left":
|
|
4667
4667
|
case "right":
|
|
4668
|
-
return t ?
|
|
4668
|
+
return t ? Lc : Nc;
|
|
4669
4669
|
default:
|
|
4670
4670
|
return [];
|
|
4671
4671
|
}
|
|
@@ -4673,7 +4673,7 @@ function Fc(e, t, n) {
|
|
|
4673
4673
|
function Ic(e, t, n, r) {
|
|
4674
4674
|
const o = st(e);
|
|
4675
4675
|
let i = Fc(Re(e), n === "start", r);
|
|
4676
|
-
return o && (i = i.map((a) => a + "-" + o), t && (i = i.concat(i.map(
|
|
4676
|
+
return o && (i = i.map((a) => a + "-" + o), t && (i = i.concat(i.map(Gn)))), i;
|
|
4677
4677
|
}
|
|
4678
4678
|
function nn(e) {
|
|
4679
4679
|
return e.replace(/left|right|bottom|top/g, (t) => Ac[t]);
|
|
@@ -4687,7 +4687,7 @@ function _c(e) {
|
|
|
4687
4687
|
...e
|
|
4688
4688
|
};
|
|
4689
4689
|
}
|
|
4690
|
-
function
|
|
4690
|
+
function ei(e) {
|
|
4691
4691
|
return typeof e != "number" ? _c(e) : {
|
|
4692
4692
|
top: e,
|
|
4693
4693
|
right: e,
|
|
@@ -4713,12 +4713,12 @@ function rn(e) {
|
|
|
4713
4713
|
y: n
|
|
4714
4714
|
};
|
|
4715
4715
|
}
|
|
4716
|
-
function
|
|
4716
|
+
function Yr(e, t, n) {
|
|
4717
4717
|
let {
|
|
4718
4718
|
reference: r,
|
|
4719
4719
|
floating: o
|
|
4720
4720
|
} = e;
|
|
4721
|
-
const i = ye(t), a =
|
|
4721
|
+
const i = ye(t), a = ar(t), s = ir(a), c = Re(t), l = i === "y", f = r.x + r.width / 2 - o.width / 2, u = r.y + r.height / 2 - o.height / 2, d = r[s] / 2 - o[s] / 2;
|
|
4722
4722
|
let m;
|
|
4723
4723
|
switch (c) {
|
|
4724
4724
|
case "top":
|
|
@@ -4775,7 +4775,7 @@ const Dc = async (e, t, n) => {
|
|
|
4775
4775
|
}), {
|
|
4776
4776
|
x: f,
|
|
4777
4777
|
y: u
|
|
4778
|
-
} =
|
|
4778
|
+
} = Yr(l, r, c), d = r, m = {}, p = 0;
|
|
4779
4779
|
for (let g = 0; g < s.length; g++) {
|
|
4780
4780
|
const {
|
|
4781
4781
|
name: y,
|
|
@@ -4812,7 +4812,7 @@ const Dc = async (e, t, n) => {
|
|
|
4812
4812
|
}) : x.rects), {
|
|
4813
4813
|
x: f,
|
|
4814
4814
|
y: u
|
|
4815
|
-
} =
|
|
4815
|
+
} = Yr(l, d, c)), g = -1);
|
|
4816
4816
|
}
|
|
4817
4817
|
return {
|
|
4818
4818
|
x: f,
|
|
@@ -4838,7 +4838,7 @@ async function bt(e, t) {
|
|
|
4838
4838
|
elementContext: u = "floating",
|
|
4839
4839
|
altBoundary: d = !1,
|
|
4840
4840
|
padding: m = 0
|
|
4841
|
-
} = Ae(t, e), p =
|
|
4841
|
+
} = Ae(t, e), p = ei(m), y = s[d ? u === "floating" ? "reference" : "floating" : u], v = rn(await i.getClippingRect({
|
|
4842
4842
|
element: (n = await (i.isElement == null ? void 0 : i.isElement(y))) == null || n ? y : y.contextElement || await (i.getDocumentElement == null ? void 0 : i.getDocumentElement(s.floating)),
|
|
4843
4843
|
boundary: l,
|
|
4844
4844
|
rootBoundary: f,
|
|
@@ -4885,18 +4885,18 @@ const Vc = (e) => ({
|
|
|
4885
4885
|
} = Ae(e, t) || {};
|
|
4886
4886
|
if (l == null)
|
|
4887
4887
|
return {};
|
|
4888
|
-
const u =
|
|
4888
|
+
const u = ei(f), d = {
|
|
4889
4889
|
x: n,
|
|
4890
4890
|
y: r
|
|
4891
|
-
}, m =
|
|
4891
|
+
}, m = ar(o), p = ir(m), g = await a.getDimensions(l), y = m === "y", v = y ? "top" : "left", b = y ? "bottom" : "right", w = y ? "clientHeight" : "clientWidth", C = i.reference[p] + i.reference[m] - d[m] - i.floating[p], x = d[m] - i.reference[m], R = await (a.getOffsetParent == null ? void 0 : a.getOffsetParent(l));
|
|
4892
4892
|
let k = R ? R[w] : 0;
|
|
4893
4893
|
(!k || !await (a.isElement == null ? void 0 : a.isElement(R))) && (k = s.floating[w] || i.floating[p]);
|
|
4894
|
-
const E = C / 2 - x / 2,
|
|
4894
|
+
const E = C / 2 - x / 2, L = k / 2 - g[p] / 2 - 1, V = Fe(u[v], L), B = Fe(u[b], L), P = V, A = k - g[p] - B, O = k / 2 - g[p] / 2 + E, N = qn(P, O, A), M = !c.arrow && st(o) != null && O !== N && i.reference[p] / 2 - (O < P ? V : B) - g[p] / 2 < 0, F = M ? O < P ? O - P : O - A : 0;
|
|
4895
4895
|
return {
|
|
4896
4896
|
[m]: d[m] + F,
|
|
4897
4897
|
data: {
|
|
4898
|
-
[m]:
|
|
4899
|
-
centerOffset: O -
|
|
4898
|
+
[m]: N,
|
|
4899
|
+
centerOffset: O - N - F,
|
|
4900
4900
|
...M && {
|
|
4901
4901
|
alignmentOffset: F
|
|
4902
4902
|
}
|
|
@@ -4930,19 +4930,19 @@ const Vc = (e) => ({
|
|
|
4930
4930
|
return {};
|
|
4931
4931
|
const v = Re(o), b = ye(s), w = Re(s) === s, C = await (c.isRTL == null ? void 0 : c.isRTL(l.floating)), x = d || (w || !g ? [nn(s)] : Mc(s)), R = p !== "none";
|
|
4932
4932
|
!d && R && x.push(...Ic(s, g, p, C));
|
|
4933
|
-
const k = [s, ...x], E = await bt(t, y),
|
|
4933
|
+
const k = [s, ...x], E = await bt(t, y), L = [];
|
|
4934
4934
|
let V = ((r = i.flip) == null ? void 0 : r.overflows) || [];
|
|
4935
|
-
if (f &&
|
|
4935
|
+
if (f && L.push(E[v]), u) {
|
|
4936
4936
|
const O = Oc(o, a, C);
|
|
4937
|
-
|
|
4937
|
+
L.push(E[O[0]], E[O[1]]);
|
|
4938
4938
|
}
|
|
4939
4939
|
if (V = [...V, {
|
|
4940
4940
|
placement: o,
|
|
4941
|
-
overflows:
|
|
4942
|
-
}], !
|
|
4941
|
+
overflows: L
|
|
4942
|
+
}], !L.every((O) => O <= 0)) {
|
|
4943
4943
|
var B, P;
|
|
4944
|
-
const O = (((B = i.flip) == null ? void 0 : B.index) || 0) + 1,
|
|
4945
|
-
if (
|
|
4944
|
+
const O = (((B = i.flip) == null ? void 0 : B.index) || 0) + 1, N = k[O];
|
|
4945
|
+
if (N && (!(u === "alignment" ? b !== ye(N) : !1) || // We leave the current main axis only if every placement on that axis
|
|
4946
4946
|
// overflows the main axis.
|
|
4947
4947
|
V.every((T) => ye(T.placement) === b ? T.overflows[0] > 0 : !0)))
|
|
4948
4948
|
return {
|
|
@@ -4951,7 +4951,7 @@ const Vc = (e) => ({
|
|
|
4951
4951
|
overflows: V
|
|
4952
4952
|
},
|
|
4953
4953
|
reset: {
|
|
4954
|
-
placement:
|
|
4954
|
+
placement: N
|
|
4955
4955
|
}
|
|
4956
4956
|
};
|
|
4957
4957
|
let M = (P = V.filter((F) => F.overflows[0] <= 0).sort((F, T) => F.overflows[1] - T.overflows[1])[0]) == null ? void 0 : P.placement;
|
|
@@ -4986,7 +4986,7 @@ const Vc = (e) => ({
|
|
|
4986
4986
|
}
|
|
4987
4987
|
};
|
|
4988
4988
|
};
|
|
4989
|
-
function
|
|
4989
|
+
function Xr(e, t) {
|
|
4990
4990
|
return {
|
|
4991
4991
|
top: e.top - t.height,
|
|
4992
4992
|
right: e.right - t.width,
|
|
@@ -4994,7 +4994,7 @@ function Yr(e, t) {
|
|
|
4994
4994
|
left: e.left - t.width
|
|
4995
4995
|
};
|
|
4996
4996
|
}
|
|
4997
|
-
function
|
|
4997
|
+
function Kr(e) {
|
|
4998
4998
|
return Pc.some((t) => e[t] >= 0);
|
|
4999
4999
|
}
|
|
5000
5000
|
const jc = function(e) {
|
|
@@ -5013,11 +5013,11 @@ const jc = function(e) {
|
|
|
5013
5013
|
const i = await bt(t, {
|
|
5014
5014
|
...o,
|
|
5015
5015
|
elementContext: "reference"
|
|
5016
|
-
}), a =
|
|
5016
|
+
}), a = Xr(i, n.reference);
|
|
5017
5017
|
return {
|
|
5018
5018
|
data: {
|
|
5019
5019
|
referenceHiddenOffsets: a,
|
|
5020
|
-
referenceHidden:
|
|
5020
|
+
referenceHidden: Kr(a)
|
|
5021
5021
|
}
|
|
5022
5022
|
};
|
|
5023
5023
|
}
|
|
@@ -5025,11 +5025,11 @@ const jc = function(e) {
|
|
|
5025
5025
|
const i = await bt(t, {
|
|
5026
5026
|
...o,
|
|
5027
5027
|
altBoundary: !0
|
|
5028
|
-
}), a =
|
|
5028
|
+
}), a = Xr(i, n.floating);
|
|
5029
5029
|
return {
|
|
5030
5030
|
data: {
|
|
5031
5031
|
escapedOffsets: a,
|
|
5032
|
-
escaped:
|
|
5032
|
+
escaped: Kr(a)
|
|
5033
5033
|
}
|
|
5034
5034
|
};
|
|
5035
5035
|
}
|
|
@@ -5038,13 +5038,13 @@ const jc = function(e) {
|
|
|
5038
5038
|
}
|
|
5039
5039
|
}
|
|
5040
5040
|
};
|
|
5041
|
-
},
|
|
5041
|
+
}, ti = /* @__PURE__ */ new Set(["left", "top"]);
|
|
5042
5042
|
async function zc(e, t) {
|
|
5043
5043
|
const {
|
|
5044
5044
|
placement: n,
|
|
5045
5045
|
platform: r,
|
|
5046
5046
|
elements: o
|
|
5047
|
-
} = e, i = await (r.isRTL == null ? void 0 : r.isRTL(o.floating)), a = Re(n), s = st(n), c = ye(n) === "y", l =
|
|
5047
|
+
} = e, i = await (r.isRTL == null ? void 0 : r.isRTL(o.floating)), a = Re(n), s = st(n), c = ye(n) === "y", l = ti.has(a) ? -1 : 1, f = i && c ? -1 : 1, u = Ae(t, e);
|
|
5048
5048
|
let {
|
|
5049
5049
|
mainAxis: d,
|
|
5050
5050
|
crossAxis: m,
|
|
@@ -5116,15 +5116,15 @@ const $c = function(e) {
|
|
|
5116
5116
|
} = Ae(e, t), l = {
|
|
5117
5117
|
x: n,
|
|
5118
5118
|
y: r
|
|
5119
|
-
}, f = await bt(t, c), u = ye(Re(o)), d =
|
|
5119
|
+
}, f = await bt(t, c), u = ye(Re(o)), d = or(u);
|
|
5120
5120
|
let m = l[d], p = l[u];
|
|
5121
5121
|
if (i) {
|
|
5122
5122
|
const y = d === "y" ? "top" : "left", v = d === "y" ? "bottom" : "right", b = m + f[y], w = m - f[v];
|
|
5123
|
-
m =
|
|
5123
|
+
m = qn(b, m, w);
|
|
5124
5124
|
}
|
|
5125
5125
|
if (a) {
|
|
5126
5126
|
const y = u === "y" ? "top" : "left", v = u === "y" ? "bottom" : "right", b = p + f[y], w = p - f[v];
|
|
5127
|
-
p =
|
|
5127
|
+
p = qn(b, p, w);
|
|
5128
5128
|
}
|
|
5129
5129
|
const g = s.fn({
|
|
5130
5130
|
...t,
|
|
@@ -5161,7 +5161,7 @@ const $c = function(e) {
|
|
|
5161
5161
|
} = Ae(e, t), f = {
|
|
5162
5162
|
x: n,
|
|
5163
5163
|
y: r
|
|
5164
|
-
}, u = ye(o), d =
|
|
5164
|
+
}, u = ye(o), d = or(u);
|
|
5165
5165
|
let m = f[d], p = f[u];
|
|
5166
5166
|
const g = Ae(s, t), y = typeof g == "number" ? {
|
|
5167
5167
|
mainAxis: g,
|
|
@@ -5177,7 +5177,7 @@ const $c = function(e) {
|
|
|
5177
5177
|
}
|
|
5178
5178
|
if (l) {
|
|
5179
5179
|
var v, b;
|
|
5180
|
-
const w = d === "y" ? "width" : "height", C =
|
|
5180
|
+
const w = d === "y" ? "width" : "height", C = ti.has(Re(o)), x = i.reference[u] - i.floating[w] + (C && ((v = a.offset) == null ? void 0 : v[u]) || 0) + (C ? 0 : y.crossAxis), R = i.reference[u] + i.reference[w] + (C ? 0 : ((b = a.offset) == null ? void 0 : b[u]) || 0) - (C ? y.crossAxis : 0);
|
|
5181
5181
|
p < x ? p = x : p > R && (p = R);
|
|
5182
5182
|
}
|
|
5183
5183
|
return {
|
|
@@ -5218,8 +5218,8 @@ const $c = function(e) {
|
|
|
5218
5218
|
availableWidth: E,
|
|
5219
5219
|
availableHeight: k
|
|
5220
5220
|
});
|
|
5221
|
-
const
|
|
5222
|
-
return p !==
|
|
5221
|
+
const L = await a.getDimensions(s.floating);
|
|
5222
|
+
return p !== L.width || g !== L.height ? {
|
|
5223
5223
|
reset: {
|
|
5224
5224
|
rects: !0
|
|
5225
5225
|
}
|
|
@@ -5231,7 +5231,7 @@ function dn() {
|
|
|
5231
5231
|
return typeof window < "u";
|
|
5232
5232
|
}
|
|
5233
5233
|
function ct(e) {
|
|
5234
|
-
return
|
|
5234
|
+
return ni(e) ? (e.nodeName || "").toLowerCase() : "#document";
|
|
5235
5235
|
}
|
|
5236
5236
|
function ce(e) {
|
|
5237
5237
|
var t;
|
|
@@ -5239,9 +5239,9 @@ function ce(e) {
|
|
|
5239
5239
|
}
|
|
5240
5240
|
function Ce(e) {
|
|
5241
5241
|
var t;
|
|
5242
|
-
return (t = (
|
|
5242
|
+
return (t = (ni(e) ? e.ownerDocument : e.document) || window.document) == null ? void 0 : t.documentElement;
|
|
5243
5243
|
}
|
|
5244
|
-
function
|
|
5244
|
+
function ni(e) {
|
|
5245
5245
|
return dn() ? e instanceof Node || e instanceof ce(e).Node : !1;
|
|
5246
5246
|
}
|
|
5247
5247
|
function pe(e) {
|
|
@@ -5250,7 +5250,7 @@ function pe(e) {
|
|
|
5250
5250
|
function we(e) {
|
|
5251
5251
|
return dn() ? e instanceof HTMLElement || e instanceof ce(e).HTMLElement : !1;
|
|
5252
5252
|
}
|
|
5253
|
-
function
|
|
5253
|
+
function Qr(e) {
|
|
5254
5254
|
return !dn() || typeof ShadowRoot > "u" ? !1 : e instanceof ShadowRoot || e instanceof ce(e).ShadowRoot;
|
|
5255
5255
|
}
|
|
5256
5256
|
const qc = /* @__PURE__ */ new Set(["inline", "contents"]);
|
|
@@ -5264,12 +5264,12 @@ function kt(e) {
|
|
|
5264
5264
|
return /auto|scroll|overlay|hidden|clip/.test(t + r + n) && !qc.has(o);
|
|
5265
5265
|
}
|
|
5266
5266
|
const Gc = /* @__PURE__ */ new Set(["table", "td", "th"]);
|
|
5267
|
-
function
|
|
5267
|
+
function Zc(e) {
|
|
5268
5268
|
return Gc.has(ct(e));
|
|
5269
5269
|
}
|
|
5270
|
-
const
|
|
5270
|
+
const Yc = [":popover-open", ":modal"];
|
|
5271
5271
|
function mn(e) {
|
|
5272
|
-
return
|
|
5272
|
+
return Yc.some((t) => {
|
|
5273
5273
|
try {
|
|
5274
5274
|
return e.matches(t);
|
|
5275
5275
|
} catch {
|
|
@@ -5278,14 +5278,14 @@ function mn(e) {
|
|
|
5278
5278
|
});
|
|
5279
5279
|
}
|
|
5280
5280
|
const Xc = ["transform", "translate", "scale", "rotate", "perspective"], Kc = ["transform", "translate", "scale", "rotate", "perspective", "filter"], Qc = ["paint", "layout", "strict", "content"];
|
|
5281
|
-
function
|
|
5282
|
-
const t =
|
|
5281
|
+
function sr(e) {
|
|
5282
|
+
const t = cr(), n = pe(e) ? he(e) : e;
|
|
5283
5283
|
return Xc.some((r) => n[r] ? n[r] !== "none" : !1) || (n.containerType ? n.containerType !== "normal" : !1) || !t && (n.backdropFilter ? n.backdropFilter !== "none" : !1) || !t && (n.filter ? n.filter !== "none" : !1) || Kc.some((r) => (n.willChange || "").includes(r)) || Qc.some((r) => (n.contain || "").includes(r));
|
|
5284
5284
|
}
|
|
5285
5285
|
function Jc(e) {
|
|
5286
5286
|
let t = Ie(e);
|
|
5287
5287
|
for (; we(t) && !rt(t); ) {
|
|
5288
|
-
if (
|
|
5288
|
+
if (sr(t))
|
|
5289
5289
|
return t;
|
|
5290
5290
|
if (mn(t))
|
|
5291
5291
|
return null;
|
|
@@ -5293,7 +5293,7 @@ function Jc(e) {
|
|
|
5293
5293
|
}
|
|
5294
5294
|
return null;
|
|
5295
5295
|
}
|
|
5296
|
-
function
|
|
5296
|
+
function cr() {
|
|
5297
5297
|
return typeof CSS > "u" || !CSS.supports ? !1 : CSS.supports("-webkit-backdrop-filter", "none");
|
|
5298
5298
|
}
|
|
5299
5299
|
const el = /* @__PURE__ */ new Set(["html", "body", "#document"]);
|
|
@@ -5319,29 +5319,29 @@ function Ie(e) {
|
|
|
5319
5319
|
// Step into the shadow DOM of the parent of a slotted node.
|
|
5320
5320
|
e.assignedSlot || // DOM Element detected.
|
|
5321
5321
|
e.parentNode || // ShadowRoot detected.
|
|
5322
|
-
|
|
5322
|
+
Qr(e) && e.host || // Fallback.
|
|
5323
5323
|
Ce(e)
|
|
5324
5324
|
);
|
|
5325
|
-
return
|
|
5325
|
+
return Qr(t) ? t.host : t;
|
|
5326
5326
|
}
|
|
5327
|
-
function
|
|
5327
|
+
function ri(e) {
|
|
5328
5328
|
const t = Ie(e);
|
|
5329
|
-
return rt(t) ? e.ownerDocument ? e.ownerDocument.body : e.body : we(t) && kt(t) ? t :
|
|
5329
|
+
return rt(t) ? e.ownerDocument ? e.ownerDocument.body : e.body : we(t) && kt(t) ? t : ri(t);
|
|
5330
5330
|
}
|
|
5331
5331
|
function wt(e, t, n) {
|
|
5332
5332
|
var r;
|
|
5333
5333
|
t === void 0 && (t = []), n === void 0 && (n = !0);
|
|
5334
|
-
const o =
|
|
5334
|
+
const o = ri(e), i = o === ((r = e.ownerDocument) == null ? void 0 : r.body), a = ce(o);
|
|
5335
5335
|
if (i) {
|
|
5336
|
-
const s =
|
|
5336
|
+
const s = Zn(a);
|
|
5337
5337
|
return t.concat(a, a.visualViewport || [], kt(o) ? o : [], s && n ? wt(s) : []);
|
|
5338
5338
|
}
|
|
5339
5339
|
return t.concat(o, wt(o, [], n));
|
|
5340
5340
|
}
|
|
5341
|
-
function
|
|
5341
|
+
function Zn(e) {
|
|
5342
5342
|
return e.parent && Object.getPrototypeOf(e.parent) ? e.frameElement : null;
|
|
5343
5343
|
}
|
|
5344
|
-
function
|
|
5344
|
+
function oi(e) {
|
|
5345
5345
|
const t = he(e);
|
|
5346
5346
|
let n = parseFloat(t.width) || 0, r = parseFloat(t.height) || 0;
|
|
5347
5347
|
const o = we(e), i = o ? e.offsetWidth : n, a = o ? e.offsetHeight : r, s = tn(n) !== i || tn(r) !== a;
|
|
@@ -5351,18 +5351,18 @@ function ti(e) {
|
|
|
5351
5351
|
$: s
|
|
5352
5352
|
};
|
|
5353
5353
|
}
|
|
5354
|
-
function
|
|
5354
|
+
function lr(e) {
|
|
5355
5355
|
return pe(e) ? e : e.contextElement;
|
|
5356
5356
|
}
|
|
5357
5357
|
function Qe(e) {
|
|
5358
|
-
const t =
|
|
5358
|
+
const t = lr(e);
|
|
5359
5359
|
if (!we(t))
|
|
5360
5360
|
return be(1);
|
|
5361
5361
|
const n = t.getBoundingClientRect(), {
|
|
5362
5362
|
width: r,
|
|
5363
5363
|
height: o,
|
|
5364
5364
|
$: i
|
|
5365
|
-
} =
|
|
5365
|
+
} = oi(t);
|
|
5366
5366
|
let a = (i ? tn(n.width) : n.width) / r, s = (i ? tn(n.height) : n.height) / o;
|
|
5367
5367
|
return (!a || !Number.isFinite(a)) && (a = 1), (!s || !Number.isFinite(s)) && (s = 1), {
|
|
5368
5368
|
x: a,
|
|
@@ -5370,9 +5370,9 @@ function Qe(e) {
|
|
|
5370
5370
|
};
|
|
5371
5371
|
}
|
|
5372
5372
|
const tl = /* @__PURE__ */ be(0);
|
|
5373
|
-
function
|
|
5373
|
+
function ii(e) {
|
|
5374
5374
|
const t = ce(e);
|
|
5375
|
-
return !
|
|
5375
|
+
return !cr() || !t.visualViewport ? tl : {
|
|
5376
5376
|
x: t.visualViewport.offsetLeft,
|
|
5377
5377
|
y: t.visualViewport.offsetTop
|
|
5378
5378
|
};
|
|
@@ -5382,17 +5382,17 @@ function nl(e, t, n) {
|
|
|
5382
5382
|
}
|
|
5383
5383
|
function He(e, t, n, r) {
|
|
5384
5384
|
t === void 0 && (t = !1), n === void 0 && (n = !1);
|
|
5385
|
-
const o = e.getBoundingClientRect(), i =
|
|
5385
|
+
const o = e.getBoundingClientRect(), i = lr(e);
|
|
5386
5386
|
let a = be(1);
|
|
5387
5387
|
t && (r ? pe(r) && (a = Qe(r)) : a = Qe(e));
|
|
5388
|
-
const s = nl(i, n, r) ?
|
|
5388
|
+
const s = nl(i, n, r) ? ii(i) : be(0);
|
|
5389
5389
|
let c = (o.left + s.x) / a.x, l = (o.top + s.y) / a.y, f = o.width / a.x, u = o.height / a.y;
|
|
5390
5390
|
if (i) {
|
|
5391
5391
|
const d = ce(i), m = r && pe(r) ? ce(r) : r;
|
|
5392
|
-
let p = d, g =
|
|
5392
|
+
let p = d, g = Zn(p);
|
|
5393
5393
|
for (; g && r && m !== p; ) {
|
|
5394
5394
|
const y = Qe(g), v = g.getBoundingClientRect(), b = he(g), w = v.left + (g.clientLeft + parseFloat(b.paddingLeft)) * y.x, C = v.top + (g.clientTop + parseFloat(b.paddingTop)) * y.y;
|
|
5395
|
-
c *= y.x, l *= y.y, f *= y.x, u *= y.y, c += w, l += C, p = ce(g), g =
|
|
5395
|
+
c *= y.x, l *= y.y, f *= y.x, u *= y.y, c += w, l += C, p = ce(g), g = Zn(p);
|
|
5396
5396
|
}
|
|
5397
5397
|
}
|
|
5398
5398
|
return rn({
|
|
@@ -5406,7 +5406,7 @@ function hn(e, t) {
|
|
|
5406
5406
|
const n = pn(e).scrollLeft;
|
|
5407
5407
|
return t ? t.left + n : He(Ce(e)).left + n;
|
|
5408
5408
|
}
|
|
5409
|
-
function
|
|
5409
|
+
function ai(e, t) {
|
|
5410
5410
|
const n = e.getBoundingClientRect(), r = n.left + t.scrollLeft - hn(e, n), o = n.top + t.scrollTop;
|
|
5411
5411
|
return {
|
|
5412
5412
|
x: r,
|
|
@@ -5432,7 +5432,7 @@ function rl(e) {
|
|
|
5432
5432
|
const m = He(r);
|
|
5433
5433
|
l = Qe(r), f.x = m.x + r.clientLeft, f.y = m.y + r.clientTop;
|
|
5434
5434
|
}
|
|
5435
|
-
const d = a && !u && !i ?
|
|
5435
|
+
const d = a && !u && !i ? ai(a, c) : be(0);
|
|
5436
5436
|
return {
|
|
5437
5437
|
width: n.width * l.x,
|
|
5438
5438
|
height: n.height * l.y,
|
|
@@ -5454,20 +5454,20 @@ function il(e) {
|
|
|
5454
5454
|
y: s
|
|
5455
5455
|
};
|
|
5456
5456
|
}
|
|
5457
|
-
const
|
|
5457
|
+
const Jr = 25;
|
|
5458
5458
|
function al(e, t) {
|
|
5459
5459
|
const n = ce(e), r = Ce(e), o = n.visualViewport;
|
|
5460
5460
|
let i = r.clientWidth, a = r.clientHeight, s = 0, c = 0;
|
|
5461
5461
|
if (o) {
|
|
5462
5462
|
i = o.width, a = o.height;
|
|
5463
|
-
const f =
|
|
5463
|
+
const f = cr();
|
|
5464
5464
|
(!f || f && t === "fixed") && (s = o.offsetLeft, c = o.offsetTop);
|
|
5465
5465
|
}
|
|
5466
5466
|
const l = hn(r);
|
|
5467
5467
|
if (l <= 0) {
|
|
5468
5468
|
const f = r.ownerDocument, u = f.body, d = getComputedStyle(u), m = f.compatMode === "CSS1Compat" && parseFloat(d.marginLeft) + parseFloat(d.marginRight) || 0, p = Math.abs(r.clientWidth - u.clientWidth - m);
|
|
5469
|
-
p <=
|
|
5470
|
-
} else l <=
|
|
5469
|
+
p <= Jr && (i -= p);
|
|
5470
|
+
} else l <= Jr && (i += l);
|
|
5471
5471
|
return {
|
|
5472
5472
|
width: i,
|
|
5473
5473
|
height: a,
|
|
@@ -5485,7 +5485,7 @@ function cl(e, t) {
|
|
|
5485
5485
|
y: l
|
|
5486
5486
|
};
|
|
5487
5487
|
}
|
|
5488
|
-
function
|
|
5488
|
+
function eo(e, t, n) {
|
|
5489
5489
|
let r;
|
|
5490
5490
|
if (t === "viewport")
|
|
5491
5491
|
r = al(e, n);
|
|
@@ -5494,7 +5494,7 @@ function Qr(e, t, n) {
|
|
|
5494
5494
|
else if (pe(t))
|
|
5495
5495
|
r = cl(t, n);
|
|
5496
5496
|
else {
|
|
5497
|
-
const o =
|
|
5497
|
+
const o = ii(e);
|
|
5498
5498
|
r = {
|
|
5499
5499
|
x: t.x - o.x,
|
|
5500
5500
|
y: t.y - o.y,
|
|
@@ -5504,9 +5504,9 @@ function Qr(e, t, n) {
|
|
|
5504
5504
|
}
|
|
5505
5505
|
return rn(r);
|
|
5506
5506
|
}
|
|
5507
|
-
function
|
|
5507
|
+
function si(e, t) {
|
|
5508
5508
|
const n = Ie(e);
|
|
5509
|
-
return n === t || !pe(n) || rt(n) ? !1 : he(n).position === "fixed" ||
|
|
5509
|
+
return n === t || !pe(n) || rt(n) ? !1 : he(n).position === "fixed" || si(n, t);
|
|
5510
5510
|
}
|
|
5511
5511
|
function ll(e, t) {
|
|
5512
5512
|
const n = t.get(e);
|
|
@@ -5516,8 +5516,8 @@ function ll(e, t) {
|
|
|
5516
5516
|
const i = he(e).position === "fixed";
|
|
5517
5517
|
let a = i ? Ie(e) : e;
|
|
5518
5518
|
for (; pe(a) && !rt(a); ) {
|
|
5519
|
-
const s = he(a), c =
|
|
5520
|
-
!c && s.position === "fixed" && (o = null), (i ? !c && !o : !c && s.position === "static" && !!o && sl.has(o.position) || kt(a) && !c &&
|
|
5519
|
+
const s = he(a), c = sr(a);
|
|
5520
|
+
!c && s.position === "fixed" && (o = null), (i ? !c && !o : !c && s.position === "static" && !!o && sl.has(o.position) || kt(a) && !c && si(e, a)) ? r = r.filter((f) => f !== a) : o = s, a = Ie(a);
|
|
5521
5521
|
}
|
|
5522
5522
|
return t.set(e, r), r;
|
|
5523
5523
|
}
|
|
@@ -5529,9 +5529,9 @@ function ul(e) {
|
|
|
5529
5529
|
strategy: o
|
|
5530
5530
|
} = e;
|
|
5531
5531
|
const a = [...n === "clippingAncestors" ? mn(t) ? [] : ll(t, this._c) : [].concat(n), r], s = a[0], c = a.reduce((l, f) => {
|
|
5532
|
-
const u =
|
|
5532
|
+
const u = eo(t, f, o);
|
|
5533
5533
|
return l.top = se(u.top, l.top), l.right = Fe(u.right, l.right), l.bottom = Fe(u.bottom, l.bottom), l.left = se(u.left, l.left), l;
|
|
5534
|
-
},
|
|
5534
|
+
}, eo(t, s, o));
|
|
5535
5535
|
return {
|
|
5536
5536
|
width: c.right - c.left,
|
|
5537
5537
|
height: c.bottom - c.top,
|
|
@@ -5543,7 +5543,7 @@ function fl(e) {
|
|
|
5543
5543
|
const {
|
|
5544
5544
|
width: t,
|
|
5545
5545
|
height: n
|
|
5546
|
-
} =
|
|
5546
|
+
} = oi(e);
|
|
5547
5547
|
return {
|
|
5548
5548
|
width: t,
|
|
5549
5549
|
height: n
|
|
@@ -5565,7 +5565,7 @@ function dl(e, t, n) {
|
|
|
5565
5565
|
c.x = m.x + t.clientLeft, c.y = m.y + t.clientTop;
|
|
5566
5566
|
} else o && l();
|
|
5567
5567
|
i && !r && o && l();
|
|
5568
|
-
const f = o && !r && !i ?
|
|
5568
|
+
const f = o && !r && !i ? ai(o, s) : be(0), u = a.left + s.scrollLeft - c.x - f.x, d = a.top + s.scrollTop - c.y - f.y;
|
|
5569
5569
|
return {
|
|
5570
5570
|
x: u,
|
|
5571
5571
|
y: d,
|
|
@@ -5573,10 +5573,10 @@ function dl(e, t, n) {
|
|
|
5573
5573
|
height: a.height
|
|
5574
5574
|
};
|
|
5575
5575
|
}
|
|
5576
|
-
function
|
|
5576
|
+
function Mn(e) {
|
|
5577
5577
|
return he(e).position === "static";
|
|
5578
5578
|
}
|
|
5579
|
-
function
|
|
5579
|
+
function to(e, t) {
|
|
5580
5580
|
if (!we(e) || he(e).position === "fixed")
|
|
5581
5581
|
return null;
|
|
5582
5582
|
if (t)
|
|
@@ -5584,26 +5584,26 @@ function Jr(e, t) {
|
|
|
5584
5584
|
let n = e.offsetParent;
|
|
5585
5585
|
return Ce(e) === n && (n = n.ownerDocument.body), n;
|
|
5586
5586
|
}
|
|
5587
|
-
function
|
|
5587
|
+
function ci(e, t) {
|
|
5588
5588
|
const n = ce(e);
|
|
5589
5589
|
if (mn(e))
|
|
5590
5590
|
return n;
|
|
5591
5591
|
if (!we(e)) {
|
|
5592
5592
|
let o = Ie(e);
|
|
5593
5593
|
for (; o && !rt(o); ) {
|
|
5594
|
-
if (pe(o) && !
|
|
5594
|
+
if (pe(o) && !Mn(o))
|
|
5595
5595
|
return o;
|
|
5596
5596
|
o = Ie(o);
|
|
5597
5597
|
}
|
|
5598
5598
|
return n;
|
|
5599
5599
|
}
|
|
5600
|
-
let r =
|
|
5601
|
-
for (; r &&
|
|
5602
|
-
r =
|
|
5603
|
-
return r && rt(r) &&
|
|
5600
|
+
let r = to(e, t);
|
|
5601
|
+
for (; r && Zc(r) && Mn(r); )
|
|
5602
|
+
r = to(r, t);
|
|
5603
|
+
return r && rt(r) && Mn(r) && !sr(r) ? n : r || Jc(e) || n;
|
|
5604
5604
|
}
|
|
5605
5605
|
const ml = async function(e) {
|
|
5606
|
-
const t = this.getOffsetParent ||
|
|
5606
|
+
const t = this.getOffsetParent || ci, n = this.getDimensions, r = await n(e.floating);
|
|
5607
5607
|
return {
|
|
5608
5608
|
reference: dl(e.reference, await t(e.floating), e.strategy),
|
|
5609
5609
|
floating: {
|
|
@@ -5621,7 +5621,7 @@ const hl = {
|
|
|
5621
5621
|
convertOffsetParentRelativeRectToViewportRelativeRect: rl,
|
|
5622
5622
|
getDocumentElement: Ce,
|
|
5623
5623
|
getClippingRect: ul,
|
|
5624
|
-
getOffsetParent:
|
|
5624
|
+
getOffsetParent: ci,
|
|
5625
5625
|
getElementRects: ml,
|
|
5626
5626
|
getClientRects: ol,
|
|
5627
5627
|
getDimensions: fl,
|
|
@@ -5629,7 +5629,7 @@ const hl = {
|
|
|
5629
5629
|
isElement: pe,
|
|
5630
5630
|
isRTL: pl
|
|
5631
5631
|
};
|
|
5632
|
-
function
|
|
5632
|
+
function li(e, t) {
|
|
5633
5633
|
return e.x === t.x && e.y === t.y && e.width === t.width && e.height === t.height;
|
|
5634
5634
|
}
|
|
5635
5635
|
function gl(e, t) {
|
|
@@ -5649,7 +5649,7 @@ function gl(e, t) {
|
|
|
5649
5649
|
} = l;
|
|
5650
5650
|
if (s || t(), !d || !m)
|
|
5651
5651
|
return;
|
|
5652
|
-
const p =
|
|
5652
|
+
const p = Lt(u), g = Lt(o.clientWidth - (f + d)), y = Lt(o.clientHeight - (u + m)), v = Lt(f), w = {
|
|
5653
5653
|
rootMargin: -p + "px " + -g + "px " + -y + "px " + -v + "px",
|
|
5654
5654
|
threshold: se(0, Fe(1, c)) || 1
|
|
5655
5655
|
};
|
|
@@ -5663,7 +5663,7 @@ function gl(e, t) {
|
|
|
5663
5663
|
a(!1, 1e-7);
|
|
5664
5664
|
}, 1e3);
|
|
5665
5665
|
}
|
|
5666
|
-
k === 1 && !
|
|
5666
|
+
k === 1 && !li(l, e.getBoundingClientRect()) && a(), C = !1;
|
|
5667
5667
|
}
|
|
5668
5668
|
try {
|
|
5669
5669
|
n = new IntersectionObserver(x, {
|
|
@@ -5686,7 +5686,7 @@ function vl(e, t, n, r) {
|
|
|
5686
5686
|
elementResize: a = typeof ResizeObserver == "function",
|
|
5687
5687
|
layoutShift: s = typeof IntersectionObserver == "function",
|
|
5688
5688
|
animationFrame: c = !1
|
|
5689
|
-
} = r, l =
|
|
5689
|
+
} = r, l = lr(e), f = o || i ? [...l ? wt(l) : [], ...wt(t)] : [];
|
|
5690
5690
|
f.forEach((v) => {
|
|
5691
5691
|
o && v.addEventListener("scroll", n, {
|
|
5692
5692
|
passive: !0
|
|
@@ -5705,7 +5705,7 @@ function vl(e, t, n, r) {
|
|
|
5705
5705
|
c && y();
|
|
5706
5706
|
function y() {
|
|
5707
5707
|
const v = He(e);
|
|
5708
|
-
g && !
|
|
5708
|
+
g && !li(g, v) && n(), g = v, p = requestAnimationFrame(y);
|
|
5709
5709
|
}
|
|
5710
5710
|
return n(), () => {
|
|
5711
5711
|
var v;
|
|
@@ -5714,7 +5714,7 @@ function vl(e, t, n, r) {
|
|
|
5714
5714
|
}), u == null || u(), (v = m) == null || v.disconnect(), m = null, c && cancelAnimationFrame(p);
|
|
5715
5715
|
};
|
|
5716
5716
|
}
|
|
5717
|
-
const yl = $c, bl = Hc, wl = Bc, Cl = Uc, xl = jc,
|
|
5717
|
+
const yl = $c, bl = Hc, wl = Bc, Cl = Uc, xl = jc, no = Vc, El = Wc, Sl = (e, t, n) => {
|
|
5718
5718
|
const r = /* @__PURE__ */ new Map(), o = {
|
|
5719
5719
|
platform: hl,
|
|
5720
5720
|
...n
|
|
@@ -5728,7 +5728,7 @@ const yl = $c, bl = Hc, wl = Bc, Cl = Uc, xl = jc, eo = Vc, El = Wc, Sl = (e, t,
|
|
|
5728
5728
|
});
|
|
5729
5729
|
};
|
|
5730
5730
|
var kl = typeof document < "u", Pl = function() {
|
|
5731
|
-
}, Gt = kl ?
|
|
5731
|
+
}, Gt = kl ? fa : Pl;
|
|
5732
5732
|
function on(e, t) {
|
|
5733
5733
|
if (e === t)
|
|
5734
5734
|
return !0;
|
|
@@ -5759,14 +5759,14 @@ function on(e, t) {
|
|
|
5759
5759
|
}
|
|
5760
5760
|
return e !== e && t !== t;
|
|
5761
5761
|
}
|
|
5762
|
-
function
|
|
5762
|
+
function ui(e) {
|
|
5763
5763
|
return typeof window > "u" ? 1 : (e.ownerDocument.defaultView || window).devicePixelRatio || 1;
|
|
5764
5764
|
}
|
|
5765
|
-
function
|
|
5766
|
-
const n =
|
|
5765
|
+
function ro(e, t) {
|
|
5766
|
+
const n = ui(e);
|
|
5767
5767
|
return Math.round(t * n) / n;
|
|
5768
5768
|
}
|
|
5769
|
-
function
|
|
5769
|
+
function Ln(e) {
|
|
5770
5770
|
const t = h.useRef(e);
|
|
5771
5771
|
return Gt(() => {
|
|
5772
5772
|
t.current = e;
|
|
@@ -5799,7 +5799,7 @@ function Al(e) {
|
|
|
5799
5799
|
T !== R.current && (R.current = T, g(T));
|
|
5800
5800
|
}, []), w = h.useCallback((T) => {
|
|
5801
5801
|
T !== k.current && (k.current = T, v(T));
|
|
5802
|
-
}, []), C = i || p, x = a || y, R = h.useRef(null), k = h.useRef(null), E = h.useRef(f),
|
|
5802
|
+
}, []), C = i || p, x = a || y, R = h.useRef(null), k = h.useRef(null), E = h.useRef(f), L = c != null, V = Ln(c), B = Ln(o), P = Ln(l), A = h.useCallback(() => {
|
|
5803
5803
|
if (!R.current || !k.current)
|
|
5804
5804
|
return;
|
|
5805
5805
|
const T = {
|
|
@@ -5816,7 +5816,7 @@ function Al(e) {
|
|
|
5816
5816
|
// setting it to `true` when `open === false` (must be specified).
|
|
5817
5817
|
isPositioned: P.current !== !1
|
|
5818
5818
|
};
|
|
5819
|
-
O.current && !on(E.current, W) && (E.current = W,
|
|
5819
|
+
O.current && !on(E.current, W) && (E.current = W, Oo.flushSync(() => {
|
|
5820
5820
|
u(W);
|
|
5821
5821
|
}));
|
|
5822
5822
|
});
|
|
@@ -5836,8 +5836,8 @@ function Al(e) {
|
|
|
5836
5836
|
return V.current(C, x, A);
|
|
5837
5837
|
A();
|
|
5838
5838
|
}
|
|
5839
|
-
}, [C, x, A, V,
|
|
5840
|
-
const
|
|
5839
|
+
}, [C, x, A, V, L]);
|
|
5840
|
+
const N = h.useMemo(() => ({
|
|
5841
5841
|
reference: R,
|
|
5842
5842
|
floating: k,
|
|
5843
5843
|
setReference: b,
|
|
@@ -5853,11 +5853,11 @@ function Al(e) {
|
|
|
5853
5853
|
};
|
|
5854
5854
|
if (!M.floating)
|
|
5855
5855
|
return T;
|
|
5856
|
-
const j =
|
|
5856
|
+
const j = ro(M.floating, f.x), W = ro(M.floating, f.y);
|
|
5857
5857
|
return s ? {
|
|
5858
5858
|
...T,
|
|
5859
5859
|
transform: "translate(" + j + "px, " + W + "px)",
|
|
5860
|
-
...
|
|
5860
|
+
...ui(M.floating) >= 1.5 && {
|
|
5861
5861
|
willChange: "transform"
|
|
5862
5862
|
}
|
|
5863
5863
|
} : {
|
|
@@ -5869,10 +5869,10 @@ function Al(e) {
|
|
|
5869
5869
|
return h.useMemo(() => ({
|
|
5870
5870
|
...f,
|
|
5871
5871
|
update: A,
|
|
5872
|
-
refs:
|
|
5872
|
+
refs: N,
|
|
5873
5873
|
elements: M,
|
|
5874
5874
|
floatingStyles: F
|
|
5875
|
-
}), [f, A,
|
|
5875
|
+
}), [f, A, N, M, F]);
|
|
5876
5876
|
}
|
|
5877
5877
|
const Rl = (e) => {
|
|
5878
5878
|
function t(n) {
|
|
@@ -5886,10 +5886,10 @@ const Rl = (e) => {
|
|
|
5886
5886
|
element: r,
|
|
5887
5887
|
padding: o
|
|
5888
5888
|
} = typeof e == "function" ? e(n) : e;
|
|
5889
|
-
return r && t(r) ? r.current != null ?
|
|
5889
|
+
return r && t(r) ? r.current != null ? no({
|
|
5890
5890
|
element: r.current,
|
|
5891
5891
|
padding: o
|
|
5892
|
-
}).fn(n) : {} : r ?
|
|
5892
|
+
}).fn(n) : {} : r ? no({
|
|
5893
5893
|
element: r,
|
|
5894
5894
|
padding: o
|
|
5895
5895
|
}).fn(n) : {};
|
|
@@ -5904,10 +5904,10 @@ const Rl = (e) => {
|
|
|
5904
5904
|
}), Ml = (e, t) => ({
|
|
5905
5905
|
...El(e),
|
|
5906
5906
|
options: [e, t]
|
|
5907
|
-
}),
|
|
5907
|
+
}), Ll = (e, t) => ({
|
|
5908
5908
|
...wl(e),
|
|
5909
5909
|
options: [e, t]
|
|
5910
|
-
}),
|
|
5910
|
+
}), Nl = (e, t) => ({
|
|
5911
5911
|
...Cl(e),
|
|
5912
5912
|
options: [e, t]
|
|
5913
5913
|
}), Fl = (e, t) => ({
|
|
@@ -5917,7 +5917,7 @@ const Rl = (e) => {
|
|
|
5917
5917
|
...Rl(e),
|
|
5918
5918
|
options: [e, t]
|
|
5919
5919
|
});
|
|
5920
|
-
var _l = "Arrow",
|
|
5920
|
+
var _l = "Arrow", fi = h.forwardRef((e, t) => {
|
|
5921
5921
|
const { children: n, width: r = 10, height: o = 5, ...i } = e;
|
|
5922
5922
|
return /* @__PURE__ */ S(
|
|
5923
5923
|
Te.svg,
|
|
@@ -5932,11 +5932,11 @@ var _l = "Arrow", ci = h.forwardRef((e, t) => {
|
|
|
5932
5932
|
}
|
|
5933
5933
|
);
|
|
5934
5934
|
});
|
|
5935
|
-
|
|
5936
|
-
var Dl =
|
|
5935
|
+
fi.displayName = _l;
|
|
5936
|
+
var Dl = fi;
|
|
5937
5937
|
function Vl(e) {
|
|
5938
5938
|
const [t, n] = h.useState(void 0);
|
|
5939
|
-
return
|
|
5939
|
+
return Ne(() => {
|
|
5940
5940
|
if (e) {
|
|
5941
5941
|
n({ width: e.offsetWidth, height: e.offsetHeight });
|
|
5942
5942
|
const r = new ResizeObserver((o) => {
|
|
@@ -5956,22 +5956,22 @@ function Vl(e) {
|
|
|
5956
5956
|
n(void 0);
|
|
5957
5957
|
}, [e]), t;
|
|
5958
5958
|
}
|
|
5959
|
-
var
|
|
5959
|
+
var ur = "Popper", [di, mi] = Zo(ur), [Bl, pi] = di(ur), hi = (e) => {
|
|
5960
5960
|
const { __scopePopper: t, children: n } = e, [r, o] = h.useState(null);
|
|
5961
5961
|
return /* @__PURE__ */ S(Bl, { scope: t, anchor: r, onAnchorChange: o, children: n });
|
|
5962
5962
|
};
|
|
5963
|
-
|
|
5964
|
-
var
|
|
5963
|
+
hi.displayName = ur;
|
|
5964
|
+
var gi = "PopperAnchor", vi = h.forwardRef(
|
|
5965
5965
|
(e, t) => {
|
|
5966
|
-
const { __scopePopper: n, virtualRef: r, ...o } = e, i =
|
|
5966
|
+
const { __scopePopper: n, virtualRef: r, ...o } = e, i = pi(gi, n), a = h.useRef(null), s = _e(t, a), c = h.useRef(null);
|
|
5967
5967
|
return h.useEffect(() => {
|
|
5968
5968
|
const l = c.current;
|
|
5969
5969
|
c.current = (r == null ? void 0 : r.current) || a.current, l !== c.current && i.onAnchorChange(c.current);
|
|
5970
5970
|
}), r ? null : /* @__PURE__ */ S(Te.div, { ...o, ref: s });
|
|
5971
5971
|
}
|
|
5972
5972
|
);
|
|
5973
|
-
|
|
5974
|
-
var
|
|
5973
|
+
vi.displayName = gi;
|
|
5974
|
+
var fr = "PopperContent", [jl, zl] = di(fr), yi = h.forwardRef(
|
|
5975
5975
|
(e, t) => {
|
|
5976
5976
|
var H, Q, ne, J, G, I;
|
|
5977
5977
|
const {
|
|
@@ -5989,15 +5989,15 @@ var ur = "PopperContent", [jl, zl] = li(ur), hi = h.forwardRef(
|
|
|
5989
5989
|
updatePositionStrategy: m = "optimized",
|
|
5990
5990
|
onPlaced: p,
|
|
5991
5991
|
...g
|
|
5992
|
-
} = e, y =
|
|
5992
|
+
} = e, y = pi(fr, n), [v, b] = h.useState(null), w = _e(t, (q) => b(q)), [C, x] = h.useState(null), R = Vl(C), k = (R == null ? void 0 : R.width) ?? 0, E = (R == null ? void 0 : R.height) ?? 0, L = r + (i !== "center" ? "-" + i : ""), V = typeof f == "number" ? f : { top: 0, right: 0, bottom: 0, left: 0, ...f }, B = Array.isArray(l) ? l : [l], P = B.length > 0, A = {
|
|
5993
5993
|
padding: V,
|
|
5994
5994
|
boundary: B.filter(Hl),
|
|
5995
5995
|
// with `strategy: 'fixed'`, this is the only way to get it to respect boundaries
|
|
5996
5996
|
altBoundary: P
|
|
5997
|
-
}, { refs: O, floatingStyles:
|
|
5997
|
+
}, { refs: O, floatingStyles: N, placement: M, isPositioned: F, middlewareData: T } = Al({
|
|
5998
5998
|
// default to `fixed` strategy so users don't have to pick and we also avoid focus scroll issues
|
|
5999
5999
|
strategy: "fixed",
|
|
6000
|
-
placement:
|
|
6000
|
+
placement: L,
|
|
6001
6001
|
whileElementsMounted: (...q) => vl(...q, {
|
|
6002
6002
|
animationFrame: m === "always"
|
|
6003
6003
|
}),
|
|
@@ -6012,8 +6012,8 @@ var ur = "PopperContent", [jl, zl] = li(ur), hi = h.forwardRef(
|
|
|
6012
6012
|
limiter: u === "partial" ? Ml() : void 0,
|
|
6013
6013
|
...A
|
|
6014
6014
|
}),
|
|
6015
|
-
c &&
|
|
6016
|
-
|
|
6015
|
+
c && Ll({ ...A }),
|
|
6016
|
+
Nl({
|
|
6017
6017
|
...A,
|
|
6018
6018
|
apply: ({ elements: q, rects: X, availableWidth: re, availableHeight: ue }) => {
|
|
6019
6019
|
const { width: de, height: xe } = X.reference, ae = q.floating.style;
|
|
@@ -6024,12 +6024,12 @@ var ur = "PopperContent", [jl, zl] = li(ur), hi = h.forwardRef(
|
|
|
6024
6024
|
Wl({ arrowWidth: k, arrowHeight: E }),
|
|
6025
6025
|
d && Fl({ strategy: "referenceHidden", ...A })
|
|
6026
6026
|
]
|
|
6027
|
-
}), [j, W] =
|
|
6028
|
-
|
|
6029
|
-
F && (
|
|
6030
|
-
}, [F,
|
|
6031
|
-
const te = (H = T.arrow) == null ? void 0 : H.x, U = (Q = T.arrow) == null ? void 0 : Q.y,
|
|
6032
|
-
return
|
|
6027
|
+
}), [j, W] = Ci(M), Z = nt(p);
|
|
6028
|
+
Ne(() => {
|
|
6029
|
+
F && (Z == null || Z());
|
|
6030
|
+
}, [F, Z]);
|
|
6031
|
+
const te = (H = T.arrow) == null ? void 0 : H.x, U = (Q = T.arrow) == null ? void 0 : Q.y, Y = ((ne = T.arrow) == null ? void 0 : ne.centerOffset) !== 0, [le, ge] = h.useState();
|
|
6032
|
+
return Ne(() => {
|
|
6033
6033
|
v && ge(window.getComputedStyle(v).zIndex);
|
|
6034
6034
|
}, [v]), /* @__PURE__ */ S(
|
|
6035
6035
|
"div",
|
|
@@ -6037,8 +6037,8 @@ var ur = "PopperContent", [jl, zl] = li(ur), hi = h.forwardRef(
|
|
|
6037
6037
|
ref: O.setFloating,
|
|
6038
6038
|
"data-radix-popper-content-wrapper": "",
|
|
6039
6039
|
style: {
|
|
6040
|
-
...
|
|
6041
|
-
transform: F ?
|
|
6040
|
+
...N,
|
|
6041
|
+
transform: F ? N.transform : "translate(0, -200%)",
|
|
6042
6042
|
// keep off the page when measuring
|
|
6043
6043
|
minWidth: "max-content",
|
|
6044
6044
|
zIndex: le,
|
|
@@ -6063,7 +6063,7 @@ var ur = "PopperContent", [jl, zl] = li(ur), hi = h.forwardRef(
|
|
|
6063
6063
|
onArrowChange: x,
|
|
6064
6064
|
arrowX: te,
|
|
6065
6065
|
arrowY: U,
|
|
6066
|
-
shouldHideArrow:
|
|
6066
|
+
shouldHideArrow: Y,
|
|
6067
6067
|
children: /* @__PURE__ */ S(
|
|
6068
6068
|
Te.div,
|
|
6069
6069
|
{
|
|
@@ -6085,14 +6085,14 @@ var ur = "PopperContent", [jl, zl] = li(ur), hi = h.forwardRef(
|
|
|
6085
6085
|
);
|
|
6086
6086
|
}
|
|
6087
6087
|
);
|
|
6088
|
-
|
|
6089
|
-
var
|
|
6088
|
+
yi.displayName = fr;
|
|
6089
|
+
var bi = "PopperArrow", $l = {
|
|
6090
6090
|
top: "bottom",
|
|
6091
6091
|
right: "left",
|
|
6092
6092
|
bottom: "top",
|
|
6093
6093
|
left: "right"
|
|
6094
|
-
},
|
|
6095
|
-
const { __scopePopper: r, ...o } = t, i = zl(
|
|
6094
|
+
}, wi = h.forwardRef(function(t, n) {
|
|
6095
|
+
const { __scopePopper: r, ...o } = t, i = zl(bi, r), a = $l[i.placedSide];
|
|
6096
6096
|
return (
|
|
6097
6097
|
// we have to use an extra wrapper because `ResizeObserver` (used by `useSize`)
|
|
6098
6098
|
// doesn't report size as we'd expect on SVG elements.
|
|
@@ -6136,7 +6136,7 @@ var gi = "PopperArrow", $l = {
|
|
|
6136
6136
|
)
|
|
6137
6137
|
);
|
|
6138
6138
|
});
|
|
6139
|
-
|
|
6139
|
+
wi.displayName = bi;
|
|
6140
6140
|
function Hl(e) {
|
|
6141
6141
|
return e !== null;
|
|
6142
6142
|
}
|
|
@@ -6145,33 +6145,33 @@ var Wl = (e) => ({
|
|
|
6145
6145
|
options: e,
|
|
6146
6146
|
fn(t) {
|
|
6147
6147
|
var y, v, b;
|
|
6148
|
-
const { placement: n, rects: r, middlewareData: o } = t, a = ((y = o.arrow) == null ? void 0 : y.centerOffset) !== 0, s = a ? 0 : e.arrowWidth, c = a ? 0 : e.arrowHeight, [l, f] =
|
|
6148
|
+
const { placement: n, rects: r, middlewareData: o } = t, a = ((y = o.arrow) == null ? void 0 : y.centerOffset) !== 0, s = a ? 0 : e.arrowWidth, c = a ? 0 : e.arrowHeight, [l, f] = Ci(n), u = { start: "0%", center: "50%", end: "100%" }[f], d = (((v = o.arrow) == null ? void 0 : v.x) ?? 0) + s / 2, m = (((b = o.arrow) == null ? void 0 : b.y) ?? 0) + c / 2;
|
|
6149
6149
|
let p = "", g = "";
|
|
6150
6150
|
return l === "bottom" ? (p = a ? u : `${d}px`, g = `${-c}px`) : l === "top" ? (p = a ? u : `${d}px`, g = `${r.floating.height + c}px`) : l === "right" ? (p = `${-c}px`, g = a ? u : `${m}px`) : l === "left" && (p = `${r.floating.width + c}px`, g = a ? u : `${m}px`), { data: { x: p, y: g } };
|
|
6151
6151
|
}
|
|
6152
6152
|
});
|
|
6153
|
-
function
|
|
6153
|
+
function Ci(e) {
|
|
6154
6154
|
const [t, n = "center"] = e.split("-");
|
|
6155
6155
|
return [t, n];
|
|
6156
6156
|
}
|
|
6157
|
-
var Ul =
|
|
6157
|
+
var Ul = hi, xi = vi, ql = yi, Gl = wi, Zl = "Portal", Ei = h.forwardRef((e, t) => {
|
|
6158
6158
|
var s;
|
|
6159
6159
|
const { container: n, ...r } = e, [o, i] = h.useState(!1);
|
|
6160
|
-
|
|
6160
|
+
Ne(() => i(!0), []);
|
|
6161
6161
|
const a = n || o && ((s = globalThis == null ? void 0 : globalThis.document) == null ? void 0 : s.body);
|
|
6162
6162
|
return a ? ha.createPortal(/* @__PURE__ */ S(Te.div, { ...r, ref: t }), a) : null;
|
|
6163
6163
|
});
|
|
6164
|
-
|
|
6165
|
-
function
|
|
6164
|
+
Ei.displayName = Zl;
|
|
6165
|
+
function Yl(e, t) {
|
|
6166
6166
|
return h.useReducer((n, r) => t[n][r] ?? n, e);
|
|
6167
6167
|
}
|
|
6168
|
-
var
|
|
6168
|
+
var dr = (e) => {
|
|
6169
6169
|
const { present: t, children: n } = e, r = Xl(t), o = typeof n == "function" ? n({ present: r.isPresent }) : h.Children.only(n), i = _e(r.ref, Kl(o));
|
|
6170
6170
|
return typeof n == "function" || r.isPresent ? h.cloneElement(o, { ref: i }) : null;
|
|
6171
6171
|
};
|
|
6172
|
-
|
|
6172
|
+
dr.displayName = "Presence";
|
|
6173
6173
|
function Xl(e) {
|
|
6174
|
-
const [t, n] = h.useState(), r = h.useRef(null), o = h.useRef(e), i = h.useRef("none"), a = e ? "mounted" : "unmounted", [s, c] =
|
|
6174
|
+
const [t, n] = h.useState(), r = h.useRef(null), o = h.useRef(e), i = h.useRef("none"), a = e ? "mounted" : "unmounted", [s, c] = Yl(a, {
|
|
6175
6175
|
mounted: {
|
|
6176
6176
|
UNMOUNT: "unmounted",
|
|
6177
6177
|
ANIMATION_OUT: "unmountSuspended"
|
|
@@ -6185,19 +6185,19 @@ function Xl(e) {
|
|
|
6185
6185
|
}
|
|
6186
6186
|
});
|
|
6187
6187
|
return h.useEffect(() => {
|
|
6188
|
-
const l =
|
|
6188
|
+
const l = Nt(r.current);
|
|
6189
6189
|
i.current = s === "mounted" ? l : "none";
|
|
6190
|
-
}, [s]),
|
|
6190
|
+
}, [s]), Ne(() => {
|
|
6191
6191
|
const l = r.current, f = o.current;
|
|
6192
6192
|
if (f !== e) {
|
|
6193
|
-
const d = i.current, m =
|
|
6193
|
+
const d = i.current, m = Nt(l);
|
|
6194
6194
|
e ? c("MOUNT") : m === "none" || (l == null ? void 0 : l.display) === "none" ? c("UNMOUNT") : c(f && d !== m ? "ANIMATION_OUT" : "UNMOUNT"), o.current = e;
|
|
6195
6195
|
}
|
|
6196
|
-
}, [e, c]),
|
|
6196
|
+
}, [e, c]), Ne(() => {
|
|
6197
6197
|
if (t) {
|
|
6198
6198
|
let l;
|
|
6199
6199
|
const f = t.ownerDocument.defaultView ?? window, u = (m) => {
|
|
6200
|
-
const g =
|
|
6200
|
+
const g = Nt(r.current).includes(CSS.escape(m.animationName));
|
|
6201
6201
|
if (m.target === t && g && (c("ANIMATION_END"), !o.current)) {
|
|
6202
6202
|
const y = t.style.animationFillMode;
|
|
6203
6203
|
t.style.animationFillMode = "forwards", l = f.setTimeout(() => {
|
|
@@ -6205,7 +6205,7 @@ function Xl(e) {
|
|
|
6205
6205
|
});
|
|
6206
6206
|
}
|
|
6207
6207
|
}, d = (m) => {
|
|
6208
|
-
m.target === t && (i.current =
|
|
6208
|
+
m.target === t && (i.current = Nt(r.current));
|
|
6209
6209
|
};
|
|
6210
6210
|
return t.addEventListener("animationstart", d), t.addEventListener("animationcancel", u), t.addEventListener("animationend", u), () => {
|
|
6211
6211
|
f.clearTimeout(l), t.removeEventListener("animationstart", d), t.removeEventListener("animationcancel", u), t.removeEventListener("animationend", u);
|
|
@@ -6219,7 +6219,7 @@ function Xl(e) {
|
|
|
6219
6219
|
}, [])
|
|
6220
6220
|
};
|
|
6221
6221
|
}
|
|
6222
|
-
function
|
|
6222
|
+
function Nt(e) {
|
|
6223
6223
|
return (e == null ? void 0 : e.animationName) || "none";
|
|
6224
6224
|
}
|
|
6225
6225
|
function Kl(e) {
|
|
@@ -6271,7 +6271,7 @@ function ru(e) {
|
|
|
6271
6271
|
let t = (r = Object.getOwnPropertyDescriptor(e.props, "ref")) == null ? void 0 : r.get, n = t && "isReactWarning" in t && t.isReactWarning;
|
|
6272
6272
|
return n ? e.ref : (t = (o = Object.getOwnPropertyDescriptor(e, "ref")) == null ? void 0 : o.get, n = t && "isReactWarning" in t && t.isReactWarning, n ? e.props.ref : e.props.ref || e.ref);
|
|
6273
6273
|
}
|
|
6274
|
-
var ou = h[" useInsertionEffect ".trim().toString()] ||
|
|
6274
|
+
var ou = h[" useInsertionEffect ".trim().toString()] || Ne;
|
|
6275
6275
|
function iu({
|
|
6276
6276
|
prop: e,
|
|
6277
6277
|
defaultProp: t,
|
|
@@ -6325,13 +6325,13 @@ var cu = function(e) {
|
|
|
6325
6325
|
return null;
|
|
6326
6326
|
var t = Array.isArray(e) ? e[0] : e;
|
|
6327
6327
|
return t.ownerDocument.body;
|
|
6328
|
-
}, qe = /* @__PURE__ */ new WeakMap(), Ft = /* @__PURE__ */ new WeakMap(), It = {}, Nn = 0,
|
|
6329
|
-
return e && (e.host ||
|
|
6328
|
+
}, qe = /* @__PURE__ */ new WeakMap(), Ft = /* @__PURE__ */ new WeakMap(), It = {}, Nn = 0, Si = function(e) {
|
|
6329
|
+
return e && (e.host || Si(e.parentNode));
|
|
6330
6330
|
}, lu = function(e, t) {
|
|
6331
6331
|
return t.map(function(n) {
|
|
6332
6332
|
if (e.contains(n))
|
|
6333
6333
|
return n;
|
|
6334
|
-
var r =
|
|
6334
|
+
var r = Si(n);
|
|
6335
6335
|
return r && e.contains(r) ? r : (console.error("aria-hidden", n, "in not contained inside", e, ". Doing nothing"), null);
|
|
6336
6336
|
}).filter(function(n) {
|
|
6337
6337
|
return !!n;
|
|
@@ -6377,7 +6377,7 @@ var cu = function(e) {
|
|
|
6377
6377
|
return t;
|
|
6378
6378
|
}, ve.apply(this, arguments);
|
|
6379
6379
|
};
|
|
6380
|
-
function
|
|
6380
|
+
function ki(e, t) {
|
|
6381
6381
|
var n = {};
|
|
6382
6382
|
for (var r in e) Object.prototype.hasOwnProperty.call(e, r) && t.indexOf(r) < 0 && (n[r] = e[r]);
|
|
6383
6383
|
if (e != null && typeof Object.getOwnPropertySymbols == "function")
|
|
@@ -6390,8 +6390,8 @@ function du(e, t, n) {
|
|
|
6390
6390
|
(i || !(r in t)) && (i || (i = Array.prototype.slice.call(t, 0, r)), i[r] = t[r]);
|
|
6391
6391
|
return e.concat(i || Array.prototype.slice.call(t));
|
|
6392
6392
|
}
|
|
6393
|
-
var
|
|
6394
|
-
function
|
|
6393
|
+
var Zt = "right-scroll-bar-position", Yt = "width-before-scroll-bar", mu = "with-scroll-bars-hidden", pu = "--removed-body-scroll-bar-size";
|
|
6394
|
+
function Fn(e, t) {
|
|
6395
6395
|
return typeof e == "function" ? e(t) : e && (e.current = t), e;
|
|
6396
6396
|
}
|
|
6397
6397
|
function hu(e, t) {
|
|
@@ -6415,24 +6415,24 @@ function hu(e, t) {
|
|
|
6415
6415
|
})[0];
|
|
6416
6416
|
return n.callback = t, n.facade;
|
|
6417
6417
|
}
|
|
6418
|
-
var gu = typeof window < "u" ? h.useLayoutEffect : h.useEffect,
|
|
6418
|
+
var gu = typeof window < "u" ? h.useLayoutEffect : h.useEffect, oo = /* @__PURE__ */ new WeakMap();
|
|
6419
6419
|
function vu(e, t) {
|
|
6420
6420
|
var n = hu(null, function(r) {
|
|
6421
6421
|
return e.forEach(function(o) {
|
|
6422
|
-
return
|
|
6422
|
+
return Fn(o, r);
|
|
6423
6423
|
});
|
|
6424
6424
|
});
|
|
6425
6425
|
return gu(function() {
|
|
6426
|
-
var r =
|
|
6426
|
+
var r = oo.get(n);
|
|
6427
6427
|
if (r) {
|
|
6428
6428
|
var o = new Set(r), i = new Set(e), a = n.current;
|
|
6429
6429
|
o.forEach(function(s) {
|
|
6430
|
-
i.has(s) ||
|
|
6430
|
+
i.has(s) || Fn(s, null);
|
|
6431
6431
|
}), i.forEach(function(s) {
|
|
6432
|
-
o.has(s) ||
|
|
6432
|
+
o.has(s) || Fn(s, a);
|
|
6433
6433
|
});
|
|
6434
6434
|
}
|
|
6435
|
-
|
|
6435
|
+
oo.set(n, e);
|
|
6436
6436
|
}, [e]), n;
|
|
6437
6437
|
}
|
|
6438
6438
|
function yu(e) {
|
|
@@ -6498,8 +6498,8 @@ function wu(e) {
|
|
|
6498
6498
|
var t = bu(null);
|
|
6499
6499
|
return t.options = ve({ async: !0, ssr: !1 }, e), t;
|
|
6500
6500
|
}
|
|
6501
|
-
var
|
|
6502
|
-
var t = e.sideCar, n =
|
|
6501
|
+
var Pi = function(e) {
|
|
6502
|
+
var t = e.sideCar, n = ki(e, ["sideCar"]);
|
|
6503
6503
|
if (!t)
|
|
6504
6504
|
throw new Error("Sidecar: please provide `sideCar` property to import the right car");
|
|
6505
6505
|
var r = t.read();
|
|
@@ -6507,21 +6507,21 @@ var Ei = function(e) {
|
|
|
6507
6507
|
throw new Error("Sidecar medium not found");
|
|
6508
6508
|
return h.createElement(r, ve({}, n));
|
|
6509
6509
|
};
|
|
6510
|
-
|
|
6510
|
+
Pi.isSideCarExport = !0;
|
|
6511
6511
|
function Cu(e, t) {
|
|
6512
|
-
return e.useMedium(t),
|
|
6512
|
+
return e.useMedium(t), Pi;
|
|
6513
6513
|
}
|
|
6514
|
-
var
|
|
6514
|
+
var Ai = wu(), In = function() {
|
|
6515
6515
|
}, gn = h.forwardRef(function(e, t) {
|
|
6516
6516
|
var n = h.useRef(null), r = h.useState({
|
|
6517
|
-
onScrollCapture:
|
|
6518
|
-
onWheelCapture:
|
|
6519
|
-
onTouchMoveCapture:
|
|
6520
|
-
}), o = r[0], i = r[1], a = e.forwardProps, s = e.children, c = e.className, l = e.removeScrollBar, f = e.enabled, u = e.shards, d = e.sideCar, m = e.noRelative, p = e.noIsolation, g = e.inert, y = e.allowPinchZoom, v = e.as, b = v === void 0 ? "div" : v, w = e.gapMode, C =
|
|
6517
|
+
onScrollCapture: In,
|
|
6518
|
+
onWheelCapture: In,
|
|
6519
|
+
onTouchMoveCapture: In
|
|
6520
|
+
}), o = r[0], i = r[1], a = e.forwardProps, s = e.children, c = e.className, l = e.removeScrollBar, f = e.enabled, u = e.shards, d = e.sideCar, m = e.noRelative, p = e.noIsolation, g = e.inert, y = e.allowPinchZoom, v = e.as, b = v === void 0 ? "div" : v, w = e.gapMode, C = ki(e, ["forwardProps", "children", "className", "removeScrollBar", "enabled", "shards", "sideCar", "noRelative", "noIsolation", "inert", "allowPinchZoom", "as", "gapMode"]), x = d, R = vu([n, t]), k = ve(ve({}, C), o);
|
|
6521
6521
|
return h.createElement(
|
|
6522
6522
|
h.Fragment,
|
|
6523
6523
|
null,
|
|
6524
|
-
f && h.createElement(x, { sideCar:
|
|
6524
|
+
f && h.createElement(x, { sideCar: Ai, removeScrollBar: l, shards: u, noRelative: m, noIsolation: p, inert: g, setCallbacks: i, allowPinchZoom: !!y, lockRef: n, gapMode: w }),
|
|
6525
6525
|
a ? h.cloneElement(h.Children.only(s), ve(ve({}, k), { ref: R })) : h.createElement(b, ve({}, k, { className: c, ref: R }), s)
|
|
6526
6526
|
);
|
|
6527
6527
|
});
|
|
@@ -6531,8 +6531,8 @@ gn.defaultProps = {
|
|
|
6531
6531
|
inert: !1
|
|
6532
6532
|
};
|
|
6533
6533
|
gn.classNames = {
|
|
6534
|
-
fullWidth:
|
|
6535
|
-
zeroRight:
|
|
6534
|
+
fullWidth: Yt,
|
|
6535
|
+
zeroRight: Zt
|
|
6536
6536
|
};
|
|
6537
6537
|
var xu = function() {
|
|
6538
6538
|
if (typeof __webpack_nonce__ < "u")
|
|
@@ -6572,7 +6572,7 @@ var Pu = function() {
|
|
|
6572
6572
|
};
|
|
6573
6573
|
}, [t && n]);
|
|
6574
6574
|
};
|
|
6575
|
-
},
|
|
6575
|
+
}, Ri = function() {
|
|
6576
6576
|
var e = Au(), t = function(n) {
|
|
6577
6577
|
var r = n.styles, o = n.dynamic;
|
|
6578
6578
|
return e(r, o), null;
|
|
@@ -6583,11 +6583,11 @@ var Pu = function() {
|
|
|
6583
6583
|
top: 0,
|
|
6584
6584
|
right: 0,
|
|
6585
6585
|
gap: 0
|
|
6586
|
-
},
|
|
6586
|
+
}, _n = function(e) {
|
|
6587
6587
|
return parseInt(e || "", 10) || 0;
|
|
6588
6588
|
}, Tu = function(e) {
|
|
6589
6589
|
var t = window.getComputedStyle(document.body), n = t[e === "padding" ? "paddingLeft" : "marginLeft"], r = t[e === "padding" ? "paddingTop" : "marginTop"], o = t[e === "padding" ? "paddingRight" : "marginRight"];
|
|
6590
|
-
return [
|
|
6590
|
+
return [_n(n), _n(r), _n(o)];
|
|
6591
6591
|
}, Ou = function(e) {
|
|
6592
6592
|
if (e === void 0 && (e = "margin"), typeof window > "u")
|
|
6593
6593
|
return Ru;
|
|
@@ -6598,7 +6598,7 @@ var Pu = function() {
|
|
|
6598
6598
|
right: t[2],
|
|
6599
6599
|
gap: Math.max(0, r - n + t[2] - t[0])
|
|
6600
6600
|
};
|
|
6601
|
-
}, Mu =
|
|
6601
|
+
}, Mu = Ri(), Je = "data-scroll-locked", Lu = function(e, t, n, r) {
|
|
6602
6602
|
var o = e.left, i = e.top, a = e.right, s = e.gap;
|
|
6603
6603
|
return n === void 0 && (n = "margin"), `
|
|
6604
6604
|
.`.concat(mu, ` {
|
|
@@ -6622,19 +6622,19 @@ var Pu = function() {
|
|
|
6622
6622
|
].filter(Boolean).join(""), `
|
|
6623
6623
|
}
|
|
6624
6624
|
|
|
6625
|
-
.`).concat(
|
|
6625
|
+
.`).concat(Zt, ` {
|
|
6626
6626
|
right: `).concat(s, "px ").concat(r, `;
|
|
6627
6627
|
}
|
|
6628
6628
|
|
|
6629
|
-
.`).concat(
|
|
6629
|
+
.`).concat(Yt, ` {
|
|
6630
6630
|
margin-right: `).concat(s, "px ").concat(r, `;
|
|
6631
6631
|
}
|
|
6632
6632
|
|
|
6633
|
-
.`).concat(
|
|
6633
|
+
.`).concat(Zt, " .").concat(Zt, ` {
|
|
6634
6634
|
right: 0 `).concat(r, `;
|
|
6635
6635
|
}
|
|
6636
6636
|
|
|
6637
|
-
.`).concat(
|
|
6637
|
+
.`).concat(Yt, " .").concat(Yt, ` {
|
|
6638
6638
|
margin-right: 0 `).concat(r, `;
|
|
6639
6639
|
}
|
|
6640
6640
|
|
|
@@ -6642,23 +6642,23 @@ var Pu = function() {
|
|
|
6642
6642
|
`).concat(pu, ": ").concat(s, `px;
|
|
6643
6643
|
}
|
|
6644
6644
|
`);
|
|
6645
|
-
},
|
|
6645
|
+
}, io = function() {
|
|
6646
6646
|
var e = parseInt(document.body.getAttribute(Je) || "0", 10);
|
|
6647
6647
|
return isFinite(e) ? e : 0;
|
|
6648
|
-
},
|
|
6648
|
+
}, Nu = function() {
|
|
6649
6649
|
h.useEffect(function() {
|
|
6650
|
-
return document.body.setAttribute(Je, (
|
|
6651
|
-
var e =
|
|
6650
|
+
return document.body.setAttribute(Je, (io() + 1).toString()), function() {
|
|
6651
|
+
var e = io() - 1;
|
|
6652
6652
|
e <= 0 ? document.body.removeAttribute(Je) : document.body.setAttribute(Je, e.toString());
|
|
6653
6653
|
};
|
|
6654
6654
|
}, []);
|
|
6655
6655
|
}, Fu = function(e) {
|
|
6656
6656
|
var t = e.noRelative, n = e.noImportant, r = e.gapMode, o = r === void 0 ? "margin" : r;
|
|
6657
|
-
|
|
6657
|
+
Nu();
|
|
6658
6658
|
var i = h.useMemo(function() {
|
|
6659
6659
|
return Ou(o);
|
|
6660
6660
|
}, [o]);
|
|
6661
|
-
return h.createElement(Mu, { styles:
|
|
6661
|
+
return h.createElement(Mu, { styles: Lu(i, !t, o, n ? "" : "!important") });
|
|
6662
6662
|
}, Yn = !1;
|
|
6663
6663
|
if (typeof window < "u")
|
|
6664
6664
|
try {
|
|
@@ -6673,7 +6673,7 @@ if (typeof window < "u")
|
|
|
6673
6673
|
}
|
|
6674
6674
|
var Ge = Yn ? { passive: !1 } : !1, Iu = function(e) {
|
|
6675
6675
|
return e.tagName === "TEXTAREA";
|
|
6676
|
-
},
|
|
6676
|
+
}, Ti = function(e, t) {
|
|
6677
6677
|
if (!(e instanceof Element))
|
|
6678
6678
|
return !1;
|
|
6679
6679
|
var n = window.getComputedStyle(e);
|
|
@@ -6683,16 +6683,16 @@ var Ge = Yn ? { passive: !1 } : !1, Iu = function(e) {
|
|
|
6683
6683
|
!(n.overflowY === n.overflowX && !Iu(e) && n[t] === "visible")
|
|
6684
6684
|
);
|
|
6685
6685
|
}, _u = function(e) {
|
|
6686
|
-
return
|
|
6686
|
+
return Ti(e, "overflowY");
|
|
6687
6687
|
}, Du = function(e) {
|
|
6688
|
-
return
|
|
6689
|
-
},
|
|
6688
|
+
return Ti(e, "overflowX");
|
|
6689
|
+
}, ao = function(e, t) {
|
|
6690
6690
|
var n = t.ownerDocument, r = t;
|
|
6691
6691
|
do {
|
|
6692
6692
|
typeof ShadowRoot < "u" && r instanceof ShadowRoot && (r = r.host);
|
|
6693
|
-
var o =
|
|
6693
|
+
var o = Oi(e, r);
|
|
6694
6694
|
if (o) {
|
|
6695
|
-
var i =
|
|
6695
|
+
var i = Mi(e, r), a = i[1], s = i[2];
|
|
6696
6696
|
if (a > s)
|
|
6697
6697
|
return !0;
|
|
6698
6698
|
}
|
|
@@ -6713,9 +6713,9 @@ var Ge = Yn ? { passive: !1 } : !1, Iu = function(e) {
|
|
|
6713
6713
|
n,
|
|
6714
6714
|
r
|
|
6715
6715
|
];
|
|
6716
|
-
},
|
|
6716
|
+
}, Oi = function(e, t) {
|
|
6717
6717
|
return e === "v" ? _u(t) : Du(t);
|
|
6718
|
-
},
|
|
6718
|
+
}, Mi = function(e, t) {
|
|
6719
6719
|
return e === "v" ? Vu(t) : Bu(t);
|
|
6720
6720
|
}, ju = function(e, t) {
|
|
6721
6721
|
return e === "h" && t === "rtl" ? -1 : 1;
|
|
@@ -6724,8 +6724,8 @@ var Ge = Yn ? { passive: !1 } : !1, Iu = function(e) {
|
|
|
6724
6724
|
do {
|
|
6725
6725
|
if (!s)
|
|
6726
6726
|
break;
|
|
6727
|
-
var m =
|
|
6728
|
-
(p || v) &&
|
|
6727
|
+
var m = Mi(e, s), p = m[0], g = m[1], y = m[2], v = g - y - i * p;
|
|
6728
|
+
(p || v) && Oi(e, s) && (u += v, d += p);
|
|
6729
6729
|
var b = s.parentNode;
|
|
6730
6730
|
s = b && b.nodeType === Node.DOCUMENT_FRAGMENT_NODE ? b.host : b;
|
|
6731
6731
|
} while (
|
|
@@ -6736,9 +6736,9 @@ var Ge = Yn ? { passive: !1 } : !1, Iu = function(e) {
|
|
|
6736
6736
|
return (f && Math.abs(u) < 1 || !f && Math.abs(d) < 1) && (l = !0), l;
|
|
6737
6737
|
}, Dt = function(e) {
|
|
6738
6738
|
return "changedTouches" in e ? [e.changedTouches[0].clientX, e.changedTouches[0].clientY] : [0, 0];
|
|
6739
|
-
},
|
|
6739
|
+
}, so = function(e) {
|
|
6740
6740
|
return [e.deltaX, e.deltaY];
|
|
6741
|
-
},
|
|
6741
|
+
}, co = function(e) {
|
|
6742
6742
|
return e && "current" in e ? e.current : e;
|
|
6743
6743
|
}, $u = function(e, t) {
|
|
6744
6744
|
return e[0] === t[0] && e[1] === t[1];
|
|
@@ -6747,15 +6747,15 @@ var Ge = Yn ? { passive: !1 } : !1, Iu = function(e) {
|
|
|
6747
6747
|
.block-interactivity-`.concat(e, ` {pointer-events: none;}
|
|
6748
6748
|
.allow-interactivity-`).concat(e, ` {pointer-events: all;}
|
|
6749
6749
|
`);
|
|
6750
|
-
}, Wu = 0,
|
|
6750
|
+
}, Wu = 0, Ze = [];
|
|
6751
6751
|
function Uu(e) {
|
|
6752
|
-
var t = h.useRef([]), n = h.useRef([0, 0]), r = h.useRef(), o = h.useState(Wu++)[0], i = h.useState(
|
|
6752
|
+
var t = h.useRef([]), n = h.useRef([0, 0]), r = h.useRef(), o = h.useState(Wu++)[0], i = h.useState(Ri)[0], a = h.useRef(e);
|
|
6753
6753
|
h.useEffect(function() {
|
|
6754
6754
|
a.current = e;
|
|
6755
6755
|
}, [e]), h.useEffect(function() {
|
|
6756
6756
|
if (e.inert) {
|
|
6757
6757
|
document.body.classList.add("block-interactivity-".concat(o));
|
|
6758
|
-
var g = du([e.lockRef.current], (e.shards || []).map(
|
|
6758
|
+
var g = du([e.lockRef.current], (e.shards || []).map(co), !0).filter(Boolean);
|
|
6759
6759
|
return g.forEach(function(y) {
|
|
6760
6760
|
return y.classList.add("allow-interactivity-".concat(o));
|
|
6761
6761
|
}), function() {
|
|
@@ -6771,13 +6771,13 @@ function Uu(e) {
|
|
|
6771
6771
|
var v = Dt(g), b = n.current, w = "deltaX" in g ? g.deltaX : b[0] - v[0], C = "deltaY" in g ? g.deltaY : b[1] - v[1], x, R = g.target, k = Math.abs(w) > Math.abs(C) ? "h" : "v";
|
|
6772
6772
|
if ("touches" in g && k === "h" && R.type === "range")
|
|
6773
6773
|
return !1;
|
|
6774
|
-
var E = window.getSelection(),
|
|
6774
|
+
var E = window.getSelection(), L = E && E.anchorNode, V = L ? L === R || L.contains(R) : !1;
|
|
6775
6775
|
if (V)
|
|
6776
6776
|
return !1;
|
|
6777
|
-
var B =
|
|
6777
|
+
var B = ao(k, R);
|
|
6778
6778
|
if (!B)
|
|
6779
6779
|
return !0;
|
|
6780
|
-
if (B ? x = k : (x = k === "v" ? "h" : "v", B =
|
|
6780
|
+
if (B ? x = k : (x = k === "v" ? "h" : "v", B = ao(k, R)), !B)
|
|
6781
6781
|
return !1;
|
|
6782
6782
|
if (!r.current && "changedTouches" in g && (w || C) && (r.current = x), !x)
|
|
6783
6783
|
return !0;
|
|
@@ -6785,8 +6785,8 @@ function Uu(e) {
|
|
|
6785
6785
|
return zu(P, y, g, P === "h" ? w : C);
|
|
6786
6786
|
}, []), c = h.useCallback(function(g) {
|
|
6787
6787
|
var y = g;
|
|
6788
|
-
if (!(!
|
|
6789
|
-
var v = "deltaY" in y ?
|
|
6788
|
+
if (!(!Ze.length || Ze[Ze.length - 1] !== i)) {
|
|
6789
|
+
var v = "deltaY" in y ? so(y) : Dt(y), b = t.current.filter(function(x) {
|
|
6790
6790
|
return x.name === y.type && (x.target === y.target || y.target === x.shadowParent) && $u(x.delta, v);
|
|
6791
6791
|
})[0];
|
|
6792
6792
|
if (b && b.should) {
|
|
@@ -6794,7 +6794,7 @@ function Uu(e) {
|
|
|
6794
6794
|
return;
|
|
6795
6795
|
}
|
|
6796
6796
|
if (!b) {
|
|
6797
|
-
var w = (a.current.shards || []).map(
|
|
6797
|
+
var w = (a.current.shards || []).map(co).filter(Boolean).filter(function(x) {
|
|
6798
6798
|
return x.contains(y.target);
|
|
6799
6799
|
}), C = w.length > 0 ? s(y, w[0]) : !a.current.noIsolation;
|
|
6800
6800
|
C && y.cancelable && y.preventDefault();
|
|
@@ -6810,17 +6810,17 @@ function Uu(e) {
|
|
|
6810
6810
|
}, []), f = h.useCallback(function(g) {
|
|
6811
6811
|
n.current = Dt(g), r.current = void 0;
|
|
6812
6812
|
}, []), u = h.useCallback(function(g) {
|
|
6813
|
-
l(g.type,
|
|
6813
|
+
l(g.type, so(g), g.target, s(g, e.lockRef.current));
|
|
6814
6814
|
}, []), d = h.useCallback(function(g) {
|
|
6815
6815
|
l(g.type, Dt(g), g.target, s(g, e.lockRef.current));
|
|
6816
6816
|
}, []);
|
|
6817
6817
|
h.useEffect(function() {
|
|
6818
|
-
return
|
|
6818
|
+
return Ze.push(i), e.setCallbacks({
|
|
6819
6819
|
onScrollCapture: u,
|
|
6820
6820
|
onWheelCapture: u,
|
|
6821
6821
|
onTouchMoveCapture: d
|
|
6822
6822
|
}), document.addEventListener("wheel", c, Ge), document.addEventListener("touchmove", c, Ge), document.addEventListener("touchstart", f, Ge), function() {
|
|
6823
|
-
|
|
6823
|
+
Ze = Ze.filter(function(g) {
|
|
6824
6824
|
return g !== i;
|
|
6825
6825
|
}), document.removeEventListener("wheel", c, Ge), document.removeEventListener("touchmove", c, Ge), document.removeEventListener("touchstart", f, Ge);
|
|
6826
6826
|
};
|
|
@@ -6838,14 +6838,14 @@ function qu(e) {
|
|
|
6838
6838
|
e instanceof ShadowRoot && (t = e.host, e = e.host), e = e.parentNode;
|
|
6839
6839
|
return t;
|
|
6840
6840
|
}
|
|
6841
|
-
const Gu = Cu(
|
|
6842
|
-
var
|
|
6841
|
+
const Gu = Cu(Ai, Uu);
|
|
6842
|
+
var Li = h.forwardRef(function(e, t) {
|
|
6843
6843
|
return h.createElement(gn, ve({}, e, { ref: t, sideCar: Gu }));
|
|
6844
6844
|
});
|
|
6845
|
-
|
|
6846
|
-
var vn = "Popover", [
|
|
6847
|
-
|
|
6848
|
-
]), Pt =
|
|
6845
|
+
Li.classNames = gn.classNames;
|
|
6846
|
+
var vn = "Popover", [Ni] = Zo(vn, [
|
|
6847
|
+
mi
|
|
6848
|
+
]), Pt = mi(), [Zu, De] = Ni(vn), Fi = (e) => {
|
|
6849
6849
|
const {
|
|
6850
6850
|
__scopePopover: t,
|
|
6851
6851
|
children: n,
|
|
@@ -6860,7 +6860,7 @@ var vn = "Popover", [Oi] = Uo(vn, [
|
|
|
6860
6860
|
caller: vn
|
|
6861
6861
|
});
|
|
6862
6862
|
return /* @__PURE__ */ S(Ul, { ...s, children: /* @__PURE__ */ S(
|
|
6863
|
-
|
|
6863
|
+
Zu,
|
|
6864
6864
|
{
|
|
6865
6865
|
scope: t,
|
|
6866
6866
|
contentId: kc(),
|
|
@@ -6876,65 +6876,65 @@ var vn = "Popover", [Oi] = Uo(vn, [
|
|
|
6876
6876
|
}
|
|
6877
6877
|
) });
|
|
6878
6878
|
};
|
|
6879
|
-
|
|
6880
|
-
var
|
|
6879
|
+
Fi.displayName = vn;
|
|
6880
|
+
var Ii = "PopoverAnchor", Yu = h.forwardRef(
|
|
6881
6881
|
(e, t) => {
|
|
6882
|
-
const { __scopePopover: n, ...r } = e, o = De(
|
|
6883
|
-
return h.useEffect(() => (a(), () => s()), [a, s]), /* @__PURE__ */ S(
|
|
6882
|
+
const { __scopePopover: n, ...r } = e, o = De(Ii, n), i = Pt(n), { onCustomAnchorAdd: a, onCustomAnchorRemove: s } = o;
|
|
6883
|
+
return h.useEffect(() => (a(), () => s()), [a, s]), /* @__PURE__ */ S(xi, { ...i, ...r, ref: t });
|
|
6884
6884
|
}
|
|
6885
6885
|
);
|
|
6886
|
-
|
|
6887
|
-
var
|
|
6886
|
+
Yu.displayName = Ii;
|
|
6887
|
+
var _i = "PopoverTrigger", Di = h.forwardRef(
|
|
6888
6888
|
(e, t) => {
|
|
6889
|
-
const { __scopePopover: n, ...r } = e, o = De(
|
|
6889
|
+
const { __scopePopover: n, ...r } = e, o = De(_i, n), i = Pt(n), a = _e(t, o.triggerRef), s = /* @__PURE__ */ S(
|
|
6890
6890
|
Te.button,
|
|
6891
6891
|
{
|
|
6892
6892
|
type: "button",
|
|
6893
6893
|
"aria-haspopup": "dialog",
|
|
6894
6894
|
"aria-expanded": o.open,
|
|
6895
6895
|
"aria-controls": o.contentId,
|
|
6896
|
-
"data-state":
|
|
6896
|
+
"data-state": Hi(o.open),
|
|
6897
6897
|
...r,
|
|
6898
6898
|
ref: a,
|
|
6899
|
-
onClick:
|
|
6899
|
+
onClick: Le(e.onClick, o.onOpenToggle)
|
|
6900
6900
|
}
|
|
6901
6901
|
);
|
|
6902
|
-
return o.hasCustomAnchor ? s : /* @__PURE__ */ S(
|
|
6902
|
+
return o.hasCustomAnchor ? s : /* @__PURE__ */ S(xi, { asChild: !0, ...i, children: s });
|
|
6903
6903
|
}
|
|
6904
6904
|
);
|
|
6905
|
-
|
|
6906
|
-
var
|
|
6905
|
+
Di.displayName = _i;
|
|
6906
|
+
var mr = "PopoverPortal", [Xu, Ku] = Ni(mr, {
|
|
6907
6907
|
forceMount: void 0
|
|
6908
|
-
}),
|
|
6909
|
-
const { __scopePopover: t, forceMount: n, children: r, container: o } = e, i = De(
|
|
6910
|
-
return /* @__PURE__ */ S(Xu, { scope: t, forceMount: n, children: /* @__PURE__ */ S(
|
|
6908
|
+
}), Vi = (e) => {
|
|
6909
|
+
const { __scopePopover: t, forceMount: n, children: r, container: o } = e, i = De(mr, t);
|
|
6910
|
+
return /* @__PURE__ */ S(Xu, { scope: t, forceMount: n, children: /* @__PURE__ */ S(dr, { present: n || i.open, children: /* @__PURE__ */ S(Ei, { asChild: !0, container: o, children: r }) }) });
|
|
6911
6911
|
};
|
|
6912
|
-
|
|
6913
|
-
var ot = "PopoverContent",
|
|
6912
|
+
Vi.displayName = mr;
|
|
6913
|
+
var ot = "PopoverContent", Bi = h.forwardRef(
|
|
6914
6914
|
(e, t) => {
|
|
6915
6915
|
const n = Ku(ot, e.__scopePopover), { forceMount: r = n.forceMount, ...o } = e, i = De(ot, e.__scopePopover);
|
|
6916
|
-
return /* @__PURE__ */ S(
|
|
6916
|
+
return /* @__PURE__ */ S(dr, { present: r || i.open, children: i.modal ? /* @__PURE__ */ S(Ju, { ...o, ref: t }) : /* @__PURE__ */ S(ef, { ...o, ref: t }) });
|
|
6917
6917
|
}
|
|
6918
6918
|
);
|
|
6919
|
-
|
|
6919
|
+
Bi.displayName = ot;
|
|
6920
6920
|
var Qu = /* @__PURE__ */ Ql("PopoverContent.RemoveScroll"), Ju = h.forwardRef(
|
|
6921
6921
|
(e, t) => {
|
|
6922
6922
|
const n = De(ot, e.__scopePopover), r = h.useRef(null), o = _e(t, r), i = h.useRef(!1);
|
|
6923
6923
|
return h.useEffect(() => {
|
|
6924
6924
|
const a = r.current;
|
|
6925
6925
|
if (a) return fu(a);
|
|
6926
|
-
}, []), /* @__PURE__ */ S(
|
|
6927
|
-
|
|
6926
|
+
}, []), /* @__PURE__ */ S(Li, { as: Qu, allowPinchZoom: !0, children: /* @__PURE__ */ S(
|
|
6927
|
+
ji,
|
|
6928
6928
|
{
|
|
6929
6929
|
...e,
|
|
6930
6930
|
ref: o,
|
|
6931
6931
|
trapFocus: n.open,
|
|
6932
6932
|
disableOutsidePointerEvents: !0,
|
|
6933
|
-
onCloseAutoFocus:
|
|
6933
|
+
onCloseAutoFocus: Le(e.onCloseAutoFocus, (a) => {
|
|
6934
6934
|
var s;
|
|
6935
6935
|
a.preventDefault(), i.current || (s = n.triggerRef.current) == null || s.focus();
|
|
6936
6936
|
}),
|
|
6937
|
-
onPointerDownOutside:
|
|
6937
|
+
onPointerDownOutside: Le(
|
|
6938
6938
|
e.onPointerDownOutside,
|
|
6939
6939
|
(a) => {
|
|
6940
6940
|
const s = a.detail.originalEvent, c = s.button === 0 && s.ctrlKey === !0, l = s.button === 2 || c;
|
|
@@ -6942,7 +6942,7 @@ var Qu = /* @__PURE__ */ Ql("PopoverContent.RemoveScroll"), Ju = h.forwardRef(
|
|
|
6942
6942
|
},
|
|
6943
6943
|
{ checkForDefaultPrevented: !1 }
|
|
6944
6944
|
),
|
|
6945
|
-
onFocusOutside:
|
|
6945
|
+
onFocusOutside: Le(
|
|
6946
6946
|
e.onFocusOutside,
|
|
6947
6947
|
(a) => a.preventDefault(),
|
|
6948
6948
|
{ checkForDefaultPrevented: !1 }
|
|
@@ -6954,7 +6954,7 @@ var Qu = /* @__PURE__ */ Ql("PopoverContent.RemoveScroll"), Ju = h.forwardRef(
|
|
|
6954
6954
|
(e, t) => {
|
|
6955
6955
|
const n = De(ot, e.__scopePopover), r = h.useRef(!1), o = h.useRef(!1);
|
|
6956
6956
|
return /* @__PURE__ */ S(
|
|
6957
|
-
|
|
6957
|
+
ji,
|
|
6958
6958
|
{
|
|
6959
6959
|
...e,
|
|
6960
6960
|
ref: t,
|
|
@@ -6973,7 +6973,7 @@ var Qu = /* @__PURE__ */ Ql("PopoverContent.RemoveScroll"), Ju = h.forwardRef(
|
|
|
6973
6973
|
}
|
|
6974
6974
|
);
|
|
6975
6975
|
}
|
|
6976
|
-
),
|
|
6976
|
+
), ji = h.forwardRef(
|
|
6977
6977
|
(e, t) => {
|
|
6978
6978
|
const {
|
|
6979
6979
|
__scopePopover: n,
|
|
@@ -6988,7 +6988,7 @@ var Qu = /* @__PURE__ */ Ql("PopoverContent.RemoveScroll"), Ju = h.forwardRef(
|
|
|
6988
6988
|
...u
|
|
6989
6989
|
} = e, d = De(ot, n), m = Pt(n);
|
|
6990
6990
|
return hc(), /* @__PURE__ */ S(
|
|
6991
|
-
|
|
6991
|
+
Qo,
|
|
6992
6992
|
{
|
|
6993
6993
|
asChild: !0,
|
|
6994
6994
|
loop: !0,
|
|
@@ -6996,7 +6996,7 @@ var Qu = /* @__PURE__ */ Ql("PopoverContent.RemoveScroll"), Ju = h.forwardRef(
|
|
|
6996
6996
|
onMountAutoFocus: o,
|
|
6997
6997
|
onUnmountAutoFocus: i,
|
|
6998
6998
|
children: /* @__PURE__ */ S(
|
|
6999
|
-
|
|
6999
|
+
Xo,
|
|
7000
7000
|
{
|
|
7001
7001
|
asChild: !0,
|
|
7002
7002
|
disableOutsidePointerEvents: a,
|
|
@@ -7008,7 +7008,7 @@ var Qu = /* @__PURE__ */ Ql("PopoverContent.RemoveScroll"), Ju = h.forwardRef(
|
|
|
7008
7008
|
children: /* @__PURE__ */ S(
|
|
7009
7009
|
ql,
|
|
7010
7010
|
{
|
|
7011
|
-
"data-state":
|
|
7011
|
+
"data-state": Hi(d.open),
|
|
7012
7012
|
role: "dialog",
|
|
7013
7013
|
id: d.contentId,
|
|
7014
7014
|
...m,
|
|
@@ -7029,32 +7029,32 @@ var Qu = /* @__PURE__ */ Ql("PopoverContent.RemoveScroll"), Ju = h.forwardRef(
|
|
|
7029
7029
|
}
|
|
7030
7030
|
);
|
|
7031
7031
|
}
|
|
7032
|
-
),
|
|
7032
|
+
), zi = "PopoverClose", tf = h.forwardRef(
|
|
7033
7033
|
(e, t) => {
|
|
7034
|
-
const { __scopePopover: n, ...r } = e, o = De(
|
|
7034
|
+
const { __scopePopover: n, ...r } = e, o = De(zi, n);
|
|
7035
7035
|
return /* @__PURE__ */ S(
|
|
7036
7036
|
Te.button,
|
|
7037
7037
|
{
|
|
7038
7038
|
type: "button",
|
|
7039
7039
|
...r,
|
|
7040
7040
|
ref: t,
|
|
7041
|
-
onClick:
|
|
7041
|
+
onClick: Le(e.onClick, () => o.onOpenChange(!1))
|
|
7042
7042
|
}
|
|
7043
7043
|
);
|
|
7044
7044
|
}
|
|
7045
7045
|
);
|
|
7046
|
-
tf.displayName =
|
|
7047
|
-
var nf = "PopoverArrow",
|
|
7046
|
+
tf.displayName = zi;
|
|
7047
|
+
var nf = "PopoverArrow", $i = h.forwardRef(
|
|
7048
7048
|
(e, t) => {
|
|
7049
7049
|
const { __scopePopover: n, ...r } = e, o = Pt(n);
|
|
7050
7050
|
return /* @__PURE__ */ S(Gl, { ...o, ...r, ref: t });
|
|
7051
7051
|
}
|
|
7052
7052
|
);
|
|
7053
|
-
|
|
7054
|
-
function
|
|
7053
|
+
$i.displayName = nf;
|
|
7054
|
+
function Hi(e) {
|
|
7055
7055
|
return e ? "open" : "closed";
|
|
7056
7056
|
}
|
|
7057
|
-
var rf =
|
|
7057
|
+
var rf = Fi, of = Di, af = Vi, sf = Bi, cf = $i;
|
|
7058
7058
|
function lf({ ...e }) {
|
|
7059
7059
|
return /* @__PURE__ */ S(rf, { "data-slot": "popover", ...e });
|
|
7060
7060
|
}
|
|
@@ -7084,36 +7084,37 @@ function ff({
|
|
|
7084
7084
|
function df({ ...e }) {
|
|
7085
7085
|
return /* @__PURE__ */ S(cf, { "data-slot": "popover-arrow", ...e });
|
|
7086
7086
|
}
|
|
7087
|
-
const mf = (e) => /* @__PURE__ */ h.createElement("svg", { width: 24, height: 24, viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ h.createElement("path", { d: "M15.9259 6.49832C15.9259 6.40367 15.8883 6.31291 15.8214 6.24598C15.7544 6.17905 15.6637 6.14142 15.569 6.14142H8.43097C8.33631 6.14142 8.24556 6.17905 8.17863 6.24598C8.1117 6.31291 8.07407 6.40367 8.07407 6.49832V15.8385L12 13.0341L15.9259 15.8385V6.49832ZM18.0674 20L12 15.6656L5.93265 20V6.49832C5.93265 5.83573 6.19605 5.20046 6.66458 4.73193C7.1331 4.2634 7.76837 4 8.43097 4H15.569C16.2316 4 16.8669 4.2634 17.3354 4.73193C17.804 5.20046 18.0674 5.83573 18.0674 6.49832V20Z", fill: "
|
|
7087
|
+
const mf = (e) => /* @__PURE__ */ h.createElement("svg", { width: 24, height: 24, viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ h.createElement("path", { d: "M15.9259 6.49832C15.9259 6.40367 15.8883 6.31291 15.8214 6.24598C15.7544 6.17905 15.6637 6.14142 15.569 6.14142H8.43097C8.33631 6.14142 8.24556 6.17905 8.17863 6.24598C8.1117 6.31291 8.07407 6.40367 8.07407 6.49832V15.8385L12 13.0341L15.9259 15.8385V6.49832ZM18.0674 20L12 15.6656L5.93265 20V6.49832C5.93265 5.83573 6.19605 5.20046 6.66458 4.73193C7.1331 4.2634 7.76837 4 8.43097 4H15.569C16.2316 4 16.8669 4.2634 17.3354 4.73193C17.804 5.20046 18.0674 5.83573 18.0674 6.49832V20Z", fill: "currentColor" })), pf = (e) => /* @__PURE__ */ h.createElement("svg", { width: 24, height: 24, viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ h.createElement("path", { d: "M15.5694 4C16.2319 4.00002 16.8675 4.26302 17.336 4.73145C17.8044 5.19991 18.0673 5.83555 18.0674 6.49805V20L12 15.666L5.93265 20V6.49805C5.93272 5.83555 6.1966 5.19991 6.66507 4.73145C7.13348 4.2633 7.76843 4.00009 8.43069 4H15.5694Z", fill: "currentColor" }));
|
|
7088
7088
|
function hf({
|
|
7089
7089
|
button: e,
|
|
7090
|
-
|
|
7091
|
-
|
|
7092
|
-
|
|
7093
|
-
|
|
7094
|
-
|
|
7090
|
+
buttonIconVariant: t,
|
|
7091
|
+
headline: n,
|
|
7092
|
+
id: r,
|
|
7093
|
+
image: o,
|
|
7094
|
+
isBookmarked: i,
|
|
7095
|
+
onBookmark: a
|
|
7095
7096
|
}) {
|
|
7096
7097
|
return /* @__PURE__ */ $("div", { className: "relative size-full", children: [
|
|
7097
7098
|
/* @__PURE__ */ S("div", { className: "absolute bg-black/50 size-full" }),
|
|
7098
|
-
/* @__PURE__ */ S("div", { className: "absolute size-full [&_img]:object-cover [&_img]:size-full mix-blend-multiply", children:
|
|
7099
|
+
/* @__PURE__ */ S("div", { className: "absolute size-full [&_img]:object-cover [&_img]:size-full mix-blend-multiply", children: o }),
|
|
7099
7100
|
/* @__PURE__ */ $("div", { className: "absolute bottom-6 left-0 px-6 w-full", children: [
|
|
7100
|
-
/* @__PURE__ */ S("div", { className: "b-lg mb-6 text-white", children:
|
|
7101
|
+
/* @__PURE__ */ S("div", { className: "b-lg mb-6 text-white", children: n }),
|
|
7101
7102
|
/* @__PURE__ */ $("div", { className: "flex gap-6 items-center justify-between", children: [
|
|
7102
7103
|
/* @__PURE__ */ S(Rt, { variant: "tertiary-reversed", children: e }),
|
|
7103
|
-
/* @__PURE__ */ S("button", { onClick: () =>
|
|
7104
|
+
/* @__PURE__ */ S(Ad, { variant: t, children: /* @__PURE__ */ S("button", { onClick: () => a(r), children: i ? /* @__PURE__ */ S(pf, {}) : /* @__PURE__ */ S(mf, {}) }) })
|
|
7104
7105
|
] })
|
|
7105
7106
|
] })
|
|
7106
7107
|
] });
|
|
7107
7108
|
}
|
|
7108
|
-
function
|
|
7109
|
+
function Hd(e) {
|
|
7109
7110
|
const t = "h-70 min-[552px]:h-80 basis-60 min-[552px]:basis-[calc(50%-20px)]";
|
|
7110
7111
|
let n;
|
|
7111
7112
|
return e.count === 1 ? n = "basis-full h-80" : e.count === 2 ? n = t : n = [
|
|
7112
7113
|
t,
|
|
7113
7114
|
"lg:basis-[calc(33.33%-26.66px)] xl:basis-[calc(25%-30px)] lg:first:basis-[calc(66.66%-13.33px)] xl:first:basis-[calc(50%-15px)]"
|
|
7114
|
-
].join(" "), /* @__PURE__ */ S(
|
|
7115
|
+
].join(" "), /* @__PURE__ */ S(Ys, { className: n, children: /* @__PURE__ */ S(hf, { ...e }) });
|
|
7115
7116
|
}
|
|
7116
|
-
function
|
|
7117
|
+
function Wd({
|
|
7117
7118
|
backgroundColor: e = "",
|
|
7118
7119
|
button: t,
|
|
7119
7120
|
children: n,
|
|
@@ -7121,32 +7122,33 @@ function $d({
|
|
|
7121
7122
|
horizontalStroke: o,
|
|
7122
7123
|
variant: i
|
|
7123
7124
|
}) {
|
|
7124
|
-
const a =
|
|
7125
|
+
const a = Pr.count(n);
|
|
7125
7126
|
let s = "", c = "";
|
|
7126
7127
|
a === 1 ? (s = "hidden", c = "justify-end") : a === 2 && (s = "md:hidden", c = "md:justify-end");
|
|
7127
7128
|
const l = !!(e && !zs(
|
|
7128
7129
|
{ className: e, type: "background" },
|
|
7129
7130
|
{ className: "bg-navy-500", type: "background" }
|
|
7130
7131
|
));
|
|
7131
|
-
let f, u, d;
|
|
7132
|
-
return l && i === "connect" ? (f = "reversed-connect", u = "pagination-reversed-connect",
|
|
7132
|
+
let f, u, d, m;
|
|
7133
|
+
return l && i === "connect" ? (f = "reversed-connect", u = "reversed-connect", d = "pagination-reversed-connect", m = "pagination-reversed-connect") : l && i === "digital" ? (f = "reversed-digital", u = "reversed-digital", d = "pagination-reversed-digital", m = "pagination-reversed-digital") : i === "connect" ? (f = "reversed-connect", u = "secondary", d = "pagination-next-connect", m = "pagination-prev-connect") : (f = "reversed-digital", u = "secondary", d = "pagination-next-digital", m = "pagination-prev-digital"), /* @__PURE__ */ S(
|
|
7133
7134
|
"div",
|
|
7134
7135
|
{
|
|
7135
7136
|
className: `py-15 lg:py-20 ${e} ${r} ${o ? "border-b-2 border-smoke" : ""}`,
|
|
7136
|
-
children: /* @__PURE__ */ S(
|
|
7137
|
-
/* @__PURE__ */ S(
|
|
7137
|
+
children: /* @__PURE__ */ S(wn, { children: /* @__PURE__ */ $(Gs, { opts: { align: "start" }, children: [
|
|
7138
|
+
/* @__PURE__ */ S(Zs, { className: "gap-8 md:gap-10", children: Pr.map(n, (p) => da(p) ? To(p, {
|
|
7139
|
+
buttonIconVariant: f,
|
|
7138
7140
|
count: a
|
|
7139
|
-
}) :
|
|
7141
|
+
}) : p) }),
|
|
7140
7142
|
/* @__PURE__ */ $(
|
|
7141
7143
|
"div",
|
|
7142
7144
|
{
|
|
7143
7145
|
className: `flex items-center justify-between mt-8 ${c}`,
|
|
7144
7146
|
children: [
|
|
7145
7147
|
/* @__PURE__ */ $("div", { className: s, children: [
|
|
7146
|
-
/* @__PURE__ */ S(Xs, { variant:
|
|
7147
|
-
/* @__PURE__ */ S(Ks, { variant:
|
|
7148
|
+
/* @__PURE__ */ S(Xs, { variant: m }),
|
|
7149
|
+
/* @__PURE__ */ S(Ks, { variant: d })
|
|
7148
7150
|
] }),
|
|
7149
|
-
/* @__PURE__ */ S(Rt, { variant:
|
|
7151
|
+
/* @__PURE__ */ S(Rt, { variant: u, children: t })
|
|
7150
7152
|
]
|
|
7151
7153
|
}
|
|
7152
7154
|
)
|
|
@@ -7166,8 +7168,8 @@ function gf({
|
|
|
7166
7168
|
!!e && /* @__PURE__ */ S("div", { className: "h-85 [&_img]:object-cover [&_img]:size-full", children: e }),
|
|
7167
7169
|
!!n && /* @__PURE__ */ $(Se, { children: [
|
|
7168
7170
|
/* @__PURE__ */ S(yd, { ...n, ref: i }),
|
|
7169
|
-
/* @__PURE__ */ S("div", { className: "absolute inset-0 flex justify-center", children: /* @__PURE__ */ S(
|
|
7170
|
-
|
|
7171
|
+
/* @__PURE__ */ S("div", { className: "absolute inset-0 flex justify-center", children: /* @__PURE__ */ S(wn, { children: /* @__PURE__ */ S("div", { className: "absolute bottom-8 right-5 md:right-15", children: /* @__PURE__ */ S(
|
|
7172
|
+
Vd,
|
|
7171
7173
|
{
|
|
7172
7174
|
label: "play video",
|
|
7173
7175
|
onClick: s,
|
|
@@ -7267,11 +7269,11 @@ function Sf({
|
|
|
7267
7269
|
textCtaVariant: r,
|
|
7268
7270
|
variant: o
|
|
7269
7271
|
}) {
|
|
7270
|
-
return /* @__PURE__ */ $(
|
|
7272
|
+
return /* @__PURE__ */ $(wn, { className: "flex gap-4 items-center justify-end py-5", children: [
|
|
7271
7273
|
t && /* @__PURE__ */ S(
|
|
7272
|
-
|
|
7274
|
+
Bd,
|
|
7273
7275
|
{
|
|
7274
|
-
trigger: /* @__PURE__ */ S(pt, {
|
|
7276
|
+
trigger: /* @__PURE__ */ S(pt, { className: "b-xs font-bold uppercase", variant: r, children: /* @__PURE__ */ $("button", { children: [
|
|
7275
7277
|
/* @__PURE__ */ S(Ef, { className: "size-4" }),
|
|
7276
7278
|
"Share"
|
|
7277
7279
|
] }) }),
|
|
@@ -7282,7 +7284,7 @@ function Sf({
|
|
|
7282
7284
|
!!n && /* @__PURE__ */ S(pt, { className: "b-xs font-bold uppercase", variant: r, children: n })
|
|
7283
7285
|
] });
|
|
7284
7286
|
}
|
|
7285
|
-
function
|
|
7287
|
+
function Ud({
|
|
7286
7288
|
button: e,
|
|
7287
7289
|
category: t,
|
|
7288
7290
|
className: n,
|
|
@@ -7305,7 +7307,7 @@ function Hd({
|
|
|
7305
7307
|
{
|
|
7306
7308
|
className: `${n} ${v} ${c ? "border-b-2 border-smoke" : ""}`,
|
|
7307
7309
|
children: [
|
|
7308
|
-
/* @__PURE__ */ $(
|
|
7310
|
+
/* @__PURE__ */ $(wn, { className: "flex flex-col xl:flex-row xl:gap-40 xl:items-center mb-12", children: [
|
|
7309
7311
|
/* @__PURE__ */ S(yf, { category: t, copy: o, headline: s, person: u }),
|
|
7310
7312
|
/* @__PURE__ */ $("div", { className: "border-t-2 border-charcoal-100 max-w-76 min-w-76 pt-6", children: [
|
|
7311
7313
|
/* @__PURE__ */ S(vf, { event: i }),
|
|
@@ -7355,7 +7357,7 @@ function kf(e, t) {
|
|
|
7355
7357
|
return s;
|
|
7356
7358
|
}
|
|
7357
7359
|
}
|
|
7358
|
-
function
|
|
7360
|
+
function lo(e, t) {
|
|
7359
7361
|
var n = Object.keys(e);
|
|
7360
7362
|
if (Object.getOwnPropertySymbols) {
|
|
7361
7363
|
var r = Object.getOwnPropertySymbols(e);
|
|
@@ -7365,12 +7367,12 @@ function so(e, t) {
|
|
|
7365
7367
|
}
|
|
7366
7368
|
return n;
|
|
7367
7369
|
}
|
|
7368
|
-
function
|
|
7370
|
+
function uo(e) {
|
|
7369
7371
|
for (var t = 1; t < arguments.length; t++) {
|
|
7370
7372
|
var n = arguments[t] != null ? arguments[t] : {};
|
|
7371
|
-
t % 2 ?
|
|
7373
|
+
t % 2 ? lo(Object(n), !0).forEach(function(r) {
|
|
7372
7374
|
Xt(e, r, n[r]);
|
|
7373
|
-
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) :
|
|
7375
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : lo(Object(n)).forEach(function(r) {
|
|
7374
7376
|
Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(n, r));
|
|
7375
7377
|
});
|
|
7376
7378
|
}
|
|
@@ -7394,12 +7396,12 @@ function oe() {
|
|
|
7394
7396
|
try {
|
|
7395
7397
|
c({}, "");
|
|
7396
7398
|
} catch {
|
|
7397
|
-
c = function(A, O,
|
|
7398
|
-
return A[O] =
|
|
7399
|
+
c = function(A, O, N) {
|
|
7400
|
+
return A[O] = N;
|
|
7399
7401
|
};
|
|
7400
7402
|
}
|
|
7401
|
-
function l(P, A, O,
|
|
7402
|
-
var M = A && A.prototype instanceof d ? A : d, F = Object.create(M.prototype), T = new N
|
|
7403
|
+
function l(P, A, O, N) {
|
|
7404
|
+
var M = A && A.prototype instanceof d ? A : d, F = Object.create(M.prototype), T = new L(N || []);
|
|
7403
7405
|
return r(F, "_invoke", {
|
|
7404
7406
|
value: x(P, O, T)
|
|
7405
7407
|
}), F;
|
|
@@ -7410,10 +7412,10 @@ function oe() {
|
|
|
7410
7412
|
type: "normal",
|
|
7411
7413
|
arg: P.call(A, O)
|
|
7412
7414
|
};
|
|
7413
|
-
} catch (
|
|
7415
|
+
} catch (N) {
|
|
7414
7416
|
return {
|
|
7415
7417
|
type: "throw",
|
|
7416
|
-
arg:
|
|
7418
|
+
arg: N
|
|
7417
7419
|
};
|
|
7418
7420
|
}
|
|
7419
7421
|
}
|
|
@@ -7443,20 +7445,20 @@ function oe() {
|
|
|
7443
7445
|
function O(M, F, T, j) {
|
|
7444
7446
|
var W = f(P[M], P, F);
|
|
7445
7447
|
if (W.type !== "throw") {
|
|
7446
|
-
var
|
|
7448
|
+
var Z = W.arg, te = Z.value;
|
|
7447
7449
|
return te && typeof te == "object" && n.call(te, "__await") ? A.resolve(te.__await).then(function(U) {
|
|
7448
7450
|
O("next", U, T, j);
|
|
7449
7451
|
}, function(U) {
|
|
7450
7452
|
O("throw", U, T, j);
|
|
7451
7453
|
}) : A.resolve(te).then(function(U) {
|
|
7452
|
-
|
|
7454
|
+
Z.value = U, T(Z);
|
|
7453
7455
|
}, function(U) {
|
|
7454
7456
|
return O("throw", U, T, j);
|
|
7455
7457
|
});
|
|
7456
7458
|
}
|
|
7457
7459
|
j(W.arg);
|
|
7458
7460
|
}
|
|
7459
|
-
var
|
|
7461
|
+
var N;
|
|
7460
7462
|
r(this, "_invoke", {
|
|
7461
7463
|
value: function(M, F) {
|
|
7462
7464
|
function T() {
|
|
@@ -7464,15 +7466,15 @@ function oe() {
|
|
|
7464
7466
|
O(M, F, j, W);
|
|
7465
7467
|
});
|
|
7466
7468
|
}
|
|
7467
|
-
return
|
|
7469
|
+
return N = N ? N.then(T, T) : T();
|
|
7468
7470
|
}
|
|
7469
7471
|
});
|
|
7470
7472
|
}
|
|
7471
7473
|
function x(P, A, O) {
|
|
7472
|
-
var
|
|
7474
|
+
var N = "suspendedStart";
|
|
7473
7475
|
return function(M, F) {
|
|
7474
|
-
if (
|
|
7475
|
-
if (
|
|
7476
|
+
if (N === "executing") throw new Error("Generator is already running");
|
|
7477
|
+
if (N === "completed") {
|
|
7476
7478
|
if (M === "throw") throw F;
|
|
7477
7479
|
return B();
|
|
7478
7480
|
}
|
|
@@ -7487,26 +7489,26 @@ function oe() {
|
|
|
7487
7489
|
}
|
|
7488
7490
|
if (O.method === "next") O.sent = O._sent = O.arg;
|
|
7489
7491
|
else if (O.method === "throw") {
|
|
7490
|
-
if (
|
|
7492
|
+
if (N === "suspendedStart") throw N = "completed", O.arg;
|
|
7491
7493
|
O.dispatchException(O.arg);
|
|
7492
7494
|
} else O.method === "return" && O.abrupt("return", O.arg);
|
|
7493
|
-
|
|
7495
|
+
N = "executing";
|
|
7494
7496
|
var W = f(P, A, O);
|
|
7495
7497
|
if (W.type === "normal") {
|
|
7496
|
-
if (
|
|
7498
|
+
if (N = O.done ? "completed" : "suspendedYield", W.arg === u) continue;
|
|
7497
7499
|
return {
|
|
7498
7500
|
value: W.arg,
|
|
7499
7501
|
done: O.done
|
|
7500
7502
|
};
|
|
7501
7503
|
}
|
|
7502
|
-
W.type === "throw" && (
|
|
7504
|
+
W.type === "throw" && (N = "completed", O.method = "throw", O.arg = W.arg);
|
|
7503
7505
|
}
|
|
7504
7506
|
};
|
|
7505
7507
|
}
|
|
7506
7508
|
function R(P, A) {
|
|
7507
|
-
var O = A.method,
|
|
7508
|
-
if (
|
|
7509
|
-
var M = f(
|
|
7509
|
+
var O = A.method, N = P.iterator[O];
|
|
7510
|
+
if (N === void 0) return A.delegate = null, O === "throw" && P.iterator.return && (A.method = "return", A.arg = void 0, R(P, A), A.method === "throw") || O !== "return" && (A.method = "throw", A.arg = new TypeError("The iterator does not provide a '" + O + "' method")), u;
|
|
7511
|
+
var M = f(N, P.iterator, A.arg);
|
|
7510
7512
|
if (M.type === "throw") return A.method = "throw", A.arg = M.arg, A.delegate = null, u;
|
|
7511
7513
|
var F = M.arg;
|
|
7512
7514
|
return F ? F.done ? (A[P.resultName] = F.value, A.next = P.nextLoc, A.method !== "return" && (A.method = "next", A.arg = void 0), A.delegate = null, u) : F : (A.method = "throw", A.arg = new TypeError("iterator result is not an object"), A.delegate = null, u);
|
|
@@ -7521,7 +7523,7 @@ function oe() {
|
|
|
7521
7523
|
var A = P.completion || {};
|
|
7522
7524
|
A.type = "normal", delete A.arg, P.completion = A;
|
|
7523
7525
|
}
|
|
7524
|
-
function
|
|
7526
|
+
function L(P) {
|
|
7525
7527
|
this.tryEntries = [{
|
|
7526
7528
|
tryLoc: "root"
|
|
7527
7529
|
}], P.forEach(k, this), this.reset(!0);
|
|
@@ -7532,11 +7534,11 @@ function oe() {
|
|
|
7532
7534
|
if (A) return A.call(P);
|
|
7533
7535
|
if (typeof P.next == "function") return P;
|
|
7534
7536
|
if (!isNaN(P.length)) {
|
|
7535
|
-
var O = -1,
|
|
7537
|
+
var O = -1, N = function M() {
|
|
7536
7538
|
for (; ++O < P.length; ) if (n.call(P, O)) return M.value = P[O], M.done = !1, M;
|
|
7537
7539
|
return M.value = void 0, M.done = !0, M;
|
|
7538
7540
|
};
|
|
7539
|
-
return
|
|
7541
|
+
return N.next = N;
|
|
7540
7542
|
}
|
|
7541
7543
|
}
|
|
7542
7544
|
return {
|
|
@@ -7566,9 +7568,9 @@ function oe() {
|
|
|
7566
7568
|
};
|
|
7567
7569
|
}, w(C.prototype), c(C.prototype, a, function() {
|
|
7568
7570
|
return this;
|
|
7569
|
-
}), e.AsyncIterator = C, e.async = function(P, A, O,
|
|
7571
|
+
}), e.AsyncIterator = C, e.async = function(P, A, O, N, M) {
|
|
7570
7572
|
M === void 0 && (M = Promise);
|
|
7571
|
-
var F = new C(l(P, A, O,
|
|
7573
|
+
var F = new C(l(P, A, O, N), M);
|
|
7572
7574
|
return e.isGeneratorFunction(A) ? F : F.next().then(function(T) {
|
|
7573
7575
|
return T.done ? T.value : F.next();
|
|
7574
7576
|
});
|
|
@@ -7578,7 +7580,7 @@ function oe() {
|
|
|
7578
7580
|
return "[object Generator]";
|
|
7579
7581
|
}), e.keys = function(P) {
|
|
7580
7582
|
var A = Object(P), O = [];
|
|
7581
|
-
for (var
|
|
7583
|
+
for (var N in A) O.push(N);
|
|
7582
7584
|
return O.reverse(), function M() {
|
|
7583
7585
|
for (; O.length; ) {
|
|
7584
7586
|
var F = O.pop();
|
|
@@ -7586,8 +7588,8 @@ function oe() {
|
|
|
7586
7588
|
}
|
|
7587
7589
|
return M.done = !0, M;
|
|
7588
7590
|
};
|
|
7589
|
-
}, e.values = V,
|
|
7590
|
-
constructor:
|
|
7591
|
+
}, e.values = V, L.prototype = {
|
|
7592
|
+
constructor: L,
|
|
7591
7593
|
reset: function(P) {
|
|
7592
7594
|
if (this.prev = 0, this.next = 0, this.sent = this._sent = void 0, this.done = !1, this.delegate = null, this.method = "next", this.arg = void 0, this.tryEntries.forEach(E), !P) for (var A in this) A.charAt(0) === "t" && n.call(this, A) && !isNaN(+A.slice(1)) && (this[A] = void 0);
|
|
7593
7595
|
},
|
|
@@ -7600,11 +7602,11 @@ function oe() {
|
|
|
7600
7602
|
dispatchException: function(P) {
|
|
7601
7603
|
if (this.done) throw P;
|
|
7602
7604
|
var A = this;
|
|
7603
|
-
function O(W,
|
|
7604
|
-
return F.type = "throw", F.arg = P, A.next = W,
|
|
7605
|
+
function O(W, Z) {
|
|
7606
|
+
return F.type = "throw", F.arg = P, A.next = W, Z && (A.method = "next", A.arg = void 0), !!Z;
|
|
7605
7607
|
}
|
|
7606
|
-
for (var
|
|
7607
|
-
var M = this.tryEntries[
|
|
7608
|
+
for (var N = this.tryEntries.length - 1; N >= 0; --N) {
|
|
7609
|
+
var M = this.tryEntries[N], F = M.completion;
|
|
7608
7610
|
if (M.tryLoc === "root") return O("end");
|
|
7609
7611
|
if (M.tryLoc <= this.prev) {
|
|
7610
7612
|
var T = n.call(M, "catchLoc"), j = n.call(M, "finallyLoc");
|
|
@@ -7622,9 +7624,9 @@ function oe() {
|
|
|
7622
7624
|
},
|
|
7623
7625
|
abrupt: function(P, A) {
|
|
7624
7626
|
for (var O = this.tryEntries.length - 1; O >= 0; --O) {
|
|
7625
|
-
var
|
|
7626
|
-
if (
|
|
7627
|
-
var M =
|
|
7627
|
+
var N = this.tryEntries[O];
|
|
7628
|
+
if (N.tryLoc <= this.prev && n.call(N, "finallyLoc") && this.prev < N.finallyLoc) {
|
|
7629
|
+
var M = N;
|
|
7628
7630
|
break;
|
|
7629
7631
|
}
|
|
7630
7632
|
}
|
|
@@ -7646,9 +7648,9 @@ function oe() {
|
|
|
7646
7648
|
for (var A = this.tryEntries.length - 1; A >= 0; --A) {
|
|
7647
7649
|
var O = this.tryEntries[A];
|
|
7648
7650
|
if (O.tryLoc === P) {
|
|
7649
|
-
var
|
|
7650
|
-
if (
|
|
7651
|
-
var M =
|
|
7651
|
+
var N = O.completion;
|
|
7652
|
+
if (N.type === "throw") {
|
|
7653
|
+
var M = N.arg;
|
|
7652
7654
|
E(O);
|
|
7653
7655
|
}
|
|
7654
7656
|
return M;
|
|
@@ -7665,7 +7667,7 @@ function oe() {
|
|
|
7665
7667
|
}
|
|
7666
7668
|
}, e;
|
|
7667
7669
|
}
|
|
7668
|
-
function
|
|
7670
|
+
function fo(e, t, n, r, o, i, a) {
|
|
7669
7671
|
try {
|
|
7670
7672
|
var s = e[i](a), c = s.value;
|
|
7671
7673
|
} catch (l) {
|
|
@@ -7680,32 +7682,32 @@ function ze(e) {
|
|
|
7680
7682
|
return new Promise(function(r, o) {
|
|
7681
7683
|
var i = e.apply(t, n);
|
|
7682
7684
|
function a(c) {
|
|
7683
|
-
|
|
7685
|
+
fo(i, r, o, a, s, "next", c);
|
|
7684
7686
|
}
|
|
7685
7687
|
function s(c) {
|
|
7686
|
-
|
|
7688
|
+
fo(i, r, o, a, s, "throw", c);
|
|
7687
7689
|
}
|
|
7688
7690
|
a(void 0);
|
|
7689
7691
|
});
|
|
7690
7692
|
};
|
|
7691
7693
|
}
|
|
7692
|
-
function
|
|
7694
|
+
function Wi(e, t) {
|
|
7693
7695
|
if (!(e instanceof t))
|
|
7694
7696
|
throw new TypeError("Cannot call a class as a function");
|
|
7695
7697
|
}
|
|
7696
|
-
function
|
|
7698
|
+
function mo(e, t) {
|
|
7697
7699
|
for (var n = 0; n < t.length; n++) {
|
|
7698
7700
|
var r = t[n];
|
|
7699
|
-
r.enumerable = r.enumerable || !1, r.configurable = !0, "value" in r && (r.writable = !0), Object.defineProperty(e,
|
|
7701
|
+
r.enumerable = r.enumerable || !1, r.configurable = !0, "value" in r && (r.writable = !0), Object.defineProperty(e, Gi(r.key), r);
|
|
7700
7702
|
}
|
|
7701
7703
|
}
|
|
7702
|
-
function
|
|
7703
|
-
return t &&
|
|
7704
|
+
function Ui(e, t, n) {
|
|
7705
|
+
return t && mo(e.prototype, t), n && mo(e, n), Object.defineProperty(e, "prototype", {
|
|
7704
7706
|
writable: !1
|
|
7705
7707
|
}), e;
|
|
7706
7708
|
}
|
|
7707
7709
|
function Xt(e, t, n) {
|
|
7708
|
-
return t =
|
|
7710
|
+
return t = Gi(t), t in e ? Object.defineProperty(e, t, {
|
|
7709
7711
|
value: n,
|
|
7710
7712
|
enumerable: !0,
|
|
7711
7713
|
configurable: !0,
|
|
@@ -7735,7 +7737,7 @@ function xt(e, t) {
|
|
|
7735
7737
|
return r.__proto__ = o, r;
|
|
7736
7738
|
}, xt(e, t);
|
|
7737
7739
|
}
|
|
7738
|
-
function
|
|
7740
|
+
function qi() {
|
|
7739
7741
|
if (typeof Reflect > "u" || !Reflect.construct || Reflect.construct.sham) return !1;
|
|
7740
7742
|
if (typeof Proxy == "function") return !0;
|
|
7741
7743
|
try {
|
|
@@ -7746,7 +7748,7 @@ function Hi() {
|
|
|
7746
7748
|
}
|
|
7747
7749
|
}
|
|
7748
7750
|
function Kt(e, t, n) {
|
|
7749
|
-
return
|
|
7751
|
+
return qi() ? Kt = Reflect.construct.bind() : Kt = function(o, i, a) {
|
|
7750
7752
|
var s = [null];
|
|
7751
7753
|
s.push.apply(s, i);
|
|
7752
7754
|
var c = Function.bind.apply(o, s), l = new c();
|
|
@@ -7756,9 +7758,9 @@ function Kt(e, t, n) {
|
|
|
7756
7758
|
function Af(e) {
|
|
7757
7759
|
return Function.toString.call(e).indexOf("[native code]") !== -1;
|
|
7758
7760
|
}
|
|
7759
|
-
function
|
|
7761
|
+
function Xn(e) {
|
|
7760
7762
|
var t = typeof Map == "function" ? /* @__PURE__ */ new Map() : void 0;
|
|
7761
|
-
return
|
|
7763
|
+
return Xn = function(r) {
|
|
7762
7764
|
if (r === null || !Af(r)) return r;
|
|
7763
7765
|
if (typeof r != "function")
|
|
7764
7766
|
throw new TypeError("Super expression must either be null or a function");
|
|
@@ -7777,7 +7779,7 @@ function Zn(e) {
|
|
|
7777
7779
|
configurable: !0
|
|
7778
7780
|
}
|
|
7779
7781
|
}), xt(o, r);
|
|
7780
|
-
},
|
|
7782
|
+
}, Xn(e);
|
|
7781
7783
|
}
|
|
7782
7784
|
function Qt(e) {
|
|
7783
7785
|
if (e === void 0)
|
|
@@ -7792,7 +7794,7 @@ function Rf(e, t) {
|
|
|
7792
7794
|
return Qt(e);
|
|
7793
7795
|
}
|
|
7794
7796
|
function Tf(e) {
|
|
7795
|
-
var t =
|
|
7797
|
+
var t = qi();
|
|
7796
7798
|
return function() {
|
|
7797
7799
|
var r = Ct(e), o;
|
|
7798
7800
|
if (t) {
|
|
@@ -7804,25 +7806,25 @@ function Tf(e) {
|
|
|
7804
7806
|
};
|
|
7805
7807
|
}
|
|
7806
7808
|
function Of(e, t) {
|
|
7807
|
-
return Mf(e) || kf(e, t) ||
|
|
7809
|
+
return Mf(e) || kf(e, t) || Lf(e, t) || Nf();
|
|
7808
7810
|
}
|
|
7809
7811
|
function Mf(e) {
|
|
7810
7812
|
if (Array.isArray(e)) return e;
|
|
7811
7813
|
}
|
|
7812
|
-
function
|
|
7814
|
+
function Lf(e, t) {
|
|
7813
7815
|
if (e) {
|
|
7814
|
-
if (typeof e == "string") return
|
|
7816
|
+
if (typeof e == "string") return po(e, t);
|
|
7815
7817
|
var n = Object.prototype.toString.call(e).slice(8, -1);
|
|
7816
7818
|
if (n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set") return Array.from(e);
|
|
7817
|
-
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return
|
|
7819
|
+
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return po(e, t);
|
|
7818
7820
|
}
|
|
7819
7821
|
}
|
|
7820
|
-
function
|
|
7822
|
+
function po(e, t) {
|
|
7821
7823
|
(t == null || t > e.length) && (t = e.length);
|
|
7822
7824
|
for (var n = 0, r = new Array(t); n < t; n++) r[n] = e[n];
|
|
7823
7825
|
return r;
|
|
7824
7826
|
}
|
|
7825
|
-
function
|
|
7827
|
+
function Nf() {
|
|
7826
7828
|
throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
7827
7829
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
|
|
7828
7830
|
}
|
|
@@ -7836,12 +7838,12 @@ function Ff(e, t) {
|
|
|
7836
7838
|
}
|
|
7837
7839
|
return String(e);
|
|
7838
7840
|
}
|
|
7839
|
-
function
|
|
7841
|
+
function Gi(e) {
|
|
7840
7842
|
var t = Ff(e, "string");
|
|
7841
7843
|
return typeof t == "symbol" ? t : String(t);
|
|
7842
7844
|
}
|
|
7843
|
-
var If = typeof global < "u" && {}.toString.call(global) === "[object global]", _f = typeof Bun < "u", Df = typeof Deno < "u",
|
|
7844
|
-
function
|
|
7845
|
+
var If = typeof global < "u" && {}.toString.call(global) === "[object global]", _f = typeof Bun < "u", Df = typeof Deno < "u", Zi = If || _f || Df;
|
|
7846
|
+
function ho(e, t) {
|
|
7845
7847
|
return e.indexOf(t.toLowerCase()) === 0 ? e : "".concat(t.toLowerCase()).concat(e.substr(0, 1).toUpperCase()).concat(e.substr(1));
|
|
7846
7848
|
}
|
|
7847
7849
|
function Vf(e) {
|
|
@@ -7853,7 +7855,7 @@ function Bf(e) {
|
|
|
7853
7855
|
function ke(e) {
|
|
7854
7856
|
return /^(https?:)?\/\/((((player|www)\.)?vimeo\.com)|((player\.)?[a-zA-Z0-9-]+\.(videoji\.(hk|cn)|vimeo\.work)))(?=$|\/)/.test(e);
|
|
7855
7857
|
}
|
|
7856
|
-
function
|
|
7858
|
+
function Yi(e) {
|
|
7857
7859
|
var t = /^https:\/\/player\.((vimeo\.com)|([a-zA-Z0-9-]+\.(videoji\.(hk|cn)|vimeo\.work)))\/video\/\d+/;
|
|
7858
7860
|
return t.test(e);
|
|
7859
7861
|
}
|
|
@@ -7865,7 +7867,7 @@ function jf(e) {
|
|
|
7865
7867
|
}
|
|
7866
7868
|
return "vimeo.com";
|
|
7867
7869
|
}
|
|
7868
|
-
function
|
|
7870
|
+
function Xi() {
|
|
7869
7871
|
var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, t = e.id, n = e.url, r = t || n;
|
|
7870
7872
|
if (!r)
|
|
7871
7873
|
throw new Error("An id or url must be passed, either in an options object or as a data-vimeo-id or data-vimeo-url attribute.");
|
|
@@ -7875,7 +7877,7 @@ function Gi() {
|
|
|
7875
7877
|
return r.replace("http:", "https:");
|
|
7876
7878
|
throw t ? new TypeError("“".concat(t, "” is not a valid video id.")) : new TypeError("“".concat(r, "” is not a vimeo.com url."));
|
|
7877
7879
|
}
|
|
7878
|
-
var
|
|
7880
|
+
var go = function(t, n, r) {
|
|
7879
7881
|
var o = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : "addEventListener", i = arguments.length > 4 && arguments[4] !== void 0 ? arguments[4] : "removeEventListener", a = typeof n == "string" ? [n] : n;
|
|
7880
7882
|
return a.forEach(function(s) {
|
|
7881
7883
|
t[o](s, r);
|
|
@@ -7897,7 +7899,7 @@ function yn(e) {
|
|
|
7897
7899
|
return null;
|
|
7898
7900
|
}
|
|
7899
7901
|
var zf = typeof Array.prototype.indexOf < "u", $f = typeof window < "u" && typeof window.postMessage < "u";
|
|
7900
|
-
if (!
|
|
7902
|
+
if (!Zi && (!zf || !$f))
|
|
7901
7903
|
throw new Error("Sorry, the Vimeo Player API is not available in this browser.");
|
|
7902
7904
|
var et = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
|
|
7903
7905
|
function Hf(e, t) {
|
|
@@ -8001,8 +8003,8 @@ var fe = Hf(function(e) {
|
|
|
8001
8003
|
this.fn = k, this.self = E, this.next = void 0;
|
|
8002
8004
|
}
|
|
8003
8005
|
return {
|
|
8004
|
-
add: function(E,
|
|
8005
|
-
x = new R(E,
|
|
8006
|
+
add: function(E, L) {
|
|
8007
|
+
x = new R(E, L), C ? C.next = x : w = x, C = x, x = void 0;
|
|
8006
8008
|
},
|
|
8007
8009
|
drain: function() {
|
|
8008
8010
|
var E = w;
|
|
@@ -8083,10 +8085,10 @@ var fe = Hf(function(e) {
|
|
|
8083
8085
|
success: typeof x == "function" ? x : !0,
|
|
8084
8086
|
failure: typeof R == "function" ? R : !1
|
|
8085
8087
|
};
|
|
8086
|
-
return k.promise = new this.constructor(function(
|
|
8087
|
-
if (typeof
|
|
8088
|
+
return k.promise = new this.constructor(function(L, V) {
|
|
8089
|
+
if (typeof L != "function" || typeof V != "function")
|
|
8088
8090
|
throw TypeError("Not a function");
|
|
8089
|
-
k.resolve =
|
|
8091
|
+
k.resolve = L, k.reject = V;
|
|
8090
8092
|
}), w.chain.push(k), w.state !== 0 && s(l, w), k.promise;
|
|
8091
8093
|
}, this.catch = function(x) {
|
|
8092
8094
|
return this.then(void 0, x);
|
|
@@ -8132,9 +8134,9 @@ var fe = Hf(function(e) {
|
|
|
8132
8134
|
return i.call(w) != "[object Array]" ? C.reject(TypeError("Not an array")) : w.length === 0 ? C.resolve([]) : new C(function(R, k) {
|
|
8133
8135
|
if (typeof R != "function" || typeof k != "function")
|
|
8134
8136
|
throw TypeError("Not a function");
|
|
8135
|
-
var E = w.length,
|
|
8137
|
+
var E = w.length, L = Array(E), V = 0;
|
|
8136
8138
|
m(C, w, function(P, A) {
|
|
8137
|
-
|
|
8139
|
+
L[P] = A, ++V === E && R(L);
|
|
8138
8140
|
}, k);
|
|
8139
8141
|
});
|
|
8140
8142
|
}), n(y, "race", function(w) {
|
|
@@ -8142,7 +8144,7 @@ var fe = Hf(function(e) {
|
|
|
8142
8144
|
return i.call(w) != "[object Array]" ? C.reject(TypeError("Not an array")) : new C(function(R, k) {
|
|
8143
8145
|
if (typeof R != "function" || typeof k != "function")
|
|
8144
8146
|
throw TypeError("Not a function");
|
|
8145
|
-
m(C, w, function(
|
|
8147
|
+
m(C, w, function(L, V) {
|
|
8146
8148
|
R(V);
|
|
8147
8149
|
}, k);
|
|
8148
8150
|
});
|
|
@@ -8224,14 +8226,14 @@ function qf(e, t) {
|
|
|
8224
8226
|
});
|
|
8225
8227
|
}
|
|
8226
8228
|
var Gf = ["airplay", "audio_tracks", "audiotrack", "autopause", "autoplay", "background", "byline", "cc", "chapter_id", "chapters", "chromecast", "color", "colors", "controls", "dnt", "end_time", "fullscreen", "height", "id", "initial_quality", "interactive_params", "keyboard", "loop", "maxheight", "max_quality", "maxwidth", "min_quality", "muted", "play_button_position", "playsinline", "portrait", "preload", "progress_bar", "quality", "quality_selector", "responsive", "skipping_forward", "speed", "start_time", "texttrack", "thumbnail_id", "title", "transcript", "transparent", "unmute_button", "url", "vimeo_logo", "volume", "watch_full_video", "width"];
|
|
8227
|
-
function
|
|
8229
|
+
function Ki(e) {
|
|
8228
8230
|
var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
|
|
8229
8231
|
return Gf.reduce(function(n, r) {
|
|
8230
8232
|
var o = e.getAttribute("data-vimeo-".concat(r));
|
|
8231
8233
|
return (o || o === "") && (n[r] = o === "" ? 1 : o), n;
|
|
8232
8234
|
}, t);
|
|
8233
8235
|
}
|
|
8234
|
-
function
|
|
8236
|
+
function pr(e, t) {
|
|
8235
8237
|
var n = e.html;
|
|
8236
8238
|
if (!t)
|
|
8237
8239
|
throw new TypeError("An element must be provided");
|
|
@@ -8240,7 +8242,7 @@ function mr(e, t) {
|
|
|
8240
8242
|
var r = document.createElement("div");
|
|
8241
8243
|
return r.innerHTML = n, t.appendChild(r.firstChild), t.setAttribute("data-vimeo-initialized", "true"), t.querySelector("iframe");
|
|
8242
8244
|
}
|
|
8243
|
-
function
|
|
8245
|
+
function Qi(e) {
|
|
8244
8246
|
var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, n = arguments.length > 2 ? arguments[2] : void 0;
|
|
8245
8247
|
return new Promise(function(r, o) {
|
|
8246
8248
|
if (!ke(e))
|
|
@@ -8261,7 +8263,7 @@ function Zi(e) {
|
|
|
8261
8263
|
try {
|
|
8262
8264
|
var l = JSON.parse(c.responseText);
|
|
8263
8265
|
if (l.domain_status_code === 403) {
|
|
8264
|
-
|
|
8266
|
+
pr(l, n), o(new Error("“".concat(e, "” is not embeddable.")));
|
|
8265
8267
|
return;
|
|
8266
8268
|
}
|
|
8267
8269
|
r(l);
|
|
@@ -8274,7 +8276,7 @@ function Zi(e) {
|
|
|
8274
8276
|
}, c.send();
|
|
8275
8277
|
});
|
|
8276
8278
|
}
|
|
8277
|
-
function
|
|
8279
|
+
function Zf() {
|
|
8278
8280
|
var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : document, t = [].slice.call(e.querySelectorAll("[data-vimeo-id], [data-vimeo-url]")), n = function(o) {
|
|
8279
8281
|
"console" in window && console.error && console.error("There was an error creating an embed: ".concat(o));
|
|
8280
8282
|
};
|
|
@@ -8282,16 +8284,16 @@ function Yf() {
|
|
|
8282
8284
|
try {
|
|
8283
8285
|
if (r.getAttribute("data-vimeo-defer") !== null)
|
|
8284
8286
|
return;
|
|
8285
|
-
var o =
|
|
8286
|
-
|
|
8287
|
-
return
|
|
8287
|
+
var o = Ki(r), i = Xi(o);
|
|
8288
|
+
Qi(i, o, r).then(function(a) {
|
|
8289
|
+
return pr(a, r);
|
|
8288
8290
|
}).catch(n);
|
|
8289
8291
|
} catch (a) {
|
|
8290
8292
|
n(a);
|
|
8291
8293
|
}
|
|
8292
8294
|
});
|
|
8293
8295
|
}
|
|
8294
|
-
function
|
|
8296
|
+
function Yf() {
|
|
8295
8297
|
var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : document;
|
|
8296
8298
|
if (!window.VimeoPlayerResizeEmbeds_) {
|
|
8297
8299
|
window.VimeoPlayerResizeEmbeds_ = !0;
|
|
@@ -8316,8 +8318,8 @@ function Xf() {
|
|
|
8316
8318
|
var o = At(r.data);
|
|
8317
8319
|
if (!(!o || o.event !== "ready")) {
|
|
8318
8320
|
var i = r.source ? yn(r.source, e) : null;
|
|
8319
|
-
if (i &&
|
|
8320
|
-
var a = new
|
|
8321
|
+
if (i && Yi(i.src)) {
|
|
8322
|
+
var a = new hr(i);
|
|
8321
8323
|
a.callMethod("appendVideoMetadata", window.location.href);
|
|
8322
8324
|
}
|
|
8323
8325
|
}
|
|
@@ -8337,8 +8339,8 @@ function Kf() {
|
|
|
8337
8339
|
var i = At(o.data);
|
|
8338
8340
|
if (!(!i || i.event !== "ready")) {
|
|
8339
8341
|
var a = o.source ? yn(o.source, e) : null;
|
|
8340
|
-
if (a &&
|
|
8341
|
-
var s = new
|
|
8342
|
+
if (a && Yi(a.src)) {
|
|
8343
|
+
var s = new hr(a);
|
|
8342
8344
|
s.getVideoId().then(function(c) {
|
|
8343
8345
|
var l = new RegExp("[?&]vimeo_t_".concat(c, "=([^&#]*)")).exec(window.location.href);
|
|
8344
8346
|
if (l && l[1]) {
|
|
@@ -8463,7 +8465,7 @@ var ed = {
|
|
|
8463
8465
|
var t = Tf(n);
|
|
8464
8466
|
function n(r, o) {
|
|
8465
8467
|
var i, a = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {}, s = arguments.length > 3 ? arguments[3] : void 0;
|
|
8466
|
-
return
|
|
8468
|
+
return Wi(this, n), i = t.call(this), Xt(Qt(i), "logger", void 0), Xt(Qt(i), "speedAdjustment", 0), Xt(Qt(i), "adjustSpeed", /* @__PURE__ */ (function() {
|
|
8467
8469
|
var c = ze(/* @__PURE__ */ oe().mark(function l(f, u) {
|
|
8468
8470
|
var d;
|
|
8469
8471
|
return oe().wrap(function(p) {
|
|
@@ -8489,9 +8491,9 @@ var ed = {
|
|
|
8489
8491
|
return function(l, f) {
|
|
8490
8492
|
return c.apply(this, arguments);
|
|
8491
8493
|
};
|
|
8492
|
-
})()), i.logger = s, i.init(o, r,
|
|
8494
|
+
})()), i.logger = s, i.init(o, r, uo(uo({}, ed), a)), i;
|
|
8493
8495
|
}
|
|
8494
|
-
return
|
|
8496
|
+
return Ui(n, [{
|
|
8495
8497
|
key: "disconnect",
|
|
8496
8498
|
value: function() {
|
|
8497
8499
|
this.dispatchEvent(new Event("disconnect"));
|
|
@@ -8518,7 +8520,7 @@ var ed = {
|
|
|
8518
8520
|
}
|
|
8519
8521
|
return p.next = 5, this.updatePlayer(a, s, c);
|
|
8520
8522
|
case 5:
|
|
8521
|
-
f =
|
|
8523
|
+
f = go(a, "change", function() {
|
|
8522
8524
|
return l.updatePlayer(a, s, c);
|
|
8523
8525
|
}), u = this.maintainPlaybackPosition(a, s, c), this.addEventListener("disconnect", function() {
|
|
8524
8526
|
u.cancel(), f.cancel();
|
|
@@ -8527,7 +8529,7 @@ var ed = {
|
|
|
8527
8529
|
case 10:
|
|
8528
8530
|
return p.next = 12, this.updateTimingObject(a, s);
|
|
8529
8531
|
case 12:
|
|
8530
|
-
d =
|
|
8532
|
+
d = go(s, ["seeked", "play", "pause", "ratechange"], function() {
|
|
8531
8533
|
return l.updateTimingObject(a, s);
|
|
8532
8534
|
}, "on", "off"), this.addEventListener("disconnect", function() {
|
|
8533
8535
|
return d.cancel();
|
|
@@ -8765,10 +8767,10 @@ var ed = {
|
|
|
8765
8767
|
}
|
|
8766
8768
|
)
|
|
8767
8769
|
}]), n;
|
|
8768
|
-
})(/* @__PURE__ */
|
|
8770
|
+
})(/* @__PURE__ */ Xn(EventTarget)), Ye = /* @__PURE__ */ new WeakMap(), Dn = /* @__PURE__ */ new WeakMap(), ie = {}, hr = /* @__PURE__ */ (function() {
|
|
8769
8771
|
function e(t) {
|
|
8770
8772
|
var n = this, r = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
|
|
8771
|
-
if (
|
|
8773
|
+
if (Wi(this, e), window.jQuery && t instanceof jQuery && (t.length > 1 && window.console && console.warn && console.warn("A jQuery object with multiple elements was passed, using the first element."), t = t[0]), typeof document < "u" && typeof t == "string" && (t = document.getElementById(t)), !Vf(t))
|
|
8772
8774
|
throw new TypeError("You must pass either a valid element or a valid id.");
|
|
8773
8775
|
if (t.nodeName !== "IFRAME") {
|
|
8774
8776
|
var o = t.querySelector("iframe");
|
|
@@ -8776,8 +8778,8 @@ var ed = {
|
|
|
8776
8778
|
}
|
|
8777
8779
|
if (t.nodeName === "IFRAME" && !ke(t.getAttribute("src") || ""))
|
|
8778
8780
|
throw new Error("The player element passed isn’t a Vimeo embed.");
|
|
8779
|
-
if (
|
|
8780
|
-
return
|
|
8781
|
+
if (Ye.has(t))
|
|
8782
|
+
return Ye.get(t);
|
|
8781
8783
|
this._window = t.ownerDocument.defaultView, this.element = t, this.origin = "*";
|
|
8782
8784
|
var i = new fe(function(s, c) {
|
|
8783
8785
|
if (n._onMessage = function(u) {
|
|
@@ -8797,14 +8799,14 @@ var ed = {
|
|
|
8797
8799
|
qf(n, d);
|
|
8798
8800
|
}
|
|
8799
8801
|
}, n._window.addEventListener("message", n._onMessage), n.element.nodeName !== "IFRAME") {
|
|
8800
|
-
var l =
|
|
8801
|
-
|
|
8802
|
-
var d =
|
|
8803
|
-
return n.element = d, n._originalElement = t, Uf(t, d),
|
|
8802
|
+
var l = Ki(t, r), f = Xi(l);
|
|
8803
|
+
Qi(f, l, t).then(function(u) {
|
|
8804
|
+
var d = pr(u, t);
|
|
8805
|
+
return n.element = d, n._originalElement = t, Uf(t, d), Ye.set(n.element, n), u;
|
|
8804
8806
|
}).catch(c);
|
|
8805
8807
|
}
|
|
8806
8808
|
});
|
|
8807
|
-
if (
|
|
8809
|
+
if (Dn.set(this, i), Ye.set(this.element, this), this.element.nodeName === "IFRAME" && je(this, "ping"), ie.isEnabled) {
|
|
8808
8810
|
var a = function() {
|
|
8809
8811
|
return ie.exit();
|
|
8810
8812
|
};
|
|
@@ -8816,7 +8818,7 @@ var ed = {
|
|
|
8816
8818
|
}
|
|
8817
8819
|
return this;
|
|
8818
8820
|
}
|
|
8819
|
-
return
|
|
8821
|
+
return Ui(e, [{
|
|
8820
8822
|
key: "callMethod",
|
|
8821
8823
|
value: (
|
|
8822
8824
|
/**
|
|
@@ -8852,7 +8854,7 @@ var ed = {
|
|
|
8852
8854
|
value: function(n) {
|
|
8853
8855
|
var r = this;
|
|
8854
8856
|
return new fe(function(o, i) {
|
|
8855
|
-
return n =
|
|
8857
|
+
return n = ho(n, "get"), r.ready().then(function() {
|
|
8856
8858
|
ft(r, n, {
|
|
8857
8859
|
resolve: o,
|
|
8858
8860
|
reject: i
|
|
@@ -8872,7 +8874,7 @@ var ed = {
|
|
|
8872
8874
|
value: function(n, r) {
|
|
8873
8875
|
var o = this;
|
|
8874
8876
|
return new fe(function(i, a) {
|
|
8875
|
-
if (n =
|
|
8877
|
+
if (n = ho(n, "set"), r == null)
|
|
8876
8878
|
throw new TypeError("There must be a value to set.");
|
|
8877
8879
|
return o.ready().then(function() {
|
|
8878
8880
|
ft(o, n, {
|
|
@@ -8961,7 +8963,7 @@ var ed = {
|
|
|
8961
8963
|
}, {
|
|
8962
8964
|
key: "ready",
|
|
8963
8965
|
value: function() {
|
|
8964
|
-
var n =
|
|
8966
|
+
var n = Dn.get(this) || new fe(function(r, o) {
|
|
8965
8967
|
o(new Error("Unknown player. Probably unloaded."));
|
|
8966
8968
|
});
|
|
8967
8969
|
return fe.resolve(n);
|
|
@@ -9250,7 +9252,7 @@ var ed = {
|
|
|
9250
9252
|
value: function() {
|
|
9251
9253
|
var n = this;
|
|
9252
9254
|
return new fe(function(r) {
|
|
9253
|
-
if (
|
|
9255
|
+
if (Dn.delete(n), Ye.delete(n.element), n._originalElement && (Ye.delete(n._originalElement), n._originalElement.removeAttribute("data-vimeo-initialized")), n.element && n.element.nodeName === "IFRAME" && n.element.parentNode && (n.element.parentNode.parentNode && n._originalElement && n._originalElement !== n.element.parentNode ? n.element.parentNode.parentNode.removeChild(n.element.parentNode) : n.element.parentNode.removeChild(n.element)), n.element && n.element.nodeName === "DIV" && n.element.parentNode) {
|
|
9254
9256
|
n.element.removeAttribute("data-vimeo-initialized");
|
|
9255
9257
|
var o = n.element.querySelector("iframe");
|
|
9256
9258
|
o && o.parentNode && (o.parentNode.parentNode && n._originalElement && n._originalElement !== o.parentNode ? o.parentNode.parentNode.removeChild(o.parentNode) : o.parentNode.removeChild(o));
|
|
@@ -10086,14 +10088,14 @@ var ed = {
|
|
|
10086
10088
|
}
|
|
10087
10089
|
}]), e;
|
|
10088
10090
|
})();
|
|
10089
|
-
|
|
10091
|
+
Zi || (ie = Jf(), Zf(), Yf(), Xf(), Kf(), Qf());
|
|
10090
10092
|
function nd(e) {
|
|
10091
10093
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
10092
10094
|
}
|
|
10093
|
-
var Vt = { exports: {} },
|
|
10095
|
+
var Vt = { exports: {} }, Vn, vo;
|
|
10094
10096
|
function rd() {
|
|
10095
|
-
if (
|
|
10096
|
-
|
|
10097
|
+
if (vo) return Vn;
|
|
10098
|
+
vo = 1;
|
|
10097
10099
|
var e;
|
|
10098
10100
|
/**
|
|
10099
10101
|
* @link https://github.com/gajus/sister for the canonical source repository
|
|
@@ -10113,14 +10115,14 @@ function rd() {
|
|
|
10113
10115
|
for (a = i.length; a--; )
|
|
10114
10116
|
i[a].handler(o);
|
|
10115
10117
|
}, t;
|
|
10116
|
-
},
|
|
10118
|
+
}, Vn = e, Vn;
|
|
10117
10119
|
}
|
|
10118
|
-
var Bt = { exports: {} }, jt = { exports: {} },
|
|
10120
|
+
var Bt = { exports: {} }, jt = { exports: {} }, Bn, yo;
|
|
10119
10121
|
function od() {
|
|
10120
|
-
if (
|
|
10121
|
-
|
|
10122
|
+
if (yo) return Bn;
|
|
10123
|
+
yo = 1;
|
|
10122
10124
|
var e = 1e3, t = e * 60, n = t * 60, r = n * 24, o = r * 7, i = r * 365.25;
|
|
10123
|
-
|
|
10125
|
+
Bn = function(f, u) {
|
|
10124
10126
|
u = u || {};
|
|
10125
10127
|
var d = typeof f;
|
|
10126
10128
|
if (d === "string" && f.length > 0)
|
|
@@ -10195,12 +10197,12 @@ function od() {
|
|
|
10195
10197
|
var p = u >= d * 1.5;
|
|
10196
10198
|
return Math.round(f / d) + " " + m + (p ? "s" : "");
|
|
10197
10199
|
}
|
|
10198
|
-
return
|
|
10200
|
+
return Bn;
|
|
10199
10201
|
}
|
|
10200
|
-
var
|
|
10202
|
+
var jn, bo;
|
|
10201
10203
|
function id() {
|
|
10202
|
-
if (
|
|
10203
|
-
|
|
10204
|
+
if (bo) return jn;
|
|
10205
|
+
bo = 1;
|
|
10204
10206
|
function e(t) {
|
|
10205
10207
|
r.debug = r, r.default = r, r.coerce = l, r.disable = s, r.enable = i, r.enabled = c, r.humanize = od(), r.destroy = f, Object.keys(t).forEach((u) => {
|
|
10206
10208
|
r[u] = t[u];
|
|
@@ -10224,10 +10226,10 @@ function id() {
|
|
|
10224
10226
|
if (k === "%%")
|
|
10225
10227
|
return "%";
|
|
10226
10228
|
x++;
|
|
10227
|
-
const
|
|
10228
|
-
if (typeof
|
|
10229
|
+
const L = r.formatters[E];
|
|
10230
|
+
if (typeof L == "function") {
|
|
10229
10231
|
const V = v[x];
|
|
10230
|
-
k =
|
|
10232
|
+
k = L.call(b, V), v.splice(x, 1), x--;
|
|
10231
10233
|
}
|
|
10232
10234
|
return k;
|
|
10233
10235
|
}), r.formatArgs.call(b, v), (b.log || r.log).apply(b, v);
|
|
@@ -10288,11 +10290,11 @@ function id() {
|
|
|
10288
10290
|
}
|
|
10289
10291
|
return r.enable(r.load()), r;
|
|
10290
10292
|
}
|
|
10291
|
-
return
|
|
10293
|
+
return jn = e, jn;
|
|
10292
10294
|
}
|
|
10293
|
-
var
|
|
10295
|
+
var wo;
|
|
10294
10296
|
function ad() {
|
|
10295
|
-
return
|
|
10297
|
+
return wo || (wo = 1, (function(e, t) {
|
|
10296
10298
|
t.formatArgs = r, t.save = o, t.load = i, t.useColors = n, t.storage = a(), t.destroy = /* @__PURE__ */ (() => {
|
|
10297
10299
|
let c = !1;
|
|
10298
10300
|
return () => {
|
|
@@ -10431,9 +10433,9 @@ function ad() {
|
|
|
10431
10433
|
};
|
|
10432
10434
|
})(jt, jt.exports)), jt.exports;
|
|
10433
10435
|
}
|
|
10434
|
-
var zt = { exports: {} }, $t = { exports: {} },
|
|
10436
|
+
var zt = { exports: {} }, $t = { exports: {} }, Co;
|
|
10435
10437
|
function sd() {
|
|
10436
|
-
return
|
|
10438
|
+
return Co || (Co = 1, (function(e, t) {
|
|
10437
10439
|
Object.defineProperty(t, "__esModule", {
|
|
10438
10440
|
value: !0
|
|
10439
10441
|
}), t.default = {
|
|
@@ -10446,9 +10448,9 @@ function sd() {
|
|
|
10446
10448
|
}, e.exports = t.default;
|
|
10447
10449
|
})($t, $t.exports)), $t.exports;
|
|
10448
10450
|
}
|
|
10449
|
-
var
|
|
10451
|
+
var xo;
|
|
10450
10452
|
function cd() {
|
|
10451
|
-
return
|
|
10453
|
+
return xo || (xo = 1, (function(e, t) {
|
|
10452
10454
|
Object.defineProperty(t, "__esModule", {
|
|
10453
10455
|
value: !0
|
|
10454
10456
|
});
|
|
@@ -10476,25 +10478,25 @@ function cd() {
|
|
|
10476
10478
|
}, e.exports = t.default;
|
|
10477
10479
|
})(zt, zt.exports)), zt.exports;
|
|
10478
10480
|
}
|
|
10479
|
-
var Ht = { exports: {} },
|
|
10481
|
+
var Ht = { exports: {} }, Eo;
|
|
10480
10482
|
function ld() {
|
|
10481
|
-
return
|
|
10483
|
+
return Eo || (Eo = 1, (function(e, t) {
|
|
10482
10484
|
Object.defineProperty(t, "__esModule", {
|
|
10483
10485
|
value: !0
|
|
10484
10486
|
}), t.default = ["ready", "stateChange", "playbackQualityChange", "playbackRateChange", "error", "apiChange", "volumeChange"], e.exports = t.default;
|
|
10485
10487
|
})(Ht, Ht.exports)), Ht.exports;
|
|
10486
10488
|
}
|
|
10487
|
-
var Wt = { exports: {} },
|
|
10489
|
+
var Wt = { exports: {} }, So;
|
|
10488
10490
|
function ud() {
|
|
10489
|
-
return
|
|
10491
|
+
return So || (So = 1, (function(e, t) {
|
|
10490
10492
|
Object.defineProperty(t, "__esModule", {
|
|
10491
10493
|
value: !0
|
|
10492
10494
|
}), t.default = ["cueVideoById", "loadVideoById", "cueVideoByUrl", "loadVideoByUrl", "playVideo", "pauseVideo", "stopVideo", "getVideoLoadedFraction", "cuePlaylist", "loadPlaylist", "nextVideo", "previousVideo", "playVideoAt", "setShuffle", "setLoop", "getPlaylist", "getPlaylistIndex", "setOption", "mute", "unMute", "isMuted", "setVolume", "getVolume", "seekTo", "getPlayerState", "getPlaybackRate", "setPlaybackRate", "getAvailablePlaybackRates", "getPlaybackQuality", "setPlaybackQuality", "getAvailableQualityLevels", "getCurrentTime", "getDuration", "removeEventListener", "getVideoUrl", "getVideoEmbedCode", "getOptions", "getOption", "addEventListener", "destroy", "setSize", "getIframe", "getSphericalProperties", "setSphericalProperties"], e.exports = t.default;
|
|
10493
10495
|
})(Wt, Wt.exports)), Wt.exports;
|
|
10494
10496
|
}
|
|
10495
|
-
var
|
|
10497
|
+
var ko;
|
|
10496
10498
|
function fd() {
|
|
10497
|
-
return
|
|
10499
|
+
return ko || (ko = 1, (function(e, t) {
|
|
10498
10500
|
Object.defineProperty(t, "__esModule", {
|
|
10499
10501
|
value: !0
|
|
10500
10502
|
});
|
|
@@ -10521,10 +10523,10 @@ function fd() {
|
|
|
10521
10523
|
Array.isArray(w.acceptableStates) && !w.acceptableStates.includes(C) ? new Promise((R) => {
|
|
10522
10524
|
const k = () => {
|
|
10523
10525
|
const E = b.getPlayerState();
|
|
10524
|
-
let
|
|
10525
|
-
typeof w.timeout == "number" && (
|
|
10526
|
+
let L;
|
|
10527
|
+
typeof w.timeout == "number" && (L = setTimeout(() => {
|
|
10526
10528
|
b.removeEventListener("onStateChange", k), R();
|
|
10527
|
-
}, w.timeout)), Array.isArray(w.acceptableStates) && w.acceptableStates.includes(E) && (b.removeEventListener("onStateChange", k), clearTimeout(
|
|
10529
|
+
}, w.timeout)), Array.isArray(w.acceptableStates) && w.acceptableStates.includes(E) && (b.removeEventListener("onStateChange", k), clearTimeout(L), R());
|
|
10528
10530
|
};
|
|
10529
10531
|
b.addEventListener("onStateChange", k);
|
|
10530
10532
|
}).then(() => x) : x;
|
|
@@ -10533,10 +10535,10 @@ function fd() {
|
|
|
10533
10535
|
}, t.default = d, e.exports = t.default;
|
|
10534
10536
|
})(Bt, Bt.exports)), Bt.exports;
|
|
10535
10537
|
}
|
|
10536
|
-
var Ut = { exports: {} },
|
|
10538
|
+
var Ut = { exports: {} }, zn, Po;
|
|
10537
10539
|
function dd() {
|
|
10538
|
-
if (
|
|
10539
|
-
|
|
10540
|
+
if (Po) return zn;
|
|
10541
|
+
Po = 1, zn = function(o, i, a) {
|
|
10540
10542
|
var s = document.head || document.getElementsByTagName("head")[0], c = document.createElement("script");
|
|
10541
10543
|
typeof i == "function" && (a = i, i = {}), i = i || {}, a = a || function() {
|
|
10542
10544
|
}, c.type = i.type || "text/javascript", c.charset = i.charset || "utf8", c.async = "async" in i ? !!i.async : !0, c.src = o, i.attrs && e(c, i.attrs), i.text && (c.text = "" + i.text);
|
|
@@ -10559,11 +10561,11 @@ function dd() {
|
|
|
10559
10561
|
this.readyState != "complete" && this.readyState != "loaded" || (this.onreadystatechange = null, o(null, r));
|
|
10560
10562
|
};
|
|
10561
10563
|
}
|
|
10562
|
-
return
|
|
10564
|
+
return zn;
|
|
10563
10565
|
}
|
|
10564
|
-
var
|
|
10566
|
+
var Ao;
|
|
10565
10567
|
function md() {
|
|
10566
|
-
return
|
|
10568
|
+
return Ao || (Ao = 1, (function(e, t) {
|
|
10567
10569
|
Object.defineProperty(t, "__esModule", {
|
|
10568
10570
|
value: !0
|
|
10569
10571
|
});
|
|
@@ -10588,9 +10590,9 @@ function md() {
|
|
|
10588
10590
|
}), e.exports = t.default;
|
|
10589
10591
|
})(Ut, Ut.exports)), Ut.exports;
|
|
10590
10592
|
}
|
|
10591
|
-
var
|
|
10593
|
+
var Ro;
|
|
10592
10594
|
function pd() {
|
|
10593
|
-
return
|
|
10595
|
+
return Ro || (Ro = 1, (function(e, t) {
|
|
10594
10596
|
Object.defineProperty(t, "__esModule", {
|
|
10595
10597
|
value: !0
|
|
10596
10598
|
});
|
|
@@ -10659,7 +10661,7 @@ function vd({
|
|
|
10659
10661
|
}), d.current.on("ready", () => {
|
|
10660
10662
|
var x;
|
|
10661
10663
|
r && ((x = d.current) == null || x.mute());
|
|
10662
|
-
})), t === "vimeo" && (u.current = new
|
|
10664
|
+
})), t === "vimeo" && (u.current = new hr(a.current, {
|
|
10663
10665
|
id: C,
|
|
10664
10666
|
autoplay: n,
|
|
10665
10667
|
muted: r,
|
|
@@ -10742,14 +10744,14 @@ var bd = Symbol.for("react.lazy"), cn = h[" use ".trim().toString()];
|
|
|
10742
10744
|
function wd(e) {
|
|
10743
10745
|
return typeof e == "object" && e !== null && "then" in e;
|
|
10744
10746
|
}
|
|
10745
|
-
function
|
|
10747
|
+
function Ji(e) {
|
|
10746
10748
|
return e != null && typeof e == "object" && "$$typeof" in e && e.$$typeof === bd && "_payload" in e && wd(e._payload);
|
|
10747
10749
|
}
|
|
10748
10750
|
// @__NO_SIDE_EFFECTS__
|
|
10749
10751
|
function Cd(e) {
|
|
10750
10752
|
const t = /* @__PURE__ */ xd(e), n = h.forwardRef((r, o) => {
|
|
10751
10753
|
let { children: i, ...a } = r;
|
|
10752
|
-
|
|
10754
|
+
Ji(i) && typeof cn == "function" && (i = cn(i._payload));
|
|
10753
10755
|
const s = h.Children.toArray(i), c = s.find(Sd);
|
|
10754
10756
|
if (c) {
|
|
10755
10757
|
const l = c.props.children, f = s.map((u) => u === c ? h.Children.count(l) > 1 ? h.Children.only(null) : h.isValidElement(l) ? l.props.children : null : u);
|
|
@@ -10759,12 +10761,12 @@ function Cd(e) {
|
|
|
10759
10761
|
});
|
|
10760
10762
|
return n.displayName = `${e}.Slot`, n;
|
|
10761
10763
|
}
|
|
10762
|
-
var
|
|
10764
|
+
var bn = /* @__PURE__ */ Cd("Slot");
|
|
10763
10765
|
// @__NO_SIDE_EFFECTS__
|
|
10764
10766
|
function xd(e) {
|
|
10765
10767
|
const t = h.forwardRef((n, r) => {
|
|
10766
10768
|
let { children: o, ...i } = n;
|
|
10767
|
-
if (
|
|
10769
|
+
if (Ji(o) && typeof cn == "function" && (o = cn(o._payload)), h.isValidElement(o)) {
|
|
10768
10770
|
const a = Pd(o), s = kd(i, o.props);
|
|
10769
10771
|
return o.type !== h.Fragment && (s.ref = r ? fn(r, a) : a), h.cloneElement(o, s);
|
|
10770
10772
|
}
|
|
@@ -10772,15 +10774,15 @@ function xd(e) {
|
|
|
10772
10774
|
});
|
|
10773
10775
|
return t.displayName = `${e}.SlotClone`, t;
|
|
10774
10776
|
}
|
|
10775
|
-
var
|
|
10777
|
+
var ea = Symbol("radix.slottable");
|
|
10776
10778
|
// @__NO_SIDE_EFFECTS__
|
|
10777
10779
|
function Ed(e) {
|
|
10778
10780
|
const t = ({ children: n }) => /* @__PURE__ */ S(Se, { children: n });
|
|
10779
|
-
return t.displayName = `${e}.Slottable`, t.__radixId =
|
|
10781
|
+
return t.displayName = `${e}.Slottable`, t.__radixId = ea, t;
|
|
10780
10782
|
}
|
|
10781
|
-
var
|
|
10783
|
+
var gr = /* @__PURE__ */ Ed("Slottable");
|
|
10782
10784
|
function Sd(e) {
|
|
10783
|
-
return h.isValidElement(e) && typeof e.type == "function" && "__radixId" in e.type && e.type.__radixId ===
|
|
10785
|
+
return h.isValidElement(e) && typeof e.type == "function" && "__radixId" in e.type && e.type.__radixId === ea;
|
|
10784
10786
|
}
|
|
10785
10787
|
function kd(e, t) {
|
|
10786
10788
|
const n = { ...t };
|
|
@@ -10800,20 +10802,36 @@ function Pd(e) {
|
|
|
10800
10802
|
}
|
|
10801
10803
|
const ln = (e) => /* @__PURE__ */ h.createElement("svg", { width: 19, height: 20, viewBox: "0 0 19 20", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ h.createElement("path", { d: "M14.8096 13.3164C14.8126 13.3279 15.2296 14.8934 15.9219 15.5703C16.6167 16.2497 18.2275 16.6582 18.2275 16.6582C18.2275 16.6582 16.6167 17.0667 15.9219 17.7461C15.2272 18.4256 14.8096 20 14.8096 20C14.8096 20 14.392 18.4256 13.6973 17.7461C13.0024 17.0667 11.3916 16.6582 11.3916 16.6582C11.3916 16.6582 13.0024 16.2497 13.6973 15.5703C14.3898 14.8931 14.8069 13.3266 14.8096 13.3164ZM7.12012 3.03809C7.12686 3.06343 7.99568 6.3234 9.4375 7.7334C10.885 9.14883 14.2402 10 14.2402 10C14.2402 10 10.885 10.8512 9.4375 12.2666C7.99011 13.6822 7.12012 16.9619 7.12012 16.9619C7.12012 16.9619 6.2493 13.682 4.80176 12.2666C3.35664 10.8535 0.0112161 10.0028 0 10C0 10 3.35415 9.14876 4.80176 7.7334C6.24667 6.32055 7.11695 3.05 7.12012 3.03809ZM14.8096 0C14.8106 0.00385251 15.228 1.57529 15.9219 2.25391C16.6167 2.93331 18.2275 3.3418 18.2275 3.3418C18.2275 3.3418 16.6167 3.75028 15.9219 4.42969C15.2272 5.10918 14.8096 6.68359 14.8096 6.68359C14.8096 6.68359 14.392 5.1092 13.6973 4.42969C13.0024 3.75028 11.3916 3.3418 11.3916 3.3418C11.3916 3.3418 13.0024 2.93331 13.6973 2.25391C14.392 1.57444 14.8096 0 14.8096 0Z", fill: "currentColor" }), /* @__PURE__ */ h.createElement("path", { d: "M14.8096 13.3164C14.8126 13.3279 15.2296 14.8934 15.9219 15.5703C16.6167 16.2497 18.2275 16.6582 18.2275 16.6582C18.2275 16.6582 16.6167 17.0667 15.9219 17.7461C15.2272 18.4256 14.8096 20 14.8096 20C14.8096 20 14.392 18.4256 13.6973 17.7461C13.0024 17.0667 11.3916 16.6582 11.3916 16.6582C11.3916 16.6582 13.0024 16.2497 13.6973 15.5703C14.3898 14.8931 14.8069 13.3266 14.8096 13.3164ZM7.12012 3.03809C7.12686 3.06343 7.99568 6.3234 9.4375 7.7334C10.885 9.14883 14.2402 10 14.2402 10C14.2402 10 10.885 10.8512 9.4375 12.2666C7.99011 13.6822 7.12012 16.9619 7.12012 16.9619C7.12012 16.9619 6.2493 13.682 4.80176 12.2666C3.35664 10.8535 0.0112161 10.0028 0 10C0 10 3.35415 9.14876 4.80176 7.7334C6.24667 6.32055 7.11695 3.05 7.12012 3.03809ZM14.8096 0C14.8106 0.00385251 15.228 1.57529 15.9219 2.25391C16.6167 2.93331 18.2275 3.3418 18.2275 3.3418C18.2275 3.3418 16.6167 3.75028 15.9219 4.42969C15.2272 5.10918 14.8096 6.68359 14.8096 6.68359C14.8096 6.68359 14.392 5.1092 13.6973 4.42969C13.0024 3.75028 11.3916 3.3418 11.3916 3.3418C11.3916 3.3418 13.0024 2.93331 13.6973 2.25391C14.392 1.57444 14.8096 0 14.8096 0Z", fill: "currentColor" }));
|
|
10802
10804
|
function Rt({
|
|
10803
|
-
|
|
10804
|
-
|
|
10805
|
-
|
|
10806
|
-
|
|
10807
|
-
|
|
10808
|
-
...i
|
|
10805
|
+
children: e,
|
|
10806
|
+
className: t = "",
|
|
10807
|
+
displayStars: n,
|
|
10808
|
+
variant: r = "primary",
|
|
10809
|
+
...o
|
|
10809
10810
|
}) {
|
|
10810
|
-
return
|
|
10811
|
-
|
|
10812
|
-
/* @__PURE__ */ S(
|
|
10813
|
-
|
|
10811
|
+
return e ? /* @__PURE__ */ $(bn, { ...o, className: `button button-${r} ${t}`, children: [
|
|
10812
|
+
n ? /* @__PURE__ */ S(ln, {}) : null,
|
|
10813
|
+
/* @__PURE__ */ S(gr, { children: e }),
|
|
10814
|
+
n ? /* @__PURE__ */ S(ln, {}) : null
|
|
10814
10815
|
] }) : null;
|
|
10815
10816
|
}
|
|
10816
|
-
|
|
10817
|
+
function Ad({
|
|
10818
|
+
children: e,
|
|
10819
|
+
className: t = "",
|
|
10820
|
+
variant: n = "enterprise",
|
|
10821
|
+
...r
|
|
10822
|
+
}) {
|
|
10823
|
+
return e ? /* @__PURE__ */ S(bn, { ...r, className: `button-icon button-icon-${n} ${t}`, children: /* @__PURE__ */ S(gr, { children: e }) }) : null;
|
|
10824
|
+
}
|
|
10825
|
+
const Rd = (e) => /* @__PURE__ */ h.createElement("svg", { width: 60, height: 60, viewBox: "0 0 60 60", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ h.createElement("path", { d: "M2.86035 17.2344C2.48467 18.7675 2.29102 20.3854 2.29102 22.0518C2.29102 27.4573 4.21774 32.1299 8.02344 35.9355C11.8291 39.7412 16.5017 41.668 21.9072 41.668C22.4384 41.668 22.9634 41.6437 23.4766 41.6016V49.1826H34.6152L30.5547 59.9873C30.3668 59.9994 30.1849 60 29.9971 60C13.4291 59.9999 0.000174694 46.5708 0 30.0029C0 25.4337 1.03027 21.1006 2.86035 17.2344ZM53.0439 49.1826C48.6928 54.4063 42.6079 58.127 35.6631 59.4541L39.5176 49.1826H53.0439ZM29.9971 0C46.5651 0 59.994 13.4223 59.9941 29.9902V30.0029C59.9941 33.4933 59.3878 36.8441 58.291 39.9648L50.4199 18.7373L46.0684 18.707L36.2637 44.8008H27.8643V40.7168C30.573 39.8199 33.1671 38.2868 35.585 36.1416L35.3789 35.8994L34.2939 34.6143L32.7725 32.8086L32.5791 32.9785C31.0824 34.3056 29.5004 35.3414 27.8643 36.0625V13.0645L27.4639 13.4043L23.7373 16.5498L23.4824 16.7676V37.2139C22.8886 37.2805 22.3857 37.3105 21.9131 37.3105C17.7257 37.3105 14.102 35.8081 11.1387 32.8389C8.16932 29.8756 6.66608 26.2274 6.66602 22.04C6.66602 17.8526 8.17532 14.2346 11.1387 11.2773C14.102 8.32012 17.7256 6.82324 21.9131 6.82324C25.2703 6.82325 28.4398 7.93225 31.3486 10.126L31.5547 9.9502L34.4697 7.48926L34.7305 7.27148C30.8278 4.05968 26.5187 2.42969 21.9131 2.42969C20.1375 2.42969 18.4286 2.64144 16.8105 3.05957C20.5432 1.23018 24.7075 0.146812 29.1133 0.0185547L29.9971 0ZM51.5469 34.1475L53.7041 40.0986L55.4189 44.8008H41.1602L41.9844 42.6191L43.0137 39.8262L42.9902 39.8135L45.0928 34.1055L48.3105 25.2334L51.5469 34.1475Z", fill: "currentColor" }));
|
|
10826
|
+
function qd({
|
|
10827
|
+
children: e,
|
|
10828
|
+
className: t = "",
|
|
10829
|
+
variant: n = "basic",
|
|
10830
|
+
...r
|
|
10831
|
+
}) {
|
|
10832
|
+
return e ? /* @__PURE__ */ S(bn, { ...r, className: `button-logo button-logo-${n} ${t}`, children: To(e, {}, /* @__PURE__ */ S(Rd, {})) }) : null;
|
|
10833
|
+
}
|
|
10834
|
+
const Td = (e) => /* @__PURE__ */ h.createElement("svg", { width: 20, height: 20, viewBox: "0 0 20 20", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ h.createElement("g", { clipPath: "url(#clip0_3157_256984)" }, /* @__PURE__ */ h.createElement("path", { d: "M16.8926 6.03125C18.6087 6.03137 19.9997 7.4226 20 9.13867V16.8926C19.9999 18.6088 18.6088 19.9999 16.8926 20H9.13867C7.42258 19.9997 6.03137 18.6087 6.03125 16.8926V9.13867C6.03151 7.42268 7.42267 6.0315 9.13867 6.03125H16.8926ZM9.13867 8.7998C8.95211 8.80006 8.80007 8.95212 8.7998 9.13867V16.8926C8.79992 17.0793 8.95203 17.2302 9.13867 17.2305H16.8926C17.0793 17.2303 17.2303 17.0793 17.2305 16.8926V9.13867C17.2302 8.95204 17.0792 8.79993 16.8926 8.7998H9.13867ZM10.8623 0C11.6863 0.000123014 12.4769 0.327602 13.0596 0.910156C13.6422 1.49295 13.9688 2.28431 13.9688 3.1084V3.96875H11.2002V3.1084C11.2002 3.01878 11.1648 2.93161 11.1016 2.86816C11.0382 2.80495 10.9518 2.76965 10.8623 2.76953H3.1084C3.01863 2.76953 2.93164 2.80469 2.86816 2.86816C2.80469 2.93164 2.76953 3.01863 2.76953 3.1084V10.8623C2.76966 10.9518 2.80496 11.0382 2.86816 11.1016C2.93161 11.1648 3.01878 11.2002 3.1084 11.2002H3.96875V13.9688H3.1084C2.28431 13.9688 1.49295 13.6422 0.910156 13.0596C0.327606 12.4769 0.000128711 11.6862 0 10.8623V3.1084C0 2.28417 0.327336 1.49298 0.910156 0.910156C1.49298 0.327336 2.28416 0 3.1084 0H10.8623Z", fill: "currentColor" })), /* @__PURE__ */ h.createElement("defs", null, /* @__PURE__ */ h.createElement("clipPath", { id: "clip0_3157_256984" }, /* @__PURE__ */ h.createElement("rect", { width: 20, height: 20, fill: "white" })))), Od = (e) => /* @__PURE__ */ h.createElement("svg", { width: 20, height: 20, viewBox: "0 0 20 20", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ h.createElement("path", { d: "M17.1914 2.07426C18.4044 2.07443 19.4802 2.84592 19.8564 3.95122C19.9762 4.15149 20.02 4.38002 19.9912 4.59966C19.9968 4.67013 20 4.74143 20 4.81352V15.1866C19.9995 16.7323 18.7005 17.9256 17.1914 17.9258H2.80859C1.29952 17.9256 0.000453441 16.7323 0 15.1866V4.81352C1.53234e-05 4.74143 0.00323412 4.67013 0.00878906 4.59966C-0.0199639 4.38019 0.0230616 4.15138 0.142578 3.95122C0.518727 2.84576 1.59545 2.07443 2.80859 2.07426H17.1914ZM2.02246 15.1866C2.02294 15.5414 2.34114 15.9032 2.80859 15.9034H17.1914C17.6589 15.9032 17.9771 15.5414 17.9775 15.1866V6.52153L10.6162 12.1846C10.2529 12.4639 9.74713 12.4639 9.38379 12.1846L2.02246 6.52055V15.1866ZM2.80859 4.09673C2.63443 4.0968 2.48046 4.14623 2.35645 4.22758L10 10.1065L17.6426 4.22758C17.5187 4.1465 17.3652 4.0968 17.1914 4.09673H2.80859Z", fill: "currentColor" })), Md = (e) => /* @__PURE__ */ h.createElement("svg", { width: 20, height: 20, viewBox: "0 0 20 20", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ h.createElement("path", { d: "M6.88086 11.6914V20H11.4121V11.6914H14.791L15.4941 7.87109H11.4121V6.51953C11.4121 4.5 12.2051 3.72656 14.252 3.72656C14.8887 3.72656 15.4004 3.74219 15.6973 3.77344V0.308594C15.1387 0.15625 13.7715 0 12.9824 0C8.80664 0 6.88086 1.97266 6.88086 6.22656V7.87109H4.30273V11.6914H6.88086Z", fill: "currentColor" })), Ld = (e) => /* @__PURE__ */ h.createElement("svg", { width: 20, height: 20, viewBox: "0 0 20 20", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ h.createElement("g", { clipPath: "url(#clip0_29_5304)" }, /* @__PURE__ */ h.createElement("path", { d: "M14.4443 0C17.5126 0 20 2.48742 20 5.55566V14.4443C20 17.5126 17.5126 20 14.4443 20H5.55566C2.48742 20 0 17.5126 0 14.4443V5.55566C0 2.48742 2.48742 0 5.55566 0H14.4443ZM5.55566 2.22266C3.71471 2.22266 2.22266 3.71471 2.22266 5.55566V14.4443C2.22266 16.2853 3.71471 17.7773 5.55566 17.7773H14.4443C16.2853 17.7773 17.7773 16.2853 17.7773 14.4443V5.55566C17.7773 3.71471 16.2853 2.22266 14.4443 2.22266H5.55566ZM7.88867 5.81934C8.75992 5.36728 9.7527 5.20173 10.7236 5.3457C11.7138 5.49268 12.6301 5.9543 13.3379 6.66211C14.0457 7.36993 14.5073 8.28623 14.6543 9.27637C14.7983 10.2473 14.6327 11.2401 14.1807 12.1113C13.7286 12.9823 13.0133 13.6886 12.1367 14.1299C11.26 14.5712 10.2659 14.7253 9.29688 14.5693C8.32785 14.4134 7.43328 13.9548 6.73926 13.2607C6.04524 12.5667 5.58664 11.6721 5.43066 10.7031C5.27475 9.73406 5.42883 8.74002 5.87012 7.86328C6.31136 6.98674 7.01766 6.2714 7.88867 5.81934ZM10.3965 7.54297C9.88813 7.46771 9.36828 7.55436 8.91211 7.79102C8.45596 8.02776 8.08661 8.40329 7.85547 8.8623C7.62435 9.32148 7.5434 9.84208 7.625 10.3496C7.70668 10.8572 7.94699 11.3259 8.31055 11.6895C8.67411 12.053 9.14277 12.2933 9.65039 12.375C10.1579 12.4566 10.6785 12.3756 11.1377 12.1445C11.5967 11.9134 11.9722 11.544 12.209 11.0879C12.4456 10.6317 12.5323 10.1119 12.457 9.60352C12.3801 9.08473 12.1374 8.60425 11.7666 8.2334C11.3958 7.86255 10.9153 7.6199 10.3965 7.54297ZM14.8975 4C15.5111 4 16.0088 4.49768 16.0088 5.11133C16.0087 5.72488 15.511 6.22266 14.8975 6.22266H14.8887C14.2752 6.22255 13.7775 5.72481 13.7773 5.11133C13.7773 4.49774 14.2751 4.0001 14.8887 4H14.8975Z", fill: "currentColor" })), /* @__PURE__ */ h.createElement("defs", null, /* @__PURE__ */ h.createElement("clipPath", { id: "clip0_29_5304" }, /* @__PURE__ */ h.createElement("rect", { width: 20, height: 20, fill: "white" })))), Nd = (e) => /* @__PURE__ */ h.createElement("svg", { width: 20, height: 20, viewBox: "0 0 20 20", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ h.createElement("g", { clipPath: "url(#clip0_29_5301)" }, /* @__PURE__ */ h.createElement("path", { d: "M4.47768 20H0.330357V6.64732H4.47768V20ZM2.40179 4.82589C1.07589 4.82589 0 3.72768 0 2.40179C0 1.76339 0.254464 1.15625 0.705357 0.705357C1.15625 0.254464 1.76786 0 2.40179 0C3.03571 0 3.64732 0.254464 4.09821 0.705357C4.54911 1.15625 4.80357 1.76786 4.80357 2.40179C4.80357 3.72768 3.72768 4.82589 2.40179 4.82589ZM19.9955 20H15.8571V13.5C15.8571 11.9509 15.8259 9.96429 13.7009 9.96429C11.5446 9.96429 11.2143 11.6473 11.2143 13.3884V20H7.07143V6.64732H11.0491V8.46875H11.1071C11.6607 7.41964 13.0134 6.3125 15.0313 6.3125C19.2277 6.3125 20 9.07589 20 12.6652V20H19.9955Z", fill: "currentColor" })), /* @__PURE__ */ h.createElement("defs", null, /* @__PURE__ */ h.createElement("clipPath", { id: "clip0_29_5301" }, /* @__PURE__ */ h.createElement("rect", { width: 20, height: 20, fill: "white" })))), Fd = (e) => /* @__PURE__ */ h.createElement("svg", { width: 20, height: 20, viewBox: "0 0 20 20", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ h.createElement("g", { clipPath: "url(#clip0_29_5302)" }, /* @__PURE__ */ h.createElement("path", { d: "M15.7512 0.960923H18.818L12.1179 8.61864L20 19.0391H13.8284L8.99458 12.7191L3.46359 19.0391H0.394938L7.5613 10.8483L0 0.960923H6.32828L10.6976 6.73759L15.7512 0.960923ZM14.6748 17.2035H16.3742L5.4049 2.70013H3.58133L14.6748 17.2035Z", fill: "currentColor" })), /* @__PURE__ */ h.createElement("defs", null, /* @__PURE__ */ h.createElement("clipPath", { id: "clip0_29_5302" }, /* @__PURE__ */ h.createElement("rect", { width: 20, height: 20, fill: "white" })))), Id = (e) => /* @__PURE__ */ h.createElement("svg", { width: 20, height: 20, viewBox: "0 0 20 20", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ h.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M10.2564 2.78418C10.4202 2.78488 10.6561 2.78626 10.9429 2.78906C11.517 2.79467 12.2996 2.80566 13.1275 2.82812C13.9543 2.85057 14.8328 2.88452 15.5991 2.93555C16.2553 2.97926 16.8685 3.03732 17.2974 3.12109L17.4693 3.15918L17.4917 3.16504C18.0001 3.30898 18.4626 3.58461 18.8306 3.96387C19.1983 4.34318 19.4601 4.81371 19.5884 5.32617L18.9693 5.48047L19.5972 5.36816C19.8737 6.90116 20.0089 8.45696 19.9995 10.0146L19.9946 10.5898C19.9689 11.9337 19.8358 13.2743 19.5972 14.5977C19.5947 14.6114 19.5918 14.6261 19.5884 14.6396C19.46 15.1522 19.1984 15.6226 18.8306 16.002C18.4626 16.3813 18.0003 16.6568 17.4917 16.8008L17.4829 16.8037C17.051 16.9192 16.3534 16.9951 15.604 17.0498C14.8364 17.1058 13.9559 17.1424 13.1284 17.167C12.3002 17.1916 11.5181 17.2048 10.9439 17.2109C10.6568 17.214 10.4204 17.2151 10.2564 17.2158C10.1749 17.2162 10.1106 17.2167 10.0669 17.2168H9.93117C9.88755 17.2167 9.8231 17.2162 9.74172 17.2158C9.57784 17.2151 9.34193 17.214 9.05519 17.2109C8.4809 17.2048 7.69808 17.1916 6.86965 17.167C6.04235 17.1424 5.16258 17.1058 4.39504 17.0498C3.64585 16.9952 2.94825 16.9191 2.51613 16.8037L2.51125 16.8027C2.0134 16.6664 1.55889 16.403 1.19191 16.04C0.824822 15.6767 0.557084 15.2243 0.415545 14.7275C0.409846 14.7075 0.40558 14.6865 0.401873 14.666C0.124956 13.1308 -0.00927314 11.5727 0.000505705 10.0127C-0.00668415 8.46691 0.127577 6.92363 0.401873 5.40234L0.410662 5.36035C0.539027 4.8475 0.800385 4.37654 1.16847 3.99707C1.53642 3.61794 1.998 3.34211 2.50637 3.19824L2.51613 3.19629C2.94823 3.08087 3.64573 3.00486 4.39504 2.9502C5.1626 2.89422 6.04232 2.85662 6.86965 2.83203C7.69808 2.80742 8.48089 2.79521 9.05519 2.78906C9.34194 2.786 9.57784 2.78495 9.74172 2.78418C9.8231 2.7838 9.88755 2.7833 9.93117 2.7832H10.0669C10.1106 2.78329 10.1749 2.78383 10.2564 2.78418ZM8.39992 6.67773C8.20248 6.56553 7.95956 6.56757 7.7632 6.68164C7.56692 6.79591 7.44591 7.00628 7.44582 7.2334V12.7988C7.44583 13.026 7.56685 13.2363 7.7632 13.3506C7.95958 13.4647 8.20243 13.4667 8.39992 13.3545L13.2935 10.5703C13.4925 10.4567 13.6157 10.2448 13.6157 10.0156C13.6155 9.78646 13.4926 9.57433 13.2935 9.46094L8.39992 6.67773Z", fill: "currentColor" }));
|
|
10817
10835
|
function Ke({
|
|
10818
10836
|
className: e = "",
|
|
10819
10837
|
href: t,
|
|
@@ -10821,44 +10839,47 @@ function Ke({
|
|
|
10821
10839
|
socialPlatform: r,
|
|
10822
10840
|
variant: o = "basic"
|
|
10823
10841
|
}) {
|
|
10824
|
-
let i =
|
|
10842
|
+
let i = Md;
|
|
10825
10843
|
switch (r) {
|
|
10826
10844
|
case "copy":
|
|
10827
|
-
i =
|
|
10845
|
+
i = Td;
|
|
10828
10846
|
break;
|
|
10829
10847
|
case "email":
|
|
10830
|
-
i =
|
|
10848
|
+
i = Od;
|
|
10831
10849
|
break;
|
|
10832
10850
|
case "instagram":
|
|
10833
|
-
i =
|
|
10851
|
+
i = Ld;
|
|
10834
10852
|
break;
|
|
10835
10853
|
case "linkedin":
|
|
10836
|
-
i =
|
|
10854
|
+
i = Nd;
|
|
10837
10855
|
break;
|
|
10838
10856
|
case "x":
|
|
10839
|
-
i =
|
|
10857
|
+
i = Fd;
|
|
10840
10858
|
break;
|
|
10841
10859
|
case "youtube":
|
|
10842
|
-
i =
|
|
10860
|
+
i = Id;
|
|
10843
10861
|
break;
|
|
10844
10862
|
}
|
|
10845
10863
|
const a = `button-social button-social-${o} ${e}`;
|
|
10846
10864
|
return t ? /* @__PURE__ */ S("a", { className: a, href: t, children: /* @__PURE__ */ S(i, {}) }) : /* @__PURE__ */ S("button", { className: a, onClick: n, children: /* @__PURE__ */ S(i, {}) });
|
|
10847
10865
|
}
|
|
10848
|
-
function
|
|
10866
|
+
function wn({
|
|
10849
10867
|
children: e,
|
|
10850
10868
|
className: t = ""
|
|
10851
10869
|
}) {
|
|
10852
10870
|
return /* @__PURE__ */ S(
|
|
10853
10871
|
"div",
|
|
10854
10872
|
{
|
|
10855
|
-
className: St(
|
|
10873
|
+
className: St(
|
|
10874
|
+
"max-w-page mx-auto overflow-hidden px-5 md:px-15 lg:px-30 relative w-full",
|
|
10875
|
+
t
|
|
10876
|
+
),
|
|
10856
10877
|
children: e
|
|
10857
10878
|
}
|
|
10858
10879
|
);
|
|
10859
10880
|
}
|
|
10860
|
-
const
|
|
10861
|
-
function
|
|
10881
|
+
const _d = (e) => /* @__PURE__ */ h.createElement("svg", { width: 20, height: 20, viewBox: "0 0 20 20", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ h.createElement("path", { d: "M8 20H4V0H8V20ZM16 20H12V0H16V20Z", fill: "currentColor" })), Dd = (e) => /* @__PURE__ */ h.createElement("svg", { width: 10, height: 12, viewBox: "0 0 10 12", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ h.createElement("path", { d: "M0.793651 12C0.304233 12 0 11.596 0 10.9793V1.01359C0 0.396929 0.304233 0 0.793651 0C1.0582 0 1.28307 0.10632 1.54762 0.269344L9.25926 5.05375C9.8082 5.39398 10 5.62079 10 5.99646C10 6.37212 9.8082 6.59894 9.25926 6.94625L1.54762 11.7236C1.28307 11.8866 1.0582 12 0.793651 12Z", fill: "currentColor" }));
|
|
10882
|
+
function Vd({
|
|
10862
10883
|
className: e = "",
|
|
10863
10884
|
isPlaying: t,
|
|
10864
10885
|
label: n,
|
|
@@ -10872,11 +10893,11 @@ function _d({
|
|
|
10872
10893
|
className: `play-button play-button-${o} ${e}`,
|
|
10873
10894
|
"data-playing": t,
|
|
10874
10895
|
onClick: r,
|
|
10875
|
-
children: t ? /* @__PURE__ */ S(
|
|
10896
|
+
children: t ? /* @__PURE__ */ S(_d, {}) : /* @__PURE__ */ S(Dd, {})
|
|
10876
10897
|
}
|
|
10877
10898
|
);
|
|
10878
10899
|
}
|
|
10879
|
-
function
|
|
10900
|
+
function Bd({ trigger: e, variant: t }) {
|
|
10880
10901
|
let n = "bg-white", r = "basic";
|
|
10881
10902
|
return t === "digital" && (n = "bg-black", r = "digital"), /* @__PURE__ */ $(lf, { children: [
|
|
10882
10903
|
/* @__PURE__ */ S(uf, { asChild: !0, children: e }),
|
|
@@ -10912,28 +10933,29 @@ function Dd({ trigger: e, variant: t }) {
|
|
|
10912
10933
|
] });
|
|
10913
10934
|
}
|
|
10914
10935
|
function pt({
|
|
10915
|
-
|
|
10916
|
-
|
|
10917
|
-
|
|
10918
|
-
|
|
10919
|
-
|
|
10920
|
-
...i
|
|
10936
|
+
children: e,
|
|
10937
|
+
className: t = "",
|
|
10938
|
+
displayStars: n,
|
|
10939
|
+
variant: r = "basic",
|
|
10940
|
+
...o
|
|
10921
10941
|
}) {
|
|
10922
|
-
return
|
|
10923
|
-
|
|
10924
|
-
/* @__PURE__ */ S(
|
|
10925
|
-
|
|
10942
|
+
return e ? /* @__PURE__ */ $(bn, { ...o, className: `text-cta text-cta-${r} ${t}`, children: [
|
|
10943
|
+
n ? /* @__PURE__ */ S(ln, {}) : null,
|
|
10944
|
+
/* @__PURE__ */ S(gr, { children: e }),
|
|
10945
|
+
n ? /* @__PURE__ */ S(ln, {}) : null
|
|
10926
10946
|
] }) : null;
|
|
10927
10947
|
}
|
|
10928
10948
|
export {
|
|
10929
10949
|
Rt as Button,
|
|
10950
|
+
Ad as ButtonIcon,
|
|
10951
|
+
qd as ButtonLogo,
|
|
10930
10952
|
Ke as ButtonSocial,
|
|
10931
|
-
|
|
10932
|
-
|
|
10933
|
-
|
|
10934
|
-
|
|
10935
|
-
|
|
10936
|
-
|
|
10953
|
+
Wd as ContentCarouselMultiple,
|
|
10954
|
+
Hd as ContentCarouselMultipleItem,
|
|
10955
|
+
Ud as ContentPrimaryFeatureDetail,
|
|
10956
|
+
wn as PageMargins,
|
|
10957
|
+
Vd as PlayButton,
|
|
10958
|
+
Bd as Share,
|
|
10937
10959
|
pt as TextCta,
|
|
10938
10960
|
yd as VideoBackground
|
|
10939
10961
|
};
|