evo-vue-carousel 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +41 -0
- package/dist/evo-vue-carousel.js +4560 -0
- package/dist/main.css +1 -0
- package/dist/tailwind.js +4 -0
- package/package.json +64 -0
|
@@ -0,0 +1,4560 @@
|
|
|
1
|
+
import { defineComponent as Kr, computed as _, h as R, ref as $, provide as ce, readonly as te, inject as de, isRef as Yr, watch as k, getCurrentScope as Xr, onScopeDispose as Zr, onMounted as ir, nextTick as Jr, unref as y, getCurrentInstance as ut, watchEffect as Qr, openBlock as L, createElementBlock as ve, normalizeClass as N, createElementVNode as pe, createVNode as U, withCtx as re, createBlock as fe, renderSlot as ne, createCommentVNode as ze, mergeProps as ar, Fragment as ct, renderList as en, cloneVNode as tn, isVNode as ke, Text as sr, Comment as rn, Static as nn, createTextVNode as on, useId as an, onUnmounted as sn, useCssVars as ln, Transition as un } from "vue";
|
|
2
|
+
import './main.css';function Ct(e) {
|
|
3
|
+
return typeof e == "string" || e instanceof RegExp || Array.isArray(e);
|
|
4
|
+
}
|
|
5
|
+
function At(e) {
|
|
6
|
+
return Array.isArray(e) || (e = [e]), e.filter(Boolean);
|
|
7
|
+
}
|
|
8
|
+
function cn(e, t, r) {
|
|
9
|
+
const n = At(t.only), o = At(t.except);
|
|
10
|
+
return Object.entries(e).filter(([i]) => dn(i, n, o, r, t.filterNative)).reduce((i, [a, s]) => (i[a] = (l) => s(l), i), {});
|
|
11
|
+
}
|
|
12
|
+
function It(e) {
|
|
13
|
+
if (e instanceof RegExp)
|
|
14
|
+
return e;
|
|
15
|
+
{
|
|
16
|
+
const t = e.replace(/[-\/\\^$+?.()|[\]{}]/g, "\\$&").replace(/^\*/, ".*").replace(/\*$/, ".*");
|
|
17
|
+
return t.includes(".*") ? new RegExp(`^${t}$`) : e;
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
function dn(e, t, r, n, o) {
|
|
21
|
+
return t.length ? t.some((i) => (i = It(i), n.includes(e) && o !== !0 ? !0 : i instanceof RegExp ? i.test(e) : i === e)) : r.every((i) => (i = It(i), n.includes(e) && o !== !0 ? !0 : i instanceof RegExp ? i.test(e) === !1 : i !== e));
|
|
22
|
+
}
|
|
23
|
+
function fn(e, t, r, n, o) {
|
|
24
|
+
return R(e, n, cn(r, t, o));
|
|
25
|
+
}
|
|
26
|
+
const Ce = Kr({
|
|
27
|
+
name: "ForwardSlots",
|
|
28
|
+
inheritAttrs: !1,
|
|
29
|
+
props: {
|
|
30
|
+
slots: {
|
|
31
|
+
type: Object,
|
|
32
|
+
default: () => ({}),
|
|
33
|
+
required: !0
|
|
34
|
+
},
|
|
35
|
+
only: {
|
|
36
|
+
type: [String, RegExp, Array],
|
|
37
|
+
default: () => [],
|
|
38
|
+
validator: Ct
|
|
39
|
+
},
|
|
40
|
+
except: {
|
|
41
|
+
type: [String, RegExp, Array],
|
|
42
|
+
default: () => [],
|
|
43
|
+
validator: Ct
|
|
44
|
+
},
|
|
45
|
+
inheritAttrs: {
|
|
46
|
+
type: Boolean,
|
|
47
|
+
default: !0
|
|
48
|
+
},
|
|
49
|
+
filterNative: {
|
|
50
|
+
type: Boolean,
|
|
51
|
+
default: !1
|
|
52
|
+
}
|
|
53
|
+
},
|
|
54
|
+
setup(e, { slots: t, attrs: r }) {
|
|
55
|
+
const n = _(() => {
|
|
56
|
+
var o;
|
|
57
|
+
return ((o = t.default) == null ? void 0 : o.call(t)) || [];
|
|
58
|
+
});
|
|
59
|
+
return () => n.value.map((o) => {
|
|
60
|
+
const i = Object.keys(o.children ?? {}), a = Object.assign({}, e.slots, o.children), s = e.inheritAttrs ? r : {};
|
|
61
|
+
return fn(o, e, a, s, i);
|
|
62
|
+
});
|
|
63
|
+
}
|
|
64
|
+
}), Le = {
|
|
65
|
+
SLIDER: "slider",
|
|
66
|
+
GALLERY: "gallery"
|
|
67
|
+
};
|
|
68
|
+
var lr = typeof global == "object" && global && global.Object === Object && global, pn = typeof self == "object" && self && self.Object === Object && self, D = lr || pn || Function("return this")(), F = D.Symbol, ur = Object.prototype, gn = ur.hasOwnProperty, vn = ur.toString, xe = F ? F.toStringTag : void 0;
|
|
69
|
+
function hn(e) {
|
|
70
|
+
var t = gn.call(e, xe), r = e[xe];
|
|
71
|
+
try {
|
|
72
|
+
e[xe] = void 0;
|
|
73
|
+
var n = !0;
|
|
74
|
+
} catch {
|
|
75
|
+
}
|
|
76
|
+
var o = vn.call(e);
|
|
77
|
+
return n && (t ? e[xe] = r : delete e[xe]), o;
|
|
78
|
+
}
|
|
79
|
+
var bn = Object.prototype, mn = bn.toString;
|
|
80
|
+
function yn(e) {
|
|
81
|
+
return mn.call(e);
|
|
82
|
+
}
|
|
83
|
+
var wn = "[object Null]", xn = "[object Undefined]", Tt = F ? F.toStringTag : void 0;
|
|
84
|
+
function ae(e) {
|
|
85
|
+
return e == null ? e === void 0 ? xn : wn : Tt && Tt in Object(e) ? hn(e) : yn(e);
|
|
86
|
+
}
|
|
87
|
+
function oe(e) {
|
|
88
|
+
return e != null && typeof e == "object";
|
|
89
|
+
}
|
|
90
|
+
var _n = "[object Symbol]";
|
|
91
|
+
function Fe(e) {
|
|
92
|
+
return typeof e == "symbol" || oe(e) && ae(e) == _n;
|
|
93
|
+
}
|
|
94
|
+
function Sn(e, t) {
|
|
95
|
+
for (var r = -1, n = e == null ? 0 : e.length, o = Array(n); ++r < n; )
|
|
96
|
+
o[r] = t(e[r], r, e);
|
|
97
|
+
return o;
|
|
98
|
+
}
|
|
99
|
+
var j = Array.isArray, Cn = 1 / 0, Ot = F ? F.prototype : void 0, Pt = Ot ? Ot.toString : void 0;
|
|
100
|
+
function cr(e) {
|
|
101
|
+
if (typeof e == "string")
|
|
102
|
+
return e;
|
|
103
|
+
if (j(e))
|
|
104
|
+
return Sn(e, cr) + "";
|
|
105
|
+
if (Fe(e))
|
|
106
|
+
return Pt ? Pt.call(e) : "";
|
|
107
|
+
var t = e + "";
|
|
108
|
+
return t == "0" && 1 / e == -Cn ? "-0" : t;
|
|
109
|
+
}
|
|
110
|
+
var An = /\s/;
|
|
111
|
+
function In(e) {
|
|
112
|
+
for (var t = e.length; t-- && An.test(e.charAt(t)); )
|
|
113
|
+
;
|
|
114
|
+
return t;
|
|
115
|
+
}
|
|
116
|
+
var Tn = /^\s+/;
|
|
117
|
+
function On(e) {
|
|
118
|
+
return e && e.slice(0, In(e) + 1).replace(Tn, "");
|
|
119
|
+
}
|
|
120
|
+
function q(e) {
|
|
121
|
+
var t = typeof e;
|
|
122
|
+
return e != null && (t == "object" || t == "function");
|
|
123
|
+
}
|
|
124
|
+
var $t = NaN, Pn = /^[-+]0x[0-9a-f]+$/i, $n = /^0b[01]+$/i, En = /^0o[0-7]+$/i, Nn = parseInt;
|
|
125
|
+
function Qe(e) {
|
|
126
|
+
if (typeof e == "number")
|
|
127
|
+
return e;
|
|
128
|
+
if (Fe(e))
|
|
129
|
+
return $t;
|
|
130
|
+
if (q(e)) {
|
|
131
|
+
var t = typeof e.valueOf == "function" ? e.valueOf() : e;
|
|
132
|
+
e = q(t) ? t + "" : t;
|
|
133
|
+
}
|
|
134
|
+
if (typeof e != "string")
|
|
135
|
+
return e === 0 ? e : +e;
|
|
136
|
+
e = On(e);
|
|
137
|
+
var r = $n.test(e);
|
|
138
|
+
return r || En.test(e) ? Nn(e.slice(2), r ? 2 : 8) : Pn.test(e) ? $t : +e;
|
|
139
|
+
}
|
|
140
|
+
var Et = 1 / 0, Rn = 17976931348623157e292;
|
|
141
|
+
function zn(e) {
|
|
142
|
+
if (!e)
|
|
143
|
+
return e === 0 ? e : 0;
|
|
144
|
+
if (e = Qe(e), e === Et || e === -Et) {
|
|
145
|
+
var t = e < 0 ? -1 : 1;
|
|
146
|
+
return t * Rn;
|
|
147
|
+
}
|
|
148
|
+
return e === e ? e : 0;
|
|
149
|
+
}
|
|
150
|
+
function et(e) {
|
|
151
|
+
var t = zn(e), r = t % 1;
|
|
152
|
+
return t === t ? r ? t - r : t : 0;
|
|
153
|
+
}
|
|
154
|
+
function dr(e) {
|
|
155
|
+
return e;
|
|
156
|
+
}
|
|
157
|
+
var Mn = "[object AsyncFunction]", Ln = "[object Function]", jn = "[object GeneratorFunction]", Bn = "[object Proxy]";
|
|
158
|
+
function fr(e) {
|
|
159
|
+
if (!q(e))
|
|
160
|
+
return !1;
|
|
161
|
+
var t = ae(e);
|
|
162
|
+
return t == Ln || t == jn || t == Mn || t == Bn;
|
|
163
|
+
}
|
|
164
|
+
var Ke = D["__core-js_shared__"], Nt = function() {
|
|
165
|
+
var e = /[^.]+$/.exec(Ke && Ke.keys && Ke.keys.IE_PROTO || "");
|
|
166
|
+
return e ? "Symbol(src)_1." + e : "";
|
|
167
|
+
}();
|
|
168
|
+
function Gn(e) {
|
|
169
|
+
return !!Nt && Nt in e;
|
|
170
|
+
}
|
|
171
|
+
var kn = Function.prototype, Fn = kn.toString;
|
|
172
|
+
function se(e) {
|
|
173
|
+
if (e != null) {
|
|
174
|
+
try {
|
|
175
|
+
return Fn.call(e);
|
|
176
|
+
} catch {
|
|
177
|
+
}
|
|
178
|
+
try {
|
|
179
|
+
return e + "";
|
|
180
|
+
} catch {
|
|
181
|
+
}
|
|
182
|
+
}
|
|
183
|
+
return "";
|
|
184
|
+
}
|
|
185
|
+
var Dn = /[\\^$.*+?()[\]{}|]/g, Hn = /^\[object .+?Constructor\]$/, Wn = Function.prototype, Un = Object.prototype, Vn = Wn.toString, qn = Un.hasOwnProperty, Kn = RegExp(
|
|
186
|
+
"^" + Vn.call(qn).replace(Dn, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
|
|
187
|
+
);
|
|
188
|
+
function Yn(e) {
|
|
189
|
+
if (!q(e) || Gn(e))
|
|
190
|
+
return !1;
|
|
191
|
+
var t = fr(e) ? Kn : Hn;
|
|
192
|
+
return t.test(se(e));
|
|
193
|
+
}
|
|
194
|
+
function Xn(e, t) {
|
|
195
|
+
return e == null ? void 0 : e[t];
|
|
196
|
+
}
|
|
197
|
+
function le(e, t) {
|
|
198
|
+
var r = Xn(e, t);
|
|
199
|
+
return Yn(r) ? r : void 0;
|
|
200
|
+
}
|
|
201
|
+
var tt = le(D, "WeakMap");
|
|
202
|
+
function Zn(e, t, r) {
|
|
203
|
+
switch (r.length) {
|
|
204
|
+
case 0:
|
|
205
|
+
return e.call(t);
|
|
206
|
+
case 1:
|
|
207
|
+
return e.call(t, r[0]);
|
|
208
|
+
case 2:
|
|
209
|
+
return e.call(t, r[0], r[1]);
|
|
210
|
+
case 3:
|
|
211
|
+
return e.call(t, r[0], r[1], r[2]);
|
|
212
|
+
}
|
|
213
|
+
return e.apply(t, r);
|
|
214
|
+
}
|
|
215
|
+
function Jn(e, t) {
|
|
216
|
+
var r = -1, n = e.length;
|
|
217
|
+
for (t || (t = Array(n)); ++r < n; )
|
|
218
|
+
t[r] = e[r];
|
|
219
|
+
return t;
|
|
220
|
+
}
|
|
221
|
+
var Qn = 800, eo = 16, to = Date.now;
|
|
222
|
+
function ro(e) {
|
|
223
|
+
var t = 0, r = 0;
|
|
224
|
+
return function() {
|
|
225
|
+
var n = to(), o = eo - (n - r);
|
|
226
|
+
if (r = n, o > 0) {
|
|
227
|
+
if (++t >= Qn)
|
|
228
|
+
return arguments[0];
|
|
229
|
+
} else
|
|
230
|
+
t = 0;
|
|
231
|
+
return e.apply(void 0, arguments);
|
|
232
|
+
};
|
|
233
|
+
}
|
|
234
|
+
function no(e) {
|
|
235
|
+
return function() {
|
|
236
|
+
return e;
|
|
237
|
+
};
|
|
238
|
+
}
|
|
239
|
+
var je = function() {
|
|
240
|
+
try {
|
|
241
|
+
var e = le(Object, "defineProperty");
|
|
242
|
+
return e({}, "", {}), e;
|
|
243
|
+
} catch {
|
|
244
|
+
}
|
|
245
|
+
}(), oo = je ? function(e, t) {
|
|
246
|
+
return je(e, "toString", {
|
|
247
|
+
configurable: !0,
|
|
248
|
+
enumerable: !1,
|
|
249
|
+
value: no(t),
|
|
250
|
+
writable: !0
|
|
251
|
+
});
|
|
252
|
+
} : dr, io = ro(oo);
|
|
253
|
+
function ao(e, t, r, n) {
|
|
254
|
+
e.length;
|
|
255
|
+
for (var o = r + 1; o--; )
|
|
256
|
+
if (t(e[o], o, e))
|
|
257
|
+
return o;
|
|
258
|
+
return -1;
|
|
259
|
+
}
|
|
260
|
+
var so = 9007199254740991, lo = /^(?:0|[1-9]\d*)$/;
|
|
261
|
+
function De(e, t) {
|
|
262
|
+
var r = typeof e;
|
|
263
|
+
return t = t ?? so, !!t && (r == "number" || r != "symbol" && lo.test(e)) && e > -1 && e % 1 == 0 && e < t;
|
|
264
|
+
}
|
|
265
|
+
function pr(e, t, r) {
|
|
266
|
+
t == "__proto__" && je ? je(e, t, {
|
|
267
|
+
configurable: !0,
|
|
268
|
+
enumerable: !0,
|
|
269
|
+
value: r,
|
|
270
|
+
writable: !0
|
|
271
|
+
}) : e[t] = r;
|
|
272
|
+
}
|
|
273
|
+
function He(e, t) {
|
|
274
|
+
return e === t || e !== e && t !== t;
|
|
275
|
+
}
|
|
276
|
+
var uo = Object.prototype, co = uo.hasOwnProperty;
|
|
277
|
+
function fo(e, t, r) {
|
|
278
|
+
var n = e[t];
|
|
279
|
+
(!(co.call(e, t) && He(n, r)) || r === void 0 && !(t in e)) && pr(e, t, r);
|
|
280
|
+
}
|
|
281
|
+
var Rt = Math.max;
|
|
282
|
+
function po(e, t, r) {
|
|
283
|
+
return t = Rt(t === void 0 ? e.length - 1 : t, 0), function() {
|
|
284
|
+
for (var n = arguments, o = -1, i = Rt(n.length - t, 0), a = Array(i); ++o < i; )
|
|
285
|
+
a[o] = n[t + o];
|
|
286
|
+
o = -1;
|
|
287
|
+
for (var s = Array(t + 1); ++o < t; )
|
|
288
|
+
s[o] = n[o];
|
|
289
|
+
return s[t] = r(a), Zn(e, this, s);
|
|
290
|
+
};
|
|
291
|
+
}
|
|
292
|
+
var go = 9007199254740991;
|
|
293
|
+
function dt(e) {
|
|
294
|
+
return typeof e == "number" && e > -1 && e % 1 == 0 && e <= go;
|
|
295
|
+
}
|
|
296
|
+
function gr(e) {
|
|
297
|
+
return e != null && dt(e.length) && !fr(e);
|
|
298
|
+
}
|
|
299
|
+
function vo(e, t, r) {
|
|
300
|
+
if (!q(r))
|
|
301
|
+
return !1;
|
|
302
|
+
var n = typeof t;
|
|
303
|
+
return (n == "number" ? gr(r) && De(t, r.length) : n == "string" && t in r) ? He(r[t], e) : !1;
|
|
304
|
+
}
|
|
305
|
+
var ho = Object.prototype;
|
|
306
|
+
function bo(e) {
|
|
307
|
+
var t = e && e.constructor, r = typeof t == "function" && t.prototype || ho;
|
|
308
|
+
return e === r;
|
|
309
|
+
}
|
|
310
|
+
function mo(e, t) {
|
|
311
|
+
for (var r = -1, n = Array(e); ++r < e; )
|
|
312
|
+
n[r] = t(r);
|
|
313
|
+
return n;
|
|
314
|
+
}
|
|
315
|
+
var yo = "[object Arguments]";
|
|
316
|
+
function zt(e) {
|
|
317
|
+
return oe(e) && ae(e) == yo;
|
|
318
|
+
}
|
|
319
|
+
var vr = Object.prototype, wo = vr.hasOwnProperty, xo = vr.propertyIsEnumerable, ft = zt(/* @__PURE__ */ function() {
|
|
320
|
+
return arguments;
|
|
321
|
+
}()) ? zt : function(e) {
|
|
322
|
+
return oe(e) && wo.call(e, "callee") && !xo.call(e, "callee");
|
|
323
|
+
};
|
|
324
|
+
function _o() {
|
|
325
|
+
return !1;
|
|
326
|
+
}
|
|
327
|
+
var hr = typeof exports == "object" && exports && !exports.nodeType && exports, Mt = hr && typeof module == "object" && module && !module.nodeType && module, So = Mt && Mt.exports === hr, Lt = So ? D.Buffer : void 0, Co = Lt ? Lt.isBuffer : void 0, rt = Co || _o, Ao = "[object Arguments]", Io = "[object Array]", To = "[object Boolean]", Oo = "[object Date]", Po = "[object Error]", $o = "[object Function]", Eo = "[object Map]", No = "[object Number]", Ro = "[object Object]", zo = "[object RegExp]", Mo = "[object Set]", Lo = "[object String]", jo = "[object WeakMap]", Bo = "[object ArrayBuffer]", Go = "[object DataView]", ko = "[object Float32Array]", Fo = "[object Float64Array]", Do = "[object Int8Array]", Ho = "[object Int16Array]", Wo = "[object Int32Array]", Uo = "[object Uint8Array]", Vo = "[object Uint8ClampedArray]", qo = "[object Uint16Array]", Ko = "[object Uint32Array]", A = {};
|
|
328
|
+
A[ko] = A[Fo] = A[Do] = A[Ho] = A[Wo] = A[Uo] = A[Vo] = A[qo] = A[Ko] = !0;
|
|
329
|
+
A[Ao] = A[Io] = A[Bo] = A[To] = A[Go] = A[Oo] = A[Po] = A[$o] = A[Eo] = A[No] = A[Ro] = A[zo] = A[Mo] = A[Lo] = A[jo] = !1;
|
|
330
|
+
function Yo(e) {
|
|
331
|
+
return oe(e) && dt(e.length) && !!A[ae(e)];
|
|
332
|
+
}
|
|
333
|
+
function Xo(e) {
|
|
334
|
+
return function(t) {
|
|
335
|
+
return e(t);
|
|
336
|
+
};
|
|
337
|
+
}
|
|
338
|
+
var br = typeof exports == "object" && exports && !exports.nodeType && exports, Ae = br && typeof module == "object" && module && !module.nodeType && module, Zo = Ae && Ae.exports === br, Ye = Zo && lr.process, jt = function() {
|
|
339
|
+
try {
|
|
340
|
+
var e = Ae && Ae.require && Ae.require("util").types;
|
|
341
|
+
return e || Ye && Ye.binding && Ye.binding("util");
|
|
342
|
+
} catch {
|
|
343
|
+
}
|
|
344
|
+
}(), Bt = jt && jt.isTypedArray, mr = Bt ? Xo(Bt) : Yo, Jo = Object.prototype, Qo = Jo.hasOwnProperty;
|
|
345
|
+
function ei(e, t) {
|
|
346
|
+
var r = j(e), n = !r && ft(e), o = !r && !n && rt(e), i = !r && !n && !o && mr(e), a = r || n || o || i, s = a ? mo(e.length, String) : [], l = s.length;
|
|
347
|
+
for (var u in e)
|
|
348
|
+
Qo.call(e, u) && !(a && // Safari 9 has enumerable `arguments.length` in strict mode.
|
|
349
|
+
(u == "length" || // Node.js 0.10 has enumerable non-index properties on buffers.
|
|
350
|
+
o && (u == "offset" || u == "parent") || // PhantomJS 2 has enumerable non-index properties on typed arrays.
|
|
351
|
+
i && (u == "buffer" || u == "byteLength" || u == "byteOffset") || // Skip index properties.
|
|
352
|
+
De(u, l))) && s.push(u);
|
|
353
|
+
return s;
|
|
354
|
+
}
|
|
355
|
+
function ti(e, t) {
|
|
356
|
+
return function(r) {
|
|
357
|
+
return e(t(r));
|
|
358
|
+
};
|
|
359
|
+
}
|
|
360
|
+
var ri = ti(Object.keys, Object), ni = Object.prototype, oi = ni.hasOwnProperty;
|
|
361
|
+
function ii(e) {
|
|
362
|
+
if (!bo(e))
|
|
363
|
+
return ri(e);
|
|
364
|
+
var t = [];
|
|
365
|
+
for (var r in Object(e))
|
|
366
|
+
oi.call(e, r) && r != "constructor" && t.push(r);
|
|
367
|
+
return t;
|
|
368
|
+
}
|
|
369
|
+
function pt(e) {
|
|
370
|
+
return gr(e) ? ei(e) : ii(e);
|
|
371
|
+
}
|
|
372
|
+
var ai = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/, si = /^\w*$/;
|
|
373
|
+
function gt(e, t) {
|
|
374
|
+
if (j(e))
|
|
375
|
+
return !1;
|
|
376
|
+
var r = typeof e;
|
|
377
|
+
return r == "number" || r == "symbol" || r == "boolean" || e == null || Fe(e) ? !0 : si.test(e) || !ai.test(e) || t != null && e in Object(t);
|
|
378
|
+
}
|
|
379
|
+
var Ie = le(Object, "create");
|
|
380
|
+
function li() {
|
|
381
|
+
this.__data__ = Ie ? Ie(null) : {}, this.size = 0;
|
|
382
|
+
}
|
|
383
|
+
function ui(e) {
|
|
384
|
+
var t = this.has(e) && delete this.__data__[e];
|
|
385
|
+
return this.size -= t ? 1 : 0, t;
|
|
386
|
+
}
|
|
387
|
+
var ci = "__lodash_hash_undefined__", di = Object.prototype, fi = di.hasOwnProperty;
|
|
388
|
+
function pi(e) {
|
|
389
|
+
var t = this.__data__;
|
|
390
|
+
if (Ie) {
|
|
391
|
+
var r = t[e];
|
|
392
|
+
return r === ci ? void 0 : r;
|
|
393
|
+
}
|
|
394
|
+
return fi.call(t, e) ? t[e] : void 0;
|
|
395
|
+
}
|
|
396
|
+
var gi = Object.prototype, vi = gi.hasOwnProperty;
|
|
397
|
+
function hi(e) {
|
|
398
|
+
var t = this.__data__;
|
|
399
|
+
return Ie ? t[e] !== void 0 : vi.call(t, e);
|
|
400
|
+
}
|
|
401
|
+
var bi = "__lodash_hash_undefined__";
|
|
402
|
+
function mi(e, t) {
|
|
403
|
+
var r = this.__data__;
|
|
404
|
+
return this.size += this.has(e) ? 0 : 1, r[e] = Ie && t === void 0 ? bi : t, this;
|
|
405
|
+
}
|
|
406
|
+
function ie(e) {
|
|
407
|
+
var t = -1, r = e == null ? 0 : e.length;
|
|
408
|
+
for (this.clear(); ++t < r; ) {
|
|
409
|
+
var n = e[t];
|
|
410
|
+
this.set(n[0], n[1]);
|
|
411
|
+
}
|
|
412
|
+
}
|
|
413
|
+
ie.prototype.clear = li;
|
|
414
|
+
ie.prototype.delete = ui;
|
|
415
|
+
ie.prototype.get = pi;
|
|
416
|
+
ie.prototype.has = hi;
|
|
417
|
+
ie.prototype.set = mi;
|
|
418
|
+
function yi() {
|
|
419
|
+
this.__data__ = [], this.size = 0;
|
|
420
|
+
}
|
|
421
|
+
function We(e, t) {
|
|
422
|
+
for (var r = e.length; r--; )
|
|
423
|
+
if (He(e[r][0], t))
|
|
424
|
+
return r;
|
|
425
|
+
return -1;
|
|
426
|
+
}
|
|
427
|
+
var wi = Array.prototype, xi = wi.splice;
|
|
428
|
+
function _i(e) {
|
|
429
|
+
var t = this.__data__, r = We(t, e);
|
|
430
|
+
if (r < 0)
|
|
431
|
+
return !1;
|
|
432
|
+
var n = t.length - 1;
|
|
433
|
+
return r == n ? t.pop() : xi.call(t, r, 1), --this.size, !0;
|
|
434
|
+
}
|
|
435
|
+
function Si(e) {
|
|
436
|
+
var t = this.__data__, r = We(t, e);
|
|
437
|
+
return r < 0 ? void 0 : t[r][1];
|
|
438
|
+
}
|
|
439
|
+
function Ci(e) {
|
|
440
|
+
return We(this.__data__, e) > -1;
|
|
441
|
+
}
|
|
442
|
+
function Ai(e, t) {
|
|
443
|
+
var r = this.__data__, n = We(r, e);
|
|
444
|
+
return n < 0 ? (++this.size, r.push([e, t])) : r[n][1] = t, this;
|
|
445
|
+
}
|
|
446
|
+
function K(e) {
|
|
447
|
+
var t = -1, r = e == null ? 0 : e.length;
|
|
448
|
+
for (this.clear(); ++t < r; ) {
|
|
449
|
+
var n = e[t];
|
|
450
|
+
this.set(n[0], n[1]);
|
|
451
|
+
}
|
|
452
|
+
}
|
|
453
|
+
K.prototype.clear = yi;
|
|
454
|
+
K.prototype.delete = _i;
|
|
455
|
+
K.prototype.get = Si;
|
|
456
|
+
K.prototype.has = Ci;
|
|
457
|
+
K.prototype.set = Ai;
|
|
458
|
+
var Te = le(D, "Map");
|
|
459
|
+
function Ii() {
|
|
460
|
+
this.size = 0, this.__data__ = {
|
|
461
|
+
hash: new ie(),
|
|
462
|
+
map: new (Te || K)(),
|
|
463
|
+
string: new ie()
|
|
464
|
+
};
|
|
465
|
+
}
|
|
466
|
+
function Ti(e) {
|
|
467
|
+
var t = typeof e;
|
|
468
|
+
return t == "string" || t == "number" || t == "symbol" || t == "boolean" ? e !== "__proto__" : e === null;
|
|
469
|
+
}
|
|
470
|
+
function Ue(e, t) {
|
|
471
|
+
var r = e.__data__;
|
|
472
|
+
return Ti(t) ? r[typeof t == "string" ? "string" : "hash"] : r.map;
|
|
473
|
+
}
|
|
474
|
+
function Oi(e) {
|
|
475
|
+
var t = Ue(this, e).delete(e);
|
|
476
|
+
return this.size -= t ? 1 : 0, t;
|
|
477
|
+
}
|
|
478
|
+
function Pi(e) {
|
|
479
|
+
return Ue(this, e).get(e);
|
|
480
|
+
}
|
|
481
|
+
function $i(e) {
|
|
482
|
+
return Ue(this, e).has(e);
|
|
483
|
+
}
|
|
484
|
+
function Ei(e, t) {
|
|
485
|
+
var r = Ue(this, e), n = r.size;
|
|
486
|
+
return r.set(e, t), this.size += r.size == n ? 0 : 1, this;
|
|
487
|
+
}
|
|
488
|
+
function Y(e) {
|
|
489
|
+
var t = -1, r = e == null ? 0 : e.length;
|
|
490
|
+
for (this.clear(); ++t < r; ) {
|
|
491
|
+
var n = e[t];
|
|
492
|
+
this.set(n[0], n[1]);
|
|
493
|
+
}
|
|
494
|
+
}
|
|
495
|
+
Y.prototype.clear = Ii;
|
|
496
|
+
Y.prototype.delete = Oi;
|
|
497
|
+
Y.prototype.get = Pi;
|
|
498
|
+
Y.prototype.has = $i;
|
|
499
|
+
Y.prototype.set = Ei;
|
|
500
|
+
var Ni = "Expected a function";
|
|
501
|
+
function vt(e, t) {
|
|
502
|
+
if (typeof e != "function" || t != null && typeof t != "function")
|
|
503
|
+
throw new TypeError(Ni);
|
|
504
|
+
var r = function() {
|
|
505
|
+
var n = arguments, o = t ? t.apply(this, n) : n[0], i = r.cache;
|
|
506
|
+
if (i.has(o))
|
|
507
|
+
return i.get(o);
|
|
508
|
+
var a = e.apply(this, n);
|
|
509
|
+
return r.cache = i.set(o, a) || i, a;
|
|
510
|
+
};
|
|
511
|
+
return r.cache = new (vt.Cache || Y)(), r;
|
|
512
|
+
}
|
|
513
|
+
vt.Cache = Y;
|
|
514
|
+
var Ri = 500;
|
|
515
|
+
function zi(e) {
|
|
516
|
+
var t = vt(e, function(n) {
|
|
517
|
+
return r.size === Ri && r.clear(), n;
|
|
518
|
+
}), r = t.cache;
|
|
519
|
+
return t;
|
|
520
|
+
}
|
|
521
|
+
var Mi = /[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g, Li = /\\(\\)?/g, ji = zi(function(e) {
|
|
522
|
+
var t = [];
|
|
523
|
+
return e.charCodeAt(0) === 46 && t.push(""), e.replace(Mi, function(r, n, o, i) {
|
|
524
|
+
t.push(o ? i.replace(Li, "$1") : n || r);
|
|
525
|
+
}), t;
|
|
526
|
+
});
|
|
527
|
+
function Bi(e) {
|
|
528
|
+
return e == null ? "" : cr(e);
|
|
529
|
+
}
|
|
530
|
+
function Ve(e, t) {
|
|
531
|
+
return j(e) ? e : gt(e, t) ? [e] : ji(Bi(e));
|
|
532
|
+
}
|
|
533
|
+
var Gi = 1 / 0;
|
|
534
|
+
function Pe(e) {
|
|
535
|
+
if (typeof e == "string" || Fe(e))
|
|
536
|
+
return e;
|
|
537
|
+
var t = e + "";
|
|
538
|
+
return t == "0" && 1 / e == -Gi ? "-0" : t;
|
|
539
|
+
}
|
|
540
|
+
function ht(e, t) {
|
|
541
|
+
t = Ve(t, e);
|
|
542
|
+
for (var r = 0, n = t.length; e != null && r < n; )
|
|
543
|
+
e = e[Pe(t[r++])];
|
|
544
|
+
return r && r == n ? e : void 0;
|
|
545
|
+
}
|
|
546
|
+
function ki(e, t, r) {
|
|
547
|
+
var n = e == null ? void 0 : ht(e, t);
|
|
548
|
+
return n === void 0 ? r : n;
|
|
549
|
+
}
|
|
550
|
+
function bt(e, t) {
|
|
551
|
+
for (var r = -1, n = t.length, o = e.length; ++r < n; )
|
|
552
|
+
e[o + r] = t[r];
|
|
553
|
+
return e;
|
|
554
|
+
}
|
|
555
|
+
var Gt = F ? F.isConcatSpreadable : void 0;
|
|
556
|
+
function Fi(e) {
|
|
557
|
+
return j(e) || ft(e) || !!(Gt && e && e[Gt]);
|
|
558
|
+
}
|
|
559
|
+
function yr(e, t, r, n, o) {
|
|
560
|
+
var i = -1, a = e.length;
|
|
561
|
+
for (r || (r = Fi), o || (o = []); ++i < a; ) {
|
|
562
|
+
var s = e[i];
|
|
563
|
+
r(s) ? bt(o, s) : o[o.length] = s;
|
|
564
|
+
}
|
|
565
|
+
return o;
|
|
566
|
+
}
|
|
567
|
+
function Di(e) {
|
|
568
|
+
var t = e == null ? 0 : e.length;
|
|
569
|
+
return t ? yr(e) : [];
|
|
570
|
+
}
|
|
571
|
+
function Hi(e) {
|
|
572
|
+
return io(po(e, void 0, Di), e + "");
|
|
573
|
+
}
|
|
574
|
+
function wr(e, t, r) {
|
|
575
|
+
var n = -1, o = e.length;
|
|
576
|
+
t < 0 && (t = -t > o ? 0 : o + t), r = r > o ? o : r, r < 0 && (r += o), o = t > r ? 0 : r - t >>> 0, t >>>= 0;
|
|
577
|
+
for (var i = Array(o); ++n < o; )
|
|
578
|
+
i[n] = e[n + t];
|
|
579
|
+
return i;
|
|
580
|
+
}
|
|
581
|
+
var Wi = Math.ceil, Ui = Math.max;
|
|
582
|
+
function Vi(e, t, r) {
|
|
583
|
+
t === void 0 ? t = 1 : t = Ui(et(t), 0);
|
|
584
|
+
var n = e == null ? 0 : e.length;
|
|
585
|
+
if (!n || t < 1)
|
|
586
|
+
return [];
|
|
587
|
+
for (var o = 0, i = 0, a = Array(Wi(n / t)); o < n; )
|
|
588
|
+
a[i++] = wr(e, o, o += t);
|
|
589
|
+
return a;
|
|
590
|
+
}
|
|
591
|
+
function qi() {
|
|
592
|
+
this.__data__ = new K(), this.size = 0;
|
|
593
|
+
}
|
|
594
|
+
function Ki(e) {
|
|
595
|
+
var t = this.__data__, r = t.delete(e);
|
|
596
|
+
return this.size = t.size, r;
|
|
597
|
+
}
|
|
598
|
+
function Yi(e) {
|
|
599
|
+
return this.__data__.get(e);
|
|
600
|
+
}
|
|
601
|
+
function Xi(e) {
|
|
602
|
+
return this.__data__.has(e);
|
|
603
|
+
}
|
|
604
|
+
var Zi = 200;
|
|
605
|
+
function Ji(e, t) {
|
|
606
|
+
var r = this.__data__;
|
|
607
|
+
if (r instanceof K) {
|
|
608
|
+
var n = r.__data__;
|
|
609
|
+
if (!Te || n.length < Zi - 1)
|
|
610
|
+
return n.push([e, t]), this.size = ++r.size, this;
|
|
611
|
+
r = this.__data__ = new Y(n);
|
|
612
|
+
}
|
|
613
|
+
return r.set(e, t), this.size = r.size, this;
|
|
614
|
+
}
|
|
615
|
+
function V(e) {
|
|
616
|
+
var t = this.__data__ = new K(e);
|
|
617
|
+
this.size = t.size;
|
|
618
|
+
}
|
|
619
|
+
V.prototype.clear = qi;
|
|
620
|
+
V.prototype.delete = Ki;
|
|
621
|
+
V.prototype.get = Yi;
|
|
622
|
+
V.prototype.has = Xi;
|
|
623
|
+
V.prototype.set = Ji;
|
|
624
|
+
function Qi(e, t) {
|
|
625
|
+
for (var r = -1, n = e == null ? 0 : e.length, o = 0, i = []; ++r < n; ) {
|
|
626
|
+
var a = e[r];
|
|
627
|
+
t(a, r, e) && (i[o++] = a);
|
|
628
|
+
}
|
|
629
|
+
return i;
|
|
630
|
+
}
|
|
631
|
+
function ea() {
|
|
632
|
+
return [];
|
|
633
|
+
}
|
|
634
|
+
var ta = Object.prototype, ra = ta.propertyIsEnumerable, kt = Object.getOwnPropertySymbols, na = kt ? function(e) {
|
|
635
|
+
return e == null ? [] : (e = Object(e), Qi(kt(e), function(t) {
|
|
636
|
+
return ra.call(e, t);
|
|
637
|
+
}));
|
|
638
|
+
} : ea;
|
|
639
|
+
function oa(e, t, r) {
|
|
640
|
+
var n = t(e);
|
|
641
|
+
return j(e) ? n : bt(n, r(e));
|
|
642
|
+
}
|
|
643
|
+
function Ft(e) {
|
|
644
|
+
return oa(e, pt, na);
|
|
645
|
+
}
|
|
646
|
+
var nt = le(D, "DataView"), ot = le(D, "Promise"), it = le(D, "Set"), Dt = "[object Map]", ia = "[object Object]", Ht = "[object Promise]", Wt = "[object Set]", Ut = "[object WeakMap]", Vt = "[object DataView]", aa = se(nt), sa = se(Te), la = se(ot), ua = se(it), ca = se(tt), J = ae;
|
|
647
|
+
(nt && J(new nt(new ArrayBuffer(1))) != Vt || Te && J(new Te()) != Dt || ot && J(ot.resolve()) != Ht || it && J(new it()) != Wt || tt && J(new tt()) != Ut) && (J = function(e) {
|
|
648
|
+
var t = ae(e), r = t == ia ? e.constructor : void 0, n = r ? se(r) : "";
|
|
649
|
+
if (n)
|
|
650
|
+
switch (n) {
|
|
651
|
+
case aa:
|
|
652
|
+
return Vt;
|
|
653
|
+
case sa:
|
|
654
|
+
return Dt;
|
|
655
|
+
case la:
|
|
656
|
+
return Ht;
|
|
657
|
+
case ua:
|
|
658
|
+
return Wt;
|
|
659
|
+
case ca:
|
|
660
|
+
return Ut;
|
|
661
|
+
}
|
|
662
|
+
return t;
|
|
663
|
+
});
|
|
664
|
+
var qt = D.Uint8Array;
|
|
665
|
+
function xr() {
|
|
666
|
+
var e = arguments.length;
|
|
667
|
+
if (!e)
|
|
668
|
+
return [];
|
|
669
|
+
for (var t = Array(e - 1), r = arguments[0], n = e; n--; )
|
|
670
|
+
t[n - 1] = arguments[n];
|
|
671
|
+
return bt(j(r) ? Jn(r) : [r], yr(t));
|
|
672
|
+
}
|
|
673
|
+
var da = "__lodash_hash_undefined__";
|
|
674
|
+
function fa(e) {
|
|
675
|
+
return this.__data__.set(e, da), this;
|
|
676
|
+
}
|
|
677
|
+
function pa(e) {
|
|
678
|
+
return this.__data__.has(e);
|
|
679
|
+
}
|
|
680
|
+
function Be(e) {
|
|
681
|
+
var t = -1, r = e == null ? 0 : e.length;
|
|
682
|
+
for (this.__data__ = new Y(); ++t < r; )
|
|
683
|
+
this.add(e[t]);
|
|
684
|
+
}
|
|
685
|
+
Be.prototype.add = Be.prototype.push = fa;
|
|
686
|
+
Be.prototype.has = pa;
|
|
687
|
+
function ga(e, t) {
|
|
688
|
+
for (var r = -1, n = e == null ? 0 : e.length; ++r < n; )
|
|
689
|
+
if (t(e[r], r, e))
|
|
690
|
+
return !0;
|
|
691
|
+
return !1;
|
|
692
|
+
}
|
|
693
|
+
function va(e, t) {
|
|
694
|
+
return e.has(t);
|
|
695
|
+
}
|
|
696
|
+
var ha = 1, ba = 2;
|
|
697
|
+
function _r(e, t, r, n, o, i) {
|
|
698
|
+
var a = r & ha, s = e.length, l = t.length;
|
|
699
|
+
if (s != l && !(a && l > s))
|
|
700
|
+
return !1;
|
|
701
|
+
var u = i.get(e), d = i.get(t);
|
|
702
|
+
if (u && d)
|
|
703
|
+
return u == t && d == e;
|
|
704
|
+
var c = -1, f = !0, h = r & ba ? new Be() : void 0;
|
|
705
|
+
for (i.set(e, t), i.set(t, e); ++c < s; ) {
|
|
706
|
+
var p = e[c], v = t[c];
|
|
707
|
+
if (n)
|
|
708
|
+
var g = a ? n(v, p, c, t, e, i) : n(p, v, c, e, t, i);
|
|
709
|
+
if (g !== void 0) {
|
|
710
|
+
if (g)
|
|
711
|
+
continue;
|
|
712
|
+
f = !1;
|
|
713
|
+
break;
|
|
714
|
+
}
|
|
715
|
+
if (h) {
|
|
716
|
+
if (!ga(t, function(b, w) {
|
|
717
|
+
if (!va(h, w) && (p === b || o(p, b, r, n, i)))
|
|
718
|
+
return h.push(w);
|
|
719
|
+
})) {
|
|
720
|
+
f = !1;
|
|
721
|
+
break;
|
|
722
|
+
}
|
|
723
|
+
} else if (!(p === v || o(p, v, r, n, i))) {
|
|
724
|
+
f = !1;
|
|
725
|
+
break;
|
|
726
|
+
}
|
|
727
|
+
}
|
|
728
|
+
return i.delete(e), i.delete(t), f;
|
|
729
|
+
}
|
|
730
|
+
function ma(e) {
|
|
731
|
+
var t = -1, r = Array(e.size);
|
|
732
|
+
return e.forEach(function(n, o) {
|
|
733
|
+
r[++t] = [o, n];
|
|
734
|
+
}), r;
|
|
735
|
+
}
|
|
736
|
+
function ya(e) {
|
|
737
|
+
var t = -1, r = Array(e.size);
|
|
738
|
+
return e.forEach(function(n) {
|
|
739
|
+
r[++t] = n;
|
|
740
|
+
}), r;
|
|
741
|
+
}
|
|
742
|
+
var wa = 1, xa = 2, _a = "[object Boolean]", Sa = "[object Date]", Ca = "[object Error]", Aa = "[object Map]", Ia = "[object Number]", Ta = "[object RegExp]", Oa = "[object Set]", Pa = "[object String]", $a = "[object Symbol]", Ea = "[object ArrayBuffer]", Na = "[object DataView]", Kt = F ? F.prototype : void 0, Xe = Kt ? Kt.valueOf : void 0;
|
|
743
|
+
function Ra(e, t, r, n, o, i, a) {
|
|
744
|
+
switch (r) {
|
|
745
|
+
case Na:
|
|
746
|
+
if (e.byteLength != t.byteLength || e.byteOffset != t.byteOffset)
|
|
747
|
+
return !1;
|
|
748
|
+
e = e.buffer, t = t.buffer;
|
|
749
|
+
case Ea:
|
|
750
|
+
return !(e.byteLength != t.byteLength || !i(new qt(e), new qt(t)));
|
|
751
|
+
case _a:
|
|
752
|
+
case Sa:
|
|
753
|
+
case Ia:
|
|
754
|
+
return He(+e, +t);
|
|
755
|
+
case Ca:
|
|
756
|
+
return e.name == t.name && e.message == t.message;
|
|
757
|
+
case Ta:
|
|
758
|
+
case Pa:
|
|
759
|
+
return e == t + "";
|
|
760
|
+
case Aa:
|
|
761
|
+
var s = ma;
|
|
762
|
+
case Oa:
|
|
763
|
+
var l = n & wa;
|
|
764
|
+
if (s || (s = ya), e.size != t.size && !l)
|
|
765
|
+
return !1;
|
|
766
|
+
var u = a.get(e);
|
|
767
|
+
if (u)
|
|
768
|
+
return u == t;
|
|
769
|
+
n |= xa, a.set(e, t);
|
|
770
|
+
var d = _r(s(e), s(t), n, o, i, a);
|
|
771
|
+
return a.delete(e), d;
|
|
772
|
+
case $a:
|
|
773
|
+
if (Xe)
|
|
774
|
+
return Xe.call(e) == Xe.call(t);
|
|
775
|
+
}
|
|
776
|
+
return !1;
|
|
777
|
+
}
|
|
778
|
+
var za = 1, Ma = Object.prototype, La = Ma.hasOwnProperty;
|
|
779
|
+
function ja(e, t, r, n, o, i) {
|
|
780
|
+
var a = r & za, s = Ft(e), l = s.length, u = Ft(t), d = u.length;
|
|
781
|
+
if (l != d && !a)
|
|
782
|
+
return !1;
|
|
783
|
+
for (var c = l; c--; ) {
|
|
784
|
+
var f = s[c];
|
|
785
|
+
if (!(a ? f in t : La.call(t, f)))
|
|
786
|
+
return !1;
|
|
787
|
+
}
|
|
788
|
+
var h = i.get(e), p = i.get(t);
|
|
789
|
+
if (h && p)
|
|
790
|
+
return h == t && p == e;
|
|
791
|
+
var v = !0;
|
|
792
|
+
i.set(e, t), i.set(t, e);
|
|
793
|
+
for (var g = a; ++c < l; ) {
|
|
794
|
+
f = s[c];
|
|
795
|
+
var b = e[f], w = t[f];
|
|
796
|
+
if (n)
|
|
797
|
+
var P = a ? n(w, b, f, t, e, i) : n(b, w, f, e, t, i);
|
|
798
|
+
if (!(P === void 0 ? b === w || o(b, w, r, n, i) : P)) {
|
|
799
|
+
v = !1;
|
|
800
|
+
break;
|
|
801
|
+
}
|
|
802
|
+
g || (g = f == "constructor");
|
|
803
|
+
}
|
|
804
|
+
if (v && !g) {
|
|
805
|
+
var O = e.constructor, T = t.constructor;
|
|
806
|
+
O != T && "constructor" in e && "constructor" in t && !(typeof O == "function" && O instanceof O && typeof T == "function" && T instanceof T) && (v = !1);
|
|
807
|
+
}
|
|
808
|
+
return i.delete(e), i.delete(t), v;
|
|
809
|
+
}
|
|
810
|
+
var Ba = 1, Yt = "[object Arguments]", Xt = "[object Array]", Re = "[object Object]", Ga = Object.prototype, Zt = Ga.hasOwnProperty;
|
|
811
|
+
function ka(e, t, r, n, o, i) {
|
|
812
|
+
var a = j(e), s = j(t), l = a ? Xt : J(e), u = s ? Xt : J(t);
|
|
813
|
+
l = l == Yt ? Re : l, u = u == Yt ? Re : u;
|
|
814
|
+
var d = l == Re, c = u == Re, f = l == u;
|
|
815
|
+
if (f && rt(e)) {
|
|
816
|
+
if (!rt(t))
|
|
817
|
+
return !1;
|
|
818
|
+
a = !0, d = !1;
|
|
819
|
+
}
|
|
820
|
+
if (f && !d)
|
|
821
|
+
return i || (i = new V()), a || mr(e) ? _r(e, t, r, n, o, i) : Ra(e, t, l, r, n, o, i);
|
|
822
|
+
if (!(r & Ba)) {
|
|
823
|
+
var h = d && Zt.call(e, "__wrapped__"), p = c && Zt.call(t, "__wrapped__");
|
|
824
|
+
if (h || p) {
|
|
825
|
+
var v = h ? e.value() : e, g = p ? t.value() : t;
|
|
826
|
+
return i || (i = new V()), o(v, g, r, n, i);
|
|
827
|
+
}
|
|
828
|
+
}
|
|
829
|
+
return f ? (i || (i = new V()), ja(e, t, r, n, o, i)) : !1;
|
|
830
|
+
}
|
|
831
|
+
function mt(e, t, r, n, o) {
|
|
832
|
+
return e === t ? !0 : e == null || t == null || !oe(e) && !oe(t) ? e !== e && t !== t : ka(e, t, r, n, mt, o);
|
|
833
|
+
}
|
|
834
|
+
var Fa = 1, Da = 2;
|
|
835
|
+
function Ha(e, t, r, n) {
|
|
836
|
+
var o = r.length, i = o;
|
|
837
|
+
if (e == null)
|
|
838
|
+
return !i;
|
|
839
|
+
for (e = Object(e); o--; ) {
|
|
840
|
+
var a = r[o];
|
|
841
|
+
if (a[2] ? a[1] !== e[a[0]] : !(a[0] in e))
|
|
842
|
+
return !1;
|
|
843
|
+
}
|
|
844
|
+
for (; ++o < i; ) {
|
|
845
|
+
a = r[o];
|
|
846
|
+
var s = a[0], l = e[s], u = a[1];
|
|
847
|
+
if (a[2]) {
|
|
848
|
+
if (l === void 0 && !(s in e))
|
|
849
|
+
return !1;
|
|
850
|
+
} else {
|
|
851
|
+
var d = new V(), c;
|
|
852
|
+
if (!(c === void 0 ? mt(u, l, Fa | Da, n, d) : c))
|
|
853
|
+
return !1;
|
|
854
|
+
}
|
|
855
|
+
}
|
|
856
|
+
return !0;
|
|
857
|
+
}
|
|
858
|
+
function Sr(e) {
|
|
859
|
+
return e === e && !q(e);
|
|
860
|
+
}
|
|
861
|
+
function Wa(e) {
|
|
862
|
+
for (var t = pt(e), r = t.length; r--; ) {
|
|
863
|
+
var n = t[r], o = e[n];
|
|
864
|
+
t[r] = [n, o, Sr(o)];
|
|
865
|
+
}
|
|
866
|
+
return t;
|
|
867
|
+
}
|
|
868
|
+
function Cr(e, t) {
|
|
869
|
+
return function(r) {
|
|
870
|
+
return r == null ? !1 : r[e] === t && (t !== void 0 || e in Object(r));
|
|
871
|
+
};
|
|
872
|
+
}
|
|
873
|
+
function Ua(e) {
|
|
874
|
+
var t = Wa(e);
|
|
875
|
+
return t.length == 1 && t[0][2] ? Cr(t[0][0], t[0][1]) : function(r) {
|
|
876
|
+
return r === e || Ha(r, e, t);
|
|
877
|
+
};
|
|
878
|
+
}
|
|
879
|
+
function Va(e, t) {
|
|
880
|
+
return e != null && t in Object(e);
|
|
881
|
+
}
|
|
882
|
+
function qa(e, t, r) {
|
|
883
|
+
t = Ve(t, e);
|
|
884
|
+
for (var n = -1, o = t.length, i = !1; ++n < o; ) {
|
|
885
|
+
var a = Pe(t[n]);
|
|
886
|
+
if (!(i = e != null && r(e, a)))
|
|
887
|
+
break;
|
|
888
|
+
e = e[a];
|
|
889
|
+
}
|
|
890
|
+
return i || ++n != o ? i : (o = e == null ? 0 : e.length, !!o && dt(o) && De(a, o) && (j(e) || ft(e)));
|
|
891
|
+
}
|
|
892
|
+
function Ar(e, t) {
|
|
893
|
+
return e != null && qa(e, t, Va);
|
|
894
|
+
}
|
|
895
|
+
var Ka = 1, Ya = 2;
|
|
896
|
+
function Xa(e, t) {
|
|
897
|
+
return gt(e) && Sr(t) ? Cr(Pe(e), t) : function(r) {
|
|
898
|
+
var n = ki(r, e);
|
|
899
|
+
return n === void 0 && n === t ? Ar(r, e) : mt(t, n, Ka | Ya);
|
|
900
|
+
};
|
|
901
|
+
}
|
|
902
|
+
function Za(e) {
|
|
903
|
+
return function(t) {
|
|
904
|
+
return t == null ? void 0 : t[e];
|
|
905
|
+
};
|
|
906
|
+
}
|
|
907
|
+
function Ja(e) {
|
|
908
|
+
return function(t) {
|
|
909
|
+
return ht(t, e);
|
|
910
|
+
};
|
|
911
|
+
}
|
|
912
|
+
function Qa(e) {
|
|
913
|
+
return gt(e) ? Za(Pe(e)) : Ja(e);
|
|
914
|
+
}
|
|
915
|
+
function Ir(e) {
|
|
916
|
+
return typeof e == "function" ? e : e == null ? dr : typeof e == "object" ? j(e) ? Xa(e[0], e[1]) : Ua(e) : Qa(e);
|
|
917
|
+
}
|
|
918
|
+
function es(e) {
|
|
919
|
+
return function(t, r, n) {
|
|
920
|
+
for (var o = -1, i = Object(t), a = n(t), s = a.length; s--; ) {
|
|
921
|
+
var l = a[++o];
|
|
922
|
+
if (r(i[l], l, i) === !1)
|
|
923
|
+
break;
|
|
924
|
+
}
|
|
925
|
+
return t;
|
|
926
|
+
};
|
|
927
|
+
}
|
|
928
|
+
var ts = es();
|
|
929
|
+
function rs(e, t) {
|
|
930
|
+
return e && ts(e, t, pt);
|
|
931
|
+
}
|
|
932
|
+
var Ze = function() {
|
|
933
|
+
return D.Date.now();
|
|
934
|
+
}, ns = "Expected a function", os = Math.max, is = Math.min;
|
|
935
|
+
function as(e, t, r) {
|
|
936
|
+
var n, o, i, a, s, l, u = 0, d = !1, c = !1, f = !0;
|
|
937
|
+
if (typeof e != "function")
|
|
938
|
+
throw new TypeError(ns);
|
|
939
|
+
t = Qe(t) || 0, q(r) && (d = !!r.leading, c = "maxWait" in r, i = c ? os(Qe(r.maxWait) || 0, t) : i, f = "trailing" in r ? !!r.trailing : f);
|
|
940
|
+
function h(S) {
|
|
941
|
+
var E = n, z = o;
|
|
942
|
+
return n = o = void 0, u = S, a = e.apply(z, E), a;
|
|
943
|
+
}
|
|
944
|
+
function p(S) {
|
|
945
|
+
return u = S, s = setTimeout(b, t), d ? h(S) : a;
|
|
946
|
+
}
|
|
947
|
+
function v(S) {
|
|
948
|
+
var E = S - l, z = S - u, B = t - E;
|
|
949
|
+
return c ? is(B, i - z) : B;
|
|
950
|
+
}
|
|
951
|
+
function g(S) {
|
|
952
|
+
var E = S - l, z = S - u;
|
|
953
|
+
return l === void 0 || E >= t || E < 0 || c && z >= i;
|
|
954
|
+
}
|
|
955
|
+
function b() {
|
|
956
|
+
var S = Ze();
|
|
957
|
+
if (g(S))
|
|
958
|
+
return w(S);
|
|
959
|
+
s = setTimeout(b, v(S));
|
|
960
|
+
}
|
|
961
|
+
function w(S) {
|
|
962
|
+
return s = void 0, f && n ? h(S) : (n = o = void 0, a);
|
|
963
|
+
}
|
|
964
|
+
function P() {
|
|
965
|
+
s !== void 0 && clearTimeout(s), u = 0, n = l = o = s = void 0;
|
|
966
|
+
}
|
|
967
|
+
function O() {
|
|
968
|
+
return s === void 0 ? a : w(Ze());
|
|
969
|
+
}
|
|
970
|
+
function T() {
|
|
971
|
+
var S = Ze(), E = g(S);
|
|
972
|
+
if (n = arguments, o = this, l = S, E) {
|
|
973
|
+
if (s === void 0)
|
|
974
|
+
return p(l);
|
|
975
|
+
if (c)
|
|
976
|
+
return clearTimeout(s), s = setTimeout(b, t), h(l);
|
|
977
|
+
}
|
|
978
|
+
return s === void 0 && (s = setTimeout(b, t)), a;
|
|
979
|
+
}
|
|
980
|
+
return T.cancel = P, T.flush = O, T;
|
|
981
|
+
}
|
|
982
|
+
function ss(e, t, r) {
|
|
983
|
+
var n = e == null ? 0 : e.length;
|
|
984
|
+
if (!n)
|
|
985
|
+
return -1;
|
|
986
|
+
var o = n - 1;
|
|
987
|
+
return ao(e, Ir(t), o);
|
|
988
|
+
}
|
|
989
|
+
var ls = "[object Boolean]";
|
|
990
|
+
function us(e) {
|
|
991
|
+
return e === !0 || e === !1 || oe(e) && ae(e) == ls;
|
|
992
|
+
}
|
|
993
|
+
function cs(e, t) {
|
|
994
|
+
var r = {};
|
|
995
|
+
return t = Ir(t), rs(e, function(n, o, i) {
|
|
996
|
+
pr(r, o, t(n, o, i));
|
|
997
|
+
}), r;
|
|
998
|
+
}
|
|
999
|
+
function ds(e, t, r, n) {
|
|
1000
|
+
if (!q(e))
|
|
1001
|
+
return e;
|
|
1002
|
+
t = Ve(t, e);
|
|
1003
|
+
for (var o = -1, i = t.length, a = i - 1, s = e; s != null && ++o < i; ) {
|
|
1004
|
+
var l = Pe(t[o]), u = r;
|
|
1005
|
+
if (l === "__proto__" || l === "constructor" || l === "prototype")
|
|
1006
|
+
return e;
|
|
1007
|
+
if (o != a) {
|
|
1008
|
+
var d = s[l];
|
|
1009
|
+
u = void 0, u === void 0 && (u = q(d) ? d : De(t[o + 1]) ? [] : {});
|
|
1010
|
+
}
|
|
1011
|
+
fo(s, l, u), s = s[l];
|
|
1012
|
+
}
|
|
1013
|
+
return e;
|
|
1014
|
+
}
|
|
1015
|
+
function fs(e, t, r) {
|
|
1016
|
+
for (var n = -1, o = t.length, i = {}; ++n < o; ) {
|
|
1017
|
+
var a = t[n], s = ht(e, a);
|
|
1018
|
+
r(s, a) && ds(i, Ve(a, e), s);
|
|
1019
|
+
}
|
|
1020
|
+
return i;
|
|
1021
|
+
}
|
|
1022
|
+
function ps(e, t) {
|
|
1023
|
+
return fs(e, t, function(r, n) {
|
|
1024
|
+
return Ar(e, n);
|
|
1025
|
+
});
|
|
1026
|
+
}
|
|
1027
|
+
var Jt = Hi(function(e, t) {
|
|
1028
|
+
return e == null ? {} : ps(e, t);
|
|
1029
|
+
});
|
|
1030
|
+
function Qt(e, t, r) {
|
|
1031
|
+
var n = e == null ? 0 : e.length;
|
|
1032
|
+
return n ? (r && typeof r != "number" && vo(e, t, r) ? (t = 0, r = n) : (t = t == null ? 0 : et(t), r = r === void 0 ? n : et(r)), wr(e, t, r)) : [];
|
|
1033
|
+
}
|
|
1034
|
+
const Tr = Symbol.for("evo-vue-carousel__register-slide-client"), gs = () => {
|
|
1035
|
+
const e = $(/* @__PURE__ */ new Map()), t = $(!1), r = _(() => e.value.size), n = as(() => {
|
|
1036
|
+
t.value = !0;
|
|
1037
|
+
}, 5);
|
|
1038
|
+
return ce(Tr, {
|
|
1039
|
+
registerSlide: (s, l, { width: u = 0 } = {}) => {
|
|
1040
|
+
e.value.set(s, { instance: l, width: u }), n();
|
|
1041
|
+
},
|
|
1042
|
+
updateSlide: (s, l) => {
|
|
1043
|
+
const u = e.value.get(s) ?? {};
|
|
1044
|
+
e.value.set(s, Object.assign(u, l));
|
|
1045
|
+
},
|
|
1046
|
+
unregisterSlide: (s) => {
|
|
1047
|
+
e.value.delete(s);
|
|
1048
|
+
}
|
|
1049
|
+
}), {
|
|
1050
|
+
slides: te(e),
|
|
1051
|
+
slideCount: te(r),
|
|
1052
|
+
isInit: te(t)
|
|
1053
|
+
};
|
|
1054
|
+
}, vs = () => de(Tr);
|
|
1055
|
+
function Oe(e) {
|
|
1056
|
+
return Xr() ? (Zr(e), !0) : !1;
|
|
1057
|
+
}
|
|
1058
|
+
function $e(e) {
|
|
1059
|
+
return typeof e == "function" ? e() : y(e);
|
|
1060
|
+
}
|
|
1061
|
+
const at = typeof window < "u" && typeof document < "u";
|
|
1062
|
+
typeof WorkerGlobalScope < "u" && globalThis instanceof WorkerGlobalScope;
|
|
1063
|
+
const hs = Object.prototype.toString, bs = (e) => hs.call(e) === "[object Object]", ms = () => {
|
|
1064
|
+
};
|
|
1065
|
+
function ys(e) {
|
|
1066
|
+
return ut();
|
|
1067
|
+
}
|
|
1068
|
+
function Or(e, t = !0, r) {
|
|
1069
|
+
ys() ? ir(e, r) : t ? e() : Jr(e);
|
|
1070
|
+
}
|
|
1071
|
+
function Pr(e, t = 1e3, r = {}) {
|
|
1072
|
+
const {
|
|
1073
|
+
immediate: n = !0,
|
|
1074
|
+
immediateCallback: o = !1
|
|
1075
|
+
} = r;
|
|
1076
|
+
let i = null;
|
|
1077
|
+
const a = $(!1);
|
|
1078
|
+
function s() {
|
|
1079
|
+
i && (clearInterval(i), i = null);
|
|
1080
|
+
}
|
|
1081
|
+
function l() {
|
|
1082
|
+
a.value = !1, s();
|
|
1083
|
+
}
|
|
1084
|
+
function u() {
|
|
1085
|
+
const d = $e(t);
|
|
1086
|
+
d <= 0 || (a.value = !0, o && e(), s(), i = setInterval(e, d));
|
|
1087
|
+
}
|
|
1088
|
+
if (n && at && u(), Yr(t) || typeof t == "function") {
|
|
1089
|
+
const d = k(t, () => {
|
|
1090
|
+
a.value && at && u();
|
|
1091
|
+
});
|
|
1092
|
+
Oe(d);
|
|
1093
|
+
}
|
|
1094
|
+
return Oe(l), {
|
|
1095
|
+
isActive: a,
|
|
1096
|
+
pause: l,
|
|
1097
|
+
resume: u
|
|
1098
|
+
};
|
|
1099
|
+
}
|
|
1100
|
+
const he = at ? window : void 0;
|
|
1101
|
+
function ee(e) {
|
|
1102
|
+
var t;
|
|
1103
|
+
const r = $e(e);
|
|
1104
|
+
return (t = r == null ? void 0 : r.$el) != null ? t : r;
|
|
1105
|
+
}
|
|
1106
|
+
function st(...e) {
|
|
1107
|
+
let t, r, n, o;
|
|
1108
|
+
if (typeof e[0] == "string" || Array.isArray(e[0]) ? ([r, n, o] = e, t = he) : [t, r, n, o] = e, !t)
|
|
1109
|
+
return ms;
|
|
1110
|
+
Array.isArray(r) || (r = [r]), Array.isArray(n) || (n = [n]);
|
|
1111
|
+
const i = [], a = () => {
|
|
1112
|
+
i.forEach((d) => d()), i.length = 0;
|
|
1113
|
+
}, s = (d, c, f, h) => (d.addEventListener(c, f, h), () => d.removeEventListener(c, f, h)), l = k(
|
|
1114
|
+
() => [ee(t), $e(o)],
|
|
1115
|
+
([d, c]) => {
|
|
1116
|
+
if (a(), !d)
|
|
1117
|
+
return;
|
|
1118
|
+
const f = bs(c) ? { ...c } : c;
|
|
1119
|
+
i.push(
|
|
1120
|
+
...r.flatMap((h) => n.map((p) => s(d, h, p, f)))
|
|
1121
|
+
);
|
|
1122
|
+
},
|
|
1123
|
+
{ immediate: !0, flush: "post" }
|
|
1124
|
+
), u = () => {
|
|
1125
|
+
l(), a();
|
|
1126
|
+
};
|
|
1127
|
+
return Oe(u), u;
|
|
1128
|
+
}
|
|
1129
|
+
function ws() {
|
|
1130
|
+
const e = $(!1), t = ut();
|
|
1131
|
+
return t && ir(() => {
|
|
1132
|
+
e.value = !0;
|
|
1133
|
+
}, t), e;
|
|
1134
|
+
}
|
|
1135
|
+
function $r(e) {
|
|
1136
|
+
const t = ws();
|
|
1137
|
+
return _(() => (t.value, !!e()));
|
|
1138
|
+
}
|
|
1139
|
+
function xs(e, t = {}) {
|
|
1140
|
+
const { window: r = he } = t, n = $r(() => r && "matchMedia" in r && typeof r.matchMedia == "function");
|
|
1141
|
+
let o;
|
|
1142
|
+
const i = $(!1), a = (u) => {
|
|
1143
|
+
i.value = u.matches;
|
|
1144
|
+
}, s = () => {
|
|
1145
|
+
o && ("removeEventListener" in o ? o.removeEventListener("change", a) : o.removeListener(a));
|
|
1146
|
+
}, l = Qr(() => {
|
|
1147
|
+
n.value && (s(), o = r.matchMedia($e(e)), "addEventListener" in o ? o.addEventListener("change", a) : o.addListener(a), i.value = o.matches);
|
|
1148
|
+
});
|
|
1149
|
+
return Oe(() => {
|
|
1150
|
+
l(), s(), o = void 0;
|
|
1151
|
+
}), i;
|
|
1152
|
+
}
|
|
1153
|
+
function _s(e, t, r = {}) {
|
|
1154
|
+
const { window: n = he, ...o } = r;
|
|
1155
|
+
let i;
|
|
1156
|
+
const a = $r(() => n && "ResizeObserver" in n), s = () => {
|
|
1157
|
+
i && (i.disconnect(), i = void 0);
|
|
1158
|
+
}, l = _(() => {
|
|
1159
|
+
const c = $e(e);
|
|
1160
|
+
return Array.isArray(c) ? c.map((f) => ee(f)) : [ee(c)];
|
|
1161
|
+
}), u = k(
|
|
1162
|
+
l,
|
|
1163
|
+
(c) => {
|
|
1164
|
+
if (s(), a.value && n) {
|
|
1165
|
+
i = new ResizeObserver(t);
|
|
1166
|
+
for (const f of c)
|
|
1167
|
+
f && i.observe(f, o);
|
|
1168
|
+
}
|
|
1169
|
+
},
|
|
1170
|
+
{ immediate: !0, flush: "post" }
|
|
1171
|
+
), d = () => {
|
|
1172
|
+
s(), u();
|
|
1173
|
+
};
|
|
1174
|
+
return Oe(d), {
|
|
1175
|
+
isSupported: a,
|
|
1176
|
+
stop: d
|
|
1177
|
+
};
|
|
1178
|
+
}
|
|
1179
|
+
function Ss(e, t = {}) {
|
|
1180
|
+
const {
|
|
1181
|
+
delayEnter: r = 0,
|
|
1182
|
+
delayLeave: n = 0,
|
|
1183
|
+
window: o = he
|
|
1184
|
+
} = t, i = $(!1);
|
|
1185
|
+
let a;
|
|
1186
|
+
const s = (l) => {
|
|
1187
|
+
const u = l ? r : n;
|
|
1188
|
+
a && (clearTimeout(a), a = void 0), u ? a = setTimeout(() => i.value = l, u) : i.value = l;
|
|
1189
|
+
};
|
|
1190
|
+
return o && (st(e, "mouseenter", () => s(!0), { passive: !0 }), st(e, "mouseleave", () => s(!1), { passive: !0 })), i;
|
|
1191
|
+
}
|
|
1192
|
+
function yt(e, t = { width: 0, height: 0 }, r = {}) {
|
|
1193
|
+
const { window: n = he, box: o = "content-box" } = r, i = _(() => {
|
|
1194
|
+
var c, f;
|
|
1195
|
+
return (f = (c = ee(e)) == null ? void 0 : c.namespaceURI) == null ? void 0 : f.includes("svg");
|
|
1196
|
+
}), a = $(t.width), s = $(t.height), { stop: l } = _s(
|
|
1197
|
+
e,
|
|
1198
|
+
([c]) => {
|
|
1199
|
+
const f = o === "border-box" ? c.borderBoxSize : o === "content-box" ? c.contentBoxSize : c.devicePixelContentBoxSize;
|
|
1200
|
+
if (n && i.value) {
|
|
1201
|
+
const h = ee(e);
|
|
1202
|
+
if (h) {
|
|
1203
|
+
const p = h.getBoundingClientRect();
|
|
1204
|
+
a.value = p.width, s.value = p.height;
|
|
1205
|
+
}
|
|
1206
|
+
} else if (f) {
|
|
1207
|
+
const h = Array.isArray(f) ? f : [f];
|
|
1208
|
+
a.value = h.reduce((p, { inlineSize: v }) => p + v, 0), s.value = h.reduce((p, { blockSize: v }) => p + v, 0);
|
|
1209
|
+
} else
|
|
1210
|
+
a.value = c.contentRect.width, s.value = c.contentRect.height;
|
|
1211
|
+
},
|
|
1212
|
+
r
|
|
1213
|
+
);
|
|
1214
|
+
Or(() => {
|
|
1215
|
+
const c = ee(e);
|
|
1216
|
+
c && (a.value = "offsetWidth" in c ? c.offsetWidth : t.width, s.value = "offsetHeight" in c ? c.offsetHeight : t.height);
|
|
1217
|
+
});
|
|
1218
|
+
const u = k(
|
|
1219
|
+
() => ee(e),
|
|
1220
|
+
(c) => {
|
|
1221
|
+
a.value = c ? t.width : 0, s.value = c ? t.height : 0;
|
|
1222
|
+
}
|
|
1223
|
+
);
|
|
1224
|
+
function d() {
|
|
1225
|
+
l(), u();
|
|
1226
|
+
}
|
|
1227
|
+
return {
|
|
1228
|
+
width: a,
|
|
1229
|
+
height: s,
|
|
1230
|
+
stop: d
|
|
1231
|
+
};
|
|
1232
|
+
}
|
|
1233
|
+
function Cs(e = {}) {
|
|
1234
|
+
const {
|
|
1235
|
+
window: t = he,
|
|
1236
|
+
initialWidth: r = Number.POSITIVE_INFINITY,
|
|
1237
|
+
initialHeight: n = Number.POSITIVE_INFINITY,
|
|
1238
|
+
listenOrientation: o = !0,
|
|
1239
|
+
includeScrollbar: i = !0,
|
|
1240
|
+
type: a = "inner"
|
|
1241
|
+
} = e, s = $(r), l = $(n), u = () => {
|
|
1242
|
+
t && (a === "outer" ? (s.value = t.outerWidth, l.value = t.outerHeight) : i ? (s.value = t.innerWidth, l.value = t.innerHeight) : (s.value = t.document.documentElement.clientWidth, l.value = t.document.documentElement.clientHeight));
|
|
1243
|
+
};
|
|
1244
|
+
if (u(), Or(u), st("resize", u, { passive: !0 }), o) {
|
|
1245
|
+
const d = xs("(orientation: portrait)");
|
|
1246
|
+
k(d, () => u());
|
|
1247
|
+
}
|
|
1248
|
+
return { width: s, height: l };
|
|
1249
|
+
}
|
|
1250
|
+
const er = [
|
|
1251
|
+
"perPage",
|
|
1252
|
+
"mode",
|
|
1253
|
+
"autoplay",
|
|
1254
|
+
"wrap",
|
|
1255
|
+
"gap",
|
|
1256
|
+
"slideBy",
|
|
1257
|
+
"transitionSpeed",
|
|
1258
|
+
"pauseOnHover",
|
|
1259
|
+
"slideTransitionTimingClass",
|
|
1260
|
+
"hideNavigation",
|
|
1261
|
+
"hidePagination"
|
|
1262
|
+
];
|
|
1263
|
+
function As(e, t) {
|
|
1264
|
+
const r = parseInt(this.perPage);
|
|
1265
|
+
switch (t) {
|
|
1266
|
+
case "perPage":
|
|
1267
|
+
case "transitionSpeed":
|
|
1268
|
+
return +e;
|
|
1269
|
+
case "slideBy":
|
|
1270
|
+
return e ? +e : r;
|
|
1271
|
+
case "gap":
|
|
1272
|
+
return r === 1 ? 0 : +e;
|
|
1273
|
+
case "autoplay":
|
|
1274
|
+
return e ? e === !0 ? 2e3 : +e : !1;
|
|
1275
|
+
case "wrap":
|
|
1276
|
+
case "pauseOnHover":
|
|
1277
|
+
case "hideNavigation":
|
|
1278
|
+
case "hidePagination":
|
|
1279
|
+
return us(e) ? e : !!e;
|
|
1280
|
+
default:
|
|
1281
|
+
return e;
|
|
1282
|
+
}
|
|
1283
|
+
}
|
|
1284
|
+
const Is = (e) => {
|
|
1285
|
+
const { width: t } = Cs(), r = _(() => Jt(e, er)), n = _(
|
|
1286
|
+
() => Object.entries(e.responsive).map(([i, a]) => [parseInt(i), Jt(a, er)]).filter((i) => isNaN(i[0]) === !1).sort((i, a) => a[0] - i[0])
|
|
1287
|
+
), o = _(() => {
|
|
1288
|
+
const i = n.value.find((a) => t.value >= a[0]);
|
|
1289
|
+
return i ? i[1] : {};
|
|
1290
|
+
});
|
|
1291
|
+
return _(() => {
|
|
1292
|
+
const i = Object.assign({}, r.value, o.value);
|
|
1293
|
+
return cs(i, As.bind(i));
|
|
1294
|
+
});
|
|
1295
|
+
}, Er = (e, t, r) => {
|
|
1296
|
+
const n = r.value.mode === Le.GALLERY, o = r.value.wrap === !0, i = r.value.perPage, a = t - i;
|
|
1297
|
+
return n ? e < 0 && o === !1 || a < 0 || e > t ? 0 : e : o === !1 && e <= 0 ? 0 : o === !1 && e >= t ? a : e;
|
|
1298
|
+
}, Nr = Symbol.for("evo-vue-carousel__config"), Rr = Symbol.for("evo-vue-carousel__slide-count"), zr = Symbol.for("evo-vue-carousel__current-index"), Mr = Symbol.for("evo-vue-carousel__is-hovered"), Lr = Symbol.for("evo-vue-carousel__is-navigating"), Ts = (e, t, r) => {
|
|
1299
|
+
const n = $(!1), o = Is(e), i = $(Er(e.initialIndex, t.value, o)), a = Ss(r, {
|
|
1300
|
+
delayEnter: +e.hoverDelayEnter,
|
|
1301
|
+
delayLeave: +e.hoverDelayLeave
|
|
1302
|
+
});
|
|
1303
|
+
return ce(Nr, o), ce(Rr, te(t)), ce(zr, i), ce(Mr, a), ce(Lr, n), {
|
|
1304
|
+
config: o,
|
|
1305
|
+
currentIndex: te(i),
|
|
1306
|
+
isHovered: a
|
|
1307
|
+
};
|
|
1308
|
+
}, Ee = () => {
|
|
1309
|
+
const e = de(Nr), t = de(zr), r = de(Rr), n = de(Mr), o = de(Lr), i = (s) => {
|
|
1310
|
+
t.value = Er(s, r.value, e);
|
|
1311
|
+
}, a = (s) => {
|
|
1312
|
+
o.value = s;
|
|
1313
|
+
};
|
|
1314
|
+
return {
|
|
1315
|
+
config: e,
|
|
1316
|
+
currentIndex: te(t),
|
|
1317
|
+
setCurrentIndex: i,
|
|
1318
|
+
slideCount: r,
|
|
1319
|
+
isHovered: n,
|
|
1320
|
+
isNavigating: te(o),
|
|
1321
|
+
setIsNavigating: a
|
|
1322
|
+
};
|
|
1323
|
+
}, Os = { class: "evo-vue-carousel__content h-full max-h-full relative" }, Ps = {
|
|
1324
|
+
key: 0,
|
|
1325
|
+
class: "evo-vue-carousel__overlay absolute inset-0"
|
|
1326
|
+
}, El = {
|
|
1327
|
+
__name: "index",
|
|
1328
|
+
props: {
|
|
1329
|
+
autoplay: {
|
|
1330
|
+
type: [Boolean, Number],
|
|
1331
|
+
default: !1
|
|
1332
|
+
},
|
|
1333
|
+
wrap: {
|
|
1334
|
+
type: Boolean,
|
|
1335
|
+
default: !1
|
|
1336
|
+
},
|
|
1337
|
+
hideNavigation: {
|
|
1338
|
+
type: Boolean,
|
|
1339
|
+
default: !1
|
|
1340
|
+
},
|
|
1341
|
+
hidePagination: {
|
|
1342
|
+
type: Boolean,
|
|
1343
|
+
default: !1
|
|
1344
|
+
},
|
|
1345
|
+
responsive: {
|
|
1346
|
+
type: Object,
|
|
1347
|
+
default: () => ({})
|
|
1348
|
+
},
|
|
1349
|
+
perPage: {
|
|
1350
|
+
type: [Number, String],
|
|
1351
|
+
default: 1
|
|
1352
|
+
},
|
|
1353
|
+
slideBy: {
|
|
1354
|
+
type: [Number, String],
|
|
1355
|
+
default: null
|
|
1356
|
+
},
|
|
1357
|
+
mode: {
|
|
1358
|
+
type: String,
|
|
1359
|
+
default: Le.SLIDER,
|
|
1360
|
+
validator: (e) => Object.values(Le).includes(e)
|
|
1361
|
+
},
|
|
1362
|
+
initialIndex: {
|
|
1363
|
+
type: [String, Number],
|
|
1364
|
+
default: 0
|
|
1365
|
+
},
|
|
1366
|
+
gap: {
|
|
1367
|
+
type: [String, Number],
|
|
1368
|
+
default: 0
|
|
1369
|
+
},
|
|
1370
|
+
/**
|
|
1371
|
+
* @namespace Classes
|
|
1372
|
+
*/
|
|
1373
|
+
viewportClass: {
|
|
1374
|
+
type: String,
|
|
1375
|
+
default: ""
|
|
1376
|
+
},
|
|
1377
|
+
/**
|
|
1378
|
+
* @namespace Classes
|
|
1379
|
+
*/
|
|
1380
|
+
paginationClass: {
|
|
1381
|
+
type: String,
|
|
1382
|
+
default: "flex justify-center gap-4 absolute bottom-0 w-full"
|
|
1383
|
+
},
|
|
1384
|
+
/**
|
|
1385
|
+
* @namespace Classes
|
|
1386
|
+
*/
|
|
1387
|
+
paginationBackgroundClass: {
|
|
1388
|
+
type: String,
|
|
1389
|
+
default: "bg-zinc-900/10 py-1 backdrop-blur-sm"
|
|
1390
|
+
},
|
|
1391
|
+
/**
|
|
1392
|
+
* @namespace Classes
|
|
1393
|
+
*/
|
|
1394
|
+
paginationItemClass: {
|
|
1395
|
+
type: String,
|
|
1396
|
+
default: "border-white/50 border-2 rounded-full p-0.5 flex justify-center items-center hover:border-white/100 transition-colors duration-300"
|
|
1397
|
+
},
|
|
1398
|
+
/**
|
|
1399
|
+
* @namespace Classes
|
|
1400
|
+
*/
|
|
1401
|
+
paginationItemActiveClass: {
|
|
1402
|
+
type: String,
|
|
1403
|
+
default: "pointer-events-none"
|
|
1404
|
+
},
|
|
1405
|
+
/**
|
|
1406
|
+
* @namespace Classes
|
|
1407
|
+
*/
|
|
1408
|
+
paginationItemDotClass: {
|
|
1409
|
+
type: String,
|
|
1410
|
+
default: "rounded-full origin-center scale-0 bg-white/50 transition-transform"
|
|
1411
|
+
},
|
|
1412
|
+
/**
|
|
1413
|
+
* @namespace Classes
|
|
1414
|
+
*/
|
|
1415
|
+
paginationItemSizeClass: {
|
|
1416
|
+
type: String,
|
|
1417
|
+
default: "size-4"
|
|
1418
|
+
},
|
|
1419
|
+
/**
|
|
1420
|
+
* @namespace Classes
|
|
1421
|
+
*/
|
|
1422
|
+
paginationItemDotActiveClass: {
|
|
1423
|
+
type: String,
|
|
1424
|
+
default: "scale-100 bg-white/70"
|
|
1425
|
+
},
|
|
1426
|
+
/**
|
|
1427
|
+
* @namespace Classes
|
|
1428
|
+
*/
|
|
1429
|
+
navigationClass: {
|
|
1430
|
+
type: String,
|
|
1431
|
+
default: "absolute top-1/2 left-0 right-0 -translate-y-1/2 flex items-center justify-between"
|
|
1432
|
+
},
|
|
1433
|
+
/**
|
|
1434
|
+
* @namespace Classes
|
|
1435
|
+
*/
|
|
1436
|
+
navigationItemClass: {
|
|
1437
|
+
type: String,
|
|
1438
|
+
default: "relative before:absolute before:inset-0 before:bg-current before:opacity-0 before:transition-opacity hover:before:opacity-10 active:before:opacity-20 before:duration-300 disabled:pointer-events-none disabled:opacity-30 transition-opacity"
|
|
1439
|
+
},
|
|
1440
|
+
/**
|
|
1441
|
+
* @namespace Classes
|
|
1442
|
+
*/
|
|
1443
|
+
navigationItemSizeClass: {
|
|
1444
|
+
type: String,
|
|
1445
|
+
default: "size-16"
|
|
1446
|
+
},
|
|
1447
|
+
/**
|
|
1448
|
+
* @namespace Classes
|
|
1449
|
+
*/
|
|
1450
|
+
navigationPrevClass: {
|
|
1451
|
+
type: String,
|
|
1452
|
+
default: "-translate-x-full"
|
|
1453
|
+
},
|
|
1454
|
+
/**
|
|
1455
|
+
* @namespace Classes
|
|
1456
|
+
*/
|
|
1457
|
+
navigationNextClass: {
|
|
1458
|
+
type: String,
|
|
1459
|
+
default: "translate-x-full"
|
|
1460
|
+
},
|
|
1461
|
+
transitionSpeed: {
|
|
1462
|
+
type: [String, Number],
|
|
1463
|
+
default: 200
|
|
1464
|
+
},
|
|
1465
|
+
slideTransitionTimingClass: {
|
|
1466
|
+
type: String,
|
|
1467
|
+
default: "ease-linear"
|
|
1468
|
+
},
|
|
1469
|
+
pauseOnHover: {
|
|
1470
|
+
type: Boolean,
|
|
1471
|
+
default: !1
|
|
1472
|
+
},
|
|
1473
|
+
disableOnNavigation: {
|
|
1474
|
+
type: Boolean,
|
|
1475
|
+
default: !1
|
|
1476
|
+
},
|
|
1477
|
+
hoverDelayEnter: {
|
|
1478
|
+
type: [String, Number],
|
|
1479
|
+
default: 0
|
|
1480
|
+
},
|
|
1481
|
+
hoverDelayLeave: {
|
|
1482
|
+
type: [String, Number],
|
|
1483
|
+
default: 0
|
|
1484
|
+
}
|
|
1485
|
+
},
|
|
1486
|
+
setup(e) {
|
|
1487
|
+
const t = e, r = $(null), { slideCount: n, isInit: o } = gs(), { config: i, isHovered: a } = Ts(t, n, r);
|
|
1488
|
+
return (s, l) => (L(), ve("div", {
|
|
1489
|
+
ref_key: "sliderRef",
|
|
1490
|
+
ref: r,
|
|
1491
|
+
class: N(["evo-vue-carousel relative max-h-full", {
|
|
1492
|
+
"is-hovered": y(a)
|
|
1493
|
+
}])
|
|
1494
|
+
}, [
|
|
1495
|
+
pe("div", Os, [
|
|
1496
|
+
U(y(Ce), {
|
|
1497
|
+
slots: s.$slots,
|
|
1498
|
+
only: ["default"]
|
|
1499
|
+
}, {
|
|
1500
|
+
default: re(() => [
|
|
1501
|
+
y(i).mode === "gallery" ? (L(), fe(y(Pl), {
|
|
1502
|
+
key: 0,
|
|
1503
|
+
"total-slides": y(n),
|
|
1504
|
+
"is-init": y(o)
|
|
1505
|
+
}, null, 8, ["total-slides", "is-init"])) : (L(), fe(y(Tl), {
|
|
1506
|
+
key: 1,
|
|
1507
|
+
class: N(t.viewportClass),
|
|
1508
|
+
"total-slides": y(n),
|
|
1509
|
+
"is-init": y(o)
|
|
1510
|
+
}, null, 8, ["class", "total-slides", "is-init"]))
|
|
1511
|
+
]),
|
|
1512
|
+
_: 1
|
|
1513
|
+
}, 8, ["slots"]),
|
|
1514
|
+
s.$slots.overlay ? (L(), ve("div", Ps, [
|
|
1515
|
+
ne(s.$slots, "overlay")
|
|
1516
|
+
])) : ze("", !0),
|
|
1517
|
+
y(i).hideNavigation !== !0 ? (L(), fe(y(Ce), {
|
|
1518
|
+
key: 1,
|
|
1519
|
+
slots: s.$slots,
|
|
1520
|
+
only: ["navigation-prev", "navigation-next", "navigation"]
|
|
1521
|
+
}, {
|
|
1522
|
+
default: re(() => [
|
|
1523
|
+
U(y(hl), {
|
|
1524
|
+
class: N(t.navigationClass),
|
|
1525
|
+
"item-class": t.navigationItemClass,
|
|
1526
|
+
"item-size-class": t.navigationItemSizeClass,
|
|
1527
|
+
"prev-class": t.navigationPrevClass,
|
|
1528
|
+
"next-class": t.navigationNextClass,
|
|
1529
|
+
"total-slides": y(n),
|
|
1530
|
+
"disable-on-navigation": t.disableOnNavigation
|
|
1531
|
+
}, null, 8, ["class", "item-class", "item-size-class", "prev-class", "next-class", "total-slides", "disable-on-navigation"])
|
|
1532
|
+
]),
|
|
1533
|
+
_: 1
|
|
1534
|
+
}, 8, ["slots"])) : ze("", !0)
|
|
1535
|
+
]),
|
|
1536
|
+
y(i).hidePagination !== !0 ? (L(), fe(y(Ce), {
|
|
1537
|
+
key: 0,
|
|
1538
|
+
slots: s.$slots,
|
|
1539
|
+
only: ["pagination", "pagination-item"]
|
|
1540
|
+
}, {
|
|
1541
|
+
default: re(() => [
|
|
1542
|
+
U(y(ul), {
|
|
1543
|
+
class: N(t.paginationClass),
|
|
1544
|
+
"background-class": t.paginationBackgroundClass,
|
|
1545
|
+
"item-class": t.paginationItemClass,
|
|
1546
|
+
"item-size-class": t.paginationItemSizeClass,
|
|
1547
|
+
"item-active-class": t.paginationItemActiveClass,
|
|
1548
|
+
"item-dot-class": t.paginationItemDotClass,
|
|
1549
|
+
"item-dot-active-class": t.paginationItemDotActiveClass,
|
|
1550
|
+
"total-slides": y(n),
|
|
1551
|
+
"per-page": y(i).perPage,
|
|
1552
|
+
wrap: y(i).wrap,
|
|
1553
|
+
"disable-on-navigation": t.disableOnNavigation
|
|
1554
|
+
}, null, 8, ["class", "background-class", "item-class", "item-size-class", "item-active-class", "item-dot-class", "item-dot-active-class", "total-slides", "per-page", "wrap", "disable-on-navigation"])
|
|
1555
|
+
]),
|
|
1556
|
+
_: 1
|
|
1557
|
+
}, 8, ["slots"])) : ze("", !0)
|
|
1558
|
+
], 2));
|
|
1559
|
+
}
|
|
1560
|
+
}, wt = "-", $s = (e) => {
|
|
1561
|
+
const t = Ns(e), {
|
|
1562
|
+
conflictingClassGroups: r,
|
|
1563
|
+
conflictingClassGroupModifiers: n
|
|
1564
|
+
} = e;
|
|
1565
|
+
return {
|
|
1566
|
+
getClassGroupId: (a) => {
|
|
1567
|
+
const s = a.split(wt);
|
|
1568
|
+
return s[0] === "" && s.length !== 1 && s.shift(), jr(s, t) || Es(a);
|
|
1569
|
+
},
|
|
1570
|
+
getConflictingClassGroupIds: (a, s) => {
|
|
1571
|
+
const l = r[a] || [];
|
|
1572
|
+
return s && n[a] ? [...l, ...n[a]] : l;
|
|
1573
|
+
}
|
|
1574
|
+
};
|
|
1575
|
+
}, jr = (e, t) => {
|
|
1576
|
+
var a;
|
|
1577
|
+
if (e.length === 0)
|
|
1578
|
+
return t.classGroupId;
|
|
1579
|
+
const r = e[0], n = t.nextPart.get(r), o = n ? jr(e.slice(1), n) : void 0;
|
|
1580
|
+
if (o)
|
|
1581
|
+
return o;
|
|
1582
|
+
if (t.validators.length === 0)
|
|
1583
|
+
return;
|
|
1584
|
+
const i = e.join(wt);
|
|
1585
|
+
return (a = t.validators.find(({
|
|
1586
|
+
validator: s
|
|
1587
|
+
}) => s(i))) == null ? void 0 : a.classGroupId;
|
|
1588
|
+
}, tr = /^\[(.+)\]$/, Es = (e) => {
|
|
1589
|
+
if (tr.test(e)) {
|
|
1590
|
+
const t = tr.exec(e)[1], r = t == null ? void 0 : t.substring(0, t.indexOf(":"));
|
|
1591
|
+
if (r)
|
|
1592
|
+
return "arbitrary.." + r;
|
|
1593
|
+
}
|
|
1594
|
+
}, Ns = (e) => {
|
|
1595
|
+
const {
|
|
1596
|
+
theme: t,
|
|
1597
|
+
prefix: r
|
|
1598
|
+
} = e, n = {
|
|
1599
|
+
nextPart: /* @__PURE__ */ new Map(),
|
|
1600
|
+
validators: []
|
|
1601
|
+
};
|
|
1602
|
+
return zs(Object.entries(e.classGroups), r).forEach(([i, a]) => {
|
|
1603
|
+
lt(a, n, i, t);
|
|
1604
|
+
}), n;
|
|
1605
|
+
}, lt = (e, t, r, n) => {
|
|
1606
|
+
e.forEach((o) => {
|
|
1607
|
+
if (typeof o == "string") {
|
|
1608
|
+
const i = o === "" ? t : rr(t, o);
|
|
1609
|
+
i.classGroupId = r;
|
|
1610
|
+
return;
|
|
1611
|
+
}
|
|
1612
|
+
if (typeof o == "function") {
|
|
1613
|
+
if (Rs(o)) {
|
|
1614
|
+
lt(o(n), t, r, n);
|
|
1615
|
+
return;
|
|
1616
|
+
}
|
|
1617
|
+
t.validators.push({
|
|
1618
|
+
validator: o,
|
|
1619
|
+
classGroupId: r
|
|
1620
|
+
});
|
|
1621
|
+
return;
|
|
1622
|
+
}
|
|
1623
|
+
Object.entries(o).forEach(([i, a]) => {
|
|
1624
|
+
lt(a, rr(t, i), r, n);
|
|
1625
|
+
});
|
|
1626
|
+
});
|
|
1627
|
+
}, rr = (e, t) => {
|
|
1628
|
+
let r = e;
|
|
1629
|
+
return t.split(wt).forEach((n) => {
|
|
1630
|
+
r.nextPart.has(n) || r.nextPart.set(n, {
|
|
1631
|
+
nextPart: /* @__PURE__ */ new Map(),
|
|
1632
|
+
validators: []
|
|
1633
|
+
}), r = r.nextPart.get(n);
|
|
1634
|
+
}), r;
|
|
1635
|
+
}, Rs = (e) => e.isThemeGetter, zs = (e, t) => t ? e.map(([r, n]) => {
|
|
1636
|
+
const o = n.map((i) => typeof i == "string" ? t + i : typeof i == "object" ? Object.fromEntries(Object.entries(i).map(([a, s]) => [t + a, s])) : i);
|
|
1637
|
+
return [r, o];
|
|
1638
|
+
}) : e, Ms = (e) => {
|
|
1639
|
+
if (e < 1)
|
|
1640
|
+
return {
|
|
1641
|
+
get: () => {
|
|
1642
|
+
},
|
|
1643
|
+
set: () => {
|
|
1644
|
+
}
|
|
1645
|
+
};
|
|
1646
|
+
let t = 0, r = /* @__PURE__ */ new Map(), n = /* @__PURE__ */ new Map();
|
|
1647
|
+
const o = (i, a) => {
|
|
1648
|
+
r.set(i, a), t++, t > e && (t = 0, n = r, r = /* @__PURE__ */ new Map());
|
|
1649
|
+
};
|
|
1650
|
+
return {
|
|
1651
|
+
get(i) {
|
|
1652
|
+
let a = r.get(i);
|
|
1653
|
+
if (a !== void 0)
|
|
1654
|
+
return a;
|
|
1655
|
+
if ((a = n.get(i)) !== void 0)
|
|
1656
|
+
return o(i, a), a;
|
|
1657
|
+
},
|
|
1658
|
+
set(i, a) {
|
|
1659
|
+
r.has(i) ? r.set(i, a) : o(i, a);
|
|
1660
|
+
}
|
|
1661
|
+
};
|
|
1662
|
+
}, Br = "!", Ls = (e) => {
|
|
1663
|
+
const {
|
|
1664
|
+
separator: t,
|
|
1665
|
+
experimentalParseClassName: r
|
|
1666
|
+
} = e, n = t.length === 1, o = t[0], i = t.length, a = (s) => {
|
|
1667
|
+
const l = [];
|
|
1668
|
+
let u = 0, d = 0, c;
|
|
1669
|
+
for (let g = 0; g < s.length; g++) {
|
|
1670
|
+
let b = s[g];
|
|
1671
|
+
if (u === 0) {
|
|
1672
|
+
if (b === o && (n || s.slice(g, g + i) === t)) {
|
|
1673
|
+
l.push(s.slice(d, g)), d = g + i;
|
|
1674
|
+
continue;
|
|
1675
|
+
}
|
|
1676
|
+
if (b === "/") {
|
|
1677
|
+
c = g;
|
|
1678
|
+
continue;
|
|
1679
|
+
}
|
|
1680
|
+
}
|
|
1681
|
+
b === "[" ? u++ : b === "]" && u--;
|
|
1682
|
+
}
|
|
1683
|
+
const f = l.length === 0 ? s : s.substring(d), h = f.startsWith(Br), p = h ? f.substring(1) : f, v = c && c > d ? c - d : void 0;
|
|
1684
|
+
return {
|
|
1685
|
+
modifiers: l,
|
|
1686
|
+
hasImportantModifier: h,
|
|
1687
|
+
baseClassName: p,
|
|
1688
|
+
maybePostfixModifierPosition: v
|
|
1689
|
+
};
|
|
1690
|
+
};
|
|
1691
|
+
return r ? (s) => r({
|
|
1692
|
+
className: s,
|
|
1693
|
+
parseClassName: a
|
|
1694
|
+
}) : a;
|
|
1695
|
+
}, js = (e) => {
|
|
1696
|
+
if (e.length <= 1)
|
|
1697
|
+
return e;
|
|
1698
|
+
const t = [];
|
|
1699
|
+
let r = [];
|
|
1700
|
+
return e.forEach((n) => {
|
|
1701
|
+
n[0] === "[" ? (t.push(...r.sort(), n), r = []) : r.push(n);
|
|
1702
|
+
}), t.push(...r.sort()), t;
|
|
1703
|
+
}, Bs = (e) => ({
|
|
1704
|
+
cache: Ms(e.cacheSize),
|
|
1705
|
+
parseClassName: Ls(e),
|
|
1706
|
+
...$s(e)
|
|
1707
|
+
}), Gs = /\s+/, ks = (e, t) => {
|
|
1708
|
+
const {
|
|
1709
|
+
parseClassName: r,
|
|
1710
|
+
getClassGroupId: n,
|
|
1711
|
+
getConflictingClassGroupIds: o
|
|
1712
|
+
} = t, i = [], a = e.trim().split(Gs);
|
|
1713
|
+
let s = "";
|
|
1714
|
+
for (let l = a.length - 1; l >= 0; l -= 1) {
|
|
1715
|
+
const u = a[l], {
|
|
1716
|
+
modifiers: d,
|
|
1717
|
+
hasImportantModifier: c,
|
|
1718
|
+
baseClassName: f,
|
|
1719
|
+
maybePostfixModifierPosition: h
|
|
1720
|
+
} = r(u);
|
|
1721
|
+
let p = !!h, v = n(p ? f.substring(0, h) : f);
|
|
1722
|
+
if (!v) {
|
|
1723
|
+
if (!p) {
|
|
1724
|
+
s = u + (s.length > 0 ? " " + s : s);
|
|
1725
|
+
continue;
|
|
1726
|
+
}
|
|
1727
|
+
if (v = n(f), !v) {
|
|
1728
|
+
s = u + (s.length > 0 ? " " + s : s);
|
|
1729
|
+
continue;
|
|
1730
|
+
}
|
|
1731
|
+
p = !1;
|
|
1732
|
+
}
|
|
1733
|
+
const g = js(d).join(":"), b = c ? g + Br : g, w = b + v;
|
|
1734
|
+
if (i.includes(w))
|
|
1735
|
+
continue;
|
|
1736
|
+
i.push(w);
|
|
1737
|
+
const P = o(v, p);
|
|
1738
|
+
for (let O = 0; O < P.length; ++O) {
|
|
1739
|
+
const T = P[O];
|
|
1740
|
+
i.push(b + T);
|
|
1741
|
+
}
|
|
1742
|
+
s = u + (s.length > 0 ? " " + s : s);
|
|
1743
|
+
}
|
|
1744
|
+
return s;
|
|
1745
|
+
};
|
|
1746
|
+
function Fs() {
|
|
1747
|
+
let e = 0, t, r, n = "";
|
|
1748
|
+
for (; e < arguments.length; )
|
|
1749
|
+
(t = arguments[e++]) && (r = Gr(t)) && (n && (n += " "), n += r);
|
|
1750
|
+
return n;
|
|
1751
|
+
}
|
|
1752
|
+
const Gr = (e) => {
|
|
1753
|
+
if (typeof e == "string")
|
|
1754
|
+
return e;
|
|
1755
|
+
let t, r = "";
|
|
1756
|
+
for (let n = 0; n < e.length; n++)
|
|
1757
|
+
e[n] && (t = Gr(e[n])) && (r && (r += " "), r += t);
|
|
1758
|
+
return r;
|
|
1759
|
+
};
|
|
1760
|
+
function Ds(e, ...t) {
|
|
1761
|
+
let r, n, o, i = a;
|
|
1762
|
+
function a(l) {
|
|
1763
|
+
const u = t.reduce((d, c) => c(d), e());
|
|
1764
|
+
return r = Bs(u), n = r.cache.get, o = r.cache.set, i = s, s(l);
|
|
1765
|
+
}
|
|
1766
|
+
function s(l) {
|
|
1767
|
+
const u = n(l);
|
|
1768
|
+
if (u)
|
|
1769
|
+
return u;
|
|
1770
|
+
const d = ks(l, r);
|
|
1771
|
+
return o(l, d), d;
|
|
1772
|
+
}
|
|
1773
|
+
return function() {
|
|
1774
|
+
return i(Fs.apply(null, arguments));
|
|
1775
|
+
};
|
|
1776
|
+
}
|
|
1777
|
+
const C = (e) => {
|
|
1778
|
+
const t = (r) => r[e] || [];
|
|
1779
|
+
return t.isThemeGetter = !0, t;
|
|
1780
|
+
}, kr = /^\[(?:([a-z-]+):)?(.+)\]$/i, Hs = /^\d+\/\d+$/, Ws = /* @__PURE__ */ new Set(["px", "full", "screen"]), Us = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, Vs = /\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$/, qs = /^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/, Ks = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, Ys = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, W = (e) => ge(e) || Ws.has(e) || Hs.test(e), X = (e) => be(e, "length", nl), ge = (e) => !!e && !Number.isNaN(Number(e)), Je = (e) => be(e, "number", ge), _e = (e) => !!e && Number.isInteger(Number(e)), Xs = (e) => e.endsWith("%") && ge(e.slice(0, -1)), m = (e) => kr.test(e), Z = (e) => Us.test(e), Zs = /* @__PURE__ */ new Set(["length", "size", "percentage"]), Js = (e) => be(e, Zs, Fr), Qs = (e) => be(e, "position", Fr), el = /* @__PURE__ */ new Set(["image", "url"]), tl = (e) => be(e, el, il), rl = (e) => be(e, "", ol), Se = () => !0, be = (e, t, r) => {
|
|
1781
|
+
const n = kr.exec(e);
|
|
1782
|
+
return n ? n[1] ? typeof t == "string" ? n[1] === t : t.has(n[1]) : r(n[2]) : !1;
|
|
1783
|
+
}, nl = (e) => (
|
|
1784
|
+
// `colorFunctionRegex` check is necessary because color functions can have percentages in them which which would be incorrectly classified as lengths.
|
|
1785
|
+
// For example, `hsl(0 0% 0%)` would be classified as a length without this check.
|
|
1786
|
+
// I could also use lookbehind assertion in `lengthUnitRegex` but that isn't supported widely enough.
|
|
1787
|
+
Vs.test(e) && !qs.test(e)
|
|
1788
|
+
), Fr = () => !1, ol = (e) => Ks.test(e), il = (e) => Ys.test(e), al = () => {
|
|
1789
|
+
const e = C("colors"), t = C("spacing"), r = C("blur"), n = C("brightness"), o = C("borderColor"), i = C("borderRadius"), a = C("borderSpacing"), s = C("borderWidth"), l = C("contrast"), u = C("grayscale"), d = C("hueRotate"), c = C("invert"), f = C("gap"), h = C("gradientColorStops"), p = C("gradientColorStopPositions"), v = C("inset"), g = C("margin"), b = C("opacity"), w = C("padding"), P = C("saturate"), O = C("scale"), T = C("sepia"), S = C("skew"), E = C("space"), z = C("translate"), B = () => ["auto", "contain", "none"], me = () => ["auto", "hidden", "clip", "visible", "scroll"], I = () => ["auto", m, t], x = () => [m, t], ue = () => ["", W, X], G = () => ["auto", ge, m], M = () => ["bottom", "center", "left", "left-bottom", "left-top", "right", "right-bottom", "right-top", "top"], Q = () => ["solid", "dashed", "dotted", "double", "none"], Ne = () => ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity"], ye = () => ["start", "end", "center", "between", "around", "evenly", "stretch"], we = () => ["", "0", m], St = () => ["auto", "avoid", "all", "avoid-page", "page", "left", "right", "column"], H = () => [ge, m];
|
|
1790
|
+
return {
|
|
1791
|
+
cacheSize: 500,
|
|
1792
|
+
separator: ":",
|
|
1793
|
+
theme: {
|
|
1794
|
+
colors: [Se],
|
|
1795
|
+
spacing: [W, X],
|
|
1796
|
+
blur: ["none", "", Z, m],
|
|
1797
|
+
brightness: H(),
|
|
1798
|
+
borderColor: [e],
|
|
1799
|
+
borderRadius: ["none", "", "full", Z, m],
|
|
1800
|
+
borderSpacing: x(),
|
|
1801
|
+
borderWidth: ue(),
|
|
1802
|
+
contrast: H(),
|
|
1803
|
+
grayscale: we(),
|
|
1804
|
+
hueRotate: H(),
|
|
1805
|
+
invert: we(),
|
|
1806
|
+
gap: x(),
|
|
1807
|
+
gradientColorStops: [e],
|
|
1808
|
+
gradientColorStopPositions: [Xs, X],
|
|
1809
|
+
inset: I(),
|
|
1810
|
+
margin: I(),
|
|
1811
|
+
opacity: H(),
|
|
1812
|
+
padding: x(),
|
|
1813
|
+
saturate: H(),
|
|
1814
|
+
scale: H(),
|
|
1815
|
+
sepia: we(),
|
|
1816
|
+
skew: H(),
|
|
1817
|
+
space: x(),
|
|
1818
|
+
translate: x()
|
|
1819
|
+
},
|
|
1820
|
+
classGroups: {
|
|
1821
|
+
// Layout
|
|
1822
|
+
/**
|
|
1823
|
+
* Aspect Ratio
|
|
1824
|
+
* @see https://tailwindcss.com/docs/aspect-ratio
|
|
1825
|
+
*/
|
|
1826
|
+
aspect: [{
|
|
1827
|
+
aspect: ["auto", "square", "video", m]
|
|
1828
|
+
}],
|
|
1829
|
+
/**
|
|
1830
|
+
* Container
|
|
1831
|
+
* @see https://tailwindcss.com/docs/container
|
|
1832
|
+
*/
|
|
1833
|
+
container: ["container"],
|
|
1834
|
+
/**
|
|
1835
|
+
* Columns
|
|
1836
|
+
* @see https://tailwindcss.com/docs/columns
|
|
1837
|
+
*/
|
|
1838
|
+
columns: [{
|
|
1839
|
+
columns: [Z]
|
|
1840
|
+
}],
|
|
1841
|
+
/**
|
|
1842
|
+
* Break After
|
|
1843
|
+
* @see https://tailwindcss.com/docs/break-after
|
|
1844
|
+
*/
|
|
1845
|
+
"break-after": [{
|
|
1846
|
+
"break-after": St()
|
|
1847
|
+
}],
|
|
1848
|
+
/**
|
|
1849
|
+
* Break Before
|
|
1850
|
+
* @see https://tailwindcss.com/docs/break-before
|
|
1851
|
+
*/
|
|
1852
|
+
"break-before": [{
|
|
1853
|
+
"break-before": St()
|
|
1854
|
+
}],
|
|
1855
|
+
/**
|
|
1856
|
+
* Break Inside
|
|
1857
|
+
* @see https://tailwindcss.com/docs/break-inside
|
|
1858
|
+
*/
|
|
1859
|
+
"break-inside": [{
|
|
1860
|
+
"break-inside": ["auto", "avoid", "avoid-page", "avoid-column"]
|
|
1861
|
+
}],
|
|
1862
|
+
/**
|
|
1863
|
+
* Box Decoration Break
|
|
1864
|
+
* @see https://tailwindcss.com/docs/box-decoration-break
|
|
1865
|
+
*/
|
|
1866
|
+
"box-decoration": [{
|
|
1867
|
+
"box-decoration": ["slice", "clone"]
|
|
1868
|
+
}],
|
|
1869
|
+
/**
|
|
1870
|
+
* Box Sizing
|
|
1871
|
+
* @see https://tailwindcss.com/docs/box-sizing
|
|
1872
|
+
*/
|
|
1873
|
+
box: [{
|
|
1874
|
+
box: ["border", "content"]
|
|
1875
|
+
}],
|
|
1876
|
+
/**
|
|
1877
|
+
* Display
|
|
1878
|
+
* @see https://tailwindcss.com/docs/display
|
|
1879
|
+
*/
|
|
1880
|
+
display: ["block", "inline-block", "inline", "flex", "inline-flex", "table", "inline-table", "table-caption", "table-cell", "table-column", "table-column-group", "table-footer-group", "table-header-group", "table-row-group", "table-row", "flow-root", "grid", "inline-grid", "contents", "list-item", "hidden"],
|
|
1881
|
+
/**
|
|
1882
|
+
* Floats
|
|
1883
|
+
* @see https://tailwindcss.com/docs/float
|
|
1884
|
+
*/
|
|
1885
|
+
float: [{
|
|
1886
|
+
float: ["right", "left", "none", "start", "end"]
|
|
1887
|
+
}],
|
|
1888
|
+
/**
|
|
1889
|
+
* Clear
|
|
1890
|
+
* @see https://tailwindcss.com/docs/clear
|
|
1891
|
+
*/
|
|
1892
|
+
clear: [{
|
|
1893
|
+
clear: ["left", "right", "both", "none", "start", "end"]
|
|
1894
|
+
}],
|
|
1895
|
+
/**
|
|
1896
|
+
* Isolation
|
|
1897
|
+
* @see https://tailwindcss.com/docs/isolation
|
|
1898
|
+
*/
|
|
1899
|
+
isolation: ["isolate", "isolation-auto"],
|
|
1900
|
+
/**
|
|
1901
|
+
* Object Fit
|
|
1902
|
+
* @see https://tailwindcss.com/docs/object-fit
|
|
1903
|
+
*/
|
|
1904
|
+
"object-fit": [{
|
|
1905
|
+
object: ["contain", "cover", "fill", "none", "scale-down"]
|
|
1906
|
+
}],
|
|
1907
|
+
/**
|
|
1908
|
+
* Object Position
|
|
1909
|
+
* @see https://tailwindcss.com/docs/object-position
|
|
1910
|
+
*/
|
|
1911
|
+
"object-position": [{
|
|
1912
|
+
object: [...M(), m]
|
|
1913
|
+
}],
|
|
1914
|
+
/**
|
|
1915
|
+
* Overflow
|
|
1916
|
+
* @see https://tailwindcss.com/docs/overflow
|
|
1917
|
+
*/
|
|
1918
|
+
overflow: [{
|
|
1919
|
+
overflow: me()
|
|
1920
|
+
}],
|
|
1921
|
+
/**
|
|
1922
|
+
* Overflow X
|
|
1923
|
+
* @see https://tailwindcss.com/docs/overflow
|
|
1924
|
+
*/
|
|
1925
|
+
"overflow-x": [{
|
|
1926
|
+
"overflow-x": me()
|
|
1927
|
+
}],
|
|
1928
|
+
/**
|
|
1929
|
+
* Overflow Y
|
|
1930
|
+
* @see https://tailwindcss.com/docs/overflow
|
|
1931
|
+
*/
|
|
1932
|
+
"overflow-y": [{
|
|
1933
|
+
"overflow-y": me()
|
|
1934
|
+
}],
|
|
1935
|
+
/**
|
|
1936
|
+
* Overscroll Behavior
|
|
1937
|
+
* @see https://tailwindcss.com/docs/overscroll-behavior
|
|
1938
|
+
*/
|
|
1939
|
+
overscroll: [{
|
|
1940
|
+
overscroll: B()
|
|
1941
|
+
}],
|
|
1942
|
+
/**
|
|
1943
|
+
* Overscroll Behavior X
|
|
1944
|
+
* @see https://tailwindcss.com/docs/overscroll-behavior
|
|
1945
|
+
*/
|
|
1946
|
+
"overscroll-x": [{
|
|
1947
|
+
"overscroll-x": B()
|
|
1948
|
+
}],
|
|
1949
|
+
/**
|
|
1950
|
+
* Overscroll Behavior Y
|
|
1951
|
+
* @see https://tailwindcss.com/docs/overscroll-behavior
|
|
1952
|
+
*/
|
|
1953
|
+
"overscroll-y": [{
|
|
1954
|
+
"overscroll-y": B()
|
|
1955
|
+
}],
|
|
1956
|
+
/**
|
|
1957
|
+
* Position
|
|
1958
|
+
* @see https://tailwindcss.com/docs/position
|
|
1959
|
+
*/
|
|
1960
|
+
position: ["static", "fixed", "absolute", "relative", "sticky"],
|
|
1961
|
+
/**
|
|
1962
|
+
* Top / Right / Bottom / Left
|
|
1963
|
+
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
1964
|
+
*/
|
|
1965
|
+
inset: [{
|
|
1966
|
+
inset: [v]
|
|
1967
|
+
}],
|
|
1968
|
+
/**
|
|
1969
|
+
* Right / Left
|
|
1970
|
+
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
1971
|
+
*/
|
|
1972
|
+
"inset-x": [{
|
|
1973
|
+
"inset-x": [v]
|
|
1974
|
+
}],
|
|
1975
|
+
/**
|
|
1976
|
+
* Top / Bottom
|
|
1977
|
+
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
1978
|
+
*/
|
|
1979
|
+
"inset-y": [{
|
|
1980
|
+
"inset-y": [v]
|
|
1981
|
+
}],
|
|
1982
|
+
/**
|
|
1983
|
+
* Start
|
|
1984
|
+
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
1985
|
+
*/
|
|
1986
|
+
start: [{
|
|
1987
|
+
start: [v]
|
|
1988
|
+
}],
|
|
1989
|
+
/**
|
|
1990
|
+
* End
|
|
1991
|
+
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
1992
|
+
*/
|
|
1993
|
+
end: [{
|
|
1994
|
+
end: [v]
|
|
1995
|
+
}],
|
|
1996
|
+
/**
|
|
1997
|
+
* Top
|
|
1998
|
+
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
1999
|
+
*/
|
|
2000
|
+
top: [{
|
|
2001
|
+
top: [v]
|
|
2002
|
+
}],
|
|
2003
|
+
/**
|
|
2004
|
+
* Right
|
|
2005
|
+
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
2006
|
+
*/
|
|
2007
|
+
right: [{
|
|
2008
|
+
right: [v]
|
|
2009
|
+
}],
|
|
2010
|
+
/**
|
|
2011
|
+
* Bottom
|
|
2012
|
+
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
2013
|
+
*/
|
|
2014
|
+
bottom: [{
|
|
2015
|
+
bottom: [v]
|
|
2016
|
+
}],
|
|
2017
|
+
/**
|
|
2018
|
+
* Left
|
|
2019
|
+
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
2020
|
+
*/
|
|
2021
|
+
left: [{
|
|
2022
|
+
left: [v]
|
|
2023
|
+
}],
|
|
2024
|
+
/**
|
|
2025
|
+
* Visibility
|
|
2026
|
+
* @see https://tailwindcss.com/docs/visibility
|
|
2027
|
+
*/
|
|
2028
|
+
visibility: ["visible", "invisible", "collapse"],
|
|
2029
|
+
/**
|
|
2030
|
+
* Z-Index
|
|
2031
|
+
* @see https://tailwindcss.com/docs/z-index
|
|
2032
|
+
*/
|
|
2033
|
+
z: [{
|
|
2034
|
+
z: ["auto", _e, m]
|
|
2035
|
+
}],
|
|
2036
|
+
// Flexbox and Grid
|
|
2037
|
+
/**
|
|
2038
|
+
* Flex Basis
|
|
2039
|
+
* @see https://tailwindcss.com/docs/flex-basis
|
|
2040
|
+
*/
|
|
2041
|
+
basis: [{
|
|
2042
|
+
basis: I()
|
|
2043
|
+
}],
|
|
2044
|
+
/**
|
|
2045
|
+
* Flex Direction
|
|
2046
|
+
* @see https://tailwindcss.com/docs/flex-direction
|
|
2047
|
+
*/
|
|
2048
|
+
"flex-direction": [{
|
|
2049
|
+
flex: ["row", "row-reverse", "col", "col-reverse"]
|
|
2050
|
+
}],
|
|
2051
|
+
/**
|
|
2052
|
+
* Flex Wrap
|
|
2053
|
+
* @see https://tailwindcss.com/docs/flex-wrap
|
|
2054
|
+
*/
|
|
2055
|
+
"flex-wrap": [{
|
|
2056
|
+
flex: ["wrap", "wrap-reverse", "nowrap"]
|
|
2057
|
+
}],
|
|
2058
|
+
/**
|
|
2059
|
+
* Flex
|
|
2060
|
+
* @see https://tailwindcss.com/docs/flex
|
|
2061
|
+
*/
|
|
2062
|
+
flex: [{
|
|
2063
|
+
flex: ["1", "auto", "initial", "none", m]
|
|
2064
|
+
}],
|
|
2065
|
+
/**
|
|
2066
|
+
* Flex Grow
|
|
2067
|
+
* @see https://tailwindcss.com/docs/flex-grow
|
|
2068
|
+
*/
|
|
2069
|
+
grow: [{
|
|
2070
|
+
grow: we()
|
|
2071
|
+
}],
|
|
2072
|
+
/**
|
|
2073
|
+
* Flex Shrink
|
|
2074
|
+
* @see https://tailwindcss.com/docs/flex-shrink
|
|
2075
|
+
*/
|
|
2076
|
+
shrink: [{
|
|
2077
|
+
shrink: we()
|
|
2078
|
+
}],
|
|
2079
|
+
/**
|
|
2080
|
+
* Order
|
|
2081
|
+
* @see https://tailwindcss.com/docs/order
|
|
2082
|
+
*/
|
|
2083
|
+
order: [{
|
|
2084
|
+
order: ["first", "last", "none", _e, m]
|
|
2085
|
+
}],
|
|
2086
|
+
/**
|
|
2087
|
+
* Grid Template Columns
|
|
2088
|
+
* @see https://tailwindcss.com/docs/grid-template-columns
|
|
2089
|
+
*/
|
|
2090
|
+
"grid-cols": [{
|
|
2091
|
+
"grid-cols": [Se]
|
|
2092
|
+
}],
|
|
2093
|
+
/**
|
|
2094
|
+
* Grid Column Start / End
|
|
2095
|
+
* @see https://tailwindcss.com/docs/grid-column
|
|
2096
|
+
*/
|
|
2097
|
+
"col-start-end": [{
|
|
2098
|
+
col: ["auto", {
|
|
2099
|
+
span: ["full", _e, m]
|
|
2100
|
+
}, m]
|
|
2101
|
+
}],
|
|
2102
|
+
/**
|
|
2103
|
+
* Grid Column Start
|
|
2104
|
+
* @see https://tailwindcss.com/docs/grid-column
|
|
2105
|
+
*/
|
|
2106
|
+
"col-start": [{
|
|
2107
|
+
"col-start": G()
|
|
2108
|
+
}],
|
|
2109
|
+
/**
|
|
2110
|
+
* Grid Column End
|
|
2111
|
+
* @see https://tailwindcss.com/docs/grid-column
|
|
2112
|
+
*/
|
|
2113
|
+
"col-end": [{
|
|
2114
|
+
"col-end": G()
|
|
2115
|
+
}],
|
|
2116
|
+
/**
|
|
2117
|
+
* Grid Template Rows
|
|
2118
|
+
* @see https://tailwindcss.com/docs/grid-template-rows
|
|
2119
|
+
*/
|
|
2120
|
+
"grid-rows": [{
|
|
2121
|
+
"grid-rows": [Se]
|
|
2122
|
+
}],
|
|
2123
|
+
/**
|
|
2124
|
+
* Grid Row Start / End
|
|
2125
|
+
* @see https://tailwindcss.com/docs/grid-row
|
|
2126
|
+
*/
|
|
2127
|
+
"row-start-end": [{
|
|
2128
|
+
row: ["auto", {
|
|
2129
|
+
span: [_e, m]
|
|
2130
|
+
}, m]
|
|
2131
|
+
}],
|
|
2132
|
+
/**
|
|
2133
|
+
* Grid Row Start
|
|
2134
|
+
* @see https://tailwindcss.com/docs/grid-row
|
|
2135
|
+
*/
|
|
2136
|
+
"row-start": [{
|
|
2137
|
+
"row-start": G()
|
|
2138
|
+
}],
|
|
2139
|
+
/**
|
|
2140
|
+
* Grid Row End
|
|
2141
|
+
* @see https://tailwindcss.com/docs/grid-row
|
|
2142
|
+
*/
|
|
2143
|
+
"row-end": [{
|
|
2144
|
+
"row-end": G()
|
|
2145
|
+
}],
|
|
2146
|
+
/**
|
|
2147
|
+
* Grid Auto Flow
|
|
2148
|
+
* @see https://tailwindcss.com/docs/grid-auto-flow
|
|
2149
|
+
*/
|
|
2150
|
+
"grid-flow": [{
|
|
2151
|
+
"grid-flow": ["row", "col", "dense", "row-dense", "col-dense"]
|
|
2152
|
+
}],
|
|
2153
|
+
/**
|
|
2154
|
+
* Grid Auto Columns
|
|
2155
|
+
* @see https://tailwindcss.com/docs/grid-auto-columns
|
|
2156
|
+
*/
|
|
2157
|
+
"auto-cols": [{
|
|
2158
|
+
"auto-cols": ["auto", "min", "max", "fr", m]
|
|
2159
|
+
}],
|
|
2160
|
+
/**
|
|
2161
|
+
* Grid Auto Rows
|
|
2162
|
+
* @see https://tailwindcss.com/docs/grid-auto-rows
|
|
2163
|
+
*/
|
|
2164
|
+
"auto-rows": [{
|
|
2165
|
+
"auto-rows": ["auto", "min", "max", "fr", m]
|
|
2166
|
+
}],
|
|
2167
|
+
/**
|
|
2168
|
+
* Gap
|
|
2169
|
+
* @see https://tailwindcss.com/docs/gap
|
|
2170
|
+
*/
|
|
2171
|
+
gap: [{
|
|
2172
|
+
gap: [f]
|
|
2173
|
+
}],
|
|
2174
|
+
/**
|
|
2175
|
+
* Gap X
|
|
2176
|
+
* @see https://tailwindcss.com/docs/gap
|
|
2177
|
+
*/
|
|
2178
|
+
"gap-x": [{
|
|
2179
|
+
"gap-x": [f]
|
|
2180
|
+
}],
|
|
2181
|
+
/**
|
|
2182
|
+
* Gap Y
|
|
2183
|
+
* @see https://tailwindcss.com/docs/gap
|
|
2184
|
+
*/
|
|
2185
|
+
"gap-y": [{
|
|
2186
|
+
"gap-y": [f]
|
|
2187
|
+
}],
|
|
2188
|
+
/**
|
|
2189
|
+
* Justify Content
|
|
2190
|
+
* @see https://tailwindcss.com/docs/justify-content
|
|
2191
|
+
*/
|
|
2192
|
+
"justify-content": [{
|
|
2193
|
+
justify: ["normal", ...ye()]
|
|
2194
|
+
}],
|
|
2195
|
+
/**
|
|
2196
|
+
* Justify Items
|
|
2197
|
+
* @see https://tailwindcss.com/docs/justify-items
|
|
2198
|
+
*/
|
|
2199
|
+
"justify-items": [{
|
|
2200
|
+
"justify-items": ["start", "end", "center", "stretch"]
|
|
2201
|
+
}],
|
|
2202
|
+
/**
|
|
2203
|
+
* Justify Self
|
|
2204
|
+
* @see https://tailwindcss.com/docs/justify-self
|
|
2205
|
+
*/
|
|
2206
|
+
"justify-self": [{
|
|
2207
|
+
"justify-self": ["auto", "start", "end", "center", "stretch"]
|
|
2208
|
+
}],
|
|
2209
|
+
/**
|
|
2210
|
+
* Align Content
|
|
2211
|
+
* @see https://tailwindcss.com/docs/align-content
|
|
2212
|
+
*/
|
|
2213
|
+
"align-content": [{
|
|
2214
|
+
content: ["normal", ...ye(), "baseline"]
|
|
2215
|
+
}],
|
|
2216
|
+
/**
|
|
2217
|
+
* Align Items
|
|
2218
|
+
* @see https://tailwindcss.com/docs/align-items
|
|
2219
|
+
*/
|
|
2220
|
+
"align-items": [{
|
|
2221
|
+
items: ["start", "end", "center", "baseline", "stretch"]
|
|
2222
|
+
}],
|
|
2223
|
+
/**
|
|
2224
|
+
* Align Self
|
|
2225
|
+
* @see https://tailwindcss.com/docs/align-self
|
|
2226
|
+
*/
|
|
2227
|
+
"align-self": [{
|
|
2228
|
+
self: ["auto", "start", "end", "center", "stretch", "baseline"]
|
|
2229
|
+
}],
|
|
2230
|
+
/**
|
|
2231
|
+
* Place Content
|
|
2232
|
+
* @see https://tailwindcss.com/docs/place-content
|
|
2233
|
+
*/
|
|
2234
|
+
"place-content": [{
|
|
2235
|
+
"place-content": [...ye(), "baseline"]
|
|
2236
|
+
}],
|
|
2237
|
+
/**
|
|
2238
|
+
* Place Items
|
|
2239
|
+
* @see https://tailwindcss.com/docs/place-items
|
|
2240
|
+
*/
|
|
2241
|
+
"place-items": [{
|
|
2242
|
+
"place-items": ["start", "end", "center", "baseline", "stretch"]
|
|
2243
|
+
}],
|
|
2244
|
+
/**
|
|
2245
|
+
* Place Self
|
|
2246
|
+
* @see https://tailwindcss.com/docs/place-self
|
|
2247
|
+
*/
|
|
2248
|
+
"place-self": [{
|
|
2249
|
+
"place-self": ["auto", "start", "end", "center", "stretch"]
|
|
2250
|
+
}],
|
|
2251
|
+
// Spacing
|
|
2252
|
+
/**
|
|
2253
|
+
* Padding
|
|
2254
|
+
* @see https://tailwindcss.com/docs/padding
|
|
2255
|
+
*/
|
|
2256
|
+
p: [{
|
|
2257
|
+
p: [w]
|
|
2258
|
+
}],
|
|
2259
|
+
/**
|
|
2260
|
+
* Padding X
|
|
2261
|
+
* @see https://tailwindcss.com/docs/padding
|
|
2262
|
+
*/
|
|
2263
|
+
px: [{
|
|
2264
|
+
px: [w]
|
|
2265
|
+
}],
|
|
2266
|
+
/**
|
|
2267
|
+
* Padding Y
|
|
2268
|
+
* @see https://tailwindcss.com/docs/padding
|
|
2269
|
+
*/
|
|
2270
|
+
py: [{
|
|
2271
|
+
py: [w]
|
|
2272
|
+
}],
|
|
2273
|
+
/**
|
|
2274
|
+
* Padding Start
|
|
2275
|
+
* @see https://tailwindcss.com/docs/padding
|
|
2276
|
+
*/
|
|
2277
|
+
ps: [{
|
|
2278
|
+
ps: [w]
|
|
2279
|
+
}],
|
|
2280
|
+
/**
|
|
2281
|
+
* Padding End
|
|
2282
|
+
* @see https://tailwindcss.com/docs/padding
|
|
2283
|
+
*/
|
|
2284
|
+
pe: [{
|
|
2285
|
+
pe: [w]
|
|
2286
|
+
}],
|
|
2287
|
+
/**
|
|
2288
|
+
* Padding Top
|
|
2289
|
+
* @see https://tailwindcss.com/docs/padding
|
|
2290
|
+
*/
|
|
2291
|
+
pt: [{
|
|
2292
|
+
pt: [w]
|
|
2293
|
+
}],
|
|
2294
|
+
/**
|
|
2295
|
+
* Padding Right
|
|
2296
|
+
* @see https://tailwindcss.com/docs/padding
|
|
2297
|
+
*/
|
|
2298
|
+
pr: [{
|
|
2299
|
+
pr: [w]
|
|
2300
|
+
}],
|
|
2301
|
+
/**
|
|
2302
|
+
* Padding Bottom
|
|
2303
|
+
* @see https://tailwindcss.com/docs/padding
|
|
2304
|
+
*/
|
|
2305
|
+
pb: [{
|
|
2306
|
+
pb: [w]
|
|
2307
|
+
}],
|
|
2308
|
+
/**
|
|
2309
|
+
* Padding Left
|
|
2310
|
+
* @see https://tailwindcss.com/docs/padding
|
|
2311
|
+
*/
|
|
2312
|
+
pl: [{
|
|
2313
|
+
pl: [w]
|
|
2314
|
+
}],
|
|
2315
|
+
/**
|
|
2316
|
+
* Margin
|
|
2317
|
+
* @see https://tailwindcss.com/docs/margin
|
|
2318
|
+
*/
|
|
2319
|
+
m: [{
|
|
2320
|
+
m: [g]
|
|
2321
|
+
}],
|
|
2322
|
+
/**
|
|
2323
|
+
* Margin X
|
|
2324
|
+
* @see https://tailwindcss.com/docs/margin
|
|
2325
|
+
*/
|
|
2326
|
+
mx: [{
|
|
2327
|
+
mx: [g]
|
|
2328
|
+
}],
|
|
2329
|
+
/**
|
|
2330
|
+
* Margin Y
|
|
2331
|
+
* @see https://tailwindcss.com/docs/margin
|
|
2332
|
+
*/
|
|
2333
|
+
my: [{
|
|
2334
|
+
my: [g]
|
|
2335
|
+
}],
|
|
2336
|
+
/**
|
|
2337
|
+
* Margin Start
|
|
2338
|
+
* @see https://tailwindcss.com/docs/margin
|
|
2339
|
+
*/
|
|
2340
|
+
ms: [{
|
|
2341
|
+
ms: [g]
|
|
2342
|
+
}],
|
|
2343
|
+
/**
|
|
2344
|
+
* Margin End
|
|
2345
|
+
* @see https://tailwindcss.com/docs/margin
|
|
2346
|
+
*/
|
|
2347
|
+
me: [{
|
|
2348
|
+
me: [g]
|
|
2349
|
+
}],
|
|
2350
|
+
/**
|
|
2351
|
+
* Margin Top
|
|
2352
|
+
* @see https://tailwindcss.com/docs/margin
|
|
2353
|
+
*/
|
|
2354
|
+
mt: [{
|
|
2355
|
+
mt: [g]
|
|
2356
|
+
}],
|
|
2357
|
+
/**
|
|
2358
|
+
* Margin Right
|
|
2359
|
+
* @see https://tailwindcss.com/docs/margin
|
|
2360
|
+
*/
|
|
2361
|
+
mr: [{
|
|
2362
|
+
mr: [g]
|
|
2363
|
+
}],
|
|
2364
|
+
/**
|
|
2365
|
+
* Margin Bottom
|
|
2366
|
+
* @see https://tailwindcss.com/docs/margin
|
|
2367
|
+
*/
|
|
2368
|
+
mb: [{
|
|
2369
|
+
mb: [g]
|
|
2370
|
+
}],
|
|
2371
|
+
/**
|
|
2372
|
+
* Margin Left
|
|
2373
|
+
* @see https://tailwindcss.com/docs/margin
|
|
2374
|
+
*/
|
|
2375
|
+
ml: [{
|
|
2376
|
+
ml: [g]
|
|
2377
|
+
}],
|
|
2378
|
+
/**
|
|
2379
|
+
* Space Between X
|
|
2380
|
+
* @see https://tailwindcss.com/docs/space
|
|
2381
|
+
*/
|
|
2382
|
+
"space-x": [{
|
|
2383
|
+
"space-x": [E]
|
|
2384
|
+
}],
|
|
2385
|
+
/**
|
|
2386
|
+
* Space Between X Reverse
|
|
2387
|
+
* @see https://tailwindcss.com/docs/space
|
|
2388
|
+
*/
|
|
2389
|
+
"space-x-reverse": ["space-x-reverse"],
|
|
2390
|
+
/**
|
|
2391
|
+
* Space Between Y
|
|
2392
|
+
* @see https://tailwindcss.com/docs/space
|
|
2393
|
+
*/
|
|
2394
|
+
"space-y": [{
|
|
2395
|
+
"space-y": [E]
|
|
2396
|
+
}],
|
|
2397
|
+
/**
|
|
2398
|
+
* Space Between Y Reverse
|
|
2399
|
+
* @see https://tailwindcss.com/docs/space
|
|
2400
|
+
*/
|
|
2401
|
+
"space-y-reverse": ["space-y-reverse"],
|
|
2402
|
+
// Sizing
|
|
2403
|
+
/**
|
|
2404
|
+
* Width
|
|
2405
|
+
* @see https://tailwindcss.com/docs/width
|
|
2406
|
+
*/
|
|
2407
|
+
w: [{
|
|
2408
|
+
w: ["auto", "min", "max", "fit", "svw", "lvw", "dvw", m, t]
|
|
2409
|
+
}],
|
|
2410
|
+
/**
|
|
2411
|
+
* Min-Width
|
|
2412
|
+
* @see https://tailwindcss.com/docs/min-width
|
|
2413
|
+
*/
|
|
2414
|
+
"min-w": [{
|
|
2415
|
+
"min-w": [m, t, "min", "max", "fit"]
|
|
2416
|
+
}],
|
|
2417
|
+
/**
|
|
2418
|
+
* Max-Width
|
|
2419
|
+
* @see https://tailwindcss.com/docs/max-width
|
|
2420
|
+
*/
|
|
2421
|
+
"max-w": [{
|
|
2422
|
+
"max-w": [m, t, "none", "full", "min", "max", "fit", "prose", {
|
|
2423
|
+
screen: [Z]
|
|
2424
|
+
}, Z]
|
|
2425
|
+
}],
|
|
2426
|
+
/**
|
|
2427
|
+
* Height
|
|
2428
|
+
* @see https://tailwindcss.com/docs/height
|
|
2429
|
+
*/
|
|
2430
|
+
h: [{
|
|
2431
|
+
h: [m, t, "auto", "min", "max", "fit", "svh", "lvh", "dvh"]
|
|
2432
|
+
}],
|
|
2433
|
+
/**
|
|
2434
|
+
* Min-Height
|
|
2435
|
+
* @see https://tailwindcss.com/docs/min-height
|
|
2436
|
+
*/
|
|
2437
|
+
"min-h": [{
|
|
2438
|
+
"min-h": [m, t, "min", "max", "fit", "svh", "lvh", "dvh"]
|
|
2439
|
+
}],
|
|
2440
|
+
/**
|
|
2441
|
+
* Max-Height
|
|
2442
|
+
* @see https://tailwindcss.com/docs/max-height
|
|
2443
|
+
*/
|
|
2444
|
+
"max-h": [{
|
|
2445
|
+
"max-h": [m, t, "min", "max", "fit", "svh", "lvh", "dvh"]
|
|
2446
|
+
}],
|
|
2447
|
+
/**
|
|
2448
|
+
* Size
|
|
2449
|
+
* @see https://tailwindcss.com/docs/size
|
|
2450
|
+
*/
|
|
2451
|
+
size: [{
|
|
2452
|
+
size: [m, t, "auto", "min", "max", "fit"]
|
|
2453
|
+
}],
|
|
2454
|
+
// Typography
|
|
2455
|
+
/**
|
|
2456
|
+
* Font Size
|
|
2457
|
+
* @see https://tailwindcss.com/docs/font-size
|
|
2458
|
+
*/
|
|
2459
|
+
"font-size": [{
|
|
2460
|
+
text: ["base", Z, X]
|
|
2461
|
+
}],
|
|
2462
|
+
/**
|
|
2463
|
+
* Font Smoothing
|
|
2464
|
+
* @see https://tailwindcss.com/docs/font-smoothing
|
|
2465
|
+
*/
|
|
2466
|
+
"font-smoothing": ["antialiased", "subpixel-antialiased"],
|
|
2467
|
+
/**
|
|
2468
|
+
* Font Style
|
|
2469
|
+
* @see https://tailwindcss.com/docs/font-style
|
|
2470
|
+
*/
|
|
2471
|
+
"font-style": ["italic", "not-italic"],
|
|
2472
|
+
/**
|
|
2473
|
+
* Font Weight
|
|
2474
|
+
* @see https://tailwindcss.com/docs/font-weight
|
|
2475
|
+
*/
|
|
2476
|
+
"font-weight": [{
|
|
2477
|
+
font: ["thin", "extralight", "light", "normal", "medium", "semibold", "bold", "extrabold", "black", Je]
|
|
2478
|
+
}],
|
|
2479
|
+
/**
|
|
2480
|
+
* Font Family
|
|
2481
|
+
* @see https://tailwindcss.com/docs/font-family
|
|
2482
|
+
*/
|
|
2483
|
+
"font-family": [{
|
|
2484
|
+
font: [Se]
|
|
2485
|
+
}],
|
|
2486
|
+
/**
|
|
2487
|
+
* Font Variant Numeric
|
|
2488
|
+
* @see https://tailwindcss.com/docs/font-variant-numeric
|
|
2489
|
+
*/
|
|
2490
|
+
"fvn-normal": ["normal-nums"],
|
|
2491
|
+
/**
|
|
2492
|
+
* Font Variant Numeric
|
|
2493
|
+
* @see https://tailwindcss.com/docs/font-variant-numeric
|
|
2494
|
+
*/
|
|
2495
|
+
"fvn-ordinal": ["ordinal"],
|
|
2496
|
+
/**
|
|
2497
|
+
* Font Variant Numeric
|
|
2498
|
+
* @see https://tailwindcss.com/docs/font-variant-numeric
|
|
2499
|
+
*/
|
|
2500
|
+
"fvn-slashed-zero": ["slashed-zero"],
|
|
2501
|
+
/**
|
|
2502
|
+
* Font Variant Numeric
|
|
2503
|
+
* @see https://tailwindcss.com/docs/font-variant-numeric
|
|
2504
|
+
*/
|
|
2505
|
+
"fvn-figure": ["lining-nums", "oldstyle-nums"],
|
|
2506
|
+
/**
|
|
2507
|
+
* Font Variant Numeric
|
|
2508
|
+
* @see https://tailwindcss.com/docs/font-variant-numeric
|
|
2509
|
+
*/
|
|
2510
|
+
"fvn-spacing": ["proportional-nums", "tabular-nums"],
|
|
2511
|
+
/**
|
|
2512
|
+
* Font Variant Numeric
|
|
2513
|
+
* @see https://tailwindcss.com/docs/font-variant-numeric
|
|
2514
|
+
*/
|
|
2515
|
+
"fvn-fraction": ["diagonal-fractions", "stacked-fractons"],
|
|
2516
|
+
/**
|
|
2517
|
+
* Letter Spacing
|
|
2518
|
+
* @see https://tailwindcss.com/docs/letter-spacing
|
|
2519
|
+
*/
|
|
2520
|
+
tracking: [{
|
|
2521
|
+
tracking: ["tighter", "tight", "normal", "wide", "wider", "widest", m]
|
|
2522
|
+
}],
|
|
2523
|
+
/**
|
|
2524
|
+
* Line Clamp
|
|
2525
|
+
* @see https://tailwindcss.com/docs/line-clamp
|
|
2526
|
+
*/
|
|
2527
|
+
"line-clamp": [{
|
|
2528
|
+
"line-clamp": ["none", ge, Je]
|
|
2529
|
+
}],
|
|
2530
|
+
/**
|
|
2531
|
+
* Line Height
|
|
2532
|
+
* @see https://tailwindcss.com/docs/line-height
|
|
2533
|
+
*/
|
|
2534
|
+
leading: [{
|
|
2535
|
+
leading: ["none", "tight", "snug", "normal", "relaxed", "loose", W, m]
|
|
2536
|
+
}],
|
|
2537
|
+
/**
|
|
2538
|
+
* List Style Image
|
|
2539
|
+
* @see https://tailwindcss.com/docs/list-style-image
|
|
2540
|
+
*/
|
|
2541
|
+
"list-image": [{
|
|
2542
|
+
"list-image": ["none", m]
|
|
2543
|
+
}],
|
|
2544
|
+
/**
|
|
2545
|
+
* List Style Type
|
|
2546
|
+
* @see https://tailwindcss.com/docs/list-style-type
|
|
2547
|
+
*/
|
|
2548
|
+
"list-style-type": [{
|
|
2549
|
+
list: ["none", "disc", "decimal", m]
|
|
2550
|
+
}],
|
|
2551
|
+
/**
|
|
2552
|
+
* List Style Position
|
|
2553
|
+
* @see https://tailwindcss.com/docs/list-style-position
|
|
2554
|
+
*/
|
|
2555
|
+
"list-style-position": [{
|
|
2556
|
+
list: ["inside", "outside"]
|
|
2557
|
+
}],
|
|
2558
|
+
/**
|
|
2559
|
+
* Placeholder Color
|
|
2560
|
+
* @deprecated since Tailwind CSS v3.0.0
|
|
2561
|
+
* @see https://tailwindcss.com/docs/placeholder-color
|
|
2562
|
+
*/
|
|
2563
|
+
"placeholder-color": [{
|
|
2564
|
+
placeholder: [e]
|
|
2565
|
+
}],
|
|
2566
|
+
/**
|
|
2567
|
+
* Placeholder Opacity
|
|
2568
|
+
* @see https://tailwindcss.com/docs/placeholder-opacity
|
|
2569
|
+
*/
|
|
2570
|
+
"placeholder-opacity": [{
|
|
2571
|
+
"placeholder-opacity": [b]
|
|
2572
|
+
}],
|
|
2573
|
+
/**
|
|
2574
|
+
* Text Alignment
|
|
2575
|
+
* @see https://tailwindcss.com/docs/text-align
|
|
2576
|
+
*/
|
|
2577
|
+
"text-alignment": [{
|
|
2578
|
+
text: ["left", "center", "right", "justify", "start", "end"]
|
|
2579
|
+
}],
|
|
2580
|
+
/**
|
|
2581
|
+
* Text Color
|
|
2582
|
+
* @see https://tailwindcss.com/docs/text-color
|
|
2583
|
+
*/
|
|
2584
|
+
"text-color": [{
|
|
2585
|
+
text: [e]
|
|
2586
|
+
}],
|
|
2587
|
+
/**
|
|
2588
|
+
* Text Opacity
|
|
2589
|
+
* @see https://tailwindcss.com/docs/text-opacity
|
|
2590
|
+
*/
|
|
2591
|
+
"text-opacity": [{
|
|
2592
|
+
"text-opacity": [b]
|
|
2593
|
+
}],
|
|
2594
|
+
/**
|
|
2595
|
+
* Text Decoration
|
|
2596
|
+
* @see https://tailwindcss.com/docs/text-decoration
|
|
2597
|
+
*/
|
|
2598
|
+
"text-decoration": ["underline", "overline", "line-through", "no-underline"],
|
|
2599
|
+
/**
|
|
2600
|
+
* Text Decoration Style
|
|
2601
|
+
* @see https://tailwindcss.com/docs/text-decoration-style
|
|
2602
|
+
*/
|
|
2603
|
+
"text-decoration-style": [{
|
|
2604
|
+
decoration: [...Q(), "wavy"]
|
|
2605
|
+
}],
|
|
2606
|
+
/**
|
|
2607
|
+
* Text Decoration Thickness
|
|
2608
|
+
* @see https://tailwindcss.com/docs/text-decoration-thickness
|
|
2609
|
+
*/
|
|
2610
|
+
"text-decoration-thickness": [{
|
|
2611
|
+
decoration: ["auto", "from-font", W, X]
|
|
2612
|
+
}],
|
|
2613
|
+
/**
|
|
2614
|
+
* Text Underline Offset
|
|
2615
|
+
* @see https://tailwindcss.com/docs/text-underline-offset
|
|
2616
|
+
*/
|
|
2617
|
+
"underline-offset": [{
|
|
2618
|
+
"underline-offset": ["auto", W, m]
|
|
2619
|
+
}],
|
|
2620
|
+
/**
|
|
2621
|
+
* Text Decoration Color
|
|
2622
|
+
* @see https://tailwindcss.com/docs/text-decoration-color
|
|
2623
|
+
*/
|
|
2624
|
+
"text-decoration-color": [{
|
|
2625
|
+
decoration: [e]
|
|
2626
|
+
}],
|
|
2627
|
+
/**
|
|
2628
|
+
* Text Transform
|
|
2629
|
+
* @see https://tailwindcss.com/docs/text-transform
|
|
2630
|
+
*/
|
|
2631
|
+
"text-transform": ["uppercase", "lowercase", "capitalize", "normal-case"],
|
|
2632
|
+
/**
|
|
2633
|
+
* Text Overflow
|
|
2634
|
+
* @see https://tailwindcss.com/docs/text-overflow
|
|
2635
|
+
*/
|
|
2636
|
+
"text-overflow": ["truncate", "text-ellipsis", "text-clip"],
|
|
2637
|
+
/**
|
|
2638
|
+
* Text Wrap
|
|
2639
|
+
* @see https://tailwindcss.com/docs/text-wrap
|
|
2640
|
+
*/
|
|
2641
|
+
"text-wrap": [{
|
|
2642
|
+
text: ["wrap", "nowrap", "balance", "pretty"]
|
|
2643
|
+
}],
|
|
2644
|
+
/**
|
|
2645
|
+
* Text Indent
|
|
2646
|
+
* @see https://tailwindcss.com/docs/text-indent
|
|
2647
|
+
*/
|
|
2648
|
+
indent: [{
|
|
2649
|
+
indent: x()
|
|
2650
|
+
}],
|
|
2651
|
+
/**
|
|
2652
|
+
* Vertical Alignment
|
|
2653
|
+
* @see https://tailwindcss.com/docs/vertical-align
|
|
2654
|
+
*/
|
|
2655
|
+
"vertical-align": [{
|
|
2656
|
+
align: ["baseline", "top", "middle", "bottom", "text-top", "text-bottom", "sub", "super", m]
|
|
2657
|
+
}],
|
|
2658
|
+
/**
|
|
2659
|
+
* Whitespace
|
|
2660
|
+
* @see https://tailwindcss.com/docs/whitespace
|
|
2661
|
+
*/
|
|
2662
|
+
whitespace: [{
|
|
2663
|
+
whitespace: ["normal", "nowrap", "pre", "pre-line", "pre-wrap", "break-spaces"]
|
|
2664
|
+
}],
|
|
2665
|
+
/**
|
|
2666
|
+
* Word Break
|
|
2667
|
+
* @see https://tailwindcss.com/docs/word-break
|
|
2668
|
+
*/
|
|
2669
|
+
break: [{
|
|
2670
|
+
break: ["normal", "words", "all", "keep"]
|
|
2671
|
+
}],
|
|
2672
|
+
/**
|
|
2673
|
+
* Hyphens
|
|
2674
|
+
* @see https://tailwindcss.com/docs/hyphens
|
|
2675
|
+
*/
|
|
2676
|
+
hyphens: [{
|
|
2677
|
+
hyphens: ["none", "manual", "auto"]
|
|
2678
|
+
}],
|
|
2679
|
+
/**
|
|
2680
|
+
* Content
|
|
2681
|
+
* @see https://tailwindcss.com/docs/content
|
|
2682
|
+
*/
|
|
2683
|
+
content: [{
|
|
2684
|
+
content: ["none", m]
|
|
2685
|
+
}],
|
|
2686
|
+
// Backgrounds
|
|
2687
|
+
/**
|
|
2688
|
+
* Background Attachment
|
|
2689
|
+
* @see https://tailwindcss.com/docs/background-attachment
|
|
2690
|
+
*/
|
|
2691
|
+
"bg-attachment": [{
|
|
2692
|
+
bg: ["fixed", "local", "scroll"]
|
|
2693
|
+
}],
|
|
2694
|
+
/**
|
|
2695
|
+
* Background Clip
|
|
2696
|
+
* @see https://tailwindcss.com/docs/background-clip
|
|
2697
|
+
*/
|
|
2698
|
+
"bg-clip": [{
|
|
2699
|
+
"bg-clip": ["border", "padding", "content", "text"]
|
|
2700
|
+
}],
|
|
2701
|
+
/**
|
|
2702
|
+
* Background Opacity
|
|
2703
|
+
* @deprecated since Tailwind CSS v3.0.0
|
|
2704
|
+
* @see https://tailwindcss.com/docs/background-opacity
|
|
2705
|
+
*/
|
|
2706
|
+
"bg-opacity": [{
|
|
2707
|
+
"bg-opacity": [b]
|
|
2708
|
+
}],
|
|
2709
|
+
/**
|
|
2710
|
+
* Background Origin
|
|
2711
|
+
* @see https://tailwindcss.com/docs/background-origin
|
|
2712
|
+
*/
|
|
2713
|
+
"bg-origin": [{
|
|
2714
|
+
"bg-origin": ["border", "padding", "content"]
|
|
2715
|
+
}],
|
|
2716
|
+
/**
|
|
2717
|
+
* Background Position
|
|
2718
|
+
* @see https://tailwindcss.com/docs/background-position
|
|
2719
|
+
*/
|
|
2720
|
+
"bg-position": [{
|
|
2721
|
+
bg: [...M(), Qs]
|
|
2722
|
+
}],
|
|
2723
|
+
/**
|
|
2724
|
+
* Background Repeat
|
|
2725
|
+
* @see https://tailwindcss.com/docs/background-repeat
|
|
2726
|
+
*/
|
|
2727
|
+
"bg-repeat": [{
|
|
2728
|
+
bg: ["no-repeat", {
|
|
2729
|
+
repeat: ["", "x", "y", "round", "space"]
|
|
2730
|
+
}]
|
|
2731
|
+
}],
|
|
2732
|
+
/**
|
|
2733
|
+
* Background Size
|
|
2734
|
+
* @see https://tailwindcss.com/docs/background-size
|
|
2735
|
+
*/
|
|
2736
|
+
"bg-size": [{
|
|
2737
|
+
bg: ["auto", "cover", "contain", Js]
|
|
2738
|
+
}],
|
|
2739
|
+
/**
|
|
2740
|
+
* Background Image
|
|
2741
|
+
* @see https://tailwindcss.com/docs/background-image
|
|
2742
|
+
*/
|
|
2743
|
+
"bg-image": [{
|
|
2744
|
+
bg: ["none", {
|
|
2745
|
+
"gradient-to": ["t", "tr", "r", "br", "b", "bl", "l", "tl"]
|
|
2746
|
+
}, tl]
|
|
2747
|
+
}],
|
|
2748
|
+
/**
|
|
2749
|
+
* Background Color
|
|
2750
|
+
* @see https://tailwindcss.com/docs/background-color
|
|
2751
|
+
*/
|
|
2752
|
+
"bg-color": [{
|
|
2753
|
+
bg: [e]
|
|
2754
|
+
}],
|
|
2755
|
+
/**
|
|
2756
|
+
* Gradient Color Stops From Position
|
|
2757
|
+
* @see https://tailwindcss.com/docs/gradient-color-stops
|
|
2758
|
+
*/
|
|
2759
|
+
"gradient-from-pos": [{
|
|
2760
|
+
from: [p]
|
|
2761
|
+
}],
|
|
2762
|
+
/**
|
|
2763
|
+
* Gradient Color Stops Via Position
|
|
2764
|
+
* @see https://tailwindcss.com/docs/gradient-color-stops
|
|
2765
|
+
*/
|
|
2766
|
+
"gradient-via-pos": [{
|
|
2767
|
+
via: [p]
|
|
2768
|
+
}],
|
|
2769
|
+
/**
|
|
2770
|
+
* Gradient Color Stops To Position
|
|
2771
|
+
* @see https://tailwindcss.com/docs/gradient-color-stops
|
|
2772
|
+
*/
|
|
2773
|
+
"gradient-to-pos": [{
|
|
2774
|
+
to: [p]
|
|
2775
|
+
}],
|
|
2776
|
+
/**
|
|
2777
|
+
* Gradient Color Stops From
|
|
2778
|
+
* @see https://tailwindcss.com/docs/gradient-color-stops
|
|
2779
|
+
*/
|
|
2780
|
+
"gradient-from": [{
|
|
2781
|
+
from: [h]
|
|
2782
|
+
}],
|
|
2783
|
+
/**
|
|
2784
|
+
* Gradient Color Stops Via
|
|
2785
|
+
* @see https://tailwindcss.com/docs/gradient-color-stops
|
|
2786
|
+
*/
|
|
2787
|
+
"gradient-via": [{
|
|
2788
|
+
via: [h]
|
|
2789
|
+
}],
|
|
2790
|
+
/**
|
|
2791
|
+
* Gradient Color Stops To
|
|
2792
|
+
* @see https://tailwindcss.com/docs/gradient-color-stops
|
|
2793
|
+
*/
|
|
2794
|
+
"gradient-to": [{
|
|
2795
|
+
to: [h]
|
|
2796
|
+
}],
|
|
2797
|
+
// Borders
|
|
2798
|
+
/**
|
|
2799
|
+
* Border Radius
|
|
2800
|
+
* @see https://tailwindcss.com/docs/border-radius
|
|
2801
|
+
*/
|
|
2802
|
+
rounded: [{
|
|
2803
|
+
rounded: [i]
|
|
2804
|
+
}],
|
|
2805
|
+
/**
|
|
2806
|
+
* Border Radius Start
|
|
2807
|
+
* @see https://tailwindcss.com/docs/border-radius
|
|
2808
|
+
*/
|
|
2809
|
+
"rounded-s": [{
|
|
2810
|
+
"rounded-s": [i]
|
|
2811
|
+
}],
|
|
2812
|
+
/**
|
|
2813
|
+
* Border Radius End
|
|
2814
|
+
* @see https://tailwindcss.com/docs/border-radius
|
|
2815
|
+
*/
|
|
2816
|
+
"rounded-e": [{
|
|
2817
|
+
"rounded-e": [i]
|
|
2818
|
+
}],
|
|
2819
|
+
/**
|
|
2820
|
+
* Border Radius Top
|
|
2821
|
+
* @see https://tailwindcss.com/docs/border-radius
|
|
2822
|
+
*/
|
|
2823
|
+
"rounded-t": [{
|
|
2824
|
+
"rounded-t": [i]
|
|
2825
|
+
}],
|
|
2826
|
+
/**
|
|
2827
|
+
* Border Radius Right
|
|
2828
|
+
* @see https://tailwindcss.com/docs/border-radius
|
|
2829
|
+
*/
|
|
2830
|
+
"rounded-r": [{
|
|
2831
|
+
"rounded-r": [i]
|
|
2832
|
+
}],
|
|
2833
|
+
/**
|
|
2834
|
+
* Border Radius Bottom
|
|
2835
|
+
* @see https://tailwindcss.com/docs/border-radius
|
|
2836
|
+
*/
|
|
2837
|
+
"rounded-b": [{
|
|
2838
|
+
"rounded-b": [i]
|
|
2839
|
+
}],
|
|
2840
|
+
/**
|
|
2841
|
+
* Border Radius Left
|
|
2842
|
+
* @see https://tailwindcss.com/docs/border-radius
|
|
2843
|
+
*/
|
|
2844
|
+
"rounded-l": [{
|
|
2845
|
+
"rounded-l": [i]
|
|
2846
|
+
}],
|
|
2847
|
+
/**
|
|
2848
|
+
* Border Radius Start Start
|
|
2849
|
+
* @see https://tailwindcss.com/docs/border-radius
|
|
2850
|
+
*/
|
|
2851
|
+
"rounded-ss": [{
|
|
2852
|
+
"rounded-ss": [i]
|
|
2853
|
+
}],
|
|
2854
|
+
/**
|
|
2855
|
+
* Border Radius Start End
|
|
2856
|
+
* @see https://tailwindcss.com/docs/border-radius
|
|
2857
|
+
*/
|
|
2858
|
+
"rounded-se": [{
|
|
2859
|
+
"rounded-se": [i]
|
|
2860
|
+
}],
|
|
2861
|
+
/**
|
|
2862
|
+
* Border Radius End End
|
|
2863
|
+
* @see https://tailwindcss.com/docs/border-radius
|
|
2864
|
+
*/
|
|
2865
|
+
"rounded-ee": [{
|
|
2866
|
+
"rounded-ee": [i]
|
|
2867
|
+
}],
|
|
2868
|
+
/**
|
|
2869
|
+
* Border Radius End Start
|
|
2870
|
+
* @see https://tailwindcss.com/docs/border-radius
|
|
2871
|
+
*/
|
|
2872
|
+
"rounded-es": [{
|
|
2873
|
+
"rounded-es": [i]
|
|
2874
|
+
}],
|
|
2875
|
+
/**
|
|
2876
|
+
* Border Radius Top Left
|
|
2877
|
+
* @see https://tailwindcss.com/docs/border-radius
|
|
2878
|
+
*/
|
|
2879
|
+
"rounded-tl": [{
|
|
2880
|
+
"rounded-tl": [i]
|
|
2881
|
+
}],
|
|
2882
|
+
/**
|
|
2883
|
+
* Border Radius Top Right
|
|
2884
|
+
* @see https://tailwindcss.com/docs/border-radius
|
|
2885
|
+
*/
|
|
2886
|
+
"rounded-tr": [{
|
|
2887
|
+
"rounded-tr": [i]
|
|
2888
|
+
}],
|
|
2889
|
+
/**
|
|
2890
|
+
* Border Radius Bottom Right
|
|
2891
|
+
* @see https://tailwindcss.com/docs/border-radius
|
|
2892
|
+
*/
|
|
2893
|
+
"rounded-br": [{
|
|
2894
|
+
"rounded-br": [i]
|
|
2895
|
+
}],
|
|
2896
|
+
/**
|
|
2897
|
+
* Border Radius Bottom Left
|
|
2898
|
+
* @see https://tailwindcss.com/docs/border-radius
|
|
2899
|
+
*/
|
|
2900
|
+
"rounded-bl": [{
|
|
2901
|
+
"rounded-bl": [i]
|
|
2902
|
+
}],
|
|
2903
|
+
/**
|
|
2904
|
+
* Border Width
|
|
2905
|
+
* @see https://tailwindcss.com/docs/border-width
|
|
2906
|
+
*/
|
|
2907
|
+
"border-w": [{
|
|
2908
|
+
border: [s]
|
|
2909
|
+
}],
|
|
2910
|
+
/**
|
|
2911
|
+
* Border Width X
|
|
2912
|
+
* @see https://tailwindcss.com/docs/border-width
|
|
2913
|
+
*/
|
|
2914
|
+
"border-w-x": [{
|
|
2915
|
+
"border-x": [s]
|
|
2916
|
+
}],
|
|
2917
|
+
/**
|
|
2918
|
+
* Border Width Y
|
|
2919
|
+
* @see https://tailwindcss.com/docs/border-width
|
|
2920
|
+
*/
|
|
2921
|
+
"border-w-y": [{
|
|
2922
|
+
"border-y": [s]
|
|
2923
|
+
}],
|
|
2924
|
+
/**
|
|
2925
|
+
* Border Width Start
|
|
2926
|
+
* @see https://tailwindcss.com/docs/border-width
|
|
2927
|
+
*/
|
|
2928
|
+
"border-w-s": [{
|
|
2929
|
+
"border-s": [s]
|
|
2930
|
+
}],
|
|
2931
|
+
/**
|
|
2932
|
+
* Border Width End
|
|
2933
|
+
* @see https://tailwindcss.com/docs/border-width
|
|
2934
|
+
*/
|
|
2935
|
+
"border-w-e": [{
|
|
2936
|
+
"border-e": [s]
|
|
2937
|
+
}],
|
|
2938
|
+
/**
|
|
2939
|
+
* Border Width Top
|
|
2940
|
+
* @see https://tailwindcss.com/docs/border-width
|
|
2941
|
+
*/
|
|
2942
|
+
"border-w-t": [{
|
|
2943
|
+
"border-t": [s]
|
|
2944
|
+
}],
|
|
2945
|
+
/**
|
|
2946
|
+
* Border Width Right
|
|
2947
|
+
* @see https://tailwindcss.com/docs/border-width
|
|
2948
|
+
*/
|
|
2949
|
+
"border-w-r": [{
|
|
2950
|
+
"border-r": [s]
|
|
2951
|
+
}],
|
|
2952
|
+
/**
|
|
2953
|
+
* Border Width Bottom
|
|
2954
|
+
* @see https://tailwindcss.com/docs/border-width
|
|
2955
|
+
*/
|
|
2956
|
+
"border-w-b": [{
|
|
2957
|
+
"border-b": [s]
|
|
2958
|
+
}],
|
|
2959
|
+
/**
|
|
2960
|
+
* Border Width Left
|
|
2961
|
+
* @see https://tailwindcss.com/docs/border-width
|
|
2962
|
+
*/
|
|
2963
|
+
"border-w-l": [{
|
|
2964
|
+
"border-l": [s]
|
|
2965
|
+
}],
|
|
2966
|
+
/**
|
|
2967
|
+
* Border Opacity
|
|
2968
|
+
* @see https://tailwindcss.com/docs/border-opacity
|
|
2969
|
+
*/
|
|
2970
|
+
"border-opacity": [{
|
|
2971
|
+
"border-opacity": [b]
|
|
2972
|
+
}],
|
|
2973
|
+
/**
|
|
2974
|
+
* Border Style
|
|
2975
|
+
* @see https://tailwindcss.com/docs/border-style
|
|
2976
|
+
*/
|
|
2977
|
+
"border-style": [{
|
|
2978
|
+
border: [...Q(), "hidden"]
|
|
2979
|
+
}],
|
|
2980
|
+
/**
|
|
2981
|
+
* Divide Width X
|
|
2982
|
+
* @see https://tailwindcss.com/docs/divide-width
|
|
2983
|
+
*/
|
|
2984
|
+
"divide-x": [{
|
|
2985
|
+
"divide-x": [s]
|
|
2986
|
+
}],
|
|
2987
|
+
/**
|
|
2988
|
+
* Divide Width X Reverse
|
|
2989
|
+
* @see https://tailwindcss.com/docs/divide-width
|
|
2990
|
+
*/
|
|
2991
|
+
"divide-x-reverse": ["divide-x-reverse"],
|
|
2992
|
+
/**
|
|
2993
|
+
* Divide Width Y
|
|
2994
|
+
* @see https://tailwindcss.com/docs/divide-width
|
|
2995
|
+
*/
|
|
2996
|
+
"divide-y": [{
|
|
2997
|
+
"divide-y": [s]
|
|
2998
|
+
}],
|
|
2999
|
+
/**
|
|
3000
|
+
* Divide Width Y Reverse
|
|
3001
|
+
* @see https://tailwindcss.com/docs/divide-width
|
|
3002
|
+
*/
|
|
3003
|
+
"divide-y-reverse": ["divide-y-reverse"],
|
|
3004
|
+
/**
|
|
3005
|
+
* Divide Opacity
|
|
3006
|
+
* @see https://tailwindcss.com/docs/divide-opacity
|
|
3007
|
+
*/
|
|
3008
|
+
"divide-opacity": [{
|
|
3009
|
+
"divide-opacity": [b]
|
|
3010
|
+
}],
|
|
3011
|
+
/**
|
|
3012
|
+
* Divide Style
|
|
3013
|
+
* @see https://tailwindcss.com/docs/divide-style
|
|
3014
|
+
*/
|
|
3015
|
+
"divide-style": [{
|
|
3016
|
+
divide: Q()
|
|
3017
|
+
}],
|
|
3018
|
+
/**
|
|
3019
|
+
* Border Color
|
|
3020
|
+
* @see https://tailwindcss.com/docs/border-color
|
|
3021
|
+
*/
|
|
3022
|
+
"border-color": [{
|
|
3023
|
+
border: [o]
|
|
3024
|
+
}],
|
|
3025
|
+
/**
|
|
3026
|
+
* Border Color X
|
|
3027
|
+
* @see https://tailwindcss.com/docs/border-color
|
|
3028
|
+
*/
|
|
3029
|
+
"border-color-x": [{
|
|
3030
|
+
"border-x": [o]
|
|
3031
|
+
}],
|
|
3032
|
+
/**
|
|
3033
|
+
* Border Color Y
|
|
3034
|
+
* @see https://tailwindcss.com/docs/border-color
|
|
3035
|
+
*/
|
|
3036
|
+
"border-color-y": [{
|
|
3037
|
+
"border-y": [o]
|
|
3038
|
+
}],
|
|
3039
|
+
/**
|
|
3040
|
+
* Border Color Top
|
|
3041
|
+
* @see https://tailwindcss.com/docs/border-color
|
|
3042
|
+
*/
|
|
3043
|
+
"border-color-t": [{
|
|
3044
|
+
"border-t": [o]
|
|
3045
|
+
}],
|
|
3046
|
+
/**
|
|
3047
|
+
* Border Color Right
|
|
3048
|
+
* @see https://tailwindcss.com/docs/border-color
|
|
3049
|
+
*/
|
|
3050
|
+
"border-color-r": [{
|
|
3051
|
+
"border-r": [o]
|
|
3052
|
+
}],
|
|
3053
|
+
/**
|
|
3054
|
+
* Border Color Bottom
|
|
3055
|
+
* @see https://tailwindcss.com/docs/border-color
|
|
3056
|
+
*/
|
|
3057
|
+
"border-color-b": [{
|
|
3058
|
+
"border-b": [o]
|
|
3059
|
+
}],
|
|
3060
|
+
/**
|
|
3061
|
+
* Border Color Left
|
|
3062
|
+
* @see https://tailwindcss.com/docs/border-color
|
|
3063
|
+
*/
|
|
3064
|
+
"border-color-l": [{
|
|
3065
|
+
"border-l": [o]
|
|
3066
|
+
}],
|
|
3067
|
+
/**
|
|
3068
|
+
* Divide Color
|
|
3069
|
+
* @see https://tailwindcss.com/docs/divide-color
|
|
3070
|
+
*/
|
|
3071
|
+
"divide-color": [{
|
|
3072
|
+
divide: [o]
|
|
3073
|
+
}],
|
|
3074
|
+
/**
|
|
3075
|
+
* Outline Style
|
|
3076
|
+
* @see https://tailwindcss.com/docs/outline-style
|
|
3077
|
+
*/
|
|
3078
|
+
"outline-style": [{
|
|
3079
|
+
outline: ["", ...Q()]
|
|
3080
|
+
}],
|
|
3081
|
+
/**
|
|
3082
|
+
* Outline Offset
|
|
3083
|
+
* @see https://tailwindcss.com/docs/outline-offset
|
|
3084
|
+
*/
|
|
3085
|
+
"outline-offset": [{
|
|
3086
|
+
"outline-offset": [W, m]
|
|
3087
|
+
}],
|
|
3088
|
+
/**
|
|
3089
|
+
* Outline Width
|
|
3090
|
+
* @see https://tailwindcss.com/docs/outline-width
|
|
3091
|
+
*/
|
|
3092
|
+
"outline-w": [{
|
|
3093
|
+
outline: [W, X]
|
|
3094
|
+
}],
|
|
3095
|
+
/**
|
|
3096
|
+
* Outline Color
|
|
3097
|
+
* @see https://tailwindcss.com/docs/outline-color
|
|
3098
|
+
*/
|
|
3099
|
+
"outline-color": [{
|
|
3100
|
+
outline: [e]
|
|
3101
|
+
}],
|
|
3102
|
+
/**
|
|
3103
|
+
* Ring Width
|
|
3104
|
+
* @see https://tailwindcss.com/docs/ring-width
|
|
3105
|
+
*/
|
|
3106
|
+
"ring-w": [{
|
|
3107
|
+
ring: ue()
|
|
3108
|
+
}],
|
|
3109
|
+
/**
|
|
3110
|
+
* Ring Width Inset
|
|
3111
|
+
* @see https://tailwindcss.com/docs/ring-width
|
|
3112
|
+
*/
|
|
3113
|
+
"ring-w-inset": ["ring-inset"],
|
|
3114
|
+
/**
|
|
3115
|
+
* Ring Color
|
|
3116
|
+
* @see https://tailwindcss.com/docs/ring-color
|
|
3117
|
+
*/
|
|
3118
|
+
"ring-color": [{
|
|
3119
|
+
ring: [e]
|
|
3120
|
+
}],
|
|
3121
|
+
/**
|
|
3122
|
+
* Ring Opacity
|
|
3123
|
+
* @see https://tailwindcss.com/docs/ring-opacity
|
|
3124
|
+
*/
|
|
3125
|
+
"ring-opacity": [{
|
|
3126
|
+
"ring-opacity": [b]
|
|
3127
|
+
}],
|
|
3128
|
+
/**
|
|
3129
|
+
* Ring Offset Width
|
|
3130
|
+
* @see https://tailwindcss.com/docs/ring-offset-width
|
|
3131
|
+
*/
|
|
3132
|
+
"ring-offset-w": [{
|
|
3133
|
+
"ring-offset": [W, X]
|
|
3134
|
+
}],
|
|
3135
|
+
/**
|
|
3136
|
+
* Ring Offset Color
|
|
3137
|
+
* @see https://tailwindcss.com/docs/ring-offset-color
|
|
3138
|
+
*/
|
|
3139
|
+
"ring-offset-color": [{
|
|
3140
|
+
"ring-offset": [e]
|
|
3141
|
+
}],
|
|
3142
|
+
// Effects
|
|
3143
|
+
/**
|
|
3144
|
+
* Box Shadow
|
|
3145
|
+
* @see https://tailwindcss.com/docs/box-shadow
|
|
3146
|
+
*/
|
|
3147
|
+
shadow: [{
|
|
3148
|
+
shadow: ["", "inner", "none", Z, rl]
|
|
3149
|
+
}],
|
|
3150
|
+
/**
|
|
3151
|
+
* Box Shadow Color
|
|
3152
|
+
* @see https://tailwindcss.com/docs/box-shadow-color
|
|
3153
|
+
*/
|
|
3154
|
+
"shadow-color": [{
|
|
3155
|
+
shadow: [Se]
|
|
3156
|
+
}],
|
|
3157
|
+
/**
|
|
3158
|
+
* Opacity
|
|
3159
|
+
* @see https://tailwindcss.com/docs/opacity
|
|
3160
|
+
*/
|
|
3161
|
+
opacity: [{
|
|
3162
|
+
opacity: [b]
|
|
3163
|
+
}],
|
|
3164
|
+
/**
|
|
3165
|
+
* Mix Blend Mode
|
|
3166
|
+
* @see https://tailwindcss.com/docs/mix-blend-mode
|
|
3167
|
+
*/
|
|
3168
|
+
"mix-blend": [{
|
|
3169
|
+
"mix-blend": [...Ne(), "plus-lighter", "plus-darker"]
|
|
3170
|
+
}],
|
|
3171
|
+
/**
|
|
3172
|
+
* Background Blend Mode
|
|
3173
|
+
* @see https://tailwindcss.com/docs/background-blend-mode
|
|
3174
|
+
*/
|
|
3175
|
+
"bg-blend": [{
|
|
3176
|
+
"bg-blend": Ne()
|
|
3177
|
+
}],
|
|
3178
|
+
// Filters
|
|
3179
|
+
/**
|
|
3180
|
+
* Filter
|
|
3181
|
+
* @deprecated since Tailwind CSS v3.0.0
|
|
3182
|
+
* @see https://tailwindcss.com/docs/filter
|
|
3183
|
+
*/
|
|
3184
|
+
filter: [{
|
|
3185
|
+
filter: ["", "none"]
|
|
3186
|
+
}],
|
|
3187
|
+
/**
|
|
3188
|
+
* Blur
|
|
3189
|
+
* @see https://tailwindcss.com/docs/blur
|
|
3190
|
+
*/
|
|
3191
|
+
blur: [{
|
|
3192
|
+
blur: [r]
|
|
3193
|
+
}],
|
|
3194
|
+
/**
|
|
3195
|
+
* Brightness
|
|
3196
|
+
* @see https://tailwindcss.com/docs/brightness
|
|
3197
|
+
*/
|
|
3198
|
+
brightness: [{
|
|
3199
|
+
brightness: [n]
|
|
3200
|
+
}],
|
|
3201
|
+
/**
|
|
3202
|
+
* Contrast
|
|
3203
|
+
* @see https://tailwindcss.com/docs/contrast
|
|
3204
|
+
*/
|
|
3205
|
+
contrast: [{
|
|
3206
|
+
contrast: [l]
|
|
3207
|
+
}],
|
|
3208
|
+
/**
|
|
3209
|
+
* Drop Shadow
|
|
3210
|
+
* @see https://tailwindcss.com/docs/drop-shadow
|
|
3211
|
+
*/
|
|
3212
|
+
"drop-shadow": [{
|
|
3213
|
+
"drop-shadow": ["", "none", Z, m]
|
|
3214
|
+
}],
|
|
3215
|
+
/**
|
|
3216
|
+
* Grayscale
|
|
3217
|
+
* @see https://tailwindcss.com/docs/grayscale
|
|
3218
|
+
*/
|
|
3219
|
+
grayscale: [{
|
|
3220
|
+
grayscale: [u]
|
|
3221
|
+
}],
|
|
3222
|
+
/**
|
|
3223
|
+
* Hue Rotate
|
|
3224
|
+
* @see https://tailwindcss.com/docs/hue-rotate
|
|
3225
|
+
*/
|
|
3226
|
+
"hue-rotate": [{
|
|
3227
|
+
"hue-rotate": [d]
|
|
3228
|
+
}],
|
|
3229
|
+
/**
|
|
3230
|
+
* Invert
|
|
3231
|
+
* @see https://tailwindcss.com/docs/invert
|
|
3232
|
+
*/
|
|
3233
|
+
invert: [{
|
|
3234
|
+
invert: [c]
|
|
3235
|
+
}],
|
|
3236
|
+
/**
|
|
3237
|
+
* Saturate
|
|
3238
|
+
* @see https://tailwindcss.com/docs/saturate
|
|
3239
|
+
*/
|
|
3240
|
+
saturate: [{
|
|
3241
|
+
saturate: [P]
|
|
3242
|
+
}],
|
|
3243
|
+
/**
|
|
3244
|
+
* Sepia
|
|
3245
|
+
* @see https://tailwindcss.com/docs/sepia
|
|
3246
|
+
*/
|
|
3247
|
+
sepia: [{
|
|
3248
|
+
sepia: [T]
|
|
3249
|
+
}],
|
|
3250
|
+
/**
|
|
3251
|
+
* Backdrop Filter
|
|
3252
|
+
* @deprecated since Tailwind CSS v3.0.0
|
|
3253
|
+
* @see https://tailwindcss.com/docs/backdrop-filter
|
|
3254
|
+
*/
|
|
3255
|
+
"backdrop-filter": [{
|
|
3256
|
+
"backdrop-filter": ["", "none"]
|
|
3257
|
+
}],
|
|
3258
|
+
/**
|
|
3259
|
+
* Backdrop Blur
|
|
3260
|
+
* @see https://tailwindcss.com/docs/backdrop-blur
|
|
3261
|
+
*/
|
|
3262
|
+
"backdrop-blur": [{
|
|
3263
|
+
"backdrop-blur": [r]
|
|
3264
|
+
}],
|
|
3265
|
+
/**
|
|
3266
|
+
* Backdrop Brightness
|
|
3267
|
+
* @see https://tailwindcss.com/docs/backdrop-brightness
|
|
3268
|
+
*/
|
|
3269
|
+
"backdrop-brightness": [{
|
|
3270
|
+
"backdrop-brightness": [n]
|
|
3271
|
+
}],
|
|
3272
|
+
/**
|
|
3273
|
+
* Backdrop Contrast
|
|
3274
|
+
* @see https://tailwindcss.com/docs/backdrop-contrast
|
|
3275
|
+
*/
|
|
3276
|
+
"backdrop-contrast": [{
|
|
3277
|
+
"backdrop-contrast": [l]
|
|
3278
|
+
}],
|
|
3279
|
+
/**
|
|
3280
|
+
* Backdrop Grayscale
|
|
3281
|
+
* @see https://tailwindcss.com/docs/backdrop-grayscale
|
|
3282
|
+
*/
|
|
3283
|
+
"backdrop-grayscale": [{
|
|
3284
|
+
"backdrop-grayscale": [u]
|
|
3285
|
+
}],
|
|
3286
|
+
/**
|
|
3287
|
+
* Backdrop Hue Rotate
|
|
3288
|
+
* @see https://tailwindcss.com/docs/backdrop-hue-rotate
|
|
3289
|
+
*/
|
|
3290
|
+
"backdrop-hue-rotate": [{
|
|
3291
|
+
"backdrop-hue-rotate": [d]
|
|
3292
|
+
}],
|
|
3293
|
+
/**
|
|
3294
|
+
* Backdrop Invert
|
|
3295
|
+
* @see https://tailwindcss.com/docs/backdrop-invert
|
|
3296
|
+
*/
|
|
3297
|
+
"backdrop-invert": [{
|
|
3298
|
+
"backdrop-invert": [c]
|
|
3299
|
+
}],
|
|
3300
|
+
/**
|
|
3301
|
+
* Backdrop Opacity
|
|
3302
|
+
* @see https://tailwindcss.com/docs/backdrop-opacity
|
|
3303
|
+
*/
|
|
3304
|
+
"backdrop-opacity": [{
|
|
3305
|
+
"backdrop-opacity": [b]
|
|
3306
|
+
}],
|
|
3307
|
+
/**
|
|
3308
|
+
* Backdrop Saturate
|
|
3309
|
+
* @see https://tailwindcss.com/docs/backdrop-saturate
|
|
3310
|
+
*/
|
|
3311
|
+
"backdrop-saturate": [{
|
|
3312
|
+
"backdrop-saturate": [P]
|
|
3313
|
+
}],
|
|
3314
|
+
/**
|
|
3315
|
+
* Backdrop Sepia
|
|
3316
|
+
* @see https://tailwindcss.com/docs/backdrop-sepia
|
|
3317
|
+
*/
|
|
3318
|
+
"backdrop-sepia": [{
|
|
3319
|
+
"backdrop-sepia": [T]
|
|
3320
|
+
}],
|
|
3321
|
+
// Tables
|
|
3322
|
+
/**
|
|
3323
|
+
* Border Collapse
|
|
3324
|
+
* @see https://tailwindcss.com/docs/border-collapse
|
|
3325
|
+
*/
|
|
3326
|
+
"border-collapse": [{
|
|
3327
|
+
border: ["collapse", "separate"]
|
|
3328
|
+
}],
|
|
3329
|
+
/**
|
|
3330
|
+
* Border Spacing
|
|
3331
|
+
* @see https://tailwindcss.com/docs/border-spacing
|
|
3332
|
+
*/
|
|
3333
|
+
"border-spacing": [{
|
|
3334
|
+
"border-spacing": [a]
|
|
3335
|
+
}],
|
|
3336
|
+
/**
|
|
3337
|
+
* Border Spacing X
|
|
3338
|
+
* @see https://tailwindcss.com/docs/border-spacing
|
|
3339
|
+
*/
|
|
3340
|
+
"border-spacing-x": [{
|
|
3341
|
+
"border-spacing-x": [a]
|
|
3342
|
+
}],
|
|
3343
|
+
/**
|
|
3344
|
+
* Border Spacing Y
|
|
3345
|
+
* @see https://tailwindcss.com/docs/border-spacing
|
|
3346
|
+
*/
|
|
3347
|
+
"border-spacing-y": [{
|
|
3348
|
+
"border-spacing-y": [a]
|
|
3349
|
+
}],
|
|
3350
|
+
/**
|
|
3351
|
+
* Table Layout
|
|
3352
|
+
* @see https://tailwindcss.com/docs/table-layout
|
|
3353
|
+
*/
|
|
3354
|
+
"table-layout": [{
|
|
3355
|
+
table: ["auto", "fixed"]
|
|
3356
|
+
}],
|
|
3357
|
+
/**
|
|
3358
|
+
* Caption Side
|
|
3359
|
+
* @see https://tailwindcss.com/docs/caption-side
|
|
3360
|
+
*/
|
|
3361
|
+
caption: [{
|
|
3362
|
+
caption: ["top", "bottom"]
|
|
3363
|
+
}],
|
|
3364
|
+
// Transitions and Animation
|
|
3365
|
+
/**
|
|
3366
|
+
* Tranisition Property
|
|
3367
|
+
* @see https://tailwindcss.com/docs/transition-property
|
|
3368
|
+
*/
|
|
3369
|
+
transition: [{
|
|
3370
|
+
transition: ["none", "all", "", "colors", "opacity", "shadow", "transform", m]
|
|
3371
|
+
}],
|
|
3372
|
+
/**
|
|
3373
|
+
* Transition Duration
|
|
3374
|
+
* @see https://tailwindcss.com/docs/transition-duration
|
|
3375
|
+
*/
|
|
3376
|
+
duration: [{
|
|
3377
|
+
duration: H()
|
|
3378
|
+
}],
|
|
3379
|
+
/**
|
|
3380
|
+
* Transition Timing Function
|
|
3381
|
+
* @see https://tailwindcss.com/docs/transition-timing-function
|
|
3382
|
+
*/
|
|
3383
|
+
ease: [{
|
|
3384
|
+
ease: ["linear", "in", "out", "in-out", m]
|
|
3385
|
+
}],
|
|
3386
|
+
/**
|
|
3387
|
+
* Transition Delay
|
|
3388
|
+
* @see https://tailwindcss.com/docs/transition-delay
|
|
3389
|
+
*/
|
|
3390
|
+
delay: [{
|
|
3391
|
+
delay: H()
|
|
3392
|
+
}],
|
|
3393
|
+
/**
|
|
3394
|
+
* Animation
|
|
3395
|
+
* @see https://tailwindcss.com/docs/animation
|
|
3396
|
+
*/
|
|
3397
|
+
animate: [{
|
|
3398
|
+
animate: ["none", "spin", "ping", "pulse", "bounce", m]
|
|
3399
|
+
}],
|
|
3400
|
+
// Transforms
|
|
3401
|
+
/**
|
|
3402
|
+
* Transform
|
|
3403
|
+
* @see https://tailwindcss.com/docs/transform
|
|
3404
|
+
*/
|
|
3405
|
+
transform: [{
|
|
3406
|
+
transform: ["", "gpu", "none"]
|
|
3407
|
+
}],
|
|
3408
|
+
/**
|
|
3409
|
+
* Scale
|
|
3410
|
+
* @see https://tailwindcss.com/docs/scale
|
|
3411
|
+
*/
|
|
3412
|
+
scale: [{
|
|
3413
|
+
scale: [O]
|
|
3414
|
+
}],
|
|
3415
|
+
/**
|
|
3416
|
+
* Scale X
|
|
3417
|
+
* @see https://tailwindcss.com/docs/scale
|
|
3418
|
+
*/
|
|
3419
|
+
"scale-x": [{
|
|
3420
|
+
"scale-x": [O]
|
|
3421
|
+
}],
|
|
3422
|
+
/**
|
|
3423
|
+
* Scale Y
|
|
3424
|
+
* @see https://tailwindcss.com/docs/scale
|
|
3425
|
+
*/
|
|
3426
|
+
"scale-y": [{
|
|
3427
|
+
"scale-y": [O]
|
|
3428
|
+
}],
|
|
3429
|
+
/**
|
|
3430
|
+
* Rotate
|
|
3431
|
+
* @see https://tailwindcss.com/docs/rotate
|
|
3432
|
+
*/
|
|
3433
|
+
rotate: [{
|
|
3434
|
+
rotate: [_e, m]
|
|
3435
|
+
}],
|
|
3436
|
+
/**
|
|
3437
|
+
* Translate X
|
|
3438
|
+
* @see https://tailwindcss.com/docs/translate
|
|
3439
|
+
*/
|
|
3440
|
+
"translate-x": [{
|
|
3441
|
+
"translate-x": [z]
|
|
3442
|
+
}],
|
|
3443
|
+
/**
|
|
3444
|
+
* Translate Y
|
|
3445
|
+
* @see https://tailwindcss.com/docs/translate
|
|
3446
|
+
*/
|
|
3447
|
+
"translate-y": [{
|
|
3448
|
+
"translate-y": [z]
|
|
3449
|
+
}],
|
|
3450
|
+
/**
|
|
3451
|
+
* Skew X
|
|
3452
|
+
* @see https://tailwindcss.com/docs/skew
|
|
3453
|
+
*/
|
|
3454
|
+
"skew-x": [{
|
|
3455
|
+
"skew-x": [S]
|
|
3456
|
+
}],
|
|
3457
|
+
/**
|
|
3458
|
+
* Skew Y
|
|
3459
|
+
* @see https://tailwindcss.com/docs/skew
|
|
3460
|
+
*/
|
|
3461
|
+
"skew-y": [{
|
|
3462
|
+
"skew-y": [S]
|
|
3463
|
+
}],
|
|
3464
|
+
/**
|
|
3465
|
+
* Transform Origin
|
|
3466
|
+
* @see https://tailwindcss.com/docs/transform-origin
|
|
3467
|
+
*/
|
|
3468
|
+
"transform-origin": [{
|
|
3469
|
+
origin: ["center", "top", "top-right", "right", "bottom-right", "bottom", "bottom-left", "left", "top-left", m]
|
|
3470
|
+
}],
|
|
3471
|
+
// Interactivity
|
|
3472
|
+
/**
|
|
3473
|
+
* Accent Color
|
|
3474
|
+
* @see https://tailwindcss.com/docs/accent-color
|
|
3475
|
+
*/
|
|
3476
|
+
accent: [{
|
|
3477
|
+
accent: ["auto", e]
|
|
3478
|
+
}],
|
|
3479
|
+
/**
|
|
3480
|
+
* Appearance
|
|
3481
|
+
* @see https://tailwindcss.com/docs/appearance
|
|
3482
|
+
*/
|
|
3483
|
+
appearance: [{
|
|
3484
|
+
appearance: ["none", "auto"]
|
|
3485
|
+
}],
|
|
3486
|
+
/**
|
|
3487
|
+
* Cursor
|
|
3488
|
+
* @see https://tailwindcss.com/docs/cursor
|
|
3489
|
+
*/
|
|
3490
|
+
cursor: [{
|
|
3491
|
+
cursor: ["auto", "default", "pointer", "wait", "text", "move", "help", "not-allowed", "none", "context-menu", "progress", "cell", "crosshair", "vertical-text", "alias", "copy", "no-drop", "grab", "grabbing", "all-scroll", "col-resize", "row-resize", "n-resize", "e-resize", "s-resize", "w-resize", "ne-resize", "nw-resize", "se-resize", "sw-resize", "ew-resize", "ns-resize", "nesw-resize", "nwse-resize", "zoom-in", "zoom-out", m]
|
|
3492
|
+
}],
|
|
3493
|
+
/**
|
|
3494
|
+
* Caret Color
|
|
3495
|
+
* @see https://tailwindcss.com/docs/just-in-time-mode#caret-color-utilities
|
|
3496
|
+
*/
|
|
3497
|
+
"caret-color": [{
|
|
3498
|
+
caret: [e]
|
|
3499
|
+
}],
|
|
3500
|
+
/**
|
|
3501
|
+
* Pointer Events
|
|
3502
|
+
* @see https://tailwindcss.com/docs/pointer-events
|
|
3503
|
+
*/
|
|
3504
|
+
"pointer-events": [{
|
|
3505
|
+
"pointer-events": ["none", "auto"]
|
|
3506
|
+
}],
|
|
3507
|
+
/**
|
|
3508
|
+
* Resize
|
|
3509
|
+
* @see https://tailwindcss.com/docs/resize
|
|
3510
|
+
*/
|
|
3511
|
+
resize: [{
|
|
3512
|
+
resize: ["none", "y", "x", ""]
|
|
3513
|
+
}],
|
|
3514
|
+
/**
|
|
3515
|
+
* Scroll Behavior
|
|
3516
|
+
* @see https://tailwindcss.com/docs/scroll-behavior
|
|
3517
|
+
*/
|
|
3518
|
+
"scroll-behavior": [{
|
|
3519
|
+
scroll: ["auto", "smooth"]
|
|
3520
|
+
}],
|
|
3521
|
+
/**
|
|
3522
|
+
* Scroll Margin
|
|
3523
|
+
* @see https://tailwindcss.com/docs/scroll-margin
|
|
3524
|
+
*/
|
|
3525
|
+
"scroll-m": [{
|
|
3526
|
+
"scroll-m": x()
|
|
3527
|
+
}],
|
|
3528
|
+
/**
|
|
3529
|
+
* Scroll Margin X
|
|
3530
|
+
* @see https://tailwindcss.com/docs/scroll-margin
|
|
3531
|
+
*/
|
|
3532
|
+
"scroll-mx": [{
|
|
3533
|
+
"scroll-mx": x()
|
|
3534
|
+
}],
|
|
3535
|
+
/**
|
|
3536
|
+
* Scroll Margin Y
|
|
3537
|
+
* @see https://tailwindcss.com/docs/scroll-margin
|
|
3538
|
+
*/
|
|
3539
|
+
"scroll-my": [{
|
|
3540
|
+
"scroll-my": x()
|
|
3541
|
+
}],
|
|
3542
|
+
/**
|
|
3543
|
+
* Scroll Margin Start
|
|
3544
|
+
* @see https://tailwindcss.com/docs/scroll-margin
|
|
3545
|
+
*/
|
|
3546
|
+
"scroll-ms": [{
|
|
3547
|
+
"scroll-ms": x()
|
|
3548
|
+
}],
|
|
3549
|
+
/**
|
|
3550
|
+
* Scroll Margin End
|
|
3551
|
+
* @see https://tailwindcss.com/docs/scroll-margin
|
|
3552
|
+
*/
|
|
3553
|
+
"scroll-me": [{
|
|
3554
|
+
"scroll-me": x()
|
|
3555
|
+
}],
|
|
3556
|
+
/**
|
|
3557
|
+
* Scroll Margin Top
|
|
3558
|
+
* @see https://tailwindcss.com/docs/scroll-margin
|
|
3559
|
+
*/
|
|
3560
|
+
"scroll-mt": [{
|
|
3561
|
+
"scroll-mt": x()
|
|
3562
|
+
}],
|
|
3563
|
+
/**
|
|
3564
|
+
* Scroll Margin Right
|
|
3565
|
+
* @see https://tailwindcss.com/docs/scroll-margin
|
|
3566
|
+
*/
|
|
3567
|
+
"scroll-mr": [{
|
|
3568
|
+
"scroll-mr": x()
|
|
3569
|
+
}],
|
|
3570
|
+
/**
|
|
3571
|
+
* Scroll Margin Bottom
|
|
3572
|
+
* @see https://tailwindcss.com/docs/scroll-margin
|
|
3573
|
+
*/
|
|
3574
|
+
"scroll-mb": [{
|
|
3575
|
+
"scroll-mb": x()
|
|
3576
|
+
}],
|
|
3577
|
+
/**
|
|
3578
|
+
* Scroll Margin Left
|
|
3579
|
+
* @see https://tailwindcss.com/docs/scroll-margin
|
|
3580
|
+
*/
|
|
3581
|
+
"scroll-ml": [{
|
|
3582
|
+
"scroll-ml": x()
|
|
3583
|
+
}],
|
|
3584
|
+
/**
|
|
3585
|
+
* Scroll Padding
|
|
3586
|
+
* @see https://tailwindcss.com/docs/scroll-padding
|
|
3587
|
+
*/
|
|
3588
|
+
"scroll-p": [{
|
|
3589
|
+
"scroll-p": x()
|
|
3590
|
+
}],
|
|
3591
|
+
/**
|
|
3592
|
+
* Scroll Padding X
|
|
3593
|
+
* @see https://tailwindcss.com/docs/scroll-padding
|
|
3594
|
+
*/
|
|
3595
|
+
"scroll-px": [{
|
|
3596
|
+
"scroll-px": x()
|
|
3597
|
+
}],
|
|
3598
|
+
/**
|
|
3599
|
+
* Scroll Padding Y
|
|
3600
|
+
* @see https://tailwindcss.com/docs/scroll-padding
|
|
3601
|
+
*/
|
|
3602
|
+
"scroll-py": [{
|
|
3603
|
+
"scroll-py": x()
|
|
3604
|
+
}],
|
|
3605
|
+
/**
|
|
3606
|
+
* Scroll Padding Start
|
|
3607
|
+
* @see https://tailwindcss.com/docs/scroll-padding
|
|
3608
|
+
*/
|
|
3609
|
+
"scroll-ps": [{
|
|
3610
|
+
"scroll-ps": x()
|
|
3611
|
+
}],
|
|
3612
|
+
/**
|
|
3613
|
+
* Scroll Padding End
|
|
3614
|
+
* @see https://tailwindcss.com/docs/scroll-padding
|
|
3615
|
+
*/
|
|
3616
|
+
"scroll-pe": [{
|
|
3617
|
+
"scroll-pe": x()
|
|
3618
|
+
}],
|
|
3619
|
+
/**
|
|
3620
|
+
* Scroll Padding Top
|
|
3621
|
+
* @see https://tailwindcss.com/docs/scroll-padding
|
|
3622
|
+
*/
|
|
3623
|
+
"scroll-pt": [{
|
|
3624
|
+
"scroll-pt": x()
|
|
3625
|
+
}],
|
|
3626
|
+
/**
|
|
3627
|
+
* Scroll Padding Right
|
|
3628
|
+
* @see https://tailwindcss.com/docs/scroll-padding
|
|
3629
|
+
*/
|
|
3630
|
+
"scroll-pr": [{
|
|
3631
|
+
"scroll-pr": x()
|
|
3632
|
+
}],
|
|
3633
|
+
/**
|
|
3634
|
+
* Scroll Padding Bottom
|
|
3635
|
+
* @see https://tailwindcss.com/docs/scroll-padding
|
|
3636
|
+
*/
|
|
3637
|
+
"scroll-pb": [{
|
|
3638
|
+
"scroll-pb": x()
|
|
3639
|
+
}],
|
|
3640
|
+
/**
|
|
3641
|
+
* Scroll Padding Left
|
|
3642
|
+
* @see https://tailwindcss.com/docs/scroll-padding
|
|
3643
|
+
*/
|
|
3644
|
+
"scroll-pl": [{
|
|
3645
|
+
"scroll-pl": x()
|
|
3646
|
+
}],
|
|
3647
|
+
/**
|
|
3648
|
+
* Scroll Snap Align
|
|
3649
|
+
* @see https://tailwindcss.com/docs/scroll-snap-align
|
|
3650
|
+
*/
|
|
3651
|
+
"snap-align": [{
|
|
3652
|
+
snap: ["start", "end", "center", "align-none"]
|
|
3653
|
+
}],
|
|
3654
|
+
/**
|
|
3655
|
+
* Scroll Snap Stop
|
|
3656
|
+
* @see https://tailwindcss.com/docs/scroll-snap-stop
|
|
3657
|
+
*/
|
|
3658
|
+
"snap-stop": [{
|
|
3659
|
+
snap: ["normal", "always"]
|
|
3660
|
+
}],
|
|
3661
|
+
/**
|
|
3662
|
+
* Scroll Snap Type
|
|
3663
|
+
* @see https://tailwindcss.com/docs/scroll-snap-type
|
|
3664
|
+
*/
|
|
3665
|
+
"snap-type": [{
|
|
3666
|
+
snap: ["none", "x", "y", "both"]
|
|
3667
|
+
}],
|
|
3668
|
+
/**
|
|
3669
|
+
* Scroll Snap Type Strictness
|
|
3670
|
+
* @see https://tailwindcss.com/docs/scroll-snap-type
|
|
3671
|
+
*/
|
|
3672
|
+
"snap-strictness": [{
|
|
3673
|
+
snap: ["mandatory", "proximity"]
|
|
3674
|
+
}],
|
|
3675
|
+
/**
|
|
3676
|
+
* Touch Action
|
|
3677
|
+
* @see https://tailwindcss.com/docs/touch-action
|
|
3678
|
+
*/
|
|
3679
|
+
touch: [{
|
|
3680
|
+
touch: ["auto", "none", "manipulation"]
|
|
3681
|
+
}],
|
|
3682
|
+
/**
|
|
3683
|
+
* Touch Action X
|
|
3684
|
+
* @see https://tailwindcss.com/docs/touch-action
|
|
3685
|
+
*/
|
|
3686
|
+
"touch-x": [{
|
|
3687
|
+
"touch-pan": ["x", "left", "right"]
|
|
3688
|
+
}],
|
|
3689
|
+
/**
|
|
3690
|
+
* Touch Action Y
|
|
3691
|
+
* @see https://tailwindcss.com/docs/touch-action
|
|
3692
|
+
*/
|
|
3693
|
+
"touch-y": [{
|
|
3694
|
+
"touch-pan": ["y", "up", "down"]
|
|
3695
|
+
}],
|
|
3696
|
+
/**
|
|
3697
|
+
* Touch Action Pinch Zoom
|
|
3698
|
+
* @see https://tailwindcss.com/docs/touch-action
|
|
3699
|
+
*/
|
|
3700
|
+
"touch-pz": ["touch-pinch-zoom"],
|
|
3701
|
+
/**
|
|
3702
|
+
* User Select
|
|
3703
|
+
* @see https://tailwindcss.com/docs/user-select
|
|
3704
|
+
*/
|
|
3705
|
+
select: [{
|
|
3706
|
+
select: ["none", "text", "all", "auto"]
|
|
3707
|
+
}],
|
|
3708
|
+
/**
|
|
3709
|
+
* Will Change
|
|
3710
|
+
* @see https://tailwindcss.com/docs/will-change
|
|
3711
|
+
*/
|
|
3712
|
+
"will-change": [{
|
|
3713
|
+
"will-change": ["auto", "scroll", "contents", "transform", m]
|
|
3714
|
+
}],
|
|
3715
|
+
// SVG
|
|
3716
|
+
/**
|
|
3717
|
+
* Fill
|
|
3718
|
+
* @see https://tailwindcss.com/docs/fill
|
|
3719
|
+
*/
|
|
3720
|
+
fill: [{
|
|
3721
|
+
fill: [e, "none"]
|
|
3722
|
+
}],
|
|
3723
|
+
/**
|
|
3724
|
+
* Stroke Width
|
|
3725
|
+
* @see https://tailwindcss.com/docs/stroke-width
|
|
3726
|
+
*/
|
|
3727
|
+
"stroke-w": [{
|
|
3728
|
+
stroke: [W, X, Je]
|
|
3729
|
+
}],
|
|
3730
|
+
/**
|
|
3731
|
+
* Stroke
|
|
3732
|
+
* @see https://tailwindcss.com/docs/stroke
|
|
3733
|
+
*/
|
|
3734
|
+
stroke: [{
|
|
3735
|
+
stroke: [e, "none"]
|
|
3736
|
+
}],
|
|
3737
|
+
// Accessibility
|
|
3738
|
+
/**
|
|
3739
|
+
* Screen Readers
|
|
3740
|
+
* @see https://tailwindcss.com/docs/screen-readers
|
|
3741
|
+
*/
|
|
3742
|
+
sr: ["sr-only", "not-sr-only"],
|
|
3743
|
+
/**
|
|
3744
|
+
* Forced Color Adjust
|
|
3745
|
+
* @see https://tailwindcss.com/docs/forced-color-adjust
|
|
3746
|
+
*/
|
|
3747
|
+
"forced-color-adjust": [{
|
|
3748
|
+
"forced-color-adjust": ["auto", "none"]
|
|
3749
|
+
}]
|
|
3750
|
+
},
|
|
3751
|
+
conflictingClassGroups: {
|
|
3752
|
+
overflow: ["overflow-x", "overflow-y"],
|
|
3753
|
+
overscroll: ["overscroll-x", "overscroll-y"],
|
|
3754
|
+
inset: ["inset-x", "inset-y", "start", "end", "top", "right", "bottom", "left"],
|
|
3755
|
+
"inset-x": ["right", "left"],
|
|
3756
|
+
"inset-y": ["top", "bottom"],
|
|
3757
|
+
flex: ["basis", "grow", "shrink"],
|
|
3758
|
+
gap: ["gap-x", "gap-y"],
|
|
3759
|
+
p: ["px", "py", "ps", "pe", "pt", "pr", "pb", "pl"],
|
|
3760
|
+
px: ["pr", "pl"],
|
|
3761
|
+
py: ["pt", "pb"],
|
|
3762
|
+
m: ["mx", "my", "ms", "me", "mt", "mr", "mb", "ml"],
|
|
3763
|
+
mx: ["mr", "ml"],
|
|
3764
|
+
my: ["mt", "mb"],
|
|
3765
|
+
size: ["w", "h"],
|
|
3766
|
+
"font-size": ["leading"],
|
|
3767
|
+
"fvn-normal": ["fvn-ordinal", "fvn-slashed-zero", "fvn-figure", "fvn-spacing", "fvn-fraction"],
|
|
3768
|
+
"fvn-ordinal": ["fvn-normal"],
|
|
3769
|
+
"fvn-slashed-zero": ["fvn-normal"],
|
|
3770
|
+
"fvn-figure": ["fvn-normal"],
|
|
3771
|
+
"fvn-spacing": ["fvn-normal"],
|
|
3772
|
+
"fvn-fraction": ["fvn-normal"],
|
|
3773
|
+
"line-clamp": ["display", "overflow"],
|
|
3774
|
+
rounded: ["rounded-s", "rounded-e", "rounded-t", "rounded-r", "rounded-b", "rounded-l", "rounded-ss", "rounded-se", "rounded-ee", "rounded-es", "rounded-tl", "rounded-tr", "rounded-br", "rounded-bl"],
|
|
3775
|
+
"rounded-s": ["rounded-ss", "rounded-es"],
|
|
3776
|
+
"rounded-e": ["rounded-se", "rounded-ee"],
|
|
3777
|
+
"rounded-t": ["rounded-tl", "rounded-tr"],
|
|
3778
|
+
"rounded-r": ["rounded-tr", "rounded-br"],
|
|
3779
|
+
"rounded-b": ["rounded-br", "rounded-bl"],
|
|
3780
|
+
"rounded-l": ["rounded-tl", "rounded-bl"],
|
|
3781
|
+
"border-spacing": ["border-spacing-x", "border-spacing-y"],
|
|
3782
|
+
"border-w": ["border-w-s", "border-w-e", "border-w-t", "border-w-r", "border-w-b", "border-w-l"],
|
|
3783
|
+
"border-w-x": ["border-w-r", "border-w-l"],
|
|
3784
|
+
"border-w-y": ["border-w-t", "border-w-b"],
|
|
3785
|
+
"border-color": ["border-color-t", "border-color-r", "border-color-b", "border-color-l"],
|
|
3786
|
+
"border-color-x": ["border-color-r", "border-color-l"],
|
|
3787
|
+
"border-color-y": ["border-color-t", "border-color-b"],
|
|
3788
|
+
"scroll-m": ["scroll-mx", "scroll-my", "scroll-ms", "scroll-me", "scroll-mt", "scroll-mr", "scroll-mb", "scroll-ml"],
|
|
3789
|
+
"scroll-mx": ["scroll-mr", "scroll-ml"],
|
|
3790
|
+
"scroll-my": ["scroll-mt", "scroll-mb"],
|
|
3791
|
+
"scroll-p": ["scroll-px", "scroll-py", "scroll-ps", "scroll-pe", "scroll-pt", "scroll-pr", "scroll-pb", "scroll-pl"],
|
|
3792
|
+
"scroll-px": ["scroll-pr", "scroll-pl"],
|
|
3793
|
+
"scroll-py": ["scroll-pt", "scroll-pb"],
|
|
3794
|
+
touch: ["touch-x", "touch-y", "touch-pz"],
|
|
3795
|
+
"touch-x": ["touch"],
|
|
3796
|
+
"touch-y": ["touch"],
|
|
3797
|
+
"touch-pz": ["touch"]
|
|
3798
|
+
},
|
|
3799
|
+
conflictingClassGroupModifiers: {
|
|
3800
|
+
"font-size": ["leading"]
|
|
3801
|
+
}
|
|
3802
|
+
};
|
|
3803
|
+
}, Ge = /* @__PURE__ */ Ds(al), sl = ["aria-label"], ll = /* @__PURE__ */ Object.assign({
|
|
3804
|
+
inheritAttrs: !1
|
|
3805
|
+
}, {
|
|
3806
|
+
__name: "PaginationItem",
|
|
3807
|
+
props: {
|
|
3808
|
+
class: {
|
|
3809
|
+
type: String,
|
|
3810
|
+
default: ""
|
|
3811
|
+
},
|
|
3812
|
+
activeClass: {
|
|
3813
|
+
type: String,
|
|
3814
|
+
default: ""
|
|
3815
|
+
},
|
|
3816
|
+
dotClass: {
|
|
3817
|
+
type: String,
|
|
3818
|
+
default: ""
|
|
3819
|
+
},
|
|
3820
|
+
dotActiveClass: {
|
|
3821
|
+
type: String,
|
|
3822
|
+
default: ""
|
|
3823
|
+
},
|
|
3824
|
+
page: {
|
|
3825
|
+
type: Array,
|
|
3826
|
+
default: () => []
|
|
3827
|
+
},
|
|
3828
|
+
pageIndex: {
|
|
3829
|
+
type: Number,
|
|
3830
|
+
default: 0
|
|
3831
|
+
},
|
|
3832
|
+
isActive: {
|
|
3833
|
+
type: Boolean,
|
|
3834
|
+
default: !1
|
|
3835
|
+
},
|
|
3836
|
+
disabled: {
|
|
3837
|
+
type: Boolean,
|
|
3838
|
+
default: !1
|
|
3839
|
+
}
|
|
3840
|
+
},
|
|
3841
|
+
setup(e) {
|
|
3842
|
+
const t = e, { setCurrentIndex: r } = Ee(), n = (a) => {
|
|
3843
|
+
if (t.disabled) return !1;
|
|
3844
|
+
r(a[0]);
|
|
3845
|
+
}, o = _(
|
|
3846
|
+
() => Ge(t.class, t.isActive && t.activeClass, t.disabled && "pointer-events-none")
|
|
3847
|
+
), i = _(() => Ge(t.dotClass, t.isActive && t.dotActiveClass));
|
|
3848
|
+
return (a, s) => ne(a.$slots, "pagination-item", {
|
|
3849
|
+
isCurrentPage: t.isActive,
|
|
3850
|
+
page: t.page,
|
|
3851
|
+
pageIndex: t.pageIndex,
|
|
3852
|
+
attrs: {
|
|
3853
|
+
onClick: () => n(t.page, t.pageIndex)
|
|
3854
|
+
}
|
|
3855
|
+
}, () => [
|
|
3856
|
+
pe("button", ar(a.$attrs, {
|
|
3857
|
+
class: o.value,
|
|
3858
|
+
"aria-label": `Navigate to page ${t.pageIndex + 1}`,
|
|
3859
|
+
onClick: s[0] || (s[0] = (l) => n(t.page, t.pageIndex))
|
|
3860
|
+
}), [
|
|
3861
|
+
pe("div", {
|
|
3862
|
+
class: N(i.value)
|
|
3863
|
+
}, null, 2)
|
|
3864
|
+
], 16, sl)
|
|
3865
|
+
]);
|
|
3866
|
+
}
|
|
3867
|
+
}), ul = {
|
|
3868
|
+
__name: "Pagination",
|
|
3869
|
+
props: {
|
|
3870
|
+
totalSlides: {
|
|
3871
|
+
type: Number,
|
|
3872
|
+
required: !0
|
|
3873
|
+
},
|
|
3874
|
+
perPage: {
|
|
3875
|
+
type: Number,
|
|
3876
|
+
required: !0
|
|
3877
|
+
},
|
|
3878
|
+
wrap: {
|
|
3879
|
+
type: Boolean,
|
|
3880
|
+
default: !1
|
|
3881
|
+
},
|
|
3882
|
+
backgroundClass: {
|
|
3883
|
+
type: String,
|
|
3884
|
+
default: ""
|
|
3885
|
+
},
|
|
3886
|
+
itemClass: {
|
|
3887
|
+
type: String,
|
|
3888
|
+
default: ""
|
|
3889
|
+
},
|
|
3890
|
+
itemSizeClass: {
|
|
3891
|
+
type: String,
|
|
3892
|
+
default: ""
|
|
3893
|
+
},
|
|
3894
|
+
itemActiveClass: {
|
|
3895
|
+
type: String,
|
|
3896
|
+
default: ""
|
|
3897
|
+
},
|
|
3898
|
+
itemDotClass: {
|
|
3899
|
+
type: String,
|
|
3900
|
+
default: ""
|
|
3901
|
+
},
|
|
3902
|
+
itemDotActiveClass: {
|
|
3903
|
+
type: String,
|
|
3904
|
+
default: ""
|
|
3905
|
+
},
|
|
3906
|
+
disableOnNavigation: {
|
|
3907
|
+
type: Boolean,
|
|
3908
|
+
default: !1
|
|
3909
|
+
}
|
|
3910
|
+
},
|
|
3911
|
+
setup(e) {
|
|
3912
|
+
const t = e, { currentIndex: r, isNavigating: n } = Ee(), o = _(() => {
|
|
3913
|
+
const a = Array.from(Array(t.totalSlides).keys());
|
|
3914
|
+
return Vi(a, t.perPage).map((l) => {
|
|
3915
|
+
let d = l[0] - 1;
|
|
3916
|
+
for (; l.length < t.perPage; )
|
|
3917
|
+
l.unshift(d), d--;
|
|
3918
|
+
return l;
|
|
3919
|
+
});
|
|
3920
|
+
}), i = (a) => ss(o.value, (l) => l.includes(r.value)) === a;
|
|
3921
|
+
return (a, s) => (L(), ve("div", {
|
|
3922
|
+
class: N(["evo-vue-carousel__pagination", t.backgroundClass])
|
|
3923
|
+
}, [
|
|
3924
|
+
ne(a.$slots, "pagination", {
|
|
3925
|
+
page: o.value,
|
|
3926
|
+
isCurrentPage: i,
|
|
3927
|
+
isNavigating: y(n)
|
|
3928
|
+
}, () => [
|
|
3929
|
+
(L(!0), ve(ct, null, en(o.value, (l, u) => (L(), fe(y(Ce), {
|
|
3930
|
+
key: l,
|
|
3931
|
+
slots: a.$slots,
|
|
3932
|
+
only: "pagination-item"
|
|
3933
|
+
}, {
|
|
3934
|
+
default: re(() => [
|
|
3935
|
+
U(ll, {
|
|
3936
|
+
class: N(t.itemClass),
|
|
3937
|
+
"active-class": t.itemActiveClass,
|
|
3938
|
+
"dot-class": N([t.itemDotClass, t.itemSizeClass]),
|
|
3939
|
+
"dot-active-class": t.itemDotActiveClass,
|
|
3940
|
+
page: l,
|
|
3941
|
+
"page-index": u,
|
|
3942
|
+
"is-active": i(u),
|
|
3943
|
+
disabled: t.disableOnNavigation && y(n)
|
|
3944
|
+
}, null, 8, ["class", "active-class", "dot-class", "dot-active-class", "page", "page-index", "is-active", "disabled"])
|
|
3945
|
+
]),
|
|
3946
|
+
_: 2
|
|
3947
|
+
}, 1032, ["slots"]))), 128))
|
|
3948
|
+
])
|
|
3949
|
+
], 2));
|
|
3950
|
+
}
|
|
3951
|
+
}, cl = {
|
|
3952
|
+
transform: "rotate(var(--r, 0deg)) scale(var(--sx, 1), var(--sy, 1))"
|
|
3953
|
+
}, nr = {
|
|
3954
|
+
mdi: {
|
|
3955
|
+
size: 24,
|
|
3956
|
+
viewbox: "0 0 24 24"
|
|
3957
|
+
},
|
|
3958
|
+
"simple-icons": {
|
|
3959
|
+
size: 24,
|
|
3960
|
+
viewbox: "0 0 24 24"
|
|
3961
|
+
},
|
|
3962
|
+
default: {
|
|
3963
|
+
size: 0,
|
|
3964
|
+
viewbox: "0 0 0 0"
|
|
3965
|
+
}
|
|
3966
|
+
}, dl = {
|
|
3967
|
+
props: {
|
|
3968
|
+
type: {
|
|
3969
|
+
type: String,
|
|
3970
|
+
required: !0
|
|
3971
|
+
},
|
|
3972
|
+
path: {
|
|
3973
|
+
type: [String, Object, Array],
|
|
3974
|
+
required: !1
|
|
3975
|
+
},
|
|
3976
|
+
pathString: {
|
|
3977
|
+
type: [Array, String, Object],
|
|
3978
|
+
required: !1
|
|
3979
|
+
}
|
|
3980
|
+
},
|
|
3981
|
+
setup(e) {
|
|
3982
|
+
return () => e.type === "fad" ? (console.warn("vue3-icon does not currently support Duotone FontAwesome icons"), R("path")) : Array.isArray(e.path) ? R(
|
|
3983
|
+
"g",
|
|
3984
|
+
{
|
|
3985
|
+
style: {
|
|
3986
|
+
fill: "currentcolor"
|
|
3987
|
+
}
|
|
3988
|
+
},
|
|
3989
|
+
e.path.map((t) => typeof t == "string" ? R("path", { d: t }) : R("path", { ...t }))
|
|
3990
|
+
) : R("path", {
|
|
3991
|
+
d: e.pathString,
|
|
3992
|
+
style: {
|
|
3993
|
+
fill: "currentcolor"
|
|
3994
|
+
}
|
|
3995
|
+
});
|
|
3996
|
+
}
|
|
3997
|
+
}, or = {
|
|
3998
|
+
name: "icon",
|
|
3999
|
+
props: {
|
|
4000
|
+
/**
|
|
4001
|
+
* The icon type, e.g. mdi or simple-icons
|
|
4002
|
+
*/
|
|
4003
|
+
type: {
|
|
4004
|
+
type: String,
|
|
4005
|
+
default: "mdi"
|
|
4006
|
+
},
|
|
4007
|
+
/**
|
|
4008
|
+
* The FontAwesome icon object
|
|
4009
|
+
*/
|
|
4010
|
+
faIcon: {
|
|
4011
|
+
type: Object,
|
|
4012
|
+
default: null
|
|
4013
|
+
},
|
|
4014
|
+
/**
|
|
4015
|
+
* The svg path for the icon
|
|
4016
|
+
*/
|
|
4017
|
+
path: {
|
|
4018
|
+
type: [String, Object, Array]
|
|
4019
|
+
},
|
|
4020
|
+
/**
|
|
4021
|
+
* The size of the icon when rendered in the browser
|
|
4022
|
+
*/
|
|
4023
|
+
size: {
|
|
4024
|
+
type: [Number, String],
|
|
4025
|
+
default: 24
|
|
4026
|
+
},
|
|
4027
|
+
/**
|
|
4028
|
+
* The SVG viewbox, affects path position, but not render size
|
|
4029
|
+
*/
|
|
4030
|
+
viewbox: {
|
|
4031
|
+
type: String,
|
|
4032
|
+
required: !1
|
|
4033
|
+
},
|
|
4034
|
+
/**
|
|
4035
|
+
* Flip the icon either horizontally, vertically, or both
|
|
4036
|
+
*/
|
|
4037
|
+
flip: {
|
|
4038
|
+
type: String,
|
|
4039
|
+
default: "",
|
|
4040
|
+
validator: (e) => ["", "horizontal", "vertical", "both"].includes(e)
|
|
4041
|
+
},
|
|
4042
|
+
/**
|
|
4043
|
+
* Rotate the icon
|
|
4044
|
+
*/
|
|
4045
|
+
rotate: {
|
|
4046
|
+
type: [Number, String],
|
|
4047
|
+
default: 0
|
|
4048
|
+
},
|
|
4049
|
+
/**
|
|
4050
|
+
* Don't add the XML namespace attribute
|
|
4051
|
+
*/
|
|
4052
|
+
noNamespace: {
|
|
4053
|
+
type: Boolean,
|
|
4054
|
+
default: !1
|
|
4055
|
+
},
|
|
4056
|
+
/**
|
|
4057
|
+
* Don't add any styles to SVG, disables flip and rotate
|
|
4058
|
+
*/
|
|
4059
|
+
noStyles: {
|
|
4060
|
+
type: Boolean,
|
|
4061
|
+
default: !1
|
|
4062
|
+
},
|
|
4063
|
+
/**
|
|
4064
|
+
* Don't add the width/height attributes to the SVG element
|
|
4065
|
+
*/
|
|
4066
|
+
noDimensions: {
|
|
4067
|
+
type: Boolean,
|
|
4068
|
+
default: !1
|
|
4069
|
+
}
|
|
4070
|
+
},
|
|
4071
|
+
setup(e) {
|
|
4072
|
+
if (!e.path && !e.faIcon)
|
|
4073
|
+
return console.warn("vue3-icon requires either a 'path' or an 'fa-icon' property"), () => R("div");
|
|
4074
|
+
const t = _(() => {
|
|
4075
|
+
var u;
|
|
4076
|
+
return ((u = e.faIcon) == null ? void 0 : u.prefix) || e.type;
|
|
4077
|
+
}), r = _(() => parseInt(e.rotate, 10)), n = _(() => nr[t.value] || nr.default), o = _(() => parseInt(e.size, 10) || n.value.size), i = _(() => e.faIcon ? `0 0 ${e.faIcon.icon[0]} ${e.faIcon.icon[1]}` : !1), a = _(() => i.value || e.viewbox || n.value.viewbox), s = _(() => {
|
|
4078
|
+
if (e.noStyles !== !0)
|
|
4079
|
+
return {
|
|
4080
|
+
...cl,
|
|
4081
|
+
"--sx": ["both", "horizontal"].includes(e.flip) ? "-1" : "1",
|
|
4082
|
+
"--sy": ["both", "vertical"].includes(e.flip) ? "-1" : "1",
|
|
4083
|
+
"--r": isNaN(r.value) ? r.value : r.value + "deg"
|
|
4084
|
+
};
|
|
4085
|
+
}), l = _(() => {
|
|
4086
|
+
var u;
|
|
4087
|
+
return e.faIcon ? (u = e.faIcon) == null ? void 0 : u.icon[4] : e.type === "simple-icons" && typeof e.path == "object" ? e.path.path : e.path;
|
|
4088
|
+
});
|
|
4089
|
+
return () => R(
|
|
4090
|
+
"svg",
|
|
4091
|
+
{
|
|
4092
|
+
xmlns: e.noNamespace !== !0 ? "http://www.w3.org/2000/svg" : void 0,
|
|
4093
|
+
style: s.value,
|
|
4094
|
+
class: ["vue3-icon"],
|
|
4095
|
+
width: e.noDimensions !== !0 ? o.value : void 0,
|
|
4096
|
+
height: e.noDimensions !== !0 ? o.value : void 0,
|
|
4097
|
+
viewBox: a.value
|
|
4098
|
+
},
|
|
4099
|
+
[R(dl, { path: e.path, type: t.value, pathString: l.value })]
|
|
4100
|
+
);
|
|
4101
|
+
}
|
|
4102
|
+
};
|
|
4103
|
+
function Dr(e, t = 0, r) {
|
|
4104
|
+
const n = r - t;
|
|
4105
|
+
return ((e - t) % n + n) % n + t;
|
|
4106
|
+
}
|
|
4107
|
+
const fl = ["disabled"], pl = ["disabled"], gl = "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", vl = "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", hl = /* @__PURE__ */ Object.assign({
|
|
4108
|
+
inheritAttrs: !1
|
|
4109
|
+
}, {
|
|
4110
|
+
__name: "Navigation",
|
|
4111
|
+
props: {
|
|
4112
|
+
itemClass: {
|
|
4113
|
+
type: String,
|
|
4114
|
+
required: !0
|
|
4115
|
+
},
|
|
4116
|
+
itemSizeClass: {
|
|
4117
|
+
type: String,
|
|
4118
|
+
required: !0
|
|
4119
|
+
},
|
|
4120
|
+
prevClass: {
|
|
4121
|
+
type: String,
|
|
4122
|
+
required: !0
|
|
4123
|
+
},
|
|
4124
|
+
nextClass: {
|
|
4125
|
+
type: String,
|
|
4126
|
+
required: !0
|
|
4127
|
+
},
|
|
4128
|
+
totalSlides: {
|
|
4129
|
+
type: Number,
|
|
4130
|
+
required: !0
|
|
4131
|
+
},
|
|
4132
|
+
disableOnNavigation: {
|
|
4133
|
+
type: Boolean,
|
|
4134
|
+
default: !1
|
|
4135
|
+
}
|
|
4136
|
+
},
|
|
4137
|
+
setup(e) {
|
|
4138
|
+
const t = e, { config: r, currentIndex: n, setCurrentIndex: o, isNavigating: i } = Ee(), a = _(() => n.value + r.value.perPage), s = _(
|
|
4139
|
+
() => !r.value.wrap && n.value === 0 || t.disableOnNavigation && i.value === !0
|
|
4140
|
+
), l = _(
|
|
4141
|
+
() => !r.value.wrap && a.value === t.totalSlides || t.disableOnNavigation && i.value === !0
|
|
4142
|
+
), u = _(() => Ge(t.itemClass, t.itemSizeClass, t.prevClass)), d = _(() => Ge(t.itemClass, t.itemSizeClass, t.nextClass)), c = (p) => {
|
|
4143
|
+
if (r.value.mode === Le.GALLERY === !1) return p;
|
|
4144
|
+
if (r.value.wrap === !0) return Dr(p, 0, t.totalSlides);
|
|
4145
|
+
const b = p + r.value.perPage;
|
|
4146
|
+
return p < 0 ? 0 : b >= t.totalSlides ? t.totalSlides - r.value.perPage : p;
|
|
4147
|
+
}, f = () => {
|
|
4148
|
+
const p = c(n.value - r.value.slideBy);
|
|
4149
|
+
o(p);
|
|
4150
|
+
}, h = () => {
|
|
4151
|
+
const p = c(n.value + r.value.slideBy);
|
|
4152
|
+
o(p);
|
|
4153
|
+
};
|
|
4154
|
+
return (p, v) => ne(p.$slots, "navigation", {
|
|
4155
|
+
onPrev: f,
|
|
4156
|
+
onNext: h,
|
|
4157
|
+
currentIndex: y(n),
|
|
4158
|
+
config: y(r)
|
|
4159
|
+
}, () => [
|
|
4160
|
+
pe("div", ar({ class: "evo-vue-carousel__navigation" }, p.$attrs), [
|
|
4161
|
+
ne(p.$slots, "navigation-prev", {
|
|
4162
|
+
onClick: f,
|
|
4163
|
+
currentIndex: y(n),
|
|
4164
|
+
disabled: s.value
|
|
4165
|
+
}, () => [
|
|
4166
|
+
pe("button", {
|
|
4167
|
+
class: N(["evo-vue-carousel__navigation-item evo-vue-carousel__navigation-prev", u.value]),
|
|
4168
|
+
disabled: s.value,
|
|
4169
|
+
onClick: f
|
|
4170
|
+
}, [
|
|
4171
|
+
U(y(or), {
|
|
4172
|
+
path: gl,
|
|
4173
|
+
viewBox: "0 0 48 48",
|
|
4174
|
+
class: "w-full h-full"
|
|
4175
|
+
})
|
|
4176
|
+
], 10, fl)
|
|
4177
|
+
]),
|
|
4178
|
+
ne(p.$slots, "navigation-next", {
|
|
4179
|
+
onClick: h,
|
|
4180
|
+
currentIndex: y(n)
|
|
4181
|
+
}, () => [
|
|
4182
|
+
pe("button", {
|
|
4183
|
+
class: N(["evo-vue-carousel__navigation-item evo-vue-carousel__navigation-next", d.value]),
|
|
4184
|
+
disabled: l.value,
|
|
4185
|
+
onClick: h
|
|
4186
|
+
}, [
|
|
4187
|
+
U(y(or), {
|
|
4188
|
+
path: vl,
|
|
4189
|
+
viewBox: "0 0 48 48",
|
|
4190
|
+
class: "w-full h-full"
|
|
4191
|
+
})
|
|
4192
|
+
], 10, pl)
|
|
4193
|
+
])
|
|
4194
|
+
], 16)
|
|
4195
|
+
]);
|
|
4196
|
+
}
|
|
4197
|
+
}), Me = (e = 1) => e <= 1 ? new Promise((t) => requestAnimationFrame(t)) : new Promise((t) => requestAnimationFrame(() => Me(e - 1).then(t))), qe = process.env.NODE_ENV !== "production", bl = (e) => Hr(e) === "fragment", ml = (e) => {
|
|
4198
|
+
if (typeof e == "string")
|
|
4199
|
+
return e;
|
|
4200
|
+
if (typeof e == "number")
|
|
4201
|
+
return String(e);
|
|
4202
|
+
if (ke(e) && e.type === sr)
|
|
4203
|
+
return String(e.children);
|
|
4204
|
+
}, xt = (e) => {
|
|
4205
|
+
let t = typeof e;
|
|
4206
|
+
return t === "object" && (e === null ? t = "null" : Array.isArray(e) ? t = "array" : ke(e) ? t = "vnode" : e instanceof Date ? t = "date" : e instanceof RegExp && (t = "regexp")), t;
|
|
4207
|
+
}, _t = (e, t) => {
|
|
4208
|
+
console.warn(`[${e}] ${t}`);
|
|
4209
|
+
}, yl = (e, t, r) => {
|
|
4210
|
+
for (let n = 0; n < t.length; ++n) {
|
|
4211
|
+
const o = xt(t[n]), i = r[n];
|
|
4212
|
+
i !== o && _t(e, `Argument ${n + 1} was ${o}, should be ${i}`);
|
|
4213
|
+
}
|
|
4214
|
+
}, Hr = (e) => {
|
|
4215
|
+
const t = typeof e;
|
|
4216
|
+
if (e == null || t === "boolean")
|
|
4217
|
+
return "comment";
|
|
4218
|
+
if (t === "string" || t === "number")
|
|
4219
|
+
return "text";
|
|
4220
|
+
if (Array.isArray(e))
|
|
4221
|
+
return "fragment";
|
|
4222
|
+
if (ke(e)) {
|
|
4223
|
+
const { type: r } = e, n = typeof r;
|
|
4224
|
+
if (n === "symbol") {
|
|
4225
|
+
if (r === ct)
|
|
4226
|
+
return "fragment";
|
|
4227
|
+
if (r === sr)
|
|
4228
|
+
return "text";
|
|
4229
|
+
if (r === rn)
|
|
4230
|
+
return "comment";
|
|
4231
|
+
if (r === nn)
|
|
4232
|
+
return "static";
|
|
4233
|
+
} else {
|
|
4234
|
+
if (n === "string")
|
|
4235
|
+
return "element";
|
|
4236
|
+
if (n === "object" || n === "function")
|
|
4237
|
+
return "component";
|
|
4238
|
+
}
|
|
4239
|
+
}
|
|
4240
|
+
}, wl = (e) => {
|
|
4241
|
+
if (Array.isArray(e))
|
|
4242
|
+
return e;
|
|
4243
|
+
const { children: t } = e;
|
|
4244
|
+
return Array.isArray(t) ? t : (qe && _t("getFragmentChildren", `Unknown children for fragment: ${xt(t)}`), []);
|
|
4245
|
+
};
|
|
4246
|
+
function Wr(e) {
|
|
4247
|
+
return qe ? Object.freeze(e) : e;
|
|
4248
|
+
}
|
|
4249
|
+
const xl = /* @__PURE__ */ Wr({
|
|
4250
|
+
element: !0,
|
|
4251
|
+
component: !0
|
|
4252
|
+
}), _l = /* @__PURE__ */ Wr({
|
|
4253
|
+
element: !0,
|
|
4254
|
+
component: !0,
|
|
4255
|
+
text: !0,
|
|
4256
|
+
static: !0
|
|
4257
|
+
}), Sl = (e, t) => {
|
|
4258
|
+
const r = Hr(e);
|
|
4259
|
+
return !r || r === "fragment" || !t[r] ? null : ke(e) ? e : r === "text" ? on(ml(e)) : ze();
|
|
4260
|
+
}, Ur = (e, t, r = _l) => (qe && yl("replaceChildren", [e, t, r], ["array", "function", "object"]), Vr(e, t, r)), Vr = (e, t, r) => {
|
|
4261
|
+
var n;
|
|
4262
|
+
let o = null;
|
|
4263
|
+
for (let i = 0; i < e.length; ++i) {
|
|
4264
|
+
const a = e[i];
|
|
4265
|
+
if (bl(a)) {
|
|
4266
|
+
const s = wl(a), l = Vr(s, t, r);
|
|
4267
|
+
let u = a;
|
|
4268
|
+
s !== l && (o ?? (o = e.slice(0, i)), Array.isArray(a) ? u = l : (u = tn(a), u.children = l)), o && o.push(u);
|
|
4269
|
+
} else {
|
|
4270
|
+
const s = Sl(a, r);
|
|
4271
|
+
if (s) {
|
|
4272
|
+
const l = (n = t(s)) != null ? n : s;
|
|
4273
|
+
if (qe) {
|
|
4274
|
+
const u = xt(l);
|
|
4275
|
+
["array", "vnode", "string", "number", "undefined"].includes(u) || _t("replaceChildren", `Callback returned unexpected ${u} ${String(l)}`);
|
|
4276
|
+
}
|
|
4277
|
+
l !== a && (o ?? (o = e.slice(0, i))), Array.isArray(l) ? o && o.push(...l) : o && o.push(l);
|
|
4278
|
+
} else
|
|
4279
|
+
o && o.push(a);
|
|
4280
|
+
}
|
|
4281
|
+
}
|
|
4282
|
+
return o ?? e;
|
|
4283
|
+
}, qr = {
|
|
4284
|
+
props: {
|
|
4285
|
+
isClone: {
|
|
4286
|
+
type: Boolean,
|
|
4287
|
+
default: !1
|
|
4288
|
+
}
|
|
4289
|
+
},
|
|
4290
|
+
setup(e, { slots: t }) {
|
|
4291
|
+
const r = $(null), n = an(), o = ut(), { width: i, height: a, stop: s } = yt(r), { registerSlide: l, updateSlide: u, unregisterSlide: d } = vs();
|
|
4292
|
+
return e.isClone === !1 ? l(n, o) : s(), sn(() => {
|
|
4293
|
+
e.isClone === !1 && d(n);
|
|
4294
|
+
}), k([i, a], ([c, f]) => {
|
|
4295
|
+
e.isClone === !1 && u(n, { width: c, height: f });
|
|
4296
|
+
}), () => R(
|
|
4297
|
+
"div",
|
|
4298
|
+
{
|
|
4299
|
+
ref: r
|
|
4300
|
+
},
|
|
4301
|
+
t.default()
|
|
4302
|
+
);
|
|
4303
|
+
}
|
|
4304
|
+
}, Cl = (e, t) => {
|
|
4305
|
+
const r = e.__vccOpts || e;
|
|
4306
|
+
for (const [n, o] of t)
|
|
4307
|
+
r[n] = o;
|
|
4308
|
+
return r;
|
|
4309
|
+
}, Al = ["data-width", "data-height"], Il = {
|
|
4310
|
+
__name: "Slider",
|
|
4311
|
+
props: {
|
|
4312
|
+
totalSlides: {
|
|
4313
|
+
type: Number,
|
|
4314
|
+
default: 0
|
|
4315
|
+
},
|
|
4316
|
+
isInit: {
|
|
4317
|
+
type: Boolean,
|
|
4318
|
+
default: !1
|
|
4319
|
+
}
|
|
4320
|
+
},
|
|
4321
|
+
setup(e) {
|
|
4322
|
+
ln((I) => ({
|
|
4323
|
+
"9b503c46": O.value
|
|
4324
|
+
}));
|
|
4325
|
+
const t = Object.freeze({
|
|
4326
|
+
element: !0,
|
|
4327
|
+
component: !0,
|
|
4328
|
+
static: !0,
|
|
4329
|
+
comment: !1,
|
|
4330
|
+
text: !1
|
|
4331
|
+
}), r = e, { config: n, currentIndex: o, setCurrentIndex: i, isHovered: a, isNavigating: s, setIsNavigating: l } = Ee(), u = $(!0), d = _(() => n.value.autoplay ?? 0), {
|
|
4332
|
+
pause: c,
|
|
4333
|
+
resume: f,
|
|
4334
|
+
isActive: h
|
|
4335
|
+
} = Pr(() => {
|
|
4336
|
+
i(o.value + n.value.slideBy);
|
|
4337
|
+
}, d), p = (I, x) => I / x * 100, v = _(() => ({
|
|
4338
|
+
transform: `translate3d(${T.value}px, 0, 0)`,
|
|
4339
|
+
transitionDuration: `${p(E.value, n.value.transitionSpeed)}ms`
|
|
4340
|
+
})), g = (I) => {
|
|
4341
|
+
const x = parseFloat(O.value), ue = n.value.wrap ? r.totalSlides + I : I;
|
|
4342
|
+
return (x + n.value.gap) * ue * -1;
|
|
4343
|
+
}, b = $(null), { width: w, height: P } = yt(b), O = _(() => {
|
|
4344
|
+
const I = n.value.gap > 0 ? n.value.gap * (n.value.perPage - 1) : 0;
|
|
4345
|
+
return (w.value - I) / n.value.perPage + "px";
|
|
4346
|
+
}), T = $(0), S = $(0);
|
|
4347
|
+
k(
|
|
4348
|
+
() => r.isInit,
|
|
4349
|
+
async (I) => {
|
|
4350
|
+
I && (T.value = g(o.value), await Me(2), u.value = !1);
|
|
4351
|
+
}
|
|
4352
|
+
);
|
|
4353
|
+
const E = _(() => Math.abs(T.value - S.value));
|
|
4354
|
+
k(o, (I) => {
|
|
4355
|
+
s.value === !1 && (S.value = T.value), T.value = g(I);
|
|
4356
|
+
});
|
|
4357
|
+
const z = () => {
|
|
4358
|
+
l(!0);
|
|
4359
|
+
}, B = async () => {
|
|
4360
|
+
u.value = !0, await Me();
|
|
4361
|
+
const I = r.totalSlides;
|
|
4362
|
+
i(Dr(o.value, 0, I)), await Me(), u.value = !1, l(!1);
|
|
4363
|
+
};
|
|
4364
|
+
k(a, (I) => {
|
|
4365
|
+
n.value.pauseOnHover === !0 && (I ? c() : f());
|
|
4366
|
+
});
|
|
4367
|
+
const me = {
|
|
4368
|
+
props: {
|
|
4369
|
+
gap: {
|
|
4370
|
+
type: Number,
|
|
4371
|
+
default: 0
|
|
4372
|
+
}
|
|
4373
|
+
},
|
|
4374
|
+
setup(I, { slots: x }) {
|
|
4375
|
+
const ue = () => {
|
|
4376
|
+
var M;
|
|
4377
|
+
return ((M = x.default) == null ? void 0 : M.call(x)) || [];
|
|
4378
|
+
}, G = (M) => {
|
|
4379
|
+
let Q = 0;
|
|
4380
|
+
const Ne = M ? `_${M}` : "";
|
|
4381
|
+
return Ur(
|
|
4382
|
+
ue(),
|
|
4383
|
+
(ye) => (Q++, R(
|
|
4384
|
+
qr,
|
|
4385
|
+
{
|
|
4386
|
+
class: N([
|
|
4387
|
+
"evo-vue-carousel__slide shrink-0 grow-0",
|
|
4388
|
+
{
|
|
4389
|
+
"evo-vue-carousel__slide-clone": !!M,
|
|
4390
|
+
"evo-vue-carousel__slide-prefix": M === "prefix",
|
|
4391
|
+
"evo-vue-carousel__slide-suffix": M === "suffix"
|
|
4392
|
+
}
|
|
4393
|
+
]),
|
|
4394
|
+
role: "option",
|
|
4395
|
+
style: {
|
|
4396
|
+
flexBasis: "var(--slide-width, 0px)",
|
|
4397
|
+
marginRight: `${I.gap}px`
|
|
4398
|
+
},
|
|
4399
|
+
key: `slide_${Q}${Ne}`,
|
|
4400
|
+
isClone: !!M
|
|
4401
|
+
},
|
|
4402
|
+
{
|
|
4403
|
+
default: () => [ye]
|
|
4404
|
+
}
|
|
4405
|
+
)),
|
|
4406
|
+
t
|
|
4407
|
+
);
|
|
4408
|
+
};
|
|
4409
|
+
return () => R(
|
|
4410
|
+
"div",
|
|
4411
|
+
{
|
|
4412
|
+
class: N([
|
|
4413
|
+
"evo-vue-carousel__viewport-track flex flex-row",
|
|
4414
|
+
{
|
|
4415
|
+
"is-navigating": s.value,
|
|
4416
|
+
"autoplay-active": h.value
|
|
4417
|
+
},
|
|
4418
|
+
u.value ? "transition-none" : "transition-all",
|
|
4419
|
+
n.value.slideTransitionTimingClass
|
|
4420
|
+
]),
|
|
4421
|
+
style: v.value,
|
|
4422
|
+
onTransitionstart: z,
|
|
4423
|
+
onTransitionend: B
|
|
4424
|
+
},
|
|
4425
|
+
n.value.wrap ? xr(G("prefix"), G(), G("suffix")) : G()
|
|
4426
|
+
);
|
|
4427
|
+
}
|
|
4428
|
+
};
|
|
4429
|
+
return (I, x) => (L(), ve("div", {
|
|
4430
|
+
ref_key: "viewportRef",
|
|
4431
|
+
ref: b,
|
|
4432
|
+
class: "evo-vue-carousel__viewport evo-vue-carousel__viewport--slider relative flex w-full max-h-full overflow-hidden",
|
|
4433
|
+
role: "listbox",
|
|
4434
|
+
"data-width": y(w),
|
|
4435
|
+
"data-height": y(P)
|
|
4436
|
+
}, [
|
|
4437
|
+
U(y(Ce), {
|
|
4438
|
+
slots: I.$slots,
|
|
4439
|
+
only: "default"
|
|
4440
|
+
}, {
|
|
4441
|
+
default: re(() => [
|
|
4442
|
+
U(me, {
|
|
4443
|
+
gap: y(n).gap
|
|
4444
|
+
}, null, 8, ["gap"])
|
|
4445
|
+
]),
|
|
4446
|
+
_: 1
|
|
4447
|
+
}, 8, ["slots"])
|
|
4448
|
+
], 8, Al));
|
|
4449
|
+
}
|
|
4450
|
+
}, Tl = /* @__PURE__ */ Cl(Il, [["__scopeId", "data-v-b98adb49"]]), Ol = ["data-height"], Pl = {
|
|
4451
|
+
__name: "Gallery",
|
|
4452
|
+
props: {
|
|
4453
|
+
totalSlides: {
|
|
4454
|
+
type: Number,
|
|
4455
|
+
default: 0
|
|
4456
|
+
},
|
|
4457
|
+
isInit: {
|
|
4458
|
+
type: Boolean,
|
|
4459
|
+
default: !1
|
|
4460
|
+
}
|
|
4461
|
+
},
|
|
4462
|
+
setup(e) {
|
|
4463
|
+
const t = e, { config: r, currentIndex: n, isNavigating: o, isHovered: i, setIsNavigating: a, setCurrentIndex: s } = Ee(), l = $(null), { height: u } = yt(l), d = _(() => r.value.autoplay ?? 0), {
|
|
4464
|
+
pause: c,
|
|
4465
|
+
resume: f
|
|
4466
|
+
/* isActive: autoplayIsActive, */
|
|
4467
|
+
} = Pr(() => {
|
|
4468
|
+
s(n.value + r.value.slideBy);
|
|
4469
|
+
}, d);
|
|
4470
|
+
k(i, (v) => {
|
|
4471
|
+
v ? c() : f();
|
|
4472
|
+
});
|
|
4473
|
+
function h(v, g, b) {
|
|
4474
|
+
const w = [];
|
|
4475
|
+
if (b === 0) return w;
|
|
4476
|
+
for (let P = 0; P < g; P++)
|
|
4477
|
+
w.push((v + P) % b);
|
|
4478
|
+
return w;
|
|
4479
|
+
}
|
|
4480
|
+
const p = {
|
|
4481
|
+
setup(v, { slots: g }) {
|
|
4482
|
+
const b = _(() => h(n.value, r.value.perPage, t.totalSlides));
|
|
4483
|
+
return () => {
|
|
4484
|
+
var S, E;
|
|
4485
|
+
let w = ((S = g.default) == null ? void 0 : S.call(g)) || [];
|
|
4486
|
+
for (; Array.isArray(w) && ((E = w[0]) == null ? void 0 : E.type) === ct; )
|
|
4487
|
+
w = w[0].children;
|
|
4488
|
+
let P = 0;
|
|
4489
|
+
const O = Ur(
|
|
4490
|
+
w,
|
|
4491
|
+
(z) => {
|
|
4492
|
+
const B = R(
|
|
4493
|
+
qr,
|
|
4494
|
+
{
|
|
4495
|
+
class: N([
|
|
4496
|
+
"evo-vue-carousel__slide evo-vue-carousel__slide--visible w-full h-full",
|
|
4497
|
+
{
|
|
4498
|
+
hidden: b.value.includes(P) === !1
|
|
4499
|
+
}
|
|
4500
|
+
]),
|
|
4501
|
+
role: "option"
|
|
4502
|
+
},
|
|
4503
|
+
{
|
|
4504
|
+
default: () => [z]
|
|
4505
|
+
}
|
|
4506
|
+
);
|
|
4507
|
+
return P++, B;
|
|
4508
|
+
},
|
|
4509
|
+
xl
|
|
4510
|
+
), T = xr(
|
|
4511
|
+
Qt(O, n.value),
|
|
4512
|
+
Qt(O, 0, n.value)
|
|
4513
|
+
);
|
|
4514
|
+
return R(
|
|
4515
|
+
"div",
|
|
4516
|
+
{
|
|
4517
|
+
class: N(["flex h-full overflow-hidden"])
|
|
4518
|
+
},
|
|
4519
|
+
T
|
|
4520
|
+
);
|
|
4521
|
+
};
|
|
4522
|
+
}
|
|
4523
|
+
};
|
|
4524
|
+
return (v, g) => (L(), ve("div", {
|
|
4525
|
+
ref_key: "galleryRef",
|
|
4526
|
+
ref: l,
|
|
4527
|
+
class: N(["evo-vue-carousel__viewport evo-vue-carousel__viewport--gallery min-h-12 h-full relative w-full overflow-hidden", {
|
|
4528
|
+
"is-navigating": y(o)
|
|
4529
|
+
}]),
|
|
4530
|
+
"data-height": y(u)
|
|
4531
|
+
}, [
|
|
4532
|
+
U(un, {
|
|
4533
|
+
mode: "in-out",
|
|
4534
|
+
"enter-active-class": "transition-all duration-1000 absolute inset-0",
|
|
4535
|
+
"leave-active-class": "transition-none absolute hidden",
|
|
4536
|
+
"enter-from-class": "opacity-0",
|
|
4537
|
+
onBeforeEnter: g[0] || (g[0] = (b) => y(a)(!0)),
|
|
4538
|
+
onAfterLeave: g[1] || (g[1] = (b) => y(a)(!1))
|
|
4539
|
+
}, {
|
|
4540
|
+
default: re(() => [
|
|
4541
|
+
(L(), fe(p, { key: y(n) }, {
|
|
4542
|
+
default: re(() => [
|
|
4543
|
+
ne(v.$slots, "default")
|
|
4544
|
+
]),
|
|
4545
|
+
_: 3
|
|
4546
|
+
}))
|
|
4547
|
+
]),
|
|
4548
|
+
_: 3
|
|
4549
|
+
})
|
|
4550
|
+
], 10, Ol));
|
|
4551
|
+
}
|
|
4552
|
+
};
|
|
4553
|
+
export {
|
|
4554
|
+
Le as EVO_VUE_CAROUSEL_MODE,
|
|
4555
|
+
El as EvoVueCarousel,
|
|
4556
|
+
hl as EvoVueCarouselNavigation,
|
|
4557
|
+
ul as EvoVueCarouselPagination,
|
|
4558
|
+
Pl as EvoVueCarouselViewportGallery,
|
|
4559
|
+
Tl as EvoVueCarouselViewportSlider
|
|
4560
|
+
};
|