@equal-experts/kuat-react 0.5.0 → 0.6.0
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/ui/carousel/carousel.d.ts +38 -0
- package/dist/components/ui/carousel/index.d.ts +2 -0
- package/dist/components/ui/kuat-carousel/kuat-carousel.d.ts +9 -25
- package/dist/components/ui/sonner/index.d.ts +4 -0
- package/dist/components/ui/sonner/sonner-content.d.ts +15 -0
- package/dist/components/ui/sonner/sonner.d.ts +21 -0
- package/dist/index.css +1 -1
- package/dist/index.d.ts +4 -0
- package/dist/index.js +1066 -1051
- package/dist/sonner-content-B6xwQO7z.js +107 -0
- package/dist/sonner-content.css +1 -0
- package/dist/sonner.d.ts +1 -0
- package/dist/sonner.js +7 -0
- package/dist/styles.css +1 -1
- package/package.json +9 -4
package/dist/index.js
CHANGED
|
@@ -1,52 +1,53 @@
|
|
|
1
|
-
import { c as
|
|
1
|
+
import { c as v } from "./utils-DLUjLwnh.js";
|
|
2
2
|
import { S as st } from "./button-group-BNfxHMty.js";
|
|
3
|
-
import { d as
|
|
4
|
-
import { jsxs as
|
|
3
|
+
import { d as Xn, B as Yn, a as Qn, b as Jn, c as Wn } from "./button-group-BNfxHMty.js";
|
|
4
|
+
import { jsxs as H, jsx as d, Fragment as _e } from "react/jsx-runtime";
|
|
5
5
|
import * as _ from "react";
|
|
6
|
-
import { useRef as We, useState as et, useCallback as
|
|
7
|
-
import { ChevronLeft as
|
|
8
|
-
import { b as
|
|
9
|
-
import { A as
|
|
10
|
-
import { A as
|
|
11
|
-
import { c as
|
|
6
|
+
import { useRef as We, useState as et, useCallback as At, useEffect as He } from "react";
|
|
7
|
+
import { ChevronLeft as Vt, ChevronRight as Oe, MoreHorizontal as Dt, ChevronDown as Mt } from "lucide-react";
|
|
8
|
+
import { b as tr, a as nr, K as rr } from "./kuat-radial-progress-B3nQqPFW.js";
|
|
9
|
+
import { A as sr, c as cr, a as ar, b as ir } from "./accordion-DwQCxX_5.js";
|
|
10
|
+
import { A as ur, i as dr, j as fr, d as mr, h as pr, f as hr, e as gr, b as br, a as Sr, g as Cr, c as Nr } from "./alert-dialog-CT9DCCMH.js";
|
|
11
|
+
import { c as _r, a as Er, B as Lr, b as wr } from "./badge-Yftb6Tdy.js";
|
|
12
12
|
import * as R from "@radix-ui/react-dropdown-menu";
|
|
13
|
-
import { d as
|
|
14
|
-
import { a as
|
|
15
|
-
import { a as
|
|
16
|
-
import { j as
|
|
17
|
-
import { K as
|
|
18
|
-
import { b as
|
|
19
|
-
import { c as
|
|
20
|
-
import { b as
|
|
21
|
-
import { a as
|
|
22
|
-
|
|
13
|
+
import { d as vr, c as Ir, a as Hr, B as Tr, b as kr } from "./button-DqdoNQqx.js";
|
|
14
|
+
import { a as Vr, T as Dr } from "./textarea-DiU8h_H0.js";
|
|
15
|
+
import { a as Or, I as Rr } from "./input-2x92vprz.js";
|
|
16
|
+
import { j as Br, F as Fr, a as Gr, b as Zr, c as Kr, d as Ur, e as jr, f as zr, g as $r, h as qr, i as Xr } from "./field-DRLopwY4.js";
|
|
17
|
+
import { K as Qr, j as Jr, k as Wr, S as eo, a as to, b as no, c as ro, d as oo, e as so, f as co, g as ao, h as io, i as lo } from "./select-Oz2Zj-L0.js";
|
|
18
|
+
import { b as fo, c as mo, C as po, a as ho } from "./checkbox-field-Bslh9sHw.js";
|
|
19
|
+
import { c as bo, d as So, b as Co, R as No, a as yo } from "./radio-field-G8dvdsLE.js";
|
|
20
|
+
import { b as Eo, c as Lo, S as wo, a as xo } from "./switch-field-Ce9CiRqk.js";
|
|
21
|
+
import { a as Io, b as Ho, T as To, c as ko, d as Ao } from "./constants-DHz0LWRt.js";
|
|
22
|
+
import { a as Do, S as Mo, b as Oo, t as Ro } from "./sonner-content-B6xwQO7z.js";
|
|
23
|
+
const Rn = _.forwardRef(function({
|
|
23
24
|
className: t,
|
|
24
25
|
asChild: n = !1,
|
|
25
26
|
imageSrc: r = null,
|
|
26
27
|
imageAlt: s = "",
|
|
27
|
-
contentText:
|
|
28
|
+
contentText: c = null,
|
|
28
29
|
headerAccessory: o = null,
|
|
29
30
|
customContent: l = null,
|
|
30
|
-
footer:
|
|
31
|
-
badge:
|
|
32
|
-
category:
|
|
33
|
-
title:
|
|
34
|
-
titleHeadingLevel:
|
|
31
|
+
footer: a = null,
|
|
32
|
+
badge: u,
|
|
33
|
+
category: S,
|
|
34
|
+
title: i,
|
|
35
|
+
titleHeadingLevel: m = 3,
|
|
35
36
|
children: C,
|
|
36
|
-
...
|
|
37
|
+
...p
|
|
37
38
|
}, h) {
|
|
38
|
-
const
|
|
39
|
-
r !== null ? /* @__PURE__ */
|
|
40
|
-
/* @__PURE__ */
|
|
41
|
-
/* @__PURE__ */
|
|
42
|
-
/* @__PURE__ */
|
|
43
|
-
/* @__PURE__ */
|
|
44
|
-
/* @__PURE__ */
|
|
45
|
-
/* @__PURE__ */
|
|
39
|
+
const b = `h${m}`, f = /* @__PURE__ */ H(_e, { children: [
|
|
40
|
+
r !== null ? /* @__PURE__ */ d("div", { className: "content-card__media", children: /* @__PURE__ */ d("img", { className: "content-card__media-img", alt: s, src: r }) }) : null,
|
|
41
|
+
/* @__PURE__ */ H("div", { className: "content-card__body", children: [
|
|
42
|
+
/* @__PURE__ */ H("div", { className: "content-card__heading-row", children: [
|
|
43
|
+
/* @__PURE__ */ H("div", { className: "content-card__heading-left", children: [
|
|
44
|
+
/* @__PURE__ */ H("div", { className: "content-card__heading-meta", children: [
|
|
45
|
+
/* @__PURE__ */ d("div", { "data-slot": "badge", className: "content-card__badge", children: u }),
|
|
46
|
+
/* @__PURE__ */ d("p", { className: "content-card__category", children: S })
|
|
46
47
|
] }),
|
|
47
|
-
/* @__PURE__ */
|
|
48
|
+
/* @__PURE__ */ d(b, { className: "content-card__title", children: i })
|
|
48
49
|
] }),
|
|
49
|
-
/* @__PURE__ */
|
|
50
|
+
/* @__PURE__ */ d(
|
|
50
51
|
"div",
|
|
51
52
|
{
|
|
52
53
|
"data-slot": "header-accessory",
|
|
@@ -55,118 +56,118 @@ const On = _.forwardRef(function({
|
|
|
55
56
|
}
|
|
56
57
|
)
|
|
57
58
|
] }),
|
|
58
|
-
|
|
59
|
-
/* @__PURE__ */
|
|
60
|
-
/* @__PURE__ */
|
|
59
|
+
c != null ? /* @__PURE__ */ d("div", { "data-slot": "content", className: "content-card__content", children: /* @__PURE__ */ d("p", { className: "content-card__content-text", children: c }) }) : null,
|
|
60
|
+
/* @__PURE__ */ d("div", { "data-slot": "custom-content", className: "content-card__custom-content", children: l ?? null }),
|
|
61
|
+
/* @__PURE__ */ d("div", { "data-slot": "footer", className: "content-card__footer", children: a ?? null })
|
|
61
62
|
] })
|
|
62
63
|
] });
|
|
63
64
|
if (n) {
|
|
64
|
-
const
|
|
65
|
-
if (!_.isValidElement(
|
|
65
|
+
const g = _.Children.only(C);
|
|
66
|
+
if (!_.isValidElement(g))
|
|
66
67
|
throw new Error("ContentCard: when `asChild` is true, provide a single React element child.");
|
|
67
|
-
const N =
|
|
68
|
+
const N = g;
|
|
68
69
|
return _.cloneElement(
|
|
69
70
|
N,
|
|
70
71
|
{
|
|
71
|
-
...
|
|
72
|
+
...p,
|
|
72
73
|
ref: h,
|
|
73
74
|
"data-slot": "content-card",
|
|
74
|
-
className:
|
|
75
|
+
className: v("content-card", N.props.className, t)
|
|
75
76
|
},
|
|
76
|
-
|
|
77
|
+
f
|
|
77
78
|
);
|
|
78
79
|
}
|
|
79
|
-
return /* @__PURE__ */
|
|
80
|
+
return /* @__PURE__ */ d(
|
|
80
81
|
"div",
|
|
81
82
|
{
|
|
82
83
|
ref: h,
|
|
83
84
|
"data-slot": "content-card",
|
|
84
|
-
className:
|
|
85
|
-
...
|
|
86
|
-
children:
|
|
85
|
+
className: v("content-card", t),
|
|
86
|
+
...p,
|
|
87
|
+
children: f
|
|
87
88
|
}
|
|
88
89
|
);
|
|
89
90
|
});
|
|
90
|
-
function
|
|
91
|
-
return /* @__PURE__ */
|
|
91
|
+
function Te({ className: e, textColor: t = "grey" }) {
|
|
92
|
+
return /* @__PURE__ */ H(
|
|
92
93
|
"svg",
|
|
93
94
|
{
|
|
94
|
-
className:
|
|
95
|
+
className: v("ee-logo", `ee-logo--${t}`, e),
|
|
95
96
|
viewBox: "0 0 500 133",
|
|
96
97
|
fill: "none",
|
|
97
98
|
xmlns: "http://www.w3.org/2000/svg",
|
|
98
99
|
"aria-label": "Equal Experts logo",
|
|
99
100
|
children: [
|
|
100
|
-
/* @__PURE__ */
|
|
101
|
-
/* @__PURE__ */
|
|
102
|
-
/* @__PURE__ */
|
|
103
|
-
/* @__PURE__ */
|
|
104
|
-
/* @__PURE__ */
|
|
105
|
-
/* @__PURE__ */
|
|
106
|
-
/* @__PURE__ */
|
|
101
|
+
/* @__PURE__ */ H("g", { clipPath: "url(#ee-logo-clip)", children: [
|
|
102
|
+
/* @__PURE__ */ H("g", { className: "ee-logo__text", fill: "currentColor", children: [
|
|
103
|
+
/* @__PURE__ */ d("path", { d: "M220.235 1.45712L219.413 13.0751H197.72V23.2946H216.859V34.844H197.72V45.3862H219.667V57.0237H184.687V1.45712H220.235Z" }),
|
|
104
|
+
/* @__PURE__ */ d("path", { d: "M227.495 29.0742C227.495 11.6766 233.601 0.136902 250.675 0.136902C267.75 0.136902 273.855 11.6766 273.855 29.0742V29.3382C273.855 41.4549 270.92 50.6084 263.454 55.2243L271.869 65.0037L260.568 70.7736L252.446 58.256C251.872 58.3312 251.293 58.3606 250.714 58.344C233.64 58.344 227.534 46.7945 227.534 29.3187L227.495 29.0742ZM241.194 29.2307C241.194 40.6921 243.669 46.55 250.685 46.55C257.701 46.55 260.254 40.6823 260.254 29.2307C260.254 17.779 257.691 11.9211 250.685 11.9211C243.679 11.9211 241.194 17.8572 241.194 29.2307Z" }),
|
|
105
|
+
/* @__PURE__ */ d("path", { d: "M295.871 1.36911V35.2059C295.871 42.7947 297.436 46.5891 304.119 46.5891C310.802 46.5891 312.368 42.7947 312.368 35.2059V1.36911H325.401V35.8318C325.401 50.5009 320.284 58.3244 304.119 58.3244C287.955 58.3244 282.847 50.5009 282.847 35.8318V1.36911H295.871Z" }),
|
|
106
|
+
/* @__PURE__ */ d("path", { d: "M361.282 1.45712C365.734 13.0751 373.493 37.0737 378.894 57.014H365.656L363.258 46.462H346.38L343.982 57.014H330.724C335.651 38.2094 341.53 19.6666 348.337 1.45712H361.282ZM354.599 16.7032C352.544 22.8838 350.89 28.9079 349.315 34.844H360.294C358.562 28.9079 356.996 22.8838 355.01 16.7032H354.599Z" }),
|
|
107
|
+
/* @__PURE__ */ d("path", { d: "M399.139 1.45712V45.3862H421.076V57.0237H386.106V1.45712H399.139Z" })
|
|
107
108
|
] }),
|
|
108
|
-
/* @__PURE__ */
|
|
109
|
-
/* @__PURE__ */
|
|
110
|
-
/* @__PURE__ */
|
|
111
|
-
/* @__PURE__ */
|
|
112
|
-
/* @__PURE__ */
|
|
113
|
-
/* @__PURE__ */
|
|
114
|
-
/* @__PURE__ */
|
|
115
|
-
/* @__PURE__ */
|
|
116
|
-
/* @__PURE__ */
|
|
117
|
-
/* @__PURE__ */
|
|
118
|
-
/* @__PURE__ */
|
|
119
|
-
/* @__PURE__ */
|
|
109
|
+
/* @__PURE__ */ d("path", { d: "M102.74 38.8927H40.5969V57.5323H102.74V38.8927Z", fill: "#1795D4" }),
|
|
110
|
+
/* @__PURE__ */ d("path", { d: "M102.74 75.3895H40.5969V93.029H102.74V75.3895Z", fill: "#1795D4" }),
|
|
111
|
+
/* @__PURE__ */ d("path", { d: "M0.489227 2.44485V20.7938V110.382V128.741H19.1389H56.6732V110.382H19.1389V20.7938H56.6732V2.44485H19.1389H0.489227Z", fill: "#1795D4" }),
|
|
112
|
+
/* @__PURE__ */ d("path", { d: "M124.198 2.44485H85.6262V21.0844H124.198V112.092H85.6262V130.741H124.198H142.847V112.092V21.0844V2.44485H124.198Z", fill: "#1795D4" }),
|
|
113
|
+
/* @__PURE__ */ H("g", { className: "ee-logo__text", fill: "currentColor", children: [
|
|
114
|
+
/* @__PURE__ */ d("path", { d: "M220.235 75.2819L219.413 86.9096H197.72V97.1291H216.859V108.679H197.72V119.231H219.667V130.849H184.687V75.2819H220.235Z" }),
|
|
115
|
+
/* @__PURE__ */ d("path", { d: "M240.773 75.3015C243.17 80.1912 246.712 87.0368 249.677 92.2101H249.931C252.984 87.2519 256.614 80.1716 258.924 75.3015H273.601C269.687 83.2228 263.63 93.6868 258.014 102.928L274.765 130.868H259.168L250.088 113.969H249.853L240.616 130.868H225.264L241.683 102.821C236.487 94.0193 229.941 82.1275 226.174 75.2819L240.773 75.3015Z" }),
|
|
116
|
+
/* @__PURE__ */ d("path", { d: "M296.204 75.3015C301.096 75.3015 305.939 75.634 309.648 76.8759C315.842 79.0959 319.873 85.1982 319.873 93.7748C319.873 106.39 311.879 112.649 298.425 112.649H294.804V130.849H281.8V75.3015H296.204ZM294.804 101.021H297.358C302.965 101.021 306.164 100.366 306.164 93.7748C306.164 91.3006 305.254 89.1589 303.767 88.1614C302.28 87.1639 300.313 86.9292 297.505 86.9292H294.785L294.804 101.021Z" }),
|
|
117
|
+
/* @__PURE__ */ d("path", { d: "M363.924 75.2819L363.092 86.9096H341.399V97.1291H360.538V108.679H341.399V119.231H363.346V130.849H328.366V75.2819H363.924Z" }),
|
|
118
|
+
/* @__PURE__ */ d("path", { d: "M387.593 75.3015C392.485 75.3015 397.329 75.634 401.037 76.8759C407.221 79.0959 411.262 85.1884 411.262 93.7748C411.262 101.442 408.327 106.801 402.935 109.764L412.994 130.868H399.472L391.468 112.571C390.558 112.649 389.325 112.649 388.17 112.649H386.213V130.849H373.151V75.3015H387.593ZM386.194 101.276H388.748C394.354 101.276 397.554 100.366 397.554 93.7748C397.554 91.3006 396.644 88.9926 395.166 87.9951C393.689 86.9976 391.859 86.7629 388.885 86.7629H386.174L386.194 101.276Z" }),
|
|
119
|
+
/* @__PURE__ */ d("path", { d: "M456.957 75.2819L456.135 86.9096H442.857V130.849H429.824V86.9096H416.213V75.2819H456.957Z" }),
|
|
120
|
+
/* @__PURE__ */ d("path", { d: "M495.978 89.1393C492.031 87.0587 487.652 85.93 483.19 85.8437C481.553 85.7535 479.918 86.0343 478.405 86.6651C477.672 86.9348 477.045 87.4311 476.613 88.0819C476.182 88.7326 475.97 89.5039 476.008 90.2835C476.008 93.2174 478.943 94.9874 483.024 96.6401L487.642 98.4493C495.89 101.755 499.765 106.204 499.765 114.282C499.765 127.142 490.362 132.169 479.061 132.169C473.816 132.084 468.616 131.197 463.64 129.538L464.217 117.001C468.488 119.008 473.113 120.154 477.828 120.375C483.767 120.375 486.076 118.888 486.076 115.485C486.076 112.277 483.933 110.869 479.227 108.972L474.609 107.163C467.926 104.522 462.319 99.8282 462.319 90.5965C462.319 81.3647 469.002 73.9715 482.524 73.9715C487.385 74.0422 492.192 74.9931 496.712 76.7782L495.978 89.1393Z" })
|
|
120
121
|
] })
|
|
121
122
|
] }),
|
|
122
|
-
/* @__PURE__ */
|
|
123
|
+
/* @__PURE__ */ d("defs", { children: /* @__PURE__ */ d("clipPath", { id: "ee-logo-clip", children: /* @__PURE__ */ d("rect", { width: "500", height: "133", fill: "white" }) }) })
|
|
123
124
|
]
|
|
124
125
|
}
|
|
125
126
|
);
|
|
126
127
|
}
|
|
127
|
-
const
|
|
128
|
+
const Ot = _.forwardRef(
|
|
128
129
|
({
|
|
129
130
|
className: e,
|
|
130
131
|
variant: t = "default",
|
|
131
132
|
logo: n,
|
|
132
133
|
title: r,
|
|
133
134
|
navigation: s,
|
|
134
|
-
actions:
|
|
135
|
+
actions: c,
|
|
135
136
|
mobileMenuTrigger: o,
|
|
136
137
|
mobileMenu: l,
|
|
137
|
-
hideLogo:
|
|
138
|
-
children:
|
|
139
|
-
...
|
|
140
|
-
},
|
|
141
|
-
const
|
|
142
|
-
|
|
138
|
+
hideLogo: a,
|
|
139
|
+
children: u,
|
|
140
|
+
...S
|
|
141
|
+
}, i) => {
|
|
142
|
+
const m = n !== void 0 ? n : !a && /* @__PURE__ */ d(
|
|
143
|
+
Te,
|
|
143
144
|
{
|
|
144
145
|
className: "ee-logo--desktop shrink-0",
|
|
145
146
|
textColor: t === "bold" ? "white" : "grey"
|
|
146
147
|
}
|
|
147
|
-
), C = n !== void 0 ? n : !
|
|
148
|
-
|
|
148
|
+
), C = n !== void 0 ? n : !a && /* @__PURE__ */ d(
|
|
149
|
+
Te,
|
|
149
150
|
{
|
|
150
151
|
className: "ee-logo--mobile shrink-0",
|
|
151
152
|
textColor: t === "bold" ? "white" : "grey"
|
|
152
153
|
}
|
|
153
154
|
);
|
|
154
|
-
return /* @__PURE__ */
|
|
155
|
+
return /* @__PURE__ */ H(
|
|
155
156
|
"header",
|
|
156
157
|
{
|
|
157
|
-
ref:
|
|
158
|
-
className:
|
|
158
|
+
ref: i,
|
|
159
|
+
className: v(
|
|
159
160
|
"kuat-header",
|
|
160
161
|
`kuat-header--${t}`,
|
|
161
162
|
e
|
|
162
163
|
),
|
|
163
|
-
...
|
|
164
|
+
...S,
|
|
164
165
|
children: [
|
|
165
|
-
/* @__PURE__ */
|
|
166
|
-
/* @__PURE__ */
|
|
167
|
-
|
|
168
|
-
/* @__PURE__ */
|
|
169
|
-
/* @__PURE__ */
|
|
166
|
+
/* @__PURE__ */ H("div", { className: "kuat-header__desktop", children: [
|
|
167
|
+
/* @__PURE__ */ H("div", { className: "kuat-header__desktop-left", children: [
|
|
168
|
+
m && /* @__PURE__ */ H(_e, { children: [
|
|
169
|
+
/* @__PURE__ */ d("div", { className: "shrink-0", children: m }),
|
|
170
|
+
/* @__PURE__ */ d(
|
|
170
171
|
st,
|
|
171
172
|
{
|
|
172
173
|
orientation: "vertical",
|
|
@@ -174,94 +175,94 @@ const At = _.forwardRef(
|
|
|
174
175
|
}
|
|
175
176
|
)
|
|
176
177
|
] }),
|
|
177
|
-
r && /* @__PURE__ */
|
|
178
|
+
r && /* @__PURE__ */ d("h1", { className: "kuat-header__desktop-title", children: r })
|
|
178
179
|
] }),
|
|
179
|
-
/* @__PURE__ */
|
|
180
|
-
s && /* @__PURE__ */
|
|
181
|
-
|
|
180
|
+
/* @__PURE__ */ H("div", { className: "kuat-header__desktop-right", children: [
|
|
181
|
+
s && /* @__PURE__ */ d("nav", { className: "flex items-center", children: s }),
|
|
182
|
+
c && /* @__PURE__ */ d("div", { className: "flex items-center gap-2", children: c })
|
|
182
183
|
] })
|
|
183
184
|
] }),
|
|
184
|
-
/* @__PURE__ */
|
|
185
|
-
/* @__PURE__ */
|
|
186
|
-
C && /* @__PURE__ */
|
|
187
|
-
r && /* @__PURE__ */
|
|
185
|
+
/* @__PURE__ */ H("div", { className: "kuat-header__mobile", children: [
|
|
186
|
+
/* @__PURE__ */ H("div", { className: "kuat-header__mobile-left", children: [
|
|
187
|
+
C && /* @__PURE__ */ d("div", { className: "shrink-0", children: C }),
|
|
188
|
+
r && /* @__PURE__ */ d("p", { className: "kuat-header__mobile-title", children: r })
|
|
188
189
|
] }),
|
|
189
|
-
o && /* @__PURE__ */
|
|
190
|
+
o && /* @__PURE__ */ d("div", { className: "shrink-0", children: o })
|
|
190
191
|
] }),
|
|
191
192
|
l,
|
|
192
|
-
|
|
193
|
+
u
|
|
193
194
|
]
|
|
194
195
|
}
|
|
195
196
|
);
|
|
196
197
|
}
|
|
197
198
|
);
|
|
198
|
-
|
|
199
|
-
function
|
|
199
|
+
Ot.displayName = "KuatHeader";
|
|
200
|
+
function Pn(e) {
|
|
200
201
|
const t = (e == null ? void 0 : e.variant) ?? "default";
|
|
201
|
-
return
|
|
202
|
+
return v("kuat-header", `kuat-header--${t}`);
|
|
202
203
|
}
|
|
203
|
-
function
|
|
204
|
+
function Rt(e) {
|
|
204
205
|
return Object.prototype.toString.call(e) === "[object Object]";
|
|
205
206
|
}
|
|
206
207
|
function tt(e) {
|
|
207
|
-
return
|
|
208
|
+
return Rt(e) || Array.isArray(e);
|
|
208
209
|
}
|
|
209
|
-
function
|
|
210
|
+
function Pt() {
|
|
210
211
|
return !!(typeof window < "u" && window.document && window.document.createElement);
|
|
211
212
|
}
|
|
212
213
|
function Re(e, t) {
|
|
213
214
|
const n = Object.keys(e), r = Object.keys(t);
|
|
214
215
|
if (n.length !== r.length) return !1;
|
|
215
|
-
const s = JSON.stringify(Object.keys(e.breakpoints || {})),
|
|
216
|
-
return s !==
|
|
217
|
-
const l = e[o],
|
|
218
|
-
return typeof l == "function" ? `${l}` == `${
|
|
216
|
+
const s = JSON.stringify(Object.keys(e.breakpoints || {})), c = JSON.stringify(Object.keys(t.breakpoints || {}));
|
|
217
|
+
return s !== c ? !1 : n.every((o) => {
|
|
218
|
+
const l = e[o], a = t[o];
|
|
219
|
+
return typeof l == "function" ? `${l}` == `${a}` : !tt(l) || !tt(a) ? l === a : Re(l, a);
|
|
219
220
|
});
|
|
220
221
|
}
|
|
221
222
|
function nt(e) {
|
|
222
223
|
return e.concat().sort((t, n) => t.name > n.name ? 1 : -1).map((t) => t.options);
|
|
223
224
|
}
|
|
224
|
-
function
|
|
225
|
+
function Bt(e, t) {
|
|
225
226
|
if (e.length !== t.length) return !1;
|
|
226
227
|
const n = nt(e), r = nt(t);
|
|
227
|
-
return n.every((s,
|
|
228
|
-
const o = r[
|
|
228
|
+
return n.every((s, c) => {
|
|
229
|
+
const o = r[c];
|
|
229
230
|
return Re(s, o);
|
|
230
231
|
});
|
|
231
232
|
}
|
|
232
233
|
function Pe(e) {
|
|
233
234
|
return typeof e == "number";
|
|
234
235
|
}
|
|
235
|
-
function
|
|
236
|
+
function ke(e) {
|
|
236
237
|
return typeof e == "string";
|
|
237
238
|
}
|
|
238
|
-
function
|
|
239
|
+
function Ee(e) {
|
|
239
240
|
return typeof e == "boolean";
|
|
240
241
|
}
|
|
241
242
|
function rt(e) {
|
|
242
243
|
return Object.prototype.toString.call(e) === "[object Object]";
|
|
243
244
|
}
|
|
244
|
-
function
|
|
245
|
+
function M(e) {
|
|
245
246
|
return Math.abs(e);
|
|
246
247
|
}
|
|
247
248
|
function Be(e) {
|
|
248
249
|
return Math.sign(e);
|
|
249
250
|
}
|
|
250
251
|
function pe(e, t) {
|
|
251
|
-
return
|
|
252
|
+
return M(e - t);
|
|
252
253
|
}
|
|
253
|
-
function
|
|
254
|
-
if (e === 0 || t === 0 ||
|
|
255
|
-
const n = pe(
|
|
256
|
-
return
|
|
254
|
+
function Ft(e, t) {
|
|
255
|
+
if (e === 0 || t === 0 || M(e) <= M(t)) return 0;
|
|
256
|
+
const n = pe(M(e), M(t));
|
|
257
|
+
return M(n / e);
|
|
257
258
|
}
|
|
258
|
-
function
|
|
259
|
+
function Gt(e) {
|
|
259
260
|
return Math.round(e * 100) / 100;
|
|
260
261
|
}
|
|
261
262
|
function he(e) {
|
|
262
263
|
return ge(e).map(Number);
|
|
263
264
|
}
|
|
264
|
-
function
|
|
265
|
+
function K(e) {
|
|
265
266
|
return e[Se(e)];
|
|
266
267
|
}
|
|
267
268
|
function Se(e) {
|
|
@@ -276,32 +277,32 @@ function ot(e, t = 0) {
|
|
|
276
277
|
function ge(e) {
|
|
277
278
|
return Object.keys(e);
|
|
278
279
|
}
|
|
279
|
-
function
|
|
280
|
+
function ct(e, t) {
|
|
280
281
|
return [e, t].reduce((n, r) => (ge(r).forEach((s) => {
|
|
281
|
-
const
|
|
282
|
-
n[s] = l ?
|
|
282
|
+
const c = n[s], o = r[s], l = rt(c) && rt(o);
|
|
283
|
+
n[s] = l ? ct(c, o) : o;
|
|
283
284
|
}), n), {});
|
|
284
285
|
}
|
|
285
|
-
function
|
|
286
|
+
function Ae(e, t) {
|
|
286
287
|
return typeof t.MouseEvent < "u" && e instanceof t.MouseEvent;
|
|
287
288
|
}
|
|
288
|
-
function
|
|
289
|
+
function Zt(e, t) {
|
|
289
290
|
const n = {
|
|
290
291
|
start: r,
|
|
291
292
|
center: s,
|
|
292
|
-
end:
|
|
293
|
+
end: c
|
|
293
294
|
};
|
|
294
295
|
function r() {
|
|
295
296
|
return 0;
|
|
296
297
|
}
|
|
297
|
-
function s(
|
|
298
|
-
return a
|
|
298
|
+
function s(a) {
|
|
299
|
+
return c(a) / 2;
|
|
299
300
|
}
|
|
300
|
-
function a
|
|
301
|
-
return t -
|
|
301
|
+
function c(a) {
|
|
302
|
+
return t - a;
|
|
302
303
|
}
|
|
303
|
-
function o(
|
|
304
|
-
return
|
|
304
|
+
function o(a, u) {
|
|
305
|
+
return ke(e) ? n[e](a) : e(t, a, u);
|
|
305
306
|
}
|
|
306
307
|
return {
|
|
307
308
|
measure: o
|
|
@@ -309,17 +310,17 @@ function Rt(e, t) {
|
|
|
309
310
|
}
|
|
310
311
|
function be() {
|
|
311
312
|
let e = [];
|
|
312
|
-
function t(s,
|
|
313
|
+
function t(s, c, o, l = {
|
|
313
314
|
passive: !0
|
|
314
315
|
}) {
|
|
315
|
-
let
|
|
316
|
+
let a;
|
|
316
317
|
if ("addEventListener" in s)
|
|
317
|
-
s.addEventListener(
|
|
318
|
+
s.addEventListener(c, o, l), a = () => s.removeEventListener(c, o, l);
|
|
318
319
|
else {
|
|
319
|
-
const
|
|
320
|
-
|
|
320
|
+
const u = s;
|
|
321
|
+
u.addListener(o), a = () => u.removeListener(o);
|
|
321
322
|
}
|
|
322
|
-
return e.push(
|
|
323
|
+
return e.push(a), r;
|
|
323
324
|
}
|
|
324
325
|
function n() {
|
|
325
326
|
e = e.filter((s) => s());
|
|
@@ -330,239 +331,239 @@ function be() {
|
|
|
330
331
|
};
|
|
331
332
|
return r;
|
|
332
333
|
}
|
|
333
|
-
function
|
|
334
|
-
const s = be(),
|
|
335
|
-
let o = null, l = 0,
|
|
336
|
-
function
|
|
334
|
+
function Kt(e, t, n, r) {
|
|
335
|
+
const s = be(), c = 1e3 / 60;
|
|
336
|
+
let o = null, l = 0, a = 0;
|
|
337
|
+
function u() {
|
|
337
338
|
s.add(e, "visibilitychange", () => {
|
|
338
|
-
e.hidden &&
|
|
339
|
+
e.hidden && p();
|
|
339
340
|
});
|
|
340
341
|
}
|
|
341
|
-
function
|
|
342
|
+
function S() {
|
|
342
343
|
C(), s.clear();
|
|
343
344
|
}
|
|
344
|
-
function
|
|
345
|
-
if (!
|
|
346
|
-
o || (o =
|
|
347
|
-
const
|
|
348
|
-
for (o =
|
|
349
|
-
n(), l -=
|
|
350
|
-
const
|
|
351
|
-
r(
|
|
345
|
+
function i(b) {
|
|
346
|
+
if (!a) return;
|
|
347
|
+
o || (o = b, n(), n());
|
|
348
|
+
const f = b - o;
|
|
349
|
+
for (o = b, l += f; l >= c; )
|
|
350
|
+
n(), l -= c;
|
|
351
|
+
const g = l / c;
|
|
352
|
+
r(g), a && (a = t.requestAnimationFrame(i));
|
|
352
353
|
}
|
|
353
|
-
function
|
|
354
|
-
|
|
354
|
+
function m() {
|
|
355
|
+
a || (a = t.requestAnimationFrame(i));
|
|
355
356
|
}
|
|
356
357
|
function C() {
|
|
357
|
-
t.cancelAnimationFrame(
|
|
358
|
+
t.cancelAnimationFrame(a), o = null, l = 0, a = 0;
|
|
358
359
|
}
|
|
359
|
-
function
|
|
360
|
+
function p() {
|
|
360
361
|
o = null, l = 0;
|
|
361
362
|
}
|
|
362
363
|
return {
|
|
363
|
-
init:
|
|
364
|
-
destroy:
|
|
365
|
-
start:
|
|
364
|
+
init: u,
|
|
365
|
+
destroy: S,
|
|
366
|
+
start: m,
|
|
366
367
|
stop: C,
|
|
367
368
|
update: n,
|
|
368
369
|
render: r
|
|
369
370
|
};
|
|
370
371
|
}
|
|
371
|
-
function
|
|
372
|
-
const n = t === "rtl", r = e === "y", s = r ? "y" : "x",
|
|
373
|
-
function
|
|
372
|
+
function Ut(e, t) {
|
|
373
|
+
const n = t === "rtl", r = e === "y", s = r ? "y" : "x", c = r ? "x" : "y", o = !r && n ? -1 : 1, l = S(), a = i();
|
|
374
|
+
function u(p) {
|
|
374
375
|
const {
|
|
375
376
|
height: h,
|
|
376
|
-
width:
|
|
377
|
-
} =
|
|
378
|
-
return r ? h :
|
|
377
|
+
width: b
|
|
378
|
+
} = p;
|
|
379
|
+
return r ? h : b;
|
|
379
380
|
}
|
|
380
|
-
function
|
|
381
|
+
function S() {
|
|
381
382
|
return r ? "top" : n ? "right" : "left";
|
|
382
383
|
}
|
|
383
|
-
function
|
|
384
|
+
function i() {
|
|
384
385
|
return r ? "bottom" : n ? "left" : "right";
|
|
385
386
|
}
|
|
386
|
-
function
|
|
387
|
-
return
|
|
387
|
+
function m(p) {
|
|
388
|
+
return p * o;
|
|
388
389
|
}
|
|
389
390
|
return {
|
|
390
391
|
scroll: s,
|
|
391
|
-
cross:
|
|
392
|
+
cross: c,
|
|
392
393
|
startEdge: l,
|
|
393
|
-
endEdge:
|
|
394
|
-
measureSize:
|
|
395
|
-
direction:
|
|
394
|
+
endEdge: a,
|
|
395
|
+
measureSize: u,
|
|
396
|
+
direction: m
|
|
396
397
|
};
|
|
397
398
|
}
|
|
398
399
|
function se(e = 0, t = 0) {
|
|
399
|
-
const n =
|
|
400
|
-
function r(
|
|
401
|
-
return
|
|
400
|
+
const n = M(e - t);
|
|
401
|
+
function r(u) {
|
|
402
|
+
return u < e;
|
|
402
403
|
}
|
|
403
|
-
function s(
|
|
404
|
-
return
|
|
404
|
+
function s(u) {
|
|
405
|
+
return u > t;
|
|
405
406
|
}
|
|
406
|
-
function
|
|
407
|
-
return r(
|
|
407
|
+
function c(u) {
|
|
408
|
+
return r(u) || s(u);
|
|
408
409
|
}
|
|
409
|
-
function o(
|
|
410
|
-
return
|
|
410
|
+
function o(u) {
|
|
411
|
+
return c(u) ? r(u) ? e : t : u;
|
|
411
412
|
}
|
|
412
|
-
function l(
|
|
413
|
-
return n ?
|
|
413
|
+
function l(u) {
|
|
414
|
+
return n ? u - n * Math.ceil((u - t) / n) : u;
|
|
414
415
|
}
|
|
415
416
|
return {
|
|
416
417
|
length: n,
|
|
417
418
|
max: t,
|
|
418
419
|
min: e,
|
|
419
420
|
constrain: o,
|
|
420
|
-
reachedAny:
|
|
421
|
+
reachedAny: c,
|
|
421
422
|
reachedMax: s,
|
|
422
423
|
reachedMin: r,
|
|
423
424
|
removeOffset: l
|
|
424
425
|
};
|
|
425
426
|
}
|
|
426
|
-
function
|
|
427
|
+
function at(e, t, n) {
|
|
427
428
|
const {
|
|
428
429
|
constrain: r
|
|
429
430
|
} = se(0, e), s = e + 1;
|
|
430
|
-
let
|
|
431
|
-
function o(
|
|
432
|
-
return n ?
|
|
431
|
+
let c = o(t);
|
|
432
|
+
function o(m) {
|
|
433
|
+
return n ? M((s + m) % s) : r(m);
|
|
433
434
|
}
|
|
434
435
|
function l() {
|
|
435
|
-
return
|
|
436
|
+
return c;
|
|
436
437
|
}
|
|
437
|
-
function
|
|
438
|
-
return
|
|
438
|
+
function a(m) {
|
|
439
|
+
return c = o(m), i;
|
|
439
440
|
}
|
|
440
|
-
function
|
|
441
|
-
return
|
|
441
|
+
function u(m) {
|
|
442
|
+
return S().set(l() + m);
|
|
442
443
|
}
|
|
443
|
-
function
|
|
444
|
-
return
|
|
444
|
+
function S() {
|
|
445
|
+
return at(e, l(), n);
|
|
445
446
|
}
|
|
446
|
-
const
|
|
447
|
+
const i = {
|
|
447
448
|
get: l,
|
|
448
|
-
set:
|
|
449
|
-
add:
|
|
450
|
-
clone:
|
|
449
|
+
set: a,
|
|
450
|
+
add: u,
|
|
451
|
+
clone: S
|
|
451
452
|
};
|
|
452
|
-
return
|
|
453
|
+
return i;
|
|
453
454
|
}
|
|
454
|
-
function
|
|
455
|
+
function jt(e, t, n, r, s, c, o, l, a, u, S, i, m, C, p, h, b, f, g) {
|
|
455
456
|
const {
|
|
456
457
|
cross: N,
|
|
457
|
-
direction:
|
|
458
|
-
} = e,
|
|
458
|
+
direction: I
|
|
459
|
+
} = e, T = ["INPUT", "SELECT", "TEXTAREA"], x = {
|
|
459
460
|
passive: !1
|
|
460
|
-
},
|
|
461
|
+
}, E = be(), L = be(), w = se(50, 225).constrain(C.measure(20)), V = {
|
|
461
462
|
mouse: 300,
|
|
462
463
|
touch: 400
|
|
463
|
-
},
|
|
464
|
+
}, k = {
|
|
464
465
|
mouse: 500,
|
|
465
466
|
touch: 600
|
|
466
|
-
}, F =
|
|
467
|
+
}, F = p ? 43 : 25;
|
|
467
468
|
let U = !1, j = 0, z = 0, ne = !1, ee = !1, X = !1, Y = !1;
|
|
468
469
|
function le(y) {
|
|
469
|
-
if (!
|
|
470
|
-
function
|
|
471
|
-
(
|
|
470
|
+
if (!g) return;
|
|
471
|
+
function A(B) {
|
|
472
|
+
(Ee(g) || g(y, B)) && de(B);
|
|
472
473
|
}
|
|
473
474
|
const O = t;
|
|
474
|
-
|
|
475
|
-
},
|
|
476
|
-
}).add(O, "touchstart",
|
|
475
|
+
E.add(O, "dragstart", (B) => B.preventDefault(), x).add(O, "touchmove", () => {
|
|
476
|
+
}, x).add(O, "touchend", () => {
|
|
477
|
+
}).add(O, "touchstart", A).add(O, "mousedown", A).add(O, "touchcancel", P).add(O, "contextmenu", P).add(O, "click", J, !0);
|
|
477
478
|
}
|
|
478
479
|
function $() {
|
|
479
|
-
|
|
480
|
+
E.clear(), L.clear();
|
|
480
481
|
}
|
|
481
|
-
function
|
|
482
|
+
function ce() {
|
|
482
483
|
const y = Y ? n : t;
|
|
483
|
-
|
|
484
|
+
L.add(y, "touchmove", G, x).add(y, "touchend", P).add(y, "mousemove", G, x).add(y, "mouseup", P);
|
|
484
485
|
}
|
|
485
|
-
function
|
|
486
|
-
const
|
|
487
|
-
return
|
|
486
|
+
function ae(y) {
|
|
487
|
+
const A = y.nodeName || "";
|
|
488
|
+
return T.includes(A);
|
|
488
489
|
}
|
|
489
490
|
function Q() {
|
|
490
|
-
return (
|
|
491
|
+
return (p ? k : V)[Y ? "mouse" : "touch"];
|
|
491
492
|
}
|
|
492
|
-
function ue(y,
|
|
493
|
-
const O =
|
|
494
|
-
return
|
|
493
|
+
function ue(y, A) {
|
|
494
|
+
const O = i.add(Be(y) * -1), B = S.byDistance(y, !p).distance;
|
|
495
|
+
return p || M(y) < w ? B : b && A ? B * 0.5 : S.byIndex(O.get(), 0).distance;
|
|
495
496
|
}
|
|
496
497
|
function de(y) {
|
|
497
|
-
const
|
|
498
|
-
Y =
|
|
498
|
+
const A = Ae(y, r);
|
|
499
|
+
Y = A, X = p && A && !y.buttons && U, U = pe(s.get(), o.get()) >= 2, !(A && y.button !== 0) && (ae(y.target) || (ne = !0, c.pointerDown(y), u.useFriction(0).useDuration(0), s.set(o), ce(), j = c.readPoint(y), z = c.readPoint(y, N), m.emit("pointerDown")));
|
|
499
500
|
}
|
|
500
|
-
function
|
|
501
|
-
if (!
|
|
502
|
-
const O =
|
|
501
|
+
function G(y) {
|
|
502
|
+
if (!Ae(y, r) && y.touches.length >= 2) return P(y);
|
|
503
|
+
const O = c.readPoint(y), B = c.readPoint(y, N), q = pe(O, j), W = pe(B, z);
|
|
503
504
|
if (!ee && !Y && (!y.cancelable || (ee = q > W, !ee)))
|
|
504
505
|
return P(y);
|
|
505
|
-
const re =
|
|
506
|
-
q > h && (X = !0),
|
|
506
|
+
const re = c.pointerMove(y);
|
|
507
|
+
q > h && (X = !0), u.useFriction(0.3).useDuration(0.75), l.start(), s.add(I(re)), y.preventDefault();
|
|
507
508
|
}
|
|
508
509
|
function P(y) {
|
|
509
|
-
const O =
|
|
510
|
-
ee = !1, ne = !1,
|
|
510
|
+
const O = S.byDistance(0, !1).index !== i.get(), B = c.pointerUp(y) * Q(), q = ue(I(B), O), W = Ft(B, q), re = F - 10 * W, te = f + W / 50;
|
|
511
|
+
ee = !1, ne = !1, L.clear(), u.useDuration(re).useFriction(te), a.distance(q, !p), Y = !1, m.emit("pointerUp");
|
|
511
512
|
}
|
|
512
513
|
function J(y) {
|
|
513
514
|
X && (y.stopPropagation(), y.preventDefault(), X = !1);
|
|
514
515
|
}
|
|
515
|
-
function
|
|
516
|
+
function Z() {
|
|
516
517
|
return ne;
|
|
517
518
|
}
|
|
518
519
|
return {
|
|
519
520
|
init: le,
|
|
520
521
|
destroy: $,
|
|
521
|
-
pointerDown:
|
|
522
|
+
pointerDown: Z
|
|
522
523
|
};
|
|
523
524
|
}
|
|
524
|
-
function
|
|
525
|
+
function zt(e, t) {
|
|
525
526
|
let r, s;
|
|
526
|
-
function
|
|
527
|
-
return
|
|
527
|
+
function c(i) {
|
|
528
|
+
return i.timeStamp;
|
|
528
529
|
}
|
|
529
|
-
function o(
|
|
530
|
-
const
|
|
531
|
-
return (
|
|
530
|
+
function o(i, m) {
|
|
531
|
+
const p = `client${(m || e.scroll) === "x" ? "X" : "Y"}`;
|
|
532
|
+
return (Ae(i, t) ? i : i.touches[0])[p];
|
|
532
533
|
}
|
|
533
|
-
function l(
|
|
534
|
-
return r =
|
|
534
|
+
function l(i) {
|
|
535
|
+
return r = i, s = i, o(i);
|
|
535
536
|
}
|
|
536
|
-
function
|
|
537
|
-
const
|
|
538
|
-
return s =
|
|
537
|
+
function a(i) {
|
|
538
|
+
const m = o(i) - o(s), C = c(i) - c(r) > 170;
|
|
539
|
+
return s = i, C && (r = i), m;
|
|
539
540
|
}
|
|
540
|
-
function i
|
|
541
|
+
function u(i) {
|
|
541
542
|
if (!r || !s) return 0;
|
|
542
|
-
const
|
|
543
|
-
return C && !
|
|
543
|
+
const m = o(s) - o(r), C = c(i) - c(r), p = c(i) - c(s) > 170, h = m / C;
|
|
544
|
+
return C && !p && M(h) > 0.1 ? h : 0;
|
|
544
545
|
}
|
|
545
546
|
return {
|
|
546
547
|
pointerDown: l,
|
|
547
|
-
pointerMove:
|
|
548
|
-
pointerUp:
|
|
548
|
+
pointerMove: a,
|
|
549
|
+
pointerUp: u,
|
|
549
550
|
readPoint: o
|
|
550
551
|
};
|
|
551
552
|
}
|
|
552
|
-
function
|
|
553
|
+
function $t() {
|
|
553
554
|
function e(n) {
|
|
554
555
|
const {
|
|
555
556
|
offsetTop: r,
|
|
556
557
|
offsetLeft: s,
|
|
557
|
-
offsetWidth:
|
|
558
|
+
offsetWidth: c,
|
|
558
559
|
offsetHeight: o
|
|
559
560
|
} = n;
|
|
560
561
|
return {
|
|
561
562
|
top: r,
|
|
562
|
-
right: s +
|
|
563
|
+
right: s + c,
|
|
563
564
|
bottom: r + o,
|
|
564
565
|
left: s,
|
|
565
|
-
width:
|
|
566
|
+
width: c,
|
|
566
567
|
height: o
|
|
567
568
|
};
|
|
568
569
|
}
|
|
@@ -570,7 +571,7 @@ function Gt() {
|
|
|
570
571
|
measure: e
|
|
571
572
|
};
|
|
572
573
|
}
|
|
573
|
-
function
|
|
574
|
+
function qt(e) {
|
|
574
575
|
function t(r) {
|
|
575
576
|
return e * (r / 100);
|
|
576
577
|
}
|
|
@@ -578,318 +579,318 @@ function Zt(e) {
|
|
|
578
579
|
measure: t
|
|
579
580
|
};
|
|
580
581
|
}
|
|
581
|
-
function
|
|
582
|
+
function Xt(e, t, n, r, s, c, o) {
|
|
582
583
|
const l = [e].concat(r);
|
|
583
|
-
let
|
|
584
|
-
function
|
|
585
|
-
return s.measureSize(o.measure(
|
|
584
|
+
let a, u, S = [], i = !1;
|
|
585
|
+
function m(b) {
|
|
586
|
+
return s.measureSize(o.measure(b));
|
|
586
587
|
}
|
|
587
|
-
function C(
|
|
588
|
-
if (!
|
|
589
|
-
|
|
590
|
-
function
|
|
591
|
-
for (const N of
|
|
592
|
-
if (
|
|
593
|
-
const
|
|
594
|
-
if (
|
|
595
|
-
|
|
588
|
+
function C(b) {
|
|
589
|
+
if (!c) return;
|
|
590
|
+
u = m(e), S = r.map(m);
|
|
591
|
+
function f(g) {
|
|
592
|
+
for (const N of g) {
|
|
593
|
+
if (i) return;
|
|
594
|
+
const I = N.target === e, T = r.indexOf(N.target), x = I ? u : S[T], E = m(I ? e : r[T]);
|
|
595
|
+
if (M(E - x) >= 0.5) {
|
|
596
|
+
b.reInit(), t.emit("resize");
|
|
596
597
|
break;
|
|
597
598
|
}
|
|
598
599
|
}
|
|
599
600
|
}
|
|
600
|
-
|
|
601
|
-
(
|
|
601
|
+
a = new ResizeObserver((g) => {
|
|
602
|
+
(Ee(c) || c(b, g)) && f(g);
|
|
602
603
|
}), n.requestAnimationFrame(() => {
|
|
603
|
-
l.forEach((
|
|
604
|
+
l.forEach((g) => a.observe(g));
|
|
604
605
|
});
|
|
605
606
|
}
|
|
606
|
-
function
|
|
607
|
-
|
|
607
|
+
function p() {
|
|
608
|
+
i = !0, a && a.disconnect();
|
|
608
609
|
}
|
|
609
610
|
return {
|
|
610
611
|
init: C,
|
|
611
|
-
destroy:
|
|
612
|
+
destroy: p
|
|
612
613
|
};
|
|
613
614
|
}
|
|
614
|
-
function
|
|
615
|
-
let o = 0, l = 0,
|
|
616
|
-
function
|
|
617
|
-
const
|
|
618
|
-
let
|
|
619
|
-
return
|
|
615
|
+
function Yt(e, t, n, r, s, c) {
|
|
616
|
+
let o = 0, l = 0, a = s, u = c, S = e.get(), i = 0;
|
|
617
|
+
function m() {
|
|
618
|
+
const x = r.get() - e.get(), E = !a;
|
|
619
|
+
let L = 0;
|
|
620
|
+
return E ? (o = 0, n.set(r), e.set(r), L = x) : (n.set(e), o += x / a, o *= u, S += o, e.add(o), L = S - i), l = Be(L), i = S, T;
|
|
620
621
|
}
|
|
621
622
|
function C() {
|
|
622
|
-
const
|
|
623
|
-
return
|
|
623
|
+
const x = r.get() - t.get();
|
|
624
|
+
return M(x) < 1e-3;
|
|
624
625
|
}
|
|
625
|
-
function
|
|
626
|
-
return
|
|
626
|
+
function p() {
|
|
627
|
+
return a;
|
|
627
628
|
}
|
|
628
629
|
function h() {
|
|
629
630
|
return l;
|
|
630
631
|
}
|
|
631
|
-
function
|
|
632
|
+
function b() {
|
|
632
633
|
return o;
|
|
633
634
|
}
|
|
634
|
-
function
|
|
635
|
+
function f() {
|
|
635
636
|
return N(s);
|
|
636
637
|
}
|
|
637
|
-
function
|
|
638
|
-
return
|
|
638
|
+
function g() {
|
|
639
|
+
return I(c);
|
|
639
640
|
}
|
|
640
|
-
function N(
|
|
641
|
-
return
|
|
641
|
+
function N(x) {
|
|
642
|
+
return a = x, T;
|
|
642
643
|
}
|
|
643
|
-
function x
|
|
644
|
-
return
|
|
644
|
+
function I(x) {
|
|
645
|
+
return u = x, T;
|
|
645
646
|
}
|
|
646
|
-
const
|
|
647
|
+
const T = {
|
|
647
648
|
direction: h,
|
|
648
|
-
duration:
|
|
649
|
-
velocity:
|
|
650
|
-
seek:
|
|
649
|
+
duration: p,
|
|
650
|
+
velocity: b,
|
|
651
|
+
seek: m,
|
|
651
652
|
settled: C,
|
|
652
|
-
useBaseFriction:
|
|
653
|
-
useBaseDuration:
|
|
654
|
-
useFriction:
|
|
653
|
+
useBaseFriction: g,
|
|
654
|
+
useBaseDuration: f,
|
|
655
|
+
useFriction: I,
|
|
655
656
|
useDuration: N
|
|
656
657
|
};
|
|
657
|
-
return
|
|
658
|
+
return T;
|
|
658
659
|
}
|
|
659
|
-
function
|
|
660
|
-
const
|
|
661
|
-
let
|
|
662
|
-
function
|
|
663
|
-
return !(
|
|
660
|
+
function Qt(e, t, n, r, s) {
|
|
661
|
+
const c = s.measure(10), o = s.measure(50), l = se(0.1, 0.99);
|
|
662
|
+
let a = !1;
|
|
663
|
+
function u() {
|
|
664
|
+
return !(a || !e.reachedAny(n.get()) || !e.reachedAny(t.get()));
|
|
664
665
|
}
|
|
665
|
-
function
|
|
666
|
-
if (!
|
|
667
|
-
const
|
|
668
|
-
n.subtract(
|
|
666
|
+
function S(C) {
|
|
667
|
+
if (!u()) return;
|
|
668
|
+
const p = e.reachedMin(t.get()) ? "min" : "max", h = M(e[p] - t.get()), b = n.get() - t.get(), f = l.constrain(h / o);
|
|
669
|
+
n.subtract(b * f), !C && M(b) < c && (n.set(e.constrain(n.get())), r.useDuration(25).useBaseFriction());
|
|
669
670
|
}
|
|
670
|
-
function
|
|
671
|
-
|
|
671
|
+
function i(C) {
|
|
672
|
+
a = !C;
|
|
672
673
|
}
|
|
673
674
|
return {
|
|
674
|
-
shouldConstrain:
|
|
675
|
-
constrain:
|
|
676
|
-
toggleActive:
|
|
675
|
+
shouldConstrain: u,
|
|
676
|
+
constrain: S,
|
|
677
|
+
toggleActive: i
|
|
677
678
|
};
|
|
678
679
|
}
|
|
679
|
-
function
|
|
680
|
-
const
|
|
681
|
-
function
|
|
682
|
-
return pe(
|
|
680
|
+
function Jt(e, t, n, r, s) {
|
|
681
|
+
const c = se(-t + e, 0), o = i(), l = S(), a = m();
|
|
682
|
+
function u(p, h) {
|
|
683
|
+
return pe(p, h) <= 1;
|
|
683
684
|
}
|
|
684
|
-
function
|
|
685
|
-
const
|
|
686
|
-
return se(
|
|
685
|
+
function S() {
|
|
686
|
+
const p = o[0], h = K(o), b = o.lastIndexOf(p), f = o.indexOf(h) + 1;
|
|
687
|
+
return se(b, f);
|
|
687
688
|
}
|
|
688
|
-
function
|
|
689
|
-
return n.map((
|
|
689
|
+
function i() {
|
|
690
|
+
return n.map((p, h) => {
|
|
690
691
|
const {
|
|
691
|
-
min:
|
|
692
|
-
max:
|
|
693
|
-
} =
|
|
694
|
-
return N ?
|
|
695
|
-
}).map((
|
|
692
|
+
min: b,
|
|
693
|
+
max: f
|
|
694
|
+
} = c, g = c.constrain(p), N = !h, I = Fe(n, h);
|
|
695
|
+
return N ? f : I || u(b, g) ? b : u(f, g) ? f : g;
|
|
696
|
+
}).map((p) => parseFloat(p.toFixed(3)));
|
|
696
697
|
}
|
|
697
|
-
function
|
|
698
|
-
if (t <= e + s) return [
|
|
698
|
+
function m() {
|
|
699
|
+
if (t <= e + s) return [c.max];
|
|
699
700
|
if (r === "keepSnaps") return o;
|
|
700
701
|
const {
|
|
701
|
-
min:
|
|
702
|
+
min: p,
|
|
702
703
|
max: h
|
|
703
704
|
} = l;
|
|
704
|
-
return o.slice(
|
|
705
|
+
return o.slice(p, h);
|
|
705
706
|
}
|
|
706
707
|
return {
|
|
707
|
-
snapsContained:
|
|
708
|
+
snapsContained: a,
|
|
708
709
|
scrollContainLimit: l
|
|
709
710
|
};
|
|
710
711
|
}
|
|
711
|
-
function
|
|
712
|
-
const r = t[0], s = n ? r - e :
|
|
712
|
+
function Wt(e, t, n) {
|
|
713
|
+
const r = t[0], s = n ? r - e : K(t);
|
|
713
714
|
return {
|
|
714
715
|
limit: se(s, r)
|
|
715
716
|
};
|
|
716
717
|
}
|
|
717
|
-
function
|
|
718
|
-
const
|
|
718
|
+
function en(e, t, n, r) {
|
|
719
|
+
const c = t.min + 0.1, o = t.max + 0.1, {
|
|
719
720
|
reachedMin: l,
|
|
720
|
-
reachedMax:
|
|
721
|
-
} = se(
|
|
722
|
-
function
|
|
723
|
-
return
|
|
721
|
+
reachedMax: a
|
|
722
|
+
} = se(c, o);
|
|
723
|
+
function u(m) {
|
|
724
|
+
return m === 1 ? a(n.get()) : m === -1 ? l(n.get()) : !1;
|
|
724
725
|
}
|
|
725
|
-
function
|
|
726
|
-
if (!
|
|
727
|
-
const C = e * (
|
|
728
|
-
r.forEach((
|
|
726
|
+
function S(m) {
|
|
727
|
+
if (!u(m)) return;
|
|
728
|
+
const C = e * (m * -1);
|
|
729
|
+
r.forEach((p) => p.add(C));
|
|
729
730
|
}
|
|
730
731
|
return {
|
|
731
|
-
loop:
|
|
732
|
+
loop: S
|
|
732
733
|
};
|
|
733
734
|
}
|
|
734
|
-
function
|
|
735
|
+
function tn(e) {
|
|
735
736
|
const {
|
|
736
737
|
max: t,
|
|
737
738
|
length: n
|
|
738
739
|
} = e;
|
|
739
|
-
function r(
|
|
740
|
-
const o =
|
|
740
|
+
function r(c) {
|
|
741
|
+
const o = c - t;
|
|
741
742
|
return n ? o / -n : 0;
|
|
742
743
|
}
|
|
743
744
|
return {
|
|
744
745
|
get: r
|
|
745
746
|
};
|
|
746
747
|
}
|
|
747
|
-
function
|
|
748
|
+
function nn(e, t, n, r, s) {
|
|
748
749
|
const {
|
|
749
|
-
startEdge:
|
|
750
|
+
startEdge: c,
|
|
750
751
|
endEdge: o
|
|
751
752
|
} = e, {
|
|
752
753
|
groupSlides: l
|
|
753
|
-
} = s,
|
|
754
|
-
function
|
|
755
|
-
return l(r).map((h) =>
|
|
754
|
+
} = s, a = i().map(t.measure), u = m(), S = C();
|
|
755
|
+
function i() {
|
|
756
|
+
return l(r).map((h) => K(h)[o] - h[0][c]).map(M);
|
|
756
757
|
}
|
|
757
|
-
function
|
|
758
|
-
return r.map((h) => n[
|
|
758
|
+
function m() {
|
|
759
|
+
return r.map((h) => n[c] - h[c]).map((h) => -M(h));
|
|
759
760
|
}
|
|
760
761
|
function C() {
|
|
761
|
-
return l(
|
|
762
|
+
return l(u).map((h) => h[0]).map((h, b) => h + a[b]);
|
|
762
763
|
}
|
|
763
764
|
return {
|
|
764
|
-
snaps:
|
|
765
|
-
snapsAligned:
|
|
765
|
+
snaps: u,
|
|
766
|
+
snapsAligned: S
|
|
766
767
|
};
|
|
767
768
|
}
|
|
768
|
-
function
|
|
769
|
+
function rn(e, t, n, r, s, c) {
|
|
769
770
|
const {
|
|
770
771
|
groupSlides: o
|
|
771
772
|
} = s, {
|
|
772
773
|
min: l,
|
|
773
|
-
max:
|
|
774
|
-
} = r,
|
|
775
|
-
function
|
|
776
|
-
const
|
|
777
|
-
return n.length === 1 ? [
|
|
778
|
-
const
|
|
779
|
-
if (
|
|
780
|
-
const N =
|
|
774
|
+
max: a
|
|
775
|
+
} = r, u = S();
|
|
776
|
+
function S() {
|
|
777
|
+
const m = o(c), C = !e || t === "keepSnaps";
|
|
778
|
+
return n.length === 1 ? [c] : C ? m : m.slice(l, a).map((p, h, b) => {
|
|
779
|
+
const f = !h, g = Fe(b, h);
|
|
780
|
+
if (f) {
|
|
781
|
+
const N = K(b[0]) + 1;
|
|
781
782
|
return ot(N);
|
|
782
783
|
}
|
|
783
|
-
if (
|
|
784
|
-
const N = Se(
|
|
785
|
-
return ot(N,
|
|
784
|
+
if (g) {
|
|
785
|
+
const N = Se(c) - K(b)[0] + 1;
|
|
786
|
+
return ot(N, K(b)[0]);
|
|
786
787
|
}
|
|
787
|
-
return
|
|
788
|
+
return p;
|
|
788
789
|
});
|
|
789
790
|
}
|
|
790
791
|
return {
|
|
791
|
-
slideRegistry:
|
|
792
|
+
slideRegistry: u
|
|
792
793
|
};
|
|
793
794
|
}
|
|
794
|
-
function
|
|
795
|
+
function on(e, t, n, r, s) {
|
|
795
796
|
const {
|
|
796
|
-
reachedAny:
|
|
797
|
+
reachedAny: c,
|
|
797
798
|
removeOffset: o,
|
|
798
799
|
constrain: l
|
|
799
800
|
} = r;
|
|
800
|
-
function
|
|
801
|
-
return
|
|
801
|
+
function a(p) {
|
|
802
|
+
return p.concat().sort((h, b) => M(h) - M(b))[0];
|
|
802
803
|
}
|
|
803
|
-
function
|
|
804
|
-
const h = e ? o(
|
|
805
|
-
diff:
|
|
804
|
+
function u(p) {
|
|
805
|
+
const h = e ? o(p) : l(p), b = t.map((g, N) => ({
|
|
806
|
+
diff: S(g - h, 0),
|
|
806
807
|
index: N
|
|
807
|
-
})).sort((
|
|
808
|
-
index:
|
|
809
|
-
} =
|
|
808
|
+
})).sort((g, N) => M(g.diff) - M(N.diff)), {
|
|
809
|
+
index: f
|
|
810
|
+
} = b[0];
|
|
810
811
|
return {
|
|
811
|
-
index:
|
|
812
|
+
index: f,
|
|
812
813
|
distance: h
|
|
813
814
|
};
|
|
814
815
|
}
|
|
815
|
-
function
|
|
816
|
-
const
|
|
817
|
-
if (!e) return
|
|
818
|
-
if (!h) return
|
|
819
|
-
const
|
|
820
|
-
return
|
|
816
|
+
function S(p, h) {
|
|
817
|
+
const b = [p, p + n, p - n];
|
|
818
|
+
if (!e) return p;
|
|
819
|
+
if (!h) return a(b);
|
|
820
|
+
const f = b.filter((g) => Be(g) === h);
|
|
821
|
+
return f.length ? a(f) : K(b) - n;
|
|
821
822
|
}
|
|
822
|
-
function p
|
|
823
|
-
const
|
|
823
|
+
function i(p, h) {
|
|
824
|
+
const b = t[p] - s.get(), f = S(b, h);
|
|
824
825
|
return {
|
|
825
|
-
index:
|
|
826
|
-
distance:
|
|
826
|
+
index: p,
|
|
827
|
+
distance: f
|
|
827
828
|
};
|
|
828
829
|
}
|
|
829
|
-
function
|
|
830
|
-
const
|
|
831
|
-
index:
|
|
832
|
-
distance:
|
|
833
|
-
} =
|
|
830
|
+
function m(p, h) {
|
|
831
|
+
const b = s.get() + p, {
|
|
832
|
+
index: f,
|
|
833
|
+
distance: g
|
|
834
|
+
} = u(b), N = !e && c(b);
|
|
834
835
|
if (!h || N) return {
|
|
835
|
-
index:
|
|
836
|
-
distance:
|
|
836
|
+
index: f,
|
|
837
|
+
distance: p
|
|
837
838
|
};
|
|
838
|
-
const
|
|
839
|
+
const I = t[f] - g, T = p + S(I, 0);
|
|
839
840
|
return {
|
|
840
|
-
index:
|
|
841
|
-
distance:
|
|
841
|
+
index: f,
|
|
842
|
+
distance: T
|
|
842
843
|
};
|
|
843
844
|
}
|
|
844
845
|
return {
|
|
845
|
-
byDistance:
|
|
846
|
-
byIndex:
|
|
847
|
-
shortcut:
|
|
846
|
+
byDistance: m,
|
|
847
|
+
byIndex: i,
|
|
848
|
+
shortcut: S
|
|
848
849
|
};
|
|
849
850
|
}
|
|
850
|
-
function
|
|
851
|
-
function l(
|
|
852
|
-
const
|
|
853
|
-
|
|
851
|
+
function sn(e, t, n, r, s, c, o) {
|
|
852
|
+
function l(i) {
|
|
853
|
+
const m = i.distance, C = i.index !== t.get();
|
|
854
|
+
c.add(m), m && (r.duration() ? e.start() : (e.update(), e.render(1), e.update())), C && (n.set(t.get()), t.set(i.index), o.emit("select"));
|
|
854
855
|
}
|
|
855
|
-
function
|
|
856
|
-
const C = s.byDistance(
|
|
856
|
+
function a(i, m) {
|
|
857
|
+
const C = s.byDistance(i, m);
|
|
857
858
|
l(C);
|
|
858
859
|
}
|
|
859
|
-
function i
|
|
860
|
-
const C = t.clone().set(
|
|
861
|
-
l(
|
|
860
|
+
function u(i, m) {
|
|
861
|
+
const C = t.clone().set(i), p = s.byIndex(C.get(), m);
|
|
862
|
+
l(p);
|
|
862
863
|
}
|
|
863
864
|
return {
|
|
864
|
-
distance:
|
|
865
|
-
index:
|
|
865
|
+
distance: a,
|
|
866
|
+
index: u
|
|
866
867
|
};
|
|
867
868
|
}
|
|
868
|
-
function
|
|
869
|
-
const
|
|
869
|
+
function cn(e, t, n, r, s, c, o, l) {
|
|
870
|
+
const a = {
|
|
870
871
|
passive: !0,
|
|
871
872
|
capture: !0
|
|
872
873
|
};
|
|
873
|
-
let
|
|
874
|
-
function
|
|
874
|
+
let u = 0;
|
|
875
|
+
function S(C) {
|
|
875
876
|
if (!l) return;
|
|
876
|
-
function
|
|
877
|
-
if ((/* @__PURE__ */ new Date()).getTime() -
|
|
877
|
+
function p(h) {
|
|
878
|
+
if ((/* @__PURE__ */ new Date()).getTime() - u > 10) return;
|
|
878
879
|
o.emit("slideFocusStart"), e.scrollLeft = 0;
|
|
879
|
-
const
|
|
880
|
-
Pe(
|
|
880
|
+
const g = n.findIndex((N) => N.includes(h));
|
|
881
|
+
Pe(g) && (s.useDuration(0), r.index(g, 0), o.emit("slideFocus"));
|
|
881
882
|
}
|
|
882
|
-
|
|
883
|
-
|
|
884
|
-
(
|
|
885
|
-
},
|
|
883
|
+
c.add(document, "keydown", i, !1), t.forEach((h, b) => {
|
|
884
|
+
c.add(h, "focus", (f) => {
|
|
885
|
+
(Ee(l) || l(C, f)) && p(b);
|
|
886
|
+
}, a);
|
|
886
887
|
});
|
|
887
888
|
}
|
|
888
|
-
function
|
|
889
|
-
C.code === "Tab" && (
|
|
889
|
+
function i(C) {
|
|
890
|
+
C.code === "Tab" && (u = (/* @__PURE__ */ new Date()).getTime());
|
|
890
891
|
}
|
|
891
892
|
return {
|
|
892
|
-
init:
|
|
893
|
+
init: S
|
|
893
894
|
};
|
|
894
895
|
}
|
|
895
896
|
function me(e) {
|
|
@@ -897,127 +898,127 @@ function me(e) {
|
|
|
897
898
|
function n() {
|
|
898
899
|
return t;
|
|
899
900
|
}
|
|
900
|
-
function r(
|
|
901
|
-
t = o(
|
|
901
|
+
function r(a) {
|
|
902
|
+
t = o(a);
|
|
902
903
|
}
|
|
903
|
-
function s(
|
|
904
|
-
t += o(
|
|
904
|
+
function s(a) {
|
|
905
|
+
t += o(a);
|
|
905
906
|
}
|
|
906
|
-
function a
|
|
907
|
-
t -= o(
|
|
907
|
+
function c(a) {
|
|
908
|
+
t -= o(a);
|
|
908
909
|
}
|
|
909
|
-
function o(
|
|
910
|
-
return Pe(
|
|
910
|
+
function o(a) {
|
|
911
|
+
return Pe(a) ? a : a.get();
|
|
911
912
|
}
|
|
912
913
|
return {
|
|
913
914
|
get: n,
|
|
914
915
|
set: r,
|
|
915
916
|
add: s,
|
|
916
|
-
subtract:
|
|
917
|
+
subtract: c
|
|
917
918
|
};
|
|
918
919
|
}
|
|
919
920
|
function it(e, t) {
|
|
920
921
|
const n = e.scroll === "x" ? o : l, r = t.style;
|
|
921
|
-
let s = null,
|
|
922
|
-
function o(
|
|
923
|
-
return `translate3d(${
|
|
922
|
+
let s = null, c = !1;
|
|
923
|
+
function o(m) {
|
|
924
|
+
return `translate3d(${m}px,0px,0px)`;
|
|
924
925
|
}
|
|
925
|
-
function l(
|
|
926
|
-
return `translate3d(0px,${
|
|
926
|
+
function l(m) {
|
|
927
|
+
return `translate3d(0px,${m}px,0px)`;
|
|
927
928
|
}
|
|
928
|
-
function
|
|
929
|
-
if (
|
|
930
|
-
const C =
|
|
929
|
+
function a(m) {
|
|
930
|
+
if (c) return;
|
|
931
|
+
const C = Gt(e.direction(m));
|
|
931
932
|
C !== s && (r.transform = n(C), s = C);
|
|
932
933
|
}
|
|
933
|
-
function
|
|
934
|
-
|
|
934
|
+
function u(m) {
|
|
935
|
+
c = !m;
|
|
935
936
|
}
|
|
936
|
-
function
|
|
937
|
-
|
|
937
|
+
function S() {
|
|
938
|
+
c || (r.transform = "", t.getAttribute("style") || t.removeAttribute("style"));
|
|
938
939
|
}
|
|
939
940
|
return {
|
|
940
|
-
clear:
|
|
941
|
-
to:
|
|
942
|
-
toggleActive:
|
|
941
|
+
clear: S,
|
|
942
|
+
to: a,
|
|
943
|
+
toggleActive: u
|
|
943
944
|
};
|
|
944
945
|
}
|
|
945
|
-
function
|
|
946
|
-
const
|
|
947
|
-
function C(
|
|
948
|
-
return
|
|
946
|
+
function an(e, t, n, r, s, c, o, l, a) {
|
|
947
|
+
const S = he(s), i = he(s).reverse(), m = f().concat(g());
|
|
948
|
+
function C(E, L) {
|
|
949
|
+
return E.reduce((w, V) => w - s[V], L);
|
|
949
950
|
}
|
|
950
|
-
function
|
|
951
|
-
return
|
|
951
|
+
function p(E, L) {
|
|
952
|
+
return E.reduce((w, V) => C(w, L) > 0 ? w.concat([V]) : w, []);
|
|
952
953
|
}
|
|
953
|
-
function h(
|
|
954
|
-
return
|
|
955
|
-
start:
|
|
956
|
-
end:
|
|
954
|
+
function h(E) {
|
|
955
|
+
return c.map((L, w) => ({
|
|
956
|
+
start: L - r[w] + 0.5 + E,
|
|
957
|
+
end: L + t - 0.5 + E
|
|
957
958
|
}));
|
|
958
959
|
}
|
|
959
|
-
function
|
|
960
|
-
const
|
|
961
|
-
return
|
|
962
|
-
const F =
|
|
960
|
+
function b(E, L, w) {
|
|
961
|
+
const V = h(L);
|
|
962
|
+
return E.map((k) => {
|
|
963
|
+
const F = w ? 0 : -n, U = w ? n : 0, j = w ? "end" : "start", z = V[k][j];
|
|
963
964
|
return {
|
|
964
|
-
index:
|
|
965
|
+
index: k,
|
|
965
966
|
loopPoint: z,
|
|
966
967
|
slideLocation: me(-1),
|
|
967
|
-
translate: it(e,
|
|
968
|
+
translate: it(e, a[k]),
|
|
968
969
|
target: () => l.get() > z ? F : U
|
|
969
970
|
};
|
|
970
971
|
});
|
|
971
972
|
}
|
|
972
|
-
function
|
|
973
|
-
const
|
|
974
|
-
return
|
|
973
|
+
function f() {
|
|
974
|
+
const E = o[0], L = p(i, E);
|
|
975
|
+
return b(L, n, !1);
|
|
975
976
|
}
|
|
976
|
-
function
|
|
977
|
-
const
|
|
978
|
-
return
|
|
977
|
+
function g() {
|
|
978
|
+
const E = t - o[0] - 1, L = p(S, E);
|
|
979
|
+
return b(L, -n, !0);
|
|
979
980
|
}
|
|
980
981
|
function N() {
|
|
981
|
-
return
|
|
982
|
-
index:
|
|
982
|
+
return m.every(({
|
|
983
|
+
index: E
|
|
983
984
|
}) => {
|
|
984
|
-
const
|
|
985
|
-
return C(
|
|
985
|
+
const L = S.filter((w) => w !== E);
|
|
986
|
+
return C(L, t) <= 0.1;
|
|
986
987
|
});
|
|
987
988
|
}
|
|
988
|
-
function
|
|
989
|
-
|
|
989
|
+
function I() {
|
|
990
|
+
m.forEach((E) => {
|
|
990
991
|
const {
|
|
991
|
-
target:
|
|
992
|
-
translate:
|
|
993
|
-
slideLocation:
|
|
994
|
-
} =
|
|
995
|
-
|
|
992
|
+
target: L,
|
|
993
|
+
translate: w,
|
|
994
|
+
slideLocation: V
|
|
995
|
+
} = E, k = L();
|
|
996
|
+
k !== V.get() && (w.to(k), V.set(k));
|
|
996
997
|
});
|
|
997
998
|
}
|
|
998
|
-
function
|
|
999
|
-
|
|
999
|
+
function T() {
|
|
1000
|
+
m.forEach((E) => E.translate.clear());
|
|
1000
1001
|
}
|
|
1001
1002
|
return {
|
|
1002
1003
|
canLoop: N,
|
|
1003
|
-
clear:
|
|
1004
|
-
loop:
|
|
1005
|
-
loopPoints:
|
|
1004
|
+
clear: T,
|
|
1005
|
+
loop: I,
|
|
1006
|
+
loopPoints: m
|
|
1006
1007
|
};
|
|
1007
1008
|
}
|
|
1008
|
-
function
|
|
1009
|
+
function ln(e, t, n) {
|
|
1009
1010
|
let r, s = !1;
|
|
1010
|
-
function a
|
|
1011
|
+
function c(a) {
|
|
1011
1012
|
if (!n) return;
|
|
1012
|
-
function
|
|
1013
|
-
for (const
|
|
1014
|
-
if (
|
|
1015
|
-
|
|
1013
|
+
function u(S) {
|
|
1014
|
+
for (const i of S)
|
|
1015
|
+
if (i.type === "childList") {
|
|
1016
|
+
a.reInit(), t.emit("slidesChanged");
|
|
1016
1017
|
break;
|
|
1017
1018
|
}
|
|
1018
1019
|
}
|
|
1019
|
-
r = new MutationObserver((
|
|
1020
|
-
s || (
|
|
1020
|
+
r = new MutationObserver((S) => {
|
|
1021
|
+
s || (Ee(n) || n(a, S)) && u(S);
|
|
1021
1022
|
}), r.observe(e, {
|
|
1022
1023
|
childList: !0
|
|
1023
1024
|
});
|
|
@@ -1026,232 +1027,232 @@ function rn(e, t, n) {
|
|
|
1026
1027
|
r && r.disconnect(), s = !0;
|
|
1027
1028
|
}
|
|
1028
1029
|
return {
|
|
1029
|
-
init:
|
|
1030
|
+
init: c,
|
|
1030
1031
|
destroy: o
|
|
1031
1032
|
};
|
|
1032
1033
|
}
|
|
1033
|
-
function
|
|
1034
|
+
function un(e, t, n, r) {
|
|
1034
1035
|
const s = {};
|
|
1035
|
-
let
|
|
1036
|
-
function
|
|
1037
|
-
l = new IntersectionObserver((
|
|
1038
|
-
|
|
1039
|
-
const
|
|
1040
|
-
s[
|
|
1041
|
-
}),
|
|
1036
|
+
let c = null, o = null, l, a = !1;
|
|
1037
|
+
function u() {
|
|
1038
|
+
l = new IntersectionObserver((p) => {
|
|
1039
|
+
a || (p.forEach((h) => {
|
|
1040
|
+
const b = t.indexOf(h.target);
|
|
1041
|
+
s[b] = h;
|
|
1042
|
+
}), c = null, o = null, n.emit("slidesInView"));
|
|
1042
1043
|
}, {
|
|
1043
1044
|
root: e.parentElement,
|
|
1044
1045
|
threshold: r
|
|
1045
|
-
}), t.forEach((
|
|
1046
|
+
}), t.forEach((p) => l.observe(p));
|
|
1046
1047
|
}
|
|
1047
|
-
function
|
|
1048
|
-
l && l.disconnect(),
|
|
1049
|
-
}
|
|
1050
|
-
function p
|
|
1051
|
-
return ge(s).reduce((h,
|
|
1052
|
-
const
|
|
1053
|
-
isIntersecting:
|
|
1054
|
-
} = s[
|
|
1055
|
-
return (
|
|
1048
|
+
function S() {
|
|
1049
|
+
l && l.disconnect(), a = !0;
|
|
1050
|
+
}
|
|
1051
|
+
function i(p) {
|
|
1052
|
+
return ge(s).reduce((h, b) => {
|
|
1053
|
+
const f = parseInt(b), {
|
|
1054
|
+
isIntersecting: g
|
|
1055
|
+
} = s[f];
|
|
1056
|
+
return (p && g || !p && !g) && h.push(f), h;
|
|
1056
1057
|
}, []);
|
|
1057
1058
|
}
|
|
1058
|
-
function
|
|
1059
|
-
if (
|
|
1060
|
-
if (!
|
|
1061
|
-
const h = p
|
|
1062
|
-
return
|
|
1059
|
+
function m(p = !0) {
|
|
1060
|
+
if (p && c) return c;
|
|
1061
|
+
if (!p && o) return o;
|
|
1062
|
+
const h = i(p);
|
|
1063
|
+
return p && (c = h), p || (o = h), h;
|
|
1063
1064
|
}
|
|
1064
1065
|
return {
|
|
1065
|
-
init:
|
|
1066
|
-
destroy:
|
|
1067
|
-
get:
|
|
1066
|
+
init: u,
|
|
1067
|
+
destroy: S,
|
|
1068
|
+
get: m
|
|
1068
1069
|
};
|
|
1069
1070
|
}
|
|
1070
|
-
function
|
|
1071
|
+
function dn(e, t, n, r, s, c) {
|
|
1071
1072
|
const {
|
|
1072
1073
|
measureSize: o,
|
|
1073
1074
|
startEdge: l,
|
|
1074
|
-
endEdge:
|
|
1075
|
-
} = e,
|
|
1076
|
-
function
|
|
1077
|
-
if (!
|
|
1078
|
-
const
|
|
1079
|
-
return
|
|
1075
|
+
endEdge: a
|
|
1076
|
+
} = e, u = n[0] && s, S = p(), i = h(), m = n.map(o), C = b();
|
|
1077
|
+
function p() {
|
|
1078
|
+
if (!u) return 0;
|
|
1079
|
+
const g = n[0];
|
|
1080
|
+
return M(t[l] - g[l]);
|
|
1080
1081
|
}
|
|
1081
1082
|
function h() {
|
|
1082
|
-
if (!
|
|
1083
|
-
const
|
|
1084
|
-
return parseFloat(
|
|
1083
|
+
if (!u) return 0;
|
|
1084
|
+
const g = c.getComputedStyle(K(r));
|
|
1085
|
+
return parseFloat(g.getPropertyValue(`margin-${a}`));
|
|
1085
1086
|
}
|
|
1086
|
-
function
|
|
1087
|
-
return n.map((
|
|
1088
|
-
const
|
|
1089
|
-
return
|
|
1090
|
-
}).map(
|
|
1087
|
+
function b() {
|
|
1088
|
+
return n.map((g, N, I) => {
|
|
1089
|
+
const T = !N, x = Fe(I, N);
|
|
1090
|
+
return T ? m[N] + S : x ? m[N] + i : I[N + 1][l] - g[l];
|
|
1091
|
+
}).map(M);
|
|
1091
1092
|
}
|
|
1092
1093
|
return {
|
|
1093
|
-
slideSizes:
|
|
1094
|
+
slideSizes: m,
|
|
1094
1095
|
slideSizesWithGaps: C,
|
|
1095
|
-
startGap:
|
|
1096
|
-
endGap:
|
|
1096
|
+
startGap: S,
|
|
1097
|
+
endGap: i
|
|
1097
1098
|
};
|
|
1098
1099
|
}
|
|
1099
|
-
function
|
|
1100
|
+
function fn(e, t, n, r, s, c, o, l, a) {
|
|
1100
1101
|
const {
|
|
1101
|
-
startEdge:
|
|
1102
|
-
endEdge:
|
|
1103
|
-
direction:
|
|
1104
|
-
} = e,
|
|
1105
|
-
function C(
|
|
1106
|
-
return he(
|
|
1107
|
-
}
|
|
1108
|
-
function
|
|
1109
|
-
return
|
|
1110
|
-
const
|
|
1111
|
-
return
|
|
1112
|
-
}, []).map((
|
|
1113
|
-
const
|
|
1114
|
-
return
|
|
1102
|
+
startEdge: u,
|
|
1103
|
+
endEdge: S,
|
|
1104
|
+
direction: i
|
|
1105
|
+
} = e, m = Pe(n);
|
|
1106
|
+
function C(f, g) {
|
|
1107
|
+
return he(f).filter((N) => N % g === 0).map((N) => f.slice(N, N + g));
|
|
1108
|
+
}
|
|
1109
|
+
function p(f) {
|
|
1110
|
+
return f.length ? he(f).reduce((g, N, I) => {
|
|
1111
|
+
const T = K(g) || 0, x = T === 0, E = N === Se(f), L = s[u] - c[T][u], w = s[u] - c[N][S], V = !r && x ? i(o) : 0, k = !r && E ? i(l) : 0, F = M(w - k - (L + V));
|
|
1112
|
+
return I && F > t + a && g.push(N), E && g.push(f.length), g;
|
|
1113
|
+
}, []).map((g, N, I) => {
|
|
1114
|
+
const T = Math.max(I[N - 1] || 0);
|
|
1115
|
+
return f.slice(T, g);
|
|
1115
1116
|
}) : [];
|
|
1116
1117
|
}
|
|
1117
|
-
function h(
|
|
1118
|
-
return
|
|
1118
|
+
function h(f) {
|
|
1119
|
+
return m ? C(f, n) : p(f);
|
|
1119
1120
|
}
|
|
1120
1121
|
return {
|
|
1121
1122
|
groupSlides: h
|
|
1122
1123
|
};
|
|
1123
1124
|
}
|
|
1124
|
-
function
|
|
1125
|
+
function mn(e, t, n, r, s, c, o) {
|
|
1125
1126
|
const {
|
|
1126
1127
|
align: l,
|
|
1127
|
-
axis:
|
|
1128
|
-
direction:
|
|
1129
|
-
startIndex:
|
|
1130
|
-
loop:
|
|
1131
|
-
duration:
|
|
1128
|
+
axis: a,
|
|
1129
|
+
direction: u,
|
|
1130
|
+
startIndex: S,
|
|
1131
|
+
loop: i,
|
|
1132
|
+
duration: m,
|
|
1132
1133
|
dragFree: C,
|
|
1133
|
-
dragThreshold:
|
|
1134
|
+
dragThreshold: p,
|
|
1134
1135
|
inViewThreshold: h,
|
|
1135
|
-
slidesToScroll:
|
|
1136
|
-
skipSnaps:
|
|
1137
|
-
containScroll:
|
|
1136
|
+
slidesToScroll: b,
|
|
1137
|
+
skipSnaps: f,
|
|
1138
|
+
containScroll: g,
|
|
1138
1139
|
watchResize: N,
|
|
1139
|
-
watchSlides:
|
|
1140
|
-
watchDrag:
|
|
1141
|
-
watchFocus:
|
|
1142
|
-
} =
|
|
1140
|
+
watchSlides: I,
|
|
1141
|
+
watchDrag: T,
|
|
1142
|
+
watchFocus: x
|
|
1143
|
+
} = c, E = 2, L = $t(), w = L.measure(t), V = n.map(L.measure), k = Ut(a, u), F = k.measureSize(w), U = qt(F), j = Zt(l, F), z = !i && !!g, ne = i || !!g, {
|
|
1143
1144
|
slideSizes: ee,
|
|
1144
1145
|
slideSizesWithGaps: X,
|
|
1145
1146
|
startGap: Y,
|
|
1146
1147
|
endGap: le
|
|
1147
|
-
} =
|
|
1148
|
-
snaps:
|
|
1149
|
-
snapsAligned:
|
|
1150
|
-
} =
|
|
1148
|
+
} = dn(k, w, V, n, ne, s), $ = fn(k, F, b, i, w, V, Y, le, E), {
|
|
1149
|
+
snaps: ce,
|
|
1150
|
+
snapsAligned: ae
|
|
1151
|
+
} = nn(k, j, w, V, $), Q = -K(ce) + K(X), {
|
|
1151
1152
|
snapsContained: ue,
|
|
1152
1153
|
scrollContainLimit: de
|
|
1153
|
-
} =
|
|
1154
|
+
} = Jt(F, Q, ae, g, E), G = z ? ue : ae, {
|
|
1154
1155
|
limit: P
|
|
1155
|
-
} =
|
|
1156
|
+
} = Wt(Q, G, i), J = at(Se(G), S, i), Z = J.clone(), D = he(n), y = ({
|
|
1156
1157
|
dragHandler: ie,
|
|
1157
1158
|
scrollBody: ve,
|
|
1158
|
-
scrollBounds:
|
|
1159
|
+
scrollBounds: Ie,
|
|
1159
1160
|
options: {
|
|
1160
|
-
loop:
|
|
1161
|
+
loop: Ne
|
|
1161
1162
|
}
|
|
1162
1163
|
}) => {
|
|
1163
|
-
|
|
1164
|
-
},
|
|
1164
|
+
Ne || Ie.constrain(ie.pointerDown()), ve.seek();
|
|
1165
|
+
}, A = ({
|
|
1165
1166
|
scrollBody: ie,
|
|
1166
1167
|
translate: ve,
|
|
1167
|
-
location:
|
|
1168
|
-
offsetLocation:
|
|
1169
|
-
previousLocation:
|
|
1170
|
-
scrollLooper:
|
|
1171
|
-
slideLooper:
|
|
1172
|
-
dragHandler:
|
|
1173
|
-
animation:
|
|
1168
|
+
location: Ie,
|
|
1169
|
+
offsetLocation: Ne,
|
|
1170
|
+
previousLocation: Lt,
|
|
1171
|
+
scrollLooper: wt,
|
|
1172
|
+
slideLooper: xt,
|
|
1173
|
+
dragHandler: vt,
|
|
1174
|
+
animation: It,
|
|
1174
1175
|
eventHandler: $e,
|
|
1175
|
-
scrollBounds:
|
|
1176
|
+
scrollBounds: Ht,
|
|
1176
1177
|
options: {
|
|
1177
1178
|
loop: qe
|
|
1178
1179
|
}
|
|
1179
1180
|
}, Xe) => {
|
|
1180
|
-
const Ye = ie.settled(),
|
|
1181
|
-
Je &&
|
|
1182
|
-
const
|
|
1183
|
-
|
|
1184
|
-
}, O =
|
|
1181
|
+
const Ye = ie.settled(), Tt = !Ht.shouldConstrain(), Qe = qe ? Ye : Ye && Tt, Je = Qe && !vt.pointerDown();
|
|
1182
|
+
Je && It.stop();
|
|
1183
|
+
const kt = Ie.get() * Xe + Lt.get() * (1 - Xe);
|
|
1184
|
+
Ne.set(kt), qe && (wt.loop(ie.direction()), xt.loop()), ve.to(Ne.get()), Je && $e.emit("settle"), Qe || $e.emit("scroll");
|
|
1185
|
+
}, O = Kt(r, s, () => y(xe), (ie) => A(xe, ie)), B = 0.68, q = G[J.get()], W = me(q), re = me(q), te = me(q), oe = me(q), fe = Yt(W, te, re, oe, m, B), Le = on(i, G, Q, P, oe), we = sn(O, J, Z, fe, Le, oe, o), Ue = tn(P), je = be(), _t = un(t, n, o, h), {
|
|
1185
1186
|
slideRegistry: ze
|
|
1186
|
-
} =
|
|
1187
|
+
} = rn(z, g, G, de, $, D), Et = cn(e, n, ze, we, fe, je, o, x), xe = {
|
|
1187
1188
|
ownerDocument: r,
|
|
1188
1189
|
ownerWindow: s,
|
|
1189
1190
|
eventHandler: o,
|
|
1190
|
-
containerRect:
|
|
1191
|
-
slideRects:
|
|
1191
|
+
containerRect: w,
|
|
1192
|
+
slideRects: V,
|
|
1192
1193
|
animation: O,
|
|
1193
|
-
axis:
|
|
1194
|
-
dragHandler:
|
|
1194
|
+
axis: k,
|
|
1195
|
+
dragHandler: jt(k, e, r, s, oe, zt(k, s), W, O, we, fe, Le, J, o, U, C, p, f, B, T),
|
|
1195
1196
|
eventStore: je,
|
|
1196
1197
|
percentOfView: U,
|
|
1197
1198
|
index: J,
|
|
1198
|
-
indexPrevious:
|
|
1199
|
+
indexPrevious: Z,
|
|
1199
1200
|
limit: P,
|
|
1200
1201
|
location: W,
|
|
1201
1202
|
offsetLocation: te,
|
|
1202
1203
|
previousLocation: re,
|
|
1203
|
-
options:
|
|
1204
|
-
resizeHandler:
|
|
1204
|
+
options: c,
|
|
1205
|
+
resizeHandler: Xt(t, o, s, n, k, N, L),
|
|
1205
1206
|
scrollBody: fe,
|
|
1206
|
-
scrollBounds:
|
|
1207
|
-
scrollLooper:
|
|
1207
|
+
scrollBounds: Qt(P, te, oe, fe, U),
|
|
1208
|
+
scrollLooper: en(Q, P, te, [W, te, re, oe]),
|
|
1208
1209
|
scrollProgress: Ue,
|
|
1209
|
-
scrollSnapList:
|
|
1210
|
-
scrollSnaps:
|
|
1211
|
-
scrollTarget:
|
|
1212
|
-
scrollTo:
|
|
1213
|
-
slideLooper:
|
|
1214
|
-
slideFocus:
|
|
1215
|
-
slidesHandler:
|
|
1216
|
-
slidesInView:
|
|
1217
|
-
slideIndexes:
|
|
1210
|
+
scrollSnapList: G.map(Ue.get),
|
|
1211
|
+
scrollSnaps: G,
|
|
1212
|
+
scrollTarget: Le,
|
|
1213
|
+
scrollTo: we,
|
|
1214
|
+
slideLooper: an(k, F, Q, ee, X, ce, G, te, n),
|
|
1215
|
+
slideFocus: Et,
|
|
1216
|
+
slidesHandler: ln(t, o, I),
|
|
1217
|
+
slidesInView: _t,
|
|
1218
|
+
slideIndexes: D,
|
|
1218
1219
|
slideRegistry: ze,
|
|
1219
1220
|
slidesToScroll: $,
|
|
1220
1221
|
target: oe,
|
|
1221
|
-
translate: it(
|
|
1222
|
+
translate: it(k, t)
|
|
1222
1223
|
};
|
|
1223
1224
|
return xe;
|
|
1224
1225
|
}
|
|
1225
|
-
function
|
|
1226
|
+
function pn() {
|
|
1226
1227
|
let e = {}, t;
|
|
1227
|
-
function n(
|
|
1228
|
-
t =
|
|
1228
|
+
function n(u) {
|
|
1229
|
+
t = u;
|
|
1229
1230
|
}
|
|
1230
|
-
function r(
|
|
1231
|
-
return e[
|
|
1231
|
+
function r(u) {
|
|
1232
|
+
return e[u] || [];
|
|
1232
1233
|
}
|
|
1233
|
-
function s(
|
|
1234
|
-
return r(
|
|
1234
|
+
function s(u) {
|
|
1235
|
+
return r(u).forEach((S) => S(t, u)), a;
|
|
1235
1236
|
}
|
|
1236
|
-
function
|
|
1237
|
-
return e[
|
|
1237
|
+
function c(u, S) {
|
|
1238
|
+
return e[u] = r(u).concat([S]), a;
|
|
1238
1239
|
}
|
|
1239
|
-
function o(
|
|
1240
|
-
return e[
|
|
1240
|
+
function o(u, S) {
|
|
1241
|
+
return e[u] = r(u).filter((i) => i !== S), a;
|
|
1241
1242
|
}
|
|
1242
1243
|
function l() {
|
|
1243
1244
|
e = {};
|
|
1244
1245
|
}
|
|
1245
|
-
const
|
|
1246
|
+
const a = {
|
|
1246
1247
|
init: n,
|
|
1247
1248
|
emit: s,
|
|
1248
1249
|
off: o,
|
|
1249
|
-
on:
|
|
1250
|
+
on: c,
|
|
1250
1251
|
clear: l
|
|
1251
1252
|
};
|
|
1252
|
-
return
|
|
1253
|
+
return a;
|
|
1253
1254
|
}
|
|
1254
|
-
const
|
|
1255
|
+
const hn = {
|
|
1255
1256
|
align: "center",
|
|
1256
1257
|
axis: "x",
|
|
1257
1258
|
container: null,
|
|
@@ -1273,16 +1274,16 @@ const un = {
|
|
|
1273
1274
|
watchSlides: !0,
|
|
1274
1275
|
watchFocus: !0
|
|
1275
1276
|
};
|
|
1276
|
-
function
|
|
1277
|
-
function t(
|
|
1278
|
-
return
|
|
1277
|
+
function gn(e) {
|
|
1278
|
+
function t(c, o) {
|
|
1279
|
+
return ct(c, o || {});
|
|
1279
1280
|
}
|
|
1280
|
-
function n(
|
|
1281
|
-
const o =
|
|
1282
|
-
return t(
|
|
1281
|
+
function n(c) {
|
|
1282
|
+
const o = c.breakpoints || {}, l = ge(o).filter((a) => e.matchMedia(a).matches).map((a) => o[a]).reduce((a, u) => t(a, u), {});
|
|
1283
|
+
return t(c, l);
|
|
1283
1284
|
}
|
|
1284
|
-
function r(
|
|
1285
|
-
return
|
|
1285
|
+
function r(c) {
|
|
1286
|
+
return c.map((o) => ge(o.breakpoints || {})).reduce((o, l) => o.concat(l), []).map(e.matchMedia);
|
|
1286
1287
|
}
|
|
1287
1288
|
return {
|
|
1288
1289
|
mergeOptions: t,
|
|
@@ -1290,133 +1291,133 @@ function dn(e) {
|
|
|
1290
1291
|
optionsMediaQueries: r
|
|
1291
1292
|
};
|
|
1292
1293
|
}
|
|
1293
|
-
function
|
|
1294
|
+
function bn(e) {
|
|
1294
1295
|
let t = [];
|
|
1295
|
-
function n(
|
|
1296
|
+
function n(c, o) {
|
|
1296
1297
|
return t = o.filter(({
|
|
1297
1298
|
options: l
|
|
1298
|
-
}) => e.optionsAtMedia(l).active !== !1), t.forEach((l) => l.init(
|
|
1299
|
-
[
|
|
1299
|
+
}) => e.optionsAtMedia(l).active !== !1), t.forEach((l) => l.init(c, e)), o.reduce((l, a) => Object.assign(l, {
|
|
1300
|
+
[a.name]: a
|
|
1300
1301
|
}), {});
|
|
1301
1302
|
}
|
|
1302
1303
|
function r() {
|
|
1303
|
-
t = t.filter((
|
|
1304
|
+
t = t.filter((c) => c.destroy());
|
|
1304
1305
|
}
|
|
1305
1306
|
return {
|
|
1306
1307
|
init: n,
|
|
1307
1308
|
destroy: r
|
|
1308
1309
|
};
|
|
1309
1310
|
}
|
|
1310
|
-
function
|
|
1311
|
-
const r = e.ownerDocument, s = r.defaultView,
|
|
1312
|
-
mergeOptions:
|
|
1313
|
-
optionsAtMedia:
|
|
1314
|
-
optionsMediaQueries:
|
|
1315
|
-
} =
|
|
1316
|
-
on:
|
|
1311
|
+
function ye(e, t, n) {
|
|
1312
|
+
const r = e.ownerDocument, s = r.defaultView, c = gn(s), o = bn(c), l = be(), a = pn(), {
|
|
1313
|
+
mergeOptions: u,
|
|
1314
|
+
optionsAtMedia: S,
|
|
1315
|
+
optionsMediaQueries: i
|
|
1316
|
+
} = c, {
|
|
1317
|
+
on: m,
|
|
1317
1318
|
off: C,
|
|
1318
|
-
emit:
|
|
1319
|
-
} =
|
|
1320
|
-
let
|
|
1321
|
-
function
|
|
1319
|
+
emit: p
|
|
1320
|
+
} = a, h = k;
|
|
1321
|
+
let b = !1, f, g = u(hn, ye.globalOptions), N = u(g), I = [], T, x, E;
|
|
1322
|
+
function L() {
|
|
1322
1323
|
const {
|
|
1323
|
-
container:
|
|
1324
|
+
container: D,
|
|
1324
1325
|
slides: y
|
|
1325
1326
|
} = N;
|
|
1326
|
-
|
|
1327
|
-
const O =
|
|
1328
|
-
|
|
1329
|
-
}
|
|
1330
|
-
function
|
|
1331
|
-
const y =
|
|
1332
|
-
if (
|
|
1333
|
-
const
|
|
1327
|
+
x = (ke(D) ? e.querySelector(D) : D) || e.children[0];
|
|
1328
|
+
const O = ke(y) ? x.querySelectorAll(y) : y;
|
|
1329
|
+
E = [].slice.call(O || x.children);
|
|
1330
|
+
}
|
|
1331
|
+
function w(D) {
|
|
1332
|
+
const y = mn(e, x, E, r, s, D, a);
|
|
1333
|
+
if (D.loop && !y.slideLooper.canLoop()) {
|
|
1334
|
+
const A = Object.assign({}, D, {
|
|
1334
1335
|
loop: !1
|
|
1335
1336
|
});
|
|
1336
|
-
return
|
|
1337
|
+
return w(A);
|
|
1337
1338
|
}
|
|
1338
1339
|
return y;
|
|
1339
1340
|
}
|
|
1340
|
-
function
|
|
1341
|
-
|
|
1342
|
-
options:
|
|
1343
|
-
}) =>
|
|
1341
|
+
function V(D, y) {
|
|
1342
|
+
b || (g = u(g, D), N = S(g), I = y || I, L(), f = w(N), i([g, ...I.map(({
|
|
1343
|
+
options: A
|
|
1344
|
+
}) => A)]).forEach((A) => l.add(A, "change", k)), N.active && (f.translate.to(f.location.get()), f.animation.init(), f.slidesInView.init(), f.slideFocus.init(Z), f.eventHandler.init(Z), f.resizeHandler.init(Z), f.slidesHandler.init(Z), f.options.loop && f.slideLooper.loop(), x.offsetParent && E.length && f.dragHandler.init(Z), T = o.init(Z, I)));
|
|
1344
1345
|
}
|
|
1345
|
-
function
|
|
1346
|
-
const
|
|
1347
|
-
F(),
|
|
1348
|
-
startIndex:
|
|
1349
|
-
},
|
|
1346
|
+
function k(D, y) {
|
|
1347
|
+
const A = $();
|
|
1348
|
+
F(), V(u({
|
|
1349
|
+
startIndex: A
|
|
1350
|
+
}, D), y), a.emit("reInit");
|
|
1350
1351
|
}
|
|
1351
1352
|
function F() {
|
|
1352
|
-
|
|
1353
|
+
f.dragHandler.destroy(), f.eventStore.clear(), f.translate.clear(), f.slideLooper.clear(), f.resizeHandler.destroy(), f.slidesHandler.destroy(), f.slidesInView.destroy(), f.animation.destroy(), o.destroy(), l.clear();
|
|
1353
1354
|
}
|
|
1354
1355
|
function U() {
|
|
1355
|
-
|
|
1356
|
+
b || (b = !0, l.clear(), F(), a.emit("destroy"), a.clear());
|
|
1356
1357
|
}
|
|
1357
|
-
function j(
|
|
1358
|
-
!N.active ||
|
|
1358
|
+
function j(D, y, A) {
|
|
1359
|
+
!N.active || b || (f.scrollBody.useBaseFriction().useDuration(y === !0 ? 0 : N.duration), f.scrollTo.index(D, A || 0));
|
|
1359
1360
|
}
|
|
1360
|
-
function z(
|
|
1361
|
-
const y =
|
|
1362
|
-
j(y,
|
|
1361
|
+
function z(D) {
|
|
1362
|
+
const y = f.index.add(1).get();
|
|
1363
|
+
j(y, D, -1);
|
|
1363
1364
|
}
|
|
1364
|
-
function ne(
|
|
1365
|
-
const y =
|
|
1366
|
-
j(y,
|
|
1365
|
+
function ne(D) {
|
|
1366
|
+
const y = f.index.add(-1).get();
|
|
1367
|
+
j(y, D, 1);
|
|
1367
1368
|
}
|
|
1368
1369
|
function ee() {
|
|
1369
|
-
return
|
|
1370
|
+
return f.index.add(1).get() !== $();
|
|
1370
1371
|
}
|
|
1371
1372
|
function X() {
|
|
1372
|
-
return
|
|
1373
|
+
return f.index.add(-1).get() !== $();
|
|
1373
1374
|
}
|
|
1374
1375
|
function Y() {
|
|
1375
|
-
return
|
|
1376
|
+
return f.scrollSnapList;
|
|
1376
1377
|
}
|
|
1377
1378
|
function le() {
|
|
1378
|
-
return
|
|
1379
|
+
return f.scrollProgress.get(f.offsetLocation.get());
|
|
1379
1380
|
}
|
|
1380
1381
|
function $() {
|
|
1381
|
-
return
|
|
1382
|
-
}
|
|
1383
|
-
function ae() {
|
|
1384
|
-
return d.indexPrevious.get();
|
|
1382
|
+
return f.index.get();
|
|
1385
1383
|
}
|
|
1386
1384
|
function ce() {
|
|
1387
|
-
return
|
|
1385
|
+
return f.indexPrevious.get();
|
|
1386
|
+
}
|
|
1387
|
+
function ae() {
|
|
1388
|
+
return f.slidesInView.get();
|
|
1388
1389
|
}
|
|
1389
1390
|
function Q() {
|
|
1390
|
-
return
|
|
1391
|
+
return f.slidesInView.get(!1);
|
|
1391
1392
|
}
|
|
1392
1393
|
function ue() {
|
|
1393
|
-
return
|
|
1394
|
+
return T;
|
|
1394
1395
|
}
|
|
1395
1396
|
function de() {
|
|
1396
|
-
return
|
|
1397
|
+
return f;
|
|
1397
1398
|
}
|
|
1398
|
-
function
|
|
1399
|
+
function G() {
|
|
1399
1400
|
return e;
|
|
1400
1401
|
}
|
|
1401
1402
|
function P() {
|
|
1402
|
-
return
|
|
1403
|
+
return x;
|
|
1403
1404
|
}
|
|
1404
1405
|
function J() {
|
|
1405
|
-
return
|
|
1406
|
+
return E;
|
|
1406
1407
|
}
|
|
1407
|
-
const
|
|
1408
|
+
const Z = {
|
|
1408
1409
|
canScrollNext: ee,
|
|
1409
1410
|
canScrollPrev: X,
|
|
1410
1411
|
containerNode: P,
|
|
1411
1412
|
internalEngine: de,
|
|
1412
1413
|
destroy: U,
|
|
1413
1414
|
off: C,
|
|
1414
|
-
on:
|
|
1415
|
-
emit:
|
|
1415
|
+
on: m,
|
|
1416
|
+
emit: p,
|
|
1416
1417
|
plugins: ue,
|
|
1417
|
-
previousScrollSnap:
|
|
1418
|
+
previousScrollSnap: ce,
|
|
1418
1419
|
reInit: h,
|
|
1419
|
-
rootNode:
|
|
1420
|
+
rootNode: G,
|
|
1420
1421
|
scrollNext: z,
|
|
1421
1422
|
scrollPrev: ne,
|
|
1422
1423
|
scrollProgress: le,
|
|
@@ -1424,254 +1425,258 @@ function Ne(e, t, n) {
|
|
|
1424
1425
|
scrollTo: j,
|
|
1425
1426
|
selectedScrollSnap: $,
|
|
1426
1427
|
slideNodes: J,
|
|
1427
|
-
slidesInView:
|
|
1428
|
+
slidesInView: ae,
|
|
1428
1429
|
slidesNotInView: Q
|
|
1429
1430
|
};
|
|
1430
|
-
return
|
|
1431
|
+
return V(t, n), setTimeout(() => a.emit("init"), 0), Z;
|
|
1431
1432
|
}
|
|
1432
|
-
|
|
1433
|
-
function
|
|
1434
|
-
const n = We(e), r = We(t), [s,
|
|
1433
|
+
ye.globalOptions = void 0;
|
|
1434
|
+
function Ge(e = {}, t = []) {
|
|
1435
|
+
const n = We(e), r = We(t), [s, c] = et(), [o, l] = et(), a = At(() => {
|
|
1435
1436
|
s && s.reInit(n.current, r.current);
|
|
1436
1437
|
}, [s]);
|
|
1437
1438
|
return He(() => {
|
|
1438
|
-
Re(n.current, e) || (n.current = e,
|
|
1439
|
-
}, [e,
|
|
1440
|
-
|
|
1441
|
-
}, [t,
|
|
1442
|
-
if (
|
|
1443
|
-
|
|
1444
|
-
const
|
|
1445
|
-
return
|
|
1439
|
+
Re(n.current, e) || (n.current = e, a());
|
|
1440
|
+
}, [e, a]), He(() => {
|
|
1441
|
+
Bt(r.current, t) || (r.current = t, a());
|
|
1442
|
+
}, [t, a]), He(() => {
|
|
1443
|
+
if (Pt() && o) {
|
|
1444
|
+
ye.globalOptions = Ge.globalOptions;
|
|
1445
|
+
const u = ye(o, n.current, r.current);
|
|
1446
|
+
return c(u), () => u.destroy();
|
|
1446
1447
|
} else
|
|
1447
|
-
|
|
1448
|
-
}, [o,
|
|
1448
|
+
c(void 0);
|
|
1449
|
+
}, [o, c]), [l, s];
|
|
1449
1450
|
}
|
|
1450
|
-
|
|
1451
|
+
Ge.globalOptions = void 0;
|
|
1451
1452
|
const lt = _.createContext(void 0);
|
|
1452
|
-
function
|
|
1453
|
+
function Ce() {
|
|
1453
1454
|
const e = _.useContext(lt);
|
|
1454
1455
|
if (!e)
|
|
1455
|
-
throw new Error(
|
|
1456
|
-
"KuatCarousel components must be used within a KuatCarousel."
|
|
1457
|
-
);
|
|
1456
|
+
throw new Error("Carousel components must be used within a Carousel.");
|
|
1458
1457
|
return e;
|
|
1459
1458
|
}
|
|
1460
|
-
const
|
|
1459
|
+
const ut = _.forwardRef(
|
|
1461
1460
|
({
|
|
1462
1461
|
opts: e,
|
|
1463
|
-
|
|
1462
|
+
basis: t = 1,
|
|
1464
1463
|
orientation: n = "horizontal",
|
|
1465
1464
|
plugins: r,
|
|
1466
|
-
|
|
1467
|
-
|
|
1468
|
-
|
|
1469
|
-
|
|
1470
|
-
|
|
1465
|
+
setApi: s,
|
|
1466
|
+
events: c,
|
|
1467
|
+
className: o,
|
|
1468
|
+
children: l,
|
|
1469
|
+
...a
|
|
1470
|
+
}, u) => {
|
|
1471
|
+
const [S, i] = Ge(
|
|
1471
1472
|
{
|
|
1472
1473
|
...e,
|
|
1473
1474
|
axis: n === "horizontal" ? "x" : "y"
|
|
1474
1475
|
},
|
|
1475
1476
|
r
|
|
1476
|
-
), [
|
|
1477
|
+
), [m, C] = _.useState(!1), [p, h] = _.useState(!1), b = _.useCallback(() => {
|
|
1477
1478
|
i == null || i.scrollPrev();
|
|
1478
|
-
}, [i]),
|
|
1479
|
+
}, [i]), f = _.useCallback(() => {
|
|
1479
1480
|
i == null || i.scrollNext();
|
|
1480
|
-
}, [i]), g = _.useCallback((
|
|
1481
|
-
|
|
1481
|
+
}, [i]), g = _.useCallback((E) => {
|
|
1482
|
+
E && (C(E.canScrollPrev()), h(E.canScrollNext()));
|
|
1482
1483
|
}, []);
|
|
1483
1484
|
_.useEffect(() => {
|
|
1484
1485
|
if (i)
|
|
1485
|
-
return g(i), i.on("reInit", g).on("select", g), () => {
|
|
1486
|
+
return s == null || s(i), g(i), i.on("reInit", g).on("select", g), () => {
|
|
1486
1487
|
i.off("reInit", g).off("select", g);
|
|
1487
1488
|
};
|
|
1488
|
-
}, [i, g])
|
|
1489
|
-
|
|
1489
|
+
}, [i, g, s]), _.useEffect(() => {
|
|
1490
|
+
if (!i || !c) return;
|
|
1491
|
+
const E = Object.entries(c).flatMap(([L, w]) => {
|
|
1492
|
+
if (!w) return [];
|
|
1493
|
+
const V = () => w(i, L);
|
|
1494
|
+
return i.on(L, V), [[L, V]];
|
|
1495
|
+
});
|
|
1496
|
+
return () => {
|
|
1497
|
+
E.forEach(([L, w]) => {
|
|
1498
|
+
i.off(L, w);
|
|
1499
|
+
});
|
|
1500
|
+
};
|
|
1501
|
+
}, [i, c]);
|
|
1502
|
+
const N = _.useMemo(
|
|
1490
1503
|
() => ({
|
|
1491
1504
|
api: i,
|
|
1492
|
-
|
|
1505
|
+
basis: t,
|
|
1493
1506
|
orientation: n,
|
|
1494
|
-
scrollPrev:
|
|
1495
|
-
scrollNext:
|
|
1496
|
-
canScrollPrev:
|
|
1497
|
-
canScrollNext:
|
|
1507
|
+
scrollPrev: b,
|
|
1508
|
+
scrollNext: f,
|
|
1509
|
+
canScrollPrev: m,
|
|
1510
|
+
canScrollNext: p
|
|
1498
1511
|
}),
|
|
1499
|
-
[
|
|
1500
|
-
|
|
1501
|
-
|
|
1502
|
-
|
|
1503
|
-
|
|
1504
|
-
|
|
1505
|
-
|
|
1506
|
-
|
|
1507
|
-
|
|
1508
|
-
|
|
1509
|
-
|
|
1512
|
+
[i, t, n, b, f, m, p]
|
|
1513
|
+
), I = _.Children.toArray(l), [T, ...x] = I;
|
|
1514
|
+
return /* @__PURE__ */ d(lt.Provider, { value: N, children: /* @__PURE__ */ H("div", { ref: u, className: v("carousel", o), ...a, children: [
|
|
1515
|
+
x.length > 0 ? /* @__PURE__ */ d("div", { className: "carousel__controls", "data-slot": "carousel-controls", children: x }) : null,
|
|
1516
|
+
/* @__PURE__ */ d("div", { ref: S, className: "carousel__viewport", children: T })
|
|
1517
|
+
] }) });
|
|
1518
|
+
}
|
|
1519
|
+
);
|
|
1520
|
+
ut.displayName = "Carousel";
|
|
1521
|
+
const dt = _.forwardRef(
|
|
1522
|
+
({ className: e, ...t }, n) => {
|
|
1523
|
+
const { orientation: r } = Ce();
|
|
1524
|
+
return /* @__PURE__ */ d(
|
|
1510
1525
|
"div",
|
|
1511
1526
|
{
|
|
1512
|
-
ref:
|
|
1513
|
-
className:
|
|
1514
|
-
...
|
|
1515
|
-
children: [
|
|
1516
|
-
/* @__PURE__ */ u("div", { ref: c, className: "kuat-carousel__viewport", children: N }),
|
|
1517
|
-
x
|
|
1518
|
-
]
|
|
1527
|
+
ref: n,
|
|
1528
|
+
className: v("carousel__content", `carousel__content--${r}`, e),
|
|
1529
|
+
...t
|
|
1519
1530
|
}
|
|
1520
|
-
)
|
|
1531
|
+
);
|
|
1521
1532
|
}
|
|
1522
1533
|
);
|
|
1523
|
-
|
|
1524
|
-
const
|
|
1525
|
-
|
|
1526
|
-
|
|
1527
|
-
|
|
1528
|
-
|
|
1529
|
-
|
|
1530
|
-
|
|
1531
|
-
|
|
1532
|
-
|
|
1533
|
-
|
|
1534
|
-
|
|
1535
|
-
|
|
1536
|
-
|
|
1537
|
-
|
|
1538
|
-
}
|
|
1539
|
-
|
|
1540
|
-
|
|
1541
|
-
|
|
1542
|
-
|
|
1543
|
-
|
|
1544
|
-
|
|
1545
|
-
|
|
1546
|
-
|
|
1547
|
-
|
|
1548
|
-
|
|
1549
|
-
|
|
1550
|
-
|
|
1551
|
-
|
|
1552
|
-
|
|
1553
|
-
|
|
1554
|
-
|
|
1555
|
-
|
|
1556
|
-
|
|
1557
|
-
|
|
1558
|
-
|
|
1559
|
-
|
|
1560
|
-
|
|
1561
|
-
|
|
1562
|
-
|
|
1563
|
-
|
|
1564
|
-
|
|
1565
|
-
|
|
1566
|
-
|
|
1567
|
-
|
|
1568
|
-
|
|
1569
|
-
|
|
1570
|
-
|
|
1571
|
-
|
|
1572
|
-
|
|
1573
|
-
|
|
1574
|
-
|
|
1575
|
-
|
|
1576
|
-
|
|
1577
|
-
|
|
1578
|
-
|
|
1579
|
-
|
|
1580
|
-
|
|
1581
|
-
|
|
1582
|
-
|
|
1583
|
-
|
|
1584
|
-
|
|
1585
|
-
|
|
1586
|
-
children: /* @__PURE__ */ u(Oe, { className: "h-4 w-4" })
|
|
1587
|
-
}
|
|
1588
|
-
);
|
|
1589
|
-
});
|
|
1590
|
-
bn.displayName = "KuatCarouselNext";
|
|
1591
|
-
const Pn = ["service", "demo"], Bn = ["light", "dark"], Sn = _.forwardRef(
|
|
1534
|
+
dt.displayName = "CarouselContent";
|
|
1535
|
+
const ft = _.forwardRef(
|
|
1536
|
+
({ basis: e, className: t, ...n }, r) => {
|
|
1537
|
+
const { basis: s, orientation: c } = Ce(), o = e ?? s;
|
|
1538
|
+
return /* @__PURE__ */ d(
|
|
1539
|
+
"div",
|
|
1540
|
+
{
|
|
1541
|
+
ref: r,
|
|
1542
|
+
className: v(
|
|
1543
|
+
"carousel__item",
|
|
1544
|
+
`carousel__item--${c}`,
|
|
1545
|
+
`carousel__item--basis-${o}`,
|
|
1546
|
+
t
|
|
1547
|
+
),
|
|
1548
|
+
...n
|
|
1549
|
+
}
|
|
1550
|
+
);
|
|
1551
|
+
}
|
|
1552
|
+
);
|
|
1553
|
+
ft.displayName = "CarouselItem";
|
|
1554
|
+
const mt = _.forwardRef(
|
|
1555
|
+
({ className: e, ...t }, n) => {
|
|
1556
|
+
const { scrollPrev: r, canScrollPrev: s } = Ce();
|
|
1557
|
+
return /* @__PURE__ */ d(
|
|
1558
|
+
"button",
|
|
1559
|
+
{
|
|
1560
|
+
ref: n,
|
|
1561
|
+
type: "button",
|
|
1562
|
+
className: v("carousel__prev", e),
|
|
1563
|
+
disabled: !s,
|
|
1564
|
+
onClick: r,
|
|
1565
|
+
"aria-label": "Previous slide",
|
|
1566
|
+
...t,
|
|
1567
|
+
children: /* @__PURE__ */ d(Vt, {})
|
|
1568
|
+
}
|
|
1569
|
+
);
|
|
1570
|
+
}
|
|
1571
|
+
);
|
|
1572
|
+
mt.displayName = "CarouselPrevious";
|
|
1573
|
+
const pt = _.forwardRef(
|
|
1574
|
+
({ className: e, ...t }, n) => {
|
|
1575
|
+
const { scrollNext: r, canScrollNext: s } = Ce();
|
|
1576
|
+
return /* @__PURE__ */ d(
|
|
1577
|
+
"button",
|
|
1578
|
+
{
|
|
1579
|
+
ref: n,
|
|
1580
|
+
type: "button",
|
|
1581
|
+
className: v("carousel__next", e),
|
|
1582
|
+
disabled: !s,
|
|
1583
|
+
onClick: r,
|
|
1584
|
+
"aria-label": "Next slide",
|
|
1585
|
+
...t,
|
|
1586
|
+
children: /* @__PURE__ */ d(Oe, {})
|
|
1587
|
+
}
|
|
1588
|
+
);
|
|
1589
|
+
}
|
|
1590
|
+
);
|
|
1591
|
+
pt.displayName = "CarouselNext";
|
|
1592
|
+
const Sn = _.forwardRef(
|
|
1593
|
+
({ slidesPerView: e = 1, ...t }, n) => /* @__PURE__ */ d(ut, { ref: n, basis: e, ...t })
|
|
1594
|
+
);
|
|
1595
|
+
Sn.displayName = "KuatCarousel";
|
|
1596
|
+
const Bn = dt, Fn = ft, Gn = mt, Zn = pt, Kn = Ce, Un = ["service", "demo"], jn = ["light", "dark"], Cn = _.forwardRef(
|
|
1592
1597
|
({
|
|
1593
1598
|
className: e,
|
|
1594
1599
|
title: t,
|
|
1595
1600
|
use: n = "service",
|
|
1596
1601
|
mode: r = "light",
|
|
1597
1602
|
forceDark: s = !1,
|
|
1598
|
-
...
|
|
1603
|
+
...c
|
|
1599
1604
|
}, o) => {
|
|
1600
|
-
const l = s ? "dark" : r,
|
|
1601
|
-
|
|
1605
|
+
const l = s ? "dark" : r, a = /* @__PURE__ */ d(
|
|
1606
|
+
Te,
|
|
1602
1607
|
{
|
|
1603
|
-
className:
|
|
1608
|
+
className: v(
|
|
1604
1609
|
"kuat-logo-lockup__logo",
|
|
1605
1610
|
n === "demo" && "kuat-logo-lockup__logo--demo"
|
|
1606
1611
|
),
|
|
1607
1612
|
textColor: l === "dark" ? "white" : "grey"
|
|
1608
1613
|
}
|
|
1609
1614
|
);
|
|
1610
|
-
return /* @__PURE__ */
|
|
1615
|
+
return /* @__PURE__ */ d(
|
|
1611
1616
|
"div",
|
|
1612
1617
|
{
|
|
1613
1618
|
ref: o,
|
|
1614
|
-
className:
|
|
1619
|
+
className: v(
|
|
1615
1620
|
"kuat-logo-lockup",
|
|
1616
1621
|
`kuat-logo-lockup--${l}`,
|
|
1617
1622
|
`kuat-logo-lockup--${n}`,
|
|
1618
1623
|
e
|
|
1619
1624
|
),
|
|
1620
|
-
...
|
|
1621
|
-
children: n === "service" ? /* @__PURE__ */
|
|
1622
|
-
/* @__PURE__ */
|
|
1623
|
-
/* @__PURE__ */
|
|
1625
|
+
...c,
|
|
1626
|
+
children: n === "service" ? /* @__PURE__ */ H("div", { className: "kuat-logo-lockup__service-inner", children: [
|
|
1627
|
+
/* @__PURE__ */ d("div", { className: "kuat-logo-lockup__logo-wrap", children: a }),
|
|
1628
|
+
/* @__PURE__ */ d(
|
|
1624
1629
|
st,
|
|
1625
1630
|
{
|
|
1626
1631
|
orientation: "vertical",
|
|
1627
1632
|
className: "kuat-logo-lockup__separator"
|
|
1628
1633
|
}
|
|
1629
1634
|
),
|
|
1630
|
-
/* @__PURE__ */
|
|
1631
|
-
] }) : /* @__PURE__ */
|
|
1632
|
-
/* @__PURE__ */
|
|
1633
|
-
/* @__PURE__ */
|
|
1634
|
-
/* @__PURE__ */
|
|
1635
|
-
/* @__PURE__ */
|
|
1635
|
+
/* @__PURE__ */ d("span", { className: "kuat-logo-lockup__service-name", children: t })
|
|
1636
|
+
] }) : /* @__PURE__ */ H(_e, { children: [
|
|
1637
|
+
/* @__PURE__ */ d("h2", { className: "kuat-logo-lockup__demo-title", children: t }),
|
|
1638
|
+
/* @__PURE__ */ H("div", { className: "kuat-logo-lockup__demo-attribution", children: [
|
|
1639
|
+
/* @__PURE__ */ d("span", { className: "kuat-logo-lockup__demo-by", children: "A demo by" }),
|
|
1640
|
+
/* @__PURE__ */ d("div", { className: "kuat-logo-lockup__demo-logo-wrap", children: a })
|
|
1636
1641
|
] })
|
|
1637
1642
|
] })
|
|
1638
1643
|
}
|
|
1639
1644
|
);
|
|
1640
1645
|
}
|
|
1641
1646
|
);
|
|
1642
|
-
|
|
1643
|
-
function
|
|
1644
|
-
return /* @__PURE__ */
|
|
1647
|
+
Cn.displayName = "KuatLogoLockup";
|
|
1648
|
+
function zn({ className: e }) {
|
|
1649
|
+
return /* @__PURE__ */ H(
|
|
1645
1650
|
"svg",
|
|
1646
1651
|
{
|
|
1647
|
-
className:
|
|
1652
|
+
className: v("ee-logo-icon", e),
|
|
1648
1653
|
viewBox: "0 0 143 133",
|
|
1649
1654
|
fill: "none",
|
|
1650
1655
|
xmlns: "http://www.w3.org/2000/svg",
|
|
1651
1656
|
"aria-label": "Equal Experts",
|
|
1652
1657
|
children: [
|
|
1653
|
-
/* @__PURE__ */
|
|
1658
|
+
/* @__PURE__ */ d(
|
|
1654
1659
|
"path",
|
|
1655
1660
|
{
|
|
1656
1661
|
d: "M102.74 38.8927H40.5969V57.5323H102.74V38.8927Z",
|
|
1657
1662
|
fill: "currentColor"
|
|
1658
1663
|
}
|
|
1659
1664
|
),
|
|
1660
|
-
/* @__PURE__ */
|
|
1665
|
+
/* @__PURE__ */ d(
|
|
1661
1666
|
"path",
|
|
1662
1667
|
{
|
|
1663
1668
|
d: "M102.74 75.3895H40.5969V93.029H102.74V75.3895Z",
|
|
1664
1669
|
fill: "currentColor"
|
|
1665
1670
|
}
|
|
1666
1671
|
),
|
|
1667
|
-
/* @__PURE__ */
|
|
1672
|
+
/* @__PURE__ */ d(
|
|
1668
1673
|
"path",
|
|
1669
1674
|
{
|
|
1670
1675
|
d: "M0.489227 2.44485V20.7938V110.382V128.741H19.1389H56.6732V110.382H19.1389V20.7938H56.6732V2.44485H19.1389H0.489227Z",
|
|
1671
1676
|
fill: "currentColor"
|
|
1672
1677
|
}
|
|
1673
1678
|
),
|
|
1674
|
-
/* @__PURE__ */
|
|
1679
|
+
/* @__PURE__ */ d(
|
|
1675
1680
|
"path",
|
|
1676
1681
|
{
|
|
1677
1682
|
d: "M124.198 2.44485H85.6262V21.0844H124.198V112.092H85.6262V130.741H124.198H142.847V112.092V21.0844V2.44485H124.198Z",
|
|
@@ -1682,89 +1687,89 @@ function Fn({ className: e }) {
|
|
|
1682
1687
|
}
|
|
1683
1688
|
);
|
|
1684
1689
|
}
|
|
1685
|
-
const
|
|
1690
|
+
const ht = _.forwardRef(({ className: e, "aria-label": t = "Breadcrumb", ...n }, r) => /* @__PURE__ */ d(
|
|
1686
1691
|
"nav",
|
|
1687
1692
|
{
|
|
1688
1693
|
ref: r,
|
|
1689
1694
|
"aria-label": t,
|
|
1690
|
-
className:
|
|
1695
|
+
className: v("breadcrumb", e),
|
|
1691
1696
|
...n
|
|
1692
1697
|
}
|
|
1693
1698
|
));
|
|
1694
|
-
|
|
1695
|
-
const
|
|
1696
|
-
|
|
1697
|
-
const Ve = _.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */
|
|
1699
|
+
ht.displayName = "BreadcrumbRoot";
|
|
1700
|
+
const gt = _.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ d("ol", { ref: n, className: v("breadcrumb-list", e), ...t }));
|
|
1701
|
+
gt.displayName = "BreadcrumbList";
|
|
1702
|
+
const Ve = _.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ d("li", { ref: n, className: v("breadcrumb-item", e), ...t }));
|
|
1698
1703
|
Ve.displayName = "BreadcrumbItem";
|
|
1699
|
-
const
|
|
1700
|
-
var
|
|
1704
|
+
const bt = _.forwardRef(({ className: e, render: t, asChild: n = !1, ...r }, s) => {
|
|
1705
|
+
var c;
|
|
1701
1706
|
if (t) {
|
|
1702
1707
|
const o = t.props;
|
|
1703
1708
|
return _.cloneElement(t, {
|
|
1704
1709
|
...r,
|
|
1705
1710
|
ref: s,
|
|
1706
|
-
className:
|
|
1711
|
+
className: v("breadcrumb-link", o == null ? void 0 : o.className, e)
|
|
1707
1712
|
});
|
|
1708
1713
|
}
|
|
1709
1714
|
if (n && _.Children.only(r.children)) {
|
|
1710
1715
|
const o = _.Children.only(r.children);
|
|
1711
1716
|
return _.cloneElement(o, {
|
|
1712
1717
|
ref: s,
|
|
1713
|
-
className:
|
|
1718
|
+
className: v("breadcrumb-link", (c = o.props) == null ? void 0 : c.className, e),
|
|
1714
1719
|
...r
|
|
1715
1720
|
});
|
|
1716
1721
|
}
|
|
1717
|
-
return /* @__PURE__ */
|
|
1722
|
+
return /* @__PURE__ */ d(
|
|
1718
1723
|
"a",
|
|
1719
1724
|
{
|
|
1720
1725
|
ref: s,
|
|
1721
|
-
className:
|
|
1726
|
+
className: v("breadcrumb-link", e),
|
|
1722
1727
|
...r
|
|
1723
1728
|
}
|
|
1724
1729
|
);
|
|
1725
1730
|
});
|
|
1726
|
-
|
|
1727
|
-
const De = _.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */
|
|
1731
|
+
bt.displayName = "BreadcrumbLink";
|
|
1732
|
+
const De = _.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ d(
|
|
1728
1733
|
"span",
|
|
1729
1734
|
{
|
|
1730
1735
|
ref: n,
|
|
1731
1736
|
role: "link",
|
|
1732
1737
|
"aria-disabled": "true",
|
|
1733
1738
|
"aria-current": "page",
|
|
1734
|
-
className:
|
|
1739
|
+
className: v("breadcrumb-page", e),
|
|
1735
1740
|
...t
|
|
1736
1741
|
}
|
|
1737
1742
|
));
|
|
1738
1743
|
De.displayName = "BreadcrumbPage";
|
|
1739
|
-
const Me = _.forwardRef(({ className: e, children: t, ...n }, r) => /* @__PURE__ */
|
|
1744
|
+
const Me = _.forwardRef(({ className: e, children: t, ...n }, r) => /* @__PURE__ */ d(
|
|
1740
1745
|
"span",
|
|
1741
1746
|
{
|
|
1742
1747
|
ref: r,
|
|
1743
1748
|
role: "presentation",
|
|
1744
1749
|
"aria-hidden": "true",
|
|
1745
|
-
className:
|
|
1750
|
+
className: v("breadcrumb-separator", e),
|
|
1746
1751
|
...n,
|
|
1747
|
-
children: t ?? /* @__PURE__ */
|
|
1752
|
+
children: t ?? /* @__PURE__ */ d(Oe, { className: "breadcrumb-separator__icon" })
|
|
1748
1753
|
}
|
|
1749
1754
|
));
|
|
1750
1755
|
Me.displayName = "BreadcrumbSeparator";
|
|
1751
|
-
const
|
|
1756
|
+
const St = _.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ d(
|
|
1752
1757
|
"span",
|
|
1753
1758
|
{
|
|
1754
1759
|
ref: n,
|
|
1755
1760
|
role: "presentation",
|
|
1756
1761
|
"aria-hidden": "true",
|
|
1757
|
-
className:
|
|
1762
|
+
className: v("breadcrumb-ellipsis", e),
|
|
1758
1763
|
...t,
|
|
1759
|
-
children: /* @__PURE__ */
|
|
1764
|
+
children: /* @__PURE__ */ d(Dt, { className: "breadcrumb-ellipsis__icon" })
|
|
1760
1765
|
}
|
|
1761
1766
|
));
|
|
1762
|
-
|
|
1763
|
-
const
|
|
1767
|
+
St.displayName = "BreadcrumbEllipsis";
|
|
1768
|
+
const Ct = R.Root, Nt = R.Trigger, yt = R.Group, Nn = _.forwardRef(({ className: e, inset: t, children: n, ...r }, s) => /* @__PURE__ */ H(
|
|
1764
1769
|
R.SubTrigger,
|
|
1765
1770
|
{
|
|
1766
1771
|
ref: s,
|
|
1767
|
-
className:
|
|
1772
|
+
className: v(
|
|
1768
1773
|
"dropdown-menu-sub-trigger",
|
|
1769
1774
|
t && "dropdown-menu-sub-trigger--inset",
|
|
1770
1775
|
e
|
|
@@ -1772,35 +1777,35 @@ const pt = R.Root, ht = R.Trigger, gt = R.Group, Cn = _.forwardRef(({ className:
|
|
|
1772
1777
|
...r,
|
|
1773
1778
|
children: [
|
|
1774
1779
|
n,
|
|
1775
|
-
/* @__PURE__ */
|
|
1780
|
+
/* @__PURE__ */ d(Oe, { className: "dropdown-menu-sub-trigger__icon" })
|
|
1776
1781
|
]
|
|
1777
1782
|
}
|
|
1778
1783
|
));
|
|
1779
|
-
|
|
1780
|
-
const
|
|
1784
|
+
Nn.displayName = R.SubTrigger.displayName;
|
|
1785
|
+
const yn = _.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ d(
|
|
1781
1786
|
R.SubContent,
|
|
1782
1787
|
{
|
|
1783
1788
|
ref: n,
|
|
1784
|
-
className:
|
|
1789
|
+
className: v("dropdown-menu-content", "dropdown-menu-sub-content", e),
|
|
1785
1790
|
...t
|
|
1786
1791
|
}
|
|
1787
1792
|
));
|
|
1788
|
-
|
|
1789
|
-
const
|
|
1793
|
+
yn.displayName = R.SubContent.displayName;
|
|
1794
|
+
const Ze = _.forwardRef(({ className: e, sideOffset: t = 4, ...n }, r) => /* @__PURE__ */ d(R.Portal, { children: /* @__PURE__ */ d(
|
|
1790
1795
|
R.Content,
|
|
1791
1796
|
{
|
|
1792
1797
|
ref: r,
|
|
1793
1798
|
sideOffset: t,
|
|
1794
|
-
className:
|
|
1799
|
+
className: v("dropdown-menu-content", e),
|
|
1795
1800
|
...n
|
|
1796
1801
|
}
|
|
1797
1802
|
) }));
|
|
1798
|
-
|
|
1799
|
-
const
|
|
1803
|
+
Ze.displayName = R.Content.displayName;
|
|
1804
|
+
const Ke = _.forwardRef(({ className: e, inset: t, ...n }, r) => /* @__PURE__ */ d(
|
|
1800
1805
|
R.Item,
|
|
1801
1806
|
{
|
|
1802
1807
|
ref: r,
|
|
1803
|
-
className:
|
|
1808
|
+
className: v(
|
|
1804
1809
|
"dropdown-menu-item",
|
|
1805
1810
|
t && "dropdown-menu-item--inset",
|
|
1806
1811
|
e
|
|
@@ -1808,33 +1813,33 @@ const Ze = _.forwardRef(({ className: e, inset: t, ...n }, r) => /* @__PURE__ */
|
|
|
1808
1813
|
...n
|
|
1809
1814
|
}
|
|
1810
1815
|
));
|
|
1811
|
-
|
|
1812
|
-
const
|
|
1816
|
+
Ke.displayName = R.Item.displayName;
|
|
1817
|
+
const _n = _.forwardRef(({ className: e, children: t, checked: n, ...r }, s) => /* @__PURE__ */ d(
|
|
1813
1818
|
R.CheckboxItem,
|
|
1814
1819
|
{
|
|
1815
1820
|
ref: s,
|
|
1816
|
-
className:
|
|
1821
|
+
className: v("dropdown-menu-item", "dropdown-menu-checkbox-item", e),
|
|
1817
1822
|
checked: n,
|
|
1818
1823
|
...r,
|
|
1819
1824
|
children: t
|
|
1820
1825
|
}
|
|
1821
1826
|
));
|
|
1822
|
-
|
|
1823
|
-
const
|
|
1827
|
+
_n.displayName = R.CheckboxItem.displayName;
|
|
1828
|
+
const En = _.forwardRef(({ className: e, children: t, ...n }, r) => /* @__PURE__ */ d(
|
|
1824
1829
|
R.RadioItem,
|
|
1825
1830
|
{
|
|
1826
1831
|
ref: r,
|
|
1827
|
-
className:
|
|
1832
|
+
className: v("dropdown-menu-item", "dropdown-menu-radio-item", e),
|
|
1828
1833
|
...n,
|
|
1829
1834
|
children: t
|
|
1830
1835
|
}
|
|
1831
1836
|
));
|
|
1832
|
-
|
|
1833
|
-
const
|
|
1837
|
+
En.displayName = R.RadioItem.displayName;
|
|
1838
|
+
const Ln = _.forwardRef(({ className: e, inset: t, ...n }, r) => /* @__PURE__ */ d(
|
|
1834
1839
|
R.Label,
|
|
1835
1840
|
{
|
|
1836
1841
|
ref: r,
|
|
1837
|
-
className:
|
|
1842
|
+
className: v(
|
|
1838
1843
|
"dropdown-menu-label",
|
|
1839
1844
|
t && "dropdown-menu-label--inset",
|
|
1840
1845
|
e
|
|
@@ -1842,18 +1847,18 @@ const wn = _.forwardRef(({ className: e, inset: t, ...n }, r) => /* @__PURE__ */
|
|
|
1842
1847
|
...n
|
|
1843
1848
|
}
|
|
1844
1849
|
));
|
|
1845
|
-
|
|
1846
|
-
const
|
|
1850
|
+
Ln.displayName = R.Label.displayName;
|
|
1851
|
+
const wn = _.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ d(
|
|
1847
1852
|
R.Separator,
|
|
1848
1853
|
{
|
|
1849
1854
|
ref: n,
|
|
1850
|
-
className:
|
|
1855
|
+
className: v("dropdown-menu-separator", e),
|
|
1851
1856
|
...t
|
|
1852
1857
|
}
|
|
1853
1858
|
));
|
|
1854
|
-
|
|
1855
|
-
const
|
|
1856
|
-
function
|
|
1859
|
+
wn.displayName = R.Separator.displayName;
|
|
1860
|
+
const xn = 640;
|
|
1861
|
+
function vn(e = xn) {
|
|
1857
1862
|
const [t, n] = _.useState(!1);
|
|
1858
1863
|
return _.useEffect(() => {
|
|
1859
1864
|
if (typeof window > "u" || typeof window.matchMedia != "function")
|
|
@@ -1862,195 +1867,205 @@ function xn(e = Ln) {
|
|
|
1862
1867
|
return s(), r.addEventListener("change", s), () => r.removeEventListener("change", s);
|
|
1863
1868
|
}, [e]), t;
|
|
1864
1869
|
}
|
|
1865
|
-
const
|
|
1866
|
-
function
|
|
1867
|
-
return e.children && e.children.length > 0 ? /* @__PURE__ */
|
|
1868
|
-
/* @__PURE__ */
|
|
1870
|
+
const In = ({ href: e, children: t, className: n }) => /* @__PURE__ */ d("a", { href: e, className: n, children: t });
|
|
1871
|
+
function Hn(e, t, n, r) {
|
|
1872
|
+
return e.children && e.children.length > 0 ? /* @__PURE__ */ H(Ct, { children: [
|
|
1873
|
+
/* @__PURE__ */ d(Nt, { asChild: !0, children: /* @__PURE__ */ H(
|
|
1869
1874
|
"button",
|
|
1870
1875
|
{
|
|
1871
1876
|
type: "button",
|
|
1872
|
-
className:
|
|
1877
|
+
className: v(
|
|
1873
1878
|
"breadcrumb-dropdown-trigger",
|
|
1874
1879
|
"inline-flex items-center gap-1 font-medium"
|
|
1875
1880
|
),
|
|
1876
1881
|
"aria-haspopup": "menu",
|
|
1877
1882
|
children: [
|
|
1878
1883
|
e.label,
|
|
1879
|
-
/* @__PURE__ */
|
|
1880
|
-
|
|
1884
|
+
/* @__PURE__ */ d(
|
|
1885
|
+
Mt,
|
|
1881
1886
|
{
|
|
1882
1887
|
className: "breadcrumb-dropdown-trigger__icon",
|
|
1883
1888
|
"aria-hidden": !0
|
|
1884
1889
|
}
|
|
1885
1890
|
),
|
|
1886
|
-
/* @__PURE__ */
|
|
1891
|
+
/* @__PURE__ */ d("span", { className: "sr-only", children: "Toggle menu" })
|
|
1887
1892
|
]
|
|
1888
1893
|
}
|
|
1889
1894
|
) }),
|
|
1890
|
-
/* @__PURE__ */
|
|
1891
|
-
] }) : t ? /* @__PURE__ */
|
|
1892
|
-
|
|
1895
|
+
/* @__PURE__ */ d(Ze, { align: "start", children: /* @__PURE__ */ d(yt, { children: e.children.map((c, o) => /* @__PURE__ */ d(Ke, { asChild: !0, children: /* @__PURE__ */ d("a", { href: c.href, children: c.label }) }, o)) }) })
|
|
1896
|
+
] }) : t ? /* @__PURE__ */ d(De, { children: e.label }) : e.href ? /* @__PURE__ */ d(
|
|
1897
|
+
bt,
|
|
1893
1898
|
{
|
|
1894
|
-
render: /* @__PURE__ */
|
|
1899
|
+
render: /* @__PURE__ */ d(n, { href: e.href, children: e.label })
|
|
1895
1900
|
}
|
|
1896
|
-
) : /* @__PURE__ */
|
|
1901
|
+
) : /* @__PURE__ */ d(De, { children: e.label });
|
|
1897
1902
|
}
|
|
1898
|
-
function
|
|
1903
|
+
function Tn({
|
|
1899
1904
|
items: e,
|
|
1900
|
-
linkComponent: t =
|
|
1905
|
+
linkComponent: t = In,
|
|
1901
1906
|
separator: n,
|
|
1902
1907
|
className: r,
|
|
1903
1908
|
"aria-label": s = "Breadcrumb",
|
|
1904
|
-
...
|
|
1909
|
+
...c
|
|
1905
1910
|
}, o) {
|
|
1906
|
-
const l =
|
|
1911
|
+
const l = vn();
|
|
1907
1912
|
if (!e.length) return null;
|
|
1908
|
-
const
|
|
1909
|
-
(
|
|
1913
|
+
const a = l && e.length > 2, u = a ? [e[0], e[e.length - 1]] : e, i = (a ? e.slice(1, -1) : []).flatMap(
|
|
1914
|
+
(m) => m.href ? [{ label: m.label, href: m.href }] : (m.children ?? []).map((C) => ({ label: C.label, href: C.href }))
|
|
1910
1915
|
);
|
|
1911
|
-
return /* @__PURE__ */
|
|
1912
|
-
|
|
1916
|
+
return /* @__PURE__ */ d(
|
|
1917
|
+
ht,
|
|
1913
1918
|
{
|
|
1914
1919
|
ref: o,
|
|
1915
1920
|
"aria-label": s,
|
|
1916
1921
|
className: r,
|
|
1917
|
-
...
|
|
1918
|
-
children: /* @__PURE__ */
|
|
1919
|
-
const
|
|
1920
|
-
return /* @__PURE__ */
|
|
1921
|
-
C > 0 && /* @__PURE__ */
|
|
1922
|
-
|
|
1923
|
-
/* @__PURE__ */
|
|
1924
|
-
/* @__PURE__ */
|
|
1922
|
+
...c,
|
|
1923
|
+
children: /* @__PURE__ */ d(gt, { children: u.map((m, C) => {
|
|
1924
|
+
const p = a ? C === 0 ? 0 : e.length - 1 : C, b = C === u.length - 1 && !m.href && !m.children;
|
|
1925
|
+
return /* @__PURE__ */ H(_.Fragment, { children: [
|
|
1926
|
+
C > 0 && /* @__PURE__ */ d(Me, { children: n }),
|
|
1927
|
+
a && C === 1 && i.length > 0 && /* @__PURE__ */ H(_e, { children: [
|
|
1928
|
+
/* @__PURE__ */ d(Ve, { children: /* @__PURE__ */ H(Ct, { children: [
|
|
1929
|
+
/* @__PURE__ */ d(Nt, { asChild: !0, children: /* @__PURE__ */ H(
|
|
1925
1930
|
"button",
|
|
1926
1931
|
{
|
|
1927
1932
|
type: "button",
|
|
1928
|
-
className:
|
|
1933
|
+
className: v(
|
|
1929
1934
|
"breadcrumb-dropdown-trigger",
|
|
1930
1935
|
"breadcrumb-ellipsis-trigger",
|
|
1931
1936
|
"inline-flex items-center"
|
|
1932
1937
|
),
|
|
1933
1938
|
"aria-haspopup": "menu",
|
|
1934
1939
|
children: [
|
|
1935
|
-
/* @__PURE__ */
|
|
1936
|
-
/* @__PURE__ */
|
|
1940
|
+
/* @__PURE__ */ d(St, {}),
|
|
1941
|
+
/* @__PURE__ */ d("span", { className: "sr-only", children: "Show more pages" })
|
|
1937
1942
|
]
|
|
1938
1943
|
}
|
|
1939
1944
|
) }),
|
|
1940
|
-
/* @__PURE__ */
|
|
1945
|
+
/* @__PURE__ */ d(Ze, { align: "start", children: /* @__PURE__ */ d(yt, { children: i.map((f, g) => /* @__PURE__ */ d(Ke, { asChild: !0, children: /* @__PURE__ */ d("a", { href: f.href, children: f.label }) }, g)) }) })
|
|
1941
1946
|
] }) }),
|
|
1942
|
-
/* @__PURE__ */
|
|
1947
|
+
/* @__PURE__ */ d(Me, { children: n })
|
|
1943
1948
|
] }),
|
|
1944
|
-
/* @__PURE__ */
|
|
1945
|
-
] },
|
|
1949
|
+
/* @__PURE__ */ d(Ve, { children: Hn(m, b, t) })
|
|
1950
|
+
] }, p);
|
|
1946
1951
|
}) })
|
|
1947
1952
|
}
|
|
1948
1953
|
);
|
|
1949
1954
|
}
|
|
1950
|
-
const
|
|
1951
|
-
|
|
1955
|
+
const kn = _.forwardRef(
|
|
1956
|
+
Tn
|
|
1952
1957
|
);
|
|
1953
|
-
|
|
1958
|
+
kn.displayName = "Breadcrumb";
|
|
1954
1959
|
export {
|
|
1955
|
-
|
|
1956
|
-
|
|
1957
|
-
|
|
1958
|
-
|
|
1959
|
-
|
|
1960
|
-
|
|
1961
|
-
|
|
1962
|
-
|
|
1963
|
-
|
|
1964
|
-
|
|
1965
|
-
|
|
1966
|
-
|
|
1967
|
-
|
|
1968
|
-
|
|
1969
|
-
|
|
1970
|
-
|
|
1971
|
-
|
|
1972
|
-
|
|
1973
|
-
|
|
1974
|
-
|
|
1975
|
-
|
|
1976
|
-
|
|
1977
|
-
|
|
1978
|
-
|
|
1960
|
+
sr as Accordion,
|
|
1961
|
+
cr as AccordionContent,
|
|
1962
|
+
ar as AccordionItem,
|
|
1963
|
+
ir as AccordionTrigger,
|
|
1964
|
+
ur as AlertDialog,
|
|
1965
|
+
dr as AlertDialogAction,
|
|
1966
|
+
fr as AlertDialogCancel,
|
|
1967
|
+
mr as AlertDialogContent,
|
|
1968
|
+
pr as AlertDialogDescription,
|
|
1969
|
+
hr as AlertDialogFooter,
|
|
1970
|
+
gr as AlertDialogHeader,
|
|
1971
|
+
br as AlertDialogOverlay,
|
|
1972
|
+
Sr as AlertDialogPortal,
|
|
1973
|
+
Cr as AlertDialogTitle,
|
|
1974
|
+
Nr as AlertDialogTrigger,
|
|
1975
|
+
_r as BADGE_ROUNDNESS,
|
|
1976
|
+
Er as BADGE_VARIANTS,
|
|
1977
|
+
vr as BUTTON_COLORS,
|
|
1978
|
+
Xn as BUTTON_GROUP_ORIENTATIONS,
|
|
1979
|
+
Ir as BUTTON_SIZES,
|
|
1980
|
+
Hr as BUTTON_VARIANTS,
|
|
1981
|
+
Lr as Badge,
|
|
1982
|
+
kn as Breadcrumb,
|
|
1983
|
+
St as BreadcrumbEllipsis,
|
|
1979
1984
|
Ve as BreadcrumbItem,
|
|
1980
|
-
|
|
1981
|
-
|
|
1985
|
+
bt as BreadcrumbLink,
|
|
1986
|
+
gt as BreadcrumbList,
|
|
1982
1987
|
De as BreadcrumbPage,
|
|
1983
|
-
|
|
1988
|
+
ht as BreadcrumbRoot,
|
|
1984
1989
|
Me as BreadcrumbSeparator,
|
|
1985
|
-
|
|
1986
|
-
|
|
1987
|
-
|
|
1988
|
-
|
|
1989
|
-
|
|
1990
|
-
|
|
1991
|
-
|
|
1992
|
-
|
|
1993
|
-
|
|
1994
|
-
|
|
1995
|
-
|
|
1996
|
-
|
|
1997
|
-
|
|
1998
|
-
|
|
1999
|
-
|
|
2000
|
-
|
|
2001
|
-
|
|
2002
|
-
|
|
2003
|
-
|
|
2004
|
-
|
|
2005
|
-
|
|
2006
|
-
|
|
2007
|
-
|
|
2008
|
-
|
|
2009
|
-
|
|
2010
|
-
|
|
2011
|
-
|
|
2012
|
-
|
|
2013
|
-
|
|
2014
|
-
|
|
2015
|
-
|
|
2016
|
-
|
|
2017
|
-
|
|
2018
|
-
|
|
2019
|
-
|
|
2020
|
-
|
|
2021
|
-
|
|
2022
|
-
|
|
2023
|
-
|
|
2024
|
-
|
|
2025
|
-
|
|
2026
|
-
|
|
2027
|
-
|
|
2028
|
-
|
|
2029
|
-
|
|
2030
|
-
|
|
2031
|
-
|
|
2032
|
-
|
|
2033
|
-
|
|
2034
|
-
|
|
2035
|
-
|
|
2036
|
-
|
|
2037
|
-
eo as
|
|
2038
|
-
to as
|
|
2039
|
-
no as
|
|
2040
|
-
ro as
|
|
2041
|
-
|
|
2042
|
-
|
|
2043
|
-
|
|
2044
|
-
|
|
2045
|
-
|
|
2046
|
-
|
|
2047
|
-
|
|
2048
|
-
|
|
2049
|
-
|
|
2050
|
-
|
|
2051
|
-
|
|
2052
|
-
|
|
2053
|
-
|
|
2054
|
-
|
|
2055
|
-
|
|
1990
|
+
Tr as Button,
|
|
1991
|
+
Yn as ButtonGroup,
|
|
1992
|
+
Qn as ButtonGroupSeparator,
|
|
1993
|
+
Jn as ButtonGroupText,
|
|
1994
|
+
fo as CHECKBOX_FIELD_APPEARANCES,
|
|
1995
|
+
mo as CHECKBOX_FIELD_LAYOUTS,
|
|
1996
|
+
ut as Carousel,
|
|
1997
|
+
dt as CarouselContent,
|
|
1998
|
+
ft as CarouselItem,
|
|
1999
|
+
pt as CarouselNext,
|
|
2000
|
+
mt as CarouselPrevious,
|
|
2001
|
+
po as Checkbox,
|
|
2002
|
+
ho as CheckboxField,
|
|
2003
|
+
Rn as ContentCard,
|
|
2004
|
+
Te as EELogo,
|
|
2005
|
+
zn as EELogoIcon,
|
|
2006
|
+
Br as FIELD_ORIENTATIONS,
|
|
2007
|
+
Fr as Field,
|
|
2008
|
+
Gr as FieldContent,
|
|
2009
|
+
Zr as FieldDescription,
|
|
2010
|
+
Kr as FieldError,
|
|
2011
|
+
Ur as FieldGroup,
|
|
2012
|
+
jr as FieldLabel,
|
|
2013
|
+
zr as FieldLegend,
|
|
2014
|
+
$r as FieldSeparator,
|
|
2015
|
+
qr as FieldSet,
|
|
2016
|
+
Xr as FieldTitle,
|
|
2017
|
+
Or as INPUT_SIZES,
|
|
2018
|
+
Rr as Input,
|
|
2019
|
+
jn as KUAT_LOGO_LOCKUP_MODE,
|
|
2020
|
+
Un as KUAT_LOGO_LOCKUP_USE,
|
|
2021
|
+
tr as KUAT_RADIAL_PROGRESS_COLORS,
|
|
2022
|
+
nr as KUAT_RADIAL_PROGRESS_SIZES,
|
|
2023
|
+
Sn as KuatCarousel,
|
|
2024
|
+
Bn as KuatCarouselContent,
|
|
2025
|
+
Fn as KuatCarouselItem,
|
|
2026
|
+
Zn as KuatCarouselNext,
|
|
2027
|
+
Gn as KuatCarouselPrevious,
|
|
2028
|
+
Ot as KuatHeader,
|
|
2029
|
+
Cn as KuatLogoLockup,
|
|
2030
|
+
rr as KuatRadialProgress,
|
|
2031
|
+
Qr as KuatSelect,
|
|
2032
|
+
bo as RADIO_FIELD_APPEARANCES,
|
|
2033
|
+
So as RADIO_FIELD_LAYOUTS,
|
|
2034
|
+
Co as RadioField,
|
|
2035
|
+
No as RadioGroup,
|
|
2036
|
+
yo as RadioGroupItem,
|
|
2037
|
+
Jr as SELECT_LINES,
|
|
2038
|
+
Wr as SELECT_SIZES,
|
|
2039
|
+
Do as SONNER_POSITIONS,
|
|
2040
|
+
Eo as SWITCH_FIELD_APPEARANCES,
|
|
2041
|
+
Lo as SWITCH_FIELD_LAYOUTS,
|
|
2042
|
+
eo as Select,
|
|
2043
|
+
to as SelectContent,
|
|
2044
|
+
no as SelectGroup,
|
|
2045
|
+
ro as SelectItem,
|
|
2046
|
+
oo as SelectLabel,
|
|
2047
|
+
so as SelectScrollDownButton,
|
|
2048
|
+
co as SelectScrollUpButton,
|
|
2049
|
+
ao as SelectSeparator,
|
|
2050
|
+
io as SelectTrigger,
|
|
2051
|
+
lo as SelectValue,
|
|
2052
|
+
Mo as Sonner,
|
|
2053
|
+
Oo as SonnerContent,
|
|
2054
|
+
wo as Switch,
|
|
2055
|
+
xo as SwitchField,
|
|
2056
|
+
Vr as TEXTAREA_RESIZE,
|
|
2057
|
+
Io as TOGGLE_SIZES,
|
|
2058
|
+
Ho as TOGGLE_SKINS,
|
|
2059
|
+
Dr as Textarea,
|
|
2060
|
+
To as Toggle,
|
|
2061
|
+
ko as ToggleGroup,
|
|
2062
|
+
Ao as ToggleGroupItem,
|
|
2063
|
+
wr as badgeVariants,
|
|
2064
|
+
Wn as buttonGroupVariants,
|
|
2065
|
+
kr as buttonVariants,
|
|
2066
|
+
v as cn,
|
|
2067
|
+
Pn as kuatHeaderVariants,
|
|
2068
|
+
Ro as toast,
|
|
2069
|
+
Ce as useCarousel,
|
|
2070
|
+
Kn as useKuatCarousel
|
|
2056
2071
|
};
|