boottent-design 0.1.96 → 0.1.97
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/components.cjs.js +1 -1
- package/dist/components.es.js +664 -655
- package/package.json +1 -1
package/dist/components.es.js
CHANGED
|
@@ -2,11 +2,11 @@ import { jsx as b, jsxs as _, Fragment as hr } from "react/jsx-runtime";
|
|
|
2
2
|
import { c as _e } from "./index-BFsbj9HY.js";
|
|
3
3
|
import { a as gr, i as Re, j as vr, P as Pe, d as Ce, e as un, u as Dt, q as Na, m as ka, c as K, I as Tt, B as Ue, D as La, l as Da, s as _a } from "./Combination-BlGcaOgO.js";
|
|
4
4
|
import * as O from "react";
|
|
5
|
-
import z, { forwardRef as fn, useState as Fe, useRef as
|
|
5
|
+
import z, { forwardRef as fn, useState as Fe, useRef as ce, useEffect as St, useLayoutEffect as Fa, createContext as pn } from "react";
|
|
6
6
|
import { l as mn, F as ee, T as Ve, B as be, S as Q, m as Qe, e as Be, f as ye, g as We, c as xe, a as hn, L as wr, h as Ge, j as Va, d as za, R as Ra, i as Ba, n as gn, I as br, k as Wa, C as Ga, o as vn, A as $a, p as ja, q as Ha, r as Ya, s as wn, v as qa, w as Ua } from "./index-MtAsMouO.js";
|
|
7
7
|
import { a as ue, d as qt, c as Xa } from "./index-CEwEyzHV.js";
|
|
8
8
|
import { p as Le, R as Qa } from "./portal-container-BN_PRBT5.js";
|
|
9
|
-
import { A as sf, D as of, M as lf, P as
|
|
9
|
+
import { A as sf, D as of, M as lf, P as df, T as cf } from "./portal-container-BN_PRBT5.js";
|
|
10
10
|
var yr = "Collapsible", [Ka, bn] = gr(yr), [Za, xr] = Ka(yr), yn = O.forwardRef(
|
|
11
11
|
(r, e) => {
|
|
12
12
|
const {
|
|
@@ -16,7 +16,7 @@ var yr = "Collapsible", [Ka, bn] = gr(yr), [Za, xr] = Ka(yr), yn = O.forwardRef(
|
|
|
16
16
|
disabled: a,
|
|
17
17
|
onOpenChange: o,
|
|
18
18
|
...l
|
|
19
|
-
} = r, [s = !1,
|
|
19
|
+
} = r, [s = !1, d] = Re({
|
|
20
20
|
prop: n,
|
|
21
21
|
defaultProp: i,
|
|
22
22
|
onChange: o
|
|
@@ -28,7 +28,7 @@ var yr = "Collapsible", [Ka, bn] = gr(yr), [Za, xr] = Ka(yr), yn = O.forwardRef(
|
|
|
28
28
|
disabled: a,
|
|
29
29
|
contentId: vr(),
|
|
30
30
|
open: s,
|
|
31
|
-
onOpenToggle: O.useCallback(() =>
|
|
31
|
+
onOpenToggle: O.useCallback(() => d((c) => !c), [d]),
|
|
32
32
|
children: /* @__PURE__ */ b(
|
|
33
33
|
Pe.div,
|
|
34
34
|
{
|
|
@@ -71,12 +71,12 @@ var Tr = "CollapsibleContent", Sn = O.forwardRef(
|
|
|
71
71
|
);
|
|
72
72
|
Sn.displayName = Tr;
|
|
73
73
|
var Ja = O.forwardRef((r, e) => {
|
|
74
|
-
const { __scopeCollapsible: t, present: n, children: i, ...a } = r, o = xr(Tr, t), [l, s] = O.useState(n),
|
|
74
|
+
const { __scopeCollapsible: t, present: n, children: i, ...a } = r, o = xr(Tr, t), [l, s] = O.useState(n), d = O.useRef(null), c = Dt(e, d), h = O.useRef(0), u = h.current, m = O.useRef(0), f = m.current, p = o.open || l, w = O.useRef(p), y = O.useRef();
|
|
75
75
|
return O.useEffect(() => {
|
|
76
76
|
const g = requestAnimationFrame(() => w.current = !1);
|
|
77
77
|
return () => cancelAnimationFrame(g);
|
|
78
78
|
}, []), Na(() => {
|
|
79
|
-
const g =
|
|
79
|
+
const g = d.current;
|
|
80
80
|
if (g) {
|
|
81
81
|
y.current = y.current || {
|
|
82
82
|
transitionDuration: g.style.transitionDuration,
|
|
@@ -93,7 +93,7 @@ var Ja = O.forwardRef((r, e) => {
|
|
|
93
93
|
id: o.contentId,
|
|
94
94
|
hidden: !p,
|
|
95
95
|
...a,
|
|
96
|
-
ref:
|
|
96
|
+
ref: c,
|
|
97
97
|
style: {
|
|
98
98
|
"--radix-collapsible-content-height": u ? `${u}px` : void 0,
|
|
99
99
|
"--radix-collapsible-content-width": f ? `${f}px` : void 0,
|
|
@@ -112,7 +112,7 @@ var es = yn, ts = Tn, rs = Sn, Oe = "Accordion", ns = ["Home", "End", "ArrowDown
|
|
|
112
112
|
]), Er = bn(), Cn = z.forwardRef(
|
|
113
113
|
(r, e) => {
|
|
114
114
|
const { type: t, ...n } = r, i = n, a = n;
|
|
115
|
-
return /* @__PURE__ */ b(Cr.Provider, { scope: r.__scopeAccordion, children: t === "multiple" ? /* @__PURE__ */ b(
|
|
115
|
+
return /* @__PURE__ */ b(Cr.Provider, { scope: r.__scopeAccordion, children: t === "multiple" ? /* @__PURE__ */ b(ds, { ...a, ref: e }) : /* @__PURE__ */ b(ls, { ...i, ref: e }) });
|
|
116
116
|
}
|
|
117
117
|
);
|
|
118
118
|
Cn.displayName = Oe;
|
|
@@ -144,7 +144,7 @@ var [En, ss] = _t(Oe), [Pn, os] = _t(
|
|
|
144
144
|
}
|
|
145
145
|
);
|
|
146
146
|
}
|
|
147
|
-
),
|
|
147
|
+
), ds = z.forwardRef((r, e) => {
|
|
148
148
|
const {
|
|
149
149
|
value: t,
|
|
150
150
|
defaultValue: n,
|
|
@@ -156,10 +156,10 @@ var [En, ss] = _t(Oe), [Pn, os] = _t(
|
|
|
156
156
|
defaultProp: n,
|
|
157
157
|
onChange: i
|
|
158
158
|
}), s = z.useCallback(
|
|
159
|
-
(
|
|
159
|
+
(c) => l((h = []) => [...h, c]),
|
|
160
160
|
[l]
|
|
161
|
-
),
|
|
162
|
-
(
|
|
161
|
+
), d = z.useCallback(
|
|
162
|
+
(c) => l((h = []) => h.filter((u) => u !== c)),
|
|
163
163
|
[l]
|
|
164
164
|
);
|
|
165
165
|
return /* @__PURE__ */ b(
|
|
@@ -168,16 +168,16 @@ var [En, ss] = _t(Oe), [Pn, os] = _t(
|
|
|
168
168
|
scope: r.__scopeAccordion,
|
|
169
169
|
value: o,
|
|
170
170
|
onItemOpen: s,
|
|
171
|
-
onItemClose:
|
|
171
|
+
onItemClose: d,
|
|
172
172
|
children: /* @__PURE__ */ b(Pn, { scope: r.__scopeAccordion, collapsible: !0, children: /* @__PURE__ */ b(Mn, { ...a, ref: e }) })
|
|
173
173
|
}
|
|
174
174
|
);
|
|
175
|
-
}), [
|
|
175
|
+
}), [cs, Ft] = _t(Oe), Mn = z.forwardRef(
|
|
176
176
|
(r, e) => {
|
|
177
|
-
const { __scopeAccordion: t, disabled: n, dir: i, orientation: a = "vertical", ...o } = r, l = z.useRef(null), s = Dt(l, e),
|
|
177
|
+
const { __scopeAccordion: t, disabled: n, dir: i, orientation: a = "vertical", ...o } = r, l = z.useRef(null), s = Dt(l, e), d = is(t), h = mn(i) === "ltr", u = Ce(r.onKeyDown, (m) => {
|
|
178
178
|
var A;
|
|
179
179
|
if (!ns.includes(m.key)) return;
|
|
180
|
-
const f = m.target, p =
|
|
180
|
+
const f = m.target, p = d().filter((C) => {
|
|
181
181
|
var S;
|
|
182
182
|
return !((S = C.ref.current) != null && S.disabled);
|
|
183
183
|
}), w = p.findIndex((C) => C.ref.current === f), y = p.length;
|
|
@@ -213,7 +213,7 @@ var [En, ss] = _t(Oe), [Pn, os] = _t(
|
|
|
213
213
|
(A = p[F].ref.current) == null || A.focus();
|
|
214
214
|
});
|
|
215
215
|
return /* @__PURE__ */ b(
|
|
216
|
-
|
|
216
|
+
cs,
|
|
217
217
|
{
|
|
218
218
|
scope: t,
|
|
219
219
|
disabled: n,
|
|
@@ -233,24 +233,24 @@ var [En, ss] = _t(Oe), [Pn, os] = _t(
|
|
|
233
233
|
}
|
|
234
234
|
), Ct = "AccordionItem", [us, Pr] = _t(Ct), On = z.forwardRef(
|
|
235
235
|
(r, e) => {
|
|
236
|
-
const { __scopeAccordion: t, value: n, ...i } = r, a = Ft(Ct, t), o = ss(Ct, t), l = Er(t), s = vr(),
|
|
236
|
+
const { __scopeAccordion: t, value: n, ...i } = r, a = Ft(Ct, t), o = ss(Ct, t), l = Er(t), s = vr(), d = n && o.value.includes(n) || !1, c = a.disabled || r.disabled;
|
|
237
237
|
return /* @__PURE__ */ b(
|
|
238
238
|
us,
|
|
239
239
|
{
|
|
240
240
|
scope: t,
|
|
241
|
-
open:
|
|
242
|
-
disabled:
|
|
241
|
+
open: d,
|
|
242
|
+
disabled: c,
|
|
243
243
|
triggerId: s,
|
|
244
244
|
children: /* @__PURE__ */ b(
|
|
245
245
|
es,
|
|
246
246
|
{
|
|
247
247
|
"data-orientation": a.orientation,
|
|
248
|
-
"data-state": Dn(
|
|
248
|
+
"data-state": Dn(d),
|
|
249
249
|
...l,
|
|
250
250
|
...i,
|
|
251
251
|
ref: e,
|
|
252
|
-
disabled:
|
|
253
|
-
open:
|
|
252
|
+
disabled: c,
|
|
253
|
+
open: d,
|
|
254
254
|
onOpenChange: (h) => {
|
|
255
255
|
h ? o.onItemOpen(n) : o.onItemClose(n);
|
|
256
256
|
}
|
|
@@ -369,15 +369,15 @@ const ot = ({
|
|
|
369
369
|
auto: "w-auto"
|
|
370
370
|
// number은 별도로 처리
|
|
371
371
|
};
|
|
372
|
-
let
|
|
373
|
-
return typeof i == "string" ?
|
|
372
|
+
let d = "", c = {};
|
|
373
|
+
return typeof i == "string" ? d = s[i] : typeof i == "number" && (c = { width: `${i}px` }), /* @__PURE__ */ b(
|
|
374
374
|
"img",
|
|
375
375
|
{
|
|
376
376
|
src: r,
|
|
377
377
|
alt: e ? `${e} 이미지` : "이미지",
|
|
378
378
|
loading: n ? "lazy" : "eager",
|
|
379
|
-
className: K(l[t],
|
|
380
|
-
style:
|
|
379
|
+
className: K(l[t], d, a),
|
|
380
|
+
style: c,
|
|
381
381
|
...o
|
|
382
382
|
}
|
|
383
383
|
);
|
|
@@ -393,8 +393,8 @@ function Vt() {
|
|
|
393
393
|
return bs;
|
|
394
394
|
}
|
|
395
395
|
function lt(r, e) {
|
|
396
|
-
var l, s,
|
|
397
|
-
const t = Vt(), n = (e == null ? void 0 : e.weekStartsOn) ?? ((s = (l = e == null ? void 0 : e.locale) == null ? void 0 : l.options) == null ? void 0 : s.weekStartsOn) ?? t.weekStartsOn ?? ((
|
|
396
|
+
var l, s, d, c;
|
|
397
|
+
const t = Vt(), n = (e == null ? void 0 : e.weekStartsOn) ?? ((s = (l = e == null ? void 0 : e.locale) == null ? void 0 : l.options) == null ? void 0 : s.weekStartsOn) ?? t.weekStartsOn ?? ((c = (d = t.locale) == null ? void 0 : d.options) == null ? void 0 : c.weekStartsOn) ?? 0, i = ae(r, e == null ? void 0 : e.in), a = i.getDay(), o = (a < n ? 7 : 0) + a - n;
|
|
398
398
|
return i.setDate(i.getDate() - o), i.setHours(0, 0, 0, 0), i;
|
|
399
399
|
}
|
|
400
400
|
function Et(r, e) {
|
|
@@ -755,13 +755,13 @@ function rt(r) {
|
|
|
755
755
|
// [TODO] -- I challenge you to fix the type
|
|
756
756
|
Ws(l, (h) => h.test(o))
|
|
757
757
|
);
|
|
758
|
-
let
|
|
759
|
-
|
|
758
|
+
let d;
|
|
759
|
+
d = r.valueCallback ? r.valueCallback(s) : s, d = t.valueCallback ? (
|
|
760
760
|
// [TODO] -- I challenge you to fix the type
|
|
761
|
-
t.valueCallback(
|
|
762
|
-
) :
|
|
763
|
-
const
|
|
764
|
-
return { value:
|
|
761
|
+
t.valueCallback(d)
|
|
762
|
+
) : d;
|
|
763
|
+
const c = e.slice(o.length);
|
|
764
|
+
return { value: d, rest: c };
|
|
765
765
|
};
|
|
766
766
|
}
|
|
767
767
|
function Ws(r, e) {
|
|
@@ -911,17 +911,17 @@ function ao(r, e) {
|
|
|
911
911
|
return Math.round(n / Vn) + 1;
|
|
912
912
|
}
|
|
913
913
|
function $n(r, e) {
|
|
914
|
-
var
|
|
915
|
-
const t = ae(r, e == null ? void 0 : e.in), n = t.getFullYear(), i = Vt(), a = (e == null ? void 0 : e.firstWeekContainsDate) ?? ((h = (
|
|
914
|
+
var c, h, u, m;
|
|
915
|
+
const t = ae(r, e == null ? void 0 : e.in), n = t.getFullYear(), i = Vt(), a = (e == null ? void 0 : e.firstWeekContainsDate) ?? ((h = (c = e == null ? void 0 : e.locale) == null ? void 0 : c.options) == null ? void 0 : h.firstWeekContainsDate) ?? i.firstWeekContainsDate ?? ((m = (u = i.locale) == null ? void 0 : u.options) == null ? void 0 : m.firstWeekContainsDate) ?? 1, o = Me((e == null ? void 0 : e.in) || r, 0);
|
|
916
916
|
o.setFullYear(n + 1, 0, a), o.setHours(0, 0, 0, 0);
|
|
917
917
|
const l = lt(o, e), s = Me((e == null ? void 0 : e.in) || r, 0);
|
|
918
918
|
s.setFullYear(n, 0, a), s.setHours(0, 0, 0, 0);
|
|
919
|
-
const
|
|
920
|
-
return +t >= +l ? n + 1 : +t >= +
|
|
919
|
+
const d = lt(s, e);
|
|
920
|
+
return +t >= +l ? n + 1 : +t >= +d ? n : n - 1;
|
|
921
921
|
}
|
|
922
922
|
function so(r, e) {
|
|
923
|
-
var l, s,
|
|
924
|
-
const t = Vt(), n = (e == null ? void 0 : e.firstWeekContainsDate) ?? ((s = (l = e == null ? void 0 : e.locale) == null ? void 0 : l.options) == null ? void 0 : s.firstWeekContainsDate) ?? t.firstWeekContainsDate ?? ((
|
|
923
|
+
var l, s, d, c;
|
|
924
|
+
const t = Vt(), n = (e == null ? void 0 : e.firstWeekContainsDate) ?? ((s = (l = e == null ? void 0 : e.locale) == null ? void 0 : l.options) == null ? void 0 : s.firstWeekContainsDate) ?? t.firstWeekContainsDate ?? ((c = (d = t.locale) == null ? void 0 : d.options) == null ? void 0 : c.firstWeekContainsDate) ?? 1, i = $n(r, e), a = Me((e == null ? void 0 : e.in) || r, 0);
|
|
925
925
|
return a.setFullYear(i, 0, n), a.setHours(0, 0, 0, 0), lt(a, e);
|
|
926
926
|
}
|
|
927
927
|
function oo(r, e) {
|
|
@@ -1558,8 +1558,8 @@ function vo(r, e, t) {
|
|
|
1558
1558
|
}
|
|
1559
1559
|
const wo = /[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g, bo = /P+p+|P+|p+|''|'(''|[^'])+('|$)|./g, yo = /^'([^]*?)'?$/, xo = /''/g, To = /[a-zA-Z]/;
|
|
1560
1560
|
function Xt(r, e, t) {
|
|
1561
|
-
var
|
|
1562
|
-
const n = Vt(), i = n.locale ?? no, a = n.firstWeekContainsDate ?? ((h = (
|
|
1561
|
+
var c, h, u, m;
|
|
1562
|
+
const n = Vt(), i = n.locale ?? no, a = n.firstWeekContainsDate ?? ((h = (c = n.locale) == null ? void 0 : c.options) == null ? void 0 : h.firstWeekContainsDate) ?? 1, o = n.weekStartsOn ?? ((m = (u = n.locale) == null ? void 0 : u.options) == null ? void 0 : m.weekStartsOn) ?? 0, l = ae(r, t == null ? void 0 : t.in);
|
|
1563
1563
|
if (!Ts(l))
|
|
1564
1564
|
throw new RangeError("Invalid time value");
|
|
1565
1565
|
let s = e.match(bo).map((f) => {
|
|
@@ -1584,7 +1584,7 @@ function Xt(r, e, t) {
|
|
|
1584
1584
|
return { isToken: !1, value: f };
|
|
1585
1585
|
});
|
|
1586
1586
|
i.localize.preprocessor && (s = i.localize.preprocessor(l, s));
|
|
1587
|
-
const
|
|
1587
|
+
const d = {
|
|
1588
1588
|
firstWeekContainsDate: a,
|
|
1589
1589
|
weekStartsOn: o,
|
|
1590
1590
|
locale: i
|
|
@@ -1594,7 +1594,7 @@ function Xt(r, e, t) {
|
|
|
1594
1594
|
const p = f.value;
|
|
1595
1595
|
(ho(p) || mo(p)) && go(p, e, String(r));
|
|
1596
1596
|
const w = Xr[p[0]];
|
|
1597
|
-
return w(l, p, i.localize,
|
|
1597
|
+
return w(l, p, i.localize, d);
|
|
1598
1598
|
}).join("");
|
|
1599
1599
|
}
|
|
1600
1600
|
function So(r) {
|
|
@@ -1605,8 +1605,8 @@ function Hn(r, e) {
|
|
|
1605
1605
|
const t = () => Me(e == null ? void 0 : e.in, NaN), i = Mo(r);
|
|
1606
1606
|
let a;
|
|
1607
1607
|
if (i.date) {
|
|
1608
|
-
const
|
|
1609
|
-
a = Io(
|
|
1608
|
+
const d = Oo(i.date, 2);
|
|
1609
|
+
a = Io(d.restDateString, d.year);
|
|
1610
1610
|
}
|
|
1611
1611
|
if (!a || isNaN(+a)) return t();
|
|
1612
1612
|
const o = +a;
|
|
@@ -1616,17 +1616,17 @@ function Hn(r, e) {
|
|
|
1616
1616
|
if (i.timezone) {
|
|
1617
1617
|
if (s = No(i.timezone), isNaN(s)) return t();
|
|
1618
1618
|
} else {
|
|
1619
|
-
const
|
|
1620
|
-
return
|
|
1621
|
-
|
|
1622
|
-
|
|
1623
|
-
|
|
1624
|
-
),
|
|
1625
|
-
|
|
1626
|
-
|
|
1627
|
-
|
|
1628
|
-
|
|
1629
|
-
),
|
|
1619
|
+
const d = new Date(o + l), c = ae(0, e == null ? void 0 : e.in);
|
|
1620
|
+
return c.setFullYear(
|
|
1621
|
+
d.getUTCFullYear(),
|
|
1622
|
+
d.getUTCMonth(),
|
|
1623
|
+
d.getUTCDate()
|
|
1624
|
+
), c.setHours(
|
|
1625
|
+
d.getUTCHours(),
|
|
1626
|
+
d.getUTCMinutes(),
|
|
1627
|
+
d.getUTCSeconds(),
|
|
1628
|
+
d.getUTCMilliseconds()
|
|
1629
|
+
), c;
|
|
1630
1630
|
}
|
|
1631
1631
|
return ae(o + l + s, e == null ? void 0 : e.in);
|
|
1632
1632
|
}
|
|
@@ -1668,8 +1668,8 @@ function Io(r, e) {
|
|
|
1668
1668
|
if (n)
|
|
1669
1669
|
return Fo(e, l, s) ? ko(e, l, s) : /* @__PURE__ */ new Date(NaN);
|
|
1670
1670
|
{
|
|
1671
|
-
const
|
|
1672
|
-
return !Do(e, a, o) || !_o(e, i) ? /* @__PURE__ */ new Date(NaN) : (
|
|
1671
|
+
const d = /* @__PURE__ */ new Date(0);
|
|
1672
|
+
return !Do(e, a, o) || !_o(e, i) ? /* @__PURE__ */ new Date(NaN) : (d.setUTCFullYear(e, a, Math.max(i, o)), d);
|
|
1673
1673
|
}
|
|
1674
1674
|
}
|
|
1675
1675
|
function nt(r) {
|
|
@@ -1729,14 +1729,14 @@ function Bu({
|
|
|
1729
1729
|
}) {
|
|
1730
1730
|
if (l)
|
|
1731
1731
|
return /* @__PURE__ */ b(Bo, {});
|
|
1732
|
-
const
|
|
1732
|
+
const d = `${Wo(i)} · ${Go(a, o)}`;
|
|
1733
1733
|
return /* @__PURE__ */ b(
|
|
1734
1734
|
Ro,
|
|
1735
1735
|
{
|
|
1736
1736
|
logo: r,
|
|
1737
1737
|
title: `${e} ${t}`,
|
|
1738
1738
|
adTitle: n,
|
|
1739
|
-
footerText:
|
|
1739
|
+
footerText: d,
|
|
1740
1740
|
regEndDate: s
|
|
1741
1741
|
}
|
|
1742
1742
|
);
|
|
@@ -1747,6 +1747,7 @@ function Ro({ logo: r, title: e, adTitle: t, footerText: n, regEndDate: i }) {
|
|
|
1747
1747
|
Ve,
|
|
1748
1748
|
{
|
|
1749
1749
|
variant: "ad",
|
|
1750
|
+
className: K("rounded-bl-lg rounded-br-none rounded-tl-none rounded-tr-lg px-2 py-1 text-sm"),
|
|
1750
1751
|
style: {
|
|
1751
1752
|
background: ue.event.background,
|
|
1752
1753
|
color: ue.event.color
|
|
@@ -1777,7 +1778,9 @@ function Bo() {
|
|
|
1777
1778
|
background: ue.event.background,
|
|
1778
1779
|
color: ue.event.color
|
|
1779
1780
|
},
|
|
1780
|
-
className: K(
|
|
1781
|
+
className: K(
|
|
1782
|
+
"h-7 w-20 animate-pulse rounded-bl-lg rounded-br-none rounded-tl-none rounded-tr-lg px-2 py-1 text-sm"
|
|
1783
|
+
),
|
|
1781
1784
|
children: ""
|
|
1782
1785
|
}
|
|
1783
1786
|
),
|
|
@@ -1823,7 +1826,7 @@ function Wu({
|
|
|
1823
1826
|
isLoading: l = !1
|
|
1824
1827
|
}) {
|
|
1825
1828
|
var u;
|
|
1826
|
-
const s = r && e,
|
|
1829
|
+
const s = r && e, d = `https://cdn.sayun.studio/boottent/images/banners/${r}/${e}`, c = {
|
|
1827
1830
|
background: a ? a.button : qt.button,
|
|
1828
1831
|
color: a ? a.buttonText : qt.buttonText,
|
|
1829
1832
|
border: a ? a.button : qt.button
|
|
@@ -1840,11 +1843,11 @@ function Wu({
|
|
|
1840
1843
|
!l && "border-y border-y-grey-200"
|
|
1841
1844
|
),
|
|
1842
1845
|
children: l ? /* @__PURE__ */ b(Ho, {}) : /* @__PURE__ */ _(hr, { children: [
|
|
1843
|
-
/* @__PURE__ */ b(ee.Row, { className: "flex h-full w-full max-w-screen-xl items-center justify-center px-0 md:h-auto md:px-6 lg:px-10", children: s ? /* @__PURE__ */ b(ot, { loading: "lazy", src:
|
|
1846
|
+
/* @__PURE__ */ b(ee.Row, { className: "flex h-full w-full max-w-screen-xl items-center justify-center px-0 md:h-auto md:px-6 lg:px-10", children: s ? /* @__PURE__ */ b(ot, { loading: "lazy", src: d, alt: `${t} 이미지`, className: "h-full w-full object-contain" }) : /* @__PURE__ */ b(be, { className: "h-full w-full bg-grey-100 text-muted", children: t }) }),
|
|
1844
1847
|
!i && /* @__PURE__ */ b(be, { className: "absolute inset-0 mx-auto max-w-screen-xl px-4 md:px-6 lg:px-10", children: /* @__PURE__ */ b(
|
|
1845
1848
|
Ue,
|
|
1846
1849
|
{
|
|
1847
|
-
style:
|
|
1850
|
+
style: c,
|
|
1848
1851
|
theme: "etc",
|
|
1849
1852
|
variant: "solid",
|
|
1850
1853
|
className: "absolute bottom-4 right-4 w-24 md:bottom-6 md:right-6 md:w-32 lg:bottom-4 lg:right-10",
|
|
@@ -1896,7 +1899,10 @@ const Gu = ({
|
|
|
1896
1899
|
background: ue.premiumCard.background,
|
|
1897
1900
|
color: ue.premiumCard.color
|
|
1898
1901
|
},
|
|
1899
|
-
className: K(
|
|
1902
|
+
className: K(
|
|
1903
|
+
"rounded-bl-lg rounded-br-none rounded-tl-none rounded-tr-lg px-2 py-1 text-sm",
|
|
1904
|
+
s && "h-7 w-28 animate-pulse"
|
|
1905
|
+
),
|
|
1900
1906
|
children: s ? "" : l
|
|
1901
1907
|
}
|
|
1902
1908
|
),
|
|
@@ -1998,6 +2004,7 @@ const Gu = ({
|
|
|
1998
2004
|
background: ue.titleTag.background,
|
|
1999
2005
|
color: ue.titleTag.color
|
|
2000
2006
|
},
|
|
2007
|
+
className: K("rounded-bl-lg rounded-br-none rounded-tl-none rounded-tr-lg px-2 py-1 text-sm"),
|
|
2001
2008
|
children: a
|
|
2002
2009
|
}
|
|
2003
2010
|
),
|
|
@@ -2019,10 +2026,10 @@ const Gu = ({
|
|
|
2019
2026
|
/* @__PURE__ */ b("p", { className: "text-sm", children: t }),
|
|
2020
2027
|
/* @__PURE__ */ b("p", { className: "truncate3 break-keep text-base font-semibold", children: `${n} ${i}` })
|
|
2021
2028
|
] }),
|
|
2022
|
-
r && /* @__PURE__ */ b("ul", { className: "flex w-full max-w-full flex-wrap gap-1", children: r.map((
|
|
2029
|
+
r && /* @__PURE__ */ b("ul", { className: "flex w-full max-w-full flex-wrap gap-1", children: r.map((d, c) => {
|
|
2023
2030
|
var u;
|
|
2024
2031
|
const h = Object.values(Xa).find(
|
|
2025
|
-
(m) => m.tags.some((f) => f.value ===
|
|
2032
|
+
(m) => m.tags.some((f) => f.value === d)
|
|
2026
2033
|
);
|
|
2027
2034
|
return h && /* @__PURE__ */ b("li", { children: /* @__PURE__ */ b(
|
|
2028
2035
|
Ve,
|
|
@@ -2032,9 +2039,9 @@ const Gu = ({
|
|
|
2032
2039
|
background: h.background,
|
|
2033
2040
|
color: h.color
|
|
2034
2041
|
},
|
|
2035
|
-
children: (u = h.tags.find((m) => m.value ===
|
|
2042
|
+
children: (u = h.tags.find((m) => m.value === d)) == null ? void 0 : u.text
|
|
2036
2043
|
}
|
|
2037
|
-
) },
|
|
2044
|
+
) }, c);
|
|
2038
2045
|
}) })
|
|
2039
2046
|
] })
|
|
2040
2047
|
] }), Uo = ({ changedAspect: r }) => /* @__PURE__ */ _(
|
|
@@ -2051,7 +2058,9 @@ const Gu = ({
|
|
|
2051
2058
|
background: ue.titleTag.background,
|
|
2052
2059
|
color: ue.titleTag.color
|
|
2053
2060
|
},
|
|
2054
|
-
className: K(
|
|
2061
|
+
className: K(
|
|
2062
|
+
"h-7 w-28 animate-pulse rounded-bl-lg rounded-br-none rounded-tl-none rounded-tr-lg px-2 py-1 text-sm"
|
|
2063
|
+
),
|
|
2055
2064
|
children: ""
|
|
2056
2065
|
}
|
|
2057
2066
|
),
|
|
@@ -2082,7 +2091,7 @@ const Gu = ({
|
|
|
2082
2091
|
var Xo = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, I = {}, ar = { exports: {} };
|
|
2083
2092
|
(function(r, e) {
|
|
2084
2093
|
(function(t, n) {
|
|
2085
|
-
var i = "1.0.39", a = "", o = "?", l = "function", s = "undefined",
|
|
2094
|
+
var i = "1.0.39", a = "", o = "?", l = "function", s = "undefined", d = "object", c = "string", h = "major", u = "model", m = "name", f = "type", p = "vendor", w = "version", y = "architecture", g = "console", v = "mobile", x = "tablet", T = "smarttv", E = "wearable", F = "embedded", A = 500, C = "Amazon", S = "Apple", M = "ASUS", N = "BlackBerry", P = "Browser", k = "Chrome", R = "Edge", X = "Firefox", fe = "Google", B = "Huawei", G = "LG", Y = "Microsoft", pe = "Motorola", me = "Opera", Je = "Samsung", Fr = "Sharp", ft = "Sony", $t = "Xiaomi", jt = "Zebra", Vr = "Facebook", zr = "Chromium OS", Rr = "Mac OS", Br = " Browser", Oa = function(W, $) {
|
|
2086
2095
|
var V = {};
|
|
2087
2096
|
for (var q in W)
|
|
2088
2097
|
$[q] && $[q].length % 2 === 0 ? V[q] = $[q].concat(W[q]) : V[q] = W[q];
|
|
@@ -2092,13 +2101,13 @@ var Xo = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
|
2092
2101
|
$[W[V].toUpperCase()] = W[V];
|
|
2093
2102
|
return $;
|
|
2094
2103
|
}, Wr = function(W, $) {
|
|
2095
|
-
return typeof W ===
|
|
2104
|
+
return typeof W === c ? $e($).indexOf($e(W)) !== -1 : !1;
|
|
2096
2105
|
}, $e = function(W) {
|
|
2097
2106
|
return W.toLowerCase();
|
|
2098
2107
|
}, Ia = function(W) {
|
|
2099
|
-
return typeof W ===
|
|
2108
|
+
return typeof W === c ? W.replace(/[^\d\.]/g, a).split(".")[0] : n;
|
|
2100
2109
|
}, Ht = function(W, $) {
|
|
2101
|
-
if (typeof W ===
|
|
2110
|
+
if (typeof W === c)
|
|
2102
2111
|
return W = W.replace(/^\s\s*/, a), typeof $ === s ? W : W.substring(0, A);
|
|
2103
2112
|
}, et = function(W, $) {
|
|
2104
2113
|
for (var V = 0, q, Te, he, j, D, ge; V < $.length && !D; ) {
|
|
@@ -2106,21 +2115,21 @@ var Xo = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
|
2106
2115
|
for (q = Te = 0; q < Yt.length && !D && Yt[q]; )
|
|
2107
2116
|
if (D = Yt[q++].exec(W), D)
|
|
2108
2117
|
for (he = 0; he < jr.length; he++)
|
|
2109
|
-
ge = D[++Te], j = jr[he], typeof j ===
|
|
2118
|
+
ge = D[++Te], j = jr[he], typeof j === d && j.length > 0 ? j.length === 2 ? typeof j[1] == l ? this[j[0]] = j[1].call(this, ge) : this[j[0]] = j[1] : j.length === 3 ? typeof j[1] === l && !(j[1].exec && j[1].test) ? this[j[0]] = ge ? j[1].call(this, ge, j[2]) : n : this[j[0]] = ge ? ge.replace(j[1], j[2]) : n : j.length === 4 && (this[j[0]] = ge ? j[3].call(this, ge.replace(j[1], j[2])) : n) : this[j] = ge || n;
|
|
2110
2119
|
V += 2;
|
|
2111
2120
|
}
|
|
2112
2121
|
}, mt = function(W, $) {
|
|
2113
2122
|
for (var V in $)
|
|
2114
|
-
if (typeof $[V] ===
|
|
2123
|
+
if (typeof $[V] === d && $[V].length > 0) {
|
|
2115
2124
|
for (var q = 0; q < $[V].length; q++)
|
|
2116
2125
|
if (Wr($[V][q], W))
|
|
2117
2126
|
return V === o ? n : V;
|
|
2118
2127
|
} else if (Wr($[V], W))
|
|
2119
2128
|
return V === o ? n : V;
|
|
2120
2129
|
return $.hasOwnProperty("*") ? $["*"] : W;
|
|
2121
|
-
}, Aa = { "1.0": "/8", 1.2: "/1", 1.3: "/3", "2.0": "/412", "2.0.2": "/416", "2.0.3": "/417", "2.0.4": "/419", "?": "/" }, Gr = { ME: "4.90", "NT 3.11": "NT3.51", "NT 4.0": "NT4.0", 2e3: "NT 5.0", XP: ["NT 5.1", "NT 5.2"], Vista: "NT 6.0", 7: "NT 6.1", 8: "NT 6.2", 8.1: "NT 6.3", 10: ["NT 6.4", "NT 10.0"], RT: "ARM" }, $r = { browser: [[/\b(?:crmo|crios)\/([\w\.]+)/i], [w, [m, "Chrome"]], [/edg(?:e|ios|a)?\/([\w\.]+)/i], [w, [m, "Edge"]], [/(opera mini)\/([-\w\.]+)/i, /(opera [mobiletab]{3,6})\b.+version\/([-\w\.]+)/i, /(opera)(?:.+version\/|[\/ ]+)([\w\.]+)/i], [m, w], [/opios[\/ ]+([\w\.]+)/i], [w, [m, me + " Mini"]], [/\bop(?:rg)?x\/([\w\.]+)/i], [w, [m, me + " GX"]], [/\bopr\/([\w\.]+)/i], [w, [m, me]], [/\bb[ai]*d(?:uhd|[ub]*[aekoprswx]{5,6})[\/ ]?([\w\.]+)/i], [w, [m, "Baidu"]], [/(kindle)\/([\w\.]+)/i, /(lunascape|maxthon|netfront|jasmine|blazer|sleipnir)[\/ ]?([\w\.]*)/i, /(avant|iemobile|slim)\s?(?:browser)?[\/ ]?([\w\.]*)/i, /(?:ms|\()(ie) ([\w\.]+)/i, /(flock|rockmelt|midori|epiphany|silk|skyfire|ovibrowser|bolt|iron|vivaldi|iridium|phantomjs|bowser|qupzilla|falkon|rekonq|puffin|brave|whale(?!.+naver)|qqbrowserlite|duckduckgo|klar|helio)\/([-\w\.]+)/i, /(heytap|ovi)browser\/([\d\.]+)/i, /(weibo)__([\d\.]+)/i], [m, w], [/quark(?:pc)?\/([-\w\.]+)/i], [w, [m, "Quark"]], [/\bddg\/([\w\.]+)/i], [w, [m, "DuckDuckGo"]], [/(?:\buc? ?browser|(?:juc.+)ucweb)[\/ ]?([\w\.]+)/i], [w, [m, "UC" + P]], [/microm.+\bqbcore\/([\w\.]+)/i, /\bqbcore\/([\w\.]+).+microm/i, /micromessenger\/([\w\.]+)/i], [w, [m, "WeChat"]], [/konqueror\/([\w\.]+)/i], [w, [m, "Konqueror"]], [/trident.+rv[: ]([\w\.]{1,9})\b.+like gecko/i], [w, [m, "IE"]], [/ya(?:search)?browser\/([\w\.]+)/i], [w, [m, "Yandex"]], [/slbrowser\/([\w\.]+)/i], [w, [m, "Smart Lenovo " + P]], [/(avast|avg)\/([\w\.]+)/i], [[m, /(.+)/, "$1 Secure " + P], w], [/\bfocus\/([\w\.]+)/i], [w, [m, X + " Focus"]], [/\bopt\/([\w\.]+)/i], [w, [m, me + " Touch"]], [/coc_coc\w+\/([\w\.]+)/i], [w, [m, "Coc Coc"]], [/dolfin\/([\w\.]+)/i], [w, [m, "Dolphin"]], [/coast\/([\w\.]+)/i], [w, [m, me + " Coast"]], [/miuibrowser\/([\w\.]+)/i], [w, [m, "MIUI " + P]], [/fxios\/([-\w\.]+)/i], [w, [m, X]], [/\bqihu|(qi?ho?o?|360)browser/i], [[m, "360" + Br]], [/\b(qq)\/([\w\.]+)/i], [[m, /(.+)/, "$1Browser"], w], [/(oculus|sailfish|huawei|vivo|pico)browser\/([\w\.]+)/i], [[m, /(.+)/, "$1" + Br], w], [/samsungbrowser\/([\w\.]+)/i], [w, [m, Je + " Internet"]], [/(comodo_dragon)\/([\w\.]+)/i], [[m, /_/g, " "], w], [/metasr[\/ ]?([\d\.]+)/i], [w, [m, "Sogou Explorer"]], [/(sogou)mo\w+\/([\d\.]+)/i], [[m, "Sogou Mobile"], w], [/(electron)\/([\w\.]+) safari/i, /(tesla)(?: qtcarbrowser|\/(20\d\d\.[-\w\.]+))/i, /m?(qqbrowser|2345Explorer)[\/ ]?([\w\.]+)/i], [m, w], [/(lbbrowser|rekonq)/i, /\[(linkedin)app\]/i], [m], [/((?:fban\/fbios|fb_iab\/fb4a)(?!.+fbav)|;fbav\/([\w\.]+);)/i], [[m, Vr], w], [/(Klarna)\/([\w\.]+)/i, /(kakao(?:talk|story))[\/ ]([\w\.]+)/i, /(naver)\(.*?(\d+\.[\w\.]+).*\)/i, /safari (line)\/([\w\.]+)/i, /\b(line)\/([\w\.]+)\/iab/i, /(alipay)client\/([\w\.]+)/i, /(twitter)(?:and| f.+e\/([\w\.]+))/i, /(chromium|instagram|snapchat)[\/ ]([-\w\.]+)/i], [m, w], [/\bgsa\/([\w\.]+) .*safari\//i], [w, [m, "GSA"]], [/musical_ly(?:.+app_?version\/|_)([\w\.]+)/i], [w, [m, "TikTok"]], [/headlesschrome(?:\/([\w\.]+)| )/i], [w, [m, k + " Headless"]], [/ wv\).+(chrome)\/([\w\.]+)/i], [[m, k + " WebView"], w], [/droid.+ version\/([\w\.]+)\b.+(?:mobile safari|safari)/i], [w, [m, "Android " + P]], [/(chrome|omniweb|arora|[tizenoka]{5} ?browser)\/v?([\w\.]+)/i], [m, w], [/version\/([\w\.\,]+) .*mobile\/\w+ (safari)/i], [w, [m, "Mobile Safari"]], [/version\/([\w(\.|\,)]+) .*(mobile ?safari|safari)/i], [w, m], [/webkit.+?(mobile ?safari|safari)(\/[\w\.]+)/i], [m, [w, mt, Aa]], [/(webkit|khtml)\/([\w\.]+)/i], [m, w], [/(navigator|netscape\d?)\/([-\w\.]+)/i], [[m, "Netscape"], w], [/(wolvic)\/([\w\.]+)/i], [m, w], [/mobile vr; rv:([\w\.]+)\).+firefox/i], [w, [m, X + " Reality"]], [/ekiohf.+(flow)\/([\w\.]+)/i, /(swiftfox)/i, /(icedragon|iceweasel|camino|chimera|fennec|maemo browser|minimo|conkeror)[\/ ]?([\w\.\+]+)/i, /(seamonkey|k-meleon|icecat|iceape|firebird|phoenix|palemoon|basilisk|waterfox)\/([-\w\.]+)$/i, /(firefox)\/([\w\.]+)/i, /(mozilla)\/([\w\.]+) .+rv\:.+gecko\/\d+/i, /(polaris|lynx|dillo|icab|doris|amaya|w3m|netsurf|obigo|mosaic|(?:go|ice|up)[\. ]?browser)[-\/ ]?v?([\w\.]+)/i, /(links) \(([\w\.]+)/i], [m, [w, /_/g, "."]], [/(cobalt)\/([\w\.]+)/i], [m, [w, /master.|lts./, ""]]], cpu: [[/(?:(amd|x(?:(?:86|64)[-_])?|wow|win)64)[;\)]/i], [[y, "amd64"]], [/(ia32(?=;))/i], [[y, $e]], [/((?:i[346]|x)86)[;\)]/i], [[y, "ia32"]], [/\b(aarch64|arm(v?8e?l?|_?64))\b/i], [[y, "arm64"]], [/\b(arm(?:v[67])?ht?n?[fl]p?)\b/i], [[y, "armhf"]], [/windows (ce|mobile); ppc;/i], [[y, "arm"]], [/((?:ppc|powerpc)(?:64)?)(?: mac|;|\))/i], [[y, /ower/, a, $e]], [/(sun4\w)[;\)]/i], [[y, "sparc"]], [/((?:avr32|ia64(?=;))|68k(?=\))|\barm(?=v(?:[1-7]|[5-7]1)l?|;|eabi)|(?=atmel )avr|(?:irix|mips|sparc)(?:64)?\b|pa-risc)/i], [[y, $e]]], device: [[/\b(sch-i[89]0\d|shw-m380s|sm-[ptx]\w{2,4}|gt-[pn]\d{2,4}|sgh-t8[56]9|nexus 10)/i], [u, [p, Je], [f, x]], [/\b((?:s[cgp]h|gt|sm)-(?![lr])\w+|sc[g-]?[\d]+a?|galaxy nexus)/i, /samsung[- ]((?!sm-[lr])[-\w]+)/i, /sec-(sgh\w+)/i], [u, [p, Je], [f, v]], [/(?:\/|\()(ip(?:hone|od)[\w, ]*)(?:\/|;)/i], [u, [p, S], [f, v]], [/\((ipad);[-\w\),; ]+apple/i, /applecoremedia\/[\w\.]+ \((ipad)/i, /\b(ipad)\d\d?,\d\d?[;\]].+ios/i], [u, [p, S], [f, x]], [/(macintosh);/i], [u, [p, S]], [/\b(sh-?[altvz]?\d\d[a-ekm]?)/i], [u, [p, Fr], [f, v]], [/\b((?:ag[rs][23]?|bah2?|sht?|btv)-a?[lw]\d{2})\b(?!.+d\/s)/i], [u, [p, B], [f, x]], [/(?:huawei|honor)([-\w ]+)[;\)]/i, /\b(nexus 6p|\w{2,4}e?-[atu]?[ln][\dx][012359c][adn]?)\b(?!.+d\/s)/i], [u, [p, B], [f, v]], [/\b(poco[\w ]+|m2\d{3}j\d\d[a-z]{2})(?: bui|\))/i, /\b; (\w+) build\/hm\1/i, /\b(hm[-_ ]?note?[_ ]?(?:\d\w)?) bui/i, /\b(redmi[\-_ ]?(?:note|k)?[\w_ ]+)(?: bui|\))/i, /oid[^\)]+; (m?[12][0-389][01]\w{3,6}[c-y])( bui|; wv|\))/i, /\b(mi[-_ ]?(?:a\d|one|one[_ ]plus|note lte|max|cc)?[_ ]?(?:\d?\w?)[_ ]?(?:plus|se|lite|pro)?)(?: bui|\))/i], [[u, /_/g, " "], [p, $t], [f, v]], [/oid[^\)]+; (2\d{4}(283|rpbf)[cgl])( bui|\))/i, /\b(mi[-_ ]?(?:pad)(?:[\w_ ]+))(?: bui|\))/i], [[u, /_/g, " "], [p, $t], [f, x]], [/; (\w+) bui.+ oppo/i, /\b(cph[12]\d{3}|p(?:af|c[al]|d\w|e[ar])[mt]\d0|x9007|a101op)\b/i], [u, [p, "OPPO"], [f, v]], [/\b(opd2\d{3}a?) bui/i], [u, [p, "OPPO"], [f, x]], [/vivo (\w+)(?: bui|\))/i, /\b(v[12]\d{3}\w?[at])(?: bui|;)/i], [u, [p, "Vivo"], [f, v]], [/\b(rmx[1-3]\d{3})(?: bui|;|\))/i], [u, [p, "Realme"], [f, v]], [/\b(milestone|droid(?:[2-4x]| (?:bionic|x2|pro|razr))?:?( 4g)?)\b[\w ]+build\//i, /\bmot(?:orola)?[- ](\w*)/i, /((?:moto[\w\(\) ]+|xt\d{3,4}|nexus 6)(?= bui|\)))/i], [u, [p, pe], [f, v]], [/\b(mz60\d|xoom[2 ]{0,2}) build\//i], [u, [p, pe], [f, x]], [/((?=lg)?[vl]k\-?\d{3}) bui| 3\.[-\w; ]{10}lg?-([06cv9]{3,4})/i], [u, [p, G], [f, x]], [/(lm(?:-?f100[nv]?|-[\w\.]+)(?= bui|\))|nexus [45])/i, /\blg[-e;\/ ]+((?!browser|netcast|android tv)\w+)/i, /\blg-?([\d\w]+) bui/i], [u, [p, G], [f, v]], [/(ideatab[-\w ]+)/i, /lenovo ?(s[56]000[-\w]+|tab(?:[\w ]+)|yt[-\d\w]{6}|tb[-\d\w]{6})/i], [u, [p, "Lenovo"], [f, x]], [/(?:maemo|nokia).*(n900|lumia \d+)/i, /nokia[-_ ]?([-\w\.]*)/i], [[u, /_/g, " "], [p, "Nokia"], [f, v]], [/(pixel c)\b/i], [u, [p, fe], [f, x]], [/droid.+; (pixel[\daxl ]{0,6})(?: bui|\))/i], [u, [p, fe], [f, v]], [/droid.+ (a?\d[0-2]{2}so|[c-g]\d{4}|so[-gl]\w+|xq-a\w[4-7][12])(?= bui|\).+chrome\/(?![1-6]{0,1}\d\.))/i], [u, [p, ft], [f, v]], [/sony tablet [ps]/i, /\b(?:sony)?sgp\w+(?: bui|\))/i], [[u, "Xperia Tablet"], [p, ft], [f, x]], [/ (kb2005|in20[12]5|be20[12][59])\b/i, /(?:one)?(?:plus)? (a\d0\d\d)(?: b|\))/i], [u, [p, "OnePlus"], [f, v]], [/(alexa)webm/i, /(kf[a-z]{2}wi|aeo(?!bc)\w\w)( bui|\))/i, /(kf[a-z]+)( bui|\)).+silk\//i], [u, [p, C], [f, x]], [/((?:sd|kf)[0349hijorstuw]+)( bui|\)).+silk\//i], [[u, /(.+)/g, "Fire Phone $1"], [p, C], [f, v]], [/(playbook);[-\w\),; ]+(rim)/i], [u, p, [f, x]], [/\b((?:bb[a-f]|st[hv])100-\d)/i, /\(bb10; (\w+)/i], [u, [p, N], [f, v]], [/(?:\b|asus_)(transfo[prime ]{4,10} \w+|eeepc|slider \w+|nexus 7|padfone|p00[cj])/i], [u, [p, M], [f, x]], [/ (z[bes]6[027][012][km][ls]|zenfone \d\w?)\b/i], [u, [p, M], [f, v]], [/(nexus 9)/i], [u, [p, "HTC"], [f, x]], [/(htc)[-;_ ]{1,2}([\w ]+(?=\)| bui)|\w+)/i, /(zte)[- ]([\w ]+?)(?: bui|\/|\))/i, /(alcatel|geeksphone|nexian|panasonic(?!(?:;|\.))|sony(?!-bra))[-_ ]?([-\w]*)/i], [p, [u, /_/g, " "], [f, v]], [/droid [\w\.]+; ((?:8[14]9[16]|9(?:0(?:48|60|8[01])|1(?:3[27]|66)|2(?:6[69]|9[56])|466))[gqswx])\w*(\)| bui)/i], [u, [p, "TCL"], [f, x]], [/(itel) ((\w+))/i], [[p, $e], u, [f, mt, { tablet: ["p10001l", "w7001"], "*": "mobile" }]], [/droid.+; ([ab][1-7]-?[0178a]\d\d?)/i], [u, [p, "Acer"], [f, x]], [/droid.+; (m[1-5] note) bui/i, /\bmz-([-\w]{2,})/i], [u, [p, "Meizu"], [f, v]], [/; ((?:power )?armor(?:[\w ]{0,8}))(?: bui|\))/i], [u, [p, "Ulefone"], [f, v]], [/droid.+; (a(?:015|06[35]|142p?))/i], [u, [p, "Nothing"], [f, v]], [/(blackberry|benq|palm(?=\-)|sonyericsson|acer|asus|dell|meizu|motorola|polytron|infinix|tecno)[-_ ]?([-\w]*)/i, /(hp) ([\w ]+\w)/i, /(asus)-?(\w+)/i, /(microsoft); (lumia[\w ]+)/i, /(lenovo)[-_ ]?([-\w]+)/i, /(jolla)/i, /(oppo) ?([\w ]+) bui/i], [p, u, [f, v]], [/(kobo)\s(ereader|touch)/i, /(archos) (gamepad2?)/i, /(hp).+(touchpad(?!.+tablet)|tablet)/i, /(kindle)\/([\w\.]+)/i, /(nook)[\w ]+build\/(\w+)/i, /(dell) (strea[kpr\d ]*[\dko])/i, /(le[- ]+pan)[- ]+(\w{1,9}) bui/i, /(trinity)[- ]*(t\d{3}) bui/i, /(gigaset)[- ]+(q\w{1,9}) bui/i, /(vodafone) ([\w ]+)(?:\)| bui)/i], [p, u, [f, x]], [/(surface duo)/i], [u, [p, Y], [f, x]], [/droid [\d\.]+; (fp\du?)(?: b|\))/i], [u, [p, "Fairphone"], [f, v]], [/(u304aa)/i], [u, [p, "AT&T"], [f, v]], [/\bsie-(\w*)/i], [u, [p, "Siemens"], [f, v]], [/\b(rct\w+) b/i], [u, [p, "RCA"], [f, x]], [/\b(venue[\d ]{2,7}) b/i], [u, [p, "Dell"], [f, x]], [/\b(q(?:mv|ta)\w+) b/i], [u, [p, "Verizon"], [f, x]], [/\b(?:barnes[& ]+noble |bn[rt])([\w\+ ]*) b/i], [u, [p, "Barnes & Noble"], [f, x]], [/\b(tm\d{3}\w+) b/i], [u, [p, "NuVision"], [f, x]], [/\b(k88) b/i], [u, [p, "ZTE"], [f, x]], [/\b(nx\d{3}j) b/i], [u, [p, "ZTE"], [f, v]], [/\b(gen\d{3}) b.+49h/i], [u, [p, "Swiss"], [f, v]], [/\b(zur\d{3}) b/i], [u, [p, "Swiss"], [f, x]], [/\b((zeki)?tb.*\b) b/i], [u, [p, "Zeki"], [f, x]], [/\b([yr]\d{2}) b/i, /\b(dragon[- ]+touch |dt)(\w{5}) b/i], [[p, "Dragon Touch"], u, [f, x]], [/\b(ns-?\w{0,9}) b/i], [u, [p, "Insignia"], [f, x]], [/\b((nxa|next)-?\w{0,9}) b/i], [u, [p, "NextBook"], [f, x]], [/\b(xtreme\_)?(v(1[045]|2[015]|[3469]0|7[05])) b/i], [[p, "Voice"], u, [f, v]], [/\b(lvtel\-)?(v1[12]) b/i], [[p, "LvTel"], u, [f, v]], [/\b(ph-1) /i], [u, [p, "Essential"], [f, v]], [/\b(v(100md|700na|7011|917g).*\b) b/i], [u, [p, "Envizen"], [f, x]], [/\b(trio[-\w\. ]+) b/i], [u, [p, "MachSpeed"], [f, x]], [/\btu_(1491) b/i], [u, [p, "Rotor"], [f, x]], [/(shield[\w ]+) b/i], [u, [p, "Nvidia"], [f, x]], [/(sprint) (\w+)/i], [p, u, [f, v]], [/(kin\.[onetw]{3})/i], [[u, /\./g, " "], [p, Y], [f, v]], [/droid.+; (cc6666?|et5[16]|mc[239][23]x?|vc8[03]x?)\)/i], [u, [p, jt], [f, x]], [/droid.+; (ec30|ps20|tc[2-8]\d[kx])\)/i], [u, [p, jt], [f, v]], [/smart-tv.+(samsung)/i], [p, [f, T]], [/hbbtv.+maple;(\d+)/i], [[u, /^/, "SmartTV"], [p, Je], [f, T]], [/(nux; netcast.+smarttv|lg (netcast\.tv-201\d|android tv))/i], [[p, G], [f, T]], [/(apple) ?tv/i], [p, [u, S + " TV"], [f, T]], [/crkey/i], [[u, k + "cast"], [p, fe], [f, T]], [/droid.+aft(\w+)( bui|\))/i], [u, [p, C], [f, T]], [/\(dtv[\);].+(aquos)/i, /(aquos-tv[\w ]+)\)/i], [u, [p, Fr], [f, T]], [/(bravia[\w ]+)( bui|\))/i], [u, [p, ft], [f, T]], [/(mitv-\w{5}) bui/i], [u, [p, $t], [f, T]], [/Hbbtv.*(technisat) (.*);/i], [p, u, [f, T]], [/\b(roku)[\dx]*[\)\/]((?:dvp-)?[\d\.]*)/i, /hbbtv\/\d+\.\d+\.\d+ +\([\w\+ ]*; *([\w\d][^;]*);([^;]*)/i], [[p, Ht], [u, Ht], [f, T]], [/\b(android tv|smart[- ]?tv|opera tv|tv; rv:)\b/i], [[f, T]], [/(ouya)/i, /(nintendo) ([wids3utch]+)/i], [p, u, [f, g]], [/droid.+; (shield) bui/i], [u, [p, "Nvidia"], [f, g]], [/(playstation [345portablevi]+)/i], [u, [p, ft], [f, g]], [/\b(xbox(?: one)?(?!; xbox))[\); ]/i], [u, [p, Y], [f, g]], [/\b(sm-[lr]\d\d[05][fnuw]?s?)\b/i], [u, [p, Je], [f, E]], [/((pebble))app/i], [p, u, [f, E]], [/(watch)(?: ?os[,\/]|\d,\d\/)[\d\.]+/i], [u, [p, S], [f, E]], [/droid.+; (glass) \d/i], [u, [p, fe], [f, E]], [/droid.+; (wt63?0{2,3})\)/i], [u, [p, jt], [f, E]], [/(quest( \d| pro)?)/i], [u, [p, Vr], [f, E]], [/(tesla)(?: qtcarbrowser|\/[-\w\.]+)/i], [p, [f, F]], [/(aeobc)\b/i], [u, [p, C], [f, F]], [/droid .+?; ([^;]+?)(?: bui|; wv\)|\) applew).+? mobile safari/i], [u, [f, v]], [/droid .+?; ([^;]+?)(?: bui|\) applew).+?(?! mobile) safari/i], [u, [f, x]], [/\b((tablet|tab)[;\/]|focus\/\d(?!.+mobile))/i], [[f, x]], [/(phone|mobile(?:[;\/]| [ \w\/\.]*safari)|pda(?=.+windows ce))/i], [[f, v]], [/(android[-\w\. ]{0,9});.+buil/i], [u, [p, "Generic"]]], engine: [[/windows.+ edge\/([\w\.]+)/i], [w, [m, R + "HTML"]], [/webkit\/537\.36.+chrome\/(?!27)([\w\.]+)/i], [w, [m, "Blink"]], [/(presto)\/([\w\.]+)/i, /(webkit|trident|netfront|netsurf|amaya|lynx|w3m|goanna)\/([\w\.]+)/i, /ekioh(flow)\/([\w\.]+)/i, /(khtml|tasman|links)[\/ ]\(?([\w\.]+)/i, /(icab)[\/ ]([23]\.[\d\.]+)/i, /\b(libweb)/i], [m, w], [/rv\:([\w\.]{1,9})\b.+(gecko)/i], [w, m]], os: [[/microsoft (windows) (vista|xp)/i], [m, w], [/(windows (?:phone(?: os)?|mobile))[\/ ]?([\d\.\w ]*)/i], [m, [w, mt, Gr]], [/windows nt 6\.2; (arm)/i, /windows[\/ ]?([ntce\d\. ]+\w)(?!.+xbox)/i, /(?:win(?=3|9|n)|win 9x )([nt\d\.]+)/i], [[w, mt, Gr], [m, "Windows"]], [/ip[honead]{2,4}\b(?:.*os ([\w]+) like mac|; opera)/i, /(?:ios;fbsv\/|iphone.+ios[\/ ])([\d\.]+)/i, /cfnetwork\/.+darwin/i], [[w, /_/g, "."], [m, "iOS"]], [/(mac os x) ?([\w\. ]*)/i, /(macintosh|mac_powerpc\b)(?!.+haiku)/i], [[m, Rr], [w, /_/g, "."]], [/droid ([\w\.]+)\b.+(android[- ]x86|harmonyos)/i], [w, m], [/(android|webos|qnx|bada|rim tablet os|maemo|meego|sailfish)[-\/ ]?([\w\.]*)/i, /(blackberry)\w*\/([\w\.]*)/i, /(tizen|kaios)[\/ ]([\w\.]+)/i, /\((series40);/i], [m, w], [/\(bb(10);/i], [w, [m, N]], [/(?:symbian ?os|symbos|s60(?=;)|series60)[-\/ ]?([\w\.]*)/i], [w, [m, "Symbian"]], [/mozilla\/[\d\.]+ \((?:mobile|tablet|tv|mobile; [\w ]+); rv:.+ gecko\/([\w\.]+)/i], [w, [m, X + " OS"]], [/web0s;.+rt(tv)/i, /\b(?:hp)?wos(?:browser)?\/([\w\.]+)/i], [w, [m, "webOS"]], [/watch(?: ?os[,\/]|\d,\d\/)([\d\.]+)/i], [w, [m, "watchOS"]], [/crkey\/([\d\.]+)/i], [w, [m, k + "cast"]], [/(cros) [\w]+(?:\)| ([\w\.]+)\b)/i], [[m, zr], w], [/panasonic;(viera)/i, /(netrange)mmh/i, /(nettv)\/(\d+\.[\w\.]+)/i, /(nintendo|playstation) ([wids345portablevuch]+)/i, /(xbox); +xbox ([^\);]+)/i, /\b(joli|palm)\b ?(?:os)?\/?([\w\.]*)/i, /(mint)[\/\(\) ]?(\w*)/i, /(mageia|vectorlinux)[; ]/i, /([kxln]?ubuntu|debian|suse|opensuse|gentoo|arch(?= linux)|slackware|fedora|mandriva|centos|pclinuxos|red ?hat|zenwalk|linpus|raspbian|plan 9|minix|risc os|contiki|deepin|manjaro|elementary os|sabayon|linspire)(?: gnu\/linux)?(?: enterprise)?(?:[- ]linux)?(?:-gnu)?[-\/ ]?(?!chrom|package)([-\w\.]*)/i, /(hurd|linux) ?([\w\.]*)/i, /(gnu) ?([\w\.]*)/i, /\b([-frentopcghs]{0,5}bsd|dragonfly)[\/ ]?(?!amd|[ix346]{1,2}86)([\w\.]*)/i, /(haiku) (\w+)/i], [m, w], [/(sunos) ?([\w\.\d]*)/i], [[m, "Solaris"], w], [/((?:open)?solaris)[-\/ ]?([\w\.]*)/i, /(aix) ((\d)(?=\.|\)| )[\w\.])*/i, /\b(beos|os\/2|amigaos|morphos|openvms|fuchsia|hp-ux|serenityos)/i, /(unix) ?([\w\.]*)/i], [m, w]] }, ce = function(W, $) {
|
|
2122
|
-
if (typeof W ===
|
|
2123
|
-
return new
|
|
2130
|
+
}, Aa = { "1.0": "/8", 1.2: "/1", 1.3: "/3", "2.0": "/412", "2.0.2": "/416", "2.0.3": "/417", "2.0.4": "/419", "?": "/" }, Gr = { ME: "4.90", "NT 3.11": "NT3.51", "NT 4.0": "NT4.0", 2e3: "NT 5.0", XP: ["NT 5.1", "NT 5.2"], Vista: "NT 6.0", 7: "NT 6.1", 8: "NT 6.2", 8.1: "NT 6.3", 10: ["NT 6.4", "NT 10.0"], RT: "ARM" }, $r = { browser: [[/\b(?:crmo|crios)\/([\w\.]+)/i], [w, [m, "Chrome"]], [/edg(?:e|ios|a)?\/([\w\.]+)/i], [w, [m, "Edge"]], [/(opera mini)\/([-\w\.]+)/i, /(opera [mobiletab]{3,6})\b.+version\/([-\w\.]+)/i, /(opera)(?:.+version\/|[\/ ]+)([\w\.]+)/i], [m, w], [/opios[\/ ]+([\w\.]+)/i], [w, [m, me + " Mini"]], [/\bop(?:rg)?x\/([\w\.]+)/i], [w, [m, me + " GX"]], [/\bopr\/([\w\.]+)/i], [w, [m, me]], [/\bb[ai]*d(?:uhd|[ub]*[aekoprswx]{5,6})[\/ ]?([\w\.]+)/i], [w, [m, "Baidu"]], [/(kindle)\/([\w\.]+)/i, /(lunascape|maxthon|netfront|jasmine|blazer|sleipnir)[\/ ]?([\w\.]*)/i, /(avant|iemobile|slim)\s?(?:browser)?[\/ ]?([\w\.]*)/i, /(?:ms|\()(ie) ([\w\.]+)/i, /(flock|rockmelt|midori|epiphany|silk|skyfire|ovibrowser|bolt|iron|vivaldi|iridium|phantomjs|bowser|qupzilla|falkon|rekonq|puffin|brave|whale(?!.+naver)|qqbrowserlite|duckduckgo|klar|helio)\/([-\w\.]+)/i, /(heytap|ovi)browser\/([\d\.]+)/i, /(weibo)__([\d\.]+)/i], [m, w], [/quark(?:pc)?\/([-\w\.]+)/i], [w, [m, "Quark"]], [/\bddg\/([\w\.]+)/i], [w, [m, "DuckDuckGo"]], [/(?:\buc? ?browser|(?:juc.+)ucweb)[\/ ]?([\w\.]+)/i], [w, [m, "UC" + P]], [/microm.+\bqbcore\/([\w\.]+)/i, /\bqbcore\/([\w\.]+).+microm/i, /micromessenger\/([\w\.]+)/i], [w, [m, "WeChat"]], [/konqueror\/([\w\.]+)/i], [w, [m, "Konqueror"]], [/trident.+rv[: ]([\w\.]{1,9})\b.+like gecko/i], [w, [m, "IE"]], [/ya(?:search)?browser\/([\w\.]+)/i], [w, [m, "Yandex"]], [/slbrowser\/([\w\.]+)/i], [w, [m, "Smart Lenovo " + P]], [/(avast|avg)\/([\w\.]+)/i], [[m, /(.+)/, "$1 Secure " + P], w], [/\bfocus\/([\w\.]+)/i], [w, [m, X + " Focus"]], [/\bopt\/([\w\.]+)/i], [w, [m, me + " Touch"]], [/coc_coc\w+\/([\w\.]+)/i], [w, [m, "Coc Coc"]], [/dolfin\/([\w\.]+)/i], [w, [m, "Dolphin"]], [/coast\/([\w\.]+)/i], [w, [m, me + " Coast"]], [/miuibrowser\/([\w\.]+)/i], [w, [m, "MIUI " + P]], [/fxios\/([-\w\.]+)/i], [w, [m, X]], [/\bqihu|(qi?ho?o?|360)browser/i], [[m, "360" + Br]], [/\b(qq)\/([\w\.]+)/i], [[m, /(.+)/, "$1Browser"], w], [/(oculus|sailfish|huawei|vivo|pico)browser\/([\w\.]+)/i], [[m, /(.+)/, "$1" + Br], w], [/samsungbrowser\/([\w\.]+)/i], [w, [m, Je + " Internet"]], [/(comodo_dragon)\/([\w\.]+)/i], [[m, /_/g, " "], w], [/metasr[\/ ]?([\d\.]+)/i], [w, [m, "Sogou Explorer"]], [/(sogou)mo\w+\/([\d\.]+)/i], [[m, "Sogou Mobile"], w], [/(electron)\/([\w\.]+) safari/i, /(tesla)(?: qtcarbrowser|\/(20\d\d\.[-\w\.]+))/i, /m?(qqbrowser|2345Explorer)[\/ ]?([\w\.]+)/i], [m, w], [/(lbbrowser|rekonq)/i, /\[(linkedin)app\]/i], [m], [/((?:fban\/fbios|fb_iab\/fb4a)(?!.+fbav)|;fbav\/([\w\.]+);)/i], [[m, Vr], w], [/(Klarna)\/([\w\.]+)/i, /(kakao(?:talk|story))[\/ ]([\w\.]+)/i, /(naver)\(.*?(\d+\.[\w\.]+).*\)/i, /safari (line)\/([\w\.]+)/i, /\b(line)\/([\w\.]+)\/iab/i, /(alipay)client\/([\w\.]+)/i, /(twitter)(?:and| f.+e\/([\w\.]+))/i, /(chromium|instagram|snapchat)[\/ ]([-\w\.]+)/i], [m, w], [/\bgsa\/([\w\.]+) .*safari\//i], [w, [m, "GSA"]], [/musical_ly(?:.+app_?version\/|_)([\w\.]+)/i], [w, [m, "TikTok"]], [/headlesschrome(?:\/([\w\.]+)| )/i], [w, [m, k + " Headless"]], [/ wv\).+(chrome)\/([\w\.]+)/i], [[m, k + " WebView"], w], [/droid.+ version\/([\w\.]+)\b.+(?:mobile safari|safari)/i], [w, [m, "Android " + P]], [/(chrome|omniweb|arora|[tizenoka]{5} ?browser)\/v?([\w\.]+)/i], [m, w], [/version\/([\w\.\,]+) .*mobile\/\w+ (safari)/i], [w, [m, "Mobile Safari"]], [/version\/([\w(\.|\,)]+) .*(mobile ?safari|safari)/i], [w, m], [/webkit.+?(mobile ?safari|safari)(\/[\w\.]+)/i], [m, [w, mt, Aa]], [/(webkit|khtml)\/([\w\.]+)/i], [m, w], [/(navigator|netscape\d?)\/([-\w\.]+)/i], [[m, "Netscape"], w], [/(wolvic)\/([\w\.]+)/i], [m, w], [/mobile vr; rv:([\w\.]+)\).+firefox/i], [w, [m, X + " Reality"]], [/ekiohf.+(flow)\/([\w\.]+)/i, /(swiftfox)/i, /(icedragon|iceweasel|camino|chimera|fennec|maemo browser|minimo|conkeror)[\/ ]?([\w\.\+]+)/i, /(seamonkey|k-meleon|icecat|iceape|firebird|phoenix|palemoon|basilisk|waterfox)\/([-\w\.]+)$/i, /(firefox)\/([\w\.]+)/i, /(mozilla)\/([\w\.]+) .+rv\:.+gecko\/\d+/i, /(polaris|lynx|dillo|icab|doris|amaya|w3m|netsurf|obigo|mosaic|(?:go|ice|up)[\. ]?browser)[-\/ ]?v?([\w\.]+)/i, /(links) \(([\w\.]+)/i], [m, [w, /_/g, "."]], [/(cobalt)\/([\w\.]+)/i], [m, [w, /master.|lts./, ""]]], cpu: [[/(?:(amd|x(?:(?:86|64)[-_])?|wow|win)64)[;\)]/i], [[y, "amd64"]], [/(ia32(?=;))/i], [[y, $e]], [/((?:i[346]|x)86)[;\)]/i], [[y, "ia32"]], [/\b(aarch64|arm(v?8e?l?|_?64))\b/i], [[y, "arm64"]], [/\b(arm(?:v[67])?ht?n?[fl]p?)\b/i], [[y, "armhf"]], [/windows (ce|mobile); ppc;/i], [[y, "arm"]], [/((?:ppc|powerpc)(?:64)?)(?: mac|;|\))/i], [[y, /ower/, a, $e]], [/(sun4\w)[;\)]/i], [[y, "sparc"]], [/((?:avr32|ia64(?=;))|68k(?=\))|\barm(?=v(?:[1-7]|[5-7]1)l?|;|eabi)|(?=atmel )avr|(?:irix|mips|sparc)(?:64)?\b|pa-risc)/i], [[y, $e]]], device: [[/\b(sch-i[89]0\d|shw-m380s|sm-[ptx]\w{2,4}|gt-[pn]\d{2,4}|sgh-t8[56]9|nexus 10)/i], [u, [p, Je], [f, x]], [/\b((?:s[cgp]h|gt|sm)-(?![lr])\w+|sc[g-]?[\d]+a?|galaxy nexus)/i, /samsung[- ]((?!sm-[lr])[-\w]+)/i, /sec-(sgh\w+)/i], [u, [p, Je], [f, v]], [/(?:\/|\()(ip(?:hone|od)[\w, ]*)(?:\/|;)/i], [u, [p, S], [f, v]], [/\((ipad);[-\w\),; ]+apple/i, /applecoremedia\/[\w\.]+ \((ipad)/i, /\b(ipad)\d\d?,\d\d?[;\]].+ios/i], [u, [p, S], [f, x]], [/(macintosh);/i], [u, [p, S]], [/\b(sh-?[altvz]?\d\d[a-ekm]?)/i], [u, [p, Fr], [f, v]], [/\b((?:ag[rs][23]?|bah2?|sht?|btv)-a?[lw]\d{2})\b(?!.+d\/s)/i], [u, [p, B], [f, x]], [/(?:huawei|honor)([-\w ]+)[;\)]/i, /\b(nexus 6p|\w{2,4}e?-[atu]?[ln][\dx][012359c][adn]?)\b(?!.+d\/s)/i], [u, [p, B], [f, v]], [/\b(poco[\w ]+|m2\d{3}j\d\d[a-z]{2})(?: bui|\))/i, /\b; (\w+) build\/hm\1/i, /\b(hm[-_ ]?note?[_ ]?(?:\d\w)?) bui/i, /\b(redmi[\-_ ]?(?:note|k)?[\w_ ]+)(?: bui|\))/i, /oid[^\)]+; (m?[12][0-389][01]\w{3,6}[c-y])( bui|; wv|\))/i, /\b(mi[-_ ]?(?:a\d|one|one[_ ]plus|note lte|max|cc)?[_ ]?(?:\d?\w?)[_ ]?(?:plus|se|lite|pro)?)(?: bui|\))/i], [[u, /_/g, " "], [p, $t], [f, v]], [/oid[^\)]+; (2\d{4}(283|rpbf)[cgl])( bui|\))/i, /\b(mi[-_ ]?(?:pad)(?:[\w_ ]+))(?: bui|\))/i], [[u, /_/g, " "], [p, $t], [f, x]], [/; (\w+) bui.+ oppo/i, /\b(cph[12]\d{3}|p(?:af|c[al]|d\w|e[ar])[mt]\d0|x9007|a101op)\b/i], [u, [p, "OPPO"], [f, v]], [/\b(opd2\d{3}a?) bui/i], [u, [p, "OPPO"], [f, x]], [/vivo (\w+)(?: bui|\))/i, /\b(v[12]\d{3}\w?[at])(?: bui|;)/i], [u, [p, "Vivo"], [f, v]], [/\b(rmx[1-3]\d{3})(?: bui|;|\))/i], [u, [p, "Realme"], [f, v]], [/\b(milestone|droid(?:[2-4x]| (?:bionic|x2|pro|razr))?:?( 4g)?)\b[\w ]+build\//i, /\bmot(?:orola)?[- ](\w*)/i, /((?:moto[\w\(\) ]+|xt\d{3,4}|nexus 6)(?= bui|\)))/i], [u, [p, pe], [f, v]], [/\b(mz60\d|xoom[2 ]{0,2}) build\//i], [u, [p, pe], [f, x]], [/((?=lg)?[vl]k\-?\d{3}) bui| 3\.[-\w; ]{10}lg?-([06cv9]{3,4})/i], [u, [p, G], [f, x]], [/(lm(?:-?f100[nv]?|-[\w\.]+)(?= bui|\))|nexus [45])/i, /\blg[-e;\/ ]+((?!browser|netcast|android tv)\w+)/i, /\blg-?([\d\w]+) bui/i], [u, [p, G], [f, v]], [/(ideatab[-\w ]+)/i, /lenovo ?(s[56]000[-\w]+|tab(?:[\w ]+)|yt[-\d\w]{6}|tb[-\d\w]{6})/i], [u, [p, "Lenovo"], [f, x]], [/(?:maemo|nokia).*(n900|lumia \d+)/i, /nokia[-_ ]?([-\w\.]*)/i], [[u, /_/g, " "], [p, "Nokia"], [f, v]], [/(pixel c)\b/i], [u, [p, fe], [f, x]], [/droid.+; (pixel[\daxl ]{0,6})(?: bui|\))/i], [u, [p, fe], [f, v]], [/droid.+ (a?\d[0-2]{2}so|[c-g]\d{4}|so[-gl]\w+|xq-a\w[4-7][12])(?= bui|\).+chrome\/(?![1-6]{0,1}\d\.))/i], [u, [p, ft], [f, v]], [/sony tablet [ps]/i, /\b(?:sony)?sgp\w+(?: bui|\))/i], [[u, "Xperia Tablet"], [p, ft], [f, x]], [/ (kb2005|in20[12]5|be20[12][59])\b/i, /(?:one)?(?:plus)? (a\d0\d\d)(?: b|\))/i], [u, [p, "OnePlus"], [f, v]], [/(alexa)webm/i, /(kf[a-z]{2}wi|aeo(?!bc)\w\w)( bui|\))/i, /(kf[a-z]+)( bui|\)).+silk\//i], [u, [p, C], [f, x]], [/((?:sd|kf)[0349hijorstuw]+)( bui|\)).+silk\//i], [[u, /(.+)/g, "Fire Phone $1"], [p, C], [f, v]], [/(playbook);[-\w\),; ]+(rim)/i], [u, p, [f, x]], [/\b((?:bb[a-f]|st[hv])100-\d)/i, /\(bb10; (\w+)/i], [u, [p, N], [f, v]], [/(?:\b|asus_)(transfo[prime ]{4,10} \w+|eeepc|slider \w+|nexus 7|padfone|p00[cj])/i], [u, [p, M], [f, x]], [/ (z[bes]6[027][012][km][ls]|zenfone \d\w?)\b/i], [u, [p, M], [f, v]], [/(nexus 9)/i], [u, [p, "HTC"], [f, x]], [/(htc)[-;_ ]{1,2}([\w ]+(?=\)| bui)|\w+)/i, /(zte)[- ]([\w ]+?)(?: bui|\/|\))/i, /(alcatel|geeksphone|nexian|panasonic(?!(?:;|\.))|sony(?!-bra))[-_ ]?([-\w]*)/i], [p, [u, /_/g, " "], [f, v]], [/droid [\w\.]+; ((?:8[14]9[16]|9(?:0(?:48|60|8[01])|1(?:3[27]|66)|2(?:6[69]|9[56])|466))[gqswx])\w*(\)| bui)/i], [u, [p, "TCL"], [f, x]], [/(itel) ((\w+))/i], [[p, $e], u, [f, mt, { tablet: ["p10001l", "w7001"], "*": "mobile" }]], [/droid.+; ([ab][1-7]-?[0178a]\d\d?)/i], [u, [p, "Acer"], [f, x]], [/droid.+; (m[1-5] note) bui/i, /\bmz-([-\w]{2,})/i], [u, [p, "Meizu"], [f, v]], [/; ((?:power )?armor(?:[\w ]{0,8}))(?: bui|\))/i], [u, [p, "Ulefone"], [f, v]], [/droid.+; (a(?:015|06[35]|142p?))/i], [u, [p, "Nothing"], [f, v]], [/(blackberry|benq|palm(?=\-)|sonyericsson|acer|asus|dell|meizu|motorola|polytron|infinix|tecno)[-_ ]?([-\w]*)/i, /(hp) ([\w ]+\w)/i, /(asus)-?(\w+)/i, /(microsoft); (lumia[\w ]+)/i, /(lenovo)[-_ ]?([-\w]+)/i, /(jolla)/i, /(oppo) ?([\w ]+) bui/i], [p, u, [f, v]], [/(kobo)\s(ereader|touch)/i, /(archos) (gamepad2?)/i, /(hp).+(touchpad(?!.+tablet)|tablet)/i, /(kindle)\/([\w\.]+)/i, /(nook)[\w ]+build\/(\w+)/i, /(dell) (strea[kpr\d ]*[\dko])/i, /(le[- ]+pan)[- ]+(\w{1,9}) bui/i, /(trinity)[- ]*(t\d{3}) bui/i, /(gigaset)[- ]+(q\w{1,9}) bui/i, /(vodafone) ([\w ]+)(?:\)| bui)/i], [p, u, [f, x]], [/(surface duo)/i], [u, [p, Y], [f, x]], [/droid [\d\.]+; (fp\du?)(?: b|\))/i], [u, [p, "Fairphone"], [f, v]], [/(u304aa)/i], [u, [p, "AT&T"], [f, v]], [/\bsie-(\w*)/i], [u, [p, "Siemens"], [f, v]], [/\b(rct\w+) b/i], [u, [p, "RCA"], [f, x]], [/\b(venue[\d ]{2,7}) b/i], [u, [p, "Dell"], [f, x]], [/\b(q(?:mv|ta)\w+) b/i], [u, [p, "Verizon"], [f, x]], [/\b(?:barnes[& ]+noble |bn[rt])([\w\+ ]*) b/i], [u, [p, "Barnes & Noble"], [f, x]], [/\b(tm\d{3}\w+) b/i], [u, [p, "NuVision"], [f, x]], [/\b(k88) b/i], [u, [p, "ZTE"], [f, x]], [/\b(nx\d{3}j) b/i], [u, [p, "ZTE"], [f, v]], [/\b(gen\d{3}) b.+49h/i], [u, [p, "Swiss"], [f, v]], [/\b(zur\d{3}) b/i], [u, [p, "Swiss"], [f, x]], [/\b((zeki)?tb.*\b) b/i], [u, [p, "Zeki"], [f, x]], [/\b([yr]\d{2}) b/i, /\b(dragon[- ]+touch |dt)(\w{5}) b/i], [[p, "Dragon Touch"], u, [f, x]], [/\b(ns-?\w{0,9}) b/i], [u, [p, "Insignia"], [f, x]], [/\b((nxa|next)-?\w{0,9}) b/i], [u, [p, "NextBook"], [f, x]], [/\b(xtreme\_)?(v(1[045]|2[015]|[3469]0|7[05])) b/i], [[p, "Voice"], u, [f, v]], [/\b(lvtel\-)?(v1[12]) b/i], [[p, "LvTel"], u, [f, v]], [/\b(ph-1) /i], [u, [p, "Essential"], [f, v]], [/\b(v(100md|700na|7011|917g).*\b) b/i], [u, [p, "Envizen"], [f, x]], [/\b(trio[-\w\. ]+) b/i], [u, [p, "MachSpeed"], [f, x]], [/\btu_(1491) b/i], [u, [p, "Rotor"], [f, x]], [/(shield[\w ]+) b/i], [u, [p, "Nvidia"], [f, x]], [/(sprint) (\w+)/i], [p, u, [f, v]], [/(kin\.[onetw]{3})/i], [[u, /\./g, " "], [p, Y], [f, v]], [/droid.+; (cc6666?|et5[16]|mc[239][23]x?|vc8[03]x?)\)/i], [u, [p, jt], [f, x]], [/droid.+; (ec30|ps20|tc[2-8]\d[kx])\)/i], [u, [p, jt], [f, v]], [/smart-tv.+(samsung)/i], [p, [f, T]], [/hbbtv.+maple;(\d+)/i], [[u, /^/, "SmartTV"], [p, Je], [f, T]], [/(nux; netcast.+smarttv|lg (netcast\.tv-201\d|android tv))/i], [[p, G], [f, T]], [/(apple) ?tv/i], [p, [u, S + " TV"], [f, T]], [/crkey/i], [[u, k + "cast"], [p, fe], [f, T]], [/droid.+aft(\w+)( bui|\))/i], [u, [p, C], [f, T]], [/\(dtv[\);].+(aquos)/i, /(aquos-tv[\w ]+)\)/i], [u, [p, Fr], [f, T]], [/(bravia[\w ]+)( bui|\))/i], [u, [p, ft], [f, T]], [/(mitv-\w{5}) bui/i], [u, [p, $t], [f, T]], [/Hbbtv.*(technisat) (.*);/i], [p, u, [f, T]], [/\b(roku)[\dx]*[\)\/]((?:dvp-)?[\d\.]*)/i, /hbbtv\/\d+\.\d+\.\d+ +\([\w\+ ]*; *([\w\d][^;]*);([^;]*)/i], [[p, Ht], [u, Ht], [f, T]], [/\b(android tv|smart[- ]?tv|opera tv|tv; rv:)\b/i], [[f, T]], [/(ouya)/i, /(nintendo) ([wids3utch]+)/i], [p, u, [f, g]], [/droid.+; (shield) bui/i], [u, [p, "Nvidia"], [f, g]], [/(playstation [345portablevi]+)/i], [u, [p, ft], [f, g]], [/\b(xbox(?: one)?(?!; xbox))[\); ]/i], [u, [p, Y], [f, g]], [/\b(sm-[lr]\d\d[05][fnuw]?s?)\b/i], [u, [p, Je], [f, E]], [/((pebble))app/i], [p, u, [f, E]], [/(watch)(?: ?os[,\/]|\d,\d\/)[\d\.]+/i], [u, [p, S], [f, E]], [/droid.+; (glass) \d/i], [u, [p, fe], [f, E]], [/droid.+; (wt63?0{2,3})\)/i], [u, [p, jt], [f, E]], [/(quest( \d| pro)?)/i], [u, [p, Vr], [f, E]], [/(tesla)(?: qtcarbrowser|\/[-\w\.]+)/i], [p, [f, F]], [/(aeobc)\b/i], [u, [p, C], [f, F]], [/droid .+?; ([^;]+?)(?: bui|; wv\)|\) applew).+? mobile safari/i], [u, [f, v]], [/droid .+?; ([^;]+?)(?: bui|\) applew).+?(?! mobile) safari/i], [u, [f, x]], [/\b((tablet|tab)[;\/]|focus\/\d(?!.+mobile))/i], [[f, x]], [/(phone|mobile(?:[;\/]| [ \w\/\.]*safari)|pda(?=.+windows ce))/i], [[f, v]], [/(android[-\w\. ]{0,9});.+buil/i], [u, [p, "Generic"]]], engine: [[/windows.+ edge\/([\w\.]+)/i], [w, [m, R + "HTML"]], [/webkit\/537\.36.+chrome\/(?!27)([\w\.]+)/i], [w, [m, "Blink"]], [/(presto)\/([\w\.]+)/i, /(webkit|trident|netfront|netsurf|amaya|lynx|w3m|goanna)\/([\w\.]+)/i, /ekioh(flow)\/([\w\.]+)/i, /(khtml|tasman|links)[\/ ]\(?([\w\.]+)/i, /(icab)[\/ ]([23]\.[\d\.]+)/i, /\b(libweb)/i], [m, w], [/rv\:([\w\.]{1,9})\b.+(gecko)/i], [w, m]], os: [[/microsoft (windows) (vista|xp)/i], [m, w], [/(windows (?:phone(?: os)?|mobile))[\/ ]?([\d\.\w ]*)/i], [m, [w, mt, Gr]], [/windows nt 6\.2; (arm)/i, /windows[\/ ]?([ntce\d\. ]+\w)(?!.+xbox)/i, /(?:win(?=3|9|n)|win 9x )([nt\d\.]+)/i], [[w, mt, Gr], [m, "Windows"]], [/ip[honead]{2,4}\b(?:.*os ([\w]+) like mac|; opera)/i, /(?:ios;fbsv\/|iphone.+ios[\/ ])([\d\.]+)/i, /cfnetwork\/.+darwin/i], [[w, /_/g, "."], [m, "iOS"]], [/(mac os x) ?([\w\. ]*)/i, /(macintosh|mac_powerpc\b)(?!.+haiku)/i], [[m, Rr], [w, /_/g, "."]], [/droid ([\w\.]+)\b.+(android[- ]x86|harmonyos)/i], [w, m], [/(android|webos|qnx|bada|rim tablet os|maemo|meego|sailfish)[-\/ ]?([\w\.]*)/i, /(blackberry)\w*\/([\w\.]*)/i, /(tizen|kaios)[\/ ]([\w\.]+)/i, /\((series40);/i], [m, w], [/\(bb(10);/i], [w, [m, N]], [/(?:symbian ?os|symbos|s60(?=;)|series60)[-\/ ]?([\w\.]*)/i], [w, [m, "Symbian"]], [/mozilla\/[\d\.]+ \((?:mobile|tablet|tv|mobile; [\w ]+); rv:.+ gecko\/([\w\.]+)/i], [w, [m, X + " OS"]], [/web0s;.+rt(tv)/i, /\b(?:hp)?wos(?:browser)?\/([\w\.]+)/i], [w, [m, "webOS"]], [/watch(?: ?os[,\/]|\d,\d\/)([\d\.]+)/i], [w, [m, "watchOS"]], [/crkey\/([\d\.]+)/i], [w, [m, k + "cast"]], [/(cros) [\w]+(?:\)| ([\w\.]+)\b)/i], [[m, zr], w], [/panasonic;(viera)/i, /(netrange)mmh/i, /(nettv)\/(\d+\.[\w\.]+)/i, /(nintendo|playstation) ([wids345portablevuch]+)/i, /(xbox); +xbox ([^\);]+)/i, /\b(joli|palm)\b ?(?:os)?\/?([\w\.]*)/i, /(mint)[\/\(\) ]?(\w*)/i, /(mageia|vectorlinux)[; ]/i, /([kxln]?ubuntu|debian|suse|opensuse|gentoo|arch(?= linux)|slackware|fedora|mandriva|centos|pclinuxos|red ?hat|zenwalk|linpus|raspbian|plan 9|minix|risc os|contiki|deepin|manjaro|elementary os|sabayon|linspire)(?: gnu\/linux)?(?: enterprise)?(?:[- ]linux)?(?:-gnu)?[-\/ ]?(?!chrom|package)([-\w\.]*)/i, /(hurd|linux) ?([\w\.]*)/i, /(gnu) ?([\w\.]*)/i, /\b([-frentopcghs]{0,5}bsd|dragonfly)[\/ ]?(?!amd|[ix346]{1,2}86)([\w\.]*)/i, /(haiku) (\w+)/i], [m, w], [/(sunos) ?([\w\.\d]*)/i], [[m, "Solaris"], w], [/((?:open)?solaris)[-\/ ]?([\w\.]*)/i, /(aix) ((\d)(?=\.|\)| )[\w\.])*/i, /\b(beos|os\/2|amigaos|morphos|openvms|fuchsia|hp-ux|serenityos)/i, /(unix) ?([\w\.]*)/i], [m, w]] }, de = function(W, $) {
|
|
2131
|
+
if (typeof W === d && ($ = W, W = n), !(this instanceof de))
|
|
2132
|
+
return new de(W, $).getResult();
|
|
2124
2133
|
var V = typeof t !== s && t.navigator ? t.navigator : n, q = W || (V && V.userAgent ? V.userAgent : a), Te = V && V.userAgentData ? V.userAgentData : n, he = $ ? Oa($r, $) : $r, j = V && V.userAgent == q;
|
|
2125
2134
|
return this.getBrowser = function() {
|
|
2126
2135
|
var D = {};
|
|
@@ -2142,13 +2151,13 @@ var Xo = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
|
2142
2151
|
}, this.getUA = function() {
|
|
2143
2152
|
return q;
|
|
2144
2153
|
}, this.setUA = function(D) {
|
|
2145
|
-
return q = typeof D ===
|
|
2154
|
+
return q = typeof D === c && D.length > A ? Ht(D, A) : D, this;
|
|
2146
2155
|
}, this.setUA(q), this;
|
|
2147
2156
|
};
|
|
2148
|
-
|
|
2157
|
+
de.VERSION = i, de.BROWSER = pt([m, w, h]), de.CPU = pt([y]), de.DEVICE = pt([u, p, f, g, v, T, x, E, F]), de.ENGINE = de.OS = pt([m, w]), r.exports && (e = r.exports = de), e.UAParser = de;
|
|
2149
2158
|
var je = typeof t !== s && (t.jQuery || t.Zepto);
|
|
2150
2159
|
if (je && !je.ua) {
|
|
2151
|
-
var ht = new
|
|
2160
|
+
var ht = new de();
|
|
2152
2161
|
je.ua = ht.getResult(), je.ua.get = function() {
|
|
2153
2162
|
return ht.getUA();
|
|
2154
2163
|
}, je.ua.set = function(W) {
|
|
@@ -2165,7 +2174,7 @@ Object.defineProperty(I, "__esModule", { value: !0 });
|
|
|
2165
2174
|
function Ko(r) {
|
|
2166
2175
|
return r && typeof r == "object" && "default" in r ? r.default : r;
|
|
2167
2176
|
}
|
|
2168
|
-
var te = z, U = Ko(te), qn = Qo, Ne = new qn(), re = Ne.getBrowser(), Zo = Ne.getCPU(), se = Ne.getDevice(), Mr = Ne.getEngine(), ke = Ne.getOS(),
|
|
2177
|
+
var te = z, U = Ko(te), qn = Qo, Ne = new qn(), re = Ne.getBrowser(), Zo = Ne.getCPU(), se = Ne.getDevice(), Mr = Ne.getEngine(), ke = Ne.getOS(), ct = Ne.getUA(), Un = function(e) {
|
|
2169
2178
|
return Ne.setUA(e);
|
|
2170
2179
|
}, ut = function(e) {
|
|
2171
2180
|
if (!e) {
|
|
@@ -2192,7 +2201,7 @@ var te = z, U = Ko(te), qn = Qo, Ne = new qn(), re = Ne.getBrowser(), Zo = Ne.ge
|
|
|
2192
2201
|
device: se,
|
|
2193
2202
|
engine: Mr,
|
|
2194
2203
|
os: ke,
|
|
2195
|
-
ua:
|
|
2204
|
+
ua: ct,
|
|
2196
2205
|
setUa: Un,
|
|
2197
2206
|
parseUserAgent: ut
|
|
2198
2207
|
});
|
|
@@ -2307,12 +2316,12 @@ function sl(r, e) {
|
|
|
2307
2316
|
return yt(r);
|
|
2308
2317
|
}
|
|
2309
2318
|
function ol(r, e) {
|
|
2310
|
-
return ll(r) ||
|
|
2319
|
+
return ll(r) || dl(r, e) || cl(r, e) || ul();
|
|
2311
2320
|
}
|
|
2312
2321
|
function ll(r) {
|
|
2313
2322
|
if (Array.isArray(r)) return r;
|
|
2314
2323
|
}
|
|
2315
|
-
function
|
|
2324
|
+
function dl(r, e) {
|
|
2316
2325
|
var t = r == null ? null : typeof Symbol < "u" && r[Symbol.iterator] || r["@@iterator"];
|
|
2317
2326
|
if (t != null) {
|
|
2318
2327
|
var n = [], i = !0, a = !1, o, l;
|
|
@@ -2331,7 +2340,7 @@ function cl(r, e) {
|
|
|
2331
2340
|
return n;
|
|
2332
2341
|
}
|
|
2333
2342
|
}
|
|
2334
|
-
function
|
|
2343
|
+
function cl(r, e) {
|
|
2335
2344
|
if (r) {
|
|
2336
2345
|
if (typeof r == "string") return en(r, e);
|
|
2337
2346
|
var t = Object.prototype.toString.call(r).slice(8, -1);
|
|
@@ -2486,14 +2495,14 @@ var J = {
|
|
|
2486
2495
|
};
|
|
2487
2496
|
};
|
|
2488
2497
|
function yl(r) {
|
|
2489
|
-
var e = r ? ut(r) : Xn, t = e.device, n = e.browser, i = e.engine, a = e.os, o = e.ua, l = pl(t.type), s = l.isBrowser,
|
|
2498
|
+
var e = r ? ut(r) : Xn, t = e.device, n = e.browser, i = e.engine, a = e.os, o = e.ua, l = pl(t.type), s = l.isBrowser, d = l.isMobile, c = l.isTablet, h = l.isSmartTV, u = l.isConsole, m = l.isWearable, f = l.isEmbedded;
|
|
2490
2499
|
if (s)
|
|
2491
2500
|
return hl(s, n, i, a, o);
|
|
2492
2501
|
if (h)
|
|
2493
2502
|
return gl(h, i, a, o);
|
|
2494
2503
|
if (u)
|
|
2495
2504
|
return vl(u, i, a, o);
|
|
2496
|
-
if (
|
|
2505
|
+
if (d || c)
|
|
2497
2506
|
return tn(l, t, a, o);
|
|
2498
2507
|
if (m)
|
|
2499
2508
|
return wl(m, i, a, o);
|
|
@@ -2542,10 +2551,10 @@ var Qn = function(e) {
|
|
|
2542
2551
|
}, li = function(e) {
|
|
2543
2552
|
var t = e.name;
|
|
2544
2553
|
return t === Ke.MAC_OS;
|
|
2545
|
-
},
|
|
2554
|
+
}, di = function(e) {
|
|
2546
2555
|
var t = e.name;
|
|
2547
2556
|
return t === Ke.WindowsPhone;
|
|
2548
|
-
},
|
|
2557
|
+
}, ci = function(e) {
|
|
2549
2558
|
var t = e.name;
|
|
2550
2559
|
return t === Ke.IOS;
|
|
2551
2560
|
}, ui = function(e) {
|
|
@@ -2634,8 +2643,8 @@ function Li(r) {
|
|
|
2634
2643
|
isBrowser: Pt(t),
|
|
2635
2644
|
isDesktop: Pt(t),
|
|
2636
2645
|
isAndroid: si(i),
|
|
2637
|
-
isWinPhone:
|
|
2638
|
-
isIOS:
|
|
2646
|
+
isWinPhone: di(i),
|
|
2647
|
+
isIOS: ci(i) || ve(),
|
|
2639
2648
|
isChrome: pi(n),
|
|
2640
2649
|
isFirefox: mi(n),
|
|
2641
2650
|
isSafari: vi(n),
|
|
@@ -2667,7 +2676,7 @@ function Li(r) {
|
|
|
2667
2676
|
isSamsungBrowser: Ti(n)
|
|
2668
2677
|
};
|
|
2669
2678
|
}
|
|
2670
|
-
var Di = Jn(se), _i = ti(se), Fi = ei(se), xl = ri(se), Tl = wi(re) || ve(), Sl = hi(re), zt = Zn(se) || ve(), Vi = Qn(se), zi = Kn(se) || ve(), Ri = Pt(se), Cl = Pt(se), Bi = si(ke), Wi =
|
|
2679
|
+
var Di = Jn(se), _i = ti(se), Fi = ei(se), xl = ri(se), Tl = wi(re) || ve(), Sl = hi(re), zt = Zn(se) || ve(), Vi = Qn(se), zi = Kn(se) || ve(), Ri = Pt(se), Cl = Pt(se), Bi = si(ke), Wi = di(ke), Gi = ci(ke) || ve(), El = pi(re), Pl = mi(re), Ml = vi(re), Ol = bi(re), $i = yi(re), Il = ui(ke), Al = fi(ke), Nl = Si(re), kl = Ci(re), Ll = Ei(re), Dl = ni(se), _l = ii(se), Fl = Pi(Mr), Vl = Mi(Mr), zl = ki(ct), Rl = Mt(re) || Ye(ct), Bl = gi(re), Wl = ai(se), Gl = Ii(), $l = ve(), jl = Ai(), Hl = Ni(), Yl = Oi(), ql = Ye(ct), Ul = Mt(re) && !Ye(ct), Xl = oi(ke), Ql = li(ke), Kl = xi(re), Zl = Ti(re), Jl = function(e) {
|
|
2671
2680
|
if (!e || typeof e != "string") {
|
|
2672
2681
|
console.error("No valid user agent string was provided");
|
|
2673
2682
|
return;
|
|
@@ -2680,48 +2689,48 @@ var Di = Jn(se), _i = ti(se), Fi = ei(se), xl = ri(se), Tl = wi(re) || ve(), Sl
|
|
|
2680
2689
|
engine: o,
|
|
2681
2690
|
ua: l
|
|
2682
2691
|
});
|
|
2683
|
-
},
|
|
2692
|
+
}, ed = function(e) {
|
|
2684
2693
|
var t = e.renderWithFragment, n = e.children, i = le(e, ["renderWithFragment", "children"]);
|
|
2685
2694
|
return Bi ? t ? U.createElement(te.Fragment, null, n) : U.createElement("div", i, n) : null;
|
|
2686
|
-
},
|
|
2695
|
+
}, td = function(e) {
|
|
2687
2696
|
var t = e.renderWithFragment, n = e.children, i = le(e, ["renderWithFragment", "children"]);
|
|
2688
2697
|
return Ri ? t ? U.createElement(te.Fragment, null, n) : U.createElement("div", i, n) : null;
|
|
2689
|
-
},
|
|
2698
|
+
}, rd = function(e) {
|
|
2690
2699
|
var t = e.renderWithFragment, n = e.children, i = le(e, ["renderWithFragment", "children"]);
|
|
2691
2700
|
return $i ? t ? U.createElement(te.Fragment, null, n) : U.createElement("div", i, n) : null;
|
|
2692
|
-
},
|
|
2701
|
+
}, nd = function(e) {
|
|
2693
2702
|
var t = e.renderWithFragment, n = e.children, i = le(e, ["renderWithFragment", "children"]);
|
|
2694
2703
|
return Gi ? t ? U.createElement(te.Fragment, null, n) : U.createElement("div", i, n) : null;
|
|
2695
|
-
},
|
|
2704
|
+
}, id = function(e) {
|
|
2696
2705
|
var t = e.renderWithFragment, n = e.children, i = le(e, ["renderWithFragment", "children"]);
|
|
2697
2706
|
return zt ? t ? U.createElement(te.Fragment, null, n) : U.createElement("div", i, n) : null;
|
|
2698
|
-
},
|
|
2707
|
+
}, ad = function(e) {
|
|
2699
2708
|
var t = e.renderWithFragment, n = e.children, i = le(e, ["renderWithFragment", "children"]);
|
|
2700
2709
|
return zi ? t ? U.createElement(te.Fragment, null, n) : U.createElement("div", i, n) : null;
|
|
2701
|
-
},
|
|
2710
|
+
}, sd = function(e) {
|
|
2702
2711
|
var t = e.renderWithFragment, n = e.children, i = le(e, ["renderWithFragment", "children"]);
|
|
2703
2712
|
return Wi ? t ? U.createElement(te.Fragment, null, n) : U.createElement("div", i, n) : null;
|
|
2704
|
-
},
|
|
2713
|
+
}, od = function(e) {
|
|
2705
2714
|
var t = e.renderWithFragment, n = e.children;
|
|
2706
2715
|
e.viewClassName, e.style;
|
|
2707
2716
|
var i = le(e, ["renderWithFragment", "children", "viewClassName", "style"]);
|
|
2708
2717
|
return Vi ? t ? U.createElement(te.Fragment, null, n) : U.createElement("div", i, n) : null;
|
|
2709
|
-
},
|
|
2718
|
+
}, ld = function(e) {
|
|
2710
2719
|
var t = e.renderWithFragment, n = e.children, i = le(e, ["renderWithFragment", "children"]);
|
|
2711
2720
|
return Di ? t ? U.createElement(te.Fragment, null, n) : U.createElement("div", i, n) : null;
|
|
2712
|
-
},
|
|
2721
|
+
}, dd = function(e) {
|
|
2713
2722
|
var t = e.renderWithFragment, n = e.children, i = le(e, ["renderWithFragment", "children"]);
|
|
2714
2723
|
return _i ? t ? U.createElement(te.Fragment, null, n) : U.createElement("div", i, n) : null;
|
|
2715
|
-
},
|
|
2724
|
+
}, cd = function(e) {
|
|
2716
2725
|
var t = e.renderWithFragment, n = e.children, i = le(e, ["renderWithFragment", "children"]);
|
|
2717
2726
|
return Fi ? t ? U.createElement(te.Fragment, null, n) : U.createElement("div", i, n) : null;
|
|
2718
|
-
},
|
|
2727
|
+
}, ud = function(e) {
|
|
2719
2728
|
var t = e.renderWithFragment, n = e.children;
|
|
2720
2729
|
e.viewClassName, e.style;
|
|
2721
2730
|
var i = e.condition, a = le(e, ["renderWithFragment", "children", "viewClassName", "style", "condition"]);
|
|
2722
2731
|
return i ? t ? U.createElement(te.Fragment, null, n) : U.createElement("div", a, n) : null;
|
|
2723
2732
|
};
|
|
2724
|
-
function
|
|
2733
|
+
function fd(r) {
|
|
2725
2734
|
return /* @__PURE__ */ function(e) {
|
|
2726
2735
|
il(t, e);
|
|
2727
2736
|
function t(n) {
|
|
@@ -2772,7 +2781,7 @@ function fc(r) {
|
|
|
2772
2781
|
}]), t;
|
|
2773
2782
|
}(U.Component);
|
|
2774
2783
|
}
|
|
2775
|
-
function
|
|
2784
|
+
function pd() {
|
|
2776
2785
|
var r = te.useState(function() {
|
|
2777
2786
|
var a = window.innerWidth > window.innerHeight ? 90 : 0;
|
|
2778
2787
|
return {
|
|
@@ -2798,24 +2807,24 @@ function ji(r) {
|
|
|
2798
2807
|
var e = r || window.navigator.userAgent;
|
|
2799
2808
|
return ut(e);
|
|
2800
2809
|
}
|
|
2801
|
-
function
|
|
2810
|
+
function md(r) {
|
|
2802
2811
|
var e = r || window.navigator.userAgent, t = ji(e), n = Li(t);
|
|
2803
2812
|
return [n, t];
|
|
2804
2813
|
}
|
|
2805
|
-
I.AndroidView =
|
|
2814
|
+
I.AndroidView = ed;
|
|
2806
2815
|
I.BrowserTypes = ne;
|
|
2807
|
-
I.BrowserView =
|
|
2808
|
-
I.ConsoleView =
|
|
2809
|
-
I.CustomView =
|
|
2810
|
-
I.IEView =
|
|
2811
|
-
I.IOSView =
|
|
2812
|
-
I.MobileOnlyView =
|
|
2813
|
-
I.MobileView =
|
|
2816
|
+
I.BrowserView = td;
|
|
2817
|
+
I.ConsoleView = dd;
|
|
2818
|
+
I.CustomView = ud;
|
|
2819
|
+
I.IEView = rd;
|
|
2820
|
+
I.IOSView = nd;
|
|
2821
|
+
I.MobileOnlyView = od;
|
|
2822
|
+
I.MobileView = id;
|
|
2814
2823
|
I.OsTypes = Ke;
|
|
2815
|
-
I.SmartTVView =
|
|
2816
|
-
I.TabletView =
|
|
2817
|
-
I.WearableView =
|
|
2818
|
-
I.WinPhoneView =
|
|
2824
|
+
I.SmartTVView = ld;
|
|
2825
|
+
I.TabletView = ad;
|
|
2826
|
+
I.WearableView = cd;
|
|
2827
|
+
I.WinPhoneView = sd;
|
|
2819
2828
|
I.browserName = Ll;
|
|
2820
2829
|
I.browserVersion = kl;
|
|
2821
2830
|
I.deviceDetect = yl;
|
|
@@ -2830,7 +2839,7 @@ I.isBrowser = Ri;
|
|
|
2830
2839
|
I.isChrome = El;
|
|
2831
2840
|
I.isChromium = Sl;
|
|
2832
2841
|
I.isConsole = _i;
|
|
2833
|
-
var
|
|
2842
|
+
var hd = I.isDesktop = Cl;
|
|
2834
2843
|
I.isEdge = Rl;
|
|
2835
2844
|
I.isEdgeChromium = ql;
|
|
2836
2845
|
I.isElectron = Yl;
|
|
@@ -2864,9 +2873,9 @@ I.osVersion = Il;
|
|
|
2864
2873
|
I.parseUserAgent = ut;
|
|
2865
2874
|
I.setUserAgent = ml;
|
|
2866
2875
|
I.useDeviceData = ji;
|
|
2867
|
-
I.useDeviceSelectors =
|
|
2868
|
-
I.useMobileOrientation =
|
|
2869
|
-
I.withOrientationChange =
|
|
2876
|
+
I.useDeviceSelectors = md;
|
|
2877
|
+
I.useMobileOrientation = pd;
|
|
2878
|
+
I.withOrientationChange = fd;
|
|
2870
2879
|
function rn(r) {
|
|
2871
2880
|
return r !== null && typeof r == "object" && "constructor" in r && r.constructor === Object;
|
|
2872
2881
|
}
|
|
@@ -2934,7 +2943,7 @@ function Ee() {
|
|
|
2934
2943
|
const r = typeof document < "u" ? document : {};
|
|
2935
2944
|
return Ar(r, Hi), r;
|
|
2936
2945
|
}
|
|
2937
|
-
const
|
|
2946
|
+
const gd = {
|
|
2938
2947
|
document: Hi,
|
|
2939
2948
|
navigator: {
|
|
2940
2949
|
userAgent: ""
|
|
@@ -2994,12 +3003,12 @@ const gc = {
|
|
|
2994
3003
|
};
|
|
2995
3004
|
function oe() {
|
|
2996
3005
|
const r = typeof window < "u" ? window : {};
|
|
2997
|
-
return Ar(r,
|
|
3006
|
+
return Ar(r, gd), r;
|
|
2998
3007
|
}
|
|
2999
|
-
function
|
|
3008
|
+
function vd(r) {
|
|
3000
3009
|
return r === void 0 && (r = ""), r.trim().split(" ").filter((e) => !!e.trim());
|
|
3001
3010
|
}
|
|
3002
|
-
function
|
|
3011
|
+
function wd(r) {
|
|
3003
3012
|
const e = r;
|
|
3004
3013
|
Object.keys(e).forEach((t) => {
|
|
3005
3014
|
try {
|
|
@@ -3012,35 +3021,35 @@ function wc(r) {
|
|
|
3012
3021
|
}
|
|
3013
3022
|
});
|
|
3014
3023
|
}
|
|
3015
|
-
function
|
|
3024
|
+
function dr(r, e) {
|
|
3016
3025
|
return e === void 0 && (e = 0), setTimeout(r, e);
|
|
3017
3026
|
}
|
|
3018
3027
|
function Ot() {
|
|
3019
3028
|
return Date.now();
|
|
3020
3029
|
}
|
|
3021
|
-
function
|
|
3030
|
+
function bd(r) {
|
|
3022
3031
|
const e = oe();
|
|
3023
3032
|
let t;
|
|
3024
3033
|
return e.getComputedStyle && (t = e.getComputedStyle(r, null)), !t && r.currentStyle && (t = r.currentStyle), t || (t = r.style), t;
|
|
3025
3034
|
}
|
|
3026
|
-
function
|
|
3035
|
+
function yd(r, e) {
|
|
3027
3036
|
e === void 0 && (e = "x");
|
|
3028
3037
|
const t = oe();
|
|
3029
3038
|
let n, i, a;
|
|
3030
|
-
const o =
|
|
3039
|
+
const o = bd(r);
|
|
3031
3040
|
return t.WebKitCSSMatrix ? (i = o.transform || o.webkitTransform, i.split(",").length > 6 && (i = i.split(", ").map((l) => l.replace(",", ".")).join(", ")), a = new t.WebKitCSSMatrix(i === "none" ? "" : i)) : (a = o.MozTransform || o.OTransform || o.MsTransform || o.msTransform || o.transform || o.getPropertyValue("transform").replace("translate(", "matrix(1, 0, 0, 1,"), n = a.toString().split(",")), e === "x" && (t.WebKitCSSMatrix ? i = a.m41 : n.length === 16 ? i = parseFloat(n[12]) : i = parseFloat(n[4])), e === "y" && (t.WebKitCSSMatrix ? i = a.m42 : n.length === 16 ? i = parseFloat(n[13]) : i = parseFloat(n[5])), i || 0;
|
|
3032
3041
|
}
|
|
3033
3042
|
function wt(r) {
|
|
3034
3043
|
return typeof r == "object" && r !== null && r.constructor && Object.prototype.toString.call(r).slice(8, -1) === "Object";
|
|
3035
3044
|
}
|
|
3036
|
-
function
|
|
3045
|
+
function xd(r) {
|
|
3037
3046
|
return typeof window < "u" && typeof window.HTMLElement < "u" ? r instanceof HTMLElement : r && (r.nodeType === 1 || r.nodeType === 11);
|
|
3038
3047
|
}
|
|
3039
3048
|
function ie() {
|
|
3040
3049
|
const r = Object(arguments.length <= 0 ? void 0 : arguments[0]), e = ["__proto__", "constructor", "prototype"];
|
|
3041
3050
|
for (let t = 1; t < arguments.length; t += 1) {
|
|
3042
3051
|
const n = t < 0 || arguments.length <= t ? void 0 : arguments[t];
|
|
3043
|
-
if (n != null && !
|
|
3052
|
+
if (n != null && !xd(n)) {
|
|
3044
3053
|
const i = Object.keys(Object(n)).filter((a) => e.indexOf(a) < 0);
|
|
3045
3054
|
for (let a = 0, o = i.length; a < o; a += 1) {
|
|
3046
3055
|
const l = i[a], s = Object.getOwnPropertyDescriptor(n, l);
|
|
@@ -3063,13 +3072,13 @@ function Yi(r) {
|
|
|
3063
3072
|
let o = null, l;
|
|
3064
3073
|
const s = e.params.speed;
|
|
3065
3074
|
e.wrapperEl.style.scrollSnapType = "none", i.cancelAnimationFrame(e.cssModeFrameID);
|
|
3066
|
-
const
|
|
3075
|
+
const d = t > a ? "next" : "prev", c = (u, m) => d === "next" && u >= m || d === "prev" && u <= m, h = () => {
|
|
3067
3076
|
l = (/* @__PURE__ */ new Date()).getTime(), o === null && (o = l);
|
|
3068
3077
|
const u = Math.max(Math.min((l - o) / s, 1), 0), m = 0.5 - Math.cos(u * Math.PI) / 2;
|
|
3069
3078
|
let f = a + m * (t - a);
|
|
3070
|
-
if (
|
|
3079
|
+
if (c(f, t) && (f = t), e.wrapperEl.scrollTo({
|
|
3071
3080
|
[n]: f
|
|
3072
|
-
}),
|
|
3081
|
+
}), c(f, t)) {
|
|
3073
3082
|
e.wrapperEl.style.overflow = "hidden", e.wrapperEl.style.scrollSnapType = "", setTimeout(() => {
|
|
3074
3083
|
e.wrapperEl.style.overflow = "", e.wrapperEl.scrollTo({
|
|
3075
3084
|
[n]: f
|
|
@@ -3089,7 +3098,7 @@ function we(r, e) {
|
|
|
3089
3098
|
const t = [...r.children];
|
|
3090
3099
|
return r instanceof HTMLSlotElement && t.push(...r.assignedElements()), e ? t.filter((n) => n.matches(e)) : t;
|
|
3091
3100
|
}
|
|
3092
|
-
function
|
|
3101
|
+
function Td(r, e) {
|
|
3093
3102
|
const t = e.contains(r);
|
|
3094
3103
|
return !t && e instanceof HTMLSlotElement ? [...e.assignedElements()].includes(r) : t;
|
|
3095
3104
|
}
|
|
@@ -3103,9 +3112,9 @@ function It(r) {
|
|
|
3103
3112
|
function At(r, e) {
|
|
3104
3113
|
e === void 0 && (e = []);
|
|
3105
3114
|
const t = document.createElement(r);
|
|
3106
|
-
return t.classList.add(...Array.isArray(e) ? e :
|
|
3115
|
+
return t.classList.add(...Array.isArray(e) ? e : vd(e)), t;
|
|
3107
3116
|
}
|
|
3108
|
-
function
|
|
3117
|
+
function Sd(r, e) {
|
|
3109
3118
|
const t = [];
|
|
3110
3119
|
for (; r.previousElementSibling; ) {
|
|
3111
3120
|
const n = r.previousElementSibling;
|
|
@@ -3113,7 +3122,7 @@ function Sc(r, e) {
|
|
|
3113
3122
|
}
|
|
3114
3123
|
return t;
|
|
3115
3124
|
}
|
|
3116
|
-
function
|
|
3125
|
+
function Cd(r, e) {
|
|
3117
3126
|
const t = [];
|
|
3118
3127
|
for (; r.nextElementSibling; ) {
|
|
3119
3128
|
const n = r.nextElementSibling;
|
|
@@ -3139,13 +3148,13 @@ function Ui(r, e) {
|
|
|
3139
3148
|
e ? n.matches(e) && t.push(n) : t.push(n), n = n.parentElement;
|
|
3140
3149
|
return t;
|
|
3141
3150
|
}
|
|
3142
|
-
function
|
|
3151
|
+
function Ed(r, e) {
|
|
3143
3152
|
function t(n) {
|
|
3144
3153
|
n.target === r && (e.call(r, n), r.removeEventListener("transitionend", t));
|
|
3145
3154
|
}
|
|
3146
3155
|
e && r.addEventListener("transitionend", t);
|
|
3147
3156
|
}
|
|
3148
|
-
function
|
|
3157
|
+
function cr(r, e, t) {
|
|
3149
3158
|
const n = oe();
|
|
3150
3159
|
return r[e === "width" ? "offsetWidth" : "offsetHeight"] + parseFloat(n.getComputedStyle(r, null).getPropertyValue(e === "width" ? "margin-right" : "margin-top")) + parseFloat(n.getComputedStyle(r, null).getPropertyValue(e === "width" ? "margin-left" : "margin-bottom"));
|
|
3151
3160
|
}
|
|
@@ -3160,7 +3169,7 @@ function Xi(r, e, t, n) {
|
|
|
3160
3169
|
}
|
|
3161
3170
|
}), t;
|
|
3162
3171
|
}
|
|
3163
|
-
function
|
|
3172
|
+
function Pd(r) {
|
|
3164
3173
|
let {
|
|
3165
3174
|
swiper: e,
|
|
3166
3175
|
extendParams: t,
|
|
@@ -3205,10 +3214,10 @@ function Pc(r) {
|
|
|
3205
3214
|
function s(f) {
|
|
3206
3215
|
f.preventDefault(), !(e.isBeginning && !e.params.loop && !e.params.rewind) && (e.slidePrev(), i("navigationPrev"));
|
|
3207
3216
|
}
|
|
3208
|
-
function
|
|
3217
|
+
function d(f) {
|
|
3209
3218
|
f.preventDefault(), !(e.isEnd && !e.params.loop && !e.params.rewind) && (e.slideNext(), i("navigationNext"));
|
|
3210
3219
|
}
|
|
3211
|
-
function
|
|
3220
|
+
function c() {
|
|
3212
3221
|
const f = e.params.navigation;
|
|
3213
3222
|
if (e.params.navigation = Xi(e, e.originalParams.navigation, e.params.navigation, {
|
|
3214
3223
|
nextEl: "swiper-button-next",
|
|
@@ -3220,7 +3229,7 @@ function Pc(r) {
|
|
|
3220
3229
|
prevEl: w
|
|
3221
3230
|
}), p = Z(p), w = Z(w);
|
|
3222
3231
|
const y = (g, v) => {
|
|
3223
|
-
g && g.addEventListener("click", v === "next" ?
|
|
3232
|
+
g && g.addEventListener("click", v === "next" ? d : s), !e.enabled && g && g.classList.add(...f.lockClass.split(" "));
|
|
3224
3233
|
};
|
|
3225
3234
|
p.forEach((g) => y(g, "next")), w.forEach((g) => y(g, "prev"));
|
|
3226
3235
|
}
|
|
@@ -3231,12 +3240,12 @@ function Pc(r) {
|
|
|
3231
3240
|
} = e.navigation;
|
|
3232
3241
|
f = Z(f), p = Z(p);
|
|
3233
3242
|
const w = (y, g) => {
|
|
3234
|
-
y.removeEventListener("click", g === "next" ?
|
|
3243
|
+
y.removeEventListener("click", g === "next" ? d : s), y.classList.remove(...e.params.navigation.disabledClass.split(" "));
|
|
3235
3244
|
};
|
|
3236
3245
|
f.forEach((y) => w(y, "next")), p.forEach((y) => w(y, "prev"));
|
|
3237
3246
|
}
|
|
3238
3247
|
n("init", () => {
|
|
3239
|
-
e.params.navigation.enabled === !1 ? m() : (
|
|
3248
|
+
e.params.navigation.enabled === !1 ? m() : (c(), l());
|
|
3240
3249
|
}), n("toEdge fromEdge lock unlock", () => {
|
|
3241
3250
|
l();
|
|
3242
3251
|
}), n("destroy", () => {
|
|
@@ -3270,7 +3279,7 @@ function Pc(r) {
|
|
|
3270
3279
|
}
|
|
3271
3280
|
});
|
|
3272
3281
|
const u = () => {
|
|
3273
|
-
e.el.classList.remove(...e.params.navigation.navigationDisabledClass.split(" ")),
|
|
3282
|
+
e.el.classList.remove(...e.params.navigation.navigationDisabledClass.split(" ")), c(), l();
|
|
3274
3283
|
}, m = () => {
|
|
3275
3284
|
e.el.classList.add(...e.params.navigation.navigationDisabledClass.split(" ")), h();
|
|
3276
3285
|
};
|
|
@@ -3278,14 +3287,14 @@ function Pc(r) {
|
|
|
3278
3287
|
enable: u,
|
|
3279
3288
|
disable: m,
|
|
3280
3289
|
update: l,
|
|
3281
|
-
init:
|
|
3290
|
+
init: c,
|
|
3282
3291
|
destroy: h
|
|
3283
3292
|
});
|
|
3284
3293
|
}
|
|
3285
3294
|
function it(r) {
|
|
3286
3295
|
return r === void 0 && (r = ""), `.${r.trim().replace(/([\.:!+\/])/g, "\\$1").replace(/ /g, ".")}`;
|
|
3287
3296
|
}
|
|
3288
|
-
function
|
|
3297
|
+
function Md(r) {
|
|
3289
3298
|
let {
|
|
3290
3299
|
swiper: e,
|
|
3291
3300
|
extendParams: t,
|
|
@@ -3332,13 +3341,13 @@ function Mc(r) {
|
|
|
3332
3341
|
function s() {
|
|
3333
3342
|
return !e.params.pagination.el || !e.pagination.el || Array.isArray(e.pagination.el) && e.pagination.el.length === 0;
|
|
3334
3343
|
}
|
|
3335
|
-
function
|
|
3344
|
+
function d(g, v) {
|
|
3336
3345
|
const {
|
|
3337
3346
|
bulletActiveClass: x
|
|
3338
3347
|
} = e.params.pagination;
|
|
3339
3348
|
g && (g = g[`${v === "prev" ? "previous" : "next"}ElementSibling`], g && (g.classList.add(`${x}-${v}`), g = g[`${v === "prev" ? "previous" : "next"}ElementSibling`], g && g.classList.add(`${x}-${v}-${v}`)));
|
|
3340
3349
|
}
|
|
3341
|
-
function
|
|
3350
|
+
function c(g, v, x) {
|
|
3342
3351
|
if (g = g % x, v = v % x, v === g + 1)
|
|
3343
3352
|
return "next";
|
|
3344
3353
|
if (v === g - 1)
|
|
@@ -3352,7 +3361,7 @@ function Mc(r) {
|
|
|
3352
3361
|
const x = Nt(v) * e.params.slidesPerGroup;
|
|
3353
3362
|
if (e.params.loop) {
|
|
3354
3363
|
if (e.realIndex === x) return;
|
|
3355
|
-
const T =
|
|
3364
|
+
const T = c(e.realIndex, x, e.slides.length);
|
|
3356
3365
|
T === "next" ? e.slideNext() : T === "previous" ? e.slidePrev() : e.slideToLoop(x);
|
|
3357
3366
|
} else
|
|
3358
3367
|
e.slideTo(x);
|
|
@@ -3367,7 +3376,7 @@ function Mc(r) {
|
|
|
3367
3376
|
if (e.params.loop ? (E = e.previousRealIndex || 0, T = e.params.slidesPerGroup > 1 ? Math.floor(e.realIndex / e.params.slidesPerGroup) : e.realIndex) : typeof e.snapIndex < "u" ? (T = e.snapIndex, E = e.previousSnapIndex) : (E = e.previousIndex || 0, T = e.activeIndex || 0), v.type === "bullets" && e.pagination.bullets && e.pagination.bullets.length > 0) {
|
|
3368
3377
|
const C = e.pagination.bullets;
|
|
3369
3378
|
let S, M, N;
|
|
3370
|
-
if (v.dynamicBullets && (o =
|
|
3379
|
+
if (v.dynamicBullets && (o = cr(C[0], e.isHorizontal() ? "width" : "height"), x.forEach((P) => {
|
|
3371
3380
|
P.style[e.isHorizontal() ? "width" : "height"] = `${o * (v.dynamicMainBullets + 4)}px`;
|
|
3372
3381
|
}), v.dynamicMainBullets > 1 && E !== void 0 && (l += T - (E || 0), l > v.dynamicMainBullets - 1 ? l = v.dynamicMainBullets - 1 : l < 0 && (l = 0)), S = Math.max(T - l, 0), M = S + (Math.min(C.length, v.dynamicMainBullets) - 1), N = (M + S) / 2), C.forEach((P) => {
|
|
3373
3382
|
const k = [...["", "-next", "-next-next", "-prev", "-prev-prev", "-main"].map((R) => `${v.bulletActiveClass}${R}`)].map((R) => typeof R == "string" && R.includes(" ") ? R.split(" ") : R).flat();
|
|
@@ -3375,7 +3384,7 @@ function Mc(r) {
|
|
|
3375
3384
|
}), x.length > 1)
|
|
3376
3385
|
C.forEach((P) => {
|
|
3377
3386
|
const k = Nt(P);
|
|
3378
|
-
k === T ? P.classList.add(...v.bulletActiveClass.split(" ")) : e.isElement && P.setAttribute("part", "bullet"), v.dynamicBullets && (k >= S && k <= M && P.classList.add(...`${v.bulletActiveClass}-main`.split(" ")), k === S &&
|
|
3387
|
+
k === T ? P.classList.add(...v.bulletActiveClass.split(" ")) : e.isElement && P.setAttribute("part", "bullet"), v.dynamicBullets && (k >= S && k <= M && P.classList.add(...`${v.bulletActiveClass}-main`.split(" ")), k === S && d(P, "prev"), k === M && d(P, "next"));
|
|
3379
3388
|
});
|
|
3380
3389
|
else {
|
|
3381
3390
|
const P = C[T];
|
|
@@ -3385,7 +3394,7 @@ function Mc(r) {
|
|
|
3385
3394
|
const k = C[S], R = C[M];
|
|
3386
3395
|
for (let X = S; X <= M; X += 1)
|
|
3387
3396
|
C[X] && C[X].classList.add(...`${v.bulletActiveClass}-main`.split(" "));
|
|
3388
|
-
|
|
3397
|
+
d(k, "prev"), d(R, "next");
|
|
3389
3398
|
}
|
|
3390
3399
|
}
|
|
3391
3400
|
if (v.dynamicBullets) {
|
|
@@ -3506,7 +3515,7 @@ function Mc(r) {
|
|
|
3506
3515
|
destroy: p
|
|
3507
3516
|
});
|
|
3508
3517
|
}
|
|
3509
|
-
function
|
|
3518
|
+
function Od(r) {
|
|
3510
3519
|
let {
|
|
3511
3520
|
swiper: e,
|
|
3512
3521
|
extendParams: t,
|
|
@@ -3529,14 +3538,14 @@ function Oc(r) {
|
|
|
3529
3538
|
pauseOnMouseEnter: !1
|
|
3530
3539
|
}
|
|
3531
3540
|
});
|
|
3532
|
-
let o, l, s = a && a.autoplay ? a.autoplay.delay : 3e3,
|
|
3541
|
+
let o, l, s = a && a.autoplay ? a.autoplay.delay : 3e3, d = a && a.autoplay ? a.autoplay.delay : 3e3, c, h = (/* @__PURE__ */ new Date()).getTime(), u, m, f, p, w, y, g;
|
|
3533
3542
|
function v(B) {
|
|
3534
3543
|
!e || e.destroyed || !e.wrapperEl || B.target === e.wrapperEl && (e.wrapperEl.removeEventListener("transitionend", v), !(g || B.detail && B.detail.bySwiperTouchMove) && S());
|
|
3535
3544
|
}
|
|
3536
3545
|
const x = () => {
|
|
3537
3546
|
if (e.destroyed || !e.autoplay.running) return;
|
|
3538
|
-
e.autoplay.paused ? u = !0 : u && (
|
|
3539
|
-
const B = e.autoplay.paused ?
|
|
3547
|
+
e.autoplay.paused ? u = !0 : u && (d = c, u = !1);
|
|
3548
|
+
const B = e.autoplay.paused ? c : h + d - (/* @__PURE__ */ new Date()).getTime();
|
|
3540
3549
|
e.autoplay.timeLeft = B, i("autoplayTimeLeft", B, B / s), l = requestAnimationFrame(() => {
|
|
3541
3550
|
x();
|
|
3542
3551
|
});
|
|
@@ -3547,9 +3556,9 @@ function Oc(r) {
|
|
|
3547
3556
|
if (e.destroyed || !e.autoplay.running) return;
|
|
3548
3557
|
cancelAnimationFrame(l), x();
|
|
3549
3558
|
let G = typeof B > "u" ? e.params.autoplay.delay : B;
|
|
3550
|
-
s = e.params.autoplay.delay,
|
|
3559
|
+
s = e.params.autoplay.delay, d = e.params.autoplay.delay;
|
|
3551
3560
|
const Y = T();
|
|
3552
|
-
!Number.isNaN(Y) && Y > 0 && typeof B > "u" && (G = Y, s = Y,
|
|
3561
|
+
!Number.isNaN(Y) && Y > 0 && typeof B > "u" && (G = Y, s = Y, d = Y), c = G;
|
|
3553
3562
|
const pe = e.params.speed, me = () => {
|
|
3554
3563
|
!e || e.destroyed || (e.params.autoplay.reverseDirection ? !e.isBeginning || e.params.loop || e.params.rewind ? (e.slidePrev(pe, !0, !0), i("autoplay")) : e.params.autoplay.stopOnLastSlide || (e.slideTo(e.slides.length - 1, pe, !0, !0), i("autoplay")) : !e.isEnd || e.params.loop || e.params.rewind ? (e.slideNext(pe, !0, !0), i("autoplay")) : e.params.autoplay.stopOnLastSlide || (e.slideTo(0, pe, !0, !0), i("autoplay")), e.params.cssMode && (h = (/* @__PURE__ */ new Date()).getTime(), requestAnimationFrame(() => {
|
|
3555
3564
|
E();
|
|
@@ -3571,12 +3580,12 @@ function Oc(r) {
|
|
|
3571
3580
|
i("autoplayPause"), e.params.autoplay.waitForTransition ? e.wrapperEl.addEventListener("transitionend", v) : S();
|
|
3572
3581
|
};
|
|
3573
3582
|
if (e.autoplay.paused = !0, G) {
|
|
3574
|
-
w && (
|
|
3583
|
+
w && (c = e.params.autoplay.delay), w = !1, Y();
|
|
3575
3584
|
return;
|
|
3576
3585
|
}
|
|
3577
|
-
|
|
3586
|
+
c = (c || e.params.autoplay.delay) - ((/* @__PURE__ */ new Date()).getTime() - h), !(e.isEnd && c < 0 && !e.params.loop) && (c < 0 && (c = 0), Y());
|
|
3578
3587
|
}, S = () => {
|
|
3579
|
-
e.isEnd &&
|
|
3588
|
+
e.isEnd && c < 0 && !e.params.loop || e.destroyed || !e.autoplay.running || (h = (/* @__PURE__ */ new Date()).getTime(), y ? (y = !1, E(c)) : E(), e.autoplay.paused = !1, i("autoplayResume"));
|
|
3580
3589
|
}, M = () => {
|
|
3581
3590
|
if (e.destroyed || !e.autoplay.running) return;
|
|
3582
3591
|
const B = Ee();
|
|
@@ -3631,7 +3640,7 @@ function Oc(r) {
|
|
|
3631
3640
|
resume: S
|
|
3632
3641
|
});
|
|
3633
3642
|
}
|
|
3634
|
-
function
|
|
3643
|
+
function Id(r) {
|
|
3635
3644
|
const {
|
|
3636
3645
|
effect: e,
|
|
3637
3646
|
swiper: t,
|
|
@@ -3641,7 +3650,7 @@ function Ic(r) {
|
|
|
3641
3650
|
overwriteParams: o,
|
|
3642
3651
|
perspective: l,
|
|
3643
3652
|
recreateShadows: s,
|
|
3644
|
-
getEffectParams:
|
|
3653
|
+
getEffectParams: d
|
|
3645
3654
|
} = r;
|
|
3646
3655
|
n("beforeInit", () => {
|
|
3647
3656
|
if (t.params.effect !== e) return;
|
|
@@ -3654,24 +3663,24 @@ function Ic(r) {
|
|
|
3654
3663
|
t.params.effect === e && a(u);
|
|
3655
3664
|
}), n("transitionEnd", () => {
|
|
3656
3665
|
if (t.params.effect === e && s) {
|
|
3657
|
-
if (!
|
|
3666
|
+
if (!d || !d().slideShadows) return;
|
|
3658
3667
|
t.slides.forEach((h) => {
|
|
3659
3668
|
h.querySelectorAll(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").forEach((u) => u.remove());
|
|
3660
3669
|
}), s();
|
|
3661
3670
|
}
|
|
3662
3671
|
});
|
|
3663
|
-
let
|
|
3672
|
+
let c;
|
|
3664
3673
|
n("virtualUpdate", () => {
|
|
3665
|
-
t.params.effect === e && (t.slides.length || (
|
|
3666
|
-
|
|
3674
|
+
t.params.effect === e && (t.slides.length || (c = !0), requestAnimationFrame(() => {
|
|
3675
|
+
c && t.slides && t.slides.length && (i(), c = !1);
|
|
3667
3676
|
}));
|
|
3668
3677
|
});
|
|
3669
3678
|
}
|
|
3670
|
-
function
|
|
3679
|
+
function Ad(r, e) {
|
|
3671
3680
|
const t = qi(e);
|
|
3672
3681
|
return t !== e && (t.style.backfaceVisibility = "hidden", t.style["-webkit-backface-visibility"] = "hidden"), t;
|
|
3673
3682
|
}
|
|
3674
|
-
function
|
|
3683
|
+
function Nd(r) {
|
|
3675
3684
|
let {
|
|
3676
3685
|
swiper: e,
|
|
3677
3686
|
duration: t,
|
|
@@ -3680,26 +3689,26 @@ function Nc(r) {
|
|
|
3680
3689
|
} = r;
|
|
3681
3690
|
const {
|
|
3682
3691
|
activeIndex: a
|
|
3683
|
-
} = e, o = (l) => l.parentElement ? l.parentElement : e.slides.filter((
|
|
3692
|
+
} = e, o = (l) => l.parentElement ? l.parentElement : e.slides.filter((d) => d.shadowRoot && d.shadowRoot === l.parentNode)[0];
|
|
3684
3693
|
if (e.params.virtualTranslate && t !== 0) {
|
|
3685
3694
|
let l = !1, s;
|
|
3686
|
-
i ? s = n : s = n.filter((
|
|
3687
|
-
const
|
|
3688
|
-
return e.getSlideIndex(
|
|
3689
|
-
}), s.forEach((
|
|
3690
|
-
|
|
3695
|
+
i ? s = n : s = n.filter((d) => {
|
|
3696
|
+
const c = d.classList.contains("swiper-slide-transform") ? o(d) : d;
|
|
3697
|
+
return e.getSlideIndex(c) === a;
|
|
3698
|
+
}), s.forEach((d) => {
|
|
3699
|
+
Ed(d, () => {
|
|
3691
3700
|
if (l || !e || e.destroyed) return;
|
|
3692
3701
|
l = !0, e.animating = !1;
|
|
3693
|
-
const
|
|
3702
|
+
const c = new window.CustomEvent("transitionend", {
|
|
3694
3703
|
bubbles: !0,
|
|
3695
3704
|
cancelable: !0
|
|
3696
3705
|
});
|
|
3697
|
-
e.wrapperEl.dispatchEvent(
|
|
3706
|
+
e.wrapperEl.dispatchEvent(c);
|
|
3698
3707
|
});
|
|
3699
3708
|
});
|
|
3700
3709
|
}
|
|
3701
3710
|
}
|
|
3702
|
-
function
|
|
3711
|
+
function kd(r) {
|
|
3703
3712
|
let {
|
|
3704
3713
|
swiper: e,
|
|
3705
3714
|
extendParams: t,
|
|
@@ -3709,7 +3718,7 @@ function kc(r) {
|
|
|
3709
3718
|
fadeEffect: {
|
|
3710
3719
|
crossFade: !1
|
|
3711
3720
|
}
|
|
3712
|
-
}),
|
|
3721
|
+
}), Id({
|
|
3713
3722
|
effect: "fade",
|
|
3714
3723
|
swiper: e,
|
|
3715
3724
|
on: n,
|
|
@@ -3718,12 +3727,12 @@ function kc(r) {
|
|
|
3718
3727
|
slides: o
|
|
3719
3728
|
} = e, l = e.params.fadeEffect;
|
|
3720
3729
|
for (let s = 0; s < o.length; s += 1) {
|
|
3721
|
-
const
|
|
3722
|
-
let h = -
|
|
3730
|
+
const d = e.slides[s];
|
|
3731
|
+
let h = -d.swiperSlideOffset;
|
|
3723
3732
|
e.params.virtualTranslate || (h -= e.translate);
|
|
3724
3733
|
let u = 0;
|
|
3725
3734
|
e.isHorizontal() || (u = h, h = 0);
|
|
3726
|
-
const m = e.params.fadeEffect.crossFade ? Math.max(1 - Math.abs(
|
|
3735
|
+
const m = e.params.fadeEffect.crossFade ? Math.max(1 - Math.abs(d.progress), 0) : 1 + Math.min(Math.max(d.progress, -1), 0), f = Ad(l, d);
|
|
3727
3736
|
f.style.opacity = m, f.style.transform = `translate3d(${h}px, ${u}px, 0px)`;
|
|
3728
3737
|
}
|
|
3729
3738
|
},
|
|
@@ -3731,7 +3740,7 @@ function kc(r) {
|
|
|
3731
3740
|
const l = e.slides.map((s) => qi(s));
|
|
3732
3741
|
l.forEach((s) => {
|
|
3733
3742
|
s.style.transitionDuration = `${o}ms`;
|
|
3734
|
-
}),
|
|
3743
|
+
}), Nd({
|
|
3735
3744
|
swiper: e,
|
|
3736
3745
|
duration: o,
|
|
3737
3746
|
transformElements: l,
|
|
@@ -3748,7 +3757,7 @@ function kc(r) {
|
|
|
3748
3757
|
});
|
|
3749
3758
|
}
|
|
3750
3759
|
let Kt;
|
|
3751
|
-
function
|
|
3760
|
+
function Ld() {
|
|
3752
3761
|
const r = oe(), e = Ee();
|
|
3753
3762
|
return {
|
|
3754
3763
|
smoothScroll: e.documentElement && e.documentElement.style && "scrollBehavior" in e.documentElement.style,
|
|
@@ -3756,28 +3765,28 @@ function Lc() {
|
|
|
3756
3765
|
};
|
|
3757
3766
|
}
|
|
3758
3767
|
function Qi() {
|
|
3759
|
-
return Kt || (Kt =
|
|
3768
|
+
return Kt || (Kt = Ld()), Kt;
|
|
3760
3769
|
}
|
|
3761
3770
|
let Zt;
|
|
3762
|
-
function
|
|
3771
|
+
function Dd(r) {
|
|
3763
3772
|
let {
|
|
3764
3773
|
userAgent: e
|
|
3765
3774
|
} = r === void 0 ? {} : r;
|
|
3766
3775
|
const t = Qi(), n = oe(), i = n.navigator.platform, a = e || n.navigator.userAgent, o = {
|
|
3767
3776
|
ios: !1,
|
|
3768
3777
|
android: !1
|
|
3769
|
-
}, l = n.screen.width, s = n.screen.height,
|
|
3770
|
-
let
|
|
3771
|
-
const h = a.match(/(iPod)(.*OS\s([\d_]+))?/), u = !
|
|
3778
|
+
}, l = n.screen.width, s = n.screen.height, d = a.match(/(Android);?[\s\/]+([\d.]+)?/);
|
|
3779
|
+
let c = a.match(/(iPad).*OS\s([\d_]+)/);
|
|
3780
|
+
const h = a.match(/(iPod)(.*OS\s([\d_]+))?/), u = !c && a.match(/(iPhone\sOS|iOS)\s([\d_]+)/), m = i === "Win32";
|
|
3772
3781
|
let f = i === "MacIntel";
|
|
3773
3782
|
const p = ["1024x1366", "1366x1024", "834x1194", "1194x834", "834x1112", "1112x834", "768x1024", "1024x768", "820x1180", "1180x820", "810x1080", "1080x810"];
|
|
3774
|
-
return !
|
|
3783
|
+
return !c && f && t.touch && p.indexOf(`${l}x${s}`) >= 0 && (c = a.match(/(Version)\/([\d.]+)/), c || (c = [0, 1, "13_0_0"]), f = !1), d && !m && (o.os = "android", o.android = !0), (c || u || h) && (o.os = "ios", o.ios = !0), o;
|
|
3775
3784
|
}
|
|
3776
3785
|
function Ki(r) {
|
|
3777
|
-
return r === void 0 && (r = {}), Zt || (Zt =
|
|
3786
|
+
return r === void 0 && (r = {}), Zt || (Zt = Dd(r)), Zt;
|
|
3778
3787
|
}
|
|
3779
3788
|
let Jt;
|
|
3780
|
-
function
|
|
3789
|
+
function _d() {
|
|
3781
3790
|
const r = oe(), e = Ki();
|
|
3782
3791
|
let t = !1;
|
|
3783
3792
|
function n() {
|
|
@@ -3787,8 +3796,8 @@ function _c() {
|
|
|
3787
3796
|
if (n()) {
|
|
3788
3797
|
const l = String(r.navigator.userAgent);
|
|
3789
3798
|
if (l.includes("Version/")) {
|
|
3790
|
-
const [s,
|
|
3791
|
-
t = s < 16 || s === 16 &&
|
|
3799
|
+
const [s, d] = l.split("Version/")[1].split(" ")[0].split(".").map((c) => Number(c));
|
|
3800
|
+
t = s < 16 || s === 16 && d < 2;
|
|
3792
3801
|
}
|
|
3793
3802
|
}
|
|
3794
3803
|
const i = /(iPhone|iPod|iPad).*AppleWebKit(?!.*Safari)/i.test(r.navigator.userAgent), a = n(), o = a || i && e.ios;
|
|
@@ -3799,10 +3808,10 @@ function _c() {
|
|
|
3799
3808
|
isWebView: i
|
|
3800
3809
|
};
|
|
3801
3810
|
}
|
|
3802
|
-
function
|
|
3803
|
-
return Jt || (Jt =
|
|
3811
|
+
function Fd() {
|
|
3812
|
+
return Jt || (Jt = _d()), Jt;
|
|
3804
3813
|
}
|
|
3805
|
-
function
|
|
3814
|
+
function Vd(r) {
|
|
3806
3815
|
let {
|
|
3807
3816
|
swiper: e,
|
|
3808
3817
|
on: t,
|
|
@@ -3830,9 +3839,9 @@ function Vc(r) {
|
|
|
3830
3839
|
}), (f !== u || p !== m) && l();
|
|
3831
3840
|
});
|
|
3832
3841
|
}), a.observe(e.el));
|
|
3833
|
-
}, c = () => {
|
|
3834
|
-
o && i.cancelAnimationFrame(o), a && a.unobserve && e.el && (a.unobserve(e.el), a = null);
|
|
3835
3842
|
}, d = () => {
|
|
3843
|
+
o && i.cancelAnimationFrame(o), a && a.unobserve && e.el && (a.unobserve(e.el), a = null);
|
|
3844
|
+
}, c = () => {
|
|
3836
3845
|
!e || e.destroyed || !e.initialized || n("orientationchange");
|
|
3837
3846
|
};
|
|
3838
3847
|
t("init", () => {
|
|
@@ -3840,19 +3849,19 @@ function Vc(r) {
|
|
|
3840
3849
|
s();
|
|
3841
3850
|
return;
|
|
3842
3851
|
}
|
|
3843
|
-
i.addEventListener("resize", l), i.addEventListener("orientationchange",
|
|
3852
|
+
i.addEventListener("resize", l), i.addEventListener("orientationchange", c);
|
|
3844
3853
|
}), t("destroy", () => {
|
|
3845
|
-
|
|
3854
|
+
d(), i.removeEventListener("resize", l), i.removeEventListener("orientationchange", c);
|
|
3846
3855
|
});
|
|
3847
3856
|
}
|
|
3848
|
-
function
|
|
3857
|
+
function zd(r) {
|
|
3849
3858
|
let {
|
|
3850
3859
|
swiper: e,
|
|
3851
3860
|
extendParams: t,
|
|
3852
3861
|
on: n,
|
|
3853
3862
|
emit: i
|
|
3854
3863
|
} = r;
|
|
3855
|
-
const a = [], o = oe(), l = function(
|
|
3864
|
+
const a = [], o = oe(), l = function(c, h) {
|
|
3856
3865
|
h === void 0 && (h = {});
|
|
3857
3866
|
const u = o.MutationObserver || o.WebkitMutationObserver, m = new u((f) => {
|
|
3858
3867
|
if (e.__preventObserver__) return;
|
|
@@ -3865,7 +3874,7 @@ function zc(r) {
|
|
|
3865
3874
|
};
|
|
3866
3875
|
o.requestAnimationFrame ? o.requestAnimationFrame(p) : o.setTimeout(p, 0);
|
|
3867
3876
|
});
|
|
3868
|
-
m.observe(
|
|
3877
|
+
m.observe(c, {
|
|
3869
3878
|
attributes: typeof h.attributes > "u" ? !0 : h.attributes,
|
|
3870
3879
|
childList: e.isElement || (typeof h.childList > "u" ? !0 : h).childList,
|
|
3871
3880
|
characterData: typeof h.characterData > "u" ? !0 : h.characterData
|
|
@@ -3873,9 +3882,9 @@ function zc(r) {
|
|
|
3873
3882
|
}, s = () => {
|
|
3874
3883
|
if (e.params.observer) {
|
|
3875
3884
|
if (e.params.observeParents) {
|
|
3876
|
-
const
|
|
3877
|
-
for (let h = 0; h <
|
|
3878
|
-
l(
|
|
3885
|
+
const c = Ui(e.hostEl);
|
|
3886
|
+
for (let h = 0; h < c.length; h += 1)
|
|
3887
|
+
l(c[h]);
|
|
3879
3888
|
}
|
|
3880
3889
|
l(e.hostEl, {
|
|
3881
3890
|
childList: e.params.observeSlideChildren
|
|
@@ -3883,18 +3892,18 @@ function zc(r) {
|
|
|
3883
3892
|
attributes: !1
|
|
3884
3893
|
});
|
|
3885
3894
|
}
|
|
3886
|
-
},
|
|
3887
|
-
a.forEach((
|
|
3888
|
-
|
|
3895
|
+
}, d = () => {
|
|
3896
|
+
a.forEach((c) => {
|
|
3897
|
+
c.disconnect();
|
|
3889
3898
|
}), a.splice(0, a.length);
|
|
3890
3899
|
};
|
|
3891
3900
|
t({
|
|
3892
3901
|
observer: !1,
|
|
3893
3902
|
observeParents: !1,
|
|
3894
3903
|
observeSlideChildren: !1
|
|
3895
|
-
}), n("init", s), n("destroy",
|
|
3904
|
+
}), n("init", s), n("destroy", d);
|
|
3896
3905
|
}
|
|
3897
|
-
var
|
|
3906
|
+
var Rd = {
|
|
3898
3907
|
on(r, e, t) {
|
|
3899
3908
|
const n = this;
|
|
3900
3909
|
if (!n.eventsListeners || n.destroyed || typeof e != "function") return n;
|
|
@@ -3941,15 +3950,15 @@ var Rc = {
|
|
|
3941
3950
|
for (var i = arguments.length, a = new Array(i), o = 0; o < i; o++)
|
|
3942
3951
|
a[o] = arguments[o];
|
|
3943
3952
|
return typeof a[0] == "string" || Array.isArray(a[0]) ? (e = a[0], t = a.slice(1, a.length), n = r) : (e = a[0].events, t = a[0].data, n = a[0].context || r), t.unshift(n), (Array.isArray(e) ? e : e.split(" ")).forEach((s) => {
|
|
3944
|
-
r.eventsAnyListeners && r.eventsAnyListeners.length && r.eventsAnyListeners.forEach((
|
|
3945
|
-
|
|
3946
|
-
}), r.eventsListeners && r.eventsListeners[s] && r.eventsListeners[s].forEach((
|
|
3947
|
-
|
|
3953
|
+
r.eventsAnyListeners && r.eventsAnyListeners.length && r.eventsAnyListeners.forEach((d) => {
|
|
3954
|
+
d.apply(n, [s, ...t]);
|
|
3955
|
+
}), r.eventsListeners && r.eventsListeners[s] && r.eventsListeners[s].forEach((d) => {
|
|
3956
|
+
d.apply(n, t);
|
|
3948
3957
|
});
|
|
3949
3958
|
}), r;
|
|
3950
3959
|
}
|
|
3951
3960
|
};
|
|
3952
|
-
function
|
|
3961
|
+
function Bd() {
|
|
3953
3962
|
const r = this;
|
|
3954
3963
|
let e, t;
|
|
3955
3964
|
const n = r.el;
|
|
@@ -3959,7 +3968,7 @@ function Bc() {
|
|
|
3959
3968
|
size: r.isHorizontal() ? e : t
|
|
3960
3969
|
}));
|
|
3961
3970
|
}
|
|
3962
|
-
function
|
|
3971
|
+
function Wd() {
|
|
3963
3972
|
const r = this;
|
|
3964
3973
|
function e(S, M) {
|
|
3965
3974
|
return parseFloat(S.getPropertyValue(r.getDirectionLabel(M)) || 0);
|
|
@@ -3970,7 +3979,7 @@ function Wc() {
|
|
|
3970
3979
|
size: a,
|
|
3971
3980
|
rtlTranslate: o,
|
|
3972
3981
|
wrongRTL: l
|
|
3973
|
-
} = r, s = r.virtual && t.virtual.enabled,
|
|
3982
|
+
} = r, s = r.virtual && t.virtual.enabled, d = s ? r.virtual.slides.length : r.slides.length, c = we(i, `.${r.params.slideClass}, swiper-slide`), h = s ? r.virtual.slides.length : c.length;
|
|
3974
3983
|
let u = [];
|
|
3975
3984
|
const m = [], f = [];
|
|
3976
3985
|
let p = t.slidesOffsetBefore;
|
|
@@ -3981,22 +3990,22 @@ function Wc() {
|
|
|
3981
3990
|
let v = t.spaceBetween, x = -p, T = 0, E = 0;
|
|
3982
3991
|
if (typeof a > "u")
|
|
3983
3992
|
return;
|
|
3984
|
-
typeof v == "string" && v.indexOf("%") >= 0 ? v = parseFloat(v.replace("%", "")) / 100 * a : typeof v == "string" && (v = parseFloat(v)), r.virtualSize = -v,
|
|
3993
|
+
typeof v == "string" && v.indexOf("%") >= 0 ? v = parseFloat(v.replace("%", "")) / 100 * a : typeof v == "string" && (v = parseFloat(v)), r.virtualSize = -v, c.forEach((S) => {
|
|
3985
3994
|
o ? S.style.marginLeft = "" : S.style.marginRight = "", S.style.marginBottom = "", S.style.marginTop = "";
|
|
3986
3995
|
}), t.centeredSlides && t.cssMode && (bt(n, "--swiper-centered-offset-before", ""), bt(n, "--swiper-centered-offset-after", ""));
|
|
3987
3996
|
const F = t.grid && t.grid.rows > 1 && r.grid;
|
|
3988
|
-
F ? r.grid.initSlides(
|
|
3997
|
+
F ? r.grid.initSlides(c) : r.grid && r.grid.unsetSlides();
|
|
3989
3998
|
let A;
|
|
3990
3999
|
const C = t.slidesPerView === "auto" && t.breakpoints && Object.keys(t.breakpoints).filter((S) => typeof t.breakpoints[S].slidesPerView < "u").length > 0;
|
|
3991
4000
|
for (let S = 0; S < h; S += 1) {
|
|
3992
4001
|
A = 0;
|
|
3993
4002
|
let M;
|
|
3994
|
-
if (
|
|
4003
|
+
if (c[S] && (M = c[S]), F && r.grid.updateSlide(S, M, c), !(c[S] && Ae(M, "display") === "none")) {
|
|
3995
4004
|
if (t.slidesPerView === "auto") {
|
|
3996
|
-
C && (
|
|
4005
|
+
C && (c[S].style[r.getDirectionLabel("width")] = "");
|
|
3997
4006
|
const N = getComputedStyle(M), P = M.style.transform, k = M.style.webkitTransform;
|
|
3998
4007
|
if (P && (M.style.transform = "none"), k && (M.style.webkitTransform = "none"), t.roundLengths)
|
|
3999
|
-
A = r.isHorizontal() ?
|
|
4008
|
+
A = r.isHorizontal() ? cr(M, "width") : cr(M, "height");
|
|
4000
4009
|
else {
|
|
4001
4010
|
const R = e(N, "width"), X = e(N, "padding-left"), fe = e(N, "padding-right"), B = e(N, "margin-left"), G = e(N, "margin-right"), Y = N.getPropertyValue("box-sizing");
|
|
4002
4011
|
if (Y && Y === "border-box")
|
|
@@ -4011,8 +4020,8 @@ function Wc() {
|
|
|
4011
4020
|
}
|
|
4012
4021
|
P && (M.style.transform = P), k && (M.style.webkitTransform = k), t.roundLengths && (A = Math.floor(A));
|
|
4013
4022
|
} else
|
|
4014
|
-
A = (a - (t.slidesPerView - 1) * v) / t.slidesPerView, t.roundLengths && (A = Math.floor(A)),
|
|
4015
|
-
|
|
4023
|
+
A = (a - (t.slidesPerView - 1) * v) / t.slidesPerView, t.roundLengths && (A = Math.floor(A)), c[S] && (c[S].style[r.getDirectionLabel("width")] = `${A}px`);
|
|
4024
|
+
c[S] && (c[S].swiperSlideSize = A), f.push(A), t.centeredSlides ? (x = x + A / 2 + T / 2 + v, T === 0 && S !== 0 && (x = x - a / 2 - v), S === 0 && (x = x - a / 2 - v), Math.abs(x) < 1 / 1e3 && (x = 0), t.roundLengths && (x = Math.floor(x)), E % t.slidesPerGroup === 0 && u.push(x), m.push(x)) : (t.roundLengths && (x = Math.floor(x)), (E - Math.min(r.params.slidesPerGroupSkip, E)) % r.params.slidesPerGroup === 0 && u.push(x), m.push(x), x = x + A + v), r.virtualSize += A + v, T = A, E += 1;
|
|
4016
4025
|
}
|
|
4017
4026
|
}
|
|
4018
4027
|
if (r.virtualSize = Math.max(r.virtualSize, a) + w, o && l && (t.effect === "slide" || t.effect === "coverflow") && (n.style.width = `${r.virtualSize + v}px`), t.setWrapperSize && (n.style[r.getDirectionLabel("width")] = `${r.virtualSize + v}px`), F && r.grid.updateWrapperSize(A, u), !t.centeredSlides) {
|
|
@@ -4035,7 +4044,7 @@ function Wc() {
|
|
|
4035
4044
|
}
|
|
4036
4045
|
if (u.length === 0 && (u = [0]), v !== 0) {
|
|
4037
4046
|
const S = r.isHorizontal() && o ? "marginLeft" : r.getDirectionLabel("marginRight");
|
|
4038
|
-
|
|
4047
|
+
c.filter((M, N) => !t.cssMode || t.loop ? !0 : N !== c.length - 1).forEach((M) => {
|
|
4039
4048
|
M.style[S] = `${v}px`;
|
|
4040
4049
|
});
|
|
4041
4050
|
}
|
|
@@ -4063,7 +4072,7 @@ function Wc() {
|
|
|
4063
4072
|
}
|
|
4064
4073
|
}
|
|
4065
4074
|
if (Object.assign(r, {
|
|
4066
|
-
slides:
|
|
4075
|
+
slides: c,
|
|
4067
4076
|
snapGrid: u,
|
|
4068
4077
|
slidesGrid: m,
|
|
4069
4078
|
slidesSizesGrid: f
|
|
@@ -4072,12 +4081,12 @@ function Wc() {
|
|
|
4072
4081
|
const S = -r.snapGrid[0], M = -r.slidesGrid[0];
|
|
4073
4082
|
r.snapGrid = r.snapGrid.map((N) => N + S), r.slidesGrid = r.slidesGrid.map((N) => N + M);
|
|
4074
4083
|
}
|
|
4075
|
-
if (h !==
|
|
4084
|
+
if (h !== d && r.emit("slidesLengthChange"), u.length !== y && (r.params.watchOverflow && r.checkOverflow(), r.emit("snapGridLengthChange")), m.length !== g && r.emit("slidesGridLengthChange"), t.watchSlidesProgress && r.updateSlidesOffset(), r.emit("slidesUpdated"), !s && !t.cssMode && (t.effect === "slide" || t.effect === "fade")) {
|
|
4076
4085
|
const S = `${t.containerModifierClass}backface-hidden`, M = r.el.classList.contains(S);
|
|
4077
4086
|
h <= t.maxBackfaceHiddenSlides ? M || r.el.classList.add(S) : M && r.el.classList.remove(S);
|
|
4078
4087
|
}
|
|
4079
4088
|
}
|
|
4080
|
-
function
|
|
4089
|
+
function Gd(r) {
|
|
4081
4090
|
const e = this, t = [], n = e.virtual && e.params.virtual.enabled;
|
|
4082
4091
|
let i = 0, a;
|
|
4083
4092
|
typeof r == "number" ? e.setTransition(r) : r === !0 && e.setTransition(e.params.speed);
|
|
@@ -4102,7 +4111,7 @@ function Gc(r) {
|
|
|
4102
4111
|
}
|
|
4103
4112
|
(i || i === 0) && (e.wrapperEl.style.height = `${i}px`);
|
|
4104
4113
|
}
|
|
4105
|
-
function $
|
|
4114
|
+
function $d() {
|
|
4106
4115
|
const r = this, e = r.slides, t = r.isElement ? r.isHorizontal() ? r.wrapperEl.offsetLeft : r.wrapperEl.offsetTop : 0;
|
|
4107
4116
|
for (let n = 0; n < e.length; n += 1)
|
|
4108
4117
|
e[n].swiperSlideOffset = (r.isHorizontal() ? e[n].offsetLeft : e[n].offsetTop) - t - r.cssOverflowAdjustment();
|
|
@@ -4110,7 +4119,7 @@ function $c() {
|
|
|
4110
4119
|
const nn = (r, e, t) => {
|
|
4111
4120
|
e && !r.classList.contains(t) ? r.classList.add(t) : !e && r.classList.contains(t) && r.classList.remove(t);
|
|
4112
4121
|
};
|
|
4113
|
-
function
|
|
4122
|
+
function jd(r) {
|
|
4114
4123
|
r === void 0 && (r = this && this.translate || 0);
|
|
4115
4124
|
const e = this, t = e.params, {
|
|
4116
4125
|
slides: n,
|
|
@@ -4124,18 +4133,18 @@ function jc(r) {
|
|
|
4124
4133
|
let l = t.spaceBetween;
|
|
4125
4134
|
typeof l == "string" && l.indexOf("%") >= 0 ? l = parseFloat(l.replace("%", "")) / 100 * e.size : typeof l == "string" && (l = parseFloat(l));
|
|
4126
4135
|
for (let s = 0; s < n.length; s += 1) {
|
|
4127
|
-
const
|
|
4128
|
-
let
|
|
4129
|
-
t.cssMode && t.centeredSlides && (
|
|
4130
|
-
const h = (o + (t.centeredSlides ? e.minTranslate() : 0) -
|
|
4131
|
-
w && (e.visibleSlides.push(
|
|
4136
|
+
const d = n[s];
|
|
4137
|
+
let c = d.swiperSlideOffset;
|
|
4138
|
+
t.cssMode && t.centeredSlides && (c -= n[0].swiperSlideOffset);
|
|
4139
|
+
const h = (o + (t.centeredSlides ? e.minTranslate() : 0) - c) / (d.swiperSlideSize + l), u = (o - a[0] + (t.centeredSlides ? e.minTranslate() : 0) - c) / (d.swiperSlideSize + l), m = -(o - c), f = m + e.slidesSizesGrid[s], p = m >= 0 && m <= e.size - e.slidesSizesGrid[s], w = m >= 0 && m < e.size - 1 || f > 1 && f <= e.size || m <= 0 && f >= e.size;
|
|
4140
|
+
w && (e.visibleSlides.push(d), e.visibleSlidesIndexes.push(s)), nn(d, w, t.slideVisibleClass), nn(d, p, t.slideFullyVisibleClass), d.progress = i ? -h : h, d.originalProgress = i ? -u : u;
|
|
4132
4141
|
}
|
|
4133
4142
|
}
|
|
4134
|
-
function
|
|
4143
|
+
function Hd(r) {
|
|
4135
4144
|
const e = this;
|
|
4136
4145
|
if (typeof r > "u") {
|
|
4137
|
-
const
|
|
4138
|
-
r = e && e.translate && e.translate *
|
|
4146
|
+
const c = e.rtlTranslate ? -1 : 1;
|
|
4147
|
+
r = e && e.translate && e.translate * c || 0;
|
|
4139
4148
|
}
|
|
4140
4149
|
const t = e.params, n = e.maxTranslate() - e.minTranslate();
|
|
4141
4150
|
let {
|
|
@@ -4144,16 +4153,16 @@ function Hc(r) {
|
|
|
4144
4153
|
isEnd: o,
|
|
4145
4154
|
progressLoop: l
|
|
4146
4155
|
} = e;
|
|
4147
|
-
const s = a,
|
|
4156
|
+
const s = a, d = o;
|
|
4148
4157
|
if (n === 0)
|
|
4149
4158
|
i = 0, a = !0, o = !0;
|
|
4150
4159
|
else {
|
|
4151
4160
|
i = (r - e.minTranslate()) / n;
|
|
4152
|
-
const
|
|
4153
|
-
a =
|
|
4161
|
+
const c = Math.abs(r - e.minTranslate()) < 1, h = Math.abs(r - e.maxTranslate()) < 1;
|
|
4162
|
+
a = c || i <= 0, o = h || i >= 1, c && (i = 0), h && (i = 1);
|
|
4154
4163
|
}
|
|
4155
4164
|
if (t.loop) {
|
|
4156
|
-
const
|
|
4165
|
+
const c = e.getSlideIndexByData(0), h = e.getSlideIndexByData(e.slides.length - 1), u = e.slidesGrid[c], m = e.slidesGrid[h], f = e.slidesGrid[e.slidesGrid.length - 1], p = Math.abs(r);
|
|
4157
4166
|
p >= u ? l = (p - u) / f : l = (p + f - m) / f, l > 1 && (l -= 1);
|
|
4158
4167
|
}
|
|
4159
4168
|
Object.assign(e, {
|
|
@@ -4161,19 +4170,19 @@ function Hc(r) {
|
|
|
4161
4170
|
progressLoop: l,
|
|
4162
4171
|
isBeginning: a,
|
|
4163
4172
|
isEnd: o
|
|
4164
|
-
}), (t.watchSlidesProgress || t.centeredSlides && t.autoHeight) && e.updateSlidesProgress(r), a && !s && e.emit("reachBeginning toEdge"), o && !
|
|
4173
|
+
}), (t.watchSlidesProgress || t.centeredSlides && t.autoHeight) && e.updateSlidesProgress(r), a && !s && e.emit("reachBeginning toEdge"), o && !d && e.emit("reachEnd toEdge"), (s && !a || d && !o) && e.emit("fromEdge"), e.emit("progress", i);
|
|
4165
4174
|
}
|
|
4166
4175
|
const er = (r, e, t) => {
|
|
4167
4176
|
e && !r.classList.contains(t) ? r.classList.add(t) : !e && r.classList.contains(t) && r.classList.remove(t);
|
|
4168
4177
|
};
|
|
4169
|
-
function
|
|
4178
|
+
function Yd() {
|
|
4170
4179
|
const r = this, {
|
|
4171
4180
|
slides: e,
|
|
4172
4181
|
params: t,
|
|
4173
4182
|
slidesEl: n,
|
|
4174
4183
|
activeIndex: i
|
|
4175
4184
|
} = r, a = r.virtual && t.virtual.enabled, o = r.grid && t.grid && t.grid.rows > 1, l = (h) => we(n, `.${t.slideClass}${h}, swiper-slide${h}`)[0];
|
|
4176
|
-
let s,
|
|
4185
|
+
let s, d, c;
|
|
4177
4186
|
if (a)
|
|
4178
4187
|
if (t.loop) {
|
|
4179
4188
|
let h = i - r.virtual.slidesBefore;
|
|
@@ -4181,9 +4190,9 @@ function Yc() {
|
|
|
4181
4190
|
} else
|
|
4182
4191
|
s = l(`[data-swiper-slide-index="${i}"]`);
|
|
4183
4192
|
else
|
|
4184
|
-
o ? (s = e.filter((h) => h.column === i)[0],
|
|
4185
|
-
s && (o || (
|
|
4186
|
-
er(h, h === s, t.slideActiveClass), er(h, h ===
|
|
4193
|
+
o ? (s = e.filter((h) => h.column === i)[0], c = e.filter((h) => h.column === i + 1)[0], d = e.filter((h) => h.column === i - 1)[0]) : s = e[i];
|
|
4194
|
+
s && (o || (c = Cd(s, `.${t.slideClass}, swiper-slide`)[0], t.loop && !c && (c = e[0]), d = Sd(s, `.${t.slideClass}, swiper-slide`)[0], t.loop && !d === 0 && (d = e[e.length - 1]))), e.forEach((h) => {
|
|
4195
|
+
er(h, h === s, t.slideActiveClass), er(h, h === c, t.slideNextClass), er(h, h === d, t.slidePrevClass);
|
|
4187
4196
|
}), r.emitSlidesClasses();
|
|
4188
4197
|
}
|
|
4189
4198
|
const xt = (r, e) => {
|
|
@@ -4210,8 +4219,8 @@ const xt = (r, e) => {
|
|
|
4210
4219
|
const o = i, l = [o - e];
|
|
4211
4220
|
l.push(...Array.from({
|
|
4212
4221
|
length: e
|
|
4213
|
-
}).map((s,
|
|
4214
|
-
l.includes(s.column) && tr(r,
|
|
4222
|
+
}).map((s, d) => o + n + d)), r.slides.forEach((s, d) => {
|
|
4223
|
+
l.includes(s.column) && tr(r, d);
|
|
4215
4224
|
});
|
|
4216
4225
|
return;
|
|
4217
4226
|
}
|
|
@@ -4225,7 +4234,7 @@ const xt = (r, e) => {
|
|
|
4225
4234
|
for (let o = Math.max(i - e, 0); o <= Math.min(a + e, t - 1); o += 1)
|
|
4226
4235
|
o !== i && (o > a || o < i) && tr(r, o);
|
|
4227
4236
|
};
|
|
4228
|
-
function
|
|
4237
|
+
function qd(r) {
|
|
4229
4238
|
const {
|
|
4230
4239
|
slidesGrid: e,
|
|
4231
4240
|
params: t
|
|
@@ -4235,7 +4244,7 @@ function qc(r) {
|
|
|
4235
4244
|
typeof e[a + 1] < "u" ? n >= e[a] && n < e[a + 1] - (e[a + 1] - e[a]) / 2 ? i = a : n >= e[a] && n < e[a + 1] && (i = a + 1) : n >= e[a] && (i = a);
|
|
4236
4245
|
return t.normalizeSlideIndex && (i < 0 || typeof i > "u") && (i = 0), i;
|
|
4237
4246
|
}
|
|
4238
|
-
function
|
|
4247
|
+
function Ud(r) {
|
|
4239
4248
|
const e = this, t = e.rtlTranslate ? e.translate : -e.translate, {
|
|
4240
4249
|
snapGrid: n,
|
|
4241
4250
|
params: i,
|
|
@@ -4243,29 +4252,29 @@ function Uc(r) {
|
|
|
4243
4252
|
realIndex: o,
|
|
4244
4253
|
snapIndex: l
|
|
4245
4254
|
} = e;
|
|
4246
|
-
let s = r,
|
|
4247
|
-
const
|
|
4255
|
+
let s = r, d;
|
|
4256
|
+
const c = (m) => {
|
|
4248
4257
|
let f = m - e.virtual.slidesBefore;
|
|
4249
4258
|
return f < 0 && (f = e.virtual.slides.length + f), f >= e.virtual.slides.length && (f -= e.virtual.slides.length), f;
|
|
4250
4259
|
};
|
|
4251
|
-
if (typeof s > "u" && (s =
|
|
4252
|
-
|
|
4260
|
+
if (typeof s > "u" && (s = qd(e)), n.indexOf(t) >= 0)
|
|
4261
|
+
d = n.indexOf(t);
|
|
4253
4262
|
else {
|
|
4254
4263
|
const m = Math.min(i.slidesPerGroupSkip, s);
|
|
4255
|
-
|
|
4264
|
+
d = m + Math.floor((s - m) / i.slidesPerGroup);
|
|
4256
4265
|
}
|
|
4257
|
-
if (
|
|
4258
|
-
|
|
4266
|
+
if (d >= n.length && (d = n.length - 1), s === a && !e.params.loop) {
|
|
4267
|
+
d !== l && (e.snapIndex = d, e.emit("snapIndexChange"));
|
|
4259
4268
|
return;
|
|
4260
4269
|
}
|
|
4261
4270
|
if (s === a && e.params.loop && e.virtual && e.params.virtual.enabled) {
|
|
4262
|
-
e.realIndex =
|
|
4271
|
+
e.realIndex = c(s);
|
|
4263
4272
|
return;
|
|
4264
4273
|
}
|
|
4265
4274
|
const h = e.grid && i.grid && i.grid.rows > 1;
|
|
4266
4275
|
let u;
|
|
4267
4276
|
if (e.virtual && i.virtual.enabled && i.loop)
|
|
4268
|
-
u =
|
|
4277
|
+
u = c(s);
|
|
4269
4278
|
else if (h) {
|
|
4270
4279
|
const m = e.slides.filter((p) => p.column === s)[0];
|
|
4271
4280
|
let f = parseInt(m.getAttribute("data-swiper-slide-index"), 10);
|
|
@@ -4277,14 +4286,14 @@ function Uc(r) {
|
|
|
4277
4286
|
u = s;
|
|
4278
4287
|
Object.assign(e, {
|
|
4279
4288
|
previousSnapIndex: l,
|
|
4280
|
-
snapIndex:
|
|
4289
|
+
snapIndex: d,
|
|
4281
4290
|
previousRealIndex: o,
|
|
4282
4291
|
realIndex: u,
|
|
4283
4292
|
previousIndex: a,
|
|
4284
4293
|
activeIndex: s
|
|
4285
4294
|
}), e.initialized && ur(e), e.emit("activeIndexChange"), e.emit("snapIndexChange"), (e.initialized || e.params.runCallbacksOnInit) && (o !== u && e.emit("realIndexChange"), e.emit("slideChange"));
|
|
4286
4295
|
}
|
|
4287
|
-
function
|
|
4296
|
+
function Xd(r, e) {
|
|
4288
4297
|
const t = this, n = t.params;
|
|
4289
4298
|
let i = r.closest(`.${n.slideClass}, swiper-slide`);
|
|
4290
4299
|
!i && t.isElement && e && e.length > 1 && e.includes(r) && [...e.slice(e.indexOf(r) + 1, e.length)].forEach((l) => {
|
|
@@ -4306,18 +4315,18 @@ function Xc(r, e) {
|
|
|
4306
4315
|
}
|
|
4307
4316
|
n.slideToClickedSlide && t.clickedIndex !== void 0 && t.clickedIndex !== t.activeIndex && t.slideToClickedSlide();
|
|
4308
4317
|
}
|
|
4309
|
-
var
|
|
4310
|
-
updateSize:
|
|
4311
|
-
updateSlides:
|
|
4312
|
-
updateAutoHeight:
|
|
4313
|
-
updateSlidesOffset: $
|
|
4314
|
-
updateSlidesProgress:
|
|
4315
|
-
updateProgress:
|
|
4316
|
-
updateSlidesClasses:
|
|
4317
|
-
updateActiveIndex:
|
|
4318
|
-
updateClickedSlide:
|
|
4318
|
+
var Qd = {
|
|
4319
|
+
updateSize: Bd,
|
|
4320
|
+
updateSlides: Wd,
|
|
4321
|
+
updateAutoHeight: Gd,
|
|
4322
|
+
updateSlidesOffset: $d,
|
|
4323
|
+
updateSlidesProgress: jd,
|
|
4324
|
+
updateProgress: Hd,
|
|
4325
|
+
updateSlidesClasses: Yd,
|
|
4326
|
+
updateActiveIndex: Ud,
|
|
4327
|
+
updateClickedSlide: Xd
|
|
4319
4328
|
};
|
|
4320
|
-
function
|
|
4329
|
+
function Kd(r) {
|
|
4321
4330
|
r === void 0 && (r = this.isHorizontal() ? "x" : "y");
|
|
4322
4331
|
const e = this, {
|
|
4323
4332
|
params: t,
|
|
@@ -4329,10 +4338,10 @@ function Kc(r) {
|
|
|
4329
4338
|
return n ? -i : i;
|
|
4330
4339
|
if (t.cssMode)
|
|
4331
4340
|
return i;
|
|
4332
|
-
let o =
|
|
4341
|
+
let o = yd(a, r);
|
|
4333
4342
|
return o += e.cssOverflowAdjustment(), n && (o = -o), o || 0;
|
|
4334
4343
|
}
|
|
4335
|
-
function
|
|
4344
|
+
function Zd(r, e) {
|
|
4336
4345
|
const t = this, {
|
|
4337
4346
|
rtlTranslate: n,
|
|
4338
4347
|
params: i,
|
|
@@ -4340,19 +4349,19 @@ function Zc(r, e) {
|
|
|
4340
4349
|
progress: o
|
|
4341
4350
|
} = t;
|
|
4342
4351
|
let l = 0, s = 0;
|
|
4343
|
-
const
|
|
4344
|
-
t.isHorizontal() ? l = n ? -r : r : s = r, i.roundLengths && (l = Math.floor(l), s = Math.floor(s)), t.previousTranslate = t.translate, t.translate = t.isHorizontal() ? l : s, i.cssMode ? a[t.isHorizontal() ? "scrollLeft" : "scrollTop"] = t.isHorizontal() ? -l : -s : i.virtualTranslate || (t.isHorizontal() ? l -= t.cssOverflowAdjustment() : s -= t.cssOverflowAdjustment(), a.style.transform = `translate3d(${l}px, ${s}px, ${
|
|
4345
|
-
let
|
|
4352
|
+
const d = 0;
|
|
4353
|
+
t.isHorizontal() ? l = n ? -r : r : s = r, i.roundLengths && (l = Math.floor(l), s = Math.floor(s)), t.previousTranslate = t.translate, t.translate = t.isHorizontal() ? l : s, i.cssMode ? a[t.isHorizontal() ? "scrollLeft" : "scrollTop"] = t.isHorizontal() ? -l : -s : i.virtualTranslate || (t.isHorizontal() ? l -= t.cssOverflowAdjustment() : s -= t.cssOverflowAdjustment(), a.style.transform = `translate3d(${l}px, ${s}px, ${d}px)`);
|
|
4354
|
+
let c;
|
|
4346
4355
|
const h = t.maxTranslate() - t.minTranslate();
|
|
4347
|
-
h === 0 ?
|
|
4356
|
+
h === 0 ? c = 0 : c = (r - t.minTranslate()) / h, c !== o && t.updateProgress(r), t.emit("setTranslate", t.translate, e);
|
|
4348
4357
|
}
|
|
4349
|
-
function
|
|
4358
|
+
function Jd() {
|
|
4350
4359
|
return -this.snapGrid[0];
|
|
4351
4360
|
}
|
|
4352
|
-
function
|
|
4361
|
+
function ec() {
|
|
4353
4362
|
return -this.snapGrid[this.snapGrid.length - 1];
|
|
4354
4363
|
}
|
|
4355
|
-
function
|
|
4364
|
+
function tc(r, e, t, n, i) {
|
|
4356
4365
|
r === void 0 && (r = 0), e === void 0 && (e = this.params.speed), t === void 0 && (t = !0), n === void 0 && (n = !0);
|
|
4357
4366
|
const a = this, {
|
|
4358
4367
|
params: o,
|
|
@@ -4360,38 +4369,38 @@ function td(r, e, t, n, i) {
|
|
|
4360
4369
|
} = a;
|
|
4361
4370
|
if (a.animating && o.preventInteractionOnTransition)
|
|
4362
4371
|
return !1;
|
|
4363
|
-
const s = a.minTranslate(),
|
|
4364
|
-
let
|
|
4365
|
-
if (n && r > s ?
|
|
4372
|
+
const s = a.minTranslate(), d = a.maxTranslate();
|
|
4373
|
+
let c;
|
|
4374
|
+
if (n && r > s ? c = s : n && r < d ? c = d : c = r, a.updateProgress(c), o.cssMode) {
|
|
4366
4375
|
const h = a.isHorizontal();
|
|
4367
4376
|
if (e === 0)
|
|
4368
|
-
l[h ? "scrollLeft" : "scrollTop"] = -
|
|
4377
|
+
l[h ? "scrollLeft" : "scrollTop"] = -c;
|
|
4369
4378
|
else {
|
|
4370
4379
|
if (!a.support.smoothScroll)
|
|
4371
4380
|
return Yi({
|
|
4372
4381
|
swiper: a,
|
|
4373
|
-
targetPosition: -
|
|
4382
|
+
targetPosition: -c,
|
|
4374
4383
|
side: h ? "left" : "top"
|
|
4375
4384
|
}), !0;
|
|
4376
4385
|
l.scrollTo({
|
|
4377
|
-
[h ? "left" : "top"]: -
|
|
4386
|
+
[h ? "left" : "top"]: -c,
|
|
4378
4387
|
behavior: "smooth"
|
|
4379
4388
|
});
|
|
4380
4389
|
}
|
|
4381
4390
|
return !0;
|
|
4382
4391
|
}
|
|
4383
|
-
return e === 0 ? (a.setTransition(0), a.setTranslate(
|
|
4392
|
+
return e === 0 ? (a.setTransition(0), a.setTranslate(c), t && (a.emit("beforeTransitionStart", e, i), a.emit("transitionEnd"))) : (a.setTransition(e), a.setTranslate(c), t && (a.emit("beforeTransitionStart", e, i), a.emit("transitionStart")), a.animating || (a.animating = !0, a.onTranslateToWrapperTransitionEnd || (a.onTranslateToWrapperTransitionEnd = function(u) {
|
|
4384
4393
|
!a || a.destroyed || u.target === this && (a.wrapperEl.removeEventListener("transitionend", a.onTranslateToWrapperTransitionEnd), a.onTranslateToWrapperTransitionEnd = null, delete a.onTranslateToWrapperTransitionEnd, a.animating = !1, t && a.emit("transitionEnd"));
|
|
4385
4394
|
}), a.wrapperEl.addEventListener("transitionend", a.onTranslateToWrapperTransitionEnd))), !0;
|
|
4386
4395
|
}
|
|
4387
|
-
var
|
|
4388
|
-
getTranslate:
|
|
4389
|
-
setTranslate:
|
|
4390
|
-
minTranslate:
|
|
4391
|
-
maxTranslate:
|
|
4392
|
-
translateTo:
|
|
4396
|
+
var rc = {
|
|
4397
|
+
getTranslate: Kd,
|
|
4398
|
+
setTranslate: Zd,
|
|
4399
|
+
minTranslate: Jd,
|
|
4400
|
+
maxTranslate: ec,
|
|
4401
|
+
translateTo: tc
|
|
4393
4402
|
};
|
|
4394
|
-
function
|
|
4403
|
+
function nc(r, e) {
|
|
4395
4404
|
const t = this;
|
|
4396
4405
|
t.params.cssMode || (t.wrapperEl.style.transitionDuration = `${r}ms`, t.wrapperEl.style.transitionDelay = r === 0 ? "0ms" : ""), t.emit("setTransition", r, e);
|
|
4397
4406
|
}
|
|
@@ -4415,7 +4424,7 @@ function Zi(r) {
|
|
|
4415
4424
|
e.emit(`slideChangeTransition${i}`), l === "next" ? e.emit(`slideNextTransition${i}`) : e.emit(`slidePrevTransition${i}`);
|
|
4416
4425
|
}
|
|
4417
4426
|
}
|
|
4418
|
-
function
|
|
4427
|
+
function ic(r, e) {
|
|
4419
4428
|
r === void 0 && (r = !0);
|
|
4420
4429
|
const t = this, {
|
|
4421
4430
|
params: n
|
|
@@ -4427,7 +4436,7 @@ function id(r, e) {
|
|
|
4427
4436
|
step: "Start"
|
|
4428
4437
|
}));
|
|
4429
4438
|
}
|
|
4430
|
-
function
|
|
4439
|
+
function ac(r, e) {
|
|
4431
4440
|
r === void 0 && (r = !0);
|
|
4432
4441
|
const t = this, {
|
|
4433
4442
|
params: n
|
|
@@ -4439,12 +4448,12 @@ function ad(r, e) {
|
|
|
4439
4448
|
step: "End"
|
|
4440
4449
|
}));
|
|
4441
4450
|
}
|
|
4442
|
-
var
|
|
4443
|
-
setTransition:
|
|
4444
|
-
transitionStart:
|
|
4445
|
-
transitionEnd:
|
|
4451
|
+
var sc = {
|
|
4452
|
+
setTransition: nc,
|
|
4453
|
+
transitionStart: ic,
|
|
4454
|
+
transitionEnd: ac
|
|
4446
4455
|
};
|
|
4447
|
-
function
|
|
4456
|
+
function oc(r, e, t, n, i) {
|
|
4448
4457
|
r === void 0 && (r = 0), t === void 0 && (t = !0), typeof r == "string" && (r = parseInt(r, 10));
|
|
4449
4458
|
const a = this;
|
|
4450
4459
|
let o = r;
|
|
@@ -4452,8 +4461,8 @@ function od(r, e, t, n, i) {
|
|
|
4452
4461
|
const {
|
|
4453
4462
|
params: l,
|
|
4454
4463
|
snapGrid: s,
|
|
4455
|
-
slidesGrid:
|
|
4456
|
-
previousIndex:
|
|
4464
|
+
slidesGrid: d,
|
|
4465
|
+
previousIndex: c,
|
|
4457
4466
|
activeIndex: h,
|
|
4458
4467
|
rtlTranslate: u,
|
|
4459
4468
|
wrapperEl: m,
|
|
@@ -4467,13 +4476,13 @@ function od(r, e, t, n, i) {
|
|
|
4467
4476
|
w >= s.length && (w = s.length - 1);
|
|
4468
4477
|
const y = -s[w];
|
|
4469
4478
|
if (l.normalizeSlideIndex)
|
|
4470
|
-
for (let T = 0; T <
|
|
4471
|
-
const E = -Math.floor(y * 100), F = Math.floor(
|
|
4472
|
-
typeof
|
|
4479
|
+
for (let T = 0; T < d.length; T += 1) {
|
|
4480
|
+
const E = -Math.floor(y * 100), F = Math.floor(d[T] * 100), A = Math.floor(d[T + 1] * 100);
|
|
4481
|
+
typeof d[T + 1] < "u" ? E >= F && E < A - (A - F) / 2 ? o = T : E >= F && E < A && (o = T + 1) : E >= F && (o = T);
|
|
4473
4482
|
}
|
|
4474
4483
|
if (a.initialized && o !== h && (!a.allowSlideNext && (u ? y > a.translate && y > a.minTranslate() : y < a.translate && y < a.minTranslate()) || !a.allowSlidePrev && y > a.translate && y > a.maxTranslate() && (h || 0) !== o))
|
|
4475
4484
|
return !1;
|
|
4476
|
-
o !== (
|
|
4485
|
+
o !== (c || 0) && t && a.emit("beforeSlideChangeStart"), a.updateProgress(y);
|
|
4477
4486
|
let g;
|
|
4478
4487
|
o > h ? g = "next" : o < h ? g = "prev" : g = "reset";
|
|
4479
4488
|
const v = a.virtual && a.params.virtual.enabled;
|
|
@@ -4505,7 +4514,7 @@ function od(r, e, t, n, i) {
|
|
|
4505
4514
|
!a || a.destroyed || E.target === this && (a.wrapperEl.removeEventListener("transitionend", a.onSlideToWrapperTransitionEnd), a.onSlideToWrapperTransitionEnd = null, delete a.onSlideToWrapperTransitionEnd, a.transitionEnd(t, g));
|
|
4506
4515
|
}), a.wrapperEl.addEventListener("transitionend", a.onSlideToWrapperTransitionEnd)), !0;
|
|
4507
4516
|
}
|
|
4508
|
-
function
|
|
4517
|
+
function lc(r, e, t, n) {
|
|
4509
4518
|
r === void 0 && (r = 0), t === void 0 && (t = !0), typeof r == "string" && (r = parseInt(r, 10));
|
|
4510
4519
|
const i = this;
|
|
4511
4520
|
if (i.destroyed) return;
|
|
@@ -4523,13 +4532,13 @@ function ld(r, e, t, n) {
|
|
|
4523
4532
|
} else
|
|
4524
4533
|
l = i.getSlideIndexByData(o);
|
|
4525
4534
|
const s = a ? Math.ceil(i.slides.length / i.params.grid.rows) : i.slides.length, {
|
|
4526
|
-
centeredSlides:
|
|
4535
|
+
centeredSlides: d
|
|
4527
4536
|
} = i.params;
|
|
4528
|
-
let
|
|
4529
|
-
|
|
4530
|
-
let h = s - l <
|
|
4531
|
-
if (
|
|
4532
|
-
const u =
|
|
4537
|
+
let c = i.params.slidesPerView;
|
|
4538
|
+
c === "auto" ? c = i.slidesPerViewDynamic() : (c = Math.ceil(parseFloat(i.params.slidesPerView, 10)), d && c % 2 === 0 && (c = c + 1));
|
|
4539
|
+
let h = s - l < c;
|
|
4540
|
+
if (d && (h = h || l < Math.ceil(c / 2)), n && d && i.params.slidesPerView !== "auto" && !a && (h = !1), h) {
|
|
4541
|
+
const u = d ? l < i.activeIndex ? "prev" : "next" : l - i.activeIndex - 1 < i.params.slidesPerView ? "next" : "prev";
|
|
4533
4542
|
i.loopFix({
|
|
4534
4543
|
direction: u,
|
|
4535
4544
|
slideTo: !0,
|
|
@@ -4547,7 +4556,7 @@ function ld(r, e, t, n) {
|
|
|
4547
4556
|
i.slideTo(o, e, t, n);
|
|
4548
4557
|
}), i;
|
|
4549
4558
|
}
|
|
4550
|
-
function
|
|
4559
|
+
function dc(r, e, t) {
|
|
4551
4560
|
e === void 0 && (e = !0);
|
|
4552
4561
|
const n = this, {
|
|
4553
4562
|
enabled: i,
|
|
@@ -4558,9 +4567,9 @@ function cd(r, e, t) {
|
|
|
4558
4567
|
typeof r > "u" && (r = n.params.speed);
|
|
4559
4568
|
let l = a.slidesPerGroup;
|
|
4560
4569
|
a.slidesPerView === "auto" && a.slidesPerGroup === 1 && a.slidesPerGroupAuto && (l = Math.max(n.slidesPerViewDynamic("current", !0), 1));
|
|
4561
|
-
const s = n.activeIndex < a.slidesPerGroupSkip ? 1 : l,
|
|
4570
|
+
const s = n.activeIndex < a.slidesPerGroupSkip ? 1 : l, d = n.virtual && a.virtual.enabled;
|
|
4562
4571
|
if (a.loop) {
|
|
4563
|
-
if (o && !
|
|
4572
|
+
if (o && !d && a.loopPreventsSliding) return !1;
|
|
4564
4573
|
if (n.loopFix({
|
|
4565
4574
|
direction: "next"
|
|
4566
4575
|
}), n._clientLeft = n.wrapperEl.clientLeft, n.activeIndex === n.slides.length - 1 && a.cssMode)
|
|
@@ -4570,7 +4579,7 @@ function cd(r, e, t) {
|
|
|
4570
4579
|
}
|
|
4571
4580
|
return a.rewind && n.isEnd ? n.slideTo(0, r, e, t) : n.slideTo(n.activeIndex + s, r, e, t);
|
|
4572
4581
|
}
|
|
4573
|
-
function
|
|
4582
|
+
function cc(r, e, t) {
|
|
4574
4583
|
e === void 0 && (e = !0);
|
|
4575
4584
|
const n = this, {
|
|
4576
4585
|
params: i,
|
|
@@ -4578,13 +4587,13 @@ function dd(r, e, t) {
|
|
|
4578
4587
|
slidesGrid: o,
|
|
4579
4588
|
rtlTranslate: l,
|
|
4580
4589
|
enabled: s,
|
|
4581
|
-
animating:
|
|
4590
|
+
animating: d
|
|
4582
4591
|
} = n;
|
|
4583
4592
|
if (!s || n.destroyed) return n;
|
|
4584
4593
|
typeof r > "u" && (r = n.params.speed);
|
|
4585
|
-
const
|
|
4594
|
+
const c = n.virtual && i.virtual.enabled;
|
|
4586
4595
|
if (i.loop) {
|
|
4587
|
-
if (
|
|
4596
|
+
if (d && !c && i.loopPreventsSliding) return !1;
|
|
4588
4597
|
n.loopFix({
|
|
4589
4598
|
direction: "prev"
|
|
4590
4599
|
}), n._clientLeft = n.wrapperEl.clientLeft;
|
|
@@ -4611,13 +4620,13 @@ function dd(r, e, t) {
|
|
|
4611
4620
|
}), !0;
|
|
4612
4621
|
return n.slideTo(w, r, e, t);
|
|
4613
4622
|
}
|
|
4614
|
-
function
|
|
4623
|
+
function uc(r, e, t) {
|
|
4615
4624
|
e === void 0 && (e = !0);
|
|
4616
4625
|
const n = this;
|
|
4617
4626
|
if (!n.destroyed)
|
|
4618
4627
|
return typeof r > "u" && (r = n.params.speed), n.slideTo(n.activeIndex, r, e, t);
|
|
4619
4628
|
}
|
|
4620
|
-
function
|
|
4629
|
+
function fc(r, e, t, n) {
|
|
4621
4630
|
e === void 0 && (e = !0), n === void 0 && (n = 0.5);
|
|
4622
4631
|
const i = this;
|
|
4623
4632
|
if (i.destroyed) return;
|
|
@@ -4625,15 +4634,15 @@ function fd(r, e, t, n) {
|
|
|
4625
4634
|
let a = i.activeIndex;
|
|
4626
4635
|
const o = Math.min(i.params.slidesPerGroupSkip, a), l = o + Math.floor((a - o) / i.params.slidesPerGroup), s = i.rtlTranslate ? i.translate : -i.translate;
|
|
4627
4636
|
if (s >= i.snapGrid[l]) {
|
|
4628
|
-
const
|
|
4629
|
-
s -
|
|
4637
|
+
const d = i.snapGrid[l], c = i.snapGrid[l + 1];
|
|
4638
|
+
s - d > (c - d) * n && (a += i.params.slidesPerGroup);
|
|
4630
4639
|
} else {
|
|
4631
|
-
const
|
|
4632
|
-
s -
|
|
4640
|
+
const d = i.snapGrid[l - 1], c = i.snapGrid[l];
|
|
4641
|
+
s - d <= (c - d) * n && (a -= i.params.slidesPerGroup);
|
|
4633
4642
|
}
|
|
4634
4643
|
return a = Math.max(a, 0), a = Math.min(a, i.slidesGrid.length - 1), i.slideTo(a, r, e, t);
|
|
4635
4644
|
}
|
|
4636
|
-
function
|
|
4645
|
+
function pc() {
|
|
4637
4646
|
const r = this;
|
|
4638
4647
|
if (r.destroyed) return;
|
|
4639
4648
|
const {
|
|
@@ -4644,24 +4653,24 @@ function pd() {
|
|
|
4644
4653
|
const o = r.isElement ? "swiper-slide" : `.${e.slideClass}`;
|
|
4645
4654
|
if (e.loop) {
|
|
4646
4655
|
if (r.animating) return;
|
|
4647
|
-
a = parseInt(r.clickedSlide.getAttribute("data-swiper-slide-index"), 10), e.centeredSlides ? i < r.loopedSlides - n / 2 || i > r.slides.length - r.loopedSlides + n / 2 ? (r.loopFix(), i = r.getSlideIndex(we(t, `${o}[data-swiper-slide-index="${a}"]`)[0]),
|
|
4656
|
+
a = parseInt(r.clickedSlide.getAttribute("data-swiper-slide-index"), 10), e.centeredSlides ? i < r.loopedSlides - n / 2 || i > r.slides.length - r.loopedSlides + n / 2 ? (r.loopFix(), i = r.getSlideIndex(we(t, `${o}[data-swiper-slide-index="${a}"]`)[0]), dr(() => {
|
|
4648
4657
|
r.slideTo(i);
|
|
4649
|
-
})) : r.slideTo(i) : i > r.slides.length - n ? (r.loopFix(), i = r.getSlideIndex(we(t, `${o}[data-swiper-slide-index="${a}"]`)[0]),
|
|
4658
|
+
})) : r.slideTo(i) : i > r.slides.length - n ? (r.loopFix(), i = r.getSlideIndex(we(t, `${o}[data-swiper-slide-index="${a}"]`)[0]), dr(() => {
|
|
4650
4659
|
r.slideTo(i);
|
|
4651
4660
|
})) : r.slideTo(i);
|
|
4652
4661
|
} else
|
|
4653
4662
|
r.slideTo(i);
|
|
4654
4663
|
}
|
|
4655
|
-
var
|
|
4656
|
-
slideTo:
|
|
4657
|
-
slideToLoop:
|
|
4658
|
-
slideNext:
|
|
4659
|
-
slidePrev:
|
|
4660
|
-
slideReset:
|
|
4661
|
-
slideToClosest:
|
|
4662
|
-
slideToClickedSlide:
|
|
4664
|
+
var mc = {
|
|
4665
|
+
slideTo: oc,
|
|
4666
|
+
slideToLoop: lc,
|
|
4667
|
+
slideNext: dc,
|
|
4668
|
+
slidePrev: cc,
|
|
4669
|
+
slideReset: uc,
|
|
4670
|
+
slideToClosest: fc,
|
|
4671
|
+
slideToClickedSlide: pc
|
|
4663
4672
|
};
|
|
4664
|
-
function
|
|
4673
|
+
function hc(r) {
|
|
4665
4674
|
const e = this, {
|
|
4666
4675
|
params: t,
|
|
4667
4676
|
slidesEl: n
|
|
@@ -4671,23 +4680,23 @@ function hd(r) {
|
|
|
4671
4680
|
we(n, `.${t.slideClass}, swiper-slide`).forEach((h, u) => {
|
|
4672
4681
|
h.setAttribute("data-swiper-slide-index", u);
|
|
4673
4682
|
});
|
|
4674
|
-
}, a = e.grid && t.grid && t.grid.rows > 1, o = t.slidesPerGroup * (a ? t.grid.rows : 1), l = e.slides.length % o !== 0, s = a && e.slides.length % t.grid.rows !== 0,
|
|
4675
|
-
for (let h = 0; h <
|
|
4683
|
+
}, a = e.grid && t.grid && t.grid.rows > 1, o = t.slidesPerGroup * (a ? t.grid.rows : 1), l = e.slides.length % o !== 0, s = a && e.slides.length % t.grid.rows !== 0, d = (c) => {
|
|
4684
|
+
for (let h = 0; h < c; h += 1) {
|
|
4676
4685
|
const u = e.isElement ? At("swiper-slide", [t.slideBlankClass]) : At("div", [t.slideClass, t.slideBlankClass]);
|
|
4677
4686
|
e.slidesEl.append(u);
|
|
4678
4687
|
}
|
|
4679
4688
|
};
|
|
4680
4689
|
if (l) {
|
|
4681
4690
|
if (t.loopAddBlankSlides) {
|
|
4682
|
-
const
|
|
4683
|
-
c
|
|
4691
|
+
const c = o - e.slides.length % o;
|
|
4692
|
+
d(c), e.recalcSlides(), e.updateSlides();
|
|
4684
4693
|
} else
|
|
4685
4694
|
It("Swiper Loop Warning: The number of slides is not even to slidesPerGroup, loop mode may not function properly. You need to add more slides (or make duplicates, or empty slides)");
|
|
4686
4695
|
i();
|
|
4687
4696
|
} else if (s) {
|
|
4688
4697
|
if (t.loopAddBlankSlides) {
|
|
4689
|
-
const
|
|
4690
|
-
c
|
|
4698
|
+
const c = t.grid.rows - e.slides.length % t.grid.rows;
|
|
4699
|
+
d(c), e.recalcSlides(), e.updateSlides();
|
|
4691
4700
|
} else
|
|
4692
4701
|
It("Swiper Loop Warning: The number of slides is not even to grid.rows, loop mode may not function properly. You need to add more slides (or make duplicates, or empty slides)");
|
|
4693
4702
|
i();
|
|
@@ -4698,7 +4707,7 @@ function hd(r) {
|
|
|
4698
4707
|
direction: t.centeredSlides ? void 0 : "next"
|
|
4699
4708
|
});
|
|
4700
4709
|
}
|
|
4701
|
-
function
|
|
4710
|
+
function gc(r) {
|
|
4702
4711
|
let {
|
|
4703
4712
|
slideRealIndex: e,
|
|
4704
4713
|
slideTo: t = !0,
|
|
@@ -4712,8 +4721,8 @@ function gd(r) {
|
|
|
4712
4721
|
if (!s.params.loop) return;
|
|
4713
4722
|
s.emit("beforeLoopFix");
|
|
4714
4723
|
const {
|
|
4715
|
-
slides:
|
|
4716
|
-
allowSlidePrev:
|
|
4724
|
+
slides: d,
|
|
4725
|
+
allowSlidePrev: c,
|
|
4717
4726
|
allowSlideNext: h,
|
|
4718
4727
|
slidesEl: u,
|
|
4719
4728
|
params: m
|
|
@@ -4721,7 +4730,7 @@ function gd(r) {
|
|
|
4721
4730
|
centeredSlides: f
|
|
4722
4731
|
} = m;
|
|
4723
4732
|
if (s.allowSlidePrev = !0, s.allowSlideNext = !0, s.virtual && m.virtual.enabled) {
|
|
4724
|
-
t && (!m.centeredSlides && s.snapIndex === 0 ? s.slideTo(s.virtual.slides.length, 0, !1, !0) : m.centeredSlides && s.snapIndex < m.slidesPerView ? s.slideTo(s.virtual.slides.length + s.snapIndex, 0, !1, !0) : s.snapIndex === s.snapGrid.length - 1 && s.slideTo(s.virtual.slidesBefore, 0, !1, !0)), s.allowSlidePrev =
|
|
4733
|
+
t && (!m.centeredSlides && s.snapIndex === 0 ? s.slideTo(s.virtual.slides.length, 0, !1, !0) : m.centeredSlides && s.snapIndex < m.slidesPerView ? s.slideTo(s.virtual.slides.length + s.snapIndex, 0, !1, !0) : s.snapIndex === s.snapGrid.length - 1 && s.slideTo(s.virtual.slidesBefore, 0, !1, !0)), s.allowSlidePrev = c, s.allowSlideNext = h, s.emit("loopFix");
|
|
4725
4734
|
return;
|
|
4726
4735
|
}
|
|
4727
4736
|
let p = m.slidesPerView;
|
|
@@ -4730,21 +4739,21 @@ function gd(r) {
|
|
|
4730
4739
|
let y = w;
|
|
4731
4740
|
y % w !== 0 && (y += w - y % w), y += m.loopAdditionalSlides, s.loopedSlides = y;
|
|
4732
4741
|
const g = s.grid && m.grid && m.grid.rows > 1;
|
|
4733
|
-
|
|
4742
|
+
d.length < p + y ? It("Swiper Loop Warning: The number of slides is not enough for loop mode, it will be disabled and not function properly. You need to add more slides (or make duplicates) or lower the values of slidesPerView and slidesPerGroup parameters") : g && m.grid.fill === "row" && It("Swiper Loop Warning: Loop mode is not compatible with grid.fill = `row`");
|
|
4734
4743
|
const v = [], x = [];
|
|
4735
4744
|
let T = s.activeIndex;
|
|
4736
|
-
typeof a > "u" ? a = s.getSlideIndex(
|
|
4745
|
+
typeof a > "u" ? a = s.getSlideIndex(d.filter((P) => P.classList.contains(m.slideActiveClass))[0]) : T = a;
|
|
4737
4746
|
const E = n === "next" || !n, F = n === "prev" || !n;
|
|
4738
4747
|
let A = 0, C = 0;
|
|
4739
|
-
const S = g ? Math.ceil(
|
|
4748
|
+
const S = g ? Math.ceil(d.length / m.grid.rows) : d.length, N = (g ? d[a].column : a) + (f && typeof i > "u" ? -p / 2 + 0.5 : 0);
|
|
4740
4749
|
if (N < y) {
|
|
4741
4750
|
A = Math.max(y - N, w);
|
|
4742
4751
|
for (let P = 0; P < y - N; P += 1) {
|
|
4743
4752
|
const k = P - Math.floor(P / S) * S;
|
|
4744
4753
|
if (g) {
|
|
4745
4754
|
const R = S - k - 1;
|
|
4746
|
-
for (let X =
|
|
4747
|
-
|
|
4755
|
+
for (let X = d.length - 1; X >= 0; X -= 1)
|
|
4756
|
+
d[X].column === R && v.push(X);
|
|
4748
4757
|
} else
|
|
4749
4758
|
v.push(S - k - 1);
|
|
4750
4759
|
}
|
|
@@ -4752,7 +4761,7 @@ function gd(r) {
|
|
|
4752
4761
|
C = Math.max(N - (S - y * 2), w);
|
|
4753
4762
|
for (let P = 0; P < C; P += 1) {
|
|
4754
4763
|
const k = P - Math.floor(P / S) * S;
|
|
4755
|
-
g ?
|
|
4764
|
+
g ? d.forEach((R, X) => {
|
|
4756
4765
|
R.column === k && x.push(X);
|
|
4757
4766
|
}) : x.push(k);
|
|
4758
4767
|
}
|
|
@@ -4760,9 +4769,9 @@ function gd(r) {
|
|
|
4760
4769
|
if (s.__preventObserver__ = !0, requestAnimationFrame(() => {
|
|
4761
4770
|
s.__preventObserver__ = !1;
|
|
4762
4771
|
}), F && v.forEach((P) => {
|
|
4763
|
-
|
|
4772
|
+
d[P].swiperLoopMoveDOM = !0, u.prepend(d[P]), d[P].swiperLoopMoveDOM = !1;
|
|
4764
4773
|
}), E && x.forEach((P) => {
|
|
4765
|
-
|
|
4774
|
+
d[P].swiperLoopMoveDOM = !0, u.append(d[P]), d[P].swiperLoopMoveDOM = !1;
|
|
4766
4775
|
}), s.recalcSlides(), m.slidesPerView === "auto" ? s.updateSlides() : g && (v.length > 0 && F || x.length > 0 && E) && s.slides.forEach((P, k) => {
|
|
4767
4776
|
s.grid.updateSlide(k, P, s.slides);
|
|
4768
4777
|
}), m.watchSlidesProgress && s.updateSlidesOffset(), t) {
|
|
@@ -4783,7 +4792,7 @@ function gd(r) {
|
|
|
4783
4792
|
s.slideTo(s.activeIndex - P, 0, !1, !0);
|
|
4784
4793
|
}
|
|
4785
4794
|
}
|
|
4786
|
-
if (s.allowSlidePrev =
|
|
4795
|
+
if (s.allowSlidePrev = c, s.allowSlideNext = h, s.controller && s.controller.control && !o) {
|
|
4787
4796
|
const P = {
|
|
4788
4797
|
slideRealIndex: e,
|
|
4789
4798
|
direction: n,
|
|
@@ -4803,7 +4812,7 @@ function gd(r) {
|
|
|
4803
4812
|
}
|
|
4804
4813
|
s.emit("loopFix");
|
|
4805
4814
|
}
|
|
4806
|
-
function
|
|
4815
|
+
function vc() {
|
|
4807
4816
|
const r = this, {
|
|
4808
4817
|
params: e,
|
|
4809
4818
|
slidesEl: t
|
|
@@ -4820,12 +4829,12 @@ function vd() {
|
|
|
4820
4829
|
t.append(i);
|
|
4821
4830
|
}), r.recalcSlides(), r.slideTo(r.realIndex, 0);
|
|
4822
4831
|
}
|
|
4823
|
-
var
|
|
4824
|
-
loopCreate:
|
|
4825
|
-
loopFix:
|
|
4826
|
-
loopDestroy:
|
|
4832
|
+
var wc = {
|
|
4833
|
+
loopCreate: hc,
|
|
4834
|
+
loopFix: gc,
|
|
4835
|
+
loopDestroy: vc
|
|
4827
4836
|
};
|
|
4828
|
-
function
|
|
4837
|
+
function bc(r) {
|
|
4829
4838
|
const e = this;
|
|
4830
4839
|
if (!e.params.simulateTouch || e.params.watchOverflow && e.isLocked || e.params.cssMode) return;
|
|
4831
4840
|
const t = e.params.touchEventsTarget === "container" ? e.el : e.wrapperEl;
|
|
@@ -4833,17 +4842,17 @@ function bd(r) {
|
|
|
4833
4842
|
e.__preventObserver__ = !1;
|
|
4834
4843
|
});
|
|
4835
4844
|
}
|
|
4836
|
-
function
|
|
4845
|
+
function yc() {
|
|
4837
4846
|
const r = this;
|
|
4838
4847
|
r.params.watchOverflow && r.isLocked || r.params.cssMode || (r.isElement && (r.__preventObserver__ = !0), r[r.params.touchEventsTarget === "container" ? "el" : "wrapperEl"].style.cursor = "", r.isElement && requestAnimationFrame(() => {
|
|
4839
4848
|
r.__preventObserver__ = !1;
|
|
4840
4849
|
}));
|
|
4841
4850
|
}
|
|
4842
|
-
var
|
|
4843
|
-
setGrabCursor:
|
|
4844
|
-
unsetGrabCursor:
|
|
4851
|
+
var xc = {
|
|
4852
|
+
setGrabCursor: bc,
|
|
4853
|
+
unsetGrabCursor: yc
|
|
4845
4854
|
};
|
|
4846
|
-
function
|
|
4855
|
+
function Tc(r, e) {
|
|
4847
4856
|
e === void 0 && (e = this);
|
|
4848
4857
|
function t(n) {
|
|
4849
4858
|
if (!n || n === Ee() || n === oe()) return null;
|
|
@@ -4859,7 +4868,7 @@ function an(r, e, t) {
|
|
|
4859
4868
|
} = r, a = i.edgeSwipeDetection, o = i.edgeSwipeThreshold;
|
|
4860
4869
|
return a && (t <= o || t >= n.innerWidth - o) ? a === "prevent" ? (e.preventDefault(), !0) : !1 : !0;
|
|
4861
4870
|
}
|
|
4862
|
-
function
|
|
4871
|
+
function Sc(r) {
|
|
4863
4872
|
const e = this, t = Ee();
|
|
4864
4873
|
let n = r;
|
|
4865
4874
|
n.originalEvent && (n = n.originalEvent);
|
|
@@ -4882,11 +4891,11 @@ function Sd(r) {
|
|
|
4882
4891
|
return;
|
|
4883
4892
|
!e.animating && a.cssMode && a.loop && e.loopFix();
|
|
4884
4893
|
let s = n.target;
|
|
4885
|
-
if (a.touchEventsTarget === "wrapper" && !
|
|
4886
|
-
const
|
|
4887
|
-
|
|
4894
|
+
if (a.touchEventsTarget === "wrapper" && !Td(s, e.wrapperEl) || "which" in n && n.which === 3 || "button" in n && n.button > 0 || i.isTouched && i.isMoved) return;
|
|
4895
|
+
const d = !!a.noSwipingClass && a.noSwipingClass !== "", c = n.composedPath ? n.composedPath() : n.path;
|
|
4896
|
+
d && n.target && n.target.shadowRoot && c && (s = c[0]);
|
|
4888
4897
|
const h = a.noSwipingSelector ? a.noSwipingSelector : `.${a.noSwipingClass}`, u = !!(n.target && n.target.shadowRoot);
|
|
4889
|
-
if (a.noSwiping && (u ?
|
|
4898
|
+
if (a.noSwiping && (u ? Tc(h, s) : s.closest(h))) {
|
|
4890
4899
|
e.allowClick = !0;
|
|
4891
4900
|
return;
|
|
4892
4901
|
}
|
|
@@ -4908,7 +4917,7 @@ function Sd(r) {
|
|
|
4908
4917
|
const w = p && e.allowTouchMove && a.touchStartPreventDefault;
|
|
4909
4918
|
(a.touchStartForcePreventDefault || w) && !s.isContentEditable && n.preventDefault(), a.freeMode && a.freeMode.enabled && e.freeMode && e.animating && !a.cssMode && e.freeMode.onTouchStart(), e.emit("touchStart", n);
|
|
4910
4919
|
}
|
|
4911
|
-
function
|
|
4920
|
+
function Cc(r) {
|
|
4912
4921
|
const e = Ee(), t = this, n = t.touchEventsData, {
|
|
4913
4922
|
params: i,
|
|
4914
4923
|
touches: a,
|
|
@@ -4919,25 +4928,25 @@ function Cd(r) {
|
|
|
4919
4928
|
let s = r;
|
|
4920
4929
|
if (s.originalEvent && (s = s.originalEvent), s.type === "pointermove" && (n.touchId !== null || s.pointerId !== n.pointerId))
|
|
4921
4930
|
return;
|
|
4922
|
-
let
|
|
4931
|
+
let d;
|
|
4923
4932
|
if (s.type === "touchmove") {
|
|
4924
|
-
if (
|
|
4933
|
+
if (d = [...s.changedTouches].filter((E) => E.identifier === n.touchId)[0], !d || d.identifier !== n.touchId) return;
|
|
4925
4934
|
} else
|
|
4926
|
-
|
|
4935
|
+
d = s;
|
|
4927
4936
|
if (!n.isTouched) {
|
|
4928
4937
|
n.startMoving && n.isScrolling && t.emit("touchMoveOpposite", s);
|
|
4929
4938
|
return;
|
|
4930
4939
|
}
|
|
4931
|
-
const
|
|
4940
|
+
const c = d.pageX, h = d.pageY;
|
|
4932
4941
|
if (s.preventedByNestedSwiper) {
|
|
4933
|
-
a.startX =
|
|
4942
|
+
a.startX = c, a.startY = h;
|
|
4934
4943
|
return;
|
|
4935
4944
|
}
|
|
4936
4945
|
if (!t.allowTouchMove) {
|
|
4937
4946
|
s.target.matches(n.focusableElements) || (t.allowClick = !1), n.isTouched && (Object.assign(a, {
|
|
4938
|
-
startX:
|
|
4947
|
+
startX: c,
|
|
4939
4948
|
startY: h,
|
|
4940
|
-
currentX:
|
|
4949
|
+
currentX: c,
|
|
4941
4950
|
currentY: h
|
|
4942
4951
|
}), n.touchStartTime = Ot());
|
|
4943
4952
|
return;
|
|
@@ -4948,14 +4957,14 @@ function Cd(r) {
|
|
|
4948
4957
|
n.isTouched = !1, n.isMoved = !1;
|
|
4949
4958
|
return;
|
|
4950
4959
|
}
|
|
4951
|
-
} else if (
|
|
4960
|
+
} else if (c < a.startX && t.translate <= t.maxTranslate() || c > a.startX && t.translate >= t.minTranslate())
|
|
4952
4961
|
return;
|
|
4953
4962
|
}
|
|
4954
4963
|
if (e.activeElement && e.activeElement.matches(n.focusableElements) && e.activeElement !== s.target && s.pointerType !== "mouse" && e.activeElement.blur(), e.activeElement && s.target === e.activeElement && s.target.matches(n.focusableElements)) {
|
|
4955
4964
|
n.isMoved = !0, t.allowClick = !1;
|
|
4956
4965
|
return;
|
|
4957
4966
|
}
|
|
4958
|
-
n.allowTouchCallbacks && t.emit("touchMove", s), a.previousX = a.currentX, a.previousY = a.currentY, a.currentX =
|
|
4967
|
+
n.allowTouchCallbacks && t.emit("touchMove", s), a.previousX = a.currentX, a.previousY = a.currentY, a.currentX = c, a.currentY = h;
|
|
4959
4968
|
const u = a.currentX - a.startX, m = a.currentY - a.startY;
|
|
4960
4969
|
if (t.params.threshold && Math.sqrt(u ** 2 + m ** 2) < t.params.threshold) return;
|
|
4961
4970
|
if (typeof n.isScrolling > "u") {
|
|
@@ -4992,9 +5001,9 @@ function Cd(r) {
|
|
|
4992
5001
|
let v;
|
|
4993
5002
|
if ((/* @__PURE__ */ new Date()).getTime(), n.isMoved && n.allowThresholdMove && w !== t.touchesDirection && y && g && Math.abs(f) >= 1) {
|
|
4994
5003
|
Object.assign(a, {
|
|
4995
|
-
startX:
|
|
5004
|
+
startX: c,
|
|
4996
5005
|
startY: h,
|
|
4997
|
-
currentX:
|
|
5006
|
+
currentX: c,
|
|
4998
5007
|
currentY: h,
|
|
4999
5008
|
startTranslate: n.currentTranslate
|
|
5000
5009
|
}), n.loopSwapReset = !0, n.startTranslate = n.currentTranslate;
|
|
@@ -5022,7 +5031,7 @@ function Cd(r) {
|
|
|
5022
5031
|
}
|
|
5023
5032
|
!i.followFinger || i.cssMode || ((i.freeMode && i.freeMode.enabled && t.freeMode || i.watchSlidesProgress) && (t.updateActiveIndex(), t.updateSlidesClasses()), i.freeMode && i.freeMode.enabled && t.freeMode && t.freeMode.onTouchMove(), t.updateProgress(n.currentTranslate), t.setTranslate(n.currentTranslate));
|
|
5024
5033
|
}
|
|
5025
|
-
function
|
|
5034
|
+
function Ec(r) {
|
|
5026
5035
|
const e = this, t = e.touchEventsData;
|
|
5027
5036
|
let n = r;
|
|
5028
5037
|
n.originalEvent && (n = n.originalEvent);
|
|
@@ -5040,10 +5049,10 @@ function Ed(r) {
|
|
|
5040
5049
|
params: o,
|
|
5041
5050
|
touches: l,
|
|
5042
5051
|
rtlTranslate: s,
|
|
5043
|
-
slidesGrid:
|
|
5044
|
-
enabled:
|
|
5052
|
+
slidesGrid: d,
|
|
5053
|
+
enabled: c
|
|
5045
5054
|
} = e;
|
|
5046
|
-
if (!
|
|
5055
|
+
if (!c || !o.simulateTouch && n.pointerType === "mouse") return;
|
|
5047
5056
|
if (t.allowTouchCallbacks && e.emit("touchEnd", n), t.allowTouchCallbacks = !1, !t.isTouched) {
|
|
5048
5057
|
t.isMoved && o.grabCursor && e.setGrabCursor(!1), t.isMoved = !1, t.startMoving = !1;
|
|
5049
5058
|
return;
|
|
@@ -5054,7 +5063,7 @@ function Ed(r) {
|
|
|
5054
5063
|
const T = n.path || n.composedPath && n.composedPath();
|
|
5055
5064
|
e.updateClickedSlide(T && T[0] || n.target, T), e.emit("tap click", n), u < 300 && h - t.lastClickTime < 300 && e.emit("doubleTap doubleClick", n);
|
|
5056
5065
|
}
|
|
5057
|
-
if (t.lastClickTime = Ot(),
|
|
5066
|
+
if (t.lastClickTime = Ot(), dr(() => {
|
|
5058
5067
|
e.destroyed || (e.allowClick = !0);
|
|
5059
5068
|
}), !t.isTouched || !t.isMoved || !e.swipeDirection || l.diff === 0 && !t.loopSwapReset || t.currentTranslate === t.startTranslate && !t.loopSwapReset) {
|
|
5060
5069
|
t.isTouched = !1, t.isMoved = !1, t.startMoving = !1;
|
|
@@ -5072,13 +5081,13 @@ function Ed(r) {
|
|
|
5072
5081
|
}
|
|
5073
5082
|
const f = m >= -e.maxTranslate() && !e.params.loop;
|
|
5074
5083
|
let p = 0, w = e.slidesSizesGrid[0];
|
|
5075
|
-
for (let T = 0; T <
|
|
5084
|
+
for (let T = 0; T < d.length; T += T < o.slidesPerGroupSkip ? 1 : o.slidesPerGroup) {
|
|
5076
5085
|
const E = T < o.slidesPerGroupSkip - 1 ? 1 : o.slidesPerGroup;
|
|
5077
|
-
typeof
|
|
5086
|
+
typeof d[T + E] < "u" ? (f || m >= d[T] && m < d[T + E]) && (p = T, w = d[T + E] - d[T]) : (f || m >= d[T]) && (p = T, w = d[d.length - 1] - d[d.length - 2]);
|
|
5078
5087
|
}
|
|
5079
5088
|
let y = null, g = null;
|
|
5080
5089
|
o.rewind && (e.isBeginning ? g = o.virtual && o.virtual.enabled && e.virtual ? e.virtual.slides.length - 1 : e.slides.length - 1 : e.isEnd && (y = 0));
|
|
5081
|
-
const v = (m -
|
|
5090
|
+
const v = (m - d[p]) / w, x = p < o.slidesPerGroupSkip - 1 ? 1 : o.slidesPerGroup;
|
|
5082
5091
|
if (u > o.longSwipesMs) {
|
|
5083
5092
|
if (!o.longSwipes) {
|
|
5084
5093
|
e.slideTo(e.activeIndex);
|
|
@@ -5111,11 +5120,11 @@ function sn() {
|
|
|
5111
5120
|
r.autoplay && r.autoplay.running && r.autoplay.paused && r.autoplay.resume();
|
|
5112
5121
|
}, 500)), r.allowSlidePrev = i, r.allowSlideNext = n, r.params.watchOverflow && a !== r.snapGrid && r.checkOverflow();
|
|
5113
5122
|
}
|
|
5114
|
-
function
|
|
5123
|
+
function Pc(r) {
|
|
5115
5124
|
const e = this;
|
|
5116
5125
|
e.enabled && (e.allowClick || (e.params.preventClicks && r.preventDefault(), e.params.preventClicksPropagation && e.animating && (r.stopPropagation(), r.stopImmediatePropagation())));
|
|
5117
5126
|
}
|
|
5118
|
-
function
|
|
5127
|
+
function Mc() {
|
|
5119
5128
|
const r = this, {
|
|
5120
5129
|
wrapperEl: e,
|
|
5121
5130
|
rtlTranslate: t,
|
|
@@ -5127,11 +5136,11 @@ function Md() {
|
|
|
5127
5136
|
const a = r.maxTranslate() - r.minTranslate();
|
|
5128
5137
|
a === 0 ? i = 0 : i = (r.translate - r.minTranslate()) / a, i !== r.progress && r.updateProgress(t ? -r.translate : r.translate), r.emit("setTranslate", r.translate, !1);
|
|
5129
5138
|
}
|
|
5130
|
-
function
|
|
5139
|
+
function Oc(r) {
|
|
5131
5140
|
const e = this;
|
|
5132
5141
|
xt(e, r.target), !(e.params.cssMode || e.params.slidesPerView !== "auto" && !e.params.autoHeight) && e.update();
|
|
5133
5142
|
}
|
|
5134
|
-
function
|
|
5143
|
+
function Ic() {
|
|
5135
5144
|
const r = this;
|
|
5136
5145
|
r.documentTouchHandlerProceeded || (r.documentTouchHandlerProceeded = !0, r.params.touchReleaseOnEdges && (r.el.style.touchAction = "auto"));
|
|
5137
5146
|
}
|
|
@@ -5141,7 +5150,7 @@ const Ji = (r, e) => {
|
|
|
5141
5150
|
el: i,
|
|
5142
5151
|
wrapperEl: a,
|
|
5143
5152
|
device: o
|
|
5144
|
-
} = r, l = !!n.nested, s = e === "on" ? "addEventListener" : "removeEventListener",
|
|
5153
|
+
} = r, l = !!n.nested, s = e === "on" ? "addEventListener" : "removeEventListener", d = e;
|
|
5145
5154
|
!i || typeof i == "string" || (t[s]("touchstart", r.onDocumentTouchStart, {
|
|
5146
5155
|
passive: !1,
|
|
5147
5156
|
capture: l
|
|
@@ -5169,25 +5178,25 @@ const Ji = (r, e) => {
|
|
|
5169
5178
|
passive: !0
|
|
5170
5179
|
}), t[s]("contextmenu", r.onTouchEnd, {
|
|
5171
5180
|
passive: !0
|
|
5172
|
-
}), (n.preventClicks || n.preventClicksPropagation) && i[s]("click", r.onClick, !0), n.cssMode && a[s]("scroll", r.onScroll), n.updateOnWindowResize ? r[
|
|
5181
|
+
}), (n.preventClicks || n.preventClicksPropagation) && i[s]("click", r.onClick, !0), n.cssMode && a[s]("scroll", r.onScroll), n.updateOnWindowResize ? r[d](o.ios || o.android ? "resize orientationchange observerUpdate" : "resize observerUpdate", sn, !0) : r[d]("observerUpdate", sn, !0), i[s]("load", r.onLoad, {
|
|
5173
5182
|
capture: !0
|
|
5174
5183
|
}));
|
|
5175
5184
|
};
|
|
5176
|
-
function
|
|
5185
|
+
function Ac() {
|
|
5177
5186
|
const r = this, {
|
|
5178
5187
|
params: e
|
|
5179
5188
|
} = r;
|
|
5180
|
-
r.onTouchStart =
|
|
5189
|
+
r.onTouchStart = Sc.bind(r), r.onTouchMove = Cc.bind(r), r.onTouchEnd = Ec.bind(r), r.onDocumentTouchStart = Ic.bind(r), e.cssMode && (r.onScroll = Mc.bind(r)), r.onClick = Pc.bind(r), r.onLoad = Oc.bind(r), Ji(r, "on");
|
|
5181
5190
|
}
|
|
5182
|
-
function
|
|
5191
|
+
function Nc() {
|
|
5183
5192
|
Ji(this, "off");
|
|
5184
5193
|
}
|
|
5185
|
-
var
|
|
5186
|
-
attachEvents:
|
|
5187
|
-
detachEvents:
|
|
5194
|
+
var kc = {
|
|
5195
|
+
attachEvents: Ac,
|
|
5196
|
+
detachEvents: Nc
|
|
5188
5197
|
};
|
|
5189
5198
|
const on = (r, e) => r.grid && e.grid && e.grid.rows > 1;
|
|
5190
|
-
function
|
|
5199
|
+
function Lc() {
|
|
5191
5200
|
const r = this, {
|
|
5192
5201
|
realIndex: e,
|
|
5193
5202
|
initialized: t,
|
|
@@ -5197,8 +5206,8 @@ function Ld() {
|
|
|
5197
5206
|
if (!a || a && Object.keys(a).length === 0) return;
|
|
5198
5207
|
const o = r.getBreakpoint(a, r.params.breakpointsBase, r.el);
|
|
5199
5208
|
if (!o || r.currentBreakpoint === o) return;
|
|
5200
|
-
const s = (o in a ? a[o] : void 0) || r.originalParams,
|
|
5201
|
-
|
|
5209
|
+
const s = (o in a ? a[o] : void 0) || r.originalParams, d = on(r, n), c = on(r, s), h = r.params.grabCursor, u = s.grabCursor, m = n.enabled;
|
|
5210
|
+
d && !c ? (i.classList.remove(`${n.containerModifierClass}grid`, `${n.containerModifierClass}grid-column`), r.emitContainerClasses()) : !d && c && (i.classList.add(`${n.containerModifierClass}grid`), (s.grid.fill && s.grid.fill === "column" || !s.grid.fill && n.grid.fill === "column") && i.classList.add(`${n.containerModifierClass}grid-column`), r.emitContainerClasses()), h && !u ? r.unsetGrabCursor() : !h && u && r.setGrabCursor(), ["navigation", "pagination", "scrollbar"].forEach((v) => {
|
|
5202
5211
|
if (typeof s[v] > "u") return;
|
|
5203
5212
|
const x = n[v] && n[v].enabled, T = s[v] && s[v].enabled;
|
|
5204
5213
|
x && !T && r[v].disable(), !x && T && r[v].enable();
|
|
@@ -5212,7 +5221,7 @@ function Ld() {
|
|
|
5212
5221
|
allowSlidePrev: r.params.allowSlidePrev
|
|
5213
5222
|
}), m && !y ? r.disable() : !m && y && r.enable(), r.currentBreakpoint = o, r.emit("_beforeBreakpoint", s), t && (p ? (r.loopDestroy(), r.loopCreate(e), r.updateSlides()) : !w && g ? (r.loopCreate(e), r.updateSlides()) : w && !g && r.loopDestroy()), r.emit("breakpoint", s);
|
|
5214
5223
|
}
|
|
5215
|
-
function
|
|
5224
|
+
function Dc(r, e, t) {
|
|
5216
5225
|
if (e === void 0 && (e = "window"), !r || e === "container" && !t) return;
|
|
5217
5226
|
let n = !1;
|
|
5218
5227
|
const i = oe(), a = e === "window" ? i.innerHeight : t.clientHeight, o = Object.keys(r).map((l) => {
|
|
@@ -5232,17 +5241,17 @@ function Dd(r, e, t) {
|
|
|
5232
5241
|
for (let l = 0; l < o.length; l += 1) {
|
|
5233
5242
|
const {
|
|
5234
5243
|
point: s,
|
|
5235
|
-
value:
|
|
5244
|
+
value: d
|
|
5236
5245
|
} = o[l];
|
|
5237
|
-
e === "window" ? i.matchMedia(`(min-width: ${
|
|
5246
|
+
e === "window" ? i.matchMedia(`(min-width: ${d}px)`).matches && (n = s) : d <= t.clientWidth && (n = s);
|
|
5238
5247
|
}
|
|
5239
5248
|
return n || "max";
|
|
5240
5249
|
}
|
|
5241
|
-
var
|
|
5242
|
-
setBreakpoint:
|
|
5243
|
-
getBreakpoint:
|
|
5250
|
+
var _c = {
|
|
5251
|
+
setBreakpoint: Lc,
|
|
5252
|
+
getBreakpoint: Dc
|
|
5244
5253
|
};
|
|
5245
|
-
function
|
|
5254
|
+
function Fc(r, e) {
|
|
5246
5255
|
const t = [];
|
|
5247
5256
|
return r.forEach((n) => {
|
|
5248
5257
|
typeof n == "object" ? Object.keys(n).forEach((i) => {
|
|
@@ -5250,14 +5259,14 @@ function Fd(r, e) {
|
|
|
5250
5259
|
}) : typeof n == "string" && t.push(e + n);
|
|
5251
5260
|
}), t;
|
|
5252
5261
|
}
|
|
5253
|
-
function
|
|
5262
|
+
function Vc() {
|
|
5254
5263
|
const r = this, {
|
|
5255
5264
|
classNames: e,
|
|
5256
5265
|
params: t,
|
|
5257
5266
|
rtl: n,
|
|
5258
5267
|
el: i,
|
|
5259
5268
|
device: a
|
|
5260
|
-
} = r, o =
|
|
5269
|
+
} = r, o = Fc(["initialized", t.direction, {
|
|
5261
5270
|
"free-mode": r.params.freeMode && t.freeMode.enabled
|
|
5262
5271
|
}, {
|
|
5263
5272
|
autoheight: t.autoHeight
|
|
@@ -5280,18 +5289,18 @@ function Vd() {
|
|
|
5280
5289
|
}], t.containerModifierClass);
|
|
5281
5290
|
e.push(...o), i.classList.add(...e), r.emitContainerClasses();
|
|
5282
5291
|
}
|
|
5283
|
-
function
|
|
5292
|
+
function zc() {
|
|
5284
5293
|
const r = this, {
|
|
5285
5294
|
el: e,
|
|
5286
5295
|
classNames: t
|
|
5287
5296
|
} = r;
|
|
5288
5297
|
!e || typeof e == "string" || (e.classList.remove(...t), r.emitContainerClasses());
|
|
5289
5298
|
}
|
|
5290
|
-
var
|
|
5291
|
-
addClasses:
|
|
5292
|
-
removeClasses:
|
|
5299
|
+
var Rc = {
|
|
5300
|
+
addClasses: Vc,
|
|
5301
|
+
removeClasses: zc
|
|
5293
5302
|
};
|
|
5294
|
-
function
|
|
5303
|
+
function Bc() {
|
|
5295
5304
|
const r = this, {
|
|
5296
5305
|
isLocked: e,
|
|
5297
5306
|
params: t
|
|
@@ -5305,8 +5314,8 @@ function Bd() {
|
|
|
5305
5314
|
r.isLocked = r.snapGrid.length === 1;
|
|
5306
5315
|
t.allowSlideNext === !0 && (r.allowSlideNext = !r.isLocked), t.allowSlidePrev === !0 && (r.allowSlidePrev = !r.isLocked), e && e !== r.isLocked && (r.isEnd = !1), e !== r.isLocked && r.emit(r.isLocked ? "lock" : "unlock");
|
|
5307
5316
|
}
|
|
5308
|
-
var
|
|
5309
|
-
checkOverflow:
|
|
5317
|
+
var Wc = {
|
|
5318
|
+
checkOverflow: Bc
|
|
5310
5319
|
}, fr = {
|
|
5311
5320
|
init: !0,
|
|
5312
5321
|
direction: "horizontal",
|
|
@@ -5428,7 +5437,7 @@ var Wd = {
|
|
|
5428
5437
|
// Internals
|
|
5429
5438
|
_emitClasses: !1
|
|
5430
5439
|
};
|
|
5431
|
-
function
|
|
5440
|
+
function Gc(r, e) {
|
|
5432
5441
|
return function(n) {
|
|
5433
5442
|
n === void 0 && (n = {});
|
|
5434
5443
|
const i = Object.keys(n)[0], a = n[i];
|
|
@@ -5448,17 +5457,17 @@ function Gd(r, e) {
|
|
|
5448
5457
|
};
|
|
5449
5458
|
}
|
|
5450
5459
|
const rr = {
|
|
5451
|
-
eventsEmitter:
|
|
5452
|
-
update:
|
|
5453
|
-
translate:
|
|
5454
|
-
transition:
|
|
5455
|
-
slide:
|
|
5456
|
-
loop:
|
|
5457
|
-
grabCursor:
|
|
5458
|
-
events:
|
|
5459
|
-
breakpoints:
|
|
5460
|
-
checkOverflow:
|
|
5461
|
-
classes:
|
|
5460
|
+
eventsEmitter: Rd,
|
|
5461
|
+
update: Qd,
|
|
5462
|
+
translate: rc,
|
|
5463
|
+
transition: sc,
|
|
5464
|
+
slide: mc,
|
|
5465
|
+
loop: wc,
|
|
5466
|
+
grabCursor: xc,
|
|
5467
|
+
events: kc,
|
|
5468
|
+
breakpoints: _c,
|
|
5469
|
+
checkOverflow: Wc,
|
|
5470
|
+
classes: Rc
|
|
5462
5471
|
}, nr = {};
|
|
5463
5472
|
let Nr = class Se {
|
|
5464
5473
|
constructor() {
|
|
@@ -5468,33 +5477,33 @@ let Nr = class Se {
|
|
|
5468
5477
|
i.length === 1 && i[0].constructor && Object.prototype.toString.call(i[0]).slice(8, -1) === "Object" ? t = i[0] : [e, t] = i, t || (t = {}), t = ie({}, t), e && !t.el && (t.el = e);
|
|
5469
5478
|
const o = Ee();
|
|
5470
5479
|
if (t.el && typeof t.el == "string" && o.querySelectorAll(t.el).length > 1) {
|
|
5471
|
-
const
|
|
5480
|
+
const c = [];
|
|
5472
5481
|
return o.querySelectorAll(t.el).forEach((h) => {
|
|
5473
5482
|
const u = ie({}, t, {
|
|
5474
5483
|
el: h
|
|
5475
5484
|
});
|
|
5476
|
-
|
|
5477
|
-
}),
|
|
5485
|
+
c.push(new Se(u));
|
|
5486
|
+
}), c;
|
|
5478
5487
|
}
|
|
5479
5488
|
const l = this;
|
|
5480
5489
|
l.__swiper__ = !0, l.support = Qi(), l.device = Ki({
|
|
5481
5490
|
userAgent: t.userAgent
|
|
5482
|
-
}), l.browser =
|
|
5491
|
+
}), l.browser = Fd(), l.eventsListeners = {}, l.eventsAnyListeners = [], l.modules = [...l.__modules__], t.modules && Array.isArray(t.modules) && l.modules.push(...t.modules);
|
|
5483
5492
|
const s = {};
|
|
5484
|
-
l.modules.forEach((
|
|
5485
|
-
|
|
5493
|
+
l.modules.forEach((c) => {
|
|
5494
|
+
c({
|
|
5486
5495
|
params: t,
|
|
5487
5496
|
swiper: l,
|
|
5488
|
-
extendParams:
|
|
5497
|
+
extendParams: Gc(t, s),
|
|
5489
5498
|
on: l.on.bind(l),
|
|
5490
5499
|
once: l.once.bind(l),
|
|
5491
5500
|
off: l.off.bind(l),
|
|
5492
5501
|
emit: l.emit.bind(l)
|
|
5493
5502
|
});
|
|
5494
5503
|
});
|
|
5495
|
-
const
|
|
5496
|
-
return l.params = ie({},
|
|
5497
|
-
l.on(
|
|
5504
|
+
const d = ie({}, fr, s);
|
|
5505
|
+
return l.params = ie({}, d, nr, t), l.originalParams = ie({}, l.params), l.passedParams = ie({}, t), l.params && l.params.on && Object.keys(l.params.on).forEach((c) => {
|
|
5506
|
+
l.on(c, l.params.on[c]);
|
|
5498
5507
|
}), l.params && l.params.onAny && l.onAny(l.params.onAny), Object.assign(l, {
|
|
5499
5508
|
enabled: l.params.enabled,
|
|
5500
5509
|
el: e,
|
|
@@ -5641,23 +5650,23 @@ let Nr = class Se {
|
|
|
5641
5650
|
slidesGrid: o,
|
|
5642
5651
|
slidesSizesGrid: l,
|
|
5643
5652
|
size: s,
|
|
5644
|
-
activeIndex:
|
|
5653
|
+
activeIndex: d
|
|
5645
5654
|
} = n;
|
|
5646
|
-
let
|
|
5655
|
+
let c = 1;
|
|
5647
5656
|
if (typeof i.slidesPerView == "number") return i.slidesPerView;
|
|
5648
5657
|
if (i.centeredSlides) {
|
|
5649
|
-
let h = a[
|
|
5650
|
-
for (let m =
|
|
5651
|
-
a[m] && !u && (h += Math.ceil(a[m].swiperSlideSize),
|
|
5652
|
-
for (let m =
|
|
5653
|
-
a[m] && !u && (h += a[m].swiperSlideSize,
|
|
5658
|
+
let h = a[d] ? Math.ceil(a[d].swiperSlideSize) : 0, u;
|
|
5659
|
+
for (let m = d + 1; m < a.length; m += 1)
|
|
5660
|
+
a[m] && !u && (h += Math.ceil(a[m].swiperSlideSize), c += 1, h > s && (u = !0));
|
|
5661
|
+
for (let m = d - 1; m >= 0; m -= 1)
|
|
5662
|
+
a[m] && !u && (h += a[m].swiperSlideSize, c += 1, h > s && (u = !0));
|
|
5654
5663
|
} else if (e === "current")
|
|
5655
|
-
for (let h =
|
|
5656
|
-
(t ? o[h] + l[h] - o[
|
|
5664
|
+
for (let h = d + 1; h < a.length; h += 1)
|
|
5665
|
+
(t ? o[h] + l[h] - o[d] < s : o[h] - o[d] < s) && (c += 1);
|
|
5657
5666
|
else
|
|
5658
|
-
for (let h =
|
|
5659
|
-
o[
|
|
5660
|
-
return
|
|
5667
|
+
for (let h = d - 1; h >= 0; h -= 1)
|
|
5668
|
+
o[d] - o[h] < s && (c += 1);
|
|
5669
|
+
return c;
|
|
5661
5670
|
}
|
|
5662
5671
|
update() {
|
|
5663
5672
|
const e = this;
|
|
@@ -5743,7 +5752,7 @@ let Nr = class Se {
|
|
|
5743
5752
|
s.classList.remove(i.slideVisibleClass, i.slideFullyVisibleClass, i.slideActiveClass, i.slideNextClass, i.slidePrevClass), s.removeAttribute("style"), s.removeAttribute("data-swiper-slide-index");
|
|
5744
5753
|
})), n.emit("destroy"), Object.keys(n.eventsListeners).forEach((s) => {
|
|
5745
5754
|
n.off(s);
|
|
5746
|
-
}), e !== !1 && (n.el && typeof n.el != "string" && (n.el.swiper = null),
|
|
5755
|
+
}), e !== !1 && (n.el && typeof n.el != "string" && (n.el.swiper = null), wd(n)), n.destroyed = !0), null;
|
|
5747
5756
|
}
|
|
5748
5757
|
static extendDefaults(e) {
|
|
5749
5758
|
ie(nr, e);
|
|
@@ -5768,7 +5777,7 @@ Object.keys(rr).forEach((r) => {
|
|
|
5768
5777
|
Nr.prototype[e] = rr[r][e];
|
|
5769
5778
|
});
|
|
5770
5779
|
});
|
|
5771
|
-
Nr.use([
|
|
5780
|
+
Nr.use([Vd, zd]);
|
|
5772
5781
|
const ea = [
|
|
5773
5782
|
"eventsPrefix",
|
|
5774
5783
|
"injectStyles",
|
|
@@ -5913,10 +5922,10 @@ function ia(r) {
|
|
|
5913
5922
|
t.indexOf(n) < 0 && t.push(n);
|
|
5914
5923
|
}), t.join(" ");
|
|
5915
5924
|
}
|
|
5916
|
-
function $
|
|
5925
|
+
function $c(r) {
|
|
5917
5926
|
return r === void 0 && (r = ""), r ? r.includes("swiper-wrapper") ? r : `swiper-wrapper ${r}` : "swiper-wrapper";
|
|
5918
5927
|
}
|
|
5919
|
-
function
|
|
5928
|
+
function jc(r) {
|
|
5920
5929
|
let {
|
|
5921
5930
|
swiper: e,
|
|
5922
5931
|
slides: t,
|
|
@@ -5927,8 +5936,8 @@ function jd(r) {
|
|
|
5927
5936
|
scrollbarEl: l,
|
|
5928
5937
|
paginationEl: s
|
|
5929
5938
|
} = r;
|
|
5930
|
-
const
|
|
5931
|
-
params:
|
|
5939
|
+
const d = i.filter((C) => C !== "children" && C !== "direction" && C !== "wrapperClass"), {
|
|
5940
|
+
params: c,
|
|
5932
5941
|
pagination: h,
|
|
5933
5942
|
navigation: u,
|
|
5934
5943
|
scrollbar: m,
|
|
@@ -5936,20 +5945,20 @@ function jd(r) {
|
|
|
5936
5945
|
thumbs: p
|
|
5937
5946
|
} = e;
|
|
5938
5947
|
let w, y, g, v, x, T, E, F;
|
|
5939
|
-
i.includes("thumbs") && n.thumbs && n.thumbs.swiper && !n.thumbs.swiper.destroyed &&
|
|
5948
|
+
i.includes("thumbs") && n.thumbs && n.thumbs.swiper && !n.thumbs.swiper.destroyed && c.thumbs && (!c.thumbs.swiper || c.thumbs.swiper.destroyed) && (w = !0), i.includes("controller") && n.controller && n.controller.control && c.controller && !c.controller.control && (y = !0), i.includes("pagination") && n.pagination && (n.pagination.el || s) && (c.pagination || c.pagination === !1) && h && !h.el && (g = !0), i.includes("scrollbar") && n.scrollbar && (n.scrollbar.el || l) && (c.scrollbar || c.scrollbar === !1) && m && !m.el && (v = !0), i.includes("navigation") && n.navigation && (n.navigation.prevEl || o) && (n.navigation.nextEl || a) && (c.navigation || c.navigation === !1) && u && !u.prevEl && !u.nextEl && (x = !0);
|
|
5940
5949
|
const A = (C) => {
|
|
5941
|
-
e[C] && (e[C].destroy(), C === "navigation" ? (e.isElement && (e[C].prevEl.remove(), e[C].nextEl.remove()),
|
|
5950
|
+
e[C] && (e[C].destroy(), C === "navigation" ? (e.isElement && (e[C].prevEl.remove(), e[C].nextEl.remove()), c[C].prevEl = void 0, c[C].nextEl = void 0, e[C].prevEl = void 0, e[C].nextEl = void 0) : (e.isElement && e[C].el.remove(), c[C].el = void 0, e[C].el = void 0));
|
|
5942
5951
|
};
|
|
5943
|
-
i.includes("loop") && e.isElement && (
|
|
5944
|
-
if (ze(
|
|
5945
|
-
Object.assign(
|
|
5952
|
+
i.includes("loop") && e.isElement && (c.loop && !n.loop ? T = !0 : !c.loop && n.loop ? E = !0 : F = !0), d.forEach((C) => {
|
|
5953
|
+
if (ze(c[C]) && ze(n[C]))
|
|
5954
|
+
Object.assign(c[C], n[C]), (C === "navigation" || C === "pagination" || C === "scrollbar") && "enabled" in n[C] && !n[C].enabled && A(C);
|
|
5946
5955
|
else {
|
|
5947
5956
|
const S = n[C];
|
|
5948
|
-
(S === !0 || S === !1) && (C === "navigation" || C === "pagination" || C === "scrollbar") ? S === !1 && A(C) :
|
|
5957
|
+
(S === !0 || S === !1) && (C === "navigation" || C === "pagination" || C === "scrollbar") ? S === !1 && A(C) : c[C] = n[C];
|
|
5949
5958
|
}
|
|
5950
|
-
}),
|
|
5959
|
+
}), d.includes("controller") && !y && e.controller && e.controller.control && c.controller && c.controller.control && (e.controller.control = c.controller.control), i.includes("children") && t && f && c.virtual.enabled ? (f.slides = t, f.update(!0)) : i.includes("virtual") && f && c.virtual.enabled && (t && (f.slides = t), f.update(!0)), i.includes("children") && t && c.loop && (F = !0), w && p.init() && p.update(!0), y && (e.controller.control = c.controller.control), g && (e.isElement && (!s || typeof s == "string") && (s = document.createElement("div"), s.classList.add("swiper-pagination"), s.part.add("pagination"), e.el.appendChild(s)), s && (c.pagination.el = s), h.init(), h.render(), h.update()), v && (e.isElement && (!l || typeof l == "string") && (l = document.createElement("div"), l.classList.add("swiper-scrollbar"), l.part.add("scrollbar"), e.el.appendChild(l)), l && (c.scrollbar.el = l), m.init(), m.updateSize(), m.setTranslate()), x && (e.isElement && ((!a || typeof a == "string") && (a = document.createElement("div"), a.classList.add("swiper-button-next"), a.innerHTML = e.hostEl.constructor.nextButtonSvg, a.part.add("button-next"), e.el.appendChild(a)), (!o || typeof o == "string") && (o = document.createElement("div"), o.classList.add("swiper-button-prev"), o.innerHTML = e.hostEl.constructor.prevButtonSvg, o.part.add("button-prev"), e.el.appendChild(o))), a && (c.navigation.nextEl = a), o && (c.navigation.prevEl = o), u.init(), u.update()), i.includes("allowSlideNext") && (e.allowSlideNext = n.allowSlideNext), i.includes("allowSlidePrev") && (e.allowSlidePrev = n.allowSlidePrev), i.includes("direction") && e.changeDirection(n.direction, !1), (T || F) && e.loopDestroy(), (E || F) && e.loopCreate(), e.update();
|
|
5951
5960
|
}
|
|
5952
|
-
function
|
|
5961
|
+
function Hc(r, e) {
|
|
5953
5962
|
r === void 0 && (r = {}), e === void 0 && (e = !0);
|
|
5954
5963
|
const t = {
|
|
5955
5964
|
on: {}
|
|
@@ -5967,7 +5976,7 @@ function Hd(r, e) {
|
|
|
5967
5976
|
events: n
|
|
5968
5977
|
};
|
|
5969
5978
|
}
|
|
5970
|
-
function
|
|
5979
|
+
function Yc(r, e) {
|
|
5971
5980
|
let {
|
|
5972
5981
|
el: t,
|
|
5973
5982
|
nextEl: n,
|
|
@@ -5978,29 +5987,29 @@ function Yd(r, e) {
|
|
|
5978
5987
|
} = r;
|
|
5979
5988
|
ta(e) && n && i && (l.params.navigation.nextEl = n, l.originalParams.navigation.nextEl = n, l.params.navigation.prevEl = i, l.originalParams.navigation.prevEl = i), ra(e) && a && (l.params.pagination.el = a, l.originalParams.pagination.el = a), na(e) && o && (l.params.scrollbar.el = o, l.originalParams.scrollbar.el = o), l.init(t);
|
|
5980
5989
|
}
|
|
5981
|
-
function
|
|
5990
|
+
function qc(r, e, t, n, i) {
|
|
5982
5991
|
const a = [];
|
|
5983
5992
|
if (!e) return a;
|
|
5984
5993
|
const o = (s) => {
|
|
5985
5994
|
a.indexOf(s) < 0 && a.push(s);
|
|
5986
5995
|
};
|
|
5987
5996
|
if (t && n) {
|
|
5988
|
-
const s = n.map(i),
|
|
5989
|
-
s.join("") !==
|
|
5997
|
+
const s = n.map(i), d = t.map(i);
|
|
5998
|
+
s.join("") !== d.join("") && o("children"), n.length !== t.length && o("children");
|
|
5990
5999
|
}
|
|
5991
6000
|
return ea.filter((s) => s[0] === "_").map((s) => s.replace(/_/, "")).forEach((s) => {
|
|
5992
6001
|
if (s in r && s in e)
|
|
5993
6002
|
if (ze(r[s]) && ze(e[s])) {
|
|
5994
|
-
const
|
|
5995
|
-
|
|
6003
|
+
const d = Object.keys(r[s]), c = Object.keys(e[s]);
|
|
6004
|
+
d.length !== c.length ? o(s) : (d.forEach((h) => {
|
|
5996
6005
|
r[s][h] !== e[s][h] && o(s);
|
|
5997
|
-
}),
|
|
6006
|
+
}), c.forEach((h) => {
|
|
5998
6007
|
r[s][h] !== e[s][h] && o(s);
|
|
5999
6008
|
}));
|
|
6000
6009
|
} else r[s] !== e[s] && o(s);
|
|
6001
6010
|
}), a;
|
|
6002
6011
|
}
|
|
6003
|
-
const
|
|
6012
|
+
const Uc = (r) => {
|
|
6004
6013
|
!r || r.destroyed || !r.params.virtual || r.params.virtual && !r.params.virtual.enabled || (r.updateSlides(), r.updateProgress(), r.updateSlidesClasses(), r.parallax && r.params.parallax && r.params.parallax.enabled && r.parallax.setTranslate());
|
|
6005
6014
|
};
|
|
6006
6015
|
function kt() {
|
|
@@ -6022,7 +6031,7 @@ function sa(r) {
|
|
|
6022
6031
|
aa(t) ? e.push(t) : t.props && t.props.children && sa(t.props.children).forEach((n) => e.push(n));
|
|
6023
6032
|
}), e;
|
|
6024
6033
|
}
|
|
6025
|
-
function
|
|
6034
|
+
function Xc(r) {
|
|
6026
6035
|
const e = [], t = {
|
|
6027
6036
|
"container-start": [],
|
|
6028
6037
|
"container-end": [],
|
|
@@ -6044,11 +6053,11 @@ function Xd(r) {
|
|
|
6044
6053
|
slots: t
|
|
6045
6054
|
};
|
|
6046
6055
|
}
|
|
6047
|
-
function
|
|
6056
|
+
function Qc(r, e, t) {
|
|
6048
6057
|
if (!t) return null;
|
|
6049
|
-
const n = (
|
|
6050
|
-
let h =
|
|
6051
|
-
return
|
|
6058
|
+
const n = (c) => {
|
|
6059
|
+
let h = c;
|
|
6060
|
+
return c < 0 ? h = e.length + c : h >= e.length && (h = h - e.length), h;
|
|
6052
6061
|
}, i = r.isHorizontal() ? {
|
|
6053
6062
|
[r.rtlTranslate ? "right" : "left"]: `${t.offset}px`
|
|
6054
6063
|
} : {
|
|
@@ -6056,19 +6065,19 @@ function Qd(r, e, t) {
|
|
|
6056
6065
|
}, {
|
|
6057
6066
|
from: a,
|
|
6058
6067
|
to: o
|
|
6059
|
-
} = t, l = r.params.loop ? -e.length : 0, s = r.params.loop ? e.length * 2 : e.length,
|
|
6060
|
-
for (let
|
|
6061
|
-
|
|
6062
|
-
return
|
|
6068
|
+
} = t, l = r.params.loop ? -e.length : 0, s = r.params.loop ? e.length * 2 : e.length, d = [];
|
|
6069
|
+
for (let c = l; c < s; c += 1)
|
|
6070
|
+
c >= a && c <= o && d.push(e[n(c)]);
|
|
6071
|
+
return d.map((c, h) => /* @__PURE__ */ z.cloneElement(c, {
|
|
6063
6072
|
swiper: r,
|
|
6064
6073
|
style: i,
|
|
6065
|
-
key:
|
|
6074
|
+
key: c.props.virtualIndex || c.key || `slide-${h}`
|
|
6066
6075
|
}));
|
|
6067
6076
|
}
|
|
6068
6077
|
function st(r, e) {
|
|
6069
6078
|
return typeof window > "u" ? St(r, e) : Fa(r, e);
|
|
6070
6079
|
}
|
|
6071
|
-
const ln = /* @__PURE__ */ pn(null),
|
|
6080
|
+
const ln = /* @__PURE__ */ pn(null), Kc = /* @__PURE__ */ pn(null), oa = /* @__PURE__ */ fn(function(r, e) {
|
|
6072
6081
|
let {
|
|
6073
6082
|
className: t,
|
|
6074
6083
|
tag: n = "div",
|
|
@@ -6077,20 +6086,20 @@ const ln = /* @__PURE__ */ pn(null), Kd = /* @__PURE__ */ pn(null), oa = /* @__P
|
|
|
6077
6086
|
onSwiper: o,
|
|
6078
6087
|
...l
|
|
6079
6088
|
} = r === void 0 ? {} : r, s = !1;
|
|
6080
|
-
const [
|
|
6089
|
+
const [d, c] = Fe("swiper"), [h, u] = Fe(null), [m, f] = Fe(!1), p = ce(!1), w = ce(null), y = ce(null), g = ce(null), v = ce(null), x = ce(null), T = ce(null), E = ce(null), F = ce(null), {
|
|
6081
6090
|
params: A,
|
|
6082
6091
|
passedParams: C,
|
|
6083
6092
|
rest: S,
|
|
6084
6093
|
events: M
|
|
6085
|
-
} =
|
|
6094
|
+
} = Hc(l), {
|
|
6086
6095
|
slides: N,
|
|
6087
6096
|
slots: P
|
|
6088
|
-
} =
|
|
6097
|
+
} = Xc(a), k = () => {
|
|
6089
6098
|
f(!m);
|
|
6090
6099
|
};
|
|
6091
6100
|
Object.assign(A.on, {
|
|
6092
6101
|
_containerClasses(G, Y) {
|
|
6093
|
-
|
|
6102
|
+
c(Y);
|
|
6094
6103
|
}
|
|
6095
6104
|
});
|
|
6096
6105
|
const R = () => {
|
|
@@ -6125,7 +6134,7 @@ const ln = /* @__PURE__ */ pn(null), Kd = /* @__PURE__ */ pn(null), oa = /* @__P
|
|
|
6125
6134
|
!p.current && y.current && (y.current.emitSlidesClasses(), p.current = !0);
|
|
6126
6135
|
}), st(() => {
|
|
6127
6136
|
if (e && (e.current = w.current), !!w.current)
|
|
6128
|
-
return y.current.destroyed && R(),
|
|
6137
|
+
return y.current.destroyed && R(), Yc({
|
|
6129
6138
|
el: w.current,
|
|
6130
6139
|
nextEl: x.current,
|
|
6131
6140
|
prevEl: T.current,
|
|
@@ -6137,8 +6146,8 @@ const ln = /* @__PURE__ */ pn(null), Kd = /* @__PURE__ */ pn(null), oa = /* @__P
|
|
|
6137
6146
|
};
|
|
6138
6147
|
}, []), st(() => {
|
|
6139
6148
|
X();
|
|
6140
|
-
const G =
|
|
6141
|
-
return g.current = C, v.current = N, G.length && y.current && !y.current.destroyed &&
|
|
6149
|
+
const G = qc(C, g.current, N, v.current, (Y) => Y.key);
|
|
6150
|
+
return g.current = C, v.current = N, G.length && y.current && !y.current.destroyed && jc({
|
|
6142
6151
|
swiper: y.current,
|
|
6143
6152
|
slides: N,
|
|
6144
6153
|
passedParams: C,
|
|
@@ -6151,21 +6160,21 @@ const ln = /* @__PURE__ */ pn(null), Kd = /* @__PURE__ */ pn(null), oa = /* @__P
|
|
|
6151
6160
|
fe();
|
|
6152
6161
|
};
|
|
6153
6162
|
}), st(() => {
|
|
6154
|
-
|
|
6163
|
+
Uc(y.current);
|
|
6155
6164
|
}, [h]);
|
|
6156
6165
|
function B() {
|
|
6157
|
-
return A.virtual ?
|
|
6166
|
+
return A.virtual ? Qc(y.current, N, h) : N.map((G, Y) => /* @__PURE__ */ z.cloneElement(G, {
|
|
6158
6167
|
swiper: y.current,
|
|
6159
6168
|
swiperSlideIndex: Y
|
|
6160
6169
|
}));
|
|
6161
6170
|
}
|
|
6162
6171
|
return /* @__PURE__ */ z.createElement(n, kt({
|
|
6163
6172
|
ref: w,
|
|
6164
|
-
className: ia(`${
|
|
6165
|
-
}, S), /* @__PURE__ */ z.createElement(
|
|
6173
|
+
className: ia(`${d}${t ? ` ${t}` : ""}`)
|
|
6174
|
+
}, S), /* @__PURE__ */ z.createElement(Kc.Provider, {
|
|
6166
6175
|
value: y.current
|
|
6167
6176
|
}, P["container-start"], /* @__PURE__ */ z.createElement(i, {
|
|
6168
|
-
className: $
|
|
6177
|
+
className: $c(A.wrapperClass)
|
|
6169
6178
|
}, P["wrapper-start"], B(), P["wrapper-end"]), ta(A) && /* @__PURE__ */ z.createElement(z.Fragment, null, /* @__PURE__ */ z.createElement("div", {
|
|
6170
6179
|
ref: T,
|
|
6171
6180
|
className: "swiper-button-prev"
|
|
@@ -6190,15 +6199,15 @@ const la = /* @__PURE__ */ fn(function(r, e) {
|
|
|
6190
6199
|
zoom: o,
|
|
6191
6200
|
lazy: l,
|
|
6192
6201
|
virtualIndex: s,
|
|
6193
|
-
swiperSlideIndex:
|
|
6194
|
-
...
|
|
6202
|
+
swiperSlideIndex: d,
|
|
6203
|
+
...c
|
|
6195
6204
|
} = r === void 0 ? {} : r;
|
|
6196
|
-
const h =
|
|
6205
|
+
const h = ce(null), [u, m] = Fe("swiper-slide"), [f, p] = Fe(!1);
|
|
6197
6206
|
function w(x, T, E) {
|
|
6198
6207
|
T === h.current && m(E);
|
|
6199
6208
|
}
|
|
6200
6209
|
st(() => {
|
|
6201
|
-
if (typeof
|
|
6210
|
+
if (typeof d < "u" && (h.current.swiperSlideIndex = d), e && (e.current = h.current), !(!h.current || !a)) {
|
|
6202
6211
|
if (a.destroyed) {
|
|
6203
6212
|
u !== "swiper-slide" && m("swiper-slide");
|
|
6204
6213
|
return;
|
|
@@ -6223,7 +6232,7 @@ const la = /* @__PURE__ */ fn(function(r, e) {
|
|
|
6223
6232
|
className: ia(`${u}${i ? ` ${i}` : ""}`),
|
|
6224
6233
|
"data-swiper-slide-index": s,
|
|
6225
6234
|
onLoad: v
|
|
6226
|
-
},
|
|
6235
|
+
}, c), o && /* @__PURE__ */ z.createElement(ln.Provider, {
|
|
6227
6236
|
value: y
|
|
6228
6237
|
}, /* @__PURE__ */ z.createElement("div", {
|
|
6229
6238
|
className: "swiper-zoom-container",
|
|
@@ -6247,32 +6256,32 @@ const ju = ({
|
|
|
6247
6256
|
navigation: o = !1,
|
|
6248
6257
|
className: l = "",
|
|
6249
6258
|
slideClassName: s = "",
|
|
6250
|
-
effect:
|
|
6251
|
-
style:
|
|
6259
|
+
effect: d = "slide",
|
|
6260
|
+
style: c,
|
|
6252
6261
|
onChange: h
|
|
6253
6262
|
}) => {
|
|
6254
|
-
const u =
|
|
6263
|
+
const u = ce(null), m = (p) => {
|
|
6255
6264
|
h && h(p);
|
|
6256
6265
|
}, f = (p) => typeof p == "object";
|
|
6257
6266
|
return /* @__PURE__ */ _(
|
|
6258
6267
|
oa,
|
|
6259
6268
|
{
|
|
6260
|
-
modules: [
|
|
6269
|
+
modules: [Pd, Md, Od, kd],
|
|
6261
6270
|
onSwiper: (p) => {
|
|
6262
6271
|
u.current = p;
|
|
6263
6272
|
},
|
|
6264
6273
|
loop: e,
|
|
6265
|
-
effect:
|
|
6274
|
+
effect: d,
|
|
6266
6275
|
autoplay: t === !0 ? { delay: 3e3 } : t,
|
|
6267
6276
|
spaceBetween: n,
|
|
6268
6277
|
slidesPerView: i,
|
|
6269
6278
|
pagination: a,
|
|
6270
6279
|
className: K("relative", l),
|
|
6271
|
-
style:
|
|
6280
|
+
style: c,
|
|
6272
6281
|
onSlideChange: m,
|
|
6273
6282
|
children: [
|
|
6274
6283
|
r.map((p, w) => /* @__PURE__ */ b(la, { style: { height: "auto" }, className: K(s), children: p }, w)),
|
|
6275
|
-
o &&
|
|
6284
|
+
o && hd && /* @__PURE__ */ _(hr, { children: [
|
|
6276
6285
|
/* @__PURE__ */ b(
|
|
6277
6286
|
Ue,
|
|
6278
6287
|
{
|
|
@@ -6311,8 +6320,8 @@ const ju = ({
|
|
|
6311
6320
|
text: o,
|
|
6312
6321
|
type: l,
|
|
6313
6322
|
errorMsg: s = !1,
|
|
6314
|
-
onChange:
|
|
6315
|
-
rules:
|
|
6323
|
+
onChange: d,
|
|
6324
|
+
rules: c
|
|
6316
6325
|
}) => {
|
|
6317
6326
|
const {
|
|
6318
6327
|
field: h,
|
|
@@ -6320,7 +6329,7 @@ const ju = ({
|
|
|
6320
6329
|
} = Qe({
|
|
6321
6330
|
name: r,
|
|
6322
6331
|
control: e,
|
|
6323
|
-
rules:
|
|
6332
|
+
rules: c
|
|
6324
6333
|
}), m = n || t || i;
|
|
6325
6334
|
return /* @__PURE__ */ b(
|
|
6326
6335
|
Be,
|
|
@@ -6337,7 +6346,7 @@ const ju = ({
|
|
|
6337
6346
|
id: r,
|
|
6338
6347
|
checked: l === "boolean" ? h.value : h.value === o,
|
|
6339
6348
|
onCheckedChange: (f) => {
|
|
6340
|
-
h.onChange(l === "boolean" ? f : f ? o : ""),
|
|
6349
|
+
h.onChange(l === "boolean" ? f : f ? o : ""), d && d();
|
|
6341
6350
|
}
|
|
6342
6351
|
}
|
|
6343
6352
|
),
|
|
@@ -6357,8 +6366,8 @@ const ju = ({
|
|
|
6357
6366
|
required: o = !1,
|
|
6358
6367
|
additional: l,
|
|
6359
6368
|
type: s = "checkbox",
|
|
6360
|
-
onChange:
|
|
6361
|
-
rules:
|
|
6369
|
+
onChange: d,
|
|
6370
|
+
rules: c
|
|
6362
6371
|
}) => {
|
|
6363
6372
|
const {
|
|
6364
6373
|
field: h,
|
|
@@ -6366,10 +6375,10 @@ const ju = ({
|
|
|
6366
6375
|
} = Qe({
|
|
6367
6376
|
name: r,
|
|
6368
6377
|
control: e,
|
|
6369
|
-
rules:
|
|
6378
|
+
rules: c
|
|
6370
6379
|
}), m = (w, y) => {
|
|
6371
6380
|
var g;
|
|
6372
|
-
h.onChange(y ? [...h.value || [], w] : (g = h.value) == null ? void 0 : g.filter((v) => v !== w)),
|
|
6381
|
+
h.onChange(y ? [...h.value || [], w] : (g = h.value) == null ? void 0 : g.filter((v) => v !== w)), d == null || d();
|
|
6373
6382
|
}, f = () => a.map((w) => {
|
|
6374
6383
|
var y;
|
|
6375
6384
|
return /* @__PURE__ */ _(ye, { className: "flex flex-row items-center", children: [
|
|
@@ -6446,8 +6455,8 @@ const ju = ({
|
|
|
6446
6455
|
required: o = !1,
|
|
6447
6456
|
className: l,
|
|
6448
6457
|
additional: s,
|
|
6449
|
-
direction:
|
|
6450
|
-
onChange:
|
|
6458
|
+
direction: d = "vertical",
|
|
6459
|
+
onChange: c,
|
|
6451
6460
|
rules: h
|
|
6452
6461
|
}) => {
|
|
6453
6462
|
const {
|
|
@@ -6470,13 +6479,13 @@ const ju = ({
|
|
|
6470
6479
|
Ra,
|
|
6471
6480
|
{
|
|
6472
6481
|
onValueChange: (p) => {
|
|
6473
|
-
u.onChange(p),
|
|
6482
|
+
u.onChange(p), c && c();
|
|
6474
6483
|
},
|
|
6475
6484
|
value: u.value,
|
|
6476
6485
|
className: K(
|
|
6477
|
-
|
|
6478
|
-
|
|
6479
|
-
|
|
6486
|
+
d === "vertical" && "flex flex-col gap-4",
|
|
6487
|
+
d === "horizontal" && "flex flex-wrap gap-8",
|
|
6488
|
+
d === "grid" && "grid w-full grid-cols-2 gap-x-8 gap-y-4"
|
|
6480
6489
|
),
|
|
6481
6490
|
children: a.map((p) => /* @__PURE__ */ _(ye, { className: "flex flex-row items-center", children: [
|
|
6482
6491
|
/* @__PURE__ */ b(xe, { children: /* @__PURE__ */ b(Ba, { value: p.value, id: p.text, checked: p.value === u.value }) }),
|
|
@@ -6500,26 +6509,26 @@ const ju = ({
|
|
|
6500
6509
|
control: o,
|
|
6501
6510
|
tagDirection: l = "flex-col",
|
|
6502
6511
|
tagSize: s = "md",
|
|
6503
|
-
rules:
|
|
6512
|
+
rules: d
|
|
6504
6513
|
}) => {
|
|
6505
|
-
const { setValue:
|
|
6514
|
+
const { setValue: c, getValues: h } = gn(), {
|
|
6506
6515
|
field: u,
|
|
6507
6516
|
fieldState: { error: m }
|
|
6508
6517
|
} = Qe({
|
|
6509
6518
|
name: t,
|
|
6510
6519
|
control: o,
|
|
6511
6520
|
defaultValue: [],
|
|
6512
|
-
rules:
|
|
6521
|
+
rules: d
|
|
6513
6522
|
}), [f, p] = Fe(""), w = () => {
|
|
6514
6523
|
if (f.trim() !== "") {
|
|
6515
6524
|
const x = h(t) || [];
|
|
6516
|
-
|
|
6525
|
+
c(t, [...x, f.trim()]), p("");
|
|
6517
6526
|
}
|
|
6518
6527
|
}, y = (x) => {
|
|
6519
6528
|
x.key === "Enter" && !x.nativeEvent.isComposing && (x.preventDefault(), w());
|
|
6520
6529
|
}, g = (x) => {
|
|
6521
6530
|
const T = h(t) || [];
|
|
6522
|
-
T.splice(x, 1),
|
|
6531
|
+
T.splice(x, 1), c(t, T);
|
|
6523
6532
|
}, v = n || e || i;
|
|
6524
6533
|
return /* @__PURE__ */ b(
|
|
6525
6534
|
Be,
|
|
@@ -6579,8 +6588,8 @@ const ju = ({
|
|
|
6579
6588
|
required: o = !1,
|
|
6580
6589
|
isTextArea: l = !1,
|
|
6581
6590
|
unitLabel: s,
|
|
6582
|
-
unitLabelBefore:
|
|
6583
|
-
inputType:
|
|
6591
|
+
unitLabelBefore: d,
|
|
6592
|
+
inputType: c = "text",
|
|
6584
6593
|
className: h,
|
|
6585
6594
|
onChange: u,
|
|
6586
6595
|
onBlur: m,
|
|
@@ -6597,7 +6606,7 @@ const ju = ({
|
|
|
6597
6606
|
control: e,
|
|
6598
6607
|
rules: y
|
|
6599
6608
|
}), x = (E) => {
|
|
6600
|
-
const F =
|
|
6609
|
+
const F = c === "number" ? Number(E.target.value) : E.target.value;
|
|
6601
6610
|
g.onChange(F), u == null || u(F);
|
|
6602
6611
|
}, T = n || t || i;
|
|
6603
6612
|
return /* @__PURE__ */ b(
|
|
@@ -6608,7 +6617,7 @@ const ju = ({
|
|
|
6608
6617
|
render: () => /* @__PURE__ */ _(ye, { children: [
|
|
6609
6618
|
T && /* @__PURE__ */ b(We, { required: o, heading: t, label: n, description: i }),
|
|
6610
6619
|
/* @__PURE__ */ b(xe, { children: /* @__PURE__ */ _("div", { className: K("flex w-full max-w-screen-sm items-center gap-2", h), children: [
|
|
6611
|
-
|
|
6620
|
+
d && /* @__PURE__ */ b("div", { className: "whitespace-nowrap", children: d }),
|
|
6612
6621
|
l ? /* @__PURE__ */ b(
|
|
6613
6622
|
Wa,
|
|
6614
6623
|
{
|
|
@@ -6623,7 +6632,7 @@ const ju = ({
|
|
|
6623
6632
|
br,
|
|
6624
6633
|
{
|
|
6625
6634
|
...g,
|
|
6626
|
-
type:
|
|
6635
|
+
type: c,
|
|
6627
6636
|
placeholder: a,
|
|
6628
6637
|
disabled: p,
|
|
6629
6638
|
error: !!v[r],
|
|
@@ -6649,8 +6658,8 @@ const ju = ({
|
|
|
6649
6658
|
buttonLabel: o = "보기",
|
|
6650
6659
|
required: l,
|
|
6651
6660
|
onClick: s,
|
|
6652
|
-
disabled:
|
|
6653
|
-
children:
|
|
6661
|
+
disabled: d = !1,
|
|
6662
|
+
children: c,
|
|
6654
6663
|
urlTitle: h,
|
|
6655
6664
|
rules: u
|
|
6656
6665
|
}) => {
|
|
@@ -6685,7 +6694,7 @@ const ju = ({
|
|
|
6685
6694
|
name: r,
|
|
6686
6695
|
render: () => /* @__PURE__ */ _(ye, { children: [
|
|
6687
6696
|
v && /* @__PURE__ */ b(We, { required: l, heading: t, label: n, description: i }),
|
|
6688
|
-
|
|
6697
|
+
c,
|
|
6689
6698
|
/* @__PURE__ */ _("div", { className: "flex items-center gap-2", children: [
|
|
6690
6699
|
h && /* @__PURE__ */ b(Ga, { size: "sm", className: "flex w-32 justify-center truncate shadow-none", children: h }),
|
|
6691
6700
|
/* @__PURE__ */ b(xe, { children: /* @__PURE__ */ b(
|
|
@@ -6705,7 +6714,7 @@ const ju = ({
|
|
|
6705
6714
|
variant: "outline",
|
|
6706
6715
|
theme: "secondary",
|
|
6707
6716
|
size: "md",
|
|
6708
|
-
disabled:
|
|
6717
|
+
disabled: d || !!w || !p.value,
|
|
6709
6718
|
onClick: g,
|
|
6710
6719
|
children: o
|
|
6711
6720
|
}
|
|
@@ -6718,8 +6727,8 @@ const ju = ({
|
|
|
6718
6727
|
}, Zu = () => {
|
|
6719
6728
|
const [r, e] = Fe([]);
|
|
6720
6729
|
return St(() => {
|
|
6721
|
-
const l = (
|
|
6722
|
-
e(
|
|
6730
|
+
const l = (d, c) => {
|
|
6731
|
+
e(c ? (h) => h.includes(d.id) ? h : [...h, d.id] : (h) => h.filter((u) => u !== d.id));
|
|
6723
6732
|
}, s = Le.subscribe(l);
|
|
6724
6733
|
return e(Le.getOpenPortals()), () => {
|
|
6725
6734
|
s();
|
|
@@ -6744,42 +6753,42 @@ const ju = ({
|
|
|
6744
6753
|
};
|
|
6745
6754
|
var [Rt, Ju] = gr("Tooltip", [
|
|
6746
6755
|
vn
|
|
6747
|
-
]), Bt = vn(),
|
|
6756
|
+
]), Bt = vn(), da = "TooltipProvider", Zc = 700, pr = "tooltip.open", [Jc, kr] = Rt(da), ca = (r) => {
|
|
6748
6757
|
const {
|
|
6749
6758
|
__scopeTooltip: e,
|
|
6750
|
-
delayDuration: t =
|
|
6759
|
+
delayDuration: t = Zc,
|
|
6751
6760
|
skipDelayDuration: n = 300,
|
|
6752
6761
|
disableHoverableContent: i = !1,
|
|
6753
6762
|
children: a
|
|
6754
|
-
} = r, [o, l] = O.useState(!0), s = O.useRef(!1),
|
|
6763
|
+
} = r, [o, l] = O.useState(!0), s = O.useRef(!1), d = O.useRef(0);
|
|
6755
6764
|
return O.useEffect(() => {
|
|
6756
|
-
const
|
|
6757
|
-
return () => window.clearTimeout(
|
|
6765
|
+
const c = d.current;
|
|
6766
|
+
return () => window.clearTimeout(c);
|
|
6758
6767
|
}, []), /* @__PURE__ */ b(
|
|
6759
|
-
|
|
6768
|
+
Jc,
|
|
6760
6769
|
{
|
|
6761
6770
|
scope: e,
|
|
6762
6771
|
isOpenDelayed: o,
|
|
6763
6772
|
delayDuration: t,
|
|
6764
6773
|
onOpen: O.useCallback(() => {
|
|
6765
|
-
window.clearTimeout(
|
|
6774
|
+
window.clearTimeout(d.current), l(!1);
|
|
6766
6775
|
}, []),
|
|
6767
6776
|
onClose: O.useCallback(() => {
|
|
6768
|
-
window.clearTimeout(
|
|
6777
|
+
window.clearTimeout(d.current), d.current = window.setTimeout(
|
|
6769
6778
|
() => l(!0),
|
|
6770
6779
|
n
|
|
6771
6780
|
);
|
|
6772
6781
|
}, [n]),
|
|
6773
6782
|
isPointerInTransitRef: s,
|
|
6774
|
-
onPointerInTransitChange: O.useCallback((
|
|
6775
|
-
s.current =
|
|
6783
|
+
onPointerInTransitChange: O.useCallback((c) => {
|
|
6784
|
+
s.current = c;
|
|
6776
6785
|
}, []),
|
|
6777
6786
|
disableHoverableContent: i,
|
|
6778
6787
|
children: a
|
|
6779
6788
|
}
|
|
6780
6789
|
);
|
|
6781
6790
|
};
|
|
6782
|
-
|
|
6791
|
+
ca.displayName = da;
|
|
6783
6792
|
var Wt = "Tooltip", [eu, Gt] = Rt(Wt), ua = (r) => {
|
|
6784
6793
|
const {
|
|
6785
6794
|
__scopeTooltip: e,
|
|
@@ -6789,7 +6798,7 @@ var Wt = "Tooltip", [eu, Gt] = Rt(Wt), ua = (r) => {
|
|
|
6789
6798
|
onOpenChange: a,
|
|
6790
6799
|
disableHoverableContent: o,
|
|
6791
6800
|
delayDuration: l
|
|
6792
|
-
} = r, s = kr(Wt, r.__scopeTooltip),
|
|
6801
|
+
} = r, s = kr(Wt, r.__scopeTooltip), d = Bt(e), [c, h] = O.useState(null), u = vr(), m = O.useRef(0), f = o ?? s.disableHoverableContent, p = l ?? s.delayDuration, w = O.useRef(!1), [y = !1, g] = Re({
|
|
6793
6802
|
prop: n,
|
|
6794
6803
|
defaultProp: i,
|
|
6795
6804
|
onChange: (F) => {
|
|
@@ -6806,14 +6815,14 @@ var Wt = "Tooltip", [eu, Gt] = Rt(Wt), ua = (r) => {
|
|
|
6806
6815
|
}, [p, g]);
|
|
6807
6816
|
return O.useEffect(() => () => {
|
|
6808
6817
|
m.current && (window.clearTimeout(m.current), m.current = 0);
|
|
6809
|
-
}, []), /* @__PURE__ */ b(Ya, { ...
|
|
6818
|
+
}, []), /* @__PURE__ */ b(Ya, { ...d, children: /* @__PURE__ */ b(
|
|
6810
6819
|
eu,
|
|
6811
6820
|
{
|
|
6812
6821
|
scope: e,
|
|
6813
6822
|
contentId: u,
|
|
6814
6823
|
open: y,
|
|
6815
6824
|
stateAttribute: v,
|
|
6816
|
-
trigger:
|
|
6825
|
+
trigger: c,
|
|
6817
6826
|
onTriggerChange: h,
|
|
6818
6827
|
onTriggerEnter: O.useCallback(() => {
|
|
6819
6828
|
s.isOpenDelayed ? E() : x();
|
|
@@ -6831,7 +6840,7 @@ var Wt = "Tooltip", [eu, Gt] = Rt(Wt), ua = (r) => {
|
|
|
6831
6840
|
ua.displayName = Wt;
|
|
6832
6841
|
var mr = "TooltipTrigger", fa = O.forwardRef(
|
|
6833
6842
|
(r, e) => {
|
|
6834
|
-
const { __scopeTooltip: t, ...n } = r, i = Gt(mr, t), a = kr(mr, t), o = Bt(t), l = O.useRef(null), s = Dt(e, l, i.onTriggerChange),
|
|
6843
|
+
const { __scopeTooltip: t, ...n } = r, i = Gt(mr, t), a = kr(mr, t), o = Bt(t), l = O.useRef(null), s = Dt(e, l, i.onTriggerChange), d = O.useRef(!1), c = O.useRef(!1), h = O.useCallback(() => d.current = !1, []);
|
|
6835
6844
|
return O.useEffect(() => () => document.removeEventListener("pointerup", h), [h]), /* @__PURE__ */ b($a, { asChild: !0, ...o, children: /* @__PURE__ */ b(
|
|
6836
6845
|
Pe.button,
|
|
6837
6846
|
{
|
|
@@ -6840,16 +6849,16 @@ var mr = "TooltipTrigger", fa = O.forwardRef(
|
|
|
6840
6849
|
...n,
|
|
6841
6850
|
ref: s,
|
|
6842
6851
|
onPointerMove: Ce(r.onPointerMove, (u) => {
|
|
6843
|
-
u.pointerType !== "touch" && !
|
|
6852
|
+
u.pointerType !== "touch" && !c.current && !a.isPointerInTransitRef.current && (i.onTriggerEnter(), c.current = !0);
|
|
6844
6853
|
}),
|
|
6845
6854
|
onPointerLeave: Ce(r.onPointerLeave, () => {
|
|
6846
|
-
i.onTriggerLeave(),
|
|
6855
|
+
i.onTriggerLeave(), c.current = !1;
|
|
6847
6856
|
}),
|
|
6848
6857
|
onPointerDown: Ce(r.onPointerDown, () => {
|
|
6849
|
-
|
|
6858
|
+
d.current = !0, document.addEventListener("pointerup", h, { once: !0 });
|
|
6850
6859
|
}),
|
|
6851
6860
|
onFocus: Ce(r.onFocus, () => {
|
|
6852
|
-
|
|
6861
|
+
d.current || i.onOpen();
|
|
6853
6862
|
}),
|
|
6854
6863
|
onBlur: Ce(r.onBlur, i.onClose),
|
|
6855
6864
|
onClick: Ce(r.onClick, i.onClose)
|
|
@@ -6866,31 +6875,31 @@ var tu = "TooltipPortal", [ef, ru] = Rt(tu, {
|
|
|
6866
6875
|
return /* @__PURE__ */ b(un, { present: n || o.open, children: o.disableHoverableContent ? /* @__PURE__ */ b(ma, { side: i, ...a, ref: e }) : /* @__PURE__ */ b(nu, { side: i, ...a, ref: e }) });
|
|
6867
6876
|
}
|
|
6868
6877
|
), nu = O.forwardRef((r, e) => {
|
|
6869
|
-
const t = Gt(Xe, r.__scopeTooltip), n = kr(Xe, r.__scopeTooltip), i = O.useRef(null), a = Dt(e, i), [o, l] = O.useState(null), { trigger: s, onClose:
|
|
6878
|
+
const t = Gt(Xe, r.__scopeTooltip), n = kr(Xe, r.__scopeTooltip), i = O.useRef(null), a = Dt(e, i), [o, l] = O.useState(null), { trigger: s, onClose: d } = t, c = i.current, { onPointerInTransitChange: h } = n, u = O.useCallback(() => {
|
|
6870
6879
|
l(null), h(!1);
|
|
6871
6880
|
}, [h]), m = O.useCallback(
|
|
6872
6881
|
(f, p) => {
|
|
6873
|
-
const w = f.currentTarget, y = { x: f.clientX, y: f.clientY }, g = ou(y, w.getBoundingClientRect()), v = lu(y, g), x =
|
|
6882
|
+
const w = f.currentTarget, y = { x: f.clientX, y: f.clientY }, g = ou(y, w.getBoundingClientRect()), v = lu(y, g), x = du(p.getBoundingClientRect()), T = uu([...v, ...x]);
|
|
6874
6883
|
l(T), h(!0);
|
|
6875
6884
|
},
|
|
6876
6885
|
[h]
|
|
6877
6886
|
);
|
|
6878
6887
|
return O.useEffect(() => () => u(), [u]), O.useEffect(() => {
|
|
6879
|
-
if (s &&
|
|
6880
|
-
const f = (w) => m(w,
|
|
6881
|
-
return s.addEventListener("pointerleave", f),
|
|
6882
|
-
s.removeEventListener("pointerleave", f),
|
|
6888
|
+
if (s && c) {
|
|
6889
|
+
const f = (w) => m(w, c), p = (w) => m(w, s);
|
|
6890
|
+
return s.addEventListener("pointerleave", f), c.addEventListener("pointerleave", p), () => {
|
|
6891
|
+
s.removeEventListener("pointerleave", f), c.removeEventListener("pointerleave", p);
|
|
6883
6892
|
};
|
|
6884
6893
|
}
|
|
6885
|
-
}, [s,
|
|
6894
|
+
}, [s, c, m, u]), O.useEffect(() => {
|
|
6886
6895
|
if (o) {
|
|
6887
6896
|
const f = (p) => {
|
|
6888
|
-
const w = p.target, y = { x: p.clientX, y: p.clientY }, g = (s == null ? void 0 : s.contains(w)) || (
|
|
6889
|
-
g ? u() : v && (u(),
|
|
6897
|
+
const w = p.target, y = { x: p.clientX, y: p.clientY }, g = (s == null ? void 0 : s.contains(w)) || (c == null ? void 0 : c.contains(w)), v = !cu(y, o);
|
|
6898
|
+
g ? u() : v && (u(), d());
|
|
6890
6899
|
};
|
|
6891
6900
|
return document.addEventListener("pointermove", f), () => document.removeEventListener("pointermove", f);
|
|
6892
6901
|
}
|
|
6893
|
-
}, [s,
|
|
6902
|
+
}, [s, c, o, d, u]), /* @__PURE__ */ b(ma, { ...r, ref: a });
|
|
6894
6903
|
}), [iu, au] = Rt(Wt, { isInside: !1 }), ma = O.forwardRef(
|
|
6895
6904
|
(r, e) => {
|
|
6896
6905
|
const {
|
|
@@ -6900,16 +6909,16 @@ var tu = "TooltipPortal", [ef, ru] = Rt(tu, {
|
|
|
6900
6909
|
onEscapeKeyDown: a,
|
|
6901
6910
|
onPointerDownOutside: o,
|
|
6902
6911
|
...l
|
|
6903
|
-
} = r, s = Gt(Xe, t),
|
|
6904
|
-
return O.useEffect(() => (document.addEventListener(pr,
|
|
6912
|
+
} = r, s = Gt(Xe, t), d = Bt(t), { onClose: c } = s;
|
|
6913
|
+
return O.useEffect(() => (document.addEventListener(pr, c), () => document.removeEventListener(pr, c)), [c]), O.useEffect(() => {
|
|
6905
6914
|
if (s.trigger) {
|
|
6906
6915
|
const h = (u) => {
|
|
6907
6916
|
const m = u.target;
|
|
6908
|
-
m != null && m.contains(s.trigger) &&
|
|
6917
|
+
m != null && m.contains(s.trigger) && c();
|
|
6909
6918
|
};
|
|
6910
6919
|
return window.addEventListener("scroll", h, { capture: !0 }), () => window.removeEventListener("scroll", h, { capture: !0 });
|
|
6911
6920
|
}
|
|
6912
|
-
}, [s.trigger,
|
|
6921
|
+
}, [s.trigger, c]), /* @__PURE__ */ b(
|
|
6913
6922
|
La,
|
|
6914
6923
|
{
|
|
6915
6924
|
asChild: !0,
|
|
@@ -6917,12 +6926,12 @@ var tu = "TooltipPortal", [ef, ru] = Rt(tu, {
|
|
|
6917
6926
|
onEscapeKeyDown: a,
|
|
6918
6927
|
onPointerDownOutside: o,
|
|
6919
6928
|
onFocusOutside: (h) => h.preventDefault(),
|
|
6920
|
-
onDismiss:
|
|
6929
|
+
onDismiss: c,
|
|
6921
6930
|
children: /* @__PURE__ */ _(
|
|
6922
6931
|
ja,
|
|
6923
6932
|
{
|
|
6924
6933
|
"data-state": s.stateAttribute,
|
|
6925
|
-
...
|
|
6934
|
+
...d,
|
|
6926
6935
|
...l,
|
|
6927
6936
|
ref: e,
|
|
6928
6937
|
style: {
|
|
@@ -6999,7 +7008,7 @@ function lu(r, e, t = 5) {
|
|
|
6999
7008
|
}
|
|
7000
7009
|
return n;
|
|
7001
7010
|
}
|
|
7002
|
-
function
|
|
7011
|
+
function du(r) {
|
|
7003
7012
|
const { top: e, right: t, bottom: n, left: i } = r;
|
|
7004
7013
|
return [
|
|
7005
7014
|
{ x: i, y: e },
|
|
@@ -7008,12 +7017,12 @@ function cu(r) {
|
|
|
7008
7017
|
{ x: i, y: n }
|
|
7009
7018
|
];
|
|
7010
7019
|
}
|
|
7011
|
-
function
|
|
7020
|
+
function cu(r, e) {
|
|
7012
7021
|
const { x: t, y: n } = r;
|
|
7013
7022
|
let i = !1;
|
|
7014
7023
|
for (let a = 0, o = e.length - 1; a < e.length; o = a++) {
|
|
7015
|
-
const l = e[a].x, s = e[a].y,
|
|
7016
|
-
s > n !=
|
|
7024
|
+
const l = e[a].x, s = e[a].y, d = e[o].x, c = e[o].y;
|
|
7025
|
+
s > n != c > n && t < (d - l) * (n - s) / (c - s) + l && (i = !i);
|
|
7017
7026
|
}
|
|
7018
7027
|
return i;
|
|
7019
7028
|
}
|
|
@@ -7046,8 +7055,8 @@ function fu(r) {
|
|
|
7046
7055
|
}
|
|
7047
7056
|
return t.pop(), e.length === 1 && t.length === 1 && e[0].x === t[0].x && e[0].y === t[0].y ? e : e.concat(t);
|
|
7048
7057
|
}
|
|
7049
|
-
var pu =
|
|
7050
|
-
const
|
|
7058
|
+
var pu = ca, mu = ua, hu = fa, ga = pa;
|
|
7059
|
+
const dn = {
|
|
7051
7060
|
primary: "bg-main-600 text-white",
|
|
7052
7061
|
secondary: "bg-grey-800 text-white",
|
|
7053
7062
|
white: "bg-grey-50 text-grey-800"
|
|
@@ -7119,19 +7128,19 @@ const cn = {
|
|
|
7119
7128
|
icRight: o,
|
|
7120
7129
|
children: l,
|
|
7121
7130
|
bubbleTip: s = !0,
|
|
7122
|
-
...
|
|
7123
|
-
},
|
|
7131
|
+
...d
|
|
7132
|
+
}, c) => {
|
|
7124
7133
|
const h = yu(n, e), u = n.startsWith("top"), m = n === "right" || n === "left" ? n : u ? "top" : "bottom", f = n === "right" || n === "left" ? "center" : n.includes("left") ? "start" : n.includes("right") ? "end" : "center";
|
|
7125
7134
|
return /* @__PURE__ */ b(
|
|
7126
7135
|
ga,
|
|
7127
7136
|
{
|
|
7128
|
-
ref:
|
|
7137
|
+
ref: c,
|
|
7129
7138
|
avoidCollisions: !1,
|
|
7130
7139
|
sideOffset: s ? i : 4,
|
|
7131
7140
|
side: m,
|
|
7132
7141
|
align: f,
|
|
7133
7142
|
style: { zIndex: 50 },
|
|
7134
|
-
...
|
|
7143
|
+
...d,
|
|
7135
7144
|
children: /* @__PURE__ */ _(
|
|
7136
7145
|
"div",
|
|
7137
7146
|
{
|
|
@@ -7139,7 +7148,7 @@ const cn = {
|
|
|
7139
7148
|
"relative z-50 rounded",
|
|
7140
7149
|
s && "m-1",
|
|
7141
7150
|
e === "white" && "border-border border",
|
|
7142
|
-
|
|
7151
|
+
dn[e],
|
|
7143
7152
|
r
|
|
7144
7153
|
),
|
|
7145
7154
|
children: [
|
|
@@ -7151,7 +7160,7 @@ const cn = {
|
|
|
7151
7160
|
className: K(
|
|
7152
7161
|
"relative z-40 flex max-w-sm items-center font-normal",
|
|
7153
7162
|
e !== "white" && "bg-opacity-90",
|
|
7154
|
-
|
|
7163
|
+
dn[e],
|
|
7155
7164
|
gu[t]
|
|
7156
7165
|
),
|
|
7157
7166
|
children: [
|
|
@@ -7179,10 +7188,10 @@ const wa = ({
|
|
|
7179
7188
|
position: o = "top-center",
|
|
7180
7189
|
bubbleTip: l = !0,
|
|
7181
7190
|
forceMount: s,
|
|
7182
|
-
isMobile:
|
|
7191
|
+
isMobile: d = vt
|
|
7183
7192
|
}) => {
|
|
7184
|
-
const [
|
|
7185
|
-
|
|
7193
|
+
const [c, h] = O.useState(!1), u = O.useRef(null), m = typeof d == "number" ? d : 3e3, f = () => {
|
|
7194
|
+
c ? h(!1) : (h(!0), u.current && clearTimeout(u.current), u.current = setTimeout(() => h(!1), m));
|
|
7186
7195
|
};
|
|
7187
7196
|
return O.useEffect(() => () => {
|
|
7188
7197
|
u.current && clearTimeout(u.current);
|
|
@@ -7191,7 +7200,7 @@ const wa = ({
|
|
|
7191
7200
|
bu,
|
|
7192
7201
|
{
|
|
7193
7202
|
asChild: !0,
|
|
7194
|
-
"data-state":
|
|
7203
|
+
"data-state": c ? "delayed-open" : "closed",
|
|
7195
7204
|
onMouseLeave: vt ? void 0 : () => h(!1),
|
|
7196
7205
|
onMouseEnter: vt ? void 0 : () => h(!0),
|
|
7197
7206
|
onClick: vt ? f : void 0,
|
|
@@ -7206,7 +7215,7 @@ const wa = ({
|
|
|
7206
7215
|
icLeft: i,
|
|
7207
7216
|
icRight: a,
|
|
7208
7217
|
position: o,
|
|
7209
|
-
forceMount: s ||
|
|
7218
|
+
forceMount: s || c || void 0,
|
|
7210
7219
|
bubbleTip: l,
|
|
7211
7220
|
children: r
|
|
7212
7221
|
}
|
|
@@ -7218,17 +7227,17 @@ function xu(r, e = []) {
|
|
|
7218
7227
|
function n(a, o) {
|
|
7219
7228
|
const l = O.createContext(o), s = t.length;
|
|
7220
7229
|
t = [...t, o];
|
|
7221
|
-
function
|
|
7230
|
+
function d(h) {
|
|
7222
7231
|
const { scope: u, children: m, ...f } = h, p = (u == null ? void 0 : u[r][s]) || l, w = O.useMemo(() => f, Object.values(f));
|
|
7223
7232
|
return /* @__PURE__ */ b(p.Provider, { value: w, children: m });
|
|
7224
7233
|
}
|
|
7225
|
-
function
|
|
7234
|
+
function c(h, u) {
|
|
7226
7235
|
const m = (u == null ? void 0 : u[r][s]) || l, f = O.useContext(m);
|
|
7227
7236
|
if (f) return f;
|
|
7228
7237
|
if (o !== void 0) return o;
|
|
7229
7238
|
throw new Error(`\`${h}\` must be used within \`${a}\``);
|
|
7230
7239
|
}
|
|
7231
|
-
return
|
|
7240
|
+
return d.displayName = a + "Provider", [d, c];
|
|
7232
7241
|
}
|
|
7233
7242
|
const i = () => {
|
|
7234
7243
|
const a = t.map((o) => O.createContext(o));
|
|
@@ -7251,8 +7260,8 @@ function Tu(...r) {
|
|
|
7251
7260
|
scopeName: i.scopeName
|
|
7252
7261
|
}));
|
|
7253
7262
|
return function(a) {
|
|
7254
|
-
const o = n.reduce((l, { useScope: s, scopeName:
|
|
7255
|
-
const h = s(a)[`__scope${
|
|
7263
|
+
const o = n.reduce((l, { useScope: s, scopeName: d }) => {
|
|
7264
|
+
const h = s(a)[`__scope${d}`];
|
|
7256
7265
|
return { ...l, ...h };
|
|
7257
7266
|
}, {});
|
|
7258
7267
|
return O.useMemo(() => ({ [`__scope${e.scopeName}`]: o }), [o]);
|
|
@@ -7328,10 +7337,10 @@ var [Ta, Sa] = ya(Ze), Cu = z.forwardRef((r, e) => {
|
|
|
7328
7337
|
defaultProp: n,
|
|
7329
7338
|
onChange: i
|
|
7330
7339
|
}), s = z.useCallback(
|
|
7331
|
-
(
|
|
7340
|
+
(c) => l((h = []) => [...h, c]),
|
|
7332
7341
|
[l]
|
|
7333
|
-
),
|
|
7334
|
-
(
|
|
7342
|
+
), d = z.useCallback(
|
|
7343
|
+
(c) => l((h = []) => h.filter((u) => u !== c)),
|
|
7335
7344
|
[l]
|
|
7336
7345
|
);
|
|
7337
7346
|
return /* @__PURE__ */ b(
|
|
@@ -7341,7 +7350,7 @@ var [Ta, Sa] = ya(Ze), Cu = z.forwardRef((r, e) => {
|
|
|
7341
7350
|
type: "multiple",
|
|
7342
7351
|
value: o,
|
|
7343
7352
|
onItemActivate: s,
|
|
7344
|
-
onItemDeactivate:
|
|
7353
|
+
onItemDeactivate: d,
|
|
7345
7354
|
children: /* @__PURE__ */ b(Ca, { ...a, ref: e })
|
|
7346
7355
|
}
|
|
7347
7356
|
);
|
|
@@ -7357,14 +7366,14 @@ var [Pu, Mu] = ya(Ze), Ca = z.forwardRef(
|
|
|
7357
7366
|
dir: o,
|
|
7358
7367
|
loop: l = !0,
|
|
7359
7368
|
...s
|
|
7360
|
-
} = r,
|
|
7369
|
+
} = r, d = xa(t), c = mn(o), h = { role: "group", dir: c, ...s };
|
|
7361
7370
|
return /* @__PURE__ */ b(Pu, { scope: t, rovingFocus: i, disabled: n, children: i ? /* @__PURE__ */ b(
|
|
7362
7371
|
qa,
|
|
7363
7372
|
{
|
|
7364
7373
|
asChild: !0,
|
|
7365
|
-
...
|
|
7374
|
+
...d,
|
|
7366
7375
|
orientation: a,
|
|
7367
|
-
dir:
|
|
7376
|
+
dir: c,
|
|
7368
7377
|
loop: l,
|
|
7369
7378
|
children: /* @__PURE__ */ b(Pe.div, { ...h, ref: e })
|
|
7370
7379
|
}
|
|
@@ -7381,13 +7390,13 @@ var [Pu, Mu] = ya(Ze), Ca = z.forwardRef(
|
|
|
7381
7390
|
focusable: !o,
|
|
7382
7391
|
active: a,
|
|
7383
7392
|
ref: s,
|
|
7384
|
-
children: /* @__PURE__ */ b(
|
|
7393
|
+
children: /* @__PURE__ */ b(cn, { ...l, ref: e })
|
|
7385
7394
|
}
|
|
7386
|
-
) : /* @__PURE__ */ b(
|
|
7395
|
+
) : /* @__PURE__ */ b(cn, { ...l, ref: e });
|
|
7387
7396
|
}
|
|
7388
7397
|
);
|
|
7389
7398
|
Ea.displayName = Lt;
|
|
7390
|
-
var
|
|
7399
|
+
var cn = z.forwardRef(
|
|
7391
7400
|
(r, e) => {
|
|
7392
7401
|
const { __scopeToggleGroup: t, value: n, ...i } = r, a = Sa(Lt, t), o = { role: "radio", "aria-checked": r.pressed, "aria-pressed": void 0 }, l = a.type === "single" ? o : void 0;
|
|
7393
7402
|
return /* @__PURE__ */ b(
|
|
@@ -7458,7 +7467,7 @@ const Ou = _a(
|
|
|
7458
7467
|
Dr.displayName = "ToggleGroupContext";
|
|
7459
7468
|
const _r = O.forwardRef(({ className: r, variant: e, theme: t, size: n, shape: i, children: a, ...o }, l) => /* @__PURE__ */ b(Dr.Provider, { value: { theme: t, size: n, shape: i }, children: /* @__PURE__ */ b(Pa, { ref: l, className: K("flex items-center justify-center gap-1", r), ...o, children: a }) }));
|
|
7460
7469
|
_r.displayName = Pa.displayName;
|
|
7461
|
-
const
|
|
7470
|
+
const dt = O.forwardRef(({ className: r, checked: e = !1, children: t, ...n }, i) => {
|
|
7462
7471
|
const a = O.useContext(Dr);
|
|
7463
7472
|
return /* @__PURE__ */ b(
|
|
7464
7473
|
Ma,
|
|
@@ -7479,7 +7488,7 @@ const ct = O.forwardRef(({ className: r, checked: e = !1, children: t, ...n }, i
|
|
|
7479
7488
|
}
|
|
7480
7489
|
);
|
|
7481
7490
|
});
|
|
7482
|
-
|
|
7491
|
+
dt.displayName = Ma.displayName;
|
|
7483
7492
|
const Iu = ({
|
|
7484
7493
|
options: r,
|
|
7485
7494
|
variant: e = "outline",
|
|
@@ -7495,45 +7504,45 @@ const Iu = ({
|
|
|
7495
7504
|
{
|
|
7496
7505
|
type: "single",
|
|
7497
7506
|
value: a,
|
|
7498
|
-
onValueChange: (
|
|
7499
|
-
!l && !
|
|
7507
|
+
onValueChange: (d) => {
|
|
7508
|
+
!l && !d || o(d);
|
|
7500
7509
|
},
|
|
7501
7510
|
theme: t,
|
|
7502
7511
|
size: n,
|
|
7503
7512
|
shape: i,
|
|
7504
7513
|
className: s,
|
|
7505
|
-
children: r.map((
|
|
7514
|
+
children: r.map((d) => d.tooltip ? /* @__PURE__ */ b(
|
|
7506
7515
|
wa,
|
|
7507
7516
|
{
|
|
7508
|
-
label:
|
|
7509
|
-
variant:
|
|
7510
|
-
size:
|
|
7511
|
-
icLeft:
|
|
7512
|
-
icRight:
|
|
7513
|
-
position:
|
|
7514
|
-
bubbleTip:
|
|
7517
|
+
label: d.tooltip.label,
|
|
7518
|
+
variant: d.tooltip.variant,
|
|
7519
|
+
size: d.tooltip.size,
|
|
7520
|
+
icLeft: d.tooltip.icLeft,
|
|
7521
|
+
icRight: d.tooltip.icRight,
|
|
7522
|
+
position: d.tooltip.position,
|
|
7523
|
+
bubbleTip: d.tooltip.bubbleTip,
|
|
7515
7524
|
children: /* @__PURE__ */ b(
|
|
7516
|
-
|
|
7525
|
+
dt,
|
|
7517
7526
|
{
|
|
7518
|
-
value:
|
|
7519
|
-
checked: a ===
|
|
7520
|
-
disabled:
|
|
7527
|
+
value: d.value,
|
|
7528
|
+
checked: a === d.value,
|
|
7529
|
+
disabled: d.disabled,
|
|
7521
7530
|
variant: e,
|
|
7522
|
-
children:
|
|
7531
|
+
children: d.label
|
|
7523
7532
|
}
|
|
7524
7533
|
)
|
|
7525
7534
|
},
|
|
7526
|
-
|
|
7535
|
+
d.value
|
|
7527
7536
|
) : /* @__PURE__ */ b(
|
|
7528
|
-
|
|
7537
|
+
dt,
|
|
7529
7538
|
{
|
|
7530
|
-
value:
|
|
7531
|
-
checked: a ===
|
|
7532
|
-
disabled:
|
|
7539
|
+
value: d.value,
|
|
7540
|
+
checked: a === d.value,
|
|
7541
|
+
disabled: d.disabled,
|
|
7533
7542
|
variant: e,
|
|
7534
|
-
children:
|
|
7543
|
+
children: d.label
|
|
7535
7544
|
},
|
|
7536
|
-
|
|
7545
|
+
d.value
|
|
7537
7546
|
))
|
|
7538
7547
|
}
|
|
7539
7548
|
), Au = ({
|
|
@@ -7566,7 +7575,7 @@ const Iu = ({
|
|
|
7566
7575
|
position: s.tooltip.position,
|
|
7567
7576
|
bubbleTip: s.tooltip.bubbleTip,
|
|
7568
7577
|
children: /* @__PURE__ */ b(
|
|
7569
|
-
|
|
7578
|
+
dt,
|
|
7570
7579
|
{
|
|
7571
7580
|
value: s.value,
|
|
7572
7581
|
checked: (a || []).includes(s.value),
|
|
@@ -7578,7 +7587,7 @@ const Iu = ({
|
|
|
7578
7587
|
},
|
|
7579
7588
|
s.value
|
|
7580
7589
|
) : /* @__PURE__ */ b(
|
|
7581
|
-
|
|
7590
|
+
dt,
|
|
7582
7591
|
{
|
|
7583
7592
|
value: s.value,
|
|
7584
7593
|
checked: (a || []).includes(s.value),
|
|
@@ -7611,14 +7620,14 @@ export {
|
|
|
7611
7620
|
Wu as MainBannerImage,
|
|
7612
7621
|
lf as Modal,
|
|
7613
7622
|
Au as Multiple,
|
|
7614
|
-
|
|
7623
|
+
df as PortalContainer,
|
|
7615
7624
|
Gu as PremiumCard,
|
|
7616
7625
|
Uu as RadioFormField,
|
|
7617
7626
|
Iu as Single,
|
|
7618
7627
|
Xu as StringArrayFormField,
|
|
7619
7628
|
Qu as StringInputField,
|
|
7620
7629
|
$u as TitleTagCard,
|
|
7621
|
-
|
|
7630
|
+
cf as Toaster,
|
|
7622
7631
|
rf as ToggleButtonGroup,
|
|
7623
7632
|
wa as Tooltip,
|
|
7624
7633
|
Ku as UrlFormField,
|