@lgsm/modules 1.0.2 → 1.2.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 +33 -0
- package/dist/assets/main.css +1 -0
- package/dist/lib/utils.d.ts +2 -0
- package/dist/main.d.ts +8 -3
- package/dist/main.js +5001 -6
- package/dist/shared-service/apiService.d.ts +8 -0
- package/dist/shared-service/axiosInstance.d.ts +4 -0
- package/dist/shared-ui/Button/index.d.ts +9 -0
- package/dist/shared-ui/Notification/NotificationContainer.d.ts +1 -0
- package/dist/shared-ui/Notification/index.d.ts +9 -0
- package/dist/shared-ui/ThreeDotsLoader/index.d.ts +1 -0
- package/dist/shared-ui/ui/alert.d.ts +8 -0
- package/dist/shared-ui/ui/button.d.ts +11 -0
- package/package.json +17 -5
- package/dist/assets/index.css +0 -1
- package/dist/assets/index2.css +0 -1
- package/dist/assets/index3.css +0 -1
- package/dist/clsx-OuTLNxxd.js +0 -16
- package/dist/components/MyButton/index.d.ts +0 -7
- package/dist/components/MyButton/index.js +0 -27
- package/dist/components/MyCounter/index.js +0 -54
- package/dist/components/MyTitle/index.js +0 -22
- /package/dist/{components → shared-ui}/MyCounter/index.d.ts +0 -0
- /package/dist/{components → shared-ui}/MyTitle/index.d.ts +0 -0
package/dist/main.js
CHANGED
|
@@ -1,8 +1,5003 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import
|
|
3
|
-
import {
|
|
1
|
+
import { jsx as A, Fragment as Ge, jsxs as ae } from "react/jsx-runtime";
|
|
2
|
+
import * as U from "react";
|
|
3
|
+
import Ae, { useState as Mt, forwardRef as Dt, createElement as Je, useEffect as Tr } from "react";
|
|
4
|
+
import './assets/main.css';function ft(e, t) {
|
|
5
|
+
if (typeof e == "function")
|
|
6
|
+
return e(t);
|
|
7
|
+
e != null && (e.current = t);
|
|
8
|
+
}
|
|
9
|
+
function Nr(...e) {
|
|
10
|
+
return (t) => {
|
|
11
|
+
let r = !1;
|
|
12
|
+
const n = e.map((o) => {
|
|
13
|
+
const s = ft(o, t);
|
|
14
|
+
return !r && typeof s == "function" && (r = !0), s;
|
|
15
|
+
});
|
|
16
|
+
if (r)
|
|
17
|
+
return () => {
|
|
18
|
+
for (let o = 0; o < n.length; o++) {
|
|
19
|
+
const s = n[o];
|
|
20
|
+
typeof s == "function" ? s() : ft(e[o], null);
|
|
21
|
+
}
|
|
22
|
+
};
|
|
23
|
+
};
|
|
24
|
+
}
|
|
25
|
+
// @__NO_SIDE_EFFECTS__
|
|
26
|
+
function Pr(e) {
|
|
27
|
+
const t = /* @__PURE__ */ Lr(e), r = U.forwardRef((n, o) => {
|
|
28
|
+
const { children: s, ...i } = n, a = U.Children.toArray(s), d = a.find(zr);
|
|
29
|
+
if (d) {
|
|
30
|
+
const c = d.props.children, u = a.map((p) => p === d ? U.Children.count(c) > 1 ? U.Children.only(null) : U.isValidElement(c) ? c.props.children : null : p);
|
|
31
|
+
return /* @__PURE__ */ A(t, { ...i, ref: o, children: U.isValidElement(c) ? U.cloneElement(c, void 0, u) : null });
|
|
32
|
+
}
|
|
33
|
+
return /* @__PURE__ */ A(t, { ...i, ref: o, children: s });
|
|
34
|
+
});
|
|
35
|
+
return r.displayName = `${e}.Slot`, r;
|
|
36
|
+
}
|
|
37
|
+
var _r = /* @__PURE__ */ Pr("Slot");
|
|
38
|
+
// @__NO_SIDE_EFFECTS__
|
|
39
|
+
function Lr(e) {
|
|
40
|
+
const t = U.forwardRef((r, n) => {
|
|
41
|
+
const { children: o, ...s } = r;
|
|
42
|
+
if (U.isValidElement(o)) {
|
|
43
|
+
const i = jr(o), a = Ur(s, o.props);
|
|
44
|
+
return o.type !== U.Fragment && (a.ref = n ? Nr(n, i) : i), U.cloneElement(o, a);
|
|
45
|
+
}
|
|
46
|
+
return U.Children.count(o) > 1 ? U.Children.only(null) : null;
|
|
47
|
+
});
|
|
48
|
+
return t.displayName = `${e}.SlotClone`, t;
|
|
49
|
+
}
|
|
50
|
+
var Fr = Symbol("radix.slottable");
|
|
51
|
+
function zr(e) {
|
|
52
|
+
return U.isValidElement(e) && typeof e.type == "function" && "__radixId" in e.type && e.type.__radixId === Fr;
|
|
53
|
+
}
|
|
54
|
+
function Ur(e, t) {
|
|
55
|
+
const r = { ...t };
|
|
56
|
+
for (const n in t) {
|
|
57
|
+
const o = e[n], s = t[n];
|
|
58
|
+
/^on[A-Z]/.test(n) ? o && s ? r[n] = (...a) => {
|
|
59
|
+
const d = s(...a);
|
|
60
|
+
return o(...a), d;
|
|
61
|
+
} : o && (r[n] = o) : n === "style" ? r[n] = { ...o, ...s } : n === "className" && (r[n] = [o, s].filter(Boolean).join(" "));
|
|
62
|
+
}
|
|
63
|
+
return { ...e, ...r };
|
|
64
|
+
}
|
|
65
|
+
function jr(e) {
|
|
66
|
+
var n, o;
|
|
67
|
+
let t = (n = Object.getOwnPropertyDescriptor(e.props, "ref")) == null ? void 0 : n.get, r = t && "isReactWarning" in t && t.isReactWarning;
|
|
68
|
+
return r ? e.ref : (t = (o = Object.getOwnPropertyDescriptor(e, "ref")) == null ? void 0 : o.get, r = t && "isReactWarning" in t && t.isReactWarning, r ? e.props.ref : e.props.ref || e.ref);
|
|
69
|
+
}
|
|
70
|
+
function qt(e) {
|
|
71
|
+
var t, r, n = "";
|
|
72
|
+
if (typeof e == "string" || typeof e == "number") n += e;
|
|
73
|
+
else if (typeof e == "object") if (Array.isArray(e)) {
|
|
74
|
+
var o = e.length;
|
|
75
|
+
for (t = 0; t < o; t++) e[t] && (r = qt(e[t])) && (n && (n += " "), n += r);
|
|
76
|
+
} else for (r in e) e[r] && (n && (n += " "), n += r);
|
|
77
|
+
return n;
|
|
78
|
+
}
|
|
79
|
+
function ot() {
|
|
80
|
+
for (var e, t, r = 0, n = "", o = arguments.length; r < o; r++) (e = arguments[r]) && (t = qt(e)) && (n && (n += " "), n += t);
|
|
81
|
+
return n;
|
|
82
|
+
}
|
|
83
|
+
const pt = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, mt = ot, $t = (e, t) => (r) => {
|
|
84
|
+
var n;
|
|
85
|
+
if ((t == null ? void 0 : t.variants) == null) return mt(e, r == null ? void 0 : r.class, r == null ? void 0 : r.className);
|
|
86
|
+
const { variants: o, defaultVariants: s } = t, i = Object.keys(o).map((c) => {
|
|
87
|
+
const u = r == null ? void 0 : r[c], p = s == null ? void 0 : s[c];
|
|
88
|
+
if (u === null) return null;
|
|
89
|
+
const k = pt(u) || pt(p);
|
|
90
|
+
return o[c][k];
|
|
91
|
+
}), a = r && Object.entries(r).reduce((c, u) => {
|
|
92
|
+
let [p, k] = u;
|
|
93
|
+
return k === void 0 || (c[p] = k), c;
|
|
94
|
+
}, {}), d = t == null || (n = t.compoundVariants) === null || n === void 0 ? void 0 : n.reduce((c, u) => {
|
|
95
|
+
let { class: p, className: k, ...R } = u;
|
|
96
|
+
return Object.entries(R).every((f) => {
|
|
97
|
+
let [g, m] = f;
|
|
98
|
+
return Array.isArray(m) ? m.includes({
|
|
99
|
+
...s,
|
|
100
|
+
...a
|
|
101
|
+
}[g]) : {
|
|
102
|
+
...s,
|
|
103
|
+
...a
|
|
104
|
+
}[g] === m;
|
|
105
|
+
}) ? [
|
|
106
|
+
...c,
|
|
107
|
+
p,
|
|
108
|
+
k
|
|
109
|
+
] : c;
|
|
110
|
+
}, []);
|
|
111
|
+
return mt(e, i, d, r == null ? void 0 : r.class, r == null ? void 0 : r.className);
|
|
112
|
+
}, st = "-", Br = (e) => {
|
|
113
|
+
const t = Mr(e), {
|
|
114
|
+
conflictingClassGroups: r,
|
|
115
|
+
conflictingClassGroupModifiers: n
|
|
116
|
+
} = e;
|
|
117
|
+
return {
|
|
118
|
+
getClassGroupId: (i) => {
|
|
119
|
+
const a = i.split(st);
|
|
120
|
+
return a[0] === "" && a.length !== 1 && a.shift(), Vt(a, t) || Ir(i);
|
|
121
|
+
},
|
|
122
|
+
getConflictingClassGroupIds: (i, a) => {
|
|
123
|
+
const d = r[i] || [];
|
|
124
|
+
return a && n[i] ? [...d, ...n[i]] : d;
|
|
125
|
+
}
|
|
126
|
+
};
|
|
127
|
+
}, Vt = (e, t) => {
|
|
128
|
+
var i;
|
|
129
|
+
if (e.length === 0)
|
|
130
|
+
return t.classGroupId;
|
|
131
|
+
const r = e[0], n = t.nextPart.get(r), o = n ? Vt(e.slice(1), n) : void 0;
|
|
132
|
+
if (o)
|
|
133
|
+
return o;
|
|
134
|
+
if (t.validators.length === 0)
|
|
135
|
+
return;
|
|
136
|
+
const s = e.join(st);
|
|
137
|
+
return (i = t.validators.find(({
|
|
138
|
+
validator: a
|
|
139
|
+
}) => a(s))) == null ? void 0 : i.classGroupId;
|
|
140
|
+
}, ht = /^\[(.+)\]$/, Ir = (e) => {
|
|
141
|
+
if (ht.test(e)) {
|
|
142
|
+
const t = ht.exec(e)[1], r = t == null ? void 0 : t.substring(0, t.indexOf(":"));
|
|
143
|
+
if (r)
|
|
144
|
+
return "arbitrary.." + r;
|
|
145
|
+
}
|
|
146
|
+
}, Mr = (e) => {
|
|
147
|
+
const {
|
|
148
|
+
theme: t,
|
|
149
|
+
classGroups: r
|
|
150
|
+
} = e, n = {
|
|
151
|
+
nextPart: /* @__PURE__ */ new Map(),
|
|
152
|
+
validators: []
|
|
153
|
+
};
|
|
154
|
+
for (const o in r)
|
|
155
|
+
Ke(r[o], n, o, t);
|
|
156
|
+
return n;
|
|
157
|
+
}, Ke = (e, t, r, n) => {
|
|
158
|
+
e.forEach((o) => {
|
|
159
|
+
if (typeof o == "string") {
|
|
160
|
+
const s = o === "" ? t : bt(t, o);
|
|
161
|
+
s.classGroupId = r;
|
|
162
|
+
return;
|
|
163
|
+
}
|
|
164
|
+
if (typeof o == "function") {
|
|
165
|
+
if (Dr(o)) {
|
|
166
|
+
Ke(o(n), t, r, n);
|
|
167
|
+
return;
|
|
168
|
+
}
|
|
169
|
+
t.validators.push({
|
|
170
|
+
validator: o,
|
|
171
|
+
classGroupId: r
|
|
172
|
+
});
|
|
173
|
+
return;
|
|
174
|
+
}
|
|
175
|
+
Object.entries(o).forEach(([s, i]) => {
|
|
176
|
+
Ke(i, bt(t, s), r, n);
|
|
177
|
+
});
|
|
178
|
+
});
|
|
179
|
+
}, bt = (e, t) => {
|
|
180
|
+
let r = e;
|
|
181
|
+
return t.split(st).forEach((n) => {
|
|
182
|
+
r.nextPart.has(n) || r.nextPart.set(n, {
|
|
183
|
+
nextPart: /* @__PURE__ */ new Map(),
|
|
184
|
+
validators: []
|
|
185
|
+
}), r = r.nextPart.get(n);
|
|
186
|
+
}), r;
|
|
187
|
+
}, Dr = (e) => e.isThemeGetter, qr = (e) => {
|
|
188
|
+
if (e < 1)
|
|
189
|
+
return {
|
|
190
|
+
get: () => {
|
|
191
|
+
},
|
|
192
|
+
set: () => {
|
|
193
|
+
}
|
|
194
|
+
};
|
|
195
|
+
let t = 0, r = /* @__PURE__ */ new Map(), n = /* @__PURE__ */ new Map();
|
|
196
|
+
const o = (s, i) => {
|
|
197
|
+
r.set(s, i), t++, t > e && (t = 0, n = r, r = /* @__PURE__ */ new Map());
|
|
198
|
+
};
|
|
199
|
+
return {
|
|
200
|
+
get(s) {
|
|
201
|
+
let i = r.get(s);
|
|
202
|
+
if (i !== void 0)
|
|
203
|
+
return i;
|
|
204
|
+
if ((i = n.get(s)) !== void 0)
|
|
205
|
+
return o(s, i), i;
|
|
206
|
+
},
|
|
207
|
+
set(s, i) {
|
|
208
|
+
r.has(s) ? r.set(s, i) : o(s, i);
|
|
209
|
+
}
|
|
210
|
+
};
|
|
211
|
+
}, Xe = "!", Ze = ":", $r = Ze.length, Vr = (e) => {
|
|
212
|
+
const {
|
|
213
|
+
prefix: t,
|
|
214
|
+
experimentalParseClassName: r
|
|
215
|
+
} = e;
|
|
216
|
+
let n = (o) => {
|
|
217
|
+
const s = [];
|
|
218
|
+
let i = 0, a = 0, d = 0, c;
|
|
219
|
+
for (let f = 0; f < o.length; f++) {
|
|
220
|
+
let g = o[f];
|
|
221
|
+
if (i === 0 && a === 0) {
|
|
222
|
+
if (g === Ze) {
|
|
223
|
+
s.push(o.slice(d, f)), d = f + $r;
|
|
224
|
+
continue;
|
|
225
|
+
}
|
|
226
|
+
if (g === "/") {
|
|
227
|
+
c = f;
|
|
228
|
+
continue;
|
|
229
|
+
}
|
|
230
|
+
}
|
|
231
|
+
g === "[" ? i++ : g === "]" ? i-- : g === "(" ? a++ : g === ")" && a--;
|
|
232
|
+
}
|
|
233
|
+
const u = s.length === 0 ? o : o.substring(d), p = Hr(u), k = p !== u, R = c && c > d ? c - d : void 0;
|
|
234
|
+
return {
|
|
235
|
+
modifiers: s,
|
|
236
|
+
hasImportantModifier: k,
|
|
237
|
+
baseClassName: p,
|
|
238
|
+
maybePostfixModifierPosition: R
|
|
239
|
+
};
|
|
240
|
+
};
|
|
241
|
+
if (t) {
|
|
242
|
+
const o = t + Ze, s = n;
|
|
243
|
+
n = (i) => i.startsWith(o) ? s(i.substring(o.length)) : {
|
|
244
|
+
isExternal: !0,
|
|
245
|
+
modifiers: [],
|
|
246
|
+
hasImportantModifier: !1,
|
|
247
|
+
baseClassName: i,
|
|
248
|
+
maybePostfixModifierPosition: void 0
|
|
249
|
+
};
|
|
250
|
+
}
|
|
251
|
+
if (r) {
|
|
252
|
+
const o = n;
|
|
253
|
+
n = (s) => r({
|
|
254
|
+
className: s,
|
|
255
|
+
parseClassName: o
|
|
256
|
+
});
|
|
257
|
+
}
|
|
258
|
+
return n;
|
|
259
|
+
}, Hr = (e) => e.endsWith(Xe) ? e.substring(0, e.length - 1) : e.startsWith(Xe) ? e.substring(1) : e, Wr = (e) => {
|
|
260
|
+
const t = Object.fromEntries(e.orderSensitiveModifiers.map((n) => [n, !0]));
|
|
261
|
+
return (n) => {
|
|
262
|
+
if (n.length <= 1)
|
|
263
|
+
return n;
|
|
264
|
+
const o = [];
|
|
265
|
+
let s = [];
|
|
266
|
+
return n.forEach((i) => {
|
|
267
|
+
i[0] === "[" || t[i] ? (o.push(...s.sort(), i), s = []) : s.push(i);
|
|
268
|
+
}), o.push(...s.sort()), o;
|
|
269
|
+
};
|
|
270
|
+
}, Gr = (e) => ({
|
|
271
|
+
cache: qr(e.cacheSize),
|
|
272
|
+
parseClassName: Vr(e),
|
|
273
|
+
sortModifiers: Wr(e),
|
|
274
|
+
...Br(e)
|
|
275
|
+
}), Jr = /\s+/, Kr = (e, t) => {
|
|
276
|
+
const {
|
|
277
|
+
parseClassName: r,
|
|
278
|
+
getClassGroupId: n,
|
|
279
|
+
getConflictingClassGroupIds: o,
|
|
280
|
+
sortModifiers: s
|
|
281
|
+
} = t, i = [], a = e.trim().split(Jr);
|
|
282
|
+
let d = "";
|
|
283
|
+
for (let c = a.length - 1; c >= 0; c -= 1) {
|
|
284
|
+
const u = a[c], {
|
|
285
|
+
isExternal: p,
|
|
286
|
+
modifiers: k,
|
|
287
|
+
hasImportantModifier: R,
|
|
288
|
+
baseClassName: f,
|
|
289
|
+
maybePostfixModifierPosition: g
|
|
290
|
+
} = r(u);
|
|
291
|
+
if (p) {
|
|
292
|
+
d = u + (d.length > 0 ? " " + d : d);
|
|
293
|
+
continue;
|
|
294
|
+
}
|
|
295
|
+
let m = !!g, E = n(m ? f.substring(0, g) : f);
|
|
296
|
+
if (!E) {
|
|
297
|
+
if (!m) {
|
|
298
|
+
d = u + (d.length > 0 ? " " + d : d);
|
|
299
|
+
continue;
|
|
300
|
+
}
|
|
301
|
+
if (E = n(f), !E) {
|
|
302
|
+
d = u + (d.length > 0 ? " " + d : d);
|
|
303
|
+
continue;
|
|
304
|
+
}
|
|
305
|
+
m = !1;
|
|
306
|
+
}
|
|
307
|
+
const j = s(k).join(":"), v = R ? j + Xe : j, C = v + E;
|
|
308
|
+
if (i.includes(C))
|
|
309
|
+
continue;
|
|
310
|
+
i.push(C);
|
|
311
|
+
const _ = o(E, m);
|
|
312
|
+
for (let I = 0; I < _.length; ++I) {
|
|
313
|
+
const L = _[I];
|
|
314
|
+
i.push(v + L);
|
|
315
|
+
}
|
|
316
|
+
d = u + (d.length > 0 ? " " + d : d);
|
|
317
|
+
}
|
|
318
|
+
return d;
|
|
319
|
+
};
|
|
320
|
+
function Xr() {
|
|
321
|
+
let e = 0, t, r, n = "";
|
|
322
|
+
for (; e < arguments.length; )
|
|
323
|
+
(t = arguments[e++]) && (r = Ht(t)) && (n && (n += " "), n += r);
|
|
324
|
+
return n;
|
|
325
|
+
}
|
|
326
|
+
const Ht = (e) => {
|
|
327
|
+
if (typeof e == "string")
|
|
328
|
+
return e;
|
|
329
|
+
let t, r = "";
|
|
330
|
+
for (let n = 0; n < e.length; n++)
|
|
331
|
+
e[n] && (t = Ht(e[n])) && (r && (r += " "), r += t);
|
|
332
|
+
return r;
|
|
333
|
+
};
|
|
334
|
+
function Zr(e, ...t) {
|
|
335
|
+
let r, n, o, s = i;
|
|
336
|
+
function i(d) {
|
|
337
|
+
const c = t.reduce((u, p) => p(u), e());
|
|
338
|
+
return r = Gr(c), n = r.cache.get, o = r.cache.set, s = a, a(d);
|
|
339
|
+
}
|
|
340
|
+
function a(d) {
|
|
341
|
+
const c = n(d);
|
|
342
|
+
if (c)
|
|
343
|
+
return c;
|
|
344
|
+
const u = Kr(d, r);
|
|
345
|
+
return o(d, u), u;
|
|
346
|
+
}
|
|
347
|
+
return function() {
|
|
348
|
+
return s(Xr.apply(null, arguments));
|
|
349
|
+
};
|
|
350
|
+
}
|
|
351
|
+
const P = (e) => {
|
|
352
|
+
const t = (r) => r[e] || [];
|
|
353
|
+
return t.isThemeGetter = !0, t;
|
|
354
|
+
}, Wt = /^\[(?:(\w[\w-]*):)?(.+)\]$/i, Gt = /^\((?:(\w[\w-]*):)?(.+)\)$/i, Qr = /^\d+\/\d+$/, Yr = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, en = /\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$/, tn = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/, rn = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, nn = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, ie = (e) => Qr.test(e), S = (e) => !!e && !Number.isNaN(Number(e)), Y = (e) => !!e && Number.isInteger(Number(e)), De = (e) => e.endsWith("%") && S(e.slice(0, -1)), Z = (e) => Yr.test(e), on = () => !0, sn = (e) => (
|
|
355
|
+
// `colorFunctionRegex` check is necessary because color functions can have percentages in them which which would be incorrectly classified as lengths.
|
|
356
|
+
// For example, `hsl(0 0% 0%)` would be classified as a length without this check.
|
|
357
|
+
// I could also use lookbehind assertion in `lengthUnitRegex` but that isn't supported widely enough.
|
|
358
|
+
en.test(e) && !tn.test(e)
|
|
359
|
+
), Jt = () => !1, an = (e) => rn.test(e), ln = (e) => nn.test(e), cn = (e) => !h(e) && !b(e), un = (e) => ce(e, Zt, Jt), h = (e) => Wt.test(e), te = (e) => ce(e, Qt, sn), qe = (e) => ce(e, hn, S), gt = (e) => ce(e, Kt, Jt), dn = (e) => ce(e, Xt, ln), Ce = (e) => ce(e, Yt, an), b = (e) => Gt.test(e), be = (e) => ue(e, Qt), fn = (e) => ue(e, bn), yt = (e) => ue(e, Kt), pn = (e) => ue(e, Zt), mn = (e) => ue(e, Xt), Oe = (e) => ue(e, Yt, !0), ce = (e, t, r) => {
|
|
360
|
+
const n = Wt.exec(e);
|
|
361
|
+
return n ? n[1] ? t(n[1]) : r(n[2]) : !1;
|
|
362
|
+
}, ue = (e, t, r = !1) => {
|
|
363
|
+
const n = Gt.exec(e);
|
|
364
|
+
return n ? n[1] ? t(n[1]) : r : !1;
|
|
365
|
+
}, Kt = (e) => e === "position" || e === "percentage", Xt = (e) => e === "image" || e === "url", Zt = (e) => e === "length" || e === "size" || e === "bg-size", Qt = (e) => e === "length", hn = (e) => e === "number", bn = (e) => e === "family-name", Yt = (e) => e === "shadow", gn = () => {
|
|
366
|
+
const e = P("color"), t = P("font"), r = P("text"), n = P("font-weight"), o = P("tracking"), s = P("leading"), i = P("breakpoint"), a = P("container"), d = P("spacing"), c = P("radius"), u = P("shadow"), p = P("inset-shadow"), k = P("text-shadow"), R = P("drop-shadow"), f = P("blur"), g = P("perspective"), m = P("aspect"), E = P("ease"), j = P("animate"), v = () => ["auto", "avoid", "all", "avoid-page", "page", "left", "right", "column"], C = () => [
|
|
367
|
+
"center",
|
|
368
|
+
"top",
|
|
369
|
+
"bottom",
|
|
370
|
+
"left",
|
|
371
|
+
"right",
|
|
372
|
+
"top-left",
|
|
373
|
+
// Deprecated since Tailwind CSS v4.1.0, see https://github.com/tailwindlabs/tailwindcss/pull/17378
|
|
374
|
+
"left-top",
|
|
375
|
+
"top-right",
|
|
376
|
+
// Deprecated since Tailwind CSS v4.1.0, see https://github.com/tailwindlabs/tailwindcss/pull/17378
|
|
377
|
+
"right-top",
|
|
378
|
+
"bottom-right",
|
|
379
|
+
// Deprecated since Tailwind CSS v4.1.0, see https://github.com/tailwindlabs/tailwindcss/pull/17378
|
|
380
|
+
"right-bottom",
|
|
381
|
+
"bottom-left",
|
|
382
|
+
// Deprecated since Tailwind CSS v4.1.0, see https://github.com/tailwindlabs/tailwindcss/pull/17378
|
|
383
|
+
"left-bottom"
|
|
384
|
+
], _ = () => [...C(), b, h], I = () => ["auto", "hidden", "clip", "visible", "scroll"], L = () => ["auto", "contain", "none"], w = () => [b, h, d], M = () => [ie, "full", "auto", ...w()], pe = () => [Y, "none", "subgrid", b, h], me = () => ["auto", {
|
|
385
|
+
span: ["full", Y, b, h]
|
|
386
|
+
}, Y, b, h], K = () => [Y, "auto", b, h], Q = () => ["auto", "min", "max", "fr", b, h], $ = () => ["start", "end", "center", "between", "around", "evenly", "stretch", "baseline", "center-safe", "end-safe"], X = () => ["start", "end", "center", "stretch", "center-safe", "end-safe"], T = () => ["auto", ...w()], W = () => [ie, "auto", "full", "dvw", "dvh", "lvw", "lvh", "svw", "svh", "min", "max", "fit", ...w()], y = () => [e, b, h], he = () => [...C(), yt, gt, {
|
|
387
|
+
position: [b, h]
|
|
388
|
+
}], Se = () => ["no-repeat", {
|
|
389
|
+
repeat: ["", "x", "y", "space", "round"]
|
|
390
|
+
}], V = () => ["auto", "cover", "contain", pn, un, {
|
|
391
|
+
size: [b, h]
|
|
392
|
+
}], G = () => [De, be, te], N = () => [
|
|
393
|
+
// Deprecated since Tailwind CSS v4.0.0
|
|
394
|
+
"",
|
|
395
|
+
"none",
|
|
396
|
+
"full",
|
|
397
|
+
c,
|
|
398
|
+
b,
|
|
399
|
+
h
|
|
400
|
+
], F = () => ["", S, be, te], ee = () => ["solid", "dashed", "dotted", "double"], ut = () => ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity"], z = () => [S, De, yt, gt], dt = () => [
|
|
401
|
+
// Deprecated since Tailwind CSS v4.0.0
|
|
402
|
+
"",
|
|
403
|
+
"none",
|
|
404
|
+
f,
|
|
405
|
+
b,
|
|
406
|
+
h
|
|
407
|
+
], Ee = () => ["none", S, b, h], Re = () => ["none", S, b, h], Me = () => [S, b, h], ve = () => [ie, "full", ...w()];
|
|
408
|
+
return {
|
|
409
|
+
cacheSize: 500,
|
|
410
|
+
theme: {
|
|
411
|
+
animate: ["spin", "ping", "pulse", "bounce"],
|
|
412
|
+
aspect: ["video"],
|
|
413
|
+
blur: [Z],
|
|
414
|
+
breakpoint: [Z],
|
|
415
|
+
color: [on],
|
|
416
|
+
container: [Z],
|
|
417
|
+
"drop-shadow": [Z],
|
|
418
|
+
ease: ["in", "out", "in-out"],
|
|
419
|
+
font: [cn],
|
|
420
|
+
"font-weight": ["thin", "extralight", "light", "normal", "medium", "semibold", "bold", "extrabold", "black"],
|
|
421
|
+
"inset-shadow": [Z],
|
|
422
|
+
leading: ["none", "tight", "snug", "normal", "relaxed", "loose"],
|
|
423
|
+
perspective: ["dramatic", "near", "normal", "midrange", "distant", "none"],
|
|
424
|
+
radius: [Z],
|
|
425
|
+
shadow: [Z],
|
|
426
|
+
spacing: ["px", S],
|
|
427
|
+
text: [Z],
|
|
428
|
+
"text-shadow": [Z],
|
|
429
|
+
tracking: ["tighter", "tight", "normal", "wide", "wider", "widest"]
|
|
430
|
+
},
|
|
431
|
+
classGroups: {
|
|
432
|
+
// --------------
|
|
433
|
+
// --- Layout ---
|
|
434
|
+
// --------------
|
|
435
|
+
/**
|
|
436
|
+
* Aspect Ratio
|
|
437
|
+
* @see https://tailwindcss.com/docs/aspect-ratio
|
|
438
|
+
*/
|
|
439
|
+
aspect: [{
|
|
440
|
+
aspect: ["auto", "square", ie, h, b, m]
|
|
441
|
+
}],
|
|
442
|
+
/**
|
|
443
|
+
* Container
|
|
444
|
+
* @see https://tailwindcss.com/docs/container
|
|
445
|
+
* @deprecated since Tailwind CSS v4.0.0
|
|
446
|
+
*/
|
|
447
|
+
container: ["container"],
|
|
448
|
+
/**
|
|
449
|
+
* Columns
|
|
450
|
+
* @see https://tailwindcss.com/docs/columns
|
|
451
|
+
*/
|
|
452
|
+
columns: [{
|
|
453
|
+
columns: [S, h, b, a]
|
|
454
|
+
}],
|
|
455
|
+
/**
|
|
456
|
+
* Break After
|
|
457
|
+
* @see https://tailwindcss.com/docs/break-after
|
|
458
|
+
*/
|
|
459
|
+
"break-after": [{
|
|
460
|
+
"break-after": v()
|
|
461
|
+
}],
|
|
462
|
+
/**
|
|
463
|
+
* Break Before
|
|
464
|
+
* @see https://tailwindcss.com/docs/break-before
|
|
465
|
+
*/
|
|
466
|
+
"break-before": [{
|
|
467
|
+
"break-before": v()
|
|
468
|
+
}],
|
|
469
|
+
/**
|
|
470
|
+
* Break Inside
|
|
471
|
+
* @see https://tailwindcss.com/docs/break-inside
|
|
472
|
+
*/
|
|
473
|
+
"break-inside": [{
|
|
474
|
+
"break-inside": ["auto", "avoid", "avoid-page", "avoid-column"]
|
|
475
|
+
}],
|
|
476
|
+
/**
|
|
477
|
+
* Box Decoration Break
|
|
478
|
+
* @see https://tailwindcss.com/docs/box-decoration-break
|
|
479
|
+
*/
|
|
480
|
+
"box-decoration": [{
|
|
481
|
+
"box-decoration": ["slice", "clone"]
|
|
482
|
+
}],
|
|
483
|
+
/**
|
|
484
|
+
* Box Sizing
|
|
485
|
+
* @see https://tailwindcss.com/docs/box-sizing
|
|
486
|
+
*/
|
|
487
|
+
box: [{
|
|
488
|
+
box: ["border", "content"]
|
|
489
|
+
}],
|
|
490
|
+
/**
|
|
491
|
+
* Display
|
|
492
|
+
* @see https://tailwindcss.com/docs/display
|
|
493
|
+
*/
|
|
494
|
+
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"],
|
|
495
|
+
/**
|
|
496
|
+
* Screen Reader Only
|
|
497
|
+
* @see https://tailwindcss.com/docs/display#screen-reader-only
|
|
498
|
+
*/
|
|
499
|
+
sr: ["sr-only", "not-sr-only"],
|
|
500
|
+
/**
|
|
501
|
+
* Floats
|
|
502
|
+
* @see https://tailwindcss.com/docs/float
|
|
503
|
+
*/
|
|
504
|
+
float: [{
|
|
505
|
+
float: ["right", "left", "none", "start", "end"]
|
|
506
|
+
}],
|
|
507
|
+
/**
|
|
508
|
+
* Clear
|
|
509
|
+
* @see https://tailwindcss.com/docs/clear
|
|
510
|
+
*/
|
|
511
|
+
clear: [{
|
|
512
|
+
clear: ["left", "right", "both", "none", "start", "end"]
|
|
513
|
+
}],
|
|
514
|
+
/**
|
|
515
|
+
* Isolation
|
|
516
|
+
* @see https://tailwindcss.com/docs/isolation
|
|
517
|
+
*/
|
|
518
|
+
isolation: ["isolate", "isolation-auto"],
|
|
519
|
+
/**
|
|
520
|
+
* Object Fit
|
|
521
|
+
* @see https://tailwindcss.com/docs/object-fit
|
|
522
|
+
*/
|
|
523
|
+
"object-fit": [{
|
|
524
|
+
object: ["contain", "cover", "fill", "none", "scale-down"]
|
|
525
|
+
}],
|
|
526
|
+
/**
|
|
527
|
+
* Object Position
|
|
528
|
+
* @see https://tailwindcss.com/docs/object-position
|
|
529
|
+
*/
|
|
530
|
+
"object-position": [{
|
|
531
|
+
object: _()
|
|
532
|
+
}],
|
|
533
|
+
/**
|
|
534
|
+
* Overflow
|
|
535
|
+
* @see https://tailwindcss.com/docs/overflow
|
|
536
|
+
*/
|
|
537
|
+
overflow: [{
|
|
538
|
+
overflow: I()
|
|
539
|
+
}],
|
|
540
|
+
/**
|
|
541
|
+
* Overflow X
|
|
542
|
+
* @see https://tailwindcss.com/docs/overflow
|
|
543
|
+
*/
|
|
544
|
+
"overflow-x": [{
|
|
545
|
+
"overflow-x": I()
|
|
546
|
+
}],
|
|
547
|
+
/**
|
|
548
|
+
* Overflow Y
|
|
549
|
+
* @see https://tailwindcss.com/docs/overflow
|
|
550
|
+
*/
|
|
551
|
+
"overflow-y": [{
|
|
552
|
+
"overflow-y": I()
|
|
553
|
+
}],
|
|
554
|
+
/**
|
|
555
|
+
* Overscroll Behavior
|
|
556
|
+
* @see https://tailwindcss.com/docs/overscroll-behavior
|
|
557
|
+
*/
|
|
558
|
+
overscroll: [{
|
|
559
|
+
overscroll: L()
|
|
560
|
+
}],
|
|
561
|
+
/**
|
|
562
|
+
* Overscroll Behavior X
|
|
563
|
+
* @see https://tailwindcss.com/docs/overscroll-behavior
|
|
564
|
+
*/
|
|
565
|
+
"overscroll-x": [{
|
|
566
|
+
"overscroll-x": L()
|
|
567
|
+
}],
|
|
568
|
+
/**
|
|
569
|
+
* Overscroll Behavior Y
|
|
570
|
+
* @see https://tailwindcss.com/docs/overscroll-behavior
|
|
571
|
+
*/
|
|
572
|
+
"overscroll-y": [{
|
|
573
|
+
"overscroll-y": L()
|
|
574
|
+
}],
|
|
575
|
+
/**
|
|
576
|
+
* Position
|
|
577
|
+
* @see https://tailwindcss.com/docs/position
|
|
578
|
+
*/
|
|
579
|
+
position: ["static", "fixed", "absolute", "relative", "sticky"],
|
|
580
|
+
/**
|
|
581
|
+
* Top / Right / Bottom / Left
|
|
582
|
+
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
583
|
+
*/
|
|
584
|
+
inset: [{
|
|
585
|
+
inset: M()
|
|
586
|
+
}],
|
|
587
|
+
/**
|
|
588
|
+
* Right / Left
|
|
589
|
+
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
590
|
+
*/
|
|
591
|
+
"inset-x": [{
|
|
592
|
+
"inset-x": M()
|
|
593
|
+
}],
|
|
594
|
+
/**
|
|
595
|
+
* Top / Bottom
|
|
596
|
+
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
597
|
+
*/
|
|
598
|
+
"inset-y": [{
|
|
599
|
+
"inset-y": M()
|
|
600
|
+
}],
|
|
601
|
+
/**
|
|
602
|
+
* Start
|
|
603
|
+
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
604
|
+
*/
|
|
605
|
+
start: [{
|
|
606
|
+
start: M()
|
|
607
|
+
}],
|
|
608
|
+
/**
|
|
609
|
+
* End
|
|
610
|
+
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
611
|
+
*/
|
|
612
|
+
end: [{
|
|
613
|
+
end: M()
|
|
614
|
+
}],
|
|
615
|
+
/**
|
|
616
|
+
* Top
|
|
617
|
+
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
618
|
+
*/
|
|
619
|
+
top: [{
|
|
620
|
+
top: M()
|
|
621
|
+
}],
|
|
622
|
+
/**
|
|
623
|
+
* Right
|
|
624
|
+
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
625
|
+
*/
|
|
626
|
+
right: [{
|
|
627
|
+
right: M()
|
|
628
|
+
}],
|
|
629
|
+
/**
|
|
630
|
+
* Bottom
|
|
631
|
+
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
632
|
+
*/
|
|
633
|
+
bottom: [{
|
|
634
|
+
bottom: M()
|
|
635
|
+
}],
|
|
636
|
+
/**
|
|
637
|
+
* Left
|
|
638
|
+
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
639
|
+
*/
|
|
640
|
+
left: [{
|
|
641
|
+
left: M()
|
|
642
|
+
}],
|
|
643
|
+
/**
|
|
644
|
+
* Visibility
|
|
645
|
+
* @see https://tailwindcss.com/docs/visibility
|
|
646
|
+
*/
|
|
647
|
+
visibility: ["visible", "invisible", "collapse"],
|
|
648
|
+
/**
|
|
649
|
+
* Z-Index
|
|
650
|
+
* @see https://tailwindcss.com/docs/z-index
|
|
651
|
+
*/
|
|
652
|
+
z: [{
|
|
653
|
+
z: [Y, "auto", b, h]
|
|
654
|
+
}],
|
|
655
|
+
// ------------------------
|
|
656
|
+
// --- Flexbox and Grid ---
|
|
657
|
+
// ------------------------
|
|
658
|
+
/**
|
|
659
|
+
* Flex Basis
|
|
660
|
+
* @see https://tailwindcss.com/docs/flex-basis
|
|
661
|
+
*/
|
|
662
|
+
basis: [{
|
|
663
|
+
basis: [ie, "full", "auto", a, ...w()]
|
|
664
|
+
}],
|
|
665
|
+
/**
|
|
666
|
+
* Flex Direction
|
|
667
|
+
* @see https://tailwindcss.com/docs/flex-direction
|
|
668
|
+
*/
|
|
669
|
+
"flex-direction": [{
|
|
670
|
+
flex: ["row", "row-reverse", "col", "col-reverse"]
|
|
671
|
+
}],
|
|
672
|
+
/**
|
|
673
|
+
* Flex Wrap
|
|
674
|
+
* @see https://tailwindcss.com/docs/flex-wrap
|
|
675
|
+
*/
|
|
676
|
+
"flex-wrap": [{
|
|
677
|
+
flex: ["nowrap", "wrap", "wrap-reverse"]
|
|
678
|
+
}],
|
|
679
|
+
/**
|
|
680
|
+
* Flex
|
|
681
|
+
* @see https://tailwindcss.com/docs/flex
|
|
682
|
+
*/
|
|
683
|
+
flex: [{
|
|
684
|
+
flex: [S, ie, "auto", "initial", "none", h]
|
|
685
|
+
}],
|
|
686
|
+
/**
|
|
687
|
+
* Flex Grow
|
|
688
|
+
* @see https://tailwindcss.com/docs/flex-grow
|
|
689
|
+
*/
|
|
690
|
+
grow: [{
|
|
691
|
+
grow: ["", S, b, h]
|
|
692
|
+
}],
|
|
693
|
+
/**
|
|
694
|
+
* Flex Shrink
|
|
695
|
+
* @see https://tailwindcss.com/docs/flex-shrink
|
|
696
|
+
*/
|
|
697
|
+
shrink: [{
|
|
698
|
+
shrink: ["", S, b, h]
|
|
699
|
+
}],
|
|
700
|
+
/**
|
|
701
|
+
* Order
|
|
702
|
+
* @see https://tailwindcss.com/docs/order
|
|
703
|
+
*/
|
|
704
|
+
order: [{
|
|
705
|
+
order: [Y, "first", "last", "none", b, h]
|
|
706
|
+
}],
|
|
707
|
+
/**
|
|
708
|
+
* Grid Template Columns
|
|
709
|
+
* @see https://tailwindcss.com/docs/grid-template-columns
|
|
710
|
+
*/
|
|
711
|
+
"grid-cols": [{
|
|
712
|
+
"grid-cols": pe()
|
|
713
|
+
}],
|
|
714
|
+
/**
|
|
715
|
+
* Grid Column Start / End
|
|
716
|
+
* @see https://tailwindcss.com/docs/grid-column
|
|
717
|
+
*/
|
|
718
|
+
"col-start-end": [{
|
|
719
|
+
col: me()
|
|
720
|
+
}],
|
|
721
|
+
/**
|
|
722
|
+
* Grid Column Start
|
|
723
|
+
* @see https://tailwindcss.com/docs/grid-column
|
|
724
|
+
*/
|
|
725
|
+
"col-start": [{
|
|
726
|
+
"col-start": K()
|
|
727
|
+
}],
|
|
728
|
+
/**
|
|
729
|
+
* Grid Column End
|
|
730
|
+
* @see https://tailwindcss.com/docs/grid-column
|
|
731
|
+
*/
|
|
732
|
+
"col-end": [{
|
|
733
|
+
"col-end": K()
|
|
734
|
+
}],
|
|
735
|
+
/**
|
|
736
|
+
* Grid Template Rows
|
|
737
|
+
* @see https://tailwindcss.com/docs/grid-template-rows
|
|
738
|
+
*/
|
|
739
|
+
"grid-rows": [{
|
|
740
|
+
"grid-rows": pe()
|
|
741
|
+
}],
|
|
742
|
+
/**
|
|
743
|
+
* Grid Row Start / End
|
|
744
|
+
* @see https://tailwindcss.com/docs/grid-row
|
|
745
|
+
*/
|
|
746
|
+
"row-start-end": [{
|
|
747
|
+
row: me()
|
|
748
|
+
}],
|
|
749
|
+
/**
|
|
750
|
+
* Grid Row Start
|
|
751
|
+
* @see https://tailwindcss.com/docs/grid-row
|
|
752
|
+
*/
|
|
753
|
+
"row-start": [{
|
|
754
|
+
"row-start": K()
|
|
755
|
+
}],
|
|
756
|
+
/**
|
|
757
|
+
* Grid Row End
|
|
758
|
+
* @see https://tailwindcss.com/docs/grid-row
|
|
759
|
+
*/
|
|
760
|
+
"row-end": [{
|
|
761
|
+
"row-end": K()
|
|
762
|
+
}],
|
|
763
|
+
/**
|
|
764
|
+
* Grid Auto Flow
|
|
765
|
+
* @see https://tailwindcss.com/docs/grid-auto-flow
|
|
766
|
+
*/
|
|
767
|
+
"grid-flow": [{
|
|
768
|
+
"grid-flow": ["row", "col", "dense", "row-dense", "col-dense"]
|
|
769
|
+
}],
|
|
770
|
+
/**
|
|
771
|
+
* Grid Auto Columns
|
|
772
|
+
* @see https://tailwindcss.com/docs/grid-auto-columns
|
|
773
|
+
*/
|
|
774
|
+
"auto-cols": [{
|
|
775
|
+
"auto-cols": Q()
|
|
776
|
+
}],
|
|
777
|
+
/**
|
|
778
|
+
* Grid Auto Rows
|
|
779
|
+
* @see https://tailwindcss.com/docs/grid-auto-rows
|
|
780
|
+
*/
|
|
781
|
+
"auto-rows": [{
|
|
782
|
+
"auto-rows": Q()
|
|
783
|
+
}],
|
|
784
|
+
/**
|
|
785
|
+
* Gap
|
|
786
|
+
* @see https://tailwindcss.com/docs/gap
|
|
787
|
+
*/
|
|
788
|
+
gap: [{
|
|
789
|
+
gap: w()
|
|
790
|
+
}],
|
|
791
|
+
/**
|
|
792
|
+
* Gap X
|
|
793
|
+
* @see https://tailwindcss.com/docs/gap
|
|
794
|
+
*/
|
|
795
|
+
"gap-x": [{
|
|
796
|
+
"gap-x": w()
|
|
797
|
+
}],
|
|
798
|
+
/**
|
|
799
|
+
* Gap Y
|
|
800
|
+
* @see https://tailwindcss.com/docs/gap
|
|
801
|
+
*/
|
|
802
|
+
"gap-y": [{
|
|
803
|
+
"gap-y": w()
|
|
804
|
+
}],
|
|
805
|
+
/**
|
|
806
|
+
* Justify Content
|
|
807
|
+
* @see https://tailwindcss.com/docs/justify-content
|
|
808
|
+
*/
|
|
809
|
+
"justify-content": [{
|
|
810
|
+
justify: [...$(), "normal"]
|
|
811
|
+
}],
|
|
812
|
+
/**
|
|
813
|
+
* Justify Items
|
|
814
|
+
* @see https://tailwindcss.com/docs/justify-items
|
|
815
|
+
*/
|
|
816
|
+
"justify-items": [{
|
|
817
|
+
"justify-items": [...X(), "normal"]
|
|
818
|
+
}],
|
|
819
|
+
/**
|
|
820
|
+
* Justify Self
|
|
821
|
+
* @see https://tailwindcss.com/docs/justify-self
|
|
822
|
+
*/
|
|
823
|
+
"justify-self": [{
|
|
824
|
+
"justify-self": ["auto", ...X()]
|
|
825
|
+
}],
|
|
826
|
+
/**
|
|
827
|
+
* Align Content
|
|
828
|
+
* @see https://tailwindcss.com/docs/align-content
|
|
829
|
+
*/
|
|
830
|
+
"align-content": [{
|
|
831
|
+
content: ["normal", ...$()]
|
|
832
|
+
}],
|
|
833
|
+
/**
|
|
834
|
+
* Align Items
|
|
835
|
+
* @see https://tailwindcss.com/docs/align-items
|
|
836
|
+
*/
|
|
837
|
+
"align-items": [{
|
|
838
|
+
items: [...X(), {
|
|
839
|
+
baseline: ["", "last"]
|
|
840
|
+
}]
|
|
841
|
+
}],
|
|
842
|
+
/**
|
|
843
|
+
* Align Self
|
|
844
|
+
* @see https://tailwindcss.com/docs/align-self
|
|
845
|
+
*/
|
|
846
|
+
"align-self": [{
|
|
847
|
+
self: ["auto", ...X(), {
|
|
848
|
+
baseline: ["", "last"]
|
|
849
|
+
}]
|
|
850
|
+
}],
|
|
851
|
+
/**
|
|
852
|
+
* Place Content
|
|
853
|
+
* @see https://tailwindcss.com/docs/place-content
|
|
854
|
+
*/
|
|
855
|
+
"place-content": [{
|
|
856
|
+
"place-content": $()
|
|
857
|
+
}],
|
|
858
|
+
/**
|
|
859
|
+
* Place Items
|
|
860
|
+
* @see https://tailwindcss.com/docs/place-items
|
|
861
|
+
*/
|
|
862
|
+
"place-items": [{
|
|
863
|
+
"place-items": [...X(), "baseline"]
|
|
864
|
+
}],
|
|
865
|
+
/**
|
|
866
|
+
* Place Self
|
|
867
|
+
* @see https://tailwindcss.com/docs/place-self
|
|
868
|
+
*/
|
|
869
|
+
"place-self": [{
|
|
870
|
+
"place-self": ["auto", ...X()]
|
|
871
|
+
}],
|
|
872
|
+
// Spacing
|
|
873
|
+
/**
|
|
874
|
+
* Padding
|
|
875
|
+
* @see https://tailwindcss.com/docs/padding
|
|
876
|
+
*/
|
|
877
|
+
p: [{
|
|
878
|
+
p: w()
|
|
879
|
+
}],
|
|
880
|
+
/**
|
|
881
|
+
* Padding X
|
|
882
|
+
* @see https://tailwindcss.com/docs/padding
|
|
883
|
+
*/
|
|
884
|
+
px: [{
|
|
885
|
+
px: w()
|
|
886
|
+
}],
|
|
887
|
+
/**
|
|
888
|
+
* Padding Y
|
|
889
|
+
* @see https://tailwindcss.com/docs/padding
|
|
890
|
+
*/
|
|
891
|
+
py: [{
|
|
892
|
+
py: w()
|
|
893
|
+
}],
|
|
894
|
+
/**
|
|
895
|
+
* Padding Start
|
|
896
|
+
* @see https://tailwindcss.com/docs/padding
|
|
897
|
+
*/
|
|
898
|
+
ps: [{
|
|
899
|
+
ps: w()
|
|
900
|
+
}],
|
|
901
|
+
/**
|
|
902
|
+
* Padding End
|
|
903
|
+
* @see https://tailwindcss.com/docs/padding
|
|
904
|
+
*/
|
|
905
|
+
pe: [{
|
|
906
|
+
pe: w()
|
|
907
|
+
}],
|
|
908
|
+
/**
|
|
909
|
+
* Padding Top
|
|
910
|
+
* @see https://tailwindcss.com/docs/padding
|
|
911
|
+
*/
|
|
912
|
+
pt: [{
|
|
913
|
+
pt: w()
|
|
914
|
+
}],
|
|
915
|
+
/**
|
|
916
|
+
* Padding Right
|
|
917
|
+
* @see https://tailwindcss.com/docs/padding
|
|
918
|
+
*/
|
|
919
|
+
pr: [{
|
|
920
|
+
pr: w()
|
|
921
|
+
}],
|
|
922
|
+
/**
|
|
923
|
+
* Padding Bottom
|
|
924
|
+
* @see https://tailwindcss.com/docs/padding
|
|
925
|
+
*/
|
|
926
|
+
pb: [{
|
|
927
|
+
pb: w()
|
|
928
|
+
}],
|
|
929
|
+
/**
|
|
930
|
+
* Padding Left
|
|
931
|
+
* @see https://tailwindcss.com/docs/padding
|
|
932
|
+
*/
|
|
933
|
+
pl: [{
|
|
934
|
+
pl: w()
|
|
935
|
+
}],
|
|
936
|
+
/**
|
|
937
|
+
* Margin
|
|
938
|
+
* @see https://tailwindcss.com/docs/margin
|
|
939
|
+
*/
|
|
940
|
+
m: [{
|
|
941
|
+
m: T()
|
|
942
|
+
}],
|
|
943
|
+
/**
|
|
944
|
+
* Margin X
|
|
945
|
+
* @see https://tailwindcss.com/docs/margin
|
|
946
|
+
*/
|
|
947
|
+
mx: [{
|
|
948
|
+
mx: T()
|
|
949
|
+
}],
|
|
950
|
+
/**
|
|
951
|
+
* Margin Y
|
|
952
|
+
* @see https://tailwindcss.com/docs/margin
|
|
953
|
+
*/
|
|
954
|
+
my: [{
|
|
955
|
+
my: T()
|
|
956
|
+
}],
|
|
957
|
+
/**
|
|
958
|
+
* Margin Start
|
|
959
|
+
* @see https://tailwindcss.com/docs/margin
|
|
960
|
+
*/
|
|
961
|
+
ms: [{
|
|
962
|
+
ms: T()
|
|
963
|
+
}],
|
|
964
|
+
/**
|
|
965
|
+
* Margin End
|
|
966
|
+
* @see https://tailwindcss.com/docs/margin
|
|
967
|
+
*/
|
|
968
|
+
me: [{
|
|
969
|
+
me: T()
|
|
970
|
+
}],
|
|
971
|
+
/**
|
|
972
|
+
* Margin Top
|
|
973
|
+
* @see https://tailwindcss.com/docs/margin
|
|
974
|
+
*/
|
|
975
|
+
mt: [{
|
|
976
|
+
mt: T()
|
|
977
|
+
}],
|
|
978
|
+
/**
|
|
979
|
+
* Margin Right
|
|
980
|
+
* @see https://tailwindcss.com/docs/margin
|
|
981
|
+
*/
|
|
982
|
+
mr: [{
|
|
983
|
+
mr: T()
|
|
984
|
+
}],
|
|
985
|
+
/**
|
|
986
|
+
* Margin Bottom
|
|
987
|
+
* @see https://tailwindcss.com/docs/margin
|
|
988
|
+
*/
|
|
989
|
+
mb: [{
|
|
990
|
+
mb: T()
|
|
991
|
+
}],
|
|
992
|
+
/**
|
|
993
|
+
* Margin Left
|
|
994
|
+
* @see https://tailwindcss.com/docs/margin
|
|
995
|
+
*/
|
|
996
|
+
ml: [{
|
|
997
|
+
ml: T()
|
|
998
|
+
}],
|
|
999
|
+
/**
|
|
1000
|
+
* Space Between X
|
|
1001
|
+
* @see https://tailwindcss.com/docs/margin#adding-space-between-children
|
|
1002
|
+
*/
|
|
1003
|
+
"space-x": [{
|
|
1004
|
+
"space-x": w()
|
|
1005
|
+
}],
|
|
1006
|
+
/**
|
|
1007
|
+
* Space Between X Reverse
|
|
1008
|
+
* @see https://tailwindcss.com/docs/margin#adding-space-between-children
|
|
1009
|
+
*/
|
|
1010
|
+
"space-x-reverse": ["space-x-reverse"],
|
|
1011
|
+
/**
|
|
1012
|
+
* Space Between Y
|
|
1013
|
+
* @see https://tailwindcss.com/docs/margin#adding-space-between-children
|
|
1014
|
+
*/
|
|
1015
|
+
"space-y": [{
|
|
1016
|
+
"space-y": w()
|
|
1017
|
+
}],
|
|
1018
|
+
/**
|
|
1019
|
+
* Space Between Y Reverse
|
|
1020
|
+
* @see https://tailwindcss.com/docs/margin#adding-space-between-children
|
|
1021
|
+
*/
|
|
1022
|
+
"space-y-reverse": ["space-y-reverse"],
|
|
1023
|
+
// --------------
|
|
1024
|
+
// --- Sizing ---
|
|
1025
|
+
// --------------
|
|
1026
|
+
/**
|
|
1027
|
+
* Size
|
|
1028
|
+
* @see https://tailwindcss.com/docs/width#setting-both-width-and-height
|
|
1029
|
+
*/
|
|
1030
|
+
size: [{
|
|
1031
|
+
size: W()
|
|
1032
|
+
}],
|
|
1033
|
+
/**
|
|
1034
|
+
* Width
|
|
1035
|
+
* @see https://tailwindcss.com/docs/width
|
|
1036
|
+
*/
|
|
1037
|
+
w: [{
|
|
1038
|
+
w: [a, "screen", ...W()]
|
|
1039
|
+
}],
|
|
1040
|
+
/**
|
|
1041
|
+
* Min-Width
|
|
1042
|
+
* @see https://tailwindcss.com/docs/min-width
|
|
1043
|
+
*/
|
|
1044
|
+
"min-w": [{
|
|
1045
|
+
"min-w": [
|
|
1046
|
+
a,
|
|
1047
|
+
"screen",
|
|
1048
|
+
/** Deprecated. @see https://github.com/tailwindlabs/tailwindcss.com/issues/2027#issuecomment-2620152757 */
|
|
1049
|
+
"none",
|
|
1050
|
+
...W()
|
|
1051
|
+
]
|
|
1052
|
+
}],
|
|
1053
|
+
/**
|
|
1054
|
+
* Max-Width
|
|
1055
|
+
* @see https://tailwindcss.com/docs/max-width
|
|
1056
|
+
*/
|
|
1057
|
+
"max-w": [{
|
|
1058
|
+
"max-w": [
|
|
1059
|
+
a,
|
|
1060
|
+
"screen",
|
|
1061
|
+
"none",
|
|
1062
|
+
/** Deprecated since Tailwind CSS v4.0.0. @see https://github.com/tailwindlabs/tailwindcss.com/issues/2027#issuecomment-2620152757 */
|
|
1063
|
+
"prose",
|
|
1064
|
+
/** Deprecated since Tailwind CSS v4.0.0. @see https://github.com/tailwindlabs/tailwindcss.com/issues/2027#issuecomment-2620152757 */
|
|
1065
|
+
{
|
|
1066
|
+
screen: [i]
|
|
1067
|
+
},
|
|
1068
|
+
...W()
|
|
1069
|
+
]
|
|
1070
|
+
}],
|
|
1071
|
+
/**
|
|
1072
|
+
* Height
|
|
1073
|
+
* @see https://tailwindcss.com/docs/height
|
|
1074
|
+
*/
|
|
1075
|
+
h: [{
|
|
1076
|
+
h: ["screen", "lh", ...W()]
|
|
1077
|
+
}],
|
|
1078
|
+
/**
|
|
1079
|
+
* Min-Height
|
|
1080
|
+
* @see https://tailwindcss.com/docs/min-height
|
|
1081
|
+
*/
|
|
1082
|
+
"min-h": [{
|
|
1083
|
+
"min-h": ["screen", "lh", "none", ...W()]
|
|
1084
|
+
}],
|
|
1085
|
+
/**
|
|
1086
|
+
* Max-Height
|
|
1087
|
+
* @see https://tailwindcss.com/docs/max-height
|
|
1088
|
+
*/
|
|
1089
|
+
"max-h": [{
|
|
1090
|
+
"max-h": ["screen", "lh", ...W()]
|
|
1091
|
+
}],
|
|
1092
|
+
// ------------------
|
|
1093
|
+
// --- Typography ---
|
|
1094
|
+
// ------------------
|
|
1095
|
+
/**
|
|
1096
|
+
* Font Size
|
|
1097
|
+
* @see https://tailwindcss.com/docs/font-size
|
|
1098
|
+
*/
|
|
1099
|
+
"font-size": [{
|
|
1100
|
+
text: ["base", r, be, te]
|
|
1101
|
+
}],
|
|
1102
|
+
/**
|
|
1103
|
+
* Font Smoothing
|
|
1104
|
+
* @see https://tailwindcss.com/docs/font-smoothing
|
|
1105
|
+
*/
|
|
1106
|
+
"font-smoothing": ["antialiased", "subpixel-antialiased"],
|
|
1107
|
+
/**
|
|
1108
|
+
* Font Style
|
|
1109
|
+
* @see https://tailwindcss.com/docs/font-style
|
|
1110
|
+
*/
|
|
1111
|
+
"font-style": ["italic", "not-italic"],
|
|
1112
|
+
/**
|
|
1113
|
+
* Font Weight
|
|
1114
|
+
* @see https://tailwindcss.com/docs/font-weight
|
|
1115
|
+
*/
|
|
1116
|
+
"font-weight": [{
|
|
1117
|
+
font: [n, b, qe]
|
|
1118
|
+
}],
|
|
1119
|
+
/**
|
|
1120
|
+
* Font Stretch
|
|
1121
|
+
* @see https://tailwindcss.com/docs/font-stretch
|
|
1122
|
+
*/
|
|
1123
|
+
"font-stretch": [{
|
|
1124
|
+
"font-stretch": ["ultra-condensed", "extra-condensed", "condensed", "semi-condensed", "normal", "semi-expanded", "expanded", "extra-expanded", "ultra-expanded", De, h]
|
|
1125
|
+
}],
|
|
1126
|
+
/**
|
|
1127
|
+
* Font Family
|
|
1128
|
+
* @see https://tailwindcss.com/docs/font-family
|
|
1129
|
+
*/
|
|
1130
|
+
"font-family": [{
|
|
1131
|
+
font: [fn, h, t]
|
|
1132
|
+
}],
|
|
1133
|
+
/**
|
|
1134
|
+
* Font Variant Numeric
|
|
1135
|
+
* @see https://tailwindcss.com/docs/font-variant-numeric
|
|
1136
|
+
*/
|
|
1137
|
+
"fvn-normal": ["normal-nums"],
|
|
1138
|
+
/**
|
|
1139
|
+
* Font Variant Numeric
|
|
1140
|
+
* @see https://tailwindcss.com/docs/font-variant-numeric
|
|
1141
|
+
*/
|
|
1142
|
+
"fvn-ordinal": ["ordinal"],
|
|
1143
|
+
/**
|
|
1144
|
+
* Font Variant Numeric
|
|
1145
|
+
* @see https://tailwindcss.com/docs/font-variant-numeric
|
|
1146
|
+
*/
|
|
1147
|
+
"fvn-slashed-zero": ["slashed-zero"],
|
|
1148
|
+
/**
|
|
1149
|
+
* Font Variant Numeric
|
|
1150
|
+
* @see https://tailwindcss.com/docs/font-variant-numeric
|
|
1151
|
+
*/
|
|
1152
|
+
"fvn-figure": ["lining-nums", "oldstyle-nums"],
|
|
1153
|
+
/**
|
|
1154
|
+
* Font Variant Numeric
|
|
1155
|
+
* @see https://tailwindcss.com/docs/font-variant-numeric
|
|
1156
|
+
*/
|
|
1157
|
+
"fvn-spacing": ["proportional-nums", "tabular-nums"],
|
|
1158
|
+
/**
|
|
1159
|
+
* Font Variant Numeric
|
|
1160
|
+
* @see https://tailwindcss.com/docs/font-variant-numeric
|
|
1161
|
+
*/
|
|
1162
|
+
"fvn-fraction": ["diagonal-fractions", "stacked-fractions"],
|
|
1163
|
+
/**
|
|
1164
|
+
* Letter Spacing
|
|
1165
|
+
* @see https://tailwindcss.com/docs/letter-spacing
|
|
1166
|
+
*/
|
|
1167
|
+
tracking: [{
|
|
1168
|
+
tracking: [o, b, h]
|
|
1169
|
+
}],
|
|
1170
|
+
/**
|
|
1171
|
+
* Line Clamp
|
|
1172
|
+
* @see https://tailwindcss.com/docs/line-clamp
|
|
1173
|
+
*/
|
|
1174
|
+
"line-clamp": [{
|
|
1175
|
+
"line-clamp": [S, "none", b, qe]
|
|
1176
|
+
}],
|
|
1177
|
+
/**
|
|
1178
|
+
* Line Height
|
|
1179
|
+
* @see https://tailwindcss.com/docs/line-height
|
|
1180
|
+
*/
|
|
1181
|
+
leading: [{
|
|
1182
|
+
leading: [
|
|
1183
|
+
/** Deprecated since Tailwind CSS v4.0.0. @see https://github.com/tailwindlabs/tailwindcss.com/issues/2027#issuecomment-2620152757 */
|
|
1184
|
+
s,
|
|
1185
|
+
...w()
|
|
1186
|
+
]
|
|
1187
|
+
}],
|
|
1188
|
+
/**
|
|
1189
|
+
* List Style Image
|
|
1190
|
+
* @see https://tailwindcss.com/docs/list-style-image
|
|
1191
|
+
*/
|
|
1192
|
+
"list-image": [{
|
|
1193
|
+
"list-image": ["none", b, h]
|
|
1194
|
+
}],
|
|
1195
|
+
/**
|
|
1196
|
+
* List Style Position
|
|
1197
|
+
* @see https://tailwindcss.com/docs/list-style-position
|
|
1198
|
+
*/
|
|
1199
|
+
"list-style-position": [{
|
|
1200
|
+
list: ["inside", "outside"]
|
|
1201
|
+
}],
|
|
1202
|
+
/**
|
|
1203
|
+
* List Style Type
|
|
1204
|
+
* @see https://tailwindcss.com/docs/list-style-type
|
|
1205
|
+
*/
|
|
1206
|
+
"list-style-type": [{
|
|
1207
|
+
list: ["disc", "decimal", "none", b, h]
|
|
1208
|
+
}],
|
|
1209
|
+
/**
|
|
1210
|
+
* Text Alignment
|
|
1211
|
+
* @see https://tailwindcss.com/docs/text-align
|
|
1212
|
+
*/
|
|
1213
|
+
"text-alignment": [{
|
|
1214
|
+
text: ["left", "center", "right", "justify", "start", "end"]
|
|
1215
|
+
}],
|
|
1216
|
+
/**
|
|
1217
|
+
* Placeholder Color
|
|
1218
|
+
* @deprecated since Tailwind CSS v3.0.0
|
|
1219
|
+
* @see https://v3.tailwindcss.com/docs/placeholder-color
|
|
1220
|
+
*/
|
|
1221
|
+
"placeholder-color": [{
|
|
1222
|
+
placeholder: y()
|
|
1223
|
+
}],
|
|
1224
|
+
/**
|
|
1225
|
+
* Text Color
|
|
1226
|
+
* @see https://tailwindcss.com/docs/text-color
|
|
1227
|
+
*/
|
|
1228
|
+
"text-color": [{
|
|
1229
|
+
text: y()
|
|
1230
|
+
}],
|
|
1231
|
+
/**
|
|
1232
|
+
* Text Decoration
|
|
1233
|
+
* @see https://tailwindcss.com/docs/text-decoration
|
|
1234
|
+
*/
|
|
1235
|
+
"text-decoration": ["underline", "overline", "line-through", "no-underline"],
|
|
1236
|
+
/**
|
|
1237
|
+
* Text Decoration Style
|
|
1238
|
+
* @see https://tailwindcss.com/docs/text-decoration-style
|
|
1239
|
+
*/
|
|
1240
|
+
"text-decoration-style": [{
|
|
1241
|
+
decoration: [...ee(), "wavy"]
|
|
1242
|
+
}],
|
|
1243
|
+
/**
|
|
1244
|
+
* Text Decoration Thickness
|
|
1245
|
+
* @see https://tailwindcss.com/docs/text-decoration-thickness
|
|
1246
|
+
*/
|
|
1247
|
+
"text-decoration-thickness": [{
|
|
1248
|
+
decoration: [S, "from-font", "auto", b, te]
|
|
1249
|
+
}],
|
|
1250
|
+
/**
|
|
1251
|
+
* Text Decoration Color
|
|
1252
|
+
* @see https://tailwindcss.com/docs/text-decoration-color
|
|
1253
|
+
*/
|
|
1254
|
+
"text-decoration-color": [{
|
|
1255
|
+
decoration: y()
|
|
1256
|
+
}],
|
|
1257
|
+
/**
|
|
1258
|
+
* Text Underline Offset
|
|
1259
|
+
* @see https://tailwindcss.com/docs/text-underline-offset
|
|
1260
|
+
*/
|
|
1261
|
+
"underline-offset": [{
|
|
1262
|
+
"underline-offset": [S, "auto", b, h]
|
|
1263
|
+
}],
|
|
1264
|
+
/**
|
|
1265
|
+
* Text Transform
|
|
1266
|
+
* @see https://tailwindcss.com/docs/text-transform
|
|
1267
|
+
*/
|
|
1268
|
+
"text-transform": ["uppercase", "lowercase", "capitalize", "normal-case"],
|
|
1269
|
+
/**
|
|
1270
|
+
* Text Overflow
|
|
1271
|
+
* @see https://tailwindcss.com/docs/text-overflow
|
|
1272
|
+
*/
|
|
1273
|
+
"text-overflow": ["truncate", "text-ellipsis", "text-clip"],
|
|
1274
|
+
/**
|
|
1275
|
+
* Text Wrap
|
|
1276
|
+
* @see https://tailwindcss.com/docs/text-wrap
|
|
1277
|
+
*/
|
|
1278
|
+
"text-wrap": [{
|
|
1279
|
+
text: ["wrap", "nowrap", "balance", "pretty"]
|
|
1280
|
+
}],
|
|
1281
|
+
/**
|
|
1282
|
+
* Text Indent
|
|
1283
|
+
* @see https://tailwindcss.com/docs/text-indent
|
|
1284
|
+
*/
|
|
1285
|
+
indent: [{
|
|
1286
|
+
indent: w()
|
|
1287
|
+
}],
|
|
1288
|
+
/**
|
|
1289
|
+
* Vertical Alignment
|
|
1290
|
+
* @see https://tailwindcss.com/docs/vertical-align
|
|
1291
|
+
*/
|
|
1292
|
+
"vertical-align": [{
|
|
1293
|
+
align: ["baseline", "top", "middle", "bottom", "text-top", "text-bottom", "sub", "super", b, h]
|
|
1294
|
+
}],
|
|
1295
|
+
/**
|
|
1296
|
+
* Whitespace
|
|
1297
|
+
* @see https://tailwindcss.com/docs/whitespace
|
|
1298
|
+
*/
|
|
1299
|
+
whitespace: [{
|
|
1300
|
+
whitespace: ["normal", "nowrap", "pre", "pre-line", "pre-wrap", "break-spaces"]
|
|
1301
|
+
}],
|
|
1302
|
+
/**
|
|
1303
|
+
* Word Break
|
|
1304
|
+
* @see https://tailwindcss.com/docs/word-break
|
|
1305
|
+
*/
|
|
1306
|
+
break: [{
|
|
1307
|
+
break: ["normal", "words", "all", "keep"]
|
|
1308
|
+
}],
|
|
1309
|
+
/**
|
|
1310
|
+
* Overflow Wrap
|
|
1311
|
+
* @see https://tailwindcss.com/docs/overflow-wrap
|
|
1312
|
+
*/
|
|
1313
|
+
wrap: [{
|
|
1314
|
+
wrap: ["break-word", "anywhere", "normal"]
|
|
1315
|
+
}],
|
|
1316
|
+
/**
|
|
1317
|
+
* Hyphens
|
|
1318
|
+
* @see https://tailwindcss.com/docs/hyphens
|
|
1319
|
+
*/
|
|
1320
|
+
hyphens: [{
|
|
1321
|
+
hyphens: ["none", "manual", "auto"]
|
|
1322
|
+
}],
|
|
1323
|
+
/**
|
|
1324
|
+
* Content
|
|
1325
|
+
* @see https://tailwindcss.com/docs/content
|
|
1326
|
+
*/
|
|
1327
|
+
content: [{
|
|
1328
|
+
content: ["none", b, h]
|
|
1329
|
+
}],
|
|
1330
|
+
// -------------------
|
|
1331
|
+
// --- Backgrounds ---
|
|
1332
|
+
// -------------------
|
|
1333
|
+
/**
|
|
1334
|
+
* Background Attachment
|
|
1335
|
+
* @see https://tailwindcss.com/docs/background-attachment
|
|
1336
|
+
*/
|
|
1337
|
+
"bg-attachment": [{
|
|
1338
|
+
bg: ["fixed", "local", "scroll"]
|
|
1339
|
+
}],
|
|
1340
|
+
/**
|
|
1341
|
+
* Background Clip
|
|
1342
|
+
* @see https://tailwindcss.com/docs/background-clip
|
|
1343
|
+
*/
|
|
1344
|
+
"bg-clip": [{
|
|
1345
|
+
"bg-clip": ["border", "padding", "content", "text"]
|
|
1346
|
+
}],
|
|
1347
|
+
/**
|
|
1348
|
+
* Background Origin
|
|
1349
|
+
* @see https://tailwindcss.com/docs/background-origin
|
|
1350
|
+
*/
|
|
1351
|
+
"bg-origin": [{
|
|
1352
|
+
"bg-origin": ["border", "padding", "content"]
|
|
1353
|
+
}],
|
|
1354
|
+
/**
|
|
1355
|
+
* Background Position
|
|
1356
|
+
* @see https://tailwindcss.com/docs/background-position
|
|
1357
|
+
*/
|
|
1358
|
+
"bg-position": [{
|
|
1359
|
+
bg: he()
|
|
1360
|
+
}],
|
|
1361
|
+
/**
|
|
1362
|
+
* Background Repeat
|
|
1363
|
+
* @see https://tailwindcss.com/docs/background-repeat
|
|
1364
|
+
*/
|
|
1365
|
+
"bg-repeat": [{
|
|
1366
|
+
bg: Se()
|
|
1367
|
+
}],
|
|
1368
|
+
/**
|
|
1369
|
+
* Background Size
|
|
1370
|
+
* @see https://tailwindcss.com/docs/background-size
|
|
1371
|
+
*/
|
|
1372
|
+
"bg-size": [{
|
|
1373
|
+
bg: V()
|
|
1374
|
+
}],
|
|
1375
|
+
/**
|
|
1376
|
+
* Background Image
|
|
1377
|
+
* @see https://tailwindcss.com/docs/background-image
|
|
1378
|
+
*/
|
|
1379
|
+
"bg-image": [{
|
|
1380
|
+
bg: ["none", {
|
|
1381
|
+
linear: [{
|
|
1382
|
+
to: ["t", "tr", "r", "br", "b", "bl", "l", "tl"]
|
|
1383
|
+
}, Y, b, h],
|
|
1384
|
+
radial: ["", b, h],
|
|
1385
|
+
conic: [Y, b, h]
|
|
1386
|
+
}, mn, dn]
|
|
1387
|
+
}],
|
|
1388
|
+
/**
|
|
1389
|
+
* Background Color
|
|
1390
|
+
* @see https://tailwindcss.com/docs/background-color
|
|
1391
|
+
*/
|
|
1392
|
+
"bg-color": [{
|
|
1393
|
+
bg: y()
|
|
1394
|
+
}],
|
|
1395
|
+
/**
|
|
1396
|
+
* Gradient Color Stops From Position
|
|
1397
|
+
* @see https://tailwindcss.com/docs/gradient-color-stops
|
|
1398
|
+
*/
|
|
1399
|
+
"gradient-from-pos": [{
|
|
1400
|
+
from: G()
|
|
1401
|
+
}],
|
|
1402
|
+
/**
|
|
1403
|
+
* Gradient Color Stops Via Position
|
|
1404
|
+
* @see https://tailwindcss.com/docs/gradient-color-stops
|
|
1405
|
+
*/
|
|
1406
|
+
"gradient-via-pos": [{
|
|
1407
|
+
via: G()
|
|
1408
|
+
}],
|
|
1409
|
+
/**
|
|
1410
|
+
* Gradient Color Stops To Position
|
|
1411
|
+
* @see https://tailwindcss.com/docs/gradient-color-stops
|
|
1412
|
+
*/
|
|
1413
|
+
"gradient-to-pos": [{
|
|
1414
|
+
to: G()
|
|
1415
|
+
}],
|
|
1416
|
+
/**
|
|
1417
|
+
* Gradient Color Stops From
|
|
1418
|
+
* @see https://tailwindcss.com/docs/gradient-color-stops
|
|
1419
|
+
*/
|
|
1420
|
+
"gradient-from": [{
|
|
1421
|
+
from: y()
|
|
1422
|
+
}],
|
|
1423
|
+
/**
|
|
1424
|
+
* Gradient Color Stops Via
|
|
1425
|
+
* @see https://tailwindcss.com/docs/gradient-color-stops
|
|
1426
|
+
*/
|
|
1427
|
+
"gradient-via": [{
|
|
1428
|
+
via: y()
|
|
1429
|
+
}],
|
|
1430
|
+
/**
|
|
1431
|
+
* Gradient Color Stops To
|
|
1432
|
+
* @see https://tailwindcss.com/docs/gradient-color-stops
|
|
1433
|
+
*/
|
|
1434
|
+
"gradient-to": [{
|
|
1435
|
+
to: y()
|
|
1436
|
+
}],
|
|
1437
|
+
// ---------------
|
|
1438
|
+
// --- Borders ---
|
|
1439
|
+
// ---------------
|
|
1440
|
+
/**
|
|
1441
|
+
* Border Radius
|
|
1442
|
+
* @see https://tailwindcss.com/docs/border-radius
|
|
1443
|
+
*/
|
|
1444
|
+
rounded: [{
|
|
1445
|
+
rounded: N()
|
|
1446
|
+
}],
|
|
1447
|
+
/**
|
|
1448
|
+
* Border Radius Start
|
|
1449
|
+
* @see https://tailwindcss.com/docs/border-radius
|
|
1450
|
+
*/
|
|
1451
|
+
"rounded-s": [{
|
|
1452
|
+
"rounded-s": N()
|
|
1453
|
+
}],
|
|
1454
|
+
/**
|
|
1455
|
+
* Border Radius End
|
|
1456
|
+
* @see https://tailwindcss.com/docs/border-radius
|
|
1457
|
+
*/
|
|
1458
|
+
"rounded-e": [{
|
|
1459
|
+
"rounded-e": N()
|
|
1460
|
+
}],
|
|
1461
|
+
/**
|
|
1462
|
+
* Border Radius Top
|
|
1463
|
+
* @see https://tailwindcss.com/docs/border-radius
|
|
1464
|
+
*/
|
|
1465
|
+
"rounded-t": [{
|
|
1466
|
+
"rounded-t": N()
|
|
1467
|
+
}],
|
|
1468
|
+
/**
|
|
1469
|
+
* Border Radius Right
|
|
1470
|
+
* @see https://tailwindcss.com/docs/border-radius
|
|
1471
|
+
*/
|
|
1472
|
+
"rounded-r": [{
|
|
1473
|
+
"rounded-r": N()
|
|
1474
|
+
}],
|
|
1475
|
+
/**
|
|
1476
|
+
* Border Radius Bottom
|
|
1477
|
+
* @see https://tailwindcss.com/docs/border-radius
|
|
1478
|
+
*/
|
|
1479
|
+
"rounded-b": [{
|
|
1480
|
+
"rounded-b": N()
|
|
1481
|
+
}],
|
|
1482
|
+
/**
|
|
1483
|
+
* Border Radius Left
|
|
1484
|
+
* @see https://tailwindcss.com/docs/border-radius
|
|
1485
|
+
*/
|
|
1486
|
+
"rounded-l": [{
|
|
1487
|
+
"rounded-l": N()
|
|
1488
|
+
}],
|
|
1489
|
+
/**
|
|
1490
|
+
* Border Radius Start Start
|
|
1491
|
+
* @see https://tailwindcss.com/docs/border-radius
|
|
1492
|
+
*/
|
|
1493
|
+
"rounded-ss": [{
|
|
1494
|
+
"rounded-ss": N()
|
|
1495
|
+
}],
|
|
1496
|
+
/**
|
|
1497
|
+
* Border Radius Start End
|
|
1498
|
+
* @see https://tailwindcss.com/docs/border-radius
|
|
1499
|
+
*/
|
|
1500
|
+
"rounded-se": [{
|
|
1501
|
+
"rounded-se": N()
|
|
1502
|
+
}],
|
|
1503
|
+
/**
|
|
1504
|
+
* Border Radius End End
|
|
1505
|
+
* @see https://tailwindcss.com/docs/border-radius
|
|
1506
|
+
*/
|
|
1507
|
+
"rounded-ee": [{
|
|
1508
|
+
"rounded-ee": N()
|
|
1509
|
+
}],
|
|
1510
|
+
/**
|
|
1511
|
+
* Border Radius End Start
|
|
1512
|
+
* @see https://tailwindcss.com/docs/border-radius
|
|
1513
|
+
*/
|
|
1514
|
+
"rounded-es": [{
|
|
1515
|
+
"rounded-es": N()
|
|
1516
|
+
}],
|
|
1517
|
+
/**
|
|
1518
|
+
* Border Radius Top Left
|
|
1519
|
+
* @see https://tailwindcss.com/docs/border-radius
|
|
1520
|
+
*/
|
|
1521
|
+
"rounded-tl": [{
|
|
1522
|
+
"rounded-tl": N()
|
|
1523
|
+
}],
|
|
1524
|
+
/**
|
|
1525
|
+
* Border Radius Top Right
|
|
1526
|
+
* @see https://tailwindcss.com/docs/border-radius
|
|
1527
|
+
*/
|
|
1528
|
+
"rounded-tr": [{
|
|
1529
|
+
"rounded-tr": N()
|
|
1530
|
+
}],
|
|
1531
|
+
/**
|
|
1532
|
+
* Border Radius Bottom Right
|
|
1533
|
+
* @see https://tailwindcss.com/docs/border-radius
|
|
1534
|
+
*/
|
|
1535
|
+
"rounded-br": [{
|
|
1536
|
+
"rounded-br": N()
|
|
1537
|
+
}],
|
|
1538
|
+
/**
|
|
1539
|
+
* Border Radius Bottom Left
|
|
1540
|
+
* @see https://tailwindcss.com/docs/border-radius
|
|
1541
|
+
*/
|
|
1542
|
+
"rounded-bl": [{
|
|
1543
|
+
"rounded-bl": N()
|
|
1544
|
+
}],
|
|
1545
|
+
/**
|
|
1546
|
+
* Border Width
|
|
1547
|
+
* @see https://tailwindcss.com/docs/border-width
|
|
1548
|
+
*/
|
|
1549
|
+
"border-w": [{
|
|
1550
|
+
border: F()
|
|
1551
|
+
}],
|
|
1552
|
+
/**
|
|
1553
|
+
* Border Width X
|
|
1554
|
+
* @see https://tailwindcss.com/docs/border-width
|
|
1555
|
+
*/
|
|
1556
|
+
"border-w-x": [{
|
|
1557
|
+
"border-x": F()
|
|
1558
|
+
}],
|
|
1559
|
+
/**
|
|
1560
|
+
* Border Width Y
|
|
1561
|
+
* @see https://tailwindcss.com/docs/border-width
|
|
1562
|
+
*/
|
|
1563
|
+
"border-w-y": [{
|
|
1564
|
+
"border-y": F()
|
|
1565
|
+
}],
|
|
1566
|
+
/**
|
|
1567
|
+
* Border Width Start
|
|
1568
|
+
* @see https://tailwindcss.com/docs/border-width
|
|
1569
|
+
*/
|
|
1570
|
+
"border-w-s": [{
|
|
1571
|
+
"border-s": F()
|
|
1572
|
+
}],
|
|
1573
|
+
/**
|
|
1574
|
+
* Border Width End
|
|
1575
|
+
* @see https://tailwindcss.com/docs/border-width
|
|
1576
|
+
*/
|
|
1577
|
+
"border-w-e": [{
|
|
1578
|
+
"border-e": F()
|
|
1579
|
+
}],
|
|
1580
|
+
/**
|
|
1581
|
+
* Border Width Top
|
|
1582
|
+
* @see https://tailwindcss.com/docs/border-width
|
|
1583
|
+
*/
|
|
1584
|
+
"border-w-t": [{
|
|
1585
|
+
"border-t": F()
|
|
1586
|
+
}],
|
|
1587
|
+
/**
|
|
1588
|
+
* Border Width Right
|
|
1589
|
+
* @see https://tailwindcss.com/docs/border-width
|
|
1590
|
+
*/
|
|
1591
|
+
"border-w-r": [{
|
|
1592
|
+
"border-r": F()
|
|
1593
|
+
}],
|
|
1594
|
+
/**
|
|
1595
|
+
* Border Width Bottom
|
|
1596
|
+
* @see https://tailwindcss.com/docs/border-width
|
|
1597
|
+
*/
|
|
1598
|
+
"border-w-b": [{
|
|
1599
|
+
"border-b": F()
|
|
1600
|
+
}],
|
|
1601
|
+
/**
|
|
1602
|
+
* Border Width Left
|
|
1603
|
+
* @see https://tailwindcss.com/docs/border-width
|
|
1604
|
+
*/
|
|
1605
|
+
"border-w-l": [{
|
|
1606
|
+
"border-l": F()
|
|
1607
|
+
}],
|
|
1608
|
+
/**
|
|
1609
|
+
* Divide Width X
|
|
1610
|
+
* @see https://tailwindcss.com/docs/border-width#between-children
|
|
1611
|
+
*/
|
|
1612
|
+
"divide-x": [{
|
|
1613
|
+
"divide-x": F()
|
|
1614
|
+
}],
|
|
1615
|
+
/**
|
|
1616
|
+
* Divide Width X Reverse
|
|
1617
|
+
* @see https://tailwindcss.com/docs/border-width#between-children
|
|
1618
|
+
*/
|
|
1619
|
+
"divide-x-reverse": ["divide-x-reverse"],
|
|
1620
|
+
/**
|
|
1621
|
+
* Divide Width Y
|
|
1622
|
+
* @see https://tailwindcss.com/docs/border-width#between-children
|
|
1623
|
+
*/
|
|
1624
|
+
"divide-y": [{
|
|
1625
|
+
"divide-y": F()
|
|
1626
|
+
}],
|
|
1627
|
+
/**
|
|
1628
|
+
* Divide Width Y Reverse
|
|
1629
|
+
* @see https://tailwindcss.com/docs/border-width#between-children
|
|
1630
|
+
*/
|
|
1631
|
+
"divide-y-reverse": ["divide-y-reverse"],
|
|
1632
|
+
/**
|
|
1633
|
+
* Border Style
|
|
1634
|
+
* @see https://tailwindcss.com/docs/border-style
|
|
1635
|
+
*/
|
|
1636
|
+
"border-style": [{
|
|
1637
|
+
border: [...ee(), "hidden", "none"]
|
|
1638
|
+
}],
|
|
1639
|
+
/**
|
|
1640
|
+
* Divide Style
|
|
1641
|
+
* @see https://tailwindcss.com/docs/border-style#setting-the-divider-style
|
|
1642
|
+
*/
|
|
1643
|
+
"divide-style": [{
|
|
1644
|
+
divide: [...ee(), "hidden", "none"]
|
|
1645
|
+
}],
|
|
1646
|
+
/**
|
|
1647
|
+
* Border Color
|
|
1648
|
+
* @see https://tailwindcss.com/docs/border-color
|
|
1649
|
+
*/
|
|
1650
|
+
"border-color": [{
|
|
1651
|
+
border: y()
|
|
1652
|
+
}],
|
|
1653
|
+
/**
|
|
1654
|
+
* Border Color X
|
|
1655
|
+
* @see https://tailwindcss.com/docs/border-color
|
|
1656
|
+
*/
|
|
1657
|
+
"border-color-x": [{
|
|
1658
|
+
"border-x": y()
|
|
1659
|
+
}],
|
|
1660
|
+
/**
|
|
1661
|
+
* Border Color Y
|
|
1662
|
+
* @see https://tailwindcss.com/docs/border-color
|
|
1663
|
+
*/
|
|
1664
|
+
"border-color-y": [{
|
|
1665
|
+
"border-y": y()
|
|
1666
|
+
}],
|
|
1667
|
+
/**
|
|
1668
|
+
* Border Color S
|
|
1669
|
+
* @see https://tailwindcss.com/docs/border-color
|
|
1670
|
+
*/
|
|
1671
|
+
"border-color-s": [{
|
|
1672
|
+
"border-s": y()
|
|
1673
|
+
}],
|
|
1674
|
+
/**
|
|
1675
|
+
* Border Color E
|
|
1676
|
+
* @see https://tailwindcss.com/docs/border-color
|
|
1677
|
+
*/
|
|
1678
|
+
"border-color-e": [{
|
|
1679
|
+
"border-e": y()
|
|
1680
|
+
}],
|
|
1681
|
+
/**
|
|
1682
|
+
* Border Color Top
|
|
1683
|
+
* @see https://tailwindcss.com/docs/border-color
|
|
1684
|
+
*/
|
|
1685
|
+
"border-color-t": [{
|
|
1686
|
+
"border-t": y()
|
|
1687
|
+
}],
|
|
1688
|
+
/**
|
|
1689
|
+
* Border Color Right
|
|
1690
|
+
* @see https://tailwindcss.com/docs/border-color
|
|
1691
|
+
*/
|
|
1692
|
+
"border-color-r": [{
|
|
1693
|
+
"border-r": y()
|
|
1694
|
+
}],
|
|
1695
|
+
/**
|
|
1696
|
+
* Border Color Bottom
|
|
1697
|
+
* @see https://tailwindcss.com/docs/border-color
|
|
1698
|
+
*/
|
|
1699
|
+
"border-color-b": [{
|
|
1700
|
+
"border-b": y()
|
|
1701
|
+
}],
|
|
1702
|
+
/**
|
|
1703
|
+
* Border Color Left
|
|
1704
|
+
* @see https://tailwindcss.com/docs/border-color
|
|
1705
|
+
*/
|
|
1706
|
+
"border-color-l": [{
|
|
1707
|
+
"border-l": y()
|
|
1708
|
+
}],
|
|
1709
|
+
/**
|
|
1710
|
+
* Divide Color
|
|
1711
|
+
* @see https://tailwindcss.com/docs/divide-color
|
|
1712
|
+
*/
|
|
1713
|
+
"divide-color": [{
|
|
1714
|
+
divide: y()
|
|
1715
|
+
}],
|
|
1716
|
+
/**
|
|
1717
|
+
* Outline Style
|
|
1718
|
+
* @see https://tailwindcss.com/docs/outline-style
|
|
1719
|
+
*/
|
|
1720
|
+
"outline-style": [{
|
|
1721
|
+
outline: [...ee(), "none", "hidden"]
|
|
1722
|
+
}],
|
|
1723
|
+
/**
|
|
1724
|
+
* Outline Offset
|
|
1725
|
+
* @see https://tailwindcss.com/docs/outline-offset
|
|
1726
|
+
*/
|
|
1727
|
+
"outline-offset": [{
|
|
1728
|
+
"outline-offset": [S, b, h]
|
|
1729
|
+
}],
|
|
1730
|
+
/**
|
|
1731
|
+
* Outline Width
|
|
1732
|
+
* @see https://tailwindcss.com/docs/outline-width
|
|
1733
|
+
*/
|
|
1734
|
+
"outline-w": [{
|
|
1735
|
+
outline: ["", S, be, te]
|
|
1736
|
+
}],
|
|
1737
|
+
/**
|
|
1738
|
+
* Outline Color
|
|
1739
|
+
* @see https://tailwindcss.com/docs/outline-color
|
|
1740
|
+
*/
|
|
1741
|
+
"outline-color": [{
|
|
1742
|
+
outline: y()
|
|
1743
|
+
}],
|
|
1744
|
+
// ---------------
|
|
1745
|
+
// --- Effects ---
|
|
1746
|
+
// ---------------
|
|
1747
|
+
/**
|
|
1748
|
+
* Box Shadow
|
|
1749
|
+
* @see https://tailwindcss.com/docs/box-shadow
|
|
1750
|
+
*/
|
|
1751
|
+
shadow: [{
|
|
1752
|
+
shadow: [
|
|
1753
|
+
// Deprecated since Tailwind CSS v4.0.0
|
|
1754
|
+
"",
|
|
1755
|
+
"none",
|
|
1756
|
+
u,
|
|
1757
|
+
Oe,
|
|
1758
|
+
Ce
|
|
1759
|
+
]
|
|
1760
|
+
}],
|
|
1761
|
+
/**
|
|
1762
|
+
* Box Shadow Color
|
|
1763
|
+
* @see https://tailwindcss.com/docs/box-shadow#setting-the-shadow-color
|
|
1764
|
+
*/
|
|
1765
|
+
"shadow-color": [{
|
|
1766
|
+
shadow: y()
|
|
1767
|
+
}],
|
|
1768
|
+
/**
|
|
1769
|
+
* Inset Box Shadow
|
|
1770
|
+
* @see https://tailwindcss.com/docs/box-shadow#adding-an-inset-shadow
|
|
1771
|
+
*/
|
|
1772
|
+
"inset-shadow": [{
|
|
1773
|
+
"inset-shadow": ["none", p, Oe, Ce]
|
|
1774
|
+
}],
|
|
1775
|
+
/**
|
|
1776
|
+
* Inset Box Shadow Color
|
|
1777
|
+
* @see https://tailwindcss.com/docs/box-shadow#setting-the-inset-shadow-color
|
|
1778
|
+
*/
|
|
1779
|
+
"inset-shadow-color": [{
|
|
1780
|
+
"inset-shadow": y()
|
|
1781
|
+
}],
|
|
1782
|
+
/**
|
|
1783
|
+
* Ring Width
|
|
1784
|
+
* @see https://tailwindcss.com/docs/box-shadow#adding-a-ring
|
|
1785
|
+
*/
|
|
1786
|
+
"ring-w": [{
|
|
1787
|
+
ring: F()
|
|
1788
|
+
}],
|
|
1789
|
+
/**
|
|
1790
|
+
* Ring Width Inset
|
|
1791
|
+
* @see https://v3.tailwindcss.com/docs/ring-width#inset-rings
|
|
1792
|
+
* @deprecated since Tailwind CSS v4.0.0
|
|
1793
|
+
* @see https://github.com/tailwindlabs/tailwindcss/blob/v4.0.0/packages/tailwindcss/src/utilities.ts#L4158
|
|
1794
|
+
*/
|
|
1795
|
+
"ring-w-inset": ["ring-inset"],
|
|
1796
|
+
/**
|
|
1797
|
+
* Ring Color
|
|
1798
|
+
* @see https://tailwindcss.com/docs/box-shadow#setting-the-ring-color
|
|
1799
|
+
*/
|
|
1800
|
+
"ring-color": [{
|
|
1801
|
+
ring: y()
|
|
1802
|
+
}],
|
|
1803
|
+
/**
|
|
1804
|
+
* Ring Offset Width
|
|
1805
|
+
* @see https://v3.tailwindcss.com/docs/ring-offset-width
|
|
1806
|
+
* @deprecated since Tailwind CSS v4.0.0
|
|
1807
|
+
* @see https://github.com/tailwindlabs/tailwindcss/blob/v4.0.0/packages/tailwindcss/src/utilities.ts#L4158
|
|
1808
|
+
*/
|
|
1809
|
+
"ring-offset-w": [{
|
|
1810
|
+
"ring-offset": [S, te]
|
|
1811
|
+
}],
|
|
1812
|
+
/**
|
|
1813
|
+
* Ring Offset Color
|
|
1814
|
+
* @see https://v3.tailwindcss.com/docs/ring-offset-color
|
|
1815
|
+
* @deprecated since Tailwind CSS v4.0.0
|
|
1816
|
+
* @see https://github.com/tailwindlabs/tailwindcss/blob/v4.0.0/packages/tailwindcss/src/utilities.ts#L4158
|
|
1817
|
+
*/
|
|
1818
|
+
"ring-offset-color": [{
|
|
1819
|
+
"ring-offset": y()
|
|
1820
|
+
}],
|
|
1821
|
+
/**
|
|
1822
|
+
* Inset Ring Width
|
|
1823
|
+
* @see https://tailwindcss.com/docs/box-shadow#adding-an-inset-ring
|
|
1824
|
+
*/
|
|
1825
|
+
"inset-ring-w": [{
|
|
1826
|
+
"inset-ring": F()
|
|
1827
|
+
}],
|
|
1828
|
+
/**
|
|
1829
|
+
* Inset Ring Color
|
|
1830
|
+
* @see https://tailwindcss.com/docs/box-shadow#setting-the-inset-ring-color
|
|
1831
|
+
*/
|
|
1832
|
+
"inset-ring-color": [{
|
|
1833
|
+
"inset-ring": y()
|
|
1834
|
+
}],
|
|
1835
|
+
/**
|
|
1836
|
+
* Text Shadow
|
|
1837
|
+
* @see https://tailwindcss.com/docs/text-shadow
|
|
1838
|
+
*/
|
|
1839
|
+
"text-shadow": [{
|
|
1840
|
+
"text-shadow": ["none", k, Oe, Ce]
|
|
1841
|
+
}],
|
|
1842
|
+
/**
|
|
1843
|
+
* Text Shadow Color
|
|
1844
|
+
* @see https://tailwindcss.com/docs/text-shadow#setting-the-shadow-color
|
|
1845
|
+
*/
|
|
1846
|
+
"text-shadow-color": [{
|
|
1847
|
+
"text-shadow": y()
|
|
1848
|
+
}],
|
|
1849
|
+
/**
|
|
1850
|
+
* Opacity
|
|
1851
|
+
* @see https://tailwindcss.com/docs/opacity
|
|
1852
|
+
*/
|
|
1853
|
+
opacity: [{
|
|
1854
|
+
opacity: [S, b, h]
|
|
1855
|
+
}],
|
|
1856
|
+
/**
|
|
1857
|
+
* Mix Blend Mode
|
|
1858
|
+
* @see https://tailwindcss.com/docs/mix-blend-mode
|
|
1859
|
+
*/
|
|
1860
|
+
"mix-blend": [{
|
|
1861
|
+
"mix-blend": [...ut(), "plus-darker", "plus-lighter"]
|
|
1862
|
+
}],
|
|
1863
|
+
/**
|
|
1864
|
+
* Background Blend Mode
|
|
1865
|
+
* @see https://tailwindcss.com/docs/background-blend-mode
|
|
1866
|
+
*/
|
|
1867
|
+
"bg-blend": [{
|
|
1868
|
+
"bg-blend": ut()
|
|
1869
|
+
}],
|
|
1870
|
+
/**
|
|
1871
|
+
* Mask Clip
|
|
1872
|
+
* @see https://tailwindcss.com/docs/mask-clip
|
|
1873
|
+
*/
|
|
1874
|
+
"mask-clip": [{
|
|
1875
|
+
"mask-clip": ["border", "padding", "content", "fill", "stroke", "view"]
|
|
1876
|
+
}, "mask-no-clip"],
|
|
1877
|
+
/**
|
|
1878
|
+
* Mask Composite
|
|
1879
|
+
* @see https://tailwindcss.com/docs/mask-composite
|
|
1880
|
+
*/
|
|
1881
|
+
"mask-composite": [{
|
|
1882
|
+
mask: ["add", "subtract", "intersect", "exclude"]
|
|
1883
|
+
}],
|
|
1884
|
+
/**
|
|
1885
|
+
* Mask Image
|
|
1886
|
+
* @see https://tailwindcss.com/docs/mask-image
|
|
1887
|
+
*/
|
|
1888
|
+
"mask-image-linear-pos": [{
|
|
1889
|
+
"mask-linear": [S]
|
|
1890
|
+
}],
|
|
1891
|
+
"mask-image-linear-from-pos": [{
|
|
1892
|
+
"mask-linear-from": z()
|
|
1893
|
+
}],
|
|
1894
|
+
"mask-image-linear-to-pos": [{
|
|
1895
|
+
"mask-linear-to": z()
|
|
1896
|
+
}],
|
|
1897
|
+
"mask-image-linear-from-color": [{
|
|
1898
|
+
"mask-linear-from": y()
|
|
1899
|
+
}],
|
|
1900
|
+
"mask-image-linear-to-color": [{
|
|
1901
|
+
"mask-linear-to": y()
|
|
1902
|
+
}],
|
|
1903
|
+
"mask-image-t-from-pos": [{
|
|
1904
|
+
"mask-t-from": z()
|
|
1905
|
+
}],
|
|
1906
|
+
"mask-image-t-to-pos": [{
|
|
1907
|
+
"mask-t-to": z()
|
|
1908
|
+
}],
|
|
1909
|
+
"mask-image-t-from-color": [{
|
|
1910
|
+
"mask-t-from": y()
|
|
1911
|
+
}],
|
|
1912
|
+
"mask-image-t-to-color": [{
|
|
1913
|
+
"mask-t-to": y()
|
|
1914
|
+
}],
|
|
1915
|
+
"mask-image-r-from-pos": [{
|
|
1916
|
+
"mask-r-from": z()
|
|
1917
|
+
}],
|
|
1918
|
+
"mask-image-r-to-pos": [{
|
|
1919
|
+
"mask-r-to": z()
|
|
1920
|
+
}],
|
|
1921
|
+
"mask-image-r-from-color": [{
|
|
1922
|
+
"mask-r-from": y()
|
|
1923
|
+
}],
|
|
1924
|
+
"mask-image-r-to-color": [{
|
|
1925
|
+
"mask-r-to": y()
|
|
1926
|
+
}],
|
|
1927
|
+
"mask-image-b-from-pos": [{
|
|
1928
|
+
"mask-b-from": z()
|
|
1929
|
+
}],
|
|
1930
|
+
"mask-image-b-to-pos": [{
|
|
1931
|
+
"mask-b-to": z()
|
|
1932
|
+
}],
|
|
1933
|
+
"mask-image-b-from-color": [{
|
|
1934
|
+
"mask-b-from": y()
|
|
1935
|
+
}],
|
|
1936
|
+
"mask-image-b-to-color": [{
|
|
1937
|
+
"mask-b-to": y()
|
|
1938
|
+
}],
|
|
1939
|
+
"mask-image-l-from-pos": [{
|
|
1940
|
+
"mask-l-from": z()
|
|
1941
|
+
}],
|
|
1942
|
+
"mask-image-l-to-pos": [{
|
|
1943
|
+
"mask-l-to": z()
|
|
1944
|
+
}],
|
|
1945
|
+
"mask-image-l-from-color": [{
|
|
1946
|
+
"mask-l-from": y()
|
|
1947
|
+
}],
|
|
1948
|
+
"mask-image-l-to-color": [{
|
|
1949
|
+
"mask-l-to": y()
|
|
1950
|
+
}],
|
|
1951
|
+
"mask-image-x-from-pos": [{
|
|
1952
|
+
"mask-x-from": z()
|
|
1953
|
+
}],
|
|
1954
|
+
"mask-image-x-to-pos": [{
|
|
1955
|
+
"mask-x-to": z()
|
|
1956
|
+
}],
|
|
1957
|
+
"mask-image-x-from-color": [{
|
|
1958
|
+
"mask-x-from": y()
|
|
1959
|
+
}],
|
|
1960
|
+
"mask-image-x-to-color": [{
|
|
1961
|
+
"mask-x-to": y()
|
|
1962
|
+
}],
|
|
1963
|
+
"mask-image-y-from-pos": [{
|
|
1964
|
+
"mask-y-from": z()
|
|
1965
|
+
}],
|
|
1966
|
+
"mask-image-y-to-pos": [{
|
|
1967
|
+
"mask-y-to": z()
|
|
1968
|
+
}],
|
|
1969
|
+
"mask-image-y-from-color": [{
|
|
1970
|
+
"mask-y-from": y()
|
|
1971
|
+
}],
|
|
1972
|
+
"mask-image-y-to-color": [{
|
|
1973
|
+
"mask-y-to": y()
|
|
1974
|
+
}],
|
|
1975
|
+
"mask-image-radial": [{
|
|
1976
|
+
"mask-radial": [b, h]
|
|
1977
|
+
}],
|
|
1978
|
+
"mask-image-radial-from-pos": [{
|
|
1979
|
+
"mask-radial-from": z()
|
|
1980
|
+
}],
|
|
1981
|
+
"mask-image-radial-to-pos": [{
|
|
1982
|
+
"mask-radial-to": z()
|
|
1983
|
+
}],
|
|
1984
|
+
"mask-image-radial-from-color": [{
|
|
1985
|
+
"mask-radial-from": y()
|
|
1986
|
+
}],
|
|
1987
|
+
"mask-image-radial-to-color": [{
|
|
1988
|
+
"mask-radial-to": y()
|
|
1989
|
+
}],
|
|
1990
|
+
"mask-image-radial-shape": [{
|
|
1991
|
+
"mask-radial": ["circle", "ellipse"]
|
|
1992
|
+
}],
|
|
1993
|
+
"mask-image-radial-size": [{
|
|
1994
|
+
"mask-radial": [{
|
|
1995
|
+
closest: ["side", "corner"],
|
|
1996
|
+
farthest: ["side", "corner"]
|
|
1997
|
+
}]
|
|
1998
|
+
}],
|
|
1999
|
+
"mask-image-radial-pos": [{
|
|
2000
|
+
"mask-radial-at": C()
|
|
2001
|
+
}],
|
|
2002
|
+
"mask-image-conic-pos": [{
|
|
2003
|
+
"mask-conic": [S]
|
|
2004
|
+
}],
|
|
2005
|
+
"mask-image-conic-from-pos": [{
|
|
2006
|
+
"mask-conic-from": z()
|
|
2007
|
+
}],
|
|
2008
|
+
"mask-image-conic-to-pos": [{
|
|
2009
|
+
"mask-conic-to": z()
|
|
2010
|
+
}],
|
|
2011
|
+
"mask-image-conic-from-color": [{
|
|
2012
|
+
"mask-conic-from": y()
|
|
2013
|
+
}],
|
|
2014
|
+
"mask-image-conic-to-color": [{
|
|
2015
|
+
"mask-conic-to": y()
|
|
2016
|
+
}],
|
|
2017
|
+
/**
|
|
2018
|
+
* Mask Mode
|
|
2019
|
+
* @see https://tailwindcss.com/docs/mask-mode
|
|
2020
|
+
*/
|
|
2021
|
+
"mask-mode": [{
|
|
2022
|
+
mask: ["alpha", "luminance", "match"]
|
|
2023
|
+
}],
|
|
2024
|
+
/**
|
|
2025
|
+
* Mask Origin
|
|
2026
|
+
* @see https://tailwindcss.com/docs/mask-origin
|
|
2027
|
+
*/
|
|
2028
|
+
"mask-origin": [{
|
|
2029
|
+
"mask-origin": ["border", "padding", "content", "fill", "stroke", "view"]
|
|
2030
|
+
}],
|
|
2031
|
+
/**
|
|
2032
|
+
* Mask Position
|
|
2033
|
+
* @see https://tailwindcss.com/docs/mask-position
|
|
2034
|
+
*/
|
|
2035
|
+
"mask-position": [{
|
|
2036
|
+
mask: he()
|
|
2037
|
+
}],
|
|
2038
|
+
/**
|
|
2039
|
+
* Mask Repeat
|
|
2040
|
+
* @see https://tailwindcss.com/docs/mask-repeat
|
|
2041
|
+
*/
|
|
2042
|
+
"mask-repeat": [{
|
|
2043
|
+
mask: Se()
|
|
2044
|
+
}],
|
|
2045
|
+
/**
|
|
2046
|
+
* Mask Size
|
|
2047
|
+
* @see https://tailwindcss.com/docs/mask-size
|
|
2048
|
+
*/
|
|
2049
|
+
"mask-size": [{
|
|
2050
|
+
mask: V()
|
|
2051
|
+
}],
|
|
2052
|
+
/**
|
|
2053
|
+
* Mask Type
|
|
2054
|
+
* @see https://tailwindcss.com/docs/mask-type
|
|
2055
|
+
*/
|
|
2056
|
+
"mask-type": [{
|
|
2057
|
+
"mask-type": ["alpha", "luminance"]
|
|
2058
|
+
}],
|
|
2059
|
+
/**
|
|
2060
|
+
* Mask Image
|
|
2061
|
+
* @see https://tailwindcss.com/docs/mask-image
|
|
2062
|
+
*/
|
|
2063
|
+
"mask-image": [{
|
|
2064
|
+
mask: ["none", b, h]
|
|
2065
|
+
}],
|
|
2066
|
+
// ---------------
|
|
2067
|
+
// --- Filters ---
|
|
2068
|
+
// ---------------
|
|
2069
|
+
/**
|
|
2070
|
+
* Filter
|
|
2071
|
+
* @see https://tailwindcss.com/docs/filter
|
|
2072
|
+
*/
|
|
2073
|
+
filter: [{
|
|
2074
|
+
filter: [
|
|
2075
|
+
// Deprecated since Tailwind CSS v3.0.0
|
|
2076
|
+
"",
|
|
2077
|
+
"none",
|
|
2078
|
+
b,
|
|
2079
|
+
h
|
|
2080
|
+
]
|
|
2081
|
+
}],
|
|
2082
|
+
/**
|
|
2083
|
+
* Blur
|
|
2084
|
+
* @see https://tailwindcss.com/docs/blur
|
|
2085
|
+
*/
|
|
2086
|
+
blur: [{
|
|
2087
|
+
blur: dt()
|
|
2088
|
+
}],
|
|
2089
|
+
/**
|
|
2090
|
+
* Brightness
|
|
2091
|
+
* @see https://tailwindcss.com/docs/brightness
|
|
2092
|
+
*/
|
|
2093
|
+
brightness: [{
|
|
2094
|
+
brightness: [S, b, h]
|
|
2095
|
+
}],
|
|
2096
|
+
/**
|
|
2097
|
+
* Contrast
|
|
2098
|
+
* @see https://tailwindcss.com/docs/contrast
|
|
2099
|
+
*/
|
|
2100
|
+
contrast: [{
|
|
2101
|
+
contrast: [S, b, h]
|
|
2102
|
+
}],
|
|
2103
|
+
/**
|
|
2104
|
+
* Drop Shadow
|
|
2105
|
+
* @see https://tailwindcss.com/docs/drop-shadow
|
|
2106
|
+
*/
|
|
2107
|
+
"drop-shadow": [{
|
|
2108
|
+
"drop-shadow": [
|
|
2109
|
+
// Deprecated since Tailwind CSS v4.0.0
|
|
2110
|
+
"",
|
|
2111
|
+
"none",
|
|
2112
|
+
R,
|
|
2113
|
+
Oe,
|
|
2114
|
+
Ce
|
|
2115
|
+
]
|
|
2116
|
+
}],
|
|
2117
|
+
/**
|
|
2118
|
+
* Drop Shadow Color
|
|
2119
|
+
* @see https://tailwindcss.com/docs/filter-drop-shadow#setting-the-shadow-color
|
|
2120
|
+
*/
|
|
2121
|
+
"drop-shadow-color": [{
|
|
2122
|
+
"drop-shadow": y()
|
|
2123
|
+
}],
|
|
2124
|
+
/**
|
|
2125
|
+
* Grayscale
|
|
2126
|
+
* @see https://tailwindcss.com/docs/grayscale
|
|
2127
|
+
*/
|
|
2128
|
+
grayscale: [{
|
|
2129
|
+
grayscale: ["", S, b, h]
|
|
2130
|
+
}],
|
|
2131
|
+
/**
|
|
2132
|
+
* Hue Rotate
|
|
2133
|
+
* @see https://tailwindcss.com/docs/hue-rotate
|
|
2134
|
+
*/
|
|
2135
|
+
"hue-rotate": [{
|
|
2136
|
+
"hue-rotate": [S, b, h]
|
|
2137
|
+
}],
|
|
2138
|
+
/**
|
|
2139
|
+
* Invert
|
|
2140
|
+
* @see https://tailwindcss.com/docs/invert
|
|
2141
|
+
*/
|
|
2142
|
+
invert: [{
|
|
2143
|
+
invert: ["", S, b, h]
|
|
2144
|
+
}],
|
|
2145
|
+
/**
|
|
2146
|
+
* Saturate
|
|
2147
|
+
* @see https://tailwindcss.com/docs/saturate
|
|
2148
|
+
*/
|
|
2149
|
+
saturate: [{
|
|
2150
|
+
saturate: [S, b, h]
|
|
2151
|
+
}],
|
|
2152
|
+
/**
|
|
2153
|
+
* Sepia
|
|
2154
|
+
* @see https://tailwindcss.com/docs/sepia
|
|
2155
|
+
*/
|
|
2156
|
+
sepia: [{
|
|
2157
|
+
sepia: ["", S, b, h]
|
|
2158
|
+
}],
|
|
2159
|
+
/**
|
|
2160
|
+
* Backdrop Filter
|
|
2161
|
+
* @see https://tailwindcss.com/docs/backdrop-filter
|
|
2162
|
+
*/
|
|
2163
|
+
"backdrop-filter": [{
|
|
2164
|
+
"backdrop-filter": [
|
|
2165
|
+
// Deprecated since Tailwind CSS v3.0.0
|
|
2166
|
+
"",
|
|
2167
|
+
"none",
|
|
2168
|
+
b,
|
|
2169
|
+
h
|
|
2170
|
+
]
|
|
2171
|
+
}],
|
|
2172
|
+
/**
|
|
2173
|
+
* Backdrop Blur
|
|
2174
|
+
* @see https://tailwindcss.com/docs/backdrop-blur
|
|
2175
|
+
*/
|
|
2176
|
+
"backdrop-blur": [{
|
|
2177
|
+
"backdrop-blur": dt()
|
|
2178
|
+
}],
|
|
2179
|
+
/**
|
|
2180
|
+
* Backdrop Brightness
|
|
2181
|
+
* @see https://tailwindcss.com/docs/backdrop-brightness
|
|
2182
|
+
*/
|
|
2183
|
+
"backdrop-brightness": [{
|
|
2184
|
+
"backdrop-brightness": [S, b, h]
|
|
2185
|
+
}],
|
|
2186
|
+
/**
|
|
2187
|
+
* Backdrop Contrast
|
|
2188
|
+
* @see https://tailwindcss.com/docs/backdrop-contrast
|
|
2189
|
+
*/
|
|
2190
|
+
"backdrop-contrast": [{
|
|
2191
|
+
"backdrop-contrast": [S, b, h]
|
|
2192
|
+
}],
|
|
2193
|
+
/**
|
|
2194
|
+
* Backdrop Grayscale
|
|
2195
|
+
* @see https://tailwindcss.com/docs/backdrop-grayscale
|
|
2196
|
+
*/
|
|
2197
|
+
"backdrop-grayscale": [{
|
|
2198
|
+
"backdrop-grayscale": ["", S, b, h]
|
|
2199
|
+
}],
|
|
2200
|
+
/**
|
|
2201
|
+
* Backdrop Hue Rotate
|
|
2202
|
+
* @see https://tailwindcss.com/docs/backdrop-hue-rotate
|
|
2203
|
+
*/
|
|
2204
|
+
"backdrop-hue-rotate": [{
|
|
2205
|
+
"backdrop-hue-rotate": [S, b, h]
|
|
2206
|
+
}],
|
|
2207
|
+
/**
|
|
2208
|
+
* Backdrop Invert
|
|
2209
|
+
* @see https://tailwindcss.com/docs/backdrop-invert
|
|
2210
|
+
*/
|
|
2211
|
+
"backdrop-invert": [{
|
|
2212
|
+
"backdrop-invert": ["", S, b, h]
|
|
2213
|
+
}],
|
|
2214
|
+
/**
|
|
2215
|
+
* Backdrop Opacity
|
|
2216
|
+
* @see https://tailwindcss.com/docs/backdrop-opacity
|
|
2217
|
+
*/
|
|
2218
|
+
"backdrop-opacity": [{
|
|
2219
|
+
"backdrop-opacity": [S, b, h]
|
|
2220
|
+
}],
|
|
2221
|
+
/**
|
|
2222
|
+
* Backdrop Saturate
|
|
2223
|
+
* @see https://tailwindcss.com/docs/backdrop-saturate
|
|
2224
|
+
*/
|
|
2225
|
+
"backdrop-saturate": [{
|
|
2226
|
+
"backdrop-saturate": [S, b, h]
|
|
2227
|
+
}],
|
|
2228
|
+
/**
|
|
2229
|
+
* Backdrop Sepia
|
|
2230
|
+
* @see https://tailwindcss.com/docs/backdrop-sepia
|
|
2231
|
+
*/
|
|
2232
|
+
"backdrop-sepia": [{
|
|
2233
|
+
"backdrop-sepia": ["", S, b, h]
|
|
2234
|
+
}],
|
|
2235
|
+
// --------------
|
|
2236
|
+
// --- Tables ---
|
|
2237
|
+
// --------------
|
|
2238
|
+
/**
|
|
2239
|
+
* Border Collapse
|
|
2240
|
+
* @see https://tailwindcss.com/docs/border-collapse
|
|
2241
|
+
*/
|
|
2242
|
+
"border-collapse": [{
|
|
2243
|
+
border: ["collapse", "separate"]
|
|
2244
|
+
}],
|
|
2245
|
+
/**
|
|
2246
|
+
* Border Spacing
|
|
2247
|
+
* @see https://tailwindcss.com/docs/border-spacing
|
|
2248
|
+
*/
|
|
2249
|
+
"border-spacing": [{
|
|
2250
|
+
"border-spacing": w()
|
|
2251
|
+
}],
|
|
2252
|
+
/**
|
|
2253
|
+
* Border Spacing X
|
|
2254
|
+
* @see https://tailwindcss.com/docs/border-spacing
|
|
2255
|
+
*/
|
|
2256
|
+
"border-spacing-x": [{
|
|
2257
|
+
"border-spacing-x": w()
|
|
2258
|
+
}],
|
|
2259
|
+
/**
|
|
2260
|
+
* Border Spacing Y
|
|
2261
|
+
* @see https://tailwindcss.com/docs/border-spacing
|
|
2262
|
+
*/
|
|
2263
|
+
"border-spacing-y": [{
|
|
2264
|
+
"border-spacing-y": w()
|
|
2265
|
+
}],
|
|
2266
|
+
/**
|
|
2267
|
+
* Table Layout
|
|
2268
|
+
* @see https://tailwindcss.com/docs/table-layout
|
|
2269
|
+
*/
|
|
2270
|
+
"table-layout": [{
|
|
2271
|
+
table: ["auto", "fixed"]
|
|
2272
|
+
}],
|
|
2273
|
+
/**
|
|
2274
|
+
* Caption Side
|
|
2275
|
+
* @see https://tailwindcss.com/docs/caption-side
|
|
2276
|
+
*/
|
|
2277
|
+
caption: [{
|
|
2278
|
+
caption: ["top", "bottom"]
|
|
2279
|
+
}],
|
|
2280
|
+
// ---------------------------------
|
|
2281
|
+
// --- Transitions and Animation ---
|
|
2282
|
+
// ---------------------------------
|
|
2283
|
+
/**
|
|
2284
|
+
* Transition Property
|
|
2285
|
+
* @see https://tailwindcss.com/docs/transition-property
|
|
2286
|
+
*/
|
|
2287
|
+
transition: [{
|
|
2288
|
+
transition: ["", "all", "colors", "opacity", "shadow", "transform", "none", b, h]
|
|
2289
|
+
}],
|
|
2290
|
+
/**
|
|
2291
|
+
* Transition Behavior
|
|
2292
|
+
* @see https://tailwindcss.com/docs/transition-behavior
|
|
2293
|
+
*/
|
|
2294
|
+
"transition-behavior": [{
|
|
2295
|
+
transition: ["normal", "discrete"]
|
|
2296
|
+
}],
|
|
2297
|
+
/**
|
|
2298
|
+
* Transition Duration
|
|
2299
|
+
* @see https://tailwindcss.com/docs/transition-duration
|
|
2300
|
+
*/
|
|
2301
|
+
duration: [{
|
|
2302
|
+
duration: [S, "initial", b, h]
|
|
2303
|
+
}],
|
|
2304
|
+
/**
|
|
2305
|
+
* Transition Timing Function
|
|
2306
|
+
* @see https://tailwindcss.com/docs/transition-timing-function
|
|
2307
|
+
*/
|
|
2308
|
+
ease: [{
|
|
2309
|
+
ease: ["linear", "initial", E, b, h]
|
|
2310
|
+
}],
|
|
2311
|
+
/**
|
|
2312
|
+
* Transition Delay
|
|
2313
|
+
* @see https://tailwindcss.com/docs/transition-delay
|
|
2314
|
+
*/
|
|
2315
|
+
delay: [{
|
|
2316
|
+
delay: [S, b, h]
|
|
2317
|
+
}],
|
|
2318
|
+
/**
|
|
2319
|
+
* Animation
|
|
2320
|
+
* @see https://tailwindcss.com/docs/animation
|
|
2321
|
+
*/
|
|
2322
|
+
animate: [{
|
|
2323
|
+
animate: ["none", j, b, h]
|
|
2324
|
+
}],
|
|
2325
|
+
// ------------------
|
|
2326
|
+
// --- Transforms ---
|
|
2327
|
+
// ------------------
|
|
2328
|
+
/**
|
|
2329
|
+
* Backface Visibility
|
|
2330
|
+
* @see https://tailwindcss.com/docs/backface-visibility
|
|
2331
|
+
*/
|
|
2332
|
+
backface: [{
|
|
2333
|
+
backface: ["hidden", "visible"]
|
|
2334
|
+
}],
|
|
2335
|
+
/**
|
|
2336
|
+
* Perspective
|
|
2337
|
+
* @see https://tailwindcss.com/docs/perspective
|
|
2338
|
+
*/
|
|
2339
|
+
perspective: [{
|
|
2340
|
+
perspective: [g, b, h]
|
|
2341
|
+
}],
|
|
2342
|
+
/**
|
|
2343
|
+
* Perspective Origin
|
|
2344
|
+
* @see https://tailwindcss.com/docs/perspective-origin
|
|
2345
|
+
*/
|
|
2346
|
+
"perspective-origin": [{
|
|
2347
|
+
"perspective-origin": _()
|
|
2348
|
+
}],
|
|
2349
|
+
/**
|
|
2350
|
+
* Rotate
|
|
2351
|
+
* @see https://tailwindcss.com/docs/rotate
|
|
2352
|
+
*/
|
|
2353
|
+
rotate: [{
|
|
2354
|
+
rotate: Ee()
|
|
2355
|
+
}],
|
|
2356
|
+
/**
|
|
2357
|
+
* Rotate X
|
|
2358
|
+
* @see https://tailwindcss.com/docs/rotate
|
|
2359
|
+
*/
|
|
2360
|
+
"rotate-x": [{
|
|
2361
|
+
"rotate-x": Ee()
|
|
2362
|
+
}],
|
|
2363
|
+
/**
|
|
2364
|
+
* Rotate Y
|
|
2365
|
+
* @see https://tailwindcss.com/docs/rotate
|
|
2366
|
+
*/
|
|
2367
|
+
"rotate-y": [{
|
|
2368
|
+
"rotate-y": Ee()
|
|
2369
|
+
}],
|
|
2370
|
+
/**
|
|
2371
|
+
* Rotate Z
|
|
2372
|
+
* @see https://tailwindcss.com/docs/rotate
|
|
2373
|
+
*/
|
|
2374
|
+
"rotate-z": [{
|
|
2375
|
+
"rotate-z": Ee()
|
|
2376
|
+
}],
|
|
2377
|
+
/**
|
|
2378
|
+
* Scale
|
|
2379
|
+
* @see https://tailwindcss.com/docs/scale
|
|
2380
|
+
*/
|
|
2381
|
+
scale: [{
|
|
2382
|
+
scale: Re()
|
|
2383
|
+
}],
|
|
2384
|
+
/**
|
|
2385
|
+
* Scale X
|
|
2386
|
+
* @see https://tailwindcss.com/docs/scale
|
|
2387
|
+
*/
|
|
2388
|
+
"scale-x": [{
|
|
2389
|
+
"scale-x": Re()
|
|
2390
|
+
}],
|
|
2391
|
+
/**
|
|
2392
|
+
* Scale Y
|
|
2393
|
+
* @see https://tailwindcss.com/docs/scale
|
|
2394
|
+
*/
|
|
2395
|
+
"scale-y": [{
|
|
2396
|
+
"scale-y": Re()
|
|
2397
|
+
}],
|
|
2398
|
+
/**
|
|
2399
|
+
* Scale Z
|
|
2400
|
+
* @see https://tailwindcss.com/docs/scale
|
|
2401
|
+
*/
|
|
2402
|
+
"scale-z": [{
|
|
2403
|
+
"scale-z": Re()
|
|
2404
|
+
}],
|
|
2405
|
+
/**
|
|
2406
|
+
* Scale 3D
|
|
2407
|
+
* @see https://tailwindcss.com/docs/scale
|
|
2408
|
+
*/
|
|
2409
|
+
"scale-3d": ["scale-3d"],
|
|
2410
|
+
/**
|
|
2411
|
+
* Skew
|
|
2412
|
+
* @see https://tailwindcss.com/docs/skew
|
|
2413
|
+
*/
|
|
2414
|
+
skew: [{
|
|
2415
|
+
skew: Me()
|
|
2416
|
+
}],
|
|
2417
|
+
/**
|
|
2418
|
+
* Skew X
|
|
2419
|
+
* @see https://tailwindcss.com/docs/skew
|
|
2420
|
+
*/
|
|
2421
|
+
"skew-x": [{
|
|
2422
|
+
"skew-x": Me()
|
|
2423
|
+
}],
|
|
2424
|
+
/**
|
|
2425
|
+
* Skew Y
|
|
2426
|
+
* @see https://tailwindcss.com/docs/skew
|
|
2427
|
+
*/
|
|
2428
|
+
"skew-y": [{
|
|
2429
|
+
"skew-y": Me()
|
|
2430
|
+
}],
|
|
2431
|
+
/**
|
|
2432
|
+
* Transform
|
|
2433
|
+
* @see https://tailwindcss.com/docs/transform
|
|
2434
|
+
*/
|
|
2435
|
+
transform: [{
|
|
2436
|
+
transform: [b, h, "", "none", "gpu", "cpu"]
|
|
2437
|
+
}],
|
|
2438
|
+
/**
|
|
2439
|
+
* Transform Origin
|
|
2440
|
+
* @see https://tailwindcss.com/docs/transform-origin
|
|
2441
|
+
*/
|
|
2442
|
+
"transform-origin": [{
|
|
2443
|
+
origin: _()
|
|
2444
|
+
}],
|
|
2445
|
+
/**
|
|
2446
|
+
* Transform Style
|
|
2447
|
+
* @see https://tailwindcss.com/docs/transform-style
|
|
2448
|
+
*/
|
|
2449
|
+
"transform-style": [{
|
|
2450
|
+
transform: ["3d", "flat"]
|
|
2451
|
+
}],
|
|
2452
|
+
/**
|
|
2453
|
+
* Translate
|
|
2454
|
+
* @see https://tailwindcss.com/docs/translate
|
|
2455
|
+
*/
|
|
2456
|
+
translate: [{
|
|
2457
|
+
translate: ve()
|
|
2458
|
+
}],
|
|
2459
|
+
/**
|
|
2460
|
+
* Translate X
|
|
2461
|
+
* @see https://tailwindcss.com/docs/translate
|
|
2462
|
+
*/
|
|
2463
|
+
"translate-x": [{
|
|
2464
|
+
"translate-x": ve()
|
|
2465
|
+
}],
|
|
2466
|
+
/**
|
|
2467
|
+
* Translate Y
|
|
2468
|
+
* @see https://tailwindcss.com/docs/translate
|
|
2469
|
+
*/
|
|
2470
|
+
"translate-y": [{
|
|
2471
|
+
"translate-y": ve()
|
|
2472
|
+
}],
|
|
2473
|
+
/**
|
|
2474
|
+
* Translate Z
|
|
2475
|
+
* @see https://tailwindcss.com/docs/translate
|
|
2476
|
+
*/
|
|
2477
|
+
"translate-z": [{
|
|
2478
|
+
"translate-z": ve()
|
|
2479
|
+
}],
|
|
2480
|
+
/**
|
|
2481
|
+
* Translate None
|
|
2482
|
+
* @see https://tailwindcss.com/docs/translate
|
|
2483
|
+
*/
|
|
2484
|
+
"translate-none": ["translate-none"],
|
|
2485
|
+
// ---------------------
|
|
2486
|
+
// --- Interactivity ---
|
|
2487
|
+
// ---------------------
|
|
2488
|
+
/**
|
|
2489
|
+
* Accent Color
|
|
2490
|
+
* @see https://tailwindcss.com/docs/accent-color
|
|
2491
|
+
*/
|
|
2492
|
+
accent: [{
|
|
2493
|
+
accent: y()
|
|
2494
|
+
}],
|
|
2495
|
+
/**
|
|
2496
|
+
* Appearance
|
|
2497
|
+
* @see https://tailwindcss.com/docs/appearance
|
|
2498
|
+
*/
|
|
2499
|
+
appearance: [{
|
|
2500
|
+
appearance: ["none", "auto"]
|
|
2501
|
+
}],
|
|
2502
|
+
/**
|
|
2503
|
+
* Caret Color
|
|
2504
|
+
* @see https://tailwindcss.com/docs/just-in-time-mode#caret-color-utilities
|
|
2505
|
+
*/
|
|
2506
|
+
"caret-color": [{
|
|
2507
|
+
caret: y()
|
|
2508
|
+
}],
|
|
2509
|
+
/**
|
|
2510
|
+
* Color Scheme
|
|
2511
|
+
* @see https://tailwindcss.com/docs/color-scheme
|
|
2512
|
+
*/
|
|
2513
|
+
"color-scheme": [{
|
|
2514
|
+
scheme: ["normal", "dark", "light", "light-dark", "only-dark", "only-light"]
|
|
2515
|
+
}],
|
|
2516
|
+
/**
|
|
2517
|
+
* Cursor
|
|
2518
|
+
* @see https://tailwindcss.com/docs/cursor
|
|
2519
|
+
*/
|
|
2520
|
+
cursor: [{
|
|
2521
|
+
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", b, h]
|
|
2522
|
+
}],
|
|
2523
|
+
/**
|
|
2524
|
+
* Field Sizing
|
|
2525
|
+
* @see https://tailwindcss.com/docs/field-sizing
|
|
2526
|
+
*/
|
|
2527
|
+
"field-sizing": [{
|
|
2528
|
+
"field-sizing": ["fixed", "content"]
|
|
2529
|
+
}],
|
|
2530
|
+
/**
|
|
2531
|
+
* Pointer Events
|
|
2532
|
+
* @see https://tailwindcss.com/docs/pointer-events
|
|
2533
|
+
*/
|
|
2534
|
+
"pointer-events": [{
|
|
2535
|
+
"pointer-events": ["auto", "none"]
|
|
2536
|
+
}],
|
|
2537
|
+
/**
|
|
2538
|
+
* Resize
|
|
2539
|
+
* @see https://tailwindcss.com/docs/resize
|
|
2540
|
+
*/
|
|
2541
|
+
resize: [{
|
|
2542
|
+
resize: ["none", "", "y", "x"]
|
|
2543
|
+
}],
|
|
2544
|
+
/**
|
|
2545
|
+
* Scroll Behavior
|
|
2546
|
+
* @see https://tailwindcss.com/docs/scroll-behavior
|
|
2547
|
+
*/
|
|
2548
|
+
"scroll-behavior": [{
|
|
2549
|
+
scroll: ["auto", "smooth"]
|
|
2550
|
+
}],
|
|
2551
|
+
/**
|
|
2552
|
+
* Scroll Margin
|
|
2553
|
+
* @see https://tailwindcss.com/docs/scroll-margin
|
|
2554
|
+
*/
|
|
2555
|
+
"scroll-m": [{
|
|
2556
|
+
"scroll-m": w()
|
|
2557
|
+
}],
|
|
2558
|
+
/**
|
|
2559
|
+
* Scroll Margin X
|
|
2560
|
+
* @see https://tailwindcss.com/docs/scroll-margin
|
|
2561
|
+
*/
|
|
2562
|
+
"scroll-mx": [{
|
|
2563
|
+
"scroll-mx": w()
|
|
2564
|
+
}],
|
|
2565
|
+
/**
|
|
2566
|
+
* Scroll Margin Y
|
|
2567
|
+
* @see https://tailwindcss.com/docs/scroll-margin
|
|
2568
|
+
*/
|
|
2569
|
+
"scroll-my": [{
|
|
2570
|
+
"scroll-my": w()
|
|
2571
|
+
}],
|
|
2572
|
+
/**
|
|
2573
|
+
* Scroll Margin Start
|
|
2574
|
+
* @see https://tailwindcss.com/docs/scroll-margin
|
|
2575
|
+
*/
|
|
2576
|
+
"scroll-ms": [{
|
|
2577
|
+
"scroll-ms": w()
|
|
2578
|
+
}],
|
|
2579
|
+
/**
|
|
2580
|
+
* Scroll Margin End
|
|
2581
|
+
* @see https://tailwindcss.com/docs/scroll-margin
|
|
2582
|
+
*/
|
|
2583
|
+
"scroll-me": [{
|
|
2584
|
+
"scroll-me": w()
|
|
2585
|
+
}],
|
|
2586
|
+
/**
|
|
2587
|
+
* Scroll Margin Top
|
|
2588
|
+
* @see https://tailwindcss.com/docs/scroll-margin
|
|
2589
|
+
*/
|
|
2590
|
+
"scroll-mt": [{
|
|
2591
|
+
"scroll-mt": w()
|
|
2592
|
+
}],
|
|
2593
|
+
/**
|
|
2594
|
+
* Scroll Margin Right
|
|
2595
|
+
* @see https://tailwindcss.com/docs/scroll-margin
|
|
2596
|
+
*/
|
|
2597
|
+
"scroll-mr": [{
|
|
2598
|
+
"scroll-mr": w()
|
|
2599
|
+
}],
|
|
2600
|
+
/**
|
|
2601
|
+
* Scroll Margin Bottom
|
|
2602
|
+
* @see https://tailwindcss.com/docs/scroll-margin
|
|
2603
|
+
*/
|
|
2604
|
+
"scroll-mb": [{
|
|
2605
|
+
"scroll-mb": w()
|
|
2606
|
+
}],
|
|
2607
|
+
/**
|
|
2608
|
+
* Scroll Margin Left
|
|
2609
|
+
* @see https://tailwindcss.com/docs/scroll-margin
|
|
2610
|
+
*/
|
|
2611
|
+
"scroll-ml": [{
|
|
2612
|
+
"scroll-ml": w()
|
|
2613
|
+
}],
|
|
2614
|
+
/**
|
|
2615
|
+
* Scroll Padding
|
|
2616
|
+
* @see https://tailwindcss.com/docs/scroll-padding
|
|
2617
|
+
*/
|
|
2618
|
+
"scroll-p": [{
|
|
2619
|
+
"scroll-p": w()
|
|
2620
|
+
}],
|
|
2621
|
+
/**
|
|
2622
|
+
* Scroll Padding X
|
|
2623
|
+
* @see https://tailwindcss.com/docs/scroll-padding
|
|
2624
|
+
*/
|
|
2625
|
+
"scroll-px": [{
|
|
2626
|
+
"scroll-px": w()
|
|
2627
|
+
}],
|
|
2628
|
+
/**
|
|
2629
|
+
* Scroll Padding Y
|
|
2630
|
+
* @see https://tailwindcss.com/docs/scroll-padding
|
|
2631
|
+
*/
|
|
2632
|
+
"scroll-py": [{
|
|
2633
|
+
"scroll-py": w()
|
|
2634
|
+
}],
|
|
2635
|
+
/**
|
|
2636
|
+
* Scroll Padding Start
|
|
2637
|
+
* @see https://tailwindcss.com/docs/scroll-padding
|
|
2638
|
+
*/
|
|
2639
|
+
"scroll-ps": [{
|
|
2640
|
+
"scroll-ps": w()
|
|
2641
|
+
}],
|
|
2642
|
+
/**
|
|
2643
|
+
* Scroll Padding End
|
|
2644
|
+
* @see https://tailwindcss.com/docs/scroll-padding
|
|
2645
|
+
*/
|
|
2646
|
+
"scroll-pe": [{
|
|
2647
|
+
"scroll-pe": w()
|
|
2648
|
+
}],
|
|
2649
|
+
/**
|
|
2650
|
+
* Scroll Padding Top
|
|
2651
|
+
* @see https://tailwindcss.com/docs/scroll-padding
|
|
2652
|
+
*/
|
|
2653
|
+
"scroll-pt": [{
|
|
2654
|
+
"scroll-pt": w()
|
|
2655
|
+
}],
|
|
2656
|
+
/**
|
|
2657
|
+
* Scroll Padding Right
|
|
2658
|
+
* @see https://tailwindcss.com/docs/scroll-padding
|
|
2659
|
+
*/
|
|
2660
|
+
"scroll-pr": [{
|
|
2661
|
+
"scroll-pr": w()
|
|
2662
|
+
}],
|
|
2663
|
+
/**
|
|
2664
|
+
* Scroll Padding Bottom
|
|
2665
|
+
* @see https://tailwindcss.com/docs/scroll-padding
|
|
2666
|
+
*/
|
|
2667
|
+
"scroll-pb": [{
|
|
2668
|
+
"scroll-pb": w()
|
|
2669
|
+
}],
|
|
2670
|
+
/**
|
|
2671
|
+
* Scroll Padding Left
|
|
2672
|
+
* @see https://tailwindcss.com/docs/scroll-padding
|
|
2673
|
+
*/
|
|
2674
|
+
"scroll-pl": [{
|
|
2675
|
+
"scroll-pl": w()
|
|
2676
|
+
}],
|
|
2677
|
+
/**
|
|
2678
|
+
* Scroll Snap Align
|
|
2679
|
+
* @see https://tailwindcss.com/docs/scroll-snap-align
|
|
2680
|
+
*/
|
|
2681
|
+
"snap-align": [{
|
|
2682
|
+
snap: ["start", "end", "center", "align-none"]
|
|
2683
|
+
}],
|
|
2684
|
+
/**
|
|
2685
|
+
* Scroll Snap Stop
|
|
2686
|
+
* @see https://tailwindcss.com/docs/scroll-snap-stop
|
|
2687
|
+
*/
|
|
2688
|
+
"snap-stop": [{
|
|
2689
|
+
snap: ["normal", "always"]
|
|
2690
|
+
}],
|
|
2691
|
+
/**
|
|
2692
|
+
* Scroll Snap Type
|
|
2693
|
+
* @see https://tailwindcss.com/docs/scroll-snap-type
|
|
2694
|
+
*/
|
|
2695
|
+
"snap-type": [{
|
|
2696
|
+
snap: ["none", "x", "y", "both"]
|
|
2697
|
+
}],
|
|
2698
|
+
/**
|
|
2699
|
+
* Scroll Snap Type Strictness
|
|
2700
|
+
* @see https://tailwindcss.com/docs/scroll-snap-type
|
|
2701
|
+
*/
|
|
2702
|
+
"snap-strictness": [{
|
|
2703
|
+
snap: ["mandatory", "proximity"]
|
|
2704
|
+
}],
|
|
2705
|
+
/**
|
|
2706
|
+
* Touch Action
|
|
2707
|
+
* @see https://tailwindcss.com/docs/touch-action
|
|
2708
|
+
*/
|
|
2709
|
+
touch: [{
|
|
2710
|
+
touch: ["auto", "none", "manipulation"]
|
|
2711
|
+
}],
|
|
2712
|
+
/**
|
|
2713
|
+
* Touch Action X
|
|
2714
|
+
* @see https://tailwindcss.com/docs/touch-action
|
|
2715
|
+
*/
|
|
2716
|
+
"touch-x": [{
|
|
2717
|
+
"touch-pan": ["x", "left", "right"]
|
|
2718
|
+
}],
|
|
2719
|
+
/**
|
|
2720
|
+
* Touch Action Y
|
|
2721
|
+
* @see https://tailwindcss.com/docs/touch-action
|
|
2722
|
+
*/
|
|
2723
|
+
"touch-y": [{
|
|
2724
|
+
"touch-pan": ["y", "up", "down"]
|
|
2725
|
+
}],
|
|
2726
|
+
/**
|
|
2727
|
+
* Touch Action Pinch Zoom
|
|
2728
|
+
* @see https://tailwindcss.com/docs/touch-action
|
|
2729
|
+
*/
|
|
2730
|
+
"touch-pz": ["touch-pinch-zoom"],
|
|
2731
|
+
/**
|
|
2732
|
+
* User Select
|
|
2733
|
+
* @see https://tailwindcss.com/docs/user-select
|
|
2734
|
+
*/
|
|
2735
|
+
select: [{
|
|
2736
|
+
select: ["none", "text", "all", "auto"]
|
|
2737
|
+
}],
|
|
2738
|
+
/**
|
|
2739
|
+
* Will Change
|
|
2740
|
+
* @see https://tailwindcss.com/docs/will-change
|
|
2741
|
+
*/
|
|
2742
|
+
"will-change": [{
|
|
2743
|
+
"will-change": ["auto", "scroll", "contents", "transform", b, h]
|
|
2744
|
+
}],
|
|
2745
|
+
// -----------
|
|
2746
|
+
// --- SVG ---
|
|
2747
|
+
// -----------
|
|
2748
|
+
/**
|
|
2749
|
+
* Fill
|
|
2750
|
+
* @see https://tailwindcss.com/docs/fill
|
|
2751
|
+
*/
|
|
2752
|
+
fill: [{
|
|
2753
|
+
fill: ["none", ...y()]
|
|
2754
|
+
}],
|
|
2755
|
+
/**
|
|
2756
|
+
* Stroke Width
|
|
2757
|
+
* @see https://tailwindcss.com/docs/stroke-width
|
|
2758
|
+
*/
|
|
2759
|
+
"stroke-w": [{
|
|
2760
|
+
stroke: [S, be, te, qe]
|
|
2761
|
+
}],
|
|
2762
|
+
/**
|
|
2763
|
+
* Stroke
|
|
2764
|
+
* @see https://tailwindcss.com/docs/stroke
|
|
2765
|
+
*/
|
|
2766
|
+
stroke: [{
|
|
2767
|
+
stroke: ["none", ...y()]
|
|
2768
|
+
}],
|
|
2769
|
+
// ---------------------
|
|
2770
|
+
// --- Accessibility ---
|
|
2771
|
+
// ---------------------
|
|
2772
|
+
/**
|
|
2773
|
+
* Forced Color Adjust
|
|
2774
|
+
* @see https://tailwindcss.com/docs/forced-color-adjust
|
|
2775
|
+
*/
|
|
2776
|
+
"forced-color-adjust": [{
|
|
2777
|
+
"forced-color-adjust": ["auto", "none"]
|
|
2778
|
+
}]
|
|
2779
|
+
},
|
|
2780
|
+
conflictingClassGroups: {
|
|
2781
|
+
overflow: ["overflow-x", "overflow-y"],
|
|
2782
|
+
overscroll: ["overscroll-x", "overscroll-y"],
|
|
2783
|
+
inset: ["inset-x", "inset-y", "start", "end", "top", "right", "bottom", "left"],
|
|
2784
|
+
"inset-x": ["right", "left"],
|
|
2785
|
+
"inset-y": ["top", "bottom"],
|
|
2786
|
+
flex: ["basis", "grow", "shrink"],
|
|
2787
|
+
gap: ["gap-x", "gap-y"],
|
|
2788
|
+
p: ["px", "py", "ps", "pe", "pt", "pr", "pb", "pl"],
|
|
2789
|
+
px: ["pr", "pl"],
|
|
2790
|
+
py: ["pt", "pb"],
|
|
2791
|
+
m: ["mx", "my", "ms", "me", "mt", "mr", "mb", "ml"],
|
|
2792
|
+
mx: ["mr", "ml"],
|
|
2793
|
+
my: ["mt", "mb"],
|
|
2794
|
+
size: ["w", "h"],
|
|
2795
|
+
"font-size": ["leading"],
|
|
2796
|
+
"fvn-normal": ["fvn-ordinal", "fvn-slashed-zero", "fvn-figure", "fvn-spacing", "fvn-fraction"],
|
|
2797
|
+
"fvn-ordinal": ["fvn-normal"],
|
|
2798
|
+
"fvn-slashed-zero": ["fvn-normal"],
|
|
2799
|
+
"fvn-figure": ["fvn-normal"],
|
|
2800
|
+
"fvn-spacing": ["fvn-normal"],
|
|
2801
|
+
"fvn-fraction": ["fvn-normal"],
|
|
2802
|
+
"line-clamp": ["display", "overflow"],
|
|
2803
|
+
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"],
|
|
2804
|
+
"rounded-s": ["rounded-ss", "rounded-es"],
|
|
2805
|
+
"rounded-e": ["rounded-se", "rounded-ee"],
|
|
2806
|
+
"rounded-t": ["rounded-tl", "rounded-tr"],
|
|
2807
|
+
"rounded-r": ["rounded-tr", "rounded-br"],
|
|
2808
|
+
"rounded-b": ["rounded-br", "rounded-bl"],
|
|
2809
|
+
"rounded-l": ["rounded-tl", "rounded-bl"],
|
|
2810
|
+
"border-spacing": ["border-spacing-x", "border-spacing-y"],
|
|
2811
|
+
"border-w": ["border-w-x", "border-w-y", "border-w-s", "border-w-e", "border-w-t", "border-w-r", "border-w-b", "border-w-l"],
|
|
2812
|
+
"border-w-x": ["border-w-r", "border-w-l"],
|
|
2813
|
+
"border-w-y": ["border-w-t", "border-w-b"],
|
|
2814
|
+
"border-color": ["border-color-x", "border-color-y", "border-color-s", "border-color-e", "border-color-t", "border-color-r", "border-color-b", "border-color-l"],
|
|
2815
|
+
"border-color-x": ["border-color-r", "border-color-l"],
|
|
2816
|
+
"border-color-y": ["border-color-t", "border-color-b"],
|
|
2817
|
+
translate: ["translate-x", "translate-y", "translate-none"],
|
|
2818
|
+
"translate-none": ["translate", "translate-x", "translate-y", "translate-z"],
|
|
2819
|
+
"scroll-m": ["scroll-mx", "scroll-my", "scroll-ms", "scroll-me", "scroll-mt", "scroll-mr", "scroll-mb", "scroll-ml"],
|
|
2820
|
+
"scroll-mx": ["scroll-mr", "scroll-ml"],
|
|
2821
|
+
"scroll-my": ["scroll-mt", "scroll-mb"],
|
|
2822
|
+
"scroll-p": ["scroll-px", "scroll-py", "scroll-ps", "scroll-pe", "scroll-pt", "scroll-pr", "scroll-pb", "scroll-pl"],
|
|
2823
|
+
"scroll-px": ["scroll-pr", "scroll-pl"],
|
|
2824
|
+
"scroll-py": ["scroll-pt", "scroll-pb"],
|
|
2825
|
+
touch: ["touch-x", "touch-y", "touch-pz"],
|
|
2826
|
+
"touch-x": ["touch"],
|
|
2827
|
+
"touch-y": ["touch"],
|
|
2828
|
+
"touch-pz": ["touch"]
|
|
2829
|
+
},
|
|
2830
|
+
conflictingClassGroupModifiers: {
|
|
2831
|
+
"font-size": ["leading"]
|
|
2832
|
+
},
|
|
2833
|
+
orderSensitiveModifiers: ["*", "**", "after", "backdrop", "before", "details-content", "file", "first-letter", "first-line", "marker", "placeholder", "selection"]
|
|
2834
|
+
};
|
|
2835
|
+
}, yn = /* @__PURE__ */ Zr(gn);
|
|
2836
|
+
function Fe(...e) {
|
|
2837
|
+
return yn(ot(e));
|
|
2838
|
+
}
|
|
2839
|
+
const wn = $t(
|
|
2840
|
+
"inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-colors focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",
|
|
2841
|
+
{
|
|
2842
|
+
variants: {
|
|
2843
|
+
variant: {
|
|
2844
|
+
default: "bg-primary text-primary-foreground text-base font-lg-smart font-semibold rounded-xl shadow hover:bg-red-lgsm-hover/90",
|
|
2845
|
+
// destructive:
|
|
2846
|
+
// "bg-destructive text-destructive-foreground shadow-sm hover:bg-destructive/90",
|
|
2847
|
+
// outline:
|
|
2848
|
+
// "border border-input bg-background shadow-sm hover:bg-accent hover:text-accent-foreground",
|
|
2849
|
+
secondary: "bg-secondary text-secondary-foreground shadow-sm hover:bg-secondary/80",
|
|
2850
|
+
ghost: "hover:bg-accent hover:text-accent-foreground",
|
|
2851
|
+
link: "text-primary underline-offset-4 hover:underline"
|
|
2852
|
+
},
|
|
2853
|
+
size: {
|
|
2854
|
+
default: "h-9 px-4 py-2",
|
|
2855
|
+
sm: "h-8 rounded-md px-3 text-xs",
|
|
2856
|
+
lg: "h-10 rounded-md px-8",
|
|
2857
|
+
icon: "h-9 w-9"
|
|
2858
|
+
}
|
|
2859
|
+
},
|
|
2860
|
+
defaultVariants: {
|
|
2861
|
+
variant: "default",
|
|
2862
|
+
size: "default"
|
|
2863
|
+
}
|
|
2864
|
+
}
|
|
2865
|
+
), Qe = U.forwardRef(
|
|
2866
|
+
({ className: e, variant: t, size: r, asChild: n = !1, ...o }, s) => /* @__PURE__ */ A(
|
|
2867
|
+
n ? _r : "button",
|
|
2868
|
+
{
|
|
2869
|
+
className: Fe(wn({ variant: t, size: r, className: e })),
|
|
2870
|
+
ref: s,
|
|
2871
|
+
...o
|
|
2872
|
+
}
|
|
2873
|
+
)
|
|
2874
|
+
);
|
|
2875
|
+
Qe.displayName = "Button";
|
|
2876
|
+
function $e({ primary: e = !1, size: t = "medium", label: r, icon: n, ...o }) {
|
|
2877
|
+
return /* @__PURE__ */ A(Ge, { children: e ? /* @__PURE__ */ ae(
|
|
2878
|
+
Qe,
|
|
2879
|
+
{
|
|
2880
|
+
className: "bg-red-lgsm",
|
|
2881
|
+
...o,
|
|
2882
|
+
children: [
|
|
2883
|
+
n !== null ? n : /* @__PURE__ */ A(Ge, {}),
|
|
2884
|
+
r
|
|
2885
|
+
]
|
|
2886
|
+
}
|
|
2887
|
+
) : /* @__PURE__ */ A(
|
|
2888
|
+
Qe,
|
|
2889
|
+
{
|
|
2890
|
+
className: "bg-white text-base-gray hover:bg-base-light-gray/50",
|
|
2891
|
+
...o,
|
|
2892
|
+
children: r
|
|
2893
|
+
}
|
|
2894
|
+
) });
|
|
2895
|
+
}
|
|
2896
|
+
const xn = "_container_rjlrw_1", kn = "_text_rjlrw_11", wt = {
|
|
2897
|
+
container: xn,
|
|
2898
|
+
text: kn
|
|
2899
|
+
};
|
|
2900
|
+
function gs({
|
|
2901
|
+
initialValue: e = 0,
|
|
2902
|
+
step: t = 1,
|
|
2903
|
+
min: r = -1 / 0,
|
|
2904
|
+
max: n = 1 / 0
|
|
2905
|
+
}) {
|
|
2906
|
+
const [o, s] = Mt(e), i = () => {
|
|
2907
|
+
s((c) => Math.min(c + t, n));
|
|
2908
|
+
}, a = () => {
|
|
2909
|
+
s((c) => Math.max(c - t, r));
|
|
2910
|
+
}, d = () => {
|
|
2911
|
+
s(e);
|
|
2912
|
+
};
|
|
2913
|
+
return /* @__PURE__ */ ae("section", { className: wt.container, children: [
|
|
2914
|
+
/* @__PURE__ */ ae("p", { className: wt.text, children: [
|
|
2915
|
+
"Count: ",
|
|
2916
|
+
o
|
|
2917
|
+
] }),
|
|
2918
|
+
/* @__PURE__ */ A(
|
|
2919
|
+
$e,
|
|
2920
|
+
{
|
|
2921
|
+
primary: !0,
|
|
2922
|
+
label: "Increment",
|
|
2923
|
+
onClick: i,
|
|
2924
|
+
disabled: o >= n
|
|
2925
|
+
}
|
|
2926
|
+
),
|
|
2927
|
+
/* @__PURE__ */ A(
|
|
2928
|
+
$e,
|
|
2929
|
+
{
|
|
2930
|
+
primary: !0,
|
|
2931
|
+
label: "Decrement",
|
|
2932
|
+
onClick: a,
|
|
2933
|
+
disabled: o <= r
|
|
2934
|
+
}
|
|
2935
|
+
),
|
|
2936
|
+
/* @__PURE__ */ A(
|
|
2937
|
+
$e,
|
|
2938
|
+
{
|
|
2939
|
+
label: "Reset",
|
|
2940
|
+
onClick: d,
|
|
2941
|
+
primary: !1
|
|
2942
|
+
}
|
|
2943
|
+
)
|
|
2944
|
+
] });
|
|
2945
|
+
}
|
|
2946
|
+
const Sn = "_title_izbg1_1", xt = {
|
|
2947
|
+
title: Sn,
|
|
2948
|
+
"title--primary": "_title--primary_izbg1_13"
|
|
2949
|
+
};
|
|
2950
|
+
function ys({ primary: e = !1, title: t, ...r }) {
|
|
2951
|
+
const n = ot(xt.title, {
|
|
2952
|
+
[xt["title--primary"]]: e
|
|
2953
|
+
});
|
|
2954
|
+
return /* @__PURE__ */ A(
|
|
2955
|
+
"h1",
|
|
2956
|
+
{
|
|
2957
|
+
className: n,
|
|
2958
|
+
...r,
|
|
2959
|
+
children: t
|
|
2960
|
+
}
|
|
2961
|
+
);
|
|
2962
|
+
}
|
|
2963
|
+
/**
|
|
2964
|
+
* @license lucide-react v0.544.0 - ISC
|
|
2965
|
+
*
|
|
2966
|
+
* This source code is licensed under the ISC license.
|
|
2967
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
2968
|
+
*/
|
|
2969
|
+
const En = (e) => e.replace(/([a-z0-9])([A-Z])/g, "$1-$2").toLowerCase(), Rn = (e) => e.replace(
|
|
2970
|
+
/^([A-Z])|[\s-_]+(\w)/g,
|
|
2971
|
+
(t, r, n) => n ? n.toUpperCase() : r.toLowerCase()
|
|
2972
|
+
), kt = (e) => {
|
|
2973
|
+
const t = Rn(e);
|
|
2974
|
+
return t.charAt(0).toUpperCase() + t.slice(1);
|
|
2975
|
+
}, er = (...e) => e.filter((t, r, n) => !!t && t.trim() !== "" && n.indexOf(t) === r).join(" ").trim(), vn = (e) => {
|
|
2976
|
+
for (const t in e)
|
|
2977
|
+
if (t.startsWith("aria-") || t === "role" || t === "title")
|
|
2978
|
+
return !0;
|
|
2979
|
+
};
|
|
2980
|
+
/**
|
|
2981
|
+
* @license lucide-react v0.544.0 - ISC
|
|
2982
|
+
*
|
|
2983
|
+
* This source code is licensed under the ISC license.
|
|
2984
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
2985
|
+
*/
|
|
2986
|
+
var An = {
|
|
2987
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
2988
|
+
width: 24,
|
|
2989
|
+
height: 24,
|
|
2990
|
+
viewBox: "0 0 24 24",
|
|
2991
|
+
fill: "none",
|
|
2992
|
+
stroke: "currentColor",
|
|
2993
|
+
strokeWidth: 2,
|
|
2994
|
+
strokeLinecap: "round",
|
|
2995
|
+
strokeLinejoin: "round"
|
|
2996
|
+
};
|
|
2997
|
+
/**
|
|
2998
|
+
* @license lucide-react v0.544.0 - ISC
|
|
2999
|
+
*
|
|
3000
|
+
* This source code is licensed under the ISC license.
|
|
3001
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
3002
|
+
*/
|
|
3003
|
+
const Cn = Dt(
|
|
3004
|
+
({
|
|
3005
|
+
color: e = "currentColor",
|
|
3006
|
+
size: t = 24,
|
|
3007
|
+
strokeWidth: r = 2,
|
|
3008
|
+
absoluteStrokeWidth: n,
|
|
3009
|
+
className: o = "",
|
|
3010
|
+
children: s,
|
|
3011
|
+
iconNode: i,
|
|
3012
|
+
...a
|
|
3013
|
+
}, d) => Je(
|
|
3014
|
+
"svg",
|
|
3015
|
+
{
|
|
3016
|
+
ref: d,
|
|
3017
|
+
...An,
|
|
3018
|
+
width: t,
|
|
3019
|
+
height: t,
|
|
3020
|
+
stroke: e,
|
|
3021
|
+
strokeWidth: n ? Number(r) * 24 / Number(t) : r,
|
|
3022
|
+
className: er("lucide", o),
|
|
3023
|
+
...!s && !vn(a) && { "aria-hidden": "true" },
|
|
3024
|
+
...a
|
|
3025
|
+
},
|
|
3026
|
+
[
|
|
3027
|
+
...i.map(([c, u]) => Je(c, u)),
|
|
3028
|
+
...Array.isArray(s) ? s : [s]
|
|
3029
|
+
]
|
|
3030
|
+
)
|
|
3031
|
+
);
|
|
3032
|
+
/**
|
|
3033
|
+
* @license lucide-react v0.544.0 - ISC
|
|
3034
|
+
*
|
|
3035
|
+
* This source code is licensed under the ISC license.
|
|
3036
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
3037
|
+
*/
|
|
3038
|
+
const it = (e, t) => {
|
|
3039
|
+
const r = Dt(
|
|
3040
|
+
({ className: n, ...o }, s) => Je(Cn, {
|
|
3041
|
+
ref: s,
|
|
3042
|
+
iconNode: t,
|
|
3043
|
+
className: er(
|
|
3044
|
+
`lucide-${En(kt(e))}`,
|
|
3045
|
+
`lucide-${e}`,
|
|
3046
|
+
n
|
|
3047
|
+
),
|
|
3048
|
+
...o
|
|
3049
|
+
})
|
|
3050
|
+
);
|
|
3051
|
+
return r.displayName = kt(e), r;
|
|
3052
|
+
};
|
|
3053
|
+
/**
|
|
3054
|
+
* @license lucide-react v0.544.0 - ISC
|
|
3055
|
+
*
|
|
3056
|
+
* This source code is licensed under the ISC license.
|
|
3057
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
3058
|
+
*/
|
|
3059
|
+
const On = [
|
|
3060
|
+
["circle", { cx: "12", cy: "12", r: "10", key: "1mglay" }],
|
|
3061
|
+
["line", { x1: "12", x2: "12", y1: "8", y2: "12", key: "1pkeuh" }],
|
|
3062
|
+
["line", { x1: "12", x2: "12.01", y1: "16", y2: "16", key: "4dfq90" }]
|
|
3063
|
+
], Tn = it("circle-alert", On);
|
|
3064
|
+
/**
|
|
3065
|
+
* @license lucide-react v0.544.0 - ISC
|
|
3066
|
+
*
|
|
3067
|
+
* This source code is licensed under the ISC license.
|
|
3068
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
3069
|
+
*/
|
|
3070
|
+
const Nn = [
|
|
3071
|
+
["circle", { cx: "12", cy: "12", r: "10", key: "1mglay" }],
|
|
3072
|
+
["path", { d: "m9 12 2 2 4-4", key: "dzmm74" }]
|
|
3073
|
+
], Pn = it("circle-check", Nn);
|
|
3074
|
+
/**
|
|
3075
|
+
* @license lucide-react v0.544.0 - ISC
|
|
3076
|
+
*
|
|
3077
|
+
* This source code is licensed under the ISC license.
|
|
3078
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
3079
|
+
*/
|
|
3080
|
+
const _n = [
|
|
3081
|
+
["circle", { cx: "12", cy: "12", r: "10", key: "1mglay" }],
|
|
3082
|
+
["path", { d: "m15 9-6 6", key: "1uzhvr" }],
|
|
3083
|
+
["path", { d: "m9 9 6 6", key: "z0biqf" }]
|
|
3084
|
+
], Ln = it("circle-x", _n), Fn = $t(
|
|
3085
|
+
"relative w-full rounded-lg px-4 py-3 font-lg-smart text-sm [&>svg+div]:translate-y-[-3px] [&>svg]:absolute [&>svg]:left-4 [&>svg]:top-4 [&>svg]:text-foreground [&>svg~*]:pl-7",
|
|
3086
|
+
{
|
|
3087
|
+
variants: {
|
|
3088
|
+
variant: {
|
|
3089
|
+
default: "bg-background text-foreground",
|
|
3090
|
+
destructive: "border-destructive/50 text-destructive dark:border-destructive [&>svg]:text-destructive"
|
|
3091
|
+
}
|
|
3092
|
+
},
|
|
3093
|
+
defaultVariants: {
|
|
3094
|
+
variant: "default"
|
|
3095
|
+
}
|
|
3096
|
+
}
|
|
3097
|
+
), tr = U.forwardRef(({ className: e, variant: t, ...r }, n) => /* @__PURE__ */ A(
|
|
3098
|
+
"div",
|
|
3099
|
+
{
|
|
3100
|
+
ref: n,
|
|
3101
|
+
role: "alert",
|
|
3102
|
+
className: Fe(Fn({ variant: t }), e),
|
|
3103
|
+
...r
|
|
3104
|
+
}
|
|
3105
|
+
));
|
|
3106
|
+
tr.displayName = "Alert";
|
|
3107
|
+
const rr = U.forwardRef(({ className: e, ...t }, r) => /* @__PURE__ */ A(
|
|
3108
|
+
"h5",
|
|
3109
|
+
{
|
|
3110
|
+
ref: r,
|
|
3111
|
+
className: Fe("mb-1 font-semibold text-lg leading-none tracking-tight", e),
|
|
3112
|
+
...t
|
|
3113
|
+
}
|
|
3114
|
+
));
|
|
3115
|
+
rr.displayName = "AlertTitle";
|
|
3116
|
+
const nr = U.forwardRef(({ className: e, ...t }, r) => /* @__PURE__ */ A(
|
|
3117
|
+
"div",
|
|
3118
|
+
{
|
|
3119
|
+
ref: r,
|
|
3120
|
+
className: Fe("text-sm [&_p]:leading-relaxed", e),
|
|
3121
|
+
...t
|
|
3122
|
+
}
|
|
3123
|
+
));
|
|
3124
|
+
nr.displayName = "AlertDescription";
|
|
3125
|
+
function zn({ type: e, title: t, message: r, onClose: n, duration: o = 3e3 }) {
|
|
3126
|
+
const [s, i] = Mt(!0);
|
|
3127
|
+
return Tr(() => {
|
|
3128
|
+
const a = setTimeout(() => i(!1), o - 500), d = setTimeout(n, 3e3);
|
|
3129
|
+
return () => {
|
|
3130
|
+
clearTimeout(a), clearTimeout(d);
|
|
3131
|
+
};
|
|
3132
|
+
}, [o, n]), /* @__PURE__ */ ae(
|
|
3133
|
+
tr,
|
|
3134
|
+
{
|
|
3135
|
+
className: `fixed top-4 left-1/2 -translate-x-1/2 z-50 bg-white shadow-2xl max-w-sm w-[90%] p-4 animate-slide-in transition-opacity duration-500 ${s ? "opacity-100" : "opacity-0"}`,
|
|
3136
|
+
children: [
|
|
3137
|
+
/* @__PURE__ */ ae("div", { className: "flex mb-4 gap-2", children: [
|
|
3138
|
+
e === "success" ? /* @__PURE__ */ A(Pn, { className: "text-green-600", size: 18 }) : e === "error" ? /* @__PURE__ */ A(Ln, { className: "text-red-500", size: 18 }) : /* @__PURE__ */ A(Tn, { className: "text-yellow-400", size: 18 }),
|
|
3139
|
+
/* @__PURE__ */ A(rr, { children: t })
|
|
3140
|
+
] }),
|
|
3141
|
+
/* @__PURE__ */ A(nr, { className: "text-gray-700 leading-relaxed", children: r })
|
|
3142
|
+
]
|
|
3143
|
+
}
|
|
3144
|
+
);
|
|
3145
|
+
}
|
|
3146
|
+
const ws = () => /* @__PURE__ */ A(Ge, { children: /* @__PURE__ */ ae("div", { className: "min-h-screen fast-center gap-2", children: [
|
|
3147
|
+
/* @__PURE__ */ A("div", { className: "w-4 h-4 bg-red-500 rounded-full animate-bounce" }),
|
|
3148
|
+
/* @__PURE__ */ A("div", { className: "w-4 h-4 rounded-full bg-red-500 animate-bounce [animation-delay:-.3s]" }),
|
|
3149
|
+
/* @__PURE__ */ A("div", { className: "w-4 h-4 rounded-full bg-red-500 animate-bounce [animation-delay:-.5s]" })
|
|
3150
|
+
] }) }), St = (e) => {
|
|
3151
|
+
let t;
|
|
3152
|
+
const r = /* @__PURE__ */ new Set(), n = (c, u) => {
|
|
3153
|
+
const p = typeof c == "function" ? c(t) : c;
|
|
3154
|
+
if (!Object.is(p, t)) {
|
|
3155
|
+
const k = t;
|
|
3156
|
+
t = u ?? (typeof p != "object" || p === null) ? p : Object.assign({}, t, p), r.forEach((R) => R(t, k));
|
|
3157
|
+
}
|
|
3158
|
+
}, o = () => t, a = { setState: n, getState: o, getInitialState: () => d, subscribe: (c) => (r.add(c), () => r.delete(c)) }, d = t = e(n, o, a);
|
|
3159
|
+
return a;
|
|
3160
|
+
}, Un = (e) => e ? St(e) : St, jn = (e) => e;
|
|
3161
|
+
function Bn(e, t = jn) {
|
|
3162
|
+
const r = Ae.useSyncExternalStore(
|
|
3163
|
+
e.subscribe,
|
|
3164
|
+
Ae.useCallback(() => t(e.getState()), [e, t]),
|
|
3165
|
+
Ae.useCallback(() => t(e.getInitialState()), [e, t])
|
|
3166
|
+
);
|
|
3167
|
+
return Ae.useDebugValue(r), r;
|
|
3168
|
+
}
|
|
3169
|
+
const Et = (e) => {
|
|
3170
|
+
const t = Un(e), r = (n) => Bn(t, n);
|
|
3171
|
+
return Object.assign(r, t), r;
|
|
3172
|
+
}, In = (e) => e ? Et(e) : Et, or = In((e) => ({
|
|
3173
|
+
notification: null,
|
|
3174
|
+
setNotification: (t) => e({ notification: t })
|
|
3175
|
+
}));
|
|
3176
|
+
function xs() {
|
|
3177
|
+
const { notification: e, setNotification: t } = or();
|
|
3178
|
+
return e ? /* @__PURE__ */ A(
|
|
3179
|
+
zn,
|
|
3180
|
+
{
|
|
3181
|
+
type: "",
|
|
3182
|
+
title: e.title,
|
|
3183
|
+
message: e.message,
|
|
3184
|
+
onClose: () => t(null)
|
|
3185
|
+
}
|
|
3186
|
+
) : null;
|
|
3187
|
+
}
|
|
3188
|
+
function sr(e, t) {
|
|
3189
|
+
return function() {
|
|
3190
|
+
return e.apply(t, arguments);
|
|
3191
|
+
};
|
|
3192
|
+
}
|
|
3193
|
+
const { toString: Mn } = Object.prototype, { getPrototypeOf: at } = Object, { iterator: ze, toStringTag: ir } = Symbol, Ue = /* @__PURE__ */ ((e) => (t) => {
|
|
3194
|
+
const r = Mn.call(t);
|
|
3195
|
+
return e[r] || (e[r] = r.slice(8, -1).toLowerCase());
|
|
3196
|
+
})(/* @__PURE__ */ Object.create(null)), H = (e) => (e = e.toLowerCase(), (t) => Ue(t) === e), je = (e) => (t) => typeof t === e, { isArray: de } = Array, le = je("undefined");
|
|
3197
|
+
function ye(e) {
|
|
3198
|
+
return e !== null && !le(e) && e.constructor !== null && !le(e.constructor) && D(e.constructor.isBuffer) && e.constructor.isBuffer(e);
|
|
3199
|
+
}
|
|
3200
|
+
const ar = H("ArrayBuffer");
|
|
3201
|
+
function Dn(e) {
|
|
3202
|
+
let t;
|
|
3203
|
+
return typeof ArrayBuffer < "u" && ArrayBuffer.isView ? t = ArrayBuffer.isView(e) : t = e && e.buffer && ar(e.buffer), t;
|
|
3204
|
+
}
|
|
3205
|
+
const qn = je("string"), D = je("function"), lr = je("number"), we = (e) => e !== null && typeof e == "object", $n = (e) => e === !0 || e === !1, Ne = (e) => {
|
|
3206
|
+
if (Ue(e) !== "object")
|
|
3207
|
+
return !1;
|
|
3208
|
+
const t = at(e);
|
|
3209
|
+
return (t === null || t === Object.prototype || Object.getPrototypeOf(t) === null) && !(ir in e) && !(ze in e);
|
|
3210
|
+
}, Vn = (e) => {
|
|
3211
|
+
if (!we(e) || ye(e))
|
|
3212
|
+
return !1;
|
|
3213
|
+
try {
|
|
3214
|
+
return Object.keys(e).length === 0 && Object.getPrototypeOf(e) === Object.prototype;
|
|
3215
|
+
} catch {
|
|
3216
|
+
return !1;
|
|
3217
|
+
}
|
|
3218
|
+
}, Hn = H("Date"), Wn = H("File"), Gn = H("Blob"), Jn = H("FileList"), Kn = (e) => we(e) && D(e.pipe), Xn = (e) => {
|
|
3219
|
+
let t;
|
|
3220
|
+
return e && (typeof FormData == "function" && e instanceof FormData || D(e.append) && ((t = Ue(e)) === "formdata" || // detect form-data instance
|
|
3221
|
+
t === "object" && D(e.toString) && e.toString() === "[object FormData]"));
|
|
3222
|
+
}, Zn = H("URLSearchParams"), [Qn, Yn, eo, to] = ["ReadableStream", "Request", "Response", "Headers"].map(H), ro = (e) => e.trim ? e.trim() : e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g, "");
|
|
3223
|
+
function xe(e, t, { allOwnKeys: r = !1 } = {}) {
|
|
3224
|
+
if (e === null || typeof e > "u")
|
|
3225
|
+
return;
|
|
3226
|
+
let n, o;
|
|
3227
|
+
if (typeof e != "object" && (e = [e]), de(e))
|
|
3228
|
+
for (n = 0, o = e.length; n < o; n++)
|
|
3229
|
+
t.call(null, e[n], n, e);
|
|
3230
|
+
else {
|
|
3231
|
+
if (ye(e))
|
|
3232
|
+
return;
|
|
3233
|
+
const s = r ? Object.getOwnPropertyNames(e) : Object.keys(e), i = s.length;
|
|
3234
|
+
let a;
|
|
3235
|
+
for (n = 0; n < i; n++)
|
|
3236
|
+
a = s[n], t.call(null, e[a], a, e);
|
|
3237
|
+
}
|
|
3238
|
+
}
|
|
3239
|
+
function cr(e, t) {
|
|
3240
|
+
if (ye(e))
|
|
3241
|
+
return null;
|
|
3242
|
+
t = t.toLowerCase();
|
|
3243
|
+
const r = Object.keys(e);
|
|
3244
|
+
let n = r.length, o;
|
|
3245
|
+
for (; n-- > 0; )
|
|
3246
|
+
if (o = r[n], t === o.toLowerCase())
|
|
3247
|
+
return o;
|
|
3248
|
+
return null;
|
|
3249
|
+
}
|
|
3250
|
+
const re = typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : global, ur = (e) => !le(e) && e !== re;
|
|
3251
|
+
function Ye() {
|
|
3252
|
+
const { caseless: e, skipUndefined: t } = ur(this) && this || {}, r = {}, n = (o, s) => {
|
|
3253
|
+
const i = e && cr(r, s) || s;
|
|
3254
|
+
Ne(r[i]) && Ne(o) ? r[i] = Ye(r[i], o) : Ne(o) ? r[i] = Ye({}, o) : de(o) ? r[i] = o.slice() : (!t || !le(o)) && (r[i] = o);
|
|
3255
|
+
};
|
|
3256
|
+
for (let o = 0, s = arguments.length; o < s; o++)
|
|
3257
|
+
arguments[o] && xe(arguments[o], n);
|
|
3258
|
+
return r;
|
|
3259
|
+
}
|
|
3260
|
+
const no = (e, t, r, { allOwnKeys: n } = {}) => (xe(t, (o, s) => {
|
|
3261
|
+
r && D(o) ? e[s] = sr(o, r) : e[s] = o;
|
|
3262
|
+
}, { allOwnKeys: n }), e), oo = (e) => (e.charCodeAt(0) === 65279 && (e = e.slice(1)), e), so = (e, t, r, n) => {
|
|
3263
|
+
e.prototype = Object.create(t.prototype, n), e.prototype.constructor = e, Object.defineProperty(e, "super", {
|
|
3264
|
+
value: t.prototype
|
|
3265
|
+
}), r && Object.assign(e.prototype, r);
|
|
3266
|
+
}, io = (e, t, r, n) => {
|
|
3267
|
+
let o, s, i;
|
|
3268
|
+
const a = {};
|
|
3269
|
+
if (t = t || {}, e == null) return t;
|
|
3270
|
+
do {
|
|
3271
|
+
for (o = Object.getOwnPropertyNames(e), s = o.length; s-- > 0; )
|
|
3272
|
+
i = o[s], (!n || n(i, e, t)) && !a[i] && (t[i] = e[i], a[i] = !0);
|
|
3273
|
+
e = r !== !1 && at(e);
|
|
3274
|
+
} while (e && (!r || r(e, t)) && e !== Object.prototype);
|
|
3275
|
+
return t;
|
|
3276
|
+
}, ao = (e, t, r) => {
|
|
3277
|
+
e = String(e), (r === void 0 || r > e.length) && (r = e.length), r -= t.length;
|
|
3278
|
+
const n = e.indexOf(t, r);
|
|
3279
|
+
return n !== -1 && n === r;
|
|
3280
|
+
}, lo = (e) => {
|
|
3281
|
+
if (!e) return null;
|
|
3282
|
+
if (de(e)) return e;
|
|
3283
|
+
let t = e.length;
|
|
3284
|
+
if (!lr(t)) return null;
|
|
3285
|
+
const r = new Array(t);
|
|
3286
|
+
for (; t-- > 0; )
|
|
3287
|
+
r[t] = e[t];
|
|
3288
|
+
return r;
|
|
3289
|
+
}, co = /* @__PURE__ */ ((e) => (t) => e && t instanceof e)(typeof Uint8Array < "u" && at(Uint8Array)), uo = (e, t) => {
|
|
3290
|
+
const n = (e && e[ze]).call(e);
|
|
3291
|
+
let o;
|
|
3292
|
+
for (; (o = n.next()) && !o.done; ) {
|
|
3293
|
+
const s = o.value;
|
|
3294
|
+
t.call(e, s[0], s[1]);
|
|
3295
|
+
}
|
|
3296
|
+
}, fo = (e, t) => {
|
|
3297
|
+
let r;
|
|
3298
|
+
const n = [];
|
|
3299
|
+
for (; (r = e.exec(t)) !== null; )
|
|
3300
|
+
n.push(r);
|
|
3301
|
+
return n;
|
|
3302
|
+
}, po = H("HTMLFormElement"), mo = (e) => e.toLowerCase().replace(
|
|
3303
|
+
/[-_\s]([a-z\d])(\w*)/g,
|
|
3304
|
+
function(r, n, o) {
|
|
3305
|
+
return n.toUpperCase() + o;
|
|
3306
|
+
}
|
|
3307
|
+
), Rt = (({ hasOwnProperty: e }) => (t, r) => e.call(t, r))(Object.prototype), ho = H("RegExp"), dr = (e, t) => {
|
|
3308
|
+
const r = Object.getOwnPropertyDescriptors(e), n = {};
|
|
3309
|
+
xe(r, (o, s) => {
|
|
3310
|
+
let i;
|
|
3311
|
+
(i = t(o, s, e)) !== !1 && (n[s] = i || o);
|
|
3312
|
+
}), Object.defineProperties(e, n);
|
|
3313
|
+
}, bo = (e) => {
|
|
3314
|
+
dr(e, (t, r) => {
|
|
3315
|
+
if (D(e) && ["arguments", "caller", "callee"].indexOf(r) !== -1)
|
|
3316
|
+
return !1;
|
|
3317
|
+
const n = e[r];
|
|
3318
|
+
if (D(n)) {
|
|
3319
|
+
if (t.enumerable = !1, "writable" in t) {
|
|
3320
|
+
t.writable = !1;
|
|
3321
|
+
return;
|
|
3322
|
+
}
|
|
3323
|
+
t.set || (t.set = () => {
|
|
3324
|
+
throw Error("Can not rewrite read-only method '" + r + "'");
|
|
3325
|
+
});
|
|
3326
|
+
}
|
|
3327
|
+
});
|
|
3328
|
+
}, go = (e, t) => {
|
|
3329
|
+
const r = {}, n = (o) => {
|
|
3330
|
+
o.forEach((s) => {
|
|
3331
|
+
r[s] = !0;
|
|
3332
|
+
});
|
|
3333
|
+
};
|
|
3334
|
+
return de(e) ? n(e) : n(String(e).split(t)), r;
|
|
3335
|
+
}, yo = () => {
|
|
3336
|
+
}, wo = (e, t) => e != null && Number.isFinite(e = +e) ? e : t;
|
|
3337
|
+
function xo(e) {
|
|
3338
|
+
return !!(e && D(e.append) && e[ir] === "FormData" && e[ze]);
|
|
3339
|
+
}
|
|
3340
|
+
const ko = (e) => {
|
|
3341
|
+
const t = new Array(10), r = (n, o) => {
|
|
3342
|
+
if (we(n)) {
|
|
3343
|
+
if (t.indexOf(n) >= 0)
|
|
3344
|
+
return;
|
|
3345
|
+
if (ye(n))
|
|
3346
|
+
return n;
|
|
3347
|
+
if (!("toJSON" in n)) {
|
|
3348
|
+
t[o] = n;
|
|
3349
|
+
const s = de(n) ? [] : {};
|
|
3350
|
+
return xe(n, (i, a) => {
|
|
3351
|
+
const d = r(i, o + 1);
|
|
3352
|
+
!le(d) && (s[a] = d);
|
|
3353
|
+
}), t[o] = void 0, s;
|
|
3354
|
+
}
|
|
3355
|
+
}
|
|
3356
|
+
return n;
|
|
3357
|
+
};
|
|
3358
|
+
return r(e, 0);
|
|
3359
|
+
}, So = H("AsyncFunction"), Eo = (e) => e && (we(e) || D(e)) && D(e.then) && D(e.catch), fr = ((e, t) => e ? setImmediate : t ? ((r, n) => (re.addEventListener("message", ({ source: o, data: s }) => {
|
|
3360
|
+
o === re && s === r && n.length && n.shift()();
|
|
3361
|
+
}, !1), (o) => {
|
|
3362
|
+
n.push(o), re.postMessage(r, "*");
|
|
3363
|
+
}))(`axios@${Math.random()}`, []) : (r) => setTimeout(r))(
|
|
3364
|
+
typeof setImmediate == "function",
|
|
3365
|
+
D(re.postMessage)
|
|
3366
|
+
), Ro = typeof queueMicrotask < "u" ? queueMicrotask.bind(re) : typeof process < "u" && process.nextTick || fr, vo = (e) => e != null && D(e[ze]), l = {
|
|
3367
|
+
isArray: de,
|
|
3368
|
+
isArrayBuffer: ar,
|
|
3369
|
+
isBuffer: ye,
|
|
3370
|
+
isFormData: Xn,
|
|
3371
|
+
isArrayBufferView: Dn,
|
|
3372
|
+
isString: qn,
|
|
3373
|
+
isNumber: lr,
|
|
3374
|
+
isBoolean: $n,
|
|
3375
|
+
isObject: we,
|
|
3376
|
+
isPlainObject: Ne,
|
|
3377
|
+
isEmptyObject: Vn,
|
|
3378
|
+
isReadableStream: Qn,
|
|
3379
|
+
isRequest: Yn,
|
|
3380
|
+
isResponse: eo,
|
|
3381
|
+
isHeaders: to,
|
|
3382
|
+
isUndefined: le,
|
|
3383
|
+
isDate: Hn,
|
|
3384
|
+
isFile: Wn,
|
|
3385
|
+
isBlob: Gn,
|
|
3386
|
+
isRegExp: ho,
|
|
3387
|
+
isFunction: D,
|
|
3388
|
+
isStream: Kn,
|
|
3389
|
+
isURLSearchParams: Zn,
|
|
3390
|
+
isTypedArray: co,
|
|
3391
|
+
isFileList: Jn,
|
|
3392
|
+
forEach: xe,
|
|
3393
|
+
merge: Ye,
|
|
3394
|
+
extend: no,
|
|
3395
|
+
trim: ro,
|
|
3396
|
+
stripBOM: oo,
|
|
3397
|
+
inherits: so,
|
|
3398
|
+
toFlatObject: io,
|
|
3399
|
+
kindOf: Ue,
|
|
3400
|
+
kindOfTest: H,
|
|
3401
|
+
endsWith: ao,
|
|
3402
|
+
toArray: lo,
|
|
3403
|
+
forEachEntry: uo,
|
|
3404
|
+
matchAll: fo,
|
|
3405
|
+
isHTMLForm: po,
|
|
3406
|
+
hasOwnProperty: Rt,
|
|
3407
|
+
hasOwnProp: Rt,
|
|
3408
|
+
// an alias to avoid ESLint no-prototype-builtins detection
|
|
3409
|
+
reduceDescriptors: dr,
|
|
3410
|
+
freezeMethods: bo,
|
|
3411
|
+
toObjectSet: go,
|
|
3412
|
+
toCamelCase: mo,
|
|
3413
|
+
noop: yo,
|
|
3414
|
+
toFiniteNumber: wo,
|
|
3415
|
+
findKey: cr,
|
|
3416
|
+
global: re,
|
|
3417
|
+
isContextDefined: ur,
|
|
3418
|
+
isSpecCompliantForm: xo,
|
|
3419
|
+
toJSONObject: ko,
|
|
3420
|
+
isAsyncFn: So,
|
|
3421
|
+
isThenable: Eo,
|
|
3422
|
+
setImmediate: fr,
|
|
3423
|
+
asap: Ro,
|
|
3424
|
+
isIterable: vo
|
|
3425
|
+
};
|
|
3426
|
+
function x(e, t, r, n, o) {
|
|
3427
|
+
Error.call(this), Error.captureStackTrace ? Error.captureStackTrace(this, this.constructor) : this.stack = new Error().stack, this.message = e, this.name = "AxiosError", t && (this.code = t), r && (this.config = r), n && (this.request = n), o && (this.response = o, this.status = o.status ? o.status : null);
|
|
3428
|
+
}
|
|
3429
|
+
l.inherits(x, Error, {
|
|
3430
|
+
toJSON: function() {
|
|
3431
|
+
return {
|
|
3432
|
+
// Standard
|
|
3433
|
+
message: this.message,
|
|
3434
|
+
name: this.name,
|
|
3435
|
+
// Microsoft
|
|
3436
|
+
description: this.description,
|
|
3437
|
+
number: this.number,
|
|
3438
|
+
// Mozilla
|
|
3439
|
+
fileName: this.fileName,
|
|
3440
|
+
lineNumber: this.lineNumber,
|
|
3441
|
+
columnNumber: this.columnNumber,
|
|
3442
|
+
stack: this.stack,
|
|
3443
|
+
// Axios
|
|
3444
|
+
config: l.toJSONObject(this.config),
|
|
3445
|
+
code: this.code,
|
|
3446
|
+
status: this.status
|
|
3447
|
+
};
|
|
3448
|
+
}
|
|
3449
|
+
});
|
|
3450
|
+
const pr = x.prototype, mr = {};
|
|
3451
|
+
[
|
|
3452
|
+
"ERR_BAD_OPTION_VALUE",
|
|
3453
|
+
"ERR_BAD_OPTION",
|
|
3454
|
+
"ECONNABORTED",
|
|
3455
|
+
"ETIMEDOUT",
|
|
3456
|
+
"ERR_NETWORK",
|
|
3457
|
+
"ERR_FR_TOO_MANY_REDIRECTS",
|
|
3458
|
+
"ERR_DEPRECATED",
|
|
3459
|
+
"ERR_BAD_RESPONSE",
|
|
3460
|
+
"ERR_BAD_REQUEST",
|
|
3461
|
+
"ERR_CANCELED",
|
|
3462
|
+
"ERR_NOT_SUPPORT",
|
|
3463
|
+
"ERR_INVALID_URL"
|
|
3464
|
+
// eslint-disable-next-line func-names
|
|
3465
|
+
].forEach((e) => {
|
|
3466
|
+
mr[e] = { value: e };
|
|
3467
|
+
});
|
|
3468
|
+
Object.defineProperties(x, mr);
|
|
3469
|
+
Object.defineProperty(pr, "isAxiosError", { value: !0 });
|
|
3470
|
+
x.from = (e, t, r, n, o, s) => {
|
|
3471
|
+
const i = Object.create(pr);
|
|
3472
|
+
l.toFlatObject(e, i, function(u) {
|
|
3473
|
+
return u !== Error.prototype;
|
|
3474
|
+
}, (c) => c !== "isAxiosError");
|
|
3475
|
+
const a = e && e.message ? e.message : "Error", d = t == null && e ? e.code : t;
|
|
3476
|
+
return x.call(i, a, d, r, n, o), e && i.cause == null && Object.defineProperty(i, "cause", { value: e, configurable: !0 }), i.name = e && e.name || "Error", s && Object.assign(i, s), i;
|
|
3477
|
+
};
|
|
3478
|
+
const Ao = null;
|
|
3479
|
+
function et(e) {
|
|
3480
|
+
return l.isPlainObject(e) || l.isArray(e);
|
|
3481
|
+
}
|
|
3482
|
+
function hr(e) {
|
|
3483
|
+
return l.endsWith(e, "[]") ? e.slice(0, -2) : e;
|
|
3484
|
+
}
|
|
3485
|
+
function vt(e, t, r) {
|
|
3486
|
+
return e ? e.concat(t).map(function(o, s) {
|
|
3487
|
+
return o = hr(o), !r && s ? "[" + o + "]" : o;
|
|
3488
|
+
}).join(r ? "." : "") : t;
|
|
3489
|
+
}
|
|
3490
|
+
function Co(e) {
|
|
3491
|
+
return l.isArray(e) && !e.some(et);
|
|
3492
|
+
}
|
|
3493
|
+
const Oo = l.toFlatObject(l, {}, null, function(t) {
|
|
3494
|
+
return /^is[A-Z]/.test(t);
|
|
3495
|
+
});
|
|
3496
|
+
function Be(e, t, r) {
|
|
3497
|
+
if (!l.isObject(e))
|
|
3498
|
+
throw new TypeError("target must be an object");
|
|
3499
|
+
t = t || new FormData(), r = l.toFlatObject(r, {
|
|
3500
|
+
metaTokens: !0,
|
|
3501
|
+
dots: !1,
|
|
3502
|
+
indexes: !1
|
|
3503
|
+
}, !1, function(g, m) {
|
|
3504
|
+
return !l.isUndefined(m[g]);
|
|
3505
|
+
});
|
|
3506
|
+
const n = r.metaTokens, o = r.visitor || u, s = r.dots, i = r.indexes, d = (r.Blob || typeof Blob < "u" && Blob) && l.isSpecCompliantForm(t);
|
|
3507
|
+
if (!l.isFunction(o))
|
|
3508
|
+
throw new TypeError("visitor must be a function");
|
|
3509
|
+
function c(f) {
|
|
3510
|
+
if (f === null) return "";
|
|
3511
|
+
if (l.isDate(f))
|
|
3512
|
+
return f.toISOString();
|
|
3513
|
+
if (l.isBoolean(f))
|
|
3514
|
+
return f.toString();
|
|
3515
|
+
if (!d && l.isBlob(f))
|
|
3516
|
+
throw new x("Blob is not supported. Use a Buffer instead.");
|
|
3517
|
+
return l.isArrayBuffer(f) || l.isTypedArray(f) ? d && typeof Blob == "function" ? new Blob([f]) : Buffer.from(f) : f;
|
|
3518
|
+
}
|
|
3519
|
+
function u(f, g, m) {
|
|
3520
|
+
let E = f;
|
|
3521
|
+
if (f && !m && typeof f == "object") {
|
|
3522
|
+
if (l.endsWith(g, "{}"))
|
|
3523
|
+
g = n ? g : g.slice(0, -2), f = JSON.stringify(f);
|
|
3524
|
+
else if (l.isArray(f) && Co(f) || (l.isFileList(f) || l.endsWith(g, "[]")) && (E = l.toArray(f)))
|
|
3525
|
+
return g = hr(g), E.forEach(function(v, C) {
|
|
3526
|
+
!(l.isUndefined(v) || v === null) && t.append(
|
|
3527
|
+
// eslint-disable-next-line no-nested-ternary
|
|
3528
|
+
i === !0 ? vt([g], C, s) : i === null ? g : g + "[]",
|
|
3529
|
+
c(v)
|
|
3530
|
+
);
|
|
3531
|
+
}), !1;
|
|
3532
|
+
}
|
|
3533
|
+
return et(f) ? !0 : (t.append(vt(m, g, s), c(f)), !1);
|
|
3534
|
+
}
|
|
3535
|
+
const p = [], k = Object.assign(Oo, {
|
|
3536
|
+
defaultVisitor: u,
|
|
3537
|
+
convertValue: c,
|
|
3538
|
+
isVisitable: et
|
|
3539
|
+
});
|
|
3540
|
+
function R(f, g) {
|
|
3541
|
+
if (!l.isUndefined(f)) {
|
|
3542
|
+
if (p.indexOf(f) !== -1)
|
|
3543
|
+
throw Error("Circular reference detected in " + g.join("."));
|
|
3544
|
+
p.push(f), l.forEach(f, function(E, j) {
|
|
3545
|
+
(!(l.isUndefined(E) || E === null) && o.call(
|
|
3546
|
+
t,
|
|
3547
|
+
E,
|
|
3548
|
+
l.isString(j) ? j.trim() : j,
|
|
3549
|
+
g,
|
|
3550
|
+
k
|
|
3551
|
+
)) === !0 && R(E, g ? g.concat(j) : [j]);
|
|
3552
|
+
}), p.pop();
|
|
3553
|
+
}
|
|
3554
|
+
}
|
|
3555
|
+
if (!l.isObject(e))
|
|
3556
|
+
throw new TypeError("data must be an object");
|
|
3557
|
+
return R(e), t;
|
|
3558
|
+
}
|
|
3559
|
+
function At(e) {
|
|
3560
|
+
const t = {
|
|
3561
|
+
"!": "%21",
|
|
3562
|
+
"'": "%27",
|
|
3563
|
+
"(": "%28",
|
|
3564
|
+
")": "%29",
|
|
3565
|
+
"~": "%7E",
|
|
3566
|
+
"%20": "+",
|
|
3567
|
+
"%00": "\0"
|
|
3568
|
+
};
|
|
3569
|
+
return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g, function(n) {
|
|
3570
|
+
return t[n];
|
|
3571
|
+
});
|
|
3572
|
+
}
|
|
3573
|
+
function lt(e, t) {
|
|
3574
|
+
this._pairs = [], e && Be(e, this, t);
|
|
3575
|
+
}
|
|
3576
|
+
const br = lt.prototype;
|
|
3577
|
+
br.append = function(t, r) {
|
|
3578
|
+
this._pairs.push([t, r]);
|
|
3579
|
+
};
|
|
3580
|
+
br.toString = function(t) {
|
|
3581
|
+
const r = t ? function(n) {
|
|
3582
|
+
return t.call(this, n, At);
|
|
3583
|
+
} : At;
|
|
3584
|
+
return this._pairs.map(function(o) {
|
|
3585
|
+
return r(o[0]) + "=" + r(o[1]);
|
|
3586
|
+
}, "").join("&");
|
|
3587
|
+
};
|
|
3588
|
+
function To(e) {
|
|
3589
|
+
return encodeURIComponent(e).replace(/%3A/gi, ":").replace(/%24/g, "$").replace(/%2C/gi, ",").replace(/%20/g, "+");
|
|
3590
|
+
}
|
|
3591
|
+
function gr(e, t, r) {
|
|
3592
|
+
if (!t)
|
|
3593
|
+
return e;
|
|
3594
|
+
const n = r && r.encode || To;
|
|
3595
|
+
l.isFunction(r) && (r = {
|
|
3596
|
+
serialize: r
|
|
3597
|
+
});
|
|
3598
|
+
const o = r && r.serialize;
|
|
3599
|
+
let s;
|
|
3600
|
+
if (o ? s = o(t, r) : s = l.isURLSearchParams(t) ? t.toString() : new lt(t, r).toString(n), s) {
|
|
3601
|
+
const i = e.indexOf("#");
|
|
3602
|
+
i !== -1 && (e = e.slice(0, i)), e += (e.indexOf("?") === -1 ? "?" : "&") + s;
|
|
3603
|
+
}
|
|
3604
|
+
return e;
|
|
3605
|
+
}
|
|
3606
|
+
class Ct {
|
|
3607
|
+
constructor() {
|
|
3608
|
+
this.handlers = [];
|
|
3609
|
+
}
|
|
3610
|
+
/**
|
|
3611
|
+
* Add a new interceptor to the stack
|
|
3612
|
+
*
|
|
3613
|
+
* @param {Function} fulfilled The function to handle `then` for a `Promise`
|
|
3614
|
+
* @param {Function} rejected The function to handle `reject` for a `Promise`
|
|
3615
|
+
*
|
|
3616
|
+
* @return {Number} An ID used to remove interceptor later
|
|
3617
|
+
*/
|
|
3618
|
+
use(t, r, n) {
|
|
3619
|
+
return this.handlers.push({
|
|
3620
|
+
fulfilled: t,
|
|
3621
|
+
rejected: r,
|
|
3622
|
+
synchronous: n ? n.synchronous : !1,
|
|
3623
|
+
runWhen: n ? n.runWhen : null
|
|
3624
|
+
}), this.handlers.length - 1;
|
|
3625
|
+
}
|
|
3626
|
+
/**
|
|
3627
|
+
* Remove an interceptor from the stack
|
|
3628
|
+
*
|
|
3629
|
+
* @param {Number} id The ID that was returned by `use`
|
|
3630
|
+
*
|
|
3631
|
+
* @returns {Boolean} `true` if the interceptor was removed, `false` otherwise
|
|
3632
|
+
*/
|
|
3633
|
+
eject(t) {
|
|
3634
|
+
this.handlers[t] && (this.handlers[t] = null);
|
|
3635
|
+
}
|
|
3636
|
+
/**
|
|
3637
|
+
* Clear all interceptors from the stack
|
|
3638
|
+
*
|
|
3639
|
+
* @returns {void}
|
|
3640
|
+
*/
|
|
3641
|
+
clear() {
|
|
3642
|
+
this.handlers && (this.handlers = []);
|
|
3643
|
+
}
|
|
3644
|
+
/**
|
|
3645
|
+
* Iterate over all the registered interceptors
|
|
3646
|
+
*
|
|
3647
|
+
* This method is particularly useful for skipping over any
|
|
3648
|
+
* interceptors that may have become `null` calling `eject`.
|
|
3649
|
+
*
|
|
3650
|
+
* @param {Function} fn The function to call for each interceptor
|
|
3651
|
+
*
|
|
3652
|
+
* @returns {void}
|
|
3653
|
+
*/
|
|
3654
|
+
forEach(t) {
|
|
3655
|
+
l.forEach(this.handlers, function(n) {
|
|
3656
|
+
n !== null && t(n);
|
|
3657
|
+
});
|
|
3658
|
+
}
|
|
3659
|
+
}
|
|
3660
|
+
const yr = {
|
|
3661
|
+
silentJSONParsing: !0,
|
|
3662
|
+
forcedJSONParsing: !0,
|
|
3663
|
+
clarifyTimeoutError: !1
|
|
3664
|
+
}, No = typeof URLSearchParams < "u" ? URLSearchParams : lt, Po = typeof FormData < "u" ? FormData : null, _o = typeof Blob < "u" ? Blob : null, Lo = {
|
|
3665
|
+
isBrowser: !0,
|
|
3666
|
+
classes: {
|
|
3667
|
+
URLSearchParams: No,
|
|
3668
|
+
FormData: Po,
|
|
3669
|
+
Blob: _o
|
|
3670
|
+
},
|
|
3671
|
+
protocols: ["http", "https", "file", "blob", "url", "data"]
|
|
3672
|
+
}, ct = typeof window < "u" && typeof document < "u", tt = typeof navigator == "object" && navigator || void 0, Fo = ct && (!tt || ["ReactNative", "NativeScript", "NS"].indexOf(tt.product) < 0), zo = typeof WorkerGlobalScope < "u" && // eslint-disable-next-line no-undef
|
|
3673
|
+
self instanceof WorkerGlobalScope && typeof self.importScripts == "function", Uo = ct && window.location.href || "http://localhost", jo = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
3674
|
+
__proto__: null,
|
|
3675
|
+
hasBrowserEnv: ct,
|
|
3676
|
+
hasStandardBrowserEnv: Fo,
|
|
3677
|
+
hasStandardBrowserWebWorkerEnv: zo,
|
|
3678
|
+
navigator: tt,
|
|
3679
|
+
origin: Uo
|
|
3680
|
+
}, Symbol.toStringTag, { value: "Module" })), B = {
|
|
3681
|
+
...jo,
|
|
3682
|
+
...Lo
|
|
3683
|
+
};
|
|
3684
|
+
function Bo(e, t) {
|
|
3685
|
+
return Be(e, new B.classes.URLSearchParams(), {
|
|
3686
|
+
visitor: function(r, n, o, s) {
|
|
3687
|
+
return B.isNode && l.isBuffer(r) ? (this.append(n, r.toString("base64")), !1) : s.defaultVisitor.apply(this, arguments);
|
|
3688
|
+
},
|
|
3689
|
+
...t
|
|
3690
|
+
});
|
|
3691
|
+
}
|
|
3692
|
+
function Io(e) {
|
|
3693
|
+
return l.matchAll(/\w+|\[(\w*)]/g, e).map((t) => t[0] === "[]" ? "" : t[1] || t[0]);
|
|
3694
|
+
}
|
|
3695
|
+
function Mo(e) {
|
|
3696
|
+
const t = {}, r = Object.keys(e);
|
|
3697
|
+
let n;
|
|
3698
|
+
const o = r.length;
|
|
3699
|
+
let s;
|
|
3700
|
+
for (n = 0; n < o; n++)
|
|
3701
|
+
s = r[n], t[s] = e[s];
|
|
3702
|
+
return t;
|
|
3703
|
+
}
|
|
3704
|
+
function wr(e) {
|
|
3705
|
+
function t(r, n, o, s) {
|
|
3706
|
+
let i = r[s++];
|
|
3707
|
+
if (i === "__proto__") return !0;
|
|
3708
|
+
const a = Number.isFinite(+i), d = s >= r.length;
|
|
3709
|
+
return i = !i && l.isArray(o) ? o.length : i, d ? (l.hasOwnProp(o, i) ? o[i] = [o[i], n] : o[i] = n, !a) : ((!o[i] || !l.isObject(o[i])) && (o[i] = []), t(r, n, o[i], s) && l.isArray(o[i]) && (o[i] = Mo(o[i])), !a);
|
|
3710
|
+
}
|
|
3711
|
+
if (l.isFormData(e) && l.isFunction(e.entries)) {
|
|
3712
|
+
const r = {};
|
|
3713
|
+
return l.forEachEntry(e, (n, o) => {
|
|
3714
|
+
t(Io(n), o, r, 0);
|
|
3715
|
+
}), r;
|
|
3716
|
+
}
|
|
3717
|
+
return null;
|
|
3718
|
+
}
|
|
3719
|
+
function Do(e, t, r) {
|
|
3720
|
+
if (l.isString(e))
|
|
3721
|
+
try {
|
|
3722
|
+
return (t || JSON.parse)(e), l.trim(e);
|
|
3723
|
+
} catch (n) {
|
|
3724
|
+
if (n.name !== "SyntaxError")
|
|
3725
|
+
throw n;
|
|
3726
|
+
}
|
|
3727
|
+
return (r || JSON.stringify)(e);
|
|
3728
|
+
}
|
|
3729
|
+
const ke = {
|
|
3730
|
+
transitional: yr,
|
|
3731
|
+
adapter: ["xhr", "http", "fetch"],
|
|
3732
|
+
transformRequest: [function(t, r) {
|
|
3733
|
+
const n = r.getContentType() || "", o = n.indexOf("application/json") > -1, s = l.isObject(t);
|
|
3734
|
+
if (s && l.isHTMLForm(t) && (t = new FormData(t)), l.isFormData(t))
|
|
3735
|
+
return o ? JSON.stringify(wr(t)) : t;
|
|
3736
|
+
if (l.isArrayBuffer(t) || l.isBuffer(t) || l.isStream(t) || l.isFile(t) || l.isBlob(t) || l.isReadableStream(t))
|
|
3737
|
+
return t;
|
|
3738
|
+
if (l.isArrayBufferView(t))
|
|
3739
|
+
return t.buffer;
|
|
3740
|
+
if (l.isURLSearchParams(t))
|
|
3741
|
+
return r.setContentType("application/x-www-form-urlencoded;charset=utf-8", !1), t.toString();
|
|
3742
|
+
let a;
|
|
3743
|
+
if (s) {
|
|
3744
|
+
if (n.indexOf("application/x-www-form-urlencoded") > -1)
|
|
3745
|
+
return Bo(t, this.formSerializer).toString();
|
|
3746
|
+
if ((a = l.isFileList(t)) || n.indexOf("multipart/form-data") > -1) {
|
|
3747
|
+
const d = this.env && this.env.FormData;
|
|
3748
|
+
return Be(
|
|
3749
|
+
a ? { "files[]": t } : t,
|
|
3750
|
+
d && new d(),
|
|
3751
|
+
this.formSerializer
|
|
3752
|
+
);
|
|
3753
|
+
}
|
|
3754
|
+
}
|
|
3755
|
+
return s || o ? (r.setContentType("application/json", !1), Do(t)) : t;
|
|
3756
|
+
}],
|
|
3757
|
+
transformResponse: [function(t) {
|
|
3758
|
+
const r = this.transitional || ke.transitional, n = r && r.forcedJSONParsing, o = this.responseType === "json";
|
|
3759
|
+
if (l.isResponse(t) || l.isReadableStream(t))
|
|
3760
|
+
return t;
|
|
3761
|
+
if (t && l.isString(t) && (n && !this.responseType || o)) {
|
|
3762
|
+
const i = !(r && r.silentJSONParsing) && o;
|
|
3763
|
+
try {
|
|
3764
|
+
return JSON.parse(t, this.parseReviver);
|
|
3765
|
+
} catch (a) {
|
|
3766
|
+
if (i)
|
|
3767
|
+
throw a.name === "SyntaxError" ? x.from(a, x.ERR_BAD_RESPONSE, this, null, this.response) : a;
|
|
3768
|
+
}
|
|
3769
|
+
}
|
|
3770
|
+
return t;
|
|
3771
|
+
}],
|
|
3772
|
+
/**
|
|
3773
|
+
* A timeout in milliseconds to abort a request. If set to 0 (default) a
|
|
3774
|
+
* timeout is not created.
|
|
3775
|
+
*/
|
|
3776
|
+
timeout: 0,
|
|
3777
|
+
xsrfCookieName: "XSRF-TOKEN",
|
|
3778
|
+
xsrfHeaderName: "X-XSRF-TOKEN",
|
|
3779
|
+
maxContentLength: -1,
|
|
3780
|
+
maxBodyLength: -1,
|
|
3781
|
+
env: {
|
|
3782
|
+
FormData: B.classes.FormData,
|
|
3783
|
+
Blob: B.classes.Blob
|
|
3784
|
+
},
|
|
3785
|
+
validateStatus: function(t) {
|
|
3786
|
+
return t >= 200 && t < 300;
|
|
3787
|
+
},
|
|
3788
|
+
headers: {
|
|
3789
|
+
common: {
|
|
3790
|
+
Accept: "application/json, text/plain, */*",
|
|
3791
|
+
"Content-Type": void 0
|
|
3792
|
+
}
|
|
3793
|
+
}
|
|
3794
|
+
};
|
|
3795
|
+
l.forEach(["delete", "get", "head", "post", "put", "patch"], (e) => {
|
|
3796
|
+
ke.headers[e] = {};
|
|
3797
|
+
});
|
|
3798
|
+
const qo = l.toObjectSet([
|
|
3799
|
+
"age",
|
|
3800
|
+
"authorization",
|
|
3801
|
+
"content-length",
|
|
3802
|
+
"content-type",
|
|
3803
|
+
"etag",
|
|
3804
|
+
"expires",
|
|
3805
|
+
"from",
|
|
3806
|
+
"host",
|
|
3807
|
+
"if-modified-since",
|
|
3808
|
+
"if-unmodified-since",
|
|
3809
|
+
"last-modified",
|
|
3810
|
+
"location",
|
|
3811
|
+
"max-forwards",
|
|
3812
|
+
"proxy-authorization",
|
|
3813
|
+
"referer",
|
|
3814
|
+
"retry-after",
|
|
3815
|
+
"user-agent"
|
|
3816
|
+
]), $o = (e) => {
|
|
3817
|
+
const t = {};
|
|
3818
|
+
let r, n, o;
|
|
3819
|
+
return e && e.split(`
|
|
3820
|
+
`).forEach(function(i) {
|
|
3821
|
+
o = i.indexOf(":"), r = i.substring(0, o).trim().toLowerCase(), n = i.substring(o + 1).trim(), !(!r || t[r] && qo[r]) && (r === "set-cookie" ? t[r] ? t[r].push(n) : t[r] = [n] : t[r] = t[r] ? t[r] + ", " + n : n);
|
|
3822
|
+
}), t;
|
|
3823
|
+
}, Ot = Symbol("internals");
|
|
3824
|
+
function ge(e) {
|
|
3825
|
+
return e && String(e).trim().toLowerCase();
|
|
3826
|
+
}
|
|
3827
|
+
function Pe(e) {
|
|
3828
|
+
return e === !1 || e == null ? e : l.isArray(e) ? e.map(Pe) : String(e);
|
|
3829
|
+
}
|
|
3830
|
+
function Vo(e) {
|
|
3831
|
+
const t = /* @__PURE__ */ Object.create(null), r = /([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;
|
|
3832
|
+
let n;
|
|
3833
|
+
for (; n = r.exec(e); )
|
|
3834
|
+
t[n[1]] = n[2];
|
|
3835
|
+
return t;
|
|
3836
|
+
}
|
|
3837
|
+
const Ho = (e) => /^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());
|
|
3838
|
+
function Ve(e, t, r, n, o) {
|
|
3839
|
+
if (l.isFunction(n))
|
|
3840
|
+
return n.call(this, t, r);
|
|
3841
|
+
if (o && (t = r), !!l.isString(t)) {
|
|
3842
|
+
if (l.isString(n))
|
|
3843
|
+
return t.indexOf(n) !== -1;
|
|
3844
|
+
if (l.isRegExp(n))
|
|
3845
|
+
return n.test(t);
|
|
3846
|
+
}
|
|
3847
|
+
}
|
|
3848
|
+
function Wo(e) {
|
|
3849
|
+
return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g, (t, r, n) => r.toUpperCase() + n);
|
|
3850
|
+
}
|
|
3851
|
+
function Go(e, t) {
|
|
3852
|
+
const r = l.toCamelCase(" " + t);
|
|
3853
|
+
["get", "set", "has"].forEach((n) => {
|
|
3854
|
+
Object.defineProperty(e, n + r, {
|
|
3855
|
+
value: function(o, s, i) {
|
|
3856
|
+
return this[n].call(this, t, o, s, i);
|
|
3857
|
+
},
|
|
3858
|
+
configurable: !0
|
|
3859
|
+
});
|
|
3860
|
+
});
|
|
3861
|
+
}
|
|
3862
|
+
let q = class {
|
|
3863
|
+
constructor(t) {
|
|
3864
|
+
t && this.set(t);
|
|
3865
|
+
}
|
|
3866
|
+
set(t, r, n) {
|
|
3867
|
+
const o = this;
|
|
3868
|
+
function s(a, d, c) {
|
|
3869
|
+
const u = ge(d);
|
|
3870
|
+
if (!u)
|
|
3871
|
+
throw new Error("header name must be a non-empty string");
|
|
3872
|
+
const p = l.findKey(o, u);
|
|
3873
|
+
(!p || o[p] === void 0 || c === !0 || c === void 0 && o[p] !== !1) && (o[p || d] = Pe(a));
|
|
3874
|
+
}
|
|
3875
|
+
const i = (a, d) => l.forEach(a, (c, u) => s(c, u, d));
|
|
3876
|
+
if (l.isPlainObject(t) || t instanceof this.constructor)
|
|
3877
|
+
i(t, r);
|
|
3878
|
+
else if (l.isString(t) && (t = t.trim()) && !Ho(t))
|
|
3879
|
+
i($o(t), r);
|
|
3880
|
+
else if (l.isObject(t) && l.isIterable(t)) {
|
|
3881
|
+
let a = {}, d, c;
|
|
3882
|
+
for (const u of t) {
|
|
3883
|
+
if (!l.isArray(u))
|
|
3884
|
+
throw TypeError("Object iterator must return a key-value pair");
|
|
3885
|
+
a[c = u[0]] = (d = a[c]) ? l.isArray(d) ? [...d, u[1]] : [d, u[1]] : u[1];
|
|
3886
|
+
}
|
|
3887
|
+
i(a, r);
|
|
3888
|
+
} else
|
|
3889
|
+
t != null && s(r, t, n);
|
|
3890
|
+
return this;
|
|
3891
|
+
}
|
|
3892
|
+
get(t, r) {
|
|
3893
|
+
if (t = ge(t), t) {
|
|
3894
|
+
const n = l.findKey(this, t);
|
|
3895
|
+
if (n) {
|
|
3896
|
+
const o = this[n];
|
|
3897
|
+
if (!r)
|
|
3898
|
+
return o;
|
|
3899
|
+
if (r === !0)
|
|
3900
|
+
return Vo(o);
|
|
3901
|
+
if (l.isFunction(r))
|
|
3902
|
+
return r.call(this, o, n);
|
|
3903
|
+
if (l.isRegExp(r))
|
|
3904
|
+
return r.exec(o);
|
|
3905
|
+
throw new TypeError("parser must be boolean|regexp|function");
|
|
3906
|
+
}
|
|
3907
|
+
}
|
|
3908
|
+
}
|
|
3909
|
+
has(t, r) {
|
|
3910
|
+
if (t = ge(t), t) {
|
|
3911
|
+
const n = l.findKey(this, t);
|
|
3912
|
+
return !!(n && this[n] !== void 0 && (!r || Ve(this, this[n], n, r)));
|
|
3913
|
+
}
|
|
3914
|
+
return !1;
|
|
3915
|
+
}
|
|
3916
|
+
delete(t, r) {
|
|
3917
|
+
const n = this;
|
|
3918
|
+
let o = !1;
|
|
3919
|
+
function s(i) {
|
|
3920
|
+
if (i = ge(i), i) {
|
|
3921
|
+
const a = l.findKey(n, i);
|
|
3922
|
+
a && (!r || Ve(n, n[a], a, r)) && (delete n[a], o = !0);
|
|
3923
|
+
}
|
|
3924
|
+
}
|
|
3925
|
+
return l.isArray(t) ? t.forEach(s) : s(t), o;
|
|
3926
|
+
}
|
|
3927
|
+
clear(t) {
|
|
3928
|
+
const r = Object.keys(this);
|
|
3929
|
+
let n = r.length, o = !1;
|
|
3930
|
+
for (; n--; ) {
|
|
3931
|
+
const s = r[n];
|
|
3932
|
+
(!t || Ve(this, this[s], s, t, !0)) && (delete this[s], o = !0);
|
|
3933
|
+
}
|
|
3934
|
+
return o;
|
|
3935
|
+
}
|
|
3936
|
+
normalize(t) {
|
|
3937
|
+
const r = this, n = {};
|
|
3938
|
+
return l.forEach(this, (o, s) => {
|
|
3939
|
+
const i = l.findKey(n, s);
|
|
3940
|
+
if (i) {
|
|
3941
|
+
r[i] = Pe(o), delete r[s];
|
|
3942
|
+
return;
|
|
3943
|
+
}
|
|
3944
|
+
const a = t ? Wo(s) : String(s).trim();
|
|
3945
|
+
a !== s && delete r[s], r[a] = Pe(o), n[a] = !0;
|
|
3946
|
+
}), this;
|
|
3947
|
+
}
|
|
3948
|
+
concat(...t) {
|
|
3949
|
+
return this.constructor.concat(this, ...t);
|
|
3950
|
+
}
|
|
3951
|
+
toJSON(t) {
|
|
3952
|
+
const r = /* @__PURE__ */ Object.create(null);
|
|
3953
|
+
return l.forEach(this, (n, o) => {
|
|
3954
|
+
n != null && n !== !1 && (r[o] = t && l.isArray(n) ? n.join(", ") : n);
|
|
3955
|
+
}), r;
|
|
3956
|
+
}
|
|
3957
|
+
[Symbol.iterator]() {
|
|
3958
|
+
return Object.entries(this.toJSON())[Symbol.iterator]();
|
|
3959
|
+
}
|
|
3960
|
+
toString() {
|
|
3961
|
+
return Object.entries(this.toJSON()).map(([t, r]) => t + ": " + r).join(`
|
|
3962
|
+
`);
|
|
3963
|
+
}
|
|
3964
|
+
getSetCookie() {
|
|
3965
|
+
return this.get("set-cookie") || [];
|
|
3966
|
+
}
|
|
3967
|
+
get [Symbol.toStringTag]() {
|
|
3968
|
+
return "AxiosHeaders";
|
|
3969
|
+
}
|
|
3970
|
+
static from(t) {
|
|
3971
|
+
return t instanceof this ? t : new this(t);
|
|
3972
|
+
}
|
|
3973
|
+
static concat(t, ...r) {
|
|
3974
|
+
const n = new this(t);
|
|
3975
|
+
return r.forEach((o) => n.set(o)), n;
|
|
3976
|
+
}
|
|
3977
|
+
static accessor(t) {
|
|
3978
|
+
const n = (this[Ot] = this[Ot] = {
|
|
3979
|
+
accessors: {}
|
|
3980
|
+
}).accessors, o = this.prototype;
|
|
3981
|
+
function s(i) {
|
|
3982
|
+
const a = ge(i);
|
|
3983
|
+
n[a] || (Go(o, i), n[a] = !0);
|
|
3984
|
+
}
|
|
3985
|
+
return l.isArray(t) ? t.forEach(s) : s(t), this;
|
|
3986
|
+
}
|
|
3987
|
+
};
|
|
3988
|
+
q.accessor(["Content-Type", "Content-Length", "Accept", "Accept-Encoding", "User-Agent", "Authorization"]);
|
|
3989
|
+
l.reduceDescriptors(q.prototype, ({ value: e }, t) => {
|
|
3990
|
+
let r = t[0].toUpperCase() + t.slice(1);
|
|
3991
|
+
return {
|
|
3992
|
+
get: () => e,
|
|
3993
|
+
set(n) {
|
|
3994
|
+
this[r] = n;
|
|
3995
|
+
}
|
|
3996
|
+
};
|
|
3997
|
+
});
|
|
3998
|
+
l.freezeMethods(q);
|
|
3999
|
+
function He(e, t) {
|
|
4000
|
+
const r = this || ke, n = t || r, o = q.from(n.headers);
|
|
4001
|
+
let s = n.data;
|
|
4002
|
+
return l.forEach(e, function(a) {
|
|
4003
|
+
s = a.call(r, s, o.normalize(), t ? t.status : void 0);
|
|
4004
|
+
}), o.normalize(), s;
|
|
4005
|
+
}
|
|
4006
|
+
function xr(e) {
|
|
4007
|
+
return !!(e && e.__CANCEL__);
|
|
4008
|
+
}
|
|
4009
|
+
function fe(e, t, r) {
|
|
4010
|
+
x.call(this, e ?? "canceled", x.ERR_CANCELED, t, r), this.name = "CanceledError";
|
|
4011
|
+
}
|
|
4012
|
+
l.inherits(fe, x, {
|
|
4013
|
+
__CANCEL__: !0
|
|
4014
|
+
});
|
|
4015
|
+
function kr(e, t, r) {
|
|
4016
|
+
const n = r.config.validateStatus;
|
|
4017
|
+
!r.status || !n || n(r.status) ? e(r) : t(new x(
|
|
4018
|
+
"Request failed with status code " + r.status,
|
|
4019
|
+
[x.ERR_BAD_REQUEST, x.ERR_BAD_RESPONSE][Math.floor(r.status / 100) - 4],
|
|
4020
|
+
r.config,
|
|
4021
|
+
r.request,
|
|
4022
|
+
r
|
|
4023
|
+
));
|
|
4024
|
+
}
|
|
4025
|
+
function Jo(e) {
|
|
4026
|
+
const t = /^([-+\w]{1,25})(:?\/\/|:)/.exec(e);
|
|
4027
|
+
return t && t[1] || "";
|
|
4028
|
+
}
|
|
4029
|
+
function Ko(e, t) {
|
|
4030
|
+
e = e || 10;
|
|
4031
|
+
const r = new Array(e), n = new Array(e);
|
|
4032
|
+
let o = 0, s = 0, i;
|
|
4033
|
+
return t = t !== void 0 ? t : 1e3, function(d) {
|
|
4034
|
+
const c = Date.now(), u = n[s];
|
|
4035
|
+
i || (i = c), r[o] = d, n[o] = c;
|
|
4036
|
+
let p = s, k = 0;
|
|
4037
|
+
for (; p !== o; )
|
|
4038
|
+
k += r[p++], p = p % e;
|
|
4039
|
+
if (o = (o + 1) % e, o === s && (s = (s + 1) % e), c - i < t)
|
|
4040
|
+
return;
|
|
4041
|
+
const R = u && c - u;
|
|
4042
|
+
return R ? Math.round(k * 1e3 / R) : void 0;
|
|
4043
|
+
};
|
|
4044
|
+
}
|
|
4045
|
+
function Xo(e, t) {
|
|
4046
|
+
let r = 0, n = 1e3 / t, o, s;
|
|
4047
|
+
const i = (c, u = Date.now()) => {
|
|
4048
|
+
r = u, o = null, s && (clearTimeout(s), s = null), e(...c);
|
|
4049
|
+
};
|
|
4050
|
+
return [(...c) => {
|
|
4051
|
+
const u = Date.now(), p = u - r;
|
|
4052
|
+
p >= n ? i(c, u) : (o = c, s || (s = setTimeout(() => {
|
|
4053
|
+
s = null, i(o);
|
|
4054
|
+
}, n - p)));
|
|
4055
|
+
}, () => o && i(o)];
|
|
4056
|
+
}
|
|
4057
|
+
const Le = (e, t, r = 3) => {
|
|
4058
|
+
let n = 0;
|
|
4059
|
+
const o = Ko(50, 250);
|
|
4060
|
+
return Xo((s) => {
|
|
4061
|
+
const i = s.loaded, a = s.lengthComputable ? s.total : void 0, d = i - n, c = o(d), u = i <= a;
|
|
4062
|
+
n = i;
|
|
4063
|
+
const p = {
|
|
4064
|
+
loaded: i,
|
|
4065
|
+
total: a,
|
|
4066
|
+
progress: a ? i / a : void 0,
|
|
4067
|
+
bytes: d,
|
|
4068
|
+
rate: c || void 0,
|
|
4069
|
+
estimated: c && a && u ? (a - i) / c : void 0,
|
|
4070
|
+
event: s,
|
|
4071
|
+
lengthComputable: a != null,
|
|
4072
|
+
[t ? "download" : "upload"]: !0
|
|
4073
|
+
};
|
|
4074
|
+
e(p);
|
|
4075
|
+
}, r);
|
|
4076
|
+
}, Tt = (e, t) => {
|
|
4077
|
+
const r = e != null;
|
|
4078
|
+
return [(n) => t[0]({
|
|
4079
|
+
lengthComputable: r,
|
|
4080
|
+
total: e,
|
|
4081
|
+
loaded: n
|
|
4082
|
+
}), t[1]];
|
|
4083
|
+
}, Nt = (e) => (...t) => l.asap(() => e(...t)), Zo = B.hasStandardBrowserEnv ? /* @__PURE__ */ ((e, t) => (r) => (r = new URL(r, B.origin), e.protocol === r.protocol && e.host === r.host && (t || e.port === r.port)))(
|
|
4084
|
+
new URL(B.origin),
|
|
4085
|
+
B.navigator && /(msie|trident)/i.test(B.navigator.userAgent)
|
|
4086
|
+
) : () => !0, Qo = B.hasStandardBrowserEnv ? (
|
|
4087
|
+
// Standard browser envs support document.cookie
|
|
4088
|
+
{
|
|
4089
|
+
write(e, t, r, n, o, s) {
|
|
4090
|
+
const i = [e + "=" + encodeURIComponent(t)];
|
|
4091
|
+
l.isNumber(r) && i.push("expires=" + new Date(r).toGMTString()), l.isString(n) && i.push("path=" + n), l.isString(o) && i.push("domain=" + o), s === !0 && i.push("secure"), document.cookie = i.join("; ");
|
|
4092
|
+
},
|
|
4093
|
+
read(e) {
|
|
4094
|
+
const t = document.cookie.match(new RegExp("(^|;\\s*)(" + e + ")=([^;]*)"));
|
|
4095
|
+
return t ? decodeURIComponent(t[3]) : null;
|
|
4096
|
+
},
|
|
4097
|
+
remove(e) {
|
|
4098
|
+
this.write(e, "", Date.now() - 864e5);
|
|
4099
|
+
}
|
|
4100
|
+
}
|
|
4101
|
+
) : (
|
|
4102
|
+
// Non-standard browser env (web workers, react-native) lack needed support.
|
|
4103
|
+
{
|
|
4104
|
+
write() {
|
|
4105
|
+
},
|
|
4106
|
+
read() {
|
|
4107
|
+
return null;
|
|
4108
|
+
},
|
|
4109
|
+
remove() {
|
|
4110
|
+
}
|
|
4111
|
+
}
|
|
4112
|
+
);
|
|
4113
|
+
function Yo(e) {
|
|
4114
|
+
return /^([a-z][a-z\d+\-.]*:)?\/\//i.test(e);
|
|
4115
|
+
}
|
|
4116
|
+
function es(e, t) {
|
|
4117
|
+
return t ? e.replace(/\/?\/$/, "") + "/" + t.replace(/^\/+/, "") : e;
|
|
4118
|
+
}
|
|
4119
|
+
function Sr(e, t, r) {
|
|
4120
|
+
let n = !Yo(t);
|
|
4121
|
+
return e && (n || r == !1) ? es(e, t) : t;
|
|
4122
|
+
}
|
|
4123
|
+
const Pt = (e) => e instanceof q ? { ...e } : e;
|
|
4124
|
+
function se(e, t) {
|
|
4125
|
+
t = t || {};
|
|
4126
|
+
const r = {};
|
|
4127
|
+
function n(c, u, p, k) {
|
|
4128
|
+
return l.isPlainObject(c) && l.isPlainObject(u) ? l.merge.call({ caseless: k }, c, u) : l.isPlainObject(u) ? l.merge({}, u) : l.isArray(u) ? u.slice() : u;
|
|
4129
|
+
}
|
|
4130
|
+
function o(c, u, p, k) {
|
|
4131
|
+
if (l.isUndefined(u)) {
|
|
4132
|
+
if (!l.isUndefined(c))
|
|
4133
|
+
return n(void 0, c, p, k);
|
|
4134
|
+
} else return n(c, u, p, k);
|
|
4135
|
+
}
|
|
4136
|
+
function s(c, u) {
|
|
4137
|
+
if (!l.isUndefined(u))
|
|
4138
|
+
return n(void 0, u);
|
|
4139
|
+
}
|
|
4140
|
+
function i(c, u) {
|
|
4141
|
+
if (l.isUndefined(u)) {
|
|
4142
|
+
if (!l.isUndefined(c))
|
|
4143
|
+
return n(void 0, c);
|
|
4144
|
+
} else return n(void 0, u);
|
|
4145
|
+
}
|
|
4146
|
+
function a(c, u, p) {
|
|
4147
|
+
if (p in t)
|
|
4148
|
+
return n(c, u);
|
|
4149
|
+
if (p in e)
|
|
4150
|
+
return n(void 0, c);
|
|
4151
|
+
}
|
|
4152
|
+
const d = {
|
|
4153
|
+
url: s,
|
|
4154
|
+
method: s,
|
|
4155
|
+
data: s,
|
|
4156
|
+
baseURL: i,
|
|
4157
|
+
transformRequest: i,
|
|
4158
|
+
transformResponse: i,
|
|
4159
|
+
paramsSerializer: i,
|
|
4160
|
+
timeout: i,
|
|
4161
|
+
timeoutMessage: i,
|
|
4162
|
+
withCredentials: i,
|
|
4163
|
+
withXSRFToken: i,
|
|
4164
|
+
adapter: i,
|
|
4165
|
+
responseType: i,
|
|
4166
|
+
xsrfCookieName: i,
|
|
4167
|
+
xsrfHeaderName: i,
|
|
4168
|
+
onUploadProgress: i,
|
|
4169
|
+
onDownloadProgress: i,
|
|
4170
|
+
decompress: i,
|
|
4171
|
+
maxContentLength: i,
|
|
4172
|
+
maxBodyLength: i,
|
|
4173
|
+
beforeRedirect: i,
|
|
4174
|
+
transport: i,
|
|
4175
|
+
httpAgent: i,
|
|
4176
|
+
httpsAgent: i,
|
|
4177
|
+
cancelToken: i,
|
|
4178
|
+
socketPath: i,
|
|
4179
|
+
responseEncoding: i,
|
|
4180
|
+
validateStatus: a,
|
|
4181
|
+
headers: (c, u, p) => o(Pt(c), Pt(u), p, !0)
|
|
4182
|
+
};
|
|
4183
|
+
return l.forEach(Object.keys({ ...e, ...t }), function(u) {
|
|
4184
|
+
const p = d[u] || o, k = p(e[u], t[u], u);
|
|
4185
|
+
l.isUndefined(k) && p !== a || (r[u] = k);
|
|
4186
|
+
}), r;
|
|
4187
|
+
}
|
|
4188
|
+
const Er = (e) => {
|
|
4189
|
+
const t = se({}, e);
|
|
4190
|
+
let { data: r, withXSRFToken: n, xsrfHeaderName: o, xsrfCookieName: s, headers: i, auth: a } = t;
|
|
4191
|
+
if (t.headers = i = q.from(i), t.url = gr(Sr(t.baseURL, t.url, t.allowAbsoluteUrls), e.params, e.paramsSerializer), a && i.set(
|
|
4192
|
+
"Authorization",
|
|
4193
|
+
"Basic " + btoa((a.username || "") + ":" + (a.password ? unescape(encodeURIComponent(a.password)) : ""))
|
|
4194
|
+
), l.isFormData(r)) {
|
|
4195
|
+
if (B.hasStandardBrowserEnv || B.hasStandardBrowserWebWorkerEnv)
|
|
4196
|
+
i.setContentType(void 0);
|
|
4197
|
+
else if (l.isFunction(r.getHeaders)) {
|
|
4198
|
+
const d = r.getHeaders(), c = ["content-type", "content-length"];
|
|
4199
|
+
Object.entries(d).forEach(([u, p]) => {
|
|
4200
|
+
c.includes(u.toLowerCase()) && i.set(u, p);
|
|
4201
|
+
});
|
|
4202
|
+
}
|
|
4203
|
+
}
|
|
4204
|
+
if (B.hasStandardBrowserEnv && (n && l.isFunction(n) && (n = n(t)), n || n !== !1 && Zo(t.url))) {
|
|
4205
|
+
const d = o && s && Qo.read(s);
|
|
4206
|
+
d && i.set(o, d);
|
|
4207
|
+
}
|
|
4208
|
+
return t;
|
|
4209
|
+
}, ts = typeof XMLHttpRequest < "u", rs = ts && function(e) {
|
|
4210
|
+
return new Promise(function(r, n) {
|
|
4211
|
+
const o = Er(e);
|
|
4212
|
+
let s = o.data;
|
|
4213
|
+
const i = q.from(o.headers).normalize();
|
|
4214
|
+
let { responseType: a, onUploadProgress: d, onDownloadProgress: c } = o, u, p, k, R, f;
|
|
4215
|
+
function g() {
|
|
4216
|
+
R && R(), f && f(), o.cancelToken && o.cancelToken.unsubscribe(u), o.signal && o.signal.removeEventListener("abort", u);
|
|
4217
|
+
}
|
|
4218
|
+
let m = new XMLHttpRequest();
|
|
4219
|
+
m.open(o.method.toUpperCase(), o.url, !0), m.timeout = o.timeout;
|
|
4220
|
+
function E() {
|
|
4221
|
+
if (!m)
|
|
4222
|
+
return;
|
|
4223
|
+
const v = q.from(
|
|
4224
|
+
"getAllResponseHeaders" in m && m.getAllResponseHeaders()
|
|
4225
|
+
), _ = {
|
|
4226
|
+
data: !a || a === "text" || a === "json" ? m.responseText : m.response,
|
|
4227
|
+
status: m.status,
|
|
4228
|
+
statusText: m.statusText,
|
|
4229
|
+
headers: v,
|
|
4230
|
+
config: e,
|
|
4231
|
+
request: m
|
|
4232
|
+
};
|
|
4233
|
+
kr(function(L) {
|
|
4234
|
+
r(L), g();
|
|
4235
|
+
}, function(L) {
|
|
4236
|
+
n(L), g();
|
|
4237
|
+
}, _), m = null;
|
|
4238
|
+
}
|
|
4239
|
+
"onloadend" in m ? m.onloadend = E : m.onreadystatechange = function() {
|
|
4240
|
+
!m || m.readyState !== 4 || m.status === 0 && !(m.responseURL && m.responseURL.indexOf("file:") === 0) || setTimeout(E);
|
|
4241
|
+
}, m.onabort = function() {
|
|
4242
|
+
m && (n(new x("Request aborted", x.ECONNABORTED, e, m)), m = null);
|
|
4243
|
+
}, m.onerror = function(C) {
|
|
4244
|
+
const _ = C && C.message ? C.message : "Network Error", I = new x(_, x.ERR_NETWORK, e, m);
|
|
4245
|
+
I.event = C || null, n(I), m = null;
|
|
4246
|
+
}, m.ontimeout = function() {
|
|
4247
|
+
let C = o.timeout ? "timeout of " + o.timeout + "ms exceeded" : "timeout exceeded";
|
|
4248
|
+
const _ = o.transitional || yr;
|
|
4249
|
+
o.timeoutErrorMessage && (C = o.timeoutErrorMessage), n(new x(
|
|
4250
|
+
C,
|
|
4251
|
+
_.clarifyTimeoutError ? x.ETIMEDOUT : x.ECONNABORTED,
|
|
4252
|
+
e,
|
|
4253
|
+
m
|
|
4254
|
+
)), m = null;
|
|
4255
|
+
}, s === void 0 && i.setContentType(null), "setRequestHeader" in m && l.forEach(i.toJSON(), function(C, _) {
|
|
4256
|
+
m.setRequestHeader(_, C);
|
|
4257
|
+
}), l.isUndefined(o.withCredentials) || (m.withCredentials = !!o.withCredentials), a && a !== "json" && (m.responseType = o.responseType), c && ([k, f] = Le(c, !0), m.addEventListener("progress", k)), d && m.upload && ([p, R] = Le(d), m.upload.addEventListener("progress", p), m.upload.addEventListener("loadend", R)), (o.cancelToken || o.signal) && (u = (v) => {
|
|
4258
|
+
m && (n(!v || v.type ? new fe(null, e, m) : v), m.abort(), m = null);
|
|
4259
|
+
}, o.cancelToken && o.cancelToken.subscribe(u), o.signal && (o.signal.aborted ? u() : o.signal.addEventListener("abort", u)));
|
|
4260
|
+
const j = Jo(o.url);
|
|
4261
|
+
if (j && B.protocols.indexOf(j) === -1) {
|
|
4262
|
+
n(new x("Unsupported protocol " + j + ":", x.ERR_BAD_REQUEST, e));
|
|
4263
|
+
return;
|
|
4264
|
+
}
|
|
4265
|
+
m.send(s || null);
|
|
4266
|
+
});
|
|
4267
|
+
}, ns = (e, t) => {
|
|
4268
|
+
const { length: r } = e = e ? e.filter(Boolean) : [];
|
|
4269
|
+
if (t || r) {
|
|
4270
|
+
let n = new AbortController(), o;
|
|
4271
|
+
const s = function(c) {
|
|
4272
|
+
if (!o) {
|
|
4273
|
+
o = !0, a();
|
|
4274
|
+
const u = c instanceof Error ? c : this.reason;
|
|
4275
|
+
n.abort(u instanceof x ? u : new fe(u instanceof Error ? u.message : u));
|
|
4276
|
+
}
|
|
4277
|
+
};
|
|
4278
|
+
let i = t && setTimeout(() => {
|
|
4279
|
+
i = null, s(new x(`timeout ${t} of ms exceeded`, x.ETIMEDOUT));
|
|
4280
|
+
}, t);
|
|
4281
|
+
const a = () => {
|
|
4282
|
+
e && (i && clearTimeout(i), i = null, e.forEach((c) => {
|
|
4283
|
+
c.unsubscribe ? c.unsubscribe(s) : c.removeEventListener("abort", s);
|
|
4284
|
+
}), e = null);
|
|
4285
|
+
};
|
|
4286
|
+
e.forEach((c) => c.addEventListener("abort", s));
|
|
4287
|
+
const { signal: d } = n;
|
|
4288
|
+
return d.unsubscribe = () => l.asap(a), d;
|
|
4289
|
+
}
|
|
4290
|
+
}, os = function* (e, t) {
|
|
4291
|
+
let r = e.byteLength;
|
|
4292
|
+
if (r < t) {
|
|
4293
|
+
yield e;
|
|
4294
|
+
return;
|
|
4295
|
+
}
|
|
4296
|
+
let n = 0, o;
|
|
4297
|
+
for (; n < r; )
|
|
4298
|
+
o = n + t, yield e.slice(n, o), n = o;
|
|
4299
|
+
}, ss = async function* (e, t) {
|
|
4300
|
+
for await (const r of is(e))
|
|
4301
|
+
yield* os(r, t);
|
|
4302
|
+
}, is = async function* (e) {
|
|
4303
|
+
if (e[Symbol.asyncIterator]) {
|
|
4304
|
+
yield* e;
|
|
4305
|
+
return;
|
|
4306
|
+
}
|
|
4307
|
+
const t = e.getReader();
|
|
4308
|
+
try {
|
|
4309
|
+
for (; ; ) {
|
|
4310
|
+
const { done: r, value: n } = await t.read();
|
|
4311
|
+
if (r)
|
|
4312
|
+
break;
|
|
4313
|
+
yield n;
|
|
4314
|
+
}
|
|
4315
|
+
} finally {
|
|
4316
|
+
await t.cancel();
|
|
4317
|
+
}
|
|
4318
|
+
}, _t = (e, t, r, n) => {
|
|
4319
|
+
const o = ss(e, t);
|
|
4320
|
+
let s = 0, i, a = (d) => {
|
|
4321
|
+
i || (i = !0, n && n(d));
|
|
4322
|
+
};
|
|
4323
|
+
return new ReadableStream({
|
|
4324
|
+
async pull(d) {
|
|
4325
|
+
try {
|
|
4326
|
+
const { done: c, value: u } = await o.next();
|
|
4327
|
+
if (c) {
|
|
4328
|
+
a(), d.close();
|
|
4329
|
+
return;
|
|
4330
|
+
}
|
|
4331
|
+
let p = u.byteLength;
|
|
4332
|
+
if (r) {
|
|
4333
|
+
let k = s += p;
|
|
4334
|
+
r(k);
|
|
4335
|
+
}
|
|
4336
|
+
d.enqueue(new Uint8Array(u));
|
|
4337
|
+
} catch (c) {
|
|
4338
|
+
throw a(c), c;
|
|
4339
|
+
}
|
|
4340
|
+
},
|
|
4341
|
+
cancel(d) {
|
|
4342
|
+
return a(d), o.return();
|
|
4343
|
+
}
|
|
4344
|
+
}, {
|
|
4345
|
+
highWaterMark: 2
|
|
4346
|
+
});
|
|
4347
|
+
}, Lt = 64 * 1024, { isFunction: Te } = l, as = (({ Request: e, Response: t }) => ({
|
|
4348
|
+
Request: e,
|
|
4349
|
+
Response: t
|
|
4350
|
+
}))(l.global), {
|
|
4351
|
+
ReadableStream: Ft,
|
|
4352
|
+
TextEncoder: zt
|
|
4353
|
+
} = l.global, Ut = (e, ...t) => {
|
|
4354
|
+
try {
|
|
4355
|
+
return !!e(...t);
|
|
4356
|
+
} catch {
|
|
4357
|
+
return !1;
|
|
4358
|
+
}
|
|
4359
|
+
}, ls = (e) => {
|
|
4360
|
+
e = l.merge.call({
|
|
4361
|
+
skipUndefined: !0
|
|
4362
|
+
}, as, e);
|
|
4363
|
+
const { fetch: t, Request: r, Response: n } = e, o = t ? Te(t) : typeof fetch == "function", s = Te(r), i = Te(n);
|
|
4364
|
+
if (!o)
|
|
4365
|
+
return !1;
|
|
4366
|
+
const a = o && Te(Ft), d = o && (typeof zt == "function" ? /* @__PURE__ */ ((f) => (g) => f.encode(g))(new zt()) : async (f) => new Uint8Array(await new r(f).arrayBuffer())), c = s && a && Ut(() => {
|
|
4367
|
+
let f = !1;
|
|
4368
|
+
const g = new r(B.origin, {
|
|
4369
|
+
body: new Ft(),
|
|
4370
|
+
method: "POST",
|
|
4371
|
+
get duplex() {
|
|
4372
|
+
return f = !0, "half";
|
|
4373
|
+
}
|
|
4374
|
+
}).headers.has("Content-Type");
|
|
4375
|
+
return f && !g;
|
|
4376
|
+
}), u = i && a && Ut(() => l.isReadableStream(new n("").body)), p = {
|
|
4377
|
+
stream: u && ((f) => f.body)
|
|
4378
|
+
};
|
|
4379
|
+
o && ["text", "arrayBuffer", "blob", "formData", "stream"].forEach((f) => {
|
|
4380
|
+
!p[f] && (p[f] = (g, m) => {
|
|
4381
|
+
let E = g && g[f];
|
|
4382
|
+
if (E)
|
|
4383
|
+
return E.call(g);
|
|
4384
|
+
throw new x(`Response type '${f}' is not supported`, x.ERR_NOT_SUPPORT, m);
|
|
4385
|
+
});
|
|
4386
|
+
});
|
|
4387
|
+
const k = async (f) => {
|
|
4388
|
+
if (f == null)
|
|
4389
|
+
return 0;
|
|
4390
|
+
if (l.isBlob(f))
|
|
4391
|
+
return f.size;
|
|
4392
|
+
if (l.isSpecCompliantForm(f))
|
|
4393
|
+
return (await new r(B.origin, {
|
|
4394
|
+
method: "POST",
|
|
4395
|
+
body: f
|
|
4396
|
+
}).arrayBuffer()).byteLength;
|
|
4397
|
+
if (l.isArrayBufferView(f) || l.isArrayBuffer(f))
|
|
4398
|
+
return f.byteLength;
|
|
4399
|
+
if (l.isURLSearchParams(f) && (f = f + ""), l.isString(f))
|
|
4400
|
+
return (await d(f)).byteLength;
|
|
4401
|
+
}, R = async (f, g) => {
|
|
4402
|
+
const m = l.toFiniteNumber(f.getContentLength());
|
|
4403
|
+
return m ?? k(g);
|
|
4404
|
+
};
|
|
4405
|
+
return async (f) => {
|
|
4406
|
+
let {
|
|
4407
|
+
url: g,
|
|
4408
|
+
method: m,
|
|
4409
|
+
data: E,
|
|
4410
|
+
signal: j,
|
|
4411
|
+
cancelToken: v,
|
|
4412
|
+
timeout: C,
|
|
4413
|
+
onDownloadProgress: _,
|
|
4414
|
+
onUploadProgress: I,
|
|
4415
|
+
responseType: L,
|
|
4416
|
+
headers: w,
|
|
4417
|
+
withCredentials: M = "same-origin",
|
|
4418
|
+
fetchOptions: pe
|
|
4419
|
+
} = Er(f), me = t || fetch;
|
|
4420
|
+
L = L ? (L + "").toLowerCase() : "text";
|
|
4421
|
+
let K = ns([j, v && v.toAbortSignal()], C), Q = null;
|
|
4422
|
+
const $ = K && K.unsubscribe && (() => {
|
|
4423
|
+
K.unsubscribe();
|
|
4424
|
+
});
|
|
4425
|
+
let X;
|
|
4426
|
+
try {
|
|
4427
|
+
if (I && c && m !== "get" && m !== "head" && (X = await R(w, E)) !== 0) {
|
|
4428
|
+
let V = new r(g, {
|
|
4429
|
+
method: "POST",
|
|
4430
|
+
body: E,
|
|
4431
|
+
duplex: "half"
|
|
4432
|
+
}), G;
|
|
4433
|
+
if (l.isFormData(E) && (G = V.headers.get("content-type")) && w.setContentType(G), V.body) {
|
|
4434
|
+
const [N, F] = Tt(
|
|
4435
|
+
X,
|
|
4436
|
+
Le(Nt(I))
|
|
4437
|
+
);
|
|
4438
|
+
E = _t(V.body, Lt, N, F);
|
|
4439
|
+
}
|
|
4440
|
+
}
|
|
4441
|
+
l.isString(M) || (M = M ? "include" : "omit");
|
|
4442
|
+
const T = s && "credentials" in r.prototype, W = {
|
|
4443
|
+
...pe,
|
|
4444
|
+
signal: K,
|
|
4445
|
+
method: m.toUpperCase(),
|
|
4446
|
+
headers: w.normalize().toJSON(),
|
|
4447
|
+
body: E,
|
|
4448
|
+
duplex: "half",
|
|
4449
|
+
credentials: T ? M : void 0
|
|
4450
|
+
};
|
|
4451
|
+
Q = s && new r(g, W);
|
|
4452
|
+
let y = await (s ? me(Q, pe) : me(g, W));
|
|
4453
|
+
const he = u && (L === "stream" || L === "response");
|
|
4454
|
+
if (u && (_ || he && $)) {
|
|
4455
|
+
const V = {};
|
|
4456
|
+
["status", "statusText", "headers"].forEach((ee) => {
|
|
4457
|
+
V[ee] = y[ee];
|
|
4458
|
+
});
|
|
4459
|
+
const G = l.toFiniteNumber(y.headers.get("content-length")), [N, F] = _ && Tt(
|
|
4460
|
+
G,
|
|
4461
|
+
Le(Nt(_), !0)
|
|
4462
|
+
) || [];
|
|
4463
|
+
y = new n(
|
|
4464
|
+
_t(y.body, Lt, N, () => {
|
|
4465
|
+
F && F(), $ && $();
|
|
4466
|
+
}),
|
|
4467
|
+
V
|
|
4468
|
+
);
|
|
4469
|
+
}
|
|
4470
|
+
L = L || "text";
|
|
4471
|
+
let Se = await p[l.findKey(p, L) || "text"](y, f);
|
|
4472
|
+
return !he && $ && $(), await new Promise((V, G) => {
|
|
4473
|
+
kr(V, G, {
|
|
4474
|
+
data: Se,
|
|
4475
|
+
headers: q.from(y.headers),
|
|
4476
|
+
status: y.status,
|
|
4477
|
+
statusText: y.statusText,
|
|
4478
|
+
config: f,
|
|
4479
|
+
request: Q
|
|
4480
|
+
});
|
|
4481
|
+
});
|
|
4482
|
+
} catch (T) {
|
|
4483
|
+
throw $ && $(), T && T.name === "TypeError" && /Load failed|fetch/i.test(T.message) ? Object.assign(
|
|
4484
|
+
new x("Network Error", x.ERR_NETWORK, f, Q),
|
|
4485
|
+
{
|
|
4486
|
+
cause: T.cause || T
|
|
4487
|
+
}
|
|
4488
|
+
) : x.from(T, T && T.code, f, Q);
|
|
4489
|
+
}
|
|
4490
|
+
};
|
|
4491
|
+
}, cs = /* @__PURE__ */ new Map(), Rr = (e) => {
|
|
4492
|
+
let t = e ? e.env : {};
|
|
4493
|
+
const { fetch: r, Request: n, Response: o } = t, s = [
|
|
4494
|
+
n,
|
|
4495
|
+
o,
|
|
4496
|
+
r
|
|
4497
|
+
];
|
|
4498
|
+
let i = s.length, a = i, d, c, u = cs;
|
|
4499
|
+
for (; a--; )
|
|
4500
|
+
d = s[a], c = u.get(d), c === void 0 && u.set(d, c = a ? /* @__PURE__ */ new Map() : ls(t)), u = c;
|
|
4501
|
+
return c;
|
|
4502
|
+
};
|
|
4503
|
+
Rr();
|
|
4504
|
+
const rt = {
|
|
4505
|
+
http: Ao,
|
|
4506
|
+
xhr: rs,
|
|
4507
|
+
fetch: {
|
|
4508
|
+
get: Rr
|
|
4509
|
+
}
|
|
4510
|
+
};
|
|
4511
|
+
l.forEach(rt, (e, t) => {
|
|
4512
|
+
if (e) {
|
|
4513
|
+
try {
|
|
4514
|
+
Object.defineProperty(e, "name", { value: t });
|
|
4515
|
+
} catch {
|
|
4516
|
+
}
|
|
4517
|
+
Object.defineProperty(e, "adapterName", { value: t });
|
|
4518
|
+
}
|
|
4519
|
+
});
|
|
4520
|
+
const jt = (e) => `- ${e}`, us = (e) => l.isFunction(e) || e === null || e === !1, vr = {
|
|
4521
|
+
getAdapter: (e, t) => {
|
|
4522
|
+
e = l.isArray(e) ? e : [e];
|
|
4523
|
+
const { length: r } = e;
|
|
4524
|
+
let n, o;
|
|
4525
|
+
const s = {};
|
|
4526
|
+
for (let i = 0; i < r; i++) {
|
|
4527
|
+
n = e[i];
|
|
4528
|
+
let a;
|
|
4529
|
+
if (o = n, !us(n) && (o = rt[(a = String(n)).toLowerCase()], o === void 0))
|
|
4530
|
+
throw new x(`Unknown adapter '${a}'`);
|
|
4531
|
+
if (o && (l.isFunction(o) || (o = o.get(t))))
|
|
4532
|
+
break;
|
|
4533
|
+
s[a || "#" + i] = o;
|
|
4534
|
+
}
|
|
4535
|
+
if (!o) {
|
|
4536
|
+
const i = Object.entries(s).map(
|
|
4537
|
+
([d, c]) => `adapter ${d} ` + (c === !1 ? "is not supported by the environment" : "is not available in the build")
|
|
4538
|
+
);
|
|
4539
|
+
let a = r ? i.length > 1 ? `since :
|
|
4540
|
+
` + i.map(jt).join(`
|
|
4541
|
+
`) : " " + jt(i[0]) : "as no adapter specified";
|
|
4542
|
+
throw new x(
|
|
4543
|
+
"There is no suitable adapter to dispatch the request " + a,
|
|
4544
|
+
"ERR_NOT_SUPPORT"
|
|
4545
|
+
);
|
|
4546
|
+
}
|
|
4547
|
+
return o;
|
|
4548
|
+
},
|
|
4549
|
+
adapters: rt
|
|
4550
|
+
};
|
|
4551
|
+
function We(e) {
|
|
4552
|
+
if (e.cancelToken && e.cancelToken.throwIfRequested(), e.signal && e.signal.aborted)
|
|
4553
|
+
throw new fe(null, e);
|
|
4554
|
+
}
|
|
4555
|
+
function Bt(e) {
|
|
4556
|
+
return We(e), e.headers = q.from(e.headers), e.data = He.call(
|
|
4557
|
+
e,
|
|
4558
|
+
e.transformRequest
|
|
4559
|
+
), ["post", "put", "patch"].indexOf(e.method) !== -1 && e.headers.setContentType("application/x-www-form-urlencoded", !1), vr.getAdapter(e.adapter || ke.adapter, e)(e).then(function(n) {
|
|
4560
|
+
return We(e), n.data = He.call(
|
|
4561
|
+
e,
|
|
4562
|
+
e.transformResponse,
|
|
4563
|
+
n
|
|
4564
|
+
), n.headers = q.from(n.headers), n;
|
|
4565
|
+
}, function(n) {
|
|
4566
|
+
return xr(n) || (We(e), n && n.response && (n.response.data = He.call(
|
|
4567
|
+
e,
|
|
4568
|
+
e.transformResponse,
|
|
4569
|
+
n.response
|
|
4570
|
+
), n.response.headers = q.from(n.response.headers))), Promise.reject(n);
|
|
4571
|
+
});
|
|
4572
|
+
}
|
|
4573
|
+
const Ar = "1.12.2", Ie = {};
|
|
4574
|
+
["object", "boolean", "number", "function", "string", "symbol"].forEach((e, t) => {
|
|
4575
|
+
Ie[e] = function(n) {
|
|
4576
|
+
return typeof n === e || "a" + (t < 1 ? "n " : " ") + e;
|
|
4577
|
+
};
|
|
4578
|
+
});
|
|
4579
|
+
const It = {};
|
|
4580
|
+
Ie.transitional = function(t, r, n) {
|
|
4581
|
+
function o(s, i) {
|
|
4582
|
+
return "[Axios v" + Ar + "] Transitional option '" + s + "'" + i + (n ? ". " + n : "");
|
|
4583
|
+
}
|
|
4584
|
+
return (s, i, a) => {
|
|
4585
|
+
if (t === !1)
|
|
4586
|
+
throw new x(
|
|
4587
|
+
o(i, " has been removed" + (r ? " in " + r : "")),
|
|
4588
|
+
x.ERR_DEPRECATED
|
|
4589
|
+
);
|
|
4590
|
+
return r && !It[i] && (It[i] = !0, console.warn(
|
|
4591
|
+
o(
|
|
4592
|
+
i,
|
|
4593
|
+
" has been deprecated since v" + r + " and will be removed in the near future"
|
|
4594
|
+
)
|
|
4595
|
+
)), t ? t(s, i, a) : !0;
|
|
4596
|
+
};
|
|
4597
|
+
};
|
|
4598
|
+
Ie.spelling = function(t) {
|
|
4599
|
+
return (r, n) => (console.warn(`${n} is likely a misspelling of ${t}`), !0);
|
|
4600
|
+
};
|
|
4601
|
+
function ds(e, t, r) {
|
|
4602
|
+
if (typeof e != "object")
|
|
4603
|
+
throw new x("options must be an object", x.ERR_BAD_OPTION_VALUE);
|
|
4604
|
+
const n = Object.keys(e);
|
|
4605
|
+
let o = n.length;
|
|
4606
|
+
for (; o-- > 0; ) {
|
|
4607
|
+
const s = n[o], i = t[s];
|
|
4608
|
+
if (i) {
|
|
4609
|
+
const a = e[s], d = a === void 0 || i(a, s, e);
|
|
4610
|
+
if (d !== !0)
|
|
4611
|
+
throw new x("option " + s + " must be " + d, x.ERR_BAD_OPTION_VALUE);
|
|
4612
|
+
continue;
|
|
4613
|
+
}
|
|
4614
|
+
if (r !== !0)
|
|
4615
|
+
throw new x("Unknown option " + s, x.ERR_BAD_OPTION);
|
|
4616
|
+
}
|
|
4617
|
+
}
|
|
4618
|
+
const _e = {
|
|
4619
|
+
assertOptions: ds,
|
|
4620
|
+
validators: Ie
|
|
4621
|
+
}, J = _e.validators;
|
|
4622
|
+
let oe = class {
|
|
4623
|
+
constructor(t) {
|
|
4624
|
+
this.defaults = t || {}, this.interceptors = {
|
|
4625
|
+
request: new Ct(),
|
|
4626
|
+
response: new Ct()
|
|
4627
|
+
};
|
|
4628
|
+
}
|
|
4629
|
+
/**
|
|
4630
|
+
* Dispatch a request
|
|
4631
|
+
*
|
|
4632
|
+
* @param {String|Object} configOrUrl The config specific for this request (merged with this.defaults)
|
|
4633
|
+
* @param {?Object} config
|
|
4634
|
+
*
|
|
4635
|
+
* @returns {Promise} The Promise to be fulfilled
|
|
4636
|
+
*/
|
|
4637
|
+
async request(t, r) {
|
|
4638
|
+
try {
|
|
4639
|
+
return await this._request(t, r);
|
|
4640
|
+
} catch (n) {
|
|
4641
|
+
if (n instanceof Error) {
|
|
4642
|
+
let o = {};
|
|
4643
|
+
Error.captureStackTrace ? Error.captureStackTrace(o) : o = new Error();
|
|
4644
|
+
const s = o.stack ? o.stack.replace(/^.+\n/, "") : "";
|
|
4645
|
+
try {
|
|
4646
|
+
n.stack ? s && !String(n.stack).endsWith(s.replace(/^.+\n.+\n/, "")) && (n.stack += `
|
|
4647
|
+
` + s) : n.stack = s;
|
|
4648
|
+
} catch {
|
|
4649
|
+
}
|
|
4650
|
+
}
|
|
4651
|
+
throw n;
|
|
4652
|
+
}
|
|
4653
|
+
}
|
|
4654
|
+
_request(t, r) {
|
|
4655
|
+
typeof t == "string" ? (r = r || {}, r.url = t) : r = t || {}, r = se(this.defaults, r);
|
|
4656
|
+
const { transitional: n, paramsSerializer: o, headers: s } = r;
|
|
4657
|
+
n !== void 0 && _e.assertOptions(n, {
|
|
4658
|
+
silentJSONParsing: J.transitional(J.boolean),
|
|
4659
|
+
forcedJSONParsing: J.transitional(J.boolean),
|
|
4660
|
+
clarifyTimeoutError: J.transitional(J.boolean)
|
|
4661
|
+
}, !1), o != null && (l.isFunction(o) ? r.paramsSerializer = {
|
|
4662
|
+
serialize: o
|
|
4663
|
+
} : _e.assertOptions(o, {
|
|
4664
|
+
encode: J.function,
|
|
4665
|
+
serialize: J.function
|
|
4666
|
+
}, !0)), r.allowAbsoluteUrls !== void 0 || (this.defaults.allowAbsoluteUrls !== void 0 ? r.allowAbsoluteUrls = this.defaults.allowAbsoluteUrls : r.allowAbsoluteUrls = !0), _e.assertOptions(r, {
|
|
4667
|
+
baseUrl: J.spelling("baseURL"),
|
|
4668
|
+
withXsrfToken: J.spelling("withXSRFToken")
|
|
4669
|
+
}, !0), r.method = (r.method || this.defaults.method || "get").toLowerCase();
|
|
4670
|
+
let i = s && l.merge(
|
|
4671
|
+
s.common,
|
|
4672
|
+
s[r.method]
|
|
4673
|
+
);
|
|
4674
|
+
s && l.forEach(
|
|
4675
|
+
["delete", "get", "head", "post", "put", "patch", "common"],
|
|
4676
|
+
(f) => {
|
|
4677
|
+
delete s[f];
|
|
4678
|
+
}
|
|
4679
|
+
), r.headers = q.concat(i, s);
|
|
4680
|
+
const a = [];
|
|
4681
|
+
let d = !0;
|
|
4682
|
+
this.interceptors.request.forEach(function(g) {
|
|
4683
|
+
typeof g.runWhen == "function" && g.runWhen(r) === !1 || (d = d && g.synchronous, a.unshift(g.fulfilled, g.rejected));
|
|
4684
|
+
});
|
|
4685
|
+
const c = [];
|
|
4686
|
+
this.interceptors.response.forEach(function(g) {
|
|
4687
|
+
c.push(g.fulfilled, g.rejected);
|
|
4688
|
+
});
|
|
4689
|
+
let u, p = 0, k;
|
|
4690
|
+
if (!d) {
|
|
4691
|
+
const f = [Bt.bind(this), void 0];
|
|
4692
|
+
for (f.unshift(...a), f.push(...c), k = f.length, u = Promise.resolve(r); p < k; )
|
|
4693
|
+
u = u.then(f[p++], f[p++]);
|
|
4694
|
+
return u;
|
|
4695
|
+
}
|
|
4696
|
+
k = a.length;
|
|
4697
|
+
let R = r;
|
|
4698
|
+
for (; p < k; ) {
|
|
4699
|
+
const f = a[p++], g = a[p++];
|
|
4700
|
+
try {
|
|
4701
|
+
R = f(R);
|
|
4702
|
+
} catch (m) {
|
|
4703
|
+
g.call(this, m);
|
|
4704
|
+
break;
|
|
4705
|
+
}
|
|
4706
|
+
}
|
|
4707
|
+
try {
|
|
4708
|
+
u = Bt.call(this, R);
|
|
4709
|
+
} catch (f) {
|
|
4710
|
+
return Promise.reject(f);
|
|
4711
|
+
}
|
|
4712
|
+
for (p = 0, k = c.length; p < k; )
|
|
4713
|
+
u = u.then(c[p++], c[p++]);
|
|
4714
|
+
return u;
|
|
4715
|
+
}
|
|
4716
|
+
getUri(t) {
|
|
4717
|
+
t = se(this.defaults, t);
|
|
4718
|
+
const r = Sr(t.baseURL, t.url, t.allowAbsoluteUrls);
|
|
4719
|
+
return gr(r, t.params, t.paramsSerializer);
|
|
4720
|
+
}
|
|
4721
|
+
};
|
|
4722
|
+
l.forEach(["delete", "get", "head", "options"], function(t) {
|
|
4723
|
+
oe.prototype[t] = function(r, n) {
|
|
4724
|
+
return this.request(se(n || {}, {
|
|
4725
|
+
method: t,
|
|
4726
|
+
url: r,
|
|
4727
|
+
data: (n || {}).data
|
|
4728
|
+
}));
|
|
4729
|
+
};
|
|
4730
|
+
});
|
|
4731
|
+
l.forEach(["post", "put", "patch"], function(t) {
|
|
4732
|
+
function r(n) {
|
|
4733
|
+
return function(s, i, a) {
|
|
4734
|
+
return this.request(se(a || {}, {
|
|
4735
|
+
method: t,
|
|
4736
|
+
headers: n ? {
|
|
4737
|
+
"Content-Type": "multipart/form-data"
|
|
4738
|
+
} : {},
|
|
4739
|
+
url: s,
|
|
4740
|
+
data: i
|
|
4741
|
+
}));
|
|
4742
|
+
};
|
|
4743
|
+
}
|
|
4744
|
+
oe.prototype[t] = r(), oe.prototype[t + "Form"] = r(!0);
|
|
4745
|
+
});
|
|
4746
|
+
let fs = class Cr {
|
|
4747
|
+
constructor(t) {
|
|
4748
|
+
if (typeof t != "function")
|
|
4749
|
+
throw new TypeError("executor must be a function.");
|
|
4750
|
+
let r;
|
|
4751
|
+
this.promise = new Promise(function(s) {
|
|
4752
|
+
r = s;
|
|
4753
|
+
});
|
|
4754
|
+
const n = this;
|
|
4755
|
+
this.promise.then((o) => {
|
|
4756
|
+
if (!n._listeners) return;
|
|
4757
|
+
let s = n._listeners.length;
|
|
4758
|
+
for (; s-- > 0; )
|
|
4759
|
+
n._listeners[s](o);
|
|
4760
|
+
n._listeners = null;
|
|
4761
|
+
}), this.promise.then = (o) => {
|
|
4762
|
+
let s;
|
|
4763
|
+
const i = new Promise((a) => {
|
|
4764
|
+
n.subscribe(a), s = a;
|
|
4765
|
+
}).then(o);
|
|
4766
|
+
return i.cancel = function() {
|
|
4767
|
+
n.unsubscribe(s);
|
|
4768
|
+
}, i;
|
|
4769
|
+
}, t(function(s, i, a) {
|
|
4770
|
+
n.reason || (n.reason = new fe(s, i, a), r(n.reason));
|
|
4771
|
+
});
|
|
4772
|
+
}
|
|
4773
|
+
/**
|
|
4774
|
+
* Throws a `CanceledError` if cancellation has been requested.
|
|
4775
|
+
*/
|
|
4776
|
+
throwIfRequested() {
|
|
4777
|
+
if (this.reason)
|
|
4778
|
+
throw this.reason;
|
|
4779
|
+
}
|
|
4780
|
+
/**
|
|
4781
|
+
* Subscribe to the cancel signal
|
|
4782
|
+
*/
|
|
4783
|
+
subscribe(t) {
|
|
4784
|
+
if (this.reason) {
|
|
4785
|
+
t(this.reason);
|
|
4786
|
+
return;
|
|
4787
|
+
}
|
|
4788
|
+
this._listeners ? this._listeners.push(t) : this._listeners = [t];
|
|
4789
|
+
}
|
|
4790
|
+
/**
|
|
4791
|
+
* Unsubscribe from the cancel signal
|
|
4792
|
+
*/
|
|
4793
|
+
unsubscribe(t) {
|
|
4794
|
+
if (!this._listeners)
|
|
4795
|
+
return;
|
|
4796
|
+
const r = this._listeners.indexOf(t);
|
|
4797
|
+
r !== -1 && this._listeners.splice(r, 1);
|
|
4798
|
+
}
|
|
4799
|
+
toAbortSignal() {
|
|
4800
|
+
const t = new AbortController(), r = (n) => {
|
|
4801
|
+
t.abort(n);
|
|
4802
|
+
};
|
|
4803
|
+
return this.subscribe(r), t.signal.unsubscribe = () => this.unsubscribe(r), t.signal;
|
|
4804
|
+
}
|
|
4805
|
+
/**
|
|
4806
|
+
* Returns an object that contains a new `CancelToken` and a function that, when called,
|
|
4807
|
+
* cancels the `CancelToken`.
|
|
4808
|
+
*/
|
|
4809
|
+
static source() {
|
|
4810
|
+
let t;
|
|
4811
|
+
return {
|
|
4812
|
+
token: new Cr(function(o) {
|
|
4813
|
+
t = o;
|
|
4814
|
+
}),
|
|
4815
|
+
cancel: t
|
|
4816
|
+
};
|
|
4817
|
+
}
|
|
4818
|
+
};
|
|
4819
|
+
function ps(e) {
|
|
4820
|
+
return function(r) {
|
|
4821
|
+
return e.apply(null, r);
|
|
4822
|
+
};
|
|
4823
|
+
}
|
|
4824
|
+
function ms(e) {
|
|
4825
|
+
return l.isObject(e) && e.isAxiosError === !0;
|
|
4826
|
+
}
|
|
4827
|
+
const nt = {
|
|
4828
|
+
Continue: 100,
|
|
4829
|
+
SwitchingProtocols: 101,
|
|
4830
|
+
Processing: 102,
|
|
4831
|
+
EarlyHints: 103,
|
|
4832
|
+
Ok: 200,
|
|
4833
|
+
Created: 201,
|
|
4834
|
+
Accepted: 202,
|
|
4835
|
+
NonAuthoritativeInformation: 203,
|
|
4836
|
+
NoContent: 204,
|
|
4837
|
+
ResetContent: 205,
|
|
4838
|
+
PartialContent: 206,
|
|
4839
|
+
MultiStatus: 207,
|
|
4840
|
+
AlreadyReported: 208,
|
|
4841
|
+
ImUsed: 226,
|
|
4842
|
+
MultipleChoices: 300,
|
|
4843
|
+
MovedPermanently: 301,
|
|
4844
|
+
Found: 302,
|
|
4845
|
+
SeeOther: 303,
|
|
4846
|
+
NotModified: 304,
|
|
4847
|
+
UseProxy: 305,
|
|
4848
|
+
Unused: 306,
|
|
4849
|
+
TemporaryRedirect: 307,
|
|
4850
|
+
PermanentRedirect: 308,
|
|
4851
|
+
BadRequest: 400,
|
|
4852
|
+
Unauthorized: 401,
|
|
4853
|
+
PaymentRequired: 402,
|
|
4854
|
+
Forbidden: 403,
|
|
4855
|
+
NotFound: 404,
|
|
4856
|
+
MethodNotAllowed: 405,
|
|
4857
|
+
NotAcceptable: 406,
|
|
4858
|
+
ProxyAuthenticationRequired: 407,
|
|
4859
|
+
RequestTimeout: 408,
|
|
4860
|
+
Conflict: 409,
|
|
4861
|
+
Gone: 410,
|
|
4862
|
+
LengthRequired: 411,
|
|
4863
|
+
PreconditionFailed: 412,
|
|
4864
|
+
PayloadTooLarge: 413,
|
|
4865
|
+
UriTooLong: 414,
|
|
4866
|
+
UnsupportedMediaType: 415,
|
|
4867
|
+
RangeNotSatisfiable: 416,
|
|
4868
|
+
ExpectationFailed: 417,
|
|
4869
|
+
ImATeapot: 418,
|
|
4870
|
+
MisdirectedRequest: 421,
|
|
4871
|
+
UnprocessableEntity: 422,
|
|
4872
|
+
Locked: 423,
|
|
4873
|
+
FailedDependency: 424,
|
|
4874
|
+
TooEarly: 425,
|
|
4875
|
+
UpgradeRequired: 426,
|
|
4876
|
+
PreconditionRequired: 428,
|
|
4877
|
+
TooManyRequests: 429,
|
|
4878
|
+
RequestHeaderFieldsTooLarge: 431,
|
|
4879
|
+
UnavailableForLegalReasons: 451,
|
|
4880
|
+
InternalServerError: 500,
|
|
4881
|
+
NotImplemented: 501,
|
|
4882
|
+
BadGateway: 502,
|
|
4883
|
+
ServiceUnavailable: 503,
|
|
4884
|
+
GatewayTimeout: 504,
|
|
4885
|
+
HttpVersionNotSupported: 505,
|
|
4886
|
+
VariantAlsoNegotiates: 506,
|
|
4887
|
+
InsufficientStorage: 507,
|
|
4888
|
+
LoopDetected: 508,
|
|
4889
|
+
NotExtended: 510,
|
|
4890
|
+
NetworkAuthenticationRequired: 511
|
|
4891
|
+
};
|
|
4892
|
+
Object.entries(nt).forEach(([e, t]) => {
|
|
4893
|
+
nt[t] = e;
|
|
4894
|
+
});
|
|
4895
|
+
function Or(e) {
|
|
4896
|
+
const t = new oe(e), r = sr(oe.prototype.request, t);
|
|
4897
|
+
return l.extend(r, oe.prototype, t, { allOwnKeys: !0 }), l.extend(r, t, null, { allOwnKeys: !0 }), r.create = function(o) {
|
|
4898
|
+
return Or(se(e, o));
|
|
4899
|
+
}, r;
|
|
4900
|
+
}
|
|
4901
|
+
const O = Or(ke);
|
|
4902
|
+
O.Axios = oe;
|
|
4903
|
+
O.CanceledError = fe;
|
|
4904
|
+
O.CancelToken = fs;
|
|
4905
|
+
O.isCancel = xr;
|
|
4906
|
+
O.VERSION = Ar;
|
|
4907
|
+
O.toFormData = Be;
|
|
4908
|
+
O.AxiosError = x;
|
|
4909
|
+
O.Cancel = O.CanceledError;
|
|
4910
|
+
O.all = function(t) {
|
|
4911
|
+
return Promise.all(t);
|
|
4912
|
+
};
|
|
4913
|
+
O.spread = ps;
|
|
4914
|
+
O.isAxiosError = ms;
|
|
4915
|
+
O.mergeConfig = se;
|
|
4916
|
+
O.AxiosHeaders = q;
|
|
4917
|
+
O.formToJSON = (e) => wr(l.isHTMLForm(e) ? new FormData(e) : e);
|
|
4918
|
+
O.getAdapter = vr.getAdapter;
|
|
4919
|
+
O.HttpStatusCode = nt;
|
|
4920
|
+
O.default = O;
|
|
4921
|
+
const {
|
|
4922
|
+
Axios: Es,
|
|
4923
|
+
AxiosError: Rs,
|
|
4924
|
+
CanceledError: vs,
|
|
4925
|
+
isCancel: As,
|
|
4926
|
+
CancelToken: Cs,
|
|
4927
|
+
VERSION: Os,
|
|
4928
|
+
all: Ts,
|
|
4929
|
+
Cancel: Ns,
|
|
4930
|
+
isAxiosError: Ps,
|
|
4931
|
+
spread: _s,
|
|
4932
|
+
toFormData: Ls,
|
|
4933
|
+
AxiosHeaders: Fs,
|
|
4934
|
+
HttpStatusCode: zs,
|
|
4935
|
+
formToJSON: Us,
|
|
4936
|
+
getAdapter: js,
|
|
4937
|
+
mergeConfig: Bs
|
|
4938
|
+
} = O;
|
|
4939
|
+
let ne;
|
|
4940
|
+
function Is(e) {
|
|
4941
|
+
ne = O.create({
|
|
4942
|
+
baseURL: e,
|
|
4943
|
+
timeout: 1e4,
|
|
4944
|
+
headers: {
|
|
4945
|
+
"Content-Type": "application/json"
|
|
4946
|
+
}
|
|
4947
|
+
}), ne.interceptors.request.use(
|
|
4948
|
+
(t) => {
|
|
4949
|
+
const r = localStorage.getItem("token");
|
|
4950
|
+
return t.headers.Authorization = r ? `Bearer ${r}` : void 0, t.withCredentials = !0, t;
|
|
4951
|
+
},
|
|
4952
|
+
(t) => Promise.reject(t)
|
|
4953
|
+
), ne.interceptors.response.use(
|
|
4954
|
+
(t) => t,
|
|
4955
|
+
(t) => {
|
|
4956
|
+
var n;
|
|
4957
|
+
return t.response.status === 401 ? console.warn("Unauthorized. Redirect to login maybe.") : or.getState().setNotification({
|
|
4958
|
+
title: `Error ${(n = t.response) == null ? void 0 : n.status}`,
|
|
4959
|
+
message: t.message || "An unexpected error occured"
|
|
4960
|
+
}), Promise.reject(t);
|
|
4961
|
+
}
|
|
4962
|
+
);
|
|
4963
|
+
}
|
|
4964
|
+
const Ms = {
|
|
4965
|
+
get: async (e, t = {}) => {
|
|
4966
|
+
try {
|
|
4967
|
+
return await ne.get(e, t);
|
|
4968
|
+
} catch (r) {
|
|
4969
|
+
throw r;
|
|
4970
|
+
}
|
|
4971
|
+
},
|
|
4972
|
+
post: async (e, t, r = {}) => {
|
|
4973
|
+
try {
|
|
4974
|
+
return await ne.post(e, t, r);
|
|
4975
|
+
} catch (n) {
|
|
4976
|
+
throw n;
|
|
4977
|
+
}
|
|
4978
|
+
},
|
|
4979
|
+
patch: async (e, t, r = {}) => {
|
|
4980
|
+
try {
|
|
4981
|
+
return await ne.patch(e, t, r);
|
|
4982
|
+
} catch (n) {
|
|
4983
|
+
throw n;
|
|
4984
|
+
}
|
|
4985
|
+
},
|
|
4986
|
+
delete: async (e, t = {}) => {
|
|
4987
|
+
try {
|
|
4988
|
+
return await ne.delete(e, t);
|
|
4989
|
+
} catch (r) {
|
|
4990
|
+
throw r;
|
|
4991
|
+
}
|
|
4992
|
+
}
|
|
4993
|
+
};
|
|
4
4994
|
export {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
4995
|
+
$e as Button,
|
|
4996
|
+
gs as MyCounter,
|
|
4997
|
+
ys as MyTitle,
|
|
4998
|
+
zn as Notification,
|
|
4999
|
+
xs as NotificationContainer,
|
|
5000
|
+
ws as ThreeDotsLoader,
|
|
5001
|
+
Ms as apiService,
|
|
5002
|
+
Is as setupBaseURL
|
|
8
5003
|
};
|