zudoku 0.3.0-dev.20 → 0.3.0-dev.22
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/config/config.d.ts +1 -1
- package/dist/lib/authentication/authentication.d.ts +1 -1
- package/dist/lib/plugins/api-keys/index.js +1 -0
- package/dist/lib/plugins/api-keys/index.js.map +1 -1
- package/dist/lib/plugins/markdown/generateRoutes.js +1 -1
- package/dist/lib/plugins/markdown/generateRoutes.js.map +1 -1
- package/dist/lib/plugins/openapi/OperationList.js +1 -1
- package/dist/lib/plugins/openapi/OperationList.js.map +1 -1
- package/dist/lib/plugins/openapi/PlaygroundDialogWrapper.js +1 -1
- package/dist/lib/plugins/openapi/PlaygroundDialogWrapper.js.map +1 -1
- package/dist/lib/plugins/openapi/Route.d.ts +6 -0
- package/dist/lib/plugins/openapi/Route.js +8 -0
- package/dist/lib/plugins/openapi/Route.js.map +1 -0
- package/dist/lib/plugins/openapi/context.d.ts +5 -0
- package/dist/lib/plugins/openapi/context.js +11 -0
- package/dist/lib/plugins/openapi/context.js.map +1 -0
- package/dist/lib/plugins/openapi/index.d.ts +1 -19
- package/dist/lib/plugins/openapi/index.js +17 -18
- package/dist/lib/plugins/openapi/index.js.map +1 -1
- package/dist/lib/plugins/openapi/interfaces.d.ts +15 -0
- package/dist/lib/plugins/openapi/interfaces.js +2 -0
- package/dist/lib/plugins/openapi/interfaces.js.map +1 -0
- package/dist/vite/build.js +4 -1
- package/dist/vite/build.js.map +1 -1
- package/dist/vite/config.d.ts +7 -7
- package/dist/vite/config.js +33 -38
- package/dist/vite/config.js.map +1 -1
- package/dist/vite/config.test.js +6 -3
- package/dist/vite/config.test.js.map +1 -1
- package/dist/vite/dev-server.js +3 -3
- package/dist/vite/dev-server.js.map +1 -1
- package/dist/vite/plugin-api-keys.js +2 -2
- package/dist/vite/plugin-api-keys.js.map +1 -1
- package/dist/vite/plugin-api.js +2 -2
- package/dist/vite/plugin-api.js.map +1 -1
- package/dist/vite/plugin-auth.js +2 -2
- package/dist/vite/plugin-auth.js.map +1 -1
- package/dist/vite/plugin-config.d.ts +1 -1
- package/dist/vite/plugin-config.js +7 -6
- package/dist/vite/plugin-config.js.map +1 -1
- package/dist/vite/plugin-redirect.js +2 -2
- package/dist/vite/plugin-redirect.js.map +1 -1
- package/lib/{util-voKLTRDG.js → AnchorLink-DIUlXlf0.js} +149 -184
- package/lib/DevPortalProvider-gzyAGqHT.js +1080 -0
- package/lib/{Markdown-5LmPZyLV.js → Markdown-BjA7peYW.js} +3 -3
- package/lib/{MdxComponents-DYD_QPVF.js → MdxComponents-W-fE1ISO.js} +130 -129
- package/lib/MdxPage-DQ7lZBzE.js +216 -0
- package/lib/OperationList-DuIBqFNA.js +5545 -0
- package/lib/Route-B98Y2MdH.js +13 -0
- package/lib/{Select-DR3PiqjV.js → Select-DczD5e29.js} +24 -22
- package/lib/{Spinner-DjQ2eBxC.js → Spinner-CSoij67T.js} +3 -3
- package/lib/cn-DpqTslo9.js +2341 -0
- package/lib/context-_fYfJFgk.js +13 -0
- package/lib/{hook-FCY9-FHO.js → hook-CBXxHulF.js} +1 -1
- package/lib/{index-By9bEW57.js → index-C7O9D7f6.js} +15 -15
- package/lib/index-CKvOcM7w.js +712 -0
- package/lib/index-Cg6lXS1z.js +709 -0
- package/lib/index-ClDDiRmC.js +463 -0
- package/lib/router-DibNxKUP.js +3008 -0
- package/lib/util-CaVongBq.js +40 -0
- package/lib/zudoku.auth-openid.js +7 -6
- package/lib/zudoku.components.js +73 -69
- package/lib/zudoku.plugin-api-keys.js +26 -23
- package/lib/zudoku.plugin-markdown.js +33 -237
- package/lib/zudoku.plugin-openapi.js +5 -6238
- package/lib/zudoku.plugin-redirect.js +7 -6
- package/package.json +1 -2
- package/src/lib/authentication/authentication.ts +1 -1
- package/src/lib/plugins/api-keys/index.tsx +1 -0
- package/src/lib/plugins/markdown/generateRoutes.tsx +2 -2
- package/src/lib/plugins/openapi/OperationList.tsx +1 -1
- package/src/lib/plugins/openapi/PlaygroundDialogWrapper.tsx +1 -1
- package/src/lib/plugins/openapi/Route.tsx +21 -0
- package/src/lib/plugins/openapi/context.tsx +16 -0
- package/src/lib/plugins/openapi/index.tsx +19 -46
- package/src/lib/plugins/openapi/interfaces.ts +9 -0
- package/lib/DevPortalProvider-CRKuwoXc.js +0 -4123
- package/lib/index-PyGcnQFX.js +0 -3462
|
@@ -1,4123 +0,0 @@
|
|
|
1
|
-
var Rt = (e) => {
|
|
2
|
-
throw TypeError(e);
|
|
3
|
-
};
|
|
4
|
-
var Ge = (e, t, r) => t.has(e) || Rt("Cannot " + r);
|
|
5
|
-
var a = (e, t, r) => (Ge(e, t, "read from private field"), r ? r.call(e) : t.get(e)), T = (e, t, r) => t.has(e) ? Rt("Cannot add the same private member more than once") : t instanceof WeakSet ? t.add(e) : t.set(e, r), v = (e, t, r, n) => (Ge(e, t, "write to private field"), n ? n.call(e, r) : t.set(e, r), r), A = (e, t, r) => (Ge(e, t, "access private method"), r);
|
|
6
|
-
import * as p from "react";
|
|
7
|
-
import { forwardRef as Vt, createElement as We, createContext as mr, useContext as br } from "react";
|
|
8
|
-
import * as yr from "react-dom";
|
|
9
|
-
import { j as vr, c as je, s as ye, w as ze, d as gr, a as qt, u as Ae, e as Ve, f as He, D as Qt, g as wr, R as xr, i as ve, h as Sr, m as $e, k as Cr, l as Rr, n as Er, E as kr, o as Gt, p as Tr, q as Pr } from "./index-PyGcnQFX.js";
|
|
10
|
-
/**
|
|
11
|
-
* @license lucide-react v0.378.0 - ISC
|
|
12
|
-
*
|
|
13
|
-
* This source code is licensed under the ISC license.
|
|
14
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
15
|
-
*/
|
|
16
|
-
const Or = (e) => e.replace(/([a-z0-9])([A-Z])/g, "$1-$2").toLowerCase(), Kt = (...e) => e.filter((t, r, n) => !!t && n.indexOf(t) === r).join(" ");
|
|
17
|
-
/**
|
|
18
|
-
* @license lucide-react v0.378.0 - ISC
|
|
19
|
-
*
|
|
20
|
-
* This source code is licensed under the ISC license.
|
|
21
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
22
|
-
*/
|
|
23
|
-
var Ar = {
|
|
24
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
25
|
-
width: 24,
|
|
26
|
-
height: 24,
|
|
27
|
-
viewBox: "0 0 24 24",
|
|
28
|
-
fill: "none",
|
|
29
|
-
stroke: "currentColor",
|
|
30
|
-
strokeWidth: 2,
|
|
31
|
-
strokeLinecap: "round",
|
|
32
|
-
strokeLinejoin: "round"
|
|
33
|
-
};
|
|
34
|
-
/**
|
|
35
|
-
* @license lucide-react v0.378.0 - ISC
|
|
36
|
-
*
|
|
37
|
-
* This source code is licensed under the ISC license.
|
|
38
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
39
|
-
*/
|
|
40
|
-
const Fr = Vt(
|
|
41
|
-
({
|
|
42
|
-
color: e = "currentColor",
|
|
43
|
-
size: t = 24,
|
|
44
|
-
strokeWidth: r = 2,
|
|
45
|
-
absoluteStrokeWidth: n,
|
|
46
|
-
className: s = "",
|
|
47
|
-
children: i,
|
|
48
|
-
iconNode: o,
|
|
49
|
-
...l
|
|
50
|
-
}, h) => We(
|
|
51
|
-
"svg",
|
|
52
|
-
{
|
|
53
|
-
ref: h,
|
|
54
|
-
...Ar,
|
|
55
|
-
width: t,
|
|
56
|
-
height: t,
|
|
57
|
-
stroke: e,
|
|
58
|
-
strokeWidth: n ? Number(r) * 24 / Number(t) : r,
|
|
59
|
-
className: Kt("lucide", s),
|
|
60
|
-
...l
|
|
61
|
-
},
|
|
62
|
-
[
|
|
63
|
-
...o.map(([c, d]) => We(c, d)),
|
|
64
|
-
...Array.isArray(i) ? i : [i]
|
|
65
|
-
]
|
|
66
|
-
)
|
|
67
|
-
);
|
|
68
|
-
/**
|
|
69
|
-
* @license lucide-react v0.378.0 - ISC
|
|
70
|
-
*
|
|
71
|
-
* This source code is licensed under the ISC license.
|
|
72
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
73
|
-
*/
|
|
74
|
-
const Lr = (e, t) => {
|
|
75
|
-
const r = Vt(
|
|
76
|
-
({ className: n, ...s }, i) => We(Fr, {
|
|
77
|
-
ref: i,
|
|
78
|
-
iconNode: t,
|
|
79
|
-
className: Kt(`lucide-${Or(e)}`, n),
|
|
80
|
-
...s
|
|
81
|
-
})
|
|
82
|
-
);
|
|
83
|
-
return r.displayName = `${e}`, r;
|
|
84
|
-
};
|
|
85
|
-
/**
|
|
86
|
-
* @license lucide-react v0.378.0 - ISC
|
|
87
|
-
*
|
|
88
|
-
* This source code is licensed under the ISC license.
|
|
89
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
90
|
-
*/
|
|
91
|
-
const Cs = Lr("Check", [["path", { d: "M20 6 9 17l-5-5", key: "1gmf2c" }]]);
|
|
92
|
-
function Bt(e) {
|
|
93
|
-
var t, r, n = "";
|
|
94
|
-
if (typeof e == "string" || typeof e == "number") n += e;
|
|
95
|
-
else if (typeof e == "object") if (Array.isArray(e)) {
|
|
96
|
-
var s = e.length;
|
|
97
|
-
for (t = 0; t < s; t++) e[t] && (r = Bt(e[t])) && (n && (n += " "), n += r);
|
|
98
|
-
} else for (r in e) e[r] && (n && (n += " "), n += r);
|
|
99
|
-
return n;
|
|
100
|
-
}
|
|
101
|
-
function Nr() {
|
|
102
|
-
for (var e, t, r = 0, n = "", s = arguments.length; r < s; r++) (e = arguments[r]) && (t = Bt(e)) && (n && (n += " "), n += t);
|
|
103
|
-
return n;
|
|
104
|
-
}
|
|
105
|
-
const ft = "-";
|
|
106
|
-
function _r(e) {
|
|
107
|
-
const t = Ir(e), {
|
|
108
|
-
conflictingClassGroups: r,
|
|
109
|
-
conflictingClassGroupModifiers: n
|
|
110
|
-
} = e;
|
|
111
|
-
function s(o) {
|
|
112
|
-
const l = o.split(ft);
|
|
113
|
-
return l[0] === "" && l.length !== 1 && l.shift(), Wt(l, t) || Dr(o);
|
|
114
|
-
}
|
|
115
|
-
function i(o, l) {
|
|
116
|
-
const h = r[o] || [];
|
|
117
|
-
return l && n[o] ? [...h, ...n[o]] : h;
|
|
118
|
-
}
|
|
119
|
-
return {
|
|
120
|
-
getClassGroupId: s,
|
|
121
|
-
getConflictingClassGroupIds: i
|
|
122
|
-
};
|
|
123
|
-
}
|
|
124
|
-
function Wt(e, t) {
|
|
125
|
-
var o;
|
|
126
|
-
if (e.length === 0)
|
|
127
|
-
return t.classGroupId;
|
|
128
|
-
const r = e[0], n = t.nextPart.get(r), s = n ? Wt(e.slice(1), n) : void 0;
|
|
129
|
-
if (s)
|
|
130
|
-
return s;
|
|
131
|
-
if (t.validators.length === 0)
|
|
132
|
-
return;
|
|
133
|
-
const i = e.join(ft);
|
|
134
|
-
return (o = t.validators.find(({
|
|
135
|
-
validator: l
|
|
136
|
-
}) => l(i))) == null ? void 0 : o.classGroupId;
|
|
137
|
-
}
|
|
138
|
-
const Et = /^\[(.+)\]$/;
|
|
139
|
-
function Dr(e) {
|
|
140
|
-
if (Et.test(e)) {
|
|
141
|
-
const t = Et.exec(e)[1], r = t == null ? void 0 : t.substring(0, t.indexOf(":"));
|
|
142
|
-
if (r)
|
|
143
|
-
return "arbitrary.." + r;
|
|
144
|
-
}
|
|
145
|
-
}
|
|
146
|
-
function Ir(e) {
|
|
147
|
-
const {
|
|
148
|
-
theme: t,
|
|
149
|
-
prefix: r
|
|
150
|
-
} = e, n = {
|
|
151
|
-
nextPart: /* @__PURE__ */ new Map(),
|
|
152
|
-
validators: []
|
|
153
|
-
};
|
|
154
|
-
return Ur(Object.entries(e.classGroups), r).forEach(([i, o]) => {
|
|
155
|
-
Je(o, n, i, t);
|
|
156
|
-
}), n;
|
|
157
|
-
}
|
|
158
|
-
function Je(e, t, r, n) {
|
|
159
|
-
e.forEach((s) => {
|
|
160
|
-
if (typeof s == "string") {
|
|
161
|
-
const i = s === "" ? t : kt(t, s);
|
|
162
|
-
i.classGroupId = r;
|
|
163
|
-
return;
|
|
164
|
-
}
|
|
165
|
-
if (typeof s == "function") {
|
|
166
|
-
if (Mr(s)) {
|
|
167
|
-
Je(s(n), t, r, n);
|
|
168
|
-
return;
|
|
169
|
-
}
|
|
170
|
-
t.validators.push({
|
|
171
|
-
validator: s,
|
|
172
|
-
classGroupId: r
|
|
173
|
-
});
|
|
174
|
-
return;
|
|
175
|
-
}
|
|
176
|
-
Object.entries(s).forEach(([i, o]) => {
|
|
177
|
-
Je(o, kt(t, i), r, n);
|
|
178
|
-
});
|
|
179
|
-
});
|
|
180
|
-
}
|
|
181
|
-
function kt(e, t) {
|
|
182
|
-
let r = e;
|
|
183
|
-
return t.split(ft).forEach((n) => {
|
|
184
|
-
r.nextPart.has(n) || r.nextPart.set(n, {
|
|
185
|
-
nextPart: /* @__PURE__ */ new Map(),
|
|
186
|
-
validators: []
|
|
187
|
-
}), r = r.nextPart.get(n);
|
|
188
|
-
}), r;
|
|
189
|
-
}
|
|
190
|
-
function Mr(e) {
|
|
191
|
-
return e.isThemeGetter;
|
|
192
|
-
}
|
|
193
|
-
function Ur(e, t) {
|
|
194
|
-
return t ? e.map(([r, n]) => {
|
|
195
|
-
const s = n.map((i) => typeof i == "string" ? t + i : typeof i == "object" ? Object.fromEntries(Object.entries(i).map(([o, l]) => [t + o, l])) : i);
|
|
196
|
-
return [r, s];
|
|
197
|
-
}) : e;
|
|
198
|
-
}
|
|
199
|
-
function jr(e) {
|
|
200
|
-
if (e < 1)
|
|
201
|
-
return {
|
|
202
|
-
get: () => {
|
|
203
|
-
},
|
|
204
|
-
set: () => {
|
|
205
|
-
}
|
|
206
|
-
};
|
|
207
|
-
let t = 0, r = /* @__PURE__ */ new Map(), n = /* @__PURE__ */ new Map();
|
|
208
|
-
function s(i, o) {
|
|
209
|
-
r.set(i, o), t++, t > e && (t = 0, n = r, r = /* @__PURE__ */ new Map());
|
|
210
|
-
}
|
|
211
|
-
return {
|
|
212
|
-
get(i) {
|
|
213
|
-
let o = r.get(i);
|
|
214
|
-
if (o !== void 0)
|
|
215
|
-
return o;
|
|
216
|
-
if ((o = n.get(i)) !== void 0)
|
|
217
|
-
return s(i, o), o;
|
|
218
|
-
},
|
|
219
|
-
set(i, o) {
|
|
220
|
-
r.has(i) ? r.set(i, o) : s(i, o);
|
|
221
|
-
}
|
|
222
|
-
};
|
|
223
|
-
}
|
|
224
|
-
const Ht = "!";
|
|
225
|
-
function zr(e) {
|
|
226
|
-
const t = e.separator, r = t.length === 1, n = t[0], s = t.length;
|
|
227
|
-
return function(o) {
|
|
228
|
-
const l = [];
|
|
229
|
-
let h = 0, c = 0, d;
|
|
230
|
-
for (let y = 0; y < o.length; y++) {
|
|
231
|
-
let g = o[y];
|
|
232
|
-
if (h === 0) {
|
|
233
|
-
if (g === n && (r || o.slice(y, y + s) === t)) {
|
|
234
|
-
l.push(o.slice(c, y)), c = y + s;
|
|
235
|
-
continue;
|
|
236
|
-
}
|
|
237
|
-
if (g === "/") {
|
|
238
|
-
d = y;
|
|
239
|
-
continue;
|
|
240
|
-
}
|
|
241
|
-
}
|
|
242
|
-
g === "[" ? h++ : g === "]" && h--;
|
|
243
|
-
}
|
|
244
|
-
const u = l.length === 0 ? o : o.substring(c), f = u.startsWith(Ht), b = f ? u.substring(1) : u, S = d && d > c ? d - c : void 0;
|
|
245
|
-
return {
|
|
246
|
-
modifiers: l,
|
|
247
|
-
hasImportantModifier: f,
|
|
248
|
-
baseClassName: b,
|
|
249
|
-
maybePostfixModifierPosition: S
|
|
250
|
-
};
|
|
251
|
-
};
|
|
252
|
-
}
|
|
253
|
-
function Vr(e) {
|
|
254
|
-
if (e.length <= 1)
|
|
255
|
-
return e;
|
|
256
|
-
const t = [];
|
|
257
|
-
let r = [];
|
|
258
|
-
return e.forEach((n) => {
|
|
259
|
-
n[0] === "[" ? (t.push(...r.sort(), n), r = []) : r.push(n);
|
|
260
|
-
}), t.push(...r.sort()), t;
|
|
261
|
-
}
|
|
262
|
-
function qr(e) {
|
|
263
|
-
return {
|
|
264
|
-
cache: jr(e.cacheSize),
|
|
265
|
-
splitModifiers: zr(e),
|
|
266
|
-
..._r(e)
|
|
267
|
-
};
|
|
268
|
-
}
|
|
269
|
-
const Qr = /\s+/;
|
|
270
|
-
function Gr(e, t) {
|
|
271
|
-
const {
|
|
272
|
-
splitModifiers: r,
|
|
273
|
-
getClassGroupId: n,
|
|
274
|
-
getConflictingClassGroupIds: s
|
|
275
|
-
} = t, i = /* @__PURE__ */ new Set();
|
|
276
|
-
return e.trim().split(Qr).map((o) => {
|
|
277
|
-
const {
|
|
278
|
-
modifiers: l,
|
|
279
|
-
hasImportantModifier: h,
|
|
280
|
-
baseClassName: c,
|
|
281
|
-
maybePostfixModifierPosition: d
|
|
282
|
-
} = r(o);
|
|
283
|
-
let u = n(d ? c.substring(0, d) : c), f = !!d;
|
|
284
|
-
if (!u) {
|
|
285
|
-
if (!d)
|
|
286
|
-
return {
|
|
287
|
-
isTailwindClass: !1,
|
|
288
|
-
originalClassName: o
|
|
289
|
-
};
|
|
290
|
-
if (u = n(c), !u)
|
|
291
|
-
return {
|
|
292
|
-
isTailwindClass: !1,
|
|
293
|
-
originalClassName: o
|
|
294
|
-
};
|
|
295
|
-
f = !1;
|
|
296
|
-
}
|
|
297
|
-
const b = Vr(l).join(":");
|
|
298
|
-
return {
|
|
299
|
-
isTailwindClass: !0,
|
|
300
|
-
modifierId: h ? b + Ht : b,
|
|
301
|
-
classGroupId: u,
|
|
302
|
-
originalClassName: o,
|
|
303
|
-
hasPostfixModifier: f
|
|
304
|
-
};
|
|
305
|
-
}).reverse().filter((o) => {
|
|
306
|
-
if (!o.isTailwindClass)
|
|
307
|
-
return !0;
|
|
308
|
-
const {
|
|
309
|
-
modifierId: l,
|
|
310
|
-
classGroupId: h,
|
|
311
|
-
hasPostfixModifier: c
|
|
312
|
-
} = o, d = l + h;
|
|
313
|
-
return i.has(d) ? !1 : (i.add(d), s(h, c).forEach((u) => i.add(l + u)), !0);
|
|
314
|
-
}).reverse().map((o) => o.originalClassName).join(" ");
|
|
315
|
-
}
|
|
316
|
-
function Kr() {
|
|
317
|
-
let e = 0, t, r, n = "";
|
|
318
|
-
for (; e < arguments.length; )
|
|
319
|
-
(t = arguments[e++]) && (r = $t(t)) && (n && (n += " "), n += r);
|
|
320
|
-
return n;
|
|
321
|
-
}
|
|
322
|
-
function $t(e) {
|
|
323
|
-
if (typeof e == "string")
|
|
324
|
-
return e;
|
|
325
|
-
let t, r = "";
|
|
326
|
-
for (let n = 0; n < e.length; n++)
|
|
327
|
-
e[n] && (t = $t(e[n])) && (r && (r += " "), r += t);
|
|
328
|
-
return r;
|
|
329
|
-
}
|
|
330
|
-
function Br(e, ...t) {
|
|
331
|
-
let r, n, s, i = o;
|
|
332
|
-
function o(h) {
|
|
333
|
-
const c = t.reduce((d, u) => u(d), e());
|
|
334
|
-
return r = qr(c), n = r.cache.get, s = r.cache.set, i = l, l(h);
|
|
335
|
-
}
|
|
336
|
-
function l(h) {
|
|
337
|
-
const c = n(h);
|
|
338
|
-
if (c)
|
|
339
|
-
return c;
|
|
340
|
-
const d = Gr(h, r);
|
|
341
|
-
return s(h, d), d;
|
|
342
|
-
}
|
|
343
|
-
return function() {
|
|
344
|
-
return i(Kr.apply(null, arguments));
|
|
345
|
-
};
|
|
346
|
-
}
|
|
347
|
-
function L(e) {
|
|
348
|
-
const t = (r) => r[e] || [];
|
|
349
|
-
return t.isThemeGetter = !0, t;
|
|
350
|
-
}
|
|
351
|
-
const Jt = /^\[(?:([a-z-]+):)?(.+)\]$/i, Wr = /^\d+\/\d+$/, Hr = /* @__PURE__ */ new Set(["px", "full", "screen"]), $r = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, Jr = /\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$/, Yr = /^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/, Xr = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, Zr = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/;
|
|
352
|
-
function B(e) {
|
|
353
|
-
return ee(e) || Hr.has(e) || Wr.test(e);
|
|
354
|
-
}
|
|
355
|
-
function H(e) {
|
|
356
|
-
return we(e, "length", ln);
|
|
357
|
-
}
|
|
358
|
-
function ee(e) {
|
|
359
|
-
return !!e && !Number.isNaN(Number(e));
|
|
360
|
-
}
|
|
361
|
-
function Ne(e) {
|
|
362
|
-
return we(e, "number", ee);
|
|
363
|
-
}
|
|
364
|
-
function Ce(e) {
|
|
365
|
-
return !!e && Number.isInteger(Number(e));
|
|
366
|
-
}
|
|
367
|
-
function en(e) {
|
|
368
|
-
return e.endsWith("%") && ee(e.slice(0, -1));
|
|
369
|
-
}
|
|
370
|
-
function x(e) {
|
|
371
|
-
return Jt.test(e);
|
|
372
|
-
}
|
|
373
|
-
function $(e) {
|
|
374
|
-
return $r.test(e);
|
|
375
|
-
}
|
|
376
|
-
const tn = /* @__PURE__ */ new Set(["length", "size", "percentage"]);
|
|
377
|
-
function rn(e) {
|
|
378
|
-
return we(e, tn, Yt);
|
|
379
|
-
}
|
|
380
|
-
function nn(e) {
|
|
381
|
-
return we(e, "position", Yt);
|
|
382
|
-
}
|
|
383
|
-
const sn = /* @__PURE__ */ new Set(["image", "url"]);
|
|
384
|
-
function on(e) {
|
|
385
|
-
return we(e, sn, un);
|
|
386
|
-
}
|
|
387
|
-
function an(e) {
|
|
388
|
-
return we(e, "", cn);
|
|
389
|
-
}
|
|
390
|
-
function Re() {
|
|
391
|
-
return !0;
|
|
392
|
-
}
|
|
393
|
-
function we(e, t, r) {
|
|
394
|
-
const n = Jt.exec(e);
|
|
395
|
-
return n ? n[1] ? typeof t == "string" ? n[1] === t : t.has(n[1]) : r(n[2]) : !1;
|
|
396
|
-
}
|
|
397
|
-
function ln(e) {
|
|
398
|
-
return Jr.test(e) && !Yr.test(e);
|
|
399
|
-
}
|
|
400
|
-
function Yt() {
|
|
401
|
-
return !1;
|
|
402
|
-
}
|
|
403
|
-
function cn(e) {
|
|
404
|
-
return Xr.test(e);
|
|
405
|
-
}
|
|
406
|
-
function un(e) {
|
|
407
|
-
return Zr.test(e);
|
|
408
|
-
}
|
|
409
|
-
function dn() {
|
|
410
|
-
const e = L("colors"), t = L("spacing"), r = L("blur"), n = L("brightness"), s = L("borderColor"), i = L("borderRadius"), o = L("borderSpacing"), l = L("borderWidth"), h = L("contrast"), c = L("grayscale"), d = L("hueRotate"), u = L("invert"), f = L("gap"), b = L("gradientColorStops"), S = L("gradientColorStopPositions"), y = L("inset"), g = L("margin"), w = L("opacity"), m = L("padding"), C = L("saturate"), R = L("scale"), _ = L("sepia"), V = L("skew"), O = L("space"), k = L("translate"), N = () => ["auto", "contain", "none"], j = () => ["auto", "hidden", "clip", "visible", "scroll"], U = () => ["auto", x, t], F = () => [x, t], G = () => ["", B, H], ae = () => ["auto", ee, x], xt = () => ["bottom", "center", "left", "left-bottom", "left-top", "right", "right-bottom", "right-top", "top"], Fe = () => ["solid", "dashed", "dotted", "double", "none"], St = () => ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity"], Qe = () => ["start", "end", "center", "between", "around", "evenly", "stretch"], xe = () => ["", "0", x], Ct = () => ["auto", "avoid", "all", "avoid-page", "page", "left", "right", "column"], Se = () => [ee, Ne], Le = () => [ee, x];
|
|
411
|
-
return {
|
|
412
|
-
cacheSize: 500,
|
|
413
|
-
separator: ":",
|
|
414
|
-
theme: {
|
|
415
|
-
colors: [Re],
|
|
416
|
-
spacing: [B, H],
|
|
417
|
-
blur: ["none", "", $, x],
|
|
418
|
-
brightness: Se(),
|
|
419
|
-
borderColor: [e],
|
|
420
|
-
borderRadius: ["none", "", "full", $, x],
|
|
421
|
-
borderSpacing: F(),
|
|
422
|
-
borderWidth: G(),
|
|
423
|
-
contrast: Se(),
|
|
424
|
-
grayscale: xe(),
|
|
425
|
-
hueRotate: Le(),
|
|
426
|
-
invert: xe(),
|
|
427
|
-
gap: F(),
|
|
428
|
-
gradientColorStops: [e],
|
|
429
|
-
gradientColorStopPositions: [en, H],
|
|
430
|
-
inset: U(),
|
|
431
|
-
margin: U(),
|
|
432
|
-
opacity: Se(),
|
|
433
|
-
padding: F(),
|
|
434
|
-
saturate: Se(),
|
|
435
|
-
scale: Se(),
|
|
436
|
-
sepia: xe(),
|
|
437
|
-
skew: Le(),
|
|
438
|
-
space: F(),
|
|
439
|
-
translate: F()
|
|
440
|
-
},
|
|
441
|
-
classGroups: {
|
|
442
|
-
// Layout
|
|
443
|
-
/**
|
|
444
|
-
* Aspect Ratio
|
|
445
|
-
* @see https://tailwindcss.com/docs/aspect-ratio
|
|
446
|
-
*/
|
|
447
|
-
aspect: [{
|
|
448
|
-
aspect: ["auto", "square", "video", x]
|
|
449
|
-
}],
|
|
450
|
-
/**
|
|
451
|
-
* Container
|
|
452
|
-
* @see https://tailwindcss.com/docs/container
|
|
453
|
-
*/
|
|
454
|
-
container: ["container"],
|
|
455
|
-
/**
|
|
456
|
-
* Columns
|
|
457
|
-
* @see https://tailwindcss.com/docs/columns
|
|
458
|
-
*/
|
|
459
|
-
columns: [{
|
|
460
|
-
columns: [$]
|
|
461
|
-
}],
|
|
462
|
-
/**
|
|
463
|
-
* Break After
|
|
464
|
-
* @see https://tailwindcss.com/docs/break-after
|
|
465
|
-
*/
|
|
466
|
-
"break-after": [{
|
|
467
|
-
"break-after": Ct()
|
|
468
|
-
}],
|
|
469
|
-
/**
|
|
470
|
-
* Break Before
|
|
471
|
-
* @see https://tailwindcss.com/docs/break-before
|
|
472
|
-
*/
|
|
473
|
-
"break-before": [{
|
|
474
|
-
"break-before": Ct()
|
|
475
|
-
}],
|
|
476
|
-
/**
|
|
477
|
-
* Break Inside
|
|
478
|
-
* @see https://tailwindcss.com/docs/break-inside
|
|
479
|
-
*/
|
|
480
|
-
"break-inside": [{
|
|
481
|
-
"break-inside": ["auto", "avoid", "avoid-page", "avoid-column"]
|
|
482
|
-
}],
|
|
483
|
-
/**
|
|
484
|
-
* Box Decoration Break
|
|
485
|
-
* @see https://tailwindcss.com/docs/box-decoration-break
|
|
486
|
-
*/
|
|
487
|
-
"box-decoration": [{
|
|
488
|
-
"box-decoration": ["slice", "clone"]
|
|
489
|
-
}],
|
|
490
|
-
/**
|
|
491
|
-
* Box Sizing
|
|
492
|
-
* @see https://tailwindcss.com/docs/box-sizing
|
|
493
|
-
*/
|
|
494
|
-
box: [{
|
|
495
|
-
box: ["border", "content"]
|
|
496
|
-
}],
|
|
497
|
-
/**
|
|
498
|
-
* Display
|
|
499
|
-
* @see https://tailwindcss.com/docs/display
|
|
500
|
-
*/
|
|
501
|
-
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"],
|
|
502
|
-
/**
|
|
503
|
-
* Floats
|
|
504
|
-
* @see https://tailwindcss.com/docs/float
|
|
505
|
-
*/
|
|
506
|
-
float: [{
|
|
507
|
-
float: ["right", "left", "none", "start", "end"]
|
|
508
|
-
}],
|
|
509
|
-
/**
|
|
510
|
-
* Clear
|
|
511
|
-
* @see https://tailwindcss.com/docs/clear
|
|
512
|
-
*/
|
|
513
|
-
clear: [{
|
|
514
|
-
clear: ["left", "right", "both", "none", "start", "end"]
|
|
515
|
-
}],
|
|
516
|
-
/**
|
|
517
|
-
* Isolation
|
|
518
|
-
* @see https://tailwindcss.com/docs/isolation
|
|
519
|
-
*/
|
|
520
|
-
isolation: ["isolate", "isolation-auto"],
|
|
521
|
-
/**
|
|
522
|
-
* Object Fit
|
|
523
|
-
* @see https://tailwindcss.com/docs/object-fit
|
|
524
|
-
*/
|
|
525
|
-
"object-fit": [{
|
|
526
|
-
object: ["contain", "cover", "fill", "none", "scale-down"]
|
|
527
|
-
}],
|
|
528
|
-
/**
|
|
529
|
-
* Object Position
|
|
530
|
-
* @see https://tailwindcss.com/docs/object-position
|
|
531
|
-
*/
|
|
532
|
-
"object-position": [{
|
|
533
|
-
object: [...xt(), x]
|
|
534
|
-
}],
|
|
535
|
-
/**
|
|
536
|
-
* Overflow
|
|
537
|
-
* @see https://tailwindcss.com/docs/overflow
|
|
538
|
-
*/
|
|
539
|
-
overflow: [{
|
|
540
|
-
overflow: j()
|
|
541
|
-
}],
|
|
542
|
-
/**
|
|
543
|
-
* Overflow X
|
|
544
|
-
* @see https://tailwindcss.com/docs/overflow
|
|
545
|
-
*/
|
|
546
|
-
"overflow-x": [{
|
|
547
|
-
"overflow-x": j()
|
|
548
|
-
}],
|
|
549
|
-
/**
|
|
550
|
-
* Overflow Y
|
|
551
|
-
* @see https://tailwindcss.com/docs/overflow
|
|
552
|
-
*/
|
|
553
|
-
"overflow-y": [{
|
|
554
|
-
"overflow-y": j()
|
|
555
|
-
}],
|
|
556
|
-
/**
|
|
557
|
-
* Overscroll Behavior
|
|
558
|
-
* @see https://tailwindcss.com/docs/overscroll-behavior
|
|
559
|
-
*/
|
|
560
|
-
overscroll: [{
|
|
561
|
-
overscroll: N()
|
|
562
|
-
}],
|
|
563
|
-
/**
|
|
564
|
-
* Overscroll Behavior X
|
|
565
|
-
* @see https://tailwindcss.com/docs/overscroll-behavior
|
|
566
|
-
*/
|
|
567
|
-
"overscroll-x": [{
|
|
568
|
-
"overscroll-x": N()
|
|
569
|
-
}],
|
|
570
|
-
/**
|
|
571
|
-
* Overscroll Behavior Y
|
|
572
|
-
* @see https://tailwindcss.com/docs/overscroll-behavior
|
|
573
|
-
*/
|
|
574
|
-
"overscroll-y": [{
|
|
575
|
-
"overscroll-y": N()
|
|
576
|
-
}],
|
|
577
|
-
/**
|
|
578
|
-
* Position
|
|
579
|
-
* @see https://tailwindcss.com/docs/position
|
|
580
|
-
*/
|
|
581
|
-
position: ["static", "fixed", "absolute", "relative", "sticky"],
|
|
582
|
-
/**
|
|
583
|
-
* Top / Right / Bottom / Left
|
|
584
|
-
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
585
|
-
*/
|
|
586
|
-
inset: [{
|
|
587
|
-
inset: [y]
|
|
588
|
-
}],
|
|
589
|
-
/**
|
|
590
|
-
* Right / Left
|
|
591
|
-
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
592
|
-
*/
|
|
593
|
-
"inset-x": [{
|
|
594
|
-
"inset-x": [y]
|
|
595
|
-
}],
|
|
596
|
-
/**
|
|
597
|
-
* Top / Bottom
|
|
598
|
-
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
599
|
-
*/
|
|
600
|
-
"inset-y": [{
|
|
601
|
-
"inset-y": [y]
|
|
602
|
-
}],
|
|
603
|
-
/**
|
|
604
|
-
* Start
|
|
605
|
-
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
606
|
-
*/
|
|
607
|
-
start: [{
|
|
608
|
-
start: [y]
|
|
609
|
-
}],
|
|
610
|
-
/**
|
|
611
|
-
* End
|
|
612
|
-
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
613
|
-
*/
|
|
614
|
-
end: [{
|
|
615
|
-
end: [y]
|
|
616
|
-
}],
|
|
617
|
-
/**
|
|
618
|
-
* Top
|
|
619
|
-
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
620
|
-
*/
|
|
621
|
-
top: [{
|
|
622
|
-
top: [y]
|
|
623
|
-
}],
|
|
624
|
-
/**
|
|
625
|
-
* Right
|
|
626
|
-
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
627
|
-
*/
|
|
628
|
-
right: [{
|
|
629
|
-
right: [y]
|
|
630
|
-
}],
|
|
631
|
-
/**
|
|
632
|
-
* Bottom
|
|
633
|
-
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
634
|
-
*/
|
|
635
|
-
bottom: [{
|
|
636
|
-
bottom: [y]
|
|
637
|
-
}],
|
|
638
|
-
/**
|
|
639
|
-
* Left
|
|
640
|
-
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
641
|
-
*/
|
|
642
|
-
left: [{
|
|
643
|
-
left: [y]
|
|
644
|
-
}],
|
|
645
|
-
/**
|
|
646
|
-
* Visibility
|
|
647
|
-
* @see https://tailwindcss.com/docs/visibility
|
|
648
|
-
*/
|
|
649
|
-
visibility: ["visible", "invisible", "collapse"],
|
|
650
|
-
/**
|
|
651
|
-
* Z-Index
|
|
652
|
-
* @see https://tailwindcss.com/docs/z-index
|
|
653
|
-
*/
|
|
654
|
-
z: [{
|
|
655
|
-
z: ["auto", Ce, x]
|
|
656
|
-
}],
|
|
657
|
-
// Flexbox and Grid
|
|
658
|
-
/**
|
|
659
|
-
* Flex Basis
|
|
660
|
-
* @see https://tailwindcss.com/docs/flex-basis
|
|
661
|
-
*/
|
|
662
|
-
basis: [{
|
|
663
|
-
basis: U()
|
|
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: ["wrap", "wrap-reverse", "nowrap"]
|
|
678
|
-
}],
|
|
679
|
-
/**
|
|
680
|
-
* Flex
|
|
681
|
-
* @see https://tailwindcss.com/docs/flex
|
|
682
|
-
*/
|
|
683
|
-
flex: [{
|
|
684
|
-
flex: ["1", "auto", "initial", "none", x]
|
|
685
|
-
}],
|
|
686
|
-
/**
|
|
687
|
-
* Flex Grow
|
|
688
|
-
* @see https://tailwindcss.com/docs/flex-grow
|
|
689
|
-
*/
|
|
690
|
-
grow: [{
|
|
691
|
-
grow: xe()
|
|
692
|
-
}],
|
|
693
|
-
/**
|
|
694
|
-
* Flex Shrink
|
|
695
|
-
* @see https://tailwindcss.com/docs/flex-shrink
|
|
696
|
-
*/
|
|
697
|
-
shrink: [{
|
|
698
|
-
shrink: xe()
|
|
699
|
-
}],
|
|
700
|
-
/**
|
|
701
|
-
* Order
|
|
702
|
-
* @see https://tailwindcss.com/docs/order
|
|
703
|
-
*/
|
|
704
|
-
order: [{
|
|
705
|
-
order: ["first", "last", "none", Ce, x]
|
|
706
|
-
}],
|
|
707
|
-
/**
|
|
708
|
-
* Grid Template Columns
|
|
709
|
-
* @see https://tailwindcss.com/docs/grid-template-columns
|
|
710
|
-
*/
|
|
711
|
-
"grid-cols": [{
|
|
712
|
-
"grid-cols": [Re]
|
|
713
|
-
}],
|
|
714
|
-
/**
|
|
715
|
-
* Grid Column Start / End
|
|
716
|
-
* @see https://tailwindcss.com/docs/grid-column
|
|
717
|
-
*/
|
|
718
|
-
"col-start-end": [{
|
|
719
|
-
col: ["auto", {
|
|
720
|
-
span: ["full", Ce, x]
|
|
721
|
-
}, x]
|
|
722
|
-
}],
|
|
723
|
-
/**
|
|
724
|
-
* Grid Column Start
|
|
725
|
-
* @see https://tailwindcss.com/docs/grid-column
|
|
726
|
-
*/
|
|
727
|
-
"col-start": [{
|
|
728
|
-
"col-start": ae()
|
|
729
|
-
}],
|
|
730
|
-
/**
|
|
731
|
-
* Grid Column End
|
|
732
|
-
* @see https://tailwindcss.com/docs/grid-column
|
|
733
|
-
*/
|
|
734
|
-
"col-end": [{
|
|
735
|
-
"col-end": ae()
|
|
736
|
-
}],
|
|
737
|
-
/**
|
|
738
|
-
* Grid Template Rows
|
|
739
|
-
* @see https://tailwindcss.com/docs/grid-template-rows
|
|
740
|
-
*/
|
|
741
|
-
"grid-rows": [{
|
|
742
|
-
"grid-rows": [Re]
|
|
743
|
-
}],
|
|
744
|
-
/**
|
|
745
|
-
* Grid Row Start / End
|
|
746
|
-
* @see https://tailwindcss.com/docs/grid-row
|
|
747
|
-
*/
|
|
748
|
-
"row-start-end": [{
|
|
749
|
-
row: ["auto", {
|
|
750
|
-
span: [Ce, x]
|
|
751
|
-
}, x]
|
|
752
|
-
}],
|
|
753
|
-
/**
|
|
754
|
-
* Grid Row Start
|
|
755
|
-
* @see https://tailwindcss.com/docs/grid-row
|
|
756
|
-
*/
|
|
757
|
-
"row-start": [{
|
|
758
|
-
"row-start": ae()
|
|
759
|
-
}],
|
|
760
|
-
/**
|
|
761
|
-
* Grid Row End
|
|
762
|
-
* @see https://tailwindcss.com/docs/grid-row
|
|
763
|
-
*/
|
|
764
|
-
"row-end": [{
|
|
765
|
-
"row-end": ae()
|
|
766
|
-
}],
|
|
767
|
-
/**
|
|
768
|
-
* Grid Auto Flow
|
|
769
|
-
* @see https://tailwindcss.com/docs/grid-auto-flow
|
|
770
|
-
*/
|
|
771
|
-
"grid-flow": [{
|
|
772
|
-
"grid-flow": ["row", "col", "dense", "row-dense", "col-dense"]
|
|
773
|
-
}],
|
|
774
|
-
/**
|
|
775
|
-
* Grid Auto Columns
|
|
776
|
-
* @see https://tailwindcss.com/docs/grid-auto-columns
|
|
777
|
-
*/
|
|
778
|
-
"auto-cols": [{
|
|
779
|
-
"auto-cols": ["auto", "min", "max", "fr", x]
|
|
780
|
-
}],
|
|
781
|
-
/**
|
|
782
|
-
* Grid Auto Rows
|
|
783
|
-
* @see https://tailwindcss.com/docs/grid-auto-rows
|
|
784
|
-
*/
|
|
785
|
-
"auto-rows": [{
|
|
786
|
-
"auto-rows": ["auto", "min", "max", "fr", x]
|
|
787
|
-
}],
|
|
788
|
-
/**
|
|
789
|
-
* Gap
|
|
790
|
-
* @see https://tailwindcss.com/docs/gap
|
|
791
|
-
*/
|
|
792
|
-
gap: [{
|
|
793
|
-
gap: [f]
|
|
794
|
-
}],
|
|
795
|
-
/**
|
|
796
|
-
* Gap X
|
|
797
|
-
* @see https://tailwindcss.com/docs/gap
|
|
798
|
-
*/
|
|
799
|
-
"gap-x": [{
|
|
800
|
-
"gap-x": [f]
|
|
801
|
-
}],
|
|
802
|
-
/**
|
|
803
|
-
* Gap Y
|
|
804
|
-
* @see https://tailwindcss.com/docs/gap
|
|
805
|
-
*/
|
|
806
|
-
"gap-y": [{
|
|
807
|
-
"gap-y": [f]
|
|
808
|
-
}],
|
|
809
|
-
/**
|
|
810
|
-
* Justify Content
|
|
811
|
-
* @see https://tailwindcss.com/docs/justify-content
|
|
812
|
-
*/
|
|
813
|
-
"justify-content": [{
|
|
814
|
-
justify: ["normal", ...Qe()]
|
|
815
|
-
}],
|
|
816
|
-
/**
|
|
817
|
-
* Justify Items
|
|
818
|
-
* @see https://tailwindcss.com/docs/justify-items
|
|
819
|
-
*/
|
|
820
|
-
"justify-items": [{
|
|
821
|
-
"justify-items": ["start", "end", "center", "stretch"]
|
|
822
|
-
}],
|
|
823
|
-
/**
|
|
824
|
-
* Justify Self
|
|
825
|
-
* @see https://tailwindcss.com/docs/justify-self
|
|
826
|
-
*/
|
|
827
|
-
"justify-self": [{
|
|
828
|
-
"justify-self": ["auto", "start", "end", "center", "stretch"]
|
|
829
|
-
}],
|
|
830
|
-
/**
|
|
831
|
-
* Align Content
|
|
832
|
-
* @see https://tailwindcss.com/docs/align-content
|
|
833
|
-
*/
|
|
834
|
-
"align-content": [{
|
|
835
|
-
content: ["normal", ...Qe(), "baseline"]
|
|
836
|
-
}],
|
|
837
|
-
/**
|
|
838
|
-
* Align Items
|
|
839
|
-
* @see https://tailwindcss.com/docs/align-items
|
|
840
|
-
*/
|
|
841
|
-
"align-items": [{
|
|
842
|
-
items: ["start", "end", "center", "baseline", "stretch"]
|
|
843
|
-
}],
|
|
844
|
-
/**
|
|
845
|
-
* Align Self
|
|
846
|
-
* @see https://tailwindcss.com/docs/align-self
|
|
847
|
-
*/
|
|
848
|
-
"align-self": [{
|
|
849
|
-
self: ["auto", "start", "end", "center", "stretch", "baseline"]
|
|
850
|
-
}],
|
|
851
|
-
/**
|
|
852
|
-
* Place Content
|
|
853
|
-
* @see https://tailwindcss.com/docs/place-content
|
|
854
|
-
*/
|
|
855
|
-
"place-content": [{
|
|
856
|
-
"place-content": [...Qe(), "baseline"]
|
|
857
|
-
}],
|
|
858
|
-
/**
|
|
859
|
-
* Place Items
|
|
860
|
-
* @see https://tailwindcss.com/docs/place-items
|
|
861
|
-
*/
|
|
862
|
-
"place-items": [{
|
|
863
|
-
"place-items": ["start", "end", "center", "baseline", "stretch"]
|
|
864
|
-
}],
|
|
865
|
-
/**
|
|
866
|
-
* Place Self
|
|
867
|
-
* @see https://tailwindcss.com/docs/place-self
|
|
868
|
-
*/
|
|
869
|
-
"place-self": [{
|
|
870
|
-
"place-self": ["auto", "start", "end", "center", "stretch"]
|
|
871
|
-
}],
|
|
872
|
-
// Spacing
|
|
873
|
-
/**
|
|
874
|
-
* Padding
|
|
875
|
-
* @see https://tailwindcss.com/docs/padding
|
|
876
|
-
*/
|
|
877
|
-
p: [{
|
|
878
|
-
p: [m]
|
|
879
|
-
}],
|
|
880
|
-
/**
|
|
881
|
-
* Padding X
|
|
882
|
-
* @see https://tailwindcss.com/docs/padding
|
|
883
|
-
*/
|
|
884
|
-
px: [{
|
|
885
|
-
px: [m]
|
|
886
|
-
}],
|
|
887
|
-
/**
|
|
888
|
-
* Padding Y
|
|
889
|
-
* @see https://tailwindcss.com/docs/padding
|
|
890
|
-
*/
|
|
891
|
-
py: [{
|
|
892
|
-
py: [m]
|
|
893
|
-
}],
|
|
894
|
-
/**
|
|
895
|
-
* Padding Start
|
|
896
|
-
* @see https://tailwindcss.com/docs/padding
|
|
897
|
-
*/
|
|
898
|
-
ps: [{
|
|
899
|
-
ps: [m]
|
|
900
|
-
}],
|
|
901
|
-
/**
|
|
902
|
-
* Padding End
|
|
903
|
-
* @see https://tailwindcss.com/docs/padding
|
|
904
|
-
*/
|
|
905
|
-
pe: [{
|
|
906
|
-
pe: [m]
|
|
907
|
-
}],
|
|
908
|
-
/**
|
|
909
|
-
* Padding Top
|
|
910
|
-
* @see https://tailwindcss.com/docs/padding
|
|
911
|
-
*/
|
|
912
|
-
pt: [{
|
|
913
|
-
pt: [m]
|
|
914
|
-
}],
|
|
915
|
-
/**
|
|
916
|
-
* Padding Right
|
|
917
|
-
* @see https://tailwindcss.com/docs/padding
|
|
918
|
-
*/
|
|
919
|
-
pr: [{
|
|
920
|
-
pr: [m]
|
|
921
|
-
}],
|
|
922
|
-
/**
|
|
923
|
-
* Padding Bottom
|
|
924
|
-
* @see https://tailwindcss.com/docs/padding
|
|
925
|
-
*/
|
|
926
|
-
pb: [{
|
|
927
|
-
pb: [m]
|
|
928
|
-
}],
|
|
929
|
-
/**
|
|
930
|
-
* Padding Left
|
|
931
|
-
* @see https://tailwindcss.com/docs/padding
|
|
932
|
-
*/
|
|
933
|
-
pl: [{
|
|
934
|
-
pl: [m]
|
|
935
|
-
}],
|
|
936
|
-
/**
|
|
937
|
-
* Margin
|
|
938
|
-
* @see https://tailwindcss.com/docs/margin
|
|
939
|
-
*/
|
|
940
|
-
m: [{
|
|
941
|
-
m: [g]
|
|
942
|
-
}],
|
|
943
|
-
/**
|
|
944
|
-
* Margin X
|
|
945
|
-
* @see https://tailwindcss.com/docs/margin
|
|
946
|
-
*/
|
|
947
|
-
mx: [{
|
|
948
|
-
mx: [g]
|
|
949
|
-
}],
|
|
950
|
-
/**
|
|
951
|
-
* Margin Y
|
|
952
|
-
* @see https://tailwindcss.com/docs/margin
|
|
953
|
-
*/
|
|
954
|
-
my: [{
|
|
955
|
-
my: [g]
|
|
956
|
-
}],
|
|
957
|
-
/**
|
|
958
|
-
* Margin Start
|
|
959
|
-
* @see https://tailwindcss.com/docs/margin
|
|
960
|
-
*/
|
|
961
|
-
ms: [{
|
|
962
|
-
ms: [g]
|
|
963
|
-
}],
|
|
964
|
-
/**
|
|
965
|
-
* Margin End
|
|
966
|
-
* @see https://tailwindcss.com/docs/margin
|
|
967
|
-
*/
|
|
968
|
-
me: [{
|
|
969
|
-
me: [g]
|
|
970
|
-
}],
|
|
971
|
-
/**
|
|
972
|
-
* Margin Top
|
|
973
|
-
* @see https://tailwindcss.com/docs/margin
|
|
974
|
-
*/
|
|
975
|
-
mt: [{
|
|
976
|
-
mt: [g]
|
|
977
|
-
}],
|
|
978
|
-
/**
|
|
979
|
-
* Margin Right
|
|
980
|
-
* @see https://tailwindcss.com/docs/margin
|
|
981
|
-
*/
|
|
982
|
-
mr: [{
|
|
983
|
-
mr: [g]
|
|
984
|
-
}],
|
|
985
|
-
/**
|
|
986
|
-
* Margin Bottom
|
|
987
|
-
* @see https://tailwindcss.com/docs/margin
|
|
988
|
-
*/
|
|
989
|
-
mb: [{
|
|
990
|
-
mb: [g]
|
|
991
|
-
}],
|
|
992
|
-
/**
|
|
993
|
-
* Margin Left
|
|
994
|
-
* @see https://tailwindcss.com/docs/margin
|
|
995
|
-
*/
|
|
996
|
-
ml: [{
|
|
997
|
-
ml: [g]
|
|
998
|
-
}],
|
|
999
|
-
/**
|
|
1000
|
-
* Space Between X
|
|
1001
|
-
* @see https://tailwindcss.com/docs/space
|
|
1002
|
-
*/
|
|
1003
|
-
"space-x": [{
|
|
1004
|
-
"space-x": [O]
|
|
1005
|
-
}],
|
|
1006
|
-
/**
|
|
1007
|
-
* Space Between X Reverse
|
|
1008
|
-
* @see https://tailwindcss.com/docs/space
|
|
1009
|
-
*/
|
|
1010
|
-
"space-x-reverse": ["space-x-reverse"],
|
|
1011
|
-
/**
|
|
1012
|
-
* Space Between Y
|
|
1013
|
-
* @see https://tailwindcss.com/docs/space
|
|
1014
|
-
*/
|
|
1015
|
-
"space-y": [{
|
|
1016
|
-
"space-y": [O]
|
|
1017
|
-
}],
|
|
1018
|
-
/**
|
|
1019
|
-
* Space Between Y Reverse
|
|
1020
|
-
* @see https://tailwindcss.com/docs/space
|
|
1021
|
-
*/
|
|
1022
|
-
"space-y-reverse": ["space-y-reverse"],
|
|
1023
|
-
// Sizing
|
|
1024
|
-
/**
|
|
1025
|
-
* Width
|
|
1026
|
-
* @see https://tailwindcss.com/docs/width
|
|
1027
|
-
*/
|
|
1028
|
-
w: [{
|
|
1029
|
-
w: ["auto", "min", "max", "fit", "svw", "lvw", "dvw", x, t]
|
|
1030
|
-
}],
|
|
1031
|
-
/**
|
|
1032
|
-
* Min-Width
|
|
1033
|
-
* @see https://tailwindcss.com/docs/min-width
|
|
1034
|
-
*/
|
|
1035
|
-
"min-w": [{
|
|
1036
|
-
"min-w": [x, t, "min", "max", "fit"]
|
|
1037
|
-
}],
|
|
1038
|
-
/**
|
|
1039
|
-
* Max-Width
|
|
1040
|
-
* @see https://tailwindcss.com/docs/max-width
|
|
1041
|
-
*/
|
|
1042
|
-
"max-w": [{
|
|
1043
|
-
"max-w": [x, t, "none", "full", "min", "max", "fit", "prose", {
|
|
1044
|
-
screen: [$]
|
|
1045
|
-
}, $]
|
|
1046
|
-
}],
|
|
1047
|
-
/**
|
|
1048
|
-
* Height
|
|
1049
|
-
* @see https://tailwindcss.com/docs/height
|
|
1050
|
-
*/
|
|
1051
|
-
h: [{
|
|
1052
|
-
h: [x, t, "auto", "min", "max", "fit", "svh", "lvh", "dvh"]
|
|
1053
|
-
}],
|
|
1054
|
-
/**
|
|
1055
|
-
* Min-Height
|
|
1056
|
-
* @see https://tailwindcss.com/docs/min-height
|
|
1057
|
-
*/
|
|
1058
|
-
"min-h": [{
|
|
1059
|
-
"min-h": [x, t, "min", "max", "fit", "svh", "lvh", "dvh"]
|
|
1060
|
-
}],
|
|
1061
|
-
/**
|
|
1062
|
-
* Max-Height
|
|
1063
|
-
* @see https://tailwindcss.com/docs/max-height
|
|
1064
|
-
*/
|
|
1065
|
-
"max-h": [{
|
|
1066
|
-
"max-h": [x, t, "min", "max", "fit", "svh", "lvh", "dvh"]
|
|
1067
|
-
}],
|
|
1068
|
-
/**
|
|
1069
|
-
* Size
|
|
1070
|
-
* @see https://tailwindcss.com/docs/size
|
|
1071
|
-
*/
|
|
1072
|
-
size: [{
|
|
1073
|
-
size: [x, t, "auto", "min", "max", "fit"]
|
|
1074
|
-
}],
|
|
1075
|
-
// Typography
|
|
1076
|
-
/**
|
|
1077
|
-
* Font Size
|
|
1078
|
-
* @see https://tailwindcss.com/docs/font-size
|
|
1079
|
-
*/
|
|
1080
|
-
"font-size": [{
|
|
1081
|
-
text: ["base", $, H]
|
|
1082
|
-
}],
|
|
1083
|
-
/**
|
|
1084
|
-
* Font Smoothing
|
|
1085
|
-
* @see https://tailwindcss.com/docs/font-smoothing
|
|
1086
|
-
*/
|
|
1087
|
-
"font-smoothing": ["antialiased", "subpixel-antialiased"],
|
|
1088
|
-
/**
|
|
1089
|
-
* Font Style
|
|
1090
|
-
* @see https://tailwindcss.com/docs/font-style
|
|
1091
|
-
*/
|
|
1092
|
-
"font-style": ["italic", "not-italic"],
|
|
1093
|
-
/**
|
|
1094
|
-
* Font Weight
|
|
1095
|
-
* @see https://tailwindcss.com/docs/font-weight
|
|
1096
|
-
*/
|
|
1097
|
-
"font-weight": [{
|
|
1098
|
-
font: ["thin", "extralight", "light", "normal", "medium", "semibold", "bold", "extrabold", "black", Ne]
|
|
1099
|
-
}],
|
|
1100
|
-
/**
|
|
1101
|
-
* Font Family
|
|
1102
|
-
* @see https://tailwindcss.com/docs/font-family
|
|
1103
|
-
*/
|
|
1104
|
-
"font-family": [{
|
|
1105
|
-
font: [Re]
|
|
1106
|
-
}],
|
|
1107
|
-
/**
|
|
1108
|
-
* Font Variant Numeric
|
|
1109
|
-
* @see https://tailwindcss.com/docs/font-variant-numeric
|
|
1110
|
-
*/
|
|
1111
|
-
"fvn-normal": ["normal-nums"],
|
|
1112
|
-
/**
|
|
1113
|
-
* Font Variant Numeric
|
|
1114
|
-
* @see https://tailwindcss.com/docs/font-variant-numeric
|
|
1115
|
-
*/
|
|
1116
|
-
"fvn-ordinal": ["ordinal"],
|
|
1117
|
-
/**
|
|
1118
|
-
* Font Variant Numeric
|
|
1119
|
-
* @see https://tailwindcss.com/docs/font-variant-numeric
|
|
1120
|
-
*/
|
|
1121
|
-
"fvn-slashed-zero": ["slashed-zero"],
|
|
1122
|
-
/**
|
|
1123
|
-
* Font Variant Numeric
|
|
1124
|
-
* @see https://tailwindcss.com/docs/font-variant-numeric
|
|
1125
|
-
*/
|
|
1126
|
-
"fvn-figure": ["lining-nums", "oldstyle-nums"],
|
|
1127
|
-
/**
|
|
1128
|
-
* Font Variant Numeric
|
|
1129
|
-
* @see https://tailwindcss.com/docs/font-variant-numeric
|
|
1130
|
-
*/
|
|
1131
|
-
"fvn-spacing": ["proportional-nums", "tabular-nums"],
|
|
1132
|
-
/**
|
|
1133
|
-
* Font Variant Numeric
|
|
1134
|
-
* @see https://tailwindcss.com/docs/font-variant-numeric
|
|
1135
|
-
*/
|
|
1136
|
-
"fvn-fraction": ["diagonal-fractions", "stacked-fractons"],
|
|
1137
|
-
/**
|
|
1138
|
-
* Letter Spacing
|
|
1139
|
-
* @see https://tailwindcss.com/docs/letter-spacing
|
|
1140
|
-
*/
|
|
1141
|
-
tracking: [{
|
|
1142
|
-
tracking: ["tighter", "tight", "normal", "wide", "wider", "widest", x]
|
|
1143
|
-
}],
|
|
1144
|
-
/**
|
|
1145
|
-
* Line Clamp
|
|
1146
|
-
* @see https://tailwindcss.com/docs/line-clamp
|
|
1147
|
-
*/
|
|
1148
|
-
"line-clamp": [{
|
|
1149
|
-
"line-clamp": ["none", ee, Ne]
|
|
1150
|
-
}],
|
|
1151
|
-
/**
|
|
1152
|
-
* Line Height
|
|
1153
|
-
* @see https://tailwindcss.com/docs/line-height
|
|
1154
|
-
*/
|
|
1155
|
-
leading: [{
|
|
1156
|
-
leading: ["none", "tight", "snug", "normal", "relaxed", "loose", B, x]
|
|
1157
|
-
}],
|
|
1158
|
-
/**
|
|
1159
|
-
* List Style Image
|
|
1160
|
-
* @see https://tailwindcss.com/docs/list-style-image
|
|
1161
|
-
*/
|
|
1162
|
-
"list-image": [{
|
|
1163
|
-
"list-image": ["none", x]
|
|
1164
|
-
}],
|
|
1165
|
-
/**
|
|
1166
|
-
* List Style Type
|
|
1167
|
-
* @see https://tailwindcss.com/docs/list-style-type
|
|
1168
|
-
*/
|
|
1169
|
-
"list-style-type": [{
|
|
1170
|
-
list: ["none", "disc", "decimal", x]
|
|
1171
|
-
}],
|
|
1172
|
-
/**
|
|
1173
|
-
* List Style Position
|
|
1174
|
-
* @see https://tailwindcss.com/docs/list-style-position
|
|
1175
|
-
*/
|
|
1176
|
-
"list-style-position": [{
|
|
1177
|
-
list: ["inside", "outside"]
|
|
1178
|
-
}],
|
|
1179
|
-
/**
|
|
1180
|
-
* Placeholder Color
|
|
1181
|
-
* @deprecated since Tailwind CSS v3.0.0
|
|
1182
|
-
* @see https://tailwindcss.com/docs/placeholder-color
|
|
1183
|
-
*/
|
|
1184
|
-
"placeholder-color": [{
|
|
1185
|
-
placeholder: [e]
|
|
1186
|
-
}],
|
|
1187
|
-
/**
|
|
1188
|
-
* Placeholder Opacity
|
|
1189
|
-
* @see https://tailwindcss.com/docs/placeholder-opacity
|
|
1190
|
-
*/
|
|
1191
|
-
"placeholder-opacity": [{
|
|
1192
|
-
"placeholder-opacity": [w]
|
|
1193
|
-
}],
|
|
1194
|
-
/**
|
|
1195
|
-
* Text Alignment
|
|
1196
|
-
* @see https://tailwindcss.com/docs/text-align
|
|
1197
|
-
*/
|
|
1198
|
-
"text-alignment": [{
|
|
1199
|
-
text: ["left", "center", "right", "justify", "start", "end"]
|
|
1200
|
-
}],
|
|
1201
|
-
/**
|
|
1202
|
-
* Text Color
|
|
1203
|
-
* @see https://tailwindcss.com/docs/text-color
|
|
1204
|
-
*/
|
|
1205
|
-
"text-color": [{
|
|
1206
|
-
text: [e]
|
|
1207
|
-
}],
|
|
1208
|
-
/**
|
|
1209
|
-
* Text Opacity
|
|
1210
|
-
* @see https://tailwindcss.com/docs/text-opacity
|
|
1211
|
-
*/
|
|
1212
|
-
"text-opacity": [{
|
|
1213
|
-
"text-opacity": [w]
|
|
1214
|
-
}],
|
|
1215
|
-
/**
|
|
1216
|
-
* Text Decoration
|
|
1217
|
-
* @see https://tailwindcss.com/docs/text-decoration
|
|
1218
|
-
*/
|
|
1219
|
-
"text-decoration": ["underline", "overline", "line-through", "no-underline"],
|
|
1220
|
-
/**
|
|
1221
|
-
* Text Decoration Style
|
|
1222
|
-
* @see https://tailwindcss.com/docs/text-decoration-style
|
|
1223
|
-
*/
|
|
1224
|
-
"text-decoration-style": [{
|
|
1225
|
-
decoration: [...Fe(), "wavy"]
|
|
1226
|
-
}],
|
|
1227
|
-
/**
|
|
1228
|
-
* Text Decoration Thickness
|
|
1229
|
-
* @see https://tailwindcss.com/docs/text-decoration-thickness
|
|
1230
|
-
*/
|
|
1231
|
-
"text-decoration-thickness": [{
|
|
1232
|
-
decoration: ["auto", "from-font", B, H]
|
|
1233
|
-
}],
|
|
1234
|
-
/**
|
|
1235
|
-
* Text Underline Offset
|
|
1236
|
-
* @see https://tailwindcss.com/docs/text-underline-offset
|
|
1237
|
-
*/
|
|
1238
|
-
"underline-offset": [{
|
|
1239
|
-
"underline-offset": ["auto", B, x]
|
|
1240
|
-
}],
|
|
1241
|
-
/**
|
|
1242
|
-
* Text Decoration Color
|
|
1243
|
-
* @see https://tailwindcss.com/docs/text-decoration-color
|
|
1244
|
-
*/
|
|
1245
|
-
"text-decoration-color": [{
|
|
1246
|
-
decoration: [e]
|
|
1247
|
-
}],
|
|
1248
|
-
/**
|
|
1249
|
-
* Text Transform
|
|
1250
|
-
* @see https://tailwindcss.com/docs/text-transform
|
|
1251
|
-
*/
|
|
1252
|
-
"text-transform": ["uppercase", "lowercase", "capitalize", "normal-case"],
|
|
1253
|
-
/**
|
|
1254
|
-
* Text Overflow
|
|
1255
|
-
* @see https://tailwindcss.com/docs/text-overflow
|
|
1256
|
-
*/
|
|
1257
|
-
"text-overflow": ["truncate", "text-ellipsis", "text-clip"],
|
|
1258
|
-
/**
|
|
1259
|
-
* Text Wrap
|
|
1260
|
-
* @see https://tailwindcss.com/docs/text-wrap
|
|
1261
|
-
*/
|
|
1262
|
-
"text-wrap": [{
|
|
1263
|
-
text: ["wrap", "nowrap", "balance", "pretty"]
|
|
1264
|
-
}],
|
|
1265
|
-
/**
|
|
1266
|
-
* Text Indent
|
|
1267
|
-
* @see https://tailwindcss.com/docs/text-indent
|
|
1268
|
-
*/
|
|
1269
|
-
indent: [{
|
|
1270
|
-
indent: F()
|
|
1271
|
-
}],
|
|
1272
|
-
/**
|
|
1273
|
-
* Vertical Alignment
|
|
1274
|
-
* @see https://tailwindcss.com/docs/vertical-align
|
|
1275
|
-
*/
|
|
1276
|
-
"vertical-align": [{
|
|
1277
|
-
align: ["baseline", "top", "middle", "bottom", "text-top", "text-bottom", "sub", "super", x]
|
|
1278
|
-
}],
|
|
1279
|
-
/**
|
|
1280
|
-
* Whitespace
|
|
1281
|
-
* @see https://tailwindcss.com/docs/whitespace
|
|
1282
|
-
*/
|
|
1283
|
-
whitespace: [{
|
|
1284
|
-
whitespace: ["normal", "nowrap", "pre", "pre-line", "pre-wrap", "break-spaces"]
|
|
1285
|
-
}],
|
|
1286
|
-
/**
|
|
1287
|
-
* Word Break
|
|
1288
|
-
* @see https://tailwindcss.com/docs/word-break
|
|
1289
|
-
*/
|
|
1290
|
-
break: [{
|
|
1291
|
-
break: ["normal", "words", "all", "keep"]
|
|
1292
|
-
}],
|
|
1293
|
-
/**
|
|
1294
|
-
* Hyphens
|
|
1295
|
-
* @see https://tailwindcss.com/docs/hyphens
|
|
1296
|
-
*/
|
|
1297
|
-
hyphens: [{
|
|
1298
|
-
hyphens: ["none", "manual", "auto"]
|
|
1299
|
-
}],
|
|
1300
|
-
/**
|
|
1301
|
-
* Content
|
|
1302
|
-
* @see https://tailwindcss.com/docs/content
|
|
1303
|
-
*/
|
|
1304
|
-
content: [{
|
|
1305
|
-
content: ["none", x]
|
|
1306
|
-
}],
|
|
1307
|
-
// Backgrounds
|
|
1308
|
-
/**
|
|
1309
|
-
* Background Attachment
|
|
1310
|
-
* @see https://tailwindcss.com/docs/background-attachment
|
|
1311
|
-
*/
|
|
1312
|
-
"bg-attachment": [{
|
|
1313
|
-
bg: ["fixed", "local", "scroll"]
|
|
1314
|
-
}],
|
|
1315
|
-
/**
|
|
1316
|
-
* Background Clip
|
|
1317
|
-
* @see https://tailwindcss.com/docs/background-clip
|
|
1318
|
-
*/
|
|
1319
|
-
"bg-clip": [{
|
|
1320
|
-
"bg-clip": ["border", "padding", "content", "text"]
|
|
1321
|
-
}],
|
|
1322
|
-
/**
|
|
1323
|
-
* Background Opacity
|
|
1324
|
-
* @deprecated since Tailwind CSS v3.0.0
|
|
1325
|
-
* @see https://tailwindcss.com/docs/background-opacity
|
|
1326
|
-
*/
|
|
1327
|
-
"bg-opacity": [{
|
|
1328
|
-
"bg-opacity": [w]
|
|
1329
|
-
}],
|
|
1330
|
-
/**
|
|
1331
|
-
* Background Origin
|
|
1332
|
-
* @see https://tailwindcss.com/docs/background-origin
|
|
1333
|
-
*/
|
|
1334
|
-
"bg-origin": [{
|
|
1335
|
-
"bg-origin": ["border", "padding", "content"]
|
|
1336
|
-
}],
|
|
1337
|
-
/**
|
|
1338
|
-
* Background Position
|
|
1339
|
-
* @see https://tailwindcss.com/docs/background-position
|
|
1340
|
-
*/
|
|
1341
|
-
"bg-position": [{
|
|
1342
|
-
bg: [...xt(), nn]
|
|
1343
|
-
}],
|
|
1344
|
-
/**
|
|
1345
|
-
* Background Repeat
|
|
1346
|
-
* @see https://tailwindcss.com/docs/background-repeat
|
|
1347
|
-
*/
|
|
1348
|
-
"bg-repeat": [{
|
|
1349
|
-
bg: ["no-repeat", {
|
|
1350
|
-
repeat: ["", "x", "y", "round", "space"]
|
|
1351
|
-
}]
|
|
1352
|
-
}],
|
|
1353
|
-
/**
|
|
1354
|
-
* Background Size
|
|
1355
|
-
* @see https://tailwindcss.com/docs/background-size
|
|
1356
|
-
*/
|
|
1357
|
-
"bg-size": [{
|
|
1358
|
-
bg: ["auto", "cover", "contain", rn]
|
|
1359
|
-
}],
|
|
1360
|
-
/**
|
|
1361
|
-
* Background Image
|
|
1362
|
-
* @see https://tailwindcss.com/docs/background-image
|
|
1363
|
-
*/
|
|
1364
|
-
"bg-image": [{
|
|
1365
|
-
bg: ["none", {
|
|
1366
|
-
"gradient-to": ["t", "tr", "r", "br", "b", "bl", "l", "tl"]
|
|
1367
|
-
}, on]
|
|
1368
|
-
}],
|
|
1369
|
-
/**
|
|
1370
|
-
* Background Color
|
|
1371
|
-
* @see https://tailwindcss.com/docs/background-color
|
|
1372
|
-
*/
|
|
1373
|
-
"bg-color": [{
|
|
1374
|
-
bg: [e]
|
|
1375
|
-
}],
|
|
1376
|
-
/**
|
|
1377
|
-
* Gradient Color Stops From Position
|
|
1378
|
-
* @see https://tailwindcss.com/docs/gradient-color-stops
|
|
1379
|
-
*/
|
|
1380
|
-
"gradient-from-pos": [{
|
|
1381
|
-
from: [S]
|
|
1382
|
-
}],
|
|
1383
|
-
/**
|
|
1384
|
-
* Gradient Color Stops Via Position
|
|
1385
|
-
* @see https://tailwindcss.com/docs/gradient-color-stops
|
|
1386
|
-
*/
|
|
1387
|
-
"gradient-via-pos": [{
|
|
1388
|
-
via: [S]
|
|
1389
|
-
}],
|
|
1390
|
-
/**
|
|
1391
|
-
* Gradient Color Stops To Position
|
|
1392
|
-
* @see https://tailwindcss.com/docs/gradient-color-stops
|
|
1393
|
-
*/
|
|
1394
|
-
"gradient-to-pos": [{
|
|
1395
|
-
to: [S]
|
|
1396
|
-
}],
|
|
1397
|
-
/**
|
|
1398
|
-
* Gradient Color Stops From
|
|
1399
|
-
* @see https://tailwindcss.com/docs/gradient-color-stops
|
|
1400
|
-
*/
|
|
1401
|
-
"gradient-from": [{
|
|
1402
|
-
from: [b]
|
|
1403
|
-
}],
|
|
1404
|
-
/**
|
|
1405
|
-
* Gradient Color Stops Via
|
|
1406
|
-
* @see https://tailwindcss.com/docs/gradient-color-stops
|
|
1407
|
-
*/
|
|
1408
|
-
"gradient-via": [{
|
|
1409
|
-
via: [b]
|
|
1410
|
-
}],
|
|
1411
|
-
/**
|
|
1412
|
-
* Gradient Color Stops To
|
|
1413
|
-
* @see https://tailwindcss.com/docs/gradient-color-stops
|
|
1414
|
-
*/
|
|
1415
|
-
"gradient-to": [{
|
|
1416
|
-
to: [b]
|
|
1417
|
-
}],
|
|
1418
|
-
// Borders
|
|
1419
|
-
/**
|
|
1420
|
-
* Border Radius
|
|
1421
|
-
* @see https://tailwindcss.com/docs/border-radius
|
|
1422
|
-
*/
|
|
1423
|
-
rounded: [{
|
|
1424
|
-
rounded: [i]
|
|
1425
|
-
}],
|
|
1426
|
-
/**
|
|
1427
|
-
* Border Radius Start
|
|
1428
|
-
* @see https://tailwindcss.com/docs/border-radius
|
|
1429
|
-
*/
|
|
1430
|
-
"rounded-s": [{
|
|
1431
|
-
"rounded-s": [i]
|
|
1432
|
-
}],
|
|
1433
|
-
/**
|
|
1434
|
-
* Border Radius End
|
|
1435
|
-
* @see https://tailwindcss.com/docs/border-radius
|
|
1436
|
-
*/
|
|
1437
|
-
"rounded-e": [{
|
|
1438
|
-
"rounded-e": [i]
|
|
1439
|
-
}],
|
|
1440
|
-
/**
|
|
1441
|
-
* Border Radius Top
|
|
1442
|
-
* @see https://tailwindcss.com/docs/border-radius
|
|
1443
|
-
*/
|
|
1444
|
-
"rounded-t": [{
|
|
1445
|
-
"rounded-t": [i]
|
|
1446
|
-
}],
|
|
1447
|
-
/**
|
|
1448
|
-
* Border Radius Right
|
|
1449
|
-
* @see https://tailwindcss.com/docs/border-radius
|
|
1450
|
-
*/
|
|
1451
|
-
"rounded-r": [{
|
|
1452
|
-
"rounded-r": [i]
|
|
1453
|
-
}],
|
|
1454
|
-
/**
|
|
1455
|
-
* Border Radius Bottom
|
|
1456
|
-
* @see https://tailwindcss.com/docs/border-radius
|
|
1457
|
-
*/
|
|
1458
|
-
"rounded-b": [{
|
|
1459
|
-
"rounded-b": [i]
|
|
1460
|
-
}],
|
|
1461
|
-
/**
|
|
1462
|
-
* Border Radius Left
|
|
1463
|
-
* @see https://tailwindcss.com/docs/border-radius
|
|
1464
|
-
*/
|
|
1465
|
-
"rounded-l": [{
|
|
1466
|
-
"rounded-l": [i]
|
|
1467
|
-
}],
|
|
1468
|
-
/**
|
|
1469
|
-
* Border Radius Start Start
|
|
1470
|
-
* @see https://tailwindcss.com/docs/border-radius
|
|
1471
|
-
*/
|
|
1472
|
-
"rounded-ss": [{
|
|
1473
|
-
"rounded-ss": [i]
|
|
1474
|
-
}],
|
|
1475
|
-
/**
|
|
1476
|
-
* Border Radius Start End
|
|
1477
|
-
* @see https://tailwindcss.com/docs/border-radius
|
|
1478
|
-
*/
|
|
1479
|
-
"rounded-se": [{
|
|
1480
|
-
"rounded-se": [i]
|
|
1481
|
-
}],
|
|
1482
|
-
/**
|
|
1483
|
-
* Border Radius End End
|
|
1484
|
-
* @see https://tailwindcss.com/docs/border-radius
|
|
1485
|
-
*/
|
|
1486
|
-
"rounded-ee": [{
|
|
1487
|
-
"rounded-ee": [i]
|
|
1488
|
-
}],
|
|
1489
|
-
/**
|
|
1490
|
-
* Border Radius End Start
|
|
1491
|
-
* @see https://tailwindcss.com/docs/border-radius
|
|
1492
|
-
*/
|
|
1493
|
-
"rounded-es": [{
|
|
1494
|
-
"rounded-es": [i]
|
|
1495
|
-
}],
|
|
1496
|
-
/**
|
|
1497
|
-
* Border Radius Top Left
|
|
1498
|
-
* @see https://tailwindcss.com/docs/border-radius
|
|
1499
|
-
*/
|
|
1500
|
-
"rounded-tl": [{
|
|
1501
|
-
"rounded-tl": [i]
|
|
1502
|
-
}],
|
|
1503
|
-
/**
|
|
1504
|
-
* Border Radius Top Right
|
|
1505
|
-
* @see https://tailwindcss.com/docs/border-radius
|
|
1506
|
-
*/
|
|
1507
|
-
"rounded-tr": [{
|
|
1508
|
-
"rounded-tr": [i]
|
|
1509
|
-
}],
|
|
1510
|
-
/**
|
|
1511
|
-
* Border Radius Bottom Right
|
|
1512
|
-
* @see https://tailwindcss.com/docs/border-radius
|
|
1513
|
-
*/
|
|
1514
|
-
"rounded-br": [{
|
|
1515
|
-
"rounded-br": [i]
|
|
1516
|
-
}],
|
|
1517
|
-
/**
|
|
1518
|
-
* Border Radius Bottom Left
|
|
1519
|
-
* @see https://tailwindcss.com/docs/border-radius
|
|
1520
|
-
*/
|
|
1521
|
-
"rounded-bl": [{
|
|
1522
|
-
"rounded-bl": [i]
|
|
1523
|
-
}],
|
|
1524
|
-
/**
|
|
1525
|
-
* Border Width
|
|
1526
|
-
* @see https://tailwindcss.com/docs/border-width
|
|
1527
|
-
*/
|
|
1528
|
-
"border-w": [{
|
|
1529
|
-
border: [l]
|
|
1530
|
-
}],
|
|
1531
|
-
/**
|
|
1532
|
-
* Border Width X
|
|
1533
|
-
* @see https://tailwindcss.com/docs/border-width
|
|
1534
|
-
*/
|
|
1535
|
-
"border-w-x": [{
|
|
1536
|
-
"border-x": [l]
|
|
1537
|
-
}],
|
|
1538
|
-
/**
|
|
1539
|
-
* Border Width Y
|
|
1540
|
-
* @see https://tailwindcss.com/docs/border-width
|
|
1541
|
-
*/
|
|
1542
|
-
"border-w-y": [{
|
|
1543
|
-
"border-y": [l]
|
|
1544
|
-
}],
|
|
1545
|
-
/**
|
|
1546
|
-
* Border Width Start
|
|
1547
|
-
* @see https://tailwindcss.com/docs/border-width
|
|
1548
|
-
*/
|
|
1549
|
-
"border-w-s": [{
|
|
1550
|
-
"border-s": [l]
|
|
1551
|
-
}],
|
|
1552
|
-
/**
|
|
1553
|
-
* Border Width End
|
|
1554
|
-
* @see https://tailwindcss.com/docs/border-width
|
|
1555
|
-
*/
|
|
1556
|
-
"border-w-e": [{
|
|
1557
|
-
"border-e": [l]
|
|
1558
|
-
}],
|
|
1559
|
-
/**
|
|
1560
|
-
* Border Width Top
|
|
1561
|
-
* @see https://tailwindcss.com/docs/border-width
|
|
1562
|
-
*/
|
|
1563
|
-
"border-w-t": [{
|
|
1564
|
-
"border-t": [l]
|
|
1565
|
-
}],
|
|
1566
|
-
/**
|
|
1567
|
-
* Border Width Right
|
|
1568
|
-
* @see https://tailwindcss.com/docs/border-width
|
|
1569
|
-
*/
|
|
1570
|
-
"border-w-r": [{
|
|
1571
|
-
"border-r": [l]
|
|
1572
|
-
}],
|
|
1573
|
-
/**
|
|
1574
|
-
* Border Width Bottom
|
|
1575
|
-
* @see https://tailwindcss.com/docs/border-width
|
|
1576
|
-
*/
|
|
1577
|
-
"border-w-b": [{
|
|
1578
|
-
"border-b": [l]
|
|
1579
|
-
}],
|
|
1580
|
-
/**
|
|
1581
|
-
* Border Width Left
|
|
1582
|
-
* @see https://tailwindcss.com/docs/border-width
|
|
1583
|
-
*/
|
|
1584
|
-
"border-w-l": [{
|
|
1585
|
-
"border-l": [l]
|
|
1586
|
-
}],
|
|
1587
|
-
/**
|
|
1588
|
-
* Border Opacity
|
|
1589
|
-
* @see https://tailwindcss.com/docs/border-opacity
|
|
1590
|
-
*/
|
|
1591
|
-
"border-opacity": [{
|
|
1592
|
-
"border-opacity": [w]
|
|
1593
|
-
}],
|
|
1594
|
-
/**
|
|
1595
|
-
* Border Style
|
|
1596
|
-
* @see https://tailwindcss.com/docs/border-style
|
|
1597
|
-
*/
|
|
1598
|
-
"border-style": [{
|
|
1599
|
-
border: [...Fe(), "hidden"]
|
|
1600
|
-
}],
|
|
1601
|
-
/**
|
|
1602
|
-
* Divide Width X
|
|
1603
|
-
* @see https://tailwindcss.com/docs/divide-width
|
|
1604
|
-
*/
|
|
1605
|
-
"divide-x": [{
|
|
1606
|
-
"divide-x": [l]
|
|
1607
|
-
}],
|
|
1608
|
-
/**
|
|
1609
|
-
* Divide Width X Reverse
|
|
1610
|
-
* @see https://tailwindcss.com/docs/divide-width
|
|
1611
|
-
*/
|
|
1612
|
-
"divide-x-reverse": ["divide-x-reverse"],
|
|
1613
|
-
/**
|
|
1614
|
-
* Divide Width Y
|
|
1615
|
-
* @see https://tailwindcss.com/docs/divide-width
|
|
1616
|
-
*/
|
|
1617
|
-
"divide-y": [{
|
|
1618
|
-
"divide-y": [l]
|
|
1619
|
-
}],
|
|
1620
|
-
/**
|
|
1621
|
-
* Divide Width Y Reverse
|
|
1622
|
-
* @see https://tailwindcss.com/docs/divide-width
|
|
1623
|
-
*/
|
|
1624
|
-
"divide-y-reverse": ["divide-y-reverse"],
|
|
1625
|
-
/**
|
|
1626
|
-
* Divide Opacity
|
|
1627
|
-
* @see https://tailwindcss.com/docs/divide-opacity
|
|
1628
|
-
*/
|
|
1629
|
-
"divide-opacity": [{
|
|
1630
|
-
"divide-opacity": [w]
|
|
1631
|
-
}],
|
|
1632
|
-
/**
|
|
1633
|
-
* Divide Style
|
|
1634
|
-
* @see https://tailwindcss.com/docs/divide-style
|
|
1635
|
-
*/
|
|
1636
|
-
"divide-style": [{
|
|
1637
|
-
divide: Fe()
|
|
1638
|
-
}],
|
|
1639
|
-
/**
|
|
1640
|
-
* Border Color
|
|
1641
|
-
* @see https://tailwindcss.com/docs/border-color
|
|
1642
|
-
*/
|
|
1643
|
-
"border-color": [{
|
|
1644
|
-
border: [s]
|
|
1645
|
-
}],
|
|
1646
|
-
/**
|
|
1647
|
-
* Border Color X
|
|
1648
|
-
* @see https://tailwindcss.com/docs/border-color
|
|
1649
|
-
*/
|
|
1650
|
-
"border-color-x": [{
|
|
1651
|
-
"border-x": [s]
|
|
1652
|
-
}],
|
|
1653
|
-
/**
|
|
1654
|
-
* Border Color Y
|
|
1655
|
-
* @see https://tailwindcss.com/docs/border-color
|
|
1656
|
-
*/
|
|
1657
|
-
"border-color-y": [{
|
|
1658
|
-
"border-y": [s]
|
|
1659
|
-
}],
|
|
1660
|
-
/**
|
|
1661
|
-
* Border Color Top
|
|
1662
|
-
* @see https://tailwindcss.com/docs/border-color
|
|
1663
|
-
*/
|
|
1664
|
-
"border-color-t": [{
|
|
1665
|
-
"border-t": [s]
|
|
1666
|
-
}],
|
|
1667
|
-
/**
|
|
1668
|
-
* Border Color Right
|
|
1669
|
-
* @see https://tailwindcss.com/docs/border-color
|
|
1670
|
-
*/
|
|
1671
|
-
"border-color-r": [{
|
|
1672
|
-
"border-r": [s]
|
|
1673
|
-
}],
|
|
1674
|
-
/**
|
|
1675
|
-
* Border Color Bottom
|
|
1676
|
-
* @see https://tailwindcss.com/docs/border-color
|
|
1677
|
-
*/
|
|
1678
|
-
"border-color-b": [{
|
|
1679
|
-
"border-b": [s]
|
|
1680
|
-
}],
|
|
1681
|
-
/**
|
|
1682
|
-
* Border Color Left
|
|
1683
|
-
* @see https://tailwindcss.com/docs/border-color
|
|
1684
|
-
*/
|
|
1685
|
-
"border-color-l": [{
|
|
1686
|
-
"border-l": [s]
|
|
1687
|
-
}],
|
|
1688
|
-
/**
|
|
1689
|
-
* Divide Color
|
|
1690
|
-
* @see https://tailwindcss.com/docs/divide-color
|
|
1691
|
-
*/
|
|
1692
|
-
"divide-color": [{
|
|
1693
|
-
divide: [s]
|
|
1694
|
-
}],
|
|
1695
|
-
/**
|
|
1696
|
-
* Outline Style
|
|
1697
|
-
* @see https://tailwindcss.com/docs/outline-style
|
|
1698
|
-
*/
|
|
1699
|
-
"outline-style": [{
|
|
1700
|
-
outline: ["", ...Fe()]
|
|
1701
|
-
}],
|
|
1702
|
-
/**
|
|
1703
|
-
* Outline Offset
|
|
1704
|
-
* @see https://tailwindcss.com/docs/outline-offset
|
|
1705
|
-
*/
|
|
1706
|
-
"outline-offset": [{
|
|
1707
|
-
"outline-offset": [B, x]
|
|
1708
|
-
}],
|
|
1709
|
-
/**
|
|
1710
|
-
* Outline Width
|
|
1711
|
-
* @see https://tailwindcss.com/docs/outline-width
|
|
1712
|
-
*/
|
|
1713
|
-
"outline-w": [{
|
|
1714
|
-
outline: [B, H]
|
|
1715
|
-
}],
|
|
1716
|
-
/**
|
|
1717
|
-
* Outline Color
|
|
1718
|
-
* @see https://tailwindcss.com/docs/outline-color
|
|
1719
|
-
*/
|
|
1720
|
-
"outline-color": [{
|
|
1721
|
-
outline: [e]
|
|
1722
|
-
}],
|
|
1723
|
-
/**
|
|
1724
|
-
* Ring Width
|
|
1725
|
-
* @see https://tailwindcss.com/docs/ring-width
|
|
1726
|
-
*/
|
|
1727
|
-
"ring-w": [{
|
|
1728
|
-
ring: G()
|
|
1729
|
-
}],
|
|
1730
|
-
/**
|
|
1731
|
-
* Ring Width Inset
|
|
1732
|
-
* @see https://tailwindcss.com/docs/ring-width
|
|
1733
|
-
*/
|
|
1734
|
-
"ring-w-inset": ["ring-inset"],
|
|
1735
|
-
/**
|
|
1736
|
-
* Ring Color
|
|
1737
|
-
* @see https://tailwindcss.com/docs/ring-color
|
|
1738
|
-
*/
|
|
1739
|
-
"ring-color": [{
|
|
1740
|
-
ring: [e]
|
|
1741
|
-
}],
|
|
1742
|
-
/**
|
|
1743
|
-
* Ring Opacity
|
|
1744
|
-
* @see https://tailwindcss.com/docs/ring-opacity
|
|
1745
|
-
*/
|
|
1746
|
-
"ring-opacity": [{
|
|
1747
|
-
"ring-opacity": [w]
|
|
1748
|
-
}],
|
|
1749
|
-
/**
|
|
1750
|
-
* Ring Offset Width
|
|
1751
|
-
* @see https://tailwindcss.com/docs/ring-offset-width
|
|
1752
|
-
*/
|
|
1753
|
-
"ring-offset-w": [{
|
|
1754
|
-
"ring-offset": [B, H]
|
|
1755
|
-
}],
|
|
1756
|
-
/**
|
|
1757
|
-
* Ring Offset Color
|
|
1758
|
-
* @see https://tailwindcss.com/docs/ring-offset-color
|
|
1759
|
-
*/
|
|
1760
|
-
"ring-offset-color": [{
|
|
1761
|
-
"ring-offset": [e]
|
|
1762
|
-
}],
|
|
1763
|
-
// Effects
|
|
1764
|
-
/**
|
|
1765
|
-
* Box Shadow
|
|
1766
|
-
* @see https://tailwindcss.com/docs/box-shadow
|
|
1767
|
-
*/
|
|
1768
|
-
shadow: [{
|
|
1769
|
-
shadow: ["", "inner", "none", $, an]
|
|
1770
|
-
}],
|
|
1771
|
-
/**
|
|
1772
|
-
* Box Shadow Color
|
|
1773
|
-
* @see https://tailwindcss.com/docs/box-shadow-color
|
|
1774
|
-
*/
|
|
1775
|
-
"shadow-color": [{
|
|
1776
|
-
shadow: [Re]
|
|
1777
|
-
}],
|
|
1778
|
-
/**
|
|
1779
|
-
* Opacity
|
|
1780
|
-
* @see https://tailwindcss.com/docs/opacity
|
|
1781
|
-
*/
|
|
1782
|
-
opacity: [{
|
|
1783
|
-
opacity: [w]
|
|
1784
|
-
}],
|
|
1785
|
-
/**
|
|
1786
|
-
* Mix Blend Mode
|
|
1787
|
-
* @see https://tailwindcss.com/docs/mix-blend-mode
|
|
1788
|
-
*/
|
|
1789
|
-
"mix-blend": [{
|
|
1790
|
-
"mix-blend": [...St(), "plus-lighter", "plus-darker"]
|
|
1791
|
-
}],
|
|
1792
|
-
/**
|
|
1793
|
-
* Background Blend Mode
|
|
1794
|
-
* @see https://tailwindcss.com/docs/background-blend-mode
|
|
1795
|
-
*/
|
|
1796
|
-
"bg-blend": [{
|
|
1797
|
-
"bg-blend": St()
|
|
1798
|
-
}],
|
|
1799
|
-
// Filters
|
|
1800
|
-
/**
|
|
1801
|
-
* Filter
|
|
1802
|
-
* @deprecated since Tailwind CSS v3.0.0
|
|
1803
|
-
* @see https://tailwindcss.com/docs/filter
|
|
1804
|
-
*/
|
|
1805
|
-
filter: [{
|
|
1806
|
-
filter: ["", "none"]
|
|
1807
|
-
}],
|
|
1808
|
-
/**
|
|
1809
|
-
* Blur
|
|
1810
|
-
* @see https://tailwindcss.com/docs/blur
|
|
1811
|
-
*/
|
|
1812
|
-
blur: [{
|
|
1813
|
-
blur: [r]
|
|
1814
|
-
}],
|
|
1815
|
-
/**
|
|
1816
|
-
* Brightness
|
|
1817
|
-
* @see https://tailwindcss.com/docs/brightness
|
|
1818
|
-
*/
|
|
1819
|
-
brightness: [{
|
|
1820
|
-
brightness: [n]
|
|
1821
|
-
}],
|
|
1822
|
-
/**
|
|
1823
|
-
* Contrast
|
|
1824
|
-
* @see https://tailwindcss.com/docs/contrast
|
|
1825
|
-
*/
|
|
1826
|
-
contrast: [{
|
|
1827
|
-
contrast: [h]
|
|
1828
|
-
}],
|
|
1829
|
-
/**
|
|
1830
|
-
* Drop Shadow
|
|
1831
|
-
* @see https://tailwindcss.com/docs/drop-shadow
|
|
1832
|
-
*/
|
|
1833
|
-
"drop-shadow": [{
|
|
1834
|
-
"drop-shadow": ["", "none", $, x]
|
|
1835
|
-
}],
|
|
1836
|
-
/**
|
|
1837
|
-
* Grayscale
|
|
1838
|
-
* @see https://tailwindcss.com/docs/grayscale
|
|
1839
|
-
*/
|
|
1840
|
-
grayscale: [{
|
|
1841
|
-
grayscale: [c]
|
|
1842
|
-
}],
|
|
1843
|
-
/**
|
|
1844
|
-
* Hue Rotate
|
|
1845
|
-
* @see https://tailwindcss.com/docs/hue-rotate
|
|
1846
|
-
*/
|
|
1847
|
-
"hue-rotate": [{
|
|
1848
|
-
"hue-rotate": [d]
|
|
1849
|
-
}],
|
|
1850
|
-
/**
|
|
1851
|
-
* Invert
|
|
1852
|
-
* @see https://tailwindcss.com/docs/invert
|
|
1853
|
-
*/
|
|
1854
|
-
invert: [{
|
|
1855
|
-
invert: [u]
|
|
1856
|
-
}],
|
|
1857
|
-
/**
|
|
1858
|
-
* Saturate
|
|
1859
|
-
* @see https://tailwindcss.com/docs/saturate
|
|
1860
|
-
*/
|
|
1861
|
-
saturate: [{
|
|
1862
|
-
saturate: [C]
|
|
1863
|
-
}],
|
|
1864
|
-
/**
|
|
1865
|
-
* Sepia
|
|
1866
|
-
* @see https://tailwindcss.com/docs/sepia
|
|
1867
|
-
*/
|
|
1868
|
-
sepia: [{
|
|
1869
|
-
sepia: [_]
|
|
1870
|
-
}],
|
|
1871
|
-
/**
|
|
1872
|
-
* Backdrop Filter
|
|
1873
|
-
* @deprecated since Tailwind CSS v3.0.0
|
|
1874
|
-
* @see https://tailwindcss.com/docs/backdrop-filter
|
|
1875
|
-
*/
|
|
1876
|
-
"backdrop-filter": [{
|
|
1877
|
-
"backdrop-filter": ["", "none"]
|
|
1878
|
-
}],
|
|
1879
|
-
/**
|
|
1880
|
-
* Backdrop Blur
|
|
1881
|
-
* @see https://tailwindcss.com/docs/backdrop-blur
|
|
1882
|
-
*/
|
|
1883
|
-
"backdrop-blur": [{
|
|
1884
|
-
"backdrop-blur": [r]
|
|
1885
|
-
}],
|
|
1886
|
-
/**
|
|
1887
|
-
* Backdrop Brightness
|
|
1888
|
-
* @see https://tailwindcss.com/docs/backdrop-brightness
|
|
1889
|
-
*/
|
|
1890
|
-
"backdrop-brightness": [{
|
|
1891
|
-
"backdrop-brightness": [n]
|
|
1892
|
-
}],
|
|
1893
|
-
/**
|
|
1894
|
-
* Backdrop Contrast
|
|
1895
|
-
* @see https://tailwindcss.com/docs/backdrop-contrast
|
|
1896
|
-
*/
|
|
1897
|
-
"backdrop-contrast": [{
|
|
1898
|
-
"backdrop-contrast": [h]
|
|
1899
|
-
}],
|
|
1900
|
-
/**
|
|
1901
|
-
* Backdrop Grayscale
|
|
1902
|
-
* @see https://tailwindcss.com/docs/backdrop-grayscale
|
|
1903
|
-
*/
|
|
1904
|
-
"backdrop-grayscale": [{
|
|
1905
|
-
"backdrop-grayscale": [c]
|
|
1906
|
-
}],
|
|
1907
|
-
/**
|
|
1908
|
-
* Backdrop Hue Rotate
|
|
1909
|
-
* @see https://tailwindcss.com/docs/backdrop-hue-rotate
|
|
1910
|
-
*/
|
|
1911
|
-
"backdrop-hue-rotate": [{
|
|
1912
|
-
"backdrop-hue-rotate": [d]
|
|
1913
|
-
}],
|
|
1914
|
-
/**
|
|
1915
|
-
* Backdrop Invert
|
|
1916
|
-
* @see https://tailwindcss.com/docs/backdrop-invert
|
|
1917
|
-
*/
|
|
1918
|
-
"backdrop-invert": [{
|
|
1919
|
-
"backdrop-invert": [u]
|
|
1920
|
-
}],
|
|
1921
|
-
/**
|
|
1922
|
-
* Backdrop Opacity
|
|
1923
|
-
* @see https://tailwindcss.com/docs/backdrop-opacity
|
|
1924
|
-
*/
|
|
1925
|
-
"backdrop-opacity": [{
|
|
1926
|
-
"backdrop-opacity": [w]
|
|
1927
|
-
}],
|
|
1928
|
-
/**
|
|
1929
|
-
* Backdrop Saturate
|
|
1930
|
-
* @see https://tailwindcss.com/docs/backdrop-saturate
|
|
1931
|
-
*/
|
|
1932
|
-
"backdrop-saturate": [{
|
|
1933
|
-
"backdrop-saturate": [C]
|
|
1934
|
-
}],
|
|
1935
|
-
/**
|
|
1936
|
-
* Backdrop Sepia
|
|
1937
|
-
* @see https://tailwindcss.com/docs/backdrop-sepia
|
|
1938
|
-
*/
|
|
1939
|
-
"backdrop-sepia": [{
|
|
1940
|
-
"backdrop-sepia": [_]
|
|
1941
|
-
}],
|
|
1942
|
-
// Tables
|
|
1943
|
-
/**
|
|
1944
|
-
* Border Collapse
|
|
1945
|
-
* @see https://tailwindcss.com/docs/border-collapse
|
|
1946
|
-
*/
|
|
1947
|
-
"border-collapse": [{
|
|
1948
|
-
border: ["collapse", "separate"]
|
|
1949
|
-
}],
|
|
1950
|
-
/**
|
|
1951
|
-
* Border Spacing
|
|
1952
|
-
* @see https://tailwindcss.com/docs/border-spacing
|
|
1953
|
-
*/
|
|
1954
|
-
"border-spacing": [{
|
|
1955
|
-
"border-spacing": [o]
|
|
1956
|
-
}],
|
|
1957
|
-
/**
|
|
1958
|
-
* Border Spacing X
|
|
1959
|
-
* @see https://tailwindcss.com/docs/border-spacing
|
|
1960
|
-
*/
|
|
1961
|
-
"border-spacing-x": [{
|
|
1962
|
-
"border-spacing-x": [o]
|
|
1963
|
-
}],
|
|
1964
|
-
/**
|
|
1965
|
-
* Border Spacing Y
|
|
1966
|
-
* @see https://tailwindcss.com/docs/border-spacing
|
|
1967
|
-
*/
|
|
1968
|
-
"border-spacing-y": [{
|
|
1969
|
-
"border-spacing-y": [o]
|
|
1970
|
-
}],
|
|
1971
|
-
/**
|
|
1972
|
-
* Table Layout
|
|
1973
|
-
* @see https://tailwindcss.com/docs/table-layout
|
|
1974
|
-
*/
|
|
1975
|
-
"table-layout": [{
|
|
1976
|
-
table: ["auto", "fixed"]
|
|
1977
|
-
}],
|
|
1978
|
-
/**
|
|
1979
|
-
* Caption Side
|
|
1980
|
-
* @see https://tailwindcss.com/docs/caption-side
|
|
1981
|
-
*/
|
|
1982
|
-
caption: [{
|
|
1983
|
-
caption: ["top", "bottom"]
|
|
1984
|
-
}],
|
|
1985
|
-
// Transitions and Animation
|
|
1986
|
-
/**
|
|
1987
|
-
* Tranisition Property
|
|
1988
|
-
* @see https://tailwindcss.com/docs/transition-property
|
|
1989
|
-
*/
|
|
1990
|
-
transition: [{
|
|
1991
|
-
transition: ["none", "all", "", "colors", "opacity", "shadow", "transform", x]
|
|
1992
|
-
}],
|
|
1993
|
-
/**
|
|
1994
|
-
* Transition Duration
|
|
1995
|
-
* @see https://tailwindcss.com/docs/transition-duration
|
|
1996
|
-
*/
|
|
1997
|
-
duration: [{
|
|
1998
|
-
duration: Le()
|
|
1999
|
-
}],
|
|
2000
|
-
/**
|
|
2001
|
-
* Transition Timing Function
|
|
2002
|
-
* @see https://tailwindcss.com/docs/transition-timing-function
|
|
2003
|
-
*/
|
|
2004
|
-
ease: [{
|
|
2005
|
-
ease: ["linear", "in", "out", "in-out", x]
|
|
2006
|
-
}],
|
|
2007
|
-
/**
|
|
2008
|
-
* Transition Delay
|
|
2009
|
-
* @see https://tailwindcss.com/docs/transition-delay
|
|
2010
|
-
*/
|
|
2011
|
-
delay: [{
|
|
2012
|
-
delay: Le()
|
|
2013
|
-
}],
|
|
2014
|
-
/**
|
|
2015
|
-
* Animation
|
|
2016
|
-
* @see https://tailwindcss.com/docs/animation
|
|
2017
|
-
*/
|
|
2018
|
-
animate: [{
|
|
2019
|
-
animate: ["none", "spin", "ping", "pulse", "bounce", x]
|
|
2020
|
-
}],
|
|
2021
|
-
// Transforms
|
|
2022
|
-
/**
|
|
2023
|
-
* Transform
|
|
2024
|
-
* @see https://tailwindcss.com/docs/transform
|
|
2025
|
-
*/
|
|
2026
|
-
transform: [{
|
|
2027
|
-
transform: ["", "gpu", "none"]
|
|
2028
|
-
}],
|
|
2029
|
-
/**
|
|
2030
|
-
* Scale
|
|
2031
|
-
* @see https://tailwindcss.com/docs/scale
|
|
2032
|
-
*/
|
|
2033
|
-
scale: [{
|
|
2034
|
-
scale: [R]
|
|
2035
|
-
}],
|
|
2036
|
-
/**
|
|
2037
|
-
* Scale X
|
|
2038
|
-
* @see https://tailwindcss.com/docs/scale
|
|
2039
|
-
*/
|
|
2040
|
-
"scale-x": [{
|
|
2041
|
-
"scale-x": [R]
|
|
2042
|
-
}],
|
|
2043
|
-
/**
|
|
2044
|
-
* Scale Y
|
|
2045
|
-
* @see https://tailwindcss.com/docs/scale
|
|
2046
|
-
*/
|
|
2047
|
-
"scale-y": [{
|
|
2048
|
-
"scale-y": [R]
|
|
2049
|
-
}],
|
|
2050
|
-
/**
|
|
2051
|
-
* Rotate
|
|
2052
|
-
* @see https://tailwindcss.com/docs/rotate
|
|
2053
|
-
*/
|
|
2054
|
-
rotate: [{
|
|
2055
|
-
rotate: [Ce, x]
|
|
2056
|
-
}],
|
|
2057
|
-
/**
|
|
2058
|
-
* Translate X
|
|
2059
|
-
* @see https://tailwindcss.com/docs/translate
|
|
2060
|
-
*/
|
|
2061
|
-
"translate-x": [{
|
|
2062
|
-
"translate-x": [k]
|
|
2063
|
-
}],
|
|
2064
|
-
/**
|
|
2065
|
-
* Translate Y
|
|
2066
|
-
* @see https://tailwindcss.com/docs/translate
|
|
2067
|
-
*/
|
|
2068
|
-
"translate-y": [{
|
|
2069
|
-
"translate-y": [k]
|
|
2070
|
-
}],
|
|
2071
|
-
/**
|
|
2072
|
-
* Skew X
|
|
2073
|
-
* @see https://tailwindcss.com/docs/skew
|
|
2074
|
-
*/
|
|
2075
|
-
"skew-x": [{
|
|
2076
|
-
"skew-x": [V]
|
|
2077
|
-
}],
|
|
2078
|
-
/**
|
|
2079
|
-
* Skew Y
|
|
2080
|
-
* @see https://tailwindcss.com/docs/skew
|
|
2081
|
-
*/
|
|
2082
|
-
"skew-y": [{
|
|
2083
|
-
"skew-y": [V]
|
|
2084
|
-
}],
|
|
2085
|
-
/**
|
|
2086
|
-
* Transform Origin
|
|
2087
|
-
* @see https://tailwindcss.com/docs/transform-origin
|
|
2088
|
-
*/
|
|
2089
|
-
"transform-origin": [{
|
|
2090
|
-
origin: ["center", "top", "top-right", "right", "bottom-right", "bottom", "bottom-left", "left", "top-left", x]
|
|
2091
|
-
}],
|
|
2092
|
-
// Interactivity
|
|
2093
|
-
/**
|
|
2094
|
-
* Accent Color
|
|
2095
|
-
* @see https://tailwindcss.com/docs/accent-color
|
|
2096
|
-
*/
|
|
2097
|
-
accent: [{
|
|
2098
|
-
accent: ["auto", e]
|
|
2099
|
-
}],
|
|
2100
|
-
/**
|
|
2101
|
-
* Appearance
|
|
2102
|
-
* @see https://tailwindcss.com/docs/appearance
|
|
2103
|
-
*/
|
|
2104
|
-
appearance: [{
|
|
2105
|
-
appearance: ["none", "auto"]
|
|
2106
|
-
}],
|
|
2107
|
-
/**
|
|
2108
|
-
* Cursor
|
|
2109
|
-
* @see https://tailwindcss.com/docs/cursor
|
|
2110
|
-
*/
|
|
2111
|
-
cursor: [{
|
|
2112
|
-
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", x]
|
|
2113
|
-
}],
|
|
2114
|
-
/**
|
|
2115
|
-
* Caret Color
|
|
2116
|
-
* @see https://tailwindcss.com/docs/just-in-time-mode#caret-color-utilities
|
|
2117
|
-
*/
|
|
2118
|
-
"caret-color": [{
|
|
2119
|
-
caret: [e]
|
|
2120
|
-
}],
|
|
2121
|
-
/**
|
|
2122
|
-
* Pointer Events
|
|
2123
|
-
* @see https://tailwindcss.com/docs/pointer-events
|
|
2124
|
-
*/
|
|
2125
|
-
"pointer-events": [{
|
|
2126
|
-
"pointer-events": ["none", "auto"]
|
|
2127
|
-
}],
|
|
2128
|
-
/**
|
|
2129
|
-
* Resize
|
|
2130
|
-
* @see https://tailwindcss.com/docs/resize
|
|
2131
|
-
*/
|
|
2132
|
-
resize: [{
|
|
2133
|
-
resize: ["none", "y", "x", ""]
|
|
2134
|
-
}],
|
|
2135
|
-
/**
|
|
2136
|
-
* Scroll Behavior
|
|
2137
|
-
* @see https://tailwindcss.com/docs/scroll-behavior
|
|
2138
|
-
*/
|
|
2139
|
-
"scroll-behavior": [{
|
|
2140
|
-
scroll: ["auto", "smooth"]
|
|
2141
|
-
}],
|
|
2142
|
-
/**
|
|
2143
|
-
* Scroll Margin
|
|
2144
|
-
* @see https://tailwindcss.com/docs/scroll-margin
|
|
2145
|
-
*/
|
|
2146
|
-
"scroll-m": [{
|
|
2147
|
-
"scroll-m": F()
|
|
2148
|
-
}],
|
|
2149
|
-
/**
|
|
2150
|
-
* Scroll Margin X
|
|
2151
|
-
* @see https://tailwindcss.com/docs/scroll-margin
|
|
2152
|
-
*/
|
|
2153
|
-
"scroll-mx": [{
|
|
2154
|
-
"scroll-mx": F()
|
|
2155
|
-
}],
|
|
2156
|
-
/**
|
|
2157
|
-
* Scroll Margin Y
|
|
2158
|
-
* @see https://tailwindcss.com/docs/scroll-margin
|
|
2159
|
-
*/
|
|
2160
|
-
"scroll-my": [{
|
|
2161
|
-
"scroll-my": F()
|
|
2162
|
-
}],
|
|
2163
|
-
/**
|
|
2164
|
-
* Scroll Margin Start
|
|
2165
|
-
* @see https://tailwindcss.com/docs/scroll-margin
|
|
2166
|
-
*/
|
|
2167
|
-
"scroll-ms": [{
|
|
2168
|
-
"scroll-ms": F()
|
|
2169
|
-
}],
|
|
2170
|
-
/**
|
|
2171
|
-
* Scroll Margin End
|
|
2172
|
-
* @see https://tailwindcss.com/docs/scroll-margin
|
|
2173
|
-
*/
|
|
2174
|
-
"scroll-me": [{
|
|
2175
|
-
"scroll-me": F()
|
|
2176
|
-
}],
|
|
2177
|
-
/**
|
|
2178
|
-
* Scroll Margin Top
|
|
2179
|
-
* @see https://tailwindcss.com/docs/scroll-margin
|
|
2180
|
-
*/
|
|
2181
|
-
"scroll-mt": [{
|
|
2182
|
-
"scroll-mt": F()
|
|
2183
|
-
}],
|
|
2184
|
-
/**
|
|
2185
|
-
* Scroll Margin Right
|
|
2186
|
-
* @see https://tailwindcss.com/docs/scroll-margin
|
|
2187
|
-
*/
|
|
2188
|
-
"scroll-mr": [{
|
|
2189
|
-
"scroll-mr": F()
|
|
2190
|
-
}],
|
|
2191
|
-
/**
|
|
2192
|
-
* Scroll Margin Bottom
|
|
2193
|
-
* @see https://tailwindcss.com/docs/scroll-margin
|
|
2194
|
-
*/
|
|
2195
|
-
"scroll-mb": [{
|
|
2196
|
-
"scroll-mb": F()
|
|
2197
|
-
}],
|
|
2198
|
-
/**
|
|
2199
|
-
* Scroll Margin Left
|
|
2200
|
-
* @see https://tailwindcss.com/docs/scroll-margin
|
|
2201
|
-
*/
|
|
2202
|
-
"scroll-ml": [{
|
|
2203
|
-
"scroll-ml": F()
|
|
2204
|
-
}],
|
|
2205
|
-
/**
|
|
2206
|
-
* Scroll Padding
|
|
2207
|
-
* @see https://tailwindcss.com/docs/scroll-padding
|
|
2208
|
-
*/
|
|
2209
|
-
"scroll-p": [{
|
|
2210
|
-
"scroll-p": F()
|
|
2211
|
-
}],
|
|
2212
|
-
/**
|
|
2213
|
-
* Scroll Padding X
|
|
2214
|
-
* @see https://tailwindcss.com/docs/scroll-padding
|
|
2215
|
-
*/
|
|
2216
|
-
"scroll-px": [{
|
|
2217
|
-
"scroll-px": F()
|
|
2218
|
-
}],
|
|
2219
|
-
/**
|
|
2220
|
-
* Scroll Padding Y
|
|
2221
|
-
* @see https://tailwindcss.com/docs/scroll-padding
|
|
2222
|
-
*/
|
|
2223
|
-
"scroll-py": [{
|
|
2224
|
-
"scroll-py": F()
|
|
2225
|
-
}],
|
|
2226
|
-
/**
|
|
2227
|
-
* Scroll Padding Start
|
|
2228
|
-
* @see https://tailwindcss.com/docs/scroll-padding
|
|
2229
|
-
*/
|
|
2230
|
-
"scroll-ps": [{
|
|
2231
|
-
"scroll-ps": F()
|
|
2232
|
-
}],
|
|
2233
|
-
/**
|
|
2234
|
-
* Scroll Padding End
|
|
2235
|
-
* @see https://tailwindcss.com/docs/scroll-padding
|
|
2236
|
-
*/
|
|
2237
|
-
"scroll-pe": [{
|
|
2238
|
-
"scroll-pe": F()
|
|
2239
|
-
}],
|
|
2240
|
-
/**
|
|
2241
|
-
* Scroll Padding Top
|
|
2242
|
-
* @see https://tailwindcss.com/docs/scroll-padding
|
|
2243
|
-
*/
|
|
2244
|
-
"scroll-pt": [{
|
|
2245
|
-
"scroll-pt": F()
|
|
2246
|
-
}],
|
|
2247
|
-
/**
|
|
2248
|
-
* Scroll Padding Right
|
|
2249
|
-
* @see https://tailwindcss.com/docs/scroll-padding
|
|
2250
|
-
*/
|
|
2251
|
-
"scroll-pr": [{
|
|
2252
|
-
"scroll-pr": F()
|
|
2253
|
-
}],
|
|
2254
|
-
/**
|
|
2255
|
-
* Scroll Padding Bottom
|
|
2256
|
-
* @see https://tailwindcss.com/docs/scroll-padding
|
|
2257
|
-
*/
|
|
2258
|
-
"scroll-pb": [{
|
|
2259
|
-
"scroll-pb": F()
|
|
2260
|
-
}],
|
|
2261
|
-
/**
|
|
2262
|
-
* Scroll Padding Left
|
|
2263
|
-
* @see https://tailwindcss.com/docs/scroll-padding
|
|
2264
|
-
*/
|
|
2265
|
-
"scroll-pl": [{
|
|
2266
|
-
"scroll-pl": F()
|
|
2267
|
-
}],
|
|
2268
|
-
/**
|
|
2269
|
-
* Scroll Snap Align
|
|
2270
|
-
* @see https://tailwindcss.com/docs/scroll-snap-align
|
|
2271
|
-
*/
|
|
2272
|
-
"snap-align": [{
|
|
2273
|
-
snap: ["start", "end", "center", "align-none"]
|
|
2274
|
-
}],
|
|
2275
|
-
/**
|
|
2276
|
-
* Scroll Snap Stop
|
|
2277
|
-
* @see https://tailwindcss.com/docs/scroll-snap-stop
|
|
2278
|
-
*/
|
|
2279
|
-
"snap-stop": [{
|
|
2280
|
-
snap: ["normal", "always"]
|
|
2281
|
-
}],
|
|
2282
|
-
/**
|
|
2283
|
-
* Scroll Snap Type
|
|
2284
|
-
* @see https://tailwindcss.com/docs/scroll-snap-type
|
|
2285
|
-
*/
|
|
2286
|
-
"snap-type": [{
|
|
2287
|
-
snap: ["none", "x", "y", "both"]
|
|
2288
|
-
}],
|
|
2289
|
-
/**
|
|
2290
|
-
* Scroll Snap Type Strictness
|
|
2291
|
-
* @see https://tailwindcss.com/docs/scroll-snap-type
|
|
2292
|
-
*/
|
|
2293
|
-
"snap-strictness": [{
|
|
2294
|
-
snap: ["mandatory", "proximity"]
|
|
2295
|
-
}],
|
|
2296
|
-
/**
|
|
2297
|
-
* Touch Action
|
|
2298
|
-
* @see https://tailwindcss.com/docs/touch-action
|
|
2299
|
-
*/
|
|
2300
|
-
touch: [{
|
|
2301
|
-
touch: ["auto", "none", "manipulation"]
|
|
2302
|
-
}],
|
|
2303
|
-
/**
|
|
2304
|
-
* Touch Action X
|
|
2305
|
-
* @see https://tailwindcss.com/docs/touch-action
|
|
2306
|
-
*/
|
|
2307
|
-
"touch-x": [{
|
|
2308
|
-
"touch-pan": ["x", "left", "right"]
|
|
2309
|
-
}],
|
|
2310
|
-
/**
|
|
2311
|
-
* Touch Action Y
|
|
2312
|
-
* @see https://tailwindcss.com/docs/touch-action
|
|
2313
|
-
*/
|
|
2314
|
-
"touch-y": [{
|
|
2315
|
-
"touch-pan": ["y", "up", "down"]
|
|
2316
|
-
}],
|
|
2317
|
-
/**
|
|
2318
|
-
* Touch Action Pinch Zoom
|
|
2319
|
-
* @see https://tailwindcss.com/docs/touch-action
|
|
2320
|
-
*/
|
|
2321
|
-
"touch-pz": ["touch-pinch-zoom"],
|
|
2322
|
-
/**
|
|
2323
|
-
* User Select
|
|
2324
|
-
* @see https://tailwindcss.com/docs/user-select
|
|
2325
|
-
*/
|
|
2326
|
-
select: [{
|
|
2327
|
-
select: ["none", "text", "all", "auto"]
|
|
2328
|
-
}],
|
|
2329
|
-
/**
|
|
2330
|
-
* Will Change
|
|
2331
|
-
* @see https://tailwindcss.com/docs/will-change
|
|
2332
|
-
*/
|
|
2333
|
-
"will-change": [{
|
|
2334
|
-
"will-change": ["auto", "scroll", "contents", "transform", x]
|
|
2335
|
-
}],
|
|
2336
|
-
// SVG
|
|
2337
|
-
/**
|
|
2338
|
-
* Fill
|
|
2339
|
-
* @see https://tailwindcss.com/docs/fill
|
|
2340
|
-
*/
|
|
2341
|
-
fill: [{
|
|
2342
|
-
fill: [e, "none"]
|
|
2343
|
-
}],
|
|
2344
|
-
/**
|
|
2345
|
-
* Stroke Width
|
|
2346
|
-
* @see https://tailwindcss.com/docs/stroke-width
|
|
2347
|
-
*/
|
|
2348
|
-
"stroke-w": [{
|
|
2349
|
-
stroke: [B, H, Ne]
|
|
2350
|
-
}],
|
|
2351
|
-
/**
|
|
2352
|
-
* Stroke
|
|
2353
|
-
* @see https://tailwindcss.com/docs/stroke
|
|
2354
|
-
*/
|
|
2355
|
-
stroke: [{
|
|
2356
|
-
stroke: [e, "none"]
|
|
2357
|
-
}],
|
|
2358
|
-
// Accessibility
|
|
2359
|
-
/**
|
|
2360
|
-
* Screen Readers
|
|
2361
|
-
* @see https://tailwindcss.com/docs/screen-readers
|
|
2362
|
-
*/
|
|
2363
|
-
sr: ["sr-only", "not-sr-only"],
|
|
2364
|
-
/**
|
|
2365
|
-
* Forced Color Adjust
|
|
2366
|
-
* @see https://tailwindcss.com/docs/forced-color-adjust
|
|
2367
|
-
*/
|
|
2368
|
-
"forced-color-adjust": [{
|
|
2369
|
-
"forced-color-adjust": ["auto", "none"]
|
|
2370
|
-
}]
|
|
2371
|
-
},
|
|
2372
|
-
conflictingClassGroups: {
|
|
2373
|
-
overflow: ["overflow-x", "overflow-y"],
|
|
2374
|
-
overscroll: ["overscroll-x", "overscroll-y"],
|
|
2375
|
-
inset: ["inset-x", "inset-y", "start", "end", "top", "right", "bottom", "left"],
|
|
2376
|
-
"inset-x": ["right", "left"],
|
|
2377
|
-
"inset-y": ["top", "bottom"],
|
|
2378
|
-
flex: ["basis", "grow", "shrink"],
|
|
2379
|
-
gap: ["gap-x", "gap-y"],
|
|
2380
|
-
p: ["px", "py", "ps", "pe", "pt", "pr", "pb", "pl"],
|
|
2381
|
-
px: ["pr", "pl"],
|
|
2382
|
-
py: ["pt", "pb"],
|
|
2383
|
-
m: ["mx", "my", "ms", "me", "mt", "mr", "mb", "ml"],
|
|
2384
|
-
mx: ["mr", "ml"],
|
|
2385
|
-
my: ["mt", "mb"],
|
|
2386
|
-
size: ["w", "h"],
|
|
2387
|
-
"font-size": ["leading"],
|
|
2388
|
-
"fvn-normal": ["fvn-ordinal", "fvn-slashed-zero", "fvn-figure", "fvn-spacing", "fvn-fraction"],
|
|
2389
|
-
"fvn-ordinal": ["fvn-normal"],
|
|
2390
|
-
"fvn-slashed-zero": ["fvn-normal"],
|
|
2391
|
-
"fvn-figure": ["fvn-normal"],
|
|
2392
|
-
"fvn-spacing": ["fvn-normal"],
|
|
2393
|
-
"fvn-fraction": ["fvn-normal"],
|
|
2394
|
-
"line-clamp": ["display", "overflow"],
|
|
2395
|
-
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"],
|
|
2396
|
-
"rounded-s": ["rounded-ss", "rounded-es"],
|
|
2397
|
-
"rounded-e": ["rounded-se", "rounded-ee"],
|
|
2398
|
-
"rounded-t": ["rounded-tl", "rounded-tr"],
|
|
2399
|
-
"rounded-r": ["rounded-tr", "rounded-br"],
|
|
2400
|
-
"rounded-b": ["rounded-br", "rounded-bl"],
|
|
2401
|
-
"rounded-l": ["rounded-tl", "rounded-bl"],
|
|
2402
|
-
"border-spacing": ["border-spacing-x", "border-spacing-y"],
|
|
2403
|
-
"border-w": ["border-w-s", "border-w-e", "border-w-t", "border-w-r", "border-w-b", "border-w-l"],
|
|
2404
|
-
"border-w-x": ["border-w-r", "border-w-l"],
|
|
2405
|
-
"border-w-y": ["border-w-t", "border-w-b"],
|
|
2406
|
-
"border-color": ["border-color-t", "border-color-r", "border-color-b", "border-color-l"],
|
|
2407
|
-
"border-color-x": ["border-color-r", "border-color-l"],
|
|
2408
|
-
"border-color-y": ["border-color-t", "border-color-b"],
|
|
2409
|
-
"scroll-m": ["scroll-mx", "scroll-my", "scroll-ms", "scroll-me", "scroll-mt", "scroll-mr", "scroll-mb", "scroll-ml"],
|
|
2410
|
-
"scroll-mx": ["scroll-mr", "scroll-ml"],
|
|
2411
|
-
"scroll-my": ["scroll-mt", "scroll-mb"],
|
|
2412
|
-
"scroll-p": ["scroll-px", "scroll-py", "scroll-ps", "scroll-pe", "scroll-pt", "scroll-pr", "scroll-pb", "scroll-pl"],
|
|
2413
|
-
"scroll-px": ["scroll-pr", "scroll-pl"],
|
|
2414
|
-
"scroll-py": ["scroll-pt", "scroll-pb"],
|
|
2415
|
-
touch: ["touch-x", "touch-y", "touch-pz"],
|
|
2416
|
-
"touch-x": ["touch"],
|
|
2417
|
-
"touch-y": ["touch"],
|
|
2418
|
-
"touch-pz": ["touch"]
|
|
2419
|
-
},
|
|
2420
|
-
conflictingClassGroupModifiers: {
|
|
2421
|
-
"font-size": ["leading"]
|
|
2422
|
-
}
|
|
2423
|
-
};
|
|
2424
|
-
}
|
|
2425
|
-
const hn = /* @__PURE__ */ Br(dn);
|
|
2426
|
-
function Rs(...e) {
|
|
2427
|
-
return hn(Nr(e));
|
|
2428
|
-
}
|
|
2429
|
-
var pt = class {
|
|
2430
|
-
constructor() {
|
|
2431
|
-
this.listeners = /* @__PURE__ */ new Set(), this.subscribe = this.subscribe.bind(this);
|
|
2432
|
-
}
|
|
2433
|
-
subscribe(e) {
|
|
2434
|
-
return this.listeners.add(e), this.onSubscribe(), () => {
|
|
2435
|
-
this.listeners.delete(e), this.onUnsubscribe();
|
|
2436
|
-
};
|
|
2437
|
-
}
|
|
2438
|
-
hasListeners() {
|
|
2439
|
-
return this.listeners.size > 0;
|
|
2440
|
-
}
|
|
2441
|
-
onSubscribe() {
|
|
2442
|
-
}
|
|
2443
|
-
onUnsubscribe() {
|
|
2444
|
-
}
|
|
2445
|
-
}, ge = typeof window > "u" || "Deno" in globalThis;
|
|
2446
|
-
function Ye() {
|
|
2447
|
-
}
|
|
2448
|
-
function Es(e, t) {
|
|
2449
|
-
return typeof e == "function" ? e(t) : e;
|
|
2450
|
-
}
|
|
2451
|
-
function Xe(e) {
|
|
2452
|
-
return typeof e == "number" && e >= 0 && e !== 1 / 0;
|
|
2453
|
-
}
|
|
2454
|
-
function Xt(e, t) {
|
|
2455
|
-
return Math.max(e + (t || 0) - Date.now(), 0);
|
|
2456
|
-
}
|
|
2457
|
-
function De(e, t) {
|
|
2458
|
-
return typeof e == "function" ? e(t) : e;
|
|
2459
|
-
}
|
|
2460
|
-
function Q(e, t) {
|
|
2461
|
-
return typeof e == "function" ? e(t) : e;
|
|
2462
|
-
}
|
|
2463
|
-
function ks(e, t) {
|
|
2464
|
-
const {
|
|
2465
|
-
type: r = "all",
|
|
2466
|
-
exact: n,
|
|
2467
|
-
fetchStatus: s,
|
|
2468
|
-
predicate: i,
|
|
2469
|
-
queryKey: o,
|
|
2470
|
-
stale: l
|
|
2471
|
-
} = e;
|
|
2472
|
-
if (o) {
|
|
2473
|
-
if (n) {
|
|
2474
|
-
if (t.queryHash !== fn(o, t.options))
|
|
2475
|
-
return !1;
|
|
2476
|
-
} else if (!mt(t.queryKey, o))
|
|
2477
|
-
return !1;
|
|
2478
|
-
}
|
|
2479
|
-
if (r !== "all") {
|
|
2480
|
-
const h = t.isActive();
|
|
2481
|
-
if (r === "active" && !h || r === "inactive" && h)
|
|
2482
|
-
return !1;
|
|
2483
|
-
}
|
|
2484
|
-
return !(typeof l == "boolean" && t.isStale() !== l || s && s !== t.state.fetchStatus || i && !i(t));
|
|
2485
|
-
}
|
|
2486
|
-
function Ts(e, t) {
|
|
2487
|
-
const { exact: r, status: n, predicate: s, mutationKey: i } = e;
|
|
2488
|
-
if (i) {
|
|
2489
|
-
if (!t.options.mutationKey)
|
|
2490
|
-
return !1;
|
|
2491
|
-
if (r) {
|
|
2492
|
-
if (Ze(t.options.mutationKey) !== Ze(i))
|
|
2493
|
-
return !1;
|
|
2494
|
-
} else if (!mt(t.options.mutationKey, i))
|
|
2495
|
-
return !1;
|
|
2496
|
-
}
|
|
2497
|
-
return !(n && t.state.status !== n || s && !s(t));
|
|
2498
|
-
}
|
|
2499
|
-
function fn(e, t) {
|
|
2500
|
-
return ((t == null ? void 0 : t.queryKeyHashFn) || Ze)(e);
|
|
2501
|
-
}
|
|
2502
|
-
function Ze(e) {
|
|
2503
|
-
return JSON.stringify(
|
|
2504
|
-
e,
|
|
2505
|
-
(t, r) => tt(r) ? Object.keys(r).sort().reduce((n, s) => (n[s] = r[s], n), {}) : r
|
|
2506
|
-
);
|
|
2507
|
-
}
|
|
2508
|
-
function mt(e, t) {
|
|
2509
|
-
return e === t ? !0 : typeof e != typeof t ? !1 : e && t && typeof e == "object" && typeof t == "object" ? !Object.keys(t).some((r) => !mt(e[r], t[r])) : !1;
|
|
2510
|
-
}
|
|
2511
|
-
function Zt(e, t) {
|
|
2512
|
-
if (e === t)
|
|
2513
|
-
return e;
|
|
2514
|
-
const r = Tt(e) && Tt(t);
|
|
2515
|
-
if (r || tt(e) && tt(t)) {
|
|
2516
|
-
const n = r ? e : Object.keys(e), s = n.length, i = r ? t : Object.keys(t), o = i.length, l = r ? [] : {};
|
|
2517
|
-
let h = 0;
|
|
2518
|
-
for (let c = 0; c < o; c++) {
|
|
2519
|
-
const d = r ? c : i[c];
|
|
2520
|
-
(!r && n.includes(d) || r) && e[d] === void 0 && t[d] === void 0 ? (l[d] = void 0, h++) : (l[d] = Zt(e[d], t[d]), l[d] === e[d] && e[d] !== void 0 && h++);
|
|
2521
|
-
}
|
|
2522
|
-
return s === o && h === s ? e : l;
|
|
2523
|
-
}
|
|
2524
|
-
return t;
|
|
2525
|
-
}
|
|
2526
|
-
function et(e, t) {
|
|
2527
|
-
if (!t || Object.keys(e).length !== Object.keys(t).length)
|
|
2528
|
-
return !1;
|
|
2529
|
-
for (const r in e)
|
|
2530
|
-
if (e[r] !== t[r])
|
|
2531
|
-
return !1;
|
|
2532
|
-
return !0;
|
|
2533
|
-
}
|
|
2534
|
-
function Tt(e) {
|
|
2535
|
-
return Array.isArray(e) && e.length === Object.keys(e).length;
|
|
2536
|
-
}
|
|
2537
|
-
function tt(e) {
|
|
2538
|
-
if (!Pt(e))
|
|
2539
|
-
return !1;
|
|
2540
|
-
const t = e.constructor;
|
|
2541
|
-
if (t === void 0)
|
|
2542
|
-
return !0;
|
|
2543
|
-
const r = t.prototype;
|
|
2544
|
-
return !(!Pt(r) || !r.hasOwnProperty("isPrototypeOf") || Object.getPrototypeOf(e) !== Object.prototype);
|
|
2545
|
-
}
|
|
2546
|
-
function Pt(e) {
|
|
2547
|
-
return Object.prototype.toString.call(e) === "[object Object]";
|
|
2548
|
-
}
|
|
2549
|
-
function pn(e) {
|
|
2550
|
-
return new Promise((t) => {
|
|
2551
|
-
setTimeout(t, e);
|
|
2552
|
-
});
|
|
2553
|
-
}
|
|
2554
|
-
function rt(e, t, r) {
|
|
2555
|
-
return typeof r.structuralSharing == "function" ? r.structuralSharing(e, t) : r.structuralSharing !== !1 ? Zt(e, t) : t;
|
|
2556
|
-
}
|
|
2557
|
-
function Ps(e, t, r = 0) {
|
|
2558
|
-
const n = [...e, t];
|
|
2559
|
-
return r && n.length > r ? n.slice(1) : n;
|
|
2560
|
-
}
|
|
2561
|
-
function Os(e, t, r = 0) {
|
|
2562
|
-
const n = [t, ...e];
|
|
2563
|
-
return r && n.length > r ? n.slice(0, -1) : n;
|
|
2564
|
-
}
|
|
2565
|
-
var nt = Symbol(), mn = (e, t) => (process.env.NODE_ENV !== "production" && e.queryFn === nt && console.error(
|
|
2566
|
-
`Attempted to invoke queryFn when set to skipToken. This is likely a configuration error. Query hash: '${e.queryHash}'`
|
|
2567
|
-
), !e.queryFn && (t != null && t.initialPromise) ? () => t.initialPromise : !e.queryFn || e.queryFn === nt ? () => Promise.reject(new Error(`Missing queryFn: '${e.queryHash}'`)) : e.queryFn), te, J, le, It, bn = (It = class extends pt {
|
|
2568
|
-
constructor() {
|
|
2569
|
-
super();
|
|
2570
|
-
T(this, te);
|
|
2571
|
-
T(this, J);
|
|
2572
|
-
T(this, le);
|
|
2573
|
-
v(this, le, (t) => {
|
|
2574
|
-
if (!ge && window.addEventListener) {
|
|
2575
|
-
const r = () => t();
|
|
2576
|
-
return window.addEventListener("visibilitychange", r, !1), () => {
|
|
2577
|
-
window.removeEventListener("visibilitychange", r);
|
|
2578
|
-
};
|
|
2579
|
-
}
|
|
2580
|
-
});
|
|
2581
|
-
}
|
|
2582
|
-
onSubscribe() {
|
|
2583
|
-
a(this, J) || this.setEventListener(a(this, le));
|
|
2584
|
-
}
|
|
2585
|
-
onUnsubscribe() {
|
|
2586
|
-
var t;
|
|
2587
|
-
this.hasListeners() || ((t = a(this, J)) == null || t.call(this), v(this, J, void 0));
|
|
2588
|
-
}
|
|
2589
|
-
setEventListener(t) {
|
|
2590
|
-
var r;
|
|
2591
|
-
v(this, le, t), (r = a(this, J)) == null || r.call(this), v(this, J, t((n) => {
|
|
2592
|
-
typeof n == "boolean" ? this.setFocused(n) : this.onFocus();
|
|
2593
|
-
}));
|
|
2594
|
-
}
|
|
2595
|
-
setFocused(t) {
|
|
2596
|
-
a(this, te) !== t && (v(this, te, t), this.onFocus());
|
|
2597
|
-
}
|
|
2598
|
-
onFocus() {
|
|
2599
|
-
const t = this.isFocused();
|
|
2600
|
-
this.listeners.forEach((r) => {
|
|
2601
|
-
r(t);
|
|
2602
|
-
});
|
|
2603
|
-
}
|
|
2604
|
-
isFocused() {
|
|
2605
|
-
var t;
|
|
2606
|
-
return typeof a(this, te) == "boolean" ? a(this, te) : ((t = globalThis.document) == null ? void 0 : t.visibilityState) !== "hidden";
|
|
2607
|
-
}
|
|
2608
|
-
}, te = new WeakMap(), J = new WeakMap(), le = new WeakMap(), It), er = new bn(), ce, Y, ue, Mt, yn = (Mt = class extends pt {
|
|
2609
|
-
constructor() {
|
|
2610
|
-
super();
|
|
2611
|
-
T(this, ce, !0);
|
|
2612
|
-
T(this, Y);
|
|
2613
|
-
T(this, ue);
|
|
2614
|
-
v(this, ue, (t) => {
|
|
2615
|
-
if (!ge && window.addEventListener) {
|
|
2616
|
-
const r = () => t(!0), n = () => t(!1);
|
|
2617
|
-
return window.addEventListener("online", r, !1), window.addEventListener("offline", n, !1), () => {
|
|
2618
|
-
window.removeEventListener("online", r), window.removeEventListener("offline", n);
|
|
2619
|
-
};
|
|
2620
|
-
}
|
|
2621
|
-
});
|
|
2622
|
-
}
|
|
2623
|
-
onSubscribe() {
|
|
2624
|
-
a(this, Y) || this.setEventListener(a(this, ue));
|
|
2625
|
-
}
|
|
2626
|
-
onUnsubscribe() {
|
|
2627
|
-
var t;
|
|
2628
|
-
this.hasListeners() || ((t = a(this, Y)) == null || t.call(this), v(this, Y, void 0));
|
|
2629
|
-
}
|
|
2630
|
-
setEventListener(t) {
|
|
2631
|
-
var r;
|
|
2632
|
-
v(this, ue, t), (r = a(this, Y)) == null || r.call(this), v(this, Y, t(this.setOnline.bind(this)));
|
|
2633
|
-
}
|
|
2634
|
-
setOnline(t) {
|
|
2635
|
-
a(this, ce) !== t && (v(this, ce, t), this.listeners.forEach((n) => {
|
|
2636
|
-
n(t);
|
|
2637
|
-
}));
|
|
2638
|
-
}
|
|
2639
|
-
isOnline() {
|
|
2640
|
-
return a(this, ce);
|
|
2641
|
-
}
|
|
2642
|
-
}, ce = new WeakMap(), Y = new WeakMap(), ue = new WeakMap(), Mt), tr = new yn();
|
|
2643
|
-
function vn(e) {
|
|
2644
|
-
return Math.min(1e3 * 2 ** e, 3e4);
|
|
2645
|
-
}
|
|
2646
|
-
function rr(e) {
|
|
2647
|
-
return (e ?? "online") === "online" ? tr.isOnline() : !0;
|
|
2648
|
-
}
|
|
2649
|
-
var nr = class {
|
|
2650
|
-
constructor(e) {
|
|
2651
|
-
this.revert = e == null ? void 0 : e.revert, this.silent = e == null ? void 0 : e.silent;
|
|
2652
|
-
}
|
|
2653
|
-
};
|
|
2654
|
-
function Ke(e) {
|
|
2655
|
-
return e instanceof nr;
|
|
2656
|
-
}
|
|
2657
|
-
function gn(e) {
|
|
2658
|
-
let t = !1, r = 0, n = !1, s, i, o;
|
|
2659
|
-
const l = new Promise((w, m) => {
|
|
2660
|
-
i = w, o = m;
|
|
2661
|
-
}), h = (w) => {
|
|
2662
|
-
var m;
|
|
2663
|
-
n || (S(new nr(w)), (m = e.abort) == null || m.call(e));
|
|
2664
|
-
}, c = () => {
|
|
2665
|
-
t = !0;
|
|
2666
|
-
}, d = () => {
|
|
2667
|
-
t = !1;
|
|
2668
|
-
}, u = () => er.isFocused() && (e.networkMode === "always" || tr.isOnline()) && e.canRun(), f = () => rr(e.networkMode) && e.canRun(), b = (w) => {
|
|
2669
|
-
var m;
|
|
2670
|
-
n || (n = !0, (m = e.onSuccess) == null || m.call(e, w), s == null || s(), i(w));
|
|
2671
|
-
}, S = (w) => {
|
|
2672
|
-
var m;
|
|
2673
|
-
n || (n = !0, (m = e.onError) == null || m.call(e, w), s == null || s(), o(w));
|
|
2674
|
-
}, y = () => new Promise((w) => {
|
|
2675
|
-
var m;
|
|
2676
|
-
s = (C) => {
|
|
2677
|
-
(n || u()) && w(C);
|
|
2678
|
-
}, (m = e.onPause) == null || m.call(e);
|
|
2679
|
-
}).then(() => {
|
|
2680
|
-
var w;
|
|
2681
|
-
s = void 0, n || (w = e.onContinue) == null || w.call(e);
|
|
2682
|
-
}), g = () => {
|
|
2683
|
-
if (n)
|
|
2684
|
-
return;
|
|
2685
|
-
let w;
|
|
2686
|
-
const m = r === 0 ? e.initialPromise : void 0;
|
|
2687
|
-
try {
|
|
2688
|
-
w = m ?? e.fn();
|
|
2689
|
-
} catch (C) {
|
|
2690
|
-
w = Promise.reject(C);
|
|
2691
|
-
}
|
|
2692
|
-
Promise.resolve(w).then(b).catch((C) => {
|
|
2693
|
-
var k;
|
|
2694
|
-
if (n)
|
|
2695
|
-
return;
|
|
2696
|
-
const R = e.retry ?? (ge ? 0 : 3), _ = e.retryDelay ?? vn, V = typeof _ == "function" ? _(r, C) : _, O = R === !0 || typeof R == "number" && r < R || typeof R == "function" && R(r, C);
|
|
2697
|
-
if (t || !O) {
|
|
2698
|
-
S(C);
|
|
2699
|
-
return;
|
|
2700
|
-
}
|
|
2701
|
-
r++, (k = e.onFail) == null || k.call(e, r, C), pn(V).then(() => u() ? void 0 : y()).then(() => {
|
|
2702
|
-
t ? S(C) : g();
|
|
2703
|
-
});
|
|
2704
|
-
});
|
|
2705
|
-
};
|
|
2706
|
-
return {
|
|
2707
|
-
promise: l,
|
|
2708
|
-
cancel: h,
|
|
2709
|
-
continue: () => (s == null || s(), l),
|
|
2710
|
-
cancelRetry: c,
|
|
2711
|
-
continueRetry: d,
|
|
2712
|
-
canStart: f,
|
|
2713
|
-
start: () => (f() ? g() : y().then(g), l)
|
|
2714
|
-
};
|
|
2715
|
-
}
|
|
2716
|
-
function wn() {
|
|
2717
|
-
let e = [], t = 0, r = (f) => {
|
|
2718
|
-
f();
|
|
2719
|
-
}, n = (f) => {
|
|
2720
|
-
f();
|
|
2721
|
-
}, s = (f) => setTimeout(f, 0);
|
|
2722
|
-
const i = (f) => {
|
|
2723
|
-
s = f;
|
|
2724
|
-
}, o = (f) => {
|
|
2725
|
-
let b;
|
|
2726
|
-
t++;
|
|
2727
|
-
try {
|
|
2728
|
-
b = f();
|
|
2729
|
-
} finally {
|
|
2730
|
-
t--, t || c();
|
|
2731
|
-
}
|
|
2732
|
-
return b;
|
|
2733
|
-
}, l = (f) => {
|
|
2734
|
-
t ? e.push(f) : s(() => {
|
|
2735
|
-
r(f);
|
|
2736
|
-
});
|
|
2737
|
-
}, h = (f) => (...b) => {
|
|
2738
|
-
l(() => {
|
|
2739
|
-
f(...b);
|
|
2740
|
-
});
|
|
2741
|
-
}, c = () => {
|
|
2742
|
-
const f = e;
|
|
2743
|
-
e = [], f.length && s(() => {
|
|
2744
|
-
n(() => {
|
|
2745
|
-
f.forEach((b) => {
|
|
2746
|
-
r(b);
|
|
2747
|
-
});
|
|
2748
|
-
});
|
|
2749
|
-
});
|
|
2750
|
-
};
|
|
2751
|
-
return {
|
|
2752
|
-
batch: o,
|
|
2753
|
-
batchCalls: h,
|
|
2754
|
-
schedule: l,
|
|
2755
|
-
setNotifyFunction: (f) => {
|
|
2756
|
-
r = f;
|
|
2757
|
-
},
|
|
2758
|
-
setBatchNotifyFunction: (f) => {
|
|
2759
|
-
n = f;
|
|
2760
|
-
},
|
|
2761
|
-
setScheduler: i
|
|
2762
|
-
};
|
|
2763
|
-
}
|
|
2764
|
-
var bt = wn(), re, Ut, xn = (Ut = class {
|
|
2765
|
-
constructor() {
|
|
2766
|
-
T(this, re);
|
|
2767
|
-
}
|
|
2768
|
-
destroy() {
|
|
2769
|
-
this.clearGcTimeout();
|
|
2770
|
-
}
|
|
2771
|
-
scheduleGc() {
|
|
2772
|
-
this.clearGcTimeout(), Xe(this.gcTime) && v(this, re, setTimeout(() => {
|
|
2773
|
-
this.optionalRemove();
|
|
2774
|
-
}, this.gcTime));
|
|
2775
|
-
}
|
|
2776
|
-
updateGcTime(e) {
|
|
2777
|
-
this.gcTime = Math.max(
|
|
2778
|
-
this.gcTime || 0,
|
|
2779
|
-
e ?? (ge ? 1 / 0 : 5 * 60 * 1e3)
|
|
2780
|
-
);
|
|
2781
|
-
}
|
|
2782
|
-
clearGcTimeout() {
|
|
2783
|
-
a(this, re) && (clearTimeout(a(this, re)), v(this, re, void 0));
|
|
2784
|
-
}
|
|
2785
|
-
}, re = new WeakMap(), Ut), de, he, z, D, Te, ne, q, W, jt, As = (jt = class extends xn {
|
|
2786
|
-
constructor(t) {
|
|
2787
|
-
super();
|
|
2788
|
-
T(this, q);
|
|
2789
|
-
T(this, de);
|
|
2790
|
-
T(this, he);
|
|
2791
|
-
T(this, z);
|
|
2792
|
-
T(this, D);
|
|
2793
|
-
T(this, Te);
|
|
2794
|
-
T(this, ne);
|
|
2795
|
-
v(this, ne, !1), v(this, Te, t.defaultOptions), this.setOptions(t.options), this.observers = [], v(this, z, t.cache), this.queryKey = t.queryKey, this.queryHash = t.queryHash, v(this, de, t.state || Sn(this.options)), this.state = a(this, de), this.scheduleGc();
|
|
2796
|
-
}
|
|
2797
|
-
get meta() {
|
|
2798
|
-
return this.options.meta;
|
|
2799
|
-
}
|
|
2800
|
-
get promise() {
|
|
2801
|
-
var t;
|
|
2802
|
-
return (t = a(this, D)) == null ? void 0 : t.promise;
|
|
2803
|
-
}
|
|
2804
|
-
setOptions(t) {
|
|
2805
|
-
this.options = { ...a(this, Te), ...t }, this.updateGcTime(this.options.gcTime);
|
|
2806
|
-
}
|
|
2807
|
-
optionalRemove() {
|
|
2808
|
-
!this.observers.length && this.state.fetchStatus === "idle" && a(this, z).remove(this);
|
|
2809
|
-
}
|
|
2810
|
-
setData(t, r) {
|
|
2811
|
-
const n = rt(this.state.data, t, this.options);
|
|
2812
|
-
return A(this, q, W).call(this, {
|
|
2813
|
-
data: n,
|
|
2814
|
-
type: "success",
|
|
2815
|
-
dataUpdatedAt: r == null ? void 0 : r.updatedAt,
|
|
2816
|
-
manual: r == null ? void 0 : r.manual
|
|
2817
|
-
}), n;
|
|
2818
|
-
}
|
|
2819
|
-
setState(t, r) {
|
|
2820
|
-
A(this, q, W).call(this, { type: "setState", state: t, setStateOptions: r });
|
|
2821
|
-
}
|
|
2822
|
-
cancel(t) {
|
|
2823
|
-
var n, s;
|
|
2824
|
-
const r = (n = a(this, D)) == null ? void 0 : n.promise;
|
|
2825
|
-
return (s = a(this, D)) == null || s.cancel(t), r ? r.then(Ye).catch(Ye) : Promise.resolve();
|
|
2826
|
-
}
|
|
2827
|
-
destroy() {
|
|
2828
|
-
super.destroy(), this.cancel({ silent: !0 });
|
|
2829
|
-
}
|
|
2830
|
-
reset() {
|
|
2831
|
-
this.destroy(), this.setState(a(this, de));
|
|
2832
|
-
}
|
|
2833
|
-
isActive() {
|
|
2834
|
-
return this.observers.some(
|
|
2835
|
-
(t) => Q(t.options.enabled, this) !== !1
|
|
2836
|
-
);
|
|
2837
|
-
}
|
|
2838
|
-
isDisabled() {
|
|
2839
|
-
return this.getObserversCount() > 0 && !this.isActive();
|
|
2840
|
-
}
|
|
2841
|
-
isStale() {
|
|
2842
|
-
return this.state.isInvalidated ? !0 : this.getObserversCount() > 0 ? this.observers.some(
|
|
2843
|
-
(t) => t.getCurrentResult().isStale
|
|
2844
|
-
) : this.state.data === void 0;
|
|
2845
|
-
}
|
|
2846
|
-
isStaleByTime(t = 0) {
|
|
2847
|
-
return this.state.isInvalidated || this.state.data === void 0 || !Xt(this.state.dataUpdatedAt, t);
|
|
2848
|
-
}
|
|
2849
|
-
onFocus() {
|
|
2850
|
-
var r;
|
|
2851
|
-
const t = this.observers.find((n) => n.shouldFetchOnWindowFocus());
|
|
2852
|
-
t == null || t.refetch({ cancelRefetch: !1 }), (r = a(this, D)) == null || r.continue();
|
|
2853
|
-
}
|
|
2854
|
-
onOnline() {
|
|
2855
|
-
var r;
|
|
2856
|
-
const t = this.observers.find((n) => n.shouldFetchOnReconnect());
|
|
2857
|
-
t == null || t.refetch({ cancelRefetch: !1 }), (r = a(this, D)) == null || r.continue();
|
|
2858
|
-
}
|
|
2859
|
-
addObserver(t) {
|
|
2860
|
-
this.observers.includes(t) || (this.observers.push(t), this.clearGcTimeout(), a(this, z).notify({ type: "observerAdded", query: this, observer: t }));
|
|
2861
|
-
}
|
|
2862
|
-
removeObserver(t) {
|
|
2863
|
-
this.observers.includes(t) && (this.observers = this.observers.filter((r) => r !== t), this.observers.length || (a(this, D) && (a(this, ne) ? a(this, D).cancel({ revert: !0 }) : a(this, D).cancelRetry()), this.scheduleGc()), a(this, z).notify({ type: "observerRemoved", query: this, observer: t }));
|
|
2864
|
-
}
|
|
2865
|
-
getObserversCount() {
|
|
2866
|
-
return this.observers.length;
|
|
2867
|
-
}
|
|
2868
|
-
invalidate() {
|
|
2869
|
-
this.state.isInvalidated || A(this, q, W).call(this, { type: "invalidate" });
|
|
2870
|
-
}
|
|
2871
|
-
fetch(t, r) {
|
|
2872
|
-
var h, c, d;
|
|
2873
|
-
if (this.state.fetchStatus !== "idle") {
|
|
2874
|
-
if (this.state.data !== void 0 && (r != null && r.cancelRefetch))
|
|
2875
|
-
this.cancel({ silent: !0 });
|
|
2876
|
-
else if (a(this, D))
|
|
2877
|
-
return a(this, D).continueRetry(), a(this, D).promise;
|
|
2878
|
-
}
|
|
2879
|
-
if (t && this.setOptions(t), !this.options.queryFn) {
|
|
2880
|
-
const u = this.observers.find((f) => f.options.queryFn);
|
|
2881
|
-
u && this.setOptions(u.options);
|
|
2882
|
-
}
|
|
2883
|
-
process.env.NODE_ENV !== "production" && (Array.isArray(this.options.queryKey) || console.error(
|
|
2884
|
-
"As of v4, queryKey needs to be an Array. If you are using a string like 'repoData', please change it to an Array, e.g. ['repoData']"
|
|
2885
|
-
));
|
|
2886
|
-
const n = new AbortController(), s = (u) => {
|
|
2887
|
-
Object.defineProperty(u, "signal", {
|
|
2888
|
-
enumerable: !0,
|
|
2889
|
-
get: () => (v(this, ne, !0), n.signal)
|
|
2890
|
-
});
|
|
2891
|
-
}, i = () => {
|
|
2892
|
-
const u = mn(this.options, r), f = {
|
|
2893
|
-
queryKey: this.queryKey,
|
|
2894
|
-
meta: this.meta
|
|
2895
|
-
};
|
|
2896
|
-
return s(f), v(this, ne, !1), this.options.persister ? this.options.persister(
|
|
2897
|
-
u,
|
|
2898
|
-
f,
|
|
2899
|
-
this
|
|
2900
|
-
) : u(f);
|
|
2901
|
-
}, o = {
|
|
2902
|
-
fetchOptions: r,
|
|
2903
|
-
options: this.options,
|
|
2904
|
-
queryKey: this.queryKey,
|
|
2905
|
-
state: this.state,
|
|
2906
|
-
fetchFn: i
|
|
2907
|
-
};
|
|
2908
|
-
s(o), (h = this.options.behavior) == null || h.onFetch(
|
|
2909
|
-
o,
|
|
2910
|
-
this
|
|
2911
|
-
), v(this, he, this.state), (this.state.fetchStatus === "idle" || this.state.fetchMeta !== ((c = o.fetchOptions) == null ? void 0 : c.meta)) && A(this, q, W).call(this, { type: "fetch", meta: (d = o.fetchOptions) == null ? void 0 : d.meta });
|
|
2912
|
-
const l = (u) => {
|
|
2913
|
-
var f, b, S, y;
|
|
2914
|
-
Ke(u) && u.silent || A(this, q, W).call(this, {
|
|
2915
|
-
type: "error",
|
|
2916
|
-
error: u
|
|
2917
|
-
}), Ke(u) || ((b = (f = a(this, z).config).onError) == null || b.call(
|
|
2918
|
-
f,
|
|
2919
|
-
u,
|
|
2920
|
-
this
|
|
2921
|
-
), (y = (S = a(this, z).config).onSettled) == null || y.call(
|
|
2922
|
-
S,
|
|
2923
|
-
this.state.data,
|
|
2924
|
-
u,
|
|
2925
|
-
this
|
|
2926
|
-
)), this.isFetchingOptimistic || this.scheduleGc(), this.isFetchingOptimistic = !1;
|
|
2927
|
-
};
|
|
2928
|
-
return v(this, D, gn({
|
|
2929
|
-
initialPromise: r == null ? void 0 : r.initialPromise,
|
|
2930
|
-
fn: o.fetchFn,
|
|
2931
|
-
abort: n.abort.bind(n),
|
|
2932
|
-
onSuccess: (u) => {
|
|
2933
|
-
var f, b, S, y;
|
|
2934
|
-
if (u === void 0) {
|
|
2935
|
-
process.env.NODE_ENV !== "production" && console.error(
|
|
2936
|
-
`Query data cannot be undefined. Please make sure to return a value other than undefined from your query function. Affected query key: ${this.queryHash}`
|
|
2937
|
-
), l(new Error(`${this.queryHash} data is undefined`));
|
|
2938
|
-
return;
|
|
2939
|
-
}
|
|
2940
|
-
this.setData(u), (b = (f = a(this, z).config).onSuccess) == null || b.call(f, u, this), (y = (S = a(this, z).config).onSettled) == null || y.call(
|
|
2941
|
-
S,
|
|
2942
|
-
u,
|
|
2943
|
-
this.state.error,
|
|
2944
|
-
this
|
|
2945
|
-
), this.isFetchingOptimistic || this.scheduleGc(), this.isFetchingOptimistic = !1;
|
|
2946
|
-
},
|
|
2947
|
-
onError: l,
|
|
2948
|
-
onFail: (u, f) => {
|
|
2949
|
-
A(this, q, W).call(this, { type: "failed", failureCount: u, error: f });
|
|
2950
|
-
},
|
|
2951
|
-
onPause: () => {
|
|
2952
|
-
A(this, q, W).call(this, { type: "pause" });
|
|
2953
|
-
},
|
|
2954
|
-
onContinue: () => {
|
|
2955
|
-
A(this, q, W).call(this, { type: "continue" });
|
|
2956
|
-
},
|
|
2957
|
-
retry: o.options.retry,
|
|
2958
|
-
retryDelay: o.options.retryDelay,
|
|
2959
|
-
networkMode: o.options.networkMode,
|
|
2960
|
-
canRun: () => !0
|
|
2961
|
-
})), a(this, D).start();
|
|
2962
|
-
}
|
|
2963
|
-
}, de = new WeakMap(), he = new WeakMap(), z = new WeakMap(), D = new WeakMap(), Te = new WeakMap(), ne = new WeakMap(), q = new WeakSet(), W = function(t) {
|
|
2964
|
-
const r = (n) => {
|
|
2965
|
-
switch (t.type) {
|
|
2966
|
-
case "failed":
|
|
2967
|
-
return {
|
|
2968
|
-
...n,
|
|
2969
|
-
fetchFailureCount: t.failureCount,
|
|
2970
|
-
fetchFailureReason: t.error
|
|
2971
|
-
};
|
|
2972
|
-
case "pause":
|
|
2973
|
-
return {
|
|
2974
|
-
...n,
|
|
2975
|
-
fetchStatus: "paused"
|
|
2976
|
-
};
|
|
2977
|
-
case "continue":
|
|
2978
|
-
return {
|
|
2979
|
-
...n,
|
|
2980
|
-
fetchStatus: "fetching"
|
|
2981
|
-
};
|
|
2982
|
-
case "fetch":
|
|
2983
|
-
return {
|
|
2984
|
-
...n,
|
|
2985
|
-
...sr(n.data, this.options),
|
|
2986
|
-
fetchMeta: t.meta ?? null
|
|
2987
|
-
};
|
|
2988
|
-
case "success":
|
|
2989
|
-
return {
|
|
2990
|
-
...n,
|
|
2991
|
-
data: t.data,
|
|
2992
|
-
dataUpdateCount: n.dataUpdateCount + 1,
|
|
2993
|
-
dataUpdatedAt: t.dataUpdatedAt ?? Date.now(),
|
|
2994
|
-
error: null,
|
|
2995
|
-
isInvalidated: !1,
|
|
2996
|
-
status: "success",
|
|
2997
|
-
...!t.manual && {
|
|
2998
|
-
fetchStatus: "idle",
|
|
2999
|
-
fetchFailureCount: 0,
|
|
3000
|
-
fetchFailureReason: null
|
|
3001
|
-
}
|
|
3002
|
-
};
|
|
3003
|
-
case "error":
|
|
3004
|
-
const s = t.error;
|
|
3005
|
-
return Ke(s) && s.revert && a(this, he) ? { ...a(this, he), fetchStatus: "idle" } : {
|
|
3006
|
-
...n,
|
|
3007
|
-
error: s,
|
|
3008
|
-
errorUpdateCount: n.errorUpdateCount + 1,
|
|
3009
|
-
errorUpdatedAt: Date.now(),
|
|
3010
|
-
fetchFailureCount: n.fetchFailureCount + 1,
|
|
3011
|
-
fetchFailureReason: s,
|
|
3012
|
-
fetchStatus: "idle",
|
|
3013
|
-
status: "error"
|
|
3014
|
-
};
|
|
3015
|
-
case "invalidate":
|
|
3016
|
-
return {
|
|
3017
|
-
...n,
|
|
3018
|
-
isInvalidated: !0
|
|
3019
|
-
};
|
|
3020
|
-
case "setState":
|
|
3021
|
-
return {
|
|
3022
|
-
...n,
|
|
3023
|
-
...t.state
|
|
3024
|
-
};
|
|
3025
|
-
}
|
|
3026
|
-
};
|
|
3027
|
-
this.state = r(this.state), bt.batch(() => {
|
|
3028
|
-
this.observers.forEach((n) => {
|
|
3029
|
-
n.onQueryUpdate();
|
|
3030
|
-
}), a(this, z).notify({ query: this, type: "updated", action: t });
|
|
3031
|
-
});
|
|
3032
|
-
}, jt);
|
|
3033
|
-
function sr(e, t) {
|
|
3034
|
-
return {
|
|
3035
|
-
fetchFailureCount: 0,
|
|
3036
|
-
fetchFailureReason: null,
|
|
3037
|
-
fetchStatus: rr(t.networkMode) ? "fetching" : "paused",
|
|
3038
|
-
...e === void 0 && {
|
|
3039
|
-
error: null,
|
|
3040
|
-
status: "pending"
|
|
3041
|
-
}
|
|
3042
|
-
};
|
|
3043
|
-
}
|
|
3044
|
-
function Sn(e) {
|
|
3045
|
-
const t = typeof e.initialData == "function" ? e.initialData() : e.initialData, r = t !== void 0, n = r ? typeof e.initialDataUpdatedAt == "function" ? e.initialDataUpdatedAt() : e.initialDataUpdatedAt : 0;
|
|
3046
|
-
return {
|
|
3047
|
-
data: t,
|
|
3048
|
-
dataUpdateCount: 0,
|
|
3049
|
-
dataUpdatedAt: r ? n ?? Date.now() : 0,
|
|
3050
|
-
error: null,
|
|
3051
|
-
errorUpdateCount: 0,
|
|
3052
|
-
errorUpdatedAt: 0,
|
|
3053
|
-
fetchFailureCount: 0,
|
|
3054
|
-
fetchFailureReason: null,
|
|
3055
|
-
fetchMeta: null,
|
|
3056
|
-
isInvalidated: !1,
|
|
3057
|
-
status: r ? "success" : "pending",
|
|
3058
|
-
fetchStatus: "idle"
|
|
3059
|
-
};
|
|
3060
|
-
}
|
|
3061
|
-
var M, E, Pe, I, se, fe, K, Oe, pe, me, ie, oe, X, be, P, ke, st, it, ot, at, lt, ct, ut, or, zt, ir = (zt = class extends pt {
|
|
3062
|
-
constructor(t, r) {
|
|
3063
|
-
super();
|
|
3064
|
-
T(this, P);
|
|
3065
|
-
T(this, M);
|
|
3066
|
-
T(this, E);
|
|
3067
|
-
T(this, Pe);
|
|
3068
|
-
T(this, I);
|
|
3069
|
-
T(this, se);
|
|
3070
|
-
T(this, fe);
|
|
3071
|
-
T(this, K);
|
|
3072
|
-
T(this, Oe);
|
|
3073
|
-
T(this, pe);
|
|
3074
|
-
// This property keeps track of the last query with defined data.
|
|
3075
|
-
// It will be used to pass the previous data and query to the placeholder function between renders.
|
|
3076
|
-
T(this, me);
|
|
3077
|
-
T(this, ie);
|
|
3078
|
-
T(this, oe);
|
|
3079
|
-
T(this, X);
|
|
3080
|
-
T(this, be, /* @__PURE__ */ new Set());
|
|
3081
|
-
this.options = r, v(this, M, t), v(this, K, null), this.bindMethods(), this.setOptions(r);
|
|
3082
|
-
}
|
|
3083
|
-
bindMethods() {
|
|
3084
|
-
this.refetch = this.refetch.bind(this);
|
|
3085
|
-
}
|
|
3086
|
-
onSubscribe() {
|
|
3087
|
-
this.listeners.size === 1 && (a(this, E).addObserver(this), Ot(a(this, E), this.options) ? A(this, P, ke).call(this) : this.updateResult(), A(this, P, at).call(this));
|
|
3088
|
-
}
|
|
3089
|
-
onUnsubscribe() {
|
|
3090
|
-
this.hasListeners() || this.destroy();
|
|
3091
|
-
}
|
|
3092
|
-
shouldFetchOnReconnect() {
|
|
3093
|
-
return dt(
|
|
3094
|
-
a(this, E),
|
|
3095
|
-
this.options,
|
|
3096
|
-
this.options.refetchOnReconnect
|
|
3097
|
-
);
|
|
3098
|
-
}
|
|
3099
|
-
shouldFetchOnWindowFocus() {
|
|
3100
|
-
return dt(
|
|
3101
|
-
a(this, E),
|
|
3102
|
-
this.options,
|
|
3103
|
-
this.options.refetchOnWindowFocus
|
|
3104
|
-
);
|
|
3105
|
-
}
|
|
3106
|
-
destroy() {
|
|
3107
|
-
this.listeners = /* @__PURE__ */ new Set(), A(this, P, lt).call(this), A(this, P, ct).call(this), a(this, E).removeObserver(this);
|
|
3108
|
-
}
|
|
3109
|
-
setOptions(t, r) {
|
|
3110
|
-
const n = this.options, s = a(this, E);
|
|
3111
|
-
if (this.options = a(this, M).defaultQueryOptions(t), this.options.enabled !== void 0 && typeof this.options.enabled != "boolean" && typeof this.options.enabled != "function" && typeof Q(this.options.enabled, a(this, E)) != "boolean")
|
|
3112
|
-
throw new Error(
|
|
3113
|
-
"Expected enabled to be a boolean or a callback that returns a boolean"
|
|
3114
|
-
);
|
|
3115
|
-
A(this, P, ut).call(this), a(this, E).setOptions(this.options), n._defaulted && !et(this.options, n) && a(this, M).getQueryCache().notify({
|
|
3116
|
-
type: "observerOptionsUpdated",
|
|
3117
|
-
query: a(this, E),
|
|
3118
|
-
observer: this
|
|
3119
|
-
});
|
|
3120
|
-
const i = this.hasListeners();
|
|
3121
|
-
i && At(
|
|
3122
|
-
a(this, E),
|
|
3123
|
-
s,
|
|
3124
|
-
this.options,
|
|
3125
|
-
n
|
|
3126
|
-
) && A(this, P, ke).call(this), this.updateResult(r), i && (a(this, E) !== s || Q(this.options.enabled, a(this, E)) !== Q(n.enabled, a(this, E)) || De(this.options.staleTime, a(this, E)) !== De(n.staleTime, a(this, E))) && A(this, P, st).call(this);
|
|
3127
|
-
const o = A(this, P, it).call(this);
|
|
3128
|
-
i && (a(this, E) !== s || Q(this.options.enabled, a(this, E)) !== Q(n.enabled, a(this, E)) || o !== a(this, X)) && A(this, P, ot).call(this, o);
|
|
3129
|
-
}
|
|
3130
|
-
getOptimisticResult(t) {
|
|
3131
|
-
const r = a(this, M).getQueryCache().build(a(this, M), t), n = this.createResult(r, t);
|
|
3132
|
-
return Rn(this, n) && (v(this, I, n), v(this, fe, this.options), v(this, se, a(this, E).state)), n;
|
|
3133
|
-
}
|
|
3134
|
-
getCurrentResult() {
|
|
3135
|
-
return a(this, I);
|
|
3136
|
-
}
|
|
3137
|
-
trackResult(t, r) {
|
|
3138
|
-
const n = {};
|
|
3139
|
-
return Object.keys(t).forEach((s) => {
|
|
3140
|
-
Object.defineProperty(n, s, {
|
|
3141
|
-
configurable: !1,
|
|
3142
|
-
enumerable: !0,
|
|
3143
|
-
get: () => (this.trackProp(s), r == null || r(s), t[s])
|
|
3144
|
-
});
|
|
3145
|
-
}), n;
|
|
3146
|
-
}
|
|
3147
|
-
trackProp(t) {
|
|
3148
|
-
a(this, be).add(t);
|
|
3149
|
-
}
|
|
3150
|
-
getCurrentQuery() {
|
|
3151
|
-
return a(this, E);
|
|
3152
|
-
}
|
|
3153
|
-
refetch({ ...t } = {}) {
|
|
3154
|
-
return this.fetch({
|
|
3155
|
-
...t
|
|
3156
|
-
});
|
|
3157
|
-
}
|
|
3158
|
-
fetchOptimistic(t) {
|
|
3159
|
-
const r = a(this, M).defaultQueryOptions(t), n = a(this, M).getQueryCache().build(a(this, M), r);
|
|
3160
|
-
return n.isFetchingOptimistic = !0, n.fetch().then(() => this.createResult(n, r));
|
|
3161
|
-
}
|
|
3162
|
-
fetch(t) {
|
|
3163
|
-
return A(this, P, ke).call(this, {
|
|
3164
|
-
...t,
|
|
3165
|
-
cancelRefetch: t.cancelRefetch ?? !0
|
|
3166
|
-
}).then(() => (this.updateResult(), a(this, I)));
|
|
3167
|
-
}
|
|
3168
|
-
createResult(t, r) {
|
|
3169
|
-
var O;
|
|
3170
|
-
const n = a(this, E), s = this.options, i = a(this, I), o = a(this, se), l = a(this, fe), c = t !== n ? t.state : a(this, Pe), { state: d } = t;
|
|
3171
|
-
let u = { ...d }, f = !1, b;
|
|
3172
|
-
if (r._optimisticResults) {
|
|
3173
|
-
const k = this.hasListeners(), N = !k && Ot(t, r), j = k && At(t, n, r, s);
|
|
3174
|
-
(N || j) && (u = {
|
|
3175
|
-
...u,
|
|
3176
|
-
...sr(d.data, t.options)
|
|
3177
|
-
}), r._optimisticResults === "isRestoring" && (u.fetchStatus = "idle");
|
|
3178
|
-
}
|
|
3179
|
-
let { error: S, errorUpdatedAt: y, status: g } = u;
|
|
3180
|
-
if (r.select && u.data !== void 0)
|
|
3181
|
-
if (i && u.data === (o == null ? void 0 : o.data) && r.select === a(this, Oe))
|
|
3182
|
-
b = a(this, pe);
|
|
3183
|
-
else
|
|
3184
|
-
try {
|
|
3185
|
-
v(this, Oe, r.select), b = r.select(u.data), b = rt(i == null ? void 0 : i.data, b, r), v(this, pe, b), v(this, K, null);
|
|
3186
|
-
} catch (k) {
|
|
3187
|
-
v(this, K, k);
|
|
3188
|
-
}
|
|
3189
|
-
else
|
|
3190
|
-
b = u.data;
|
|
3191
|
-
if (r.placeholderData !== void 0 && b === void 0 && g === "pending") {
|
|
3192
|
-
let k;
|
|
3193
|
-
if (i != null && i.isPlaceholderData && r.placeholderData === (l == null ? void 0 : l.placeholderData))
|
|
3194
|
-
k = i.data;
|
|
3195
|
-
else if (k = typeof r.placeholderData == "function" ? r.placeholderData(
|
|
3196
|
-
(O = a(this, me)) == null ? void 0 : O.state.data,
|
|
3197
|
-
a(this, me)
|
|
3198
|
-
) : r.placeholderData, r.select && k !== void 0)
|
|
3199
|
-
try {
|
|
3200
|
-
k = r.select(k), v(this, K, null);
|
|
3201
|
-
} catch (N) {
|
|
3202
|
-
v(this, K, N);
|
|
3203
|
-
}
|
|
3204
|
-
k !== void 0 && (g = "success", b = rt(
|
|
3205
|
-
i == null ? void 0 : i.data,
|
|
3206
|
-
k,
|
|
3207
|
-
r
|
|
3208
|
-
), f = !0);
|
|
3209
|
-
}
|
|
3210
|
-
a(this, K) && (S = a(this, K), b = a(this, pe), y = Date.now(), g = "error");
|
|
3211
|
-
const w = u.fetchStatus === "fetching", m = g === "pending", C = g === "error", R = m && w, _ = b !== void 0;
|
|
3212
|
-
return {
|
|
3213
|
-
status: g,
|
|
3214
|
-
fetchStatus: u.fetchStatus,
|
|
3215
|
-
isPending: m,
|
|
3216
|
-
isSuccess: g === "success",
|
|
3217
|
-
isError: C,
|
|
3218
|
-
isInitialLoading: R,
|
|
3219
|
-
isLoading: R,
|
|
3220
|
-
data: b,
|
|
3221
|
-
dataUpdatedAt: u.dataUpdatedAt,
|
|
3222
|
-
error: S,
|
|
3223
|
-
errorUpdatedAt: y,
|
|
3224
|
-
failureCount: u.fetchFailureCount,
|
|
3225
|
-
failureReason: u.fetchFailureReason,
|
|
3226
|
-
errorUpdateCount: u.errorUpdateCount,
|
|
3227
|
-
isFetched: u.dataUpdateCount > 0 || u.errorUpdateCount > 0,
|
|
3228
|
-
isFetchedAfterMount: u.dataUpdateCount > c.dataUpdateCount || u.errorUpdateCount > c.errorUpdateCount,
|
|
3229
|
-
isFetching: w,
|
|
3230
|
-
isRefetching: w && !m,
|
|
3231
|
-
isLoadingError: C && !_,
|
|
3232
|
-
isPaused: u.fetchStatus === "paused",
|
|
3233
|
-
isPlaceholderData: f,
|
|
3234
|
-
isRefetchError: C && _,
|
|
3235
|
-
isStale: yt(t, r),
|
|
3236
|
-
refetch: this.refetch
|
|
3237
|
-
};
|
|
3238
|
-
}
|
|
3239
|
-
updateResult(t) {
|
|
3240
|
-
const r = a(this, I), n = this.createResult(a(this, E), this.options);
|
|
3241
|
-
if (v(this, se, a(this, E).state), v(this, fe, this.options), a(this, se).data !== void 0 && v(this, me, a(this, E)), et(n, r))
|
|
3242
|
-
return;
|
|
3243
|
-
v(this, I, n);
|
|
3244
|
-
const s = {}, i = () => {
|
|
3245
|
-
if (!r)
|
|
3246
|
-
return !0;
|
|
3247
|
-
const { notifyOnChangeProps: o } = this.options, l = typeof o == "function" ? o() : o;
|
|
3248
|
-
if (l === "all" || !l && !a(this, be).size)
|
|
3249
|
-
return !0;
|
|
3250
|
-
const h = new Set(
|
|
3251
|
-
l ?? a(this, be)
|
|
3252
|
-
);
|
|
3253
|
-
return this.options.throwOnError && h.add("error"), Object.keys(a(this, I)).some((c) => {
|
|
3254
|
-
const d = c;
|
|
3255
|
-
return a(this, I)[d] !== r[d] && h.has(d);
|
|
3256
|
-
});
|
|
3257
|
-
};
|
|
3258
|
-
(t == null ? void 0 : t.listeners) !== !1 && i() && (s.listeners = !0), A(this, P, or).call(this, { ...s, ...t });
|
|
3259
|
-
}
|
|
3260
|
-
onQueryUpdate() {
|
|
3261
|
-
this.updateResult(), this.hasListeners() && A(this, P, at).call(this);
|
|
3262
|
-
}
|
|
3263
|
-
}, M = new WeakMap(), E = new WeakMap(), Pe = new WeakMap(), I = new WeakMap(), se = new WeakMap(), fe = new WeakMap(), K = new WeakMap(), Oe = new WeakMap(), pe = new WeakMap(), me = new WeakMap(), ie = new WeakMap(), oe = new WeakMap(), X = new WeakMap(), be = new WeakMap(), P = new WeakSet(), ke = function(t) {
|
|
3264
|
-
A(this, P, ut).call(this);
|
|
3265
|
-
let r = a(this, E).fetch(
|
|
3266
|
-
this.options,
|
|
3267
|
-
t
|
|
3268
|
-
);
|
|
3269
|
-
return t != null && t.throwOnError || (r = r.catch(Ye)), r;
|
|
3270
|
-
}, st = function() {
|
|
3271
|
-
A(this, P, lt).call(this);
|
|
3272
|
-
const t = De(
|
|
3273
|
-
this.options.staleTime,
|
|
3274
|
-
a(this, E)
|
|
3275
|
-
);
|
|
3276
|
-
if (ge || a(this, I).isStale || !Xe(t))
|
|
3277
|
-
return;
|
|
3278
|
-
const n = Xt(a(this, I).dataUpdatedAt, t) + 1;
|
|
3279
|
-
v(this, ie, setTimeout(() => {
|
|
3280
|
-
a(this, I).isStale || this.updateResult();
|
|
3281
|
-
}, n));
|
|
3282
|
-
}, it = function() {
|
|
3283
|
-
return (typeof this.options.refetchInterval == "function" ? this.options.refetchInterval(a(this, E)) : this.options.refetchInterval) ?? !1;
|
|
3284
|
-
}, ot = function(t) {
|
|
3285
|
-
A(this, P, ct).call(this), v(this, X, t), !(ge || Q(this.options.enabled, a(this, E)) === !1 || !Xe(a(this, X)) || a(this, X) === 0) && v(this, oe, setInterval(() => {
|
|
3286
|
-
(this.options.refetchIntervalInBackground || er.isFocused()) && A(this, P, ke).call(this);
|
|
3287
|
-
}, a(this, X)));
|
|
3288
|
-
}, at = function() {
|
|
3289
|
-
A(this, P, st).call(this), A(this, P, ot).call(this, A(this, P, it).call(this));
|
|
3290
|
-
}, lt = function() {
|
|
3291
|
-
a(this, ie) && (clearTimeout(a(this, ie)), v(this, ie, void 0));
|
|
3292
|
-
}, ct = function() {
|
|
3293
|
-
a(this, oe) && (clearInterval(a(this, oe)), v(this, oe, void 0));
|
|
3294
|
-
}, ut = function() {
|
|
3295
|
-
const t = a(this, M).getQueryCache().build(a(this, M), this.options);
|
|
3296
|
-
if (t === a(this, E))
|
|
3297
|
-
return;
|
|
3298
|
-
const r = a(this, E);
|
|
3299
|
-
v(this, E, t), v(this, Pe, t.state), this.hasListeners() && (r == null || r.removeObserver(this), t.addObserver(this));
|
|
3300
|
-
}, or = function(t) {
|
|
3301
|
-
bt.batch(() => {
|
|
3302
|
-
t.listeners && this.listeners.forEach((r) => {
|
|
3303
|
-
r(a(this, I));
|
|
3304
|
-
}), a(this, M).getQueryCache().notify({
|
|
3305
|
-
query: a(this, E),
|
|
3306
|
-
type: "observerResultsUpdated"
|
|
3307
|
-
});
|
|
3308
|
-
});
|
|
3309
|
-
}, zt);
|
|
3310
|
-
function Cn(e, t) {
|
|
3311
|
-
return Q(t.enabled, e) !== !1 && e.state.data === void 0 && !(e.state.status === "error" && t.retryOnMount === !1);
|
|
3312
|
-
}
|
|
3313
|
-
function Ot(e, t) {
|
|
3314
|
-
return Cn(e, t) || e.state.data !== void 0 && dt(e, t, t.refetchOnMount);
|
|
3315
|
-
}
|
|
3316
|
-
function dt(e, t, r) {
|
|
3317
|
-
if (Q(t.enabled, e) !== !1) {
|
|
3318
|
-
const n = typeof r == "function" ? r(e) : r;
|
|
3319
|
-
return n === "always" || n !== !1 && yt(e, t);
|
|
3320
|
-
}
|
|
3321
|
-
return !1;
|
|
3322
|
-
}
|
|
3323
|
-
function At(e, t, r, n) {
|
|
3324
|
-
return (e !== t || Q(n.enabled, e) === !1) && (!r.suspense || e.state.status !== "error") && yt(e, r);
|
|
3325
|
-
}
|
|
3326
|
-
function yt(e, t) {
|
|
3327
|
-
return Q(t.enabled, e) !== !1 && e.isStaleByTime(De(t.staleTime, e));
|
|
3328
|
-
}
|
|
3329
|
-
function Rn(e, t) {
|
|
3330
|
-
return !et(e.getCurrentResult(), t);
|
|
3331
|
-
}
|
|
3332
|
-
var ar = p.createContext(
|
|
3333
|
-
void 0
|
|
3334
|
-
), En = (e) => {
|
|
3335
|
-
const t = p.useContext(ar);
|
|
3336
|
-
if (!t)
|
|
3337
|
-
throw new Error("No QueryClient set, use QueryClientProvider to set one");
|
|
3338
|
-
return t;
|
|
3339
|
-
}, Fs = ({
|
|
3340
|
-
client: e,
|
|
3341
|
-
children: t
|
|
3342
|
-
}) => (p.useEffect(() => (e.mount(), () => {
|
|
3343
|
-
e.unmount();
|
|
3344
|
-
}), [e]), /* @__PURE__ */ vr.jsx(ar.Provider, { value: e, children: t })), lr = p.createContext(!1), kn = () => p.useContext(lr);
|
|
3345
|
-
lr.Provider;
|
|
3346
|
-
function Tn() {
|
|
3347
|
-
let e = !1;
|
|
3348
|
-
return {
|
|
3349
|
-
clearReset: () => {
|
|
3350
|
-
e = !1;
|
|
3351
|
-
},
|
|
3352
|
-
reset: () => {
|
|
3353
|
-
e = !0;
|
|
3354
|
-
},
|
|
3355
|
-
isReset: () => e
|
|
3356
|
-
};
|
|
3357
|
-
}
|
|
3358
|
-
var Pn = p.createContext(Tn()), On = () => p.useContext(Pn);
|
|
3359
|
-
function An(e, t) {
|
|
3360
|
-
return typeof e == "function" ? e(...t) : !!e;
|
|
3361
|
-
}
|
|
3362
|
-
function Ls() {
|
|
3363
|
-
}
|
|
3364
|
-
var Fn = (e, t) => {
|
|
3365
|
-
(e.suspense || e.throwOnError) && (t.isReset() || (e.retryOnMount = !1));
|
|
3366
|
-
}, Ln = (e) => {
|
|
3367
|
-
p.useEffect(() => {
|
|
3368
|
-
e.clearReset();
|
|
3369
|
-
}, [e]);
|
|
3370
|
-
}, Nn = ({
|
|
3371
|
-
result: e,
|
|
3372
|
-
errorResetBoundary: t,
|
|
3373
|
-
throwOnError: r,
|
|
3374
|
-
query: n
|
|
3375
|
-
}) => e.isError && !t.isReset() && !e.isFetching && n && An(r, [e.error, n]), _n = (e, t) => t.state.data === void 0, Dn = (e) => {
|
|
3376
|
-
e.suspense && typeof e.staleTime != "number" && (e.staleTime = 1e3);
|
|
3377
|
-
}, In = (e, t) => (e == null ? void 0 : e.suspense) && t.isPending, Mn = (e, t, r) => t.fetchOptimistic(e).catch(() => {
|
|
3378
|
-
r.clearReset();
|
|
3379
|
-
});
|
|
3380
|
-
function cr(e, t, r) {
|
|
3381
|
-
var c, d, u, f;
|
|
3382
|
-
if (process.env.NODE_ENV !== "production" && (typeof e != "object" || Array.isArray(e)))
|
|
3383
|
-
throw new Error(
|
|
3384
|
-
'Bad argument type. Starting with v5, only the "Object" form is allowed when calling query related functions. Please use the error stack to find the culprit call. More info here: https://tanstack.com/query/latest/docs/react/guides/migrating-to-v5#supports-a-single-signature-one-object'
|
|
3385
|
-
);
|
|
3386
|
-
const n = En(), s = kn(), i = On(), o = n.defaultQueryOptions(e);
|
|
3387
|
-
(d = (c = n.getDefaultOptions().queries) == null ? void 0 : c._experimental_beforeQuery) == null || d.call(
|
|
3388
|
-
c,
|
|
3389
|
-
o
|
|
3390
|
-
), o._optimisticResults = s ? "isRestoring" : "optimistic", Dn(o), Fn(o, i), Ln(i);
|
|
3391
|
-
const [l] = p.useState(
|
|
3392
|
-
() => new t(
|
|
3393
|
-
n,
|
|
3394
|
-
o
|
|
3395
|
-
)
|
|
3396
|
-
), h = l.getOptimisticResult(o);
|
|
3397
|
-
if (p.useSyncExternalStore(
|
|
3398
|
-
p.useCallback(
|
|
3399
|
-
(b) => {
|
|
3400
|
-
const S = s ? () => {
|
|
3401
|
-
} : l.subscribe(bt.batchCalls(b));
|
|
3402
|
-
return l.updateResult(), S;
|
|
3403
|
-
},
|
|
3404
|
-
[l, s]
|
|
3405
|
-
),
|
|
3406
|
-
() => l.getCurrentResult(),
|
|
3407
|
-
() => l.getCurrentResult()
|
|
3408
|
-
), p.useEffect(() => {
|
|
3409
|
-
l.setOptions(o, { listeners: !1 });
|
|
3410
|
-
}, [o, l]), In(o, h))
|
|
3411
|
-
throw Mn(o, l, i);
|
|
3412
|
-
if (Nn({
|
|
3413
|
-
result: h,
|
|
3414
|
-
errorResetBoundary: i,
|
|
3415
|
-
throwOnError: o.throwOnError,
|
|
3416
|
-
query: n.getQueryCache().get(o.queryHash)
|
|
3417
|
-
}))
|
|
3418
|
-
throw h.error;
|
|
3419
|
-
return (f = (u = n.getDefaultOptions().queries) == null ? void 0 : u._experimental_afterQuery) == null || f.call(
|
|
3420
|
-
u,
|
|
3421
|
-
o,
|
|
3422
|
-
h
|
|
3423
|
-
), o.notifyOnChangeProps ? h : l.trackResult(h);
|
|
3424
|
-
}
|
|
3425
|
-
function Un(e, t) {
|
|
3426
|
-
return cr(e, ir);
|
|
3427
|
-
}
|
|
3428
|
-
function jn(e, t) {
|
|
3429
|
-
return process.env.NODE_ENV !== "production" && e.queryFn === nt && console.error("skipToken is not allowed for useSuspenseQuery"), cr(
|
|
3430
|
-
{
|
|
3431
|
-
...e,
|
|
3432
|
-
enabled: !0,
|
|
3433
|
-
suspense: !0,
|
|
3434
|
-
throwOnError: _n,
|
|
3435
|
-
placeholderData: void 0
|
|
3436
|
-
},
|
|
3437
|
-
ir
|
|
3438
|
-
);
|
|
3439
|
-
}
|
|
3440
|
-
/**
|
|
3441
|
-
* React Router DOM v6.24.1
|
|
3442
|
-
*
|
|
3443
|
-
* Copyright (c) Remix Software Inc.
|
|
3444
|
-
*
|
|
3445
|
-
* This source code is licensed under the MIT license found in the
|
|
3446
|
-
* LICENSE.md file in the root directory of this source tree.
|
|
3447
|
-
*
|
|
3448
|
-
* @license MIT
|
|
3449
|
-
*/
|
|
3450
|
-
function Z() {
|
|
3451
|
-
return Z = Object.assign ? Object.assign.bind() : function(e) {
|
|
3452
|
-
for (var t = 1; t < arguments.length; t++) {
|
|
3453
|
-
var r = arguments[t];
|
|
3454
|
-
for (var n in r)
|
|
3455
|
-
Object.prototype.hasOwnProperty.call(r, n) && (e[n] = r[n]);
|
|
3456
|
-
}
|
|
3457
|
-
return e;
|
|
3458
|
-
}, Z.apply(this, arguments);
|
|
3459
|
-
}
|
|
3460
|
-
function vt(e, t) {
|
|
3461
|
-
if (e == null) return {};
|
|
3462
|
-
var r = {}, n = Object.keys(e), s, i;
|
|
3463
|
-
for (i = 0; i < n.length; i++)
|
|
3464
|
-
s = n[i], !(t.indexOf(s) >= 0) && (r[s] = e[s]);
|
|
3465
|
-
return r;
|
|
3466
|
-
}
|
|
3467
|
-
const Ie = "get", Me = "application/x-www-form-urlencoded";
|
|
3468
|
-
function qe(e) {
|
|
3469
|
-
return e != null && typeof e.tagName == "string";
|
|
3470
|
-
}
|
|
3471
|
-
function zn(e) {
|
|
3472
|
-
return qe(e) && e.tagName.toLowerCase() === "button";
|
|
3473
|
-
}
|
|
3474
|
-
function Vn(e) {
|
|
3475
|
-
return qe(e) && e.tagName.toLowerCase() === "form";
|
|
3476
|
-
}
|
|
3477
|
-
function qn(e) {
|
|
3478
|
-
return qe(e) && e.tagName.toLowerCase() === "input";
|
|
3479
|
-
}
|
|
3480
|
-
function Qn(e) {
|
|
3481
|
-
return !!(e.metaKey || e.altKey || e.ctrlKey || e.shiftKey);
|
|
3482
|
-
}
|
|
3483
|
-
function Gn(e, t) {
|
|
3484
|
-
return e.button === 0 && // Ignore everything but left clicks
|
|
3485
|
-
(!t || t === "_self") && // Let browser handle "target=_blank" etc.
|
|
3486
|
-
!Qn(e);
|
|
3487
|
-
}
|
|
3488
|
-
function ht(e) {
|
|
3489
|
-
return e === void 0 && (e = ""), new URLSearchParams(typeof e == "string" || Array.isArray(e) || e instanceof URLSearchParams ? e : Object.keys(e).reduce((t, r) => {
|
|
3490
|
-
let n = e[r];
|
|
3491
|
-
return t.concat(Array.isArray(n) ? n.map((s) => [r, s]) : [[r, n]]);
|
|
3492
|
-
}, []));
|
|
3493
|
-
}
|
|
3494
|
-
function Kn(e, t) {
|
|
3495
|
-
let r = ht(e);
|
|
3496
|
-
return t && t.forEach((n, s) => {
|
|
3497
|
-
r.has(s) || t.getAll(s).forEach((i) => {
|
|
3498
|
-
r.append(s, i);
|
|
3499
|
-
});
|
|
3500
|
-
}), r;
|
|
3501
|
-
}
|
|
3502
|
-
let _e = null;
|
|
3503
|
-
function Bn() {
|
|
3504
|
-
if (_e === null)
|
|
3505
|
-
try {
|
|
3506
|
-
new FormData(
|
|
3507
|
-
document.createElement("form"),
|
|
3508
|
-
// @ts-expect-error if FormData supports the submitter parameter, this will throw
|
|
3509
|
-
0
|
|
3510
|
-
), _e = !1;
|
|
3511
|
-
} catch {
|
|
3512
|
-
_e = !0;
|
|
3513
|
-
}
|
|
3514
|
-
return _e;
|
|
3515
|
-
}
|
|
3516
|
-
const Wn = /* @__PURE__ */ new Set(["application/x-www-form-urlencoded", "multipart/form-data", "text/plain"]);
|
|
3517
|
-
function Be(e) {
|
|
3518
|
-
return e != null && !Wn.has(e) ? (process.env.NODE_ENV !== "production" && ze(!1, '"' + e + '" is not a valid `encType` for `<Form>`/`<fetcher.Form>` ' + ('and will default to "' + Me + '"')), null) : e;
|
|
3519
|
-
}
|
|
3520
|
-
function Hn(e, t) {
|
|
3521
|
-
let r, n, s, i, o;
|
|
3522
|
-
if (Vn(e)) {
|
|
3523
|
-
let l = e.getAttribute("action");
|
|
3524
|
-
n = l ? ye(l, t) : null, r = e.getAttribute("method") || Ie, s = Be(e.getAttribute("enctype")) || Me, i = new FormData(e);
|
|
3525
|
-
} else if (zn(e) || qn(e) && (e.type === "submit" || e.type === "image")) {
|
|
3526
|
-
let l = e.form;
|
|
3527
|
-
if (l == null)
|
|
3528
|
-
throw new Error('Cannot submit a <button> or <input type="submit"> without a <form>');
|
|
3529
|
-
let h = e.getAttribute("formaction") || l.getAttribute("action");
|
|
3530
|
-
if (n = h ? ye(h, t) : null, r = e.getAttribute("formmethod") || l.getAttribute("method") || Ie, s = Be(e.getAttribute("formenctype")) || Be(l.getAttribute("enctype")) || Me, i = new FormData(l, e), !Bn()) {
|
|
3531
|
-
let {
|
|
3532
|
-
name: c,
|
|
3533
|
-
type: d,
|
|
3534
|
-
value: u
|
|
3535
|
-
} = e;
|
|
3536
|
-
if (d === "image") {
|
|
3537
|
-
let f = c ? c + "." : "";
|
|
3538
|
-
i.append(f + "x", "0"), i.append(f + "y", "0");
|
|
3539
|
-
} else c && i.append(c, u);
|
|
3540
|
-
}
|
|
3541
|
-
} else {
|
|
3542
|
-
if (qe(e))
|
|
3543
|
-
throw new Error('Cannot submit element that is not <form>, <button>, or <input type="submit|image">');
|
|
3544
|
-
r = Ie, n = null, s = Me, o = e;
|
|
3545
|
-
}
|
|
3546
|
-
return i && s === "text/plain" && (o = i, i = void 0), {
|
|
3547
|
-
action: n,
|
|
3548
|
-
method: r.toLowerCase(),
|
|
3549
|
-
encType: s,
|
|
3550
|
-
formData: i,
|
|
3551
|
-
body: o
|
|
3552
|
-
};
|
|
3553
|
-
}
|
|
3554
|
-
const $n = ["onClick", "relative", "reloadDocument", "replace", "state", "target", "to", "preventScrollReset", "unstable_viewTransition"], Jn = ["aria-current", "caseSensitive", "className", "end", "style", "to", "unstable_viewTransition", "children"], Yn = ["fetcherKey", "navigate", "reloadDocument", "replace", "state", "method", "action", "onSubmit", "relative", "preventScrollReset", "unstable_viewTransition"], Xn = "6";
|
|
3555
|
-
try {
|
|
3556
|
-
window.__reactRouterVersion = Xn;
|
|
3557
|
-
} catch {
|
|
3558
|
-
}
|
|
3559
|
-
function Ns(e, t) {
|
|
3560
|
-
return Cr({
|
|
3561
|
-
basename: void 0,
|
|
3562
|
-
future: Z({}, void 0, {
|
|
3563
|
-
v7_prependBasename: !0
|
|
3564
|
-
}),
|
|
3565
|
-
history: Rr({
|
|
3566
|
-
window: void 0
|
|
3567
|
-
}),
|
|
3568
|
-
hydrationData: Zn(),
|
|
3569
|
-
routes: e,
|
|
3570
|
-
mapRouteProperties: Er,
|
|
3571
|
-
unstable_dataStrategy: void 0,
|
|
3572
|
-
unstable_patchRoutesOnMiss: void 0,
|
|
3573
|
-
window: void 0
|
|
3574
|
-
}).initialize();
|
|
3575
|
-
}
|
|
3576
|
-
function Zn() {
|
|
3577
|
-
var e;
|
|
3578
|
-
let t = (e = window) == null ? void 0 : e.__staticRouterHydrationData;
|
|
3579
|
-
return t && t.errors && (t = Z({}, t, {
|
|
3580
|
-
errors: es(t.errors)
|
|
3581
|
-
})), t;
|
|
3582
|
-
}
|
|
3583
|
-
function es(e) {
|
|
3584
|
-
if (!e) return null;
|
|
3585
|
-
let t = Object.entries(e), r = {};
|
|
3586
|
-
for (let [n, s] of t)
|
|
3587
|
-
if (s && s.__type === "RouteErrorResponse")
|
|
3588
|
-
r[n] = new kr(s.status, s.statusText, s.data, s.internal === !0);
|
|
3589
|
-
else if (s && s.__type === "Error") {
|
|
3590
|
-
if (s.__subType) {
|
|
3591
|
-
let i = window[s.__subType];
|
|
3592
|
-
if (typeof i == "function")
|
|
3593
|
-
try {
|
|
3594
|
-
let o = new i(s.message);
|
|
3595
|
-
o.stack = "", r[n] = o;
|
|
3596
|
-
} catch {
|
|
3597
|
-
}
|
|
3598
|
-
}
|
|
3599
|
-
if (r[n] == null) {
|
|
3600
|
-
let i = new Error(s.message);
|
|
3601
|
-
i.stack = "", r[n] = i;
|
|
3602
|
-
}
|
|
3603
|
-
} else
|
|
3604
|
-
r[n] = s;
|
|
3605
|
-
return r;
|
|
3606
|
-
}
|
|
3607
|
-
const gt = /* @__PURE__ */ p.createContext({
|
|
3608
|
-
isTransitioning: !1
|
|
3609
|
-
});
|
|
3610
|
-
process.env.NODE_ENV !== "production" && (gt.displayName = "ViewTransition");
|
|
3611
|
-
const ur = /* @__PURE__ */ p.createContext(/* @__PURE__ */ new Map());
|
|
3612
|
-
process.env.NODE_ENV !== "production" && (ur.displayName = "Fetchers");
|
|
3613
|
-
const ts = "startTransition", Ft = p[ts], rs = "flushSync", Lt = yr[rs];
|
|
3614
|
-
function ns(e) {
|
|
3615
|
-
Ft ? Ft(e) : e();
|
|
3616
|
-
}
|
|
3617
|
-
function Ee(e) {
|
|
3618
|
-
Lt ? Lt(e) : e();
|
|
3619
|
-
}
|
|
3620
|
-
class ss {
|
|
3621
|
-
constructor() {
|
|
3622
|
-
this.status = "pending", this.promise = new Promise((t, r) => {
|
|
3623
|
-
this.resolve = (n) => {
|
|
3624
|
-
this.status === "pending" && (this.status = "resolved", t(n));
|
|
3625
|
-
}, this.reject = (n) => {
|
|
3626
|
-
this.status === "pending" && (this.status = "rejected", r(n));
|
|
3627
|
-
};
|
|
3628
|
-
});
|
|
3629
|
-
}
|
|
3630
|
-
}
|
|
3631
|
-
function _s(e) {
|
|
3632
|
-
let {
|
|
3633
|
-
fallbackElement: t,
|
|
3634
|
-
router: r,
|
|
3635
|
-
future: n
|
|
3636
|
-
} = e, [s, i] = p.useState(r.state), [o, l] = p.useState(), [h, c] = p.useState({
|
|
3637
|
-
isTransitioning: !1
|
|
3638
|
-
}), [d, u] = p.useState(), [f, b] = p.useState(), [S, y] = p.useState(), g = p.useRef(/* @__PURE__ */ new Map()), {
|
|
3639
|
-
v7_startTransition: w
|
|
3640
|
-
} = n || {}, m = p.useCallback((O) => {
|
|
3641
|
-
w ? ns(O) : O();
|
|
3642
|
-
}, [w]), C = p.useCallback((O, k) => {
|
|
3643
|
-
let {
|
|
3644
|
-
deletedFetchers: N,
|
|
3645
|
-
unstable_flushSync: j,
|
|
3646
|
-
unstable_viewTransitionOpts: U
|
|
3647
|
-
} = k;
|
|
3648
|
-
N.forEach((G) => g.current.delete(G)), O.fetchers.forEach((G, ae) => {
|
|
3649
|
-
G.data !== void 0 && g.current.set(ae, G.data);
|
|
3650
|
-
});
|
|
3651
|
-
let F = r.window == null || r.window.document == null || typeof r.window.document.startViewTransition != "function";
|
|
3652
|
-
if (!U || F) {
|
|
3653
|
-
j ? Ee(() => i(O)) : m(() => i(O));
|
|
3654
|
-
return;
|
|
3655
|
-
}
|
|
3656
|
-
if (j) {
|
|
3657
|
-
Ee(() => {
|
|
3658
|
-
f && (d && d.resolve(), f.skipTransition()), c({
|
|
3659
|
-
isTransitioning: !0,
|
|
3660
|
-
flushSync: !0,
|
|
3661
|
-
currentLocation: U.currentLocation,
|
|
3662
|
-
nextLocation: U.nextLocation
|
|
3663
|
-
});
|
|
3664
|
-
});
|
|
3665
|
-
let G = r.window.document.startViewTransition(() => {
|
|
3666
|
-
Ee(() => i(O));
|
|
3667
|
-
});
|
|
3668
|
-
G.finished.finally(() => {
|
|
3669
|
-
Ee(() => {
|
|
3670
|
-
u(void 0), b(void 0), l(void 0), c({
|
|
3671
|
-
isTransitioning: !1
|
|
3672
|
-
});
|
|
3673
|
-
});
|
|
3674
|
-
}), Ee(() => b(G));
|
|
3675
|
-
return;
|
|
3676
|
-
}
|
|
3677
|
-
f ? (d && d.resolve(), f.skipTransition(), y({
|
|
3678
|
-
state: O,
|
|
3679
|
-
currentLocation: U.currentLocation,
|
|
3680
|
-
nextLocation: U.nextLocation
|
|
3681
|
-
})) : (l(O), c({
|
|
3682
|
-
isTransitioning: !0,
|
|
3683
|
-
flushSync: !1,
|
|
3684
|
-
currentLocation: U.currentLocation,
|
|
3685
|
-
nextLocation: U.nextLocation
|
|
3686
|
-
}));
|
|
3687
|
-
}, [r.window, f, d, g, m]);
|
|
3688
|
-
p.useLayoutEffect(() => r.subscribe(C), [r, C]), p.useEffect(() => {
|
|
3689
|
-
h.isTransitioning && !h.flushSync && u(new ss());
|
|
3690
|
-
}, [h]), p.useEffect(() => {
|
|
3691
|
-
if (d && o && r.window) {
|
|
3692
|
-
let O = o, k = d.promise, N = r.window.document.startViewTransition(async () => {
|
|
3693
|
-
m(() => i(O)), await k;
|
|
3694
|
-
});
|
|
3695
|
-
N.finished.finally(() => {
|
|
3696
|
-
u(void 0), b(void 0), l(void 0), c({
|
|
3697
|
-
isTransitioning: !1
|
|
3698
|
-
});
|
|
3699
|
-
}), b(N);
|
|
3700
|
-
}
|
|
3701
|
-
}, [m, o, d, r.window]), p.useEffect(() => {
|
|
3702
|
-
d && o && s.location.key === o.location.key && d.resolve();
|
|
3703
|
-
}, [d, f, s.location, o]), p.useEffect(() => {
|
|
3704
|
-
!h.isTransitioning && S && (l(S.state), c({
|
|
3705
|
-
isTransitioning: !0,
|
|
3706
|
-
flushSync: !1,
|
|
3707
|
-
currentLocation: S.currentLocation,
|
|
3708
|
-
nextLocation: S.nextLocation
|
|
3709
|
-
}), y(void 0));
|
|
3710
|
-
}, [h.isTransitioning, S]), p.useEffect(() => {
|
|
3711
|
-
process.env.NODE_ENV !== "production" && ze(t == null || !r.future.v7_partialHydration, "`<RouterProvider fallbackElement>` is deprecated when using `v7_partialHydration`, use a `HydrateFallback` component instead");
|
|
3712
|
-
}, []);
|
|
3713
|
-
let R = p.useMemo(() => ({
|
|
3714
|
-
createHref: r.createHref,
|
|
3715
|
-
encodeLocation: r.encodeLocation,
|
|
3716
|
-
go: (O) => r.navigate(O),
|
|
3717
|
-
push: (O, k, N) => r.navigate(O, {
|
|
3718
|
-
state: k,
|
|
3719
|
-
preventScrollReset: N == null ? void 0 : N.preventScrollReset
|
|
3720
|
-
}),
|
|
3721
|
-
replace: (O, k, N) => r.navigate(O, {
|
|
3722
|
-
replace: !0,
|
|
3723
|
-
state: k,
|
|
3724
|
-
preventScrollReset: N == null ? void 0 : N.preventScrollReset
|
|
3725
|
-
})
|
|
3726
|
-
}), [r]), _ = r.basename || "/", V = p.useMemo(() => ({
|
|
3727
|
-
router: r,
|
|
3728
|
-
navigator: R,
|
|
3729
|
-
static: !1,
|
|
3730
|
-
basename: _
|
|
3731
|
-
}), [r, R, _]);
|
|
3732
|
-
return /* @__PURE__ */ p.createElement(p.Fragment, null, /* @__PURE__ */ p.createElement(Gt.Provider, {
|
|
3733
|
-
value: V
|
|
3734
|
-
}, /* @__PURE__ */ p.createElement(Qt.Provider, {
|
|
3735
|
-
value: s
|
|
3736
|
-
}, /* @__PURE__ */ p.createElement(ur.Provider, {
|
|
3737
|
-
value: g.current
|
|
3738
|
-
}, /* @__PURE__ */ p.createElement(gt.Provider, {
|
|
3739
|
-
value: h
|
|
3740
|
-
}, /* @__PURE__ */ p.createElement(Tr, {
|
|
3741
|
-
basename: _,
|
|
3742
|
-
location: s.location,
|
|
3743
|
-
navigationType: s.historyAction,
|
|
3744
|
-
navigator: R,
|
|
3745
|
-
future: {
|
|
3746
|
-
v7_relativeSplatPath: r.future.v7_relativeSplatPath
|
|
3747
|
-
}
|
|
3748
|
-
}, s.initialized || r.future.v7_partialHydration ? /* @__PURE__ */ p.createElement(is, {
|
|
3749
|
-
routes: r.routes,
|
|
3750
|
-
future: r.future,
|
|
3751
|
-
state: s
|
|
3752
|
-
}) : t))))), null);
|
|
3753
|
-
}
|
|
3754
|
-
function is(e) {
|
|
3755
|
-
let {
|
|
3756
|
-
routes: t,
|
|
3757
|
-
future: r,
|
|
3758
|
-
state: n
|
|
3759
|
-
} = e;
|
|
3760
|
-
return Pr(t, void 0, n, r);
|
|
3761
|
-
}
|
|
3762
|
-
process.env.NODE_ENV;
|
|
3763
|
-
const os = typeof window < "u" && typeof window.document < "u" && typeof window.document.createElement < "u", as = /^(?:[a-z][a-z0-9+.-]*:|\/\/)/i, dr = /* @__PURE__ */ p.forwardRef(function(t, r) {
|
|
3764
|
-
let {
|
|
3765
|
-
onClick: n,
|
|
3766
|
-
relative: s,
|
|
3767
|
-
reloadDocument: i,
|
|
3768
|
-
replace: o,
|
|
3769
|
-
state: l,
|
|
3770
|
-
target: h,
|
|
3771
|
-
to: c,
|
|
3772
|
-
preventScrollReset: d,
|
|
3773
|
-
unstable_viewTransition: u
|
|
3774
|
-
} = t, f = vt(t, $n), {
|
|
3775
|
-
basename: b
|
|
3776
|
-
} = p.useContext(je), S, y = !1;
|
|
3777
|
-
if (typeof c == "string" && as.test(c) && (S = c, os))
|
|
3778
|
-
try {
|
|
3779
|
-
let C = new URL(window.location.href), R = c.startsWith("//") ? new URL(C.protocol + c) : new URL(c), _ = ye(R.pathname, b);
|
|
3780
|
-
R.origin === C.origin && _ != null ? c = _ + R.search + R.hash : y = !0;
|
|
3781
|
-
} catch {
|
|
3782
|
-
process.env.NODE_ENV !== "production" && ze(!1, '<Link to="' + c + '"> contains an invalid URL which will probably break when clicked - please update to a valid URL path.');
|
|
3783
|
-
}
|
|
3784
|
-
let g = gr(c, {
|
|
3785
|
-
relative: s
|
|
3786
|
-
}), w = ds(c, {
|
|
3787
|
-
replace: o,
|
|
3788
|
-
state: l,
|
|
3789
|
-
target: h,
|
|
3790
|
-
preventScrollReset: d,
|
|
3791
|
-
relative: s,
|
|
3792
|
-
unstable_viewTransition: u
|
|
3793
|
-
});
|
|
3794
|
-
function m(C) {
|
|
3795
|
-
n && n(C), C.defaultPrevented || w(C);
|
|
3796
|
-
}
|
|
3797
|
-
return (
|
|
3798
|
-
// eslint-disable-next-line jsx-a11y/anchor-has-content
|
|
3799
|
-
/* @__PURE__ */ p.createElement("a", Z({}, f, {
|
|
3800
|
-
href: S || g,
|
|
3801
|
-
onClick: y || i ? n : m,
|
|
3802
|
-
ref: r,
|
|
3803
|
-
target: h
|
|
3804
|
-
}))
|
|
3805
|
-
);
|
|
3806
|
-
});
|
|
3807
|
-
process.env.NODE_ENV !== "production" && (dr.displayName = "Link");
|
|
3808
|
-
const ls = /* @__PURE__ */ p.forwardRef(function(t, r) {
|
|
3809
|
-
let {
|
|
3810
|
-
"aria-current": n = "page",
|
|
3811
|
-
caseSensitive: s = !1,
|
|
3812
|
-
className: i = "",
|
|
3813
|
-
end: o = !1,
|
|
3814
|
-
style: l,
|
|
3815
|
-
to: h,
|
|
3816
|
-
unstable_viewTransition: c,
|
|
3817
|
-
children: d
|
|
3818
|
-
} = t, u = vt(t, Jn), f = Ve(h, {
|
|
3819
|
-
relative: u.relative
|
|
3820
|
-
}), b = Ae(), S = p.useContext(Qt), {
|
|
3821
|
-
navigator: y,
|
|
3822
|
-
basename: g
|
|
3823
|
-
} = p.useContext(je), w = S != null && // Conditional usage is OK here because the usage of a data router is static
|
|
3824
|
-
// eslint-disable-next-line react-hooks/rules-of-hooks
|
|
3825
|
-
ys(f) && c === !0, m = y.encodeLocation ? y.encodeLocation(f).pathname : f.pathname, C = b.pathname, R = S && S.navigation && S.navigation.location ? S.navigation.location.pathname : null;
|
|
3826
|
-
s || (C = C.toLowerCase(), R = R ? R.toLowerCase() : null, m = m.toLowerCase()), R && g && (R = ye(R, g) || R);
|
|
3827
|
-
const _ = m !== "/" && m.endsWith("/") ? m.length - 1 : m.length;
|
|
3828
|
-
let V = C === m || !o && C.startsWith(m) && C.charAt(_) === "/", O = R != null && (R === m || !o && R.startsWith(m) && R.charAt(m.length) === "/"), k = {
|
|
3829
|
-
isActive: V,
|
|
3830
|
-
isPending: O,
|
|
3831
|
-
isTransitioning: w
|
|
3832
|
-
}, N = V ? n : void 0, j;
|
|
3833
|
-
typeof i == "function" ? j = i(k) : j = [i, V ? "active" : null, O ? "pending" : null, w ? "transitioning" : null].filter(Boolean).join(" ");
|
|
3834
|
-
let U = typeof l == "function" ? l(k) : l;
|
|
3835
|
-
return /* @__PURE__ */ p.createElement(dr, Z({}, u, {
|
|
3836
|
-
"aria-current": N,
|
|
3837
|
-
className: j,
|
|
3838
|
-
ref: r,
|
|
3839
|
-
style: U,
|
|
3840
|
-
to: h,
|
|
3841
|
-
unstable_viewTransition: c
|
|
3842
|
-
}), typeof d == "function" ? d(k) : d);
|
|
3843
|
-
});
|
|
3844
|
-
process.env.NODE_ENV !== "production" && (ls.displayName = "NavLink");
|
|
3845
|
-
const cs = /* @__PURE__ */ p.forwardRef((e, t) => {
|
|
3846
|
-
let {
|
|
3847
|
-
fetcherKey: r,
|
|
3848
|
-
navigate: n,
|
|
3849
|
-
reloadDocument: s,
|
|
3850
|
-
replace: i,
|
|
3851
|
-
state: o,
|
|
3852
|
-
method: l = Ie,
|
|
3853
|
-
action: h,
|
|
3854
|
-
onSubmit: c,
|
|
3855
|
-
relative: d,
|
|
3856
|
-
preventScrollReset: u,
|
|
3857
|
-
unstable_viewTransition: f
|
|
3858
|
-
} = e, b = vt(e, Yn), S = ms(), y = bs(h, {
|
|
3859
|
-
relative: d
|
|
3860
|
-
}), g = l.toLowerCase() === "get" ? "get" : "post", w = (m) => {
|
|
3861
|
-
if (c && c(m), m.defaultPrevented) return;
|
|
3862
|
-
m.preventDefault();
|
|
3863
|
-
let C = m.nativeEvent.submitter, R = (C == null ? void 0 : C.getAttribute("formmethod")) || l;
|
|
3864
|
-
S(C || m.currentTarget, {
|
|
3865
|
-
fetcherKey: r,
|
|
3866
|
-
method: R,
|
|
3867
|
-
navigate: n,
|
|
3868
|
-
replace: i,
|
|
3869
|
-
state: o,
|
|
3870
|
-
relative: d,
|
|
3871
|
-
preventScrollReset: u,
|
|
3872
|
-
unstable_viewTransition: f
|
|
3873
|
-
});
|
|
3874
|
-
};
|
|
3875
|
-
return /* @__PURE__ */ p.createElement("form", Z({
|
|
3876
|
-
ref: t,
|
|
3877
|
-
method: g,
|
|
3878
|
-
action: y,
|
|
3879
|
-
onSubmit: s ? c : w
|
|
3880
|
-
}, b));
|
|
3881
|
-
});
|
|
3882
|
-
process.env.NODE_ENV !== "production" && (cs.displayName = "Form");
|
|
3883
|
-
process.env.NODE_ENV;
|
|
3884
|
-
var Ue;
|
|
3885
|
-
(function(e) {
|
|
3886
|
-
e.UseScrollRestoration = "useScrollRestoration", e.UseSubmit = "useSubmit", e.UseSubmitFetcher = "useSubmitFetcher", e.UseFetcher = "useFetcher", e.useViewTransitionState = "useViewTransitionState";
|
|
3887
|
-
})(Ue || (Ue = {}));
|
|
3888
|
-
var Nt;
|
|
3889
|
-
(function(e) {
|
|
3890
|
-
e.UseFetcher = "useFetcher", e.UseFetchers = "useFetchers", e.UseScrollRestoration = "useScrollRestoration";
|
|
3891
|
-
})(Nt || (Nt = {}));
|
|
3892
|
-
function us(e) {
|
|
3893
|
-
return e + " must be used within a data router. See https://reactrouter.com/routers/picking-a-router.";
|
|
3894
|
-
}
|
|
3895
|
-
function hr(e) {
|
|
3896
|
-
let t = p.useContext(Gt);
|
|
3897
|
-
return t || (process.env.NODE_ENV !== "production" ? ve(!1, us(e)) : ve(!1)), t;
|
|
3898
|
-
}
|
|
3899
|
-
function ds(e, t) {
|
|
3900
|
-
let {
|
|
3901
|
-
target: r,
|
|
3902
|
-
replace: n,
|
|
3903
|
-
state: s,
|
|
3904
|
-
preventScrollReset: i,
|
|
3905
|
-
relative: o,
|
|
3906
|
-
unstable_viewTransition: l
|
|
3907
|
-
} = t === void 0 ? {} : t, h = qt(), c = Ae(), d = Ve(e, {
|
|
3908
|
-
relative: o
|
|
3909
|
-
});
|
|
3910
|
-
return p.useCallback((u) => {
|
|
3911
|
-
if (Gn(u, r)) {
|
|
3912
|
-
u.preventDefault();
|
|
3913
|
-
let f = n !== void 0 ? n : He(c) === He(d);
|
|
3914
|
-
h(e, {
|
|
3915
|
-
replace: f,
|
|
3916
|
-
state: s,
|
|
3917
|
-
preventScrollReset: i,
|
|
3918
|
-
relative: o,
|
|
3919
|
-
unstable_viewTransition: l
|
|
3920
|
-
});
|
|
3921
|
-
}
|
|
3922
|
-
}, [c, h, d, n, s, r, e, i, o, l]);
|
|
3923
|
-
}
|
|
3924
|
-
function Ds(e) {
|
|
3925
|
-
process.env.NODE_ENV !== "production" && ze(typeof URLSearchParams < "u", "You cannot use the `useSearchParams` hook in a browser that does not support the URLSearchParams API. If you need to support Internet Explorer 11, we recommend you load a polyfill such as https://github.com/ungap/url-search-params.");
|
|
3926
|
-
let t = p.useRef(ht(e)), r = p.useRef(!1), n = Ae(), s = p.useMemo(() => (
|
|
3927
|
-
// Only merge in the defaults if we haven't yet called setSearchParams.
|
|
3928
|
-
// Once we call that we want those to take precedence, otherwise you can't
|
|
3929
|
-
// remove a param with setSearchParams({}) if it has an initial value
|
|
3930
|
-
Kn(n.search, r.current ? null : t.current)
|
|
3931
|
-
), [n.search]), i = qt(), o = p.useCallback((l, h) => {
|
|
3932
|
-
const c = ht(typeof l == "function" ? l(s) : l);
|
|
3933
|
-
r.current = !0, i("?" + c, h);
|
|
3934
|
-
}, [i, s]);
|
|
3935
|
-
return [s, o];
|
|
3936
|
-
}
|
|
3937
|
-
function hs() {
|
|
3938
|
-
if (typeof document > "u")
|
|
3939
|
-
throw new Error("You are calling submit during the server render. Try calling submit within a `useEffect` or callback instead.");
|
|
3940
|
-
}
|
|
3941
|
-
let fs = 0, ps = () => "__" + String(++fs) + "__";
|
|
3942
|
-
function ms() {
|
|
3943
|
-
let {
|
|
3944
|
-
router: e
|
|
3945
|
-
} = hr(Ue.UseSubmit), {
|
|
3946
|
-
basename: t
|
|
3947
|
-
} = p.useContext(je), r = wr();
|
|
3948
|
-
return p.useCallback(function(n, s) {
|
|
3949
|
-
s === void 0 && (s = {}), hs();
|
|
3950
|
-
let {
|
|
3951
|
-
action: i,
|
|
3952
|
-
method: o,
|
|
3953
|
-
encType: l,
|
|
3954
|
-
formData: h,
|
|
3955
|
-
body: c
|
|
3956
|
-
} = Hn(n, t);
|
|
3957
|
-
if (s.navigate === !1) {
|
|
3958
|
-
let d = s.fetcherKey || ps();
|
|
3959
|
-
e.fetch(d, r, s.action || i, {
|
|
3960
|
-
preventScrollReset: s.preventScrollReset,
|
|
3961
|
-
formData: h,
|
|
3962
|
-
body: c,
|
|
3963
|
-
formMethod: s.method || o,
|
|
3964
|
-
formEncType: s.encType || l,
|
|
3965
|
-
unstable_flushSync: s.unstable_flushSync
|
|
3966
|
-
});
|
|
3967
|
-
} else
|
|
3968
|
-
e.navigate(s.action || i, {
|
|
3969
|
-
preventScrollReset: s.preventScrollReset,
|
|
3970
|
-
formData: h,
|
|
3971
|
-
body: c,
|
|
3972
|
-
formMethod: s.method || o,
|
|
3973
|
-
formEncType: s.encType || l,
|
|
3974
|
-
replace: s.replace,
|
|
3975
|
-
state: s.state,
|
|
3976
|
-
fromRouteId: r,
|
|
3977
|
-
unstable_flushSync: s.unstable_flushSync,
|
|
3978
|
-
unstable_viewTransition: s.unstable_viewTransition
|
|
3979
|
-
});
|
|
3980
|
-
}, [e, t, r]);
|
|
3981
|
-
}
|
|
3982
|
-
function bs(e, t) {
|
|
3983
|
-
let {
|
|
3984
|
-
relative: r
|
|
3985
|
-
} = t === void 0 ? {} : t, {
|
|
3986
|
-
basename: n
|
|
3987
|
-
} = p.useContext(je), s = p.useContext(xr);
|
|
3988
|
-
s || (process.env.NODE_ENV !== "production" ? ve(!1, "useFormAction must be used inside a RouteContext") : ve(!1));
|
|
3989
|
-
let [i] = s.matches.slice(-1), o = Z({}, Ve(e || ".", {
|
|
3990
|
-
relative: r
|
|
3991
|
-
})), l = Ae();
|
|
3992
|
-
if (e == null) {
|
|
3993
|
-
o.search = l.search;
|
|
3994
|
-
let h = new URLSearchParams(o.search);
|
|
3995
|
-
h.has("index") && h.get("index") === "" && (h.delete("index"), o.search = h.toString() ? "?" + h.toString() : "");
|
|
3996
|
-
}
|
|
3997
|
-
return (!e || e === ".") && i.route.index && (o.search = o.search ? o.search.replace(/^\?/, "?index&") : "?index"), n !== "/" && (o.pathname = o.pathname === "/" ? n : Sr([n, o.pathname])), He(o);
|
|
3998
|
-
}
|
|
3999
|
-
function ys(e, t) {
|
|
4000
|
-
t === void 0 && (t = {});
|
|
4001
|
-
let r = p.useContext(gt);
|
|
4002
|
-
r == null && (process.env.NODE_ENV !== "production" ? ve(!1, "`unstable_useViewTransitionState` must be used within `react-router-dom`'s `RouterProvider`. Did you accidentally import `RouterProvider` from `react-router`?") : ve(!1));
|
|
4003
|
-
let {
|
|
4004
|
-
basename: n
|
|
4005
|
-
} = hr(Ue.useViewTransitionState), s = Ve(e, {
|
|
4006
|
-
relative: t.relative
|
|
4007
|
-
});
|
|
4008
|
-
if (!r.isTransitioning)
|
|
4009
|
-
return !1;
|
|
4010
|
-
let i = ye(r.currentLocation.pathname, n) || r.currentLocation.pathname, o = ye(r.nextLocation.pathname, n) || r.nextLocation.pathname;
|
|
4011
|
-
return $e(s.pathname, o) != null || $e(s.pathname, i) != null;
|
|
4012
|
-
}
|
|
4013
|
-
function fr(e) {
|
|
4014
|
-
var t, r, n = "";
|
|
4015
|
-
if (typeof e == "string" || typeof e == "number") n += e;
|
|
4016
|
-
else if (typeof e == "object") if (Array.isArray(e)) for (t = 0; t < e.length; t++) e[t] && (r = fr(e[t])) && (n && (n += " "), n += r);
|
|
4017
|
-
else for (t in e) e[t] && (n && (n += " "), n += t);
|
|
4018
|
-
return n;
|
|
4019
|
-
}
|
|
4020
|
-
function vs() {
|
|
4021
|
-
for (var e, t, r = 0, n = ""; r < arguments.length; ) (e = arguments[r++]) && (t = fr(e)) && (n && (n += " "), n += t);
|
|
4022
|
-
return n;
|
|
4023
|
-
}
|
|
4024
|
-
const _t = (e) => typeof e == "boolean" ? "".concat(e) : e === 0 ? "0" : e, Dt = vs, Is = (e, t) => (r) => {
|
|
4025
|
-
var n;
|
|
4026
|
-
if ((t == null ? void 0 : t.variants) == null) return Dt(e, r == null ? void 0 : r.class, r == null ? void 0 : r.className);
|
|
4027
|
-
const { variants: s, defaultVariants: i } = t, o = Object.keys(s).map((c) => {
|
|
4028
|
-
const d = r == null ? void 0 : r[c], u = i == null ? void 0 : i[c];
|
|
4029
|
-
if (d === null) return null;
|
|
4030
|
-
const f = _t(d) || _t(u);
|
|
4031
|
-
return s[c][f];
|
|
4032
|
-
}), l = r && Object.entries(r).reduce((c, d) => {
|
|
4033
|
-
let [u, f] = d;
|
|
4034
|
-
return f === void 0 || (c[u] = f), c;
|
|
4035
|
-
}, {}), h = t == null || (n = t.compoundVariants) === null || n === void 0 ? void 0 : n.reduce((c, d) => {
|
|
4036
|
-
let { class: u, className: f, ...b } = d;
|
|
4037
|
-
return Object.entries(b).every((S) => {
|
|
4038
|
-
let [y, g] = S;
|
|
4039
|
-
return Array.isArray(g) ? g.includes({
|
|
4040
|
-
...i,
|
|
4041
|
-
...l
|
|
4042
|
-
}[y]) : {
|
|
4043
|
-
...i,
|
|
4044
|
-
...l
|
|
4045
|
-
}[y] === g;
|
|
4046
|
-
}) ? [
|
|
4047
|
-
...c,
|
|
4048
|
-
u,
|
|
4049
|
-
f
|
|
4050
|
-
] : c;
|
|
4051
|
-
}, []);
|
|
4052
|
-
return Dt(e, o, h, r == null ? void 0 : r.class, r == null ? void 0 : r.className);
|
|
4053
|
-
}, pr = mr(
|
|
4054
|
-
void 0
|
|
4055
|
-
), Ms = pr.Provider, wt = () => {
|
|
4056
|
-
const e = br(pr);
|
|
4057
|
-
if (!e)
|
|
4058
|
-
throw new Error("useDevPortal must be used within a DevPortalProvider.");
|
|
4059
|
-
return e;
|
|
4060
|
-
}, Us = () => {
|
|
4061
|
-
const { getApiIdentities: e } = wt();
|
|
4062
|
-
return Un({
|
|
4063
|
-
queryFn: e,
|
|
4064
|
-
queryKey: ["api-identities"]
|
|
4065
|
-
});
|
|
4066
|
-
}, gs = () => {
|
|
4067
|
-
const { navigation: e } = wt(), t = Ae();
|
|
4068
|
-
return e.find(
|
|
4069
|
-
(r) => $e({ path: r.path, end: !1 }, t.pathname)
|
|
4070
|
-
);
|
|
4071
|
-
}, js = () => {
|
|
4072
|
-
const { getNavigation: e } = wt(), t = gs(), r = (t == null ? void 0 : t.path) ?? "";
|
|
4073
|
-
return jn({
|
|
4074
|
-
queryFn: async () => ({
|
|
4075
|
-
items: [...(t == null ? void 0 : t.categories) ?? [], ...await e(r)],
|
|
4076
|
-
currentTopNavItem: t
|
|
4077
|
-
}),
|
|
4078
|
-
queryKey: ["navigation", r]
|
|
4079
|
-
});
|
|
4080
|
-
};
|
|
4081
|
-
export {
|
|
4082
|
-
Us as A,
|
|
4083
|
-
Ds as B,
|
|
4084
|
-
et as C,
|
|
4085
|
-
Ms as D,
|
|
4086
|
-
Ls as E,
|
|
4087
|
-
An as F,
|
|
4088
|
-
Cs as G,
|
|
4089
|
-
xn as H,
|
|
4090
|
-
gn as I,
|
|
4091
|
-
Nr as J,
|
|
4092
|
-
dr as L,
|
|
4093
|
-
ls as N,
|
|
4094
|
-
As as Q,
|
|
4095
|
-
_s as R,
|
|
4096
|
-
pt as S,
|
|
4097
|
-
Ts as a,
|
|
4098
|
-
Ye as b,
|
|
4099
|
-
Lr as c,
|
|
4100
|
-
Os as d,
|
|
4101
|
-
mn as e,
|
|
4102
|
-
Ps as f,
|
|
4103
|
-
er as g,
|
|
4104
|
-
fn as h,
|
|
4105
|
-
Es as i,
|
|
4106
|
-
Ze as j,
|
|
4107
|
-
Dt as k,
|
|
4108
|
-
Rs as l,
|
|
4109
|
-
ks as m,
|
|
4110
|
-
bt as n,
|
|
4111
|
-
tr as o,
|
|
4112
|
-
mt as p,
|
|
4113
|
-
Is as q,
|
|
4114
|
-
De as r,
|
|
4115
|
-
nt as s,
|
|
4116
|
-
gs as t,
|
|
4117
|
-
wt as u,
|
|
4118
|
-
js as v,
|
|
4119
|
-
Ns as w,
|
|
4120
|
-
Fs as x,
|
|
4121
|
-
En as y,
|
|
4122
|
-
jn as z
|
|
4123
|
-
};
|