@byuckchon-frontend/core 1.1.1 → 1.1.2
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/index.mjs +1178 -563
- package/dist/index.umd.js +2 -1
- package/dist/src/SanitizeHtmlRender/index.d.ts +40 -0
- package/dist/src/index.d.ts +1 -0
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -1,259 +1,292 @@
|
|
|
1
|
-
import { jsxs as
|
|
2
|
-
import { createContext as
|
|
3
|
-
const
|
|
4
|
-
const
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
1
|
+
import { jsxs as Co, jsx as oo } from "react/jsx-runtime";
|
|
2
|
+
import { createContext as Oo, useState as Lo, useContext as Io, Component as Do } from "react";
|
|
3
|
+
const No = (t, o) => {
|
|
4
|
+
const r = new Array(t.length + o.length);
|
|
5
|
+
for (let n = 0; n < t.length; n++)
|
|
6
|
+
r[n] = t[n];
|
|
7
|
+
for (let n = 0; n < o.length; n++)
|
|
8
|
+
r[t.length + n] = o[n];
|
|
9
|
+
return r;
|
|
10
|
+
}, Mo = (t, o) => ({
|
|
11
|
+
classGroupId: t,
|
|
12
|
+
validator: o
|
|
13
|
+
}), no = (t = /* @__PURE__ */ new Map(), o = null, r) => ({
|
|
14
|
+
nextPart: t,
|
|
15
|
+
validators: o,
|
|
16
|
+
classGroupId: r
|
|
17
|
+
}), tt = "-", Wt = [], Po = "arbitrary..", zo = (t) => {
|
|
18
|
+
const o = Uo(t), {
|
|
19
|
+
conflictingClassGroups: r,
|
|
20
|
+
conflictingClassGroupModifiers: n
|
|
21
|
+
} = t;
|
|
8
22
|
return {
|
|
9
23
|
getClassGroupId: (i) => {
|
|
10
|
-
|
|
11
|
-
|
|
24
|
+
if (i.startsWith("[") && i.endsWith("]"))
|
|
25
|
+
return Fo(i);
|
|
26
|
+
const b = i.split(tt), f = b[0] === "" && b.length > 1 ? 1 : 0;
|
|
27
|
+
return ro(b, f, o);
|
|
12
28
|
},
|
|
13
|
-
getConflictingClassGroupIds: (i,
|
|
14
|
-
|
|
15
|
-
|
|
29
|
+
getConflictingClassGroupIds: (i, b) => {
|
|
30
|
+
if (b) {
|
|
31
|
+
const f = n[i], h = r[i];
|
|
32
|
+
return f ? h ? No(h, f) : f : h || Wt;
|
|
33
|
+
}
|
|
34
|
+
return r[i] || Wt;
|
|
16
35
|
}
|
|
17
36
|
};
|
|
18
|
-
},
|
|
19
|
-
if (
|
|
20
|
-
return
|
|
21
|
-
const
|
|
22
|
-
if (l)
|
|
23
|
-
|
|
24
|
-
|
|
37
|
+
}, ro = (t, o, r) => {
|
|
38
|
+
if (t.length - o === 0)
|
|
39
|
+
return r.classGroupId;
|
|
40
|
+
const a = t[o], l = r.nextPart.get(a);
|
|
41
|
+
if (l) {
|
|
42
|
+
const h = ro(t, o + 1, l);
|
|
43
|
+
if (h) return h;
|
|
44
|
+
}
|
|
45
|
+
const i = r.validators;
|
|
46
|
+
if (i === null)
|
|
25
47
|
return;
|
|
26
|
-
const
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
if (fe.test(e)) {
|
|
32
|
-
const n = fe.exec(e)[1], t = n?.substring(0, n.indexOf(":"));
|
|
33
|
-
if (t)
|
|
34
|
-
return "arbitrary.." + t;
|
|
48
|
+
const b = o === 0 ? t.join(tt) : t.slice(o).join(tt), f = i.length;
|
|
49
|
+
for (let h = 0; h < f; h++) {
|
|
50
|
+
const w = i[h];
|
|
51
|
+
if (w.validator(b))
|
|
52
|
+
return w.classGroupId;
|
|
35
53
|
}
|
|
36
|
-
},
|
|
54
|
+
}, Fo = (t) => t.slice(1, -1).indexOf(":") === -1 ? void 0 : (() => {
|
|
55
|
+
const o = t.slice(1, -1), r = o.indexOf(":"), n = o.slice(0, r);
|
|
56
|
+
return n ? Po + n : void 0;
|
|
57
|
+
})(), Uo = (t) => {
|
|
37
58
|
const {
|
|
38
|
-
theme:
|
|
39
|
-
classGroups:
|
|
40
|
-
} =
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
for (const
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
59
|
+
theme: o,
|
|
60
|
+
classGroups: r
|
|
61
|
+
} = t;
|
|
62
|
+
return Go(r, o);
|
|
63
|
+
}, Go = (t, o) => {
|
|
64
|
+
const r = no();
|
|
65
|
+
for (const n in t) {
|
|
66
|
+
const a = t[n];
|
|
67
|
+
xt(a, r, n, o);
|
|
68
|
+
}
|
|
69
|
+
return r;
|
|
70
|
+
}, xt = (t, o, r, n) => {
|
|
71
|
+
const a = t.length;
|
|
72
|
+
for (let l = 0; l < a; l++) {
|
|
73
|
+
const i = t[l];
|
|
74
|
+
Ho(i, o, r, n);
|
|
75
|
+
}
|
|
76
|
+
}, Ho = (t, o, r, n) => {
|
|
77
|
+
if (typeof t == "string") {
|
|
78
|
+
Wo(t, o, r);
|
|
79
|
+
return;
|
|
80
|
+
}
|
|
81
|
+
if (typeof t == "function") {
|
|
82
|
+
Bo(t, o, r, n);
|
|
83
|
+
return;
|
|
84
|
+
}
|
|
85
|
+
jo(t, o, r, n);
|
|
86
|
+
}, Wo = (t, o, r) => {
|
|
87
|
+
const n = t === "" ? o : so(o, t);
|
|
88
|
+
n.classGroupId = r;
|
|
89
|
+
}, Bo = (t, o, r, n) => {
|
|
90
|
+
if (Vo(t)) {
|
|
91
|
+
xt(t(n), o, r, n);
|
|
92
|
+
return;
|
|
93
|
+
}
|
|
94
|
+
o.validators === null && (o.validators = []), o.validators.push(Mo(r, t));
|
|
95
|
+
}, jo = (t, o, r, n) => {
|
|
96
|
+
const a = Object.entries(t), l = a.length;
|
|
97
|
+
for (let i = 0; i < l; i++) {
|
|
98
|
+
const [b, f] = a[i];
|
|
99
|
+
xt(f, so(o, b), r, n);
|
|
100
|
+
}
|
|
101
|
+
}, so = (t, o) => {
|
|
102
|
+
let r = t;
|
|
103
|
+
const n = o.split(tt), a = n.length;
|
|
104
|
+
for (let l = 0; l < a; l++) {
|
|
105
|
+
const i = n[l];
|
|
106
|
+
let b = r.nextPart.get(i);
|
|
107
|
+
b || (b = no(), r.nextPart.set(i, b)), r = b;
|
|
108
|
+
}
|
|
109
|
+
return r;
|
|
110
|
+
}, Vo = (t) => "isThemeGetter" in t && t.isThemeGetter === !0, Yo = (t) => {
|
|
111
|
+
if (t < 1)
|
|
79
112
|
return {
|
|
80
113
|
get: () => {
|
|
81
114
|
},
|
|
82
115
|
set: () => {
|
|
83
116
|
}
|
|
84
117
|
};
|
|
85
|
-
let
|
|
86
|
-
const
|
|
87
|
-
|
|
118
|
+
let o = 0, r = /* @__PURE__ */ Object.create(null), n = /* @__PURE__ */ Object.create(null);
|
|
119
|
+
const a = (l, i) => {
|
|
120
|
+
r[l] = i, o++, o > t && (o = 0, n = r, r = /* @__PURE__ */ Object.create(null));
|
|
88
121
|
};
|
|
89
122
|
return {
|
|
90
|
-
get(
|
|
91
|
-
let i =
|
|
123
|
+
get(l) {
|
|
124
|
+
let i = r[l];
|
|
92
125
|
if (i !== void 0)
|
|
93
126
|
return i;
|
|
94
|
-
if ((i =
|
|
95
|
-
return l
|
|
127
|
+
if ((i = n[l]) !== void 0)
|
|
128
|
+
return a(l, i), i;
|
|
96
129
|
},
|
|
97
|
-
set(
|
|
98
|
-
|
|
130
|
+
set(l, i) {
|
|
131
|
+
l in r ? r[l] = i : a(l, i);
|
|
99
132
|
}
|
|
100
133
|
};
|
|
101
|
-
},
|
|
134
|
+
}, At = "!", Bt = ":", Xo = [], jt = (t, o, r, n, a) => ({
|
|
135
|
+
modifiers: t,
|
|
136
|
+
hasImportantModifier: o,
|
|
137
|
+
baseClassName: r,
|
|
138
|
+
maybePostfixModifierPosition: n,
|
|
139
|
+
isExternal: a
|
|
140
|
+
}), $o = (t) => {
|
|
102
141
|
const {
|
|
103
|
-
prefix:
|
|
104
|
-
experimentalParseClassName:
|
|
105
|
-
} =
|
|
106
|
-
let
|
|
107
|
-
const
|
|
108
|
-
let i = 0,
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
142
|
+
prefix: o,
|
|
143
|
+
experimentalParseClassName: r
|
|
144
|
+
} = t;
|
|
145
|
+
let n = (a) => {
|
|
146
|
+
const l = [];
|
|
147
|
+
let i = 0, b = 0, f = 0, h;
|
|
148
|
+
const w = a.length;
|
|
149
|
+
for (let W = 0; W < w; W++) {
|
|
150
|
+
const M = a[W];
|
|
151
|
+
if (i === 0 && b === 0) {
|
|
152
|
+
if (M === Bt) {
|
|
153
|
+
l.push(a.slice(f, W)), f = W + 1;
|
|
114
154
|
continue;
|
|
115
155
|
}
|
|
116
|
-
if (
|
|
117
|
-
|
|
156
|
+
if (M === "/") {
|
|
157
|
+
h = W;
|
|
118
158
|
continue;
|
|
119
159
|
}
|
|
120
160
|
}
|
|
121
|
-
|
|
161
|
+
M === "[" ? i++ : M === "]" ? i-- : M === "(" ? b++ : M === ")" && b--;
|
|
122
162
|
}
|
|
123
|
-
const
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
163
|
+
const N = l.length === 0 ? a : a.slice(f);
|
|
164
|
+
let U = N, B = !1;
|
|
165
|
+
N.endsWith(At) ? (U = N.slice(0, -1), B = !0) : (
|
|
166
|
+
/**
|
|
167
|
+
* In Tailwind CSS v3 the important modifier was at the start of the base class name. This is still supported for legacy reasons.
|
|
168
|
+
* @see https://github.com/dcastil/tailwind-merge/issues/513#issuecomment-2614029864
|
|
169
|
+
*/
|
|
170
|
+
N.startsWith(At) && (U = N.slice(1), B = !0)
|
|
171
|
+
);
|
|
172
|
+
const H = h && h > f ? h - f : void 0;
|
|
173
|
+
return jt(l, B, U, H);
|
|
130
174
|
};
|
|
131
|
-
if (
|
|
132
|
-
const
|
|
133
|
-
|
|
134
|
-
isExternal: !0,
|
|
135
|
-
modifiers: [],
|
|
136
|
-
hasImportantModifier: !1,
|
|
137
|
-
baseClassName: i,
|
|
138
|
-
maybePostfixModifierPosition: void 0
|
|
139
|
-
};
|
|
175
|
+
if (o) {
|
|
176
|
+
const a = o + Bt, l = n;
|
|
177
|
+
n = (i) => i.startsWith(a) ? l(i.slice(a.length)) : jt(Xo, !1, i, void 0, !0);
|
|
140
178
|
}
|
|
141
|
-
if (
|
|
142
|
-
const
|
|
143
|
-
|
|
144
|
-
className:
|
|
145
|
-
parseClassName:
|
|
179
|
+
if (r) {
|
|
180
|
+
const a = n;
|
|
181
|
+
n = (l) => r({
|
|
182
|
+
className: l,
|
|
183
|
+
parseClassName: a
|
|
146
184
|
});
|
|
147
185
|
}
|
|
148
|
-
return
|
|
149
|
-
},
|
|
150
|
-
const
|
|
151
|
-
return (
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
const
|
|
155
|
-
let
|
|
156
|
-
|
|
157
|
-
i[0] === "["
|
|
158
|
-
|
|
186
|
+
return n;
|
|
187
|
+
}, qo = (t) => {
|
|
188
|
+
const o = /* @__PURE__ */ new Map();
|
|
189
|
+
return t.orderSensitiveModifiers.forEach((r, n) => {
|
|
190
|
+
o.set(r, 1e6 + n);
|
|
191
|
+
}), (r) => {
|
|
192
|
+
const n = [];
|
|
193
|
+
let a = [];
|
|
194
|
+
for (let l = 0; l < r.length; l++) {
|
|
195
|
+
const i = r[l], b = i[0] === "[", f = o.has(i);
|
|
196
|
+
b || f ? (a.length > 0 && (a.sort(), n.push(...a), a = []), n.push(i)) : a.push(i);
|
|
197
|
+
}
|
|
198
|
+
return a.length > 0 && (a.sort(), n.push(...a)), n;
|
|
159
199
|
};
|
|
160
|
-
},
|
|
161
|
-
cache:
|
|
162
|
-
parseClassName:
|
|
163
|
-
sortModifiers:
|
|
164
|
-
...
|
|
165
|
-
}),
|
|
200
|
+
}, Ko = (t) => ({
|
|
201
|
+
cache: Yo(t.cacheSize),
|
|
202
|
+
parseClassName: $o(t),
|
|
203
|
+
sortModifiers: qo(t),
|
|
204
|
+
...zo(t)
|
|
205
|
+
}), Zo = /\s+/, Jo = (t, o) => {
|
|
166
206
|
const {
|
|
167
|
-
parseClassName:
|
|
168
|
-
getClassGroupId:
|
|
169
|
-
getConflictingClassGroupIds:
|
|
170
|
-
sortModifiers:
|
|
171
|
-
} =
|
|
172
|
-
let
|
|
173
|
-
for (let
|
|
174
|
-
const
|
|
175
|
-
isExternal:
|
|
176
|
-
modifiers:
|
|
177
|
-
hasImportantModifier:
|
|
178
|
-
baseClassName:
|
|
179
|
-
maybePostfixModifierPosition:
|
|
180
|
-
} =
|
|
181
|
-
if (
|
|
182
|
-
|
|
207
|
+
parseClassName: r,
|
|
208
|
+
getClassGroupId: n,
|
|
209
|
+
getConflictingClassGroupIds: a,
|
|
210
|
+
sortModifiers: l
|
|
211
|
+
} = o, i = [], b = t.trim().split(Zo);
|
|
212
|
+
let f = "";
|
|
213
|
+
for (let h = b.length - 1; h >= 0; h -= 1) {
|
|
214
|
+
const w = b[h], {
|
|
215
|
+
isExternal: N,
|
|
216
|
+
modifiers: U,
|
|
217
|
+
hasImportantModifier: B,
|
|
218
|
+
baseClassName: H,
|
|
219
|
+
maybePostfixModifierPosition: W
|
|
220
|
+
} = r(w);
|
|
221
|
+
if (N) {
|
|
222
|
+
f = w + (f.length > 0 ? " " + f : f);
|
|
183
223
|
continue;
|
|
184
224
|
}
|
|
185
|
-
let
|
|
186
|
-
if (!
|
|
187
|
-
if (!
|
|
188
|
-
|
|
225
|
+
let M = !!W, ee = n(M ? H.substring(0, W) : H);
|
|
226
|
+
if (!ee) {
|
|
227
|
+
if (!M) {
|
|
228
|
+
f = w + (f.length > 0 ? " " + f : f);
|
|
189
229
|
continue;
|
|
190
230
|
}
|
|
191
|
-
if (
|
|
192
|
-
|
|
231
|
+
if (ee = n(H), !ee) {
|
|
232
|
+
f = w + (f.length > 0 ? " " + f : f);
|
|
193
233
|
continue;
|
|
194
234
|
}
|
|
195
|
-
|
|
235
|
+
M = !1;
|
|
196
236
|
}
|
|
197
|
-
const
|
|
198
|
-
if (i.
|
|
237
|
+
const ye = U.length === 0 ? "" : U.length === 1 ? U[0] : l(U).join(":"), K = B ? ye + At : ye, x = K + ee;
|
|
238
|
+
if (i.indexOf(x) > -1)
|
|
199
239
|
continue;
|
|
200
|
-
i.push(
|
|
201
|
-
const
|
|
202
|
-
for (let
|
|
203
|
-
const
|
|
204
|
-
i.push(
|
|
240
|
+
i.push(x);
|
|
241
|
+
const j = a(ee, M);
|
|
242
|
+
for (let Y = 0; Y < j.length; ++Y) {
|
|
243
|
+
const ue = j[Y];
|
|
244
|
+
i.push(K + ue);
|
|
205
245
|
}
|
|
206
|
-
|
|
246
|
+
f = w + (f.length > 0 ? " " + f : f);
|
|
207
247
|
}
|
|
208
|
-
return
|
|
209
|
-
}
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
const
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
if (f)
|
|
233
|
-
return f;
|
|
234
|
-
const b = De(p, t);
|
|
235
|
-
return l(p, b), b;
|
|
236
|
-
}
|
|
237
|
-
return function() {
|
|
238
|
-
return d(He.apply(null, arguments));
|
|
248
|
+
return f;
|
|
249
|
+
}, Qo = (...t) => {
|
|
250
|
+
let o = 0, r, n, a = "";
|
|
251
|
+
for (; o < t.length; )
|
|
252
|
+
(r = t[o++]) && (n = ao(r)) && (a && (a += " "), a += n);
|
|
253
|
+
return a;
|
|
254
|
+
}, ao = (t) => {
|
|
255
|
+
if (typeof t == "string")
|
|
256
|
+
return t;
|
|
257
|
+
let o, r = "";
|
|
258
|
+
for (let n = 0; n < t.length; n++)
|
|
259
|
+
t[n] && (o = ao(t[n])) && (r && (r += " "), r += o);
|
|
260
|
+
return r;
|
|
261
|
+
}, en = (t, ...o) => {
|
|
262
|
+
let r, n, a, l;
|
|
263
|
+
const i = (f) => {
|
|
264
|
+
const h = o.reduce((w, N) => N(w), t());
|
|
265
|
+
return r = Ko(h), n = r.cache.get, a = r.cache.set, l = b, b(f);
|
|
266
|
+
}, b = (f) => {
|
|
267
|
+
const h = n(f);
|
|
268
|
+
if (h)
|
|
269
|
+
return h;
|
|
270
|
+
const w = Jo(f, r);
|
|
271
|
+
return a(f, w), w;
|
|
239
272
|
};
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
const
|
|
243
|
-
return
|
|
244
|
-
},
|
|
273
|
+
return l = i, (...f) => l(Qo(...f));
|
|
274
|
+
}, tn = [], C = (t) => {
|
|
275
|
+
const o = (r) => r[t] || tn;
|
|
276
|
+
return o.isThemeGetter = !0, o;
|
|
277
|
+
}, io = /^\[(?:(\w[\w-]*):)?(.+)\]$/i, lo = /^\((?:(\w[\w-]*):)?(.+)\)$/i, on = /^\d+\/\d+$/, nn = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, rn = /\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$/, sn = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/, an = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, ln = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, Ce = (t) => on.test(t), T = (t) => !!t && !Number.isNaN(Number(t)), me = (t) => !!t && Number.isInteger(Number(t)), ut = (t) => t.endsWith("%") && T(t.slice(0, -1)), ae = (t) => nn.test(t), cn = () => !0, dn = (t) => (
|
|
245
278
|
// `colorFunctionRegex` check is necessary because color functions can have percentages in them which which would be incorrectly classified as lengths.
|
|
246
279
|
// For example, `hsl(0 0% 0%)` would be classified as a length without this check.
|
|
247
280
|
// I could also use lookbehind assertion in `lengthUnitRegex` but that isn't supported widely enough.
|
|
248
|
-
|
|
249
|
-
),
|
|
250
|
-
const
|
|
251
|
-
return
|
|
252
|
-
},
|
|
253
|
-
const
|
|
254
|
-
return
|
|
255
|
-
},
|
|
256
|
-
const
|
|
281
|
+
rn.test(t) && !sn.test(t)
|
|
282
|
+
), co = () => !1, mn = (t) => an.test(t), un = (t) => ln.test(t), fn = (t) => !c(t) && !d(t), pn = (t) => Oe(t, fo, co), c = (t) => io.test(t), Te = (t) => Oe(t, po, dn), ft = (t) => Oe(t, yn, T), Vt = (t) => Oe(t, mo, co), gn = (t) => Oe(t, uo, un), Ke = (t) => Oe(t, go, mn), d = (t) => lo.test(t), Me = (t) => Le(t, po), hn = (t) => Le(t, An), Yt = (t) => Le(t, mo), bn = (t) => Le(t, fo), Tn = (t) => Le(t, uo), Ze = (t) => Le(t, go, !0), Oe = (t, o, r) => {
|
|
283
|
+
const n = io.exec(t);
|
|
284
|
+
return n ? n[1] ? o(n[1]) : r(n[2]) : !1;
|
|
285
|
+
}, Le = (t, o, r = !1) => {
|
|
286
|
+
const n = lo.exec(t);
|
|
287
|
+
return n ? n[1] ? o(n[1]) : r : !1;
|
|
288
|
+
}, mo = (t) => t === "position" || t === "percentage", uo = (t) => t === "image" || t === "url", fo = (t) => t === "length" || t === "size" || t === "bg-size", po = (t) => t === "length", yn = (t) => t === "number", An = (t) => t === "family-name", go = (t) => t === "shadow", En = () => {
|
|
289
|
+
const t = C("color"), o = C("font"), r = C("text"), n = C("font-weight"), a = C("tracking"), l = C("leading"), i = C("breakpoint"), b = C("container"), f = C("spacing"), h = C("radius"), w = C("shadow"), N = C("inset-shadow"), U = C("text-shadow"), B = C("drop-shadow"), H = C("blur"), W = C("perspective"), M = C("aspect"), ee = C("ease"), ye = C("animate"), K = () => ["auto", "avoid", "all", "avoid-page", "page", "left", "right", "column"], x = () => [
|
|
257
290
|
"center",
|
|
258
291
|
"top",
|
|
259
292
|
"bottom",
|
|
@@ -271,51 +304,51 @@ const g = (e) => {
|
|
|
271
304
|
"bottom-left",
|
|
272
305
|
// Deprecated since Tailwind CSS v4.1.0, see https://github.com/tailwindlabs/tailwindcss/pull/17378
|
|
273
306
|
"left-bottom"
|
|
274
|
-
],
|
|
275
|
-
span: ["full",
|
|
276
|
-
},
|
|
277
|
-
position: [
|
|
278
|
-
}],
|
|
307
|
+
], j = () => [...x(), d, c], Y = () => ["auto", "hidden", "clip", "visible", "scroll"], ue = () => ["auto", "contain", "none"], g = () => [d, c, f], X = () => [Ce, "full", "auto", ...g()], He = () => [me, "none", "subgrid", d, c], O = () => ["auto", {
|
|
308
|
+
span: ["full", me, d, c]
|
|
309
|
+
}, me, d, c], ie = () => [me, "auto", d, c], Ae = () => ["auto", "min", "max", "fr", d, c], fe = () => ["start", "end", "center", "between", "around", "evenly", "stretch", "baseline", "center-safe", "end-safe"], le = () => ["start", "end", "center", "stretch", "center-safe", "end-safe"], $ = () => ["auto", ...g()], te = () => [Ce, "auto", "full", "dvw", "dvh", "lvw", "lvh", "svw", "svh", "min", "max", "fit", ...g()], p = () => [t, d, c], We = () => [...x(), Yt, Vt, {
|
|
310
|
+
position: [d, c]
|
|
311
|
+
}], Ie = () => ["no-repeat", {
|
|
279
312
|
repeat: ["", "x", "y", "space", "round"]
|
|
280
|
-
}],
|
|
281
|
-
size: [
|
|
282
|
-
}],
|
|
313
|
+
}], S = () => ["auto", "cover", "contain", bn, pn, {
|
|
314
|
+
size: [d, c]
|
|
315
|
+
}], Ee = () => [ut, Me, Te], A = () => [
|
|
283
316
|
// Deprecated since Tailwind CSS v4.0.0
|
|
284
317
|
"",
|
|
285
318
|
"none",
|
|
286
319
|
"full",
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
],
|
|
320
|
+
h,
|
|
321
|
+
d,
|
|
322
|
+
c
|
|
323
|
+
], I = () => ["", T, Me, Te], E = () => ["solid", "dashed", "dotted", "double"], ce = () => ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity"], k = () => [T, ut, Yt, Vt], oe = () => [
|
|
291
324
|
// Deprecated since Tailwind CSS v4.0.0
|
|
292
325
|
"",
|
|
293
326
|
"none",
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
],
|
|
327
|
+
H,
|
|
328
|
+
d,
|
|
329
|
+
c
|
|
330
|
+
], pe = () => ["none", T, d, c], de = () => ["none", T, d, c], we = () => [T, d, c], ge = () => [Ce, "full", ...g()];
|
|
298
331
|
return {
|
|
299
332
|
cacheSize: 500,
|
|
300
333
|
theme: {
|
|
301
334
|
animate: ["spin", "ping", "pulse", "bounce"],
|
|
302
335
|
aspect: ["video"],
|
|
303
|
-
blur: [
|
|
304
|
-
breakpoint: [
|
|
305
|
-
color: [
|
|
306
|
-
container: [
|
|
307
|
-
"drop-shadow": [
|
|
336
|
+
blur: [ae],
|
|
337
|
+
breakpoint: [ae],
|
|
338
|
+
color: [cn],
|
|
339
|
+
container: [ae],
|
|
340
|
+
"drop-shadow": [ae],
|
|
308
341
|
ease: ["in", "out", "in-out"],
|
|
309
|
-
font: [
|
|
342
|
+
font: [fn],
|
|
310
343
|
"font-weight": ["thin", "extralight", "light", "normal", "medium", "semibold", "bold", "extrabold", "black"],
|
|
311
|
-
"inset-shadow": [
|
|
344
|
+
"inset-shadow": [ae],
|
|
312
345
|
leading: ["none", "tight", "snug", "normal", "relaxed", "loose"],
|
|
313
346
|
perspective: ["dramatic", "near", "normal", "midrange", "distant", "none"],
|
|
314
|
-
radius: [
|
|
315
|
-
shadow: [
|
|
316
|
-
spacing: ["px",
|
|
317
|
-
text: [
|
|
318
|
-
"text-shadow": [
|
|
347
|
+
radius: [ae],
|
|
348
|
+
shadow: [ae],
|
|
349
|
+
spacing: ["px", T],
|
|
350
|
+
text: [ae],
|
|
351
|
+
"text-shadow": [ae],
|
|
319
352
|
tracking: ["tighter", "tight", "normal", "wide", "wider", "widest"]
|
|
320
353
|
},
|
|
321
354
|
classGroups: {
|
|
@@ -327,7 +360,7 @@ const g = (e) => {
|
|
|
327
360
|
* @see https://tailwindcss.com/docs/aspect-ratio
|
|
328
361
|
*/
|
|
329
362
|
aspect: [{
|
|
330
|
-
aspect: ["auto", "square",
|
|
363
|
+
aspect: ["auto", "square", Ce, c, d, M]
|
|
331
364
|
}],
|
|
332
365
|
/**
|
|
333
366
|
* Container
|
|
@@ -340,21 +373,21 @@ const g = (e) => {
|
|
|
340
373
|
* @see https://tailwindcss.com/docs/columns
|
|
341
374
|
*/
|
|
342
375
|
columns: [{
|
|
343
|
-
columns: [
|
|
376
|
+
columns: [T, c, d, b]
|
|
344
377
|
}],
|
|
345
378
|
/**
|
|
346
379
|
* Break After
|
|
347
380
|
* @see https://tailwindcss.com/docs/break-after
|
|
348
381
|
*/
|
|
349
382
|
"break-after": [{
|
|
350
|
-
"break-after":
|
|
383
|
+
"break-after": K()
|
|
351
384
|
}],
|
|
352
385
|
/**
|
|
353
386
|
* Break Before
|
|
354
387
|
* @see https://tailwindcss.com/docs/break-before
|
|
355
388
|
*/
|
|
356
389
|
"break-before": [{
|
|
357
|
-
"break-before":
|
|
390
|
+
"break-before": K()
|
|
358
391
|
}],
|
|
359
392
|
/**
|
|
360
393
|
* Break Inside
|
|
@@ -418,49 +451,49 @@ const g = (e) => {
|
|
|
418
451
|
* @see https://tailwindcss.com/docs/object-position
|
|
419
452
|
*/
|
|
420
453
|
"object-position": [{
|
|
421
|
-
object:
|
|
454
|
+
object: j()
|
|
422
455
|
}],
|
|
423
456
|
/**
|
|
424
457
|
* Overflow
|
|
425
458
|
* @see https://tailwindcss.com/docs/overflow
|
|
426
459
|
*/
|
|
427
460
|
overflow: [{
|
|
428
|
-
overflow:
|
|
461
|
+
overflow: Y()
|
|
429
462
|
}],
|
|
430
463
|
/**
|
|
431
464
|
* Overflow X
|
|
432
465
|
* @see https://tailwindcss.com/docs/overflow
|
|
433
466
|
*/
|
|
434
467
|
"overflow-x": [{
|
|
435
|
-
"overflow-x":
|
|
468
|
+
"overflow-x": Y()
|
|
436
469
|
}],
|
|
437
470
|
/**
|
|
438
471
|
* Overflow Y
|
|
439
472
|
* @see https://tailwindcss.com/docs/overflow
|
|
440
473
|
*/
|
|
441
474
|
"overflow-y": [{
|
|
442
|
-
"overflow-y":
|
|
475
|
+
"overflow-y": Y()
|
|
443
476
|
}],
|
|
444
477
|
/**
|
|
445
478
|
* Overscroll Behavior
|
|
446
479
|
* @see https://tailwindcss.com/docs/overscroll-behavior
|
|
447
480
|
*/
|
|
448
481
|
overscroll: [{
|
|
449
|
-
overscroll:
|
|
482
|
+
overscroll: ue()
|
|
450
483
|
}],
|
|
451
484
|
/**
|
|
452
485
|
* Overscroll Behavior X
|
|
453
486
|
* @see https://tailwindcss.com/docs/overscroll-behavior
|
|
454
487
|
*/
|
|
455
488
|
"overscroll-x": [{
|
|
456
|
-
"overscroll-x":
|
|
489
|
+
"overscroll-x": ue()
|
|
457
490
|
}],
|
|
458
491
|
/**
|
|
459
492
|
* Overscroll Behavior Y
|
|
460
493
|
* @see https://tailwindcss.com/docs/overscroll-behavior
|
|
461
494
|
*/
|
|
462
495
|
"overscroll-y": [{
|
|
463
|
-
"overscroll-y":
|
|
496
|
+
"overscroll-y": ue()
|
|
464
497
|
}],
|
|
465
498
|
/**
|
|
466
499
|
* Position
|
|
@@ -472,63 +505,63 @@ const g = (e) => {
|
|
|
472
505
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
473
506
|
*/
|
|
474
507
|
inset: [{
|
|
475
|
-
inset:
|
|
508
|
+
inset: X()
|
|
476
509
|
}],
|
|
477
510
|
/**
|
|
478
511
|
* Right / Left
|
|
479
512
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
480
513
|
*/
|
|
481
514
|
"inset-x": [{
|
|
482
|
-
"inset-x":
|
|
515
|
+
"inset-x": X()
|
|
483
516
|
}],
|
|
484
517
|
/**
|
|
485
518
|
* Top / Bottom
|
|
486
519
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
487
520
|
*/
|
|
488
521
|
"inset-y": [{
|
|
489
|
-
"inset-y":
|
|
522
|
+
"inset-y": X()
|
|
490
523
|
}],
|
|
491
524
|
/**
|
|
492
525
|
* Start
|
|
493
526
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
494
527
|
*/
|
|
495
528
|
start: [{
|
|
496
|
-
start:
|
|
529
|
+
start: X()
|
|
497
530
|
}],
|
|
498
531
|
/**
|
|
499
532
|
* End
|
|
500
533
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
501
534
|
*/
|
|
502
535
|
end: [{
|
|
503
|
-
end:
|
|
536
|
+
end: X()
|
|
504
537
|
}],
|
|
505
538
|
/**
|
|
506
539
|
* Top
|
|
507
540
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
508
541
|
*/
|
|
509
542
|
top: [{
|
|
510
|
-
top:
|
|
543
|
+
top: X()
|
|
511
544
|
}],
|
|
512
545
|
/**
|
|
513
546
|
* Right
|
|
514
547
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
515
548
|
*/
|
|
516
549
|
right: [{
|
|
517
|
-
right:
|
|
550
|
+
right: X()
|
|
518
551
|
}],
|
|
519
552
|
/**
|
|
520
553
|
* Bottom
|
|
521
554
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
522
555
|
*/
|
|
523
556
|
bottom: [{
|
|
524
|
-
bottom:
|
|
557
|
+
bottom: X()
|
|
525
558
|
}],
|
|
526
559
|
/**
|
|
527
560
|
* Left
|
|
528
561
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
529
562
|
*/
|
|
530
563
|
left: [{
|
|
531
|
-
left:
|
|
564
|
+
left: X()
|
|
532
565
|
}],
|
|
533
566
|
/**
|
|
534
567
|
* Visibility
|
|
@@ -540,7 +573,7 @@ const g = (e) => {
|
|
|
540
573
|
* @see https://tailwindcss.com/docs/z-index
|
|
541
574
|
*/
|
|
542
575
|
z: [{
|
|
543
|
-
z: [
|
|
576
|
+
z: [me, "auto", d, c]
|
|
544
577
|
}],
|
|
545
578
|
// ------------------------
|
|
546
579
|
// --- Flexbox and Grid ---
|
|
@@ -550,7 +583,7 @@ const g = (e) => {
|
|
|
550
583
|
* @see https://tailwindcss.com/docs/flex-basis
|
|
551
584
|
*/
|
|
552
585
|
basis: [{
|
|
553
|
-
basis: [
|
|
586
|
+
basis: [Ce, "full", "auto", b, ...g()]
|
|
554
587
|
}],
|
|
555
588
|
/**
|
|
556
589
|
* Flex Direction
|
|
@@ -571,84 +604,84 @@ const g = (e) => {
|
|
|
571
604
|
* @see https://tailwindcss.com/docs/flex
|
|
572
605
|
*/
|
|
573
606
|
flex: [{
|
|
574
|
-
flex: [
|
|
607
|
+
flex: [T, Ce, "auto", "initial", "none", c]
|
|
575
608
|
}],
|
|
576
609
|
/**
|
|
577
610
|
* Flex Grow
|
|
578
611
|
* @see https://tailwindcss.com/docs/flex-grow
|
|
579
612
|
*/
|
|
580
613
|
grow: [{
|
|
581
|
-
grow: ["",
|
|
614
|
+
grow: ["", T, d, c]
|
|
582
615
|
}],
|
|
583
616
|
/**
|
|
584
617
|
* Flex Shrink
|
|
585
618
|
* @see https://tailwindcss.com/docs/flex-shrink
|
|
586
619
|
*/
|
|
587
620
|
shrink: [{
|
|
588
|
-
shrink: ["",
|
|
621
|
+
shrink: ["", T, d, c]
|
|
589
622
|
}],
|
|
590
623
|
/**
|
|
591
624
|
* Order
|
|
592
625
|
* @see https://tailwindcss.com/docs/order
|
|
593
626
|
*/
|
|
594
627
|
order: [{
|
|
595
|
-
order: [
|
|
628
|
+
order: [me, "first", "last", "none", d, c]
|
|
596
629
|
}],
|
|
597
630
|
/**
|
|
598
631
|
* Grid Template Columns
|
|
599
632
|
* @see https://tailwindcss.com/docs/grid-template-columns
|
|
600
633
|
*/
|
|
601
634
|
"grid-cols": [{
|
|
602
|
-
"grid-cols":
|
|
635
|
+
"grid-cols": He()
|
|
603
636
|
}],
|
|
604
637
|
/**
|
|
605
638
|
* Grid Column Start / End
|
|
606
639
|
* @see https://tailwindcss.com/docs/grid-column
|
|
607
640
|
*/
|
|
608
641
|
"col-start-end": [{
|
|
609
|
-
col:
|
|
642
|
+
col: O()
|
|
610
643
|
}],
|
|
611
644
|
/**
|
|
612
645
|
* Grid Column Start
|
|
613
646
|
* @see https://tailwindcss.com/docs/grid-column
|
|
614
647
|
*/
|
|
615
648
|
"col-start": [{
|
|
616
|
-
"col-start":
|
|
649
|
+
"col-start": ie()
|
|
617
650
|
}],
|
|
618
651
|
/**
|
|
619
652
|
* Grid Column End
|
|
620
653
|
* @see https://tailwindcss.com/docs/grid-column
|
|
621
654
|
*/
|
|
622
655
|
"col-end": [{
|
|
623
|
-
"col-end":
|
|
656
|
+
"col-end": ie()
|
|
624
657
|
}],
|
|
625
658
|
/**
|
|
626
659
|
* Grid Template Rows
|
|
627
660
|
* @see https://tailwindcss.com/docs/grid-template-rows
|
|
628
661
|
*/
|
|
629
662
|
"grid-rows": [{
|
|
630
|
-
"grid-rows":
|
|
663
|
+
"grid-rows": He()
|
|
631
664
|
}],
|
|
632
665
|
/**
|
|
633
666
|
* Grid Row Start / End
|
|
634
667
|
* @see https://tailwindcss.com/docs/grid-row
|
|
635
668
|
*/
|
|
636
669
|
"row-start-end": [{
|
|
637
|
-
row:
|
|
670
|
+
row: O()
|
|
638
671
|
}],
|
|
639
672
|
/**
|
|
640
673
|
* Grid Row Start
|
|
641
674
|
* @see https://tailwindcss.com/docs/grid-row
|
|
642
675
|
*/
|
|
643
676
|
"row-start": [{
|
|
644
|
-
"row-start":
|
|
677
|
+
"row-start": ie()
|
|
645
678
|
}],
|
|
646
679
|
/**
|
|
647
680
|
* Grid Row End
|
|
648
681
|
* @see https://tailwindcss.com/docs/grid-row
|
|
649
682
|
*/
|
|
650
683
|
"row-end": [{
|
|
651
|
-
"row-end":
|
|
684
|
+
"row-end": ie()
|
|
652
685
|
}],
|
|
653
686
|
/**
|
|
654
687
|
* Grid Auto Flow
|
|
@@ -662,70 +695,70 @@ const g = (e) => {
|
|
|
662
695
|
* @see https://tailwindcss.com/docs/grid-auto-columns
|
|
663
696
|
*/
|
|
664
697
|
"auto-cols": [{
|
|
665
|
-
"auto-cols":
|
|
698
|
+
"auto-cols": Ae()
|
|
666
699
|
}],
|
|
667
700
|
/**
|
|
668
701
|
* Grid Auto Rows
|
|
669
702
|
* @see https://tailwindcss.com/docs/grid-auto-rows
|
|
670
703
|
*/
|
|
671
704
|
"auto-rows": [{
|
|
672
|
-
"auto-rows":
|
|
705
|
+
"auto-rows": Ae()
|
|
673
706
|
}],
|
|
674
707
|
/**
|
|
675
708
|
* Gap
|
|
676
709
|
* @see https://tailwindcss.com/docs/gap
|
|
677
710
|
*/
|
|
678
711
|
gap: [{
|
|
679
|
-
gap:
|
|
712
|
+
gap: g()
|
|
680
713
|
}],
|
|
681
714
|
/**
|
|
682
715
|
* Gap X
|
|
683
716
|
* @see https://tailwindcss.com/docs/gap
|
|
684
717
|
*/
|
|
685
718
|
"gap-x": [{
|
|
686
|
-
"gap-x":
|
|
719
|
+
"gap-x": g()
|
|
687
720
|
}],
|
|
688
721
|
/**
|
|
689
722
|
* Gap Y
|
|
690
723
|
* @see https://tailwindcss.com/docs/gap
|
|
691
724
|
*/
|
|
692
725
|
"gap-y": [{
|
|
693
|
-
"gap-y":
|
|
726
|
+
"gap-y": g()
|
|
694
727
|
}],
|
|
695
728
|
/**
|
|
696
729
|
* Justify Content
|
|
697
730
|
* @see https://tailwindcss.com/docs/justify-content
|
|
698
731
|
*/
|
|
699
732
|
"justify-content": [{
|
|
700
|
-
justify: [...
|
|
733
|
+
justify: [...fe(), "normal"]
|
|
701
734
|
}],
|
|
702
735
|
/**
|
|
703
736
|
* Justify Items
|
|
704
737
|
* @see https://tailwindcss.com/docs/justify-items
|
|
705
738
|
*/
|
|
706
739
|
"justify-items": [{
|
|
707
|
-
"justify-items": [...
|
|
740
|
+
"justify-items": [...le(), "normal"]
|
|
708
741
|
}],
|
|
709
742
|
/**
|
|
710
743
|
* Justify Self
|
|
711
744
|
* @see https://tailwindcss.com/docs/justify-self
|
|
712
745
|
*/
|
|
713
746
|
"justify-self": [{
|
|
714
|
-
"justify-self": ["auto", ...
|
|
747
|
+
"justify-self": ["auto", ...le()]
|
|
715
748
|
}],
|
|
716
749
|
/**
|
|
717
750
|
* Align Content
|
|
718
751
|
* @see https://tailwindcss.com/docs/align-content
|
|
719
752
|
*/
|
|
720
753
|
"align-content": [{
|
|
721
|
-
content: ["normal", ...
|
|
754
|
+
content: ["normal", ...fe()]
|
|
722
755
|
}],
|
|
723
756
|
/**
|
|
724
757
|
* Align Items
|
|
725
758
|
* @see https://tailwindcss.com/docs/align-items
|
|
726
759
|
*/
|
|
727
760
|
"align-items": [{
|
|
728
|
-
items: [...
|
|
761
|
+
items: [...le(), {
|
|
729
762
|
baseline: ["", "last"]
|
|
730
763
|
}]
|
|
731
764
|
}],
|
|
@@ -734,7 +767,7 @@ const g = (e) => {
|
|
|
734
767
|
* @see https://tailwindcss.com/docs/align-self
|
|
735
768
|
*/
|
|
736
769
|
"align-self": [{
|
|
737
|
-
self: ["auto", ...
|
|
770
|
+
self: ["auto", ...le(), {
|
|
738
771
|
baseline: ["", "last"]
|
|
739
772
|
}]
|
|
740
773
|
}],
|
|
@@ -743,21 +776,21 @@ const g = (e) => {
|
|
|
743
776
|
* @see https://tailwindcss.com/docs/place-content
|
|
744
777
|
*/
|
|
745
778
|
"place-content": [{
|
|
746
|
-
"place-content":
|
|
779
|
+
"place-content": fe()
|
|
747
780
|
}],
|
|
748
781
|
/**
|
|
749
782
|
* Place Items
|
|
750
783
|
* @see https://tailwindcss.com/docs/place-items
|
|
751
784
|
*/
|
|
752
785
|
"place-items": [{
|
|
753
|
-
"place-items": [...
|
|
786
|
+
"place-items": [...le(), "baseline"]
|
|
754
787
|
}],
|
|
755
788
|
/**
|
|
756
789
|
* Place Self
|
|
757
790
|
* @see https://tailwindcss.com/docs/place-self
|
|
758
791
|
*/
|
|
759
792
|
"place-self": [{
|
|
760
|
-
"place-self": ["auto", ...
|
|
793
|
+
"place-self": ["auto", ...le()]
|
|
761
794
|
}],
|
|
762
795
|
// Spacing
|
|
763
796
|
/**
|
|
@@ -765,133 +798,133 @@ const g = (e) => {
|
|
|
765
798
|
* @see https://tailwindcss.com/docs/padding
|
|
766
799
|
*/
|
|
767
800
|
p: [{
|
|
768
|
-
p:
|
|
801
|
+
p: g()
|
|
769
802
|
}],
|
|
770
803
|
/**
|
|
771
804
|
* Padding X
|
|
772
805
|
* @see https://tailwindcss.com/docs/padding
|
|
773
806
|
*/
|
|
774
807
|
px: [{
|
|
775
|
-
px:
|
|
808
|
+
px: g()
|
|
776
809
|
}],
|
|
777
810
|
/**
|
|
778
811
|
* Padding Y
|
|
779
812
|
* @see https://tailwindcss.com/docs/padding
|
|
780
813
|
*/
|
|
781
814
|
py: [{
|
|
782
|
-
py:
|
|
815
|
+
py: g()
|
|
783
816
|
}],
|
|
784
817
|
/**
|
|
785
818
|
* Padding Start
|
|
786
819
|
* @see https://tailwindcss.com/docs/padding
|
|
787
820
|
*/
|
|
788
821
|
ps: [{
|
|
789
|
-
ps:
|
|
822
|
+
ps: g()
|
|
790
823
|
}],
|
|
791
824
|
/**
|
|
792
825
|
* Padding End
|
|
793
826
|
* @see https://tailwindcss.com/docs/padding
|
|
794
827
|
*/
|
|
795
828
|
pe: [{
|
|
796
|
-
pe:
|
|
829
|
+
pe: g()
|
|
797
830
|
}],
|
|
798
831
|
/**
|
|
799
832
|
* Padding Top
|
|
800
833
|
* @see https://tailwindcss.com/docs/padding
|
|
801
834
|
*/
|
|
802
835
|
pt: [{
|
|
803
|
-
pt:
|
|
836
|
+
pt: g()
|
|
804
837
|
}],
|
|
805
838
|
/**
|
|
806
839
|
* Padding Right
|
|
807
840
|
* @see https://tailwindcss.com/docs/padding
|
|
808
841
|
*/
|
|
809
842
|
pr: [{
|
|
810
|
-
pr:
|
|
843
|
+
pr: g()
|
|
811
844
|
}],
|
|
812
845
|
/**
|
|
813
846
|
* Padding Bottom
|
|
814
847
|
* @see https://tailwindcss.com/docs/padding
|
|
815
848
|
*/
|
|
816
849
|
pb: [{
|
|
817
|
-
pb:
|
|
850
|
+
pb: g()
|
|
818
851
|
}],
|
|
819
852
|
/**
|
|
820
853
|
* Padding Left
|
|
821
854
|
* @see https://tailwindcss.com/docs/padding
|
|
822
855
|
*/
|
|
823
856
|
pl: [{
|
|
824
|
-
pl:
|
|
857
|
+
pl: g()
|
|
825
858
|
}],
|
|
826
859
|
/**
|
|
827
860
|
* Margin
|
|
828
861
|
* @see https://tailwindcss.com/docs/margin
|
|
829
862
|
*/
|
|
830
863
|
m: [{
|
|
831
|
-
m:
|
|
864
|
+
m: $()
|
|
832
865
|
}],
|
|
833
866
|
/**
|
|
834
867
|
* Margin X
|
|
835
868
|
* @see https://tailwindcss.com/docs/margin
|
|
836
869
|
*/
|
|
837
870
|
mx: [{
|
|
838
|
-
mx:
|
|
871
|
+
mx: $()
|
|
839
872
|
}],
|
|
840
873
|
/**
|
|
841
874
|
* Margin Y
|
|
842
875
|
* @see https://tailwindcss.com/docs/margin
|
|
843
876
|
*/
|
|
844
877
|
my: [{
|
|
845
|
-
my:
|
|
878
|
+
my: $()
|
|
846
879
|
}],
|
|
847
880
|
/**
|
|
848
881
|
* Margin Start
|
|
849
882
|
* @see https://tailwindcss.com/docs/margin
|
|
850
883
|
*/
|
|
851
884
|
ms: [{
|
|
852
|
-
ms:
|
|
885
|
+
ms: $()
|
|
853
886
|
}],
|
|
854
887
|
/**
|
|
855
888
|
* Margin End
|
|
856
889
|
* @see https://tailwindcss.com/docs/margin
|
|
857
890
|
*/
|
|
858
891
|
me: [{
|
|
859
|
-
me:
|
|
892
|
+
me: $()
|
|
860
893
|
}],
|
|
861
894
|
/**
|
|
862
895
|
* Margin Top
|
|
863
896
|
* @see https://tailwindcss.com/docs/margin
|
|
864
897
|
*/
|
|
865
898
|
mt: [{
|
|
866
|
-
mt:
|
|
899
|
+
mt: $()
|
|
867
900
|
}],
|
|
868
901
|
/**
|
|
869
902
|
* Margin Right
|
|
870
903
|
* @see https://tailwindcss.com/docs/margin
|
|
871
904
|
*/
|
|
872
905
|
mr: [{
|
|
873
|
-
mr:
|
|
906
|
+
mr: $()
|
|
874
907
|
}],
|
|
875
908
|
/**
|
|
876
909
|
* Margin Bottom
|
|
877
910
|
* @see https://tailwindcss.com/docs/margin
|
|
878
911
|
*/
|
|
879
912
|
mb: [{
|
|
880
|
-
mb:
|
|
913
|
+
mb: $()
|
|
881
914
|
}],
|
|
882
915
|
/**
|
|
883
916
|
* Margin Left
|
|
884
917
|
* @see https://tailwindcss.com/docs/margin
|
|
885
918
|
*/
|
|
886
919
|
ml: [{
|
|
887
|
-
ml:
|
|
920
|
+
ml: $()
|
|
888
921
|
}],
|
|
889
922
|
/**
|
|
890
923
|
* Space Between X
|
|
891
924
|
* @see https://tailwindcss.com/docs/margin#adding-space-between-children
|
|
892
925
|
*/
|
|
893
926
|
"space-x": [{
|
|
894
|
-
"space-x":
|
|
927
|
+
"space-x": g()
|
|
895
928
|
}],
|
|
896
929
|
/**
|
|
897
930
|
* Space Between X Reverse
|
|
@@ -903,7 +936,7 @@ const g = (e) => {
|
|
|
903
936
|
* @see https://tailwindcss.com/docs/margin#adding-space-between-children
|
|
904
937
|
*/
|
|
905
938
|
"space-y": [{
|
|
906
|
-
"space-y":
|
|
939
|
+
"space-y": g()
|
|
907
940
|
}],
|
|
908
941
|
/**
|
|
909
942
|
* Space Between Y Reverse
|
|
@@ -918,14 +951,14 @@ const g = (e) => {
|
|
|
918
951
|
* @see https://tailwindcss.com/docs/width#setting-both-width-and-height
|
|
919
952
|
*/
|
|
920
953
|
size: [{
|
|
921
|
-
size:
|
|
954
|
+
size: te()
|
|
922
955
|
}],
|
|
923
956
|
/**
|
|
924
957
|
* Width
|
|
925
958
|
* @see https://tailwindcss.com/docs/width
|
|
926
959
|
*/
|
|
927
960
|
w: [{
|
|
928
|
-
w: [
|
|
961
|
+
w: [b, "screen", ...te()]
|
|
929
962
|
}],
|
|
930
963
|
/**
|
|
931
964
|
* Min-Width
|
|
@@ -933,11 +966,11 @@ const g = (e) => {
|
|
|
933
966
|
*/
|
|
934
967
|
"min-w": [{
|
|
935
968
|
"min-w": [
|
|
936
|
-
|
|
969
|
+
b,
|
|
937
970
|
"screen",
|
|
938
971
|
/** Deprecated. @see https://github.com/tailwindlabs/tailwindcss.com/issues/2027#issuecomment-2620152757 */
|
|
939
972
|
"none",
|
|
940
|
-
...
|
|
973
|
+
...te()
|
|
941
974
|
]
|
|
942
975
|
}],
|
|
943
976
|
/**
|
|
@@ -946,7 +979,7 @@ const g = (e) => {
|
|
|
946
979
|
*/
|
|
947
980
|
"max-w": [{
|
|
948
981
|
"max-w": [
|
|
949
|
-
|
|
982
|
+
b,
|
|
950
983
|
"screen",
|
|
951
984
|
"none",
|
|
952
985
|
/** Deprecated since Tailwind CSS v4.0.0. @see https://github.com/tailwindlabs/tailwindcss.com/issues/2027#issuecomment-2620152757 */
|
|
@@ -955,7 +988,7 @@ const g = (e) => {
|
|
|
955
988
|
{
|
|
956
989
|
screen: [i]
|
|
957
990
|
},
|
|
958
|
-
...
|
|
991
|
+
...te()
|
|
959
992
|
]
|
|
960
993
|
}],
|
|
961
994
|
/**
|
|
@@ -963,21 +996,21 @@ const g = (e) => {
|
|
|
963
996
|
* @see https://tailwindcss.com/docs/height
|
|
964
997
|
*/
|
|
965
998
|
h: [{
|
|
966
|
-
h: ["screen", "lh", ...
|
|
999
|
+
h: ["screen", "lh", ...te()]
|
|
967
1000
|
}],
|
|
968
1001
|
/**
|
|
969
1002
|
* Min-Height
|
|
970
1003
|
* @see https://tailwindcss.com/docs/min-height
|
|
971
1004
|
*/
|
|
972
1005
|
"min-h": [{
|
|
973
|
-
"min-h": ["screen", "lh", "none", ...
|
|
1006
|
+
"min-h": ["screen", "lh", "none", ...te()]
|
|
974
1007
|
}],
|
|
975
1008
|
/**
|
|
976
1009
|
* Max-Height
|
|
977
1010
|
* @see https://tailwindcss.com/docs/max-height
|
|
978
1011
|
*/
|
|
979
1012
|
"max-h": [{
|
|
980
|
-
"max-h": ["screen", "lh", ...
|
|
1013
|
+
"max-h": ["screen", "lh", ...te()]
|
|
981
1014
|
}],
|
|
982
1015
|
// ------------------
|
|
983
1016
|
// --- Typography ---
|
|
@@ -987,7 +1020,7 @@ const g = (e) => {
|
|
|
987
1020
|
* @see https://tailwindcss.com/docs/font-size
|
|
988
1021
|
*/
|
|
989
1022
|
"font-size": [{
|
|
990
|
-
text: ["base",
|
|
1023
|
+
text: ["base", r, Me, Te]
|
|
991
1024
|
}],
|
|
992
1025
|
/**
|
|
993
1026
|
* Font Smoothing
|
|
@@ -1004,21 +1037,21 @@ const g = (e) => {
|
|
|
1004
1037
|
* @see https://tailwindcss.com/docs/font-weight
|
|
1005
1038
|
*/
|
|
1006
1039
|
"font-weight": [{
|
|
1007
|
-
font: [
|
|
1040
|
+
font: [n, d, ft]
|
|
1008
1041
|
}],
|
|
1009
1042
|
/**
|
|
1010
1043
|
* Font Stretch
|
|
1011
1044
|
* @see https://tailwindcss.com/docs/font-stretch
|
|
1012
1045
|
*/
|
|
1013
1046
|
"font-stretch": [{
|
|
1014
|
-
"font-stretch": ["ultra-condensed", "extra-condensed", "condensed", "semi-condensed", "normal", "semi-expanded", "expanded", "extra-expanded", "ultra-expanded",
|
|
1047
|
+
"font-stretch": ["ultra-condensed", "extra-condensed", "condensed", "semi-condensed", "normal", "semi-expanded", "expanded", "extra-expanded", "ultra-expanded", ut, c]
|
|
1015
1048
|
}],
|
|
1016
1049
|
/**
|
|
1017
1050
|
* Font Family
|
|
1018
1051
|
* @see https://tailwindcss.com/docs/font-family
|
|
1019
1052
|
*/
|
|
1020
1053
|
"font-family": [{
|
|
1021
|
-
font: [
|
|
1054
|
+
font: [hn, c, o]
|
|
1022
1055
|
}],
|
|
1023
1056
|
/**
|
|
1024
1057
|
* Font Variant Numeric
|
|
@@ -1055,14 +1088,14 @@ const g = (e) => {
|
|
|
1055
1088
|
* @see https://tailwindcss.com/docs/letter-spacing
|
|
1056
1089
|
*/
|
|
1057
1090
|
tracking: [{
|
|
1058
|
-
tracking: [
|
|
1091
|
+
tracking: [a, d, c]
|
|
1059
1092
|
}],
|
|
1060
1093
|
/**
|
|
1061
1094
|
* Line Clamp
|
|
1062
1095
|
* @see https://tailwindcss.com/docs/line-clamp
|
|
1063
1096
|
*/
|
|
1064
1097
|
"line-clamp": [{
|
|
1065
|
-
"line-clamp": [
|
|
1098
|
+
"line-clamp": [T, "none", d, ft]
|
|
1066
1099
|
}],
|
|
1067
1100
|
/**
|
|
1068
1101
|
* Line Height
|
|
@@ -1071,8 +1104,8 @@ const g = (e) => {
|
|
|
1071
1104
|
leading: [{
|
|
1072
1105
|
leading: [
|
|
1073
1106
|
/** Deprecated since Tailwind CSS v4.0.0. @see https://github.com/tailwindlabs/tailwindcss.com/issues/2027#issuecomment-2620152757 */
|
|
1074
|
-
|
|
1075
|
-
...
|
|
1107
|
+
l,
|
|
1108
|
+
...g()
|
|
1076
1109
|
]
|
|
1077
1110
|
}],
|
|
1078
1111
|
/**
|
|
@@ -1080,7 +1113,7 @@ const g = (e) => {
|
|
|
1080
1113
|
* @see https://tailwindcss.com/docs/list-style-image
|
|
1081
1114
|
*/
|
|
1082
1115
|
"list-image": [{
|
|
1083
|
-
"list-image": ["none",
|
|
1116
|
+
"list-image": ["none", d, c]
|
|
1084
1117
|
}],
|
|
1085
1118
|
/**
|
|
1086
1119
|
* List Style Position
|
|
@@ -1094,7 +1127,7 @@ const g = (e) => {
|
|
|
1094
1127
|
* @see https://tailwindcss.com/docs/list-style-type
|
|
1095
1128
|
*/
|
|
1096
1129
|
"list-style-type": [{
|
|
1097
|
-
list: ["disc", "decimal", "none",
|
|
1130
|
+
list: ["disc", "decimal", "none", d, c]
|
|
1098
1131
|
}],
|
|
1099
1132
|
/**
|
|
1100
1133
|
* Text Alignment
|
|
@@ -1109,14 +1142,14 @@ const g = (e) => {
|
|
|
1109
1142
|
* @see https://v3.tailwindcss.com/docs/placeholder-color
|
|
1110
1143
|
*/
|
|
1111
1144
|
"placeholder-color": [{
|
|
1112
|
-
placeholder:
|
|
1145
|
+
placeholder: p()
|
|
1113
1146
|
}],
|
|
1114
1147
|
/**
|
|
1115
1148
|
* Text Color
|
|
1116
1149
|
* @see https://tailwindcss.com/docs/text-color
|
|
1117
1150
|
*/
|
|
1118
1151
|
"text-color": [{
|
|
1119
|
-
text:
|
|
1152
|
+
text: p()
|
|
1120
1153
|
}],
|
|
1121
1154
|
/**
|
|
1122
1155
|
* Text Decoration
|
|
@@ -1128,28 +1161,28 @@ const g = (e) => {
|
|
|
1128
1161
|
* @see https://tailwindcss.com/docs/text-decoration-style
|
|
1129
1162
|
*/
|
|
1130
1163
|
"text-decoration-style": [{
|
|
1131
|
-
decoration: [...
|
|
1164
|
+
decoration: [...E(), "wavy"]
|
|
1132
1165
|
}],
|
|
1133
1166
|
/**
|
|
1134
1167
|
* Text Decoration Thickness
|
|
1135
1168
|
* @see https://tailwindcss.com/docs/text-decoration-thickness
|
|
1136
1169
|
*/
|
|
1137
1170
|
"text-decoration-thickness": [{
|
|
1138
|
-
decoration: [
|
|
1171
|
+
decoration: [T, "from-font", "auto", d, Te]
|
|
1139
1172
|
}],
|
|
1140
1173
|
/**
|
|
1141
1174
|
* Text Decoration Color
|
|
1142
1175
|
* @see https://tailwindcss.com/docs/text-decoration-color
|
|
1143
1176
|
*/
|
|
1144
1177
|
"text-decoration-color": [{
|
|
1145
|
-
decoration:
|
|
1178
|
+
decoration: p()
|
|
1146
1179
|
}],
|
|
1147
1180
|
/**
|
|
1148
1181
|
* Text Underline Offset
|
|
1149
1182
|
* @see https://tailwindcss.com/docs/text-underline-offset
|
|
1150
1183
|
*/
|
|
1151
1184
|
"underline-offset": [{
|
|
1152
|
-
"underline-offset": [
|
|
1185
|
+
"underline-offset": [T, "auto", d, c]
|
|
1153
1186
|
}],
|
|
1154
1187
|
/**
|
|
1155
1188
|
* Text Transform
|
|
@@ -1173,14 +1206,14 @@ const g = (e) => {
|
|
|
1173
1206
|
* @see https://tailwindcss.com/docs/text-indent
|
|
1174
1207
|
*/
|
|
1175
1208
|
indent: [{
|
|
1176
|
-
indent:
|
|
1209
|
+
indent: g()
|
|
1177
1210
|
}],
|
|
1178
1211
|
/**
|
|
1179
1212
|
* Vertical Alignment
|
|
1180
1213
|
* @see https://tailwindcss.com/docs/vertical-align
|
|
1181
1214
|
*/
|
|
1182
1215
|
"vertical-align": [{
|
|
1183
|
-
align: ["baseline", "top", "middle", "bottom", "text-top", "text-bottom", "sub", "super",
|
|
1216
|
+
align: ["baseline", "top", "middle", "bottom", "text-top", "text-bottom", "sub", "super", d, c]
|
|
1184
1217
|
}],
|
|
1185
1218
|
/**
|
|
1186
1219
|
* Whitespace
|
|
@@ -1215,7 +1248,7 @@ const g = (e) => {
|
|
|
1215
1248
|
* @see https://tailwindcss.com/docs/content
|
|
1216
1249
|
*/
|
|
1217
1250
|
content: [{
|
|
1218
|
-
content: ["none",
|
|
1251
|
+
content: ["none", d, c]
|
|
1219
1252
|
}],
|
|
1220
1253
|
// -------------------
|
|
1221
1254
|
// --- Backgrounds ---
|
|
@@ -1246,21 +1279,21 @@ const g = (e) => {
|
|
|
1246
1279
|
* @see https://tailwindcss.com/docs/background-position
|
|
1247
1280
|
*/
|
|
1248
1281
|
"bg-position": [{
|
|
1249
|
-
bg:
|
|
1282
|
+
bg: We()
|
|
1250
1283
|
}],
|
|
1251
1284
|
/**
|
|
1252
1285
|
* Background Repeat
|
|
1253
1286
|
* @see https://tailwindcss.com/docs/background-repeat
|
|
1254
1287
|
*/
|
|
1255
1288
|
"bg-repeat": [{
|
|
1256
|
-
bg:
|
|
1289
|
+
bg: Ie()
|
|
1257
1290
|
}],
|
|
1258
1291
|
/**
|
|
1259
1292
|
* Background Size
|
|
1260
1293
|
* @see https://tailwindcss.com/docs/background-size
|
|
1261
1294
|
*/
|
|
1262
1295
|
"bg-size": [{
|
|
1263
|
-
bg:
|
|
1296
|
+
bg: S()
|
|
1264
1297
|
}],
|
|
1265
1298
|
/**
|
|
1266
1299
|
* Background Image
|
|
@@ -1270,59 +1303,59 @@ const g = (e) => {
|
|
|
1270
1303
|
bg: ["none", {
|
|
1271
1304
|
linear: [{
|
|
1272
1305
|
to: ["t", "tr", "r", "br", "b", "bl", "l", "tl"]
|
|
1273
|
-
},
|
|
1274
|
-
radial: ["",
|
|
1275
|
-
conic: [
|
|
1276
|
-
},
|
|
1306
|
+
}, me, d, c],
|
|
1307
|
+
radial: ["", d, c],
|
|
1308
|
+
conic: [me, d, c]
|
|
1309
|
+
}, Tn, gn]
|
|
1277
1310
|
}],
|
|
1278
1311
|
/**
|
|
1279
1312
|
* Background Color
|
|
1280
1313
|
* @see https://tailwindcss.com/docs/background-color
|
|
1281
1314
|
*/
|
|
1282
1315
|
"bg-color": [{
|
|
1283
|
-
bg:
|
|
1316
|
+
bg: p()
|
|
1284
1317
|
}],
|
|
1285
1318
|
/**
|
|
1286
1319
|
* Gradient Color Stops From Position
|
|
1287
1320
|
* @see https://tailwindcss.com/docs/gradient-color-stops
|
|
1288
1321
|
*/
|
|
1289
1322
|
"gradient-from-pos": [{
|
|
1290
|
-
from:
|
|
1323
|
+
from: Ee()
|
|
1291
1324
|
}],
|
|
1292
1325
|
/**
|
|
1293
1326
|
* Gradient Color Stops Via Position
|
|
1294
1327
|
* @see https://tailwindcss.com/docs/gradient-color-stops
|
|
1295
1328
|
*/
|
|
1296
1329
|
"gradient-via-pos": [{
|
|
1297
|
-
via:
|
|
1330
|
+
via: Ee()
|
|
1298
1331
|
}],
|
|
1299
1332
|
/**
|
|
1300
1333
|
* Gradient Color Stops To Position
|
|
1301
1334
|
* @see https://tailwindcss.com/docs/gradient-color-stops
|
|
1302
1335
|
*/
|
|
1303
1336
|
"gradient-to-pos": [{
|
|
1304
|
-
to:
|
|
1337
|
+
to: Ee()
|
|
1305
1338
|
}],
|
|
1306
1339
|
/**
|
|
1307
1340
|
* Gradient Color Stops From
|
|
1308
1341
|
* @see https://tailwindcss.com/docs/gradient-color-stops
|
|
1309
1342
|
*/
|
|
1310
1343
|
"gradient-from": [{
|
|
1311
|
-
from:
|
|
1344
|
+
from: p()
|
|
1312
1345
|
}],
|
|
1313
1346
|
/**
|
|
1314
1347
|
* Gradient Color Stops Via
|
|
1315
1348
|
* @see https://tailwindcss.com/docs/gradient-color-stops
|
|
1316
1349
|
*/
|
|
1317
1350
|
"gradient-via": [{
|
|
1318
|
-
via:
|
|
1351
|
+
via: p()
|
|
1319
1352
|
}],
|
|
1320
1353
|
/**
|
|
1321
1354
|
* Gradient Color Stops To
|
|
1322
1355
|
* @see https://tailwindcss.com/docs/gradient-color-stops
|
|
1323
1356
|
*/
|
|
1324
1357
|
"gradient-to": [{
|
|
1325
|
-
to:
|
|
1358
|
+
to: p()
|
|
1326
1359
|
}],
|
|
1327
1360
|
// ---------------
|
|
1328
1361
|
// --- Borders ---
|
|
@@ -1332,175 +1365,175 @@ const g = (e) => {
|
|
|
1332
1365
|
* @see https://tailwindcss.com/docs/border-radius
|
|
1333
1366
|
*/
|
|
1334
1367
|
rounded: [{
|
|
1335
|
-
rounded:
|
|
1368
|
+
rounded: A()
|
|
1336
1369
|
}],
|
|
1337
1370
|
/**
|
|
1338
1371
|
* Border Radius Start
|
|
1339
1372
|
* @see https://tailwindcss.com/docs/border-radius
|
|
1340
1373
|
*/
|
|
1341
1374
|
"rounded-s": [{
|
|
1342
|
-
"rounded-s":
|
|
1375
|
+
"rounded-s": A()
|
|
1343
1376
|
}],
|
|
1344
1377
|
/**
|
|
1345
1378
|
* Border Radius End
|
|
1346
1379
|
* @see https://tailwindcss.com/docs/border-radius
|
|
1347
1380
|
*/
|
|
1348
1381
|
"rounded-e": [{
|
|
1349
|
-
"rounded-e":
|
|
1382
|
+
"rounded-e": A()
|
|
1350
1383
|
}],
|
|
1351
1384
|
/**
|
|
1352
1385
|
* Border Radius Top
|
|
1353
1386
|
* @see https://tailwindcss.com/docs/border-radius
|
|
1354
1387
|
*/
|
|
1355
1388
|
"rounded-t": [{
|
|
1356
|
-
"rounded-t":
|
|
1389
|
+
"rounded-t": A()
|
|
1357
1390
|
}],
|
|
1358
1391
|
/**
|
|
1359
1392
|
* Border Radius Right
|
|
1360
1393
|
* @see https://tailwindcss.com/docs/border-radius
|
|
1361
1394
|
*/
|
|
1362
1395
|
"rounded-r": [{
|
|
1363
|
-
"rounded-r":
|
|
1396
|
+
"rounded-r": A()
|
|
1364
1397
|
}],
|
|
1365
1398
|
/**
|
|
1366
1399
|
* Border Radius Bottom
|
|
1367
1400
|
* @see https://tailwindcss.com/docs/border-radius
|
|
1368
1401
|
*/
|
|
1369
1402
|
"rounded-b": [{
|
|
1370
|
-
"rounded-b":
|
|
1403
|
+
"rounded-b": A()
|
|
1371
1404
|
}],
|
|
1372
1405
|
/**
|
|
1373
1406
|
* Border Radius Left
|
|
1374
1407
|
* @see https://tailwindcss.com/docs/border-radius
|
|
1375
1408
|
*/
|
|
1376
1409
|
"rounded-l": [{
|
|
1377
|
-
"rounded-l":
|
|
1410
|
+
"rounded-l": A()
|
|
1378
1411
|
}],
|
|
1379
1412
|
/**
|
|
1380
1413
|
* Border Radius Start Start
|
|
1381
1414
|
* @see https://tailwindcss.com/docs/border-radius
|
|
1382
1415
|
*/
|
|
1383
1416
|
"rounded-ss": [{
|
|
1384
|
-
"rounded-ss":
|
|
1417
|
+
"rounded-ss": A()
|
|
1385
1418
|
}],
|
|
1386
1419
|
/**
|
|
1387
1420
|
* Border Radius Start End
|
|
1388
1421
|
* @see https://tailwindcss.com/docs/border-radius
|
|
1389
1422
|
*/
|
|
1390
1423
|
"rounded-se": [{
|
|
1391
|
-
"rounded-se":
|
|
1424
|
+
"rounded-se": A()
|
|
1392
1425
|
}],
|
|
1393
1426
|
/**
|
|
1394
1427
|
* Border Radius End End
|
|
1395
1428
|
* @see https://tailwindcss.com/docs/border-radius
|
|
1396
1429
|
*/
|
|
1397
1430
|
"rounded-ee": [{
|
|
1398
|
-
"rounded-ee":
|
|
1431
|
+
"rounded-ee": A()
|
|
1399
1432
|
}],
|
|
1400
1433
|
/**
|
|
1401
1434
|
* Border Radius End Start
|
|
1402
1435
|
* @see https://tailwindcss.com/docs/border-radius
|
|
1403
1436
|
*/
|
|
1404
1437
|
"rounded-es": [{
|
|
1405
|
-
"rounded-es":
|
|
1438
|
+
"rounded-es": A()
|
|
1406
1439
|
}],
|
|
1407
1440
|
/**
|
|
1408
1441
|
* Border Radius Top Left
|
|
1409
1442
|
* @see https://tailwindcss.com/docs/border-radius
|
|
1410
1443
|
*/
|
|
1411
1444
|
"rounded-tl": [{
|
|
1412
|
-
"rounded-tl":
|
|
1445
|
+
"rounded-tl": A()
|
|
1413
1446
|
}],
|
|
1414
1447
|
/**
|
|
1415
1448
|
* Border Radius Top Right
|
|
1416
1449
|
* @see https://tailwindcss.com/docs/border-radius
|
|
1417
1450
|
*/
|
|
1418
1451
|
"rounded-tr": [{
|
|
1419
|
-
"rounded-tr":
|
|
1452
|
+
"rounded-tr": A()
|
|
1420
1453
|
}],
|
|
1421
1454
|
/**
|
|
1422
1455
|
* Border Radius Bottom Right
|
|
1423
1456
|
* @see https://tailwindcss.com/docs/border-radius
|
|
1424
1457
|
*/
|
|
1425
1458
|
"rounded-br": [{
|
|
1426
|
-
"rounded-br":
|
|
1459
|
+
"rounded-br": A()
|
|
1427
1460
|
}],
|
|
1428
1461
|
/**
|
|
1429
1462
|
* Border Radius Bottom Left
|
|
1430
1463
|
* @see https://tailwindcss.com/docs/border-radius
|
|
1431
1464
|
*/
|
|
1432
1465
|
"rounded-bl": [{
|
|
1433
|
-
"rounded-bl":
|
|
1466
|
+
"rounded-bl": A()
|
|
1434
1467
|
}],
|
|
1435
1468
|
/**
|
|
1436
1469
|
* Border Width
|
|
1437
1470
|
* @see https://tailwindcss.com/docs/border-width
|
|
1438
1471
|
*/
|
|
1439
1472
|
"border-w": [{
|
|
1440
|
-
border:
|
|
1473
|
+
border: I()
|
|
1441
1474
|
}],
|
|
1442
1475
|
/**
|
|
1443
1476
|
* Border Width X
|
|
1444
1477
|
* @see https://tailwindcss.com/docs/border-width
|
|
1445
1478
|
*/
|
|
1446
1479
|
"border-w-x": [{
|
|
1447
|
-
"border-x":
|
|
1480
|
+
"border-x": I()
|
|
1448
1481
|
}],
|
|
1449
1482
|
/**
|
|
1450
1483
|
* Border Width Y
|
|
1451
1484
|
* @see https://tailwindcss.com/docs/border-width
|
|
1452
1485
|
*/
|
|
1453
1486
|
"border-w-y": [{
|
|
1454
|
-
"border-y":
|
|
1487
|
+
"border-y": I()
|
|
1455
1488
|
}],
|
|
1456
1489
|
/**
|
|
1457
1490
|
* Border Width Start
|
|
1458
1491
|
* @see https://tailwindcss.com/docs/border-width
|
|
1459
1492
|
*/
|
|
1460
1493
|
"border-w-s": [{
|
|
1461
|
-
"border-s":
|
|
1494
|
+
"border-s": I()
|
|
1462
1495
|
}],
|
|
1463
1496
|
/**
|
|
1464
1497
|
* Border Width End
|
|
1465
1498
|
* @see https://tailwindcss.com/docs/border-width
|
|
1466
1499
|
*/
|
|
1467
1500
|
"border-w-e": [{
|
|
1468
|
-
"border-e":
|
|
1501
|
+
"border-e": I()
|
|
1469
1502
|
}],
|
|
1470
1503
|
/**
|
|
1471
1504
|
* Border Width Top
|
|
1472
1505
|
* @see https://tailwindcss.com/docs/border-width
|
|
1473
1506
|
*/
|
|
1474
1507
|
"border-w-t": [{
|
|
1475
|
-
"border-t":
|
|
1508
|
+
"border-t": I()
|
|
1476
1509
|
}],
|
|
1477
1510
|
/**
|
|
1478
1511
|
* Border Width Right
|
|
1479
1512
|
* @see https://tailwindcss.com/docs/border-width
|
|
1480
1513
|
*/
|
|
1481
1514
|
"border-w-r": [{
|
|
1482
|
-
"border-r":
|
|
1515
|
+
"border-r": I()
|
|
1483
1516
|
}],
|
|
1484
1517
|
/**
|
|
1485
1518
|
* Border Width Bottom
|
|
1486
1519
|
* @see https://tailwindcss.com/docs/border-width
|
|
1487
1520
|
*/
|
|
1488
1521
|
"border-w-b": [{
|
|
1489
|
-
"border-b":
|
|
1522
|
+
"border-b": I()
|
|
1490
1523
|
}],
|
|
1491
1524
|
/**
|
|
1492
1525
|
* Border Width Left
|
|
1493
1526
|
* @see https://tailwindcss.com/docs/border-width
|
|
1494
1527
|
*/
|
|
1495
1528
|
"border-w-l": [{
|
|
1496
|
-
"border-l":
|
|
1529
|
+
"border-l": I()
|
|
1497
1530
|
}],
|
|
1498
1531
|
/**
|
|
1499
1532
|
* Divide Width X
|
|
1500
1533
|
* @see https://tailwindcss.com/docs/border-width#between-children
|
|
1501
1534
|
*/
|
|
1502
1535
|
"divide-x": [{
|
|
1503
|
-
"divide-x":
|
|
1536
|
+
"divide-x": I()
|
|
1504
1537
|
}],
|
|
1505
1538
|
/**
|
|
1506
1539
|
* Divide Width X Reverse
|
|
@@ -1512,7 +1545,7 @@ const g = (e) => {
|
|
|
1512
1545
|
* @see https://tailwindcss.com/docs/border-width#between-children
|
|
1513
1546
|
*/
|
|
1514
1547
|
"divide-y": [{
|
|
1515
|
-
"divide-y":
|
|
1548
|
+
"divide-y": I()
|
|
1516
1549
|
}],
|
|
1517
1550
|
/**
|
|
1518
1551
|
* Divide Width Y Reverse
|
|
@@ -1524,112 +1557,112 @@ const g = (e) => {
|
|
|
1524
1557
|
* @see https://tailwindcss.com/docs/border-style
|
|
1525
1558
|
*/
|
|
1526
1559
|
"border-style": [{
|
|
1527
|
-
border: [...
|
|
1560
|
+
border: [...E(), "hidden", "none"]
|
|
1528
1561
|
}],
|
|
1529
1562
|
/**
|
|
1530
1563
|
* Divide Style
|
|
1531
1564
|
* @see https://tailwindcss.com/docs/border-style#setting-the-divider-style
|
|
1532
1565
|
*/
|
|
1533
1566
|
"divide-style": [{
|
|
1534
|
-
divide: [...
|
|
1567
|
+
divide: [...E(), "hidden", "none"]
|
|
1535
1568
|
}],
|
|
1536
1569
|
/**
|
|
1537
1570
|
* Border Color
|
|
1538
1571
|
* @see https://tailwindcss.com/docs/border-color
|
|
1539
1572
|
*/
|
|
1540
1573
|
"border-color": [{
|
|
1541
|
-
border:
|
|
1574
|
+
border: p()
|
|
1542
1575
|
}],
|
|
1543
1576
|
/**
|
|
1544
1577
|
* Border Color X
|
|
1545
1578
|
* @see https://tailwindcss.com/docs/border-color
|
|
1546
1579
|
*/
|
|
1547
1580
|
"border-color-x": [{
|
|
1548
|
-
"border-x":
|
|
1581
|
+
"border-x": p()
|
|
1549
1582
|
}],
|
|
1550
1583
|
/**
|
|
1551
1584
|
* Border Color Y
|
|
1552
1585
|
* @see https://tailwindcss.com/docs/border-color
|
|
1553
1586
|
*/
|
|
1554
1587
|
"border-color-y": [{
|
|
1555
|
-
"border-y":
|
|
1588
|
+
"border-y": p()
|
|
1556
1589
|
}],
|
|
1557
1590
|
/**
|
|
1558
1591
|
* Border Color S
|
|
1559
1592
|
* @see https://tailwindcss.com/docs/border-color
|
|
1560
1593
|
*/
|
|
1561
1594
|
"border-color-s": [{
|
|
1562
|
-
"border-s":
|
|
1595
|
+
"border-s": p()
|
|
1563
1596
|
}],
|
|
1564
1597
|
/**
|
|
1565
1598
|
* Border Color E
|
|
1566
1599
|
* @see https://tailwindcss.com/docs/border-color
|
|
1567
1600
|
*/
|
|
1568
1601
|
"border-color-e": [{
|
|
1569
|
-
"border-e":
|
|
1602
|
+
"border-e": p()
|
|
1570
1603
|
}],
|
|
1571
1604
|
/**
|
|
1572
1605
|
* Border Color Top
|
|
1573
1606
|
* @see https://tailwindcss.com/docs/border-color
|
|
1574
1607
|
*/
|
|
1575
1608
|
"border-color-t": [{
|
|
1576
|
-
"border-t":
|
|
1609
|
+
"border-t": p()
|
|
1577
1610
|
}],
|
|
1578
1611
|
/**
|
|
1579
1612
|
* Border Color Right
|
|
1580
1613
|
* @see https://tailwindcss.com/docs/border-color
|
|
1581
1614
|
*/
|
|
1582
1615
|
"border-color-r": [{
|
|
1583
|
-
"border-r":
|
|
1616
|
+
"border-r": p()
|
|
1584
1617
|
}],
|
|
1585
1618
|
/**
|
|
1586
1619
|
* Border Color Bottom
|
|
1587
1620
|
* @see https://tailwindcss.com/docs/border-color
|
|
1588
1621
|
*/
|
|
1589
1622
|
"border-color-b": [{
|
|
1590
|
-
"border-b":
|
|
1623
|
+
"border-b": p()
|
|
1591
1624
|
}],
|
|
1592
1625
|
/**
|
|
1593
1626
|
* Border Color Left
|
|
1594
1627
|
* @see https://tailwindcss.com/docs/border-color
|
|
1595
1628
|
*/
|
|
1596
1629
|
"border-color-l": [{
|
|
1597
|
-
"border-l":
|
|
1630
|
+
"border-l": p()
|
|
1598
1631
|
}],
|
|
1599
1632
|
/**
|
|
1600
1633
|
* Divide Color
|
|
1601
1634
|
* @see https://tailwindcss.com/docs/divide-color
|
|
1602
1635
|
*/
|
|
1603
1636
|
"divide-color": [{
|
|
1604
|
-
divide:
|
|
1637
|
+
divide: p()
|
|
1605
1638
|
}],
|
|
1606
1639
|
/**
|
|
1607
1640
|
* Outline Style
|
|
1608
1641
|
* @see https://tailwindcss.com/docs/outline-style
|
|
1609
1642
|
*/
|
|
1610
1643
|
"outline-style": [{
|
|
1611
|
-
outline: [...
|
|
1644
|
+
outline: [...E(), "none", "hidden"]
|
|
1612
1645
|
}],
|
|
1613
1646
|
/**
|
|
1614
1647
|
* Outline Offset
|
|
1615
1648
|
* @see https://tailwindcss.com/docs/outline-offset
|
|
1616
1649
|
*/
|
|
1617
1650
|
"outline-offset": [{
|
|
1618
|
-
"outline-offset": [
|
|
1651
|
+
"outline-offset": [T, d, c]
|
|
1619
1652
|
}],
|
|
1620
1653
|
/**
|
|
1621
1654
|
* Outline Width
|
|
1622
1655
|
* @see https://tailwindcss.com/docs/outline-width
|
|
1623
1656
|
*/
|
|
1624
1657
|
"outline-w": [{
|
|
1625
|
-
outline: ["",
|
|
1658
|
+
outline: ["", T, Me, Te]
|
|
1626
1659
|
}],
|
|
1627
1660
|
/**
|
|
1628
1661
|
* Outline Color
|
|
1629
1662
|
* @see https://tailwindcss.com/docs/outline-color
|
|
1630
1663
|
*/
|
|
1631
1664
|
"outline-color": [{
|
|
1632
|
-
outline:
|
|
1665
|
+
outline: p()
|
|
1633
1666
|
}],
|
|
1634
1667
|
// ---------------
|
|
1635
1668
|
// --- Effects ---
|
|
@@ -1643,9 +1676,9 @@ const g = (e) => {
|
|
|
1643
1676
|
// Deprecated since Tailwind CSS v4.0.0
|
|
1644
1677
|
"",
|
|
1645
1678
|
"none",
|
|
1646
|
-
|
|
1647
|
-
|
|
1648
|
-
|
|
1679
|
+
w,
|
|
1680
|
+
Ze,
|
|
1681
|
+
Ke
|
|
1649
1682
|
]
|
|
1650
1683
|
}],
|
|
1651
1684
|
/**
|
|
@@ -1653,28 +1686,28 @@ const g = (e) => {
|
|
|
1653
1686
|
* @see https://tailwindcss.com/docs/box-shadow#setting-the-shadow-color
|
|
1654
1687
|
*/
|
|
1655
1688
|
"shadow-color": [{
|
|
1656
|
-
shadow:
|
|
1689
|
+
shadow: p()
|
|
1657
1690
|
}],
|
|
1658
1691
|
/**
|
|
1659
1692
|
* Inset Box Shadow
|
|
1660
1693
|
* @see https://tailwindcss.com/docs/box-shadow#adding-an-inset-shadow
|
|
1661
1694
|
*/
|
|
1662
1695
|
"inset-shadow": [{
|
|
1663
|
-
"inset-shadow": ["none",
|
|
1696
|
+
"inset-shadow": ["none", N, Ze, Ke]
|
|
1664
1697
|
}],
|
|
1665
1698
|
/**
|
|
1666
1699
|
* Inset Box Shadow Color
|
|
1667
1700
|
* @see https://tailwindcss.com/docs/box-shadow#setting-the-inset-shadow-color
|
|
1668
1701
|
*/
|
|
1669
1702
|
"inset-shadow-color": [{
|
|
1670
|
-
"inset-shadow":
|
|
1703
|
+
"inset-shadow": p()
|
|
1671
1704
|
}],
|
|
1672
1705
|
/**
|
|
1673
1706
|
* Ring Width
|
|
1674
1707
|
* @see https://tailwindcss.com/docs/box-shadow#adding-a-ring
|
|
1675
1708
|
*/
|
|
1676
1709
|
"ring-w": [{
|
|
1677
|
-
ring:
|
|
1710
|
+
ring: I()
|
|
1678
1711
|
}],
|
|
1679
1712
|
/**
|
|
1680
1713
|
* Ring Width Inset
|
|
@@ -1688,7 +1721,7 @@ const g = (e) => {
|
|
|
1688
1721
|
* @see https://tailwindcss.com/docs/box-shadow#setting-the-ring-color
|
|
1689
1722
|
*/
|
|
1690
1723
|
"ring-color": [{
|
|
1691
|
-
ring:
|
|
1724
|
+
ring: p()
|
|
1692
1725
|
}],
|
|
1693
1726
|
/**
|
|
1694
1727
|
* Ring Offset Width
|
|
@@ -1697,7 +1730,7 @@ const g = (e) => {
|
|
|
1697
1730
|
* @see https://github.com/tailwindlabs/tailwindcss/blob/v4.0.0/packages/tailwindcss/src/utilities.ts#L4158
|
|
1698
1731
|
*/
|
|
1699
1732
|
"ring-offset-w": [{
|
|
1700
|
-
"ring-offset": [
|
|
1733
|
+
"ring-offset": [T, Te]
|
|
1701
1734
|
}],
|
|
1702
1735
|
/**
|
|
1703
1736
|
* Ring Offset Color
|
|
@@ -1706,56 +1739,56 @@ const g = (e) => {
|
|
|
1706
1739
|
* @see https://github.com/tailwindlabs/tailwindcss/blob/v4.0.0/packages/tailwindcss/src/utilities.ts#L4158
|
|
1707
1740
|
*/
|
|
1708
1741
|
"ring-offset-color": [{
|
|
1709
|
-
"ring-offset":
|
|
1742
|
+
"ring-offset": p()
|
|
1710
1743
|
}],
|
|
1711
1744
|
/**
|
|
1712
1745
|
* Inset Ring Width
|
|
1713
1746
|
* @see https://tailwindcss.com/docs/box-shadow#adding-an-inset-ring
|
|
1714
1747
|
*/
|
|
1715
1748
|
"inset-ring-w": [{
|
|
1716
|
-
"inset-ring":
|
|
1749
|
+
"inset-ring": I()
|
|
1717
1750
|
}],
|
|
1718
1751
|
/**
|
|
1719
1752
|
* Inset Ring Color
|
|
1720
1753
|
* @see https://tailwindcss.com/docs/box-shadow#setting-the-inset-ring-color
|
|
1721
1754
|
*/
|
|
1722
1755
|
"inset-ring-color": [{
|
|
1723
|
-
"inset-ring":
|
|
1756
|
+
"inset-ring": p()
|
|
1724
1757
|
}],
|
|
1725
1758
|
/**
|
|
1726
1759
|
* Text Shadow
|
|
1727
1760
|
* @see https://tailwindcss.com/docs/text-shadow
|
|
1728
1761
|
*/
|
|
1729
1762
|
"text-shadow": [{
|
|
1730
|
-
"text-shadow": ["none",
|
|
1763
|
+
"text-shadow": ["none", U, Ze, Ke]
|
|
1731
1764
|
}],
|
|
1732
1765
|
/**
|
|
1733
1766
|
* Text Shadow Color
|
|
1734
1767
|
* @see https://tailwindcss.com/docs/text-shadow#setting-the-shadow-color
|
|
1735
1768
|
*/
|
|
1736
1769
|
"text-shadow-color": [{
|
|
1737
|
-
"text-shadow":
|
|
1770
|
+
"text-shadow": p()
|
|
1738
1771
|
}],
|
|
1739
1772
|
/**
|
|
1740
1773
|
* Opacity
|
|
1741
1774
|
* @see https://tailwindcss.com/docs/opacity
|
|
1742
1775
|
*/
|
|
1743
1776
|
opacity: [{
|
|
1744
|
-
opacity: [
|
|
1777
|
+
opacity: [T, d, c]
|
|
1745
1778
|
}],
|
|
1746
1779
|
/**
|
|
1747
1780
|
* Mix Blend Mode
|
|
1748
1781
|
* @see https://tailwindcss.com/docs/mix-blend-mode
|
|
1749
1782
|
*/
|
|
1750
1783
|
"mix-blend": [{
|
|
1751
|
-
"mix-blend": [...
|
|
1784
|
+
"mix-blend": [...ce(), "plus-darker", "plus-lighter"]
|
|
1752
1785
|
}],
|
|
1753
1786
|
/**
|
|
1754
1787
|
* Background Blend Mode
|
|
1755
1788
|
* @see https://tailwindcss.com/docs/background-blend-mode
|
|
1756
1789
|
*/
|
|
1757
1790
|
"bg-blend": [{
|
|
1758
|
-
"bg-blend":
|
|
1791
|
+
"bg-blend": ce()
|
|
1759
1792
|
}],
|
|
1760
1793
|
/**
|
|
1761
1794
|
* Mask Clip
|
|
@@ -1776,106 +1809,106 @@ const g = (e) => {
|
|
|
1776
1809
|
* @see https://tailwindcss.com/docs/mask-image
|
|
1777
1810
|
*/
|
|
1778
1811
|
"mask-image-linear-pos": [{
|
|
1779
|
-
"mask-linear": [
|
|
1812
|
+
"mask-linear": [T]
|
|
1780
1813
|
}],
|
|
1781
1814
|
"mask-image-linear-from-pos": [{
|
|
1782
|
-
"mask-linear-from":
|
|
1815
|
+
"mask-linear-from": k()
|
|
1783
1816
|
}],
|
|
1784
1817
|
"mask-image-linear-to-pos": [{
|
|
1785
|
-
"mask-linear-to":
|
|
1818
|
+
"mask-linear-to": k()
|
|
1786
1819
|
}],
|
|
1787
1820
|
"mask-image-linear-from-color": [{
|
|
1788
|
-
"mask-linear-from":
|
|
1821
|
+
"mask-linear-from": p()
|
|
1789
1822
|
}],
|
|
1790
1823
|
"mask-image-linear-to-color": [{
|
|
1791
|
-
"mask-linear-to":
|
|
1824
|
+
"mask-linear-to": p()
|
|
1792
1825
|
}],
|
|
1793
1826
|
"mask-image-t-from-pos": [{
|
|
1794
|
-
"mask-t-from":
|
|
1827
|
+
"mask-t-from": k()
|
|
1795
1828
|
}],
|
|
1796
1829
|
"mask-image-t-to-pos": [{
|
|
1797
|
-
"mask-t-to":
|
|
1830
|
+
"mask-t-to": k()
|
|
1798
1831
|
}],
|
|
1799
1832
|
"mask-image-t-from-color": [{
|
|
1800
|
-
"mask-t-from":
|
|
1833
|
+
"mask-t-from": p()
|
|
1801
1834
|
}],
|
|
1802
1835
|
"mask-image-t-to-color": [{
|
|
1803
|
-
"mask-t-to":
|
|
1836
|
+
"mask-t-to": p()
|
|
1804
1837
|
}],
|
|
1805
1838
|
"mask-image-r-from-pos": [{
|
|
1806
|
-
"mask-r-from":
|
|
1839
|
+
"mask-r-from": k()
|
|
1807
1840
|
}],
|
|
1808
1841
|
"mask-image-r-to-pos": [{
|
|
1809
|
-
"mask-r-to":
|
|
1842
|
+
"mask-r-to": k()
|
|
1810
1843
|
}],
|
|
1811
1844
|
"mask-image-r-from-color": [{
|
|
1812
|
-
"mask-r-from":
|
|
1845
|
+
"mask-r-from": p()
|
|
1813
1846
|
}],
|
|
1814
1847
|
"mask-image-r-to-color": [{
|
|
1815
|
-
"mask-r-to":
|
|
1848
|
+
"mask-r-to": p()
|
|
1816
1849
|
}],
|
|
1817
1850
|
"mask-image-b-from-pos": [{
|
|
1818
|
-
"mask-b-from":
|
|
1851
|
+
"mask-b-from": k()
|
|
1819
1852
|
}],
|
|
1820
1853
|
"mask-image-b-to-pos": [{
|
|
1821
|
-
"mask-b-to":
|
|
1854
|
+
"mask-b-to": k()
|
|
1822
1855
|
}],
|
|
1823
1856
|
"mask-image-b-from-color": [{
|
|
1824
|
-
"mask-b-from":
|
|
1857
|
+
"mask-b-from": p()
|
|
1825
1858
|
}],
|
|
1826
1859
|
"mask-image-b-to-color": [{
|
|
1827
|
-
"mask-b-to":
|
|
1860
|
+
"mask-b-to": p()
|
|
1828
1861
|
}],
|
|
1829
1862
|
"mask-image-l-from-pos": [{
|
|
1830
|
-
"mask-l-from":
|
|
1863
|
+
"mask-l-from": k()
|
|
1831
1864
|
}],
|
|
1832
1865
|
"mask-image-l-to-pos": [{
|
|
1833
|
-
"mask-l-to":
|
|
1866
|
+
"mask-l-to": k()
|
|
1834
1867
|
}],
|
|
1835
1868
|
"mask-image-l-from-color": [{
|
|
1836
|
-
"mask-l-from":
|
|
1869
|
+
"mask-l-from": p()
|
|
1837
1870
|
}],
|
|
1838
1871
|
"mask-image-l-to-color": [{
|
|
1839
|
-
"mask-l-to":
|
|
1872
|
+
"mask-l-to": p()
|
|
1840
1873
|
}],
|
|
1841
1874
|
"mask-image-x-from-pos": [{
|
|
1842
|
-
"mask-x-from":
|
|
1875
|
+
"mask-x-from": k()
|
|
1843
1876
|
}],
|
|
1844
1877
|
"mask-image-x-to-pos": [{
|
|
1845
|
-
"mask-x-to":
|
|
1878
|
+
"mask-x-to": k()
|
|
1846
1879
|
}],
|
|
1847
1880
|
"mask-image-x-from-color": [{
|
|
1848
|
-
"mask-x-from":
|
|
1881
|
+
"mask-x-from": p()
|
|
1849
1882
|
}],
|
|
1850
1883
|
"mask-image-x-to-color": [{
|
|
1851
|
-
"mask-x-to":
|
|
1884
|
+
"mask-x-to": p()
|
|
1852
1885
|
}],
|
|
1853
1886
|
"mask-image-y-from-pos": [{
|
|
1854
|
-
"mask-y-from":
|
|
1887
|
+
"mask-y-from": k()
|
|
1855
1888
|
}],
|
|
1856
1889
|
"mask-image-y-to-pos": [{
|
|
1857
|
-
"mask-y-to":
|
|
1890
|
+
"mask-y-to": k()
|
|
1858
1891
|
}],
|
|
1859
1892
|
"mask-image-y-from-color": [{
|
|
1860
|
-
"mask-y-from":
|
|
1893
|
+
"mask-y-from": p()
|
|
1861
1894
|
}],
|
|
1862
1895
|
"mask-image-y-to-color": [{
|
|
1863
|
-
"mask-y-to":
|
|
1896
|
+
"mask-y-to": p()
|
|
1864
1897
|
}],
|
|
1865
1898
|
"mask-image-radial": [{
|
|
1866
|
-
"mask-radial": [
|
|
1899
|
+
"mask-radial": [d, c]
|
|
1867
1900
|
}],
|
|
1868
1901
|
"mask-image-radial-from-pos": [{
|
|
1869
|
-
"mask-radial-from":
|
|
1902
|
+
"mask-radial-from": k()
|
|
1870
1903
|
}],
|
|
1871
1904
|
"mask-image-radial-to-pos": [{
|
|
1872
|
-
"mask-radial-to":
|
|
1905
|
+
"mask-radial-to": k()
|
|
1873
1906
|
}],
|
|
1874
1907
|
"mask-image-radial-from-color": [{
|
|
1875
|
-
"mask-radial-from":
|
|
1908
|
+
"mask-radial-from": p()
|
|
1876
1909
|
}],
|
|
1877
1910
|
"mask-image-radial-to-color": [{
|
|
1878
|
-
"mask-radial-to":
|
|
1911
|
+
"mask-radial-to": p()
|
|
1879
1912
|
}],
|
|
1880
1913
|
"mask-image-radial-shape": [{
|
|
1881
1914
|
"mask-radial": ["circle", "ellipse"]
|
|
@@ -1887,22 +1920,22 @@ const g = (e) => {
|
|
|
1887
1920
|
}]
|
|
1888
1921
|
}],
|
|
1889
1922
|
"mask-image-radial-pos": [{
|
|
1890
|
-
"mask-radial-at":
|
|
1923
|
+
"mask-radial-at": x()
|
|
1891
1924
|
}],
|
|
1892
1925
|
"mask-image-conic-pos": [{
|
|
1893
|
-
"mask-conic": [
|
|
1926
|
+
"mask-conic": [T]
|
|
1894
1927
|
}],
|
|
1895
1928
|
"mask-image-conic-from-pos": [{
|
|
1896
|
-
"mask-conic-from":
|
|
1929
|
+
"mask-conic-from": k()
|
|
1897
1930
|
}],
|
|
1898
1931
|
"mask-image-conic-to-pos": [{
|
|
1899
|
-
"mask-conic-to":
|
|
1932
|
+
"mask-conic-to": k()
|
|
1900
1933
|
}],
|
|
1901
1934
|
"mask-image-conic-from-color": [{
|
|
1902
|
-
"mask-conic-from":
|
|
1935
|
+
"mask-conic-from": p()
|
|
1903
1936
|
}],
|
|
1904
1937
|
"mask-image-conic-to-color": [{
|
|
1905
|
-
"mask-conic-to":
|
|
1938
|
+
"mask-conic-to": p()
|
|
1906
1939
|
}],
|
|
1907
1940
|
/**
|
|
1908
1941
|
* Mask Mode
|
|
@@ -1923,21 +1956,21 @@ const g = (e) => {
|
|
|
1923
1956
|
* @see https://tailwindcss.com/docs/mask-position
|
|
1924
1957
|
*/
|
|
1925
1958
|
"mask-position": [{
|
|
1926
|
-
mask:
|
|
1959
|
+
mask: We()
|
|
1927
1960
|
}],
|
|
1928
1961
|
/**
|
|
1929
1962
|
* Mask Repeat
|
|
1930
1963
|
* @see https://tailwindcss.com/docs/mask-repeat
|
|
1931
1964
|
*/
|
|
1932
1965
|
"mask-repeat": [{
|
|
1933
|
-
mask:
|
|
1966
|
+
mask: Ie()
|
|
1934
1967
|
}],
|
|
1935
1968
|
/**
|
|
1936
1969
|
* Mask Size
|
|
1937
1970
|
* @see https://tailwindcss.com/docs/mask-size
|
|
1938
1971
|
*/
|
|
1939
1972
|
"mask-size": [{
|
|
1940
|
-
mask:
|
|
1973
|
+
mask: S()
|
|
1941
1974
|
}],
|
|
1942
1975
|
/**
|
|
1943
1976
|
* Mask Type
|
|
@@ -1951,7 +1984,7 @@ const g = (e) => {
|
|
|
1951
1984
|
* @see https://tailwindcss.com/docs/mask-image
|
|
1952
1985
|
*/
|
|
1953
1986
|
"mask-image": [{
|
|
1954
|
-
mask: ["none",
|
|
1987
|
+
mask: ["none", d, c]
|
|
1955
1988
|
}],
|
|
1956
1989
|
// ---------------
|
|
1957
1990
|
// --- Filters ---
|
|
@@ -1965,8 +1998,8 @@ const g = (e) => {
|
|
|
1965
1998
|
// Deprecated since Tailwind CSS v3.0.0
|
|
1966
1999
|
"",
|
|
1967
2000
|
"none",
|
|
1968
|
-
|
|
1969
|
-
|
|
2001
|
+
d,
|
|
2002
|
+
c
|
|
1970
2003
|
]
|
|
1971
2004
|
}],
|
|
1972
2005
|
/**
|
|
@@ -1974,21 +2007,21 @@ const g = (e) => {
|
|
|
1974
2007
|
* @see https://tailwindcss.com/docs/blur
|
|
1975
2008
|
*/
|
|
1976
2009
|
blur: [{
|
|
1977
|
-
blur:
|
|
2010
|
+
blur: oe()
|
|
1978
2011
|
}],
|
|
1979
2012
|
/**
|
|
1980
2013
|
* Brightness
|
|
1981
2014
|
* @see https://tailwindcss.com/docs/brightness
|
|
1982
2015
|
*/
|
|
1983
2016
|
brightness: [{
|
|
1984
|
-
brightness: [
|
|
2017
|
+
brightness: [T, d, c]
|
|
1985
2018
|
}],
|
|
1986
2019
|
/**
|
|
1987
2020
|
* Contrast
|
|
1988
2021
|
* @see https://tailwindcss.com/docs/contrast
|
|
1989
2022
|
*/
|
|
1990
2023
|
contrast: [{
|
|
1991
|
-
contrast: [
|
|
2024
|
+
contrast: [T, d, c]
|
|
1992
2025
|
}],
|
|
1993
2026
|
/**
|
|
1994
2027
|
* Drop Shadow
|
|
@@ -1999,9 +2032,9 @@ const g = (e) => {
|
|
|
1999
2032
|
// Deprecated since Tailwind CSS v4.0.0
|
|
2000
2033
|
"",
|
|
2001
2034
|
"none",
|
|
2002
|
-
|
|
2003
|
-
|
|
2004
|
-
|
|
2035
|
+
B,
|
|
2036
|
+
Ze,
|
|
2037
|
+
Ke
|
|
2005
2038
|
]
|
|
2006
2039
|
}],
|
|
2007
2040
|
/**
|
|
@@ -2009,42 +2042,42 @@ const g = (e) => {
|
|
|
2009
2042
|
* @see https://tailwindcss.com/docs/filter-drop-shadow#setting-the-shadow-color
|
|
2010
2043
|
*/
|
|
2011
2044
|
"drop-shadow-color": [{
|
|
2012
|
-
"drop-shadow":
|
|
2045
|
+
"drop-shadow": p()
|
|
2013
2046
|
}],
|
|
2014
2047
|
/**
|
|
2015
2048
|
* Grayscale
|
|
2016
2049
|
* @see https://tailwindcss.com/docs/grayscale
|
|
2017
2050
|
*/
|
|
2018
2051
|
grayscale: [{
|
|
2019
|
-
grayscale: ["",
|
|
2052
|
+
grayscale: ["", T, d, c]
|
|
2020
2053
|
}],
|
|
2021
2054
|
/**
|
|
2022
2055
|
* Hue Rotate
|
|
2023
2056
|
* @see https://tailwindcss.com/docs/hue-rotate
|
|
2024
2057
|
*/
|
|
2025
2058
|
"hue-rotate": [{
|
|
2026
|
-
"hue-rotate": [
|
|
2059
|
+
"hue-rotate": [T, d, c]
|
|
2027
2060
|
}],
|
|
2028
2061
|
/**
|
|
2029
2062
|
* Invert
|
|
2030
2063
|
* @see https://tailwindcss.com/docs/invert
|
|
2031
2064
|
*/
|
|
2032
2065
|
invert: [{
|
|
2033
|
-
invert: ["",
|
|
2066
|
+
invert: ["", T, d, c]
|
|
2034
2067
|
}],
|
|
2035
2068
|
/**
|
|
2036
2069
|
* Saturate
|
|
2037
2070
|
* @see https://tailwindcss.com/docs/saturate
|
|
2038
2071
|
*/
|
|
2039
2072
|
saturate: [{
|
|
2040
|
-
saturate: [
|
|
2073
|
+
saturate: [T, d, c]
|
|
2041
2074
|
}],
|
|
2042
2075
|
/**
|
|
2043
2076
|
* Sepia
|
|
2044
2077
|
* @see https://tailwindcss.com/docs/sepia
|
|
2045
2078
|
*/
|
|
2046
2079
|
sepia: [{
|
|
2047
|
-
sepia: ["",
|
|
2080
|
+
sepia: ["", T, d, c]
|
|
2048
2081
|
}],
|
|
2049
2082
|
/**
|
|
2050
2083
|
* Backdrop Filter
|
|
@@ -2055,8 +2088,8 @@ const g = (e) => {
|
|
|
2055
2088
|
// Deprecated since Tailwind CSS v3.0.0
|
|
2056
2089
|
"",
|
|
2057
2090
|
"none",
|
|
2058
|
-
|
|
2059
|
-
|
|
2091
|
+
d,
|
|
2092
|
+
c
|
|
2060
2093
|
]
|
|
2061
2094
|
}],
|
|
2062
2095
|
/**
|
|
@@ -2064,63 +2097,63 @@ const g = (e) => {
|
|
|
2064
2097
|
* @see https://tailwindcss.com/docs/backdrop-blur
|
|
2065
2098
|
*/
|
|
2066
2099
|
"backdrop-blur": [{
|
|
2067
|
-
"backdrop-blur":
|
|
2100
|
+
"backdrop-blur": oe()
|
|
2068
2101
|
}],
|
|
2069
2102
|
/**
|
|
2070
2103
|
* Backdrop Brightness
|
|
2071
2104
|
* @see https://tailwindcss.com/docs/backdrop-brightness
|
|
2072
2105
|
*/
|
|
2073
2106
|
"backdrop-brightness": [{
|
|
2074
|
-
"backdrop-brightness": [
|
|
2107
|
+
"backdrop-brightness": [T, d, c]
|
|
2075
2108
|
}],
|
|
2076
2109
|
/**
|
|
2077
2110
|
* Backdrop Contrast
|
|
2078
2111
|
* @see https://tailwindcss.com/docs/backdrop-contrast
|
|
2079
2112
|
*/
|
|
2080
2113
|
"backdrop-contrast": [{
|
|
2081
|
-
"backdrop-contrast": [
|
|
2114
|
+
"backdrop-contrast": [T, d, c]
|
|
2082
2115
|
}],
|
|
2083
2116
|
/**
|
|
2084
2117
|
* Backdrop Grayscale
|
|
2085
2118
|
* @see https://tailwindcss.com/docs/backdrop-grayscale
|
|
2086
2119
|
*/
|
|
2087
2120
|
"backdrop-grayscale": [{
|
|
2088
|
-
"backdrop-grayscale": ["",
|
|
2121
|
+
"backdrop-grayscale": ["", T, d, c]
|
|
2089
2122
|
}],
|
|
2090
2123
|
/**
|
|
2091
2124
|
* Backdrop Hue Rotate
|
|
2092
2125
|
* @see https://tailwindcss.com/docs/backdrop-hue-rotate
|
|
2093
2126
|
*/
|
|
2094
2127
|
"backdrop-hue-rotate": [{
|
|
2095
|
-
"backdrop-hue-rotate": [
|
|
2128
|
+
"backdrop-hue-rotate": [T, d, c]
|
|
2096
2129
|
}],
|
|
2097
2130
|
/**
|
|
2098
2131
|
* Backdrop Invert
|
|
2099
2132
|
* @see https://tailwindcss.com/docs/backdrop-invert
|
|
2100
2133
|
*/
|
|
2101
2134
|
"backdrop-invert": [{
|
|
2102
|
-
"backdrop-invert": ["",
|
|
2135
|
+
"backdrop-invert": ["", T, d, c]
|
|
2103
2136
|
}],
|
|
2104
2137
|
/**
|
|
2105
2138
|
* Backdrop Opacity
|
|
2106
2139
|
* @see https://tailwindcss.com/docs/backdrop-opacity
|
|
2107
2140
|
*/
|
|
2108
2141
|
"backdrop-opacity": [{
|
|
2109
|
-
"backdrop-opacity": [
|
|
2142
|
+
"backdrop-opacity": [T, d, c]
|
|
2110
2143
|
}],
|
|
2111
2144
|
/**
|
|
2112
2145
|
* Backdrop Saturate
|
|
2113
2146
|
* @see https://tailwindcss.com/docs/backdrop-saturate
|
|
2114
2147
|
*/
|
|
2115
2148
|
"backdrop-saturate": [{
|
|
2116
|
-
"backdrop-saturate": [
|
|
2149
|
+
"backdrop-saturate": [T, d, c]
|
|
2117
2150
|
}],
|
|
2118
2151
|
/**
|
|
2119
2152
|
* Backdrop Sepia
|
|
2120
2153
|
* @see https://tailwindcss.com/docs/backdrop-sepia
|
|
2121
2154
|
*/
|
|
2122
2155
|
"backdrop-sepia": [{
|
|
2123
|
-
"backdrop-sepia": ["",
|
|
2156
|
+
"backdrop-sepia": ["", T, d, c]
|
|
2124
2157
|
}],
|
|
2125
2158
|
// --------------
|
|
2126
2159
|
// --- Tables ---
|
|
@@ -2137,21 +2170,21 @@ const g = (e) => {
|
|
|
2137
2170
|
* @see https://tailwindcss.com/docs/border-spacing
|
|
2138
2171
|
*/
|
|
2139
2172
|
"border-spacing": [{
|
|
2140
|
-
"border-spacing":
|
|
2173
|
+
"border-spacing": g()
|
|
2141
2174
|
}],
|
|
2142
2175
|
/**
|
|
2143
2176
|
* Border Spacing X
|
|
2144
2177
|
* @see https://tailwindcss.com/docs/border-spacing
|
|
2145
2178
|
*/
|
|
2146
2179
|
"border-spacing-x": [{
|
|
2147
|
-
"border-spacing-x":
|
|
2180
|
+
"border-spacing-x": g()
|
|
2148
2181
|
}],
|
|
2149
2182
|
/**
|
|
2150
2183
|
* Border Spacing Y
|
|
2151
2184
|
* @see https://tailwindcss.com/docs/border-spacing
|
|
2152
2185
|
*/
|
|
2153
2186
|
"border-spacing-y": [{
|
|
2154
|
-
"border-spacing-y":
|
|
2187
|
+
"border-spacing-y": g()
|
|
2155
2188
|
}],
|
|
2156
2189
|
/**
|
|
2157
2190
|
* Table Layout
|
|
@@ -2175,7 +2208,7 @@ const g = (e) => {
|
|
|
2175
2208
|
* @see https://tailwindcss.com/docs/transition-property
|
|
2176
2209
|
*/
|
|
2177
2210
|
transition: [{
|
|
2178
|
-
transition: ["", "all", "colors", "opacity", "shadow", "transform", "none",
|
|
2211
|
+
transition: ["", "all", "colors", "opacity", "shadow", "transform", "none", d, c]
|
|
2179
2212
|
}],
|
|
2180
2213
|
/**
|
|
2181
2214
|
* Transition Behavior
|
|
@@ -2189,28 +2222,28 @@ const g = (e) => {
|
|
|
2189
2222
|
* @see https://tailwindcss.com/docs/transition-duration
|
|
2190
2223
|
*/
|
|
2191
2224
|
duration: [{
|
|
2192
|
-
duration: [
|
|
2225
|
+
duration: [T, "initial", d, c]
|
|
2193
2226
|
}],
|
|
2194
2227
|
/**
|
|
2195
2228
|
* Transition Timing Function
|
|
2196
2229
|
* @see https://tailwindcss.com/docs/transition-timing-function
|
|
2197
2230
|
*/
|
|
2198
2231
|
ease: [{
|
|
2199
|
-
ease: ["linear", "initial",
|
|
2232
|
+
ease: ["linear", "initial", ee, d, c]
|
|
2200
2233
|
}],
|
|
2201
2234
|
/**
|
|
2202
2235
|
* Transition Delay
|
|
2203
2236
|
* @see https://tailwindcss.com/docs/transition-delay
|
|
2204
2237
|
*/
|
|
2205
2238
|
delay: [{
|
|
2206
|
-
delay: [
|
|
2239
|
+
delay: [T, d, c]
|
|
2207
2240
|
}],
|
|
2208
2241
|
/**
|
|
2209
2242
|
* Animation
|
|
2210
2243
|
* @see https://tailwindcss.com/docs/animation
|
|
2211
2244
|
*/
|
|
2212
2245
|
animate: [{
|
|
2213
|
-
animate: ["none",
|
|
2246
|
+
animate: ["none", ye, d, c]
|
|
2214
2247
|
}],
|
|
2215
2248
|
// ------------------
|
|
2216
2249
|
// --- Transforms ---
|
|
@@ -2227,70 +2260,70 @@ const g = (e) => {
|
|
|
2227
2260
|
* @see https://tailwindcss.com/docs/perspective
|
|
2228
2261
|
*/
|
|
2229
2262
|
perspective: [{
|
|
2230
|
-
perspective: [
|
|
2263
|
+
perspective: [W, d, c]
|
|
2231
2264
|
}],
|
|
2232
2265
|
/**
|
|
2233
2266
|
* Perspective Origin
|
|
2234
2267
|
* @see https://tailwindcss.com/docs/perspective-origin
|
|
2235
2268
|
*/
|
|
2236
2269
|
"perspective-origin": [{
|
|
2237
|
-
"perspective-origin":
|
|
2270
|
+
"perspective-origin": j()
|
|
2238
2271
|
}],
|
|
2239
2272
|
/**
|
|
2240
2273
|
* Rotate
|
|
2241
2274
|
* @see https://tailwindcss.com/docs/rotate
|
|
2242
2275
|
*/
|
|
2243
2276
|
rotate: [{
|
|
2244
|
-
rotate:
|
|
2277
|
+
rotate: pe()
|
|
2245
2278
|
}],
|
|
2246
2279
|
/**
|
|
2247
2280
|
* Rotate X
|
|
2248
2281
|
* @see https://tailwindcss.com/docs/rotate
|
|
2249
2282
|
*/
|
|
2250
2283
|
"rotate-x": [{
|
|
2251
|
-
"rotate-x":
|
|
2284
|
+
"rotate-x": pe()
|
|
2252
2285
|
}],
|
|
2253
2286
|
/**
|
|
2254
2287
|
* Rotate Y
|
|
2255
2288
|
* @see https://tailwindcss.com/docs/rotate
|
|
2256
2289
|
*/
|
|
2257
2290
|
"rotate-y": [{
|
|
2258
|
-
"rotate-y":
|
|
2291
|
+
"rotate-y": pe()
|
|
2259
2292
|
}],
|
|
2260
2293
|
/**
|
|
2261
2294
|
* Rotate Z
|
|
2262
2295
|
* @see https://tailwindcss.com/docs/rotate
|
|
2263
2296
|
*/
|
|
2264
2297
|
"rotate-z": [{
|
|
2265
|
-
"rotate-z":
|
|
2298
|
+
"rotate-z": pe()
|
|
2266
2299
|
}],
|
|
2267
2300
|
/**
|
|
2268
2301
|
* Scale
|
|
2269
2302
|
* @see https://tailwindcss.com/docs/scale
|
|
2270
2303
|
*/
|
|
2271
2304
|
scale: [{
|
|
2272
|
-
scale:
|
|
2305
|
+
scale: de()
|
|
2273
2306
|
}],
|
|
2274
2307
|
/**
|
|
2275
2308
|
* Scale X
|
|
2276
2309
|
* @see https://tailwindcss.com/docs/scale
|
|
2277
2310
|
*/
|
|
2278
2311
|
"scale-x": [{
|
|
2279
|
-
"scale-x":
|
|
2312
|
+
"scale-x": de()
|
|
2280
2313
|
}],
|
|
2281
2314
|
/**
|
|
2282
2315
|
* Scale Y
|
|
2283
2316
|
* @see https://tailwindcss.com/docs/scale
|
|
2284
2317
|
*/
|
|
2285
2318
|
"scale-y": [{
|
|
2286
|
-
"scale-y":
|
|
2319
|
+
"scale-y": de()
|
|
2287
2320
|
}],
|
|
2288
2321
|
/**
|
|
2289
2322
|
* Scale Z
|
|
2290
2323
|
* @see https://tailwindcss.com/docs/scale
|
|
2291
2324
|
*/
|
|
2292
2325
|
"scale-z": [{
|
|
2293
|
-
"scale-z":
|
|
2326
|
+
"scale-z": de()
|
|
2294
2327
|
}],
|
|
2295
2328
|
/**
|
|
2296
2329
|
* Scale 3D
|
|
@@ -2302,35 +2335,35 @@ const g = (e) => {
|
|
|
2302
2335
|
* @see https://tailwindcss.com/docs/skew
|
|
2303
2336
|
*/
|
|
2304
2337
|
skew: [{
|
|
2305
|
-
skew:
|
|
2338
|
+
skew: we()
|
|
2306
2339
|
}],
|
|
2307
2340
|
/**
|
|
2308
2341
|
* Skew X
|
|
2309
2342
|
* @see https://tailwindcss.com/docs/skew
|
|
2310
2343
|
*/
|
|
2311
2344
|
"skew-x": [{
|
|
2312
|
-
"skew-x":
|
|
2345
|
+
"skew-x": we()
|
|
2313
2346
|
}],
|
|
2314
2347
|
/**
|
|
2315
2348
|
* Skew Y
|
|
2316
2349
|
* @see https://tailwindcss.com/docs/skew
|
|
2317
2350
|
*/
|
|
2318
2351
|
"skew-y": [{
|
|
2319
|
-
"skew-y":
|
|
2352
|
+
"skew-y": we()
|
|
2320
2353
|
}],
|
|
2321
2354
|
/**
|
|
2322
2355
|
* Transform
|
|
2323
2356
|
* @see https://tailwindcss.com/docs/transform
|
|
2324
2357
|
*/
|
|
2325
2358
|
transform: [{
|
|
2326
|
-
transform: [
|
|
2359
|
+
transform: [d, c, "", "none", "gpu", "cpu"]
|
|
2327
2360
|
}],
|
|
2328
2361
|
/**
|
|
2329
2362
|
* Transform Origin
|
|
2330
2363
|
* @see https://tailwindcss.com/docs/transform-origin
|
|
2331
2364
|
*/
|
|
2332
2365
|
"transform-origin": [{
|
|
2333
|
-
origin:
|
|
2366
|
+
origin: j()
|
|
2334
2367
|
}],
|
|
2335
2368
|
/**
|
|
2336
2369
|
* Transform Style
|
|
@@ -2344,28 +2377,28 @@ const g = (e) => {
|
|
|
2344
2377
|
* @see https://tailwindcss.com/docs/translate
|
|
2345
2378
|
*/
|
|
2346
2379
|
translate: [{
|
|
2347
|
-
translate:
|
|
2380
|
+
translate: ge()
|
|
2348
2381
|
}],
|
|
2349
2382
|
/**
|
|
2350
2383
|
* Translate X
|
|
2351
2384
|
* @see https://tailwindcss.com/docs/translate
|
|
2352
2385
|
*/
|
|
2353
2386
|
"translate-x": [{
|
|
2354
|
-
"translate-x":
|
|
2387
|
+
"translate-x": ge()
|
|
2355
2388
|
}],
|
|
2356
2389
|
/**
|
|
2357
2390
|
* Translate Y
|
|
2358
2391
|
* @see https://tailwindcss.com/docs/translate
|
|
2359
2392
|
*/
|
|
2360
2393
|
"translate-y": [{
|
|
2361
|
-
"translate-y":
|
|
2394
|
+
"translate-y": ge()
|
|
2362
2395
|
}],
|
|
2363
2396
|
/**
|
|
2364
2397
|
* Translate Z
|
|
2365
2398
|
* @see https://tailwindcss.com/docs/translate
|
|
2366
2399
|
*/
|
|
2367
2400
|
"translate-z": [{
|
|
2368
|
-
"translate-z":
|
|
2401
|
+
"translate-z": ge()
|
|
2369
2402
|
}],
|
|
2370
2403
|
/**
|
|
2371
2404
|
* Translate None
|
|
@@ -2380,7 +2413,7 @@ const g = (e) => {
|
|
|
2380
2413
|
* @see https://tailwindcss.com/docs/accent-color
|
|
2381
2414
|
*/
|
|
2382
2415
|
accent: [{
|
|
2383
|
-
accent:
|
|
2416
|
+
accent: p()
|
|
2384
2417
|
}],
|
|
2385
2418
|
/**
|
|
2386
2419
|
* Appearance
|
|
@@ -2394,7 +2427,7 @@ const g = (e) => {
|
|
|
2394
2427
|
* @see https://tailwindcss.com/docs/just-in-time-mode#caret-color-utilities
|
|
2395
2428
|
*/
|
|
2396
2429
|
"caret-color": [{
|
|
2397
|
-
caret:
|
|
2430
|
+
caret: p()
|
|
2398
2431
|
}],
|
|
2399
2432
|
/**
|
|
2400
2433
|
* Color Scheme
|
|
@@ -2408,7 +2441,7 @@ const g = (e) => {
|
|
|
2408
2441
|
* @see https://tailwindcss.com/docs/cursor
|
|
2409
2442
|
*/
|
|
2410
2443
|
cursor: [{
|
|
2411
|
-
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",
|
|
2444
|
+
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", d, c]
|
|
2412
2445
|
}],
|
|
2413
2446
|
/**
|
|
2414
2447
|
* Field Sizing
|
|
@@ -2443,126 +2476,126 @@ const g = (e) => {
|
|
|
2443
2476
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
2444
2477
|
*/
|
|
2445
2478
|
"scroll-m": [{
|
|
2446
|
-
"scroll-m":
|
|
2479
|
+
"scroll-m": g()
|
|
2447
2480
|
}],
|
|
2448
2481
|
/**
|
|
2449
2482
|
* Scroll Margin X
|
|
2450
2483
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
2451
2484
|
*/
|
|
2452
2485
|
"scroll-mx": [{
|
|
2453
|
-
"scroll-mx":
|
|
2486
|
+
"scroll-mx": g()
|
|
2454
2487
|
}],
|
|
2455
2488
|
/**
|
|
2456
2489
|
* Scroll Margin Y
|
|
2457
2490
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
2458
2491
|
*/
|
|
2459
2492
|
"scroll-my": [{
|
|
2460
|
-
"scroll-my":
|
|
2493
|
+
"scroll-my": g()
|
|
2461
2494
|
}],
|
|
2462
2495
|
/**
|
|
2463
2496
|
* Scroll Margin Start
|
|
2464
2497
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
2465
2498
|
*/
|
|
2466
2499
|
"scroll-ms": [{
|
|
2467
|
-
"scroll-ms":
|
|
2500
|
+
"scroll-ms": g()
|
|
2468
2501
|
}],
|
|
2469
2502
|
/**
|
|
2470
2503
|
* Scroll Margin End
|
|
2471
2504
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
2472
2505
|
*/
|
|
2473
2506
|
"scroll-me": [{
|
|
2474
|
-
"scroll-me":
|
|
2507
|
+
"scroll-me": g()
|
|
2475
2508
|
}],
|
|
2476
2509
|
/**
|
|
2477
2510
|
* Scroll Margin Top
|
|
2478
2511
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
2479
2512
|
*/
|
|
2480
2513
|
"scroll-mt": [{
|
|
2481
|
-
"scroll-mt":
|
|
2514
|
+
"scroll-mt": g()
|
|
2482
2515
|
}],
|
|
2483
2516
|
/**
|
|
2484
2517
|
* Scroll Margin Right
|
|
2485
2518
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
2486
2519
|
*/
|
|
2487
2520
|
"scroll-mr": [{
|
|
2488
|
-
"scroll-mr":
|
|
2521
|
+
"scroll-mr": g()
|
|
2489
2522
|
}],
|
|
2490
2523
|
/**
|
|
2491
2524
|
* Scroll Margin Bottom
|
|
2492
2525
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
2493
2526
|
*/
|
|
2494
2527
|
"scroll-mb": [{
|
|
2495
|
-
"scroll-mb":
|
|
2528
|
+
"scroll-mb": g()
|
|
2496
2529
|
}],
|
|
2497
2530
|
/**
|
|
2498
2531
|
* Scroll Margin Left
|
|
2499
2532
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
2500
2533
|
*/
|
|
2501
2534
|
"scroll-ml": [{
|
|
2502
|
-
"scroll-ml":
|
|
2535
|
+
"scroll-ml": g()
|
|
2503
2536
|
}],
|
|
2504
2537
|
/**
|
|
2505
2538
|
* Scroll Padding
|
|
2506
2539
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
2507
2540
|
*/
|
|
2508
2541
|
"scroll-p": [{
|
|
2509
|
-
"scroll-p":
|
|
2542
|
+
"scroll-p": g()
|
|
2510
2543
|
}],
|
|
2511
2544
|
/**
|
|
2512
2545
|
* Scroll Padding X
|
|
2513
2546
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
2514
2547
|
*/
|
|
2515
2548
|
"scroll-px": [{
|
|
2516
|
-
"scroll-px":
|
|
2549
|
+
"scroll-px": g()
|
|
2517
2550
|
}],
|
|
2518
2551
|
/**
|
|
2519
2552
|
* Scroll Padding Y
|
|
2520
2553
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
2521
2554
|
*/
|
|
2522
2555
|
"scroll-py": [{
|
|
2523
|
-
"scroll-py":
|
|
2556
|
+
"scroll-py": g()
|
|
2524
2557
|
}],
|
|
2525
2558
|
/**
|
|
2526
2559
|
* Scroll Padding Start
|
|
2527
2560
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
2528
2561
|
*/
|
|
2529
2562
|
"scroll-ps": [{
|
|
2530
|
-
"scroll-ps":
|
|
2563
|
+
"scroll-ps": g()
|
|
2531
2564
|
}],
|
|
2532
2565
|
/**
|
|
2533
2566
|
* Scroll Padding End
|
|
2534
2567
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
2535
2568
|
*/
|
|
2536
2569
|
"scroll-pe": [{
|
|
2537
|
-
"scroll-pe":
|
|
2570
|
+
"scroll-pe": g()
|
|
2538
2571
|
}],
|
|
2539
2572
|
/**
|
|
2540
2573
|
* Scroll Padding Top
|
|
2541
2574
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
2542
2575
|
*/
|
|
2543
2576
|
"scroll-pt": [{
|
|
2544
|
-
"scroll-pt":
|
|
2577
|
+
"scroll-pt": g()
|
|
2545
2578
|
}],
|
|
2546
2579
|
/**
|
|
2547
2580
|
* Scroll Padding Right
|
|
2548
2581
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
2549
2582
|
*/
|
|
2550
2583
|
"scroll-pr": [{
|
|
2551
|
-
"scroll-pr":
|
|
2584
|
+
"scroll-pr": g()
|
|
2552
2585
|
}],
|
|
2553
2586
|
/**
|
|
2554
2587
|
* Scroll Padding Bottom
|
|
2555
2588
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
2556
2589
|
*/
|
|
2557
2590
|
"scroll-pb": [{
|
|
2558
|
-
"scroll-pb":
|
|
2591
|
+
"scroll-pb": g()
|
|
2559
2592
|
}],
|
|
2560
2593
|
/**
|
|
2561
2594
|
* Scroll Padding Left
|
|
2562
2595
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
2563
2596
|
*/
|
|
2564
2597
|
"scroll-pl": [{
|
|
2565
|
-
"scroll-pl":
|
|
2598
|
+
"scroll-pl": g()
|
|
2566
2599
|
}],
|
|
2567
2600
|
/**
|
|
2568
2601
|
* Scroll Snap Align
|
|
@@ -2630,7 +2663,7 @@ const g = (e) => {
|
|
|
2630
2663
|
* @see https://tailwindcss.com/docs/will-change
|
|
2631
2664
|
*/
|
|
2632
2665
|
"will-change": [{
|
|
2633
|
-
"will-change": ["auto", "scroll", "contents", "transform",
|
|
2666
|
+
"will-change": ["auto", "scroll", "contents", "transform", d, c]
|
|
2634
2667
|
}],
|
|
2635
2668
|
// -----------
|
|
2636
2669
|
// --- SVG ---
|
|
@@ -2640,21 +2673,21 @@ const g = (e) => {
|
|
|
2640
2673
|
* @see https://tailwindcss.com/docs/fill
|
|
2641
2674
|
*/
|
|
2642
2675
|
fill: [{
|
|
2643
|
-
fill: ["none", ...
|
|
2676
|
+
fill: ["none", ...p()]
|
|
2644
2677
|
}],
|
|
2645
2678
|
/**
|
|
2646
2679
|
* Stroke Width
|
|
2647
2680
|
* @see https://tailwindcss.com/docs/stroke-width
|
|
2648
2681
|
*/
|
|
2649
2682
|
"stroke-w": [{
|
|
2650
|
-
stroke: [
|
|
2683
|
+
stroke: [T, Me, Te, ft]
|
|
2651
2684
|
}],
|
|
2652
2685
|
/**
|
|
2653
2686
|
* Stroke
|
|
2654
2687
|
* @see https://tailwindcss.com/docs/stroke
|
|
2655
2688
|
*/
|
|
2656
2689
|
stroke: [{
|
|
2657
|
-
stroke: ["none", ...
|
|
2690
|
+
stroke: ["none", ...p()]
|
|
2658
2691
|
}],
|
|
2659
2692
|
// ---------------------
|
|
2660
2693
|
// --- Accessibility ---
|
|
@@ -2722,89 +2755,671 @@ const g = (e) => {
|
|
|
2722
2755
|
},
|
|
2723
2756
|
orderSensitiveModifiers: ["*", "**", "after", "backdrop", "before", "details-content", "file", "first-letter", "first-line", "marker", "placeholder", "selection"]
|
|
2724
2757
|
};
|
|
2725
|
-
},
|
|
2726
|
-
function
|
|
2727
|
-
children:
|
|
2728
|
-
overlayBgClassName:
|
|
2758
|
+
}, wn = /* @__PURE__ */ en(En), ho = Oo(null);
|
|
2759
|
+
function $n({
|
|
2760
|
+
children: t,
|
|
2761
|
+
overlayBgClassName: o = "bg-black/40"
|
|
2729
2762
|
}) {
|
|
2730
|
-
const [
|
|
2763
|
+
const [r, n] = Lo({
|
|
2731
2764
|
node: null,
|
|
2732
2765
|
resolve: void 0,
|
|
2733
2766
|
isOpen: !1,
|
|
2734
2767
|
closeValue: null
|
|
2735
2768
|
});
|
|
2736
|
-
function
|
|
2737
|
-
return new Promise((
|
|
2738
|
-
|
|
2739
|
-
node:
|
|
2740
|
-
resolve:
|
|
2769
|
+
function a(h) {
|
|
2770
|
+
return new Promise((w) => {
|
|
2771
|
+
n({
|
|
2772
|
+
node: h,
|
|
2773
|
+
resolve: w,
|
|
2741
2774
|
isOpen: !0,
|
|
2742
2775
|
closeValue: null
|
|
2743
2776
|
});
|
|
2744
2777
|
});
|
|
2745
2778
|
}
|
|
2746
|
-
function
|
|
2747
|
-
|
|
2748
|
-
...
|
|
2779
|
+
function l(h) {
|
|
2780
|
+
n((w) => ({
|
|
2781
|
+
...w,
|
|
2749
2782
|
isOpen: !1,
|
|
2750
|
-
closeValue:
|
|
2783
|
+
closeValue: h
|
|
2751
2784
|
}));
|
|
2752
2785
|
}
|
|
2753
2786
|
function i() {
|
|
2754
|
-
|
|
2787
|
+
n((h) => (h.resolve?.(h.closeValue), {
|
|
2755
2788
|
node: null,
|
|
2756
2789
|
resolve: void 0,
|
|
2757
2790
|
isOpen: !1,
|
|
2758
2791
|
closeValue: null
|
|
2759
2792
|
}));
|
|
2760
2793
|
}
|
|
2761
|
-
function
|
|
2762
|
-
|
|
2794
|
+
function b(h) {
|
|
2795
|
+
l(h), i();
|
|
2763
2796
|
}
|
|
2764
|
-
const
|
|
2765
|
-
open:
|
|
2766
|
-
close:
|
|
2767
|
-
requestClose:
|
|
2797
|
+
const f = {
|
|
2798
|
+
open: a,
|
|
2799
|
+
close: b,
|
|
2800
|
+
requestClose: l,
|
|
2768
2801
|
finishClose: i
|
|
2769
2802
|
};
|
|
2770
|
-
return /* @__PURE__ */
|
|
2771
|
-
|
|
2772
|
-
|
|
2803
|
+
return /* @__PURE__ */ Co(ho.Provider, { value: f, children: [
|
|
2804
|
+
t,
|
|
2805
|
+
r.node && /* @__PURE__ */ oo(
|
|
2773
2806
|
"div",
|
|
2774
2807
|
{
|
|
2775
|
-
className:
|
|
2808
|
+
className: wn(
|
|
2776
2809
|
"fixed inset-0 z-[9999] flex items-center justify-center",
|
|
2777
|
-
|
|
2810
|
+
o
|
|
2778
2811
|
),
|
|
2779
|
-
children: typeof
|
|
2812
|
+
children: typeof r.node == "function" ? r.node({ isOpen: r.isOpen }) : r.node
|
|
2780
2813
|
}
|
|
2781
2814
|
)
|
|
2782
2815
|
] });
|
|
2783
2816
|
}
|
|
2784
|
-
function
|
|
2785
|
-
const
|
|
2786
|
-
if (!
|
|
2817
|
+
function qn() {
|
|
2818
|
+
const t = Io(ho);
|
|
2819
|
+
if (!t)
|
|
2787
2820
|
throw new Error(
|
|
2788
2821
|
"useOverlay는 반드시 OverlayRoot 내부에서 사용해야 합니다."
|
|
2789
2822
|
);
|
|
2790
|
-
return
|
|
2823
|
+
return t;
|
|
2791
2824
|
}
|
|
2792
|
-
class
|
|
2825
|
+
class Kn extends Do {
|
|
2793
2826
|
state = {
|
|
2794
2827
|
hasError: !1
|
|
2795
2828
|
};
|
|
2796
2829
|
static getDerivedStateFromError() {
|
|
2797
2830
|
return { hasError: !0 };
|
|
2798
2831
|
}
|
|
2799
|
-
componentDidCatch(
|
|
2800
|
-
this.props.onError?.(
|
|
2832
|
+
componentDidCatch(o, r) {
|
|
2833
|
+
this.props.onError?.(o, r);
|
|
2801
2834
|
}
|
|
2802
2835
|
render() {
|
|
2803
2836
|
return this.state.hasError ? this.props.fallback : this.props.children;
|
|
2804
2837
|
}
|
|
2805
2838
|
}
|
|
2839
|
+
const {
|
|
2840
|
+
entries: bo,
|
|
2841
|
+
setPrototypeOf: Xt,
|
|
2842
|
+
isFrozen: _n,
|
|
2843
|
+
getPrototypeOf: xn,
|
|
2844
|
+
getOwnPropertyDescriptor: kn
|
|
2845
|
+
} = Object;
|
|
2846
|
+
let {
|
|
2847
|
+
freeze: z,
|
|
2848
|
+
seal: V,
|
|
2849
|
+
create: Et
|
|
2850
|
+
} = Object, {
|
|
2851
|
+
apply: wt,
|
|
2852
|
+
construct: _t
|
|
2853
|
+
} = typeof Reflect < "u" && Reflect;
|
|
2854
|
+
z || (z = function(o) {
|
|
2855
|
+
return o;
|
|
2856
|
+
});
|
|
2857
|
+
V || (V = function(o) {
|
|
2858
|
+
return o;
|
|
2859
|
+
});
|
|
2860
|
+
wt || (wt = function(o, r) {
|
|
2861
|
+
for (var n = arguments.length, a = new Array(n > 2 ? n - 2 : 0), l = 2; l < n; l++)
|
|
2862
|
+
a[l - 2] = arguments[l];
|
|
2863
|
+
return o.apply(r, a);
|
|
2864
|
+
});
|
|
2865
|
+
_t || (_t = function(o) {
|
|
2866
|
+
for (var r = arguments.length, n = new Array(r > 1 ? r - 1 : 0), a = 1; a < r; a++)
|
|
2867
|
+
n[a - 1] = arguments[a];
|
|
2868
|
+
return new o(...n);
|
|
2869
|
+
});
|
|
2870
|
+
const Je = F(Array.prototype.forEach), Sn = F(Array.prototype.lastIndexOf), $t = F(Array.prototype.pop), Pe = F(Array.prototype.push), vn = F(Array.prototype.splice), et = F(String.prototype.toLowerCase), pt = F(String.prototype.toString), gt = F(String.prototype.match), ze = F(String.prototype.replace), Rn = F(String.prototype.indexOf), Cn = F(String.prototype.trim), q = F(Object.prototype.hasOwnProperty), P = F(RegExp.prototype.test), Fe = On(TypeError);
|
|
2871
|
+
function F(t) {
|
|
2872
|
+
return function(o) {
|
|
2873
|
+
o instanceof RegExp && (o.lastIndex = 0);
|
|
2874
|
+
for (var r = arguments.length, n = new Array(r > 1 ? r - 1 : 0), a = 1; a < r; a++)
|
|
2875
|
+
n[a - 1] = arguments[a];
|
|
2876
|
+
return wt(t, o, n);
|
|
2877
|
+
};
|
|
2878
|
+
}
|
|
2879
|
+
function On(t) {
|
|
2880
|
+
return function() {
|
|
2881
|
+
for (var o = arguments.length, r = new Array(o), n = 0; n < o; n++)
|
|
2882
|
+
r[n] = arguments[n];
|
|
2883
|
+
return _t(t, r);
|
|
2884
|
+
};
|
|
2885
|
+
}
|
|
2886
|
+
function y(t, o) {
|
|
2887
|
+
let r = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : et;
|
|
2888
|
+
Xt && Xt(t, null);
|
|
2889
|
+
let n = o.length;
|
|
2890
|
+
for (; n--; ) {
|
|
2891
|
+
let a = o[n];
|
|
2892
|
+
if (typeof a == "string") {
|
|
2893
|
+
const l = r(a);
|
|
2894
|
+
l !== a && (_n(o) || (o[n] = l), a = l);
|
|
2895
|
+
}
|
|
2896
|
+
t[a] = !0;
|
|
2897
|
+
}
|
|
2898
|
+
return t;
|
|
2899
|
+
}
|
|
2900
|
+
function Ln(t) {
|
|
2901
|
+
for (let o = 0; o < t.length; o++)
|
|
2902
|
+
q(t, o) || (t[o] = null);
|
|
2903
|
+
return t;
|
|
2904
|
+
}
|
|
2905
|
+
function Q(t) {
|
|
2906
|
+
const o = Et(null);
|
|
2907
|
+
for (const [r, n] of bo(t))
|
|
2908
|
+
q(t, r) && (Array.isArray(n) ? o[r] = Ln(n) : n && typeof n == "object" && n.constructor === Object ? o[r] = Q(n) : o[r] = n);
|
|
2909
|
+
return o;
|
|
2910
|
+
}
|
|
2911
|
+
function Ue(t, o) {
|
|
2912
|
+
for (; t !== null; ) {
|
|
2913
|
+
const n = kn(t, o);
|
|
2914
|
+
if (n) {
|
|
2915
|
+
if (n.get)
|
|
2916
|
+
return F(n.get);
|
|
2917
|
+
if (typeof n.value == "function")
|
|
2918
|
+
return F(n.value);
|
|
2919
|
+
}
|
|
2920
|
+
t = xn(t);
|
|
2921
|
+
}
|
|
2922
|
+
function r() {
|
|
2923
|
+
return null;
|
|
2924
|
+
}
|
|
2925
|
+
return r;
|
|
2926
|
+
}
|
|
2927
|
+
const qt = z(["a", "abbr", "acronym", "address", "area", "article", "aside", "audio", "b", "bdi", "bdo", "big", "blink", "blockquote", "body", "br", "button", "canvas", "caption", "center", "cite", "code", "col", "colgroup", "content", "data", "datalist", "dd", "decorator", "del", "details", "dfn", "dialog", "dir", "div", "dl", "dt", "element", "em", "fieldset", "figcaption", "figure", "font", "footer", "form", "h1", "h2", "h3", "h4", "h5", "h6", "head", "header", "hgroup", "hr", "html", "i", "img", "input", "ins", "kbd", "label", "legend", "li", "main", "map", "mark", "marquee", "menu", "menuitem", "meter", "nav", "nobr", "ol", "optgroup", "option", "output", "p", "picture", "pre", "progress", "q", "rp", "rt", "ruby", "s", "samp", "search", "section", "select", "shadow", "slot", "small", "source", "spacer", "span", "strike", "strong", "style", "sub", "summary", "sup", "table", "tbody", "td", "template", "textarea", "tfoot", "th", "thead", "time", "tr", "track", "tt", "u", "ul", "var", "video", "wbr"]), ht = z(["svg", "a", "altglyph", "altglyphdef", "altglyphitem", "animatecolor", "animatemotion", "animatetransform", "circle", "clippath", "defs", "desc", "ellipse", "enterkeyhint", "exportparts", "filter", "font", "g", "glyph", "glyphref", "hkern", "image", "inputmode", "line", "lineargradient", "marker", "mask", "metadata", "mpath", "part", "path", "pattern", "polygon", "polyline", "radialgradient", "rect", "stop", "style", "switch", "symbol", "text", "textpath", "title", "tref", "tspan", "view", "vkern"]), bt = z(["feBlend", "feColorMatrix", "feComponentTransfer", "feComposite", "feConvolveMatrix", "feDiffuseLighting", "feDisplacementMap", "feDistantLight", "feDropShadow", "feFlood", "feFuncA", "feFuncB", "feFuncG", "feFuncR", "feGaussianBlur", "feImage", "feMerge", "feMergeNode", "feMorphology", "feOffset", "fePointLight", "feSpecularLighting", "feSpotLight", "feTile", "feTurbulence"]), In = z(["animate", "color-profile", "cursor", "discard", "font-face", "font-face-format", "font-face-name", "font-face-src", "font-face-uri", "foreignobject", "hatch", "hatchpath", "mesh", "meshgradient", "meshpatch", "meshrow", "missing-glyph", "script", "set", "solidcolor", "unknown", "use"]), Tt = z(["math", "menclose", "merror", "mfenced", "mfrac", "mglyph", "mi", "mlabeledtr", "mmultiscripts", "mn", "mo", "mover", "mpadded", "mphantom", "mroot", "mrow", "ms", "mspace", "msqrt", "mstyle", "msub", "msup", "msubsup", "mtable", "mtd", "mtext", "mtr", "munder", "munderover", "mprescripts"]), Dn = z(["maction", "maligngroup", "malignmark", "mlongdiv", "mscarries", "mscarry", "msgroup", "mstack", "msline", "msrow", "semantics", "annotation", "annotation-xml", "mprescripts", "none"]), Kt = z(["#text"]), Zt = z(["accept", "action", "align", "alt", "autocapitalize", "autocomplete", "autopictureinpicture", "autoplay", "background", "bgcolor", "border", "capture", "cellpadding", "cellspacing", "checked", "cite", "class", "clear", "color", "cols", "colspan", "controls", "controlslist", "coords", "crossorigin", "datetime", "decoding", "default", "dir", "disabled", "disablepictureinpicture", "disableremoteplayback", "download", "draggable", "enctype", "enterkeyhint", "exportparts", "face", "for", "headers", "height", "hidden", "high", "href", "hreflang", "id", "inert", "inputmode", "integrity", "ismap", "kind", "label", "lang", "list", "loading", "loop", "low", "max", "maxlength", "media", "method", "min", "minlength", "multiple", "muted", "name", "nonce", "noshade", "novalidate", "nowrap", "open", "optimum", "part", "pattern", "placeholder", "playsinline", "popover", "popovertarget", "popovertargetaction", "poster", "preload", "pubdate", "radiogroup", "readonly", "rel", "required", "rev", "reversed", "role", "rows", "rowspan", "spellcheck", "scope", "selected", "shape", "size", "sizes", "slot", "span", "srclang", "start", "src", "srcset", "step", "style", "summary", "tabindex", "title", "translate", "type", "usemap", "valign", "value", "width", "wrap", "xmlns", "slot"]), yt = z(["accent-height", "accumulate", "additive", "alignment-baseline", "amplitude", "ascent", "attributename", "attributetype", "azimuth", "basefrequency", "baseline-shift", "begin", "bias", "by", "class", "clip", "clippathunits", "clip-path", "clip-rule", "color", "color-interpolation", "color-interpolation-filters", "color-profile", "color-rendering", "cx", "cy", "d", "dx", "dy", "diffuseconstant", "direction", "display", "divisor", "dur", "edgemode", "elevation", "end", "exponent", "fill", "fill-opacity", "fill-rule", "filter", "filterunits", "flood-color", "flood-opacity", "font-family", "font-size", "font-size-adjust", "font-stretch", "font-style", "font-variant", "font-weight", "fx", "fy", "g1", "g2", "glyph-name", "glyphref", "gradientunits", "gradienttransform", "height", "href", "id", "image-rendering", "in", "in2", "intercept", "k", "k1", "k2", "k3", "k4", "kerning", "keypoints", "keysplines", "keytimes", "lang", "lengthadjust", "letter-spacing", "kernelmatrix", "kernelunitlength", "lighting-color", "local", "marker-end", "marker-mid", "marker-start", "markerheight", "markerunits", "markerwidth", "maskcontentunits", "maskunits", "max", "mask", "mask-type", "media", "method", "mode", "min", "name", "numoctaves", "offset", "operator", "opacity", "order", "orient", "orientation", "origin", "overflow", "paint-order", "path", "pathlength", "patterncontentunits", "patterntransform", "patternunits", "points", "preservealpha", "preserveaspectratio", "primitiveunits", "r", "rx", "ry", "radius", "refx", "refy", "repeatcount", "repeatdur", "restart", "result", "rotate", "scale", "seed", "shape-rendering", "slope", "specularconstant", "specularexponent", "spreadmethod", "startoffset", "stddeviation", "stitchtiles", "stop-color", "stop-opacity", "stroke-dasharray", "stroke-dashoffset", "stroke-linecap", "stroke-linejoin", "stroke-miterlimit", "stroke-opacity", "stroke", "stroke-width", "style", "surfacescale", "systemlanguage", "tabindex", "tablevalues", "targetx", "targety", "transform", "transform-origin", "text-anchor", "text-decoration", "text-rendering", "textlength", "type", "u1", "u2", "unicode", "values", "viewbox", "visibility", "version", "vert-adv-y", "vert-origin-x", "vert-origin-y", "width", "word-spacing", "wrap", "writing-mode", "xchannelselector", "ychannelselector", "x", "x1", "x2", "xmlns", "y", "y1", "y2", "z", "zoomandpan"]), Jt = z(["accent", "accentunder", "align", "bevelled", "close", "columnsalign", "columnlines", "columnspan", "denomalign", "depth", "dir", "display", "displaystyle", "encoding", "fence", "frame", "height", "href", "id", "largeop", "length", "linethickness", "lspace", "lquote", "mathbackground", "mathcolor", "mathsize", "mathvariant", "maxsize", "minsize", "movablelimits", "notation", "numalign", "open", "rowalign", "rowlines", "rowspacing", "rowspan", "rspace", "rquote", "scriptlevel", "scriptminsize", "scriptsizemultiplier", "selection", "separator", "separators", "stretchy", "subscriptshift", "supscriptshift", "symmetric", "voffset", "width", "xmlns"]), Qe = z(["xlink:href", "xml:id", "xlink:title", "xml:space", "xmlns:xlink"]), Nn = V(/\{\{[\w\W]*|[\w\W]*\}\}/gm), Mn = V(/<%[\w\W]*|[\w\W]*%>/gm), Pn = V(/\$\{[\w\W]*/gm), zn = V(/^data-[\-\w.\u00B7-\uFFFF]+$/), Fn = V(/^aria-[\-\w]+$/), To = V(
|
|
2928
|
+
/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i
|
|
2929
|
+
// eslint-disable-line no-useless-escape
|
|
2930
|
+
), Un = V(/^(?:\w+script|data):/i), Gn = V(
|
|
2931
|
+
/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g
|
|
2932
|
+
// eslint-disable-line no-control-regex
|
|
2933
|
+
), yo = V(/^html$/i), Hn = V(/^[a-z][.\w]*(-[.\w]+)+$/i);
|
|
2934
|
+
var Qt = /* @__PURE__ */ Object.freeze({
|
|
2935
|
+
__proto__: null,
|
|
2936
|
+
ARIA_ATTR: Fn,
|
|
2937
|
+
ATTR_WHITESPACE: Gn,
|
|
2938
|
+
CUSTOM_ELEMENT: Hn,
|
|
2939
|
+
DATA_ATTR: zn,
|
|
2940
|
+
DOCTYPE_NAME: yo,
|
|
2941
|
+
ERB_EXPR: Mn,
|
|
2942
|
+
IS_ALLOWED_URI: To,
|
|
2943
|
+
IS_SCRIPT_OR_DATA: Un,
|
|
2944
|
+
MUSTACHE_EXPR: Nn,
|
|
2945
|
+
TMPLIT_EXPR: Pn
|
|
2946
|
+
});
|
|
2947
|
+
const Ge = {
|
|
2948
|
+
element: 1,
|
|
2949
|
+
text: 3,
|
|
2950
|
+
// Deprecated
|
|
2951
|
+
progressingInstruction: 7,
|
|
2952
|
+
comment: 8,
|
|
2953
|
+
document: 9
|
|
2954
|
+
}, Wn = function() {
|
|
2955
|
+
return typeof window > "u" ? null : window;
|
|
2956
|
+
}, Bn = function(o, r) {
|
|
2957
|
+
if (typeof o != "object" || typeof o.createPolicy != "function")
|
|
2958
|
+
return null;
|
|
2959
|
+
let n = null;
|
|
2960
|
+
const a = "data-tt-policy-suffix";
|
|
2961
|
+
r && r.hasAttribute(a) && (n = r.getAttribute(a));
|
|
2962
|
+
const l = "dompurify" + (n ? "#" + n : "");
|
|
2963
|
+
try {
|
|
2964
|
+
return o.createPolicy(l, {
|
|
2965
|
+
createHTML(i) {
|
|
2966
|
+
return i;
|
|
2967
|
+
},
|
|
2968
|
+
createScriptURL(i) {
|
|
2969
|
+
return i;
|
|
2970
|
+
}
|
|
2971
|
+
});
|
|
2972
|
+
} catch {
|
|
2973
|
+
return console.warn("TrustedTypes policy " + l + " could not be created."), null;
|
|
2974
|
+
}
|
|
2975
|
+
}, eo = function() {
|
|
2976
|
+
return {
|
|
2977
|
+
afterSanitizeAttributes: [],
|
|
2978
|
+
afterSanitizeElements: [],
|
|
2979
|
+
afterSanitizeShadowDOM: [],
|
|
2980
|
+
beforeSanitizeAttributes: [],
|
|
2981
|
+
beforeSanitizeElements: [],
|
|
2982
|
+
beforeSanitizeShadowDOM: [],
|
|
2983
|
+
uponSanitizeAttribute: [],
|
|
2984
|
+
uponSanitizeElement: [],
|
|
2985
|
+
uponSanitizeShadowNode: []
|
|
2986
|
+
};
|
|
2987
|
+
};
|
|
2988
|
+
function Ao() {
|
|
2989
|
+
let t = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : Wn();
|
|
2990
|
+
const o = (u) => Ao(u);
|
|
2991
|
+
if (o.version = "3.3.1", o.removed = [], !t || !t.document || t.document.nodeType !== Ge.document || !t.Element)
|
|
2992
|
+
return o.isSupported = !1, o;
|
|
2993
|
+
let {
|
|
2994
|
+
document: r
|
|
2995
|
+
} = t;
|
|
2996
|
+
const n = r, a = n.currentScript, {
|
|
2997
|
+
DocumentFragment: l,
|
|
2998
|
+
HTMLTemplateElement: i,
|
|
2999
|
+
Node: b,
|
|
3000
|
+
Element: f,
|
|
3001
|
+
NodeFilter: h,
|
|
3002
|
+
NamedNodeMap: w = t.NamedNodeMap || t.MozNamedAttrMap,
|
|
3003
|
+
HTMLFormElement: N,
|
|
3004
|
+
DOMParser: U,
|
|
3005
|
+
trustedTypes: B
|
|
3006
|
+
} = t, H = f.prototype, W = Ue(H, "cloneNode"), M = Ue(H, "remove"), ee = Ue(H, "nextSibling"), ye = Ue(H, "childNodes"), K = Ue(H, "parentNode");
|
|
3007
|
+
if (typeof i == "function") {
|
|
3008
|
+
const u = r.createElement("template");
|
|
3009
|
+
u.content && u.content.ownerDocument && (r = u.content.ownerDocument);
|
|
3010
|
+
}
|
|
3011
|
+
let x, j = "";
|
|
3012
|
+
const {
|
|
3013
|
+
implementation: Y,
|
|
3014
|
+
createNodeIterator: ue,
|
|
3015
|
+
createDocumentFragment: g,
|
|
3016
|
+
getElementsByTagName: X
|
|
3017
|
+
} = r, {
|
|
3018
|
+
importNode: He
|
|
3019
|
+
} = n;
|
|
3020
|
+
let O = eo();
|
|
3021
|
+
o.isSupported = typeof bo == "function" && typeof K == "function" && Y && Y.createHTMLDocument !== void 0;
|
|
3022
|
+
const {
|
|
3023
|
+
MUSTACHE_EXPR: ie,
|
|
3024
|
+
ERB_EXPR: Ae,
|
|
3025
|
+
TMPLIT_EXPR: fe,
|
|
3026
|
+
DATA_ATTR: le,
|
|
3027
|
+
ARIA_ATTR: $,
|
|
3028
|
+
IS_SCRIPT_OR_DATA: te,
|
|
3029
|
+
ATTR_WHITESPACE: p,
|
|
3030
|
+
CUSTOM_ELEMENT: We
|
|
3031
|
+
} = Qt;
|
|
3032
|
+
let {
|
|
3033
|
+
IS_ALLOWED_URI: Ie
|
|
3034
|
+
} = Qt, S = null;
|
|
3035
|
+
const Ee = y({}, [...qt, ...ht, ...bt, ...Tt, ...Kt]);
|
|
3036
|
+
let A = null;
|
|
3037
|
+
const I = y({}, [...Zt, ...yt, ...Jt, ...Qe]);
|
|
3038
|
+
let E = Object.seal(Et(null, {
|
|
3039
|
+
tagNameCheck: {
|
|
3040
|
+
writable: !0,
|
|
3041
|
+
configurable: !1,
|
|
3042
|
+
enumerable: !0,
|
|
3043
|
+
value: null
|
|
3044
|
+
},
|
|
3045
|
+
attributeNameCheck: {
|
|
3046
|
+
writable: !0,
|
|
3047
|
+
configurable: !1,
|
|
3048
|
+
enumerable: !0,
|
|
3049
|
+
value: null
|
|
3050
|
+
},
|
|
3051
|
+
allowCustomizedBuiltInElements: {
|
|
3052
|
+
writable: !0,
|
|
3053
|
+
configurable: !1,
|
|
3054
|
+
enumerable: !0,
|
|
3055
|
+
value: !1
|
|
3056
|
+
}
|
|
3057
|
+
})), ce = null, k = null;
|
|
3058
|
+
const oe = Object.seal(Et(null, {
|
|
3059
|
+
tagCheck: {
|
|
3060
|
+
writable: !0,
|
|
3061
|
+
configurable: !1,
|
|
3062
|
+
enumerable: !0,
|
|
3063
|
+
value: null
|
|
3064
|
+
},
|
|
3065
|
+
attributeCheck: {
|
|
3066
|
+
writable: !0,
|
|
3067
|
+
configurable: !1,
|
|
3068
|
+
enumerable: !0,
|
|
3069
|
+
value: null
|
|
3070
|
+
}
|
|
3071
|
+
}));
|
|
3072
|
+
let pe = !0, de = !0, we = !1, ge = !0, _e = !1, Be = !0, he = !1, ot = !1, nt = !1, xe = !1, je = !1, Ve = !1, kt = !0, St = !1;
|
|
3073
|
+
const Eo = "user-content-";
|
|
3074
|
+
let rt = !0, De = !1, ke = {}, Z = null;
|
|
3075
|
+
const st = y({}, ["annotation-xml", "audio", "colgroup", "desc", "foreignobject", "head", "iframe", "math", "mi", "mn", "mo", "ms", "mtext", "noembed", "noframes", "noscript", "plaintext", "script", "style", "svg", "template", "thead", "title", "video", "xmp"]);
|
|
3076
|
+
let vt = null;
|
|
3077
|
+
const Rt = y({}, ["audio", "video", "img", "source", "image", "track"]);
|
|
3078
|
+
let at = null;
|
|
3079
|
+
const Ct = y({}, ["alt", "class", "for", "id", "label", "name", "pattern", "placeholder", "role", "summary", "title", "value", "style", "xmlns"]), Ye = "http://www.w3.org/1998/Math/MathML", Xe = "http://www.w3.org/2000/svg", ne = "http://www.w3.org/1999/xhtml";
|
|
3080
|
+
let Se = ne, it = !1, lt = null;
|
|
3081
|
+
const wo = y({}, [Ye, Xe, ne], pt);
|
|
3082
|
+
let $e = y({}, ["mi", "mo", "mn", "ms", "mtext"]), qe = y({}, ["annotation-xml"]);
|
|
3083
|
+
const _o = y({}, ["title", "style", "font", "a", "script"]);
|
|
3084
|
+
let Ne = null;
|
|
3085
|
+
const xo = ["application/xhtml+xml", "text/html"], ko = "text/html";
|
|
3086
|
+
let R = null, ve = null;
|
|
3087
|
+
const So = r.createElement("form"), Ot = function(e) {
|
|
3088
|
+
return e instanceof RegExp || e instanceof Function;
|
|
3089
|
+
}, ct = function() {
|
|
3090
|
+
let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
|
|
3091
|
+
if (!(ve && ve === e)) {
|
|
3092
|
+
if ((!e || typeof e != "object") && (e = {}), e = Q(e), Ne = // eslint-disable-next-line unicorn/prefer-includes
|
|
3093
|
+
xo.indexOf(e.PARSER_MEDIA_TYPE) === -1 ? ko : e.PARSER_MEDIA_TYPE, R = Ne === "application/xhtml+xml" ? pt : et, S = q(e, "ALLOWED_TAGS") ? y({}, e.ALLOWED_TAGS, R) : Ee, A = q(e, "ALLOWED_ATTR") ? y({}, e.ALLOWED_ATTR, R) : I, lt = q(e, "ALLOWED_NAMESPACES") ? y({}, e.ALLOWED_NAMESPACES, pt) : wo, at = q(e, "ADD_URI_SAFE_ATTR") ? y(Q(Ct), e.ADD_URI_SAFE_ATTR, R) : Ct, vt = q(e, "ADD_DATA_URI_TAGS") ? y(Q(Rt), e.ADD_DATA_URI_TAGS, R) : Rt, Z = q(e, "FORBID_CONTENTS") ? y({}, e.FORBID_CONTENTS, R) : st, ce = q(e, "FORBID_TAGS") ? y({}, e.FORBID_TAGS, R) : Q({}), k = q(e, "FORBID_ATTR") ? y({}, e.FORBID_ATTR, R) : Q({}), ke = q(e, "USE_PROFILES") ? e.USE_PROFILES : !1, pe = e.ALLOW_ARIA_ATTR !== !1, de = e.ALLOW_DATA_ATTR !== !1, we = e.ALLOW_UNKNOWN_PROTOCOLS || !1, ge = e.ALLOW_SELF_CLOSE_IN_ATTR !== !1, _e = e.SAFE_FOR_TEMPLATES || !1, Be = e.SAFE_FOR_XML !== !1, he = e.WHOLE_DOCUMENT || !1, xe = e.RETURN_DOM || !1, je = e.RETURN_DOM_FRAGMENT || !1, Ve = e.RETURN_TRUSTED_TYPE || !1, nt = e.FORCE_BODY || !1, kt = e.SANITIZE_DOM !== !1, St = e.SANITIZE_NAMED_PROPS || !1, rt = e.KEEP_CONTENT !== !1, De = e.IN_PLACE || !1, Ie = e.ALLOWED_URI_REGEXP || To, Se = e.NAMESPACE || ne, $e = e.MATHML_TEXT_INTEGRATION_POINTS || $e, qe = e.HTML_INTEGRATION_POINTS || qe, E = e.CUSTOM_ELEMENT_HANDLING || {}, e.CUSTOM_ELEMENT_HANDLING && Ot(e.CUSTOM_ELEMENT_HANDLING.tagNameCheck) && (E.tagNameCheck = e.CUSTOM_ELEMENT_HANDLING.tagNameCheck), e.CUSTOM_ELEMENT_HANDLING && Ot(e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck) && (E.attributeNameCheck = e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck), e.CUSTOM_ELEMENT_HANDLING && typeof e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements == "boolean" && (E.allowCustomizedBuiltInElements = e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements), _e && (de = !1), je && (xe = !0), ke && (S = y({}, Kt), A = [], ke.html === !0 && (y(S, qt), y(A, Zt)), ke.svg === !0 && (y(S, ht), y(A, yt), y(A, Qe)), ke.svgFilters === !0 && (y(S, bt), y(A, yt), y(A, Qe)), ke.mathMl === !0 && (y(S, Tt), y(A, Jt), y(A, Qe))), e.ADD_TAGS && (typeof e.ADD_TAGS == "function" ? oe.tagCheck = e.ADD_TAGS : (S === Ee && (S = Q(S)), y(S, e.ADD_TAGS, R))), e.ADD_ATTR && (typeof e.ADD_ATTR == "function" ? oe.attributeCheck = e.ADD_ATTR : (A === I && (A = Q(A)), y(A, e.ADD_ATTR, R))), e.ADD_URI_SAFE_ATTR && y(at, e.ADD_URI_SAFE_ATTR, R), e.FORBID_CONTENTS && (Z === st && (Z = Q(Z)), y(Z, e.FORBID_CONTENTS, R)), e.ADD_FORBID_CONTENTS && (Z === st && (Z = Q(Z)), y(Z, e.ADD_FORBID_CONTENTS, R)), rt && (S["#text"] = !0), he && y(S, ["html", "head", "body"]), S.table && (y(S, ["tbody"]), delete ce.tbody), e.TRUSTED_TYPES_POLICY) {
|
|
3094
|
+
if (typeof e.TRUSTED_TYPES_POLICY.createHTML != "function")
|
|
3095
|
+
throw Fe('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');
|
|
3096
|
+
if (typeof e.TRUSTED_TYPES_POLICY.createScriptURL != "function")
|
|
3097
|
+
throw Fe('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');
|
|
3098
|
+
x = e.TRUSTED_TYPES_POLICY, j = x.createHTML("");
|
|
3099
|
+
} else
|
|
3100
|
+
x === void 0 && (x = Bn(B, a)), x !== null && typeof j == "string" && (j = x.createHTML(""));
|
|
3101
|
+
z && z(e), ve = e;
|
|
3102
|
+
}
|
|
3103
|
+
}, Lt = y({}, [...ht, ...bt, ...In]), It = y({}, [...Tt, ...Dn]), vo = function(e) {
|
|
3104
|
+
let s = K(e);
|
|
3105
|
+
(!s || !s.tagName) && (s = {
|
|
3106
|
+
namespaceURI: Se,
|
|
3107
|
+
tagName: "template"
|
|
3108
|
+
});
|
|
3109
|
+
const m = et(e.tagName), _ = et(s.tagName);
|
|
3110
|
+
return lt[e.namespaceURI] ? e.namespaceURI === Xe ? s.namespaceURI === ne ? m === "svg" : s.namespaceURI === Ye ? m === "svg" && (_ === "annotation-xml" || $e[_]) : !!Lt[m] : e.namespaceURI === Ye ? s.namespaceURI === ne ? m === "math" : s.namespaceURI === Xe ? m === "math" && qe[_] : !!It[m] : e.namespaceURI === ne ? s.namespaceURI === Xe && !qe[_] || s.namespaceURI === Ye && !$e[_] ? !1 : !It[m] && (_o[m] || !Lt[m]) : !!(Ne === "application/xhtml+xml" && lt[e.namespaceURI]) : !1;
|
|
3111
|
+
}, J = function(e) {
|
|
3112
|
+
Pe(o.removed, {
|
|
3113
|
+
element: e
|
|
3114
|
+
});
|
|
3115
|
+
try {
|
|
3116
|
+
K(e).removeChild(e);
|
|
3117
|
+
} catch {
|
|
3118
|
+
M(e);
|
|
3119
|
+
}
|
|
3120
|
+
}, be = function(e, s) {
|
|
3121
|
+
try {
|
|
3122
|
+
Pe(o.removed, {
|
|
3123
|
+
attribute: s.getAttributeNode(e),
|
|
3124
|
+
from: s
|
|
3125
|
+
});
|
|
3126
|
+
} catch {
|
|
3127
|
+
Pe(o.removed, {
|
|
3128
|
+
attribute: null,
|
|
3129
|
+
from: s
|
|
3130
|
+
});
|
|
3131
|
+
}
|
|
3132
|
+
if (s.removeAttribute(e), e === "is")
|
|
3133
|
+
if (xe || je)
|
|
3134
|
+
try {
|
|
3135
|
+
J(s);
|
|
3136
|
+
} catch {
|
|
3137
|
+
}
|
|
3138
|
+
else
|
|
3139
|
+
try {
|
|
3140
|
+
s.setAttribute(e, "");
|
|
3141
|
+
} catch {
|
|
3142
|
+
}
|
|
3143
|
+
}, Dt = function(e) {
|
|
3144
|
+
let s = null, m = null;
|
|
3145
|
+
if (nt)
|
|
3146
|
+
e = "<remove></remove>" + e;
|
|
3147
|
+
else {
|
|
3148
|
+
const v = gt(e, /^[\r\n\t ]+/);
|
|
3149
|
+
m = v && v[0];
|
|
3150
|
+
}
|
|
3151
|
+
Ne === "application/xhtml+xml" && Se === ne && (e = '<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>' + e + "</body></html>");
|
|
3152
|
+
const _ = x ? x.createHTML(e) : e;
|
|
3153
|
+
if (Se === ne)
|
|
3154
|
+
try {
|
|
3155
|
+
s = new U().parseFromString(_, Ne);
|
|
3156
|
+
} catch {
|
|
3157
|
+
}
|
|
3158
|
+
if (!s || !s.documentElement) {
|
|
3159
|
+
s = Y.createDocument(Se, "template", null);
|
|
3160
|
+
try {
|
|
3161
|
+
s.documentElement.innerHTML = it ? j : _;
|
|
3162
|
+
} catch {
|
|
3163
|
+
}
|
|
3164
|
+
}
|
|
3165
|
+
const D = s.body || s.documentElement;
|
|
3166
|
+
return e && m && D.insertBefore(r.createTextNode(m), D.childNodes[0] || null), Se === ne ? X.call(s, he ? "html" : "body")[0] : he ? s.documentElement : D;
|
|
3167
|
+
}, Nt = function(e) {
|
|
3168
|
+
return ue.call(
|
|
3169
|
+
e.ownerDocument || e,
|
|
3170
|
+
e,
|
|
3171
|
+
// eslint-disable-next-line no-bitwise
|
|
3172
|
+
h.SHOW_ELEMENT | h.SHOW_COMMENT | h.SHOW_TEXT | h.SHOW_PROCESSING_INSTRUCTION | h.SHOW_CDATA_SECTION,
|
|
3173
|
+
null
|
|
3174
|
+
);
|
|
3175
|
+
}, dt = function(e) {
|
|
3176
|
+
return e instanceof N && (typeof e.nodeName != "string" || typeof e.textContent != "string" || typeof e.removeChild != "function" || !(e.attributes instanceof w) || typeof e.removeAttribute != "function" || typeof e.setAttribute != "function" || typeof e.namespaceURI != "string" || typeof e.insertBefore != "function" || typeof e.hasChildNodes != "function");
|
|
3177
|
+
}, Mt = function(e) {
|
|
3178
|
+
return typeof b == "function" && e instanceof b;
|
|
3179
|
+
};
|
|
3180
|
+
function re(u, e, s) {
|
|
3181
|
+
Je(u, (m) => {
|
|
3182
|
+
m.call(o, e, s, ve);
|
|
3183
|
+
});
|
|
3184
|
+
}
|
|
3185
|
+
const Pt = function(e) {
|
|
3186
|
+
let s = null;
|
|
3187
|
+
if (re(O.beforeSanitizeElements, e, null), dt(e))
|
|
3188
|
+
return J(e), !0;
|
|
3189
|
+
const m = R(e.nodeName);
|
|
3190
|
+
if (re(O.uponSanitizeElement, e, {
|
|
3191
|
+
tagName: m,
|
|
3192
|
+
allowedTags: S
|
|
3193
|
+
}), Be && e.hasChildNodes() && !Mt(e.firstElementChild) && P(/<[/\w!]/g, e.innerHTML) && P(/<[/\w!]/g, e.textContent) || e.nodeType === Ge.progressingInstruction || Be && e.nodeType === Ge.comment && P(/<[/\w]/g, e.data))
|
|
3194
|
+
return J(e), !0;
|
|
3195
|
+
if (!(oe.tagCheck instanceof Function && oe.tagCheck(m)) && (!S[m] || ce[m])) {
|
|
3196
|
+
if (!ce[m] && Ft(m) && (E.tagNameCheck instanceof RegExp && P(E.tagNameCheck, m) || E.tagNameCheck instanceof Function && E.tagNameCheck(m)))
|
|
3197
|
+
return !1;
|
|
3198
|
+
if (rt && !Z[m]) {
|
|
3199
|
+
const _ = K(e) || e.parentNode, D = ye(e) || e.childNodes;
|
|
3200
|
+
if (D && _) {
|
|
3201
|
+
const v = D.length;
|
|
3202
|
+
for (let G = v - 1; G >= 0; --G) {
|
|
3203
|
+
const se = W(D[G], !0);
|
|
3204
|
+
se.__removalCount = (e.__removalCount || 0) + 1, _.insertBefore(se, ee(e));
|
|
3205
|
+
}
|
|
3206
|
+
}
|
|
3207
|
+
}
|
|
3208
|
+
return J(e), !0;
|
|
3209
|
+
}
|
|
3210
|
+
return e instanceof f && !vo(e) || (m === "noscript" || m === "noembed" || m === "noframes") && P(/<\/no(script|embed|frames)/i, e.innerHTML) ? (J(e), !0) : (_e && e.nodeType === Ge.text && (s = e.textContent, Je([ie, Ae, fe], (_) => {
|
|
3211
|
+
s = ze(s, _, " ");
|
|
3212
|
+
}), e.textContent !== s && (Pe(o.removed, {
|
|
3213
|
+
element: e.cloneNode()
|
|
3214
|
+
}), e.textContent = s)), re(O.afterSanitizeElements, e, null), !1);
|
|
3215
|
+
}, zt = function(e, s, m) {
|
|
3216
|
+
if (kt && (s === "id" || s === "name") && (m in r || m in So))
|
|
3217
|
+
return !1;
|
|
3218
|
+
if (!(de && !k[s] && P(le, s))) {
|
|
3219
|
+
if (!(pe && P($, s))) {
|
|
3220
|
+
if (!(oe.attributeCheck instanceof Function && oe.attributeCheck(s, e))) {
|
|
3221
|
+
if (!A[s] || k[s]) {
|
|
3222
|
+
if (
|
|
3223
|
+
// First condition does a very basic check if a) it's basically a valid custom element tagname AND
|
|
3224
|
+
// b) if the tagName passes whatever the user has configured for CUSTOM_ELEMENT_HANDLING.tagNameCheck
|
|
3225
|
+
// and c) if the attribute name passes whatever the user has configured for CUSTOM_ELEMENT_HANDLING.attributeNameCheck
|
|
3226
|
+
!(Ft(e) && (E.tagNameCheck instanceof RegExp && P(E.tagNameCheck, e) || E.tagNameCheck instanceof Function && E.tagNameCheck(e)) && (E.attributeNameCheck instanceof RegExp && P(E.attributeNameCheck, s) || E.attributeNameCheck instanceof Function && E.attributeNameCheck(s, e)) || // Alternative, second condition checks if it's an `is`-attribute, AND
|
|
3227
|
+
// the value passes whatever the user has configured for CUSTOM_ELEMENT_HANDLING.tagNameCheck
|
|
3228
|
+
s === "is" && E.allowCustomizedBuiltInElements && (E.tagNameCheck instanceof RegExp && P(E.tagNameCheck, m) || E.tagNameCheck instanceof Function && E.tagNameCheck(m)))
|
|
3229
|
+
) return !1;
|
|
3230
|
+
} else if (!at[s]) {
|
|
3231
|
+
if (!P(Ie, ze(m, p, ""))) {
|
|
3232
|
+
if (!((s === "src" || s === "xlink:href" || s === "href") && e !== "script" && Rn(m, "data:") === 0 && vt[e])) {
|
|
3233
|
+
if (!(we && !P(te, ze(m, p, "")))) {
|
|
3234
|
+
if (m)
|
|
3235
|
+
return !1;
|
|
3236
|
+
}
|
|
3237
|
+
}
|
|
3238
|
+
}
|
|
3239
|
+
}
|
|
3240
|
+
}
|
|
3241
|
+
}
|
|
3242
|
+
}
|
|
3243
|
+
return !0;
|
|
3244
|
+
}, Ft = function(e) {
|
|
3245
|
+
return e !== "annotation-xml" && gt(e, We);
|
|
3246
|
+
}, Ut = function(e) {
|
|
3247
|
+
re(O.beforeSanitizeAttributes, e, null);
|
|
3248
|
+
const {
|
|
3249
|
+
attributes: s
|
|
3250
|
+
} = e;
|
|
3251
|
+
if (!s || dt(e))
|
|
3252
|
+
return;
|
|
3253
|
+
const m = {
|
|
3254
|
+
attrName: "",
|
|
3255
|
+
attrValue: "",
|
|
3256
|
+
keepAttr: !0,
|
|
3257
|
+
allowedAttributes: A,
|
|
3258
|
+
forceKeepAttr: void 0
|
|
3259
|
+
};
|
|
3260
|
+
let _ = s.length;
|
|
3261
|
+
for (; _--; ) {
|
|
3262
|
+
const D = s[_], {
|
|
3263
|
+
name: v,
|
|
3264
|
+
namespaceURI: G,
|
|
3265
|
+
value: se
|
|
3266
|
+
} = D, Re = R(v), mt = se;
|
|
3267
|
+
let L = v === "value" ? mt : Cn(mt);
|
|
3268
|
+
if (m.attrName = Re, m.attrValue = L, m.keepAttr = !0, m.forceKeepAttr = void 0, re(O.uponSanitizeAttribute, e, m), L = m.attrValue, St && (Re === "id" || Re === "name") && (be(v, e), L = Eo + L), Be && P(/((--!?|])>)|<\/(style|title|textarea)/i, L)) {
|
|
3269
|
+
be(v, e);
|
|
3270
|
+
continue;
|
|
3271
|
+
}
|
|
3272
|
+
if (Re === "attributename" && gt(L, "href")) {
|
|
3273
|
+
be(v, e);
|
|
3274
|
+
continue;
|
|
3275
|
+
}
|
|
3276
|
+
if (m.forceKeepAttr)
|
|
3277
|
+
continue;
|
|
3278
|
+
if (!m.keepAttr) {
|
|
3279
|
+
be(v, e);
|
|
3280
|
+
continue;
|
|
3281
|
+
}
|
|
3282
|
+
if (!ge && P(/\/>/i, L)) {
|
|
3283
|
+
be(v, e);
|
|
3284
|
+
continue;
|
|
3285
|
+
}
|
|
3286
|
+
_e && Je([ie, Ae, fe], (Ht) => {
|
|
3287
|
+
L = ze(L, Ht, " ");
|
|
3288
|
+
});
|
|
3289
|
+
const Gt = R(e.nodeName);
|
|
3290
|
+
if (!zt(Gt, Re, L)) {
|
|
3291
|
+
be(v, e);
|
|
3292
|
+
continue;
|
|
3293
|
+
}
|
|
3294
|
+
if (x && typeof B == "object" && typeof B.getAttributeType == "function" && !G)
|
|
3295
|
+
switch (B.getAttributeType(Gt, Re)) {
|
|
3296
|
+
case "TrustedHTML": {
|
|
3297
|
+
L = x.createHTML(L);
|
|
3298
|
+
break;
|
|
3299
|
+
}
|
|
3300
|
+
case "TrustedScriptURL": {
|
|
3301
|
+
L = x.createScriptURL(L);
|
|
3302
|
+
break;
|
|
3303
|
+
}
|
|
3304
|
+
}
|
|
3305
|
+
if (L !== mt)
|
|
3306
|
+
try {
|
|
3307
|
+
G ? e.setAttributeNS(G, v, L) : e.setAttribute(v, L), dt(e) ? J(e) : $t(o.removed);
|
|
3308
|
+
} catch {
|
|
3309
|
+
be(v, e);
|
|
3310
|
+
}
|
|
3311
|
+
}
|
|
3312
|
+
re(O.afterSanitizeAttributes, e, null);
|
|
3313
|
+
}, Ro = function u(e) {
|
|
3314
|
+
let s = null;
|
|
3315
|
+
const m = Nt(e);
|
|
3316
|
+
for (re(O.beforeSanitizeShadowDOM, e, null); s = m.nextNode(); )
|
|
3317
|
+
re(O.uponSanitizeShadowNode, s, null), Pt(s), Ut(s), s.content instanceof l && u(s.content);
|
|
3318
|
+
re(O.afterSanitizeShadowDOM, e, null);
|
|
3319
|
+
};
|
|
3320
|
+
return o.sanitize = function(u) {
|
|
3321
|
+
let e = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, s = null, m = null, _ = null, D = null;
|
|
3322
|
+
if (it = !u, it && (u = "<!-->"), typeof u != "string" && !Mt(u))
|
|
3323
|
+
if (typeof u.toString == "function") {
|
|
3324
|
+
if (u = u.toString(), typeof u != "string")
|
|
3325
|
+
throw Fe("dirty is not a string, aborting");
|
|
3326
|
+
} else
|
|
3327
|
+
throw Fe("toString is not a function");
|
|
3328
|
+
if (!o.isSupported)
|
|
3329
|
+
return u;
|
|
3330
|
+
if (ot || ct(e), o.removed = [], typeof u == "string" && (De = !1), De) {
|
|
3331
|
+
if (u.nodeName) {
|
|
3332
|
+
const se = R(u.nodeName);
|
|
3333
|
+
if (!S[se] || ce[se])
|
|
3334
|
+
throw Fe("root node is forbidden and cannot be sanitized in-place");
|
|
3335
|
+
}
|
|
3336
|
+
} else if (u instanceof b)
|
|
3337
|
+
s = Dt("<!---->"), m = s.ownerDocument.importNode(u, !0), m.nodeType === Ge.element && m.nodeName === "BODY" || m.nodeName === "HTML" ? s = m : s.appendChild(m);
|
|
3338
|
+
else {
|
|
3339
|
+
if (!xe && !_e && !he && // eslint-disable-next-line unicorn/prefer-includes
|
|
3340
|
+
u.indexOf("<") === -1)
|
|
3341
|
+
return x && Ve ? x.createHTML(u) : u;
|
|
3342
|
+
if (s = Dt(u), !s)
|
|
3343
|
+
return xe ? null : Ve ? j : "";
|
|
3344
|
+
}
|
|
3345
|
+
s && nt && J(s.firstChild);
|
|
3346
|
+
const v = Nt(De ? u : s);
|
|
3347
|
+
for (; _ = v.nextNode(); )
|
|
3348
|
+
Pt(_), Ut(_), _.content instanceof l && Ro(_.content);
|
|
3349
|
+
if (De)
|
|
3350
|
+
return u;
|
|
3351
|
+
if (xe) {
|
|
3352
|
+
if (je)
|
|
3353
|
+
for (D = g.call(s.ownerDocument); s.firstChild; )
|
|
3354
|
+
D.appendChild(s.firstChild);
|
|
3355
|
+
else
|
|
3356
|
+
D = s;
|
|
3357
|
+
return (A.shadowroot || A.shadowrootmode) && (D = He.call(n, D, !0)), D;
|
|
3358
|
+
}
|
|
3359
|
+
let G = he ? s.outerHTML : s.innerHTML;
|
|
3360
|
+
return he && S["!doctype"] && s.ownerDocument && s.ownerDocument.doctype && s.ownerDocument.doctype.name && P(yo, s.ownerDocument.doctype.name) && (G = "<!DOCTYPE " + s.ownerDocument.doctype.name + `>
|
|
3361
|
+
` + G), _e && Je([ie, Ae, fe], (se) => {
|
|
3362
|
+
G = ze(G, se, " ");
|
|
3363
|
+
}), x && Ve ? x.createHTML(G) : G;
|
|
3364
|
+
}, o.setConfig = function() {
|
|
3365
|
+
let u = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
|
|
3366
|
+
ct(u), ot = !0;
|
|
3367
|
+
}, o.clearConfig = function() {
|
|
3368
|
+
ve = null, ot = !1;
|
|
3369
|
+
}, o.isValidAttribute = function(u, e, s) {
|
|
3370
|
+
ve || ct({});
|
|
3371
|
+
const m = R(u), _ = R(e);
|
|
3372
|
+
return zt(m, _, s);
|
|
3373
|
+
}, o.addHook = function(u, e) {
|
|
3374
|
+
typeof e == "function" && Pe(O[u], e);
|
|
3375
|
+
}, o.removeHook = function(u, e) {
|
|
3376
|
+
if (e !== void 0) {
|
|
3377
|
+
const s = Sn(O[u], e);
|
|
3378
|
+
return s === -1 ? void 0 : vn(O[u], s, 1)[0];
|
|
3379
|
+
}
|
|
3380
|
+
return $t(O[u]);
|
|
3381
|
+
}, o.removeHooks = function(u) {
|
|
3382
|
+
O[u] = [];
|
|
3383
|
+
}, o.removeAllHooks = function() {
|
|
3384
|
+
O = eo();
|
|
3385
|
+
}, o;
|
|
3386
|
+
}
|
|
3387
|
+
var jn = Ao();
|
|
3388
|
+
const Vn = {
|
|
3389
|
+
addElements: [],
|
|
3390
|
+
allowElements: [],
|
|
3391
|
+
allowAttributes: {},
|
|
3392
|
+
dropElements: [],
|
|
3393
|
+
dropAttributes: {}
|
|
3394
|
+
}, to = (t) => t ? Array.from(new Set(Object.values(t).flat())) : [], Zn = ({
|
|
3395
|
+
content: t,
|
|
3396
|
+
config: o,
|
|
3397
|
+
tagName: r = "div",
|
|
3398
|
+
className: n
|
|
3399
|
+
}) => {
|
|
3400
|
+
const a = { ...Vn, ...o }, l = to(a.allowAttributes), i = l.length > 0 ? {
|
|
3401
|
+
ALLOWED_ATTR: [.../* @__PURE__ */ new Set([...l, "class", "id", "style"])]
|
|
3402
|
+
} : {}, b = to(a.dropAttributes), f = b.length > 0 ? { FORBID_ATTR: b } : {}, h = a.addElements && a.addElements.length > 0 && !(a.allowElements && a.allowElements.length > 0) ? { ADD_TAGS: a.addElements } : {}, w = a.allowElements && a.allowElements.length > 0 ? { ALLOWED_TAGS: a.allowElements } : {}, N = a.dropElements && a.dropElements.length > 0 ? { FORBID_TAGS: a.dropElements } : {}, U = {
|
|
3403
|
+
ALLOW_UNKNOWN_PROTOCOLS: !1,
|
|
3404
|
+
...h,
|
|
3405
|
+
...w,
|
|
3406
|
+
...f,
|
|
3407
|
+
...i,
|
|
3408
|
+
...N
|
|
3409
|
+
};
|
|
3410
|
+
return /* @__PURE__ */ oo(
|
|
3411
|
+
r,
|
|
3412
|
+
{
|
|
3413
|
+
className: n,
|
|
3414
|
+
dangerouslySetInnerHTML: {
|
|
3415
|
+
__html: jn.sanitize(t, U)
|
|
3416
|
+
}
|
|
3417
|
+
}
|
|
3418
|
+
);
|
|
3419
|
+
};
|
|
2806
3420
|
export {
|
|
2807
|
-
|
|
2808
|
-
|
|
2809
|
-
|
|
3421
|
+
Kn as ErrorBoundary,
|
|
3422
|
+
$n as OverlayRoot,
|
|
3423
|
+
Zn as SanitizeHtmlRender,
|
|
3424
|
+
qn as useOverlay
|
|
2810
3425
|
};
|