evo-vue-carousel 2.1.5 → 2.1.6
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/evo-vue-carousel.js +724 -723
- package/dist/main.css +1 -1
- package/package.json +1 -1
package/dist/evo-vue-carousel.js
CHANGED
|
@@ -1,29 +1,29 @@
|
|
|
1
|
-
import { Comment as e, Fragment as t, Static as n, Teleport as r, Text as i, Transition as a, cloneVNode as o, computed as s, createBlock as c, createCommentVNode as l, createElementBlock as u, createElementVNode as d, createTextVNode as f, createVNode as p, defineComponent as m, getCurrentInstance as h, getCurrentScope as g, h as _, hasInjectionContext as v, inject as y, isRef as b, isVNode as x, mergeModels as ee, mergeProps as S, nextTick as C, normalizeClass as w, onMounted as T, onScopeDispose as te, onUnmounted as ne, openBlock as E, provide as D, readonly as O, ref as k, renderList as A, renderSlot as j, shallowReadonly as re, shallowRef as M, toDisplayString as N, toValue as P, unref as F, useCssVars as ie, useId as I, useModel as L, useSlots as ae, watch as R, watchEffect as
|
|
1
|
+
import { Comment as e, Fragment as t, Static as n, Teleport as r, Text as i, Transition as a, cloneVNode as o, computed as s, createBlock as c, createCommentVNode as l, createElementBlock as u, createElementVNode as d, createTextVNode as f, createVNode as p, defineComponent as m, getCurrentInstance as h, getCurrentScope as g, h as _, hasInjectionContext as v, inject as y, isRef as b, isVNode as x, mergeModels as ee, mergeProps as S, nextTick as C, normalizeClass as w, onMounted as T, onScopeDispose as te, onUnmounted as ne, openBlock as E, provide as D, readonly as O, ref as k, renderList as A, renderSlot as j, shallowReadonly as re, shallowRef as M, toDisplayString as N, toValue as P, unref as F, useCssVars as ie, useId as I, useModel as L, useSlots as ae, useTemplateRef as oe, watch as R, watchEffect as se, withCtx as z } from "vue";
|
|
2
2
|
import './main.css';//#region node_modules/.pnpm/@evomark+vue-forward-slots@6.2.2_vue@3.5.42_typescript@6.0.3_/node_modules/@evomark/vue-forward-slots/dist/vue-forward-slots.js
|
|
3
|
-
function
|
|
3
|
+
function ce(e) {
|
|
4
4
|
return typeof e == "string" || e instanceof RegExp || Array.isArray(e);
|
|
5
5
|
}
|
|
6
|
-
function
|
|
6
|
+
function le(e) {
|
|
7
7
|
return Array.isArray(e) || (e = [e]), e.filter(Boolean);
|
|
8
8
|
}
|
|
9
|
-
function
|
|
10
|
-
let r =
|
|
11
|
-
return Object.entries(e).filter(([e]) =>
|
|
9
|
+
function ue(e, t, n) {
|
|
10
|
+
let r = le(t.only), i = le(t.except);
|
|
11
|
+
return Object.entries(e).filter(([e]) => fe(e, r, i, n, t.filterNative)).reduce((e, [t, n]) => (e[t] = (e) => n(e), e), {});
|
|
12
12
|
}
|
|
13
|
-
function
|
|
13
|
+
function de(e) {
|
|
14
14
|
if (e instanceof RegExp) return e;
|
|
15
15
|
{
|
|
16
16
|
let t = e.replace(/[-\/\\^$+?.()|[\]{}]/g, "\\$&").replace(/^\*/, ".*").replace(/\*$/, ".*");
|
|
17
17
|
return t.includes(".*") ? RegExp(`^${t}$`) : e;
|
|
18
18
|
}
|
|
19
19
|
}
|
|
20
|
-
function
|
|
21
|
-
return t.length ? t.some((t) => (t =
|
|
20
|
+
function fe(e, t, n, r, i) {
|
|
21
|
+
return t.length ? t.some((t) => (t = de(t), r.includes(e) && i !== !0 ? !0 : t instanceof RegExp ? t.test(e) : t === e)) : n.every((t) => (t = de(t), r.includes(e) && i !== !0 ? !0 : t instanceof RegExp ? t.test(e) === !1 : t !== e));
|
|
22
22
|
}
|
|
23
|
-
function
|
|
24
|
-
return _(e, r,
|
|
23
|
+
function pe(e, t, n, r, i) {
|
|
24
|
+
return _(e, r, ue(n, t, i));
|
|
25
25
|
}
|
|
26
|
-
var
|
|
26
|
+
var me = m({
|
|
27
27
|
name: "ForwardSlots",
|
|
28
28
|
inheritAttrs: !1,
|
|
29
29
|
props: {
|
|
@@ -39,7 +39,7 @@ var fe = m({
|
|
|
39
39
|
Array
|
|
40
40
|
],
|
|
41
41
|
default: () => [],
|
|
42
|
-
validator:
|
|
42
|
+
validator: ce
|
|
43
43
|
},
|
|
44
44
|
except: {
|
|
45
45
|
type: [
|
|
@@ -48,7 +48,7 @@ var fe = m({
|
|
|
48
48
|
Array
|
|
49
49
|
],
|
|
50
50
|
default: () => [],
|
|
51
|
-
validator:
|
|
51
|
+
validator: ce
|
|
52
52
|
},
|
|
53
53
|
inheritAttrs: {
|
|
54
54
|
type: Boolean,
|
|
@@ -64,36 +64,36 @@ var fe = m({
|
|
|
64
64
|
var a;
|
|
65
65
|
if (n.type === t && Array.isArray(n.children) && (a = n.children) != null && a.length) return n.children.map(i);
|
|
66
66
|
let o = Object.keys(n.children ?? {});
|
|
67
|
-
return
|
|
67
|
+
return pe(n, e, Object.assign({}, e.slots, n.children), e.inheritAttrs ? r : {}, o);
|
|
68
68
|
};
|
|
69
69
|
return () => (n.default && typeof n.default == "function" ? n.default() : []).map(i);
|
|
70
70
|
}
|
|
71
71
|
});
|
|
72
72
|
//#endregion
|
|
73
73
|
//#region node_modules/.pnpm/@vueuse+shared@14.4.0_vue@3.5.42_typescript@6.0.3_/node_modules/@vueuse/shared/dist/index.js
|
|
74
|
-
function
|
|
74
|
+
function he(e, t) {
|
|
75
75
|
return g() ? (te(e, t), !0) : !1;
|
|
76
76
|
}
|
|
77
|
-
var
|
|
77
|
+
var ge = /* @__PURE__ */ new WeakMap(), _e = (...e) => {
|
|
78
78
|
let t = e[0], n = h()?.proxy ?? g();
|
|
79
79
|
if (n == null && !v()) throw Error("injectLocal must be called in setup");
|
|
80
|
-
return n &&
|
|
81
|
-
},
|
|
80
|
+
return n && ge.has(n) && t in ge.get(n) ? ge.get(n)[t] : y(...e);
|
|
81
|
+
}, ve = typeof window < "u" && typeof document < "u";
|
|
82
82
|
typeof WorkerGlobalScope < "u" && globalThis instanceof WorkerGlobalScope;
|
|
83
|
-
var
|
|
84
|
-
function
|
|
83
|
+
var ye = (e) => e != null, be = Object.prototype.toString, xe = (e) => be.call(e) === "[object Object]", Se = () => {};
|
|
84
|
+
function Ce(e) {
|
|
85
85
|
return e.endsWith("rem") ? Number.parseFloat(e) * 16 : Number.parseFloat(e);
|
|
86
86
|
}
|
|
87
|
-
function
|
|
87
|
+
function we(e) {
|
|
88
88
|
return Array.isArray(e) ? e : [e];
|
|
89
89
|
}
|
|
90
|
-
function
|
|
90
|
+
function Te(e) {
|
|
91
91
|
return e || h();
|
|
92
92
|
}
|
|
93
|
-
function
|
|
94
|
-
|
|
93
|
+
function Ee(e, t = !0, n) {
|
|
94
|
+
Te(n) ? T(e, n) : t ? e() : C(e);
|
|
95
95
|
}
|
|
96
|
-
function
|
|
96
|
+
function De(e, t = 1e3, n = {}) {
|
|
97
97
|
let { immediate: r = !0, immediateCallback: i = !1 } = n, a = null, o = M(!1);
|
|
98
98
|
function s() {
|
|
99
99
|
a &&= (clearInterval(a), null);
|
|
@@ -105,15 +105,15 @@ function Te(e, t = 1e3, n = {}) {
|
|
|
105
105
|
let n = P(t);
|
|
106
106
|
n <= 0 || (o.value = !0, i && e(), s(), o.value && (a = setInterval(e, n)));
|
|
107
107
|
}
|
|
108
|
-
return r &&
|
|
109
|
-
o.value &&
|
|
110
|
-
})),
|
|
108
|
+
return r && ve && l(), (b(t) || typeof t == "function") && he(R(t, () => {
|
|
109
|
+
o.value && ve && l();
|
|
110
|
+
})), he(c), {
|
|
111
111
|
isActive: re(o),
|
|
112
112
|
pause: c,
|
|
113
113
|
resume: l
|
|
114
114
|
};
|
|
115
115
|
}
|
|
116
|
-
function
|
|
116
|
+
function Oe(e, t, n) {
|
|
117
117
|
return R(e, t, {
|
|
118
118
|
...n,
|
|
119
119
|
immediate: !0
|
|
@@ -121,46 +121,46 @@ function Ee(e, t, n) {
|
|
|
121
121
|
}
|
|
122
122
|
//#endregion
|
|
123
123
|
//#region node_modules/.pnpm/@vueuse+core@14.4.0_vue@3.5.42_typescript@6.0.3_/node_modules/@vueuse/core/dist/index.js
|
|
124
|
-
var
|
|
125
|
-
|
|
126
|
-
function
|
|
124
|
+
var B = ve ? window : void 0;
|
|
125
|
+
ve && window.document, ve && window.navigator, ve && window.location;
|
|
126
|
+
function V(e) {
|
|
127
127
|
let t = P(e);
|
|
128
128
|
return t?.$el ?? t;
|
|
129
129
|
}
|
|
130
|
-
function
|
|
130
|
+
function ke(...e) {
|
|
131
131
|
let t = (e, t, n, r) => (e.addEventListener(t, n, r), () => e.removeEventListener(t, n, r)), n = s(() => {
|
|
132
|
-
let t =
|
|
132
|
+
let t = we(P(e[0])).filter((e) => e != null);
|
|
133
133
|
return t.every((e) => typeof e != "string") ? t : void 0;
|
|
134
134
|
});
|
|
135
|
-
return
|
|
136
|
-
n.value?.map((e) =>
|
|
137
|
-
|
|
138
|
-
|
|
135
|
+
return Oe(() => [
|
|
136
|
+
n.value?.map((e) => V(e)) ?? [B].filter((e) => e != null),
|
|
137
|
+
we(P(n.value ? e[1] : e[0])),
|
|
138
|
+
we(F(n.value ? e[2] : e[1])),
|
|
139
139
|
P(n.value ? e[3] : e[2])
|
|
140
140
|
], ([e, n, r, i], a, o) => {
|
|
141
141
|
if (!e?.length || !n?.length || !r?.length) return;
|
|
142
|
-
let s =
|
|
142
|
+
let s = xe(i) ? { ...i } : i, c = e.flatMap((e) => n.flatMap((n) => r.map((r) => t(e, n, r, s))));
|
|
143
143
|
o(() => {
|
|
144
144
|
c.forEach((e) => e());
|
|
145
145
|
});
|
|
146
146
|
}, { flush: "post" });
|
|
147
147
|
}
|
|
148
|
-
function
|
|
148
|
+
function Ae() {
|
|
149
149
|
let e = M(!1), t = h();
|
|
150
150
|
return t && T(() => {
|
|
151
151
|
e.value = !0;
|
|
152
152
|
}, t), e;
|
|
153
153
|
}
|
|
154
154
|
/* @__NO_SIDE_EFFECTS__ */
|
|
155
|
-
function
|
|
156
|
-
let t =
|
|
155
|
+
function je(e) {
|
|
156
|
+
let t = Ae();
|
|
157
157
|
return s(() => (t.value, !!e()));
|
|
158
158
|
}
|
|
159
|
-
function
|
|
160
|
-
let { window: r =
|
|
159
|
+
function Me(e, t, n = {}) {
|
|
160
|
+
let { window: r = B, ...i } = n, a, o = /* @__PURE__ */ je(() => r && "MutationObserver" in r), c = () => {
|
|
161
161
|
a &&= (a.disconnect(), void 0);
|
|
162
162
|
}, l = R(s(() => {
|
|
163
|
-
let t =
|
|
163
|
+
let t = we(P(e)).map(V).filter(ye);
|
|
164
164
|
return new Set(t);
|
|
165
165
|
}), (e) => {
|
|
166
166
|
c(), o.value && e.size && (a = new MutationObserver(t), e.forEach((e) => a.observe(e, i)));
|
|
@@ -170,21 +170,21 @@ function Ae(e, t, n = {}) {
|
|
|
170
170
|
}), u = () => a?.takeRecords(), d = () => {
|
|
171
171
|
l(), c();
|
|
172
172
|
};
|
|
173
|
-
return
|
|
173
|
+
return he(d), {
|
|
174
174
|
isSupported: o,
|
|
175
175
|
stop: d,
|
|
176
176
|
takeRecords: u
|
|
177
177
|
};
|
|
178
178
|
}
|
|
179
|
-
function
|
|
180
|
-
let { window: r =
|
|
181
|
-
if (!r || !i) return
|
|
179
|
+
function Ne(e, t, n = {}) {
|
|
180
|
+
let { window: r = B, document: i = r?.document, flush: a = "sync" } = n;
|
|
181
|
+
if (!r || !i) return Se;
|
|
182
182
|
let o, s = (e) => {
|
|
183
183
|
o?.(), o = e;
|
|
184
|
-
}, c =
|
|
185
|
-
let n =
|
|
184
|
+
}, c = se(() => {
|
|
185
|
+
let n = V(e);
|
|
186
186
|
if (n) {
|
|
187
|
-
let { stop: e } =
|
|
187
|
+
let { stop: e } = Me(i, (e) => {
|
|
188
188
|
e.map((e) => [...e.removedNodes]).flat().some((e) => e === n || e.contains(n)) && t(e);
|
|
189
189
|
}, {
|
|
190
190
|
window: r,
|
|
@@ -196,37 +196,37 @@ function je(e, t, n = {}) {
|
|
|
196
196
|
}, { flush: a }), l = () => {
|
|
197
197
|
c(), s();
|
|
198
198
|
};
|
|
199
|
-
return
|
|
199
|
+
return he(l), l;
|
|
200
200
|
}
|
|
201
|
-
var
|
|
201
|
+
var Pe = Symbol("vueuse-ssr-width");
|
|
202
202
|
/* @__NO_SIDE_EFFECTS__ */
|
|
203
|
-
function
|
|
204
|
-
let e = v() ?
|
|
203
|
+
function Fe() {
|
|
204
|
+
let e = v() ? _e(Pe, null) : null;
|
|
205
205
|
return typeof e == "number" ? e : void 0;
|
|
206
206
|
}
|
|
207
|
-
function
|
|
208
|
-
let { window: n =
|
|
209
|
-
return
|
|
207
|
+
function Ie(e, t = {}) {
|
|
208
|
+
let { window: n = B, ssrWidth: r = /* @__PURE__ */ Fe() } = t, i = /* @__PURE__ */ je(() => n && "matchMedia" in n && typeof n.matchMedia == "function"), a = M(typeof r == "number"), o = M(), c = M(!1);
|
|
209
|
+
return se(() => {
|
|
210
210
|
if (a.value) {
|
|
211
211
|
a.value = !i.value;
|
|
212
212
|
let t = P(e).split(",");
|
|
213
213
|
c.value = t.some((e) => {
|
|
214
214
|
let t = e.includes("not all"), n = e.match(/\(\s*min-width:\s*(-?\d+(?:\.\d*)?[a-z]+\s*)\)/), i = e.match(/\(\s*max-width:\s*(-?\d+(?:\.\d*)?[a-z]+\s*)\)/), a = !!(n || i);
|
|
215
|
-
return n && a && (a = r >=
|
|
215
|
+
return n && a && (a = r >= Ce(n[1])), i && a && (a = r <= Ce(i[1])), t ? !a : a;
|
|
216
216
|
});
|
|
217
217
|
return;
|
|
218
218
|
}
|
|
219
219
|
i.value && (o.value = n.matchMedia(P(e)), c.value = o.value.matches);
|
|
220
|
-
}),
|
|
220
|
+
}), ke(o, "change", (e) => {
|
|
221
221
|
c.value = e.matches;
|
|
222
222
|
}, { passive: !0 }), s(() => c.value);
|
|
223
223
|
}
|
|
224
|
-
function
|
|
225
|
-
let { window: r =
|
|
224
|
+
function Le(e, t, n = {}) {
|
|
225
|
+
let { window: r = B, ...i } = n, a, o = /* @__PURE__ */ je(() => r && "ResizeObserver" in r), c = () => {
|
|
226
226
|
a &&= (a.disconnect(), void 0);
|
|
227
227
|
}, l = R(s(() => {
|
|
228
228
|
let t = P(e);
|
|
229
|
-
return Array.isArray(t) ? t.map((e) =>
|
|
229
|
+
return Array.isArray(t) ? t.map((e) => V(e)) : [V(t)];
|
|
230
230
|
}), (e) => {
|
|
231
231
|
if (c(), o.value && r) {
|
|
232
232
|
a = new ResizeObserver(t);
|
|
@@ -238,40 +238,40 @@ function Fe(e, t, n = {}) {
|
|
|
238
238
|
}), u = () => {
|
|
239
239
|
c(), l();
|
|
240
240
|
};
|
|
241
|
-
return
|
|
241
|
+
return he(u), {
|
|
242
242
|
isSupported: o,
|
|
243
243
|
stop: u
|
|
244
244
|
};
|
|
245
245
|
}
|
|
246
|
-
function
|
|
247
|
-
let { delayEnter: n = 0, delayLeave: r = 0, triggerOnRemoval: i = !1, window: a =
|
|
246
|
+
function Re(e, t = {}) {
|
|
247
|
+
let { delayEnter: n = 0, delayLeave: r = 0, triggerOnRemoval: i = !1, window: a = B } = t, o = M(!1), c, l = (e) => {
|
|
248
248
|
let t = e ? n : r;
|
|
249
249
|
c &&= (clearTimeout(c), void 0), t ? c = setTimeout(() => o.value = e, t) : o.value = e;
|
|
250
250
|
};
|
|
251
|
-
return a ? (
|
|
251
|
+
return a ? (ke(e, "mouseenter", () => l(!0), { passive: !0 }), ke(e, "mouseleave", () => l(!1), { passive: !0 }), i && Ne(s(() => V(e)), () => l(!1)), o) : o;
|
|
252
252
|
}
|
|
253
|
-
function
|
|
253
|
+
function ze(e, t = {
|
|
254
254
|
width: 0,
|
|
255
255
|
height: 0
|
|
256
256
|
}, n = {}) {
|
|
257
|
-
let { window: r =
|
|
257
|
+
let { window: r = B, box: i = "content-box" } = n, a = s(() => {
|
|
258
258
|
var t;
|
|
259
|
-
return (t =
|
|
260
|
-
}), o = M(t.width), c = M(t.height), { stop: l } =
|
|
259
|
+
return (t = V(e)) == null || (t = t.namespaceURI) == null ? void 0 : t.includes("svg");
|
|
260
|
+
}), o = M(t.width), c = M(t.height), { stop: l } = Le(e, ([t]) => {
|
|
261
261
|
let n = i === "border-box" ? t.borderBoxSize : i === "content-box" ? t.contentBoxSize : t.devicePixelContentBoxSize;
|
|
262
262
|
if (r && a.value) {
|
|
263
|
-
let t =
|
|
263
|
+
let t = V(e);
|
|
264
264
|
if (t) {
|
|
265
265
|
let e = t.getBoundingClientRect();
|
|
266
266
|
o.value = e.width, c.value = e.height;
|
|
267
267
|
}
|
|
268
268
|
} else if (n) {
|
|
269
|
-
let e =
|
|
269
|
+
let e = we(n);
|
|
270
270
|
o.value = e.reduce((e, { inlineSize: t }) => e + t, 0), c.value = e.reduce((e, { blockSize: t }) => e + t, 0);
|
|
271
271
|
} else o.value = t.contentRect.width, c.value = t.contentRect.height;
|
|
272
272
|
}, n);
|
|
273
|
-
|
|
274
|
-
let n =
|
|
273
|
+
Ee(() => {
|
|
274
|
+
let n = V(e);
|
|
275
275
|
if (n && "offsetWidth" in n) {
|
|
276
276
|
if (i === "content-box" && r) {
|
|
277
277
|
let e = r.getComputedStyle(n), t = Number.parseFloat(e.paddingLeft) + Number.parseFloat(e.paddingRight), i = Number.parseFloat(e.paddingTop) + Number.parseFloat(e.paddingBottom), a = Number.parseFloat(e.borderLeftWidth) + Number.parseFloat(e.borderRightWidth), s = Number.parseFloat(e.borderTopWidth) + Number.parseFloat(e.borderBottomWidth);
|
|
@@ -279,7 +279,7 @@ function Le(e, t = {
|
|
|
279
279
|
} else o.value = n.offsetWidth, c.value = n.offsetHeight;
|
|
280
280
|
} else n && (o.value = t.width, c.value = t.height);
|
|
281
281
|
});
|
|
282
|
-
let u = R(() =>
|
|
282
|
+
let u = R(() => V(e), (e) => {
|
|
283
283
|
o.value = e ? t.width : 0, c.value = e ? t.height : 0;
|
|
284
284
|
});
|
|
285
285
|
function d() {
|
|
@@ -291,8 +291,8 @@ function Le(e, t = {
|
|
|
291
291
|
stop: d
|
|
292
292
|
};
|
|
293
293
|
}
|
|
294
|
-
function
|
|
295
|
-
let { window: t =
|
|
294
|
+
function Be(e = {}) {
|
|
295
|
+
let { window: t = B, initialWidth: n = Infinity, initialHeight: r = Infinity, listenOrientation: i = !0, includeScrollbar: a = !0, type: o = "inner" } = e, s = M(n), c = M(r), l = () => {
|
|
296
296
|
if (t) {
|
|
297
297
|
if (o === "outer") s.value = t.outerWidth, c.value = t.outerHeight;
|
|
298
298
|
else if (o === "visual" && t.visualViewport) {
|
|
@@ -301,25 +301,25 @@ function Re(e = {}) {
|
|
|
301
301
|
} else a ? (s.value = t.innerWidth, c.value = t.innerHeight) : (s.value = t.document.documentElement.clientWidth, c.value = t.document.documentElement.clientHeight);
|
|
302
302
|
}
|
|
303
303
|
};
|
|
304
|
-
l(),
|
|
304
|
+
l(), Ee(l);
|
|
305
305
|
let u = { passive: !0 };
|
|
306
|
-
return
|
|
306
|
+
return ke("resize", l, u), t && o === "visual" && t.visualViewport && ke(t.visualViewport, "resize", l, u), i && R(Ie("(orientation: portrait)"), () => l()), {
|
|
307
307
|
width: s,
|
|
308
308
|
height: c
|
|
309
309
|
};
|
|
310
310
|
}
|
|
311
311
|
//#endregion
|
|
312
312
|
//#region src/utils/constants.js
|
|
313
|
-
var
|
|
313
|
+
var Ve = {
|
|
314
314
|
SLIDER: "slider",
|
|
315
315
|
GALLERY: "gallery"
|
|
316
|
-
},
|
|
317
|
-
let r = n.value.mode ===
|
|
316
|
+
}, He = (e, t, n) => {
|
|
317
|
+
let r = n.value.mode === Ve.GALLERY, i = n.value.wrap === !0, a = n.value.perPage, o = Math.max(t - a, 0);
|
|
318
318
|
return r ? e < 0 && i === !1 || o < 0 || e > t ? 0 : e : i === !1 && e <= 0 ? 0 : i === !1 && e >= o ? o : e;
|
|
319
319
|
};
|
|
320
320
|
//#endregion
|
|
321
321
|
//#region node_modules/.pnpm/es-toolkit@1.52.0/node_modules/es-toolkit/dist/array/chunk.mjs
|
|
322
|
-
function
|
|
322
|
+
function Ue(e, t) {
|
|
323
323
|
if (!Number.isInteger(t) || t <= 0) throw Error("Size must be an integer greater than zero.");
|
|
324
324
|
let n = Math.ceil(e.length / t), r = Array(n);
|
|
325
325
|
for (let i = 0; i < n; i++) {
|
|
@@ -330,7 +330,7 @@ function Ve(e, t) {
|
|
|
330
330
|
}
|
|
331
331
|
//#endregion
|
|
332
332
|
//#region node_modules/.pnpm/es-toolkit@1.52.0/node_modules/es-toolkit/dist/array/flatten.mjs
|
|
333
|
-
function
|
|
333
|
+
function We(e, t = 1) {
|
|
334
334
|
let n = [], r = Math.floor(t), i = (e, t) => {
|
|
335
335
|
for (let a = 0; a < e.length; a++) {
|
|
336
336
|
let o = e[a];
|
|
@@ -341,12 +341,12 @@ function He(e, t = 1) {
|
|
|
341
341
|
}
|
|
342
342
|
//#endregion
|
|
343
343
|
//#region node_modules/.pnpm/es-toolkit@1.52.0/node_modules/es-toolkit/dist/_internal/globalThis.mjs
|
|
344
|
-
var
|
|
344
|
+
var Ge = typeof globalThis == "object" && globalThis || typeof window == "object" && window || typeof self == "object" && self || typeof global == "object" && global || (function() {
|
|
345
345
|
return this;
|
|
346
346
|
})();
|
|
347
347
|
//#endregion
|
|
348
348
|
//#region node_modules/.pnpm/es-toolkit@1.52.0/node_modules/es-toolkit/dist/function/debounce.mjs
|
|
349
|
-
function
|
|
349
|
+
function Ke(e, t, { signal: n, edges: r } = {}) {
|
|
350
350
|
let i, a = null, o = r != null && r.includes("leading"), s = r == null || r.includes("trailing"), c = () => {
|
|
351
351
|
a !== null && (e.apply(i, a), i = void 0, a = null);
|
|
352
352
|
}, l = () => {
|
|
@@ -371,12 +371,12 @@ function We(e, t, { signal: n, edges: r } = {}) {
|
|
|
371
371
|
}
|
|
372
372
|
//#endregion
|
|
373
373
|
//#region node_modules/.pnpm/es-toolkit@1.52.0/node_modules/es-toolkit/dist/function/identity.mjs
|
|
374
|
-
function
|
|
374
|
+
function qe(e) {
|
|
375
375
|
return e;
|
|
376
376
|
}
|
|
377
377
|
//#endregion
|
|
378
378
|
//#region node_modules/.pnpm/es-toolkit@1.52.0/node_modules/es-toolkit/dist/math/range.mjs
|
|
379
|
-
function
|
|
379
|
+
function Je(e, t, n = 1) {
|
|
380
380
|
if (t ?? (t = e, e = 0), !Number.isInteger(n) || n === 0) throw Error("The step value must be a non-zero integer.");
|
|
381
381
|
let r = Math.max(Math.ceil((t - e) / n), 0), i = Array(r);
|
|
382
382
|
for (let t = 0; t < r; t++) i[t] = e + t * n;
|
|
@@ -384,46 +384,46 @@ function Ke(e, t, n = 1) {
|
|
|
384
384
|
}
|
|
385
385
|
//#endregion
|
|
386
386
|
//#region node_modules/.pnpm/es-toolkit@1.52.0/node_modules/es-toolkit/dist/predicate/isPrimitive.mjs
|
|
387
|
-
function
|
|
387
|
+
function Ye(e) {
|
|
388
388
|
return e == null || typeof e != "object" && typeof e != "function";
|
|
389
389
|
}
|
|
390
390
|
//#endregion
|
|
391
391
|
//#region node_modules/.pnpm/es-toolkit@1.52.0/node_modules/es-toolkit/dist/predicate/isTypedArray.mjs
|
|
392
|
-
function
|
|
392
|
+
function Xe(e) {
|
|
393
393
|
return ArrayBuffer.isView(e) && !(e instanceof DataView);
|
|
394
394
|
}
|
|
395
395
|
//#endregion
|
|
396
396
|
//#region node_modules/.pnpm/es-toolkit@1.52.0/node_modules/es-toolkit/dist/predicate/isBuffer.mjs
|
|
397
|
-
function
|
|
398
|
-
return
|
|
397
|
+
function Ze(e) {
|
|
398
|
+
return Ge.Buffer !== void 0 && Ge.Buffer.isBuffer(e);
|
|
399
399
|
}
|
|
400
400
|
//#endregion
|
|
401
401
|
//#region node_modules/.pnpm/es-toolkit@1.52.0/node_modules/es-toolkit/dist/compat/_internal/getSymbols.mjs
|
|
402
|
-
function
|
|
402
|
+
function Qe(e) {
|
|
403
403
|
return Object.getOwnPropertySymbols(e).filter((t) => Object.prototype.propertyIsEnumerable.call(e, t));
|
|
404
404
|
}
|
|
405
405
|
//#endregion
|
|
406
406
|
//#region node_modules/.pnpm/es-toolkit@1.52.0/node_modules/es-toolkit/dist/compat/_internal/getTag.mjs
|
|
407
|
-
function
|
|
407
|
+
function $e(e) {
|
|
408
408
|
return e == null ? e === void 0 ? "[object Undefined]" : "[object Null]" : Object.prototype.toString.call(e);
|
|
409
409
|
}
|
|
410
410
|
//#endregion
|
|
411
411
|
//#region node_modules/.pnpm/es-toolkit@1.52.0/node_modules/es-toolkit/dist/compat/_internal/tags.mjs
|
|
412
|
-
var
|
|
412
|
+
var et = "[object RegExp]", tt = "[object String]", nt = "[object Number]", rt = "[object Boolean]", it = "[object Arguments]", at = "[object Symbol]", ot = "[object Date]", st = "[object Map]", ct = "[object Set]", lt = "[object Array]", ut = "[object ArrayBuffer]", dt = "[object Object]", ft = "[object DataView]", pt = "[object Uint8Array]", mt = "[object Uint8ClampedArray]", ht = "[object Uint16Array]", gt = "[object Uint32Array]", _t = "[object Int8Array]", vt = "[object Int16Array]", yt = "[object Int32Array]", bt = "[object Float32Array]", xt = "[object Float64Array]";
|
|
413
413
|
//#endregion
|
|
414
414
|
//#region node_modules/.pnpm/es-toolkit@1.52.0/node_modules/es-toolkit/dist/object/cloneDeepWith.mjs
|
|
415
|
-
function
|
|
416
|
-
return
|
|
415
|
+
function St(e, t) {
|
|
416
|
+
return H(e, void 0, e, /* @__PURE__ */ new Map(), t);
|
|
417
417
|
}
|
|
418
|
-
function
|
|
418
|
+
function H(e, t, n, r = /* @__PURE__ */ new Map(), i = void 0) {
|
|
419
419
|
let a = i?.(e, t, n, r);
|
|
420
420
|
if (a !== void 0) return a;
|
|
421
|
-
if (
|
|
421
|
+
if (Ye(e)) return e;
|
|
422
422
|
if (r.has(e)) return r.get(e);
|
|
423
423
|
if (Array.isArray(e)) {
|
|
424
424
|
let t = Array(e.length);
|
|
425
425
|
r.set(e, t);
|
|
426
|
-
for (let a = 0; a < e.length; a++) t[a] =
|
|
426
|
+
for (let a = 0; a < e.length; a++) t[a] = H(e[a], a, n, r, i);
|
|
427
427
|
return Object.hasOwn(e, "index") && (t.index = e.index), Object.hasOwn(e, "input") && (t.input = e.input), t;
|
|
428
428
|
}
|
|
429
429
|
if (e instanceof Date) return new Date(e.getTime());
|
|
@@ -434,99 +434,99 @@ function U(e, t, n, r = /* @__PURE__ */ new Map(), i = void 0) {
|
|
|
434
434
|
if (e instanceof Map) {
|
|
435
435
|
let t = /* @__PURE__ */ new Map();
|
|
436
436
|
r.set(e, t);
|
|
437
|
-
for (let [a, o] of e) t.set(a,
|
|
437
|
+
for (let [a, o] of e) t.set(a, H(o, a, n, r, i));
|
|
438
438
|
return t;
|
|
439
439
|
}
|
|
440
440
|
if (e instanceof Set) {
|
|
441
441
|
let t = /* @__PURE__ */ new Set();
|
|
442
442
|
r.set(e, t);
|
|
443
|
-
for (let a of e) t.add(
|
|
443
|
+
for (let a of e) t.add(H(a, void 0, n, r, i));
|
|
444
444
|
return t;
|
|
445
445
|
}
|
|
446
|
-
if (
|
|
447
|
-
if (
|
|
446
|
+
if (Ze(e)) return e.subarray();
|
|
447
|
+
if (Xe(e)) {
|
|
448
448
|
let t = new (Object.getPrototypeOf(e)).constructor(e.length);
|
|
449
449
|
r.set(e, t);
|
|
450
|
-
for (let a = 0; a < e.length; a++) t[a] =
|
|
450
|
+
for (let a = 0; a < e.length; a++) t[a] = H(e[a], a, n, r, i);
|
|
451
451
|
return t;
|
|
452
452
|
}
|
|
453
453
|
if (e instanceof ArrayBuffer || typeof SharedArrayBuffer < "u" && e instanceof SharedArrayBuffer) return e.slice(0);
|
|
454
454
|
if (e instanceof DataView) {
|
|
455
455
|
let t = new DataView(e.buffer.slice(0), e.byteOffset, e.byteLength);
|
|
456
|
-
return r.set(e, t),
|
|
456
|
+
return r.set(e, t), U(t, e, n, r, i), t;
|
|
457
457
|
}
|
|
458
458
|
if (typeof File < "u" && e instanceof File) {
|
|
459
459
|
let t = new File([e], e.name, { type: e.type });
|
|
460
|
-
return r.set(e, t),
|
|
460
|
+
return r.set(e, t), U(t, e, n, r, i), t;
|
|
461
461
|
}
|
|
462
462
|
if (typeof Blob < "u" && e instanceof Blob) {
|
|
463
463
|
let t = new Blob([e], { type: e.type });
|
|
464
|
-
return r.set(e, t),
|
|
464
|
+
return r.set(e, t), U(t, e, n, r, i), t;
|
|
465
465
|
}
|
|
466
466
|
if (e instanceof Error) {
|
|
467
467
|
let t = structuredClone(e);
|
|
468
|
-
return r.set(e, t), t.message = e.message, t.name = e.name, t.stack = e.stack, t.cause = e.cause, t.constructor = e.constructor,
|
|
468
|
+
return r.set(e, t), t.message = e.message, t.name = e.name, t.stack = e.stack, t.cause = e.cause, t.constructor = e.constructor, U(t, e, n, r, i), t;
|
|
469
469
|
}
|
|
470
470
|
if (e instanceof Boolean) {
|
|
471
471
|
let t = new Boolean(e.valueOf());
|
|
472
|
-
return r.set(e, t),
|
|
472
|
+
return r.set(e, t), U(t, e, n, r, i), t;
|
|
473
473
|
}
|
|
474
474
|
if (e instanceof Number) {
|
|
475
475
|
let t = new Number(e.valueOf());
|
|
476
|
-
return r.set(e, t),
|
|
476
|
+
return r.set(e, t), U(t, e, n, r, i), t;
|
|
477
477
|
}
|
|
478
478
|
if (e instanceof String) {
|
|
479
479
|
let t = new String(e.valueOf());
|
|
480
|
-
return r.set(e, t),
|
|
480
|
+
return r.set(e, t), U(t, e, n, r, i), t;
|
|
481
481
|
}
|
|
482
|
-
if (typeof e == "object" &&
|
|
482
|
+
if (typeof e == "object" && Ct(e)) {
|
|
483
483
|
let t = Object.create(Object.getPrototypeOf(e));
|
|
484
|
-
return r.set(e, t),
|
|
484
|
+
return r.set(e, t), U(t, e, n, r, i), t;
|
|
485
485
|
}
|
|
486
486
|
return e;
|
|
487
487
|
}
|
|
488
|
-
function
|
|
489
|
-
let a = [...Object.keys(t), ...
|
|
488
|
+
function U(e, t, n = e, r, i) {
|
|
489
|
+
let a = [...Object.keys(t), ...Qe(t)];
|
|
490
490
|
for (let o = 0; o < a.length; o++) {
|
|
491
491
|
let s = a[o], c = Object.getOwnPropertyDescriptor(e, s);
|
|
492
|
-
(c == null || c.writable) && (e[s] =
|
|
492
|
+
(c == null || c.writable) && (e[s] = H(t[s], s, n, r, i));
|
|
493
493
|
}
|
|
494
494
|
}
|
|
495
|
-
function
|
|
496
|
-
switch (
|
|
497
|
-
case nt:
|
|
498
|
-
case st:
|
|
499
|
-
case ct:
|
|
500
|
-
case ut:
|
|
501
|
-
case tt:
|
|
495
|
+
function Ct(e) {
|
|
496
|
+
switch ($e(e)) {
|
|
502
497
|
case it:
|
|
503
|
-
case vt:
|
|
504
|
-
case yt:
|
|
505
|
-
case ht:
|
|
506
|
-
case gt:
|
|
507
|
-
case _t:
|
|
508
|
-
case at:
|
|
509
|
-
case et:
|
|
510
498
|
case lt:
|
|
511
|
-
case
|
|
512
|
-
case
|
|
513
|
-
case $e:
|
|
499
|
+
case ut:
|
|
500
|
+
case ft:
|
|
514
501
|
case rt:
|
|
502
|
+
case ot:
|
|
503
|
+
case bt:
|
|
504
|
+
case xt:
|
|
505
|
+
case _t:
|
|
506
|
+
case vt:
|
|
507
|
+
case yt:
|
|
508
|
+
case st:
|
|
509
|
+
case nt:
|
|
515
510
|
case dt:
|
|
516
|
-
case
|
|
511
|
+
case et:
|
|
512
|
+
case ct:
|
|
513
|
+
case tt:
|
|
514
|
+
case at:
|
|
517
515
|
case pt:
|
|
518
|
-
case mt:
|
|
516
|
+
case mt:
|
|
517
|
+
case ht:
|
|
518
|
+
case gt: return !0;
|
|
519
519
|
default: return !1;
|
|
520
520
|
}
|
|
521
521
|
}
|
|
522
522
|
//#endregion
|
|
523
523
|
//#region node_modules/.pnpm/es-toolkit@1.52.0/node_modules/es-toolkit/dist/object/cloneDeep.mjs
|
|
524
|
-
function
|
|
525
|
-
return
|
|
524
|
+
function wt(e) {
|
|
525
|
+
return H(e, void 0, e, /* @__PURE__ */ new Map(), void 0);
|
|
526
526
|
}
|
|
527
527
|
//#endregion
|
|
528
528
|
//#region node_modules/.pnpm/es-toolkit@1.52.0/node_modules/es-toolkit/dist/object/mapValues.mjs
|
|
529
|
-
function
|
|
529
|
+
function Tt(e, t) {
|
|
530
530
|
let n = {}, r = Object.keys(e);
|
|
531
531
|
for (let i = 0; i < r.length; i++) {
|
|
532
532
|
let a = r[i], o = e[a];
|
|
@@ -536,12 +536,12 @@ function Ct(e, t) {
|
|
|
536
536
|
}
|
|
537
537
|
//#endregion
|
|
538
538
|
//#region node_modules/.pnpm/es-toolkit@1.52.0/node_modules/es-toolkit/dist/_internal/isUnsafeProperty.mjs
|
|
539
|
-
function
|
|
539
|
+
function Et(e) {
|
|
540
540
|
return e === "__proto__";
|
|
541
541
|
}
|
|
542
542
|
//#endregion
|
|
543
543
|
//#region node_modules/.pnpm/es-toolkit@1.52.0/node_modules/es-toolkit/dist/object/pick.mjs
|
|
544
|
-
function
|
|
544
|
+
function Dt(e, t) {
|
|
545
545
|
let n = {};
|
|
546
546
|
for (let r = 0; r < t.length; r++) {
|
|
547
547
|
let i = t[r];
|
|
@@ -551,22 +551,22 @@ function Tt(e, t) {
|
|
|
551
551
|
}
|
|
552
552
|
//#endregion
|
|
553
553
|
//#region node_modules/.pnpm/es-toolkit@1.52.0/node_modules/es-toolkit/dist/predicate/isBoolean.mjs
|
|
554
|
-
function
|
|
554
|
+
function Ot(e) {
|
|
555
555
|
return typeof e == "boolean";
|
|
556
556
|
}
|
|
557
557
|
//#endregion
|
|
558
558
|
//#region node_modules/.pnpm/es-toolkit@1.52.0/node_modules/es-toolkit/dist/compat/util/eq.mjs
|
|
559
|
-
function
|
|
559
|
+
function kt(e, t) {
|
|
560
560
|
return e === t || Number.isNaN(e) && Number.isNaN(t);
|
|
561
561
|
}
|
|
562
562
|
//#endregion
|
|
563
563
|
//#region node_modules/.pnpm/es-toolkit@1.52.0/node_modules/es-toolkit/dist/predicate/isLength.mjs
|
|
564
|
-
function
|
|
564
|
+
function At(e) {
|
|
565
565
|
return Number.isSafeInteger(e) && e >= 0;
|
|
566
566
|
}
|
|
567
567
|
//#endregion
|
|
568
568
|
//#region src/composables/useResponsiveConfig.js
|
|
569
|
-
var
|
|
569
|
+
var jt = [
|
|
570
570
|
"perPage",
|
|
571
571
|
"mode",
|
|
572
572
|
"autoplay",
|
|
@@ -580,7 +580,7 @@ var kt = [
|
|
|
580
580
|
"hideNavigation",
|
|
581
581
|
"hidePagination"
|
|
582
582
|
];
|
|
583
|
-
function
|
|
583
|
+
function Mt(e, t) {
|
|
584
584
|
let n = parseInt(this.perPage);
|
|
585
585
|
switch (t) {
|
|
586
586
|
case "perPage":
|
|
@@ -588,38 +588,38 @@ function At(e, t) {
|
|
|
588
588
|
case "slideBy": return e ? +e : n;
|
|
589
589
|
case "gap": return n === 1 ? 0 : +e;
|
|
590
590
|
case "autoplay": return !e || e === "false" || e === "0" ? !1 : e === !0 || e === "true" ? 5e3 : +e;
|
|
591
|
-
case "pauseOnHover": return this.manualControls ? e = !1 : e === "true" ? e = !0 : e === "false" && (e = !1),
|
|
591
|
+
case "pauseOnHover": return this.manualControls ? e = !1 : e === "true" ? e = !0 : e === "false" && (e = !1), Ot(e) ? e : !!e;
|
|
592
592
|
case "wrap":
|
|
593
593
|
case "hideNavigation":
|
|
594
|
-
case "hidePagination": return e === "true" ? e = !0 : e === "false" && (e = !1),
|
|
594
|
+
case "hidePagination": return e === "true" ? e = !0 : e === "false" && (e = !1), Ot(e) ? e : !!e;
|
|
595
595
|
default: return e;
|
|
596
596
|
}
|
|
597
597
|
}
|
|
598
|
-
var
|
|
599
|
-
let { width: n } =
|
|
598
|
+
var Nt = (e, t = !1) => {
|
|
599
|
+
let { width: n } = Be(), r = s(() => Dt(e, jt)), i = s(() => Object.entries(e.responsive).map(([e, t]) => [parseInt(e), Dt(t, jt)]).filter((e) => isNaN(e[0]) === !1).sort((e, t) => t[0] - e[0])), a = s(() => {
|
|
600
600
|
let e = i.value.find((e) => n.value >= e[0]);
|
|
601
601
|
return e ? e[1] : {};
|
|
602
602
|
});
|
|
603
603
|
return s(() => {
|
|
604
604
|
let e = Object.assign({ manualControls: t }, r.value, a.value);
|
|
605
|
-
return
|
|
605
|
+
return Tt(e, Mt.bind(e));
|
|
606
606
|
});
|
|
607
|
-
},
|
|
608
|
-
let a = k(!1), o = k(!1), c =
|
|
607
|
+
}, Pt = Symbol.for("evo-vue-carousel__config"), Ft = Symbol.for("evo-vue-carousel__slide-count"), It = Symbol.for("evo-vue-carousel__current-index"), Lt = Symbol.for("evo-vue-carousel__is-hovered"), Rt = Symbol.for("evo-vue-carousel__is-navigating"), zt = Symbol.for("evo-vue-carousel__autoplay-fn"), Bt = (e, t, n, r, i = !1) => {
|
|
608
|
+
let a = k(!1), o = k(!1), c = Nt(t, i), l = Re(r, {
|
|
609
609
|
delayEnter: +t.hoverDelayEnter,
|
|
610
610
|
delayLeave: +t.hoverDelayLeave
|
|
611
611
|
}), u = R(n, async (n) => {
|
|
612
|
-
n > 0 && (t.developer && console.log("[useCarousel]: slideCount watch callback called"), e.value =
|
|
612
|
+
n > 0 && (t.developer && console.log("[useCarousel]: slideCount watch callback called"), e.value = He(e.value, n, c), a.value = !0, await C(), u());
|
|
613
613
|
}, { immediate: !0 });
|
|
614
614
|
R(e, (e) => {
|
|
615
615
|
f(e);
|
|
616
616
|
}, { flush: "pre" });
|
|
617
617
|
let d = s(() => c.value.autoplay ?? 0), f = (t) => {
|
|
618
|
-
e.value =
|
|
619
|
-
}, { pause: p, resume: m, isActive: h } =
|
|
618
|
+
e.value = He(t, n.value, c);
|
|
619
|
+
}, { pause: p, resume: m, isActive: h } = De(() => {
|
|
620
620
|
o.value || f(e.value + c.value.slideBy);
|
|
621
621
|
}, d);
|
|
622
|
-
return D(
|
|
622
|
+
return D(Pt, c), D(Ft, O(n)), D(It, e), D(Lt, l), D(Rt, o), D(zt, {
|
|
623
623
|
pauseAutoplay: p,
|
|
624
624
|
resumeAutoplay: m,
|
|
625
625
|
autoplayIsActive: h
|
|
@@ -630,13 +630,13 @@ var jt = (e, t = !1) => {
|
|
|
630
630
|
isInit: a,
|
|
631
631
|
isNavigating: o
|
|
632
632
|
};
|
|
633
|
-
},
|
|
634
|
-
let e = y(
|
|
633
|
+
}, Vt = () => {
|
|
634
|
+
let e = y(Pt), t = y(It), n = y(Ft), r = y(Lt), i = y(Rt), a = y(zt);
|
|
635
635
|
return {
|
|
636
636
|
config: e,
|
|
637
637
|
currentIndex: O(t),
|
|
638
638
|
setCurrentIndex: (r) => {
|
|
639
|
-
t.value =
|
|
639
|
+
t.value = He(r, n.value, e);
|
|
640
640
|
},
|
|
641
641
|
slideCount: n,
|
|
642
642
|
isHovered: r,
|
|
@@ -646,21 +646,21 @@ var jt = (e, t = !1) => {
|
|
|
646
646
|
},
|
|
647
647
|
...a
|
|
648
648
|
};
|
|
649
|
-
},
|
|
649
|
+
}, Ht = {
|
|
650
650
|
__name: "Autoplay",
|
|
651
651
|
setup(e) {
|
|
652
|
-
let { pauseAutoplay: t, resumeAutoplay: n, autoplayIsActive: r } =
|
|
652
|
+
let { pauseAutoplay: t, resumeAutoplay: n, autoplayIsActive: r } = Vt();
|
|
653
653
|
return (e, i) => j(e.$slots, "controls", {
|
|
654
654
|
pause: F(t),
|
|
655
655
|
play: F(n),
|
|
656
656
|
playing: F(r)
|
|
657
657
|
});
|
|
658
658
|
}
|
|
659
|
-
},
|
|
660
|
-
let e = k(/* @__PURE__ */ new Map()), t = k(!1), n = s(() => e.value.size), r =
|
|
659
|
+
}, Ut = Symbol.for("evo-vue-carousel__register-slide-client"), Wt = () => {
|
|
660
|
+
let e = k(/* @__PURE__ */ new Map()), t = k(!1), n = s(() => e.value.size), r = Ke(() => {
|
|
661
661
|
t.value = !0;
|
|
662
662
|
}, 5);
|
|
663
|
-
return D(
|
|
663
|
+
return D(Ut, {
|
|
664
664
|
registerSlide: (t, n, { width: i = 0 } = {}) => {
|
|
665
665
|
e.value.set(t, {
|
|
666
666
|
instance: n,
|
|
@@ -679,13 +679,13 @@ var jt = (e, t = !1) => {
|
|
|
679
679
|
slideCount: O(n),
|
|
680
680
|
isInit: O(t)
|
|
681
681
|
};
|
|
682
|
-
},
|
|
682
|
+
}, Gt = () => y(Ut), Kt = ["aria-label"], qt = { class: "evo-vue-carousel__content h-full max-h-full relative" }, Jt = {
|
|
683
683
|
key: 0,
|
|
684
684
|
class: "evo-vue-carousel__overlay absolute inset-0"
|
|
685
|
-
},
|
|
685
|
+
}, Yt = {
|
|
686
686
|
key: 1,
|
|
687
687
|
class: "px-4 pt-2 pb-8"
|
|
688
|
-
},
|
|
688
|
+
}, Xt = { class: "inline-block border rounded-lg overflow-hidden" }, Zt = { class: "border-collapse text-sm" }, Qt = { id: "dev-stats" }, $t = { class: "border-b odd:bg-zinc-100 last:border-0 hover:bg-zinc-200/50" }, en = { class: "px-2 py-1" }, tn = { class: "border-b odd:bg-zinc-100 last:border-0 hover:bg-zinc-200/50" }, nn = { class: "px-2 py-1" }, rn = { class: "border-b odd:bg-zinc-100 last:border-0 hover:bg-zinc-200/50" }, an = { class: "px-2 py-1" }, on = { class: "border-b odd:bg-zinc-100 last:border-0 hover:bg-zinc-200/50" }, sn = { class: "px-2 py-1" }, cn = /*@__PURE__*/ Object.assign({ name: "EvoVueCarousel" }, {
|
|
689
689
|
__name: "index",
|
|
690
690
|
props: /*@__PURE__*/ ee({
|
|
691
691
|
autoplay: {
|
|
@@ -718,8 +718,8 @@ var jt = (e, t = !1) => {
|
|
|
718
718
|
},
|
|
719
719
|
mode: {
|
|
720
720
|
type: String,
|
|
721
|
-
default:
|
|
722
|
-
validator: (e) => Object.values(
|
|
721
|
+
default: Ve.SLIDER,
|
|
722
|
+
validator: (e) => Object.values(Ve).includes(e)
|
|
723
723
|
},
|
|
724
724
|
gap: {
|
|
725
725
|
type: [String, Number],
|
|
@@ -822,7 +822,7 @@ var jt = (e, t = !1) => {
|
|
|
822
822
|
}),
|
|
823
823
|
emits: ["update:modelValue"],
|
|
824
824
|
setup(e) {
|
|
825
|
-
let t = L(e, "modelValue"), n = e, r = k(null), i = ae(), { slideCount: a, isInit: o } =
|
|
825
|
+
let t = L(e, "modelValue"), n = e, r = k(null), i = ae(), { slideCount: a, isInit: o } = Wt(), { config: s, isHovered: f, isInit: m, isNavigating: h, currentIndex: g } = Bt(t, n, a, r, !!i.controls);
|
|
826
826
|
return (e, t) => (E(), u("div", {
|
|
827
827
|
ref_key: "sliderRef",
|
|
828
828
|
ref: r,
|
|
@@ -831,12 +831,12 @@ var jt = (e, t = !1) => {
|
|
|
831
831
|
"aria-label": n.label,
|
|
832
832
|
class: w(["evo-vue-carousel relative max-h-full", { "is-hovered": F(f) }])
|
|
833
833
|
}, [
|
|
834
|
-
d("div",
|
|
835
|
-
p(F(
|
|
834
|
+
d("div", qt, [
|
|
835
|
+
p(F(me), {
|
|
836
836
|
slots: e.$slots,
|
|
837
837
|
only: ["default"]
|
|
838
838
|
}, {
|
|
839
|
-
default:
|
|
839
|
+
default: z(() => [F(s).mode === "gallery" ? (E(), c(F(Xi), {
|
|
840
840
|
key: 0,
|
|
841
841
|
"total-slides": F(a),
|
|
842
842
|
"is-init": F(o),
|
|
@@ -845,7 +845,7 @@ var jt = (e, t = !1) => {
|
|
|
845
845
|
"total-slides",
|
|
846
846
|
"is-init",
|
|
847
847
|
"developer"
|
|
848
|
-
])) : (E(), c(F(
|
|
848
|
+
])) : (E(), c(F(Ji), {
|
|
849
849
|
key: 1,
|
|
850
850
|
class: w(n.viewportClass),
|
|
851
851
|
"total-slides": F(a),
|
|
@@ -859,8 +859,8 @@ var jt = (e, t = !1) => {
|
|
|
859
859
|
]))]),
|
|
860
860
|
_: 1
|
|
861
861
|
}, 8, ["slots"]),
|
|
862
|
-
e.$slots.overlay ? (E(), u("div",
|
|
863
|
-
F(s).hideNavigation === !0 ? l("", !0) : (E(), c(F(
|
|
862
|
+
e.$slots.overlay ? (E(), u("div", Jt, [j(e.$slots, "overlay")])) : l("", !0),
|
|
863
|
+
F(s).hideNavigation === !0 ? l("", !0) : (E(), c(F(me), {
|
|
864
864
|
key: 1,
|
|
865
865
|
slots: e.$slots,
|
|
866
866
|
only: [
|
|
@@ -869,7 +869,7 @@ var jt = (e, t = !1) => {
|
|
|
869
869
|
"navigation"
|
|
870
870
|
]
|
|
871
871
|
}, {
|
|
872
|
-
default:
|
|
872
|
+
default: z(() => [p(F(bi), {
|
|
873
873
|
class: w(n.navigationClass),
|
|
874
874
|
"item-class": n.navigationItemClass,
|
|
875
875
|
"item-size-class": n.navigationItemSizeClass,
|
|
@@ -889,12 +889,12 @@ var jt = (e, t = !1) => {
|
|
|
889
889
|
_: 1
|
|
890
890
|
}, 8, ["slots"]))
|
|
891
891
|
]),
|
|
892
|
-
F(s).hidePagination === !0 ? l("", !0) : (E(), c(F(
|
|
892
|
+
F(s).hidePagination === !0 ? l("", !0) : (E(), c(F(me), {
|
|
893
893
|
key: 0,
|
|
894
894
|
slots: e.$slots,
|
|
895
895
|
only: ["pagination", "pagination-item"]
|
|
896
896
|
}, {
|
|
897
|
-
default:
|
|
897
|
+
default: z(() => [p(F(ui), {
|
|
898
898
|
class: w(n.paginationClass),
|
|
899
899
|
"background-class": n.paginationBackgroundClass,
|
|
900
900
|
"item-class": n.paginationItemClass,
|
|
@@ -921,65 +921,65 @@ var jt = (e, t = !1) => {
|
|
|
921
921
|
])]),
|
|
922
922
|
_: 1
|
|
923
923
|
}, 8, ["slots"])),
|
|
924
|
-
p(F(
|
|
924
|
+
p(F(me), {
|
|
925
925
|
slots: e.$slots,
|
|
926
926
|
only: "controls"
|
|
927
927
|
}, {
|
|
928
|
-
default:
|
|
928
|
+
default: z(() => [p(Ht)]),
|
|
929
929
|
_: 1
|
|
930
930
|
}, 8, ["slots"]),
|
|
931
|
-
n.developer ? (E(), u("div",
|
|
932
|
-
d("tr",
|
|
933
|
-
d("tr",
|
|
934
|
-
d("tr",
|
|
935
|
-
d("tr",
|
|
931
|
+
n.developer ? (E(), u("div", Yt, [d("div", Xt, [d("table", Zt, [d("tbody", Qt, [
|
|
932
|
+
d("tr", $t, [t[0] ||= d("td", { class: "px-2 py-1" }, "Current Index:", -1), d("td", en, N(F(g)), 1)]),
|
|
933
|
+
d("tr", tn, [t[1] ||= d("td", { class: "px-2 py-1" }, "Is Init:", -1), d("td", nn, N(F(m)), 1)]),
|
|
934
|
+
d("tr", rn, [t[2] ||= d("td", { class: "px-2 py-1" }, "Is Navigating:", -1), d("td", an, N(F(h)), 1)]),
|
|
935
|
+
d("tr", on, [t[3] ||= d("td", { class: "px-2 py-1" }, "Slide Count:", -1), d("td", sn, N(F(a)), 1)])
|
|
936
936
|
])])])])) : l("", !0)
|
|
937
|
-
], 10,
|
|
937
|
+
], 10, Kt));
|
|
938
938
|
}
|
|
939
939
|
});
|
|
940
940
|
//#endregion
|
|
941
941
|
//#region node_modules/.pnpm/es-toolkit@1.52.0/node_modules/es-toolkit/dist/compat/predicate/isArrayLike.mjs
|
|
942
|
-
function
|
|
943
|
-
return e != null && typeof e != "function" &&
|
|
942
|
+
function ln(e) {
|
|
943
|
+
return e != null && typeof e != "function" && At(e.length);
|
|
944
944
|
}
|
|
945
945
|
//#endregion
|
|
946
946
|
//#region node_modules/.pnpm/es-toolkit@1.52.0/node_modules/es-toolkit/dist/compat/_internal/toArray.mjs
|
|
947
|
-
function
|
|
947
|
+
function un(e) {
|
|
948
948
|
return Array.isArray(e) ? e : Array.from(e);
|
|
949
949
|
}
|
|
950
950
|
//#endregion
|
|
951
951
|
//#region node_modules/.pnpm/es-toolkit@1.52.0/node_modules/es-toolkit/dist/compat/array/concat.mjs
|
|
952
|
-
function
|
|
953
|
-
return
|
|
952
|
+
function dn(...e) {
|
|
953
|
+
return We(e);
|
|
954
954
|
}
|
|
955
955
|
//#endregion
|
|
956
956
|
//#region node_modules/.pnpm/es-toolkit@1.52.0/node_modules/es-toolkit/dist/compat/predicate/isSymbol.mjs
|
|
957
|
-
function
|
|
957
|
+
function fn(e) {
|
|
958
958
|
return typeof e == "symbol" || e instanceof Symbol;
|
|
959
959
|
}
|
|
960
960
|
//#endregion
|
|
961
961
|
//#region node_modules/.pnpm/es-toolkit@1.52.0/node_modules/es-toolkit/dist/compat/util/toString.mjs
|
|
962
|
-
function
|
|
963
|
-
return e == null ? "" :
|
|
962
|
+
function pn(e) {
|
|
963
|
+
return e == null ? "" : mn(e);
|
|
964
964
|
}
|
|
965
|
-
function
|
|
965
|
+
function mn(e) {
|
|
966
966
|
if (typeof e == "string") return e;
|
|
967
|
-
if (Array.isArray(e)) return e.map(
|
|
968
|
-
if (
|
|
967
|
+
if (Array.isArray(e)) return e.map(mn).join(",");
|
|
968
|
+
if (fn(e)) return e.toString();
|
|
969
969
|
let t = e + "";
|
|
970
970
|
return t === "0" && Object.is(Number(e), -0) ? "-0" : t;
|
|
971
971
|
}
|
|
972
972
|
//#endregion
|
|
973
973
|
//#region node_modules/.pnpm/es-toolkit@1.52.0/node_modules/es-toolkit/dist/compat/_internal/toKey.mjs
|
|
974
|
-
function
|
|
974
|
+
function hn(e) {
|
|
975
975
|
return typeof e == "string" || typeof e == "symbol" ? e : Object.is(e?.valueOf?.(), -0) ? "-0" : String(e);
|
|
976
976
|
}
|
|
977
977
|
//#endregion
|
|
978
978
|
//#region node_modules/.pnpm/es-toolkit@1.52.0/node_modules/es-toolkit/dist/compat/util/toPath.mjs
|
|
979
|
-
function
|
|
980
|
-
if (Array.isArray(e)) return e.map(
|
|
979
|
+
function gn(e) {
|
|
980
|
+
if (Array.isArray(e)) return e.map(hn);
|
|
981
981
|
if (typeof e == "symbol") return [e];
|
|
982
|
-
e =
|
|
982
|
+
e = pn(e);
|
|
983
983
|
let t = [], n = e.length;
|
|
984
984
|
if (n === 0) return t;
|
|
985
985
|
let r = 0, i = "", a = "", o = !1, s = !1, c = /^-?\d+(?:\.\d+)?$/;
|
|
@@ -1007,86 +1007,86 @@ function mn(e) {
|
|
|
1007
1007
|
}
|
|
1008
1008
|
//#endregion
|
|
1009
1009
|
//#region node_modules/.pnpm/es-toolkit@1.52.0/node_modules/es-toolkit/dist/compat/_internal/isDeepKey.mjs
|
|
1010
|
-
var
|
|
1011
|
-
function
|
|
1010
|
+
var _n = /\.|(\[(?:[^[\]]*|(["'])(?:(?!\2)[^\\]|\\.)*?\2)\])/;
|
|
1011
|
+
function vn(e) {
|
|
1012
1012
|
switch (typeof e) {
|
|
1013
1013
|
case "number":
|
|
1014
1014
|
case "symbol": return !1;
|
|
1015
|
-
case "string": return e === "" || e.startsWith(".") || e.endsWith(".") ? !1 :
|
|
1015
|
+
case "string": return e === "" || e.startsWith(".") || e.endsWith(".") ? !1 : _n.test(e);
|
|
1016
1016
|
default: return !1;
|
|
1017
1017
|
}
|
|
1018
1018
|
}
|
|
1019
1019
|
//#endregion
|
|
1020
1020
|
//#region node_modules/.pnpm/es-toolkit@1.52.0/node_modules/es-toolkit/dist/compat/object/get.mjs
|
|
1021
|
-
function
|
|
1021
|
+
function yn(e, t, n) {
|
|
1022
1022
|
if (e == null) return n;
|
|
1023
1023
|
switch (typeof t) {
|
|
1024
1024
|
case "string": {
|
|
1025
|
-
if (
|
|
1025
|
+
if (Et(t)) return n;
|
|
1026
1026
|
let r = e[t];
|
|
1027
|
-
return r === void 0 ?
|
|
1027
|
+
return r === void 0 ? vn(t) && !Object.hasOwn(e, t) ? yn(e, gn(t), n) : n : r;
|
|
1028
1028
|
}
|
|
1029
1029
|
case "number":
|
|
1030
1030
|
case "symbol": {
|
|
1031
|
-
typeof t == "number" && (t =
|
|
1031
|
+
typeof t == "number" && (t = hn(t));
|
|
1032
1032
|
let r = e[t];
|
|
1033
1033
|
return r === void 0 ? n : r;
|
|
1034
1034
|
}
|
|
1035
1035
|
default: {
|
|
1036
|
-
if (Array.isArray(t)) return
|
|
1037
|
-
if (t = Object.is(t?.valueOf(), -0) ? "-0" : String(t),
|
|
1036
|
+
if (Array.isArray(t)) return bn(e, t, n);
|
|
1037
|
+
if (t = Object.is(t?.valueOf(), -0) ? "-0" : String(t), Et(t)) return n;
|
|
1038
1038
|
let r = e[t];
|
|
1039
1039
|
return r === void 0 ? n : r;
|
|
1040
1040
|
}
|
|
1041
1041
|
}
|
|
1042
1042
|
}
|
|
1043
|
-
function
|
|
1043
|
+
function bn(e, t, n) {
|
|
1044
1044
|
if (t.length === 0) return n;
|
|
1045
1045
|
let r = e;
|
|
1046
1046
|
for (let e = 0; e < t.length; e++) {
|
|
1047
|
-
if (r == null ||
|
|
1047
|
+
if (r == null || Et(t[e])) return n;
|
|
1048
1048
|
r = r[t[e]];
|
|
1049
1049
|
}
|
|
1050
1050
|
return r === void 0 ? n : r;
|
|
1051
1051
|
}
|
|
1052
1052
|
//#endregion
|
|
1053
1053
|
//#region node_modules/.pnpm/es-toolkit@1.52.0/node_modules/es-toolkit/dist/compat/object/property.mjs
|
|
1054
|
-
function
|
|
1054
|
+
function xn(e) {
|
|
1055
1055
|
return function(t) {
|
|
1056
|
-
return
|
|
1056
|
+
return yn(t, e);
|
|
1057
1057
|
};
|
|
1058
1058
|
}
|
|
1059
1059
|
//#endregion
|
|
1060
1060
|
//#region node_modules/.pnpm/es-toolkit@1.52.0/node_modules/es-toolkit/dist/compat/predicate/isObject.mjs
|
|
1061
|
-
function
|
|
1061
|
+
function Sn(e) {
|
|
1062
1062
|
return e !== null && (typeof e == "object" || typeof e == "function");
|
|
1063
1063
|
}
|
|
1064
1064
|
//#endregion
|
|
1065
1065
|
//#region node_modules/.pnpm/es-toolkit@1.52.0/node_modules/es-toolkit/dist/compat/predicate/isMatchWith.mjs
|
|
1066
|
-
function
|
|
1067
|
-
return typeof n == "function" ?
|
|
1066
|
+
function Cn(e, t, n) {
|
|
1067
|
+
return typeof n == "function" ? wn(e, t, function e(t, r, i, a, o, s) {
|
|
1068
1068
|
let c = n(t, r, i, a, o, s);
|
|
1069
|
-
return c === void 0 ?
|
|
1070
|
-
}, /* @__PURE__ */ new Map(), !0) :
|
|
1069
|
+
return c === void 0 ? wn(t, r, e, s, !1) : !!c;
|
|
1070
|
+
}, /* @__PURE__ */ new Map(), !0) : Cn(e, t, () => void 0);
|
|
1071
1071
|
}
|
|
1072
|
-
function
|
|
1072
|
+
function wn(e, t, n, r, i = !1) {
|
|
1073
1073
|
if (t === e) return !0;
|
|
1074
1074
|
switch (typeof t) {
|
|
1075
|
-
case "object": return
|
|
1076
|
-
case "function": return Object.keys(t).length > 0 ?
|
|
1077
|
-
default: return
|
|
1075
|
+
case "object": return Tn(e, t, n, r, i);
|
|
1076
|
+
case "function": return Object.keys(t).length > 0 ? wn(e, { ...t }, n, r, i) : kt(e, t);
|
|
1077
|
+
default: return Sn(e) && i ? typeof t != "string" || t === "" : kt(e, t);
|
|
1078
1078
|
}
|
|
1079
1079
|
}
|
|
1080
|
-
function
|
|
1080
|
+
function Tn(e, t, n, r, i = !1) {
|
|
1081
1081
|
if (t == null) return !0;
|
|
1082
|
-
if (Array.isArray(t)) return
|
|
1083
|
-
if (t instanceof Map) return
|
|
1084
|
-
if (t instanceof Set) return
|
|
1082
|
+
if (Array.isArray(t)) return Dn(e, t, n, r);
|
|
1083
|
+
if (t instanceof Map) return En(e, t, n, r);
|
|
1084
|
+
if (t instanceof Set) return On(e, t, n, r);
|
|
1085
1085
|
let a = Object.keys(t);
|
|
1086
1086
|
if (e == null) return i && a.length === 0;
|
|
1087
|
-
if (i)
|
|
1087
|
+
if (i) Ye(e) && (e = Object(e));
|
|
1088
1088
|
else {
|
|
1089
|
-
let t =
|
|
1089
|
+
let t = $e(e);
|
|
1090
1090
|
if (t !== "[object Object]" && t !== "[object Arguments]") return !1;
|
|
1091
1091
|
}
|
|
1092
1092
|
if (a.length === 0) return !0;
|
|
@@ -1102,13 +1102,13 @@ function Cn(e, t, n, r, i = !1) {
|
|
|
1102
1102
|
r?.delete(t);
|
|
1103
1103
|
}
|
|
1104
1104
|
}
|
|
1105
|
-
function
|
|
1105
|
+
function En(e, t, n, r) {
|
|
1106
1106
|
if (t.size === 0) return !0;
|
|
1107
1107
|
if (!(e instanceof Map)) return !1;
|
|
1108
1108
|
for (let [i, a] of t.entries()) if (n(e.get(i), a, i, e, t, r) === !1) return !1;
|
|
1109
1109
|
return !0;
|
|
1110
1110
|
}
|
|
1111
|
-
function
|
|
1111
|
+
function Dn(e, t, n, r) {
|
|
1112
1112
|
if (t.length === 0) return !0;
|
|
1113
1113
|
if (!Array.isArray(e)) return !1;
|
|
1114
1114
|
let i = /* @__PURE__ */ new Set();
|
|
@@ -1126,40 +1126,40 @@ function Tn(e, t, n, r) {
|
|
|
1126
1126
|
}
|
|
1127
1127
|
return !0;
|
|
1128
1128
|
}
|
|
1129
|
-
function
|
|
1130
|
-
return t.size === 0 || e instanceof Set &&
|
|
1129
|
+
function On(e, t, n, r) {
|
|
1130
|
+
return t.size === 0 || e instanceof Set && Dn([...e], [...t], n, r);
|
|
1131
1131
|
}
|
|
1132
1132
|
//#endregion
|
|
1133
1133
|
//#region node_modules/.pnpm/es-toolkit@1.52.0/node_modules/es-toolkit/dist/compat/predicate/isMatch.mjs
|
|
1134
|
-
function
|
|
1135
|
-
return
|
|
1134
|
+
function kn(e, t) {
|
|
1135
|
+
return Cn(e, t, () => void 0);
|
|
1136
1136
|
}
|
|
1137
1137
|
//#endregion
|
|
1138
1138
|
//#region node_modules/.pnpm/es-toolkit@1.52.0/node_modules/es-toolkit/dist/compat/predicate/matches.mjs
|
|
1139
|
-
function
|
|
1140
|
-
return e =
|
|
1139
|
+
function An(e) {
|
|
1140
|
+
return e = wt(e), (t) => kn(t, e);
|
|
1141
1141
|
}
|
|
1142
1142
|
//#endregion
|
|
1143
1143
|
//#region node_modules/.pnpm/es-toolkit@1.52.0/node_modules/es-toolkit/dist/compat/object/cloneDeepWith.mjs
|
|
1144
|
-
function
|
|
1145
|
-
return
|
|
1144
|
+
function jn(e, t) {
|
|
1145
|
+
return St(e, (n, r, i, a) => {
|
|
1146
1146
|
let o = t?.(n, r, i, a);
|
|
1147
1147
|
if (o !== void 0) return o;
|
|
1148
1148
|
if (typeof e == "object") {
|
|
1149
|
-
if (
|
|
1149
|
+
if ($e(e) === "[object Object]" && typeof e.constructor != "function") {
|
|
1150
1150
|
let t = {};
|
|
1151
|
-
return a.set(e, t),
|
|
1151
|
+
return a.set(e, t), U(t, e, i, a), t;
|
|
1152
1152
|
}
|
|
1153
1153
|
switch (Object.prototype.toString.call(e)) {
|
|
1154
|
-
case
|
|
1155
|
-
case
|
|
1156
|
-
case
|
|
1154
|
+
case nt:
|
|
1155
|
+
case tt:
|
|
1156
|
+
case rt: {
|
|
1157
1157
|
let t = new e.constructor(e?.valueOf());
|
|
1158
|
-
return
|
|
1158
|
+
return U(t, e), t;
|
|
1159
1159
|
}
|
|
1160
|
-
case
|
|
1160
|
+
case it: {
|
|
1161
1161
|
let t = {};
|
|
1162
|
-
return
|
|
1162
|
+
return U(t, e), t.length = e.length, t[Symbol.iterator] = e[Symbol.iterator], t;
|
|
1163
1163
|
}
|
|
1164
1164
|
default: return;
|
|
1165
1165
|
}
|
|
@@ -1168,198 +1168,198 @@ function kn(e, t) {
|
|
|
1168
1168
|
}
|
|
1169
1169
|
//#endregion
|
|
1170
1170
|
//#region node_modules/.pnpm/es-toolkit@1.52.0/node_modules/es-toolkit/dist/compat/object/cloneDeep.mjs
|
|
1171
|
-
function
|
|
1172
|
-
return
|
|
1171
|
+
function Mn(e) {
|
|
1172
|
+
return jn(e);
|
|
1173
1173
|
}
|
|
1174
1174
|
//#endregion
|
|
1175
1175
|
//#region node_modules/.pnpm/es-toolkit@1.52.0/node_modules/es-toolkit/dist/compat/predicate/isArguments.mjs
|
|
1176
|
-
function
|
|
1177
|
-
return typeof e == "object" && !!e &&
|
|
1176
|
+
function Nn(e) {
|
|
1177
|
+
return typeof e == "object" && !!e && $e(e) === "[object Arguments]";
|
|
1178
1178
|
}
|
|
1179
1179
|
//#endregion
|
|
1180
1180
|
//#region node_modules/.pnpm/es-toolkit@1.52.0/node_modules/es-toolkit/dist/compat/_internal/isIndex.mjs
|
|
1181
|
-
var
|
|
1182
|
-
function
|
|
1181
|
+
var Pn = /^(?:0|[1-9]\d*)$/;
|
|
1182
|
+
function Fn(e, t = 2 ** 53 - 1) {
|
|
1183
1183
|
switch (typeof e) {
|
|
1184
1184
|
case "number": return Number.isInteger(e) && e >= 0 && e < t;
|
|
1185
1185
|
case "symbol": return !1;
|
|
1186
|
-
case "string": return
|
|
1186
|
+
case "string": return Pn.test(e);
|
|
1187
1187
|
}
|
|
1188
1188
|
}
|
|
1189
1189
|
//#endregion
|
|
1190
1190
|
//#region node_modules/.pnpm/es-toolkit@1.52.0/node_modules/es-toolkit/dist/compat/object/has.mjs
|
|
1191
|
-
function
|
|
1191
|
+
function In(e, t) {
|
|
1192
1192
|
let n;
|
|
1193
|
-
if (n = Array.isArray(t) ? t : typeof t == "string" &&
|
|
1193
|
+
if (n = Array.isArray(t) ? t : typeof t == "string" && vn(t) && !(t in Object(e)) ? gn(t) : [t], n.length === 0) return !1;
|
|
1194
1194
|
let r = e;
|
|
1195
1195
|
for (let e = 0; e < n.length; e++) {
|
|
1196
|
-
let t =
|
|
1197
|
-
if ((r == null || !Object.hasOwn(r, t)) && !((Array.isArray(r) ||
|
|
1196
|
+
let t = hn(n[e]);
|
|
1197
|
+
if ((r == null || !Object.hasOwn(r, t)) && !((Array.isArray(r) || Nn(r)) && Fn(t) && Number(t) < r.length)) return !1;
|
|
1198
1198
|
r = r[t];
|
|
1199
1199
|
}
|
|
1200
1200
|
return !0;
|
|
1201
1201
|
}
|
|
1202
1202
|
//#endregion
|
|
1203
1203
|
//#region node_modules/.pnpm/es-toolkit@1.52.0/node_modules/es-toolkit/dist/compat/predicate/matchesProperty.mjs
|
|
1204
|
-
function
|
|
1204
|
+
function Ln(e, t) {
|
|
1205
1205
|
switch (typeof e) {
|
|
1206
1206
|
case "object":
|
|
1207
1207
|
Object.is(e?.valueOf(), -0) && (e = "-0");
|
|
1208
1208
|
break;
|
|
1209
|
-
case "number": e =
|
|
1209
|
+
case "number": e = hn(e);
|
|
1210
1210
|
}
|
|
1211
|
-
return t =
|
|
1212
|
-
let r =
|
|
1213
|
-
return r === void 0 ?
|
|
1211
|
+
return t = Mn(t), function(n) {
|
|
1212
|
+
let r = yn(n, e);
|
|
1213
|
+
return r === void 0 ? In(n, e) : t === void 0 ? r === void 0 : kn(r, t);
|
|
1214
1214
|
};
|
|
1215
1215
|
}
|
|
1216
1216
|
//#endregion
|
|
1217
1217
|
//#region node_modules/.pnpm/es-toolkit@1.52.0/node_modules/es-toolkit/dist/compat/util/toNumber.mjs
|
|
1218
|
-
function
|
|
1219
|
-
return
|
|
1218
|
+
function Rn(e) {
|
|
1219
|
+
return fn(e) ? NaN : Number(e);
|
|
1220
1220
|
}
|
|
1221
1221
|
//#endregion
|
|
1222
1222
|
//#region node_modules/.pnpm/es-toolkit@1.52.0/node_modules/es-toolkit/dist/compat/util/toFinite.mjs
|
|
1223
|
-
function
|
|
1224
|
-
return e ? (e =
|
|
1223
|
+
function zn(e) {
|
|
1224
|
+
return e ? (e = Rn(e), e === Infinity || e === -Infinity ? (e < 0 ? -1 : 1) * Number.MAX_VALUE : e === e ? e : 0) : e === 0 ? e : 0;
|
|
1225
1225
|
}
|
|
1226
1226
|
//#endregion
|
|
1227
1227
|
//#region node_modules/.pnpm/es-toolkit@1.52.0/node_modules/es-toolkit/dist/compat/util/toInteger.mjs
|
|
1228
|
-
function
|
|
1229
|
-
let t =
|
|
1228
|
+
function Bn(e) {
|
|
1229
|
+
let t = zn(e), n = t % 1;
|
|
1230
1230
|
return n ? t - n : t;
|
|
1231
1231
|
}
|
|
1232
1232
|
//#endregion
|
|
1233
1233
|
//#region node_modules/.pnpm/es-toolkit@1.52.0/node_modules/es-toolkit/dist/compat/_internal/isIterateeCall.mjs
|
|
1234
|
-
function
|
|
1235
|
-
return
|
|
1234
|
+
function Vn(e, t, n) {
|
|
1235
|
+
return Sn(n) && (typeof t == "number" && ln(n) && Fn(t) && t < n.length || typeof t == "string" && t in n) ? kt(n[t], e) : !1;
|
|
1236
1236
|
}
|
|
1237
1237
|
//#endregion
|
|
1238
1238
|
//#region node_modules/.pnpm/es-toolkit@1.52.0/node_modules/es-toolkit/dist/compat/array/findLastIndex.mjs
|
|
1239
|
-
function
|
|
1239
|
+
function Hn(e, t = qe, n = e ? e.length - 1 : 0) {
|
|
1240
1240
|
if (!e) return -1;
|
|
1241
|
-
let r =
|
|
1241
|
+
let r = Bn(n);
|
|
1242
1242
|
n = n < 0 ? Math.max(e.length + r, 0) : Math.min(r, e.length - 1);
|
|
1243
|
-
let i =
|
|
1243
|
+
let i = un(e).slice(0, n + 1);
|
|
1244
1244
|
switch (typeof t) {
|
|
1245
1245
|
case "function": return i.findLastIndex(t);
|
|
1246
1246
|
case "object":
|
|
1247
1247
|
if (Array.isArray(t) && t.length === 2) {
|
|
1248
1248
|
let e = t[0], n = t[1];
|
|
1249
|
-
return i.findLastIndex(
|
|
1249
|
+
return i.findLastIndex(Ln(e, n));
|
|
1250
1250
|
}
|
|
1251
|
-
return i.findLastIndex(
|
|
1251
|
+
return i.findLastIndex(An(t));
|
|
1252
1252
|
case "number":
|
|
1253
1253
|
case "symbol":
|
|
1254
|
-
case "string": return i.findLastIndex(
|
|
1254
|
+
case "string": return i.findLastIndex(xn(t));
|
|
1255
1255
|
}
|
|
1256
1256
|
}
|
|
1257
1257
|
//#endregion
|
|
1258
1258
|
//#region node_modules/.pnpm/es-toolkit@1.52.0/node_modules/es-toolkit/dist/compat/array/slice.mjs
|
|
1259
|
-
function
|
|
1260
|
-
if (!
|
|
1259
|
+
function Un(e, t, n) {
|
|
1260
|
+
if (!ln(e)) return [];
|
|
1261
1261
|
let r = e.length;
|
|
1262
|
-
n === void 0 ? n = r : typeof n != "number" &&
|
|
1262
|
+
n === void 0 ? n = r : typeof n != "number" && Vn(e, t, n) && (t = 0, n = r), t = Bn(t), n = Bn(n), t = t < 0 ? Math.max(r + t, 0) : Math.min(t, r), n = n < 0 ? Math.max(r + n, 0) : Math.min(n, r);
|
|
1263
1263
|
let i = Math.max(n - t, 0), a = Array(i);
|
|
1264
1264
|
for (let n = 0; n < i; ++n) a[n] = e[t + n];
|
|
1265
1265
|
return a;
|
|
1266
1266
|
}
|
|
1267
1267
|
//#endregion
|
|
1268
1268
|
//#region node_modules/.pnpm/tailwind-merge@3.7.0/node_modules/tailwind-merge/dist/bundle-mjs.mjs
|
|
1269
|
-
var
|
|
1269
|
+
var Wn = (e, t) => {
|
|
1270
1270
|
let n = Array(e.length + t.length);
|
|
1271
1271
|
for (let t = 0; t < e.length; t++) n[t] = e[t];
|
|
1272
1272
|
for (let r = 0; r < t.length; r++) n[e.length + r] = t[r];
|
|
1273
1273
|
return n;
|
|
1274
|
-
},
|
|
1274
|
+
}, Gn = (e, t) => ({
|
|
1275
1275
|
classGroupId: e,
|
|
1276
1276
|
validator: t
|
|
1277
|
-
}),
|
|
1277
|
+
}), Kn = (e = /* @__PURE__ */ new Map(), t = null, n) => ({
|
|
1278
1278
|
nextPart: e,
|
|
1279
1279
|
validators: t,
|
|
1280
1280
|
classGroupId: n
|
|
1281
|
-
}),
|
|
1282
|
-
let t =
|
|
1281
|
+
}), qn = "-", Jn = [], Yn = "arbitrary..", Xn = (e) => {
|
|
1282
|
+
let t = $n(e), { conflictingClassGroups: n, conflictingClassGroupModifiers: r } = e;
|
|
1283
1283
|
return {
|
|
1284
1284
|
getClassGroupId: (e) => {
|
|
1285
|
-
if (e.startsWith("[") && e.endsWith("]")) return
|
|
1286
|
-
let n = e.split(
|
|
1287
|
-
return
|
|
1285
|
+
if (e.startsWith("[") && e.endsWith("]")) return Qn(e);
|
|
1286
|
+
let n = e.split(qn);
|
|
1287
|
+
return Zn(n, +(n[0] === "" && n.length > 1), t);
|
|
1288
1288
|
},
|
|
1289
1289
|
getConflictingClassGroupIds: (e, t) => {
|
|
1290
1290
|
if (t) {
|
|
1291
1291
|
let t = r[e], i = n[e];
|
|
1292
|
-
return t ? i ?
|
|
1292
|
+
return t ? i ? Wn(i, t) : t : i || Jn;
|
|
1293
1293
|
}
|
|
1294
|
-
return n[e] ||
|
|
1294
|
+
return n[e] || Jn;
|
|
1295
1295
|
}
|
|
1296
1296
|
};
|
|
1297
|
-
},
|
|
1297
|
+
}, Zn = (e, t, n) => {
|
|
1298
1298
|
if (e.length - t === 0) return n.classGroupId;
|
|
1299
1299
|
let r = e[t], i = n.nextPart.get(r);
|
|
1300
1300
|
if (i) {
|
|
1301
|
-
let n =
|
|
1301
|
+
let n = Zn(e, t + 1, i);
|
|
1302
1302
|
if (n) return n;
|
|
1303
1303
|
}
|
|
1304
1304
|
let a = n.validators;
|
|
1305
1305
|
if (a === null) return;
|
|
1306
|
-
let o = t === 0 ? e.join(
|
|
1306
|
+
let o = t === 0 ? e.join(qn) : e.slice(t).join(qn), s = a.length;
|
|
1307
1307
|
for (let e = 0; e < s; e++) {
|
|
1308
1308
|
let t = a[e];
|
|
1309
1309
|
if (t.validator(o)) return t.classGroupId;
|
|
1310
1310
|
}
|
|
1311
|
-
},
|
|
1311
|
+
}, Qn = (e) => e.slice(1, -1).indexOf(":") === -1 ? void 0 : (() => {
|
|
1312
1312
|
let t = e.slice(1, -1), n = t.indexOf(":"), r = t.slice(0, n);
|
|
1313
|
-
return r ?
|
|
1314
|
-
})(),
|
|
1313
|
+
return r ? Yn + r : void 0;
|
|
1314
|
+
})(), $n = (e) => {
|
|
1315
1315
|
let { theme: t, classGroups: n } = e;
|
|
1316
|
-
return
|
|
1317
|
-
},
|
|
1318
|
-
let n =
|
|
1316
|
+
return er(n, t);
|
|
1317
|
+
}, er = (e, t) => {
|
|
1318
|
+
let n = Kn();
|
|
1319
1319
|
for (let r in e) {
|
|
1320
1320
|
let i = e[r];
|
|
1321
|
-
|
|
1321
|
+
tr(i, n, r, t);
|
|
1322
1322
|
}
|
|
1323
1323
|
return n;
|
|
1324
|
-
},
|
|
1324
|
+
}, tr = (e, t, n, r) => {
|
|
1325
1325
|
let i = e.length;
|
|
1326
1326
|
for (let a = 0; a < i; a++) {
|
|
1327
1327
|
let i = e[a];
|
|
1328
|
-
|
|
1328
|
+
nr(i, t, n, r);
|
|
1329
1329
|
}
|
|
1330
|
-
},
|
|
1330
|
+
}, nr = (e, t, n, r) => {
|
|
1331
1331
|
if (typeof e == "string") {
|
|
1332
|
-
|
|
1332
|
+
rr(e, t, n);
|
|
1333
1333
|
return;
|
|
1334
1334
|
}
|
|
1335
1335
|
if (typeof e == "function") {
|
|
1336
|
-
|
|
1336
|
+
ir(e, t, n, r);
|
|
1337
1337
|
return;
|
|
1338
1338
|
}
|
|
1339
|
-
|
|
1340
|
-
},
|
|
1341
|
-
let r = e === "" ? t :
|
|
1339
|
+
ar(e, t, n, r);
|
|
1340
|
+
}, rr = (e, t, n) => {
|
|
1341
|
+
let r = e === "" ? t : or(t, e);
|
|
1342
1342
|
r.classGroupId = n;
|
|
1343
|
-
},
|
|
1344
|
-
if (
|
|
1345
|
-
|
|
1343
|
+
}, ir = (e, t, n, r) => {
|
|
1344
|
+
if (sr(e)) {
|
|
1345
|
+
tr(e(r), t, n, r);
|
|
1346
1346
|
return;
|
|
1347
1347
|
}
|
|
1348
|
-
t.validators === null && (t.validators = []), t.validators.push(
|
|
1349
|
-
},
|
|
1348
|
+
t.validators === null && (t.validators = []), t.validators.push(Gn(n, e));
|
|
1349
|
+
}, ar = (e, t, n, r) => {
|
|
1350
1350
|
let i = Object.entries(e), a = i.length;
|
|
1351
1351
|
for (let e = 0; e < a; e++) {
|
|
1352
1352
|
let [a, o] = i[e];
|
|
1353
|
-
|
|
1353
|
+
tr(o, or(t, a), n, r);
|
|
1354
1354
|
}
|
|
1355
|
-
},
|
|
1356
|
-
let n = e, r = t.split(
|
|
1355
|
+
}, or = (e, t) => {
|
|
1356
|
+
let n = e, r = t.split(qn), i = r.length;
|
|
1357
1357
|
for (let e = 0; e < i; e++) {
|
|
1358
1358
|
let t = r[e], i = n.nextPart.get(t);
|
|
1359
|
-
i || (i =
|
|
1359
|
+
i || (i = Kn(), n.nextPart.set(t, i)), n = i;
|
|
1360
1360
|
}
|
|
1361
1361
|
return n;
|
|
1362
|
-
},
|
|
1362
|
+
}, sr = (e) => "isThemeGetter" in e && e.isThemeGetter === !0, cr = (e) => {
|
|
1363
1363
|
if (e < 1) return {
|
|
1364
1364
|
get: () => void 0,
|
|
1365
1365
|
set: () => {}
|
|
@@ -1377,19 +1377,19 @@ var Hn = (e, t) => {
|
|
|
1377
1377
|
e in n ? n[e] = t : i(e, t);
|
|
1378
1378
|
}
|
|
1379
1379
|
};
|
|
1380
|
-
},
|
|
1380
|
+
}, lr = "!", ur = ":", dr = [], fr = (e, t, n, r, i) => ({
|
|
1381
1381
|
modifiers: e,
|
|
1382
1382
|
hasImportantModifier: t,
|
|
1383
1383
|
baseClassName: n,
|
|
1384
1384
|
maybePostfixModifierPosition: r,
|
|
1385
1385
|
isExternal: i
|
|
1386
|
-
}),
|
|
1386
|
+
}), pr = (e) => {
|
|
1387
1387
|
let { prefix: t, experimentalParseClassName: n } = e, r = (e) => {
|
|
1388
1388
|
let t = [], n = 0, r = 0, i = 0, a, o = e.length;
|
|
1389
1389
|
for (let s = 0; s < o; s++) {
|
|
1390
1390
|
let o = e[s];
|
|
1391
1391
|
if (n === 0 && r === 0) {
|
|
1392
|
-
if (o ===
|
|
1392
|
+
if (o === ur) {
|
|
1393
1393
|
t.push(e.slice(i, s)), i = s + 1;
|
|
1394
1394
|
continue;
|
|
1395
1395
|
}
|
|
@@ -1401,13 +1401,13 @@ var Hn = (e, t) => {
|
|
|
1401
1401
|
o === "[" ? n++ : o === "]" ? n-- : o === "(" ? r++ : o === ")" && r--;
|
|
1402
1402
|
}
|
|
1403
1403
|
let s = t.length === 0 ? e : e.slice(i), c = s, l = !1;
|
|
1404
|
-
s.endsWith(
|
|
1404
|
+
s.endsWith(lr) ? (c = s.slice(0, -1), l = !0) : s.startsWith(lr) && (c = s.slice(1), l = !0);
|
|
1405
1405
|
let u = a && a > i ? a - i : void 0;
|
|
1406
|
-
return
|
|
1406
|
+
return fr(t, l, c, u);
|
|
1407
1407
|
};
|
|
1408
1408
|
if (t) {
|
|
1409
|
-
let e = t +
|
|
1410
|
-
r = (t) => t.startsWith(e) ? n(t.slice(e.length)) :
|
|
1409
|
+
let e = t + ur, n = r;
|
|
1410
|
+
r = (t) => t.startsWith(e) ? n(t.slice(e.length)) : fr(dr, !1, t, void 0, !0);
|
|
1411
1411
|
}
|
|
1412
1412
|
if (n) {
|
|
1413
1413
|
let e = r;
|
|
@@ -1417,7 +1417,7 @@ var Hn = (e, t) => {
|
|
|
1417
1417
|
});
|
|
1418
1418
|
}
|
|
1419
1419
|
return r;
|
|
1420
|
-
},
|
|
1420
|
+
}, mr = (e) => {
|
|
1421
1421
|
let t = /* @__PURE__ */ new Map();
|
|
1422
1422
|
return e.orderSensitiveModifiers.forEach((e, n) => {
|
|
1423
1423
|
t.set(e, 1e6 + n);
|
|
@@ -1429,18 +1429,18 @@ var Hn = (e, t) => {
|
|
|
1429
1429
|
}
|
|
1430
1430
|
return r.length > 0 && (r.sort(), n.push(...r)), n;
|
|
1431
1431
|
};
|
|
1432
|
-
},
|
|
1433
|
-
cache:
|
|
1434
|
-
parseClassName:
|
|
1435
|
-
sortModifiers:
|
|
1436
|
-
postfixLookupClassGroupIds:
|
|
1437
|
-
...
|
|
1438
|
-
}),
|
|
1432
|
+
}, hr = (e) => ({
|
|
1433
|
+
cache: cr(e.cacheSize),
|
|
1434
|
+
parseClassName: pr(e),
|
|
1435
|
+
sortModifiers: mr(e),
|
|
1436
|
+
postfixLookupClassGroupIds: gr(e),
|
|
1437
|
+
...Xn(e)
|
|
1438
|
+
}), gr = (e) => {
|
|
1439
1439
|
let t = Object.create(null), n = e.postfixLookupClassGroups;
|
|
1440
1440
|
if (n) for (let e = 0; e < n.length; e++) t[n[e]] = !0;
|
|
1441
1441
|
return t;
|
|
1442
|
-
},
|
|
1443
|
-
let { parseClassName: n, getClassGroupId: r, getConflictingClassGroupIds: i, sortModifiers: a, postfixLookupClassGroupIds: o } = t, s = [], c = e.trim().split(
|
|
1442
|
+
}, _r = /\s+/, vr = (e, t) => {
|
|
1443
|
+
let { parseClassName: n, getClassGroupId: r, getConflictingClassGroupIds: i, sortModifiers: a, postfixLookupClassGroupIds: o } = t, s = [], c = e.trim().split(_r), l = "";
|
|
1444
1444
|
for (let e = c.length - 1; e >= 0; --e) {
|
|
1445
1445
|
let t = c[e], { isExternal: u, modifiers: d, hasImportantModifier: f, baseClassName: p, maybePostfixModifierPosition: m } = n(t);
|
|
1446
1446
|
if (u) {
|
|
@@ -1464,7 +1464,7 @@ var Hn = (e, t) => {
|
|
|
1464
1464
|
}
|
|
1465
1465
|
h = !1;
|
|
1466
1466
|
}
|
|
1467
|
-
let _ = d.length === 0 ? "" : d.length === 1 ? d[0] : a(d).join(":"), v = f ? _ +
|
|
1467
|
+
let _ = d.length === 0 ? "" : d.length === 1 ? d[0] : a(d).join(":"), v = f ? _ + lr : _, y = v + g;
|
|
1468
1468
|
if (s.indexOf(y) > -1) continue;
|
|
1469
1469
|
s.push(y);
|
|
1470
1470
|
let b = i(g, h);
|
|
@@ -1475,34 +1475,34 @@ var Hn = (e, t) => {
|
|
|
1475
1475
|
l = t + (l.length > 0 ? " " + l : l);
|
|
1476
1476
|
}
|
|
1477
1477
|
return l;
|
|
1478
|
-
},
|
|
1478
|
+
}, yr = (...e) => {
|
|
1479
1479
|
let t = 0, n, r, i = "";
|
|
1480
|
-
for (; t < e.length;) (n = e[t++]) && (r =
|
|
1480
|
+
for (; t < e.length;) (n = e[t++]) && (r = br(n)) && (i && (i += " "), i += r);
|
|
1481
1481
|
return i;
|
|
1482
|
-
},
|
|
1482
|
+
}, br = (e) => {
|
|
1483
1483
|
if (typeof e == "string") return e;
|
|
1484
1484
|
let t, n = "";
|
|
1485
|
-
for (let r = 0; r < e.length; r++) e[r] && (t =
|
|
1485
|
+
for (let r = 0; r < e.length; r++) e[r] && (t = br(e[r])) && (n && (n += " "), n += t);
|
|
1486
1486
|
return n;
|
|
1487
|
-
},
|
|
1488
|
-
let n, r, i, a, o = (o) => (n =
|
|
1487
|
+
}, xr = (e, ...t) => {
|
|
1488
|
+
let n, r, i, a, o = (o) => (n = hr(t.reduce((e, t) => t(e), e())), r = n.cache.get, i = n.cache.set, a = s, s(o)), s = (e) => {
|
|
1489
1489
|
let t = r(e);
|
|
1490
1490
|
if (t) return t;
|
|
1491
|
-
let a =
|
|
1491
|
+
let a = vr(e, n);
|
|
1492
1492
|
return i(e, a), a;
|
|
1493
1493
|
};
|
|
1494
|
-
return a = o, (...e) => a(
|
|
1495
|
-
},
|
|
1496
|
-
let t = (t) => t[e] ||
|
|
1494
|
+
return a = o, (...e) => a(yr(...e));
|
|
1495
|
+
}, Sr = [], W = (e) => {
|
|
1496
|
+
let t = (t) => t[e] || Sr;
|
|
1497
1497
|
return t.isThemeGetter = !0, t.themeKey = e, t;
|
|
1498
|
-
},
|
|
1499
|
-
let r =
|
|
1498
|
+
}, Cr = /^\[(?:(\w[\w-]*):)?(.+)\]$/i, wr = /^\((?:(\w[\w-]*):)?(.+)\)$/i, Tr = /^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/, Er = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, Dr = /\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/, Or = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix|color|light-dark)\(.+\)$/, kr = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, Ar = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, G = (e) => Tr.test(e), K = (e) => !!e && !Number.isNaN(Number(e)), q = (e) => !!e && Number.isInteger(Number(e)), jr = (e) => e.endsWith("%") && K(e.slice(0, -1)), J = (e) => Er.test(e), Mr = () => !0, Nr = (e) => Dr.test(e) && !Or.test(e), Pr = () => !1, Fr = (e) => kr.test(e), Ir = (e) => Ar.test(e), Lr = (e) => !Y(e) && !Z(e), Rr = (e) => e.startsWith("@container") && (e[10] === "/" && e[11] !== void 0 || e[11] === "s" && e[16] !== void 0 && e.startsWith("-size/", 10) || e[11] === "n" && e[18] !== void 0 && e.startsWith("-normal/", 10)), zr = (e) => Q(e, ti, Pr), Y = (e) => Cr.test(e), X = (e) => Q(e, ni, Nr), Br = (e) => Q(e, ri, K), Vr = (e) => Q(e, ai, Mr), Hr = (e) => Q(e, ii, Pr), Ur = (e) => Q(e, $r, Pr), Wr = (e) => Q(e, ei, Ir), Gr = (e) => Q(e, oi, Fr), Z = (e) => wr.test(e), Kr = (e) => $(e, ni), qr = (e) => $(e, ii), Jr = (e) => $(e, $r), Yr = (e) => $(e, ti), Xr = (e) => $(e, ei), Zr = (e) => $(e, oi, !0), Qr = (e) => $(e, ai, !0), Q = (e, t, n) => {
|
|
1499
|
+
let r = Cr.exec(e);
|
|
1500
1500
|
return r ? r[1] ? t(r[1]) : n(r[2]) : !1;
|
|
1501
|
-
},
|
|
1502
|
-
let r =
|
|
1501
|
+
}, $ = (e, t, n = !1) => {
|
|
1502
|
+
let r = wr.exec(e);
|
|
1503
1503
|
return r ? r[1] ? t(r[1]) : n : !1;
|
|
1504
|
-
},
|
|
1505
|
-
let e =
|
|
1504
|
+
}, $r = (e) => e === "position" || e === "percentage", ei = (e) => e === "image" || e === "url", ti = (e) => e === "length" || e === "size" || e === "bg-size", ni = (e) => e === "length", ri = (e) => e === "number", ii = (e) => e === "family-name", ai = (e) => e === "number" || e === "weight", oi = (e) => e === "shadow", si = /*#__PURE__*/ xr(() => {
|
|
1505
|
+
let e = W("color"), t = W("font"), n = W("text"), r = W("font-weight"), i = W("tracking"), a = W("leading"), o = W("breakpoint"), s = W("container"), c = W("spacing"), l = W("radius"), u = W("shadow"), d = W("inset-shadow"), f = W("text-shadow"), p = W("drop-shadow"), m = W("blur"), h = W("perspective"), g = W("aspect"), _ = W("ease"), v = W("animate"), y = () => [
|
|
1506
1506
|
"auto",
|
|
1507
1507
|
"avoid",
|
|
1508
1508
|
"all",
|
|
@@ -1527,8 +1527,8 @@ var Hn = (e, t) => {
|
|
|
1527
1527
|
"left-bottom"
|
|
1528
1528
|
], x = () => [
|
|
1529
1529
|
...b(),
|
|
1530
|
-
|
|
1531
|
-
|
|
1530
|
+
Z,
|
|
1531
|
+
Y
|
|
1532
1532
|
], ee = () => [
|
|
1533
1533
|
"auto",
|
|
1534
1534
|
"hidden",
|
|
@@ -1540,43 +1540,43 @@ var Hn = (e, t) => {
|
|
|
1540
1540
|
"contain",
|
|
1541
1541
|
"none"
|
|
1542
1542
|
], C = () => [
|
|
1543
|
-
|
|
1544
|
-
|
|
1543
|
+
Z,
|
|
1544
|
+
Y,
|
|
1545
1545
|
c
|
|
1546
1546
|
], w = () => [
|
|
1547
|
-
|
|
1547
|
+
G,
|
|
1548
1548
|
"full",
|
|
1549
1549
|
"auto",
|
|
1550
1550
|
...C()
|
|
1551
1551
|
], T = () => [
|
|
1552
|
-
|
|
1552
|
+
q,
|
|
1553
1553
|
"none",
|
|
1554
1554
|
"subgrid",
|
|
1555
|
-
|
|
1556
|
-
|
|
1555
|
+
Z,
|
|
1556
|
+
Y
|
|
1557
1557
|
], te = () => [
|
|
1558
1558
|
"auto",
|
|
1559
1559
|
{ span: [
|
|
1560
1560
|
"full",
|
|
1561
|
-
|
|
1562
|
-
|
|
1563
|
-
|
|
1561
|
+
q,
|
|
1562
|
+
Z,
|
|
1563
|
+
Y
|
|
1564
1564
|
] },
|
|
1565
|
-
|
|
1566
|
-
|
|
1567
|
-
|
|
1565
|
+
q,
|
|
1566
|
+
Z,
|
|
1567
|
+
Y
|
|
1568
1568
|
], ne = () => [
|
|
1569
|
-
|
|
1569
|
+
q,
|
|
1570
1570
|
"auto",
|
|
1571
|
-
|
|
1572
|
-
|
|
1571
|
+
Z,
|
|
1572
|
+
Y
|
|
1573
1573
|
], E = () => [
|
|
1574
1574
|
"auto",
|
|
1575
1575
|
"min",
|
|
1576
1576
|
"max",
|
|
1577
1577
|
"fr",
|
|
1578
|
-
|
|
1579
|
-
|
|
1578
|
+
Z,
|
|
1579
|
+
Y
|
|
1580
1580
|
], D = () => [
|
|
1581
1581
|
"start",
|
|
1582
1582
|
"end",
|
|
@@ -1596,7 +1596,7 @@ var Hn = (e, t) => {
|
|
|
1596
1596
|
"center-safe",
|
|
1597
1597
|
"end-safe"
|
|
1598
1598
|
], k = () => ["auto", ...C()], A = () => [
|
|
1599
|
-
|
|
1599
|
+
G,
|
|
1600
1600
|
"auto",
|
|
1601
1601
|
"full",
|
|
1602
1602
|
"dvw",
|
|
@@ -1611,7 +1611,7 @@ var Hn = (e, t) => {
|
|
|
1611
1611
|
...C()
|
|
1612
1612
|
], j = () => [
|
|
1613
1613
|
s,
|
|
1614
|
-
|
|
1614
|
+
G,
|
|
1615
1615
|
"screen",
|
|
1616
1616
|
"full",
|
|
1617
1617
|
"dvw",
|
|
@@ -1622,7 +1622,7 @@ var Hn = (e, t) => {
|
|
|
1622
1622
|
"fit",
|
|
1623
1623
|
...C()
|
|
1624
1624
|
], re = () => [
|
|
1625
|
-
|
|
1625
|
+
G,
|
|
1626
1626
|
"screen",
|
|
1627
1627
|
"full",
|
|
1628
1628
|
"lh",
|
|
@@ -1635,13 +1635,13 @@ var Hn = (e, t) => {
|
|
|
1635
1635
|
...C()
|
|
1636
1636
|
], M = () => [
|
|
1637
1637
|
e,
|
|
1638
|
-
|
|
1639
|
-
|
|
1638
|
+
Z,
|
|
1639
|
+
Y
|
|
1640
1640
|
], N = () => [
|
|
1641
1641
|
...b(),
|
|
1642
|
-
|
|
1643
|
-
|
|
1644
|
-
{ position: [
|
|
1642
|
+
Jr,
|
|
1643
|
+
Ur,
|
|
1644
|
+
{ position: [Z, Y] }
|
|
1645
1645
|
], P = () => ["no-repeat", { repeat: [
|
|
1646
1646
|
"",
|
|
1647
1647
|
"x",
|
|
@@ -1652,31 +1652,31 @@ var Hn = (e, t) => {
|
|
|
1652
1652
|
"auto",
|
|
1653
1653
|
"cover",
|
|
1654
1654
|
"contain",
|
|
1655
|
-
|
|
1656
|
-
|
|
1657
|
-
{ size: [
|
|
1655
|
+
Yr,
|
|
1656
|
+
zr,
|
|
1657
|
+
{ size: [Z, Y] }
|
|
1658
1658
|
], ie = () => [
|
|
1659
|
-
|
|
1660
|
-
|
|
1661
|
-
|
|
1659
|
+
jr,
|
|
1660
|
+
Kr,
|
|
1661
|
+
X
|
|
1662
1662
|
], I = () => [
|
|
1663
1663
|
"",
|
|
1664
1664
|
"none",
|
|
1665
1665
|
"full",
|
|
1666
1666
|
l,
|
|
1667
|
-
|
|
1668
|
-
|
|
1667
|
+
Z,
|
|
1668
|
+
Y
|
|
1669
1669
|
], L = () => [
|
|
1670
1670
|
"",
|
|
1671
|
-
|
|
1672
|
-
|
|
1673
|
-
|
|
1671
|
+
K,
|
|
1672
|
+
Kr,
|
|
1673
|
+
X
|
|
1674
1674
|
], ae = () => [
|
|
1675
1675
|
"solid",
|
|
1676
1676
|
"dashed",
|
|
1677
1677
|
"dotted",
|
|
1678
1678
|
"double"
|
|
1679
|
-
],
|
|
1679
|
+
], oe = () => [
|
|
1680
1680
|
"normal",
|
|
1681
1681
|
"multiply",
|
|
1682
1682
|
"screen",
|
|
@@ -1693,33 +1693,33 @@ var Hn = (e, t) => {
|
|
|
1693
1693
|
"saturation",
|
|
1694
1694
|
"color",
|
|
1695
1695
|
"luminosity"
|
|
1696
|
-
],
|
|
1697
|
-
|
|
1698
|
-
|
|
1699
|
-
|
|
1700
|
-
|
|
1701
|
-
],
|
|
1696
|
+
], R = () => [
|
|
1697
|
+
K,
|
|
1698
|
+
jr,
|
|
1699
|
+
Jr,
|
|
1700
|
+
Ur
|
|
1701
|
+
], se = () => [
|
|
1702
1702
|
"",
|
|
1703
1703
|
"none",
|
|
1704
1704
|
m,
|
|
1705
|
-
|
|
1706
|
-
|
|
1707
|
-
],
|
|
1708
|
-
"none",
|
|
1709
|
-
q,
|
|
1710
|
-
Q,
|
|
1711
|
-
X
|
|
1712
|
-
], se = () => [
|
|
1705
|
+
Z,
|
|
1706
|
+
Y
|
|
1707
|
+
], z = () => [
|
|
1713
1708
|
"none",
|
|
1714
|
-
|
|
1715
|
-
|
|
1716
|
-
|
|
1709
|
+
K,
|
|
1710
|
+
Z,
|
|
1711
|
+
Y
|
|
1717
1712
|
], ce = () => [
|
|
1718
|
-
|
|
1719
|
-
|
|
1720
|
-
|
|
1713
|
+
"none",
|
|
1714
|
+
K,
|
|
1715
|
+
Z,
|
|
1716
|
+
Y
|
|
1721
1717
|
], le = () => [
|
|
1722
1718
|
K,
|
|
1719
|
+
Z,
|
|
1720
|
+
Y
|
|
1721
|
+
], ue = () => [
|
|
1722
|
+
G,
|
|
1723
1723
|
"full",
|
|
1724
1724
|
...C()
|
|
1725
1725
|
];
|
|
@@ -1733,17 +1733,17 @@ var Hn = (e, t) => {
|
|
|
1733
1733
|
"bounce"
|
|
1734
1734
|
],
|
|
1735
1735
|
aspect: ["video"],
|
|
1736
|
-
blur: [
|
|
1737
|
-
breakpoint: [
|
|
1738
|
-
color: [
|
|
1739
|
-
container: [
|
|
1740
|
-
"drop-shadow": [
|
|
1736
|
+
blur: [J],
|
|
1737
|
+
breakpoint: [J],
|
|
1738
|
+
color: [Mr],
|
|
1739
|
+
container: [J],
|
|
1740
|
+
"drop-shadow": [J],
|
|
1741
1741
|
ease: [
|
|
1742
1742
|
"in",
|
|
1743
1743
|
"out",
|
|
1744
1744
|
"in-out"
|
|
1745
1745
|
],
|
|
1746
|
-
font: [
|
|
1746
|
+
font: [Lr],
|
|
1747
1747
|
"font-weight": [
|
|
1748
1748
|
"thin",
|
|
1749
1749
|
"extralight",
|
|
@@ -1755,7 +1755,7 @@ var Hn = (e, t) => {
|
|
|
1755
1755
|
"extrabold",
|
|
1756
1756
|
"black"
|
|
1757
1757
|
],
|
|
1758
|
-
"inset-shadow": [
|
|
1758
|
+
"inset-shadow": [J],
|
|
1759
1759
|
leading: [
|
|
1760
1760
|
"none",
|
|
1761
1761
|
"tight",
|
|
@@ -1772,11 +1772,11 @@ var Hn = (e, t) => {
|
|
|
1772
1772
|
"distant",
|
|
1773
1773
|
"none"
|
|
1774
1774
|
],
|
|
1775
|
-
radius: [
|
|
1776
|
-
shadow: [
|
|
1777
|
-
spacing: ["px",
|
|
1778
|
-
text: [
|
|
1779
|
-
"text-shadow": [
|
|
1775
|
+
radius: [J],
|
|
1776
|
+
shadow: [J],
|
|
1777
|
+
spacing: ["px", K],
|
|
1778
|
+
text: [J],
|
|
1779
|
+
"text-shadow": [J],
|
|
1780
1780
|
tracking: [
|
|
1781
1781
|
"tighter",
|
|
1782
1782
|
"tight",
|
|
@@ -1790,9 +1790,9 @@ var Hn = (e, t) => {
|
|
|
1790
1790
|
aspect: [{ aspect: [
|
|
1791
1791
|
"auto",
|
|
1792
1792
|
"square",
|
|
1793
|
-
|
|
1794
|
-
|
|
1795
|
-
|
|
1793
|
+
G,
|
|
1794
|
+
Y,
|
|
1795
|
+
Z,
|
|
1796
1796
|
g
|
|
1797
1797
|
] }],
|
|
1798
1798
|
container: ["container"],
|
|
@@ -1800,15 +1800,15 @@ var Hn = (e, t) => {
|
|
|
1800
1800
|
"",
|
|
1801
1801
|
"normal",
|
|
1802
1802
|
"size",
|
|
1803
|
-
|
|
1804
|
-
|
|
1803
|
+
Z,
|
|
1804
|
+
Y
|
|
1805
1805
|
] }],
|
|
1806
|
-
"container-named": [
|
|
1806
|
+
"container-named": [Rr],
|
|
1807
1807
|
columns: [{ columns: [
|
|
1808
|
-
|
|
1808
|
+
K,
|
|
1809
1809
|
"auto",
|
|
1810
|
-
|
|
1811
|
-
|
|
1810
|
+
Y,
|
|
1811
|
+
Z,
|
|
1812
1812
|
s
|
|
1813
1813
|
] }],
|
|
1814
1814
|
"break-after": [{ "break-after": y() }],
|
|
@@ -1905,13 +1905,13 @@ var Hn = (e, t) => {
|
|
|
1905
1905
|
"collapse"
|
|
1906
1906
|
],
|
|
1907
1907
|
z: [{ z: [
|
|
1908
|
-
|
|
1908
|
+
q,
|
|
1909
1909
|
"auto",
|
|
1910
|
-
|
|
1911
|
-
|
|
1910
|
+
Z,
|
|
1911
|
+
Y
|
|
1912
1912
|
] }],
|
|
1913
1913
|
basis: [{ basis: [
|
|
1914
|
-
|
|
1914
|
+
G,
|
|
1915
1915
|
"full",
|
|
1916
1916
|
"auto",
|
|
1917
1917
|
s,
|
|
@@ -1929,32 +1929,32 @@ var Hn = (e, t) => {
|
|
|
1929
1929
|
"wrap-reverse"
|
|
1930
1930
|
] }],
|
|
1931
1931
|
flex: [{ flex: [
|
|
1932
|
-
q,
|
|
1933
1932
|
K,
|
|
1933
|
+
G,
|
|
1934
1934
|
"auto",
|
|
1935
1935
|
"initial",
|
|
1936
1936
|
"none",
|
|
1937
|
-
|
|
1937
|
+
Y
|
|
1938
1938
|
] }],
|
|
1939
1939
|
grow: [{ grow: [
|
|
1940
1940
|
"",
|
|
1941
|
-
|
|
1942
|
-
|
|
1943
|
-
|
|
1941
|
+
K,
|
|
1942
|
+
Z,
|
|
1943
|
+
Y
|
|
1944
1944
|
] }],
|
|
1945
1945
|
shrink: [{ shrink: [
|
|
1946
1946
|
"",
|
|
1947
|
-
|
|
1948
|
-
|
|
1949
|
-
|
|
1947
|
+
K,
|
|
1948
|
+
Z,
|
|
1949
|
+
Y
|
|
1950
1950
|
] }],
|
|
1951
1951
|
order: [{ order: [
|
|
1952
|
-
|
|
1952
|
+
q,
|
|
1953
1953
|
"first",
|
|
1954
1954
|
"last",
|
|
1955
1955
|
"none",
|
|
1956
|
-
|
|
1957
|
-
|
|
1956
|
+
Z,
|
|
1957
|
+
Y
|
|
1958
1958
|
] }],
|
|
1959
1959
|
"grid-cols": [{ "grid-cols": T() }],
|
|
1960
1960
|
"col-start-end": [{ col: te() }],
|
|
@@ -2061,15 +2061,15 @@ var Hn = (e, t) => {
|
|
|
2061
2061
|
"font-size": [{ text: [
|
|
2062
2062
|
"base",
|
|
2063
2063
|
n,
|
|
2064
|
-
|
|
2065
|
-
|
|
2064
|
+
Kr,
|
|
2065
|
+
X
|
|
2066
2066
|
] }],
|
|
2067
2067
|
"font-smoothing": ["antialiased", "subpixel-antialiased"],
|
|
2068
2068
|
"font-style": ["italic", "not-italic"],
|
|
2069
2069
|
"font-weight": [{ font: [
|
|
2070
2070
|
r,
|
|
2071
|
-
|
|
2072
|
-
|
|
2071
|
+
Qr,
|
|
2072
|
+
Vr
|
|
2073
2073
|
] }],
|
|
2074
2074
|
"font-stretch": [{ "font-stretch": [
|
|
2075
2075
|
"ultra-condensed",
|
|
@@ -2081,15 +2081,15 @@ var Hn = (e, t) => {
|
|
|
2081
2081
|
"expanded",
|
|
2082
2082
|
"extra-expanded",
|
|
2083
2083
|
"ultra-expanded",
|
|
2084
|
-
|
|
2085
|
-
|
|
2084
|
+
jr,
|
|
2085
|
+
Y
|
|
2086
2086
|
] }],
|
|
2087
2087
|
"font-family": [{ font: [
|
|
2088
|
-
|
|
2089
|
-
|
|
2088
|
+
qr,
|
|
2089
|
+
Hr,
|
|
2090
2090
|
t
|
|
2091
2091
|
] }],
|
|
2092
|
-
"font-features": [{ "font-features": [
|
|
2092
|
+
"font-features": [{ "font-features": [Y] }],
|
|
2093
2093
|
"fvn-normal": ["normal-nums"],
|
|
2094
2094
|
"fvn-ordinal": ["ordinal"],
|
|
2095
2095
|
"fvn-slashed-zero": ["slashed-zero"],
|
|
@@ -2098,14 +2098,14 @@ var Hn = (e, t) => {
|
|
|
2098
2098
|
"fvn-fraction": ["diagonal-fractions", "stacked-fractions"],
|
|
2099
2099
|
tracking: [{ tracking: [
|
|
2100
2100
|
i,
|
|
2101
|
-
|
|
2102
|
-
|
|
2101
|
+
Z,
|
|
2102
|
+
Y
|
|
2103
2103
|
] }],
|
|
2104
2104
|
"line-clamp": [{ "line-clamp": [
|
|
2105
|
-
|
|
2105
|
+
K,
|
|
2106
2106
|
"none",
|
|
2107
|
-
|
|
2108
|
-
|
|
2107
|
+
Z,
|
|
2108
|
+
Br
|
|
2109
2109
|
] }],
|
|
2110
2110
|
leading: [{ leading: [
|
|
2111
2111
|
"none",
|
|
@@ -2114,16 +2114,16 @@ var Hn = (e, t) => {
|
|
|
2114
2114
|
] }],
|
|
2115
2115
|
"list-image": [{ "list-image": [
|
|
2116
2116
|
"none",
|
|
2117
|
-
|
|
2118
|
-
|
|
2117
|
+
Z,
|
|
2118
|
+
Y
|
|
2119
2119
|
] }],
|
|
2120
2120
|
"list-style-position": [{ list: ["inside", "outside"] }],
|
|
2121
2121
|
"list-style-type": [{ list: [
|
|
2122
2122
|
"disc",
|
|
2123
2123
|
"decimal",
|
|
2124
2124
|
"none",
|
|
2125
|
-
|
|
2126
|
-
|
|
2125
|
+
Z,
|
|
2126
|
+
Y
|
|
2127
2127
|
] }],
|
|
2128
2128
|
"text-alignment": [{ text: [
|
|
2129
2129
|
"left",
|
|
@@ -2143,18 +2143,18 @@ var Hn = (e, t) => {
|
|
|
2143
2143
|
],
|
|
2144
2144
|
"text-decoration-style": [{ decoration: [...ae(), "wavy"] }],
|
|
2145
2145
|
"text-decoration-thickness": [{ decoration: [
|
|
2146
|
-
|
|
2146
|
+
K,
|
|
2147
2147
|
"from-font",
|
|
2148
2148
|
"auto",
|
|
2149
|
-
|
|
2150
|
-
|
|
2149
|
+
Z,
|
|
2150
|
+
X
|
|
2151
2151
|
] }],
|
|
2152
2152
|
"text-decoration-color": [{ decoration: M() }],
|
|
2153
2153
|
"underline-offset": [{ "underline-offset": [
|
|
2154
|
-
|
|
2154
|
+
K,
|
|
2155
2155
|
"auto",
|
|
2156
|
-
|
|
2157
|
-
|
|
2156
|
+
Z,
|
|
2157
|
+
Y
|
|
2158
2158
|
] }],
|
|
2159
2159
|
"text-transform": [
|
|
2160
2160
|
"uppercase",
|
|
@@ -2175,9 +2175,9 @@ var Hn = (e, t) => {
|
|
|
2175
2175
|
] }],
|
|
2176
2176
|
indent: [{ indent: C() }],
|
|
2177
2177
|
"tab-size": [{ tab: [
|
|
2178
|
-
|
|
2179
|
-
|
|
2180
|
-
|
|
2178
|
+
q,
|
|
2179
|
+
Z,
|
|
2180
|
+
Y
|
|
2181
2181
|
] }],
|
|
2182
2182
|
"vertical-align": [{ align: [
|
|
2183
2183
|
"baseline",
|
|
@@ -2188,8 +2188,8 @@ var Hn = (e, t) => {
|
|
|
2188
2188
|
"text-bottom",
|
|
2189
2189
|
"sub",
|
|
2190
2190
|
"super",
|
|
2191
|
-
|
|
2192
|
-
|
|
2191
|
+
Z,
|
|
2192
|
+
Y
|
|
2193
2193
|
] }],
|
|
2194
2194
|
whitespace: [{ whitespace: [
|
|
2195
2195
|
"normal",
|
|
@@ -2217,8 +2217,8 @@ var Hn = (e, t) => {
|
|
|
2217
2217
|
] }],
|
|
2218
2218
|
content: [{ content: [
|
|
2219
2219
|
"none",
|
|
2220
|
-
|
|
2221
|
-
|
|
2220
|
+
Z,
|
|
2221
|
+
Y
|
|
2222
2222
|
] }],
|
|
2223
2223
|
"bg-attachment": [{ bg: [
|
|
2224
2224
|
"fixed",
|
|
@@ -2253,24 +2253,24 @@ var Hn = (e, t) => {
|
|
|
2253
2253
|
"l",
|
|
2254
2254
|
"tl"
|
|
2255
2255
|
] },
|
|
2256
|
-
|
|
2257
|
-
|
|
2258
|
-
|
|
2256
|
+
q,
|
|
2257
|
+
Z,
|
|
2258
|
+
Y
|
|
2259
2259
|
],
|
|
2260
2260
|
radial: [
|
|
2261
2261
|
"",
|
|
2262
|
-
|
|
2263
|
-
|
|
2262
|
+
Z,
|
|
2263
|
+
Y
|
|
2264
2264
|
],
|
|
2265
2265
|
conic: [
|
|
2266
2266
|
"",
|
|
2267
|
-
|
|
2268
|
-
|
|
2269
|
-
|
|
2267
|
+
q,
|
|
2268
|
+
Z,
|
|
2269
|
+
Y
|
|
2270
2270
|
]
|
|
2271
2271
|
},
|
|
2272
|
-
|
|
2273
|
-
|
|
2272
|
+
Xr,
|
|
2273
|
+
Wr
|
|
2274
2274
|
] }],
|
|
2275
2275
|
"bg-color": [{ bg: M() }],
|
|
2276
2276
|
"gradient-from-pos": [{ from: ie() }],
|
|
@@ -2337,15 +2337,15 @@ var Hn = (e, t) => {
|
|
|
2337
2337
|
"hidden"
|
|
2338
2338
|
] }],
|
|
2339
2339
|
"outline-offset": [{ "outline-offset": [
|
|
2340
|
-
|
|
2341
|
-
|
|
2342
|
-
|
|
2340
|
+
K,
|
|
2341
|
+
Z,
|
|
2342
|
+
Y
|
|
2343
2343
|
] }],
|
|
2344
2344
|
"outline-w": [{ outline: [
|
|
2345
2345
|
"",
|
|
2346
|
-
|
|
2347
|
-
|
|
2348
|
-
|
|
2346
|
+
K,
|
|
2347
|
+
Kr,
|
|
2348
|
+
X
|
|
2349
2349
|
] }],
|
|
2350
2350
|
"outline-color": [{ outline: M() }],
|
|
2351
2351
|
shadow: [{ shadow: [
|
|
@@ -2353,42 +2353,42 @@ var Hn = (e, t) => {
|
|
|
2353
2353
|
"inner",
|
|
2354
2354
|
"none",
|
|
2355
2355
|
u,
|
|
2356
|
-
|
|
2357
|
-
|
|
2356
|
+
Zr,
|
|
2357
|
+
Gr
|
|
2358
2358
|
] }],
|
|
2359
2359
|
"shadow-color": [{ shadow: M() }],
|
|
2360
2360
|
"inset-shadow": [{ "inset-shadow": [
|
|
2361
2361
|
"none",
|
|
2362
2362
|
d,
|
|
2363
|
-
|
|
2364
|
-
|
|
2363
|
+
Zr,
|
|
2364
|
+
Gr
|
|
2365
2365
|
] }],
|
|
2366
2366
|
"inset-shadow-color": [{ "inset-shadow": M() }],
|
|
2367
2367
|
"ring-w": [{ ring: L() }],
|
|
2368
2368
|
"ring-w-inset": ["ring-inset"],
|
|
2369
2369
|
"ring-color": [{ ring: M() }],
|
|
2370
|
-
"ring-offset-w": [{ "ring-offset": [
|
|
2370
|
+
"ring-offset-w": [{ "ring-offset": [K, X] }],
|
|
2371
2371
|
"ring-offset-color": [{ "ring-offset": M() }],
|
|
2372
2372
|
"inset-ring-w": [{ "inset-ring": L() }],
|
|
2373
2373
|
"inset-ring-color": [{ "inset-ring": M() }],
|
|
2374
2374
|
"text-shadow": [{ "text-shadow": [
|
|
2375
2375
|
"none",
|
|
2376
2376
|
f,
|
|
2377
|
-
|
|
2378
|
-
|
|
2377
|
+
Zr,
|
|
2378
|
+
Gr
|
|
2379
2379
|
] }],
|
|
2380
2380
|
"text-shadow-color": [{ "text-shadow": M() }],
|
|
2381
2381
|
opacity: [{ opacity: [
|
|
2382
|
-
|
|
2383
|
-
|
|
2384
|
-
|
|
2382
|
+
K,
|
|
2383
|
+
Z,
|
|
2384
|
+
Y
|
|
2385
2385
|
] }],
|
|
2386
2386
|
"mix-blend": [{ "mix-blend": [
|
|
2387
|
-
...
|
|
2387
|
+
...oe(),
|
|
2388
2388
|
"plus-darker",
|
|
2389
2389
|
"plus-lighter"
|
|
2390
2390
|
] }],
|
|
2391
|
-
"bg-blend": [{ "bg-blend":
|
|
2391
|
+
"bg-blend": [{ "bg-blend": oe() }],
|
|
2392
2392
|
"mask-clip": [{ "mask-clip": [
|
|
2393
2393
|
"border",
|
|
2394
2394
|
"padding",
|
|
@@ -2403,38 +2403,38 @@ var Hn = (e, t) => {
|
|
|
2403
2403
|
"intersect",
|
|
2404
2404
|
"exclude"
|
|
2405
2405
|
] }],
|
|
2406
|
-
"mask-image-linear-pos": [{ "mask-linear": [
|
|
2407
|
-
"mask-image-linear-from-pos": [{ "mask-linear-from":
|
|
2408
|
-
"mask-image-linear-to-pos": [{ "mask-linear-to":
|
|
2406
|
+
"mask-image-linear-pos": [{ "mask-linear": [K] }],
|
|
2407
|
+
"mask-image-linear-from-pos": [{ "mask-linear-from": R() }],
|
|
2408
|
+
"mask-image-linear-to-pos": [{ "mask-linear-to": R() }],
|
|
2409
2409
|
"mask-image-linear-from-color": [{ "mask-linear-from": M() }],
|
|
2410
2410
|
"mask-image-linear-to-color": [{ "mask-linear-to": M() }],
|
|
2411
|
-
"mask-image-t-from-pos": [{ "mask-t-from":
|
|
2412
|
-
"mask-image-t-to-pos": [{ "mask-t-to":
|
|
2411
|
+
"mask-image-t-from-pos": [{ "mask-t-from": R() }],
|
|
2412
|
+
"mask-image-t-to-pos": [{ "mask-t-to": R() }],
|
|
2413
2413
|
"mask-image-t-from-color": [{ "mask-t-from": M() }],
|
|
2414
2414
|
"mask-image-t-to-color": [{ "mask-t-to": M() }],
|
|
2415
|
-
"mask-image-r-from-pos": [{ "mask-r-from":
|
|
2416
|
-
"mask-image-r-to-pos": [{ "mask-r-to":
|
|
2415
|
+
"mask-image-r-from-pos": [{ "mask-r-from": R() }],
|
|
2416
|
+
"mask-image-r-to-pos": [{ "mask-r-to": R() }],
|
|
2417
2417
|
"mask-image-r-from-color": [{ "mask-r-from": M() }],
|
|
2418
2418
|
"mask-image-r-to-color": [{ "mask-r-to": M() }],
|
|
2419
|
-
"mask-image-b-from-pos": [{ "mask-b-from":
|
|
2420
|
-
"mask-image-b-to-pos": [{ "mask-b-to":
|
|
2419
|
+
"mask-image-b-from-pos": [{ "mask-b-from": R() }],
|
|
2420
|
+
"mask-image-b-to-pos": [{ "mask-b-to": R() }],
|
|
2421
2421
|
"mask-image-b-from-color": [{ "mask-b-from": M() }],
|
|
2422
2422
|
"mask-image-b-to-color": [{ "mask-b-to": M() }],
|
|
2423
|
-
"mask-image-l-from-pos": [{ "mask-l-from":
|
|
2424
|
-
"mask-image-l-to-pos": [{ "mask-l-to":
|
|
2423
|
+
"mask-image-l-from-pos": [{ "mask-l-from": R() }],
|
|
2424
|
+
"mask-image-l-to-pos": [{ "mask-l-to": R() }],
|
|
2425
2425
|
"mask-image-l-from-color": [{ "mask-l-from": M() }],
|
|
2426
2426
|
"mask-image-l-to-color": [{ "mask-l-to": M() }],
|
|
2427
|
-
"mask-image-x-from-pos": [{ "mask-x-from":
|
|
2428
|
-
"mask-image-x-to-pos": [{ "mask-x-to":
|
|
2427
|
+
"mask-image-x-from-pos": [{ "mask-x-from": R() }],
|
|
2428
|
+
"mask-image-x-to-pos": [{ "mask-x-to": R() }],
|
|
2429
2429
|
"mask-image-x-from-color": [{ "mask-x-from": M() }],
|
|
2430
2430
|
"mask-image-x-to-color": [{ "mask-x-to": M() }],
|
|
2431
|
-
"mask-image-y-from-pos": [{ "mask-y-from":
|
|
2432
|
-
"mask-image-y-to-pos": [{ "mask-y-to":
|
|
2431
|
+
"mask-image-y-from-pos": [{ "mask-y-from": R() }],
|
|
2432
|
+
"mask-image-y-to-pos": [{ "mask-y-to": R() }],
|
|
2433
2433
|
"mask-image-y-from-color": [{ "mask-y-from": M() }],
|
|
2434
2434
|
"mask-image-y-to-color": [{ "mask-y-to": M() }],
|
|
2435
|
-
"mask-image-radial": [{ "mask-radial": [
|
|
2436
|
-
"mask-image-radial-from-pos": [{ "mask-radial-from":
|
|
2437
|
-
"mask-image-radial-to-pos": [{ "mask-radial-to":
|
|
2435
|
+
"mask-image-radial": [{ "mask-radial": [Z, Y] }],
|
|
2436
|
+
"mask-image-radial-from-pos": [{ "mask-radial-from": R() }],
|
|
2437
|
+
"mask-image-radial-to-pos": [{ "mask-radial-to": R() }],
|
|
2438
2438
|
"mask-image-radial-from-color": [{ "mask-radial-from": M() }],
|
|
2439
2439
|
"mask-image-radial-to-color": [{ "mask-radial-to": M() }],
|
|
2440
2440
|
"mask-image-radial-shape": [{ "mask-radial": ["circle", "ellipse"] }],
|
|
@@ -2443,9 +2443,9 @@ var Hn = (e, t) => {
|
|
|
2443
2443
|
farthest: ["side", "corner"]
|
|
2444
2444
|
}] }],
|
|
2445
2445
|
"mask-image-radial-pos": [{ "mask-radial-at": b() }],
|
|
2446
|
-
"mask-image-conic-pos": [{ "mask-conic": [
|
|
2447
|
-
"mask-image-conic-from-pos": [{ "mask-conic-from":
|
|
2448
|
-
"mask-image-conic-to-pos": [{ "mask-conic-to":
|
|
2446
|
+
"mask-image-conic-pos": [{ "mask-conic": [K] }],
|
|
2447
|
+
"mask-image-conic-from-pos": [{ "mask-conic-from": R() }],
|
|
2448
|
+
"mask-image-conic-to-pos": [{ "mask-conic-to": R() }],
|
|
2449
2449
|
"mask-image-conic-from-color": [{ "mask-conic-from": M() }],
|
|
2450
2450
|
"mask-image-conic-to-color": [{ "mask-conic-to": M() }],
|
|
2451
2451
|
"mask-mode": [{ mask: [
|
|
@@ -2467,111 +2467,111 @@ var Hn = (e, t) => {
|
|
|
2467
2467
|
"mask-type": [{ "mask-type": ["alpha", "luminance"] }],
|
|
2468
2468
|
"mask-image": [{ mask: [
|
|
2469
2469
|
"none",
|
|
2470
|
-
|
|
2471
|
-
|
|
2470
|
+
Z,
|
|
2471
|
+
Y
|
|
2472
2472
|
] }],
|
|
2473
2473
|
filter: [{ filter: [
|
|
2474
2474
|
"",
|
|
2475
2475
|
"none",
|
|
2476
|
-
|
|
2477
|
-
|
|
2476
|
+
Z,
|
|
2477
|
+
Y
|
|
2478
2478
|
] }],
|
|
2479
|
-
blur: [{ blur:
|
|
2479
|
+
blur: [{ blur: se() }],
|
|
2480
2480
|
brightness: [{ brightness: [
|
|
2481
|
-
|
|
2482
|
-
|
|
2483
|
-
|
|
2481
|
+
K,
|
|
2482
|
+
Z,
|
|
2483
|
+
Y
|
|
2484
2484
|
] }],
|
|
2485
2485
|
contrast: [{ contrast: [
|
|
2486
|
-
|
|
2487
|
-
|
|
2488
|
-
|
|
2486
|
+
K,
|
|
2487
|
+
Z,
|
|
2488
|
+
Y
|
|
2489
2489
|
] }],
|
|
2490
2490
|
"drop-shadow": [{ "drop-shadow": [
|
|
2491
2491
|
"",
|
|
2492
2492
|
"none",
|
|
2493
2493
|
p,
|
|
2494
|
-
|
|
2495
|
-
|
|
2494
|
+
Zr,
|
|
2495
|
+
Gr
|
|
2496
2496
|
] }],
|
|
2497
2497
|
"drop-shadow-color": [{ "drop-shadow": M() }],
|
|
2498
2498
|
grayscale: [{ grayscale: [
|
|
2499
2499
|
"",
|
|
2500
|
-
|
|
2501
|
-
|
|
2502
|
-
|
|
2500
|
+
K,
|
|
2501
|
+
Z,
|
|
2502
|
+
Y
|
|
2503
2503
|
] }],
|
|
2504
2504
|
"hue-rotate": [{ "hue-rotate": [
|
|
2505
|
-
|
|
2506
|
-
|
|
2507
|
-
|
|
2505
|
+
K,
|
|
2506
|
+
Z,
|
|
2507
|
+
Y
|
|
2508
2508
|
] }],
|
|
2509
2509
|
invert: [{ invert: [
|
|
2510
2510
|
"",
|
|
2511
|
-
|
|
2512
|
-
|
|
2513
|
-
|
|
2511
|
+
K,
|
|
2512
|
+
Z,
|
|
2513
|
+
Y
|
|
2514
2514
|
] }],
|
|
2515
2515
|
saturate: [{ saturate: [
|
|
2516
|
-
|
|
2517
|
-
|
|
2518
|
-
|
|
2516
|
+
K,
|
|
2517
|
+
Z,
|
|
2518
|
+
Y
|
|
2519
2519
|
] }],
|
|
2520
2520
|
sepia: [{ sepia: [
|
|
2521
2521
|
"",
|
|
2522
|
-
|
|
2523
|
-
|
|
2524
|
-
|
|
2522
|
+
K,
|
|
2523
|
+
Z,
|
|
2524
|
+
Y
|
|
2525
2525
|
] }],
|
|
2526
2526
|
"backdrop-filter": [{ "backdrop-filter": [
|
|
2527
2527
|
"",
|
|
2528
2528
|
"none",
|
|
2529
|
-
|
|
2530
|
-
|
|
2529
|
+
Z,
|
|
2530
|
+
Y
|
|
2531
2531
|
] }],
|
|
2532
|
-
"backdrop-blur": [{ "backdrop-blur":
|
|
2532
|
+
"backdrop-blur": [{ "backdrop-blur": se() }],
|
|
2533
2533
|
"backdrop-brightness": [{ "backdrop-brightness": [
|
|
2534
|
-
|
|
2535
|
-
|
|
2536
|
-
|
|
2534
|
+
K,
|
|
2535
|
+
Z,
|
|
2536
|
+
Y
|
|
2537
2537
|
] }],
|
|
2538
2538
|
"backdrop-contrast": [{ "backdrop-contrast": [
|
|
2539
|
-
|
|
2540
|
-
|
|
2541
|
-
|
|
2539
|
+
K,
|
|
2540
|
+
Z,
|
|
2541
|
+
Y
|
|
2542
2542
|
] }],
|
|
2543
2543
|
"backdrop-grayscale": [{ "backdrop-grayscale": [
|
|
2544
2544
|
"",
|
|
2545
|
-
|
|
2546
|
-
|
|
2547
|
-
|
|
2545
|
+
K,
|
|
2546
|
+
Z,
|
|
2547
|
+
Y
|
|
2548
2548
|
] }],
|
|
2549
2549
|
"backdrop-hue-rotate": [{ "backdrop-hue-rotate": [
|
|
2550
|
-
|
|
2551
|
-
|
|
2552
|
-
|
|
2550
|
+
K,
|
|
2551
|
+
Z,
|
|
2552
|
+
Y
|
|
2553
2553
|
] }],
|
|
2554
2554
|
"backdrop-invert": [{ "backdrop-invert": [
|
|
2555
2555
|
"",
|
|
2556
|
-
|
|
2557
|
-
|
|
2558
|
-
|
|
2556
|
+
K,
|
|
2557
|
+
Z,
|
|
2558
|
+
Y
|
|
2559
2559
|
] }],
|
|
2560
2560
|
"backdrop-opacity": [{ "backdrop-opacity": [
|
|
2561
|
-
|
|
2562
|
-
|
|
2563
|
-
|
|
2561
|
+
K,
|
|
2562
|
+
Z,
|
|
2563
|
+
Y
|
|
2564
2564
|
] }],
|
|
2565
2565
|
"backdrop-saturate": [{ "backdrop-saturate": [
|
|
2566
|
-
|
|
2567
|
-
|
|
2568
|
-
|
|
2566
|
+
K,
|
|
2567
|
+
Z,
|
|
2568
|
+
Y
|
|
2569
2569
|
] }],
|
|
2570
2570
|
"backdrop-sepia": [{ "backdrop-sepia": [
|
|
2571
2571
|
"",
|
|
2572
|
-
|
|
2573
|
-
|
|
2574
|
-
|
|
2572
|
+
K,
|
|
2573
|
+
Z,
|
|
2574
|
+
Y
|
|
2575
2575
|
] }],
|
|
2576
2576
|
"border-collapse": [{ border: ["collapse", "separate"] }],
|
|
2577
2577
|
"border-spacing": [{ "border-spacing": C() }],
|
|
@@ -2587,56 +2587,56 @@ var Hn = (e, t) => {
|
|
|
2587
2587
|
"shadow",
|
|
2588
2588
|
"transform",
|
|
2589
2589
|
"none",
|
|
2590
|
-
|
|
2591
|
-
|
|
2590
|
+
Z,
|
|
2591
|
+
Y
|
|
2592
2592
|
] }],
|
|
2593
2593
|
"transition-behavior": [{ transition: ["normal", "discrete"] }],
|
|
2594
2594
|
duration: [{ duration: [
|
|
2595
|
-
|
|
2595
|
+
K,
|
|
2596
2596
|
"initial",
|
|
2597
|
-
|
|
2598
|
-
|
|
2597
|
+
Z,
|
|
2598
|
+
Y
|
|
2599
2599
|
] }],
|
|
2600
2600
|
ease: [{ ease: [
|
|
2601
2601
|
"linear",
|
|
2602
2602
|
"initial",
|
|
2603
2603
|
_,
|
|
2604
|
-
|
|
2605
|
-
|
|
2604
|
+
Z,
|
|
2605
|
+
Y
|
|
2606
2606
|
] }],
|
|
2607
2607
|
delay: [{ delay: [
|
|
2608
|
-
|
|
2609
|
-
|
|
2610
|
-
|
|
2608
|
+
K,
|
|
2609
|
+
Z,
|
|
2610
|
+
Y
|
|
2611
2611
|
] }],
|
|
2612
2612
|
animate: [{ animate: [
|
|
2613
2613
|
"none",
|
|
2614
2614
|
v,
|
|
2615
|
-
|
|
2616
|
-
|
|
2615
|
+
Z,
|
|
2616
|
+
Y
|
|
2617
2617
|
] }],
|
|
2618
2618
|
backface: [{ backface: ["hidden", "visible"] }],
|
|
2619
2619
|
perspective: [{ perspective: [
|
|
2620
2620
|
h,
|
|
2621
|
-
|
|
2622
|
-
|
|
2621
|
+
Z,
|
|
2622
|
+
Y
|
|
2623
2623
|
] }],
|
|
2624
2624
|
"perspective-origin": [{ "perspective-origin": x() }],
|
|
2625
|
-
rotate: [{ rotate:
|
|
2626
|
-
"rotate-x": [{ "rotate-x":
|
|
2627
|
-
"rotate-y": [{ "rotate-y":
|
|
2628
|
-
"rotate-z": [{ "rotate-z":
|
|
2629
|
-
scale: [{ scale:
|
|
2630
|
-
"scale-x": [{ "scale-x":
|
|
2631
|
-
"scale-y": [{ "scale-y":
|
|
2632
|
-
"scale-z": [{ "scale-z":
|
|
2625
|
+
rotate: [{ rotate: z() }],
|
|
2626
|
+
"rotate-x": [{ "rotate-x": z() }],
|
|
2627
|
+
"rotate-y": [{ "rotate-y": z() }],
|
|
2628
|
+
"rotate-z": [{ "rotate-z": z() }],
|
|
2629
|
+
scale: [{ scale: ce() }],
|
|
2630
|
+
"scale-x": [{ "scale-x": ce() }],
|
|
2631
|
+
"scale-y": [{ "scale-y": ce() }],
|
|
2632
|
+
"scale-z": [{ "scale-z": ce() }],
|
|
2633
2633
|
"scale-3d": ["scale-3d"],
|
|
2634
|
-
skew: [{ skew:
|
|
2635
|
-
"skew-x": [{ "skew-x":
|
|
2636
|
-
"skew-y": [{ "skew-y":
|
|
2634
|
+
skew: [{ skew: le() }],
|
|
2635
|
+
"skew-x": [{ "skew-x": le() }],
|
|
2636
|
+
"skew-y": [{ "skew-y": le() }],
|
|
2637
2637
|
transform: [{ transform: [
|
|
2638
|
-
|
|
2639
|
-
|
|
2638
|
+
Z,
|
|
2639
|
+
Y,
|
|
2640
2640
|
"",
|
|
2641
2641
|
"none",
|
|
2642
2642
|
"gpu",
|
|
@@ -2644,15 +2644,15 @@ var Hn = (e, t) => {
|
|
|
2644
2644
|
] }],
|
|
2645
2645
|
"transform-origin": [{ origin: x() }],
|
|
2646
2646
|
"transform-style": [{ transform: ["3d", "flat"] }],
|
|
2647
|
-
translate: [{ translate:
|
|
2648
|
-
"translate-x": [{ "translate-x":
|
|
2649
|
-
"translate-y": [{ "translate-y":
|
|
2650
|
-
"translate-z": [{ "translate-z":
|
|
2647
|
+
translate: [{ translate: ue() }],
|
|
2648
|
+
"translate-x": [{ "translate-x": ue() }],
|
|
2649
|
+
"translate-y": [{ "translate-y": ue() }],
|
|
2650
|
+
"translate-z": [{ "translate-z": ue() }],
|
|
2651
2651
|
"translate-none": ["translate-none"],
|
|
2652
2652
|
zoom: [{ zoom: [
|
|
2653
|
-
|
|
2654
|
-
|
|
2655
|
-
|
|
2653
|
+
q,
|
|
2654
|
+
Z,
|
|
2655
|
+
Y
|
|
2656
2656
|
] }],
|
|
2657
2657
|
accent: [{ accent: M() }],
|
|
2658
2658
|
appearance: [{ appearance: ["none", "auto"] }],
|
|
@@ -2702,8 +2702,8 @@ var Hn = (e, t) => {
|
|
|
2702
2702
|
"nwse-resize",
|
|
2703
2703
|
"zoom-in",
|
|
2704
2704
|
"zoom-out",
|
|
2705
|
-
|
|
2706
|
-
|
|
2705
|
+
Z,
|
|
2706
|
+
Y
|
|
2707
2707
|
] }],
|
|
2708
2708
|
"field-sizing": [{ "field-sizing": ["fixed", "content"] }],
|
|
2709
2709
|
"pointer-events": [{ "pointer-events": ["auto", "none"] }],
|
|
@@ -2789,15 +2789,15 @@ var Hn = (e, t) => {
|
|
|
2789
2789
|
"scroll",
|
|
2790
2790
|
"contents",
|
|
2791
2791
|
"transform",
|
|
2792
|
-
|
|
2793
|
-
|
|
2792
|
+
Z,
|
|
2793
|
+
Y
|
|
2794
2794
|
] }],
|
|
2795
2795
|
fill: [{ fill: ["none", ...M()] }],
|
|
2796
2796
|
"stroke-w": [{ stroke: [
|
|
2797
|
-
|
|
2798
|
-
|
|
2799
|
-
|
|
2800
|
-
|
|
2797
|
+
K,
|
|
2798
|
+
Kr,
|
|
2799
|
+
X,
|
|
2800
|
+
Br
|
|
2801
2801
|
] }],
|
|
2802
2802
|
stroke: [{ stroke: ["none", ...M()] }],
|
|
2803
2803
|
"forced-color-adjust": [{ "forced-color-adjust": ["auto", "none"] }]
|
|
@@ -3055,7 +3055,7 @@ var Hn = (e, t) => {
|
|
|
3055
3055
|
"selection"
|
|
3056
3056
|
]
|
|
3057
3057
|
};
|
|
3058
|
-
}),
|
|
3058
|
+
}), ci = ["aria-label"], li = /*@__PURE__*/ Object.assign({ inheritAttrs: !1 }, {
|
|
3059
3059
|
__name: "PaginationItem",
|
|
3060
3060
|
props: {
|
|
3061
3061
|
class: {
|
|
@@ -3092,10 +3092,10 @@ var Hn = (e, t) => {
|
|
|
3092
3092
|
}
|
|
3093
3093
|
},
|
|
3094
3094
|
setup(e) {
|
|
3095
|
-
let t = e, { setCurrentIndex: n, pauseAutoplay: r, resumeAutoplay: i } =
|
|
3095
|
+
let t = e, { setCurrentIndex: n, pauseAutoplay: r, resumeAutoplay: i } = Vt(), a = (e) => {
|
|
3096
3096
|
if (t.disabled) return !1;
|
|
3097
3097
|
n(e[0]), r(), i();
|
|
3098
|
-
}, o = s(() =>
|
|
3098
|
+
}, o = s(() => si(t.class, t.isActive && t.activeClass, t.disabled && "pointer-events-none")), c = s(() => si(t.dotClass, t.isActive && t.dotActiveClass));
|
|
3099
3099
|
return (e, n) => j(e.$slots, "pagination-item", {
|
|
3100
3100
|
isCurrentPage: t.isActive,
|
|
3101
3101
|
page: t.page,
|
|
@@ -3108,9 +3108,9 @@ var Hn = (e, t) => {
|
|
|
3108
3108
|
class: o.value,
|
|
3109
3109
|
"aria-label": `Navigate to page ${t.pageIndex + 1}`,
|
|
3110
3110
|
onClick: n[0] ||= (e) => a(t.page, t.pageIndex)
|
|
3111
|
-
}), [d("div", { class: w(c.value) }, null, 2)], 16,
|
|
3111
|
+
}), [d("div", { class: w(c.value) }, null, 2)], 16, ci)]);
|
|
3112
3112
|
}
|
|
3113
|
-
}),
|
|
3113
|
+
}), ui = {
|
|
3114
3114
|
__name: "Pagination",
|
|
3115
3115
|
props: {
|
|
3116
3116
|
totalSlides: {
|
|
@@ -3155,11 +3155,11 @@ var Hn = (e, t) => {
|
|
|
3155
3155
|
}
|
|
3156
3156
|
},
|
|
3157
3157
|
setup(e) {
|
|
3158
|
-
let n = e, { currentIndex: r, isNavigating: i } =
|
|
3158
|
+
let n = e, { currentIndex: r, isNavigating: i } = Vt(), a = s(() => Ue(Array.from(Array(n.totalSlides).keys()), n.perPage).map((e) => {
|
|
3159
3159
|
let t = e[0] - 1;
|
|
3160
3160
|
for (; e.length < n.perPage;) e.unshift(t), t--;
|
|
3161
3161
|
return e;
|
|
3162
|
-
})), o = (e) =>
|
|
3162
|
+
})), o = (e) => Hn(a.value, (e) => e.includes(r.value)) === e;
|
|
3163
3163
|
return (e, r) => (E(), u("div", {
|
|
3164
3164
|
class: w(["evo-vue-carousel__pagination", n.backgroundClass]),
|
|
3165
3165
|
role: "group",
|
|
@@ -3168,12 +3168,12 @@ var Hn = (e, t) => {
|
|
|
3168
3168
|
page: a.value,
|
|
3169
3169
|
isCurrentPage: o,
|
|
3170
3170
|
isNavigating: F(i)
|
|
3171
|
-
}, () => [(E(!0), u(t, null, A(a.value, (t, r) => (E(), c(F(
|
|
3171
|
+
}, () => [(E(!0), u(t, null, A(a.value, (t, r) => (E(), c(F(me), {
|
|
3172
3172
|
key: t,
|
|
3173
3173
|
slots: e.$slots,
|
|
3174
3174
|
only: "pagination-item"
|
|
3175
3175
|
}, {
|
|
3176
|
-
default:
|
|
3176
|
+
default: z(() => [p(li, {
|
|
3177
3177
|
class: w(n.itemClass),
|
|
3178
3178
|
"active-class": n.itemActiveClass,
|
|
3179
3179
|
"dot-class": w([n.itemDotClass, n.itemSizeClass]),
|
|
@@ -3197,7 +3197,7 @@ var Hn = (e, t) => {
|
|
|
3197
3197
|
_: 2
|
|
3198
3198
|
}, 1032, ["slots"]))), 128))])], 2));
|
|
3199
3199
|
}
|
|
3200
|
-
},
|
|
3200
|
+
}, di = { transform: "rotate(var(--r, 0deg)) scale(var(--sx, 1), var(--sy, 1))" }, fi = {
|
|
3201
3201
|
mdi: {
|
|
3202
3202
|
size: 24,
|
|
3203
3203
|
viewbox: "0 0 24 24"
|
|
@@ -3210,7 +3210,7 @@ var Hn = (e, t) => {
|
|
|
3210
3210
|
size: 0,
|
|
3211
3211
|
viewbox: "0 0 0 0"
|
|
3212
3212
|
}
|
|
3213
|
-
},
|
|
3213
|
+
}, pi = {
|
|
3214
3214
|
props: {
|
|
3215
3215
|
type: {
|
|
3216
3216
|
type: String,
|
|
@@ -3239,7 +3239,7 @@ var Hn = (e, t) => {
|
|
|
3239
3239
|
style: { fill: "currentcolor" }
|
|
3240
3240
|
});
|
|
3241
3241
|
}
|
|
3242
|
-
},
|
|
3242
|
+
}, mi = {
|
|
3243
3243
|
name: "icon",
|
|
3244
3244
|
props: {
|
|
3245
3245
|
type: {
|
|
@@ -3292,9 +3292,9 @@ var Hn = (e, t) => {
|
|
|
3292
3292
|
},
|
|
3293
3293
|
setup(e) {
|
|
3294
3294
|
if (!e.path && !e.faIcon) return console.warn("vue3-icon requires either a 'path' or an 'fa-icon' property"), () => _("div");
|
|
3295
|
-
let t = s(() => e.faIcon?.prefix || e.type), n = s(() => parseInt(e.rotate, 10)), r = s(() =>
|
|
3295
|
+
let t = s(() => e.faIcon?.prefix || e.type), n = s(() => parseInt(e.rotate, 10)), r = s(() => fi[t.value] || fi.default), i = s(() => parseInt(e.size, 10) || r.value.size), a = s(() => e.faIcon ? `0 0 ${e.faIcon.icon[0]} ${e.faIcon.icon[1]}` : !1), o = s(() => a.value || e.viewbox || r.value.viewbox), c = s(() => {
|
|
3296
3296
|
if (e.noStyles !== !0) return {
|
|
3297
|
-
...
|
|
3297
|
+
...di,
|
|
3298
3298
|
"--sx": ["both", "horizontal"].includes(e.flip) ? "-1" : "1",
|
|
3299
3299
|
"--sy": ["both", "vertical"].includes(e.flip) ? "-1" : "1",
|
|
3300
3300
|
"--r": isNaN(n.value) ? n.value : n.value + "deg"
|
|
@@ -3307,7 +3307,7 @@ var Hn = (e, t) => {
|
|
|
3307
3307
|
width: e.noDimensions === !0 ? void 0 : i.value,
|
|
3308
3308
|
height: e.noDimensions === !0 ? void 0 : i.value,
|
|
3309
3309
|
viewBox: o.value
|
|
3310
|
-
}, [_(
|
|
3310
|
+
}, [_(pi, {
|
|
3311
3311
|
path: e.path,
|
|
3312
3312
|
type: t.value,
|
|
3313
3313
|
pathString: l.value
|
|
@@ -3316,13 +3316,13 @@ var Hn = (e, t) => {
|
|
|
3316
3316
|
};
|
|
3317
3317
|
//#endregion
|
|
3318
3318
|
//#region src/utils/loopedValue.js
|
|
3319
|
-
function
|
|
3319
|
+
function hi(e, t = 0, n) {
|
|
3320
3320
|
let r = n - t;
|
|
3321
3321
|
return ((e - t) % r + r) % r + t;
|
|
3322
3322
|
}
|
|
3323
3323
|
//#endregion
|
|
3324
3324
|
//#region src/component/controls/Navigation.vue
|
|
3325
|
-
var
|
|
3325
|
+
var gi = ["disabled", "aria-disabled"], _i = ["disabled", "aria-disabled"], vi = "M31.884 8.366a1.25 1.25 0 0 1 0 1.768L18.018 24l13.866 13.866a1.25 1.25 0 0 1-1.768 1.768l-14.75-14.75a1.25 1.25 0 0 1 0-1.768l14.75-14.75a1.25 1.25 0 0 1 1.768 0z", yi = "M16.116 39.634a1.25 1.25 0 0 1 0-1.768L29.982 24L16.116 10.134a1.25 1.25 0 0 1 1.768-1.768l14.75 14.75a1.25 1.25 0 0 1 0 1.768l-14.75 14.75a1.25 1.25 0 0 1-1.768 0z", bi = /*@__PURE__*/ Object.assign({ inheritAttrs: !1 }, {
|
|
3326
3326
|
__name: "Navigation",
|
|
3327
3327
|
props: {
|
|
3328
3328
|
itemClass: {
|
|
@@ -3351,9 +3351,9 @@ var hi = ["disabled", "aria-disabled"], gi = ["disabled", "aria-disabled"], _i =
|
|
|
3351
3351
|
}
|
|
3352
3352
|
},
|
|
3353
3353
|
setup(e) {
|
|
3354
|
-
let t = e, { config: n, currentIndex: r, setCurrentIndex: i, isNavigating: a, pauseAutoplay: o, resumeAutoplay: c } =
|
|
3355
|
-
if (n.value.mode !==
|
|
3356
|
-
if (n.value.wrap === !0) return
|
|
3354
|
+
let t = e, { config: n, currentIndex: r, setCurrentIndex: i, isNavigating: a, pauseAutoplay: o, resumeAutoplay: c } = Vt(), l = s(() => r.value + n.value.perPage), u = s(() => !n.value.wrap && r.value === 0 || t.disableOnNavigation && a.value === !0), f = s(() => !n.value.wrap && l.value === t.totalSlides || t.disableOnNavigation && a.value === !0), m = s(() => si(t.itemClass, t.itemSizeClass, t.prevClass)), h = s(() => si(t.itemClass, t.itemSizeClass, t.nextClass)), g = (e) => {
|
|
3355
|
+
if (n.value.mode !== Ve.GALLERY) return e;
|
|
3356
|
+
if (n.value.wrap === !0) return hi(e, 0, t.totalSlides);
|
|
3357
3357
|
let r = e + n.value.perPage;
|
|
3358
3358
|
return e < 0 ? 0 : r >= t.totalSlides ? t.totalSlides - n.value.perPage : e;
|
|
3359
3359
|
}, _ = () => {
|
|
@@ -3384,11 +3384,11 @@ var hi = ["disabled", "aria-disabled"], gi = ["disabled", "aria-disabled"], _i =
|
|
|
3384
3384
|
"aria-disabled": u.value,
|
|
3385
3385
|
"aria-label": "Previous Slide",
|
|
3386
3386
|
onClick: v
|
|
3387
|
-
}, [p(F(
|
|
3388
|
-
path:
|
|
3387
|
+
}, [p(F(mi), {
|
|
3388
|
+
path: vi,
|
|
3389
3389
|
viewBox: "0 0 48 48",
|
|
3390
3390
|
class: "w-full h-full"
|
|
3391
|
-
})], 10,
|
|
3391
|
+
})], 10, gi)]), j(e.$slots, "navigation-next", {
|
|
3392
3392
|
onClick: y,
|
|
3393
3393
|
currentIndex: F(r),
|
|
3394
3394
|
disabled: f.value
|
|
@@ -3398,17 +3398,17 @@ var hi = ["disabled", "aria-disabled"], gi = ["disabled", "aria-disabled"], _i =
|
|
|
3398
3398
|
"aria-disabled": f.value,
|
|
3399
3399
|
"aria-label": "Next Slide",
|
|
3400
3400
|
onClick: y
|
|
3401
|
-
}, [p(F(
|
|
3402
|
-
path:
|
|
3401
|
+
}, [p(F(mi), {
|
|
3402
|
+
path: yi,
|
|
3403
3403
|
viewBox: "0 0 48 48",
|
|
3404
3404
|
class: "w-full h-full"
|
|
3405
|
-
})], 10,
|
|
3405
|
+
})], 10, _i)])], 16)]);
|
|
3406
3406
|
}
|
|
3407
|
-
}),
|
|
3407
|
+
}), xi = (e = 1) => e <= 1 ? new Promise((e) => requestAnimationFrame(e)) : new Promise((t) => requestAnimationFrame(() => xi(e - 1).then(t))), Si = (e) => wi(e) === "fragment", Ci = (e) => {
|
|
3408
3408
|
if (typeof e == "string") return e;
|
|
3409
3409
|
if (typeof e == "number") return String(e);
|
|
3410
3410
|
if (x(e) && e.type === i) return String(e.children);
|
|
3411
|
-
},
|
|
3411
|
+
}, wi = (r) => {
|
|
3412
3412
|
let a = typeof r;
|
|
3413
3413
|
if (r == null || a === "boolean") return "comment";
|
|
3414
3414
|
if (a === "string" || a === "number") return "text";
|
|
@@ -3423,36 +3423,36 @@ var hi = ["disabled", "aria-disabled"], gi = ["disabled", "aria-disabled"], _i =
|
|
|
3423
3423
|
} else if (o === "string") return "element";
|
|
3424
3424
|
else if (o === "object" || o === "function") return "component";
|
|
3425
3425
|
}
|
|
3426
|
-
},
|
|
3426
|
+
}, Ti = (e, t) => {
|
|
3427
3427
|
console.warn(`[${e}] ${t}`);
|
|
3428
|
-
},
|
|
3428
|
+
}, Ei = (e, t, n) => {
|
|
3429
3429
|
for (let r = 0; r < t.length; ++r) {
|
|
3430
|
-
let i =
|
|
3431
|
-
a !== i &&
|
|
3430
|
+
let i = Di(t[r]), a = n[r];
|
|
3431
|
+
a !== i && Ti(e, `Argument ${r + 1} was ${i}, should be ${a}`);
|
|
3432
3432
|
}
|
|
3433
|
-
},
|
|
3433
|
+
}, Di = (e) => {
|
|
3434
3434
|
let t = typeof e;
|
|
3435
3435
|
return t === "object" && (e === null ? t = "null" : Array.isArray(e) ? t = "array" : x(e) ? t = "vnode" : e instanceof Date ? t = "date" : e instanceof RegExp && (t = "regexp")), t;
|
|
3436
|
-
},
|
|
3436
|
+
}, Oi = (e) => {
|
|
3437
3437
|
if (Array.isArray(e)) return e;
|
|
3438
3438
|
let { children: t } = e;
|
|
3439
|
-
return Array.isArray(t) ? t : (process.env.NODE_ENV !== "production" &&
|
|
3439
|
+
return Array.isArray(t) ? t : (process.env.NODE_ENV !== "production" && Ti("getFragmentChildren", `Unknown children for fragment: ${Di(t)}`), []);
|
|
3440
3440
|
};
|
|
3441
|
-
function
|
|
3441
|
+
function ki(e) {
|
|
3442
3442
|
return process.env.NODE_ENV === "production" ? e : Object.freeze(e);
|
|
3443
3443
|
}
|
|
3444
|
-
var
|
|
3444
|
+
var Ai = /* @__PURE__ */ ki({
|
|
3445
3445
|
element: !0,
|
|
3446
3446
|
component: !0
|
|
3447
|
-
}),
|
|
3447
|
+
}), ji = /* @__PURE__ */ ki({
|
|
3448
3448
|
element: !0,
|
|
3449
3449
|
component: !0,
|
|
3450
3450
|
text: !0,
|
|
3451
3451
|
static: !0
|
|
3452
|
-
}),
|
|
3453
|
-
let n =
|
|
3454
|
-
return !n || n === "fragment" || !t[n] ? null : x(e) ? e : n === "text" ? f(
|
|
3455
|
-
},
|
|
3452
|
+
}), Mi = (e, t) => {
|
|
3453
|
+
let n = wi(e);
|
|
3454
|
+
return !n || n === "fragment" || !t[n] ? null : x(e) ? e : n === "text" ? f(Ci(e)) : l();
|
|
3455
|
+
}, Ni = (e, t, n = ji) => (process.env.NODE_ENV !== "production" && Ei("replaceChildren", [
|
|
3456
3456
|
e,
|
|
3457
3457
|
t,
|
|
3458
3458
|
n
|
|
@@ -3460,33 +3460,33 @@ var ki = /* @__PURE__ */ Oi({
|
|
|
3460
3460
|
"array",
|
|
3461
3461
|
"function",
|
|
3462
3462
|
"object"
|
|
3463
|
-
]),
|
|
3463
|
+
]), Pi(e, t, n)), Pi = (e, t, n) => {
|
|
3464
3464
|
let r = null;
|
|
3465
3465
|
for (let i = 0; i < e.length; ++i) {
|
|
3466
3466
|
let a = e[i];
|
|
3467
|
-
if (
|
|
3468
|
-
let s =
|
|
3467
|
+
if (Si(a)) {
|
|
3468
|
+
let s = Oi(a), c = Pi(s, t, n), l = a;
|
|
3469
3469
|
s !== c && (r ??= e.slice(0, i), Array.isArray(a) ? l = c : (l = o(a), l.children = c)), r && r.push(l);
|
|
3470
3470
|
} else {
|
|
3471
|
-
let o =
|
|
3471
|
+
let o = Mi(a, n);
|
|
3472
3472
|
if (o) {
|
|
3473
3473
|
let n = t(o) ?? o;
|
|
3474
3474
|
if (process.env.NODE_ENV !== "production") {
|
|
3475
|
-
let e =
|
|
3475
|
+
let e = Di(n);
|
|
3476
3476
|
[
|
|
3477
3477
|
"array",
|
|
3478
3478
|
"vnode",
|
|
3479
3479
|
"string",
|
|
3480
3480
|
"number",
|
|
3481
3481
|
"undefined"
|
|
3482
|
-
].includes(e) ||
|
|
3482
|
+
].includes(e) || Ti("replaceChildren", `Callback returned unexpected ${e} ${String(n)}`);
|
|
3483
3483
|
}
|
|
3484
3484
|
n !== a && (r ??= e.slice(0, i)), Array.isArray(n) ? r && r.push(...n) : r && r.push(n);
|
|
3485
3485
|
} else r && r.push(a);
|
|
3486
3486
|
}
|
|
3487
3487
|
}
|
|
3488
3488
|
return r ?? e;
|
|
3489
|
-
},
|
|
3489
|
+
}, Fi = {
|
|
3490
3490
|
name: "EvoVueCarouselSlide",
|
|
3491
3491
|
props: {
|
|
3492
3492
|
isClone: {
|
|
@@ -3499,7 +3499,7 @@ var ki = /* @__PURE__ */ Oi({
|
|
|
3499
3499
|
}
|
|
3500
3500
|
},
|
|
3501
3501
|
setup(e, { slots: t }) {
|
|
3502
|
-
let n = k(null), r = I(), i = h(), { width: a, height: o, stop: s } =
|
|
3502
|
+
let n = k(null), r = I(), i = h(), { width: a, height: o, stop: s } = ze(n), { registerSlide: c, updateSlide: l, unregisterSlide: u } = Gt();
|
|
3503
3503
|
return e.isClone === !1 ? c(r, i) : s(), ne(() => {
|
|
3504
3504
|
e.isClone === !1 && u(r);
|
|
3505
3505
|
}), R([a, o], ([t, n]) => {
|
|
@@ -3515,11 +3515,11 @@ var ki = /* @__PURE__ */ Oi({
|
|
|
3515
3515
|
tabindex: e.isVisible ? void 0 : -1
|
|
3516
3516
|
}, t.default());
|
|
3517
3517
|
}
|
|
3518
|
-
},
|
|
3518
|
+
}, Ii = (e, t) => {
|
|
3519
3519
|
let n = e.__vccOpts || e;
|
|
3520
3520
|
for (let [e, r] of t) n[e] = r;
|
|
3521
3521
|
return n;
|
|
3522
|
-
},
|
|
3522
|
+
}, Li = ["data-width", "data-height"], Ri = { class: "border-b odd:bg-zinc-100 last:border-0 hover:bg-zinc-200/50" }, zi = { class: "px-2 py-1" }, Bi = { class: "border-b odd:bg-zinc-100 last:border-0 hover:bg-zinc-200/50" }, Vi = { class: "px-2 py-1" }, Hi = { class: "border-b odd:bg-zinc-100 last:border-0 hover:bg-zinc-200/50" }, Ui = { class: "px-2 py-1" }, Wi = { class: "border-b odd:bg-zinc-100 last:border-0 hover:bg-zinc-200/50" }, Gi = { class: "px-2 py-1" }, Ki = { class: "border-b odd:bg-zinc-100 last:border-0 hover:bg-zinc-200/50" }, qi = { class: "px-2 py-1" }, Ji = /*#__PURE__*/ Ii(/* @__PURE__ */ Object.assign({ name: "EvoVueCarouselSlider" }, {
|
|
3523
3523
|
__name: "Slider",
|
|
3524
3524
|
props: {
|
|
3525
3525
|
totalSlides: {
|
|
@@ -3536,19 +3536,19 @@ var ki = /* @__PURE__ */ Oi({
|
|
|
3536
3536
|
}
|
|
3537
3537
|
},
|
|
3538
3538
|
setup(e) {
|
|
3539
|
-
ie((e) => ({
|
|
3539
|
+
ie((e) => ({ v494ff48e: j.value }));
|
|
3540
3540
|
let t = typeof window < "u" && window.matchMedia("(prefers-reduced-motion: reduce)").matches, n = Object.freeze({
|
|
3541
3541
|
element: !0,
|
|
3542
3542
|
component: !0,
|
|
3543
3543
|
static: !0,
|
|
3544
3544
|
comment: !1,
|
|
3545
3545
|
text: !1
|
|
3546
|
-
}), i = e, { config: a, currentIndex: o, setCurrentIndex: f, isHovered: m, isNavigating: h, setIsNavigating: g, pauseAutoplay: v, resumeAutoplay: y, autoplayIsActive: b } =
|
|
3546
|
+
}), i = e, { config: a, currentIndex: o, setCurrentIndex: f, isHovered: m, isNavigating: h, setIsNavigating: g, pauseAutoplay: v, resumeAutoplay: y, autoplayIsActive: b } = Vt(), x = k(!0), ee = (e, t) => a.value.transitionDuration ? a.value.transitionDuration : e / t * 100, S = k(0), C = k(0), T = k(0), te = s(() => Je(T.value + 1, T.value + 1 + a.value.perPage)), ne = s(() => ({
|
|
3547
3547
|
transform: `translate3d(${S.value}px, 0, 0)`,
|
|
3548
|
-
transitionDuration: `${ee(
|
|
3548
|
+
transitionDuration: `${ee(re.value, a.value.transitionSpeed)}ms`
|
|
3549
3549
|
})), D = (e) => {
|
|
3550
3550
|
i.developer && console.log("[Slider.vue]: called updateOffset with " + e);
|
|
3551
|
-
let t = parseFloat(
|
|
3551
|
+
let t = parseFloat(j.value);
|
|
3552
3552
|
T.value = a.value.wrap ? i.totalSlides + e : e;
|
|
3553
3553
|
let n = (t + a.value.gap) * T.value;
|
|
3554
3554
|
return i.developer && console.table({
|
|
@@ -3561,33 +3561,35 @@ var ki = /* @__PURE__ */ Oi({
|
|
|
3561
3561
|
centre: n,
|
|
3562
3562
|
returnValue: n * -1
|
|
3563
3563
|
}), n * -1;
|
|
3564
|
-
},
|
|
3564
|
+
}, { width: O, height: A } = ze(oe("viewport")), j = s(() => {
|
|
3565
3565
|
let e = a.value.gap > 0 ? a.value.gap * (a.value.perPage - 1) : 0;
|
|
3566
|
-
return (
|
|
3566
|
+
return (O.value - e) / a.value.perPage + "px";
|
|
3567
3567
|
});
|
|
3568
3568
|
R(() => i.isInit, async (e) => {
|
|
3569
|
-
e && (i.developer && console.log("[Slider.vue]: props.isInit watcher callback called with true"), S.value = D(o.value), i.developer && console.log("[Slider.vue]: props.isInit watch callback updated offset to " + S.value), await
|
|
3569
|
+
e && (i.developer && console.log("[Slider.vue]: props.isInit watcher callback called with true"), S.value = D(o.value), i.developer && console.log("[Slider.vue]: props.isInit watch callback updated offset to " + S.value), await xi(2), x.value = !1);
|
|
3570
3570
|
}, { immediate: !0 });
|
|
3571
|
-
let
|
|
3571
|
+
let re = s(() => Math.abs(S.value - C.value));
|
|
3572
3572
|
R(o, (e) => {
|
|
3573
3573
|
i.developer && (console.log("[Slider.vue]: currentIndex watch callback"), console.table({
|
|
3574
3574
|
isInit: i.isInit,
|
|
3575
3575
|
currentIndex: e,
|
|
3576
3576
|
isNavigating: h.value
|
|
3577
|
-
})), i.isInit && (h.value === !1 && (C.value = S.value, i.developer && console.log("[Slider.vue]: currentIndex watch callback updated offsetStart to " + C.value)), S.value = D(e), i.developer && console.log("[Slider.vue]: currentIndex watch callback updated offset to " + S.value), t &&
|
|
3577
|
+
})), i.isInit && (h.value === !1 && (C.value = S.value, i.developer && console.log("[Slider.vue]: currentIndex watch callback updated offsetStart to " + C.value)), S.value = D(e), i.developer && console.log("[Slider.vue]: currentIndex watch callback updated offset to " + S.value), t && P());
|
|
3578
3578
|
}, { immediate: !0 });
|
|
3579
|
-
let
|
|
3579
|
+
let M = (e) => {
|
|
3580
3580
|
e.target.classList.contains("evo-vue-carousel__viewport-track") !== !1 && (i.developer && console.log("[Slider.vue]: onSlideTransitionStart called"), g(!0));
|
|
3581
|
-
},
|
|
3581
|
+
}, P = async (e) => {
|
|
3582
3582
|
if (e.target.classList.contains("evo-vue-carousel__viewport-track") === !1) return;
|
|
3583
|
-
i.developer && console.log("[Slider.vue]: onSlideTransitionEnd called"), x.value = !0, await
|
|
3583
|
+
i.developer && console.log("[Slider.vue]: onSlideTransitionEnd called"), x.value = !0, await xi();
|
|
3584
3584
|
let t = i.totalSlides;
|
|
3585
|
-
f(
|
|
3585
|
+
f(hi(o.value, 0, t)), await xi(), x.value = !1, g(!1);
|
|
3586
3586
|
};
|
|
3587
3587
|
R(m, (e) => {
|
|
3588
3588
|
a.value.pauseOnHover === !0 && (e ? v() : y());
|
|
3589
|
-
})
|
|
3590
|
-
|
|
3589
|
+
}), R(O, async (e, t) => {
|
|
3590
|
+
e !== 0 && i.isInit && t === 0 && (x.value = !0, await xi(), S.value = D(o.value), C.value = S.value, await xi(), x.value = !1);
|
|
3591
|
+
}, { immediate: !0 });
|
|
3592
|
+
let I = (e, t) => (t === "prefix" ? 0 : t === "suffix" ? i.totalSlides * 2 : i.totalSlides) + e, L = {
|
|
3591
3593
|
props: { gap: {
|
|
3592
3594
|
type: Number,
|
|
3593
3595
|
default: 0
|
|
@@ -3595,10 +3597,10 @@ var ki = /* @__PURE__ */ Oi({
|
|
|
3595
3597
|
setup(e, { slots: t }) {
|
|
3596
3598
|
let r = () => t.default?.() || [], i = (t) => {
|
|
3597
3599
|
let i = 0, a = t ? `_${t}` : "";
|
|
3598
|
-
return
|
|
3600
|
+
return Ni(r(), (n) => {
|
|
3599
3601
|
i++;
|
|
3600
|
-
let r =
|
|
3601
|
-
return _(
|
|
3602
|
+
let r = I(i, t);
|
|
3603
|
+
return _(Fi, {
|
|
3602
3604
|
class: w(["evo-vue-carousel__slide shrink-0 grow-0", {
|
|
3603
3605
|
"evo-vue-carousel__slide-clone": !!t,
|
|
3604
3606
|
"evo-vue-carousel__slide-prefix": t === "prefix",
|
|
@@ -3627,36 +3629,35 @@ var ki = /* @__PURE__ */ Oi({
|
|
|
3627
3629
|
]),
|
|
3628
3630
|
role: "list",
|
|
3629
3631
|
style: ne.value,
|
|
3630
|
-
onTransitionstart:
|
|
3631
|
-
onTransitionend:
|
|
3632
|
-
}, a.value.wrap ?
|
|
3632
|
+
onTransitionstart: M,
|
|
3633
|
+
onTransitionend: P
|
|
3634
|
+
}, a.value.wrap ? dn(i("prefix"), i(), i("suffix")) : i());
|
|
3633
3635
|
}
|
|
3634
3636
|
};
|
|
3635
3637
|
return (e, t) => (E(), u("div", {
|
|
3636
|
-
|
|
3637
|
-
ref: O,
|
|
3638
|
+
ref: "viewport",
|
|
3638
3639
|
class: "evo-vue-carousel__viewport evo-vue-carousel__viewport--slider relative flex w-full h-full max-h-full overflow-hidden",
|
|
3639
|
-
"data-width": F(
|
|
3640
|
-
"data-height": F(
|
|
3641
|
-
}, [p(F(
|
|
3640
|
+
"data-width": F(O),
|
|
3641
|
+
"data-height": F(A)
|
|
3642
|
+
}, [p(F(me), {
|
|
3642
3643
|
slots: e.$slots,
|
|
3643
3644
|
only: "default"
|
|
3644
3645
|
}, {
|
|
3645
|
-
default:
|
|
3646
|
+
default: z(() => [p(L, { gap: F(a).gap }, null, 8, ["gap"])]),
|
|
3646
3647
|
_: 1
|
|
3647
3648
|
}, 8, ["slots"]), i.developer ? (E(), c(r, {
|
|
3648
3649
|
key: 0,
|
|
3649
3650
|
to: "#dev-stats",
|
|
3650
3651
|
defer: ""
|
|
3651
3652
|
}, [
|
|
3652
|
-
d("tr",
|
|
3653
|
-
d("tr",
|
|
3654
|
-
d("tr",
|
|
3655
|
-
d("tr",
|
|
3656
|
-
d("tr",
|
|
3657
|
-
])) : l("", !0)], 8,
|
|
3653
|
+
d("tr", Ri, [t[0] ||= d("td", { class: "px-2 py-1" }, "Offset:", -1), d("td", zi, N(S.value), 1)]),
|
|
3654
|
+
d("tr", Bi, [t[1] ||= d("td", { class: "px-2 py-1" }, "Offset Start:", -1), d("td", Vi, N(C.value), 1)]),
|
|
3655
|
+
d("tr", Hi, [t[2] ||= d("td", { class: "px-2 py-1" }, "Offset Slides:", -1), d("td", Ui, N(T.value), 1)]),
|
|
3656
|
+
d("tr", Wi, [t[3] ||= d("td", { class: "px-2 py-1" }, "Visible Slides:", -1), d("td", Gi, N(te.value), 1)]),
|
|
3657
|
+
d("tr", Ki, [t[4] ||= d("td", { class: "px-2 py-1" }, "Is Hovered:", -1), d("td", qi, N(F(m)), 1)])
|
|
3658
|
+
])) : l("", !0)], 8, Li));
|
|
3658
3659
|
}
|
|
3659
|
-
}), [["__scopeId", "data-v-
|
|
3660
|
+
}), [["__scopeId", "data-v-c6f970f9"]]), Yi = ["data-height"], Xi = {
|
|
3660
3661
|
__name: "Gallery",
|
|
3661
3662
|
props: {
|
|
3662
3663
|
totalSlides: {
|
|
@@ -3669,7 +3670,7 @@ var ki = /* @__PURE__ */ Oi({
|
|
|
3669
3670
|
}
|
|
3670
3671
|
},
|
|
3671
3672
|
setup(e) {
|
|
3672
|
-
let n = e, { config: r, currentIndex: i, isNavigating: o, isHovered: l, setIsNavigating: d, pauseAutoplay: f, resumeAutoplay: m } =
|
|
3673
|
+
let n = e, { config: r, currentIndex: i, isNavigating: o, isHovered: l, setIsNavigating: d, pauseAutoplay: f, resumeAutoplay: m } = Vt(), h = k(null), { height: g } = ze(h);
|
|
3673
3674
|
R(l, (e) => {
|
|
3674
3675
|
r.value.pauseOnHover === !0 && (e ? f() : m());
|
|
3675
3676
|
});
|
|
@@ -3684,15 +3685,15 @@ var ki = /* @__PURE__ */ Oi({
|
|
|
3684
3685
|
return () => {
|
|
3685
3686
|
let e = a.default?.() || [];
|
|
3686
3687
|
for (; Array.isArray(e) && e[0]?.type === t;) e = e[0].children;
|
|
3687
|
-
let n = 0, r =
|
|
3688
|
-
let t = _(
|
|
3688
|
+
let n = 0, r = Ni(e, (e) => {
|
|
3689
|
+
let t = _(Fi, {
|
|
3689
3690
|
class: w(["evo-vue-carousel__slide evo-vue-carousel__slide--visible w-full h-full", { hidden: o.value.includes(n) === !1 }]),
|
|
3690
3691
|
role: "listitem",
|
|
3691
3692
|
isVisible: o.value.includes(n) === !1,
|
|
3692
3693
|
isClone: !1
|
|
3693
3694
|
}, { default: () => [e] });
|
|
3694
3695
|
return n++, t;
|
|
3695
|
-
},
|
|
3696
|
+
}, Ai), s = dn(Un(r, i.value), Un(r, 0, i.value));
|
|
3696
3697
|
return _("div", {
|
|
3697
3698
|
role: "list",
|
|
3698
3699
|
class: w(["flex h-full overflow-hidden"])
|
|
@@ -3712,13 +3713,13 @@ var ki = /* @__PURE__ */ Oi({
|
|
|
3712
3713
|
onBeforeEnter: t[0] ||= (e) => F(d)(!0),
|
|
3713
3714
|
onAfterLeave: t[1] ||= (e) => F(d)(!1)
|
|
3714
3715
|
}, {
|
|
3715
|
-
default:
|
|
3716
|
-
default:
|
|
3716
|
+
default: z(() => [(E(), c(y, { key: F(i) }, {
|
|
3717
|
+
default: z(() => [j(e.$slots, "default")]),
|
|
3717
3718
|
_: 3
|
|
3718
3719
|
}))]),
|
|
3719
3720
|
_: 3
|
|
3720
|
-
})], 10,
|
|
3721
|
+
})], 10, Yi));
|
|
3721
3722
|
}
|
|
3722
3723
|
};
|
|
3723
3724
|
//#endregion
|
|
3724
|
-
export {
|
|
3725
|
+
export { Ve as EVO_VUE_CAROUSEL_MODE, cn as EvoVueCarousel, bi as EvoVueCarouselNavigation, ui as EvoVueCarouselPagination, Xi as EvoVueCarouselViewportGallery, Ji as EvoVueCarouselViewportSlider };
|