@petnow/ui 0.0.3 → 0.0.4
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.css +1 -1
- package/dist/index.es.js +2350 -825
- package/dist/index.es.js.map +1 -1
- package/dist/index.umd.js +13 -10
- package/dist/index.umd.js.map +1 -1
- package/dist/src/components/checkbox/Checkbox.d.ts +8 -0
- package/dist/src/components/checkbox/Checkbox.stories.d.ts +7 -0
- package/dist/src/components/input/LabeledAddressInput.d.ts +13 -0
- package/dist/src/components/input/LabeledAddressInput.stories.d.ts +7 -0
- package/dist/src/components/modal/Modal.d.ts +17 -0
- package/dist/src/components/modal/Modal.stories.d.ts +10 -0
- package/package.json +4 -1
package/dist/index.es.js
CHANGED
|
@@ -1,5 +1,7 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
1
|
+
import * as xe from "react";
|
|
2
|
+
import k, { useEffect as Q, useLayoutEffect as on, useRef as H, useState as Re, useMemo as ie, forwardRef as an, Fragment as Ke, isValidElement as ln, cloneElement as sn, createElement as un, createContext as ke, useContext as me, useReducer as cn, createRef as dn, useCallback as Kt } from "react";
|
|
3
|
+
import { createPortal as fn } from "react-dom";
|
|
4
|
+
var Pt = { exports: {} }, We = {};
|
|
3
5
|
/**
|
|
4
6
|
* @license React
|
|
5
7
|
* react-jsx-runtime.production.min.js
|
|
@@ -9,25 +11,25 @@ var ke = { exports: {} }, oe = {};
|
|
|
9
11
|
* This source code is licensed under the MIT license found in the
|
|
10
12
|
* LICENSE file in the root directory of this source tree.
|
|
11
13
|
*/
|
|
12
|
-
var
|
|
13
|
-
function
|
|
14
|
-
if (
|
|
15
|
-
return
|
|
16
|
-
|
|
17
|
-
var
|
|
18
|
-
function s
|
|
19
|
-
var
|
|
20
|
-
|
|
21
|
-
for (
|
|
22
|
-
n.call(
|
|
23
|
-
if (
|
|
24
|
-
for (
|
|
25
|
-
|
|
26
|
-
return { $$typeof:
|
|
14
|
+
var Jt;
|
|
15
|
+
function pn() {
|
|
16
|
+
if (Jt)
|
|
17
|
+
return We;
|
|
18
|
+
Jt = 1;
|
|
19
|
+
var e = k, t = Symbol.for("react.element"), r = Symbol.for("react.fragment"), n = Object.prototype.hasOwnProperty, o = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, l = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
20
|
+
function a(s, u, y) {
|
|
21
|
+
var c, p = {}, O = null, C = null;
|
|
22
|
+
y !== void 0 && (O = "" + y), u.key !== void 0 && (O = "" + u.key), u.ref !== void 0 && (C = u.ref);
|
|
23
|
+
for (c in u)
|
|
24
|
+
n.call(u, c) && !l.hasOwnProperty(c) && (p[c] = u[c]);
|
|
25
|
+
if (s && s.defaultProps)
|
|
26
|
+
for (c in u = s.defaultProps, u)
|
|
27
|
+
p[c] === void 0 && (p[c] = u[c]);
|
|
28
|
+
return { $$typeof: t, type: s, key: O, ref: C, props: p, _owner: o.current };
|
|
27
29
|
}
|
|
28
|
-
return
|
|
30
|
+
return We.Fragment = r, We.jsx = a, We.jsxs = a, We;
|
|
29
31
|
}
|
|
30
|
-
var
|
|
32
|
+
var Be = {};
|
|
31
33
|
/**
|
|
32
34
|
* @license React
|
|
33
35
|
* react-jsx-runtime.development.js
|
|
@@ -37,91 +39,91 @@ var ne = {};
|
|
|
37
39
|
* This source code is licensed under the MIT license found in the
|
|
38
40
|
* LICENSE file in the root directory of this source tree.
|
|
39
41
|
*/
|
|
40
|
-
var
|
|
41
|
-
function
|
|
42
|
-
return
|
|
43
|
-
var
|
|
44
|
-
function
|
|
45
|
-
if (
|
|
42
|
+
var Xt;
|
|
43
|
+
function mn() {
|
|
44
|
+
return Xt || (Xt = 1, process.env.NODE_ENV !== "production" && function() {
|
|
45
|
+
var e = k, t = Symbol.for("react.element"), r = Symbol.for("react.portal"), n = Symbol.for("react.fragment"), o = Symbol.for("react.strict_mode"), l = Symbol.for("react.profiler"), a = Symbol.for("react.provider"), s = Symbol.for("react.context"), u = Symbol.for("react.forward_ref"), y = Symbol.for("react.suspense"), c = Symbol.for("react.suspense_list"), p = Symbol.for("react.memo"), O = Symbol.for("react.lazy"), C = Symbol.for("react.offscreen"), b = Symbol.iterator, g = "@@iterator";
|
|
46
|
+
function x(i) {
|
|
47
|
+
if (i === null || typeof i != "object")
|
|
46
48
|
return null;
|
|
47
|
-
var
|
|
48
|
-
return typeof
|
|
49
|
+
var d = b && i[b] || i[g];
|
|
50
|
+
return typeof d == "function" ? d : null;
|
|
49
51
|
}
|
|
50
|
-
var
|
|
51
|
-
function
|
|
52
|
+
var E = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
53
|
+
function j(i) {
|
|
52
54
|
{
|
|
53
|
-
for (var
|
|
54
|
-
|
|
55
|
-
|
|
55
|
+
for (var d = arguments.length, h = new Array(d > 1 ? d - 1 : 0), S = 1; S < d; S++)
|
|
56
|
+
h[S - 1] = arguments[S];
|
|
57
|
+
$("error", i, h);
|
|
56
58
|
}
|
|
57
59
|
}
|
|
58
|
-
function
|
|
60
|
+
function $(i, d, h) {
|
|
59
61
|
{
|
|
60
|
-
var
|
|
61
|
-
|
|
62
|
-
var
|
|
63
|
-
return String(
|
|
62
|
+
var S = E.ReactDebugCurrentFrame, A = S.getStackAddendum();
|
|
63
|
+
A !== "" && (d += "%s", h = h.concat([A]));
|
|
64
|
+
var M = h.map(function(N) {
|
|
65
|
+
return String(N);
|
|
64
66
|
});
|
|
65
|
-
|
|
67
|
+
M.unshift("Warning: " + d), Function.prototype.apply.call(console[i], console, M);
|
|
66
68
|
}
|
|
67
69
|
}
|
|
68
|
-
var
|
|
69
|
-
|
|
70
|
-
function
|
|
71
|
-
return !!(typeof
|
|
70
|
+
var z = !1, G = !1, q = !1, ae = !1, Z = !1, V;
|
|
71
|
+
V = Symbol.for("react.module.reference");
|
|
72
|
+
function te(i) {
|
|
73
|
+
return !!(typeof i == "string" || typeof i == "function" || i === n || i === l || Z || i === o || i === y || i === c || ae || i === C || z || G || q || typeof i == "object" && i !== null && (i.$$typeof === O || i.$$typeof === p || i.$$typeof === a || i.$$typeof === s || i.$$typeof === u || // This needs to include all possible module reference object
|
|
72
74
|
// types supported by any Flight configuration anywhere since
|
|
73
75
|
// we don't know which Flight build this will end up being used
|
|
74
76
|
// with.
|
|
75
|
-
|
|
77
|
+
i.$$typeof === V || i.getModuleId !== void 0));
|
|
76
78
|
}
|
|
77
|
-
function
|
|
78
|
-
var
|
|
79
|
-
if (
|
|
80
|
-
return
|
|
81
|
-
var
|
|
82
|
-
return
|
|
79
|
+
function m(i, d, h) {
|
|
80
|
+
var S = i.displayName;
|
|
81
|
+
if (S)
|
|
82
|
+
return S;
|
|
83
|
+
var A = d.displayName || d.name || "";
|
|
84
|
+
return A !== "" ? h + "(" + A + ")" : h;
|
|
83
85
|
}
|
|
84
|
-
function
|
|
85
|
-
return
|
|
86
|
+
function f(i) {
|
|
87
|
+
return i.displayName || "Context";
|
|
86
88
|
}
|
|
87
|
-
function
|
|
88
|
-
if (
|
|
89
|
+
function w(i) {
|
|
90
|
+
if (i == null)
|
|
89
91
|
return null;
|
|
90
|
-
if (typeof
|
|
91
|
-
return
|
|
92
|
-
if (typeof
|
|
93
|
-
return
|
|
94
|
-
switch (
|
|
92
|
+
if (typeof i.tag == "number" && j("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof i == "function")
|
|
93
|
+
return i.displayName || i.name || null;
|
|
94
|
+
if (typeof i == "string")
|
|
95
|
+
return i;
|
|
96
|
+
switch (i) {
|
|
95
97
|
case n:
|
|
96
98
|
return "Fragment";
|
|
97
|
-
case
|
|
99
|
+
case r:
|
|
98
100
|
return "Portal";
|
|
99
101
|
case l:
|
|
100
102
|
return "Profiler";
|
|
101
|
-
case
|
|
103
|
+
case o:
|
|
102
104
|
return "StrictMode";
|
|
103
|
-
case
|
|
105
|
+
case y:
|
|
104
106
|
return "Suspense";
|
|
105
|
-
case
|
|
107
|
+
case c:
|
|
106
108
|
return "SuspenseList";
|
|
107
109
|
}
|
|
108
|
-
if (typeof
|
|
109
|
-
switch (
|
|
110
|
-
case d:
|
|
111
|
-
var t = e;
|
|
112
|
-
return h(t) + ".Consumer";
|
|
110
|
+
if (typeof i == "object")
|
|
111
|
+
switch (i.$$typeof) {
|
|
113
112
|
case s:
|
|
114
|
-
var
|
|
115
|
-
return
|
|
113
|
+
var d = i;
|
|
114
|
+
return f(d) + ".Consumer";
|
|
115
|
+
case a:
|
|
116
|
+
var h = i;
|
|
117
|
+
return f(h._context) + ".Provider";
|
|
118
|
+
case u:
|
|
119
|
+
return m(i, i.render, "ForwardRef");
|
|
116
120
|
case p:
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
case S: {
|
|
122
|
-
var v = e, y = v._payload, m = v._init;
|
|
121
|
+
var S = i.displayName || null;
|
|
122
|
+
return S !== null ? S : w(i.type) || "Memo";
|
|
123
|
+
case O: {
|
|
124
|
+
var A = i, M = A._payload, N = A._init;
|
|
123
125
|
try {
|
|
124
|
-
return
|
|
126
|
+
return w(N(M));
|
|
125
127
|
} catch {
|
|
126
128
|
return null;
|
|
127
129
|
}
|
|
@@ -129,857 +131,857 @@ function Sr() {
|
|
|
129
131
|
}
|
|
130
132
|
return null;
|
|
131
133
|
}
|
|
132
|
-
var
|
|
133
|
-
function
|
|
134
|
+
var v = Object.assign, _ = 0, D, W, K, L, ue, ee, re;
|
|
135
|
+
function Le() {
|
|
134
136
|
}
|
|
135
|
-
|
|
136
|
-
function
|
|
137
|
+
Le.__reactDisabledLog = !0;
|
|
138
|
+
function Ie() {
|
|
137
139
|
{
|
|
138
|
-
if (
|
|
139
|
-
|
|
140
|
-
var
|
|
140
|
+
if (_ === 0) {
|
|
141
|
+
D = console.log, W = console.info, K = console.warn, L = console.error, ue = console.group, ee = console.groupCollapsed, re = console.groupEnd;
|
|
142
|
+
var i = {
|
|
141
143
|
configurable: !0,
|
|
142
144
|
enumerable: !0,
|
|
143
|
-
value:
|
|
145
|
+
value: Le,
|
|
144
146
|
writable: !0
|
|
145
147
|
};
|
|
146
148
|
Object.defineProperties(console, {
|
|
147
|
-
info:
|
|
148
|
-
log:
|
|
149
|
-
warn:
|
|
150
|
-
error:
|
|
151
|
-
group:
|
|
152
|
-
groupCollapsed:
|
|
153
|
-
groupEnd:
|
|
149
|
+
info: i,
|
|
150
|
+
log: i,
|
|
151
|
+
warn: i,
|
|
152
|
+
error: i,
|
|
153
|
+
group: i,
|
|
154
|
+
groupCollapsed: i,
|
|
155
|
+
groupEnd: i
|
|
154
156
|
});
|
|
155
157
|
}
|
|
156
|
-
|
|
158
|
+
_++;
|
|
157
159
|
}
|
|
158
160
|
}
|
|
159
|
-
function
|
|
161
|
+
function Qe() {
|
|
160
162
|
{
|
|
161
|
-
if (
|
|
162
|
-
var
|
|
163
|
+
if (_--, _ === 0) {
|
|
164
|
+
var i = {
|
|
163
165
|
configurable: !0,
|
|
164
166
|
enumerable: !0,
|
|
165
167
|
writable: !0
|
|
166
168
|
};
|
|
167
169
|
Object.defineProperties(console, {
|
|
168
|
-
log:
|
|
169
|
-
value:
|
|
170
|
+
log: v({}, i, {
|
|
171
|
+
value: D
|
|
170
172
|
}),
|
|
171
|
-
info:
|
|
172
|
-
value:
|
|
173
|
+
info: v({}, i, {
|
|
174
|
+
value: W
|
|
173
175
|
}),
|
|
174
|
-
warn:
|
|
175
|
-
value:
|
|
176
|
+
warn: v({}, i, {
|
|
177
|
+
value: K
|
|
176
178
|
}),
|
|
177
|
-
error:
|
|
178
|
-
value:
|
|
179
|
+
error: v({}, i, {
|
|
180
|
+
value: L
|
|
179
181
|
}),
|
|
180
|
-
group:
|
|
181
|
-
value:
|
|
182
|
+
group: v({}, i, {
|
|
183
|
+
value: ue
|
|
182
184
|
}),
|
|
183
|
-
groupCollapsed:
|
|
184
|
-
value:
|
|
185
|
+
groupCollapsed: v({}, i, {
|
|
186
|
+
value: ee
|
|
185
187
|
}),
|
|
186
|
-
groupEnd:
|
|
187
|
-
value:
|
|
188
|
+
groupEnd: v({}, i, {
|
|
189
|
+
value: re
|
|
188
190
|
})
|
|
189
191
|
});
|
|
190
192
|
}
|
|
191
|
-
|
|
193
|
+
_ < 0 && j("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
|
|
192
194
|
}
|
|
193
195
|
}
|
|
194
|
-
var
|
|
195
|
-
function
|
|
196
|
+
var Oe = E.ReactCurrentDispatcher, Pe;
|
|
197
|
+
function Ce(i, d, h) {
|
|
196
198
|
{
|
|
197
|
-
if (
|
|
199
|
+
if (Pe === void 0)
|
|
198
200
|
try {
|
|
199
201
|
throw Error();
|
|
200
|
-
} catch (
|
|
201
|
-
var
|
|
202
|
-
|
|
202
|
+
} catch (A) {
|
|
203
|
+
var S = A.stack.trim().match(/\n( *(at )?)/);
|
|
204
|
+
Pe = S && S[1] || "";
|
|
203
205
|
}
|
|
204
206
|
return `
|
|
205
|
-
` +
|
|
207
|
+
` + Pe + i;
|
|
206
208
|
}
|
|
207
209
|
}
|
|
208
|
-
var
|
|
210
|
+
var be = !1, $e;
|
|
209
211
|
{
|
|
210
|
-
var
|
|
211
|
-
|
|
212
|
+
var I = typeof WeakMap == "function" ? WeakMap : Map;
|
|
213
|
+
$e = new I();
|
|
212
214
|
}
|
|
213
|
-
function
|
|
214
|
-
if (!
|
|
215
|
+
function ne(i, d) {
|
|
216
|
+
if (!i || be)
|
|
215
217
|
return "";
|
|
216
218
|
{
|
|
217
|
-
var
|
|
218
|
-
if (
|
|
219
|
-
return
|
|
219
|
+
var h = $e.get(i);
|
|
220
|
+
if (h !== void 0)
|
|
221
|
+
return h;
|
|
220
222
|
}
|
|
221
|
-
var
|
|
222
|
-
|
|
223
|
-
var
|
|
223
|
+
var S;
|
|
224
|
+
be = !0;
|
|
225
|
+
var A = Error.prepareStackTrace;
|
|
224
226
|
Error.prepareStackTrace = void 0;
|
|
225
|
-
var
|
|
226
|
-
|
|
227
|
+
var M;
|
|
228
|
+
M = Oe.current, Oe.current = null, Ie();
|
|
227
229
|
try {
|
|
228
|
-
if (
|
|
229
|
-
var
|
|
230
|
+
if (d) {
|
|
231
|
+
var N = function() {
|
|
230
232
|
throw Error();
|
|
231
233
|
};
|
|
232
|
-
if (Object.defineProperty(
|
|
234
|
+
if (Object.defineProperty(N.prototype, "props", {
|
|
233
235
|
set: function() {
|
|
234
236
|
throw Error();
|
|
235
237
|
}
|
|
236
238
|
}), typeof Reflect == "object" && Reflect.construct) {
|
|
237
239
|
try {
|
|
238
|
-
Reflect.construct(
|
|
239
|
-
} catch (
|
|
240
|
-
|
|
240
|
+
Reflect.construct(N, []);
|
|
241
|
+
} catch (ce) {
|
|
242
|
+
S = ce;
|
|
241
243
|
}
|
|
242
|
-
Reflect.construct(
|
|
244
|
+
Reflect.construct(i, [], N);
|
|
243
245
|
} else {
|
|
244
246
|
try {
|
|
245
|
-
|
|
246
|
-
} catch (
|
|
247
|
-
|
|
247
|
+
N.call();
|
|
248
|
+
} catch (ce) {
|
|
249
|
+
S = ce;
|
|
248
250
|
}
|
|
249
|
-
|
|
251
|
+
i.call(N.prototype);
|
|
250
252
|
}
|
|
251
253
|
} else {
|
|
252
254
|
try {
|
|
253
255
|
throw Error();
|
|
254
|
-
} catch (
|
|
255
|
-
|
|
256
|
+
} catch (ce) {
|
|
257
|
+
S = ce;
|
|
256
258
|
}
|
|
257
|
-
|
|
259
|
+
i();
|
|
258
260
|
}
|
|
259
|
-
} catch (
|
|
260
|
-
if (
|
|
261
|
-
for (var
|
|
262
|
-
`),
|
|
263
|
-
`),
|
|
264
|
-
|
|
265
|
-
for (;
|
|
266
|
-
if (
|
|
267
|
-
if (
|
|
261
|
+
} catch (ce) {
|
|
262
|
+
if (ce && S && typeof ce.stack == "string") {
|
|
263
|
+
for (var R = ce.stack.split(`
|
|
264
|
+
`), J = S.stack.split(`
|
|
265
|
+
`), B = R.length - 1, U = J.length - 1; B >= 1 && U >= 0 && R[B] !== J[U]; )
|
|
266
|
+
U--;
|
|
267
|
+
for (; B >= 1 && U >= 0; B--, U--)
|
|
268
|
+
if (R[B] !== J[U]) {
|
|
269
|
+
if (B !== 1 || U !== 1)
|
|
268
270
|
do
|
|
269
|
-
if (
|
|
270
|
-
var
|
|
271
|
-
` +
|
|
272
|
-
return
|
|
271
|
+
if (B--, U--, U < 0 || R[B] !== J[U]) {
|
|
272
|
+
var oe = `
|
|
273
|
+
` + R[B].replace(" at new ", " at ");
|
|
274
|
+
return i.displayName && oe.includes("<anonymous>") && (oe = oe.replace("<anonymous>", i.displayName)), typeof i == "function" && $e.set(i, oe), oe;
|
|
273
275
|
}
|
|
274
|
-
while (
|
|
276
|
+
while (B >= 1 && U >= 0);
|
|
275
277
|
break;
|
|
276
278
|
}
|
|
277
279
|
}
|
|
278
280
|
} finally {
|
|
279
|
-
|
|
281
|
+
be = !1, Oe.current = M, Qe(), Error.prepareStackTrace = A;
|
|
280
282
|
}
|
|
281
|
-
var
|
|
282
|
-
return typeof
|
|
283
|
+
var De = i ? i.displayName || i.name : "", qt = De ? Ce(De) : "";
|
|
284
|
+
return typeof i == "function" && $e.set(i, qt), qt;
|
|
283
285
|
}
|
|
284
|
-
function
|
|
285
|
-
return
|
|
286
|
+
function X(i, d, h) {
|
|
287
|
+
return ne(i, !1);
|
|
286
288
|
}
|
|
287
|
-
function
|
|
288
|
-
var
|
|
289
|
-
return !!(
|
|
289
|
+
function Ne(i) {
|
|
290
|
+
var d = i.prototype;
|
|
291
|
+
return !!(d && d.isReactComponent);
|
|
290
292
|
}
|
|
291
|
-
function
|
|
292
|
-
if (
|
|
293
|
+
function Ze(i, d, h) {
|
|
294
|
+
if (i == null)
|
|
293
295
|
return "";
|
|
294
|
-
if (typeof
|
|
295
|
-
return
|
|
296
|
-
if (typeof
|
|
297
|
-
return
|
|
298
|
-
switch (
|
|
299
|
-
case
|
|
300
|
-
return
|
|
301
|
-
case
|
|
302
|
-
return
|
|
296
|
+
if (typeof i == "function")
|
|
297
|
+
return ne(i, Ne(i));
|
|
298
|
+
if (typeof i == "string")
|
|
299
|
+
return Ce(i);
|
|
300
|
+
switch (i) {
|
|
301
|
+
case y:
|
|
302
|
+
return Ce("Suspense");
|
|
303
|
+
case c:
|
|
304
|
+
return Ce("SuspenseList");
|
|
303
305
|
}
|
|
304
|
-
if (typeof
|
|
305
|
-
switch (
|
|
306
|
+
if (typeof i == "object")
|
|
307
|
+
switch (i.$$typeof) {
|
|
308
|
+
case u:
|
|
309
|
+
return X(i.render);
|
|
306
310
|
case p:
|
|
307
|
-
return
|
|
308
|
-
case
|
|
309
|
-
|
|
310
|
-
case S: {
|
|
311
|
-
var u = e, v = u._payload, y = u._init;
|
|
311
|
+
return Ze(i.type, d, h);
|
|
312
|
+
case O: {
|
|
313
|
+
var S = i, A = S._payload, M = S._init;
|
|
312
314
|
try {
|
|
313
|
-
return
|
|
315
|
+
return Ze(M(A), d, h);
|
|
314
316
|
} catch {
|
|
315
317
|
}
|
|
316
318
|
}
|
|
317
319
|
}
|
|
318
320
|
return "";
|
|
319
321
|
}
|
|
320
|
-
var
|
|
321
|
-
function
|
|
322
|
-
if (
|
|
323
|
-
var
|
|
324
|
-
|
|
322
|
+
var et = Object.prototype.hasOwnProperty, Mt = {}, Ft = E.ReactDebugCurrentFrame;
|
|
323
|
+
function tt(i) {
|
|
324
|
+
if (i) {
|
|
325
|
+
var d = i._owner, h = Ze(i.type, i._source, d ? d.type : null);
|
|
326
|
+
Ft.setExtraStackFrame(h);
|
|
325
327
|
} else
|
|
326
|
-
|
|
328
|
+
Ft.setExtraStackFrame(null);
|
|
327
329
|
}
|
|
328
|
-
function
|
|
330
|
+
function Lr(i, d, h, S, A) {
|
|
329
331
|
{
|
|
330
|
-
var
|
|
331
|
-
for (var
|
|
332
|
-
if (
|
|
333
|
-
var
|
|
332
|
+
var M = Function.call.bind(et);
|
|
333
|
+
for (var N in i)
|
|
334
|
+
if (M(i, N)) {
|
|
335
|
+
var R = void 0;
|
|
334
336
|
try {
|
|
335
|
-
if (typeof
|
|
336
|
-
var
|
|
337
|
-
throw
|
|
337
|
+
if (typeof i[N] != "function") {
|
|
338
|
+
var J = Error((S || "React class") + ": " + h + " type `" + N + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof i[N] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
|
|
339
|
+
throw J.name = "Invariant Violation", J;
|
|
338
340
|
}
|
|
339
|
-
|
|
340
|
-
} catch (
|
|
341
|
-
|
|
341
|
+
R = i[N](d, N, S, h, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
|
342
|
+
} catch (B) {
|
|
343
|
+
R = B;
|
|
342
344
|
}
|
|
343
|
-
|
|
345
|
+
R && !(R instanceof Error) && (tt(A), j("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", S || "React class", h, N, typeof R), tt(null)), R instanceof Error && !(R.message in Mt) && (Mt[R.message] = !0, tt(A), j("Failed %s type: %s", h, R.message), tt(null));
|
|
344
346
|
}
|
|
345
347
|
}
|
|
346
348
|
}
|
|
347
|
-
var
|
|
348
|
-
function
|
|
349
|
-
return
|
|
349
|
+
var Ir = Array.isArray;
|
|
350
|
+
function gt(i) {
|
|
351
|
+
return Ir(i);
|
|
350
352
|
}
|
|
351
|
-
function
|
|
353
|
+
function zr(i) {
|
|
352
354
|
{
|
|
353
|
-
var
|
|
354
|
-
return
|
|
355
|
+
var d = typeof Symbol == "function" && Symbol.toStringTag, h = d && i[Symbol.toStringTag] || i.constructor.name || "Object";
|
|
356
|
+
return h;
|
|
355
357
|
}
|
|
356
358
|
}
|
|
357
|
-
function
|
|
359
|
+
function Wr(i) {
|
|
358
360
|
try {
|
|
359
|
-
return
|
|
361
|
+
return Lt(i), !1;
|
|
360
362
|
} catch {
|
|
361
363
|
return !0;
|
|
362
364
|
}
|
|
363
365
|
}
|
|
364
|
-
function
|
|
365
|
-
return "" +
|
|
366
|
+
function Lt(i) {
|
|
367
|
+
return "" + i;
|
|
366
368
|
}
|
|
367
|
-
function
|
|
368
|
-
if (
|
|
369
|
-
return
|
|
369
|
+
function It(i) {
|
|
370
|
+
if (Wr(i))
|
|
371
|
+
return j("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", zr(i)), Lt(i);
|
|
370
372
|
}
|
|
371
|
-
var
|
|
373
|
+
var ze = E.ReactCurrentOwner, Br = {
|
|
372
374
|
key: !0,
|
|
373
375
|
ref: !0,
|
|
374
376
|
__self: !0,
|
|
375
377
|
__source: !0
|
|
376
|
-
},
|
|
377
|
-
|
|
378
|
-
function
|
|
379
|
-
if (
|
|
380
|
-
var
|
|
381
|
-
if (
|
|
378
|
+
}, zt, Wt, bt;
|
|
379
|
+
bt = {};
|
|
380
|
+
function Ur(i) {
|
|
381
|
+
if (et.call(i, "ref")) {
|
|
382
|
+
var d = Object.getOwnPropertyDescriptor(i, "ref").get;
|
|
383
|
+
if (d && d.isReactWarning)
|
|
382
384
|
return !1;
|
|
383
385
|
}
|
|
384
|
-
return
|
|
386
|
+
return i.ref !== void 0;
|
|
385
387
|
}
|
|
386
|
-
function
|
|
387
|
-
if (
|
|
388
|
-
var
|
|
389
|
-
if (
|
|
388
|
+
function Hr(i) {
|
|
389
|
+
if (et.call(i, "key")) {
|
|
390
|
+
var d = Object.getOwnPropertyDescriptor(i, "key").get;
|
|
391
|
+
if (d && d.isReactWarning)
|
|
390
392
|
return !1;
|
|
391
393
|
}
|
|
392
|
-
return
|
|
394
|
+
return i.key !== void 0;
|
|
393
395
|
}
|
|
394
|
-
function
|
|
395
|
-
if (typeof
|
|
396
|
-
var
|
|
397
|
-
|
|
396
|
+
function Gr(i, d) {
|
|
397
|
+
if (typeof i.ref == "string" && ze.current && d && ze.current.stateNode !== d) {
|
|
398
|
+
var h = w(ze.current.type);
|
|
399
|
+
bt[h] || (j('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref', w(ze.current.type), i.ref), bt[h] = !0);
|
|
398
400
|
}
|
|
399
401
|
}
|
|
400
|
-
function
|
|
402
|
+
function Vr(i, d) {
|
|
401
403
|
{
|
|
402
|
-
var
|
|
403
|
-
|
|
404
|
+
var h = function() {
|
|
405
|
+
zt || (zt = !0, j("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", d));
|
|
404
406
|
};
|
|
405
|
-
|
|
406
|
-
get:
|
|
407
|
+
h.isReactWarning = !0, Object.defineProperty(i, "key", {
|
|
408
|
+
get: h,
|
|
407
409
|
configurable: !0
|
|
408
410
|
});
|
|
409
411
|
}
|
|
410
412
|
}
|
|
411
|
-
function
|
|
413
|
+
function Yr(i, d) {
|
|
412
414
|
{
|
|
413
|
-
var
|
|
414
|
-
|
|
415
|
+
var h = function() {
|
|
416
|
+
Wt || (Wt = !0, j("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", d));
|
|
415
417
|
};
|
|
416
|
-
|
|
417
|
-
get:
|
|
418
|
+
h.isReactWarning = !0, Object.defineProperty(i, "ref", {
|
|
419
|
+
get: h,
|
|
418
420
|
configurable: !0
|
|
419
421
|
});
|
|
420
422
|
}
|
|
421
423
|
}
|
|
422
|
-
var
|
|
423
|
-
var
|
|
424
|
+
var qr = function(i, d, h, S, A, M, N) {
|
|
425
|
+
var R = {
|
|
424
426
|
// This tag allows us to uniquely identify this as a React Element
|
|
425
|
-
$$typeof:
|
|
427
|
+
$$typeof: t,
|
|
426
428
|
// Built-in properties that belong on the element
|
|
427
|
-
type:
|
|
428
|
-
key:
|
|
429
|
-
ref:
|
|
430
|
-
props:
|
|
429
|
+
type: i,
|
|
430
|
+
key: d,
|
|
431
|
+
ref: h,
|
|
432
|
+
props: N,
|
|
431
433
|
// Record the component responsible for creating this element.
|
|
432
|
-
_owner:
|
|
434
|
+
_owner: M
|
|
433
435
|
};
|
|
434
|
-
return
|
|
436
|
+
return R._store = {}, Object.defineProperty(R._store, "validated", {
|
|
435
437
|
configurable: !1,
|
|
436
438
|
enumerable: !1,
|
|
437
439
|
writable: !0,
|
|
438
440
|
value: !1
|
|
439
|
-
}), Object.defineProperty(
|
|
441
|
+
}), Object.defineProperty(R, "_self", {
|
|
440
442
|
configurable: !1,
|
|
441
443
|
enumerable: !1,
|
|
442
444
|
writable: !1,
|
|
443
|
-
value:
|
|
444
|
-
}), Object.defineProperty(
|
|
445
|
+
value: S
|
|
446
|
+
}), Object.defineProperty(R, "_source", {
|
|
445
447
|
configurable: !1,
|
|
446
448
|
enumerable: !1,
|
|
447
449
|
writable: !1,
|
|
448
|
-
value:
|
|
449
|
-
}), Object.freeze && (Object.freeze(
|
|
450
|
+
value: A
|
|
451
|
+
}), Object.freeze && (Object.freeze(R.props), Object.freeze(R)), R;
|
|
450
452
|
};
|
|
451
|
-
function
|
|
453
|
+
function Kr(i, d, h, S, A) {
|
|
452
454
|
{
|
|
453
|
-
var
|
|
454
|
-
|
|
455
|
-
for (
|
|
456
|
-
|
|
457
|
-
if (
|
|
458
|
-
var
|
|
459
|
-
for (
|
|
460
|
-
|
|
455
|
+
var M, N = {}, R = null, J = null;
|
|
456
|
+
h !== void 0 && (It(h), R = "" + h), Hr(d) && (It(d.key), R = "" + d.key), Ur(d) && (J = d.ref, Gr(d, A));
|
|
457
|
+
for (M in d)
|
|
458
|
+
et.call(d, M) && !Br.hasOwnProperty(M) && (N[M] = d[M]);
|
|
459
|
+
if (i && i.defaultProps) {
|
|
460
|
+
var B = i.defaultProps;
|
|
461
|
+
for (M in B)
|
|
462
|
+
N[M] === void 0 && (N[M] = B[M]);
|
|
461
463
|
}
|
|
462
|
-
if (
|
|
463
|
-
var
|
|
464
|
-
|
|
464
|
+
if (R || J) {
|
|
465
|
+
var U = typeof i == "function" ? i.displayName || i.name || "Unknown" : i;
|
|
466
|
+
R && Vr(N, U), J && Yr(N, U);
|
|
465
467
|
}
|
|
466
|
-
return
|
|
468
|
+
return qr(i, R, J, A, S, ze.current, N);
|
|
467
469
|
}
|
|
468
470
|
}
|
|
469
|
-
var
|
|
470
|
-
function
|
|
471
|
-
if (
|
|
472
|
-
var
|
|
473
|
-
|
|
471
|
+
var ht = E.ReactCurrentOwner, Bt = E.ReactDebugCurrentFrame;
|
|
472
|
+
function Ae(i) {
|
|
473
|
+
if (i) {
|
|
474
|
+
var d = i._owner, h = Ze(i.type, i._source, d ? d.type : null);
|
|
475
|
+
Bt.setExtraStackFrame(h);
|
|
474
476
|
} else
|
|
475
|
-
|
|
477
|
+
Bt.setExtraStackFrame(null);
|
|
476
478
|
}
|
|
477
|
-
var
|
|
478
|
-
|
|
479
|
-
function
|
|
480
|
-
return typeof
|
|
479
|
+
var vt;
|
|
480
|
+
vt = !1;
|
|
481
|
+
function yt(i) {
|
|
482
|
+
return typeof i == "object" && i !== null && i.$$typeof === t;
|
|
481
483
|
}
|
|
482
|
-
function
|
|
484
|
+
function Ut() {
|
|
483
485
|
{
|
|
484
|
-
if (
|
|
485
|
-
var
|
|
486
|
-
if (
|
|
486
|
+
if (ht.current) {
|
|
487
|
+
var i = w(ht.current.type);
|
|
488
|
+
if (i)
|
|
487
489
|
return `
|
|
488
490
|
|
|
489
|
-
Check the render method of \`` +
|
|
491
|
+
Check the render method of \`` + i + "`.";
|
|
490
492
|
}
|
|
491
493
|
return "";
|
|
492
494
|
}
|
|
493
495
|
}
|
|
494
|
-
function
|
|
496
|
+
function Jr(i) {
|
|
495
497
|
{
|
|
496
|
-
if (
|
|
497
|
-
var
|
|
498
|
+
if (i !== void 0) {
|
|
499
|
+
var d = i.fileName.replace(/^.*[\\\/]/, ""), h = i.lineNumber;
|
|
498
500
|
return `
|
|
499
501
|
|
|
500
|
-
Check your code at ` +
|
|
502
|
+
Check your code at ` + d + ":" + h + ".";
|
|
501
503
|
}
|
|
502
504
|
return "";
|
|
503
505
|
}
|
|
504
506
|
}
|
|
505
|
-
var
|
|
506
|
-
function
|
|
507
|
+
var Ht = {};
|
|
508
|
+
function Xr(i) {
|
|
507
509
|
{
|
|
508
|
-
var
|
|
509
|
-
if (!
|
|
510
|
-
var
|
|
511
|
-
|
|
510
|
+
var d = Ut();
|
|
511
|
+
if (!d) {
|
|
512
|
+
var h = typeof i == "string" ? i : i.displayName || i.name;
|
|
513
|
+
h && (d = `
|
|
512
514
|
|
|
513
|
-
Check the top-level render call using <` +
|
|
515
|
+
Check the top-level render call using <` + h + ">.");
|
|
514
516
|
}
|
|
515
|
-
return
|
|
517
|
+
return d;
|
|
516
518
|
}
|
|
517
519
|
}
|
|
518
|
-
function
|
|
520
|
+
function Gt(i, d) {
|
|
519
521
|
{
|
|
520
|
-
if (!
|
|
522
|
+
if (!i._store || i._store.validated || i.key != null)
|
|
521
523
|
return;
|
|
522
|
-
|
|
523
|
-
var
|
|
524
|
-
if (
|
|
524
|
+
i._store.validated = !0;
|
|
525
|
+
var h = Xr(d);
|
|
526
|
+
if (Ht[h])
|
|
525
527
|
return;
|
|
526
|
-
|
|
527
|
-
var
|
|
528
|
-
|
|
528
|
+
Ht[h] = !0;
|
|
529
|
+
var S = "";
|
|
530
|
+
i && i._owner && i._owner !== ht.current && (S = " It was passed a child from " + w(i._owner.type) + "."), Ae(i), j('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', h, S), Ae(null);
|
|
529
531
|
}
|
|
530
532
|
}
|
|
531
|
-
function
|
|
533
|
+
function Vt(i, d) {
|
|
532
534
|
{
|
|
533
|
-
if (typeof
|
|
535
|
+
if (typeof i != "object")
|
|
534
536
|
return;
|
|
535
|
-
if (
|
|
536
|
-
for (var
|
|
537
|
-
var
|
|
538
|
-
|
|
537
|
+
if (gt(i))
|
|
538
|
+
for (var h = 0; h < i.length; h++) {
|
|
539
|
+
var S = i[h];
|
|
540
|
+
yt(S) && Gt(S, d);
|
|
539
541
|
}
|
|
540
|
-
else if (
|
|
541
|
-
|
|
542
|
-
else if (
|
|
543
|
-
var
|
|
544
|
-
if (typeof
|
|
545
|
-
for (var
|
|
546
|
-
|
|
542
|
+
else if (yt(i))
|
|
543
|
+
i._store && (i._store.validated = !0);
|
|
544
|
+
else if (i) {
|
|
545
|
+
var A = x(i);
|
|
546
|
+
if (typeof A == "function" && A !== i.entries)
|
|
547
|
+
for (var M = A.call(i), N; !(N = M.next()).done; )
|
|
548
|
+
yt(N.value) && Gt(N.value, d);
|
|
547
549
|
}
|
|
548
550
|
}
|
|
549
551
|
}
|
|
550
|
-
function
|
|
552
|
+
function Qr(i) {
|
|
551
553
|
{
|
|
552
|
-
var
|
|
553
|
-
if (
|
|
554
|
+
var d = i.type;
|
|
555
|
+
if (d == null || typeof d == "string")
|
|
554
556
|
return;
|
|
555
|
-
var
|
|
556
|
-
if (typeof
|
|
557
|
-
|
|
558
|
-
else if (typeof
|
|
557
|
+
var h;
|
|
558
|
+
if (typeof d == "function")
|
|
559
|
+
h = d.propTypes;
|
|
560
|
+
else if (typeof d == "object" && (d.$$typeof === u || // Note: Memo only checks outer props here.
|
|
559
561
|
// Inner props are checked in the reconciler.
|
|
560
|
-
|
|
561
|
-
|
|
562
|
+
d.$$typeof === p))
|
|
563
|
+
h = d.propTypes;
|
|
562
564
|
else
|
|
563
565
|
return;
|
|
564
|
-
if (
|
|
565
|
-
var
|
|
566
|
-
|
|
567
|
-
} else if (
|
|
568
|
-
|
|
569
|
-
var
|
|
570
|
-
|
|
566
|
+
if (h) {
|
|
567
|
+
var S = w(d);
|
|
568
|
+
Lr(h, i.props, "prop", S, i);
|
|
569
|
+
} else if (d.PropTypes !== void 0 && !vt) {
|
|
570
|
+
vt = !0;
|
|
571
|
+
var A = w(d);
|
|
572
|
+
j("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", A || "Unknown");
|
|
571
573
|
}
|
|
572
|
-
typeof
|
|
574
|
+
typeof d.getDefaultProps == "function" && !d.getDefaultProps.isReactClassApproved && j("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
|
|
573
575
|
}
|
|
574
576
|
}
|
|
575
|
-
function
|
|
577
|
+
function Zr(i) {
|
|
576
578
|
{
|
|
577
|
-
for (var
|
|
578
|
-
var
|
|
579
|
-
if (
|
|
580
|
-
|
|
579
|
+
for (var d = Object.keys(i.props), h = 0; h < d.length; h++) {
|
|
580
|
+
var S = d[h];
|
|
581
|
+
if (S !== "children" && S !== "key") {
|
|
582
|
+
Ae(i), j("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", S), Ae(null);
|
|
581
583
|
break;
|
|
582
584
|
}
|
|
583
585
|
}
|
|
584
|
-
|
|
586
|
+
i.ref !== null && (Ae(i), j("Invalid attribute `ref` supplied to `React.Fragment`."), Ae(null));
|
|
585
587
|
}
|
|
586
588
|
}
|
|
587
|
-
function
|
|
589
|
+
function Yt(i, d, h, S, A, M) {
|
|
588
590
|
{
|
|
589
|
-
var
|
|
590
|
-
if (!
|
|
591
|
-
var
|
|
592
|
-
(
|
|
593
|
-
var
|
|
594
|
-
|
|
595
|
-
var
|
|
596
|
-
|
|
591
|
+
var N = te(i);
|
|
592
|
+
if (!N) {
|
|
593
|
+
var R = "";
|
|
594
|
+
(i === void 0 || typeof i == "object" && i !== null && Object.keys(i).length === 0) && (R += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
|
|
595
|
+
var J = Jr(A);
|
|
596
|
+
J ? R += J : R += Ut();
|
|
597
|
+
var B;
|
|
598
|
+
i === null ? B = "null" : gt(i) ? B = "array" : i !== void 0 && i.$$typeof === t ? (B = "<" + (w(i.type) || "Unknown") + " />", R = " Did you accidentally export a JSX literal instead of a component?") : B = typeof i, j("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", B, R);
|
|
597
599
|
}
|
|
598
|
-
var
|
|
599
|
-
if (
|
|
600
|
-
return
|
|
601
|
-
if (
|
|
602
|
-
var
|
|
603
|
-
if (
|
|
604
|
-
if (
|
|
605
|
-
if (
|
|
606
|
-
for (var
|
|
607
|
-
|
|
608
|
-
Object.freeze && Object.freeze(
|
|
600
|
+
var U = Kr(i, d, h, A, M);
|
|
601
|
+
if (U == null)
|
|
602
|
+
return U;
|
|
603
|
+
if (N) {
|
|
604
|
+
var oe = d.children;
|
|
605
|
+
if (oe !== void 0)
|
|
606
|
+
if (S)
|
|
607
|
+
if (gt(oe)) {
|
|
608
|
+
for (var De = 0; De < oe.length; De++)
|
|
609
|
+
Vt(oe[De], i);
|
|
610
|
+
Object.freeze && Object.freeze(oe);
|
|
609
611
|
} else
|
|
610
|
-
|
|
612
|
+
j("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
|
|
611
613
|
else
|
|
612
|
-
|
|
614
|
+
Vt(oe, i);
|
|
613
615
|
}
|
|
614
|
-
return
|
|
616
|
+
return i === n ? Zr(U) : Qr(U), U;
|
|
615
617
|
}
|
|
616
618
|
}
|
|
617
|
-
function
|
|
618
|
-
return
|
|
619
|
+
function en(i, d, h) {
|
|
620
|
+
return Yt(i, d, h, !0);
|
|
619
621
|
}
|
|
620
|
-
function
|
|
621
|
-
return
|
|
622
|
+
function tn(i, d, h) {
|
|
623
|
+
return Yt(i, d, h, !1);
|
|
622
624
|
}
|
|
623
|
-
var
|
|
624
|
-
|
|
625
|
-
}()),
|
|
626
|
-
}
|
|
627
|
-
process.env.NODE_ENV === "production" ?
|
|
628
|
-
var
|
|
629
|
-
function
|
|
630
|
-
var
|
|
631
|
-
if (typeof
|
|
632
|
-
n +=
|
|
633
|
-
else if (typeof
|
|
634
|
-
if (Array.isArray(
|
|
635
|
-
var
|
|
636
|
-
for (
|
|
637
|
-
|
|
625
|
+
var rn = tn, nn = en;
|
|
626
|
+
Be.Fragment = n, Be.jsx = rn, Be.jsxs = nn;
|
|
627
|
+
}()), Be;
|
|
628
|
+
}
|
|
629
|
+
process.env.NODE_ENV === "production" ? Pt.exports = pn() : Pt.exports = mn();
|
|
630
|
+
var P = Pt.exports;
|
|
631
|
+
function ar(e) {
|
|
632
|
+
var t, r, n = "";
|
|
633
|
+
if (typeof e == "string" || typeof e == "number")
|
|
634
|
+
n += e;
|
|
635
|
+
else if (typeof e == "object")
|
|
636
|
+
if (Array.isArray(e)) {
|
|
637
|
+
var o = e.length;
|
|
638
|
+
for (t = 0; t < o; t++)
|
|
639
|
+
e[t] && (r = ar(e[t])) && (n && (n += " "), n += r);
|
|
638
640
|
} else
|
|
639
|
-
for (
|
|
640
|
-
r
|
|
641
|
+
for (r in e)
|
|
642
|
+
e[r] && (n && (n += " "), n += r);
|
|
641
643
|
return n;
|
|
642
644
|
}
|
|
643
|
-
function
|
|
644
|
-
for (var
|
|
645
|
-
(
|
|
645
|
+
function gn() {
|
|
646
|
+
for (var e, t, r = 0, n = "", o = arguments.length; r < o; r++)
|
|
647
|
+
(e = arguments[r]) && (t = ar(e)) && (n && (n += " "), n += t);
|
|
646
648
|
return n;
|
|
647
649
|
}
|
|
648
|
-
const
|
|
649
|
-
function
|
|
650
|
-
const
|
|
651
|
-
conflictingClassGroups:
|
|
650
|
+
const Nt = "-";
|
|
651
|
+
function bn(e) {
|
|
652
|
+
const t = vn(e), {
|
|
653
|
+
conflictingClassGroups: r,
|
|
652
654
|
conflictingClassGroupModifiers: n
|
|
653
|
-
} =
|
|
654
|
-
function
|
|
655
|
-
const
|
|
656
|
-
return
|
|
655
|
+
} = e;
|
|
656
|
+
function o(a) {
|
|
657
|
+
const s = a.split(Nt);
|
|
658
|
+
return s[0] === "" && s.length !== 1 && s.shift(), lr(s, t) || hn(a);
|
|
657
659
|
}
|
|
658
|
-
function l(
|
|
659
|
-
const
|
|
660
|
-
return
|
|
660
|
+
function l(a, s) {
|
|
661
|
+
const u = r[a] || [];
|
|
662
|
+
return s && n[a] ? [...u, ...n[a]] : u;
|
|
661
663
|
}
|
|
662
664
|
return {
|
|
663
|
-
getClassGroupId:
|
|
665
|
+
getClassGroupId: o,
|
|
664
666
|
getConflictingClassGroupIds: l
|
|
665
667
|
};
|
|
666
668
|
}
|
|
667
|
-
function
|
|
668
|
-
var
|
|
669
|
-
if (
|
|
670
|
-
return
|
|
671
|
-
const
|
|
672
|
-
if (
|
|
673
|
-
return
|
|
674
|
-
if (
|
|
669
|
+
function lr(e, t) {
|
|
670
|
+
var a;
|
|
671
|
+
if (e.length === 0)
|
|
672
|
+
return t.classGroupId;
|
|
673
|
+
const r = e[0], n = t.nextPart.get(r), o = n ? lr(e.slice(1), n) : void 0;
|
|
674
|
+
if (o)
|
|
675
|
+
return o;
|
|
676
|
+
if (t.validators.length === 0)
|
|
675
677
|
return;
|
|
676
|
-
const l =
|
|
677
|
-
return (
|
|
678
|
-
validator:
|
|
679
|
-
}) =>
|
|
680
|
-
}
|
|
681
|
-
const
|
|
682
|
-
function
|
|
683
|
-
if (
|
|
684
|
-
const
|
|
685
|
-
if (
|
|
686
|
-
return "arbitrary.." +
|
|
678
|
+
const l = e.join(Nt);
|
|
679
|
+
return (a = t.validators.find(({
|
|
680
|
+
validator: s
|
|
681
|
+
}) => s(l))) == null ? void 0 : a.classGroupId;
|
|
682
|
+
}
|
|
683
|
+
const Qt = /^\[(.+)\]$/;
|
|
684
|
+
function hn(e) {
|
|
685
|
+
if (Qt.test(e)) {
|
|
686
|
+
const t = Qt.exec(e)[1], r = t == null ? void 0 : t.substring(0, t.indexOf(":"));
|
|
687
|
+
if (r)
|
|
688
|
+
return "arbitrary.." + r;
|
|
687
689
|
}
|
|
688
690
|
}
|
|
689
|
-
function
|
|
691
|
+
function vn(e) {
|
|
690
692
|
const {
|
|
691
|
-
theme:
|
|
692
|
-
prefix:
|
|
693
|
-
} =
|
|
693
|
+
theme: t,
|
|
694
|
+
prefix: r
|
|
695
|
+
} = e, n = {
|
|
694
696
|
nextPart: /* @__PURE__ */ new Map(),
|
|
695
697
|
validators: []
|
|
696
698
|
};
|
|
697
|
-
return
|
|
698
|
-
|
|
699
|
+
return wn(Object.entries(e.classGroups), r).forEach(([l, a]) => {
|
|
700
|
+
Ct(a, n, l, t);
|
|
699
701
|
}), n;
|
|
700
702
|
}
|
|
701
|
-
function
|
|
702
|
-
|
|
703
|
-
if (typeof
|
|
704
|
-
const l =
|
|
705
|
-
l.classGroupId =
|
|
703
|
+
function Ct(e, t, r, n) {
|
|
704
|
+
e.forEach((o) => {
|
|
705
|
+
if (typeof o == "string") {
|
|
706
|
+
const l = o === "" ? t : Zt(t, o);
|
|
707
|
+
l.classGroupId = r;
|
|
706
708
|
return;
|
|
707
709
|
}
|
|
708
|
-
if (typeof
|
|
709
|
-
if (
|
|
710
|
-
|
|
710
|
+
if (typeof o == "function") {
|
|
711
|
+
if (yn(o)) {
|
|
712
|
+
Ct(o(n), t, r, n);
|
|
711
713
|
return;
|
|
712
714
|
}
|
|
713
|
-
|
|
714
|
-
validator:
|
|
715
|
-
classGroupId:
|
|
715
|
+
t.validators.push({
|
|
716
|
+
validator: o,
|
|
717
|
+
classGroupId: r
|
|
716
718
|
});
|
|
717
719
|
return;
|
|
718
720
|
}
|
|
719
|
-
Object.entries(
|
|
720
|
-
|
|
721
|
+
Object.entries(o).forEach(([l, a]) => {
|
|
722
|
+
Ct(a, Zt(t, l), r, n);
|
|
721
723
|
});
|
|
722
724
|
});
|
|
723
725
|
}
|
|
724
|
-
function
|
|
725
|
-
let
|
|
726
|
-
return
|
|
727
|
-
|
|
726
|
+
function Zt(e, t) {
|
|
727
|
+
let r = e;
|
|
728
|
+
return t.split(Nt).forEach((n) => {
|
|
729
|
+
r.nextPart.has(n) || r.nextPart.set(n, {
|
|
728
730
|
nextPart: /* @__PURE__ */ new Map(),
|
|
729
731
|
validators: []
|
|
730
|
-
}),
|
|
731
|
-
}),
|
|
732
|
+
}), r = r.nextPart.get(n);
|
|
733
|
+
}), r;
|
|
732
734
|
}
|
|
733
|
-
function
|
|
734
|
-
return
|
|
735
|
+
function yn(e) {
|
|
736
|
+
return e.isThemeGetter;
|
|
735
737
|
}
|
|
736
|
-
function
|
|
737
|
-
return
|
|
738
|
-
const
|
|
739
|
-
return [
|
|
740
|
-
}) :
|
|
738
|
+
function wn(e, t) {
|
|
739
|
+
return t ? e.map(([r, n]) => {
|
|
740
|
+
const o = n.map((l) => typeof l == "string" ? t + l : typeof l == "object" ? Object.fromEntries(Object.entries(l).map(([a, s]) => [t + a, s])) : l);
|
|
741
|
+
return [r, o];
|
|
742
|
+
}) : e;
|
|
741
743
|
}
|
|
742
|
-
function
|
|
743
|
-
if (
|
|
744
|
+
function xn(e) {
|
|
745
|
+
if (e < 1)
|
|
744
746
|
return {
|
|
745
747
|
get: () => {
|
|
746
748
|
},
|
|
747
749
|
set: () => {
|
|
748
750
|
}
|
|
749
751
|
};
|
|
750
|
-
let
|
|
751
|
-
function
|
|
752
|
-
|
|
752
|
+
let t = 0, r = /* @__PURE__ */ new Map(), n = /* @__PURE__ */ new Map();
|
|
753
|
+
function o(l, a) {
|
|
754
|
+
r.set(l, a), t++, t > e && (t = 0, n = r, r = /* @__PURE__ */ new Map());
|
|
753
755
|
}
|
|
754
756
|
return {
|
|
755
757
|
get(l) {
|
|
756
|
-
let
|
|
757
|
-
if (
|
|
758
|
-
return
|
|
759
|
-
if ((
|
|
760
|
-
return
|
|
758
|
+
let a = r.get(l);
|
|
759
|
+
if (a !== void 0)
|
|
760
|
+
return a;
|
|
761
|
+
if ((a = n.get(l)) !== void 0)
|
|
762
|
+
return o(l, a), a;
|
|
761
763
|
},
|
|
762
|
-
set(l,
|
|
763
|
-
|
|
764
|
+
set(l, a) {
|
|
765
|
+
r.has(l) ? r.set(l, a) : o(l, a);
|
|
764
766
|
}
|
|
765
767
|
};
|
|
766
768
|
}
|
|
767
|
-
const
|
|
768
|
-
function
|
|
769
|
-
const
|
|
770
|
-
return function(
|
|
771
|
-
const
|
|
772
|
-
let
|
|
773
|
-
for (let
|
|
774
|
-
let
|
|
775
|
-
if (
|
|
776
|
-
if (
|
|
777
|
-
|
|
769
|
+
const sr = "!";
|
|
770
|
+
function En(e) {
|
|
771
|
+
const t = e.separator, r = t.length === 1, n = t[0], o = t.length;
|
|
772
|
+
return function(a) {
|
|
773
|
+
const s = [];
|
|
774
|
+
let u = 0, y = 0, c;
|
|
775
|
+
for (let g = 0; g < a.length; g++) {
|
|
776
|
+
let x = a[g];
|
|
777
|
+
if (u === 0) {
|
|
778
|
+
if (x === n && (r || a.slice(g, g + o) === t)) {
|
|
779
|
+
s.push(a.slice(y, g)), y = g + o;
|
|
778
780
|
continue;
|
|
779
781
|
}
|
|
780
|
-
if (
|
|
781
|
-
|
|
782
|
+
if (x === "/") {
|
|
783
|
+
c = g;
|
|
782
784
|
continue;
|
|
783
785
|
}
|
|
784
786
|
}
|
|
785
|
-
|
|
787
|
+
x === "[" ? u++ : x === "]" && u--;
|
|
786
788
|
}
|
|
787
|
-
const
|
|
789
|
+
const p = s.length === 0 ? a : a.substring(y), O = p.startsWith(sr), C = O ? p.substring(1) : p, b = c && c > y ? c - y : void 0;
|
|
788
790
|
return {
|
|
789
|
-
modifiers:
|
|
790
|
-
hasImportantModifier:
|
|
791
|
-
baseClassName:
|
|
792
|
-
maybePostfixModifierPosition:
|
|
791
|
+
modifiers: s,
|
|
792
|
+
hasImportantModifier: O,
|
|
793
|
+
baseClassName: C,
|
|
794
|
+
maybePostfixModifierPosition: b
|
|
793
795
|
};
|
|
794
796
|
};
|
|
795
797
|
}
|
|
796
|
-
function
|
|
797
|
-
if (
|
|
798
|
-
return
|
|
799
|
-
const
|
|
800
|
-
let
|
|
801
|
-
return
|
|
802
|
-
n[0] === "[" ? (
|
|
803
|
-
}),
|
|
798
|
+
function On(e) {
|
|
799
|
+
if (e.length <= 1)
|
|
800
|
+
return e;
|
|
801
|
+
const t = [];
|
|
802
|
+
let r = [];
|
|
803
|
+
return e.forEach((n) => {
|
|
804
|
+
n[0] === "[" ? (t.push(...r.sort(), n), r = []) : r.push(n);
|
|
805
|
+
}), t.push(...r.sort()), t;
|
|
804
806
|
}
|
|
805
|
-
function
|
|
807
|
+
function Pn(e) {
|
|
806
808
|
return {
|
|
807
|
-
cache:
|
|
808
|
-
splitModifiers:
|
|
809
|
-
...
|
|
809
|
+
cache: xn(e.cacheSize),
|
|
810
|
+
splitModifiers: En(e),
|
|
811
|
+
...bn(e)
|
|
810
812
|
};
|
|
811
813
|
}
|
|
812
|
-
const
|
|
813
|
-
function
|
|
814
|
+
const Cn = /\s+/;
|
|
815
|
+
function jn(e, t) {
|
|
814
816
|
const {
|
|
815
|
-
splitModifiers:
|
|
817
|
+
splitModifiers: r,
|
|
816
818
|
getClassGroupId: n,
|
|
817
|
-
getConflictingClassGroupIds:
|
|
818
|
-
} =
|
|
819
|
-
return
|
|
819
|
+
getConflictingClassGroupIds: o
|
|
820
|
+
} = t, l = /* @__PURE__ */ new Set();
|
|
821
|
+
return e.trim().split(Cn).map((a) => {
|
|
820
822
|
const {
|
|
821
|
-
modifiers:
|
|
822
|
-
hasImportantModifier:
|
|
823
|
-
baseClassName:
|
|
824
|
-
maybePostfixModifierPosition:
|
|
825
|
-
} = a
|
|
826
|
-
let
|
|
827
|
-
if (!
|
|
828
|
-
if (!
|
|
823
|
+
modifiers: s,
|
|
824
|
+
hasImportantModifier: u,
|
|
825
|
+
baseClassName: y,
|
|
826
|
+
maybePostfixModifierPosition: c
|
|
827
|
+
} = r(a);
|
|
828
|
+
let p = n(c ? y.substring(0, c) : y), O = !!c;
|
|
829
|
+
if (!p) {
|
|
830
|
+
if (!c)
|
|
829
831
|
return {
|
|
830
832
|
isTailwindClass: !1,
|
|
831
|
-
originalClassName:
|
|
833
|
+
originalClassName: a
|
|
832
834
|
};
|
|
833
|
-
if (
|
|
835
|
+
if (p = n(y), !p)
|
|
834
836
|
return {
|
|
835
837
|
isTailwindClass: !1,
|
|
836
|
-
originalClassName:
|
|
838
|
+
originalClassName: a
|
|
837
839
|
};
|
|
838
|
-
|
|
840
|
+
O = !1;
|
|
839
841
|
}
|
|
840
|
-
const
|
|
842
|
+
const C = On(s).join(":");
|
|
841
843
|
return {
|
|
842
844
|
isTailwindClass: !0,
|
|
843
|
-
modifierId:
|
|
844
|
-
classGroupId:
|
|
845
|
-
originalClassName:
|
|
846
|
-
hasPostfixModifier:
|
|
845
|
+
modifierId: u ? C + sr : C,
|
|
846
|
+
classGroupId: p,
|
|
847
|
+
originalClassName: a,
|
|
848
|
+
hasPostfixModifier: O
|
|
847
849
|
};
|
|
848
|
-
}).reverse().filter((
|
|
849
|
-
if (!
|
|
850
|
+
}).reverse().filter((a) => {
|
|
851
|
+
if (!a.isTailwindClass)
|
|
850
852
|
return !0;
|
|
851
853
|
const {
|
|
852
|
-
modifierId:
|
|
853
|
-
classGroupId:
|
|
854
|
-
hasPostfixModifier:
|
|
855
|
-
} =
|
|
856
|
-
return l.has(
|
|
857
|
-
}).reverse().map((
|
|
858
|
-
}
|
|
859
|
-
function
|
|
860
|
-
let
|
|
861
|
-
for (;
|
|
862
|
-
(
|
|
854
|
+
modifierId: s,
|
|
855
|
+
classGroupId: u,
|
|
856
|
+
hasPostfixModifier: y
|
|
857
|
+
} = a, c = s + u;
|
|
858
|
+
return l.has(c) ? !1 : (l.add(c), o(u, y).forEach((p) => l.add(s + p)), !0);
|
|
859
|
+
}).reverse().map((a) => a.originalClassName).join(" ");
|
|
860
|
+
}
|
|
861
|
+
function Sn() {
|
|
862
|
+
let e = 0, t, r, n = "";
|
|
863
|
+
for (; e < arguments.length; )
|
|
864
|
+
(t = arguments[e++]) && (r = ur(t)) && (n && (n += " "), n += r);
|
|
863
865
|
return n;
|
|
864
866
|
}
|
|
865
|
-
function
|
|
866
|
-
if (typeof
|
|
867
|
-
return
|
|
868
|
-
let
|
|
869
|
-
for (let n = 0; n <
|
|
870
|
-
|
|
871
|
-
return
|
|
872
|
-
}
|
|
873
|
-
function
|
|
874
|
-
let
|
|
875
|
-
function
|
|
876
|
-
const
|
|
877
|
-
return
|
|
867
|
+
function ur(e) {
|
|
868
|
+
if (typeof e == "string")
|
|
869
|
+
return e;
|
|
870
|
+
let t, r = "";
|
|
871
|
+
for (let n = 0; n < e.length; n++)
|
|
872
|
+
e[n] && (t = ur(e[n])) && (r && (r += " "), r += t);
|
|
873
|
+
return r;
|
|
874
|
+
}
|
|
875
|
+
function Tn(e, ...t) {
|
|
876
|
+
let r, n, o, l = a;
|
|
877
|
+
function a(u) {
|
|
878
|
+
const y = t.reduce((c, p) => p(c), e());
|
|
879
|
+
return r = Pn(y), n = r.cache.get, o = r.cache.set, l = s, s(u);
|
|
878
880
|
}
|
|
879
|
-
function
|
|
880
|
-
const
|
|
881
|
-
if (
|
|
882
|
-
return
|
|
883
|
-
const
|
|
884
|
-
return
|
|
881
|
+
function s(u) {
|
|
882
|
+
const y = n(u);
|
|
883
|
+
if (y)
|
|
884
|
+
return y;
|
|
885
|
+
const c = jn(u, r);
|
|
886
|
+
return o(u, c), c;
|
|
885
887
|
}
|
|
886
888
|
return function() {
|
|
887
|
-
return l(
|
|
889
|
+
return l(Sn.apply(null, arguments));
|
|
888
890
|
};
|
|
889
891
|
}
|
|
890
|
-
function
|
|
891
|
-
const
|
|
892
|
-
return
|
|
892
|
+
function F(e) {
|
|
893
|
+
const t = (r) => r[e] || [];
|
|
894
|
+
return t.isThemeGetter = !0, t;
|
|
893
895
|
}
|
|
894
|
-
const
|
|
895
|
-
function
|
|
896
|
-
return
|
|
896
|
+
const cr = /^\[(?:([a-z-]+):)?(.+)\]$/i, _n = /^\d+\/\d+$/, Rn = /* @__PURE__ */ new Set(["px", "full", "screen"]), kn = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, $n = /\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$/, Nn = /^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/, An = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, Dn = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/;
|
|
897
|
+
function de(e) {
|
|
898
|
+
return Se(e) || Rn.has(e) || _n.test(e);
|
|
897
899
|
}
|
|
898
|
-
function
|
|
899
|
-
return
|
|
900
|
+
function he(e) {
|
|
901
|
+
return Me(e, "length", Un);
|
|
900
902
|
}
|
|
901
|
-
function
|
|
902
|
-
return !!
|
|
903
|
+
function Se(e) {
|
|
904
|
+
return !!e && !Number.isNaN(Number(e));
|
|
903
905
|
}
|
|
904
|
-
function
|
|
905
|
-
return
|
|
906
|
+
function rt(e) {
|
|
907
|
+
return Me(e, "number", Se);
|
|
906
908
|
}
|
|
907
|
-
function
|
|
908
|
-
return !!
|
|
909
|
+
function Ue(e) {
|
|
910
|
+
return !!e && Number.isInteger(Number(e));
|
|
909
911
|
}
|
|
910
|
-
function
|
|
911
|
-
return
|
|
912
|
+
function Mn(e) {
|
|
913
|
+
return e.endsWith("%") && Se(e.slice(0, -1));
|
|
912
914
|
}
|
|
913
|
-
function
|
|
914
|
-
return
|
|
915
|
+
function T(e) {
|
|
916
|
+
return cr.test(e);
|
|
915
917
|
}
|
|
916
|
-
function
|
|
917
|
-
return
|
|
918
|
+
function ve(e) {
|
|
919
|
+
return kn.test(e);
|
|
918
920
|
}
|
|
919
|
-
const
|
|
920
|
-
function
|
|
921
|
-
return
|
|
921
|
+
const Fn = /* @__PURE__ */ new Set(["length", "size", "percentage"]);
|
|
922
|
+
function Ln(e) {
|
|
923
|
+
return Me(e, Fn, dr);
|
|
922
924
|
}
|
|
923
|
-
function
|
|
924
|
-
return
|
|
925
|
+
function In(e) {
|
|
926
|
+
return Me(e, "position", dr);
|
|
925
927
|
}
|
|
926
|
-
const
|
|
927
|
-
function
|
|
928
|
-
return
|
|
928
|
+
const zn = /* @__PURE__ */ new Set(["image", "url"]);
|
|
929
|
+
function Wn(e) {
|
|
930
|
+
return Me(e, zn, Gn);
|
|
929
931
|
}
|
|
930
|
-
function
|
|
931
|
-
return
|
|
932
|
+
function Bn(e) {
|
|
933
|
+
return Me(e, "", Hn);
|
|
932
934
|
}
|
|
933
|
-
function
|
|
935
|
+
function He() {
|
|
934
936
|
return !0;
|
|
935
937
|
}
|
|
936
|
-
function
|
|
937
|
-
const n =
|
|
938
|
-
return n ? n[1] ? typeof
|
|
938
|
+
function Me(e, t, r) {
|
|
939
|
+
const n = cr.exec(e);
|
|
940
|
+
return n ? n[1] ? typeof t == "string" ? n[1] === t : t.has(n[1]) : r(n[2]) : !1;
|
|
939
941
|
}
|
|
940
|
-
function
|
|
941
|
-
return
|
|
942
|
+
function Un(e) {
|
|
943
|
+
return $n.test(e) && !Nn.test(e);
|
|
942
944
|
}
|
|
943
|
-
function
|
|
945
|
+
function dr() {
|
|
944
946
|
return !1;
|
|
945
947
|
}
|
|
946
|
-
function
|
|
947
|
-
return
|
|
948
|
+
function Hn(e) {
|
|
949
|
+
return An.test(e);
|
|
948
950
|
}
|
|
949
|
-
function
|
|
950
|
-
return
|
|
951
|
+
function Gn(e) {
|
|
952
|
+
return Dn.test(e);
|
|
951
953
|
}
|
|
952
|
-
function
|
|
953
|
-
const
|
|
954
|
+
function Vn() {
|
|
955
|
+
const e = F("colors"), t = F("spacing"), r = F("blur"), n = F("brightness"), o = F("borderColor"), l = F("borderRadius"), a = F("borderSpacing"), s = F("borderWidth"), u = F("contrast"), y = F("grayscale"), c = F("hueRotate"), p = F("invert"), O = F("gap"), C = F("gradientColorStops"), b = F("gradientColorStopPositions"), g = F("inset"), x = F("margin"), E = F("opacity"), j = F("padding"), $ = F("saturate"), z = F("scale"), G = F("sepia"), q = F("skew"), ae = F("space"), Z = F("translate"), V = () => ["auto", "contain", "none"], te = () => ["auto", "hidden", "clip", "visible", "scroll"], m = () => ["auto", T, t], f = () => [T, t], w = () => ["", de, he], v = () => ["auto", Se, T], _ = () => ["bottom", "center", "left", "left-bottom", "left-top", "right", "right-bottom", "right-top", "top"], D = () => ["solid", "dashed", "dotted", "double", "none"], W = () => ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity"], K = () => ["start", "end", "center", "between", "around", "evenly", "stretch"], L = () => ["", "0", T], ue = () => ["auto", "avoid", "all", "avoid-page", "page", "left", "right", "column"], ee = () => [Se, rt], re = () => [Se, T];
|
|
954
956
|
return {
|
|
955
957
|
cacheSize: 500,
|
|
956
958
|
separator: ":",
|
|
957
959
|
theme: {
|
|
958
|
-
colors: [
|
|
959
|
-
spacing: [
|
|
960
|
-
blur: ["none", "",
|
|
961
|
-
brightness:
|
|
962
|
-
borderColor: [
|
|
963
|
-
borderRadius: ["none", "", "full",
|
|
964
|
-
borderSpacing:
|
|
965
|
-
borderWidth:
|
|
966
|
-
contrast:
|
|
967
|
-
grayscale:
|
|
968
|
-
hueRotate:
|
|
969
|
-
invert:
|
|
970
|
-
gap:
|
|
971
|
-
gradientColorStops: [
|
|
972
|
-
gradientColorStopPositions: [
|
|
973
|
-
inset:
|
|
974
|
-
margin:
|
|
975
|
-
opacity:
|
|
976
|
-
padding:
|
|
977
|
-
saturate:
|
|
978
|
-
scale:
|
|
979
|
-
sepia:
|
|
980
|
-
skew:
|
|
981
|
-
space:
|
|
982
|
-
translate:
|
|
960
|
+
colors: [He],
|
|
961
|
+
spacing: [de, he],
|
|
962
|
+
blur: ["none", "", ve, T],
|
|
963
|
+
brightness: ee(),
|
|
964
|
+
borderColor: [e],
|
|
965
|
+
borderRadius: ["none", "", "full", ve, T],
|
|
966
|
+
borderSpacing: f(),
|
|
967
|
+
borderWidth: w(),
|
|
968
|
+
contrast: ee(),
|
|
969
|
+
grayscale: L(),
|
|
970
|
+
hueRotate: re(),
|
|
971
|
+
invert: L(),
|
|
972
|
+
gap: f(),
|
|
973
|
+
gradientColorStops: [e],
|
|
974
|
+
gradientColorStopPositions: [Mn, he],
|
|
975
|
+
inset: m(),
|
|
976
|
+
margin: m(),
|
|
977
|
+
opacity: ee(),
|
|
978
|
+
padding: f(),
|
|
979
|
+
saturate: ee(),
|
|
980
|
+
scale: ee(),
|
|
981
|
+
sepia: L(),
|
|
982
|
+
skew: re(),
|
|
983
|
+
space: f(),
|
|
984
|
+
translate: f()
|
|
983
985
|
},
|
|
984
986
|
classGroups: {
|
|
985
987
|
// Layout
|
|
@@ -988,7 +990,7 @@ function it() {
|
|
|
988
990
|
* @see https://tailwindcss.com/docs/aspect-ratio
|
|
989
991
|
*/
|
|
990
992
|
aspect: [{
|
|
991
|
-
aspect: ["auto", "square", "video",
|
|
993
|
+
aspect: ["auto", "square", "video", T]
|
|
992
994
|
}],
|
|
993
995
|
/**
|
|
994
996
|
* Container
|
|
@@ -1000,21 +1002,21 @@ function it() {
|
|
|
1000
1002
|
* @see https://tailwindcss.com/docs/columns
|
|
1001
1003
|
*/
|
|
1002
1004
|
columns: [{
|
|
1003
|
-
columns: [
|
|
1005
|
+
columns: [ve]
|
|
1004
1006
|
}],
|
|
1005
1007
|
/**
|
|
1006
1008
|
* Break After
|
|
1007
1009
|
* @see https://tailwindcss.com/docs/break-after
|
|
1008
1010
|
*/
|
|
1009
1011
|
"break-after": [{
|
|
1010
|
-
"break-after":
|
|
1012
|
+
"break-after": ue()
|
|
1011
1013
|
}],
|
|
1012
1014
|
/**
|
|
1013
1015
|
* Break Before
|
|
1014
1016
|
* @see https://tailwindcss.com/docs/break-before
|
|
1015
1017
|
*/
|
|
1016
1018
|
"break-before": [{
|
|
1017
|
-
"break-before":
|
|
1019
|
+
"break-before": ue()
|
|
1018
1020
|
}],
|
|
1019
1021
|
/**
|
|
1020
1022
|
* Break Inside
|
|
@@ -1073,49 +1075,49 @@ function it() {
|
|
|
1073
1075
|
* @see https://tailwindcss.com/docs/object-position
|
|
1074
1076
|
*/
|
|
1075
1077
|
"object-position": [{
|
|
1076
|
-
object: [
|
|
1078
|
+
object: [..._(), T]
|
|
1077
1079
|
}],
|
|
1078
1080
|
/**
|
|
1079
1081
|
* Overflow
|
|
1080
1082
|
* @see https://tailwindcss.com/docs/overflow
|
|
1081
1083
|
*/
|
|
1082
1084
|
overflow: [{
|
|
1083
|
-
overflow:
|
|
1085
|
+
overflow: te()
|
|
1084
1086
|
}],
|
|
1085
1087
|
/**
|
|
1086
1088
|
* Overflow X
|
|
1087
1089
|
* @see https://tailwindcss.com/docs/overflow
|
|
1088
1090
|
*/
|
|
1089
1091
|
"overflow-x": [{
|
|
1090
|
-
"overflow-x":
|
|
1092
|
+
"overflow-x": te()
|
|
1091
1093
|
}],
|
|
1092
1094
|
/**
|
|
1093
1095
|
* Overflow Y
|
|
1094
1096
|
* @see https://tailwindcss.com/docs/overflow
|
|
1095
1097
|
*/
|
|
1096
1098
|
"overflow-y": [{
|
|
1097
|
-
"overflow-y":
|
|
1099
|
+
"overflow-y": te()
|
|
1098
1100
|
}],
|
|
1099
1101
|
/**
|
|
1100
1102
|
* Overscroll Behavior
|
|
1101
1103
|
* @see https://tailwindcss.com/docs/overscroll-behavior
|
|
1102
1104
|
*/
|
|
1103
1105
|
overscroll: [{
|
|
1104
|
-
overscroll:
|
|
1106
|
+
overscroll: V()
|
|
1105
1107
|
}],
|
|
1106
1108
|
/**
|
|
1107
1109
|
* Overscroll Behavior X
|
|
1108
1110
|
* @see https://tailwindcss.com/docs/overscroll-behavior
|
|
1109
1111
|
*/
|
|
1110
1112
|
"overscroll-x": [{
|
|
1111
|
-
"overscroll-x":
|
|
1113
|
+
"overscroll-x": V()
|
|
1112
1114
|
}],
|
|
1113
1115
|
/**
|
|
1114
1116
|
* Overscroll Behavior Y
|
|
1115
1117
|
* @see https://tailwindcss.com/docs/overscroll-behavior
|
|
1116
1118
|
*/
|
|
1117
1119
|
"overscroll-y": [{
|
|
1118
|
-
"overscroll-y":
|
|
1120
|
+
"overscroll-y": V()
|
|
1119
1121
|
}],
|
|
1120
1122
|
/**
|
|
1121
1123
|
* Position
|
|
@@ -1127,63 +1129,63 @@ function it() {
|
|
|
1127
1129
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
1128
1130
|
*/
|
|
1129
1131
|
inset: [{
|
|
1130
|
-
inset: [
|
|
1132
|
+
inset: [g]
|
|
1131
1133
|
}],
|
|
1132
1134
|
/**
|
|
1133
1135
|
* Right / Left
|
|
1134
1136
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
1135
1137
|
*/
|
|
1136
1138
|
"inset-x": [{
|
|
1137
|
-
"inset-x": [
|
|
1139
|
+
"inset-x": [g]
|
|
1138
1140
|
}],
|
|
1139
1141
|
/**
|
|
1140
1142
|
* Top / Bottom
|
|
1141
1143
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
1142
1144
|
*/
|
|
1143
1145
|
"inset-y": [{
|
|
1144
|
-
"inset-y": [
|
|
1146
|
+
"inset-y": [g]
|
|
1145
1147
|
}],
|
|
1146
1148
|
/**
|
|
1147
1149
|
* Start
|
|
1148
1150
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
1149
1151
|
*/
|
|
1150
1152
|
start: [{
|
|
1151
|
-
start: [
|
|
1153
|
+
start: [g]
|
|
1152
1154
|
}],
|
|
1153
1155
|
/**
|
|
1154
1156
|
* End
|
|
1155
1157
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
1156
1158
|
*/
|
|
1157
1159
|
end: [{
|
|
1158
|
-
end: [
|
|
1160
|
+
end: [g]
|
|
1159
1161
|
}],
|
|
1160
1162
|
/**
|
|
1161
1163
|
* Top
|
|
1162
1164
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
1163
1165
|
*/
|
|
1164
1166
|
top: [{
|
|
1165
|
-
top: [
|
|
1167
|
+
top: [g]
|
|
1166
1168
|
}],
|
|
1167
1169
|
/**
|
|
1168
1170
|
* Right
|
|
1169
1171
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
1170
1172
|
*/
|
|
1171
1173
|
right: [{
|
|
1172
|
-
right: [
|
|
1174
|
+
right: [g]
|
|
1173
1175
|
}],
|
|
1174
1176
|
/**
|
|
1175
1177
|
* Bottom
|
|
1176
1178
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
1177
1179
|
*/
|
|
1178
1180
|
bottom: [{
|
|
1179
|
-
bottom: [
|
|
1181
|
+
bottom: [g]
|
|
1180
1182
|
}],
|
|
1181
1183
|
/**
|
|
1182
1184
|
* Left
|
|
1183
1185
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
1184
1186
|
*/
|
|
1185
1187
|
left: [{
|
|
1186
|
-
left: [
|
|
1188
|
+
left: [g]
|
|
1187
1189
|
}],
|
|
1188
1190
|
/**
|
|
1189
1191
|
* Visibility
|
|
@@ -1195,7 +1197,7 @@ function it() {
|
|
|
1195
1197
|
* @see https://tailwindcss.com/docs/z-index
|
|
1196
1198
|
*/
|
|
1197
1199
|
z: [{
|
|
1198
|
-
z: ["auto",
|
|
1200
|
+
z: ["auto", Ue, T]
|
|
1199
1201
|
}],
|
|
1200
1202
|
// Flexbox and Grid
|
|
1201
1203
|
/**
|
|
@@ -1203,7 +1205,7 @@ function it() {
|
|
|
1203
1205
|
* @see https://tailwindcss.com/docs/flex-basis
|
|
1204
1206
|
*/
|
|
1205
1207
|
basis: [{
|
|
1206
|
-
basis:
|
|
1208
|
+
basis: m()
|
|
1207
1209
|
}],
|
|
1208
1210
|
/**
|
|
1209
1211
|
* Flex Direction
|
|
@@ -1224,35 +1226,35 @@ function it() {
|
|
|
1224
1226
|
* @see https://tailwindcss.com/docs/flex
|
|
1225
1227
|
*/
|
|
1226
1228
|
flex: [{
|
|
1227
|
-
flex: ["1", "auto", "initial", "none",
|
|
1229
|
+
flex: ["1", "auto", "initial", "none", T]
|
|
1228
1230
|
}],
|
|
1229
1231
|
/**
|
|
1230
1232
|
* Flex Grow
|
|
1231
1233
|
* @see https://tailwindcss.com/docs/flex-grow
|
|
1232
1234
|
*/
|
|
1233
1235
|
grow: [{
|
|
1234
|
-
grow:
|
|
1236
|
+
grow: L()
|
|
1235
1237
|
}],
|
|
1236
1238
|
/**
|
|
1237
1239
|
* Flex Shrink
|
|
1238
1240
|
* @see https://tailwindcss.com/docs/flex-shrink
|
|
1239
1241
|
*/
|
|
1240
1242
|
shrink: [{
|
|
1241
|
-
shrink:
|
|
1243
|
+
shrink: L()
|
|
1242
1244
|
}],
|
|
1243
1245
|
/**
|
|
1244
1246
|
* Order
|
|
1245
1247
|
* @see https://tailwindcss.com/docs/order
|
|
1246
1248
|
*/
|
|
1247
1249
|
order: [{
|
|
1248
|
-
order: ["first", "last", "none",
|
|
1250
|
+
order: ["first", "last", "none", Ue, T]
|
|
1249
1251
|
}],
|
|
1250
1252
|
/**
|
|
1251
1253
|
* Grid Template Columns
|
|
1252
1254
|
* @see https://tailwindcss.com/docs/grid-template-columns
|
|
1253
1255
|
*/
|
|
1254
1256
|
"grid-cols": [{
|
|
1255
|
-
"grid-cols": [
|
|
1257
|
+
"grid-cols": [He]
|
|
1256
1258
|
}],
|
|
1257
1259
|
/**
|
|
1258
1260
|
* Grid Column Start / End
|
|
@@ -1260,29 +1262,29 @@ function it() {
|
|
|
1260
1262
|
*/
|
|
1261
1263
|
"col-start-end": [{
|
|
1262
1264
|
col: ["auto", {
|
|
1263
|
-
span: ["full",
|
|
1264
|
-
},
|
|
1265
|
+
span: ["full", Ue, T]
|
|
1266
|
+
}, T]
|
|
1265
1267
|
}],
|
|
1266
1268
|
/**
|
|
1267
1269
|
* Grid Column Start
|
|
1268
1270
|
* @see https://tailwindcss.com/docs/grid-column
|
|
1269
1271
|
*/
|
|
1270
1272
|
"col-start": [{
|
|
1271
|
-
"col-start":
|
|
1273
|
+
"col-start": v()
|
|
1272
1274
|
}],
|
|
1273
1275
|
/**
|
|
1274
1276
|
* Grid Column End
|
|
1275
1277
|
* @see https://tailwindcss.com/docs/grid-column
|
|
1276
1278
|
*/
|
|
1277
1279
|
"col-end": [{
|
|
1278
|
-
"col-end":
|
|
1280
|
+
"col-end": v()
|
|
1279
1281
|
}],
|
|
1280
1282
|
/**
|
|
1281
1283
|
* Grid Template Rows
|
|
1282
1284
|
* @see https://tailwindcss.com/docs/grid-template-rows
|
|
1283
1285
|
*/
|
|
1284
1286
|
"grid-rows": [{
|
|
1285
|
-
"grid-rows": [
|
|
1287
|
+
"grid-rows": [He]
|
|
1286
1288
|
}],
|
|
1287
1289
|
/**
|
|
1288
1290
|
* Grid Row Start / End
|
|
@@ -1290,22 +1292,22 @@ function it() {
|
|
|
1290
1292
|
*/
|
|
1291
1293
|
"row-start-end": [{
|
|
1292
1294
|
row: ["auto", {
|
|
1293
|
-
span: [
|
|
1294
|
-
},
|
|
1295
|
+
span: [Ue, T]
|
|
1296
|
+
}, T]
|
|
1295
1297
|
}],
|
|
1296
1298
|
/**
|
|
1297
1299
|
* Grid Row Start
|
|
1298
1300
|
* @see https://tailwindcss.com/docs/grid-row
|
|
1299
1301
|
*/
|
|
1300
1302
|
"row-start": [{
|
|
1301
|
-
"row-start":
|
|
1303
|
+
"row-start": v()
|
|
1302
1304
|
}],
|
|
1303
1305
|
/**
|
|
1304
1306
|
* Grid Row End
|
|
1305
1307
|
* @see https://tailwindcss.com/docs/grid-row
|
|
1306
1308
|
*/
|
|
1307
1309
|
"row-end": [{
|
|
1308
|
-
"row-end":
|
|
1310
|
+
"row-end": v()
|
|
1309
1311
|
}],
|
|
1310
1312
|
/**
|
|
1311
1313
|
* Grid Auto Flow
|
|
@@ -1319,42 +1321,42 @@ function it() {
|
|
|
1319
1321
|
* @see https://tailwindcss.com/docs/grid-auto-columns
|
|
1320
1322
|
*/
|
|
1321
1323
|
"auto-cols": [{
|
|
1322
|
-
"auto-cols": ["auto", "min", "max", "fr",
|
|
1324
|
+
"auto-cols": ["auto", "min", "max", "fr", T]
|
|
1323
1325
|
}],
|
|
1324
1326
|
/**
|
|
1325
1327
|
* Grid Auto Rows
|
|
1326
1328
|
* @see https://tailwindcss.com/docs/grid-auto-rows
|
|
1327
1329
|
*/
|
|
1328
1330
|
"auto-rows": [{
|
|
1329
|
-
"auto-rows": ["auto", "min", "max", "fr",
|
|
1331
|
+
"auto-rows": ["auto", "min", "max", "fr", T]
|
|
1330
1332
|
}],
|
|
1331
1333
|
/**
|
|
1332
1334
|
* Gap
|
|
1333
1335
|
* @see https://tailwindcss.com/docs/gap
|
|
1334
1336
|
*/
|
|
1335
1337
|
gap: [{
|
|
1336
|
-
gap: [
|
|
1338
|
+
gap: [O]
|
|
1337
1339
|
}],
|
|
1338
1340
|
/**
|
|
1339
1341
|
* Gap X
|
|
1340
1342
|
* @see https://tailwindcss.com/docs/gap
|
|
1341
1343
|
*/
|
|
1342
1344
|
"gap-x": [{
|
|
1343
|
-
"gap-x": [
|
|
1345
|
+
"gap-x": [O]
|
|
1344
1346
|
}],
|
|
1345
1347
|
/**
|
|
1346
1348
|
* Gap Y
|
|
1347
1349
|
* @see https://tailwindcss.com/docs/gap
|
|
1348
1350
|
*/
|
|
1349
1351
|
"gap-y": [{
|
|
1350
|
-
"gap-y": [
|
|
1352
|
+
"gap-y": [O]
|
|
1351
1353
|
}],
|
|
1352
1354
|
/**
|
|
1353
1355
|
* Justify Content
|
|
1354
1356
|
* @see https://tailwindcss.com/docs/justify-content
|
|
1355
1357
|
*/
|
|
1356
1358
|
"justify-content": [{
|
|
1357
|
-
justify: ["normal", ...
|
|
1359
|
+
justify: ["normal", ...K()]
|
|
1358
1360
|
}],
|
|
1359
1361
|
/**
|
|
1360
1362
|
* Justify Items
|
|
@@ -1375,7 +1377,7 @@ function it() {
|
|
|
1375
1377
|
* @see https://tailwindcss.com/docs/align-content
|
|
1376
1378
|
*/
|
|
1377
1379
|
"align-content": [{
|
|
1378
|
-
content: ["normal", ...
|
|
1380
|
+
content: ["normal", ...K(), "baseline"]
|
|
1379
1381
|
}],
|
|
1380
1382
|
/**
|
|
1381
1383
|
* Align Items
|
|
@@ -1396,7 +1398,7 @@ function it() {
|
|
|
1396
1398
|
* @see https://tailwindcss.com/docs/place-content
|
|
1397
1399
|
*/
|
|
1398
1400
|
"place-content": [{
|
|
1399
|
-
"place-content": [...
|
|
1401
|
+
"place-content": [...K(), "baseline"]
|
|
1400
1402
|
}],
|
|
1401
1403
|
/**
|
|
1402
1404
|
* Place Items
|
|
@@ -1418,133 +1420,133 @@ function it() {
|
|
|
1418
1420
|
* @see https://tailwindcss.com/docs/padding
|
|
1419
1421
|
*/
|
|
1420
1422
|
p: [{
|
|
1421
|
-
p: [
|
|
1423
|
+
p: [j]
|
|
1422
1424
|
}],
|
|
1423
1425
|
/**
|
|
1424
1426
|
* Padding X
|
|
1425
1427
|
* @see https://tailwindcss.com/docs/padding
|
|
1426
1428
|
*/
|
|
1427
1429
|
px: [{
|
|
1428
|
-
px: [
|
|
1430
|
+
px: [j]
|
|
1429
1431
|
}],
|
|
1430
1432
|
/**
|
|
1431
1433
|
* Padding Y
|
|
1432
1434
|
* @see https://tailwindcss.com/docs/padding
|
|
1433
1435
|
*/
|
|
1434
1436
|
py: [{
|
|
1435
|
-
py: [
|
|
1437
|
+
py: [j]
|
|
1436
1438
|
}],
|
|
1437
1439
|
/**
|
|
1438
1440
|
* Padding Start
|
|
1439
1441
|
* @see https://tailwindcss.com/docs/padding
|
|
1440
1442
|
*/
|
|
1441
1443
|
ps: [{
|
|
1442
|
-
ps: [
|
|
1444
|
+
ps: [j]
|
|
1443
1445
|
}],
|
|
1444
1446
|
/**
|
|
1445
1447
|
* Padding End
|
|
1446
1448
|
* @see https://tailwindcss.com/docs/padding
|
|
1447
1449
|
*/
|
|
1448
1450
|
pe: [{
|
|
1449
|
-
pe: [
|
|
1451
|
+
pe: [j]
|
|
1450
1452
|
}],
|
|
1451
1453
|
/**
|
|
1452
1454
|
* Padding Top
|
|
1453
1455
|
* @see https://tailwindcss.com/docs/padding
|
|
1454
1456
|
*/
|
|
1455
1457
|
pt: [{
|
|
1456
|
-
pt: [
|
|
1458
|
+
pt: [j]
|
|
1457
1459
|
}],
|
|
1458
1460
|
/**
|
|
1459
1461
|
* Padding Right
|
|
1460
1462
|
* @see https://tailwindcss.com/docs/padding
|
|
1461
1463
|
*/
|
|
1462
1464
|
pr: [{
|
|
1463
|
-
pr: [
|
|
1465
|
+
pr: [j]
|
|
1464
1466
|
}],
|
|
1465
1467
|
/**
|
|
1466
1468
|
* Padding Bottom
|
|
1467
1469
|
* @see https://tailwindcss.com/docs/padding
|
|
1468
1470
|
*/
|
|
1469
1471
|
pb: [{
|
|
1470
|
-
pb: [
|
|
1472
|
+
pb: [j]
|
|
1471
1473
|
}],
|
|
1472
1474
|
/**
|
|
1473
1475
|
* Padding Left
|
|
1474
1476
|
* @see https://tailwindcss.com/docs/padding
|
|
1475
1477
|
*/
|
|
1476
1478
|
pl: [{
|
|
1477
|
-
pl: [
|
|
1479
|
+
pl: [j]
|
|
1478
1480
|
}],
|
|
1479
1481
|
/**
|
|
1480
1482
|
* Margin
|
|
1481
1483
|
* @see https://tailwindcss.com/docs/margin
|
|
1482
1484
|
*/
|
|
1483
1485
|
m: [{
|
|
1484
|
-
m: [
|
|
1486
|
+
m: [x]
|
|
1485
1487
|
}],
|
|
1486
1488
|
/**
|
|
1487
1489
|
* Margin X
|
|
1488
1490
|
* @see https://tailwindcss.com/docs/margin
|
|
1489
1491
|
*/
|
|
1490
1492
|
mx: [{
|
|
1491
|
-
mx: [
|
|
1493
|
+
mx: [x]
|
|
1492
1494
|
}],
|
|
1493
1495
|
/**
|
|
1494
1496
|
* Margin Y
|
|
1495
1497
|
* @see https://tailwindcss.com/docs/margin
|
|
1496
1498
|
*/
|
|
1497
1499
|
my: [{
|
|
1498
|
-
my: [
|
|
1500
|
+
my: [x]
|
|
1499
1501
|
}],
|
|
1500
1502
|
/**
|
|
1501
1503
|
* Margin Start
|
|
1502
1504
|
* @see https://tailwindcss.com/docs/margin
|
|
1503
1505
|
*/
|
|
1504
1506
|
ms: [{
|
|
1505
|
-
ms: [
|
|
1507
|
+
ms: [x]
|
|
1506
1508
|
}],
|
|
1507
1509
|
/**
|
|
1508
1510
|
* Margin End
|
|
1509
1511
|
* @see https://tailwindcss.com/docs/margin
|
|
1510
1512
|
*/
|
|
1511
1513
|
me: [{
|
|
1512
|
-
me: [
|
|
1514
|
+
me: [x]
|
|
1513
1515
|
}],
|
|
1514
1516
|
/**
|
|
1515
1517
|
* Margin Top
|
|
1516
1518
|
* @see https://tailwindcss.com/docs/margin
|
|
1517
1519
|
*/
|
|
1518
1520
|
mt: [{
|
|
1519
|
-
mt: [
|
|
1521
|
+
mt: [x]
|
|
1520
1522
|
}],
|
|
1521
1523
|
/**
|
|
1522
1524
|
* Margin Right
|
|
1523
1525
|
* @see https://tailwindcss.com/docs/margin
|
|
1524
1526
|
*/
|
|
1525
1527
|
mr: [{
|
|
1526
|
-
mr: [
|
|
1528
|
+
mr: [x]
|
|
1527
1529
|
}],
|
|
1528
1530
|
/**
|
|
1529
1531
|
* Margin Bottom
|
|
1530
1532
|
* @see https://tailwindcss.com/docs/margin
|
|
1531
1533
|
*/
|
|
1532
1534
|
mb: [{
|
|
1533
|
-
mb: [
|
|
1535
|
+
mb: [x]
|
|
1534
1536
|
}],
|
|
1535
1537
|
/**
|
|
1536
1538
|
* Margin Left
|
|
1537
1539
|
* @see https://tailwindcss.com/docs/margin
|
|
1538
1540
|
*/
|
|
1539
1541
|
ml: [{
|
|
1540
|
-
ml: [
|
|
1542
|
+
ml: [x]
|
|
1541
1543
|
}],
|
|
1542
1544
|
/**
|
|
1543
1545
|
* Space Between X
|
|
1544
1546
|
* @see https://tailwindcss.com/docs/space
|
|
1545
1547
|
*/
|
|
1546
1548
|
"space-x": [{
|
|
1547
|
-
"space-x": [
|
|
1549
|
+
"space-x": [ae]
|
|
1548
1550
|
}],
|
|
1549
1551
|
/**
|
|
1550
1552
|
* Space Between X Reverse
|
|
@@ -1556,7 +1558,7 @@ function it() {
|
|
|
1556
1558
|
* @see https://tailwindcss.com/docs/space
|
|
1557
1559
|
*/
|
|
1558
1560
|
"space-y": [{
|
|
1559
|
-
"space-y": [
|
|
1561
|
+
"space-y": [ae]
|
|
1560
1562
|
}],
|
|
1561
1563
|
/**
|
|
1562
1564
|
* Space Between Y Reverse
|
|
@@ -1569,51 +1571,51 @@ function it() {
|
|
|
1569
1571
|
* @see https://tailwindcss.com/docs/width
|
|
1570
1572
|
*/
|
|
1571
1573
|
w: [{
|
|
1572
|
-
w: ["auto", "min", "max", "fit", "svw", "lvw", "dvw",
|
|
1574
|
+
w: ["auto", "min", "max", "fit", "svw", "lvw", "dvw", T, t]
|
|
1573
1575
|
}],
|
|
1574
1576
|
/**
|
|
1575
1577
|
* Min-Width
|
|
1576
1578
|
* @see https://tailwindcss.com/docs/min-width
|
|
1577
1579
|
*/
|
|
1578
1580
|
"min-w": [{
|
|
1579
|
-
"min-w": [
|
|
1581
|
+
"min-w": [T, t, "min", "max", "fit"]
|
|
1580
1582
|
}],
|
|
1581
1583
|
/**
|
|
1582
1584
|
* Max-Width
|
|
1583
1585
|
* @see https://tailwindcss.com/docs/max-width
|
|
1584
1586
|
*/
|
|
1585
1587
|
"max-w": [{
|
|
1586
|
-
"max-w": [
|
|
1587
|
-
screen: [
|
|
1588
|
-
},
|
|
1588
|
+
"max-w": [T, t, "none", "full", "min", "max", "fit", "prose", {
|
|
1589
|
+
screen: [ve]
|
|
1590
|
+
}, ve]
|
|
1589
1591
|
}],
|
|
1590
1592
|
/**
|
|
1591
1593
|
* Height
|
|
1592
1594
|
* @see https://tailwindcss.com/docs/height
|
|
1593
1595
|
*/
|
|
1594
1596
|
h: [{
|
|
1595
|
-
h: [
|
|
1597
|
+
h: [T, t, "auto", "min", "max", "fit", "svh", "lvh", "dvh"]
|
|
1596
1598
|
}],
|
|
1597
1599
|
/**
|
|
1598
1600
|
* Min-Height
|
|
1599
1601
|
* @see https://tailwindcss.com/docs/min-height
|
|
1600
1602
|
*/
|
|
1601
1603
|
"min-h": [{
|
|
1602
|
-
"min-h": [
|
|
1604
|
+
"min-h": [T, t, "min", "max", "fit", "svh", "lvh", "dvh"]
|
|
1603
1605
|
}],
|
|
1604
1606
|
/**
|
|
1605
1607
|
* Max-Height
|
|
1606
1608
|
* @see https://tailwindcss.com/docs/max-height
|
|
1607
1609
|
*/
|
|
1608
1610
|
"max-h": [{
|
|
1609
|
-
"max-h": [
|
|
1611
|
+
"max-h": [T, t, "min", "max", "fit", "svh", "lvh", "dvh"]
|
|
1610
1612
|
}],
|
|
1611
1613
|
/**
|
|
1612
1614
|
* Size
|
|
1613
1615
|
* @see https://tailwindcss.com/docs/size
|
|
1614
1616
|
*/
|
|
1615
1617
|
size: [{
|
|
1616
|
-
size: [
|
|
1618
|
+
size: [T, t, "auto", "min", "max", "fit"]
|
|
1617
1619
|
}],
|
|
1618
1620
|
// Typography
|
|
1619
1621
|
/**
|
|
@@ -1621,7 +1623,7 @@ function it() {
|
|
|
1621
1623
|
* @see https://tailwindcss.com/docs/font-size
|
|
1622
1624
|
*/
|
|
1623
1625
|
"font-size": [{
|
|
1624
|
-
text: ["base",
|
|
1626
|
+
text: ["base", ve, he]
|
|
1625
1627
|
}],
|
|
1626
1628
|
/**
|
|
1627
1629
|
* Font Smoothing
|
|
@@ -1638,14 +1640,14 @@ function it() {
|
|
|
1638
1640
|
* @see https://tailwindcss.com/docs/font-weight
|
|
1639
1641
|
*/
|
|
1640
1642
|
"font-weight": [{
|
|
1641
|
-
font: ["thin", "extralight", "light", "normal", "medium", "semibold", "bold", "extrabold", "black",
|
|
1643
|
+
font: ["thin", "extralight", "light", "normal", "medium", "semibold", "bold", "extrabold", "black", rt]
|
|
1642
1644
|
}],
|
|
1643
1645
|
/**
|
|
1644
1646
|
* Font Family
|
|
1645
1647
|
* @see https://tailwindcss.com/docs/font-family
|
|
1646
1648
|
*/
|
|
1647
1649
|
"font-family": [{
|
|
1648
|
-
font: [
|
|
1650
|
+
font: [He]
|
|
1649
1651
|
}],
|
|
1650
1652
|
/**
|
|
1651
1653
|
* Font Variant Numeric
|
|
@@ -1682,35 +1684,35 @@ function it() {
|
|
|
1682
1684
|
* @see https://tailwindcss.com/docs/letter-spacing
|
|
1683
1685
|
*/
|
|
1684
1686
|
tracking: [{
|
|
1685
|
-
tracking: ["tighter", "tight", "normal", "wide", "wider", "widest",
|
|
1687
|
+
tracking: ["tighter", "tight", "normal", "wide", "wider", "widest", T]
|
|
1686
1688
|
}],
|
|
1687
1689
|
/**
|
|
1688
1690
|
* Line Clamp
|
|
1689
1691
|
* @see https://tailwindcss.com/docs/line-clamp
|
|
1690
1692
|
*/
|
|
1691
1693
|
"line-clamp": [{
|
|
1692
|
-
"line-clamp": ["none",
|
|
1694
|
+
"line-clamp": ["none", Se, rt]
|
|
1693
1695
|
}],
|
|
1694
1696
|
/**
|
|
1695
1697
|
* Line Height
|
|
1696
1698
|
* @see https://tailwindcss.com/docs/line-height
|
|
1697
1699
|
*/
|
|
1698
1700
|
leading: [{
|
|
1699
|
-
leading: ["none", "tight", "snug", "normal", "relaxed", "loose",
|
|
1701
|
+
leading: ["none", "tight", "snug", "normal", "relaxed", "loose", de, T]
|
|
1700
1702
|
}],
|
|
1701
1703
|
/**
|
|
1702
1704
|
* List Style Image
|
|
1703
1705
|
* @see https://tailwindcss.com/docs/list-style-image
|
|
1704
1706
|
*/
|
|
1705
1707
|
"list-image": [{
|
|
1706
|
-
"list-image": ["none",
|
|
1708
|
+
"list-image": ["none", T]
|
|
1707
1709
|
}],
|
|
1708
1710
|
/**
|
|
1709
1711
|
* List Style Type
|
|
1710
1712
|
* @see https://tailwindcss.com/docs/list-style-type
|
|
1711
1713
|
*/
|
|
1712
1714
|
"list-style-type": [{
|
|
1713
|
-
list: ["none", "disc", "decimal",
|
|
1715
|
+
list: ["none", "disc", "decimal", T]
|
|
1714
1716
|
}],
|
|
1715
1717
|
/**
|
|
1716
1718
|
* List Style Position
|
|
@@ -1725,14 +1727,14 @@ function it() {
|
|
|
1725
1727
|
* @see https://tailwindcss.com/docs/placeholder-color
|
|
1726
1728
|
*/
|
|
1727
1729
|
"placeholder-color": [{
|
|
1728
|
-
placeholder: [
|
|
1730
|
+
placeholder: [e]
|
|
1729
1731
|
}],
|
|
1730
1732
|
/**
|
|
1731
1733
|
* Placeholder Opacity
|
|
1732
1734
|
* @see https://tailwindcss.com/docs/placeholder-opacity
|
|
1733
1735
|
*/
|
|
1734
1736
|
"placeholder-opacity": [{
|
|
1735
|
-
"placeholder-opacity": [
|
|
1737
|
+
"placeholder-opacity": [E]
|
|
1736
1738
|
}],
|
|
1737
1739
|
/**
|
|
1738
1740
|
* Text Alignment
|
|
@@ -1746,14 +1748,14 @@ function it() {
|
|
|
1746
1748
|
* @see https://tailwindcss.com/docs/text-color
|
|
1747
1749
|
*/
|
|
1748
1750
|
"text-color": [{
|
|
1749
|
-
text: [
|
|
1751
|
+
text: [e]
|
|
1750
1752
|
}],
|
|
1751
1753
|
/**
|
|
1752
1754
|
* Text Opacity
|
|
1753
1755
|
* @see https://tailwindcss.com/docs/text-opacity
|
|
1754
1756
|
*/
|
|
1755
1757
|
"text-opacity": [{
|
|
1756
|
-
"text-opacity": [
|
|
1758
|
+
"text-opacity": [E]
|
|
1757
1759
|
}],
|
|
1758
1760
|
/**
|
|
1759
1761
|
* Text Decoration
|
|
@@ -1765,28 +1767,28 @@ function it() {
|
|
|
1765
1767
|
* @see https://tailwindcss.com/docs/text-decoration-style
|
|
1766
1768
|
*/
|
|
1767
1769
|
"text-decoration-style": [{
|
|
1768
|
-
decoration: [...
|
|
1770
|
+
decoration: [...D(), "wavy"]
|
|
1769
1771
|
}],
|
|
1770
1772
|
/**
|
|
1771
1773
|
* Text Decoration Thickness
|
|
1772
1774
|
* @see https://tailwindcss.com/docs/text-decoration-thickness
|
|
1773
1775
|
*/
|
|
1774
1776
|
"text-decoration-thickness": [{
|
|
1775
|
-
decoration: ["auto", "from-font",
|
|
1777
|
+
decoration: ["auto", "from-font", de, he]
|
|
1776
1778
|
}],
|
|
1777
1779
|
/**
|
|
1778
1780
|
* Text Underline Offset
|
|
1779
1781
|
* @see https://tailwindcss.com/docs/text-underline-offset
|
|
1780
1782
|
*/
|
|
1781
1783
|
"underline-offset": [{
|
|
1782
|
-
"underline-offset": ["auto",
|
|
1784
|
+
"underline-offset": ["auto", de, T]
|
|
1783
1785
|
}],
|
|
1784
1786
|
/**
|
|
1785
1787
|
* Text Decoration Color
|
|
1786
1788
|
* @see https://tailwindcss.com/docs/text-decoration-color
|
|
1787
1789
|
*/
|
|
1788
1790
|
"text-decoration-color": [{
|
|
1789
|
-
decoration: [
|
|
1791
|
+
decoration: [e]
|
|
1790
1792
|
}],
|
|
1791
1793
|
/**
|
|
1792
1794
|
* Text Transform
|
|
@@ -1810,14 +1812,14 @@ function it() {
|
|
|
1810
1812
|
* @see https://tailwindcss.com/docs/text-indent
|
|
1811
1813
|
*/
|
|
1812
1814
|
indent: [{
|
|
1813
|
-
indent:
|
|
1815
|
+
indent: f()
|
|
1814
1816
|
}],
|
|
1815
1817
|
/**
|
|
1816
1818
|
* Vertical Alignment
|
|
1817
1819
|
* @see https://tailwindcss.com/docs/vertical-align
|
|
1818
1820
|
*/
|
|
1819
1821
|
"vertical-align": [{
|
|
1820
|
-
align: ["baseline", "top", "middle", "bottom", "text-top", "text-bottom", "sub", "super",
|
|
1822
|
+
align: ["baseline", "top", "middle", "bottom", "text-top", "text-bottom", "sub", "super", T]
|
|
1821
1823
|
}],
|
|
1822
1824
|
/**
|
|
1823
1825
|
* Whitespace
|
|
@@ -1845,7 +1847,7 @@ function it() {
|
|
|
1845
1847
|
* @see https://tailwindcss.com/docs/content
|
|
1846
1848
|
*/
|
|
1847
1849
|
content: [{
|
|
1848
|
-
content: ["none",
|
|
1850
|
+
content: ["none", T]
|
|
1849
1851
|
}],
|
|
1850
1852
|
// Backgrounds
|
|
1851
1853
|
/**
|
|
@@ -1868,7 +1870,7 @@ function it() {
|
|
|
1868
1870
|
* @see https://tailwindcss.com/docs/background-opacity
|
|
1869
1871
|
*/
|
|
1870
1872
|
"bg-opacity": [{
|
|
1871
|
-
"bg-opacity": [
|
|
1873
|
+
"bg-opacity": [E]
|
|
1872
1874
|
}],
|
|
1873
1875
|
/**
|
|
1874
1876
|
* Background Origin
|
|
@@ -1882,7 +1884,7 @@ function it() {
|
|
|
1882
1884
|
* @see https://tailwindcss.com/docs/background-position
|
|
1883
1885
|
*/
|
|
1884
1886
|
"bg-position": [{
|
|
1885
|
-
bg: [
|
|
1887
|
+
bg: [..._(), In]
|
|
1886
1888
|
}],
|
|
1887
1889
|
/**
|
|
1888
1890
|
* Background Repeat
|
|
@@ -1898,7 +1900,7 @@ function it() {
|
|
|
1898
1900
|
* @see https://tailwindcss.com/docs/background-size
|
|
1899
1901
|
*/
|
|
1900
1902
|
"bg-size": [{
|
|
1901
|
-
bg: ["auto", "cover", "contain",
|
|
1903
|
+
bg: ["auto", "cover", "contain", Ln]
|
|
1902
1904
|
}],
|
|
1903
1905
|
/**
|
|
1904
1906
|
* Background Image
|
|
@@ -1907,56 +1909,56 @@ function it() {
|
|
|
1907
1909
|
"bg-image": [{
|
|
1908
1910
|
bg: ["none", {
|
|
1909
1911
|
"gradient-to": ["t", "tr", "r", "br", "b", "bl", "l", "tl"]
|
|
1910
|
-
},
|
|
1912
|
+
}, Wn]
|
|
1911
1913
|
}],
|
|
1912
1914
|
/**
|
|
1913
1915
|
* Background Color
|
|
1914
1916
|
* @see https://tailwindcss.com/docs/background-color
|
|
1915
1917
|
*/
|
|
1916
1918
|
"bg-color": [{
|
|
1917
|
-
bg: [
|
|
1919
|
+
bg: [e]
|
|
1918
1920
|
}],
|
|
1919
1921
|
/**
|
|
1920
1922
|
* Gradient Color Stops From Position
|
|
1921
1923
|
* @see https://tailwindcss.com/docs/gradient-color-stops
|
|
1922
1924
|
*/
|
|
1923
1925
|
"gradient-from-pos": [{
|
|
1924
|
-
from: [
|
|
1926
|
+
from: [b]
|
|
1925
1927
|
}],
|
|
1926
1928
|
/**
|
|
1927
1929
|
* Gradient Color Stops Via Position
|
|
1928
1930
|
* @see https://tailwindcss.com/docs/gradient-color-stops
|
|
1929
1931
|
*/
|
|
1930
1932
|
"gradient-via-pos": [{
|
|
1931
|
-
via: [
|
|
1933
|
+
via: [b]
|
|
1932
1934
|
}],
|
|
1933
1935
|
/**
|
|
1934
1936
|
* Gradient Color Stops To Position
|
|
1935
1937
|
* @see https://tailwindcss.com/docs/gradient-color-stops
|
|
1936
1938
|
*/
|
|
1937
1939
|
"gradient-to-pos": [{
|
|
1938
|
-
to: [
|
|
1940
|
+
to: [b]
|
|
1939
1941
|
}],
|
|
1940
1942
|
/**
|
|
1941
1943
|
* Gradient Color Stops From
|
|
1942
1944
|
* @see https://tailwindcss.com/docs/gradient-color-stops
|
|
1943
1945
|
*/
|
|
1944
1946
|
"gradient-from": [{
|
|
1945
|
-
from: [
|
|
1947
|
+
from: [C]
|
|
1946
1948
|
}],
|
|
1947
1949
|
/**
|
|
1948
1950
|
* Gradient Color Stops Via
|
|
1949
1951
|
* @see https://tailwindcss.com/docs/gradient-color-stops
|
|
1950
1952
|
*/
|
|
1951
1953
|
"gradient-via": [{
|
|
1952
|
-
via: [
|
|
1954
|
+
via: [C]
|
|
1953
1955
|
}],
|
|
1954
1956
|
/**
|
|
1955
1957
|
* Gradient Color Stops To
|
|
1956
1958
|
* @see https://tailwindcss.com/docs/gradient-color-stops
|
|
1957
1959
|
*/
|
|
1958
1960
|
"gradient-to": [{
|
|
1959
|
-
to: [
|
|
1961
|
+
to: [C]
|
|
1960
1962
|
}],
|
|
1961
1963
|
// Borders
|
|
1962
1964
|
/**
|
|
@@ -2069,84 +2071,84 @@ function it() {
|
|
|
2069
2071
|
* @see https://tailwindcss.com/docs/border-width
|
|
2070
2072
|
*/
|
|
2071
2073
|
"border-w": [{
|
|
2072
|
-
border: [
|
|
2074
|
+
border: [s]
|
|
2073
2075
|
}],
|
|
2074
2076
|
/**
|
|
2075
2077
|
* Border Width X
|
|
2076
2078
|
* @see https://tailwindcss.com/docs/border-width
|
|
2077
2079
|
*/
|
|
2078
2080
|
"border-w-x": [{
|
|
2079
|
-
"border-x": [
|
|
2081
|
+
"border-x": [s]
|
|
2080
2082
|
}],
|
|
2081
2083
|
/**
|
|
2082
2084
|
* Border Width Y
|
|
2083
2085
|
* @see https://tailwindcss.com/docs/border-width
|
|
2084
2086
|
*/
|
|
2085
2087
|
"border-w-y": [{
|
|
2086
|
-
"border-y": [
|
|
2088
|
+
"border-y": [s]
|
|
2087
2089
|
}],
|
|
2088
2090
|
/**
|
|
2089
2091
|
* Border Width Start
|
|
2090
2092
|
* @see https://tailwindcss.com/docs/border-width
|
|
2091
2093
|
*/
|
|
2092
2094
|
"border-w-s": [{
|
|
2093
|
-
"border-s": [
|
|
2095
|
+
"border-s": [s]
|
|
2094
2096
|
}],
|
|
2095
2097
|
/**
|
|
2096
2098
|
* Border Width End
|
|
2097
2099
|
* @see https://tailwindcss.com/docs/border-width
|
|
2098
2100
|
*/
|
|
2099
2101
|
"border-w-e": [{
|
|
2100
|
-
"border-e": [
|
|
2102
|
+
"border-e": [s]
|
|
2101
2103
|
}],
|
|
2102
2104
|
/**
|
|
2103
2105
|
* Border Width Top
|
|
2104
2106
|
* @see https://tailwindcss.com/docs/border-width
|
|
2105
2107
|
*/
|
|
2106
2108
|
"border-w-t": [{
|
|
2107
|
-
"border-t": [
|
|
2109
|
+
"border-t": [s]
|
|
2108
2110
|
}],
|
|
2109
2111
|
/**
|
|
2110
2112
|
* Border Width Right
|
|
2111
2113
|
* @see https://tailwindcss.com/docs/border-width
|
|
2112
2114
|
*/
|
|
2113
2115
|
"border-w-r": [{
|
|
2114
|
-
"border-r": [
|
|
2116
|
+
"border-r": [s]
|
|
2115
2117
|
}],
|
|
2116
2118
|
/**
|
|
2117
2119
|
* Border Width Bottom
|
|
2118
2120
|
* @see https://tailwindcss.com/docs/border-width
|
|
2119
2121
|
*/
|
|
2120
2122
|
"border-w-b": [{
|
|
2121
|
-
"border-b": [
|
|
2123
|
+
"border-b": [s]
|
|
2122
2124
|
}],
|
|
2123
2125
|
/**
|
|
2124
2126
|
* Border Width Left
|
|
2125
2127
|
* @see https://tailwindcss.com/docs/border-width
|
|
2126
2128
|
*/
|
|
2127
2129
|
"border-w-l": [{
|
|
2128
|
-
"border-l": [
|
|
2130
|
+
"border-l": [s]
|
|
2129
2131
|
}],
|
|
2130
2132
|
/**
|
|
2131
2133
|
* Border Opacity
|
|
2132
2134
|
* @see https://tailwindcss.com/docs/border-opacity
|
|
2133
2135
|
*/
|
|
2134
2136
|
"border-opacity": [{
|
|
2135
|
-
"border-opacity": [
|
|
2137
|
+
"border-opacity": [E]
|
|
2136
2138
|
}],
|
|
2137
2139
|
/**
|
|
2138
2140
|
* Border Style
|
|
2139
2141
|
* @see https://tailwindcss.com/docs/border-style
|
|
2140
2142
|
*/
|
|
2141
2143
|
"border-style": [{
|
|
2142
|
-
border: [...
|
|
2144
|
+
border: [...D(), "hidden"]
|
|
2143
2145
|
}],
|
|
2144
2146
|
/**
|
|
2145
2147
|
* Divide Width X
|
|
2146
2148
|
* @see https://tailwindcss.com/docs/divide-width
|
|
2147
2149
|
*/
|
|
2148
2150
|
"divide-x": [{
|
|
2149
|
-
"divide-x": [
|
|
2151
|
+
"divide-x": [s]
|
|
2150
2152
|
}],
|
|
2151
2153
|
/**
|
|
2152
2154
|
* Divide Width X Reverse
|
|
@@ -2158,7 +2160,7 @@ function it() {
|
|
|
2158
2160
|
* @see https://tailwindcss.com/docs/divide-width
|
|
2159
2161
|
*/
|
|
2160
2162
|
"divide-y": [{
|
|
2161
|
-
"divide-y": [
|
|
2163
|
+
"divide-y": [s]
|
|
2162
2164
|
}],
|
|
2163
2165
|
/**
|
|
2164
2166
|
* Divide Width Y Reverse
|
|
@@ -2170,105 +2172,105 @@ function it() {
|
|
|
2170
2172
|
* @see https://tailwindcss.com/docs/divide-opacity
|
|
2171
2173
|
*/
|
|
2172
2174
|
"divide-opacity": [{
|
|
2173
|
-
"divide-opacity": [
|
|
2175
|
+
"divide-opacity": [E]
|
|
2174
2176
|
}],
|
|
2175
2177
|
/**
|
|
2176
2178
|
* Divide Style
|
|
2177
2179
|
* @see https://tailwindcss.com/docs/divide-style
|
|
2178
2180
|
*/
|
|
2179
2181
|
"divide-style": [{
|
|
2180
|
-
divide:
|
|
2182
|
+
divide: D()
|
|
2181
2183
|
}],
|
|
2182
2184
|
/**
|
|
2183
2185
|
* Border Color
|
|
2184
2186
|
* @see https://tailwindcss.com/docs/border-color
|
|
2185
2187
|
*/
|
|
2186
2188
|
"border-color": [{
|
|
2187
|
-
border: [
|
|
2189
|
+
border: [o]
|
|
2188
2190
|
}],
|
|
2189
2191
|
/**
|
|
2190
2192
|
* Border Color X
|
|
2191
2193
|
* @see https://tailwindcss.com/docs/border-color
|
|
2192
2194
|
*/
|
|
2193
2195
|
"border-color-x": [{
|
|
2194
|
-
"border-x": [
|
|
2196
|
+
"border-x": [o]
|
|
2195
2197
|
}],
|
|
2196
2198
|
/**
|
|
2197
2199
|
* Border Color Y
|
|
2198
2200
|
* @see https://tailwindcss.com/docs/border-color
|
|
2199
2201
|
*/
|
|
2200
2202
|
"border-color-y": [{
|
|
2201
|
-
"border-y": [
|
|
2203
|
+
"border-y": [o]
|
|
2202
2204
|
}],
|
|
2203
2205
|
/**
|
|
2204
2206
|
* Border Color Top
|
|
2205
2207
|
* @see https://tailwindcss.com/docs/border-color
|
|
2206
2208
|
*/
|
|
2207
2209
|
"border-color-t": [{
|
|
2208
|
-
"border-t": [
|
|
2210
|
+
"border-t": [o]
|
|
2209
2211
|
}],
|
|
2210
2212
|
/**
|
|
2211
2213
|
* Border Color Right
|
|
2212
2214
|
* @see https://tailwindcss.com/docs/border-color
|
|
2213
2215
|
*/
|
|
2214
2216
|
"border-color-r": [{
|
|
2215
|
-
"border-r": [
|
|
2217
|
+
"border-r": [o]
|
|
2216
2218
|
}],
|
|
2217
2219
|
/**
|
|
2218
2220
|
* Border Color Bottom
|
|
2219
2221
|
* @see https://tailwindcss.com/docs/border-color
|
|
2220
2222
|
*/
|
|
2221
2223
|
"border-color-b": [{
|
|
2222
|
-
"border-b": [
|
|
2224
|
+
"border-b": [o]
|
|
2223
2225
|
}],
|
|
2224
2226
|
/**
|
|
2225
2227
|
* Border Color Left
|
|
2226
2228
|
* @see https://tailwindcss.com/docs/border-color
|
|
2227
2229
|
*/
|
|
2228
2230
|
"border-color-l": [{
|
|
2229
|
-
"border-l": [
|
|
2231
|
+
"border-l": [o]
|
|
2230
2232
|
}],
|
|
2231
2233
|
/**
|
|
2232
2234
|
* Divide Color
|
|
2233
2235
|
* @see https://tailwindcss.com/docs/divide-color
|
|
2234
2236
|
*/
|
|
2235
2237
|
"divide-color": [{
|
|
2236
|
-
divide: [
|
|
2238
|
+
divide: [o]
|
|
2237
2239
|
}],
|
|
2238
2240
|
/**
|
|
2239
2241
|
* Outline Style
|
|
2240
2242
|
* @see https://tailwindcss.com/docs/outline-style
|
|
2241
2243
|
*/
|
|
2242
2244
|
"outline-style": [{
|
|
2243
|
-
outline: ["", ...
|
|
2245
|
+
outline: ["", ...D()]
|
|
2244
2246
|
}],
|
|
2245
2247
|
/**
|
|
2246
2248
|
* Outline Offset
|
|
2247
2249
|
* @see https://tailwindcss.com/docs/outline-offset
|
|
2248
2250
|
*/
|
|
2249
2251
|
"outline-offset": [{
|
|
2250
|
-
"outline-offset": [
|
|
2252
|
+
"outline-offset": [de, T]
|
|
2251
2253
|
}],
|
|
2252
2254
|
/**
|
|
2253
2255
|
* Outline Width
|
|
2254
2256
|
* @see https://tailwindcss.com/docs/outline-width
|
|
2255
2257
|
*/
|
|
2256
2258
|
"outline-w": [{
|
|
2257
|
-
outline: [
|
|
2259
|
+
outline: [de, he]
|
|
2258
2260
|
}],
|
|
2259
2261
|
/**
|
|
2260
2262
|
* Outline Color
|
|
2261
2263
|
* @see https://tailwindcss.com/docs/outline-color
|
|
2262
2264
|
*/
|
|
2263
2265
|
"outline-color": [{
|
|
2264
|
-
outline: [
|
|
2266
|
+
outline: [e]
|
|
2265
2267
|
}],
|
|
2266
2268
|
/**
|
|
2267
2269
|
* Ring Width
|
|
2268
2270
|
* @see https://tailwindcss.com/docs/ring-width
|
|
2269
2271
|
*/
|
|
2270
2272
|
"ring-w": [{
|
|
2271
|
-
ring:
|
|
2273
|
+
ring: w()
|
|
2272
2274
|
}],
|
|
2273
2275
|
/**
|
|
2274
2276
|
* Ring Width Inset
|
|
@@ -2280,28 +2282,28 @@ function it() {
|
|
|
2280
2282
|
* @see https://tailwindcss.com/docs/ring-color
|
|
2281
2283
|
*/
|
|
2282
2284
|
"ring-color": [{
|
|
2283
|
-
ring: [
|
|
2285
|
+
ring: [e]
|
|
2284
2286
|
}],
|
|
2285
2287
|
/**
|
|
2286
2288
|
* Ring Opacity
|
|
2287
2289
|
* @see https://tailwindcss.com/docs/ring-opacity
|
|
2288
2290
|
*/
|
|
2289
2291
|
"ring-opacity": [{
|
|
2290
|
-
"ring-opacity": [
|
|
2292
|
+
"ring-opacity": [E]
|
|
2291
2293
|
}],
|
|
2292
2294
|
/**
|
|
2293
2295
|
* Ring Offset Width
|
|
2294
2296
|
* @see https://tailwindcss.com/docs/ring-offset-width
|
|
2295
2297
|
*/
|
|
2296
2298
|
"ring-offset-w": [{
|
|
2297
|
-
"ring-offset": [
|
|
2299
|
+
"ring-offset": [de, he]
|
|
2298
2300
|
}],
|
|
2299
2301
|
/**
|
|
2300
2302
|
* Ring Offset Color
|
|
2301
2303
|
* @see https://tailwindcss.com/docs/ring-offset-color
|
|
2302
2304
|
*/
|
|
2303
2305
|
"ring-offset-color": [{
|
|
2304
|
-
"ring-offset": [
|
|
2306
|
+
"ring-offset": [e]
|
|
2305
2307
|
}],
|
|
2306
2308
|
// Effects
|
|
2307
2309
|
/**
|
|
@@ -2309,35 +2311,35 @@ function it() {
|
|
|
2309
2311
|
* @see https://tailwindcss.com/docs/box-shadow
|
|
2310
2312
|
*/
|
|
2311
2313
|
shadow: [{
|
|
2312
|
-
shadow: ["", "inner", "none",
|
|
2314
|
+
shadow: ["", "inner", "none", ve, Bn]
|
|
2313
2315
|
}],
|
|
2314
2316
|
/**
|
|
2315
2317
|
* Box Shadow Color
|
|
2316
2318
|
* @see https://tailwindcss.com/docs/box-shadow-color
|
|
2317
2319
|
*/
|
|
2318
2320
|
"shadow-color": [{
|
|
2319
|
-
shadow: [
|
|
2321
|
+
shadow: [He]
|
|
2320
2322
|
}],
|
|
2321
2323
|
/**
|
|
2322
2324
|
* Opacity
|
|
2323
2325
|
* @see https://tailwindcss.com/docs/opacity
|
|
2324
2326
|
*/
|
|
2325
2327
|
opacity: [{
|
|
2326
|
-
opacity: [
|
|
2328
|
+
opacity: [E]
|
|
2327
2329
|
}],
|
|
2328
2330
|
/**
|
|
2329
2331
|
* Mix Blend Mode
|
|
2330
2332
|
* @see https://tailwindcss.com/docs/mix-blend-mode
|
|
2331
2333
|
*/
|
|
2332
2334
|
"mix-blend": [{
|
|
2333
|
-
"mix-blend": [...
|
|
2335
|
+
"mix-blend": [...W(), "plus-lighter", "plus-darker"]
|
|
2334
2336
|
}],
|
|
2335
2337
|
/**
|
|
2336
2338
|
* Background Blend Mode
|
|
2337
2339
|
* @see https://tailwindcss.com/docs/background-blend-mode
|
|
2338
2340
|
*/
|
|
2339
2341
|
"bg-blend": [{
|
|
2340
|
-
"bg-blend":
|
|
2342
|
+
"bg-blend": W()
|
|
2341
2343
|
}],
|
|
2342
2344
|
// Filters
|
|
2343
2345
|
/**
|
|
@@ -2353,7 +2355,7 @@ function it() {
|
|
|
2353
2355
|
* @see https://tailwindcss.com/docs/blur
|
|
2354
2356
|
*/
|
|
2355
2357
|
blur: [{
|
|
2356
|
-
blur: [
|
|
2358
|
+
blur: [r]
|
|
2357
2359
|
}],
|
|
2358
2360
|
/**
|
|
2359
2361
|
* Brightness
|
|
@@ -2367,49 +2369,49 @@ function it() {
|
|
|
2367
2369
|
* @see https://tailwindcss.com/docs/contrast
|
|
2368
2370
|
*/
|
|
2369
2371
|
contrast: [{
|
|
2370
|
-
contrast: [
|
|
2372
|
+
contrast: [u]
|
|
2371
2373
|
}],
|
|
2372
2374
|
/**
|
|
2373
2375
|
* Drop Shadow
|
|
2374
2376
|
* @see https://tailwindcss.com/docs/drop-shadow
|
|
2375
2377
|
*/
|
|
2376
2378
|
"drop-shadow": [{
|
|
2377
|
-
"drop-shadow": ["", "none",
|
|
2379
|
+
"drop-shadow": ["", "none", ve, T]
|
|
2378
2380
|
}],
|
|
2379
2381
|
/**
|
|
2380
2382
|
* Grayscale
|
|
2381
2383
|
* @see https://tailwindcss.com/docs/grayscale
|
|
2382
2384
|
*/
|
|
2383
2385
|
grayscale: [{
|
|
2384
|
-
grayscale: [
|
|
2386
|
+
grayscale: [y]
|
|
2385
2387
|
}],
|
|
2386
2388
|
/**
|
|
2387
2389
|
* Hue Rotate
|
|
2388
2390
|
* @see https://tailwindcss.com/docs/hue-rotate
|
|
2389
2391
|
*/
|
|
2390
2392
|
"hue-rotate": [{
|
|
2391
|
-
"hue-rotate": [
|
|
2393
|
+
"hue-rotate": [c]
|
|
2392
2394
|
}],
|
|
2393
2395
|
/**
|
|
2394
2396
|
* Invert
|
|
2395
2397
|
* @see https://tailwindcss.com/docs/invert
|
|
2396
2398
|
*/
|
|
2397
2399
|
invert: [{
|
|
2398
|
-
invert: [
|
|
2400
|
+
invert: [p]
|
|
2399
2401
|
}],
|
|
2400
2402
|
/**
|
|
2401
2403
|
* Saturate
|
|
2402
2404
|
* @see https://tailwindcss.com/docs/saturate
|
|
2403
2405
|
*/
|
|
2404
2406
|
saturate: [{
|
|
2405
|
-
saturate: [
|
|
2407
|
+
saturate: [$]
|
|
2406
2408
|
}],
|
|
2407
2409
|
/**
|
|
2408
2410
|
* Sepia
|
|
2409
2411
|
* @see https://tailwindcss.com/docs/sepia
|
|
2410
2412
|
*/
|
|
2411
2413
|
sepia: [{
|
|
2412
|
-
sepia: [
|
|
2414
|
+
sepia: [G]
|
|
2413
2415
|
}],
|
|
2414
2416
|
/**
|
|
2415
2417
|
* Backdrop Filter
|
|
@@ -2424,7 +2426,7 @@ function it() {
|
|
|
2424
2426
|
* @see https://tailwindcss.com/docs/backdrop-blur
|
|
2425
2427
|
*/
|
|
2426
2428
|
"backdrop-blur": [{
|
|
2427
|
-
"backdrop-blur": [
|
|
2429
|
+
"backdrop-blur": [r]
|
|
2428
2430
|
}],
|
|
2429
2431
|
/**
|
|
2430
2432
|
* Backdrop Brightness
|
|
@@ -2438,49 +2440,49 @@ function it() {
|
|
|
2438
2440
|
* @see https://tailwindcss.com/docs/backdrop-contrast
|
|
2439
2441
|
*/
|
|
2440
2442
|
"backdrop-contrast": [{
|
|
2441
|
-
"backdrop-contrast": [
|
|
2443
|
+
"backdrop-contrast": [u]
|
|
2442
2444
|
}],
|
|
2443
2445
|
/**
|
|
2444
2446
|
* Backdrop Grayscale
|
|
2445
2447
|
* @see https://tailwindcss.com/docs/backdrop-grayscale
|
|
2446
2448
|
*/
|
|
2447
2449
|
"backdrop-grayscale": [{
|
|
2448
|
-
"backdrop-grayscale": [
|
|
2450
|
+
"backdrop-grayscale": [y]
|
|
2449
2451
|
}],
|
|
2450
2452
|
/**
|
|
2451
2453
|
* Backdrop Hue Rotate
|
|
2452
2454
|
* @see https://tailwindcss.com/docs/backdrop-hue-rotate
|
|
2453
2455
|
*/
|
|
2454
2456
|
"backdrop-hue-rotate": [{
|
|
2455
|
-
"backdrop-hue-rotate": [
|
|
2457
|
+
"backdrop-hue-rotate": [c]
|
|
2456
2458
|
}],
|
|
2457
2459
|
/**
|
|
2458
2460
|
* Backdrop Invert
|
|
2459
2461
|
* @see https://tailwindcss.com/docs/backdrop-invert
|
|
2460
2462
|
*/
|
|
2461
2463
|
"backdrop-invert": [{
|
|
2462
|
-
"backdrop-invert": [
|
|
2464
|
+
"backdrop-invert": [p]
|
|
2463
2465
|
}],
|
|
2464
2466
|
/**
|
|
2465
2467
|
* Backdrop Opacity
|
|
2466
2468
|
* @see https://tailwindcss.com/docs/backdrop-opacity
|
|
2467
2469
|
*/
|
|
2468
2470
|
"backdrop-opacity": [{
|
|
2469
|
-
"backdrop-opacity": [
|
|
2471
|
+
"backdrop-opacity": [E]
|
|
2470
2472
|
}],
|
|
2471
2473
|
/**
|
|
2472
2474
|
* Backdrop Saturate
|
|
2473
2475
|
* @see https://tailwindcss.com/docs/backdrop-saturate
|
|
2474
2476
|
*/
|
|
2475
2477
|
"backdrop-saturate": [{
|
|
2476
|
-
"backdrop-saturate": [
|
|
2478
|
+
"backdrop-saturate": [$]
|
|
2477
2479
|
}],
|
|
2478
2480
|
/**
|
|
2479
2481
|
* Backdrop Sepia
|
|
2480
2482
|
* @see https://tailwindcss.com/docs/backdrop-sepia
|
|
2481
2483
|
*/
|
|
2482
2484
|
"backdrop-sepia": [{
|
|
2483
|
-
"backdrop-sepia": [
|
|
2485
|
+
"backdrop-sepia": [G]
|
|
2484
2486
|
}],
|
|
2485
2487
|
// Tables
|
|
2486
2488
|
/**
|
|
@@ -2495,21 +2497,21 @@ function it() {
|
|
|
2495
2497
|
* @see https://tailwindcss.com/docs/border-spacing
|
|
2496
2498
|
*/
|
|
2497
2499
|
"border-spacing": [{
|
|
2498
|
-
"border-spacing": [
|
|
2500
|
+
"border-spacing": [a]
|
|
2499
2501
|
}],
|
|
2500
2502
|
/**
|
|
2501
2503
|
* Border Spacing X
|
|
2502
2504
|
* @see https://tailwindcss.com/docs/border-spacing
|
|
2503
2505
|
*/
|
|
2504
2506
|
"border-spacing-x": [{
|
|
2505
|
-
"border-spacing-x": [
|
|
2507
|
+
"border-spacing-x": [a]
|
|
2506
2508
|
}],
|
|
2507
2509
|
/**
|
|
2508
2510
|
* Border Spacing Y
|
|
2509
2511
|
* @see https://tailwindcss.com/docs/border-spacing
|
|
2510
2512
|
*/
|
|
2511
2513
|
"border-spacing-y": [{
|
|
2512
|
-
"border-spacing-y": [
|
|
2514
|
+
"border-spacing-y": [a]
|
|
2513
2515
|
}],
|
|
2514
2516
|
/**
|
|
2515
2517
|
* Table Layout
|
|
@@ -2531,35 +2533,35 @@ function it() {
|
|
|
2531
2533
|
* @see https://tailwindcss.com/docs/transition-property
|
|
2532
2534
|
*/
|
|
2533
2535
|
transition: [{
|
|
2534
|
-
transition: ["none", "all", "", "colors", "opacity", "shadow", "transform",
|
|
2536
|
+
transition: ["none", "all", "", "colors", "opacity", "shadow", "transform", T]
|
|
2535
2537
|
}],
|
|
2536
2538
|
/**
|
|
2537
2539
|
* Transition Duration
|
|
2538
2540
|
* @see https://tailwindcss.com/docs/transition-duration
|
|
2539
2541
|
*/
|
|
2540
2542
|
duration: [{
|
|
2541
|
-
duration:
|
|
2543
|
+
duration: re()
|
|
2542
2544
|
}],
|
|
2543
2545
|
/**
|
|
2544
2546
|
* Transition Timing Function
|
|
2545
2547
|
* @see https://tailwindcss.com/docs/transition-timing-function
|
|
2546
2548
|
*/
|
|
2547
2549
|
ease: [{
|
|
2548
|
-
ease: ["linear", "in", "out", "in-out",
|
|
2550
|
+
ease: ["linear", "in", "out", "in-out", T]
|
|
2549
2551
|
}],
|
|
2550
2552
|
/**
|
|
2551
2553
|
* Transition Delay
|
|
2552
2554
|
* @see https://tailwindcss.com/docs/transition-delay
|
|
2553
2555
|
*/
|
|
2554
2556
|
delay: [{
|
|
2555
|
-
delay:
|
|
2557
|
+
delay: re()
|
|
2556
2558
|
}],
|
|
2557
2559
|
/**
|
|
2558
2560
|
* Animation
|
|
2559
2561
|
* @see https://tailwindcss.com/docs/animation
|
|
2560
2562
|
*/
|
|
2561
2563
|
animate: [{
|
|
2562
|
-
animate: ["none", "spin", "ping", "pulse", "bounce",
|
|
2564
|
+
animate: ["none", "spin", "ping", "pulse", "bounce", T]
|
|
2563
2565
|
}],
|
|
2564
2566
|
// Transforms
|
|
2565
2567
|
/**
|
|
@@ -2574,63 +2576,63 @@ function it() {
|
|
|
2574
2576
|
* @see https://tailwindcss.com/docs/scale
|
|
2575
2577
|
*/
|
|
2576
2578
|
scale: [{
|
|
2577
|
-
scale: [
|
|
2579
|
+
scale: [z]
|
|
2578
2580
|
}],
|
|
2579
2581
|
/**
|
|
2580
2582
|
* Scale X
|
|
2581
2583
|
* @see https://tailwindcss.com/docs/scale
|
|
2582
2584
|
*/
|
|
2583
2585
|
"scale-x": [{
|
|
2584
|
-
"scale-x": [
|
|
2586
|
+
"scale-x": [z]
|
|
2585
2587
|
}],
|
|
2586
2588
|
/**
|
|
2587
2589
|
* Scale Y
|
|
2588
2590
|
* @see https://tailwindcss.com/docs/scale
|
|
2589
2591
|
*/
|
|
2590
2592
|
"scale-y": [{
|
|
2591
|
-
"scale-y": [
|
|
2593
|
+
"scale-y": [z]
|
|
2592
2594
|
}],
|
|
2593
2595
|
/**
|
|
2594
2596
|
* Rotate
|
|
2595
2597
|
* @see https://tailwindcss.com/docs/rotate
|
|
2596
2598
|
*/
|
|
2597
2599
|
rotate: [{
|
|
2598
|
-
rotate: [
|
|
2600
|
+
rotate: [Ue, T]
|
|
2599
2601
|
}],
|
|
2600
2602
|
/**
|
|
2601
2603
|
* Translate X
|
|
2602
2604
|
* @see https://tailwindcss.com/docs/translate
|
|
2603
2605
|
*/
|
|
2604
2606
|
"translate-x": [{
|
|
2605
|
-
"translate-x": [
|
|
2607
|
+
"translate-x": [Z]
|
|
2606
2608
|
}],
|
|
2607
2609
|
/**
|
|
2608
2610
|
* Translate Y
|
|
2609
2611
|
* @see https://tailwindcss.com/docs/translate
|
|
2610
2612
|
*/
|
|
2611
2613
|
"translate-y": [{
|
|
2612
|
-
"translate-y": [
|
|
2614
|
+
"translate-y": [Z]
|
|
2613
2615
|
}],
|
|
2614
2616
|
/**
|
|
2615
2617
|
* Skew X
|
|
2616
2618
|
* @see https://tailwindcss.com/docs/skew
|
|
2617
2619
|
*/
|
|
2618
2620
|
"skew-x": [{
|
|
2619
|
-
"skew-x": [
|
|
2621
|
+
"skew-x": [q]
|
|
2620
2622
|
}],
|
|
2621
2623
|
/**
|
|
2622
2624
|
* Skew Y
|
|
2623
2625
|
* @see https://tailwindcss.com/docs/skew
|
|
2624
2626
|
*/
|
|
2625
2627
|
"skew-y": [{
|
|
2626
|
-
"skew-y": [
|
|
2628
|
+
"skew-y": [q]
|
|
2627
2629
|
}],
|
|
2628
2630
|
/**
|
|
2629
2631
|
* Transform Origin
|
|
2630
2632
|
* @see https://tailwindcss.com/docs/transform-origin
|
|
2631
2633
|
*/
|
|
2632
2634
|
"transform-origin": [{
|
|
2633
|
-
origin: ["center", "top", "top-right", "right", "bottom-right", "bottom", "bottom-left", "left", "top-left",
|
|
2635
|
+
origin: ["center", "top", "top-right", "right", "bottom-right", "bottom", "bottom-left", "left", "top-left", T]
|
|
2634
2636
|
}],
|
|
2635
2637
|
// Interactivity
|
|
2636
2638
|
/**
|
|
@@ -2638,7 +2640,7 @@ function it() {
|
|
|
2638
2640
|
* @see https://tailwindcss.com/docs/accent-color
|
|
2639
2641
|
*/
|
|
2640
2642
|
accent: [{
|
|
2641
|
-
accent: ["auto",
|
|
2643
|
+
accent: ["auto", e]
|
|
2642
2644
|
}],
|
|
2643
2645
|
/**
|
|
2644
2646
|
* Appearance
|
|
@@ -2652,14 +2654,14 @@ function it() {
|
|
|
2652
2654
|
* @see https://tailwindcss.com/docs/cursor
|
|
2653
2655
|
*/
|
|
2654
2656
|
cursor: [{
|
|
2655
|
-
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",
|
|
2657
|
+
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", T]
|
|
2656
2658
|
}],
|
|
2657
2659
|
/**
|
|
2658
2660
|
* Caret Color
|
|
2659
2661
|
* @see https://tailwindcss.com/docs/just-in-time-mode#caret-color-utilities
|
|
2660
2662
|
*/
|
|
2661
2663
|
"caret-color": [{
|
|
2662
|
-
caret: [
|
|
2664
|
+
caret: [e]
|
|
2663
2665
|
}],
|
|
2664
2666
|
/**
|
|
2665
2667
|
* Pointer Events
|
|
@@ -2687,126 +2689,126 @@ function it() {
|
|
|
2687
2689
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
2688
2690
|
*/
|
|
2689
2691
|
"scroll-m": [{
|
|
2690
|
-
"scroll-m":
|
|
2692
|
+
"scroll-m": f()
|
|
2691
2693
|
}],
|
|
2692
2694
|
/**
|
|
2693
2695
|
* Scroll Margin X
|
|
2694
2696
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
2695
2697
|
*/
|
|
2696
2698
|
"scroll-mx": [{
|
|
2697
|
-
"scroll-mx":
|
|
2699
|
+
"scroll-mx": f()
|
|
2698
2700
|
}],
|
|
2699
2701
|
/**
|
|
2700
2702
|
* Scroll Margin Y
|
|
2701
2703
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
2702
2704
|
*/
|
|
2703
2705
|
"scroll-my": [{
|
|
2704
|
-
"scroll-my":
|
|
2706
|
+
"scroll-my": f()
|
|
2705
2707
|
}],
|
|
2706
2708
|
/**
|
|
2707
2709
|
* Scroll Margin Start
|
|
2708
2710
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
2709
2711
|
*/
|
|
2710
2712
|
"scroll-ms": [{
|
|
2711
|
-
"scroll-ms":
|
|
2713
|
+
"scroll-ms": f()
|
|
2712
2714
|
}],
|
|
2713
2715
|
/**
|
|
2714
2716
|
* Scroll Margin End
|
|
2715
2717
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
2716
2718
|
*/
|
|
2717
2719
|
"scroll-me": [{
|
|
2718
|
-
"scroll-me":
|
|
2720
|
+
"scroll-me": f()
|
|
2719
2721
|
}],
|
|
2720
2722
|
/**
|
|
2721
2723
|
* Scroll Margin Top
|
|
2722
2724
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
2723
2725
|
*/
|
|
2724
2726
|
"scroll-mt": [{
|
|
2725
|
-
"scroll-mt":
|
|
2727
|
+
"scroll-mt": f()
|
|
2726
2728
|
}],
|
|
2727
2729
|
/**
|
|
2728
2730
|
* Scroll Margin Right
|
|
2729
2731
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
2730
2732
|
*/
|
|
2731
2733
|
"scroll-mr": [{
|
|
2732
|
-
"scroll-mr":
|
|
2734
|
+
"scroll-mr": f()
|
|
2733
2735
|
}],
|
|
2734
2736
|
/**
|
|
2735
2737
|
* Scroll Margin Bottom
|
|
2736
2738
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
2737
2739
|
*/
|
|
2738
2740
|
"scroll-mb": [{
|
|
2739
|
-
"scroll-mb":
|
|
2741
|
+
"scroll-mb": f()
|
|
2740
2742
|
}],
|
|
2741
2743
|
/**
|
|
2742
2744
|
* Scroll Margin Left
|
|
2743
2745
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
2744
2746
|
*/
|
|
2745
2747
|
"scroll-ml": [{
|
|
2746
|
-
"scroll-ml":
|
|
2748
|
+
"scroll-ml": f()
|
|
2747
2749
|
}],
|
|
2748
2750
|
/**
|
|
2749
2751
|
* Scroll Padding
|
|
2750
2752
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
2751
2753
|
*/
|
|
2752
2754
|
"scroll-p": [{
|
|
2753
|
-
"scroll-p":
|
|
2755
|
+
"scroll-p": f()
|
|
2754
2756
|
}],
|
|
2755
2757
|
/**
|
|
2756
2758
|
* Scroll Padding X
|
|
2757
2759
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
2758
2760
|
*/
|
|
2759
2761
|
"scroll-px": [{
|
|
2760
|
-
"scroll-px":
|
|
2762
|
+
"scroll-px": f()
|
|
2761
2763
|
}],
|
|
2762
2764
|
/**
|
|
2763
2765
|
* Scroll Padding Y
|
|
2764
2766
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
2765
2767
|
*/
|
|
2766
2768
|
"scroll-py": [{
|
|
2767
|
-
"scroll-py":
|
|
2769
|
+
"scroll-py": f()
|
|
2768
2770
|
}],
|
|
2769
2771
|
/**
|
|
2770
2772
|
* Scroll Padding Start
|
|
2771
2773
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
2772
2774
|
*/
|
|
2773
2775
|
"scroll-ps": [{
|
|
2774
|
-
"scroll-ps":
|
|
2776
|
+
"scroll-ps": f()
|
|
2775
2777
|
}],
|
|
2776
2778
|
/**
|
|
2777
2779
|
* Scroll Padding End
|
|
2778
2780
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
2779
2781
|
*/
|
|
2780
2782
|
"scroll-pe": [{
|
|
2781
|
-
"scroll-pe":
|
|
2783
|
+
"scroll-pe": f()
|
|
2782
2784
|
}],
|
|
2783
2785
|
/**
|
|
2784
2786
|
* Scroll Padding Top
|
|
2785
2787
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
2786
2788
|
*/
|
|
2787
2789
|
"scroll-pt": [{
|
|
2788
|
-
"scroll-pt":
|
|
2790
|
+
"scroll-pt": f()
|
|
2789
2791
|
}],
|
|
2790
2792
|
/**
|
|
2791
2793
|
* Scroll Padding Right
|
|
2792
2794
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
2793
2795
|
*/
|
|
2794
2796
|
"scroll-pr": [{
|
|
2795
|
-
"scroll-pr":
|
|
2797
|
+
"scroll-pr": f()
|
|
2796
2798
|
}],
|
|
2797
2799
|
/**
|
|
2798
2800
|
* Scroll Padding Bottom
|
|
2799
2801
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
2800
2802
|
*/
|
|
2801
2803
|
"scroll-pb": [{
|
|
2802
|
-
"scroll-pb":
|
|
2804
|
+
"scroll-pb": f()
|
|
2803
2805
|
}],
|
|
2804
2806
|
/**
|
|
2805
2807
|
* Scroll Padding Left
|
|
2806
2808
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
2807
2809
|
*/
|
|
2808
2810
|
"scroll-pl": [{
|
|
2809
|
-
"scroll-pl":
|
|
2811
|
+
"scroll-pl": f()
|
|
2810
2812
|
}],
|
|
2811
2813
|
/**
|
|
2812
2814
|
* Scroll Snap Align
|
|
@@ -2874,7 +2876,7 @@ function it() {
|
|
|
2874
2876
|
* @see https://tailwindcss.com/docs/will-change
|
|
2875
2877
|
*/
|
|
2876
2878
|
"will-change": [{
|
|
2877
|
-
"will-change": ["auto", "scroll", "contents", "transform",
|
|
2879
|
+
"will-change": ["auto", "scroll", "contents", "transform", T]
|
|
2878
2880
|
}],
|
|
2879
2881
|
// SVG
|
|
2880
2882
|
/**
|
|
@@ -2882,21 +2884,21 @@ function it() {
|
|
|
2882
2884
|
* @see https://tailwindcss.com/docs/fill
|
|
2883
2885
|
*/
|
|
2884
2886
|
fill: [{
|
|
2885
|
-
fill: [
|
|
2887
|
+
fill: [e, "none"]
|
|
2886
2888
|
}],
|
|
2887
2889
|
/**
|
|
2888
2890
|
* Stroke Width
|
|
2889
2891
|
* @see https://tailwindcss.com/docs/stroke-width
|
|
2890
2892
|
*/
|
|
2891
2893
|
"stroke-w": [{
|
|
2892
|
-
stroke: [
|
|
2894
|
+
stroke: [de, he, rt]
|
|
2893
2895
|
}],
|
|
2894
2896
|
/**
|
|
2895
2897
|
* Stroke
|
|
2896
2898
|
* @see https://tailwindcss.com/docs/stroke
|
|
2897
2899
|
*/
|
|
2898
2900
|
stroke: [{
|
|
2899
|
-
stroke: [
|
|
2901
|
+
stroke: [e, "none"]
|
|
2900
2902
|
}],
|
|
2901
2903
|
// Accessibility
|
|
2902
2904
|
/**
|
|
@@ -2965,23 +2967,1546 @@ function it() {
|
|
|
2965
2967
|
}
|
|
2966
2968
|
};
|
|
2967
2969
|
}
|
|
2968
|
-
const
|
|
2969
|
-
function
|
|
2970
|
-
return
|
|
2970
|
+
const Yn = /* @__PURE__ */ Tn(Vn);
|
|
2971
|
+
function qn(...e) {
|
|
2972
|
+
return Yn(gn(e));
|
|
2971
2973
|
}
|
|
2972
|
-
const
|
|
2974
|
+
const Kn = ({ className: e, text: t, onClick: r, disabled: n }) => /* @__PURE__ */ P.jsx(
|
|
2973
2975
|
"button",
|
|
2974
2976
|
{
|
|
2975
2977
|
disabled: n,
|
|
2976
|
-
onClick:
|
|
2977
|
-
className:
|
|
2978
|
+
onClick: r,
|
|
2979
|
+
className: qn(
|
|
2978
2980
|
"w-full bg-petnowOrange hover:bg-[#DF592C] transition-colors duration-200 text-white py-5 rounded-xl font-bold text-2xl disabled:bg-lightGray disabled:hover:bg-lightGray",
|
|
2979
|
-
|
|
2981
|
+
e
|
|
2980
2982
|
),
|
|
2981
|
-
children:
|
|
2983
|
+
children: t
|
|
2982
2984
|
}
|
|
2983
2985
|
);
|
|
2986
|
+
var fr = {
|
|
2987
|
+
color: void 0,
|
|
2988
|
+
size: void 0,
|
|
2989
|
+
className: void 0,
|
|
2990
|
+
style: void 0,
|
|
2991
|
+
attr: void 0
|
|
2992
|
+
}, er = k.createContext && /* @__PURE__ */ k.createContext(fr), Jn = ["attr", "size", "title"];
|
|
2993
|
+
function Xn(e, t) {
|
|
2994
|
+
if (e == null)
|
|
2995
|
+
return {};
|
|
2996
|
+
var r = Qn(e, t), n, o;
|
|
2997
|
+
if (Object.getOwnPropertySymbols) {
|
|
2998
|
+
var l = Object.getOwnPropertySymbols(e);
|
|
2999
|
+
for (o = 0; o < l.length; o++)
|
|
3000
|
+
n = l[o], !(t.indexOf(n) >= 0) && Object.prototype.propertyIsEnumerable.call(e, n) && (r[n] = e[n]);
|
|
3001
|
+
}
|
|
3002
|
+
return r;
|
|
3003
|
+
}
|
|
3004
|
+
function Qn(e, t) {
|
|
3005
|
+
if (e == null)
|
|
3006
|
+
return {};
|
|
3007
|
+
var r = {}, n = Object.keys(e), o, l;
|
|
3008
|
+
for (l = 0; l < n.length; l++)
|
|
3009
|
+
o = n[l], !(t.indexOf(o) >= 0) && (r[o] = e[o]);
|
|
3010
|
+
return r;
|
|
3011
|
+
}
|
|
3012
|
+
function at() {
|
|
3013
|
+
return at = Object.assign ? Object.assign.bind() : function(e) {
|
|
3014
|
+
for (var t = 1; t < arguments.length; t++) {
|
|
3015
|
+
var r = arguments[t];
|
|
3016
|
+
for (var n in r)
|
|
3017
|
+
Object.prototype.hasOwnProperty.call(r, n) && (e[n] = r[n]);
|
|
3018
|
+
}
|
|
3019
|
+
return e;
|
|
3020
|
+
}, at.apply(this, arguments);
|
|
3021
|
+
}
|
|
3022
|
+
function tr(e, t) {
|
|
3023
|
+
var r = Object.keys(e);
|
|
3024
|
+
if (Object.getOwnPropertySymbols) {
|
|
3025
|
+
var n = Object.getOwnPropertySymbols(e);
|
|
3026
|
+
t && (n = n.filter(function(o) {
|
|
3027
|
+
return Object.getOwnPropertyDescriptor(e, o).enumerable;
|
|
3028
|
+
})), r.push.apply(r, n);
|
|
3029
|
+
}
|
|
3030
|
+
return r;
|
|
3031
|
+
}
|
|
3032
|
+
function lt(e) {
|
|
3033
|
+
for (var t = 1; t < arguments.length; t++) {
|
|
3034
|
+
var r = arguments[t] != null ? arguments[t] : {};
|
|
3035
|
+
t % 2 ? tr(Object(r), !0).forEach(function(n) {
|
|
3036
|
+
Zn(e, n, r[n]);
|
|
3037
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(r)) : tr(Object(r)).forEach(function(n) {
|
|
3038
|
+
Object.defineProperty(e, n, Object.getOwnPropertyDescriptor(r, n));
|
|
3039
|
+
});
|
|
3040
|
+
}
|
|
3041
|
+
return e;
|
|
3042
|
+
}
|
|
3043
|
+
function Zn(e, t, r) {
|
|
3044
|
+
return t = eo(t), t in e ? Object.defineProperty(e, t, { value: r, enumerable: !0, configurable: !0, writable: !0 }) : e[t] = r, e;
|
|
3045
|
+
}
|
|
3046
|
+
function eo(e) {
|
|
3047
|
+
var t = to(e, "string");
|
|
3048
|
+
return typeof t == "symbol" ? t : String(t);
|
|
3049
|
+
}
|
|
3050
|
+
function to(e, t) {
|
|
3051
|
+
if (typeof e != "object" || e === null)
|
|
3052
|
+
return e;
|
|
3053
|
+
var r = e[Symbol.toPrimitive];
|
|
3054
|
+
if (r !== void 0) {
|
|
3055
|
+
var n = r.call(e, t || "default");
|
|
3056
|
+
if (typeof n != "object")
|
|
3057
|
+
return n;
|
|
3058
|
+
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
3059
|
+
}
|
|
3060
|
+
return (t === "string" ? String : Number)(e);
|
|
3061
|
+
}
|
|
3062
|
+
function pr(e) {
|
|
3063
|
+
return e && e.map((t, r) => /* @__PURE__ */ k.createElement(t.tag, lt({
|
|
3064
|
+
key: r
|
|
3065
|
+
}, t.attr), pr(t.child)));
|
|
3066
|
+
}
|
|
3067
|
+
function mr(e) {
|
|
3068
|
+
return (t) => /* @__PURE__ */ k.createElement(ro, at({
|
|
3069
|
+
attr: lt({}, e.attr)
|
|
3070
|
+
}, t), pr(e.child));
|
|
3071
|
+
}
|
|
3072
|
+
function ro(e) {
|
|
3073
|
+
var t = (r) => {
|
|
3074
|
+
var {
|
|
3075
|
+
attr: n,
|
|
3076
|
+
size: o,
|
|
3077
|
+
title: l
|
|
3078
|
+
} = e, a = Xn(e, Jn), s = o || r.size || "1em", u;
|
|
3079
|
+
return r.className && (u = r.className), e.className && (u = (u ? u + " " : "") + e.className), /* @__PURE__ */ k.createElement("svg", at({
|
|
3080
|
+
stroke: "currentColor",
|
|
3081
|
+
fill: "currentColor",
|
|
3082
|
+
strokeWidth: "0"
|
|
3083
|
+
}, r.attr, n, a, {
|
|
3084
|
+
className: u,
|
|
3085
|
+
style: lt(lt({
|
|
3086
|
+
color: e.color || r.color
|
|
3087
|
+
}, r.style), e.style),
|
|
3088
|
+
height: s,
|
|
3089
|
+
width: s,
|
|
3090
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
3091
|
+
}), l && /* @__PURE__ */ k.createElement("title", null, l), e.children);
|
|
3092
|
+
};
|
|
3093
|
+
return er !== void 0 ? /* @__PURE__ */ k.createElement(er.Consumer, null, (r) => t(r)) : t(fr);
|
|
3094
|
+
}
|
|
3095
|
+
function no(e) {
|
|
3096
|
+
return mr({ tag: "svg", attr: { viewBox: "0 0 24 24" }, child: [{ tag: "path", attr: { fill: "none", d: "M0 0h24v24H0V0z" }, child: [] }, { tag: "path", attr: { d: "M6.23 20.23 8 22l10-10L8 2 6.23 3.77 14.46 12z" }, child: [] }] })(e);
|
|
3097
|
+
}
|
|
3098
|
+
function gr(e) {
|
|
3099
|
+
return mr({ tag: "svg", attr: { viewBox: "0 0 24 24" }, child: [{ tag: "path", attr: { fill: "none", d: "M0 0h24v24H0z" }, child: [] }, { tag: "path", attr: { d: "M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z" }, child: [] }] })(e);
|
|
3100
|
+
}
|
|
3101
|
+
var oo = Object.defineProperty, io = (e, t, r) => t in e ? oo(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, wt = (e, t, r) => (io(e, typeof t != "symbol" ? t + "" : t, r), r);
|
|
3102
|
+
let ao = class {
|
|
3103
|
+
constructor() {
|
|
3104
|
+
wt(this, "current", this.detect()), wt(this, "handoffState", "pending"), wt(this, "currentId", 0);
|
|
3105
|
+
}
|
|
3106
|
+
set(t) {
|
|
3107
|
+
this.current !== t && (this.handoffState = "pending", this.currentId = 0, this.current = t);
|
|
3108
|
+
}
|
|
3109
|
+
reset() {
|
|
3110
|
+
this.set(this.detect());
|
|
3111
|
+
}
|
|
3112
|
+
nextId() {
|
|
3113
|
+
return ++this.currentId;
|
|
3114
|
+
}
|
|
3115
|
+
get isServer() {
|
|
3116
|
+
return this.current === "server";
|
|
3117
|
+
}
|
|
3118
|
+
get isClient() {
|
|
3119
|
+
return this.current === "client";
|
|
3120
|
+
}
|
|
3121
|
+
detect() {
|
|
3122
|
+
return typeof window > "u" || typeof document > "u" ? "server" : "client";
|
|
3123
|
+
}
|
|
3124
|
+
handoff() {
|
|
3125
|
+
this.handoffState === "pending" && (this.handoffState = "complete");
|
|
3126
|
+
}
|
|
3127
|
+
get isHandoffComplete() {
|
|
3128
|
+
return this.handoffState === "complete";
|
|
3129
|
+
}
|
|
3130
|
+
}, fe = new ao(), pe = (e, t) => {
|
|
3131
|
+
fe.isServer ? Q(e, t) : on(e, t);
|
|
3132
|
+
};
|
|
3133
|
+
function ct(e) {
|
|
3134
|
+
let t = H(e);
|
|
3135
|
+
return pe(() => {
|
|
3136
|
+
t.current = e;
|
|
3137
|
+
}, [e]), t;
|
|
3138
|
+
}
|
|
3139
|
+
let Y = function(e) {
|
|
3140
|
+
let t = ct(e);
|
|
3141
|
+
return k.useCallback((...r) => t.current(...r), [t]);
|
|
3142
|
+
};
|
|
3143
|
+
function dt(e) {
|
|
3144
|
+
typeof queueMicrotask == "function" ? queueMicrotask(e) : Promise.resolve().then(e).catch((t) => setTimeout(() => {
|
|
3145
|
+
throw t;
|
|
3146
|
+
}));
|
|
3147
|
+
}
|
|
3148
|
+
function ft() {
|
|
3149
|
+
let e = [], t = { addEventListener(r, n, o, l) {
|
|
3150
|
+
return r.addEventListener(n, o, l), t.add(() => r.removeEventListener(n, o, l));
|
|
3151
|
+
}, requestAnimationFrame(...r) {
|
|
3152
|
+
let n = requestAnimationFrame(...r);
|
|
3153
|
+
return t.add(() => cancelAnimationFrame(n));
|
|
3154
|
+
}, nextFrame(...r) {
|
|
3155
|
+
return t.requestAnimationFrame(() => t.requestAnimationFrame(...r));
|
|
3156
|
+
}, setTimeout(...r) {
|
|
3157
|
+
let n = setTimeout(...r);
|
|
3158
|
+
return t.add(() => clearTimeout(n));
|
|
3159
|
+
}, microTask(...r) {
|
|
3160
|
+
let n = { current: !0 };
|
|
3161
|
+
return dt(() => {
|
|
3162
|
+
n.current && r[0]();
|
|
3163
|
+
}), t.add(() => {
|
|
3164
|
+
n.current = !1;
|
|
3165
|
+
});
|
|
3166
|
+
}, style(r, n, o) {
|
|
3167
|
+
let l = r.style.getPropertyValue(n);
|
|
3168
|
+
return Object.assign(r.style, { [n]: o }), this.add(() => {
|
|
3169
|
+
Object.assign(r.style, { [n]: l });
|
|
3170
|
+
});
|
|
3171
|
+
}, group(r) {
|
|
3172
|
+
let n = ft();
|
|
3173
|
+
return r(n), this.add(() => n.dispose());
|
|
3174
|
+
}, add(r) {
|
|
3175
|
+
return e.push(r), () => {
|
|
3176
|
+
let n = e.indexOf(r);
|
|
3177
|
+
if (n >= 0)
|
|
3178
|
+
for (let o of e.splice(n, 1))
|
|
3179
|
+
o();
|
|
3180
|
+
};
|
|
3181
|
+
}, dispose() {
|
|
3182
|
+
for (let r of e.splice(0))
|
|
3183
|
+
r();
|
|
3184
|
+
} };
|
|
3185
|
+
return t;
|
|
3186
|
+
}
|
|
3187
|
+
function lo() {
|
|
3188
|
+
let [e] = Re(ft);
|
|
3189
|
+
return Q(() => () => e.dispose(), [e]), e;
|
|
3190
|
+
}
|
|
3191
|
+
function so() {
|
|
3192
|
+
let e = typeof document > "u";
|
|
3193
|
+
return "useSyncExternalStore" in xe ? ((t) => t.useSyncExternalStore)(xe)(() => () => {
|
|
3194
|
+
}, () => !1, () => !e) : !1;
|
|
3195
|
+
}
|
|
3196
|
+
function pt() {
|
|
3197
|
+
let e = so(), [t, r] = xe.useState(fe.isHandoffComplete);
|
|
3198
|
+
return t && fe.isHandoffComplete === !1 && r(!1), xe.useEffect(() => {
|
|
3199
|
+
t !== !0 && r(!0);
|
|
3200
|
+
}, [t]), xe.useEffect(() => fe.handoff(), []), e ? !1 : t;
|
|
3201
|
+
}
|
|
3202
|
+
var rr;
|
|
3203
|
+
let Fe = (rr = k.useId) != null ? rr : function() {
|
|
3204
|
+
let e = pt(), [t, r] = k.useState(e ? () => fe.nextId() : null);
|
|
3205
|
+
return pe(() => {
|
|
3206
|
+
t === null && r(fe.nextId());
|
|
3207
|
+
}, [t]), t != null ? "" + t : void 0;
|
|
3208
|
+
};
|
|
3209
|
+
function Ee(e, t, ...r) {
|
|
3210
|
+
if (e in t) {
|
|
3211
|
+
let o = t[e];
|
|
3212
|
+
return typeof o == "function" ? o(...r) : o;
|
|
3213
|
+
}
|
|
3214
|
+
let n = new Error(`Tried to handle "${e}" but there is no handler defined. Only defined handlers are: ${Object.keys(t).map((o) => `"${o}"`).join(", ")}.`);
|
|
3215
|
+
throw Error.captureStackTrace && Error.captureStackTrace(n, Ee), n;
|
|
3216
|
+
}
|
|
3217
|
+
function br(e) {
|
|
3218
|
+
return fe.isServer ? null : e instanceof Node ? e.ownerDocument : e != null && e.hasOwnProperty("current") && e.current instanceof Node ? e.current.ownerDocument : document;
|
|
3219
|
+
}
|
|
3220
|
+
let jt = ["[contentEditable=true]", "[tabindex]", "a[href]", "area[href]", "button:not([disabled])", "iframe", "input:not([disabled])", "select:not([disabled])", "textarea:not([disabled])"].map((e) => `${e}:not([tabindex='-1'])`).join(",");
|
|
3221
|
+
var je = ((e) => (e[e.First = 1] = "First", e[e.Previous = 2] = "Previous", e[e.Next = 4] = "Next", e[e.Last = 8] = "Last", e[e.WrapAround = 16] = "WrapAround", e[e.NoScroll = 32] = "NoScroll", e))(je || {}), hr = ((e) => (e[e.Error = 0] = "Error", e[e.Overflow = 1] = "Overflow", e[e.Success = 2] = "Success", e[e.Underflow = 3] = "Underflow", e))(hr || {}), uo = ((e) => (e[e.Previous = -1] = "Previous", e[e.Next = 1] = "Next", e))(uo || {});
|
|
3222
|
+
function co(e = document.body) {
|
|
3223
|
+
return e == null ? [] : Array.from(e.querySelectorAll(jt)).sort((t, r) => Math.sign((t.tabIndex || Number.MAX_SAFE_INTEGER) - (r.tabIndex || Number.MAX_SAFE_INTEGER)));
|
|
3224
|
+
}
|
|
3225
|
+
var vr = ((e) => (e[e.Strict = 0] = "Strict", e[e.Loose = 1] = "Loose", e))(vr || {});
|
|
3226
|
+
function fo(e, t = 0) {
|
|
3227
|
+
var r;
|
|
3228
|
+
return e === ((r = br(e)) == null ? void 0 : r.body) ? !1 : Ee(t, { 0() {
|
|
3229
|
+
return e.matches(jt);
|
|
3230
|
+
}, 1() {
|
|
3231
|
+
let n = e;
|
|
3232
|
+
for (; n !== null; ) {
|
|
3233
|
+
if (n.matches(jt))
|
|
3234
|
+
return !0;
|
|
3235
|
+
n = n.parentElement;
|
|
3236
|
+
}
|
|
3237
|
+
return !1;
|
|
3238
|
+
} });
|
|
3239
|
+
}
|
|
3240
|
+
var po = ((e) => (e[e.Keyboard = 0] = "Keyboard", e[e.Mouse = 1] = "Mouse", e))(po || {});
|
|
3241
|
+
typeof window < "u" && typeof document < "u" && (document.addEventListener("keydown", (e) => {
|
|
3242
|
+
e.metaKey || e.altKey || e.ctrlKey || (document.documentElement.dataset.headlessuiFocusVisible = "");
|
|
3243
|
+
}, !0), document.addEventListener("click", (e) => {
|
|
3244
|
+
e.detail === 1 ? delete document.documentElement.dataset.headlessuiFocusVisible : e.detail === 0 && (document.documentElement.dataset.headlessuiFocusVisible = "");
|
|
3245
|
+
}, !0));
|
|
3246
|
+
function _e(e) {
|
|
3247
|
+
e == null || e.focus({ preventScroll: !0 });
|
|
3248
|
+
}
|
|
3249
|
+
let mo = ["textarea", "input"].join(",");
|
|
3250
|
+
function go(e) {
|
|
3251
|
+
var t, r;
|
|
3252
|
+
return (r = (t = e == null ? void 0 : e.matches) == null ? void 0 : t.call(e, mo)) != null ? r : !1;
|
|
3253
|
+
}
|
|
3254
|
+
function bo(e, t = (r) => r) {
|
|
3255
|
+
return e.slice().sort((r, n) => {
|
|
3256
|
+
let o = t(r), l = t(n);
|
|
3257
|
+
if (o === null || l === null)
|
|
3258
|
+
return 0;
|
|
3259
|
+
let a = o.compareDocumentPosition(l);
|
|
3260
|
+
return a & Node.DOCUMENT_POSITION_FOLLOWING ? -1 : a & Node.DOCUMENT_POSITION_PRECEDING ? 1 : 0;
|
|
3261
|
+
});
|
|
3262
|
+
}
|
|
3263
|
+
function it(e, t, { sorted: r = !0, relativeTo: n = null, skipElements: o = [] } = {}) {
|
|
3264
|
+
let l = Array.isArray(e) ? e.length > 0 ? e[0].ownerDocument : document : e.ownerDocument, a = Array.isArray(e) ? r ? bo(e) : e : co(e);
|
|
3265
|
+
o.length > 0 && a.length > 1 && (a = a.filter((C) => !o.includes(C))), n = n ?? l.activeElement;
|
|
3266
|
+
let s = (() => {
|
|
3267
|
+
if (t & 5)
|
|
3268
|
+
return 1;
|
|
3269
|
+
if (t & 10)
|
|
3270
|
+
return -1;
|
|
3271
|
+
throw new Error("Missing Focus.First, Focus.Previous, Focus.Next or Focus.Last");
|
|
3272
|
+
})(), u = (() => {
|
|
3273
|
+
if (t & 1)
|
|
3274
|
+
return 0;
|
|
3275
|
+
if (t & 2)
|
|
3276
|
+
return Math.max(0, a.indexOf(n)) - 1;
|
|
3277
|
+
if (t & 4)
|
|
3278
|
+
return Math.max(0, a.indexOf(n)) + 1;
|
|
3279
|
+
if (t & 8)
|
|
3280
|
+
return a.length - 1;
|
|
3281
|
+
throw new Error("Missing Focus.First, Focus.Previous, Focus.Next or Focus.Last");
|
|
3282
|
+
})(), y = t & 32 ? { preventScroll: !0 } : {}, c = 0, p = a.length, O;
|
|
3283
|
+
do {
|
|
3284
|
+
if (c >= p || c + p <= 0)
|
|
3285
|
+
return 0;
|
|
3286
|
+
let C = u + c;
|
|
3287
|
+
if (t & 16)
|
|
3288
|
+
C = (C + p) % p;
|
|
3289
|
+
else {
|
|
3290
|
+
if (C < 0)
|
|
3291
|
+
return 3;
|
|
3292
|
+
if (C >= p)
|
|
3293
|
+
return 1;
|
|
3294
|
+
}
|
|
3295
|
+
O = a[C], O == null || O.focus(y), c += s;
|
|
3296
|
+
} while (O !== l.activeElement);
|
|
3297
|
+
return t & 6 && go(O) && O.select(), 2;
|
|
3298
|
+
}
|
|
3299
|
+
function yr() {
|
|
3300
|
+
return /iPhone/gi.test(window.navigator.platform) || /Mac/gi.test(window.navigator.platform) && window.navigator.maxTouchPoints > 0;
|
|
3301
|
+
}
|
|
3302
|
+
function ho() {
|
|
3303
|
+
return /Android/gi.test(window.navigator.userAgent);
|
|
3304
|
+
}
|
|
3305
|
+
function vo() {
|
|
3306
|
+
return yr() || ho();
|
|
3307
|
+
}
|
|
3308
|
+
function nt(e, t, r) {
|
|
3309
|
+
let n = ct(t);
|
|
3310
|
+
Q(() => {
|
|
3311
|
+
function o(l) {
|
|
3312
|
+
n.current(l);
|
|
3313
|
+
}
|
|
3314
|
+
return document.addEventListener(e, o, r), () => document.removeEventListener(e, o, r);
|
|
3315
|
+
}, [e, r]);
|
|
3316
|
+
}
|
|
3317
|
+
function wr(e, t, r) {
|
|
3318
|
+
let n = ct(t);
|
|
3319
|
+
Q(() => {
|
|
3320
|
+
function o(l) {
|
|
3321
|
+
n.current(l);
|
|
3322
|
+
}
|
|
3323
|
+
return window.addEventListener(e, o, r), () => window.removeEventListener(e, o, r);
|
|
3324
|
+
}, [e, r]);
|
|
3325
|
+
}
|
|
3326
|
+
function yo(e, t, r = !0) {
|
|
3327
|
+
let n = H(!1);
|
|
3328
|
+
Q(() => {
|
|
3329
|
+
requestAnimationFrame(() => {
|
|
3330
|
+
n.current = r;
|
|
3331
|
+
});
|
|
3332
|
+
}, [r]);
|
|
3333
|
+
function o(a, s) {
|
|
3334
|
+
if (!n.current || a.defaultPrevented)
|
|
3335
|
+
return;
|
|
3336
|
+
let u = s(a);
|
|
3337
|
+
if (u === null || !u.getRootNode().contains(u) || !u.isConnected)
|
|
3338
|
+
return;
|
|
3339
|
+
let y = function c(p) {
|
|
3340
|
+
return typeof p == "function" ? c(p()) : Array.isArray(p) || p instanceof Set ? p : [p];
|
|
3341
|
+
}(e);
|
|
3342
|
+
for (let c of y) {
|
|
3343
|
+
if (c === null)
|
|
3344
|
+
continue;
|
|
3345
|
+
let p = c instanceof HTMLElement ? c : c.current;
|
|
3346
|
+
if (p != null && p.contains(u) || a.composed && a.composedPath().includes(p))
|
|
3347
|
+
return;
|
|
3348
|
+
}
|
|
3349
|
+
return !fo(u, vr.Loose) && u.tabIndex !== -1 && a.preventDefault(), t(a, u);
|
|
3350
|
+
}
|
|
3351
|
+
let l = H(null);
|
|
3352
|
+
nt("pointerdown", (a) => {
|
|
3353
|
+
var s, u;
|
|
3354
|
+
n.current && (l.current = ((u = (s = a.composedPath) == null ? void 0 : s.call(a)) == null ? void 0 : u[0]) || a.target);
|
|
3355
|
+
}, !0), nt("mousedown", (a) => {
|
|
3356
|
+
var s, u;
|
|
3357
|
+
n.current && (l.current = ((u = (s = a.composedPath) == null ? void 0 : s.call(a)) == null ? void 0 : u[0]) || a.target);
|
|
3358
|
+
}, !0), nt("click", (a) => {
|
|
3359
|
+
vo() || l.current && (o(a, () => l.current), l.current = null);
|
|
3360
|
+
}, !0), nt("touchend", (a) => o(a, () => a.target instanceof HTMLElement ? a.target : null), !0), wr("blur", (a) => o(a, () => window.document.activeElement instanceof HTMLIFrameElement ? window.document.activeElement : null), !0);
|
|
3361
|
+
}
|
|
3362
|
+
function Je(...e) {
|
|
3363
|
+
return ie(() => br(...e), [...e]);
|
|
3364
|
+
}
|
|
3365
|
+
let xr = Symbol();
|
|
3366
|
+
function wo(e, t = !0) {
|
|
3367
|
+
return Object.assign(e, { [xr]: t });
|
|
3368
|
+
}
|
|
3369
|
+
function ge(...e) {
|
|
3370
|
+
let t = H(e);
|
|
3371
|
+
Q(() => {
|
|
3372
|
+
t.current = e;
|
|
3373
|
+
}, [e]);
|
|
3374
|
+
let r = Y((n) => {
|
|
3375
|
+
for (let o of t.current)
|
|
3376
|
+
o != null && (typeof o == "function" ? o(n) : o.current = n);
|
|
3377
|
+
});
|
|
3378
|
+
return e.every((n) => n == null || (n == null ? void 0 : n[xr])) ? void 0 : r;
|
|
3379
|
+
}
|
|
3380
|
+
function At(e, t) {
|
|
3381
|
+
let r = H([]), n = Y(e);
|
|
3382
|
+
Q(() => {
|
|
3383
|
+
let o = [...r.current];
|
|
3384
|
+
for (let [l, a] of t.entries())
|
|
3385
|
+
if (r.current[l] !== a) {
|
|
3386
|
+
let s = n(t, o);
|
|
3387
|
+
return r.current = t, s;
|
|
3388
|
+
}
|
|
3389
|
+
}, [n, ...t]);
|
|
3390
|
+
}
|
|
3391
|
+
function nr(...e) {
|
|
3392
|
+
return Array.from(new Set(e.flatMap((t) => typeof t == "string" ? t.split(" ") : []))).filter(Boolean).join(" ");
|
|
3393
|
+
}
|
|
3394
|
+
var St = ((e) => (e[e.None = 0] = "None", e[e.RenderStrategy = 1] = "RenderStrategy", e[e.Static = 2] = "Static", e))(St || {}), xo = ((e) => (e[e.Unmount = 0] = "Unmount", e[e.Hidden = 1] = "Hidden", e))(xo || {});
|
|
3395
|
+
function le({ ourProps: e, theirProps: t, slot: r, defaultTag: n, features: o, visible: l = !0, name: a, mergeRefs: s }) {
|
|
3396
|
+
s = s ?? Eo;
|
|
3397
|
+
let u = Er(t, e);
|
|
3398
|
+
if (l)
|
|
3399
|
+
return ot(u, r, n, a, s);
|
|
3400
|
+
let y = o ?? 0;
|
|
3401
|
+
if (y & 2) {
|
|
3402
|
+
let { static: c = !1, ...p } = u;
|
|
3403
|
+
if (c)
|
|
3404
|
+
return ot(p, r, n, a, s);
|
|
3405
|
+
}
|
|
3406
|
+
if (y & 1) {
|
|
3407
|
+
let { unmount: c = !0, ...p } = u;
|
|
3408
|
+
return Ee(c ? 0 : 1, { 0() {
|
|
3409
|
+
return null;
|
|
3410
|
+
}, 1() {
|
|
3411
|
+
return ot({ ...p, hidden: !0, style: { display: "none" } }, r, n, a, s);
|
|
3412
|
+
} });
|
|
3413
|
+
}
|
|
3414
|
+
return ot(u, r, n, a, s);
|
|
3415
|
+
}
|
|
3416
|
+
function ot(e, t = {}, r, n, o) {
|
|
3417
|
+
let { as: l = r, children: a, refName: s = "ref", ...u } = xt(e, ["unmount", "static"]), y = e.ref !== void 0 ? { [s]: e.ref } : {}, c = typeof a == "function" ? a(t) : a;
|
|
3418
|
+
"className" in u && u.className && typeof u.className == "function" && (u.className = u.className(t));
|
|
3419
|
+
let p = {};
|
|
3420
|
+
if (t) {
|
|
3421
|
+
let O = !1, C = [];
|
|
3422
|
+
for (let [b, g] of Object.entries(t))
|
|
3423
|
+
typeof g == "boolean" && (O = !0), g === !0 && C.push(b);
|
|
3424
|
+
O && (p["data-headlessui-state"] = C.join(" "));
|
|
3425
|
+
}
|
|
3426
|
+
if (l === Ke && Object.keys(or(u)).length > 0) {
|
|
3427
|
+
if (!ln(c) || Array.isArray(c) && c.length > 1)
|
|
3428
|
+
throw new Error(['Passing props on "Fragment"!', "", `The current component <${n} /> is rendering a "Fragment".`, "However we need to passthrough the following props:", Object.keys(u).map((g) => ` - ${g}`).join(`
|
|
3429
|
+
`), "", "You can apply a few solutions:", ['Add an `as="..."` prop, to ensure that we render an actual element instead of a "Fragment".', "Render a single element as the child so that we can forward the props onto that element."].map((g) => ` - ${g}`).join(`
|
|
3430
|
+
`)].join(`
|
|
3431
|
+
`));
|
|
3432
|
+
let O = c.props, C = typeof (O == null ? void 0 : O.className) == "function" ? (...g) => nr(O == null ? void 0 : O.className(...g), u.className) : nr(O == null ? void 0 : O.className, u.className), b = C ? { className: C } : {};
|
|
3433
|
+
return sn(c, Object.assign({}, Er(c.props, or(xt(u, ["ref"]))), p, y, { ref: o(c.ref, y.ref) }, b));
|
|
3434
|
+
}
|
|
3435
|
+
return un(l, Object.assign({}, xt(u, ["ref"]), l !== Ke && y, l !== Ke && p), c);
|
|
3436
|
+
}
|
|
3437
|
+
function Eo(...e) {
|
|
3438
|
+
return e.every((t) => t == null) ? void 0 : (t) => {
|
|
3439
|
+
for (let r of e)
|
|
3440
|
+
r != null && (typeof r == "function" ? r(t) : r.current = t);
|
|
3441
|
+
};
|
|
3442
|
+
}
|
|
3443
|
+
function Er(...e) {
|
|
3444
|
+
if (e.length === 0)
|
|
3445
|
+
return {};
|
|
3446
|
+
if (e.length === 1)
|
|
3447
|
+
return e[0];
|
|
3448
|
+
let t = {}, r = {};
|
|
3449
|
+
for (let n of e)
|
|
3450
|
+
for (let o in n)
|
|
3451
|
+
o.startsWith("on") && typeof n[o] == "function" ? (r[o] != null || (r[o] = []), r[o].push(n[o])) : t[o] = n[o];
|
|
3452
|
+
if (t.disabled || t["aria-disabled"])
|
|
3453
|
+
return Object.assign(t, Object.fromEntries(Object.keys(r).map((n) => [n, void 0])));
|
|
3454
|
+
for (let n in r)
|
|
3455
|
+
Object.assign(t, { [n](o, ...l) {
|
|
3456
|
+
let a = r[n];
|
|
3457
|
+
for (let s of a) {
|
|
3458
|
+
if ((o instanceof Event || (o == null ? void 0 : o.nativeEvent) instanceof Event) && o.defaultPrevented)
|
|
3459
|
+
return;
|
|
3460
|
+
s(o, ...l);
|
|
3461
|
+
}
|
|
3462
|
+
} });
|
|
3463
|
+
return t;
|
|
3464
|
+
}
|
|
3465
|
+
function se(e) {
|
|
3466
|
+
var t;
|
|
3467
|
+
return Object.assign(an(e), { displayName: (t = e.displayName) != null ? t : e.name });
|
|
3468
|
+
}
|
|
3469
|
+
function or(e) {
|
|
3470
|
+
let t = Object.assign({}, e);
|
|
3471
|
+
for (let r in t)
|
|
3472
|
+
t[r] === void 0 && delete t[r];
|
|
3473
|
+
return t;
|
|
3474
|
+
}
|
|
3475
|
+
function xt(e, t = []) {
|
|
3476
|
+
let r = Object.assign({}, e);
|
|
3477
|
+
for (let n of t)
|
|
3478
|
+
n in r && delete r[n];
|
|
3479
|
+
return r;
|
|
3480
|
+
}
|
|
3481
|
+
let Oo = "div";
|
|
3482
|
+
var st = ((e) => (e[e.None = 1] = "None", e[e.Focusable = 2] = "Focusable", e[e.Hidden = 4] = "Hidden", e))(st || {});
|
|
3483
|
+
function Po(e, t) {
|
|
3484
|
+
var r;
|
|
3485
|
+
let { features: n = 1, ...o } = e, l = { ref: t, "aria-hidden": (n & 2) === 2 ? !0 : (r = o["aria-hidden"]) != null ? r : void 0, hidden: (n & 4) === 4 ? !0 : void 0, style: { position: "fixed", top: 1, left: 1, width: 1, height: 0, padding: 0, margin: -1, overflow: "hidden", clip: "rect(0, 0, 0, 0)", whiteSpace: "nowrap", borderWidth: "0", ...(n & 4) === 4 && (n & 2) !== 2 && { display: "none" } } };
|
|
3486
|
+
return le({ ourProps: l, theirProps: o, slot: {}, defaultTag: Oo, name: "Hidden" });
|
|
3487
|
+
}
|
|
3488
|
+
let Tt = se(Po), Or = ke(null);
|
|
3489
|
+
Or.displayName = "OpenClosedContext";
|
|
3490
|
+
var Ye = ((e) => (e[e.Open = 1] = "Open", e[e.Closed = 2] = "Closed", e[e.Closing = 4] = "Closing", e[e.Opening = 8] = "Opening", e))(Ye || {});
|
|
3491
|
+
function Co() {
|
|
3492
|
+
return me(Or);
|
|
3493
|
+
}
|
|
3494
|
+
function jo(e) {
|
|
3495
|
+
function t() {
|
|
3496
|
+
document.readyState !== "loading" && (e(), document.removeEventListener("DOMContentLoaded", t));
|
|
3497
|
+
}
|
|
3498
|
+
typeof window < "u" && typeof document < "u" && (document.addEventListener("DOMContentLoaded", t), t());
|
|
3499
|
+
}
|
|
3500
|
+
let ye = [];
|
|
3501
|
+
jo(() => {
|
|
3502
|
+
function e(t) {
|
|
3503
|
+
t.target instanceof HTMLElement && t.target !== document.body && ye[0] !== t.target && (ye.unshift(t.target), ye = ye.filter((r) => r != null && r.isConnected), ye.splice(10));
|
|
3504
|
+
}
|
|
3505
|
+
window.addEventListener("click", e, { capture: !0 }), window.addEventListener("mousedown", e, { capture: !0 }), window.addEventListener("focus", e, { capture: !0 }), document.body.addEventListener("click", e, { capture: !0 }), document.body.addEventListener("mousedown", e, { capture: !0 }), document.body.addEventListener("focus", e, { capture: !0 });
|
|
3506
|
+
});
|
|
3507
|
+
function So(e) {
|
|
3508
|
+
let t = e.parentElement, r = null;
|
|
3509
|
+
for (; t && !(t instanceof HTMLFieldSetElement); )
|
|
3510
|
+
t instanceof HTMLLegendElement && (r = t), t = t.parentElement;
|
|
3511
|
+
let n = (t == null ? void 0 : t.getAttribute("disabled")) === "";
|
|
3512
|
+
return n && To(r) ? !1 : n;
|
|
3513
|
+
}
|
|
3514
|
+
function To(e) {
|
|
3515
|
+
if (!e)
|
|
3516
|
+
return !1;
|
|
3517
|
+
let t = e.previousElementSibling;
|
|
3518
|
+
for (; t !== null; ) {
|
|
3519
|
+
if (t instanceof HTMLLegendElement)
|
|
3520
|
+
return !1;
|
|
3521
|
+
t = t.previousElementSibling;
|
|
3522
|
+
}
|
|
3523
|
+
return !0;
|
|
3524
|
+
}
|
|
3525
|
+
var Pr = ((e) => (e.Space = " ", e.Enter = "Enter", e.Escape = "Escape", e.Backspace = "Backspace", e.Delete = "Delete", e.ArrowLeft = "ArrowLeft", e.ArrowUp = "ArrowUp", e.ArrowRight = "ArrowRight", e.ArrowDown = "ArrowDown", e.Home = "Home", e.End = "End", e.PageUp = "PageUp", e.PageDown = "PageDown", e.Tab = "Tab", e))(Pr || {});
|
|
3526
|
+
function Cr(e, t, r, n) {
|
|
3527
|
+
let o = ct(r);
|
|
3528
|
+
Q(() => {
|
|
3529
|
+
e = e ?? window;
|
|
3530
|
+
function l(a) {
|
|
3531
|
+
o.current(a);
|
|
3532
|
+
}
|
|
3533
|
+
return e.addEventListener(t, l, n), () => e.removeEventListener(t, l, n);
|
|
3534
|
+
}, [e, t, n]);
|
|
3535
|
+
}
|
|
3536
|
+
function jr() {
|
|
3537
|
+
let e = H(!1);
|
|
3538
|
+
return pe(() => (e.current = !0, () => {
|
|
3539
|
+
e.current = !1;
|
|
3540
|
+
}), []), e;
|
|
3541
|
+
}
|
|
3542
|
+
function Sr(e) {
|
|
3543
|
+
let t = Y(e), r = H(!1);
|
|
3544
|
+
Q(() => (r.current = !1, () => {
|
|
3545
|
+
r.current = !0, dt(() => {
|
|
3546
|
+
r.current && t();
|
|
3547
|
+
});
|
|
3548
|
+
}), [t]);
|
|
3549
|
+
}
|
|
3550
|
+
var qe = ((e) => (e[e.Forwards = 0] = "Forwards", e[e.Backwards = 1] = "Backwards", e))(qe || {});
|
|
3551
|
+
function _o() {
|
|
3552
|
+
let e = H(0);
|
|
3553
|
+
return wr("keydown", (t) => {
|
|
3554
|
+
t.key === "Tab" && (e.current = t.shiftKey ? 1 : 0);
|
|
3555
|
+
}, !0), e;
|
|
3556
|
+
}
|
|
3557
|
+
function Tr(e) {
|
|
3558
|
+
if (!e)
|
|
3559
|
+
return /* @__PURE__ */ new Set();
|
|
3560
|
+
if (typeof e == "function")
|
|
3561
|
+
return new Set(e());
|
|
3562
|
+
let t = /* @__PURE__ */ new Set();
|
|
3563
|
+
for (let r of e.current)
|
|
3564
|
+
r.current instanceof HTMLElement && t.add(r.current);
|
|
3565
|
+
return t;
|
|
3566
|
+
}
|
|
3567
|
+
let Ro = "div";
|
|
3568
|
+
var _r = ((e) => (e[e.None = 1] = "None", e[e.InitialFocus = 2] = "InitialFocus", e[e.TabLock = 4] = "TabLock", e[e.FocusLock = 8] = "FocusLock", e[e.RestoreFocus = 16] = "RestoreFocus", e[e.All = 30] = "All", e))(_r || {});
|
|
3569
|
+
function ko(e, t) {
|
|
3570
|
+
let r = H(null), n = ge(r, t), { initialFocus: o, containers: l, features: a = 30, ...s } = e;
|
|
3571
|
+
pt() || (a = 1);
|
|
3572
|
+
let u = Je(r);
|
|
3573
|
+
Ao({ ownerDocument: u }, !!(a & 16));
|
|
3574
|
+
let y = Do({ ownerDocument: u, container: r, initialFocus: o }, !!(a & 2));
|
|
3575
|
+
Mo({ ownerDocument: u, container: r, containers: l, previousActiveElement: y }, !!(a & 8));
|
|
3576
|
+
let c = _o(), p = Y((g) => {
|
|
3577
|
+
let x = r.current;
|
|
3578
|
+
x && ((E) => E())(() => {
|
|
3579
|
+
Ee(c.current, { [qe.Forwards]: () => {
|
|
3580
|
+
it(x, je.First, { skipElements: [g.relatedTarget] });
|
|
3581
|
+
}, [qe.Backwards]: () => {
|
|
3582
|
+
it(x, je.Last, { skipElements: [g.relatedTarget] });
|
|
3583
|
+
} });
|
|
3584
|
+
});
|
|
3585
|
+
}), O = lo(), C = H(!1), b = { ref: n, onKeyDown(g) {
|
|
3586
|
+
g.key == "Tab" && (C.current = !0, O.requestAnimationFrame(() => {
|
|
3587
|
+
C.current = !1;
|
|
3588
|
+
}));
|
|
3589
|
+
}, onBlur(g) {
|
|
3590
|
+
let x = Tr(l);
|
|
3591
|
+
r.current instanceof HTMLElement && x.add(r.current);
|
|
3592
|
+
let E = g.relatedTarget;
|
|
3593
|
+
E instanceof HTMLElement && E.dataset.headlessuiFocusGuard !== "true" && (Rr(x, E) || (C.current ? it(r.current, Ee(c.current, { [qe.Forwards]: () => je.Next, [qe.Backwards]: () => je.Previous }) | je.WrapAround, { relativeTo: g.target }) : g.target instanceof HTMLElement && _e(g.target)));
|
|
3594
|
+
} };
|
|
3595
|
+
return k.createElement(k.Fragment, null, !!(a & 4) && k.createElement(Tt, { as: "button", type: "button", "data-headlessui-focus-guard": !0, onFocus: p, features: st.Focusable }), le({ ourProps: b, theirProps: s, defaultTag: Ro, name: "FocusTrap" }), !!(a & 4) && k.createElement(Tt, { as: "button", type: "button", "data-headlessui-focus-guard": !0, onFocus: p, features: st.Focusable }));
|
|
3596
|
+
}
|
|
3597
|
+
let $o = se(ko), Ge = Object.assign($o, { features: _r });
|
|
3598
|
+
function No(e = !0) {
|
|
3599
|
+
let t = H(ye.slice());
|
|
3600
|
+
return At(([r], [n]) => {
|
|
3601
|
+
n === !0 && r === !1 && dt(() => {
|
|
3602
|
+
t.current.splice(0);
|
|
3603
|
+
}), n === !1 && r === !0 && (t.current = ye.slice());
|
|
3604
|
+
}, [e, ye, t]), Y(() => {
|
|
3605
|
+
var r;
|
|
3606
|
+
return (r = t.current.find((n) => n != null && n.isConnected)) != null ? r : null;
|
|
3607
|
+
});
|
|
3608
|
+
}
|
|
3609
|
+
function Ao({ ownerDocument: e }, t) {
|
|
3610
|
+
let r = No(t);
|
|
3611
|
+
At(() => {
|
|
3612
|
+
t || (e == null ? void 0 : e.activeElement) === (e == null ? void 0 : e.body) && _e(r());
|
|
3613
|
+
}, [t]), Sr(() => {
|
|
3614
|
+
t && _e(r());
|
|
3615
|
+
});
|
|
3616
|
+
}
|
|
3617
|
+
function Do({ ownerDocument: e, container: t, initialFocus: r }, n) {
|
|
3618
|
+
let o = H(null), l = jr();
|
|
3619
|
+
return At(() => {
|
|
3620
|
+
if (!n)
|
|
3621
|
+
return;
|
|
3622
|
+
let a = t.current;
|
|
3623
|
+
a && dt(() => {
|
|
3624
|
+
if (!l.current)
|
|
3625
|
+
return;
|
|
3626
|
+
let s = e == null ? void 0 : e.activeElement;
|
|
3627
|
+
if (r != null && r.current) {
|
|
3628
|
+
if ((r == null ? void 0 : r.current) === s) {
|
|
3629
|
+
o.current = s;
|
|
3630
|
+
return;
|
|
3631
|
+
}
|
|
3632
|
+
} else if (a.contains(s)) {
|
|
3633
|
+
o.current = s;
|
|
3634
|
+
return;
|
|
3635
|
+
}
|
|
3636
|
+
r != null && r.current ? _e(r.current) : it(a, je.First) === hr.Error && console.warn("There are no focusable elements inside the <FocusTrap />"), o.current = e == null ? void 0 : e.activeElement;
|
|
3637
|
+
});
|
|
3638
|
+
}, [n]), o;
|
|
3639
|
+
}
|
|
3640
|
+
function Mo({ ownerDocument: e, container: t, containers: r, previousActiveElement: n }, o) {
|
|
3641
|
+
let l = jr();
|
|
3642
|
+
Cr(e == null ? void 0 : e.defaultView, "focus", (a) => {
|
|
3643
|
+
if (!o || !l.current)
|
|
3644
|
+
return;
|
|
3645
|
+
let s = Tr(r);
|
|
3646
|
+
t.current instanceof HTMLElement && s.add(t.current);
|
|
3647
|
+
let u = n.current;
|
|
3648
|
+
if (!u)
|
|
3649
|
+
return;
|
|
3650
|
+
let y = a.target;
|
|
3651
|
+
y && y instanceof HTMLElement ? Rr(s, y) ? (n.current = y, _e(y)) : (a.preventDefault(), a.stopPropagation(), _e(u)) : _e(n.current);
|
|
3652
|
+
}, !0);
|
|
3653
|
+
}
|
|
3654
|
+
function Rr(e, t) {
|
|
3655
|
+
for (let r of e)
|
|
3656
|
+
if (r.contains(t))
|
|
3657
|
+
return !0;
|
|
3658
|
+
return !1;
|
|
3659
|
+
}
|
|
3660
|
+
let kr = ke(!1);
|
|
3661
|
+
function Fo() {
|
|
3662
|
+
return me(kr);
|
|
3663
|
+
}
|
|
3664
|
+
function _t(e) {
|
|
3665
|
+
return k.createElement(kr.Provider, { value: e.force }, e.children);
|
|
3666
|
+
}
|
|
3667
|
+
function Lo(e) {
|
|
3668
|
+
let t = Fo(), r = me($r), n = Je(e), [o, l] = Re(() => {
|
|
3669
|
+
if (!t && r !== null || fe.isServer)
|
|
3670
|
+
return null;
|
|
3671
|
+
let a = n == null ? void 0 : n.getElementById("headlessui-portal-root");
|
|
3672
|
+
if (a)
|
|
3673
|
+
return a;
|
|
3674
|
+
if (n === null)
|
|
3675
|
+
return null;
|
|
3676
|
+
let s = n.createElement("div");
|
|
3677
|
+
return s.setAttribute("id", "headlessui-portal-root"), n.body.appendChild(s);
|
|
3678
|
+
});
|
|
3679
|
+
return Q(() => {
|
|
3680
|
+
o !== null && (n != null && n.body.contains(o) || n == null || n.body.appendChild(o));
|
|
3681
|
+
}, [o, n]), Q(() => {
|
|
3682
|
+
t || r !== null && l(r.current);
|
|
3683
|
+
}, [r, l, t]), o;
|
|
3684
|
+
}
|
|
3685
|
+
let Io = Ke;
|
|
3686
|
+
function zo(e, t) {
|
|
3687
|
+
let r = e, n = H(null), o = ge(wo((c) => {
|
|
3688
|
+
n.current = c;
|
|
3689
|
+
}), t), l = Je(n), a = Lo(n), [s] = Re(() => {
|
|
3690
|
+
var c;
|
|
3691
|
+
return fe.isServer ? null : (c = l == null ? void 0 : l.createElement("div")) != null ? c : null;
|
|
3692
|
+
}), u = me(Rt), y = pt();
|
|
3693
|
+
return pe(() => {
|
|
3694
|
+
!a || !s || a.contains(s) || (s.setAttribute("data-headlessui-portal", ""), a.appendChild(s));
|
|
3695
|
+
}, [a, s]), pe(() => {
|
|
3696
|
+
if (s && u)
|
|
3697
|
+
return u.register(s);
|
|
3698
|
+
}, [u, s]), Sr(() => {
|
|
3699
|
+
var c;
|
|
3700
|
+
!a || !s || (s instanceof Node && a.contains(s) && a.removeChild(s), a.childNodes.length <= 0 && ((c = a.parentElement) == null || c.removeChild(a)));
|
|
3701
|
+
}), y ? !a || !s ? null : fn(le({ ourProps: { ref: o }, theirProps: r, defaultTag: Io, name: "Portal" }), s) : null;
|
|
3702
|
+
}
|
|
3703
|
+
let Wo = Ke, $r = ke(null);
|
|
3704
|
+
function Bo(e, t) {
|
|
3705
|
+
let { target: r, ...n } = e, o = { ref: ge(t) };
|
|
3706
|
+
return k.createElement($r.Provider, { value: r }, le({ ourProps: o, theirProps: n, defaultTag: Wo, name: "Popover.Group" }));
|
|
3707
|
+
}
|
|
3708
|
+
let Rt = ke(null);
|
|
3709
|
+
function Uo() {
|
|
3710
|
+
let e = me(Rt), t = H([]), r = Y((l) => (t.current.push(l), e && e.register(l), () => n(l))), n = Y((l) => {
|
|
3711
|
+
let a = t.current.indexOf(l);
|
|
3712
|
+
a !== -1 && t.current.splice(a, 1), e && e.unregister(l);
|
|
3713
|
+
}), o = ie(() => ({ register: r, unregister: n, portals: t }), [r, n, t]);
|
|
3714
|
+
return [t, ie(() => function({ children: l }) {
|
|
3715
|
+
return k.createElement(Rt.Provider, { value: o }, l);
|
|
3716
|
+
}, [o])];
|
|
3717
|
+
}
|
|
3718
|
+
let Ho = se(zo), Go = se(Bo), kt = Object.assign(Ho, { Group: Go });
|
|
3719
|
+
function Vo(e, t) {
|
|
3720
|
+
return e === t && (e !== 0 || 1 / e === 1 / t) || e !== e && t !== t;
|
|
3721
|
+
}
|
|
3722
|
+
const Yo = typeof Object.is == "function" ? Object.is : Vo, { useState: qo, useEffect: Ko, useLayoutEffect: Jo, useDebugValue: Xo } = xe;
|
|
3723
|
+
function Qo(e, t, r) {
|
|
3724
|
+
const n = t(), [{ inst: o }, l] = qo({ inst: { value: n, getSnapshot: t } });
|
|
3725
|
+
return Jo(() => {
|
|
3726
|
+
o.value = n, o.getSnapshot = t, Et(o) && l({ inst: o });
|
|
3727
|
+
}, [e, n, t]), Ko(() => (Et(o) && l({ inst: o }), e(() => {
|
|
3728
|
+
Et(o) && l({ inst: o });
|
|
3729
|
+
})), [e]), Xo(n), n;
|
|
3730
|
+
}
|
|
3731
|
+
function Et(e) {
|
|
3732
|
+
const t = e.getSnapshot, r = e.value;
|
|
3733
|
+
try {
|
|
3734
|
+
const n = t();
|
|
3735
|
+
return !Yo(r, n);
|
|
3736
|
+
} catch {
|
|
3737
|
+
return !0;
|
|
3738
|
+
}
|
|
3739
|
+
}
|
|
3740
|
+
function Zo(e, t, r) {
|
|
3741
|
+
return t();
|
|
3742
|
+
}
|
|
3743
|
+
const ei = typeof window < "u" && typeof window.document < "u" && typeof window.document.createElement < "u", ti = !ei, ri = ti ? Zo : Qo, ni = "useSyncExternalStore" in xe ? ((e) => e.useSyncExternalStore)(xe) : ri;
|
|
3744
|
+
function oi(e) {
|
|
3745
|
+
return ni(e.subscribe, e.getSnapshot, e.getSnapshot);
|
|
3746
|
+
}
|
|
3747
|
+
function ii(e, t) {
|
|
3748
|
+
let r = e(), n = /* @__PURE__ */ new Set();
|
|
3749
|
+
return { getSnapshot() {
|
|
3750
|
+
return r;
|
|
3751
|
+
}, subscribe(o) {
|
|
3752
|
+
return n.add(o), () => n.delete(o);
|
|
3753
|
+
}, dispatch(o, ...l) {
|
|
3754
|
+
let a = t[o].call(r, ...l);
|
|
3755
|
+
a && (r = a, n.forEach((s) => s()));
|
|
3756
|
+
} };
|
|
3757
|
+
}
|
|
3758
|
+
function ai() {
|
|
3759
|
+
let e;
|
|
3760
|
+
return { before({ doc: t }) {
|
|
3761
|
+
var r;
|
|
3762
|
+
let n = t.documentElement;
|
|
3763
|
+
e = ((r = t.defaultView) != null ? r : window).innerWidth - n.clientWidth;
|
|
3764
|
+
}, after({ doc: t, d: r }) {
|
|
3765
|
+
let n = t.documentElement, o = n.clientWidth - n.offsetWidth, l = e - o;
|
|
3766
|
+
r.style(n, "paddingRight", `${l}px`);
|
|
3767
|
+
} };
|
|
3768
|
+
}
|
|
3769
|
+
function li() {
|
|
3770
|
+
return yr() ? { before({ doc: e, d: t, meta: r }) {
|
|
3771
|
+
function n(o) {
|
|
3772
|
+
return r.containers.flatMap((l) => l()).some((l) => l.contains(o));
|
|
3773
|
+
}
|
|
3774
|
+
t.microTask(() => {
|
|
3775
|
+
var o;
|
|
3776
|
+
if (window.getComputedStyle(e.documentElement).scrollBehavior !== "auto") {
|
|
3777
|
+
let s = ft();
|
|
3778
|
+
s.style(e.documentElement, "scrollBehavior", "auto"), t.add(() => t.microTask(() => s.dispose()));
|
|
3779
|
+
}
|
|
3780
|
+
let l = (o = window.scrollY) != null ? o : window.pageYOffset, a = null;
|
|
3781
|
+
t.addEventListener(e, "click", (s) => {
|
|
3782
|
+
if (s.target instanceof HTMLElement)
|
|
3783
|
+
try {
|
|
3784
|
+
let u = s.target.closest("a");
|
|
3785
|
+
if (!u)
|
|
3786
|
+
return;
|
|
3787
|
+
let { hash: y } = new URL(u.href), c = e.querySelector(y);
|
|
3788
|
+
c && !n(c) && (a = c);
|
|
3789
|
+
} catch {
|
|
3790
|
+
}
|
|
3791
|
+
}, !0), t.addEventListener(e, "touchstart", (s) => {
|
|
3792
|
+
if (s.target instanceof HTMLElement)
|
|
3793
|
+
if (n(s.target)) {
|
|
3794
|
+
let u = s.target;
|
|
3795
|
+
for (; u.parentElement && n(u.parentElement); )
|
|
3796
|
+
u = u.parentElement;
|
|
3797
|
+
t.style(u, "overscrollBehavior", "contain");
|
|
3798
|
+
} else
|
|
3799
|
+
t.style(s.target, "touchAction", "none");
|
|
3800
|
+
}), t.addEventListener(e, "touchmove", (s) => {
|
|
3801
|
+
if (s.target instanceof HTMLElement)
|
|
3802
|
+
if (n(s.target)) {
|
|
3803
|
+
let u = s.target;
|
|
3804
|
+
for (; u.parentElement && u.dataset.headlessuiPortal !== "" && !(u.scrollHeight > u.clientHeight || u.scrollWidth > u.clientWidth); )
|
|
3805
|
+
u = u.parentElement;
|
|
3806
|
+
u.dataset.headlessuiPortal === "" && s.preventDefault();
|
|
3807
|
+
} else
|
|
3808
|
+
s.preventDefault();
|
|
3809
|
+
}, { passive: !1 }), t.add(() => {
|
|
3810
|
+
var s;
|
|
3811
|
+
let u = (s = window.scrollY) != null ? s : window.pageYOffset;
|
|
3812
|
+
l !== u && window.scrollTo(0, l), a && a.isConnected && (a.scrollIntoView({ block: "nearest" }), a = null);
|
|
3813
|
+
});
|
|
3814
|
+
});
|
|
3815
|
+
} } : {};
|
|
3816
|
+
}
|
|
3817
|
+
function si() {
|
|
3818
|
+
return { before({ doc: e, d: t }) {
|
|
3819
|
+
t.style(e.documentElement, "overflow", "hidden");
|
|
3820
|
+
} };
|
|
3821
|
+
}
|
|
3822
|
+
function ui(e) {
|
|
3823
|
+
let t = {};
|
|
3824
|
+
for (let r of e)
|
|
3825
|
+
Object.assign(t, r(t));
|
|
3826
|
+
return t;
|
|
3827
|
+
}
|
|
3828
|
+
let Te = ii(() => /* @__PURE__ */ new Map(), { PUSH(e, t) {
|
|
3829
|
+
var r;
|
|
3830
|
+
let n = (r = this.get(e)) != null ? r : { doc: e, count: 0, d: ft(), meta: /* @__PURE__ */ new Set() };
|
|
3831
|
+
return n.count++, n.meta.add(t), this.set(e, n), this;
|
|
3832
|
+
}, POP(e, t) {
|
|
3833
|
+
let r = this.get(e);
|
|
3834
|
+
return r && (r.count--, r.meta.delete(t)), this;
|
|
3835
|
+
}, SCROLL_PREVENT({ doc: e, d: t, meta: r }) {
|
|
3836
|
+
let n = { doc: e, d: t, meta: ui(r) }, o = [li(), ai(), si()];
|
|
3837
|
+
o.forEach(({ before: l }) => l == null ? void 0 : l(n)), o.forEach(({ after: l }) => l == null ? void 0 : l(n));
|
|
3838
|
+
}, SCROLL_ALLOW({ d: e }) {
|
|
3839
|
+
e.dispose();
|
|
3840
|
+
}, TEARDOWN({ doc: e }) {
|
|
3841
|
+
this.delete(e);
|
|
3842
|
+
} });
|
|
3843
|
+
Te.subscribe(() => {
|
|
3844
|
+
let e = Te.getSnapshot(), t = /* @__PURE__ */ new Map();
|
|
3845
|
+
for (let [r] of e)
|
|
3846
|
+
t.set(r, r.documentElement.style.overflow);
|
|
3847
|
+
for (let r of e.values()) {
|
|
3848
|
+
let n = t.get(r.doc) === "hidden", o = r.count !== 0;
|
|
3849
|
+
(o && !n || !o && n) && Te.dispatch(r.count > 0 ? "SCROLL_PREVENT" : "SCROLL_ALLOW", r), r.count === 0 && Te.dispatch("TEARDOWN", r);
|
|
3850
|
+
}
|
|
3851
|
+
});
|
|
3852
|
+
function ci(e, t, r) {
|
|
3853
|
+
let n = oi(Te), o = e ? n.get(e) : void 0, l = o ? o.count > 0 : !1;
|
|
3854
|
+
return pe(() => {
|
|
3855
|
+
if (!(!e || !t))
|
|
3856
|
+
return Te.dispatch("PUSH", e, r), () => Te.dispatch("POP", e, r);
|
|
3857
|
+
}, [t, e]), l;
|
|
3858
|
+
}
|
|
3859
|
+
let Ot = /* @__PURE__ */ new Map(), Ve = /* @__PURE__ */ new Map();
|
|
3860
|
+
function ir(e, t = !0) {
|
|
3861
|
+
pe(() => {
|
|
3862
|
+
var r;
|
|
3863
|
+
if (!t)
|
|
3864
|
+
return;
|
|
3865
|
+
let n = typeof e == "function" ? e() : e.current;
|
|
3866
|
+
if (!n)
|
|
3867
|
+
return;
|
|
3868
|
+
function o() {
|
|
3869
|
+
var a;
|
|
3870
|
+
if (!n)
|
|
3871
|
+
return;
|
|
3872
|
+
let s = (a = Ve.get(n)) != null ? a : 1;
|
|
3873
|
+
if (s === 1 ? Ve.delete(n) : Ve.set(n, s - 1), s !== 1)
|
|
3874
|
+
return;
|
|
3875
|
+
let u = Ot.get(n);
|
|
3876
|
+
u && (u["aria-hidden"] === null ? n.removeAttribute("aria-hidden") : n.setAttribute("aria-hidden", u["aria-hidden"]), n.inert = u.inert, Ot.delete(n));
|
|
3877
|
+
}
|
|
3878
|
+
let l = (r = Ve.get(n)) != null ? r : 0;
|
|
3879
|
+
return Ve.set(n, l + 1), l !== 0 || (Ot.set(n, { "aria-hidden": n.getAttribute("aria-hidden"), inert: n.inert }), n.setAttribute("aria-hidden", "true"), n.inert = !0), o;
|
|
3880
|
+
}, [e, t]);
|
|
3881
|
+
}
|
|
3882
|
+
function di({ defaultContainers: e = [], portals: t, mainTreeNodeRef: r } = {}) {
|
|
3883
|
+
var n;
|
|
3884
|
+
let o = H((n = r == null ? void 0 : r.current) != null ? n : null), l = Je(o), a = Y(() => {
|
|
3885
|
+
var s, u, y;
|
|
3886
|
+
let c = [];
|
|
3887
|
+
for (let p of e)
|
|
3888
|
+
p !== null && (p instanceof HTMLElement ? c.push(p) : "current" in p && p.current instanceof HTMLElement && c.push(p.current));
|
|
3889
|
+
if (t != null && t.current)
|
|
3890
|
+
for (let p of t.current)
|
|
3891
|
+
c.push(p);
|
|
3892
|
+
for (let p of (s = l == null ? void 0 : l.querySelectorAll("html > *, body > *")) != null ? s : [])
|
|
3893
|
+
p !== document.body && p !== document.head && p instanceof HTMLElement && p.id !== "headlessui-portal-root" && (p.contains(o.current) || p.contains((y = (u = o.current) == null ? void 0 : u.getRootNode()) == null ? void 0 : y.host) || c.some((O) => p.contains(O)) || c.push(p));
|
|
3894
|
+
return c;
|
|
3895
|
+
});
|
|
3896
|
+
return { resolveContainers: a, contains: Y((s) => a().some((u) => u.contains(s))), mainTreeNodeRef: o, MainTreeNode: ie(() => function() {
|
|
3897
|
+
return r != null ? null : k.createElement(Tt, { features: st.Hidden, ref: o });
|
|
3898
|
+
}, [o, r]) };
|
|
3899
|
+
}
|
|
3900
|
+
let Dt = ke(() => {
|
|
3901
|
+
});
|
|
3902
|
+
Dt.displayName = "StackContext";
|
|
3903
|
+
var $t = ((e) => (e[e.Add = 0] = "Add", e[e.Remove = 1] = "Remove", e))($t || {});
|
|
3904
|
+
function fi() {
|
|
3905
|
+
return me(Dt);
|
|
3906
|
+
}
|
|
3907
|
+
function pi({ children: e, onUpdate: t, type: r, element: n, enabled: o }) {
|
|
3908
|
+
let l = fi(), a = Y((...s) => {
|
|
3909
|
+
t == null || t(...s), l(...s);
|
|
3910
|
+
});
|
|
3911
|
+
return pe(() => {
|
|
3912
|
+
let s = o === void 0 || o === !0;
|
|
3913
|
+
return s && a(0, r, n), () => {
|
|
3914
|
+
s && a(1, r, n);
|
|
3915
|
+
};
|
|
3916
|
+
}, [a, r, n, o]), k.createElement(Dt.Provider, { value: a }, e);
|
|
3917
|
+
}
|
|
3918
|
+
let Nr = ke(null);
|
|
3919
|
+
function Ar() {
|
|
3920
|
+
let e = me(Nr);
|
|
3921
|
+
if (e === null) {
|
|
3922
|
+
let t = new Error("You used a <Description /> component, but it is not inside a relevant parent.");
|
|
3923
|
+
throw Error.captureStackTrace && Error.captureStackTrace(t, Ar), t;
|
|
3924
|
+
}
|
|
3925
|
+
return e;
|
|
3926
|
+
}
|
|
3927
|
+
function mi() {
|
|
3928
|
+
let [e, t] = Re([]);
|
|
3929
|
+
return [e.length > 0 ? e.join(" ") : void 0, ie(() => function(r) {
|
|
3930
|
+
let n = Y((l) => (t((a) => [...a, l]), () => t((a) => {
|
|
3931
|
+
let s = a.slice(), u = s.indexOf(l);
|
|
3932
|
+
return u !== -1 && s.splice(u, 1), s;
|
|
3933
|
+
}))), o = ie(() => ({ register: n, slot: r.slot, name: r.name, props: r.props }), [n, r.slot, r.name, r.props]);
|
|
3934
|
+
return k.createElement(Nr.Provider, { value: o }, r.children);
|
|
3935
|
+
}, [t])];
|
|
3936
|
+
}
|
|
3937
|
+
let gi = "p";
|
|
3938
|
+
function bi(e, t) {
|
|
3939
|
+
let r = Fe(), { id: n = `headlessui-description-${r}`, ...o } = e, l = Ar(), a = ge(t);
|
|
3940
|
+
pe(() => l.register(n), [n, l.register]);
|
|
3941
|
+
let s = { ref: a, ...l.props, id: n };
|
|
3942
|
+
return le({ ourProps: s, theirProps: o, slot: l.slot || {}, defaultTag: gi, name: l.name || "Description" });
|
|
3943
|
+
}
|
|
3944
|
+
let hi = se(bi), vi = Object.assign(hi, {});
|
|
3945
|
+
var yi = ((e) => (e[e.Open = 0] = "Open", e[e.Closed = 1] = "Closed", e))(yi || {}), wi = ((e) => (e[e.SetTitleId = 0] = "SetTitleId", e))(wi || {});
|
|
3946
|
+
let xi = { 0(e, t) {
|
|
3947
|
+
return e.titleId === t.id ? e : { ...e, titleId: t.id };
|
|
3948
|
+
} }, ut = ke(null);
|
|
3949
|
+
ut.displayName = "DialogContext";
|
|
3950
|
+
function Xe(e) {
|
|
3951
|
+
let t = me(ut);
|
|
3952
|
+
if (t === null) {
|
|
3953
|
+
let r = new Error(`<${e} /> is missing a parent <Dialog /> component.`);
|
|
3954
|
+
throw Error.captureStackTrace && Error.captureStackTrace(r, Xe), r;
|
|
3955
|
+
}
|
|
3956
|
+
return t;
|
|
3957
|
+
}
|
|
3958
|
+
function Ei(e, t, r = () => [document.body]) {
|
|
3959
|
+
ci(e, t, (n) => {
|
|
3960
|
+
var o;
|
|
3961
|
+
return { containers: [...(o = n.containers) != null ? o : [], r] };
|
|
3962
|
+
});
|
|
3963
|
+
}
|
|
3964
|
+
function Oi(e, t) {
|
|
3965
|
+
return Ee(t.type, xi, e, t);
|
|
3966
|
+
}
|
|
3967
|
+
let Pi = "div", Ci = St.RenderStrategy | St.Static;
|
|
3968
|
+
function ji(e, t) {
|
|
3969
|
+
let r = Fe(), { id: n = `headlessui-dialog-${r}`, open: o, onClose: l, initialFocus: a, role: s = "dialog", __demoMode: u = !1, ...y } = e, [c, p] = Re(0), O = H(!1);
|
|
3970
|
+
s = function() {
|
|
3971
|
+
return s === "dialog" || s === "alertdialog" ? s : (O.current || (O.current = !0, console.warn(`Invalid role [${s}] passed to <Dialog />. Only \`dialog\` and and \`alertdialog\` are supported. Using \`dialog\` instead.`)), "dialog");
|
|
3972
|
+
}();
|
|
3973
|
+
let C = Co();
|
|
3974
|
+
o === void 0 && C !== null && (o = (C & Ye.Open) === Ye.Open);
|
|
3975
|
+
let b = H(null), g = ge(b, t), x = Je(b), E = e.hasOwnProperty("open") || C !== null, j = e.hasOwnProperty("onClose");
|
|
3976
|
+
if (!E && !j)
|
|
3977
|
+
throw new Error("You have to provide an `open` and an `onClose` prop to the `Dialog` component.");
|
|
3978
|
+
if (!E)
|
|
3979
|
+
throw new Error("You provided an `onClose` prop to the `Dialog`, but forgot an `open` prop.");
|
|
3980
|
+
if (!j)
|
|
3981
|
+
throw new Error("You provided an `open` prop to the `Dialog`, but forgot an `onClose` prop.");
|
|
3982
|
+
if (typeof o != "boolean")
|
|
3983
|
+
throw new Error(`You provided an \`open\` prop to the \`Dialog\`, but the value is not a boolean. Received: ${o}`);
|
|
3984
|
+
if (typeof l != "function")
|
|
3985
|
+
throw new Error(`You provided an \`onClose\` prop to the \`Dialog\`, but the value is not a function. Received: ${l}`);
|
|
3986
|
+
let $ = o ? 0 : 1, [z, G] = cn(Oi, { titleId: null, descriptionId: null, panelRef: dn() }), q = Y(() => l(!1)), ae = Y((I) => G({ type: 0, id: I })), Z = pt() ? u ? !1 : $ === 0 : !1, V = c > 1, te = me(ut) !== null, [m, f] = Uo(), w = { get current() {
|
|
3987
|
+
var I;
|
|
3988
|
+
return (I = z.panelRef.current) != null ? I : b.current;
|
|
3989
|
+
} }, { resolveContainers: v, mainTreeNodeRef: _, MainTreeNode: D } = di({ portals: m, defaultContainers: [w] }), W = V ? "parent" : "leaf", K = C !== null ? (C & Ye.Closing) === Ye.Closing : !1, L = te || K ? !1 : Z, ue = Kt(() => {
|
|
3990
|
+
var I, ne;
|
|
3991
|
+
return (ne = Array.from((I = x == null ? void 0 : x.querySelectorAll("body > *")) != null ? I : []).find((X) => X.id === "headlessui-portal-root" ? !1 : X.contains(_.current) && X instanceof HTMLElement)) != null ? ne : null;
|
|
3992
|
+
}, [_]);
|
|
3993
|
+
ir(ue, L);
|
|
3994
|
+
let ee = V ? !0 : Z, re = Kt(() => {
|
|
3995
|
+
var I, ne;
|
|
3996
|
+
return (ne = Array.from((I = x == null ? void 0 : x.querySelectorAll("[data-headlessui-portal]")) != null ? I : []).find((X) => X.contains(_.current) && X instanceof HTMLElement)) != null ? ne : null;
|
|
3997
|
+
}, [_]);
|
|
3998
|
+
ir(re, ee), yo(v, (I) => {
|
|
3999
|
+
I.preventDefault(), q();
|
|
4000
|
+
}, !(!Z || V));
|
|
4001
|
+
let Ie = !(V || $ !== 0);
|
|
4002
|
+
Cr(x == null ? void 0 : x.defaultView, "keydown", (I) => {
|
|
4003
|
+
Ie && (I.defaultPrevented || I.key === Pr.Escape && (I.preventDefault(), I.stopPropagation(), q()));
|
|
4004
|
+
}), Ei(x, !(K || $ !== 0 || te), v), Q(() => {
|
|
4005
|
+
if ($ !== 0 || !b.current)
|
|
4006
|
+
return;
|
|
4007
|
+
let I = new ResizeObserver((ne) => {
|
|
4008
|
+
for (let X of ne) {
|
|
4009
|
+
let Ne = X.target.getBoundingClientRect();
|
|
4010
|
+
Ne.x === 0 && Ne.y === 0 && Ne.width === 0 && Ne.height === 0 && q();
|
|
4011
|
+
}
|
|
4012
|
+
});
|
|
4013
|
+
return I.observe(b.current), () => I.disconnect();
|
|
4014
|
+
}, [$, b, q]);
|
|
4015
|
+
let [Oe, Pe] = mi(), Ce = ie(() => [{ dialogState: $, close: q, setTitleId: ae }, z], [$, z, q, ae]), be = ie(() => ({ open: $ === 0 }), [$]), $e = { ref: g, id: n, role: s, "aria-modal": $ === 0 ? !0 : void 0, "aria-labelledby": z.titleId, "aria-describedby": Oe };
|
|
4016
|
+
return k.createElement(pi, { type: "Dialog", enabled: $ === 0, element: b, onUpdate: Y((I, ne) => {
|
|
4017
|
+
ne === "Dialog" && Ee(I, { [$t.Add]: () => p((X) => X + 1), [$t.Remove]: () => p((X) => X - 1) });
|
|
4018
|
+
}) }, k.createElement(_t, { force: !0 }, k.createElement(kt, null, k.createElement(ut.Provider, { value: Ce }, k.createElement(kt.Group, { target: b }, k.createElement(_t, { force: !1 }, k.createElement(Pe, { slot: be, name: "Dialog.Description" }, k.createElement(Ge, { initialFocus: a, containers: v, features: Z ? Ee(W, { parent: Ge.features.RestoreFocus, leaf: Ge.features.All & ~Ge.features.FocusLock }) : Ge.features.None }, k.createElement(f, null, le({ ourProps: $e, theirProps: y, slot: be, defaultTag: Pi, features: Ci, visible: $ === 0, name: "Dialog" }))))))))), k.createElement(D, null));
|
|
4019
|
+
}
|
|
4020
|
+
let Si = "div";
|
|
4021
|
+
function Ti(e, t) {
|
|
4022
|
+
let r = Fe(), { id: n = `headlessui-dialog-overlay-${r}`, ...o } = e, [{ dialogState: l, close: a }] = Xe("Dialog.Overlay"), s = ge(t), u = Y((c) => {
|
|
4023
|
+
if (c.target === c.currentTarget) {
|
|
4024
|
+
if (So(c.currentTarget))
|
|
4025
|
+
return c.preventDefault();
|
|
4026
|
+
c.preventDefault(), c.stopPropagation(), a();
|
|
4027
|
+
}
|
|
4028
|
+
}), y = ie(() => ({ open: l === 0 }), [l]);
|
|
4029
|
+
return le({ ourProps: { ref: s, id: n, "aria-hidden": !0, onClick: u }, theirProps: o, slot: y, defaultTag: Si, name: "Dialog.Overlay" });
|
|
4030
|
+
}
|
|
4031
|
+
let _i = "div";
|
|
4032
|
+
function Ri(e, t) {
|
|
4033
|
+
let r = Fe(), { id: n = `headlessui-dialog-backdrop-${r}`, ...o } = e, [{ dialogState: l }, a] = Xe("Dialog.Backdrop"), s = ge(t);
|
|
4034
|
+
Q(() => {
|
|
4035
|
+
if (a.panelRef.current === null)
|
|
4036
|
+
throw new Error("A <Dialog.Backdrop /> component is being used, but a <Dialog.Panel /> component is missing.");
|
|
4037
|
+
}, [a.panelRef]);
|
|
4038
|
+
let u = ie(() => ({ open: l === 0 }), [l]);
|
|
4039
|
+
return k.createElement(_t, { force: !0 }, k.createElement(kt, null, le({ ourProps: { ref: s, id: n, "aria-hidden": !0 }, theirProps: o, slot: u, defaultTag: _i, name: "Dialog.Backdrop" })));
|
|
4040
|
+
}
|
|
4041
|
+
let ki = "div";
|
|
4042
|
+
function $i(e, t) {
|
|
4043
|
+
let r = Fe(), { id: n = `headlessui-dialog-panel-${r}`, ...o } = e, [{ dialogState: l }, a] = Xe("Dialog.Panel"), s = ge(t, a.panelRef), u = ie(() => ({ open: l === 0 }), [l]), y = Y((c) => {
|
|
4044
|
+
c.stopPropagation();
|
|
4045
|
+
});
|
|
4046
|
+
return le({ ourProps: { ref: s, id: n, onClick: y }, theirProps: o, slot: u, defaultTag: ki, name: "Dialog.Panel" });
|
|
4047
|
+
}
|
|
4048
|
+
let Ni = "h2";
|
|
4049
|
+
function Ai(e, t) {
|
|
4050
|
+
let r = Fe(), { id: n = `headlessui-dialog-title-${r}`, ...o } = e, [{ dialogState: l, setTitleId: a }] = Xe("Dialog.Title"), s = ge(t);
|
|
4051
|
+
Q(() => (a(n), () => a(null)), [n, a]);
|
|
4052
|
+
let u = ie(() => ({ open: l === 0 }), [l]);
|
|
4053
|
+
return le({ ourProps: { ref: s, id: n }, theirProps: o, slot: u, defaultTag: Ni, name: "Dialog.Title" });
|
|
4054
|
+
}
|
|
4055
|
+
let Di = se(ji), Mi = se(Ri), Fi = se($i), Li = se(Ti), Ii = se(Ai), we = Object.assign(Di, { Backdrop: Mi, Panel: Fi, Overlay: Li, Title: Ii, Description: vi });
|
|
4056
|
+
const Gi = ({ checked: e, label: t, onChange: r, termImageUrl: n }) => {
|
|
4057
|
+
const [o, l] = Re(!1);
|
|
4058
|
+
return /* @__PURE__ */ P.jsxs(P.Fragment, { children: [
|
|
4059
|
+
/* @__PURE__ */ P.jsx(zi, { isOpen: o, setIsOpen: l, termImageUrl: n }),
|
|
4060
|
+
/* @__PURE__ */ P.jsxs("div", { className: "inline-flex items-center", children: [
|
|
4061
|
+
/* @__PURE__ */ P.jsxs("label", { className: "relative flex items-center p-3 rounded-full cursor-pointer", htmlFor: "check", children: [
|
|
4062
|
+
/* @__PURE__ */ P.jsx(
|
|
4063
|
+
"input",
|
|
4064
|
+
{
|
|
4065
|
+
type: "checkbox",
|
|
4066
|
+
className: "before:content[''] peer bg-[#C5C8CD] relative size-6 cursor-pointer appearance-none rounded-xl border border-blue-gray-200 transition-all before:absolute before:top-2/4 before:left-2/4 before:block before:h-12 before:w-12 before:-translate-y-2/4 before:-translate-x-2/4 before:rounded-full before:bg-blue-gray-500 before:opacity-0 before:transition-opacity checked:border-petnowOrange checked:bg-petnowOrange checked:before:bg-petnowOrange",
|
|
4067
|
+
id: t,
|
|
4068
|
+
checked: e,
|
|
4069
|
+
onChange: (a) => {
|
|
4070
|
+
r(a.target.checked);
|
|
4071
|
+
}
|
|
4072
|
+
}
|
|
4073
|
+
),
|
|
4074
|
+
/* @__PURE__ */ P.jsx("span", { className: "absolute transition text-[#8B919A] pointer-events-none top-2/4 left-2/4 -translate-y-2/4 -translate-x-2/4 peer-checked:text-white", children: /* @__PURE__ */ P.jsx(
|
|
4075
|
+
"svg",
|
|
4076
|
+
{
|
|
4077
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
4078
|
+
className: "h-4 w-4",
|
|
4079
|
+
viewBox: "0 0 20 20",
|
|
4080
|
+
fill: "currentColor",
|
|
4081
|
+
stroke: "currentColor",
|
|
4082
|
+
strokeWidth: "1",
|
|
4083
|
+
children: /* @__PURE__ */ P.jsx(
|
|
4084
|
+
"path",
|
|
4085
|
+
{
|
|
4086
|
+
fillRule: "evenodd",
|
|
4087
|
+
d: "M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z",
|
|
4088
|
+
clipRule: "evenodd"
|
|
4089
|
+
}
|
|
4090
|
+
)
|
|
4091
|
+
}
|
|
4092
|
+
) })
|
|
4093
|
+
] }),
|
|
4094
|
+
t && /* @__PURE__ */ P.jsxs("div", { className: "flex items-center", children: [
|
|
4095
|
+
/* @__PURE__ */ P.jsx("label", { className: "cursor-pointer font-medium", htmlFor: t, children: t }),
|
|
4096
|
+
/* @__PURE__ */ P.jsx(
|
|
4097
|
+
no,
|
|
4098
|
+
{
|
|
4099
|
+
onClick: () => {
|
|
4100
|
+
l(!0);
|
|
4101
|
+
},
|
|
4102
|
+
className: "text-deepGray ml-2 mt-[2.5px] cursor-pointer",
|
|
4103
|
+
size: 24
|
|
4104
|
+
}
|
|
4105
|
+
)
|
|
4106
|
+
] })
|
|
4107
|
+
] })
|
|
4108
|
+
] });
|
|
4109
|
+
}, zi = ({ isOpen: e, setIsOpen: t, termImageUrl: r }) => /* @__PURE__ */ P.jsxs(we, { open: e, onClose: () => t(!1), className: "relative z-50", children: [
|
|
4110
|
+
/* @__PURE__ */ P.jsx("div", { className: "fixed inset-0 bg-black/30", "aria-hidden": "true" }),
|
|
4111
|
+
/* @__PURE__ */ P.jsx("div", { className: "fixed inset-0 w-screen overflow-y-auto", children: /* @__PURE__ */ P.jsx("div", { className: "flex min-h-full items-center justify-center p-4", children: /* @__PURE__ */ P.jsxs(we.Panel, { className: "mx-auto max-w-sm rounded bg-white flex flex-col gap-8 items-center", children: [
|
|
4112
|
+
/* @__PURE__ */ P.jsx("div", { className: "flex flex-row-reverse w-full h-[36px] bg-[#F0F1F2] items-center", children: /* @__PURE__ */ P.jsx(gr, { size: 20, className: "mr-2", onClick: () => t(!1) }) }),
|
|
4113
|
+
/* @__PURE__ */ P.jsx("img", { src: r, alt: "약관동의 이미지" }),
|
|
4114
|
+
/* @__PURE__ */ P.jsx(
|
|
4115
|
+
Kn,
|
|
4116
|
+
{
|
|
4117
|
+
text: "닫기",
|
|
4118
|
+
className: "focus:outline-none text-base w-[90%] mb-4",
|
|
4119
|
+
onClick: () => t(!1)
|
|
4120
|
+
}
|
|
4121
|
+
)
|
|
4122
|
+
] }) }) })
|
|
4123
|
+
] });
|
|
4124
|
+
var Dr = {}, Mr = {}, mt = {};
|
|
4125
|
+
(function(e) {
|
|
4126
|
+
Object.defineProperty(e, "__esModule", { value: !0 }), e.default = e.postcodeScriptUrl = void 0;
|
|
4127
|
+
var t = "https://t1.daumcdn.net/mapjsapi/bundle/postcode/prod/postcode.v2.js";
|
|
4128
|
+
e.postcodeScriptUrl = "https://t1.daumcdn.net/mapjsapi/bundle/postcode/prod/postcode.v2.js";
|
|
4129
|
+
var r = /* @__PURE__ */ function() {
|
|
4130
|
+
var o = null;
|
|
4131
|
+
return function() {
|
|
4132
|
+
var l = 0 < arguments.length && arguments[0] !== void 0 ? arguments[0] : t;
|
|
4133
|
+
return o || (o = new Promise(function(a, s) {
|
|
4134
|
+
var u = document.createElement("script");
|
|
4135
|
+
u.src = l, u.onload = function() {
|
|
4136
|
+
var y, c;
|
|
4137
|
+
return (y = window) !== null && y !== void 0 && (c = y.daum) !== null && c !== void 0 && c.Postcode ? a(window.daum.Postcode) : void s(new Error("Script is loaded successfully, but cannot find Postcode module. Check your scriptURL property."));
|
|
4138
|
+
}, u.onerror = function(y) {
|
|
4139
|
+
return s(y);
|
|
4140
|
+
}, u.id = "daum_postcode_script", document.body.appendChild(u);
|
|
4141
|
+
}), o);
|
|
4142
|
+
};
|
|
4143
|
+
}(), n = r;
|
|
4144
|
+
e.default = n;
|
|
4145
|
+
})(mt);
|
|
4146
|
+
(function(e) {
|
|
4147
|
+
function t(m) {
|
|
4148
|
+
"@babel/helpers - typeof";
|
|
4149
|
+
return t = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(f) {
|
|
4150
|
+
return typeof f;
|
|
4151
|
+
} : function(f) {
|
|
4152
|
+
return f && typeof Symbol == "function" && f.constructor === Symbol && f !== Symbol.prototype ? "symbol" : typeof f;
|
|
4153
|
+
}, t(m);
|
|
4154
|
+
}
|
|
4155
|
+
Object.defineProperty(e, "__esModule", { value: !0 }), e.default = void 0;
|
|
4156
|
+
var r = a(k), n = a(mt), o = ["scriptUrl", "className", "style", "defaultQuery", "autoClose", "errorMessage", "onComplete", "onClose", "onResize", "onSearch"];
|
|
4157
|
+
function l(m) {
|
|
4158
|
+
if (typeof WeakMap != "function")
|
|
4159
|
+
return null;
|
|
4160
|
+
var f = /* @__PURE__ */ new WeakMap(), w = /* @__PURE__ */ new WeakMap();
|
|
4161
|
+
return (l = function(v) {
|
|
4162
|
+
return v ? w : f;
|
|
4163
|
+
})(m);
|
|
4164
|
+
}
|
|
4165
|
+
function a(m, f) {
|
|
4166
|
+
if (!f && m && m.__esModule)
|
|
4167
|
+
return m;
|
|
4168
|
+
if (m === null || t(m) !== "object" && typeof m != "function")
|
|
4169
|
+
return { default: m };
|
|
4170
|
+
var w = l(f);
|
|
4171
|
+
if (w && w.has(m))
|
|
4172
|
+
return w.get(m);
|
|
4173
|
+
var v = {}, _ = Object.defineProperty && Object.getOwnPropertyDescriptor;
|
|
4174
|
+
for (var D in m)
|
|
4175
|
+
if (D != "default" && Object.prototype.hasOwnProperty.call(m, D)) {
|
|
4176
|
+
var W = _ ? Object.getOwnPropertyDescriptor(m, D) : null;
|
|
4177
|
+
W && (W.get || W.set) ? Object.defineProperty(v, D, W) : v[D] = m[D];
|
|
4178
|
+
}
|
|
4179
|
+
return v.default = m, w && w.set(m, v), v;
|
|
4180
|
+
}
|
|
4181
|
+
function s(m, f) {
|
|
4182
|
+
var w = Object.keys(m);
|
|
4183
|
+
if (Object.getOwnPropertySymbols) {
|
|
4184
|
+
var v = Object.getOwnPropertySymbols(m);
|
|
4185
|
+
f && (v = v.filter(function(_) {
|
|
4186
|
+
return Object.getOwnPropertyDescriptor(m, _).enumerable;
|
|
4187
|
+
})), w.push.apply(w, v);
|
|
4188
|
+
}
|
|
4189
|
+
return w;
|
|
4190
|
+
}
|
|
4191
|
+
function u(m) {
|
|
4192
|
+
for (var f, w = 1; w < arguments.length; w++)
|
|
4193
|
+
f = arguments[w] == null ? {} : arguments[w], w % 2 ? s(Object(f), !0).forEach(function(v) {
|
|
4194
|
+
G(m, v, f[v]);
|
|
4195
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(m, Object.getOwnPropertyDescriptors(f)) : s(Object(f)).forEach(function(v) {
|
|
4196
|
+
Object.defineProperty(m, v, Object.getOwnPropertyDescriptor(f, v));
|
|
4197
|
+
});
|
|
4198
|
+
return m;
|
|
4199
|
+
}
|
|
4200
|
+
function y(m, f) {
|
|
4201
|
+
if (m == null)
|
|
4202
|
+
return {};
|
|
4203
|
+
var w, v, _ = c(m, f);
|
|
4204
|
+
if (Object.getOwnPropertySymbols) {
|
|
4205
|
+
var D = Object.getOwnPropertySymbols(m);
|
|
4206
|
+
for (v = 0; v < D.length; v++)
|
|
4207
|
+
w = D[v], 0 <= f.indexOf(w) || Object.prototype.propertyIsEnumerable.call(m, w) && (_[w] = m[w]);
|
|
4208
|
+
}
|
|
4209
|
+
return _;
|
|
4210
|
+
}
|
|
4211
|
+
function c(m, f) {
|
|
4212
|
+
if (m == null)
|
|
4213
|
+
return {};
|
|
4214
|
+
var w, v, _ = {}, D = Object.keys(m);
|
|
4215
|
+
for (v = 0; v < D.length; v++)
|
|
4216
|
+
w = D[v], 0 <= f.indexOf(w) || (_[w] = m[w]);
|
|
4217
|
+
return _;
|
|
4218
|
+
}
|
|
4219
|
+
function p(m, f) {
|
|
4220
|
+
if (!(m instanceof f))
|
|
4221
|
+
throw new TypeError("Cannot call a class as a function");
|
|
4222
|
+
}
|
|
4223
|
+
function O(m, f) {
|
|
4224
|
+
for (var w, v = 0; v < f.length; v++)
|
|
4225
|
+
w = f[v], w.enumerable = w.enumerable || !1, w.configurable = !0, "value" in w && (w.writable = !0), Object.defineProperty(m, w.key, w);
|
|
4226
|
+
}
|
|
4227
|
+
function C(m, f, w) {
|
|
4228
|
+
return f && O(m.prototype, f), w && O(m, w), m;
|
|
4229
|
+
}
|
|
4230
|
+
function b(m, f) {
|
|
4231
|
+
if (typeof f != "function" && f !== null)
|
|
4232
|
+
throw new TypeError("Super expression must either be null or a function");
|
|
4233
|
+
m.prototype = Object.create(f && f.prototype, { constructor: { value: m, writable: !0, configurable: !0 } }), f && g(m, f);
|
|
4234
|
+
}
|
|
4235
|
+
function g(m, f) {
|
|
4236
|
+
return g = Object.setPrototypeOf || function(w, v) {
|
|
4237
|
+
return w.__proto__ = v, w;
|
|
4238
|
+
}, g(m, f);
|
|
4239
|
+
}
|
|
4240
|
+
function x(m) {
|
|
4241
|
+
var f = $();
|
|
4242
|
+
return function() {
|
|
4243
|
+
var w, v = z(m);
|
|
4244
|
+
if (f) {
|
|
4245
|
+
var _ = z(this).constructor;
|
|
4246
|
+
w = Reflect.construct(v, arguments, _);
|
|
4247
|
+
} else
|
|
4248
|
+
w = v.apply(this, arguments);
|
|
4249
|
+
return E(this, w);
|
|
4250
|
+
};
|
|
4251
|
+
}
|
|
4252
|
+
function E(m, f) {
|
|
4253
|
+
return f && (t(f) === "object" || typeof f == "function") ? f : j(m);
|
|
4254
|
+
}
|
|
4255
|
+
function j(m) {
|
|
4256
|
+
if (m === void 0)
|
|
4257
|
+
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
4258
|
+
return m;
|
|
4259
|
+
}
|
|
4260
|
+
function $() {
|
|
4261
|
+
if (typeof Reflect > "u" || !Reflect.construct || Reflect.construct.sham)
|
|
4262
|
+
return !1;
|
|
4263
|
+
if (typeof Proxy == "function")
|
|
4264
|
+
return !0;
|
|
4265
|
+
try {
|
|
4266
|
+
return Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {
|
|
4267
|
+
})), !0;
|
|
4268
|
+
} catch {
|
|
4269
|
+
return !1;
|
|
4270
|
+
}
|
|
4271
|
+
}
|
|
4272
|
+
function z(m) {
|
|
4273
|
+
return z = Object.setPrototypeOf ? Object.getPrototypeOf : function(f) {
|
|
4274
|
+
return f.__proto__ || Object.getPrototypeOf(f);
|
|
4275
|
+
}, z(m);
|
|
4276
|
+
}
|
|
4277
|
+
function G(m, f, w) {
|
|
4278
|
+
return f in m ? Object.defineProperty(m, f, { value: w, enumerable: !0, configurable: !0, writable: !0 }) : m[f] = w, m;
|
|
4279
|
+
}
|
|
4280
|
+
var q = /* @__PURE__ */ r.default.createElement("p", null, "현재 Daum 우편번호 서비스를 이용할 수 없습니다. 잠시 후 다시 시도해주세요."), ae = { width: "100%", height: 400 }, Z = { scriptUrl: n.postcodeScriptUrl, errorMessage: q, autoClose: !0 }, V = /* @__PURE__ */ function(m) {
|
|
4281
|
+
function f() {
|
|
4282
|
+
var v;
|
|
4283
|
+
p(this, f);
|
|
4284
|
+
for (var _ = arguments.length, D = Array(_), W = 0; W < _; W++)
|
|
4285
|
+
D[W] = arguments[W];
|
|
4286
|
+
return v = w.call.apply(w, [this].concat(D)), G(j(v), "mounted", !1), G(j(v), "wrap", /* @__PURE__ */ (0, r.createRef)()), G(j(v), "state", { hasError: !1 }), G(j(v), "initiate", function(K) {
|
|
4287
|
+
if (v.wrap.current) {
|
|
4288
|
+
var L = v.props;
|
|
4289
|
+
L.scriptUrl, L.className, L.style;
|
|
4290
|
+
var ue = L.defaultQuery, ee = L.autoClose;
|
|
4291
|
+
L.errorMessage;
|
|
4292
|
+
var re = L.onComplete, Le = L.onClose, Ie = L.onResize, Qe = L.onSearch, Oe = y(L, o), Pe = new K(u(u({}, Oe), {}, { oncomplete: function(be) {
|
|
4293
|
+
re && re(be), ee && v.wrap.current && v.wrap.current.remove();
|
|
4294
|
+
}, onsearch: Qe, onresize: Ie, onclose: Le, width: "100%", height: "100%" }));
|
|
4295
|
+
Pe.embed(v.wrap.current, { q: ue, autoClose: ee });
|
|
4296
|
+
}
|
|
4297
|
+
}), G(j(v), "onError", function(K) {
|
|
4298
|
+
console.error(K), v.setState({ hasError: !0 });
|
|
4299
|
+
}), v;
|
|
4300
|
+
}
|
|
4301
|
+
b(f, m);
|
|
4302
|
+
var w = x(f);
|
|
4303
|
+
return C(f, [{ key: "componentDidMount", value: function() {
|
|
4304
|
+
var _ = this.initiate, D = this.onError, W = this.props.scriptUrl;
|
|
4305
|
+
W && (this.mounted || ((0, n.default)(W).then(_).catch(D), this.mounted = !0));
|
|
4306
|
+
} }, { key: "render", value: function() {
|
|
4307
|
+
var _ = this.props, D = _.className, W = _.style, K = _.errorMessage, L = this.state.hasError;
|
|
4308
|
+
return /* @__PURE__ */ r.default.createElement("div", { ref: this.wrap, className: D, style: u(u({}, ae), W) }, L && K);
|
|
4309
|
+
} }]), f;
|
|
4310
|
+
}(r.Component);
|
|
4311
|
+
G(V, "defaultProps", Z);
|
|
4312
|
+
var te = V;
|
|
4313
|
+
e.default = te;
|
|
4314
|
+
})(Mr);
|
|
4315
|
+
var Fr = {};
|
|
4316
|
+
(function(e) {
|
|
4317
|
+
function t(b) {
|
|
4318
|
+
"@babel/helpers - typeof";
|
|
4319
|
+
return t = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(g) {
|
|
4320
|
+
return typeof g;
|
|
4321
|
+
} : function(g) {
|
|
4322
|
+
return g && typeof Symbol == "function" && g.constructor === Symbol && g !== Symbol.prototype ? "symbol" : typeof g;
|
|
4323
|
+
}, t(b);
|
|
4324
|
+
}
|
|
4325
|
+
Object.defineProperty(e, "__esModule", { value: !0 }), e.default = void 0;
|
|
4326
|
+
var r = k, n = a(mt), o = ["defaultQuery", "left", "top", "popupKey", "popupTitle", "autoClose", "onComplete", "onResize", "onClose", "onSearch", "onError"];
|
|
4327
|
+
function l(b) {
|
|
4328
|
+
if (typeof WeakMap != "function")
|
|
4329
|
+
return null;
|
|
4330
|
+
var g = /* @__PURE__ */ new WeakMap(), x = /* @__PURE__ */ new WeakMap();
|
|
4331
|
+
return (l = function(E) {
|
|
4332
|
+
return E ? x : g;
|
|
4333
|
+
})(b);
|
|
4334
|
+
}
|
|
4335
|
+
function a(b, g) {
|
|
4336
|
+
if (!g && b && b.__esModule)
|
|
4337
|
+
return b;
|
|
4338
|
+
if (b === null || t(b) !== "object" && typeof b != "function")
|
|
4339
|
+
return { default: b };
|
|
4340
|
+
var x = l(g);
|
|
4341
|
+
if (x && x.has(b))
|
|
4342
|
+
return x.get(b);
|
|
4343
|
+
var E = {}, j = Object.defineProperty && Object.getOwnPropertyDescriptor;
|
|
4344
|
+
for (var $ in b)
|
|
4345
|
+
if ($ != "default" && Object.prototype.hasOwnProperty.call(b, $)) {
|
|
4346
|
+
var z = j ? Object.getOwnPropertyDescriptor(b, $) : null;
|
|
4347
|
+
z && (z.get || z.set) ? Object.defineProperty(E, $, z) : E[$] = b[$];
|
|
4348
|
+
}
|
|
4349
|
+
return E.default = b, x && x.set(b, E), E;
|
|
4350
|
+
}
|
|
4351
|
+
function s(b, g) {
|
|
4352
|
+
var x = Object.keys(b);
|
|
4353
|
+
if (Object.getOwnPropertySymbols) {
|
|
4354
|
+
var E = Object.getOwnPropertySymbols(b);
|
|
4355
|
+
g && (E = E.filter(function(j) {
|
|
4356
|
+
return Object.getOwnPropertyDescriptor(b, j).enumerable;
|
|
4357
|
+
})), x.push.apply(x, E);
|
|
4358
|
+
}
|
|
4359
|
+
return x;
|
|
4360
|
+
}
|
|
4361
|
+
function u(b) {
|
|
4362
|
+
for (var g, x = 1; x < arguments.length; x++)
|
|
4363
|
+
g = arguments[x] == null ? {} : arguments[x], x % 2 ? s(Object(g), !0).forEach(function(E) {
|
|
4364
|
+
y(b, E, g[E]);
|
|
4365
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(b, Object.getOwnPropertyDescriptors(g)) : s(Object(g)).forEach(function(E) {
|
|
4366
|
+
Object.defineProperty(b, E, Object.getOwnPropertyDescriptor(g, E));
|
|
4367
|
+
});
|
|
4368
|
+
return b;
|
|
4369
|
+
}
|
|
4370
|
+
function y(b, g, x) {
|
|
4371
|
+
return g in b ? Object.defineProperty(b, g, { value: x, enumerable: !0, configurable: !0, writable: !0 }) : b[g] = x, b;
|
|
4372
|
+
}
|
|
4373
|
+
function c(b, g) {
|
|
4374
|
+
if (b == null)
|
|
4375
|
+
return {};
|
|
4376
|
+
var x, E, j = p(b, g);
|
|
4377
|
+
if (Object.getOwnPropertySymbols) {
|
|
4378
|
+
var $ = Object.getOwnPropertySymbols(b);
|
|
4379
|
+
for (E = 0; E < $.length; E++)
|
|
4380
|
+
x = $[E], 0 <= g.indexOf(x) || Object.prototype.propertyIsEnumerable.call(b, x) && (j[x] = b[x]);
|
|
4381
|
+
}
|
|
4382
|
+
return j;
|
|
4383
|
+
}
|
|
4384
|
+
function p(b, g) {
|
|
4385
|
+
if (b == null)
|
|
4386
|
+
return {};
|
|
4387
|
+
var x, E, j = {}, $ = Object.keys(b);
|
|
4388
|
+
for (E = 0; E < $.length; E++)
|
|
4389
|
+
x = $[E], 0 <= g.indexOf(x) || (j[x] = b[x]);
|
|
4390
|
+
return j;
|
|
4391
|
+
}
|
|
4392
|
+
function O() {
|
|
4393
|
+
var b = 0 < arguments.length && arguments[0] !== void 0 ? arguments[0] : n.postcodeScriptUrl;
|
|
4394
|
+
(0, r.useEffect)(function() {
|
|
4395
|
+
(0, n.default)(b);
|
|
4396
|
+
}, [b]);
|
|
4397
|
+
var g = (0, r.useCallback)(function(x) {
|
|
4398
|
+
var E = u({}, x), j = E.defaultQuery, $ = E.left, z = E.top, G = E.popupKey, q = E.popupTitle, ae = E.autoClose, Z = E.onComplete, V = E.onResize, te = E.onClose, m = E.onSearch, f = E.onError, w = c(E, o);
|
|
4399
|
+
return (0, n.default)(b).then(function(v) {
|
|
4400
|
+
var _ = new v(u(u({}, w), {}, { oncomplete: Z, onsearch: m, onresize: V, onclose: te }));
|
|
4401
|
+
_.open({ q: j, left: $, top: z, popupTitle: q, popupKey: G, autoClose: ae });
|
|
4402
|
+
}).catch(f);
|
|
4403
|
+
}, [b]);
|
|
4404
|
+
return g;
|
|
4405
|
+
}
|
|
4406
|
+
var C = O;
|
|
4407
|
+
e.default = C;
|
|
4408
|
+
})(Fr);
|
|
4409
|
+
(function(e) {
|
|
4410
|
+
Object.defineProperty(e, "__esModule", { value: !0 }), Object.defineProperty(e, "DaumPostcodeEmbed", { enumerable: !0, get: function() {
|
|
4411
|
+
return t.default;
|
|
4412
|
+
} }), Object.defineProperty(e, "useDaumPostcodePopup", { enumerable: !0, get: function() {
|
|
4413
|
+
return r.default;
|
|
4414
|
+
} }), Object.defineProperty(e, "loadPostcode", { enumerable: !0, get: function() {
|
|
4415
|
+
return n.default;
|
|
4416
|
+
} }), e.default = void 0;
|
|
4417
|
+
var t = o(Mr), r = o(Fr), n = o(mt);
|
|
4418
|
+
function o(a) {
|
|
4419
|
+
return a && a.__esModule ? a : { default: a };
|
|
4420
|
+
}
|
|
4421
|
+
var l = t.default;
|
|
4422
|
+
e.default = l;
|
|
4423
|
+
})(Dr);
|
|
4424
|
+
const Vi = ({ label: e, value: t, onFrontChange: r, onBackChange: n, onPostalCodeChange: o, disabled: l }) => {
|
|
4425
|
+
const [a, s] = Re(!1), u = (p) => {
|
|
4426
|
+
let O = p.address, C = "";
|
|
4427
|
+
p.addressType === "R" && (p.bname !== "" && (C += p.bname), p.buildingName !== "" && (C += C !== "" ? `, ${p.buildingName}` : p.buildingName), O += C !== "" ? ` (${C})` : ""), r(O), o && o(p.zonecode), s(!1);
|
|
4428
|
+
}, y = () => {
|
|
4429
|
+
s(!0);
|
|
4430
|
+
}, c = () => t.front ? t.front : /* @__PURE__ */ P.jsx("p", { className: "text-[#C5C8CD]", children: "주소를 입력해주세요." });
|
|
4431
|
+
return /* @__PURE__ */ P.jsxs(P.Fragment, { children: [
|
|
4432
|
+
/* @__PURE__ */ P.jsx(Wi, { isOpen: a, setIsOpen: s, handleComplete: u }),
|
|
4433
|
+
/* @__PURE__ */ P.jsxs("div", { className: "text-deepGray", children: [
|
|
4434
|
+
/* @__PURE__ */ P.jsx("label", { htmlFor: e, className: "text-lightBlack text-sm font-bold", children: e }),
|
|
4435
|
+
/* @__PURE__ */ P.jsxs("div", { className: "flex flex-col relative", children: [
|
|
4436
|
+
/* @__PURE__ */ P.jsx(
|
|
4437
|
+
"div",
|
|
4438
|
+
{
|
|
4439
|
+
className: `whitespace-nowrap overflow-hidden w-full text-base rounded-xl p-4 mt-4 h-[60px] bg-[#F8F8F9] placeholder:text-[#C5C8CD] focus:outline-none ${l && "opacity-50"}`,
|
|
4440
|
+
onClick: y,
|
|
4441
|
+
children: c()
|
|
4442
|
+
}
|
|
4443
|
+
),
|
|
4444
|
+
/* @__PURE__ */ P.jsx(
|
|
4445
|
+
"input",
|
|
4446
|
+
{
|
|
4447
|
+
disabled: !t.front || l,
|
|
4448
|
+
value: t.back,
|
|
4449
|
+
type: "text",
|
|
4450
|
+
name: e,
|
|
4451
|
+
id: e,
|
|
4452
|
+
placeholder: "상세 주소를 입력해주세요.",
|
|
4453
|
+
className: "w-full text-base rounded-xl p-4 mt-4 h-[60px] bg-[#F8F8F9] placeholder:text-[#C5C8CD] disabled:opacity-50 focus:outline-none",
|
|
4454
|
+
autoComplete: "off",
|
|
4455
|
+
onChange: (p) => n(p.target.value)
|
|
4456
|
+
}
|
|
4457
|
+
)
|
|
4458
|
+
] })
|
|
4459
|
+
] })
|
|
4460
|
+
] });
|
|
4461
|
+
}, Wi = (e) => {
|
|
4462
|
+
const { isOpen: t, setIsOpen: r, handleComplete: n } = e;
|
|
4463
|
+
return /* @__PURE__ */ P.jsxs(we, { open: t, onClose: () => r(!1), className: "relateive z-50", children: [
|
|
4464
|
+
/* @__PURE__ */ P.jsx("div", { className: "fixed inset-0 bg-black/40", "aria-hidden": "true" }),
|
|
4465
|
+
/* @__PURE__ */ P.jsx("div", { className: "fixed inset-0 flex w-screen items-center justify-center", children: /* @__PURE__ */ P.jsx(we.Panel, { children: /* @__PURE__ */ P.jsxs("div", { children: [
|
|
4466
|
+
/* @__PURE__ */ P.jsx("div", { className: "flex flex-row-reverse w-[90vw] h-[36px] bg-[#F0F1F2] items-center", children: /* @__PURE__ */ P.jsx(gr, { size: 20, className: "mr-2", onClick: () => r(!1) }) }),
|
|
4467
|
+
/* @__PURE__ */ P.jsx(
|
|
4468
|
+
Dr.DaumPostcodeEmbed,
|
|
4469
|
+
{
|
|
4470
|
+
onComplete: n,
|
|
4471
|
+
style: { width: "90vw", height: "65vh", minHeight: "450px", borderRadius: "100px" }
|
|
4472
|
+
}
|
|
4473
|
+
)
|
|
4474
|
+
] }) }) })
|
|
4475
|
+
] });
|
|
4476
|
+
}, Yi = (e) => {
|
|
4477
|
+
const { isOpen: t, setIsOpen: r } = e;
|
|
4478
|
+
return /* @__PURE__ */ P.jsxs(we, { open: t, onClose: () => r(!1), className: "relative z-50", children: [
|
|
4479
|
+
/* @__PURE__ */ P.jsx("div", { className: "fixed inset-0 bg-black/40", "aria-hidden": "true" }),
|
|
4480
|
+
/* @__PURE__ */ P.jsx("div", { className: "fixed inset-0 flex w-screen items-center justify-center p-4", children: /* @__PURE__ */ P.jsxs(we.Panel, { className: "flex flex-col gap-[16px] w-[260px] p-[20px] bg-white rounded-[16px]", children: [
|
|
4481
|
+
/* @__PURE__ */ P.jsxs("div", { className: "flex flex-col gap-[8px]", children: [
|
|
4482
|
+
/* @__PURE__ */ P.jsx(we.Title, { className: "text-[18px] leading-[26px] text-[#2C2F34] font-bold whitespace-pre-wrap", children: e.title }),
|
|
4483
|
+
e.description && e.description !== "" && /* @__PURE__ */ P.jsx(we.Description, { className: "text-[16px] leading-[24px] text-[#585E67] break-all", children: e.description })
|
|
4484
|
+
] }),
|
|
4485
|
+
/* @__PURE__ */ P.jsxs("div", { className: "flex flex-col gap-[4px]", children: [
|
|
4486
|
+
/* @__PURE__ */ P.jsx(
|
|
4487
|
+
"button",
|
|
4488
|
+
{
|
|
4489
|
+
className: "w-full px-[12px] py-[14px] bg-[#FF592C] rounded-[12px] text-[14px] leading-[22px] text-white font-bold",
|
|
4490
|
+
onClick: e.confirm.onClick,
|
|
4491
|
+
children: e.confirm.text
|
|
4492
|
+
}
|
|
4493
|
+
),
|
|
4494
|
+
e.cancel && /* @__PURE__ */ P.jsx(
|
|
4495
|
+
"button",
|
|
4496
|
+
{
|
|
4497
|
+
onClick: () => r(!1),
|
|
4498
|
+
className: "w-full px-[12px] py-[14px] bg-[#F0F1F2] rounded-[12px] text-[14px] leading-[22px] text-[#585E67] font-bold",
|
|
4499
|
+
children: e.cancel.text
|
|
4500
|
+
}
|
|
4501
|
+
)
|
|
4502
|
+
] })
|
|
4503
|
+
] }) })
|
|
4504
|
+
] });
|
|
4505
|
+
};
|
|
2984
4506
|
export {
|
|
2985
|
-
|
|
4507
|
+
Gi as Checkbox,
|
|
4508
|
+
Kn as CtaButton,
|
|
4509
|
+
Vi as LabeledAddressInput,
|
|
4510
|
+
Yi as Modal
|
|
2986
4511
|
};
|
|
2987
4512
|
//# sourceMappingURL=index.es.js.map
|