boottent-design 0.1.96 → 0.1.98
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 +669 -665
- package/dist/{index-MtAsMouO.js → index-BnAxsTr1.js} +242 -242
- package/dist/index-sHFvcC-T.cjs +1 -0
- package/dist/ui.cjs.js +1 -1
- package/dist/ui.es.js +2 -2
- package/package.json +1 -1
- package/dist/index-C-lkfIXD.cjs +0 -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
|
|
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-
|
|
5
|
+
import z, { forwardRef as fn, useState as Fe, useRef as ce, useEffect as St, useLayoutEffect as Fa, createContext as pn } from "react";
|
|
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-BnAxsTr1.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,20 +1729,20 @@ 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
|
);
|
|
1743
1743
|
}
|
|
1744
1744
|
function Ro({ logo: r, title: e, adTitle: t, footerText: n, regEndDate: i }) {
|
|
1745
|
-
return /* @__PURE__ */ _(ee.Col, { className: "relative z-10 h-full w-full items-start justify-between gap-2 overflow-hidden rounded-
|
|
1745
|
+
return /* @__PURE__ */ _(ee.Col, { className: "relative z-10 h-full w-full items-start justify-between gap-2 overflow-hidden rounded-xl border border-grey-200 bg-white p-4 text-grey-800 md:p-5 lg:p-6", children: [
|
|
1746
1746
|
/* @__PURE__ */ b(
|
|
1747
1747
|
Ve,
|
|
1748
1748
|
{
|
|
@@ -1767,7 +1767,7 @@ function Bo() {
|
|
|
1767
1767
|
Q,
|
|
1768
1768
|
{
|
|
1769
1769
|
type: "background",
|
|
1770
|
-
className: "relative z-10 flex h-full w-full flex-col justify-between gap-2 overflow-hidden rounded-
|
|
1770
|
+
className: "relative z-10 flex h-full w-full flex-col justify-between gap-2 overflow-hidden rounded-xl p-4 md:p-5 lg:p-6",
|
|
1771
1771
|
children: [
|
|
1772
1772
|
/* @__PURE__ */ b(
|
|
1773
1773
|
Ve,
|
|
@@ -1777,7 +1777,9 @@ function Bo() {
|
|
|
1777
1777
|
background: ue.event.background,
|
|
1778
1778
|
color: ue.event.color
|
|
1779
1779
|
},
|
|
1780
|
-
className: K(
|
|
1780
|
+
className: K(
|
|
1781
|
+
"h-7 w-20 animate-pulse rounded-bl-lg rounded-br-none rounded-tl-none rounded-tr-lg px-2 py-1 text-sm"
|
|
1782
|
+
),
|
|
1781
1783
|
children: ""
|
|
1782
1784
|
}
|
|
1783
1785
|
),
|
|
@@ -1823,7 +1825,7 @@ function Wu({
|
|
|
1823
1825
|
isLoading: l = !1
|
|
1824
1826
|
}) {
|
|
1825
1827
|
var u;
|
|
1826
|
-
const s = r && e,
|
|
1828
|
+
const s = r && e, d = `https://cdn.sayun.studio/boottent/images/banners/${r}/${e}`, c = {
|
|
1827
1829
|
background: a ? a.button : qt.button,
|
|
1828
1830
|
color: a ? a.buttonText : qt.buttonText,
|
|
1829
1831
|
border: a ? a.button : qt.button
|
|
@@ -1840,11 +1842,11 @@ function Wu({
|
|
|
1840
1842
|
!l && "border-y border-y-grey-200"
|
|
1841
1843
|
),
|
|
1842
1844
|
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:
|
|
1845
|
+
/* @__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
1846
|
!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
1847
|
Ue,
|
|
1846
1848
|
{
|
|
1847
|
-
style:
|
|
1849
|
+
style: c,
|
|
1848
1850
|
theme: "etc",
|
|
1849
1851
|
variant: "solid",
|
|
1850
1852
|
className: "absolute bottom-4 right-4 w-24 md:bottom-6 md:right-6 md:w-32 lg:bottom-4 lg:right-10",
|
|
@@ -1857,8 +1859,8 @@ function Wu({
|
|
|
1857
1859
|
}
|
|
1858
1860
|
function Ho() {
|
|
1859
1861
|
return /* @__PURE__ */ _(ee.Col, { className: "mx-auto flex h-full w-full max-w-screen-xl items-start gap-5 px-4 pt-4 md:px-6 md:pt-0 lg:px-10", children: [
|
|
1860
|
-
/* @__PURE__ */ b(Q, { type: "text", className: "h-6 w-4/5 rounded-
|
|
1861
|
-
/* @__PURE__ */ b(Q, { type: "text", className: "h-10 w-1/2 rounded-
|
|
1862
|
+
/* @__PURE__ */ b(Q, { type: "text", className: "h-6 w-4/5 rounded-xl md:h-10" }),
|
|
1863
|
+
/* @__PURE__ */ b(Q, { type: "text", className: "h-10 w-1/2 rounded-xl md:h-16 lg:w-3/5" }),
|
|
1862
1864
|
/* @__PURE__ */ b(
|
|
1863
1865
|
Q,
|
|
1864
1866
|
{
|
|
@@ -1884,7 +1886,7 @@ const Gu = ({
|
|
|
1884
1886
|
title: e,
|
|
1885
1887
|
type: "background",
|
|
1886
1888
|
className: K(
|
|
1887
|
-
"xs:h-full relative z-10 box-border h-[154px] w-full max-w-[720px] cursor-pointer overflow-hidden rounded-
|
|
1889
|
+
"xs:h-full relative z-10 box-border h-[154px] w-full max-w-[720px] cursor-pointer overflow-hidden rounded-xl p-4 md:h-[174px] md:max-w-[592px] md:p-5 lg:h-[174px] lg:p-6 xl:h-[174px]",
|
|
1888
1890
|
!s && "border border-grey-200 bg-white"
|
|
1889
1891
|
),
|
|
1890
1892
|
children: [
|
|
@@ -1950,7 +1952,7 @@ const Gu = ({
|
|
|
1950
1952
|
{
|
|
1951
1953
|
src: a,
|
|
1952
1954
|
alt: `${t} 썸네일`,
|
|
1953
|
-
className: "h-[86px] w-[86px] shrink-0 grow-0 rounded-
|
|
1955
|
+
className: "h-[86px] w-[86px] shrink-0 grow-0 rounded-xl border border-grey-200 object-cover md:h-[96px] md:w-[96px]"
|
|
1954
1956
|
}
|
|
1955
1957
|
)
|
|
1956
1958
|
] })
|
|
@@ -1961,7 +1963,7 @@ const Gu = ({
|
|
|
1961
1963
|
/* @__PURE__ */ b(Q, { className: "h-5 w-4/5 lg:h-12" }),
|
|
1962
1964
|
/* @__PURE__ */ b(Q, { className: "h-5 w-4/5" })
|
|
1963
1965
|
] }),
|
|
1964
|
-
/* @__PURE__ */ b(Q, { className: "h-[86px] w-[86px] shrink-0 grow-0 rounded-
|
|
1966
|
+
/* @__PURE__ */ b(Q, { className: "h-[86px] w-[86px] shrink-0 grow-0 rounded-xl md:h-[96px] md:w-[96px]" })
|
|
1965
1967
|
] })
|
|
1966
1968
|
] }), $u = ({
|
|
1967
1969
|
tags: r,
|
|
@@ -1973,7 +1975,7 @@ const Gu = ({
|
|
|
1973
1975
|
adTitle: o,
|
|
1974
1976
|
changedAspect: l = "aspect-[8/5]",
|
|
1975
1977
|
isLoading: s = !1
|
|
1976
|
-
}) => s ? /* @__PURE__ */ b(Uo, { changedAspect: l }) : /* @__PURE__ */ _(ee.Col, { className: "
|
|
1978
|
+
}) => s ? /* @__PURE__ */ b(Uo, { changedAspect: l }) : /* @__PURE__ */ _(ee.Col, { className: "shadow-base h-full w-full shrink-0 cursor-pointer overflow-hidden rounded-xl border border-grey-700 bg-white transition-all", children: [
|
|
1977
1979
|
/* @__PURE__ */ _(
|
|
1978
1980
|
be,
|
|
1979
1981
|
{
|
|
@@ -2014,15 +2016,15 @@ const Gu = ({
|
|
|
2014
2016
|
]
|
|
2015
2017
|
}
|
|
2016
2018
|
),
|
|
2017
|
-
/* @__PURE__ */ _(ee.Col, { className: "
|
|
2019
|
+
/* @__PURE__ */ _(ee.Col, { className: "w-full justify-between gap-2 p-4 text-grey-800 md:p-5 lg:p-6", children: [
|
|
2018
2020
|
/* @__PURE__ */ _("h4", { className: "flex flex-col gap-2", title: `${t} ${n} ${i}`, children: [
|
|
2019
2021
|
/* @__PURE__ */ b("p", { className: "text-sm", children: t }),
|
|
2020
2022
|
/* @__PURE__ */ b("p", { className: "truncate3 break-keep text-base font-semibold", children: `${n} ${i}` })
|
|
2021
2023
|
] }),
|
|
2022
|
-
r && /* @__PURE__ */ b("ul", { className: "flex w-full max-w-full flex-wrap gap-1", children: r.map((
|
|
2024
|
+
r && /* @__PURE__ */ b("ul", { className: "flex w-full max-w-full flex-wrap gap-1", children: r.map((d, c) => {
|
|
2023
2025
|
var u;
|
|
2024
2026
|
const h = Object.values(Xa).find(
|
|
2025
|
-
(m) => m.tags.some((f) => f.value ===
|
|
2027
|
+
(m) => m.tags.some((f) => f.value === d)
|
|
2026
2028
|
);
|
|
2027
2029
|
return h && /* @__PURE__ */ b("li", { children: /* @__PURE__ */ b(
|
|
2028
2030
|
Ve,
|
|
@@ -2032,16 +2034,16 @@ const Gu = ({
|
|
|
2032
2034
|
background: h.background,
|
|
2033
2035
|
color: h.color
|
|
2034
2036
|
},
|
|
2035
|
-
children: (u = h.tags.find((m) => m.value ===
|
|
2037
|
+
children: (u = h.tags.find((m) => m.value === d)) == null ? void 0 : u.text
|
|
2036
2038
|
}
|
|
2037
|
-
) },
|
|
2039
|
+
) }, c);
|
|
2038
2040
|
}) })
|
|
2039
2041
|
] })
|
|
2040
2042
|
] }), Uo = ({ changedAspect: r }) => /* @__PURE__ */ _(
|
|
2041
2043
|
Q,
|
|
2042
2044
|
{
|
|
2043
2045
|
type: "background",
|
|
2044
|
-
className: "
|
|
2046
|
+
className: "relative h-full w-full shrink-0 cursor-pointer overflow-hidden rounded-xl bg-grey-50 transition-all",
|
|
2045
2047
|
children: [
|
|
2046
2048
|
/* @__PURE__ */ b(
|
|
2047
2049
|
Ve,
|
|
@@ -2051,7 +2053,9 @@ const Gu = ({
|
|
|
2051
2053
|
background: ue.titleTag.background,
|
|
2052
2054
|
color: ue.titleTag.color
|
|
2053
2055
|
},
|
|
2054
|
-
className: K(
|
|
2056
|
+
className: K(
|
|
2057
|
+
"h-7 w-28 animate-pulse rounded-bl-lg rounded-br-none rounded-tl-none rounded-tr-lg px-2 py-1 text-sm"
|
|
2058
|
+
),
|
|
2055
2059
|
children: ""
|
|
2056
2060
|
}
|
|
2057
2061
|
),
|
|
@@ -2082,7 +2086,7 @@ const Gu = ({
|
|
|
2082
2086
|
var Xo = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, I = {}, ar = { exports: {} };
|
|
2083
2087
|
(function(r, e) {
|
|
2084
2088
|
(function(t, n) {
|
|
2085
|
-
var i = "1.0.39", a = "", o = "?", l = "function", s = "undefined",
|
|
2089
|
+
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
2090
|
var V = {};
|
|
2087
2091
|
for (var q in W)
|
|
2088
2092
|
$[q] && $[q].length % 2 === 0 ? V[q] = $[q].concat(W[q]) : V[q] = W[q];
|
|
@@ -2092,13 +2096,13 @@ var Xo = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
|
2092
2096
|
$[W[V].toUpperCase()] = W[V];
|
|
2093
2097
|
return $;
|
|
2094
2098
|
}, Wr = function(W, $) {
|
|
2095
|
-
return typeof W ===
|
|
2099
|
+
return typeof W === c ? $e($).indexOf($e(W)) !== -1 : !1;
|
|
2096
2100
|
}, $e = function(W) {
|
|
2097
2101
|
return W.toLowerCase();
|
|
2098
2102
|
}, Ia = function(W) {
|
|
2099
|
-
return typeof W ===
|
|
2103
|
+
return typeof W === c ? W.replace(/[^\d\.]/g, a).split(".")[0] : n;
|
|
2100
2104
|
}, Ht = function(W, $) {
|
|
2101
|
-
if (typeof W ===
|
|
2105
|
+
if (typeof W === c)
|
|
2102
2106
|
return W = W.replace(/^\s\s*/, a), typeof $ === s ? W : W.substring(0, A);
|
|
2103
2107
|
}, et = function(W, $) {
|
|
2104
2108
|
for (var V = 0, q, Te, he, j, D, ge; V < $.length && !D; ) {
|
|
@@ -2106,21 +2110,21 @@ var Xo = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
|
2106
2110
|
for (q = Te = 0; q < Yt.length && !D && Yt[q]; )
|
|
2107
2111
|
if (D = Yt[q++].exec(W), D)
|
|
2108
2112
|
for (he = 0; he < jr.length; he++)
|
|
2109
|
-
ge = D[++Te], j = jr[he], typeof j ===
|
|
2113
|
+
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
2114
|
V += 2;
|
|
2111
2115
|
}
|
|
2112
2116
|
}, mt = function(W, $) {
|
|
2113
2117
|
for (var V in $)
|
|
2114
|
-
if (typeof $[V] ===
|
|
2118
|
+
if (typeof $[V] === d && $[V].length > 0) {
|
|
2115
2119
|
for (var q = 0; q < $[V].length; q++)
|
|
2116
2120
|
if (Wr($[V][q], W))
|
|
2117
2121
|
return V === o ? n : V;
|
|
2118
2122
|
} else if (Wr($[V], W))
|
|
2119
2123
|
return V === o ? n : V;
|
|
2120
2124
|
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
|
|
2125
|
+
}, 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, $) {
|
|
2126
|
+
if (typeof W === d && ($ = W, W = n), !(this instanceof de))
|
|
2127
|
+
return new de(W, $).getResult();
|
|
2124
2128
|
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
2129
|
return this.getBrowser = function() {
|
|
2126
2130
|
var D = {};
|
|
@@ -2142,13 +2146,13 @@ var Xo = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
|
2142
2146
|
}, this.getUA = function() {
|
|
2143
2147
|
return q;
|
|
2144
2148
|
}, this.setUA = function(D) {
|
|
2145
|
-
return q = typeof D ===
|
|
2149
|
+
return q = typeof D === c && D.length > A ? Ht(D, A) : D, this;
|
|
2146
2150
|
}, this.setUA(q), this;
|
|
2147
2151
|
};
|
|
2148
|
-
|
|
2152
|
+
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
2153
|
var je = typeof t !== s && (t.jQuery || t.Zepto);
|
|
2150
2154
|
if (je && !je.ua) {
|
|
2151
|
-
var ht = new
|
|
2155
|
+
var ht = new de();
|
|
2152
2156
|
je.ua = ht.getResult(), je.ua.get = function() {
|
|
2153
2157
|
return ht.getUA();
|
|
2154
2158
|
}, je.ua.set = function(W) {
|
|
@@ -2165,7 +2169,7 @@ Object.defineProperty(I, "__esModule", { value: !0 });
|
|
|
2165
2169
|
function Ko(r) {
|
|
2166
2170
|
return r && typeof r == "object" && "default" in r ? r.default : r;
|
|
2167
2171
|
}
|
|
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(),
|
|
2172
|
+
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
2173
|
return Ne.setUA(e);
|
|
2170
2174
|
}, ut = function(e) {
|
|
2171
2175
|
if (!e) {
|
|
@@ -2192,7 +2196,7 @@ var te = z, U = Ko(te), qn = Qo, Ne = new qn(), re = Ne.getBrowser(), Zo = Ne.ge
|
|
|
2192
2196
|
device: se,
|
|
2193
2197
|
engine: Mr,
|
|
2194
2198
|
os: ke,
|
|
2195
|
-
ua:
|
|
2199
|
+
ua: ct,
|
|
2196
2200
|
setUa: Un,
|
|
2197
2201
|
parseUserAgent: ut
|
|
2198
2202
|
});
|
|
@@ -2307,12 +2311,12 @@ function sl(r, e) {
|
|
|
2307
2311
|
return yt(r);
|
|
2308
2312
|
}
|
|
2309
2313
|
function ol(r, e) {
|
|
2310
|
-
return ll(r) ||
|
|
2314
|
+
return ll(r) || dl(r, e) || cl(r, e) || ul();
|
|
2311
2315
|
}
|
|
2312
2316
|
function ll(r) {
|
|
2313
2317
|
if (Array.isArray(r)) return r;
|
|
2314
2318
|
}
|
|
2315
|
-
function
|
|
2319
|
+
function dl(r, e) {
|
|
2316
2320
|
var t = r == null ? null : typeof Symbol < "u" && r[Symbol.iterator] || r["@@iterator"];
|
|
2317
2321
|
if (t != null) {
|
|
2318
2322
|
var n = [], i = !0, a = !1, o, l;
|
|
@@ -2331,7 +2335,7 @@ function cl(r, e) {
|
|
|
2331
2335
|
return n;
|
|
2332
2336
|
}
|
|
2333
2337
|
}
|
|
2334
|
-
function
|
|
2338
|
+
function cl(r, e) {
|
|
2335
2339
|
if (r) {
|
|
2336
2340
|
if (typeof r == "string") return en(r, e);
|
|
2337
2341
|
var t = Object.prototype.toString.call(r).slice(8, -1);
|
|
@@ -2486,14 +2490,14 @@ var J = {
|
|
|
2486
2490
|
};
|
|
2487
2491
|
};
|
|
2488
2492
|
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,
|
|
2493
|
+
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
2494
|
if (s)
|
|
2491
2495
|
return hl(s, n, i, a, o);
|
|
2492
2496
|
if (h)
|
|
2493
2497
|
return gl(h, i, a, o);
|
|
2494
2498
|
if (u)
|
|
2495
2499
|
return vl(u, i, a, o);
|
|
2496
|
-
if (
|
|
2500
|
+
if (d || c)
|
|
2497
2501
|
return tn(l, t, a, o);
|
|
2498
2502
|
if (m)
|
|
2499
2503
|
return wl(m, i, a, o);
|
|
@@ -2542,10 +2546,10 @@ var Qn = function(e) {
|
|
|
2542
2546
|
}, li = function(e) {
|
|
2543
2547
|
var t = e.name;
|
|
2544
2548
|
return t === Ke.MAC_OS;
|
|
2545
|
-
},
|
|
2549
|
+
}, di = function(e) {
|
|
2546
2550
|
var t = e.name;
|
|
2547
2551
|
return t === Ke.WindowsPhone;
|
|
2548
|
-
},
|
|
2552
|
+
}, ci = function(e) {
|
|
2549
2553
|
var t = e.name;
|
|
2550
2554
|
return t === Ke.IOS;
|
|
2551
2555
|
}, ui = function(e) {
|
|
@@ -2634,8 +2638,8 @@ function Li(r) {
|
|
|
2634
2638
|
isBrowser: Pt(t),
|
|
2635
2639
|
isDesktop: Pt(t),
|
|
2636
2640
|
isAndroid: si(i),
|
|
2637
|
-
isWinPhone:
|
|
2638
|
-
isIOS:
|
|
2641
|
+
isWinPhone: di(i),
|
|
2642
|
+
isIOS: ci(i) || ve(),
|
|
2639
2643
|
isChrome: pi(n),
|
|
2640
2644
|
isFirefox: mi(n),
|
|
2641
2645
|
isSafari: vi(n),
|
|
@@ -2667,7 +2671,7 @@ function Li(r) {
|
|
|
2667
2671
|
isSamsungBrowser: Ti(n)
|
|
2668
2672
|
};
|
|
2669
2673
|
}
|
|
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 =
|
|
2674
|
+
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
2675
|
if (!e || typeof e != "string") {
|
|
2672
2676
|
console.error("No valid user agent string was provided");
|
|
2673
2677
|
return;
|
|
@@ -2680,48 +2684,48 @@ var Di = Jn(se), _i = ti(se), Fi = ei(se), xl = ri(se), Tl = wi(re) || ve(), Sl
|
|
|
2680
2684
|
engine: o,
|
|
2681
2685
|
ua: l
|
|
2682
2686
|
});
|
|
2683
|
-
},
|
|
2687
|
+
}, ed = function(e) {
|
|
2684
2688
|
var t = e.renderWithFragment, n = e.children, i = le(e, ["renderWithFragment", "children"]);
|
|
2685
2689
|
return Bi ? t ? U.createElement(te.Fragment, null, n) : U.createElement("div", i, n) : null;
|
|
2686
|
-
},
|
|
2690
|
+
}, td = function(e) {
|
|
2687
2691
|
var t = e.renderWithFragment, n = e.children, i = le(e, ["renderWithFragment", "children"]);
|
|
2688
2692
|
return Ri ? t ? U.createElement(te.Fragment, null, n) : U.createElement("div", i, n) : null;
|
|
2689
|
-
},
|
|
2693
|
+
}, rd = function(e) {
|
|
2690
2694
|
var t = e.renderWithFragment, n = e.children, i = le(e, ["renderWithFragment", "children"]);
|
|
2691
2695
|
return $i ? t ? U.createElement(te.Fragment, null, n) : U.createElement("div", i, n) : null;
|
|
2692
|
-
},
|
|
2696
|
+
}, nd = function(e) {
|
|
2693
2697
|
var t = e.renderWithFragment, n = e.children, i = le(e, ["renderWithFragment", "children"]);
|
|
2694
2698
|
return Gi ? t ? U.createElement(te.Fragment, null, n) : U.createElement("div", i, n) : null;
|
|
2695
|
-
},
|
|
2699
|
+
}, id = function(e) {
|
|
2696
2700
|
var t = e.renderWithFragment, n = e.children, i = le(e, ["renderWithFragment", "children"]);
|
|
2697
2701
|
return zt ? t ? U.createElement(te.Fragment, null, n) : U.createElement("div", i, n) : null;
|
|
2698
|
-
},
|
|
2702
|
+
}, ad = function(e) {
|
|
2699
2703
|
var t = e.renderWithFragment, n = e.children, i = le(e, ["renderWithFragment", "children"]);
|
|
2700
2704
|
return zi ? t ? U.createElement(te.Fragment, null, n) : U.createElement("div", i, n) : null;
|
|
2701
|
-
},
|
|
2705
|
+
}, sd = function(e) {
|
|
2702
2706
|
var t = e.renderWithFragment, n = e.children, i = le(e, ["renderWithFragment", "children"]);
|
|
2703
2707
|
return Wi ? t ? U.createElement(te.Fragment, null, n) : U.createElement("div", i, n) : null;
|
|
2704
|
-
},
|
|
2708
|
+
}, od = function(e) {
|
|
2705
2709
|
var t = e.renderWithFragment, n = e.children;
|
|
2706
2710
|
e.viewClassName, e.style;
|
|
2707
2711
|
var i = le(e, ["renderWithFragment", "children", "viewClassName", "style"]);
|
|
2708
2712
|
return Vi ? t ? U.createElement(te.Fragment, null, n) : U.createElement("div", i, n) : null;
|
|
2709
|
-
},
|
|
2713
|
+
}, ld = function(e) {
|
|
2710
2714
|
var t = e.renderWithFragment, n = e.children, i = le(e, ["renderWithFragment", "children"]);
|
|
2711
2715
|
return Di ? t ? U.createElement(te.Fragment, null, n) : U.createElement("div", i, n) : null;
|
|
2712
|
-
},
|
|
2716
|
+
}, dd = function(e) {
|
|
2713
2717
|
var t = e.renderWithFragment, n = e.children, i = le(e, ["renderWithFragment", "children"]);
|
|
2714
2718
|
return _i ? t ? U.createElement(te.Fragment, null, n) : U.createElement("div", i, n) : null;
|
|
2715
|
-
},
|
|
2719
|
+
}, cd = function(e) {
|
|
2716
2720
|
var t = e.renderWithFragment, n = e.children, i = le(e, ["renderWithFragment", "children"]);
|
|
2717
2721
|
return Fi ? t ? U.createElement(te.Fragment, null, n) : U.createElement("div", i, n) : null;
|
|
2718
|
-
},
|
|
2722
|
+
}, ud = function(e) {
|
|
2719
2723
|
var t = e.renderWithFragment, n = e.children;
|
|
2720
2724
|
e.viewClassName, e.style;
|
|
2721
2725
|
var i = e.condition, a = le(e, ["renderWithFragment", "children", "viewClassName", "style", "condition"]);
|
|
2722
2726
|
return i ? t ? U.createElement(te.Fragment, null, n) : U.createElement("div", a, n) : null;
|
|
2723
2727
|
};
|
|
2724
|
-
function
|
|
2728
|
+
function fd(r) {
|
|
2725
2729
|
return /* @__PURE__ */ function(e) {
|
|
2726
2730
|
il(t, e);
|
|
2727
2731
|
function t(n) {
|
|
@@ -2772,7 +2776,7 @@ function fc(r) {
|
|
|
2772
2776
|
}]), t;
|
|
2773
2777
|
}(U.Component);
|
|
2774
2778
|
}
|
|
2775
|
-
function
|
|
2779
|
+
function pd() {
|
|
2776
2780
|
var r = te.useState(function() {
|
|
2777
2781
|
var a = window.innerWidth > window.innerHeight ? 90 : 0;
|
|
2778
2782
|
return {
|
|
@@ -2798,24 +2802,24 @@ function ji(r) {
|
|
|
2798
2802
|
var e = r || window.navigator.userAgent;
|
|
2799
2803
|
return ut(e);
|
|
2800
2804
|
}
|
|
2801
|
-
function
|
|
2805
|
+
function md(r) {
|
|
2802
2806
|
var e = r || window.navigator.userAgent, t = ji(e), n = Li(t);
|
|
2803
2807
|
return [n, t];
|
|
2804
2808
|
}
|
|
2805
|
-
I.AndroidView =
|
|
2809
|
+
I.AndroidView = ed;
|
|
2806
2810
|
I.BrowserTypes = ne;
|
|
2807
|
-
I.BrowserView =
|
|
2808
|
-
I.ConsoleView =
|
|
2809
|
-
I.CustomView =
|
|
2810
|
-
I.IEView =
|
|
2811
|
-
I.IOSView =
|
|
2812
|
-
I.MobileOnlyView =
|
|
2813
|
-
I.MobileView =
|
|
2811
|
+
I.BrowserView = td;
|
|
2812
|
+
I.ConsoleView = dd;
|
|
2813
|
+
I.CustomView = ud;
|
|
2814
|
+
I.IEView = rd;
|
|
2815
|
+
I.IOSView = nd;
|
|
2816
|
+
I.MobileOnlyView = od;
|
|
2817
|
+
I.MobileView = id;
|
|
2814
2818
|
I.OsTypes = Ke;
|
|
2815
|
-
I.SmartTVView =
|
|
2816
|
-
I.TabletView =
|
|
2817
|
-
I.WearableView =
|
|
2818
|
-
I.WinPhoneView =
|
|
2819
|
+
I.SmartTVView = ld;
|
|
2820
|
+
I.TabletView = ad;
|
|
2821
|
+
I.WearableView = cd;
|
|
2822
|
+
I.WinPhoneView = sd;
|
|
2819
2823
|
I.browserName = Ll;
|
|
2820
2824
|
I.browserVersion = kl;
|
|
2821
2825
|
I.deviceDetect = yl;
|
|
@@ -2830,7 +2834,7 @@ I.isBrowser = Ri;
|
|
|
2830
2834
|
I.isChrome = El;
|
|
2831
2835
|
I.isChromium = Sl;
|
|
2832
2836
|
I.isConsole = _i;
|
|
2833
|
-
var
|
|
2837
|
+
var hd = I.isDesktop = Cl;
|
|
2834
2838
|
I.isEdge = Rl;
|
|
2835
2839
|
I.isEdgeChromium = ql;
|
|
2836
2840
|
I.isElectron = Yl;
|
|
@@ -2864,9 +2868,9 @@ I.osVersion = Il;
|
|
|
2864
2868
|
I.parseUserAgent = ut;
|
|
2865
2869
|
I.setUserAgent = ml;
|
|
2866
2870
|
I.useDeviceData = ji;
|
|
2867
|
-
I.useDeviceSelectors =
|
|
2868
|
-
I.useMobileOrientation =
|
|
2869
|
-
I.withOrientationChange =
|
|
2871
|
+
I.useDeviceSelectors = md;
|
|
2872
|
+
I.useMobileOrientation = pd;
|
|
2873
|
+
I.withOrientationChange = fd;
|
|
2870
2874
|
function rn(r) {
|
|
2871
2875
|
return r !== null && typeof r == "object" && "constructor" in r && r.constructor === Object;
|
|
2872
2876
|
}
|
|
@@ -2934,7 +2938,7 @@ function Ee() {
|
|
|
2934
2938
|
const r = typeof document < "u" ? document : {};
|
|
2935
2939
|
return Ar(r, Hi), r;
|
|
2936
2940
|
}
|
|
2937
|
-
const
|
|
2941
|
+
const gd = {
|
|
2938
2942
|
document: Hi,
|
|
2939
2943
|
navigator: {
|
|
2940
2944
|
userAgent: ""
|
|
@@ -2994,12 +2998,12 @@ const gc = {
|
|
|
2994
2998
|
};
|
|
2995
2999
|
function oe() {
|
|
2996
3000
|
const r = typeof window < "u" ? window : {};
|
|
2997
|
-
return Ar(r,
|
|
3001
|
+
return Ar(r, gd), r;
|
|
2998
3002
|
}
|
|
2999
|
-
function
|
|
3003
|
+
function vd(r) {
|
|
3000
3004
|
return r === void 0 && (r = ""), r.trim().split(" ").filter((e) => !!e.trim());
|
|
3001
3005
|
}
|
|
3002
|
-
function
|
|
3006
|
+
function wd(r) {
|
|
3003
3007
|
const e = r;
|
|
3004
3008
|
Object.keys(e).forEach((t) => {
|
|
3005
3009
|
try {
|
|
@@ -3012,35 +3016,35 @@ function wc(r) {
|
|
|
3012
3016
|
}
|
|
3013
3017
|
});
|
|
3014
3018
|
}
|
|
3015
|
-
function
|
|
3019
|
+
function dr(r, e) {
|
|
3016
3020
|
return e === void 0 && (e = 0), setTimeout(r, e);
|
|
3017
3021
|
}
|
|
3018
3022
|
function Ot() {
|
|
3019
3023
|
return Date.now();
|
|
3020
3024
|
}
|
|
3021
|
-
function
|
|
3025
|
+
function bd(r) {
|
|
3022
3026
|
const e = oe();
|
|
3023
3027
|
let t;
|
|
3024
3028
|
return e.getComputedStyle && (t = e.getComputedStyle(r, null)), !t && r.currentStyle && (t = r.currentStyle), t || (t = r.style), t;
|
|
3025
3029
|
}
|
|
3026
|
-
function
|
|
3030
|
+
function yd(r, e) {
|
|
3027
3031
|
e === void 0 && (e = "x");
|
|
3028
3032
|
const t = oe();
|
|
3029
3033
|
let n, i, a;
|
|
3030
|
-
const o =
|
|
3034
|
+
const o = bd(r);
|
|
3031
3035
|
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
3036
|
}
|
|
3033
3037
|
function wt(r) {
|
|
3034
3038
|
return typeof r == "object" && r !== null && r.constructor && Object.prototype.toString.call(r).slice(8, -1) === "Object";
|
|
3035
3039
|
}
|
|
3036
|
-
function
|
|
3040
|
+
function xd(r) {
|
|
3037
3041
|
return typeof window < "u" && typeof window.HTMLElement < "u" ? r instanceof HTMLElement : r && (r.nodeType === 1 || r.nodeType === 11);
|
|
3038
3042
|
}
|
|
3039
3043
|
function ie() {
|
|
3040
3044
|
const r = Object(arguments.length <= 0 ? void 0 : arguments[0]), e = ["__proto__", "constructor", "prototype"];
|
|
3041
3045
|
for (let t = 1; t < arguments.length; t += 1) {
|
|
3042
3046
|
const n = t < 0 || arguments.length <= t ? void 0 : arguments[t];
|
|
3043
|
-
if (n != null && !
|
|
3047
|
+
if (n != null && !xd(n)) {
|
|
3044
3048
|
const i = Object.keys(Object(n)).filter((a) => e.indexOf(a) < 0);
|
|
3045
3049
|
for (let a = 0, o = i.length; a < o; a += 1) {
|
|
3046
3050
|
const l = i[a], s = Object.getOwnPropertyDescriptor(n, l);
|
|
@@ -3063,13 +3067,13 @@ function Yi(r) {
|
|
|
3063
3067
|
let o = null, l;
|
|
3064
3068
|
const s = e.params.speed;
|
|
3065
3069
|
e.wrapperEl.style.scrollSnapType = "none", i.cancelAnimationFrame(e.cssModeFrameID);
|
|
3066
|
-
const
|
|
3070
|
+
const d = t > a ? "next" : "prev", c = (u, m) => d === "next" && u >= m || d === "prev" && u <= m, h = () => {
|
|
3067
3071
|
l = (/* @__PURE__ */ new Date()).getTime(), o === null && (o = l);
|
|
3068
3072
|
const u = Math.max(Math.min((l - o) / s, 1), 0), m = 0.5 - Math.cos(u * Math.PI) / 2;
|
|
3069
3073
|
let f = a + m * (t - a);
|
|
3070
|
-
if (
|
|
3074
|
+
if (c(f, t) && (f = t), e.wrapperEl.scrollTo({
|
|
3071
3075
|
[n]: f
|
|
3072
|
-
}),
|
|
3076
|
+
}), c(f, t)) {
|
|
3073
3077
|
e.wrapperEl.style.overflow = "hidden", e.wrapperEl.style.scrollSnapType = "", setTimeout(() => {
|
|
3074
3078
|
e.wrapperEl.style.overflow = "", e.wrapperEl.scrollTo({
|
|
3075
3079
|
[n]: f
|
|
@@ -3089,7 +3093,7 @@ function we(r, e) {
|
|
|
3089
3093
|
const t = [...r.children];
|
|
3090
3094
|
return r instanceof HTMLSlotElement && t.push(...r.assignedElements()), e ? t.filter((n) => n.matches(e)) : t;
|
|
3091
3095
|
}
|
|
3092
|
-
function
|
|
3096
|
+
function Td(r, e) {
|
|
3093
3097
|
const t = e.contains(r);
|
|
3094
3098
|
return !t && e instanceof HTMLSlotElement ? [...e.assignedElements()].includes(r) : t;
|
|
3095
3099
|
}
|
|
@@ -3103,9 +3107,9 @@ function It(r) {
|
|
|
3103
3107
|
function At(r, e) {
|
|
3104
3108
|
e === void 0 && (e = []);
|
|
3105
3109
|
const t = document.createElement(r);
|
|
3106
|
-
return t.classList.add(...Array.isArray(e) ? e :
|
|
3110
|
+
return t.classList.add(...Array.isArray(e) ? e : vd(e)), t;
|
|
3107
3111
|
}
|
|
3108
|
-
function
|
|
3112
|
+
function Sd(r, e) {
|
|
3109
3113
|
const t = [];
|
|
3110
3114
|
for (; r.previousElementSibling; ) {
|
|
3111
3115
|
const n = r.previousElementSibling;
|
|
@@ -3113,7 +3117,7 @@ function Sc(r, e) {
|
|
|
3113
3117
|
}
|
|
3114
3118
|
return t;
|
|
3115
3119
|
}
|
|
3116
|
-
function
|
|
3120
|
+
function Cd(r, e) {
|
|
3117
3121
|
const t = [];
|
|
3118
3122
|
for (; r.nextElementSibling; ) {
|
|
3119
3123
|
const n = r.nextElementSibling;
|
|
@@ -3139,13 +3143,13 @@ function Ui(r, e) {
|
|
|
3139
3143
|
e ? n.matches(e) && t.push(n) : t.push(n), n = n.parentElement;
|
|
3140
3144
|
return t;
|
|
3141
3145
|
}
|
|
3142
|
-
function
|
|
3146
|
+
function Ed(r, e) {
|
|
3143
3147
|
function t(n) {
|
|
3144
3148
|
n.target === r && (e.call(r, n), r.removeEventListener("transitionend", t));
|
|
3145
3149
|
}
|
|
3146
3150
|
e && r.addEventListener("transitionend", t);
|
|
3147
3151
|
}
|
|
3148
|
-
function
|
|
3152
|
+
function cr(r, e, t) {
|
|
3149
3153
|
const n = oe();
|
|
3150
3154
|
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
3155
|
}
|
|
@@ -3160,7 +3164,7 @@ function Xi(r, e, t, n) {
|
|
|
3160
3164
|
}
|
|
3161
3165
|
}), t;
|
|
3162
3166
|
}
|
|
3163
|
-
function
|
|
3167
|
+
function Pd(r) {
|
|
3164
3168
|
let {
|
|
3165
3169
|
swiper: e,
|
|
3166
3170
|
extendParams: t,
|
|
@@ -3205,10 +3209,10 @@ function Pc(r) {
|
|
|
3205
3209
|
function s(f) {
|
|
3206
3210
|
f.preventDefault(), !(e.isBeginning && !e.params.loop && !e.params.rewind) && (e.slidePrev(), i("navigationPrev"));
|
|
3207
3211
|
}
|
|
3208
|
-
function
|
|
3212
|
+
function d(f) {
|
|
3209
3213
|
f.preventDefault(), !(e.isEnd && !e.params.loop && !e.params.rewind) && (e.slideNext(), i("navigationNext"));
|
|
3210
3214
|
}
|
|
3211
|
-
function
|
|
3215
|
+
function c() {
|
|
3212
3216
|
const f = e.params.navigation;
|
|
3213
3217
|
if (e.params.navigation = Xi(e, e.originalParams.navigation, e.params.navigation, {
|
|
3214
3218
|
nextEl: "swiper-button-next",
|
|
@@ -3220,7 +3224,7 @@ function Pc(r) {
|
|
|
3220
3224
|
prevEl: w
|
|
3221
3225
|
}), p = Z(p), w = Z(w);
|
|
3222
3226
|
const y = (g, v) => {
|
|
3223
|
-
g && g.addEventListener("click", v === "next" ?
|
|
3227
|
+
g && g.addEventListener("click", v === "next" ? d : s), !e.enabled && g && g.classList.add(...f.lockClass.split(" "));
|
|
3224
3228
|
};
|
|
3225
3229
|
p.forEach((g) => y(g, "next")), w.forEach((g) => y(g, "prev"));
|
|
3226
3230
|
}
|
|
@@ -3231,12 +3235,12 @@ function Pc(r) {
|
|
|
3231
3235
|
} = e.navigation;
|
|
3232
3236
|
f = Z(f), p = Z(p);
|
|
3233
3237
|
const w = (y, g) => {
|
|
3234
|
-
y.removeEventListener("click", g === "next" ?
|
|
3238
|
+
y.removeEventListener("click", g === "next" ? d : s), y.classList.remove(...e.params.navigation.disabledClass.split(" "));
|
|
3235
3239
|
};
|
|
3236
3240
|
f.forEach((y) => w(y, "next")), p.forEach((y) => w(y, "prev"));
|
|
3237
3241
|
}
|
|
3238
3242
|
n("init", () => {
|
|
3239
|
-
e.params.navigation.enabled === !1 ? m() : (
|
|
3243
|
+
e.params.navigation.enabled === !1 ? m() : (c(), l());
|
|
3240
3244
|
}), n("toEdge fromEdge lock unlock", () => {
|
|
3241
3245
|
l();
|
|
3242
3246
|
}), n("destroy", () => {
|
|
@@ -3270,7 +3274,7 @@ function Pc(r) {
|
|
|
3270
3274
|
}
|
|
3271
3275
|
});
|
|
3272
3276
|
const u = () => {
|
|
3273
|
-
e.el.classList.remove(...e.params.navigation.navigationDisabledClass.split(" ")),
|
|
3277
|
+
e.el.classList.remove(...e.params.navigation.navigationDisabledClass.split(" ")), c(), l();
|
|
3274
3278
|
}, m = () => {
|
|
3275
3279
|
e.el.classList.add(...e.params.navigation.navigationDisabledClass.split(" ")), h();
|
|
3276
3280
|
};
|
|
@@ -3278,14 +3282,14 @@ function Pc(r) {
|
|
|
3278
3282
|
enable: u,
|
|
3279
3283
|
disable: m,
|
|
3280
3284
|
update: l,
|
|
3281
|
-
init:
|
|
3285
|
+
init: c,
|
|
3282
3286
|
destroy: h
|
|
3283
3287
|
});
|
|
3284
3288
|
}
|
|
3285
3289
|
function it(r) {
|
|
3286
3290
|
return r === void 0 && (r = ""), `.${r.trim().replace(/([\.:!+\/])/g, "\\$1").replace(/ /g, ".")}`;
|
|
3287
3291
|
}
|
|
3288
|
-
function
|
|
3292
|
+
function Md(r) {
|
|
3289
3293
|
let {
|
|
3290
3294
|
swiper: e,
|
|
3291
3295
|
extendParams: t,
|
|
@@ -3332,13 +3336,13 @@ function Mc(r) {
|
|
|
3332
3336
|
function s() {
|
|
3333
3337
|
return !e.params.pagination.el || !e.pagination.el || Array.isArray(e.pagination.el) && e.pagination.el.length === 0;
|
|
3334
3338
|
}
|
|
3335
|
-
function
|
|
3339
|
+
function d(g, v) {
|
|
3336
3340
|
const {
|
|
3337
3341
|
bulletActiveClass: x
|
|
3338
3342
|
} = e.params.pagination;
|
|
3339
3343
|
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
3344
|
}
|
|
3341
|
-
function
|
|
3345
|
+
function c(g, v, x) {
|
|
3342
3346
|
if (g = g % x, v = v % x, v === g + 1)
|
|
3343
3347
|
return "next";
|
|
3344
3348
|
if (v === g - 1)
|
|
@@ -3352,7 +3356,7 @@ function Mc(r) {
|
|
|
3352
3356
|
const x = Nt(v) * e.params.slidesPerGroup;
|
|
3353
3357
|
if (e.params.loop) {
|
|
3354
3358
|
if (e.realIndex === x) return;
|
|
3355
|
-
const T =
|
|
3359
|
+
const T = c(e.realIndex, x, e.slides.length);
|
|
3356
3360
|
T === "next" ? e.slideNext() : T === "previous" ? e.slidePrev() : e.slideToLoop(x);
|
|
3357
3361
|
} else
|
|
3358
3362
|
e.slideTo(x);
|
|
@@ -3367,7 +3371,7 @@ function Mc(r) {
|
|
|
3367
3371
|
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
3372
|
const C = e.pagination.bullets;
|
|
3369
3373
|
let S, M, N;
|
|
3370
|
-
if (v.dynamicBullets && (o =
|
|
3374
|
+
if (v.dynamicBullets && (o = cr(C[0], e.isHorizontal() ? "width" : "height"), x.forEach((P) => {
|
|
3371
3375
|
P.style[e.isHorizontal() ? "width" : "height"] = `${o * (v.dynamicMainBullets + 4)}px`;
|
|
3372
3376
|
}), 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
3377
|
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 +3379,7 @@ function Mc(r) {
|
|
|
3375
3379
|
}), x.length > 1)
|
|
3376
3380
|
C.forEach((P) => {
|
|
3377
3381
|
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 &&
|
|
3382
|
+
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
3383
|
});
|
|
3380
3384
|
else {
|
|
3381
3385
|
const P = C[T];
|
|
@@ -3385,7 +3389,7 @@ function Mc(r) {
|
|
|
3385
3389
|
const k = C[S], R = C[M];
|
|
3386
3390
|
for (let X = S; X <= M; X += 1)
|
|
3387
3391
|
C[X] && C[X].classList.add(...`${v.bulletActiveClass}-main`.split(" "));
|
|
3388
|
-
|
|
3392
|
+
d(k, "prev"), d(R, "next");
|
|
3389
3393
|
}
|
|
3390
3394
|
}
|
|
3391
3395
|
if (v.dynamicBullets) {
|
|
@@ -3506,7 +3510,7 @@ function Mc(r) {
|
|
|
3506
3510
|
destroy: p
|
|
3507
3511
|
});
|
|
3508
3512
|
}
|
|
3509
|
-
function
|
|
3513
|
+
function Od(r) {
|
|
3510
3514
|
let {
|
|
3511
3515
|
swiper: e,
|
|
3512
3516
|
extendParams: t,
|
|
@@ -3529,14 +3533,14 @@ function Oc(r) {
|
|
|
3529
3533
|
pauseOnMouseEnter: !1
|
|
3530
3534
|
}
|
|
3531
3535
|
});
|
|
3532
|
-
let o, l, s = a && a.autoplay ? a.autoplay.delay : 3e3,
|
|
3536
|
+
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
3537
|
function v(B) {
|
|
3534
3538
|
!e || e.destroyed || !e.wrapperEl || B.target === e.wrapperEl && (e.wrapperEl.removeEventListener("transitionend", v), !(g || B.detail && B.detail.bySwiperTouchMove) && S());
|
|
3535
3539
|
}
|
|
3536
3540
|
const x = () => {
|
|
3537
3541
|
if (e.destroyed || !e.autoplay.running) return;
|
|
3538
|
-
e.autoplay.paused ? u = !0 : u && (
|
|
3539
|
-
const B = e.autoplay.paused ?
|
|
3542
|
+
e.autoplay.paused ? u = !0 : u && (d = c, u = !1);
|
|
3543
|
+
const B = e.autoplay.paused ? c : h + d - (/* @__PURE__ */ new Date()).getTime();
|
|
3540
3544
|
e.autoplay.timeLeft = B, i("autoplayTimeLeft", B, B / s), l = requestAnimationFrame(() => {
|
|
3541
3545
|
x();
|
|
3542
3546
|
});
|
|
@@ -3547,9 +3551,9 @@ function Oc(r) {
|
|
|
3547
3551
|
if (e.destroyed || !e.autoplay.running) return;
|
|
3548
3552
|
cancelAnimationFrame(l), x();
|
|
3549
3553
|
let G = typeof B > "u" ? e.params.autoplay.delay : B;
|
|
3550
|
-
s = e.params.autoplay.delay,
|
|
3554
|
+
s = e.params.autoplay.delay, d = e.params.autoplay.delay;
|
|
3551
3555
|
const Y = T();
|
|
3552
|
-
!Number.isNaN(Y) && Y > 0 && typeof B > "u" && (G = Y, s = Y,
|
|
3556
|
+
!Number.isNaN(Y) && Y > 0 && typeof B > "u" && (G = Y, s = Y, d = Y), c = G;
|
|
3553
3557
|
const pe = e.params.speed, me = () => {
|
|
3554
3558
|
!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
3559
|
E();
|
|
@@ -3571,12 +3575,12 @@ function Oc(r) {
|
|
|
3571
3575
|
i("autoplayPause"), e.params.autoplay.waitForTransition ? e.wrapperEl.addEventListener("transitionend", v) : S();
|
|
3572
3576
|
};
|
|
3573
3577
|
if (e.autoplay.paused = !0, G) {
|
|
3574
|
-
w && (
|
|
3578
|
+
w && (c = e.params.autoplay.delay), w = !1, Y();
|
|
3575
3579
|
return;
|
|
3576
3580
|
}
|
|
3577
|
-
|
|
3581
|
+
c = (c || e.params.autoplay.delay) - ((/* @__PURE__ */ new Date()).getTime() - h), !(e.isEnd && c < 0 && !e.params.loop) && (c < 0 && (c = 0), Y());
|
|
3578
3582
|
}, S = () => {
|
|
3579
|
-
e.isEnd &&
|
|
3583
|
+
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
3584
|
}, M = () => {
|
|
3581
3585
|
if (e.destroyed || !e.autoplay.running) return;
|
|
3582
3586
|
const B = Ee();
|
|
@@ -3631,7 +3635,7 @@ function Oc(r) {
|
|
|
3631
3635
|
resume: S
|
|
3632
3636
|
});
|
|
3633
3637
|
}
|
|
3634
|
-
function
|
|
3638
|
+
function Id(r) {
|
|
3635
3639
|
const {
|
|
3636
3640
|
effect: e,
|
|
3637
3641
|
swiper: t,
|
|
@@ -3641,7 +3645,7 @@ function Ic(r) {
|
|
|
3641
3645
|
overwriteParams: o,
|
|
3642
3646
|
perspective: l,
|
|
3643
3647
|
recreateShadows: s,
|
|
3644
|
-
getEffectParams:
|
|
3648
|
+
getEffectParams: d
|
|
3645
3649
|
} = r;
|
|
3646
3650
|
n("beforeInit", () => {
|
|
3647
3651
|
if (t.params.effect !== e) return;
|
|
@@ -3654,24 +3658,24 @@ function Ic(r) {
|
|
|
3654
3658
|
t.params.effect === e && a(u);
|
|
3655
3659
|
}), n("transitionEnd", () => {
|
|
3656
3660
|
if (t.params.effect === e && s) {
|
|
3657
|
-
if (!
|
|
3661
|
+
if (!d || !d().slideShadows) return;
|
|
3658
3662
|
t.slides.forEach((h) => {
|
|
3659
3663
|
h.querySelectorAll(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").forEach((u) => u.remove());
|
|
3660
3664
|
}), s();
|
|
3661
3665
|
}
|
|
3662
3666
|
});
|
|
3663
|
-
let
|
|
3667
|
+
let c;
|
|
3664
3668
|
n("virtualUpdate", () => {
|
|
3665
|
-
t.params.effect === e && (t.slides.length || (
|
|
3666
|
-
|
|
3669
|
+
t.params.effect === e && (t.slides.length || (c = !0), requestAnimationFrame(() => {
|
|
3670
|
+
c && t.slides && t.slides.length && (i(), c = !1);
|
|
3667
3671
|
}));
|
|
3668
3672
|
});
|
|
3669
3673
|
}
|
|
3670
|
-
function
|
|
3674
|
+
function Ad(r, e) {
|
|
3671
3675
|
const t = qi(e);
|
|
3672
3676
|
return t !== e && (t.style.backfaceVisibility = "hidden", t.style["-webkit-backface-visibility"] = "hidden"), t;
|
|
3673
3677
|
}
|
|
3674
|
-
function
|
|
3678
|
+
function Nd(r) {
|
|
3675
3679
|
let {
|
|
3676
3680
|
swiper: e,
|
|
3677
3681
|
duration: t,
|
|
@@ -3680,26 +3684,26 @@ function Nc(r) {
|
|
|
3680
3684
|
} = r;
|
|
3681
3685
|
const {
|
|
3682
3686
|
activeIndex: a
|
|
3683
|
-
} = e, o = (l) => l.parentElement ? l.parentElement : e.slides.filter((
|
|
3687
|
+
} = e, o = (l) => l.parentElement ? l.parentElement : e.slides.filter((d) => d.shadowRoot && d.shadowRoot === l.parentNode)[0];
|
|
3684
3688
|
if (e.params.virtualTranslate && t !== 0) {
|
|
3685
3689
|
let l = !1, s;
|
|
3686
|
-
i ? s = n : s = n.filter((
|
|
3687
|
-
const
|
|
3688
|
-
return e.getSlideIndex(
|
|
3689
|
-
}), s.forEach((
|
|
3690
|
-
|
|
3690
|
+
i ? s = n : s = n.filter((d) => {
|
|
3691
|
+
const c = d.classList.contains("swiper-slide-transform") ? o(d) : d;
|
|
3692
|
+
return e.getSlideIndex(c) === a;
|
|
3693
|
+
}), s.forEach((d) => {
|
|
3694
|
+
Ed(d, () => {
|
|
3691
3695
|
if (l || !e || e.destroyed) return;
|
|
3692
3696
|
l = !0, e.animating = !1;
|
|
3693
|
-
const
|
|
3697
|
+
const c = new window.CustomEvent("transitionend", {
|
|
3694
3698
|
bubbles: !0,
|
|
3695
3699
|
cancelable: !0
|
|
3696
3700
|
});
|
|
3697
|
-
e.wrapperEl.dispatchEvent(
|
|
3701
|
+
e.wrapperEl.dispatchEvent(c);
|
|
3698
3702
|
});
|
|
3699
3703
|
});
|
|
3700
3704
|
}
|
|
3701
3705
|
}
|
|
3702
|
-
function
|
|
3706
|
+
function kd(r) {
|
|
3703
3707
|
let {
|
|
3704
3708
|
swiper: e,
|
|
3705
3709
|
extendParams: t,
|
|
@@ -3709,7 +3713,7 @@ function kc(r) {
|
|
|
3709
3713
|
fadeEffect: {
|
|
3710
3714
|
crossFade: !1
|
|
3711
3715
|
}
|
|
3712
|
-
}),
|
|
3716
|
+
}), Id({
|
|
3713
3717
|
effect: "fade",
|
|
3714
3718
|
swiper: e,
|
|
3715
3719
|
on: n,
|
|
@@ -3718,12 +3722,12 @@ function kc(r) {
|
|
|
3718
3722
|
slides: o
|
|
3719
3723
|
} = e, l = e.params.fadeEffect;
|
|
3720
3724
|
for (let s = 0; s < o.length; s += 1) {
|
|
3721
|
-
const
|
|
3722
|
-
let h = -
|
|
3725
|
+
const d = e.slides[s];
|
|
3726
|
+
let h = -d.swiperSlideOffset;
|
|
3723
3727
|
e.params.virtualTranslate || (h -= e.translate);
|
|
3724
3728
|
let u = 0;
|
|
3725
3729
|
e.isHorizontal() || (u = h, h = 0);
|
|
3726
|
-
const m = e.params.fadeEffect.crossFade ? Math.max(1 - Math.abs(
|
|
3730
|
+
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
3731
|
f.style.opacity = m, f.style.transform = `translate3d(${h}px, ${u}px, 0px)`;
|
|
3728
3732
|
}
|
|
3729
3733
|
},
|
|
@@ -3731,7 +3735,7 @@ function kc(r) {
|
|
|
3731
3735
|
const l = e.slides.map((s) => qi(s));
|
|
3732
3736
|
l.forEach((s) => {
|
|
3733
3737
|
s.style.transitionDuration = `${o}ms`;
|
|
3734
|
-
}),
|
|
3738
|
+
}), Nd({
|
|
3735
3739
|
swiper: e,
|
|
3736
3740
|
duration: o,
|
|
3737
3741
|
transformElements: l,
|
|
@@ -3748,7 +3752,7 @@ function kc(r) {
|
|
|
3748
3752
|
});
|
|
3749
3753
|
}
|
|
3750
3754
|
let Kt;
|
|
3751
|
-
function
|
|
3755
|
+
function Ld() {
|
|
3752
3756
|
const r = oe(), e = Ee();
|
|
3753
3757
|
return {
|
|
3754
3758
|
smoothScroll: e.documentElement && e.documentElement.style && "scrollBehavior" in e.documentElement.style,
|
|
@@ -3756,28 +3760,28 @@ function Lc() {
|
|
|
3756
3760
|
};
|
|
3757
3761
|
}
|
|
3758
3762
|
function Qi() {
|
|
3759
|
-
return Kt || (Kt =
|
|
3763
|
+
return Kt || (Kt = Ld()), Kt;
|
|
3760
3764
|
}
|
|
3761
3765
|
let Zt;
|
|
3762
|
-
function
|
|
3766
|
+
function Dd(r) {
|
|
3763
3767
|
let {
|
|
3764
3768
|
userAgent: e
|
|
3765
3769
|
} = r === void 0 ? {} : r;
|
|
3766
3770
|
const t = Qi(), n = oe(), i = n.navigator.platform, a = e || n.navigator.userAgent, o = {
|
|
3767
3771
|
ios: !1,
|
|
3768
3772
|
android: !1
|
|
3769
|
-
}, l = n.screen.width, s = n.screen.height,
|
|
3770
|
-
let
|
|
3771
|
-
const h = a.match(/(iPod)(.*OS\s([\d_]+))?/), u = !
|
|
3773
|
+
}, l = n.screen.width, s = n.screen.height, d = a.match(/(Android);?[\s\/]+([\d.]+)?/);
|
|
3774
|
+
let c = a.match(/(iPad).*OS\s([\d_]+)/);
|
|
3775
|
+
const h = a.match(/(iPod)(.*OS\s([\d_]+))?/), u = !c && a.match(/(iPhone\sOS|iOS)\s([\d_]+)/), m = i === "Win32";
|
|
3772
3776
|
let f = i === "MacIntel";
|
|
3773
3777
|
const p = ["1024x1366", "1366x1024", "834x1194", "1194x834", "834x1112", "1112x834", "768x1024", "1024x768", "820x1180", "1180x820", "810x1080", "1080x810"];
|
|
3774
|
-
return !
|
|
3778
|
+
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
3779
|
}
|
|
3776
3780
|
function Ki(r) {
|
|
3777
|
-
return r === void 0 && (r = {}), Zt || (Zt =
|
|
3781
|
+
return r === void 0 && (r = {}), Zt || (Zt = Dd(r)), Zt;
|
|
3778
3782
|
}
|
|
3779
3783
|
let Jt;
|
|
3780
|
-
function
|
|
3784
|
+
function _d() {
|
|
3781
3785
|
const r = oe(), e = Ki();
|
|
3782
3786
|
let t = !1;
|
|
3783
3787
|
function n() {
|
|
@@ -3787,8 +3791,8 @@ function _c() {
|
|
|
3787
3791
|
if (n()) {
|
|
3788
3792
|
const l = String(r.navigator.userAgent);
|
|
3789
3793
|
if (l.includes("Version/")) {
|
|
3790
|
-
const [s,
|
|
3791
|
-
t = s < 16 || s === 16 &&
|
|
3794
|
+
const [s, d] = l.split("Version/")[1].split(" ")[0].split(".").map((c) => Number(c));
|
|
3795
|
+
t = s < 16 || s === 16 && d < 2;
|
|
3792
3796
|
}
|
|
3793
3797
|
}
|
|
3794
3798
|
const i = /(iPhone|iPod|iPad).*AppleWebKit(?!.*Safari)/i.test(r.navigator.userAgent), a = n(), o = a || i && e.ios;
|
|
@@ -3799,10 +3803,10 @@ function _c() {
|
|
|
3799
3803
|
isWebView: i
|
|
3800
3804
|
};
|
|
3801
3805
|
}
|
|
3802
|
-
function
|
|
3803
|
-
return Jt || (Jt =
|
|
3806
|
+
function Fd() {
|
|
3807
|
+
return Jt || (Jt = _d()), Jt;
|
|
3804
3808
|
}
|
|
3805
|
-
function
|
|
3809
|
+
function Vd(r) {
|
|
3806
3810
|
let {
|
|
3807
3811
|
swiper: e,
|
|
3808
3812
|
on: t,
|
|
@@ -3830,9 +3834,9 @@ function Vc(r) {
|
|
|
3830
3834
|
}), (f !== u || p !== m) && l();
|
|
3831
3835
|
});
|
|
3832
3836
|
}), a.observe(e.el));
|
|
3833
|
-
}, c = () => {
|
|
3834
|
-
o && i.cancelAnimationFrame(o), a && a.unobserve && e.el && (a.unobserve(e.el), a = null);
|
|
3835
3837
|
}, d = () => {
|
|
3838
|
+
o && i.cancelAnimationFrame(o), a && a.unobserve && e.el && (a.unobserve(e.el), a = null);
|
|
3839
|
+
}, c = () => {
|
|
3836
3840
|
!e || e.destroyed || !e.initialized || n("orientationchange");
|
|
3837
3841
|
};
|
|
3838
3842
|
t("init", () => {
|
|
@@ -3840,19 +3844,19 @@ function Vc(r) {
|
|
|
3840
3844
|
s();
|
|
3841
3845
|
return;
|
|
3842
3846
|
}
|
|
3843
|
-
i.addEventListener("resize", l), i.addEventListener("orientationchange",
|
|
3847
|
+
i.addEventListener("resize", l), i.addEventListener("orientationchange", c);
|
|
3844
3848
|
}), t("destroy", () => {
|
|
3845
|
-
|
|
3849
|
+
d(), i.removeEventListener("resize", l), i.removeEventListener("orientationchange", c);
|
|
3846
3850
|
});
|
|
3847
3851
|
}
|
|
3848
|
-
function
|
|
3852
|
+
function zd(r) {
|
|
3849
3853
|
let {
|
|
3850
3854
|
swiper: e,
|
|
3851
3855
|
extendParams: t,
|
|
3852
3856
|
on: n,
|
|
3853
3857
|
emit: i
|
|
3854
3858
|
} = r;
|
|
3855
|
-
const a = [], o = oe(), l = function(
|
|
3859
|
+
const a = [], o = oe(), l = function(c, h) {
|
|
3856
3860
|
h === void 0 && (h = {});
|
|
3857
3861
|
const u = o.MutationObserver || o.WebkitMutationObserver, m = new u((f) => {
|
|
3858
3862
|
if (e.__preventObserver__) return;
|
|
@@ -3865,7 +3869,7 @@ function zc(r) {
|
|
|
3865
3869
|
};
|
|
3866
3870
|
o.requestAnimationFrame ? o.requestAnimationFrame(p) : o.setTimeout(p, 0);
|
|
3867
3871
|
});
|
|
3868
|
-
m.observe(
|
|
3872
|
+
m.observe(c, {
|
|
3869
3873
|
attributes: typeof h.attributes > "u" ? !0 : h.attributes,
|
|
3870
3874
|
childList: e.isElement || (typeof h.childList > "u" ? !0 : h).childList,
|
|
3871
3875
|
characterData: typeof h.characterData > "u" ? !0 : h.characterData
|
|
@@ -3873,9 +3877,9 @@ function zc(r) {
|
|
|
3873
3877
|
}, s = () => {
|
|
3874
3878
|
if (e.params.observer) {
|
|
3875
3879
|
if (e.params.observeParents) {
|
|
3876
|
-
const
|
|
3877
|
-
for (let h = 0; h <
|
|
3878
|
-
l(
|
|
3880
|
+
const c = Ui(e.hostEl);
|
|
3881
|
+
for (let h = 0; h < c.length; h += 1)
|
|
3882
|
+
l(c[h]);
|
|
3879
3883
|
}
|
|
3880
3884
|
l(e.hostEl, {
|
|
3881
3885
|
childList: e.params.observeSlideChildren
|
|
@@ -3883,18 +3887,18 @@ function zc(r) {
|
|
|
3883
3887
|
attributes: !1
|
|
3884
3888
|
});
|
|
3885
3889
|
}
|
|
3886
|
-
},
|
|
3887
|
-
a.forEach((
|
|
3888
|
-
|
|
3890
|
+
}, d = () => {
|
|
3891
|
+
a.forEach((c) => {
|
|
3892
|
+
c.disconnect();
|
|
3889
3893
|
}), a.splice(0, a.length);
|
|
3890
3894
|
};
|
|
3891
3895
|
t({
|
|
3892
3896
|
observer: !1,
|
|
3893
3897
|
observeParents: !1,
|
|
3894
3898
|
observeSlideChildren: !1
|
|
3895
|
-
}), n("init", s), n("destroy",
|
|
3899
|
+
}), n("init", s), n("destroy", d);
|
|
3896
3900
|
}
|
|
3897
|
-
var
|
|
3901
|
+
var Rd = {
|
|
3898
3902
|
on(r, e, t) {
|
|
3899
3903
|
const n = this;
|
|
3900
3904
|
if (!n.eventsListeners || n.destroyed || typeof e != "function") return n;
|
|
@@ -3941,15 +3945,15 @@ var Rc = {
|
|
|
3941
3945
|
for (var i = arguments.length, a = new Array(i), o = 0; o < i; o++)
|
|
3942
3946
|
a[o] = arguments[o];
|
|
3943
3947
|
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
|
-
|
|
3948
|
+
r.eventsAnyListeners && r.eventsAnyListeners.length && r.eventsAnyListeners.forEach((d) => {
|
|
3949
|
+
d.apply(n, [s, ...t]);
|
|
3950
|
+
}), r.eventsListeners && r.eventsListeners[s] && r.eventsListeners[s].forEach((d) => {
|
|
3951
|
+
d.apply(n, t);
|
|
3948
3952
|
});
|
|
3949
3953
|
}), r;
|
|
3950
3954
|
}
|
|
3951
3955
|
};
|
|
3952
|
-
function
|
|
3956
|
+
function Bd() {
|
|
3953
3957
|
const r = this;
|
|
3954
3958
|
let e, t;
|
|
3955
3959
|
const n = r.el;
|
|
@@ -3959,7 +3963,7 @@ function Bc() {
|
|
|
3959
3963
|
size: r.isHorizontal() ? e : t
|
|
3960
3964
|
}));
|
|
3961
3965
|
}
|
|
3962
|
-
function
|
|
3966
|
+
function Wd() {
|
|
3963
3967
|
const r = this;
|
|
3964
3968
|
function e(S, M) {
|
|
3965
3969
|
return parseFloat(S.getPropertyValue(r.getDirectionLabel(M)) || 0);
|
|
@@ -3970,7 +3974,7 @@ function Wc() {
|
|
|
3970
3974
|
size: a,
|
|
3971
3975
|
rtlTranslate: o,
|
|
3972
3976
|
wrongRTL: l
|
|
3973
|
-
} = r, s = r.virtual && t.virtual.enabled,
|
|
3977
|
+
} = 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
3978
|
let u = [];
|
|
3975
3979
|
const m = [], f = [];
|
|
3976
3980
|
let p = t.slidesOffsetBefore;
|
|
@@ -3981,22 +3985,22 @@ function Wc() {
|
|
|
3981
3985
|
let v = t.spaceBetween, x = -p, T = 0, E = 0;
|
|
3982
3986
|
if (typeof a > "u")
|
|
3983
3987
|
return;
|
|
3984
|
-
typeof v == "string" && v.indexOf("%") >= 0 ? v = parseFloat(v.replace("%", "")) / 100 * a : typeof v == "string" && (v = parseFloat(v)), r.virtualSize = -v,
|
|
3988
|
+
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
3989
|
o ? S.style.marginLeft = "" : S.style.marginRight = "", S.style.marginBottom = "", S.style.marginTop = "";
|
|
3986
3990
|
}), t.centeredSlides && t.cssMode && (bt(n, "--swiper-centered-offset-before", ""), bt(n, "--swiper-centered-offset-after", ""));
|
|
3987
3991
|
const F = t.grid && t.grid.rows > 1 && r.grid;
|
|
3988
|
-
F ? r.grid.initSlides(
|
|
3992
|
+
F ? r.grid.initSlides(c) : r.grid && r.grid.unsetSlides();
|
|
3989
3993
|
let A;
|
|
3990
3994
|
const C = t.slidesPerView === "auto" && t.breakpoints && Object.keys(t.breakpoints).filter((S) => typeof t.breakpoints[S].slidesPerView < "u").length > 0;
|
|
3991
3995
|
for (let S = 0; S < h; S += 1) {
|
|
3992
3996
|
A = 0;
|
|
3993
3997
|
let M;
|
|
3994
|
-
if (
|
|
3998
|
+
if (c[S] && (M = c[S]), F && r.grid.updateSlide(S, M, c), !(c[S] && Ae(M, "display") === "none")) {
|
|
3995
3999
|
if (t.slidesPerView === "auto") {
|
|
3996
|
-
C && (
|
|
4000
|
+
C && (c[S].style[r.getDirectionLabel("width")] = "");
|
|
3997
4001
|
const N = getComputedStyle(M), P = M.style.transform, k = M.style.webkitTransform;
|
|
3998
4002
|
if (P && (M.style.transform = "none"), k && (M.style.webkitTransform = "none"), t.roundLengths)
|
|
3999
|
-
A = r.isHorizontal() ?
|
|
4003
|
+
A = r.isHorizontal() ? cr(M, "width") : cr(M, "height");
|
|
4000
4004
|
else {
|
|
4001
4005
|
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
4006
|
if (Y && Y === "border-box")
|
|
@@ -4011,8 +4015,8 @@ function Wc() {
|
|
|
4011
4015
|
}
|
|
4012
4016
|
P && (M.style.transform = P), k && (M.style.webkitTransform = k), t.roundLengths && (A = Math.floor(A));
|
|
4013
4017
|
} else
|
|
4014
|
-
A = (a - (t.slidesPerView - 1) * v) / t.slidesPerView, t.roundLengths && (A = Math.floor(A)),
|
|
4015
|
-
|
|
4018
|
+
A = (a - (t.slidesPerView - 1) * v) / t.slidesPerView, t.roundLengths && (A = Math.floor(A)), c[S] && (c[S].style[r.getDirectionLabel("width")] = `${A}px`);
|
|
4019
|
+
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
4020
|
}
|
|
4017
4021
|
}
|
|
4018
4022
|
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 +4039,7 @@ function Wc() {
|
|
|
4035
4039
|
}
|
|
4036
4040
|
if (u.length === 0 && (u = [0]), v !== 0) {
|
|
4037
4041
|
const S = r.isHorizontal() && o ? "marginLeft" : r.getDirectionLabel("marginRight");
|
|
4038
|
-
|
|
4042
|
+
c.filter((M, N) => !t.cssMode || t.loop ? !0 : N !== c.length - 1).forEach((M) => {
|
|
4039
4043
|
M.style[S] = `${v}px`;
|
|
4040
4044
|
});
|
|
4041
4045
|
}
|
|
@@ -4063,7 +4067,7 @@ function Wc() {
|
|
|
4063
4067
|
}
|
|
4064
4068
|
}
|
|
4065
4069
|
if (Object.assign(r, {
|
|
4066
|
-
slides:
|
|
4070
|
+
slides: c,
|
|
4067
4071
|
snapGrid: u,
|
|
4068
4072
|
slidesGrid: m,
|
|
4069
4073
|
slidesSizesGrid: f
|
|
@@ -4072,12 +4076,12 @@ function Wc() {
|
|
|
4072
4076
|
const S = -r.snapGrid[0], M = -r.slidesGrid[0];
|
|
4073
4077
|
r.snapGrid = r.snapGrid.map((N) => N + S), r.slidesGrid = r.slidesGrid.map((N) => N + M);
|
|
4074
4078
|
}
|
|
4075
|
-
if (h !==
|
|
4079
|
+
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
4080
|
const S = `${t.containerModifierClass}backface-hidden`, M = r.el.classList.contains(S);
|
|
4077
4081
|
h <= t.maxBackfaceHiddenSlides ? M || r.el.classList.add(S) : M && r.el.classList.remove(S);
|
|
4078
4082
|
}
|
|
4079
4083
|
}
|
|
4080
|
-
function
|
|
4084
|
+
function Gd(r) {
|
|
4081
4085
|
const e = this, t = [], n = e.virtual && e.params.virtual.enabled;
|
|
4082
4086
|
let i = 0, a;
|
|
4083
4087
|
typeof r == "number" ? e.setTransition(r) : r === !0 && e.setTransition(e.params.speed);
|
|
@@ -4102,7 +4106,7 @@ function Gc(r) {
|
|
|
4102
4106
|
}
|
|
4103
4107
|
(i || i === 0) && (e.wrapperEl.style.height = `${i}px`);
|
|
4104
4108
|
}
|
|
4105
|
-
function $
|
|
4109
|
+
function $d() {
|
|
4106
4110
|
const r = this, e = r.slides, t = r.isElement ? r.isHorizontal() ? r.wrapperEl.offsetLeft : r.wrapperEl.offsetTop : 0;
|
|
4107
4111
|
for (let n = 0; n < e.length; n += 1)
|
|
4108
4112
|
e[n].swiperSlideOffset = (r.isHorizontal() ? e[n].offsetLeft : e[n].offsetTop) - t - r.cssOverflowAdjustment();
|
|
@@ -4110,7 +4114,7 @@ function $c() {
|
|
|
4110
4114
|
const nn = (r, e, t) => {
|
|
4111
4115
|
e && !r.classList.contains(t) ? r.classList.add(t) : !e && r.classList.contains(t) && r.classList.remove(t);
|
|
4112
4116
|
};
|
|
4113
|
-
function
|
|
4117
|
+
function jd(r) {
|
|
4114
4118
|
r === void 0 && (r = this && this.translate || 0);
|
|
4115
4119
|
const e = this, t = e.params, {
|
|
4116
4120
|
slides: n,
|
|
@@ -4124,18 +4128,18 @@ function jc(r) {
|
|
|
4124
4128
|
let l = t.spaceBetween;
|
|
4125
4129
|
typeof l == "string" && l.indexOf("%") >= 0 ? l = parseFloat(l.replace("%", "")) / 100 * e.size : typeof l == "string" && (l = parseFloat(l));
|
|
4126
4130
|
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(
|
|
4131
|
+
const d = n[s];
|
|
4132
|
+
let c = d.swiperSlideOffset;
|
|
4133
|
+
t.cssMode && t.centeredSlides && (c -= n[0].swiperSlideOffset);
|
|
4134
|
+
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;
|
|
4135
|
+
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
4136
|
}
|
|
4133
4137
|
}
|
|
4134
|
-
function
|
|
4138
|
+
function Hd(r) {
|
|
4135
4139
|
const e = this;
|
|
4136
4140
|
if (typeof r > "u") {
|
|
4137
|
-
const
|
|
4138
|
-
r = e && e.translate && e.translate *
|
|
4141
|
+
const c = e.rtlTranslate ? -1 : 1;
|
|
4142
|
+
r = e && e.translate && e.translate * c || 0;
|
|
4139
4143
|
}
|
|
4140
4144
|
const t = e.params, n = e.maxTranslate() - e.minTranslate();
|
|
4141
4145
|
let {
|
|
@@ -4144,16 +4148,16 @@ function Hc(r) {
|
|
|
4144
4148
|
isEnd: o,
|
|
4145
4149
|
progressLoop: l
|
|
4146
4150
|
} = e;
|
|
4147
|
-
const s = a,
|
|
4151
|
+
const s = a, d = o;
|
|
4148
4152
|
if (n === 0)
|
|
4149
4153
|
i = 0, a = !0, o = !0;
|
|
4150
4154
|
else {
|
|
4151
4155
|
i = (r - e.minTranslate()) / n;
|
|
4152
|
-
const
|
|
4153
|
-
a =
|
|
4156
|
+
const c = Math.abs(r - e.minTranslate()) < 1, h = Math.abs(r - e.maxTranslate()) < 1;
|
|
4157
|
+
a = c || i <= 0, o = h || i >= 1, c && (i = 0), h && (i = 1);
|
|
4154
4158
|
}
|
|
4155
4159
|
if (t.loop) {
|
|
4156
|
-
const
|
|
4160
|
+
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
4161
|
p >= u ? l = (p - u) / f : l = (p + f - m) / f, l > 1 && (l -= 1);
|
|
4158
4162
|
}
|
|
4159
4163
|
Object.assign(e, {
|
|
@@ -4161,19 +4165,19 @@ function Hc(r) {
|
|
|
4161
4165
|
progressLoop: l,
|
|
4162
4166
|
isBeginning: a,
|
|
4163
4167
|
isEnd: o
|
|
4164
|
-
}), (t.watchSlidesProgress || t.centeredSlides && t.autoHeight) && e.updateSlidesProgress(r), a && !s && e.emit("reachBeginning toEdge"), o && !
|
|
4168
|
+
}), (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
4169
|
}
|
|
4166
4170
|
const er = (r, e, t) => {
|
|
4167
4171
|
e && !r.classList.contains(t) ? r.classList.add(t) : !e && r.classList.contains(t) && r.classList.remove(t);
|
|
4168
4172
|
};
|
|
4169
|
-
function
|
|
4173
|
+
function Yd() {
|
|
4170
4174
|
const r = this, {
|
|
4171
4175
|
slides: e,
|
|
4172
4176
|
params: t,
|
|
4173
4177
|
slidesEl: n,
|
|
4174
4178
|
activeIndex: i
|
|
4175
4179
|
} = 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,
|
|
4180
|
+
let s, d, c;
|
|
4177
4181
|
if (a)
|
|
4178
4182
|
if (t.loop) {
|
|
4179
4183
|
let h = i - r.virtual.slidesBefore;
|
|
@@ -4181,9 +4185,9 @@ function Yc() {
|
|
|
4181
4185
|
} else
|
|
4182
4186
|
s = l(`[data-swiper-slide-index="${i}"]`);
|
|
4183
4187
|
else
|
|
4184
|
-
o ? (s = e.filter((h) => h.column === i)[0],
|
|
4185
|
-
s && (o || (
|
|
4186
|
-
er(h, h === s, t.slideActiveClass), er(h, h ===
|
|
4188
|
+
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];
|
|
4189
|
+
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) => {
|
|
4190
|
+
er(h, h === s, t.slideActiveClass), er(h, h === c, t.slideNextClass), er(h, h === d, t.slidePrevClass);
|
|
4187
4191
|
}), r.emitSlidesClasses();
|
|
4188
4192
|
}
|
|
4189
4193
|
const xt = (r, e) => {
|
|
@@ -4210,8 +4214,8 @@ const xt = (r, e) => {
|
|
|
4210
4214
|
const o = i, l = [o - e];
|
|
4211
4215
|
l.push(...Array.from({
|
|
4212
4216
|
length: e
|
|
4213
|
-
}).map((s,
|
|
4214
|
-
l.includes(s.column) && tr(r,
|
|
4217
|
+
}).map((s, d) => o + n + d)), r.slides.forEach((s, d) => {
|
|
4218
|
+
l.includes(s.column) && tr(r, d);
|
|
4215
4219
|
});
|
|
4216
4220
|
return;
|
|
4217
4221
|
}
|
|
@@ -4225,7 +4229,7 @@ const xt = (r, e) => {
|
|
|
4225
4229
|
for (let o = Math.max(i - e, 0); o <= Math.min(a + e, t - 1); o += 1)
|
|
4226
4230
|
o !== i && (o > a || o < i) && tr(r, o);
|
|
4227
4231
|
};
|
|
4228
|
-
function
|
|
4232
|
+
function qd(r) {
|
|
4229
4233
|
const {
|
|
4230
4234
|
slidesGrid: e,
|
|
4231
4235
|
params: t
|
|
@@ -4235,7 +4239,7 @@ function qc(r) {
|
|
|
4235
4239
|
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
4240
|
return t.normalizeSlideIndex && (i < 0 || typeof i > "u") && (i = 0), i;
|
|
4237
4241
|
}
|
|
4238
|
-
function
|
|
4242
|
+
function Ud(r) {
|
|
4239
4243
|
const e = this, t = e.rtlTranslate ? e.translate : -e.translate, {
|
|
4240
4244
|
snapGrid: n,
|
|
4241
4245
|
params: i,
|
|
@@ -4243,29 +4247,29 @@ function Uc(r) {
|
|
|
4243
4247
|
realIndex: o,
|
|
4244
4248
|
snapIndex: l
|
|
4245
4249
|
} = e;
|
|
4246
|
-
let s = r,
|
|
4247
|
-
const
|
|
4250
|
+
let s = r, d;
|
|
4251
|
+
const c = (m) => {
|
|
4248
4252
|
let f = m - e.virtual.slidesBefore;
|
|
4249
4253
|
return f < 0 && (f = e.virtual.slides.length + f), f >= e.virtual.slides.length && (f -= e.virtual.slides.length), f;
|
|
4250
4254
|
};
|
|
4251
|
-
if (typeof s > "u" && (s =
|
|
4252
|
-
|
|
4255
|
+
if (typeof s > "u" && (s = qd(e)), n.indexOf(t) >= 0)
|
|
4256
|
+
d = n.indexOf(t);
|
|
4253
4257
|
else {
|
|
4254
4258
|
const m = Math.min(i.slidesPerGroupSkip, s);
|
|
4255
|
-
|
|
4259
|
+
d = m + Math.floor((s - m) / i.slidesPerGroup);
|
|
4256
4260
|
}
|
|
4257
|
-
if (
|
|
4258
|
-
|
|
4261
|
+
if (d >= n.length && (d = n.length - 1), s === a && !e.params.loop) {
|
|
4262
|
+
d !== l && (e.snapIndex = d, e.emit("snapIndexChange"));
|
|
4259
4263
|
return;
|
|
4260
4264
|
}
|
|
4261
4265
|
if (s === a && e.params.loop && e.virtual && e.params.virtual.enabled) {
|
|
4262
|
-
e.realIndex =
|
|
4266
|
+
e.realIndex = c(s);
|
|
4263
4267
|
return;
|
|
4264
4268
|
}
|
|
4265
4269
|
const h = e.grid && i.grid && i.grid.rows > 1;
|
|
4266
4270
|
let u;
|
|
4267
4271
|
if (e.virtual && i.virtual.enabled && i.loop)
|
|
4268
|
-
u =
|
|
4272
|
+
u = c(s);
|
|
4269
4273
|
else if (h) {
|
|
4270
4274
|
const m = e.slides.filter((p) => p.column === s)[0];
|
|
4271
4275
|
let f = parseInt(m.getAttribute("data-swiper-slide-index"), 10);
|
|
@@ -4277,14 +4281,14 @@ function Uc(r) {
|
|
|
4277
4281
|
u = s;
|
|
4278
4282
|
Object.assign(e, {
|
|
4279
4283
|
previousSnapIndex: l,
|
|
4280
|
-
snapIndex:
|
|
4284
|
+
snapIndex: d,
|
|
4281
4285
|
previousRealIndex: o,
|
|
4282
4286
|
realIndex: u,
|
|
4283
4287
|
previousIndex: a,
|
|
4284
4288
|
activeIndex: s
|
|
4285
4289
|
}), e.initialized && ur(e), e.emit("activeIndexChange"), e.emit("snapIndexChange"), (e.initialized || e.params.runCallbacksOnInit) && (o !== u && e.emit("realIndexChange"), e.emit("slideChange"));
|
|
4286
4290
|
}
|
|
4287
|
-
function
|
|
4291
|
+
function Xd(r, e) {
|
|
4288
4292
|
const t = this, n = t.params;
|
|
4289
4293
|
let i = r.closest(`.${n.slideClass}, swiper-slide`);
|
|
4290
4294
|
!i && t.isElement && e && e.length > 1 && e.includes(r) && [...e.slice(e.indexOf(r) + 1, e.length)].forEach((l) => {
|
|
@@ -4306,18 +4310,18 @@ function Xc(r, e) {
|
|
|
4306
4310
|
}
|
|
4307
4311
|
n.slideToClickedSlide && t.clickedIndex !== void 0 && t.clickedIndex !== t.activeIndex && t.slideToClickedSlide();
|
|
4308
4312
|
}
|
|
4309
|
-
var
|
|
4310
|
-
updateSize:
|
|
4311
|
-
updateSlides:
|
|
4312
|
-
updateAutoHeight:
|
|
4313
|
-
updateSlidesOffset: $
|
|
4314
|
-
updateSlidesProgress:
|
|
4315
|
-
updateProgress:
|
|
4316
|
-
updateSlidesClasses:
|
|
4317
|
-
updateActiveIndex:
|
|
4318
|
-
updateClickedSlide:
|
|
4313
|
+
var Qd = {
|
|
4314
|
+
updateSize: Bd,
|
|
4315
|
+
updateSlides: Wd,
|
|
4316
|
+
updateAutoHeight: Gd,
|
|
4317
|
+
updateSlidesOffset: $d,
|
|
4318
|
+
updateSlidesProgress: jd,
|
|
4319
|
+
updateProgress: Hd,
|
|
4320
|
+
updateSlidesClasses: Yd,
|
|
4321
|
+
updateActiveIndex: Ud,
|
|
4322
|
+
updateClickedSlide: Xd
|
|
4319
4323
|
};
|
|
4320
|
-
function
|
|
4324
|
+
function Kd(r) {
|
|
4321
4325
|
r === void 0 && (r = this.isHorizontal() ? "x" : "y");
|
|
4322
4326
|
const e = this, {
|
|
4323
4327
|
params: t,
|
|
@@ -4329,10 +4333,10 @@ function Kc(r) {
|
|
|
4329
4333
|
return n ? -i : i;
|
|
4330
4334
|
if (t.cssMode)
|
|
4331
4335
|
return i;
|
|
4332
|
-
let o =
|
|
4336
|
+
let o = yd(a, r);
|
|
4333
4337
|
return o += e.cssOverflowAdjustment(), n && (o = -o), o || 0;
|
|
4334
4338
|
}
|
|
4335
|
-
function
|
|
4339
|
+
function Zd(r, e) {
|
|
4336
4340
|
const t = this, {
|
|
4337
4341
|
rtlTranslate: n,
|
|
4338
4342
|
params: i,
|
|
@@ -4340,19 +4344,19 @@ function Zc(r, e) {
|
|
|
4340
4344
|
progress: o
|
|
4341
4345
|
} = t;
|
|
4342
4346
|
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
|
|
4347
|
+
const d = 0;
|
|
4348
|
+
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)`);
|
|
4349
|
+
let c;
|
|
4346
4350
|
const h = t.maxTranslate() - t.minTranslate();
|
|
4347
|
-
h === 0 ?
|
|
4351
|
+
h === 0 ? c = 0 : c = (r - t.minTranslate()) / h, c !== o && t.updateProgress(r), t.emit("setTranslate", t.translate, e);
|
|
4348
4352
|
}
|
|
4349
|
-
function
|
|
4353
|
+
function Jd() {
|
|
4350
4354
|
return -this.snapGrid[0];
|
|
4351
4355
|
}
|
|
4352
|
-
function
|
|
4356
|
+
function ec() {
|
|
4353
4357
|
return -this.snapGrid[this.snapGrid.length - 1];
|
|
4354
4358
|
}
|
|
4355
|
-
function
|
|
4359
|
+
function tc(r, e, t, n, i) {
|
|
4356
4360
|
r === void 0 && (r = 0), e === void 0 && (e = this.params.speed), t === void 0 && (t = !0), n === void 0 && (n = !0);
|
|
4357
4361
|
const a = this, {
|
|
4358
4362
|
params: o,
|
|
@@ -4360,38 +4364,38 @@ function td(r, e, t, n, i) {
|
|
|
4360
4364
|
} = a;
|
|
4361
4365
|
if (a.animating && o.preventInteractionOnTransition)
|
|
4362
4366
|
return !1;
|
|
4363
|
-
const s = a.minTranslate(),
|
|
4364
|
-
let
|
|
4365
|
-
if (n && r > s ?
|
|
4367
|
+
const s = a.minTranslate(), d = a.maxTranslate();
|
|
4368
|
+
let c;
|
|
4369
|
+
if (n && r > s ? c = s : n && r < d ? c = d : c = r, a.updateProgress(c), o.cssMode) {
|
|
4366
4370
|
const h = a.isHorizontal();
|
|
4367
4371
|
if (e === 0)
|
|
4368
|
-
l[h ? "scrollLeft" : "scrollTop"] = -
|
|
4372
|
+
l[h ? "scrollLeft" : "scrollTop"] = -c;
|
|
4369
4373
|
else {
|
|
4370
4374
|
if (!a.support.smoothScroll)
|
|
4371
4375
|
return Yi({
|
|
4372
4376
|
swiper: a,
|
|
4373
|
-
targetPosition: -
|
|
4377
|
+
targetPosition: -c,
|
|
4374
4378
|
side: h ? "left" : "top"
|
|
4375
4379
|
}), !0;
|
|
4376
4380
|
l.scrollTo({
|
|
4377
|
-
[h ? "left" : "top"]: -
|
|
4381
|
+
[h ? "left" : "top"]: -c,
|
|
4378
4382
|
behavior: "smooth"
|
|
4379
4383
|
});
|
|
4380
4384
|
}
|
|
4381
4385
|
return !0;
|
|
4382
4386
|
}
|
|
4383
|
-
return e === 0 ? (a.setTransition(0), a.setTranslate(
|
|
4387
|
+
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
4388
|
!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
4389
|
}), a.wrapperEl.addEventListener("transitionend", a.onTranslateToWrapperTransitionEnd))), !0;
|
|
4386
4390
|
}
|
|
4387
|
-
var
|
|
4388
|
-
getTranslate:
|
|
4389
|
-
setTranslate:
|
|
4390
|
-
minTranslate:
|
|
4391
|
-
maxTranslate:
|
|
4392
|
-
translateTo:
|
|
4391
|
+
var rc = {
|
|
4392
|
+
getTranslate: Kd,
|
|
4393
|
+
setTranslate: Zd,
|
|
4394
|
+
minTranslate: Jd,
|
|
4395
|
+
maxTranslate: ec,
|
|
4396
|
+
translateTo: tc
|
|
4393
4397
|
};
|
|
4394
|
-
function
|
|
4398
|
+
function nc(r, e) {
|
|
4395
4399
|
const t = this;
|
|
4396
4400
|
t.params.cssMode || (t.wrapperEl.style.transitionDuration = `${r}ms`, t.wrapperEl.style.transitionDelay = r === 0 ? "0ms" : ""), t.emit("setTransition", r, e);
|
|
4397
4401
|
}
|
|
@@ -4415,7 +4419,7 @@ function Zi(r) {
|
|
|
4415
4419
|
e.emit(`slideChangeTransition${i}`), l === "next" ? e.emit(`slideNextTransition${i}`) : e.emit(`slidePrevTransition${i}`);
|
|
4416
4420
|
}
|
|
4417
4421
|
}
|
|
4418
|
-
function
|
|
4422
|
+
function ic(r, e) {
|
|
4419
4423
|
r === void 0 && (r = !0);
|
|
4420
4424
|
const t = this, {
|
|
4421
4425
|
params: n
|
|
@@ -4427,7 +4431,7 @@ function id(r, e) {
|
|
|
4427
4431
|
step: "Start"
|
|
4428
4432
|
}));
|
|
4429
4433
|
}
|
|
4430
|
-
function
|
|
4434
|
+
function ac(r, e) {
|
|
4431
4435
|
r === void 0 && (r = !0);
|
|
4432
4436
|
const t = this, {
|
|
4433
4437
|
params: n
|
|
@@ -4439,12 +4443,12 @@ function ad(r, e) {
|
|
|
4439
4443
|
step: "End"
|
|
4440
4444
|
}));
|
|
4441
4445
|
}
|
|
4442
|
-
var
|
|
4443
|
-
setTransition:
|
|
4444
|
-
transitionStart:
|
|
4445
|
-
transitionEnd:
|
|
4446
|
+
var sc = {
|
|
4447
|
+
setTransition: nc,
|
|
4448
|
+
transitionStart: ic,
|
|
4449
|
+
transitionEnd: ac
|
|
4446
4450
|
};
|
|
4447
|
-
function
|
|
4451
|
+
function oc(r, e, t, n, i) {
|
|
4448
4452
|
r === void 0 && (r = 0), t === void 0 && (t = !0), typeof r == "string" && (r = parseInt(r, 10));
|
|
4449
4453
|
const a = this;
|
|
4450
4454
|
let o = r;
|
|
@@ -4452,8 +4456,8 @@ function od(r, e, t, n, i) {
|
|
|
4452
4456
|
const {
|
|
4453
4457
|
params: l,
|
|
4454
4458
|
snapGrid: s,
|
|
4455
|
-
slidesGrid:
|
|
4456
|
-
previousIndex:
|
|
4459
|
+
slidesGrid: d,
|
|
4460
|
+
previousIndex: c,
|
|
4457
4461
|
activeIndex: h,
|
|
4458
4462
|
rtlTranslate: u,
|
|
4459
4463
|
wrapperEl: m,
|
|
@@ -4467,13 +4471,13 @@ function od(r, e, t, n, i) {
|
|
|
4467
4471
|
w >= s.length && (w = s.length - 1);
|
|
4468
4472
|
const y = -s[w];
|
|
4469
4473
|
if (l.normalizeSlideIndex)
|
|
4470
|
-
for (let T = 0; T <
|
|
4471
|
-
const E = -Math.floor(y * 100), F = Math.floor(
|
|
4472
|
-
typeof
|
|
4474
|
+
for (let T = 0; T < d.length; T += 1) {
|
|
4475
|
+
const E = -Math.floor(y * 100), F = Math.floor(d[T] * 100), A = Math.floor(d[T + 1] * 100);
|
|
4476
|
+
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
4477
|
}
|
|
4474
4478
|
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
4479
|
return !1;
|
|
4476
|
-
o !== (
|
|
4480
|
+
o !== (c || 0) && t && a.emit("beforeSlideChangeStart"), a.updateProgress(y);
|
|
4477
4481
|
let g;
|
|
4478
4482
|
o > h ? g = "next" : o < h ? g = "prev" : g = "reset";
|
|
4479
4483
|
const v = a.virtual && a.params.virtual.enabled;
|
|
@@ -4505,7 +4509,7 @@ function od(r, e, t, n, i) {
|
|
|
4505
4509
|
!a || a.destroyed || E.target === this && (a.wrapperEl.removeEventListener("transitionend", a.onSlideToWrapperTransitionEnd), a.onSlideToWrapperTransitionEnd = null, delete a.onSlideToWrapperTransitionEnd, a.transitionEnd(t, g));
|
|
4506
4510
|
}), a.wrapperEl.addEventListener("transitionend", a.onSlideToWrapperTransitionEnd)), !0;
|
|
4507
4511
|
}
|
|
4508
|
-
function
|
|
4512
|
+
function lc(r, e, t, n) {
|
|
4509
4513
|
r === void 0 && (r = 0), t === void 0 && (t = !0), typeof r == "string" && (r = parseInt(r, 10));
|
|
4510
4514
|
const i = this;
|
|
4511
4515
|
if (i.destroyed) return;
|
|
@@ -4523,13 +4527,13 @@ function ld(r, e, t, n) {
|
|
|
4523
4527
|
} else
|
|
4524
4528
|
l = i.getSlideIndexByData(o);
|
|
4525
4529
|
const s = a ? Math.ceil(i.slides.length / i.params.grid.rows) : i.slides.length, {
|
|
4526
|
-
centeredSlides:
|
|
4530
|
+
centeredSlides: d
|
|
4527
4531
|
} = i.params;
|
|
4528
|
-
let
|
|
4529
|
-
|
|
4530
|
-
let h = s - l <
|
|
4531
|
-
if (
|
|
4532
|
-
const u =
|
|
4532
|
+
let c = i.params.slidesPerView;
|
|
4533
|
+
c === "auto" ? c = i.slidesPerViewDynamic() : (c = Math.ceil(parseFloat(i.params.slidesPerView, 10)), d && c % 2 === 0 && (c = c + 1));
|
|
4534
|
+
let h = s - l < c;
|
|
4535
|
+
if (d && (h = h || l < Math.ceil(c / 2)), n && d && i.params.slidesPerView !== "auto" && !a && (h = !1), h) {
|
|
4536
|
+
const u = d ? l < i.activeIndex ? "prev" : "next" : l - i.activeIndex - 1 < i.params.slidesPerView ? "next" : "prev";
|
|
4533
4537
|
i.loopFix({
|
|
4534
4538
|
direction: u,
|
|
4535
4539
|
slideTo: !0,
|
|
@@ -4547,7 +4551,7 @@ function ld(r, e, t, n) {
|
|
|
4547
4551
|
i.slideTo(o, e, t, n);
|
|
4548
4552
|
}), i;
|
|
4549
4553
|
}
|
|
4550
|
-
function
|
|
4554
|
+
function dc(r, e, t) {
|
|
4551
4555
|
e === void 0 && (e = !0);
|
|
4552
4556
|
const n = this, {
|
|
4553
4557
|
enabled: i,
|
|
@@ -4558,9 +4562,9 @@ function cd(r, e, t) {
|
|
|
4558
4562
|
typeof r > "u" && (r = n.params.speed);
|
|
4559
4563
|
let l = a.slidesPerGroup;
|
|
4560
4564
|
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,
|
|
4565
|
+
const s = n.activeIndex < a.slidesPerGroupSkip ? 1 : l, d = n.virtual && a.virtual.enabled;
|
|
4562
4566
|
if (a.loop) {
|
|
4563
|
-
if (o && !
|
|
4567
|
+
if (o && !d && a.loopPreventsSliding) return !1;
|
|
4564
4568
|
if (n.loopFix({
|
|
4565
4569
|
direction: "next"
|
|
4566
4570
|
}), n._clientLeft = n.wrapperEl.clientLeft, n.activeIndex === n.slides.length - 1 && a.cssMode)
|
|
@@ -4570,7 +4574,7 @@ function cd(r, e, t) {
|
|
|
4570
4574
|
}
|
|
4571
4575
|
return a.rewind && n.isEnd ? n.slideTo(0, r, e, t) : n.slideTo(n.activeIndex + s, r, e, t);
|
|
4572
4576
|
}
|
|
4573
|
-
function
|
|
4577
|
+
function cc(r, e, t) {
|
|
4574
4578
|
e === void 0 && (e = !0);
|
|
4575
4579
|
const n = this, {
|
|
4576
4580
|
params: i,
|
|
@@ -4578,13 +4582,13 @@ function dd(r, e, t) {
|
|
|
4578
4582
|
slidesGrid: o,
|
|
4579
4583
|
rtlTranslate: l,
|
|
4580
4584
|
enabled: s,
|
|
4581
|
-
animating:
|
|
4585
|
+
animating: d
|
|
4582
4586
|
} = n;
|
|
4583
4587
|
if (!s || n.destroyed) return n;
|
|
4584
4588
|
typeof r > "u" && (r = n.params.speed);
|
|
4585
|
-
const
|
|
4589
|
+
const c = n.virtual && i.virtual.enabled;
|
|
4586
4590
|
if (i.loop) {
|
|
4587
|
-
if (
|
|
4591
|
+
if (d && !c && i.loopPreventsSliding) return !1;
|
|
4588
4592
|
n.loopFix({
|
|
4589
4593
|
direction: "prev"
|
|
4590
4594
|
}), n._clientLeft = n.wrapperEl.clientLeft;
|
|
@@ -4611,13 +4615,13 @@ function dd(r, e, t) {
|
|
|
4611
4615
|
}), !0;
|
|
4612
4616
|
return n.slideTo(w, r, e, t);
|
|
4613
4617
|
}
|
|
4614
|
-
function
|
|
4618
|
+
function uc(r, e, t) {
|
|
4615
4619
|
e === void 0 && (e = !0);
|
|
4616
4620
|
const n = this;
|
|
4617
4621
|
if (!n.destroyed)
|
|
4618
4622
|
return typeof r > "u" && (r = n.params.speed), n.slideTo(n.activeIndex, r, e, t);
|
|
4619
4623
|
}
|
|
4620
|
-
function
|
|
4624
|
+
function fc(r, e, t, n) {
|
|
4621
4625
|
e === void 0 && (e = !0), n === void 0 && (n = 0.5);
|
|
4622
4626
|
const i = this;
|
|
4623
4627
|
if (i.destroyed) return;
|
|
@@ -4625,15 +4629,15 @@ function fd(r, e, t, n) {
|
|
|
4625
4629
|
let a = i.activeIndex;
|
|
4626
4630
|
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
4631
|
if (s >= i.snapGrid[l]) {
|
|
4628
|
-
const
|
|
4629
|
-
s -
|
|
4632
|
+
const d = i.snapGrid[l], c = i.snapGrid[l + 1];
|
|
4633
|
+
s - d > (c - d) * n && (a += i.params.slidesPerGroup);
|
|
4630
4634
|
} else {
|
|
4631
|
-
const
|
|
4632
|
-
s -
|
|
4635
|
+
const d = i.snapGrid[l - 1], c = i.snapGrid[l];
|
|
4636
|
+
s - d <= (c - d) * n && (a -= i.params.slidesPerGroup);
|
|
4633
4637
|
}
|
|
4634
4638
|
return a = Math.max(a, 0), a = Math.min(a, i.slidesGrid.length - 1), i.slideTo(a, r, e, t);
|
|
4635
4639
|
}
|
|
4636
|
-
function
|
|
4640
|
+
function pc() {
|
|
4637
4641
|
const r = this;
|
|
4638
4642
|
if (r.destroyed) return;
|
|
4639
4643
|
const {
|
|
@@ -4644,24 +4648,24 @@ function pd() {
|
|
|
4644
4648
|
const o = r.isElement ? "swiper-slide" : `.${e.slideClass}`;
|
|
4645
4649
|
if (e.loop) {
|
|
4646
4650
|
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]),
|
|
4651
|
+
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
4652
|
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]),
|
|
4653
|
+
})) : r.slideTo(i) : i > r.slides.length - n ? (r.loopFix(), i = r.getSlideIndex(we(t, `${o}[data-swiper-slide-index="${a}"]`)[0]), dr(() => {
|
|
4650
4654
|
r.slideTo(i);
|
|
4651
4655
|
})) : r.slideTo(i);
|
|
4652
4656
|
} else
|
|
4653
4657
|
r.slideTo(i);
|
|
4654
4658
|
}
|
|
4655
|
-
var
|
|
4656
|
-
slideTo:
|
|
4657
|
-
slideToLoop:
|
|
4658
|
-
slideNext:
|
|
4659
|
-
slidePrev:
|
|
4660
|
-
slideReset:
|
|
4661
|
-
slideToClosest:
|
|
4662
|
-
slideToClickedSlide:
|
|
4659
|
+
var mc = {
|
|
4660
|
+
slideTo: oc,
|
|
4661
|
+
slideToLoop: lc,
|
|
4662
|
+
slideNext: dc,
|
|
4663
|
+
slidePrev: cc,
|
|
4664
|
+
slideReset: uc,
|
|
4665
|
+
slideToClosest: fc,
|
|
4666
|
+
slideToClickedSlide: pc
|
|
4663
4667
|
};
|
|
4664
|
-
function
|
|
4668
|
+
function hc(r) {
|
|
4665
4669
|
const e = this, {
|
|
4666
4670
|
params: t,
|
|
4667
4671
|
slidesEl: n
|
|
@@ -4671,23 +4675,23 @@ function hd(r) {
|
|
|
4671
4675
|
we(n, `.${t.slideClass}, swiper-slide`).forEach((h, u) => {
|
|
4672
4676
|
h.setAttribute("data-swiper-slide-index", u);
|
|
4673
4677
|
});
|
|
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 <
|
|
4678
|
+
}, 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) => {
|
|
4679
|
+
for (let h = 0; h < c; h += 1) {
|
|
4676
4680
|
const u = e.isElement ? At("swiper-slide", [t.slideBlankClass]) : At("div", [t.slideClass, t.slideBlankClass]);
|
|
4677
4681
|
e.slidesEl.append(u);
|
|
4678
4682
|
}
|
|
4679
4683
|
};
|
|
4680
4684
|
if (l) {
|
|
4681
4685
|
if (t.loopAddBlankSlides) {
|
|
4682
|
-
const
|
|
4683
|
-
c
|
|
4686
|
+
const c = o - e.slides.length % o;
|
|
4687
|
+
d(c), e.recalcSlides(), e.updateSlides();
|
|
4684
4688
|
} else
|
|
4685
4689
|
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
4690
|
i();
|
|
4687
4691
|
} else if (s) {
|
|
4688
4692
|
if (t.loopAddBlankSlides) {
|
|
4689
|
-
const
|
|
4690
|
-
c
|
|
4693
|
+
const c = t.grid.rows - e.slides.length % t.grid.rows;
|
|
4694
|
+
d(c), e.recalcSlides(), e.updateSlides();
|
|
4691
4695
|
} else
|
|
4692
4696
|
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
4697
|
i();
|
|
@@ -4698,7 +4702,7 @@ function hd(r) {
|
|
|
4698
4702
|
direction: t.centeredSlides ? void 0 : "next"
|
|
4699
4703
|
});
|
|
4700
4704
|
}
|
|
4701
|
-
function
|
|
4705
|
+
function gc(r) {
|
|
4702
4706
|
let {
|
|
4703
4707
|
slideRealIndex: e,
|
|
4704
4708
|
slideTo: t = !0,
|
|
@@ -4712,8 +4716,8 @@ function gd(r) {
|
|
|
4712
4716
|
if (!s.params.loop) return;
|
|
4713
4717
|
s.emit("beforeLoopFix");
|
|
4714
4718
|
const {
|
|
4715
|
-
slides:
|
|
4716
|
-
allowSlidePrev:
|
|
4719
|
+
slides: d,
|
|
4720
|
+
allowSlidePrev: c,
|
|
4717
4721
|
allowSlideNext: h,
|
|
4718
4722
|
slidesEl: u,
|
|
4719
4723
|
params: m
|
|
@@ -4721,7 +4725,7 @@ function gd(r) {
|
|
|
4721
4725
|
centeredSlides: f
|
|
4722
4726
|
} = m;
|
|
4723
4727
|
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 =
|
|
4728
|
+
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
4729
|
return;
|
|
4726
4730
|
}
|
|
4727
4731
|
let p = m.slidesPerView;
|
|
@@ -4730,21 +4734,21 @@ function gd(r) {
|
|
|
4730
4734
|
let y = w;
|
|
4731
4735
|
y % w !== 0 && (y += w - y % w), y += m.loopAdditionalSlides, s.loopedSlides = y;
|
|
4732
4736
|
const g = s.grid && m.grid && m.grid.rows > 1;
|
|
4733
|
-
|
|
4737
|
+
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
4738
|
const v = [], x = [];
|
|
4735
4739
|
let T = s.activeIndex;
|
|
4736
|
-
typeof a > "u" ? a = s.getSlideIndex(
|
|
4740
|
+
typeof a > "u" ? a = s.getSlideIndex(d.filter((P) => P.classList.contains(m.slideActiveClass))[0]) : T = a;
|
|
4737
4741
|
const E = n === "next" || !n, F = n === "prev" || !n;
|
|
4738
4742
|
let A = 0, C = 0;
|
|
4739
|
-
const S = g ? Math.ceil(
|
|
4743
|
+
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
4744
|
if (N < y) {
|
|
4741
4745
|
A = Math.max(y - N, w);
|
|
4742
4746
|
for (let P = 0; P < y - N; P += 1) {
|
|
4743
4747
|
const k = P - Math.floor(P / S) * S;
|
|
4744
4748
|
if (g) {
|
|
4745
4749
|
const R = S - k - 1;
|
|
4746
|
-
for (let X =
|
|
4747
|
-
|
|
4750
|
+
for (let X = d.length - 1; X >= 0; X -= 1)
|
|
4751
|
+
d[X].column === R && v.push(X);
|
|
4748
4752
|
} else
|
|
4749
4753
|
v.push(S - k - 1);
|
|
4750
4754
|
}
|
|
@@ -4752,7 +4756,7 @@ function gd(r) {
|
|
|
4752
4756
|
C = Math.max(N - (S - y * 2), w);
|
|
4753
4757
|
for (let P = 0; P < C; P += 1) {
|
|
4754
4758
|
const k = P - Math.floor(P / S) * S;
|
|
4755
|
-
g ?
|
|
4759
|
+
g ? d.forEach((R, X) => {
|
|
4756
4760
|
R.column === k && x.push(X);
|
|
4757
4761
|
}) : x.push(k);
|
|
4758
4762
|
}
|
|
@@ -4760,9 +4764,9 @@ function gd(r) {
|
|
|
4760
4764
|
if (s.__preventObserver__ = !0, requestAnimationFrame(() => {
|
|
4761
4765
|
s.__preventObserver__ = !1;
|
|
4762
4766
|
}), F && v.forEach((P) => {
|
|
4763
|
-
|
|
4767
|
+
d[P].swiperLoopMoveDOM = !0, u.prepend(d[P]), d[P].swiperLoopMoveDOM = !1;
|
|
4764
4768
|
}), E && x.forEach((P) => {
|
|
4765
|
-
|
|
4769
|
+
d[P].swiperLoopMoveDOM = !0, u.append(d[P]), d[P].swiperLoopMoveDOM = !1;
|
|
4766
4770
|
}), s.recalcSlides(), m.slidesPerView === "auto" ? s.updateSlides() : g && (v.length > 0 && F || x.length > 0 && E) && s.slides.forEach((P, k) => {
|
|
4767
4771
|
s.grid.updateSlide(k, P, s.slides);
|
|
4768
4772
|
}), m.watchSlidesProgress && s.updateSlidesOffset(), t) {
|
|
@@ -4783,7 +4787,7 @@ function gd(r) {
|
|
|
4783
4787
|
s.slideTo(s.activeIndex - P, 0, !1, !0);
|
|
4784
4788
|
}
|
|
4785
4789
|
}
|
|
4786
|
-
if (s.allowSlidePrev =
|
|
4790
|
+
if (s.allowSlidePrev = c, s.allowSlideNext = h, s.controller && s.controller.control && !o) {
|
|
4787
4791
|
const P = {
|
|
4788
4792
|
slideRealIndex: e,
|
|
4789
4793
|
direction: n,
|
|
@@ -4803,7 +4807,7 @@ function gd(r) {
|
|
|
4803
4807
|
}
|
|
4804
4808
|
s.emit("loopFix");
|
|
4805
4809
|
}
|
|
4806
|
-
function
|
|
4810
|
+
function vc() {
|
|
4807
4811
|
const r = this, {
|
|
4808
4812
|
params: e,
|
|
4809
4813
|
slidesEl: t
|
|
@@ -4820,12 +4824,12 @@ function vd() {
|
|
|
4820
4824
|
t.append(i);
|
|
4821
4825
|
}), r.recalcSlides(), r.slideTo(r.realIndex, 0);
|
|
4822
4826
|
}
|
|
4823
|
-
var
|
|
4824
|
-
loopCreate:
|
|
4825
|
-
loopFix:
|
|
4826
|
-
loopDestroy:
|
|
4827
|
+
var wc = {
|
|
4828
|
+
loopCreate: hc,
|
|
4829
|
+
loopFix: gc,
|
|
4830
|
+
loopDestroy: vc
|
|
4827
4831
|
};
|
|
4828
|
-
function
|
|
4832
|
+
function bc(r) {
|
|
4829
4833
|
const e = this;
|
|
4830
4834
|
if (!e.params.simulateTouch || e.params.watchOverflow && e.isLocked || e.params.cssMode) return;
|
|
4831
4835
|
const t = e.params.touchEventsTarget === "container" ? e.el : e.wrapperEl;
|
|
@@ -4833,17 +4837,17 @@ function bd(r) {
|
|
|
4833
4837
|
e.__preventObserver__ = !1;
|
|
4834
4838
|
});
|
|
4835
4839
|
}
|
|
4836
|
-
function
|
|
4840
|
+
function yc() {
|
|
4837
4841
|
const r = this;
|
|
4838
4842
|
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
4843
|
r.__preventObserver__ = !1;
|
|
4840
4844
|
}));
|
|
4841
4845
|
}
|
|
4842
|
-
var
|
|
4843
|
-
setGrabCursor:
|
|
4844
|
-
unsetGrabCursor:
|
|
4846
|
+
var xc = {
|
|
4847
|
+
setGrabCursor: bc,
|
|
4848
|
+
unsetGrabCursor: yc
|
|
4845
4849
|
};
|
|
4846
|
-
function
|
|
4850
|
+
function Tc(r, e) {
|
|
4847
4851
|
e === void 0 && (e = this);
|
|
4848
4852
|
function t(n) {
|
|
4849
4853
|
if (!n || n === Ee() || n === oe()) return null;
|
|
@@ -4859,7 +4863,7 @@ function an(r, e, t) {
|
|
|
4859
4863
|
} = r, a = i.edgeSwipeDetection, o = i.edgeSwipeThreshold;
|
|
4860
4864
|
return a && (t <= o || t >= n.innerWidth - o) ? a === "prevent" ? (e.preventDefault(), !0) : !1 : !0;
|
|
4861
4865
|
}
|
|
4862
|
-
function
|
|
4866
|
+
function Sc(r) {
|
|
4863
4867
|
const e = this, t = Ee();
|
|
4864
4868
|
let n = r;
|
|
4865
4869
|
n.originalEvent && (n = n.originalEvent);
|
|
@@ -4882,11 +4886,11 @@ function Sd(r) {
|
|
|
4882
4886
|
return;
|
|
4883
4887
|
!e.animating && a.cssMode && a.loop && e.loopFix();
|
|
4884
4888
|
let s = n.target;
|
|
4885
|
-
if (a.touchEventsTarget === "wrapper" && !
|
|
4886
|
-
const
|
|
4887
|
-
|
|
4889
|
+
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;
|
|
4890
|
+
const d = !!a.noSwipingClass && a.noSwipingClass !== "", c = n.composedPath ? n.composedPath() : n.path;
|
|
4891
|
+
d && n.target && n.target.shadowRoot && c && (s = c[0]);
|
|
4888
4892
|
const h = a.noSwipingSelector ? a.noSwipingSelector : `.${a.noSwipingClass}`, u = !!(n.target && n.target.shadowRoot);
|
|
4889
|
-
if (a.noSwiping && (u ?
|
|
4893
|
+
if (a.noSwiping && (u ? Tc(h, s) : s.closest(h))) {
|
|
4890
4894
|
e.allowClick = !0;
|
|
4891
4895
|
return;
|
|
4892
4896
|
}
|
|
@@ -4908,7 +4912,7 @@ function Sd(r) {
|
|
|
4908
4912
|
const w = p && e.allowTouchMove && a.touchStartPreventDefault;
|
|
4909
4913
|
(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
4914
|
}
|
|
4911
|
-
function
|
|
4915
|
+
function Cc(r) {
|
|
4912
4916
|
const e = Ee(), t = this, n = t.touchEventsData, {
|
|
4913
4917
|
params: i,
|
|
4914
4918
|
touches: a,
|
|
@@ -4919,25 +4923,25 @@ function Cd(r) {
|
|
|
4919
4923
|
let s = r;
|
|
4920
4924
|
if (s.originalEvent && (s = s.originalEvent), s.type === "pointermove" && (n.touchId !== null || s.pointerId !== n.pointerId))
|
|
4921
4925
|
return;
|
|
4922
|
-
let
|
|
4926
|
+
let d;
|
|
4923
4927
|
if (s.type === "touchmove") {
|
|
4924
|
-
if (
|
|
4928
|
+
if (d = [...s.changedTouches].filter((E) => E.identifier === n.touchId)[0], !d || d.identifier !== n.touchId) return;
|
|
4925
4929
|
} else
|
|
4926
|
-
|
|
4930
|
+
d = s;
|
|
4927
4931
|
if (!n.isTouched) {
|
|
4928
4932
|
n.startMoving && n.isScrolling && t.emit("touchMoveOpposite", s);
|
|
4929
4933
|
return;
|
|
4930
4934
|
}
|
|
4931
|
-
const
|
|
4935
|
+
const c = d.pageX, h = d.pageY;
|
|
4932
4936
|
if (s.preventedByNestedSwiper) {
|
|
4933
|
-
a.startX =
|
|
4937
|
+
a.startX = c, a.startY = h;
|
|
4934
4938
|
return;
|
|
4935
4939
|
}
|
|
4936
4940
|
if (!t.allowTouchMove) {
|
|
4937
4941
|
s.target.matches(n.focusableElements) || (t.allowClick = !1), n.isTouched && (Object.assign(a, {
|
|
4938
|
-
startX:
|
|
4942
|
+
startX: c,
|
|
4939
4943
|
startY: h,
|
|
4940
|
-
currentX:
|
|
4944
|
+
currentX: c,
|
|
4941
4945
|
currentY: h
|
|
4942
4946
|
}), n.touchStartTime = Ot());
|
|
4943
4947
|
return;
|
|
@@ -4948,14 +4952,14 @@ function Cd(r) {
|
|
|
4948
4952
|
n.isTouched = !1, n.isMoved = !1;
|
|
4949
4953
|
return;
|
|
4950
4954
|
}
|
|
4951
|
-
} else if (
|
|
4955
|
+
} else if (c < a.startX && t.translate <= t.maxTranslate() || c > a.startX && t.translate >= t.minTranslate())
|
|
4952
4956
|
return;
|
|
4953
4957
|
}
|
|
4954
4958
|
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
4959
|
n.isMoved = !0, t.allowClick = !1;
|
|
4956
4960
|
return;
|
|
4957
4961
|
}
|
|
4958
|
-
n.allowTouchCallbacks && t.emit("touchMove", s), a.previousX = a.currentX, a.previousY = a.currentY, a.currentX =
|
|
4962
|
+
n.allowTouchCallbacks && t.emit("touchMove", s), a.previousX = a.currentX, a.previousY = a.currentY, a.currentX = c, a.currentY = h;
|
|
4959
4963
|
const u = a.currentX - a.startX, m = a.currentY - a.startY;
|
|
4960
4964
|
if (t.params.threshold && Math.sqrt(u ** 2 + m ** 2) < t.params.threshold) return;
|
|
4961
4965
|
if (typeof n.isScrolling > "u") {
|
|
@@ -4992,9 +4996,9 @@ function Cd(r) {
|
|
|
4992
4996
|
let v;
|
|
4993
4997
|
if ((/* @__PURE__ */ new Date()).getTime(), n.isMoved && n.allowThresholdMove && w !== t.touchesDirection && y && g && Math.abs(f) >= 1) {
|
|
4994
4998
|
Object.assign(a, {
|
|
4995
|
-
startX:
|
|
4999
|
+
startX: c,
|
|
4996
5000
|
startY: h,
|
|
4997
|
-
currentX:
|
|
5001
|
+
currentX: c,
|
|
4998
5002
|
currentY: h,
|
|
4999
5003
|
startTranslate: n.currentTranslate
|
|
5000
5004
|
}), n.loopSwapReset = !0, n.startTranslate = n.currentTranslate;
|
|
@@ -5022,7 +5026,7 @@ function Cd(r) {
|
|
|
5022
5026
|
}
|
|
5023
5027
|
!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
5028
|
}
|
|
5025
|
-
function
|
|
5029
|
+
function Ec(r) {
|
|
5026
5030
|
const e = this, t = e.touchEventsData;
|
|
5027
5031
|
let n = r;
|
|
5028
5032
|
n.originalEvent && (n = n.originalEvent);
|
|
@@ -5040,10 +5044,10 @@ function Ed(r) {
|
|
|
5040
5044
|
params: o,
|
|
5041
5045
|
touches: l,
|
|
5042
5046
|
rtlTranslate: s,
|
|
5043
|
-
slidesGrid:
|
|
5044
|
-
enabled:
|
|
5047
|
+
slidesGrid: d,
|
|
5048
|
+
enabled: c
|
|
5045
5049
|
} = e;
|
|
5046
|
-
if (!
|
|
5050
|
+
if (!c || !o.simulateTouch && n.pointerType === "mouse") return;
|
|
5047
5051
|
if (t.allowTouchCallbacks && e.emit("touchEnd", n), t.allowTouchCallbacks = !1, !t.isTouched) {
|
|
5048
5052
|
t.isMoved && o.grabCursor && e.setGrabCursor(!1), t.isMoved = !1, t.startMoving = !1;
|
|
5049
5053
|
return;
|
|
@@ -5054,7 +5058,7 @@ function Ed(r) {
|
|
|
5054
5058
|
const T = n.path || n.composedPath && n.composedPath();
|
|
5055
5059
|
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
5060
|
}
|
|
5057
|
-
if (t.lastClickTime = Ot(),
|
|
5061
|
+
if (t.lastClickTime = Ot(), dr(() => {
|
|
5058
5062
|
e.destroyed || (e.allowClick = !0);
|
|
5059
5063
|
}), !t.isTouched || !t.isMoved || !e.swipeDirection || l.diff === 0 && !t.loopSwapReset || t.currentTranslate === t.startTranslate && !t.loopSwapReset) {
|
|
5060
5064
|
t.isTouched = !1, t.isMoved = !1, t.startMoving = !1;
|
|
@@ -5072,13 +5076,13 @@ function Ed(r) {
|
|
|
5072
5076
|
}
|
|
5073
5077
|
const f = m >= -e.maxTranslate() && !e.params.loop;
|
|
5074
5078
|
let p = 0, w = e.slidesSizesGrid[0];
|
|
5075
|
-
for (let T = 0; T <
|
|
5079
|
+
for (let T = 0; T < d.length; T += T < o.slidesPerGroupSkip ? 1 : o.slidesPerGroup) {
|
|
5076
5080
|
const E = T < o.slidesPerGroupSkip - 1 ? 1 : o.slidesPerGroup;
|
|
5077
|
-
typeof
|
|
5081
|
+
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
5082
|
}
|
|
5079
5083
|
let y = null, g = null;
|
|
5080
5084
|
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 -
|
|
5085
|
+
const v = (m - d[p]) / w, x = p < o.slidesPerGroupSkip - 1 ? 1 : o.slidesPerGroup;
|
|
5082
5086
|
if (u > o.longSwipesMs) {
|
|
5083
5087
|
if (!o.longSwipes) {
|
|
5084
5088
|
e.slideTo(e.activeIndex);
|
|
@@ -5111,11 +5115,11 @@ function sn() {
|
|
|
5111
5115
|
r.autoplay && r.autoplay.running && r.autoplay.paused && r.autoplay.resume();
|
|
5112
5116
|
}, 500)), r.allowSlidePrev = i, r.allowSlideNext = n, r.params.watchOverflow && a !== r.snapGrid && r.checkOverflow();
|
|
5113
5117
|
}
|
|
5114
|
-
function
|
|
5118
|
+
function Pc(r) {
|
|
5115
5119
|
const e = this;
|
|
5116
5120
|
e.enabled && (e.allowClick || (e.params.preventClicks && r.preventDefault(), e.params.preventClicksPropagation && e.animating && (r.stopPropagation(), r.stopImmediatePropagation())));
|
|
5117
5121
|
}
|
|
5118
|
-
function
|
|
5122
|
+
function Mc() {
|
|
5119
5123
|
const r = this, {
|
|
5120
5124
|
wrapperEl: e,
|
|
5121
5125
|
rtlTranslate: t,
|
|
@@ -5127,11 +5131,11 @@ function Md() {
|
|
|
5127
5131
|
const a = r.maxTranslate() - r.minTranslate();
|
|
5128
5132
|
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
5133
|
}
|
|
5130
|
-
function
|
|
5134
|
+
function Oc(r) {
|
|
5131
5135
|
const e = this;
|
|
5132
5136
|
xt(e, r.target), !(e.params.cssMode || e.params.slidesPerView !== "auto" && !e.params.autoHeight) && e.update();
|
|
5133
5137
|
}
|
|
5134
|
-
function
|
|
5138
|
+
function Ic() {
|
|
5135
5139
|
const r = this;
|
|
5136
5140
|
r.documentTouchHandlerProceeded || (r.documentTouchHandlerProceeded = !0, r.params.touchReleaseOnEdges && (r.el.style.touchAction = "auto"));
|
|
5137
5141
|
}
|
|
@@ -5141,7 +5145,7 @@ const Ji = (r, e) => {
|
|
|
5141
5145
|
el: i,
|
|
5142
5146
|
wrapperEl: a,
|
|
5143
5147
|
device: o
|
|
5144
|
-
} = r, l = !!n.nested, s = e === "on" ? "addEventListener" : "removeEventListener",
|
|
5148
|
+
} = r, l = !!n.nested, s = e === "on" ? "addEventListener" : "removeEventListener", d = e;
|
|
5145
5149
|
!i || typeof i == "string" || (t[s]("touchstart", r.onDocumentTouchStart, {
|
|
5146
5150
|
passive: !1,
|
|
5147
5151
|
capture: l
|
|
@@ -5169,25 +5173,25 @@ const Ji = (r, e) => {
|
|
|
5169
5173
|
passive: !0
|
|
5170
5174
|
}), t[s]("contextmenu", r.onTouchEnd, {
|
|
5171
5175
|
passive: !0
|
|
5172
|
-
}), (n.preventClicks || n.preventClicksPropagation) && i[s]("click", r.onClick, !0), n.cssMode && a[s]("scroll", r.onScroll), n.updateOnWindowResize ? r[
|
|
5176
|
+
}), (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
5177
|
capture: !0
|
|
5174
5178
|
}));
|
|
5175
5179
|
};
|
|
5176
|
-
function
|
|
5180
|
+
function Ac() {
|
|
5177
5181
|
const r = this, {
|
|
5178
5182
|
params: e
|
|
5179
5183
|
} = r;
|
|
5180
|
-
r.onTouchStart =
|
|
5184
|
+
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
5185
|
}
|
|
5182
|
-
function
|
|
5186
|
+
function Nc() {
|
|
5183
5187
|
Ji(this, "off");
|
|
5184
5188
|
}
|
|
5185
|
-
var
|
|
5186
|
-
attachEvents:
|
|
5187
|
-
detachEvents:
|
|
5189
|
+
var kc = {
|
|
5190
|
+
attachEvents: Ac,
|
|
5191
|
+
detachEvents: Nc
|
|
5188
5192
|
};
|
|
5189
5193
|
const on = (r, e) => r.grid && e.grid && e.grid.rows > 1;
|
|
5190
|
-
function
|
|
5194
|
+
function Lc() {
|
|
5191
5195
|
const r = this, {
|
|
5192
5196
|
realIndex: e,
|
|
5193
5197
|
initialized: t,
|
|
@@ -5197,8 +5201,8 @@ function Ld() {
|
|
|
5197
5201
|
if (!a || a && Object.keys(a).length === 0) return;
|
|
5198
5202
|
const o = r.getBreakpoint(a, r.params.breakpointsBase, r.el);
|
|
5199
5203
|
if (!o || r.currentBreakpoint === o) return;
|
|
5200
|
-
const s = (o in a ? a[o] : void 0) || r.originalParams,
|
|
5201
|
-
|
|
5204
|
+
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;
|
|
5205
|
+
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
5206
|
if (typeof s[v] > "u") return;
|
|
5203
5207
|
const x = n[v] && n[v].enabled, T = s[v] && s[v].enabled;
|
|
5204
5208
|
x && !T && r[v].disable(), !x && T && r[v].enable();
|
|
@@ -5212,7 +5216,7 @@ function Ld() {
|
|
|
5212
5216
|
allowSlidePrev: r.params.allowSlidePrev
|
|
5213
5217
|
}), 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
5218
|
}
|
|
5215
|
-
function
|
|
5219
|
+
function Dc(r, e, t) {
|
|
5216
5220
|
if (e === void 0 && (e = "window"), !r || e === "container" && !t) return;
|
|
5217
5221
|
let n = !1;
|
|
5218
5222
|
const i = oe(), a = e === "window" ? i.innerHeight : t.clientHeight, o = Object.keys(r).map((l) => {
|
|
@@ -5232,17 +5236,17 @@ function Dd(r, e, t) {
|
|
|
5232
5236
|
for (let l = 0; l < o.length; l += 1) {
|
|
5233
5237
|
const {
|
|
5234
5238
|
point: s,
|
|
5235
|
-
value:
|
|
5239
|
+
value: d
|
|
5236
5240
|
} = o[l];
|
|
5237
|
-
e === "window" ? i.matchMedia(`(min-width: ${
|
|
5241
|
+
e === "window" ? i.matchMedia(`(min-width: ${d}px)`).matches && (n = s) : d <= t.clientWidth && (n = s);
|
|
5238
5242
|
}
|
|
5239
5243
|
return n || "max";
|
|
5240
5244
|
}
|
|
5241
|
-
var
|
|
5242
|
-
setBreakpoint:
|
|
5243
|
-
getBreakpoint:
|
|
5245
|
+
var _c = {
|
|
5246
|
+
setBreakpoint: Lc,
|
|
5247
|
+
getBreakpoint: Dc
|
|
5244
5248
|
};
|
|
5245
|
-
function
|
|
5249
|
+
function Fc(r, e) {
|
|
5246
5250
|
const t = [];
|
|
5247
5251
|
return r.forEach((n) => {
|
|
5248
5252
|
typeof n == "object" ? Object.keys(n).forEach((i) => {
|
|
@@ -5250,14 +5254,14 @@ function Fd(r, e) {
|
|
|
5250
5254
|
}) : typeof n == "string" && t.push(e + n);
|
|
5251
5255
|
}), t;
|
|
5252
5256
|
}
|
|
5253
|
-
function
|
|
5257
|
+
function Vc() {
|
|
5254
5258
|
const r = this, {
|
|
5255
5259
|
classNames: e,
|
|
5256
5260
|
params: t,
|
|
5257
5261
|
rtl: n,
|
|
5258
5262
|
el: i,
|
|
5259
5263
|
device: a
|
|
5260
|
-
} = r, o =
|
|
5264
|
+
} = r, o = Fc(["initialized", t.direction, {
|
|
5261
5265
|
"free-mode": r.params.freeMode && t.freeMode.enabled
|
|
5262
5266
|
}, {
|
|
5263
5267
|
autoheight: t.autoHeight
|
|
@@ -5280,18 +5284,18 @@ function Vd() {
|
|
|
5280
5284
|
}], t.containerModifierClass);
|
|
5281
5285
|
e.push(...o), i.classList.add(...e), r.emitContainerClasses();
|
|
5282
5286
|
}
|
|
5283
|
-
function
|
|
5287
|
+
function zc() {
|
|
5284
5288
|
const r = this, {
|
|
5285
5289
|
el: e,
|
|
5286
5290
|
classNames: t
|
|
5287
5291
|
} = r;
|
|
5288
5292
|
!e || typeof e == "string" || (e.classList.remove(...t), r.emitContainerClasses());
|
|
5289
5293
|
}
|
|
5290
|
-
var
|
|
5291
|
-
addClasses:
|
|
5292
|
-
removeClasses:
|
|
5294
|
+
var Rc = {
|
|
5295
|
+
addClasses: Vc,
|
|
5296
|
+
removeClasses: zc
|
|
5293
5297
|
};
|
|
5294
|
-
function
|
|
5298
|
+
function Bc() {
|
|
5295
5299
|
const r = this, {
|
|
5296
5300
|
isLocked: e,
|
|
5297
5301
|
params: t
|
|
@@ -5305,8 +5309,8 @@ function Bd() {
|
|
|
5305
5309
|
r.isLocked = r.snapGrid.length === 1;
|
|
5306
5310
|
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
5311
|
}
|
|
5308
|
-
var
|
|
5309
|
-
checkOverflow:
|
|
5312
|
+
var Wc = {
|
|
5313
|
+
checkOverflow: Bc
|
|
5310
5314
|
}, fr = {
|
|
5311
5315
|
init: !0,
|
|
5312
5316
|
direction: "horizontal",
|
|
@@ -5428,7 +5432,7 @@ var Wd = {
|
|
|
5428
5432
|
// Internals
|
|
5429
5433
|
_emitClasses: !1
|
|
5430
5434
|
};
|
|
5431
|
-
function
|
|
5435
|
+
function Gc(r, e) {
|
|
5432
5436
|
return function(n) {
|
|
5433
5437
|
n === void 0 && (n = {});
|
|
5434
5438
|
const i = Object.keys(n)[0], a = n[i];
|
|
@@ -5448,17 +5452,17 @@ function Gd(r, e) {
|
|
|
5448
5452
|
};
|
|
5449
5453
|
}
|
|
5450
5454
|
const rr = {
|
|
5451
|
-
eventsEmitter:
|
|
5452
|
-
update:
|
|
5453
|
-
translate:
|
|
5454
|
-
transition:
|
|
5455
|
-
slide:
|
|
5456
|
-
loop:
|
|
5457
|
-
grabCursor:
|
|
5458
|
-
events:
|
|
5459
|
-
breakpoints:
|
|
5460
|
-
checkOverflow:
|
|
5461
|
-
classes:
|
|
5455
|
+
eventsEmitter: Rd,
|
|
5456
|
+
update: Qd,
|
|
5457
|
+
translate: rc,
|
|
5458
|
+
transition: sc,
|
|
5459
|
+
slide: mc,
|
|
5460
|
+
loop: wc,
|
|
5461
|
+
grabCursor: xc,
|
|
5462
|
+
events: kc,
|
|
5463
|
+
breakpoints: _c,
|
|
5464
|
+
checkOverflow: Wc,
|
|
5465
|
+
classes: Rc
|
|
5462
5466
|
}, nr = {};
|
|
5463
5467
|
let Nr = class Se {
|
|
5464
5468
|
constructor() {
|
|
@@ -5468,33 +5472,33 @@ let Nr = class Se {
|
|
|
5468
5472
|
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
5473
|
const o = Ee();
|
|
5470
5474
|
if (t.el && typeof t.el == "string" && o.querySelectorAll(t.el).length > 1) {
|
|
5471
|
-
const
|
|
5475
|
+
const c = [];
|
|
5472
5476
|
return o.querySelectorAll(t.el).forEach((h) => {
|
|
5473
5477
|
const u = ie({}, t, {
|
|
5474
5478
|
el: h
|
|
5475
5479
|
});
|
|
5476
|
-
|
|
5477
|
-
}),
|
|
5480
|
+
c.push(new Se(u));
|
|
5481
|
+
}), c;
|
|
5478
5482
|
}
|
|
5479
5483
|
const l = this;
|
|
5480
5484
|
l.__swiper__ = !0, l.support = Qi(), l.device = Ki({
|
|
5481
5485
|
userAgent: t.userAgent
|
|
5482
|
-
}), l.browser =
|
|
5486
|
+
}), l.browser = Fd(), l.eventsListeners = {}, l.eventsAnyListeners = [], l.modules = [...l.__modules__], t.modules && Array.isArray(t.modules) && l.modules.push(...t.modules);
|
|
5483
5487
|
const s = {};
|
|
5484
|
-
l.modules.forEach((
|
|
5485
|
-
|
|
5488
|
+
l.modules.forEach((c) => {
|
|
5489
|
+
c({
|
|
5486
5490
|
params: t,
|
|
5487
5491
|
swiper: l,
|
|
5488
|
-
extendParams:
|
|
5492
|
+
extendParams: Gc(t, s),
|
|
5489
5493
|
on: l.on.bind(l),
|
|
5490
5494
|
once: l.once.bind(l),
|
|
5491
5495
|
off: l.off.bind(l),
|
|
5492
5496
|
emit: l.emit.bind(l)
|
|
5493
5497
|
});
|
|
5494
5498
|
});
|
|
5495
|
-
const
|
|
5496
|
-
return l.params = ie({},
|
|
5497
|
-
l.on(
|
|
5499
|
+
const d = ie({}, fr, s);
|
|
5500
|
+
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) => {
|
|
5501
|
+
l.on(c, l.params.on[c]);
|
|
5498
5502
|
}), l.params && l.params.onAny && l.onAny(l.params.onAny), Object.assign(l, {
|
|
5499
5503
|
enabled: l.params.enabled,
|
|
5500
5504
|
el: e,
|
|
@@ -5641,23 +5645,23 @@ let Nr = class Se {
|
|
|
5641
5645
|
slidesGrid: o,
|
|
5642
5646
|
slidesSizesGrid: l,
|
|
5643
5647
|
size: s,
|
|
5644
|
-
activeIndex:
|
|
5648
|
+
activeIndex: d
|
|
5645
5649
|
} = n;
|
|
5646
|
-
let
|
|
5650
|
+
let c = 1;
|
|
5647
5651
|
if (typeof i.slidesPerView == "number") return i.slidesPerView;
|
|
5648
5652
|
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,
|
|
5653
|
+
let h = a[d] ? Math.ceil(a[d].swiperSlideSize) : 0, u;
|
|
5654
|
+
for (let m = d + 1; m < a.length; m += 1)
|
|
5655
|
+
a[m] && !u && (h += Math.ceil(a[m].swiperSlideSize), c += 1, h > s && (u = !0));
|
|
5656
|
+
for (let m = d - 1; m >= 0; m -= 1)
|
|
5657
|
+
a[m] && !u && (h += a[m].swiperSlideSize, c += 1, h > s && (u = !0));
|
|
5654
5658
|
} else if (e === "current")
|
|
5655
|
-
for (let h =
|
|
5656
|
-
(t ? o[h] + l[h] - o[
|
|
5659
|
+
for (let h = d + 1; h < a.length; h += 1)
|
|
5660
|
+
(t ? o[h] + l[h] - o[d] < s : o[h] - o[d] < s) && (c += 1);
|
|
5657
5661
|
else
|
|
5658
|
-
for (let h =
|
|
5659
|
-
o[
|
|
5660
|
-
return
|
|
5662
|
+
for (let h = d - 1; h >= 0; h -= 1)
|
|
5663
|
+
o[d] - o[h] < s && (c += 1);
|
|
5664
|
+
return c;
|
|
5661
5665
|
}
|
|
5662
5666
|
update() {
|
|
5663
5667
|
const e = this;
|
|
@@ -5743,7 +5747,7 @@ let Nr = class Se {
|
|
|
5743
5747
|
s.classList.remove(i.slideVisibleClass, i.slideFullyVisibleClass, i.slideActiveClass, i.slideNextClass, i.slidePrevClass), s.removeAttribute("style"), s.removeAttribute("data-swiper-slide-index");
|
|
5744
5748
|
})), n.emit("destroy"), Object.keys(n.eventsListeners).forEach((s) => {
|
|
5745
5749
|
n.off(s);
|
|
5746
|
-
}), e !== !1 && (n.el && typeof n.el != "string" && (n.el.swiper = null),
|
|
5750
|
+
}), e !== !1 && (n.el && typeof n.el != "string" && (n.el.swiper = null), wd(n)), n.destroyed = !0), null;
|
|
5747
5751
|
}
|
|
5748
5752
|
static extendDefaults(e) {
|
|
5749
5753
|
ie(nr, e);
|
|
@@ -5768,7 +5772,7 @@ Object.keys(rr).forEach((r) => {
|
|
|
5768
5772
|
Nr.prototype[e] = rr[r][e];
|
|
5769
5773
|
});
|
|
5770
5774
|
});
|
|
5771
|
-
Nr.use([
|
|
5775
|
+
Nr.use([Vd, zd]);
|
|
5772
5776
|
const ea = [
|
|
5773
5777
|
"eventsPrefix",
|
|
5774
5778
|
"injectStyles",
|
|
@@ -5913,10 +5917,10 @@ function ia(r) {
|
|
|
5913
5917
|
t.indexOf(n) < 0 && t.push(n);
|
|
5914
5918
|
}), t.join(" ");
|
|
5915
5919
|
}
|
|
5916
|
-
function $
|
|
5920
|
+
function $c(r) {
|
|
5917
5921
|
return r === void 0 && (r = ""), r ? r.includes("swiper-wrapper") ? r : `swiper-wrapper ${r}` : "swiper-wrapper";
|
|
5918
5922
|
}
|
|
5919
|
-
function
|
|
5923
|
+
function jc(r) {
|
|
5920
5924
|
let {
|
|
5921
5925
|
swiper: e,
|
|
5922
5926
|
slides: t,
|
|
@@ -5927,8 +5931,8 @@ function jd(r) {
|
|
|
5927
5931
|
scrollbarEl: l,
|
|
5928
5932
|
paginationEl: s
|
|
5929
5933
|
} = r;
|
|
5930
|
-
const
|
|
5931
|
-
params:
|
|
5934
|
+
const d = i.filter((C) => C !== "children" && C !== "direction" && C !== "wrapperClass"), {
|
|
5935
|
+
params: c,
|
|
5932
5936
|
pagination: h,
|
|
5933
5937
|
navigation: u,
|
|
5934
5938
|
scrollbar: m,
|
|
@@ -5936,20 +5940,20 @@ function jd(r) {
|
|
|
5936
5940
|
thumbs: p
|
|
5937
5941
|
} = e;
|
|
5938
5942
|
let w, y, g, v, x, T, E, F;
|
|
5939
|
-
i.includes("thumbs") && n.thumbs && n.thumbs.swiper && !n.thumbs.swiper.destroyed &&
|
|
5943
|
+
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
5944
|
const A = (C) => {
|
|
5941
|
-
e[C] && (e[C].destroy(), C === "navigation" ? (e.isElement && (e[C].prevEl.remove(), e[C].nextEl.remove()),
|
|
5945
|
+
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
5946
|
};
|
|
5943
|
-
i.includes("loop") && e.isElement && (
|
|
5944
|
-
if (ze(
|
|
5945
|
-
Object.assign(
|
|
5947
|
+
i.includes("loop") && e.isElement && (c.loop && !n.loop ? T = !0 : !c.loop && n.loop ? E = !0 : F = !0), d.forEach((C) => {
|
|
5948
|
+
if (ze(c[C]) && ze(n[C]))
|
|
5949
|
+
Object.assign(c[C], n[C]), (C === "navigation" || C === "pagination" || C === "scrollbar") && "enabled" in n[C] && !n[C].enabled && A(C);
|
|
5946
5950
|
else {
|
|
5947
5951
|
const S = n[C];
|
|
5948
|
-
(S === !0 || S === !1) && (C === "navigation" || C === "pagination" || C === "scrollbar") ? S === !1 && A(C) :
|
|
5952
|
+
(S === !0 || S === !1) && (C === "navigation" || C === "pagination" || C === "scrollbar") ? S === !1 && A(C) : c[C] = n[C];
|
|
5949
5953
|
}
|
|
5950
|
-
}),
|
|
5954
|
+
}), 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
5955
|
}
|
|
5952
|
-
function
|
|
5956
|
+
function Hc(r, e) {
|
|
5953
5957
|
r === void 0 && (r = {}), e === void 0 && (e = !0);
|
|
5954
5958
|
const t = {
|
|
5955
5959
|
on: {}
|
|
@@ -5967,7 +5971,7 @@ function Hd(r, e) {
|
|
|
5967
5971
|
events: n
|
|
5968
5972
|
};
|
|
5969
5973
|
}
|
|
5970
|
-
function
|
|
5974
|
+
function Yc(r, e) {
|
|
5971
5975
|
let {
|
|
5972
5976
|
el: t,
|
|
5973
5977
|
nextEl: n,
|
|
@@ -5978,29 +5982,29 @@ function Yd(r, e) {
|
|
|
5978
5982
|
} = r;
|
|
5979
5983
|
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
5984
|
}
|
|
5981
|
-
function
|
|
5985
|
+
function qc(r, e, t, n, i) {
|
|
5982
5986
|
const a = [];
|
|
5983
5987
|
if (!e) return a;
|
|
5984
5988
|
const o = (s) => {
|
|
5985
5989
|
a.indexOf(s) < 0 && a.push(s);
|
|
5986
5990
|
};
|
|
5987
5991
|
if (t && n) {
|
|
5988
|
-
const s = n.map(i),
|
|
5989
|
-
s.join("") !==
|
|
5992
|
+
const s = n.map(i), d = t.map(i);
|
|
5993
|
+
s.join("") !== d.join("") && o("children"), n.length !== t.length && o("children");
|
|
5990
5994
|
}
|
|
5991
5995
|
return ea.filter((s) => s[0] === "_").map((s) => s.replace(/_/, "")).forEach((s) => {
|
|
5992
5996
|
if (s in r && s in e)
|
|
5993
5997
|
if (ze(r[s]) && ze(e[s])) {
|
|
5994
|
-
const
|
|
5995
|
-
|
|
5998
|
+
const d = Object.keys(r[s]), c = Object.keys(e[s]);
|
|
5999
|
+
d.length !== c.length ? o(s) : (d.forEach((h) => {
|
|
5996
6000
|
r[s][h] !== e[s][h] && o(s);
|
|
5997
|
-
}),
|
|
6001
|
+
}), c.forEach((h) => {
|
|
5998
6002
|
r[s][h] !== e[s][h] && o(s);
|
|
5999
6003
|
}));
|
|
6000
6004
|
} else r[s] !== e[s] && o(s);
|
|
6001
6005
|
}), a;
|
|
6002
6006
|
}
|
|
6003
|
-
const
|
|
6007
|
+
const Uc = (r) => {
|
|
6004
6008
|
!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
6009
|
};
|
|
6006
6010
|
function kt() {
|
|
@@ -6022,7 +6026,7 @@ function sa(r) {
|
|
|
6022
6026
|
aa(t) ? e.push(t) : t.props && t.props.children && sa(t.props.children).forEach((n) => e.push(n));
|
|
6023
6027
|
}), e;
|
|
6024
6028
|
}
|
|
6025
|
-
function
|
|
6029
|
+
function Xc(r) {
|
|
6026
6030
|
const e = [], t = {
|
|
6027
6031
|
"container-start": [],
|
|
6028
6032
|
"container-end": [],
|
|
@@ -6044,11 +6048,11 @@ function Xd(r) {
|
|
|
6044
6048
|
slots: t
|
|
6045
6049
|
};
|
|
6046
6050
|
}
|
|
6047
|
-
function
|
|
6051
|
+
function Qc(r, e, t) {
|
|
6048
6052
|
if (!t) return null;
|
|
6049
|
-
const n = (
|
|
6050
|
-
let h =
|
|
6051
|
-
return
|
|
6053
|
+
const n = (c) => {
|
|
6054
|
+
let h = c;
|
|
6055
|
+
return c < 0 ? h = e.length + c : h >= e.length && (h = h - e.length), h;
|
|
6052
6056
|
}, i = r.isHorizontal() ? {
|
|
6053
6057
|
[r.rtlTranslate ? "right" : "left"]: `${t.offset}px`
|
|
6054
6058
|
} : {
|
|
@@ -6056,19 +6060,19 @@ function Qd(r, e, t) {
|
|
|
6056
6060
|
}, {
|
|
6057
6061
|
from: a,
|
|
6058
6062
|
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
|
|
6063
|
+
} = t, l = r.params.loop ? -e.length : 0, s = r.params.loop ? e.length * 2 : e.length, d = [];
|
|
6064
|
+
for (let c = l; c < s; c += 1)
|
|
6065
|
+
c >= a && c <= o && d.push(e[n(c)]);
|
|
6066
|
+
return d.map((c, h) => /* @__PURE__ */ z.cloneElement(c, {
|
|
6063
6067
|
swiper: r,
|
|
6064
6068
|
style: i,
|
|
6065
|
-
key:
|
|
6069
|
+
key: c.props.virtualIndex || c.key || `slide-${h}`
|
|
6066
6070
|
}));
|
|
6067
6071
|
}
|
|
6068
6072
|
function st(r, e) {
|
|
6069
6073
|
return typeof window > "u" ? St(r, e) : Fa(r, e);
|
|
6070
6074
|
}
|
|
6071
|
-
const ln = /* @__PURE__ */ pn(null),
|
|
6075
|
+
const ln = /* @__PURE__ */ pn(null), Kc = /* @__PURE__ */ pn(null), oa = /* @__PURE__ */ fn(function(r, e) {
|
|
6072
6076
|
let {
|
|
6073
6077
|
className: t,
|
|
6074
6078
|
tag: n = "div",
|
|
@@ -6077,20 +6081,20 @@ const ln = /* @__PURE__ */ pn(null), Kd = /* @__PURE__ */ pn(null), oa = /* @__P
|
|
|
6077
6081
|
onSwiper: o,
|
|
6078
6082
|
...l
|
|
6079
6083
|
} = r === void 0 ? {} : r, s = !1;
|
|
6080
|
-
const [
|
|
6084
|
+
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
6085
|
params: A,
|
|
6082
6086
|
passedParams: C,
|
|
6083
6087
|
rest: S,
|
|
6084
6088
|
events: M
|
|
6085
|
-
} =
|
|
6089
|
+
} = Hc(l), {
|
|
6086
6090
|
slides: N,
|
|
6087
6091
|
slots: P
|
|
6088
|
-
} =
|
|
6092
|
+
} = Xc(a), k = () => {
|
|
6089
6093
|
f(!m);
|
|
6090
6094
|
};
|
|
6091
6095
|
Object.assign(A.on, {
|
|
6092
6096
|
_containerClasses(G, Y) {
|
|
6093
|
-
|
|
6097
|
+
c(Y);
|
|
6094
6098
|
}
|
|
6095
6099
|
});
|
|
6096
6100
|
const R = () => {
|
|
@@ -6125,7 +6129,7 @@ const ln = /* @__PURE__ */ pn(null), Kd = /* @__PURE__ */ pn(null), oa = /* @__P
|
|
|
6125
6129
|
!p.current && y.current && (y.current.emitSlidesClasses(), p.current = !0);
|
|
6126
6130
|
}), st(() => {
|
|
6127
6131
|
if (e && (e.current = w.current), !!w.current)
|
|
6128
|
-
return y.current.destroyed && R(),
|
|
6132
|
+
return y.current.destroyed && R(), Yc({
|
|
6129
6133
|
el: w.current,
|
|
6130
6134
|
nextEl: x.current,
|
|
6131
6135
|
prevEl: T.current,
|
|
@@ -6137,8 +6141,8 @@ const ln = /* @__PURE__ */ pn(null), Kd = /* @__PURE__ */ pn(null), oa = /* @__P
|
|
|
6137
6141
|
};
|
|
6138
6142
|
}, []), st(() => {
|
|
6139
6143
|
X();
|
|
6140
|
-
const G =
|
|
6141
|
-
return g.current = C, v.current = N, G.length && y.current && !y.current.destroyed &&
|
|
6144
|
+
const G = qc(C, g.current, N, v.current, (Y) => Y.key);
|
|
6145
|
+
return g.current = C, v.current = N, G.length && y.current && !y.current.destroyed && jc({
|
|
6142
6146
|
swiper: y.current,
|
|
6143
6147
|
slides: N,
|
|
6144
6148
|
passedParams: C,
|
|
@@ -6151,21 +6155,21 @@ const ln = /* @__PURE__ */ pn(null), Kd = /* @__PURE__ */ pn(null), oa = /* @__P
|
|
|
6151
6155
|
fe();
|
|
6152
6156
|
};
|
|
6153
6157
|
}), st(() => {
|
|
6154
|
-
|
|
6158
|
+
Uc(y.current);
|
|
6155
6159
|
}, [h]);
|
|
6156
6160
|
function B() {
|
|
6157
|
-
return A.virtual ?
|
|
6161
|
+
return A.virtual ? Qc(y.current, N, h) : N.map((G, Y) => /* @__PURE__ */ z.cloneElement(G, {
|
|
6158
6162
|
swiper: y.current,
|
|
6159
6163
|
swiperSlideIndex: Y
|
|
6160
6164
|
}));
|
|
6161
6165
|
}
|
|
6162
6166
|
return /* @__PURE__ */ z.createElement(n, kt({
|
|
6163
6167
|
ref: w,
|
|
6164
|
-
className: ia(`${
|
|
6165
|
-
}, S), /* @__PURE__ */ z.createElement(
|
|
6168
|
+
className: ia(`${d}${t ? ` ${t}` : ""}`)
|
|
6169
|
+
}, S), /* @__PURE__ */ z.createElement(Kc.Provider, {
|
|
6166
6170
|
value: y.current
|
|
6167
6171
|
}, P["container-start"], /* @__PURE__ */ z.createElement(i, {
|
|
6168
|
-
className: $
|
|
6172
|
+
className: $c(A.wrapperClass)
|
|
6169
6173
|
}, P["wrapper-start"], B(), P["wrapper-end"]), ta(A) && /* @__PURE__ */ z.createElement(z.Fragment, null, /* @__PURE__ */ z.createElement("div", {
|
|
6170
6174
|
ref: T,
|
|
6171
6175
|
className: "swiper-button-prev"
|
|
@@ -6190,15 +6194,15 @@ const la = /* @__PURE__ */ fn(function(r, e) {
|
|
|
6190
6194
|
zoom: o,
|
|
6191
6195
|
lazy: l,
|
|
6192
6196
|
virtualIndex: s,
|
|
6193
|
-
swiperSlideIndex:
|
|
6194
|
-
...
|
|
6197
|
+
swiperSlideIndex: d,
|
|
6198
|
+
...c
|
|
6195
6199
|
} = r === void 0 ? {} : r;
|
|
6196
|
-
const h =
|
|
6200
|
+
const h = ce(null), [u, m] = Fe("swiper-slide"), [f, p] = Fe(!1);
|
|
6197
6201
|
function w(x, T, E) {
|
|
6198
6202
|
T === h.current && m(E);
|
|
6199
6203
|
}
|
|
6200
6204
|
st(() => {
|
|
6201
|
-
if (typeof
|
|
6205
|
+
if (typeof d < "u" && (h.current.swiperSlideIndex = d), e && (e.current = h.current), !(!h.current || !a)) {
|
|
6202
6206
|
if (a.destroyed) {
|
|
6203
6207
|
u !== "swiper-slide" && m("swiper-slide");
|
|
6204
6208
|
return;
|
|
@@ -6223,7 +6227,7 @@ const la = /* @__PURE__ */ fn(function(r, e) {
|
|
|
6223
6227
|
className: ia(`${u}${i ? ` ${i}` : ""}`),
|
|
6224
6228
|
"data-swiper-slide-index": s,
|
|
6225
6229
|
onLoad: v
|
|
6226
|
-
},
|
|
6230
|
+
}, c), o && /* @__PURE__ */ z.createElement(ln.Provider, {
|
|
6227
6231
|
value: y
|
|
6228
6232
|
}, /* @__PURE__ */ z.createElement("div", {
|
|
6229
6233
|
className: "swiper-zoom-container",
|
|
@@ -6247,32 +6251,32 @@ const ju = ({
|
|
|
6247
6251
|
navigation: o = !1,
|
|
6248
6252
|
className: l = "",
|
|
6249
6253
|
slideClassName: s = "",
|
|
6250
|
-
effect:
|
|
6251
|
-
style:
|
|
6254
|
+
effect: d = "slide",
|
|
6255
|
+
style: c,
|
|
6252
6256
|
onChange: h
|
|
6253
6257
|
}) => {
|
|
6254
|
-
const u =
|
|
6258
|
+
const u = ce(null), m = (p) => {
|
|
6255
6259
|
h && h(p);
|
|
6256
6260
|
}, f = (p) => typeof p == "object";
|
|
6257
6261
|
return /* @__PURE__ */ _(
|
|
6258
6262
|
oa,
|
|
6259
6263
|
{
|
|
6260
|
-
modules: [
|
|
6264
|
+
modules: [Pd, Md, Od, kd],
|
|
6261
6265
|
onSwiper: (p) => {
|
|
6262
6266
|
u.current = p;
|
|
6263
6267
|
},
|
|
6264
6268
|
loop: e,
|
|
6265
|
-
effect:
|
|
6269
|
+
effect: d,
|
|
6266
6270
|
autoplay: t === !0 ? { delay: 3e3 } : t,
|
|
6267
6271
|
spaceBetween: n,
|
|
6268
6272
|
slidesPerView: i,
|
|
6269
6273
|
pagination: a,
|
|
6270
6274
|
className: K("relative", l),
|
|
6271
|
-
style:
|
|
6275
|
+
style: c,
|
|
6272
6276
|
onSlideChange: m,
|
|
6273
6277
|
children: [
|
|
6274
6278
|
r.map((p, w) => /* @__PURE__ */ b(la, { style: { height: "auto" }, className: K(s), children: p }, w)),
|
|
6275
|
-
o &&
|
|
6279
|
+
o && hd && /* @__PURE__ */ _(hr, { children: [
|
|
6276
6280
|
/* @__PURE__ */ b(
|
|
6277
6281
|
Ue,
|
|
6278
6282
|
{
|
|
@@ -6311,8 +6315,8 @@ const ju = ({
|
|
|
6311
6315
|
text: o,
|
|
6312
6316
|
type: l,
|
|
6313
6317
|
errorMsg: s = !1,
|
|
6314
|
-
onChange:
|
|
6315
|
-
rules:
|
|
6318
|
+
onChange: d,
|
|
6319
|
+
rules: c
|
|
6316
6320
|
}) => {
|
|
6317
6321
|
const {
|
|
6318
6322
|
field: h,
|
|
@@ -6320,7 +6324,7 @@ const ju = ({
|
|
|
6320
6324
|
} = Qe({
|
|
6321
6325
|
name: r,
|
|
6322
6326
|
control: e,
|
|
6323
|
-
rules:
|
|
6327
|
+
rules: c
|
|
6324
6328
|
}), m = n || t || i;
|
|
6325
6329
|
return /* @__PURE__ */ b(
|
|
6326
6330
|
Be,
|
|
@@ -6337,7 +6341,7 @@ const ju = ({
|
|
|
6337
6341
|
id: r,
|
|
6338
6342
|
checked: l === "boolean" ? h.value : h.value === o,
|
|
6339
6343
|
onCheckedChange: (f) => {
|
|
6340
|
-
h.onChange(l === "boolean" ? f : f ? o : ""),
|
|
6344
|
+
h.onChange(l === "boolean" ? f : f ? o : ""), d && d();
|
|
6341
6345
|
}
|
|
6342
6346
|
}
|
|
6343
6347
|
),
|
|
@@ -6357,8 +6361,8 @@ const ju = ({
|
|
|
6357
6361
|
required: o = !1,
|
|
6358
6362
|
additional: l,
|
|
6359
6363
|
type: s = "checkbox",
|
|
6360
|
-
onChange:
|
|
6361
|
-
rules:
|
|
6364
|
+
onChange: d,
|
|
6365
|
+
rules: c
|
|
6362
6366
|
}) => {
|
|
6363
6367
|
const {
|
|
6364
6368
|
field: h,
|
|
@@ -6366,10 +6370,10 @@ const ju = ({
|
|
|
6366
6370
|
} = Qe({
|
|
6367
6371
|
name: r,
|
|
6368
6372
|
control: e,
|
|
6369
|
-
rules:
|
|
6373
|
+
rules: c
|
|
6370
6374
|
}), m = (w, y) => {
|
|
6371
6375
|
var g;
|
|
6372
|
-
h.onChange(y ? [...h.value || [], w] : (g = h.value) == null ? void 0 : g.filter((v) => v !== w)),
|
|
6376
|
+
h.onChange(y ? [...h.value || [], w] : (g = h.value) == null ? void 0 : g.filter((v) => v !== w)), d == null || d();
|
|
6373
6377
|
}, f = () => a.map((w) => {
|
|
6374
6378
|
var y;
|
|
6375
6379
|
return /* @__PURE__ */ _(ye, { className: "flex flex-row items-center", children: [
|
|
@@ -6446,8 +6450,8 @@ const ju = ({
|
|
|
6446
6450
|
required: o = !1,
|
|
6447
6451
|
className: l,
|
|
6448
6452
|
additional: s,
|
|
6449
|
-
direction:
|
|
6450
|
-
onChange:
|
|
6453
|
+
direction: d = "vertical",
|
|
6454
|
+
onChange: c,
|
|
6451
6455
|
rules: h
|
|
6452
6456
|
}) => {
|
|
6453
6457
|
const {
|
|
@@ -6470,13 +6474,13 @@ const ju = ({
|
|
|
6470
6474
|
Ra,
|
|
6471
6475
|
{
|
|
6472
6476
|
onValueChange: (p) => {
|
|
6473
|
-
u.onChange(p),
|
|
6477
|
+
u.onChange(p), c && c();
|
|
6474
6478
|
},
|
|
6475
6479
|
value: u.value,
|
|
6476
6480
|
className: K(
|
|
6477
|
-
|
|
6478
|
-
|
|
6479
|
-
|
|
6481
|
+
d === "vertical" && "flex flex-col gap-4",
|
|
6482
|
+
d === "horizontal" && "flex flex-wrap gap-8",
|
|
6483
|
+
d === "grid" && "grid w-full grid-cols-2 gap-x-8 gap-y-4"
|
|
6480
6484
|
),
|
|
6481
6485
|
children: a.map((p) => /* @__PURE__ */ _(ye, { className: "flex flex-row items-center", children: [
|
|
6482
6486
|
/* @__PURE__ */ b(xe, { children: /* @__PURE__ */ b(Ba, { value: p.value, id: p.text, checked: p.value === u.value }) }),
|
|
@@ -6500,26 +6504,26 @@ const ju = ({
|
|
|
6500
6504
|
control: o,
|
|
6501
6505
|
tagDirection: l = "flex-col",
|
|
6502
6506
|
tagSize: s = "md",
|
|
6503
|
-
rules:
|
|
6507
|
+
rules: d
|
|
6504
6508
|
}) => {
|
|
6505
|
-
const { setValue:
|
|
6509
|
+
const { setValue: c, getValues: h } = gn(), {
|
|
6506
6510
|
field: u,
|
|
6507
6511
|
fieldState: { error: m }
|
|
6508
6512
|
} = Qe({
|
|
6509
6513
|
name: t,
|
|
6510
6514
|
control: o,
|
|
6511
6515
|
defaultValue: [],
|
|
6512
|
-
rules:
|
|
6516
|
+
rules: d
|
|
6513
6517
|
}), [f, p] = Fe(""), w = () => {
|
|
6514
6518
|
if (f.trim() !== "") {
|
|
6515
6519
|
const x = h(t) || [];
|
|
6516
|
-
|
|
6520
|
+
c(t, [...x, f.trim()]), p("");
|
|
6517
6521
|
}
|
|
6518
6522
|
}, y = (x) => {
|
|
6519
6523
|
x.key === "Enter" && !x.nativeEvent.isComposing && (x.preventDefault(), w());
|
|
6520
6524
|
}, g = (x) => {
|
|
6521
6525
|
const T = h(t) || [];
|
|
6522
|
-
T.splice(x, 1),
|
|
6526
|
+
T.splice(x, 1), c(t, T);
|
|
6523
6527
|
}, v = n || e || i;
|
|
6524
6528
|
return /* @__PURE__ */ b(
|
|
6525
6529
|
Be,
|
|
@@ -6579,8 +6583,8 @@ const ju = ({
|
|
|
6579
6583
|
required: o = !1,
|
|
6580
6584
|
isTextArea: l = !1,
|
|
6581
6585
|
unitLabel: s,
|
|
6582
|
-
unitLabelBefore:
|
|
6583
|
-
inputType:
|
|
6586
|
+
unitLabelBefore: d,
|
|
6587
|
+
inputType: c = "text",
|
|
6584
6588
|
className: h,
|
|
6585
6589
|
onChange: u,
|
|
6586
6590
|
onBlur: m,
|
|
@@ -6597,7 +6601,7 @@ const ju = ({
|
|
|
6597
6601
|
control: e,
|
|
6598
6602
|
rules: y
|
|
6599
6603
|
}), x = (E) => {
|
|
6600
|
-
const F =
|
|
6604
|
+
const F = c === "number" ? Number(E.target.value) : E.target.value;
|
|
6601
6605
|
g.onChange(F), u == null || u(F);
|
|
6602
6606
|
}, T = n || t || i;
|
|
6603
6607
|
return /* @__PURE__ */ b(
|
|
@@ -6608,7 +6612,7 @@ const ju = ({
|
|
|
6608
6612
|
render: () => /* @__PURE__ */ _(ye, { children: [
|
|
6609
6613
|
T && /* @__PURE__ */ b(We, { required: o, heading: t, label: n, description: i }),
|
|
6610
6614
|
/* @__PURE__ */ b(xe, { children: /* @__PURE__ */ _("div", { className: K("flex w-full max-w-screen-sm items-center gap-2", h), children: [
|
|
6611
|
-
|
|
6615
|
+
d && /* @__PURE__ */ b("div", { className: "whitespace-nowrap", children: d }),
|
|
6612
6616
|
l ? /* @__PURE__ */ b(
|
|
6613
6617
|
Wa,
|
|
6614
6618
|
{
|
|
@@ -6623,7 +6627,7 @@ const ju = ({
|
|
|
6623
6627
|
br,
|
|
6624
6628
|
{
|
|
6625
6629
|
...g,
|
|
6626
|
-
type:
|
|
6630
|
+
type: c,
|
|
6627
6631
|
placeholder: a,
|
|
6628
6632
|
disabled: p,
|
|
6629
6633
|
error: !!v[r],
|
|
@@ -6649,8 +6653,8 @@ const ju = ({
|
|
|
6649
6653
|
buttonLabel: o = "보기",
|
|
6650
6654
|
required: l,
|
|
6651
6655
|
onClick: s,
|
|
6652
|
-
disabled:
|
|
6653
|
-
children:
|
|
6656
|
+
disabled: d = !1,
|
|
6657
|
+
children: c,
|
|
6654
6658
|
urlTitle: h,
|
|
6655
6659
|
rules: u
|
|
6656
6660
|
}) => {
|
|
@@ -6685,7 +6689,7 @@ const ju = ({
|
|
|
6685
6689
|
name: r,
|
|
6686
6690
|
render: () => /* @__PURE__ */ _(ye, { children: [
|
|
6687
6691
|
v && /* @__PURE__ */ b(We, { required: l, heading: t, label: n, description: i }),
|
|
6688
|
-
|
|
6692
|
+
c,
|
|
6689
6693
|
/* @__PURE__ */ _("div", { className: "flex items-center gap-2", children: [
|
|
6690
6694
|
h && /* @__PURE__ */ b(Ga, { size: "sm", className: "flex w-32 justify-center truncate shadow-none", children: h }),
|
|
6691
6695
|
/* @__PURE__ */ b(xe, { children: /* @__PURE__ */ b(
|
|
@@ -6705,7 +6709,7 @@ const ju = ({
|
|
|
6705
6709
|
variant: "outline",
|
|
6706
6710
|
theme: "secondary",
|
|
6707
6711
|
size: "md",
|
|
6708
|
-
disabled:
|
|
6712
|
+
disabled: d || !!w || !p.value,
|
|
6709
6713
|
onClick: g,
|
|
6710
6714
|
children: o
|
|
6711
6715
|
}
|
|
@@ -6718,8 +6722,8 @@ const ju = ({
|
|
|
6718
6722
|
}, Zu = () => {
|
|
6719
6723
|
const [r, e] = Fe([]);
|
|
6720
6724
|
return St(() => {
|
|
6721
|
-
const l = (
|
|
6722
|
-
e(
|
|
6725
|
+
const l = (d, c) => {
|
|
6726
|
+
e(c ? (h) => h.includes(d.id) ? h : [...h, d.id] : (h) => h.filter((u) => u !== d.id));
|
|
6723
6727
|
}, s = Le.subscribe(l);
|
|
6724
6728
|
return e(Le.getOpenPortals()), () => {
|
|
6725
6729
|
s();
|
|
@@ -6744,42 +6748,42 @@ const ju = ({
|
|
|
6744
6748
|
};
|
|
6745
6749
|
var [Rt, Ju] = gr("Tooltip", [
|
|
6746
6750
|
vn
|
|
6747
|
-
]), Bt = vn(),
|
|
6751
|
+
]), Bt = vn(), da = "TooltipProvider", Zc = 700, pr = "tooltip.open", [Jc, kr] = Rt(da), ca = (r) => {
|
|
6748
6752
|
const {
|
|
6749
6753
|
__scopeTooltip: e,
|
|
6750
|
-
delayDuration: t =
|
|
6754
|
+
delayDuration: t = Zc,
|
|
6751
6755
|
skipDelayDuration: n = 300,
|
|
6752
6756
|
disableHoverableContent: i = !1,
|
|
6753
6757
|
children: a
|
|
6754
|
-
} = r, [o, l] = O.useState(!0), s = O.useRef(!1),
|
|
6758
|
+
} = r, [o, l] = O.useState(!0), s = O.useRef(!1), d = O.useRef(0);
|
|
6755
6759
|
return O.useEffect(() => {
|
|
6756
|
-
const
|
|
6757
|
-
return () => window.clearTimeout(
|
|
6760
|
+
const c = d.current;
|
|
6761
|
+
return () => window.clearTimeout(c);
|
|
6758
6762
|
}, []), /* @__PURE__ */ b(
|
|
6759
|
-
|
|
6763
|
+
Jc,
|
|
6760
6764
|
{
|
|
6761
6765
|
scope: e,
|
|
6762
6766
|
isOpenDelayed: o,
|
|
6763
6767
|
delayDuration: t,
|
|
6764
6768
|
onOpen: O.useCallback(() => {
|
|
6765
|
-
window.clearTimeout(
|
|
6769
|
+
window.clearTimeout(d.current), l(!1);
|
|
6766
6770
|
}, []),
|
|
6767
6771
|
onClose: O.useCallback(() => {
|
|
6768
|
-
window.clearTimeout(
|
|
6772
|
+
window.clearTimeout(d.current), d.current = window.setTimeout(
|
|
6769
6773
|
() => l(!0),
|
|
6770
6774
|
n
|
|
6771
6775
|
);
|
|
6772
6776
|
}, [n]),
|
|
6773
6777
|
isPointerInTransitRef: s,
|
|
6774
|
-
onPointerInTransitChange: O.useCallback((
|
|
6775
|
-
s.current =
|
|
6778
|
+
onPointerInTransitChange: O.useCallback((c) => {
|
|
6779
|
+
s.current = c;
|
|
6776
6780
|
}, []),
|
|
6777
6781
|
disableHoverableContent: i,
|
|
6778
6782
|
children: a
|
|
6779
6783
|
}
|
|
6780
6784
|
);
|
|
6781
6785
|
};
|
|
6782
|
-
|
|
6786
|
+
ca.displayName = da;
|
|
6783
6787
|
var Wt = "Tooltip", [eu, Gt] = Rt(Wt), ua = (r) => {
|
|
6784
6788
|
const {
|
|
6785
6789
|
__scopeTooltip: e,
|
|
@@ -6789,7 +6793,7 @@ var Wt = "Tooltip", [eu, Gt] = Rt(Wt), ua = (r) => {
|
|
|
6789
6793
|
onOpenChange: a,
|
|
6790
6794
|
disableHoverableContent: o,
|
|
6791
6795
|
delayDuration: l
|
|
6792
|
-
} = r, s = kr(Wt, r.__scopeTooltip),
|
|
6796
|
+
} = 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
6797
|
prop: n,
|
|
6794
6798
|
defaultProp: i,
|
|
6795
6799
|
onChange: (F) => {
|
|
@@ -6806,14 +6810,14 @@ var Wt = "Tooltip", [eu, Gt] = Rt(Wt), ua = (r) => {
|
|
|
6806
6810
|
}, [p, g]);
|
|
6807
6811
|
return O.useEffect(() => () => {
|
|
6808
6812
|
m.current && (window.clearTimeout(m.current), m.current = 0);
|
|
6809
|
-
}, []), /* @__PURE__ */ b(Ya, { ...
|
|
6813
|
+
}, []), /* @__PURE__ */ b(Ya, { ...d, children: /* @__PURE__ */ b(
|
|
6810
6814
|
eu,
|
|
6811
6815
|
{
|
|
6812
6816
|
scope: e,
|
|
6813
6817
|
contentId: u,
|
|
6814
6818
|
open: y,
|
|
6815
6819
|
stateAttribute: v,
|
|
6816
|
-
trigger:
|
|
6820
|
+
trigger: c,
|
|
6817
6821
|
onTriggerChange: h,
|
|
6818
6822
|
onTriggerEnter: O.useCallback(() => {
|
|
6819
6823
|
s.isOpenDelayed ? E() : x();
|
|
@@ -6831,7 +6835,7 @@ var Wt = "Tooltip", [eu, Gt] = Rt(Wt), ua = (r) => {
|
|
|
6831
6835
|
ua.displayName = Wt;
|
|
6832
6836
|
var mr = "TooltipTrigger", fa = O.forwardRef(
|
|
6833
6837
|
(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),
|
|
6838
|
+
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
6839
|
return O.useEffect(() => () => document.removeEventListener("pointerup", h), [h]), /* @__PURE__ */ b($a, { asChild: !0, ...o, children: /* @__PURE__ */ b(
|
|
6836
6840
|
Pe.button,
|
|
6837
6841
|
{
|
|
@@ -6840,16 +6844,16 @@ var mr = "TooltipTrigger", fa = O.forwardRef(
|
|
|
6840
6844
|
...n,
|
|
6841
6845
|
ref: s,
|
|
6842
6846
|
onPointerMove: Ce(r.onPointerMove, (u) => {
|
|
6843
|
-
u.pointerType !== "touch" && !
|
|
6847
|
+
u.pointerType !== "touch" && !c.current && !a.isPointerInTransitRef.current && (i.onTriggerEnter(), c.current = !0);
|
|
6844
6848
|
}),
|
|
6845
6849
|
onPointerLeave: Ce(r.onPointerLeave, () => {
|
|
6846
|
-
i.onTriggerLeave(),
|
|
6850
|
+
i.onTriggerLeave(), c.current = !1;
|
|
6847
6851
|
}),
|
|
6848
6852
|
onPointerDown: Ce(r.onPointerDown, () => {
|
|
6849
|
-
|
|
6853
|
+
d.current = !0, document.addEventListener("pointerup", h, { once: !0 });
|
|
6850
6854
|
}),
|
|
6851
6855
|
onFocus: Ce(r.onFocus, () => {
|
|
6852
|
-
|
|
6856
|
+
d.current || i.onOpen();
|
|
6853
6857
|
}),
|
|
6854
6858
|
onBlur: Ce(r.onBlur, i.onClose),
|
|
6855
6859
|
onClick: Ce(r.onClick, i.onClose)
|
|
@@ -6866,31 +6870,31 @@ var tu = "TooltipPortal", [ef, ru] = Rt(tu, {
|
|
|
6866
6870
|
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
6871
|
}
|
|
6868
6872
|
), 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:
|
|
6873
|
+
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
6874
|
l(null), h(!1);
|
|
6871
6875
|
}, [h]), m = O.useCallback(
|
|
6872
6876
|
(f, p) => {
|
|
6873
|
-
const w = f.currentTarget, y = { x: f.clientX, y: f.clientY }, g = ou(y, w.getBoundingClientRect()), v = lu(y, g), x =
|
|
6877
|
+
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
6878
|
l(T), h(!0);
|
|
6875
6879
|
},
|
|
6876
6880
|
[h]
|
|
6877
6881
|
);
|
|
6878
6882
|
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),
|
|
6883
|
+
if (s && c) {
|
|
6884
|
+
const f = (w) => m(w, c), p = (w) => m(w, s);
|
|
6885
|
+
return s.addEventListener("pointerleave", f), c.addEventListener("pointerleave", p), () => {
|
|
6886
|
+
s.removeEventListener("pointerleave", f), c.removeEventListener("pointerleave", p);
|
|
6883
6887
|
};
|
|
6884
6888
|
}
|
|
6885
|
-
}, [s,
|
|
6889
|
+
}, [s, c, m, u]), O.useEffect(() => {
|
|
6886
6890
|
if (o) {
|
|
6887
6891
|
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(),
|
|
6892
|
+
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);
|
|
6893
|
+
g ? u() : v && (u(), d());
|
|
6890
6894
|
};
|
|
6891
6895
|
return document.addEventListener("pointermove", f), () => document.removeEventListener("pointermove", f);
|
|
6892
6896
|
}
|
|
6893
|
-
}, [s,
|
|
6897
|
+
}, [s, c, o, d, u]), /* @__PURE__ */ b(ma, { ...r, ref: a });
|
|
6894
6898
|
}), [iu, au] = Rt(Wt, { isInside: !1 }), ma = O.forwardRef(
|
|
6895
6899
|
(r, e) => {
|
|
6896
6900
|
const {
|
|
@@ -6900,16 +6904,16 @@ var tu = "TooltipPortal", [ef, ru] = Rt(tu, {
|
|
|
6900
6904
|
onEscapeKeyDown: a,
|
|
6901
6905
|
onPointerDownOutside: o,
|
|
6902
6906
|
...l
|
|
6903
|
-
} = r, s = Gt(Xe, t),
|
|
6904
|
-
return O.useEffect(() => (document.addEventListener(pr,
|
|
6907
|
+
} = r, s = Gt(Xe, t), d = Bt(t), { onClose: c } = s;
|
|
6908
|
+
return O.useEffect(() => (document.addEventListener(pr, c), () => document.removeEventListener(pr, c)), [c]), O.useEffect(() => {
|
|
6905
6909
|
if (s.trigger) {
|
|
6906
6910
|
const h = (u) => {
|
|
6907
6911
|
const m = u.target;
|
|
6908
|
-
m != null && m.contains(s.trigger) &&
|
|
6912
|
+
m != null && m.contains(s.trigger) && c();
|
|
6909
6913
|
};
|
|
6910
6914
|
return window.addEventListener("scroll", h, { capture: !0 }), () => window.removeEventListener("scroll", h, { capture: !0 });
|
|
6911
6915
|
}
|
|
6912
|
-
}, [s.trigger,
|
|
6916
|
+
}, [s.trigger, c]), /* @__PURE__ */ b(
|
|
6913
6917
|
La,
|
|
6914
6918
|
{
|
|
6915
6919
|
asChild: !0,
|
|
@@ -6917,12 +6921,12 @@ var tu = "TooltipPortal", [ef, ru] = Rt(tu, {
|
|
|
6917
6921
|
onEscapeKeyDown: a,
|
|
6918
6922
|
onPointerDownOutside: o,
|
|
6919
6923
|
onFocusOutside: (h) => h.preventDefault(),
|
|
6920
|
-
onDismiss:
|
|
6924
|
+
onDismiss: c,
|
|
6921
6925
|
children: /* @__PURE__ */ _(
|
|
6922
6926
|
ja,
|
|
6923
6927
|
{
|
|
6924
6928
|
"data-state": s.stateAttribute,
|
|
6925
|
-
...
|
|
6929
|
+
...d,
|
|
6926
6930
|
...l,
|
|
6927
6931
|
ref: e,
|
|
6928
6932
|
style: {
|
|
@@ -6999,7 +7003,7 @@ function lu(r, e, t = 5) {
|
|
|
6999
7003
|
}
|
|
7000
7004
|
return n;
|
|
7001
7005
|
}
|
|
7002
|
-
function
|
|
7006
|
+
function du(r) {
|
|
7003
7007
|
const { top: e, right: t, bottom: n, left: i } = r;
|
|
7004
7008
|
return [
|
|
7005
7009
|
{ x: i, y: e },
|
|
@@ -7008,12 +7012,12 @@ function cu(r) {
|
|
|
7008
7012
|
{ x: i, y: n }
|
|
7009
7013
|
];
|
|
7010
7014
|
}
|
|
7011
|
-
function
|
|
7015
|
+
function cu(r, e) {
|
|
7012
7016
|
const { x: t, y: n } = r;
|
|
7013
7017
|
let i = !1;
|
|
7014
7018
|
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 !=
|
|
7019
|
+
const l = e[a].x, s = e[a].y, d = e[o].x, c = e[o].y;
|
|
7020
|
+
s > n != c > n && t < (d - l) * (n - s) / (c - s) + l && (i = !i);
|
|
7017
7021
|
}
|
|
7018
7022
|
return i;
|
|
7019
7023
|
}
|
|
@@ -7046,8 +7050,8 @@ function fu(r) {
|
|
|
7046
7050
|
}
|
|
7047
7051
|
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
7052
|
}
|
|
7049
|
-
var pu =
|
|
7050
|
-
const
|
|
7053
|
+
var pu = ca, mu = ua, hu = fa, ga = pa;
|
|
7054
|
+
const dn = {
|
|
7051
7055
|
primary: "bg-main-600 text-white",
|
|
7052
7056
|
secondary: "bg-grey-800 text-white",
|
|
7053
7057
|
white: "bg-grey-50 text-grey-800"
|
|
@@ -7119,19 +7123,19 @@ const cn = {
|
|
|
7119
7123
|
icRight: o,
|
|
7120
7124
|
children: l,
|
|
7121
7125
|
bubbleTip: s = !0,
|
|
7122
|
-
...
|
|
7123
|
-
},
|
|
7126
|
+
...d
|
|
7127
|
+
}, c) => {
|
|
7124
7128
|
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
7129
|
return /* @__PURE__ */ b(
|
|
7126
7130
|
ga,
|
|
7127
7131
|
{
|
|
7128
|
-
ref:
|
|
7132
|
+
ref: c,
|
|
7129
7133
|
avoidCollisions: !1,
|
|
7130
7134
|
sideOffset: s ? i : 4,
|
|
7131
7135
|
side: m,
|
|
7132
7136
|
align: f,
|
|
7133
7137
|
style: { zIndex: 50 },
|
|
7134
|
-
...
|
|
7138
|
+
...d,
|
|
7135
7139
|
children: /* @__PURE__ */ _(
|
|
7136
7140
|
"div",
|
|
7137
7141
|
{
|
|
@@ -7139,7 +7143,7 @@ const cn = {
|
|
|
7139
7143
|
"relative z-50 rounded",
|
|
7140
7144
|
s && "m-1",
|
|
7141
7145
|
e === "white" && "border-border border",
|
|
7142
|
-
|
|
7146
|
+
dn[e],
|
|
7143
7147
|
r
|
|
7144
7148
|
),
|
|
7145
7149
|
children: [
|
|
@@ -7151,7 +7155,7 @@ const cn = {
|
|
|
7151
7155
|
className: K(
|
|
7152
7156
|
"relative z-40 flex max-w-sm items-center font-normal",
|
|
7153
7157
|
e !== "white" && "bg-opacity-90",
|
|
7154
|
-
|
|
7158
|
+
dn[e],
|
|
7155
7159
|
gu[t]
|
|
7156
7160
|
),
|
|
7157
7161
|
children: [
|
|
@@ -7179,10 +7183,10 @@ const wa = ({
|
|
|
7179
7183
|
position: o = "top-center",
|
|
7180
7184
|
bubbleTip: l = !0,
|
|
7181
7185
|
forceMount: s,
|
|
7182
|
-
isMobile:
|
|
7186
|
+
isMobile: d = vt
|
|
7183
7187
|
}) => {
|
|
7184
|
-
const [
|
|
7185
|
-
|
|
7188
|
+
const [c, h] = O.useState(!1), u = O.useRef(null), m = typeof d == "number" ? d : 3e3, f = () => {
|
|
7189
|
+
c ? h(!1) : (h(!0), u.current && clearTimeout(u.current), u.current = setTimeout(() => h(!1), m));
|
|
7186
7190
|
};
|
|
7187
7191
|
return O.useEffect(() => () => {
|
|
7188
7192
|
u.current && clearTimeout(u.current);
|
|
@@ -7191,7 +7195,7 @@ const wa = ({
|
|
|
7191
7195
|
bu,
|
|
7192
7196
|
{
|
|
7193
7197
|
asChild: !0,
|
|
7194
|
-
"data-state":
|
|
7198
|
+
"data-state": c ? "delayed-open" : "closed",
|
|
7195
7199
|
onMouseLeave: vt ? void 0 : () => h(!1),
|
|
7196
7200
|
onMouseEnter: vt ? void 0 : () => h(!0),
|
|
7197
7201
|
onClick: vt ? f : void 0,
|
|
@@ -7206,7 +7210,7 @@ const wa = ({
|
|
|
7206
7210
|
icLeft: i,
|
|
7207
7211
|
icRight: a,
|
|
7208
7212
|
position: o,
|
|
7209
|
-
forceMount: s ||
|
|
7213
|
+
forceMount: s || c || void 0,
|
|
7210
7214
|
bubbleTip: l,
|
|
7211
7215
|
children: r
|
|
7212
7216
|
}
|
|
@@ -7218,17 +7222,17 @@ function xu(r, e = []) {
|
|
|
7218
7222
|
function n(a, o) {
|
|
7219
7223
|
const l = O.createContext(o), s = t.length;
|
|
7220
7224
|
t = [...t, o];
|
|
7221
|
-
function
|
|
7225
|
+
function d(h) {
|
|
7222
7226
|
const { scope: u, children: m, ...f } = h, p = (u == null ? void 0 : u[r][s]) || l, w = O.useMemo(() => f, Object.values(f));
|
|
7223
7227
|
return /* @__PURE__ */ b(p.Provider, { value: w, children: m });
|
|
7224
7228
|
}
|
|
7225
|
-
function
|
|
7229
|
+
function c(h, u) {
|
|
7226
7230
|
const m = (u == null ? void 0 : u[r][s]) || l, f = O.useContext(m);
|
|
7227
7231
|
if (f) return f;
|
|
7228
7232
|
if (o !== void 0) return o;
|
|
7229
7233
|
throw new Error(`\`${h}\` must be used within \`${a}\``);
|
|
7230
7234
|
}
|
|
7231
|
-
return
|
|
7235
|
+
return d.displayName = a + "Provider", [d, c];
|
|
7232
7236
|
}
|
|
7233
7237
|
const i = () => {
|
|
7234
7238
|
const a = t.map((o) => O.createContext(o));
|
|
@@ -7251,8 +7255,8 @@ function Tu(...r) {
|
|
|
7251
7255
|
scopeName: i.scopeName
|
|
7252
7256
|
}));
|
|
7253
7257
|
return function(a) {
|
|
7254
|
-
const o = n.reduce((l, { useScope: s, scopeName:
|
|
7255
|
-
const h = s(a)[`__scope${
|
|
7258
|
+
const o = n.reduce((l, { useScope: s, scopeName: d }) => {
|
|
7259
|
+
const h = s(a)[`__scope${d}`];
|
|
7256
7260
|
return { ...l, ...h };
|
|
7257
7261
|
}, {});
|
|
7258
7262
|
return O.useMemo(() => ({ [`__scope${e.scopeName}`]: o }), [o]);
|
|
@@ -7328,10 +7332,10 @@ var [Ta, Sa] = ya(Ze), Cu = z.forwardRef((r, e) => {
|
|
|
7328
7332
|
defaultProp: n,
|
|
7329
7333
|
onChange: i
|
|
7330
7334
|
}), s = z.useCallback(
|
|
7331
|
-
(
|
|
7335
|
+
(c) => l((h = []) => [...h, c]),
|
|
7332
7336
|
[l]
|
|
7333
|
-
),
|
|
7334
|
-
(
|
|
7337
|
+
), d = z.useCallback(
|
|
7338
|
+
(c) => l((h = []) => h.filter((u) => u !== c)),
|
|
7335
7339
|
[l]
|
|
7336
7340
|
);
|
|
7337
7341
|
return /* @__PURE__ */ b(
|
|
@@ -7341,7 +7345,7 @@ var [Ta, Sa] = ya(Ze), Cu = z.forwardRef((r, e) => {
|
|
|
7341
7345
|
type: "multiple",
|
|
7342
7346
|
value: o,
|
|
7343
7347
|
onItemActivate: s,
|
|
7344
|
-
onItemDeactivate:
|
|
7348
|
+
onItemDeactivate: d,
|
|
7345
7349
|
children: /* @__PURE__ */ b(Ca, { ...a, ref: e })
|
|
7346
7350
|
}
|
|
7347
7351
|
);
|
|
@@ -7357,14 +7361,14 @@ var [Pu, Mu] = ya(Ze), Ca = z.forwardRef(
|
|
|
7357
7361
|
dir: o,
|
|
7358
7362
|
loop: l = !0,
|
|
7359
7363
|
...s
|
|
7360
|
-
} = r,
|
|
7364
|
+
} = r, d = xa(t), c = mn(o), h = { role: "group", dir: c, ...s };
|
|
7361
7365
|
return /* @__PURE__ */ b(Pu, { scope: t, rovingFocus: i, disabled: n, children: i ? /* @__PURE__ */ b(
|
|
7362
7366
|
qa,
|
|
7363
7367
|
{
|
|
7364
7368
|
asChild: !0,
|
|
7365
|
-
...
|
|
7369
|
+
...d,
|
|
7366
7370
|
orientation: a,
|
|
7367
|
-
dir:
|
|
7371
|
+
dir: c,
|
|
7368
7372
|
loop: l,
|
|
7369
7373
|
children: /* @__PURE__ */ b(Pe.div, { ...h, ref: e })
|
|
7370
7374
|
}
|
|
@@ -7381,13 +7385,13 @@ var [Pu, Mu] = ya(Ze), Ca = z.forwardRef(
|
|
|
7381
7385
|
focusable: !o,
|
|
7382
7386
|
active: a,
|
|
7383
7387
|
ref: s,
|
|
7384
|
-
children: /* @__PURE__ */ b(
|
|
7388
|
+
children: /* @__PURE__ */ b(cn, { ...l, ref: e })
|
|
7385
7389
|
}
|
|
7386
|
-
) : /* @__PURE__ */ b(
|
|
7390
|
+
) : /* @__PURE__ */ b(cn, { ...l, ref: e });
|
|
7387
7391
|
}
|
|
7388
7392
|
);
|
|
7389
7393
|
Ea.displayName = Lt;
|
|
7390
|
-
var
|
|
7394
|
+
var cn = z.forwardRef(
|
|
7391
7395
|
(r, e) => {
|
|
7392
7396
|
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
7397
|
return /* @__PURE__ */ b(
|
|
@@ -7458,7 +7462,7 @@ const Ou = _a(
|
|
|
7458
7462
|
Dr.displayName = "ToggleGroupContext";
|
|
7459
7463
|
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
7464
|
_r.displayName = Pa.displayName;
|
|
7461
|
-
const
|
|
7465
|
+
const dt = O.forwardRef(({ className: r, checked: e = !1, children: t, ...n }, i) => {
|
|
7462
7466
|
const a = O.useContext(Dr);
|
|
7463
7467
|
return /* @__PURE__ */ b(
|
|
7464
7468
|
Ma,
|
|
@@ -7479,7 +7483,7 @@ const ct = O.forwardRef(({ className: r, checked: e = !1, children: t, ...n }, i
|
|
|
7479
7483
|
}
|
|
7480
7484
|
);
|
|
7481
7485
|
});
|
|
7482
|
-
|
|
7486
|
+
dt.displayName = Ma.displayName;
|
|
7483
7487
|
const Iu = ({
|
|
7484
7488
|
options: r,
|
|
7485
7489
|
variant: e = "outline",
|
|
@@ -7495,45 +7499,45 @@ const Iu = ({
|
|
|
7495
7499
|
{
|
|
7496
7500
|
type: "single",
|
|
7497
7501
|
value: a,
|
|
7498
|
-
onValueChange: (
|
|
7499
|
-
!l && !
|
|
7502
|
+
onValueChange: (d) => {
|
|
7503
|
+
!l && !d || o(d);
|
|
7500
7504
|
},
|
|
7501
7505
|
theme: t,
|
|
7502
7506
|
size: n,
|
|
7503
7507
|
shape: i,
|
|
7504
7508
|
className: s,
|
|
7505
|
-
children: r.map((
|
|
7509
|
+
children: r.map((d) => d.tooltip ? /* @__PURE__ */ b(
|
|
7506
7510
|
wa,
|
|
7507
7511
|
{
|
|
7508
|
-
label:
|
|
7509
|
-
variant:
|
|
7510
|
-
size:
|
|
7511
|
-
icLeft:
|
|
7512
|
-
icRight:
|
|
7513
|
-
position:
|
|
7514
|
-
bubbleTip:
|
|
7512
|
+
label: d.tooltip.label,
|
|
7513
|
+
variant: d.tooltip.variant,
|
|
7514
|
+
size: d.tooltip.size,
|
|
7515
|
+
icLeft: d.tooltip.icLeft,
|
|
7516
|
+
icRight: d.tooltip.icRight,
|
|
7517
|
+
position: d.tooltip.position,
|
|
7518
|
+
bubbleTip: d.tooltip.bubbleTip,
|
|
7515
7519
|
children: /* @__PURE__ */ b(
|
|
7516
|
-
|
|
7520
|
+
dt,
|
|
7517
7521
|
{
|
|
7518
|
-
value:
|
|
7519
|
-
checked: a ===
|
|
7520
|
-
disabled:
|
|
7522
|
+
value: d.value,
|
|
7523
|
+
checked: a === d.value,
|
|
7524
|
+
disabled: d.disabled,
|
|
7521
7525
|
variant: e,
|
|
7522
|
-
children:
|
|
7526
|
+
children: d.label
|
|
7523
7527
|
}
|
|
7524
7528
|
)
|
|
7525
7529
|
},
|
|
7526
|
-
|
|
7530
|
+
d.value
|
|
7527
7531
|
) : /* @__PURE__ */ b(
|
|
7528
|
-
|
|
7532
|
+
dt,
|
|
7529
7533
|
{
|
|
7530
|
-
value:
|
|
7531
|
-
checked: a ===
|
|
7532
|
-
disabled:
|
|
7534
|
+
value: d.value,
|
|
7535
|
+
checked: a === d.value,
|
|
7536
|
+
disabled: d.disabled,
|
|
7533
7537
|
variant: e,
|
|
7534
|
-
children:
|
|
7538
|
+
children: d.label
|
|
7535
7539
|
},
|
|
7536
|
-
|
|
7540
|
+
d.value
|
|
7537
7541
|
))
|
|
7538
7542
|
}
|
|
7539
7543
|
), Au = ({
|
|
@@ -7566,7 +7570,7 @@ const Iu = ({
|
|
|
7566
7570
|
position: s.tooltip.position,
|
|
7567
7571
|
bubbleTip: s.tooltip.bubbleTip,
|
|
7568
7572
|
children: /* @__PURE__ */ b(
|
|
7569
|
-
|
|
7573
|
+
dt,
|
|
7570
7574
|
{
|
|
7571
7575
|
value: s.value,
|
|
7572
7576
|
checked: (a || []).includes(s.value),
|
|
@@ -7578,7 +7582,7 @@ const Iu = ({
|
|
|
7578
7582
|
},
|
|
7579
7583
|
s.value
|
|
7580
7584
|
) : /* @__PURE__ */ b(
|
|
7581
|
-
|
|
7585
|
+
dt,
|
|
7582
7586
|
{
|
|
7583
7587
|
value: s.value,
|
|
7584
7588
|
checked: (a || []).includes(s.value),
|
|
@@ -7611,14 +7615,14 @@ export {
|
|
|
7611
7615
|
Wu as MainBannerImage,
|
|
7612
7616
|
lf as Modal,
|
|
7613
7617
|
Au as Multiple,
|
|
7614
|
-
|
|
7618
|
+
df as PortalContainer,
|
|
7615
7619
|
Gu as PremiumCard,
|
|
7616
7620
|
Uu as RadioFormField,
|
|
7617
7621
|
Iu as Single,
|
|
7618
7622
|
Xu as StringArrayFormField,
|
|
7619
7623
|
Qu as StringInputField,
|
|
7620
7624
|
$u as TitleTagCard,
|
|
7621
|
-
|
|
7625
|
+
cf as Toaster,
|
|
7622
7626
|
rf as ToggleButtonGroup,
|
|
7623
7627
|
wa as Tooltip,
|
|
7624
7628
|
Ku as UrlFormField,
|