componenteszw-package 1.0.7 → 1.0.9
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.
|
@@ -5,472 +5,177 @@ var i = (e, t) => () => (t || e((t = { exports: {} }).exports, t), t.exports), a
|
|
|
5
5
|
if (typeof require < "u") return require.apply(this, arguments);
|
|
6
6
|
throw Error("Calling `require` for \"" + e + "\" in an environment that doesn't expose the `require` function. See https://rolldown.rs/in-depth/bundling-cjs#require-external-modules for more details.");
|
|
7
7
|
}), o = /* @__PURE__ */ i(((e) => {
|
|
8
|
-
var t =
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
var a, c = {}, l = null, u = null;
|
|
16
|
-
for (a in r !== void 0 && (l = "" + r), t.key !== void 0 && (l = "" + t.key), t.ref !== void 0 && (u = t.ref), t) i.call(t, a) && !s.hasOwnProperty(a) && (c[a] = t[a]);
|
|
17
|
-
if (e && e.defaultProps) for (a in t = e.defaultProps, t) c[a] === void 0 && (c[a] = t[a]);
|
|
18
|
-
return {
|
|
19
|
-
$$typeof: n,
|
|
8
|
+
var t = Symbol.for("react.transitional.element"), n = Symbol.for("react.fragment");
|
|
9
|
+
function r(e, n, r) {
|
|
10
|
+
var i = null;
|
|
11
|
+
if (r !== void 0 && (i = "" + r), n.key !== void 0 && (i = "" + n.key), "key" in n) for (var a in r = {}, n) a !== "key" && (r[a] = n[a]);
|
|
12
|
+
else r = n;
|
|
13
|
+
return n = r.ref, {
|
|
14
|
+
$$typeof: t,
|
|
20
15
|
type: e,
|
|
21
|
-
key:
|
|
22
|
-
ref:
|
|
23
|
-
props:
|
|
24
|
-
_owner: o.current
|
|
16
|
+
key: i,
|
|
17
|
+
ref: n === void 0 ? null : n,
|
|
18
|
+
props: r
|
|
25
19
|
};
|
|
26
20
|
}
|
|
27
|
-
e.Fragment =
|
|
21
|
+
e.Fragment = n, e.jsx = r, e.jsxs = r;
|
|
28
22
|
})), s = /* @__PURE__ */ i(((e) => {
|
|
29
23
|
process.env.NODE_ENV !== "production" && (function() {
|
|
30
|
-
|
|
31
|
-
function v(e) {
|
|
32
|
-
if (typeof e != "object" || !e) return null;
|
|
33
|
-
var t = g && e[g] || e[_];
|
|
34
|
-
return typeof t == "function" ? t : null;
|
|
35
|
-
}
|
|
36
|
-
var y = t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
37
|
-
function b(e) {
|
|
38
|
-
ee("error", e, [...arguments].slice(1));
|
|
39
|
-
}
|
|
40
|
-
function ee(e, t, n) {
|
|
41
|
-
var r = y.ReactDebugCurrentFrame.getStackAddendum();
|
|
42
|
-
r !== "" && (t += "%s", n = n.concat([r]));
|
|
43
|
-
var i = n.map(function(e) {
|
|
44
|
-
return String(e);
|
|
45
|
-
});
|
|
46
|
-
i.unshift("Warning: " + t), Function.prototype.apply.call(console[e], console, i);
|
|
47
|
-
}
|
|
48
|
-
var te = !1, ne = !1, re = !1, x = !1, S = !1, C = Symbol.for("react.module.reference");
|
|
49
|
-
function w(e) {
|
|
50
|
-
return !!(typeof e == "string" || typeof e == "function" || e === i || e === s || S || e === o || e === d || e === f || x || e === h || te || ne || re || typeof e == "object" && e && (e.$$typeof === m || e.$$typeof === p || e.$$typeof === c || e.$$typeof === l || e.$$typeof === u || e.$$typeof === C || e.getModuleId !== void 0));
|
|
51
|
-
}
|
|
52
|
-
function T(e, t, n) {
|
|
53
|
-
var r = e.displayName;
|
|
54
|
-
if (r) return r;
|
|
55
|
-
var i = t.displayName || t.name || "";
|
|
56
|
-
return i === "" ? n : n + "(" + i + ")";
|
|
57
|
-
}
|
|
58
|
-
function E(e) {
|
|
59
|
-
return e.displayName || "Context";
|
|
60
|
-
}
|
|
61
|
-
function D(e) {
|
|
24
|
+
function t(e) {
|
|
62
25
|
if (e == null) return null;
|
|
63
|
-
if (typeof e
|
|
26
|
+
if (typeof e == "function") return e.$$typeof === k ? null : e.displayName || e.name || null;
|
|
64
27
|
if (typeof e == "string") return e;
|
|
65
28
|
switch (e) {
|
|
66
|
-
case
|
|
67
|
-
case
|
|
68
|
-
case
|
|
69
|
-
case
|
|
70
|
-
case
|
|
71
|
-
case
|
|
29
|
+
case v: return "Fragment";
|
|
30
|
+
case b: return "Profiler";
|
|
31
|
+
case y: return "StrictMode";
|
|
32
|
+
case w: return "Suspense";
|
|
33
|
+
case T: return "SuspenseList";
|
|
34
|
+
case O: return "Activity";
|
|
72
35
|
}
|
|
73
|
-
if (typeof e == "object") switch (e.$$typeof) {
|
|
74
|
-
case
|
|
75
|
-
case
|
|
76
|
-
case
|
|
77
|
-
case
|
|
78
|
-
var
|
|
79
|
-
return
|
|
80
|
-
case
|
|
81
|
-
|
|
36
|
+
if (typeof e == "object") switch (typeof e.tag == "number" && console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), e.$$typeof) {
|
|
37
|
+
case _: return "Portal";
|
|
38
|
+
case S: return e.displayName || "Context";
|
|
39
|
+
case x: return (e._context.displayName || "Context") + ".Consumer";
|
|
40
|
+
case C:
|
|
41
|
+
var n = e.render;
|
|
42
|
+
return e = e.displayName, e ||= (e = n.displayName || n.name || "", e === "" ? "ForwardRef" : "ForwardRef(" + e + ")"), e;
|
|
43
|
+
case E: return n = e.displayName || null, n === null ? t(e.type) || "Memo" : n;
|
|
44
|
+
case D:
|
|
45
|
+
n = e._payload, e = e._init;
|
|
82
46
|
try {
|
|
83
|
-
return
|
|
84
|
-
} catch {
|
|
85
|
-
return null;
|
|
86
|
-
}
|
|
47
|
+
return t(e(n));
|
|
48
|
+
} catch {}
|
|
87
49
|
}
|
|
88
50
|
return null;
|
|
89
51
|
}
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
se.__reactDisabledLog = !0;
|
|
93
|
-
function ce() {
|
|
94
|
-
if (k === 0) {
|
|
95
|
-
A = console.log, j = console.info, M = console.warn, N = console.error, ie = console.group, ae = console.groupCollapsed, oe = console.groupEnd;
|
|
96
|
-
var e = {
|
|
97
|
-
configurable: !0,
|
|
98
|
-
enumerable: !0,
|
|
99
|
-
value: se,
|
|
100
|
-
writable: !0
|
|
101
|
-
};
|
|
102
|
-
Object.defineProperties(console, {
|
|
103
|
-
info: e,
|
|
104
|
-
log: e,
|
|
105
|
-
warn: e,
|
|
106
|
-
error: e,
|
|
107
|
-
group: e,
|
|
108
|
-
groupCollapsed: e,
|
|
109
|
-
groupEnd: e
|
|
110
|
-
});
|
|
111
|
-
}
|
|
112
|
-
k++;
|
|
113
|
-
}
|
|
114
|
-
function le() {
|
|
115
|
-
if (k--, k === 0) {
|
|
116
|
-
var e = {
|
|
117
|
-
configurable: !0,
|
|
118
|
-
enumerable: !0,
|
|
119
|
-
writable: !0
|
|
120
|
-
};
|
|
121
|
-
Object.defineProperties(console, {
|
|
122
|
-
log: O({}, e, { value: A }),
|
|
123
|
-
info: O({}, e, { value: j }),
|
|
124
|
-
warn: O({}, e, { value: M }),
|
|
125
|
-
error: O({}, e, { value: N }),
|
|
126
|
-
group: O({}, e, { value: ie }),
|
|
127
|
-
groupCollapsed: O({}, e, { value: ae }),
|
|
128
|
-
groupEnd: O({}, e, { value: oe })
|
|
129
|
-
});
|
|
130
|
-
}
|
|
131
|
-
k < 0 && b("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
|
|
132
|
-
}
|
|
133
|
-
var P = y.ReactCurrentDispatcher, F;
|
|
134
|
-
function I(e, t, n) {
|
|
135
|
-
if (F === void 0) try {
|
|
136
|
-
throw Error();
|
|
137
|
-
} catch (e) {
|
|
138
|
-
var r = e.stack.trim().match(/\n( *(at )?)/);
|
|
139
|
-
F = r && r[1] || "";
|
|
140
|
-
}
|
|
141
|
-
return "\n" + F + e;
|
|
52
|
+
function n(e) {
|
|
53
|
+
return "" + e;
|
|
142
54
|
}
|
|
143
|
-
|
|
144
|
-
function ue(e, t) {
|
|
145
|
-
if (!e || L) return "";
|
|
146
|
-
var n = R.get(e);
|
|
147
|
-
if (n !== void 0) return n;
|
|
148
|
-
var r;
|
|
149
|
-
L = !0;
|
|
150
|
-
var i = Error.prepareStackTrace;
|
|
151
|
-
Error.prepareStackTrace = void 0;
|
|
152
|
-
var a = P.current;
|
|
153
|
-
P.current = null, ce();
|
|
55
|
+
function r(e) {
|
|
154
56
|
try {
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
if (Object.defineProperty(o.prototype, "props", { set: function() {
|
|
160
|
-
throw Error();
|
|
161
|
-
} }), typeof Reflect == "object" && Reflect.construct) {
|
|
162
|
-
try {
|
|
163
|
-
Reflect.construct(o, []);
|
|
164
|
-
} catch (e) {
|
|
165
|
-
r = e;
|
|
166
|
-
}
|
|
167
|
-
Reflect.construct(e, [], o);
|
|
168
|
-
} else {
|
|
169
|
-
try {
|
|
170
|
-
o.call();
|
|
171
|
-
} catch (e) {
|
|
172
|
-
r = e;
|
|
173
|
-
}
|
|
174
|
-
e.call(o.prototype);
|
|
175
|
-
}
|
|
176
|
-
} else {
|
|
177
|
-
try {
|
|
178
|
-
throw Error();
|
|
179
|
-
} catch (e) {
|
|
180
|
-
r = e;
|
|
181
|
-
}
|
|
182
|
-
e();
|
|
183
|
-
}
|
|
184
|
-
} catch (t) {
|
|
185
|
-
if (t && r && typeof t.stack == "string") {
|
|
186
|
-
for (var s = t.stack.split("\n"), c = r.stack.split("\n"), l = s.length - 1, u = c.length - 1; l >= 1 && u >= 0 && s[l] !== c[u];) u--;
|
|
187
|
-
for (; l >= 1 && u >= 0; l--, u--) if (s[l] !== c[u]) {
|
|
188
|
-
if (l !== 1 || u !== 1) do
|
|
189
|
-
if (l--, u--, u < 0 || s[l] !== c[u]) {
|
|
190
|
-
var d = "\n" + s[l].replace(" at new ", " at ");
|
|
191
|
-
return e.displayName && d.includes("<anonymous>") && (d = d.replace("<anonymous>", e.displayName)), typeof e == "function" && R.set(e, d), d;
|
|
192
|
-
}
|
|
193
|
-
while (l >= 1 && u >= 0);
|
|
194
|
-
break;
|
|
195
|
-
}
|
|
196
|
-
}
|
|
197
|
-
} finally {
|
|
198
|
-
L = !1, P.current = a, le(), Error.prepareStackTrace = i;
|
|
199
|
-
}
|
|
200
|
-
var f = e ? e.displayName || e.name : "", p = f ? I(f) : "";
|
|
201
|
-
return typeof e == "function" && R.set(e, p), p;
|
|
202
|
-
}
|
|
203
|
-
function de(e, t, n) {
|
|
204
|
-
return ue(e, !1);
|
|
205
|
-
}
|
|
206
|
-
function fe(e) {
|
|
207
|
-
var t = e.prototype;
|
|
208
|
-
return !!(t && t.isReactComponent);
|
|
209
|
-
}
|
|
210
|
-
function z(e, t, n) {
|
|
211
|
-
if (e == null) return "";
|
|
212
|
-
if (typeof e == "function") return ue(e, fe(e));
|
|
213
|
-
if (typeof e == "string") return I(e);
|
|
214
|
-
switch (e) {
|
|
215
|
-
case d: return I("Suspense");
|
|
216
|
-
case f: return I("SuspenseList");
|
|
217
|
-
}
|
|
218
|
-
if (typeof e == "object") switch (e.$$typeof) {
|
|
219
|
-
case u: return de(e.render);
|
|
220
|
-
case p: return z(e.type, t, n);
|
|
221
|
-
case m:
|
|
222
|
-
var r = e, i = r._payload, a = r._init;
|
|
223
|
-
try {
|
|
224
|
-
return z(a(i), t, n);
|
|
225
|
-
} catch {}
|
|
57
|
+
n(e);
|
|
58
|
+
var t = !1;
|
|
59
|
+
} catch {
|
|
60
|
+
t = !0;
|
|
226
61
|
}
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
if (e) {
|
|
232
|
-
var t = e._owner, n = z(e.type, e._source, t ? t.type : null);
|
|
233
|
-
me.setExtraStackFrame(n);
|
|
234
|
-
} else me.setExtraStackFrame(null);
|
|
235
|
-
}
|
|
236
|
-
function H(e, t, n, r, i) {
|
|
237
|
-
var a = Function.call.bind(B);
|
|
238
|
-
for (var o in e) if (a(e, o)) {
|
|
239
|
-
var s = void 0;
|
|
240
|
-
try {
|
|
241
|
-
if (typeof e[o] != "function") {
|
|
242
|
-
var c = Error((r || "React class") + ": " + n + " type `" + o + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof e[o] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
|
|
243
|
-
throw c.name = "Invariant Violation", c;
|
|
244
|
-
}
|
|
245
|
-
s = e[o](t, o, r, n, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
|
246
|
-
} catch (e) {
|
|
247
|
-
s = e;
|
|
248
|
-
}
|
|
249
|
-
s && !(s instanceof Error) && (V(i), b("%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).", r || "React class", n, o, typeof s), V(null)), s instanceof Error && !(s.message in pe) && (pe[s.message] = !0, V(i), b("Failed %s type: %s", n, s.message), V(null));
|
|
62
|
+
if (t) {
|
|
63
|
+
t = console;
|
|
64
|
+
var r = t.error, i = typeof Symbol == "function" && Symbol.toStringTag && e[Symbol.toStringTag] || e.constructor.name || "Object";
|
|
65
|
+
return r.call(t, "The provided key is an unsupported type %s. This value must be coerced to a string before using it here.", i), n(e);
|
|
250
66
|
}
|
|
251
67
|
}
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
}
|
|
256
|
-
function G(e) {
|
|
257
|
-
return typeof Symbol == "function" && Symbol.toStringTag && e[Symbol.toStringTag] || e.constructor.name || "Object";
|
|
258
|
-
}
|
|
259
|
-
function he(e) {
|
|
68
|
+
function i(e) {
|
|
69
|
+
if (e === v) return "<>";
|
|
70
|
+
if (typeof e == "object" && e && e.$$typeof === D) return "<...>";
|
|
260
71
|
try {
|
|
261
|
-
|
|
72
|
+
var n = t(e);
|
|
73
|
+
return n ? "<" + n + ">" : "<...>";
|
|
262
74
|
} catch {
|
|
263
|
-
return
|
|
75
|
+
return "<...>";
|
|
264
76
|
}
|
|
265
77
|
}
|
|
266
|
-
function
|
|
267
|
-
|
|
78
|
+
function o() {
|
|
79
|
+
var e = A.A;
|
|
80
|
+
return e === null ? null : e.getOwner();
|
|
268
81
|
}
|
|
269
|
-
function
|
|
270
|
-
|
|
82
|
+
function s() {
|
|
83
|
+
return Error("react-stack-top-frame");
|
|
271
84
|
}
|
|
272
|
-
|
|
273
|
-
key
|
|
274
|
-
ref: !0,
|
|
275
|
-
__self: !0,
|
|
276
|
-
__source: !0
|
|
277
|
-
}, _e, ve, ye = {};
|
|
278
|
-
function be(e) {
|
|
279
|
-
if (B.call(e, "ref")) {
|
|
280
|
-
var t = Object.getOwnPropertyDescriptor(e, "ref").get;
|
|
281
|
-
if (t && t.isReactWarning) return !1;
|
|
282
|
-
}
|
|
283
|
-
return e.ref !== void 0;
|
|
284
|
-
}
|
|
285
|
-
function Y(e) {
|
|
286
|
-
if (B.call(e, "key")) {
|
|
85
|
+
function c(e) {
|
|
86
|
+
if (j.call(e, "key")) {
|
|
287
87
|
var t = Object.getOwnPropertyDescriptor(e, "key").get;
|
|
288
88
|
if (t && t.isReactWarning) return !1;
|
|
289
89
|
}
|
|
290
90
|
return e.key !== void 0;
|
|
291
91
|
}
|
|
292
|
-
function
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
ye[n] || (b("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", D(J.current.type), e.ref), ye[n] = !0);
|
|
92
|
+
function l(e, t) {
|
|
93
|
+
function n() {
|
|
94
|
+
P || (P = !0, console.error("%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://react.dev/link/special-props)", t));
|
|
296
95
|
}
|
|
297
|
-
}
|
|
298
|
-
function xe(e, t) {
|
|
299
|
-
var n = function() {
|
|
300
|
-
_e || (_e = !0, b("%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)", t));
|
|
301
|
-
};
|
|
302
96
|
n.isReactWarning = !0, Object.defineProperty(e, "key", {
|
|
303
97
|
get: n,
|
|
304
98
|
configurable: !0
|
|
305
99
|
});
|
|
306
100
|
}
|
|
307
|
-
function
|
|
308
|
-
var
|
|
309
|
-
|
|
310
|
-
};
|
|
311
|
-
n.isReactWarning = !0, Object.defineProperty(e, "ref", {
|
|
312
|
-
get: n,
|
|
313
|
-
configurable: !0
|
|
314
|
-
});
|
|
101
|
+
function u() {
|
|
102
|
+
var e = t(this.type);
|
|
103
|
+
return F[e] || (F[e] = !0, console.error("Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release.")), e = this.props.ref, e === void 0 ? null : e;
|
|
315
104
|
}
|
|
316
|
-
|
|
317
|
-
var
|
|
318
|
-
|
|
105
|
+
function d(e, t, n, r, i, a) {
|
|
106
|
+
var o = n.ref;
|
|
107
|
+
return e = {
|
|
108
|
+
$$typeof: g,
|
|
319
109
|
type: e,
|
|
320
110
|
key: t,
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
111
|
+
props: n,
|
|
112
|
+
_owner: r
|
|
113
|
+
}, (o === void 0 ? null : o) === null ? Object.defineProperty(e, "ref", {
|
|
114
|
+
enumerable: !1,
|
|
115
|
+
value: null
|
|
116
|
+
}) : Object.defineProperty(e, "ref", {
|
|
117
|
+
enumerable: !1,
|
|
118
|
+
get: u
|
|
119
|
+
}), e._store = {}, Object.defineProperty(e._store, "validated", {
|
|
120
|
+
configurable: !1,
|
|
121
|
+
enumerable: !1,
|
|
122
|
+
writable: !0,
|
|
123
|
+
value: 0
|
|
124
|
+
}), Object.defineProperty(e, "_debugInfo", {
|
|
326
125
|
configurable: !1,
|
|
327
126
|
enumerable: !1,
|
|
328
127
|
writable: !0,
|
|
329
|
-
value:
|
|
330
|
-
}), Object.defineProperty(
|
|
128
|
+
value: null
|
|
129
|
+
}), Object.defineProperty(e, "_debugStack", {
|
|
331
130
|
configurable: !1,
|
|
332
131
|
enumerable: !1,
|
|
333
|
-
writable: !
|
|
132
|
+
writable: !0,
|
|
334
133
|
value: i
|
|
335
|
-
}), Object.defineProperty(
|
|
134
|
+
}), Object.defineProperty(e, "_debugTask", {
|
|
336
135
|
configurable: !1,
|
|
337
136
|
enumerable: !1,
|
|
338
|
-
writable: !
|
|
137
|
+
writable: !0,
|
|
339
138
|
value: a
|
|
340
|
-
}), Object.freeze && (Object.freeze(
|
|
341
|
-
};
|
|
342
|
-
function we(e, t, n, r, i) {
|
|
343
|
-
var a, o = {}, s = null, c = null;
|
|
344
|
-
for (a in n !== void 0 && (q(n), s = "" + n), Y(t) && (q(t.key), s = "" + t.key), be(t) && (c = t.ref, X(t, i)), t) B.call(t, a) && !ge.hasOwnProperty(a) && (o[a] = t[a]);
|
|
345
|
-
if (e && e.defaultProps) {
|
|
346
|
-
var l = e.defaultProps;
|
|
347
|
-
for (a in l) o[a] === void 0 && (o[a] = l[a]);
|
|
348
|
-
}
|
|
349
|
-
if (s || c) {
|
|
350
|
-
var u = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
|
|
351
|
-
s && xe(o, u), c && Se(o, u);
|
|
352
|
-
}
|
|
353
|
-
return Ce(e, s, c, i, r, J.current, o);
|
|
354
|
-
}
|
|
355
|
-
var Te = y.ReactCurrentOwner, Z = y.ReactDebugCurrentFrame;
|
|
356
|
-
function Q(e) {
|
|
357
|
-
if (e) {
|
|
358
|
-
var t = e._owner, n = z(e.type, e._source, t ? t.type : null);
|
|
359
|
-
Z.setExtraStackFrame(n);
|
|
360
|
-
} else Z.setExtraStackFrame(null);
|
|
361
|
-
}
|
|
362
|
-
var Ee = !1;
|
|
363
|
-
function $(e) {
|
|
364
|
-
return typeof e == "object" && !!e && e.$$typeof === n;
|
|
365
|
-
}
|
|
366
|
-
function De() {
|
|
367
|
-
if (Te.current) {
|
|
368
|
-
var e = D(Te.current.type);
|
|
369
|
-
if (e) return "\n\nCheck the render method of `" + e + "`.";
|
|
370
|
-
}
|
|
371
|
-
return "";
|
|
372
|
-
}
|
|
373
|
-
function Oe(e) {
|
|
374
|
-
if (e !== void 0) {
|
|
375
|
-
var t = e.fileName.replace(/^.*[\\\/]/, ""), n = e.lineNumber;
|
|
376
|
-
return "\n\nCheck your code at " + t + ":" + n + ".";
|
|
377
|
-
}
|
|
378
|
-
return "";
|
|
379
|
-
}
|
|
380
|
-
var ke = {};
|
|
381
|
-
function Ae(e) {
|
|
382
|
-
var t = De();
|
|
383
|
-
if (!t) {
|
|
384
|
-
var n = typeof e == "string" ? e : e.displayName || e.name;
|
|
385
|
-
n && (t = "\n\nCheck the top-level render call using <" + n + ">.");
|
|
386
|
-
}
|
|
387
|
-
return t;
|
|
388
|
-
}
|
|
389
|
-
function je(e, t) {
|
|
390
|
-
if (!(!e._store || e._store.validated || e.key != null)) {
|
|
391
|
-
e._store.validated = !0;
|
|
392
|
-
var n = Ae(t);
|
|
393
|
-
if (!ke[n]) {
|
|
394
|
-
ke[n] = !0;
|
|
395
|
-
var r = "";
|
|
396
|
-
e && e._owner && e._owner !== Te.current && (r = " It was passed a child from " + D(e._owner.type) + "."), Q(e), b("Each child in a list should have a unique \"key\" prop.%s%s See https://reactjs.org/link/warning-keys for more information.", n, r), Q(null);
|
|
397
|
-
}
|
|
398
|
-
}
|
|
139
|
+
}), Object.freeze && (Object.freeze(e.props), Object.freeze(e)), e;
|
|
399
140
|
}
|
|
400
|
-
function
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
}
|
|
411
|
-
}
|
|
412
|
-
}
|
|
413
|
-
function Ne(e) {
|
|
414
|
-
var t = e.type;
|
|
415
|
-
if (!(t == null || typeof t == "string")) {
|
|
416
|
-
var n;
|
|
417
|
-
if (typeof t == "function") n = t.propTypes;
|
|
418
|
-
else if (typeof t == "object" && (t.$$typeof === u || t.$$typeof === p)) n = t.propTypes;
|
|
419
|
-
else return;
|
|
420
|
-
if (n) {
|
|
421
|
-
var r = D(t);
|
|
422
|
-
H(n, e.props, "prop", r, e);
|
|
423
|
-
} else t.PropTypes !== void 0 && !Ee && (Ee = !0, b("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", D(t) || "Unknown"));
|
|
424
|
-
typeof t.getDefaultProps == "function" && !t.getDefaultProps.isReactClassApproved && b("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
|
|
425
|
-
}
|
|
426
|
-
}
|
|
427
|
-
function Pe(e) {
|
|
428
|
-
for (var t = Object.keys(e.props), n = 0; n < t.length; n++) {
|
|
429
|
-
var r = t[n];
|
|
430
|
-
if (r !== "children" && r !== "key") {
|
|
431
|
-
Q(e), b("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", r), Q(null);
|
|
432
|
-
break;
|
|
433
|
-
}
|
|
434
|
-
}
|
|
435
|
-
e.ref !== null && (Q(e), b("Invalid attribute `ref` supplied to `React.Fragment`."), Q(null));
|
|
436
|
-
}
|
|
437
|
-
var Fe = {};
|
|
438
|
-
function Ie(e, t, r, a, o, s) {
|
|
439
|
-
var c = w(e);
|
|
440
|
-
if (!c) {
|
|
441
|
-
var l = "";
|
|
442
|
-
(e === void 0 || typeof e == "object" && e && Object.keys(e).length === 0) && (l += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
|
|
443
|
-
var u = Oe(o);
|
|
444
|
-
u ? l += u : l += De();
|
|
445
|
-
var d;
|
|
446
|
-
e === null ? d = "null" : W(e) ? d = "array" : e !== void 0 && e.$$typeof === n ? (d = "<" + (D(e.type) || "Unknown") + " />", l = " Did you accidentally export a JSX literal instead of a component?") : d = typeof e, b("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", d, l);
|
|
447
|
-
}
|
|
448
|
-
var f = we(e, t, r, o, s);
|
|
449
|
-
if (f == null) return f;
|
|
450
|
-
if (c) {
|
|
451
|
-
var p = t.children;
|
|
452
|
-
if (p !== void 0) if (a) if (W(p)) {
|
|
453
|
-
for (var m = 0; m < p.length; m++) Me(p[m], e);
|
|
454
|
-
Object.freeze && Object.freeze(p);
|
|
455
|
-
} else b("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
|
|
456
|
-
else Me(p, e);
|
|
457
|
-
}
|
|
458
|
-
if (B.call(t, "key")) {
|
|
459
|
-
var h = D(e), g = Object.keys(t).filter(function(e) {
|
|
141
|
+
function f(e, n, i, a, s, u) {
|
|
142
|
+
var f = n.children;
|
|
143
|
+
if (f !== void 0) if (a) if (M(f)) {
|
|
144
|
+
for (a = 0; a < f.length; a++) p(f[a]);
|
|
145
|
+
Object.freeze && Object.freeze(f);
|
|
146
|
+
} else console.error("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
|
|
147
|
+
else p(f);
|
|
148
|
+
if (j.call(n, "key")) {
|
|
149
|
+
f = t(e);
|
|
150
|
+
var m = Object.keys(n).filter(function(e) {
|
|
460
151
|
return e !== "key";
|
|
461
|
-
})
|
|
462
|
-
|
|
152
|
+
});
|
|
153
|
+
a = 0 < m.length ? "{key: someKey, " + m.join(": ..., ") + ": ...}" : "{key: someKey}", R[f + a] || (m = 0 < m.length ? "{" + m.join(": ..., ") + ": ...}" : "{}", console.error("A props object containing a \"key\" prop is being spread into JSX:\n let props = %s;\n <%s {...props} />\nReact keys must be passed directly to JSX without using spread:\n let props = %s;\n <%s key={someKey} {...props} />", a, f, m, f), R[f + a] = !0);
|
|
463
154
|
}
|
|
464
|
-
|
|
155
|
+
if (f = null, i !== void 0 && (r(i), f = "" + i), c(n) && (r(n.key), f = "" + n.key), "key" in n) for (var h in i = {}, n) h !== "key" && (i[h] = n[h]);
|
|
156
|
+
else i = n;
|
|
157
|
+
return f && l(i, typeof e == "function" ? e.displayName || e.name || "Unknown" : e), d(e, f, i, o(), s, u);
|
|
465
158
|
}
|
|
466
|
-
function
|
|
467
|
-
|
|
159
|
+
function p(e) {
|
|
160
|
+
m(e) ? e._store && (e._store.validated = 1) : typeof e == "object" && e && e.$$typeof === D && (e._payload.status === "fulfilled" ? m(e._payload.value) && e._payload.value._store && (e._payload.value._store.validated = 1) : e._store && (e._store.validated = 1));
|
|
468
161
|
}
|
|
469
|
-
function
|
|
470
|
-
return
|
|
162
|
+
function m(e) {
|
|
163
|
+
return typeof e == "object" && !!e && e.$$typeof === g;
|
|
471
164
|
}
|
|
472
|
-
var
|
|
473
|
-
|
|
165
|
+
var h = a("react"), g = Symbol.for("react.transitional.element"), _ = Symbol.for("react.portal"), v = Symbol.for("react.fragment"), y = Symbol.for("react.strict_mode"), b = Symbol.for("react.profiler"), x = Symbol.for("react.consumer"), S = Symbol.for("react.context"), C = Symbol.for("react.forward_ref"), w = Symbol.for("react.suspense"), T = Symbol.for("react.suspense_list"), E = Symbol.for("react.memo"), D = Symbol.for("react.lazy"), O = Symbol.for("react.activity"), k = Symbol.for("react.client.reference"), A = h.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, j = Object.prototype.hasOwnProperty, M = Array.isArray, N = console.createTask ? console.createTask : function() {
|
|
166
|
+
return null;
|
|
167
|
+
};
|
|
168
|
+
h = { react_stack_bottom_frame: function(e) {
|
|
169
|
+
return e();
|
|
170
|
+
} };
|
|
171
|
+
var P, F = {}, I = h.react_stack_bottom_frame.bind(h, s)(), L = N(i(s)), R = {};
|
|
172
|
+
e.Fragment = v, e.jsx = function(e, t, n) {
|
|
173
|
+
var r = 1e4 > A.recentlyCreatedOwnerStacks++;
|
|
174
|
+
return f(e, t, n, !1, r ? Error("react-stack-top-frame") : I, r ? N(i(e)) : L);
|
|
175
|
+
}, e.jsxs = function(e, t, n) {
|
|
176
|
+
var r = 1e4 > A.recentlyCreatedOwnerStacks++;
|
|
177
|
+
return f(e, t, n, !0, r ? Error("react-stack-top-frame") : I, r ? N(i(e)) : L);
|
|
178
|
+
};
|
|
474
179
|
})();
|
|
475
180
|
})), c = (/* @__PURE__ */ i(((e, t) => {
|
|
476
181
|
process.env.NODE_ENV === "production" ? t.exports = o() : t.exports = s();
|
|
@@ -578,7 +283,7 @@ var i = (e, t) => () => (t || e((t = { exports: {} }).exports, t), t.exports), a
|
|
|
578
283
|
}, b = y("check", [["path", {
|
|
579
284
|
d: "M20 6 9 17l-5-5",
|
|
580
285
|
key: "1gmf2c"
|
|
581
|
-
}]]),
|
|
286
|
+
}]]), x = y("file-text", [
|
|
582
287
|
["path", {
|
|
583
288
|
d: "M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z",
|
|
584
289
|
key: "1rqfz7"
|
|
@@ -599,10 +304,10 @@ var i = (e, t) => () => (t || e((t = { exports: {} }).exports, t), t.exports), a
|
|
|
599
304
|
d: "M16 17H8",
|
|
600
305
|
key: "z1uh3a"
|
|
601
306
|
}]
|
|
602
|
-
]),
|
|
307
|
+
]), S = y("minus", [["path", {
|
|
603
308
|
d: "M5 12h14",
|
|
604
309
|
key: "1ays0h"
|
|
605
|
-
}]]),
|
|
310
|
+
}]]), C = y("upload", [
|
|
606
311
|
["path", {
|
|
607
312
|
d: "M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4",
|
|
608
313
|
key: "ih7n3h"
|
|
@@ -618,7 +323,7 @@ var i = (e, t) => () => (t || e((t = { exports: {} }).exports, t), t.exports), a
|
|
|
618
323
|
y2: "15",
|
|
619
324
|
key: "widbto"
|
|
620
325
|
}]
|
|
621
|
-
]),
|
|
326
|
+
]), w = y("x", [["path", {
|
|
622
327
|
d: "M18 6 6 18",
|
|
623
328
|
key: "1bl5f8"
|
|
624
329
|
}], ["path", {
|
|
@@ -627,63 +332,63 @@ var i = (e, t) => () => (t || e((t = { exports: {} }).exports, t), t.exports), a
|
|
|
627
332
|
}]]);
|
|
628
333
|
//#endregion
|
|
629
334
|
//#region node_modules/clsx/dist/clsx.mjs
|
|
630
|
-
function
|
|
335
|
+
function T(e) {
|
|
631
336
|
var t, n, r = "";
|
|
632
337
|
if (typeof e == "string" || typeof e == "number") r += e;
|
|
633
338
|
else if (typeof e == "object") if (Array.isArray(e)) {
|
|
634
339
|
var i = e.length;
|
|
635
|
-
for (t = 0; t < i; t++) e[t] && (n =
|
|
340
|
+
for (t = 0; t < i; t++) e[t] && (n = T(e[t])) && (r && (r += " "), r += n);
|
|
636
341
|
} else for (n in e) e[n] && (r && (r += " "), r += n);
|
|
637
342
|
return r;
|
|
638
343
|
}
|
|
639
|
-
function
|
|
640
|
-
for (var e, t, n = 0, r = "", i = arguments.length; n < i; n++) (e = arguments[n]) && (t =
|
|
344
|
+
function E() {
|
|
345
|
+
for (var e, t, n = 0, r = "", i = arguments.length; n < i; n++) (e = arguments[n]) && (t = T(e)) && (r && (r += " "), r += t);
|
|
641
346
|
return r;
|
|
642
347
|
}
|
|
643
348
|
//#endregion
|
|
644
349
|
//#region node_modules/tailwind-merge/dist/bundle-mjs.mjs
|
|
645
|
-
var
|
|
646
|
-
let t =
|
|
350
|
+
var D = "-", O = (e) => {
|
|
351
|
+
let t = M(e), { conflictingClassGroups: n, conflictingClassGroupModifiers: r } = e;
|
|
647
352
|
return {
|
|
648
353
|
getClassGroupId: (e) => {
|
|
649
|
-
let n = e.split(
|
|
650
|
-
return n[0] === "" && n.length !== 1 && n.shift(),
|
|
354
|
+
let n = e.split(D);
|
|
355
|
+
return n[0] === "" && n.length !== 1 && n.shift(), k(n, t) || j(e);
|
|
651
356
|
},
|
|
652
357
|
getConflictingClassGroupIds: (e, t) => {
|
|
653
358
|
let i = n[e] || [];
|
|
654
359
|
return t && r[e] ? [...i, ...r[e]] : i;
|
|
655
360
|
}
|
|
656
361
|
};
|
|
657
|
-
},
|
|
362
|
+
}, k = (e, t) => {
|
|
658
363
|
if (e.length === 0) return t.classGroupId;
|
|
659
|
-
let n = e[0], r = t.nextPart.get(n), i = r ?
|
|
364
|
+
let n = e[0], r = t.nextPart.get(n), i = r ? k(e.slice(1), r) : void 0;
|
|
660
365
|
if (i) return i;
|
|
661
366
|
if (t.validators.length === 0) return;
|
|
662
|
-
let a = e.join(
|
|
367
|
+
let a = e.join(D);
|
|
663
368
|
return t.validators.find(({ validator: e }) => e(a))?.classGroupId;
|
|
664
|
-
},
|
|
665
|
-
if (
|
|
666
|
-
let t =
|
|
369
|
+
}, A = /^\[(.+)\]$/, j = (e) => {
|
|
370
|
+
if (A.test(e)) {
|
|
371
|
+
let t = A.exec(e)[1], n = t?.substring(0, t.indexOf(":"));
|
|
667
372
|
if (n) return "arbitrary.." + n;
|
|
668
373
|
}
|
|
669
|
-
},
|
|
374
|
+
}, M = (e) => {
|
|
670
375
|
let { theme: t, prefix: n } = e, r = {
|
|
671
376
|
nextPart: /* @__PURE__ */ new Map(),
|
|
672
377
|
validators: []
|
|
673
378
|
};
|
|
674
|
-
return
|
|
675
|
-
|
|
379
|
+
return I(Object.entries(e.classGroups), n).forEach(([e, n]) => {
|
|
380
|
+
N(n, r, e, t);
|
|
676
381
|
}), r;
|
|
677
|
-
},
|
|
382
|
+
}, N = (e, t, n, r) => {
|
|
678
383
|
e.forEach((e) => {
|
|
679
384
|
if (typeof e == "string") {
|
|
680
|
-
let r = e === "" ? t :
|
|
385
|
+
let r = e === "" ? t : P(t, e);
|
|
681
386
|
r.classGroupId = n;
|
|
682
387
|
return;
|
|
683
388
|
}
|
|
684
389
|
if (typeof e == "function") {
|
|
685
|
-
if (
|
|
686
|
-
|
|
390
|
+
if (F(e)) {
|
|
391
|
+
N(e(r), t, n, r);
|
|
687
392
|
return;
|
|
688
393
|
}
|
|
689
394
|
t.validators.push({
|
|
@@ -693,18 +398,18 @@ var C = "-", w = (e) => {
|
|
|
693
398
|
return;
|
|
694
399
|
}
|
|
695
400
|
Object.entries(e).forEach(([e, i]) => {
|
|
696
|
-
|
|
401
|
+
N(i, P(t, e), n, r);
|
|
697
402
|
});
|
|
698
403
|
});
|
|
699
|
-
},
|
|
404
|
+
}, P = (e, t) => {
|
|
700
405
|
let n = e;
|
|
701
|
-
return t.split(
|
|
406
|
+
return t.split(D).forEach((e) => {
|
|
702
407
|
n.nextPart.has(e) || n.nextPart.set(e, {
|
|
703
408
|
nextPart: /* @__PURE__ */ new Map(),
|
|
704
409
|
validators: []
|
|
705
410
|
}), n = n.nextPart.get(e);
|
|
706
411
|
}), n;
|
|
707
|
-
},
|
|
412
|
+
}, F = (e) => e.isThemeGetter, I = (e, t) => t ? e.map(([e, n]) => [e, n.map((e) => typeof e == "string" ? t + e : typeof e == "object" ? Object.fromEntries(Object.entries(e).map(([e, n]) => [t + e, n])) : e)]) : e, L = (e) => {
|
|
708
413
|
if (e < 1) return {
|
|
709
414
|
get: () => void 0,
|
|
710
415
|
set: () => {}
|
|
@@ -722,7 +427,7 @@ var C = "-", w = (e) => {
|
|
|
722
427
|
n.has(e) ? n.set(e, t) : i(e, t);
|
|
723
428
|
}
|
|
724
429
|
};
|
|
725
|
-
},
|
|
430
|
+
}, R = "!", ee = (e) => {
|
|
726
431
|
let { separator: t, experimentalParseClassName: n } = e, r = t.length === 1, i = t[0], a = t.length, o = (e) => {
|
|
727
432
|
let n = [], o = 0, s = 0, c;
|
|
728
433
|
for (let l = 0; l < e.length; l++) {
|
|
@@ -739,7 +444,7 @@ var C = "-", w = (e) => {
|
|
|
739
444
|
}
|
|
740
445
|
u === "[" ? o++ : u === "]" && o--;
|
|
741
446
|
}
|
|
742
|
-
let l = n.length === 0 ? e : e.substring(s), u = l.startsWith(
|
|
447
|
+
let l = n.length === 0 ? e : e.substring(s), u = l.startsWith(R);
|
|
743
448
|
return {
|
|
744
449
|
modifiers: n,
|
|
745
450
|
hasImportantModifier: u,
|
|
@@ -751,18 +456,18 @@ var C = "-", w = (e) => {
|
|
|
751
456
|
className: e,
|
|
752
457
|
parseClassName: o
|
|
753
458
|
}) : o;
|
|
754
|
-
},
|
|
459
|
+
}, te = (e) => {
|
|
755
460
|
if (e.length <= 1) return e;
|
|
756
461
|
let t = [], n = [];
|
|
757
462
|
return e.forEach((e) => {
|
|
758
463
|
e[0] === "[" ? (t.push(...n.sort(), e), n = []) : n.push(e);
|
|
759
464
|
}), t.push(...n.sort()), t;
|
|
760
|
-
},
|
|
761
|
-
cache:
|
|
762
|
-
parseClassName:
|
|
763
|
-
...
|
|
764
|
-
}),
|
|
765
|
-
let { parseClassName: n, getClassGroupId: r, getConflictingClassGroupIds: i } = t, a = [], o = e.trim().split(
|
|
465
|
+
}, ne = (e) => ({
|
|
466
|
+
cache: L(e.cacheSize),
|
|
467
|
+
parseClassName: ee(e),
|
|
468
|
+
...O(e)
|
|
469
|
+
}), re = /\s+/, ie = (e, t) => {
|
|
470
|
+
let { parseClassName: n, getClassGroupId: r, getConflictingClassGroupIds: i } = t, a = [], o = e.trim().split(re), s = "";
|
|
766
471
|
for (let e = o.length - 1; e >= 0; --e) {
|
|
767
472
|
let t = o[e], { modifiers: c, hasImportantModifier: l, baseClassName: u, maybePostfixModifierPosition: d } = n(t), f = !!d, p = r(f ? u.substring(0, d) : u);
|
|
768
473
|
if (!p) {
|
|
@@ -776,7 +481,7 @@ var C = "-", w = (e) => {
|
|
|
776
481
|
}
|
|
777
482
|
f = !1;
|
|
778
483
|
}
|
|
779
|
-
let m =
|
|
484
|
+
let m = te(c).join(":"), h = l ? m + R : m, g = h + p;
|
|
780
485
|
if (a.includes(g)) continue;
|
|
781
486
|
a.push(g);
|
|
782
487
|
let _ = i(p, f);
|
|
@@ -788,70 +493,70 @@ var C = "-", w = (e) => {
|
|
|
788
493
|
}
|
|
789
494
|
return s;
|
|
790
495
|
};
|
|
791
|
-
function
|
|
496
|
+
function ae() {
|
|
792
497
|
let e = 0, t, n, r = "";
|
|
793
|
-
for (; e < arguments.length;) (t = arguments[e++]) && (n =
|
|
498
|
+
for (; e < arguments.length;) (t = arguments[e++]) && (n = z(t)) && (r && (r += " "), r += n);
|
|
794
499
|
return r;
|
|
795
500
|
}
|
|
796
|
-
var
|
|
501
|
+
var z = (e) => {
|
|
797
502
|
if (typeof e == "string") return e;
|
|
798
503
|
let t, n = "";
|
|
799
|
-
for (let r = 0; r < e.length; r++) e[r] && (t =
|
|
504
|
+
for (let r = 0; r < e.length; r++) e[r] && (t = z(e[r])) && (n && (n += " "), n += t);
|
|
800
505
|
return n;
|
|
801
506
|
};
|
|
802
|
-
function
|
|
507
|
+
function oe(e, ...t) {
|
|
803
508
|
let n, r, i, a = o;
|
|
804
509
|
function o(o) {
|
|
805
|
-
return n =
|
|
510
|
+
return n = ne(t.reduce((e, t) => t(e), e())), r = n.cache.get, i = n.cache.set, a = s, s(o);
|
|
806
511
|
}
|
|
807
512
|
function s(e) {
|
|
808
513
|
let t = r(e);
|
|
809
514
|
if (t) return t;
|
|
810
|
-
let a =
|
|
515
|
+
let a = ie(e, n);
|
|
811
516
|
return i(e, a), a;
|
|
812
517
|
}
|
|
813
518
|
return function() {
|
|
814
|
-
return a(
|
|
519
|
+
return a(ae.apply(null, arguments));
|
|
815
520
|
};
|
|
816
521
|
}
|
|
817
|
-
var
|
|
522
|
+
var B = (e) => {
|
|
818
523
|
let t = (t) => t[e] || [];
|
|
819
524
|
return t.isThemeGetter = !0, t;
|
|
820
|
-
},
|
|
525
|
+
}, V = /^\[(?:([a-z-]+):)?(.+)\]$/i, se = /^\d+\/\d+$/, ce = /* @__PURE__ */ new Set([
|
|
821
526
|
"px",
|
|
822
527
|
"full",
|
|
823
528
|
"screen"
|
|
824
|
-
]),
|
|
529
|
+
]), le = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, ue = /\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$/, de = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/, fe = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, pe = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, H = (e) => W(e) || ce.has(e) || se.test(e), U = (e) => Z(e, "length", be), W = (e) => !!e && !Number.isNaN(Number(e)), G = (e) => Z(e, "number", W), K = (e) => !!e && Number.isInteger(Number(e)), q = (e) => e.endsWith("%") && W(e.slice(0, -1)), J = (e) => V.test(e), Y = (e) => le.test(e), me = /* @__PURE__ */ new Set([
|
|
825
530
|
"length",
|
|
826
531
|
"size",
|
|
827
532
|
"percentage"
|
|
828
|
-
]),
|
|
829
|
-
let r =
|
|
533
|
+
]), he = (e) => Z(e, me, Q), ge = (e) => Z(e, "position", Q), _e = /* @__PURE__ */ new Set(["image", "url"]), ve = (e) => Z(e, _e, Se), ye = (e) => Z(e, "", xe), X = () => !0, Z = (e, t, n) => {
|
|
534
|
+
let r = V.exec(e);
|
|
830
535
|
return r ? r[1] ? typeof t == "string" ? r[1] === t : t.has(r[1]) : n(r[2]) : !1;
|
|
831
|
-
},
|
|
832
|
-
let e =
|
|
536
|
+
}, be = (e) => ue.test(e) && !de.test(e), Q = () => !1, xe = (e) => fe.test(e), Se = (e) => pe.test(e), Ce = /* @__PURE__ */ oe(() => {
|
|
537
|
+
let e = B("colors"), t = B("spacing"), n = B("blur"), r = B("brightness"), i = B("borderColor"), a = B("borderRadius"), o = B("borderSpacing"), s = B("borderWidth"), c = B("contrast"), l = B("grayscale"), u = B("hueRotate"), d = B("invert"), f = B("gap"), p = B("gradientColorStops"), m = B("gradientColorStopPositions"), h = B("inset"), g = B("margin"), _ = B("opacity"), v = B("padding"), y = B("saturate"), b = B("scale"), x = B("sepia"), S = B("skew"), C = B("space"), w = B("translate"), T = () => [
|
|
833
538
|
"auto",
|
|
834
539
|
"contain",
|
|
835
540
|
"none"
|
|
836
|
-
],
|
|
541
|
+
], E = () => [
|
|
837
542
|
"auto",
|
|
838
543
|
"hidden",
|
|
839
544
|
"clip",
|
|
840
545
|
"visible",
|
|
841
546
|
"scroll"
|
|
842
|
-
],
|
|
547
|
+
], D = () => [
|
|
843
548
|
"auto",
|
|
844
|
-
|
|
549
|
+
J,
|
|
845
550
|
t
|
|
846
|
-
],
|
|
551
|
+
], O = () => [J, t], k = () => [
|
|
847
552
|
"",
|
|
848
|
-
|
|
849
|
-
|
|
850
|
-
],
|
|
553
|
+
H,
|
|
554
|
+
U
|
|
555
|
+
], A = () => [
|
|
851
556
|
"auto",
|
|
852
|
-
|
|
853
|
-
|
|
854
|
-
],
|
|
557
|
+
W,
|
|
558
|
+
J
|
|
559
|
+
], j = () => [
|
|
855
560
|
"bottom",
|
|
856
561
|
"center",
|
|
857
562
|
"left",
|
|
@@ -861,13 +566,13 @@ var L = (e) => {
|
|
|
861
566
|
"right-bottom",
|
|
862
567
|
"right-top",
|
|
863
568
|
"top"
|
|
864
|
-
],
|
|
569
|
+
], M = () => [
|
|
865
570
|
"solid",
|
|
866
571
|
"dashed",
|
|
867
572
|
"dotted",
|
|
868
573
|
"double",
|
|
869
574
|
"none"
|
|
870
|
-
],
|
|
575
|
+
], N = () => [
|
|
871
576
|
"normal",
|
|
872
577
|
"multiply",
|
|
873
578
|
"screen",
|
|
@@ -884,7 +589,7 @@ var L = (e) => {
|
|
|
884
589
|
"saturation",
|
|
885
590
|
"color",
|
|
886
591
|
"luminosity"
|
|
887
|
-
],
|
|
592
|
+
], P = () => [
|
|
888
593
|
"start",
|
|
889
594
|
"end",
|
|
890
595
|
"center",
|
|
@@ -892,11 +597,11 @@ var L = (e) => {
|
|
|
892
597
|
"around",
|
|
893
598
|
"evenly",
|
|
894
599
|
"stretch"
|
|
895
|
-
],
|
|
600
|
+
], F = () => [
|
|
896
601
|
"",
|
|
897
602
|
"0",
|
|
898
|
-
|
|
899
|
-
],
|
|
603
|
+
J
|
|
604
|
+
], I = () => [
|
|
900
605
|
"auto",
|
|
901
606
|
"avoid",
|
|
902
607
|
"all",
|
|
@@ -905,59 +610,59 @@ var L = (e) => {
|
|
|
905
610
|
"left",
|
|
906
611
|
"right",
|
|
907
612
|
"column"
|
|
908
|
-
],
|
|
613
|
+
], L = () => [W, J];
|
|
909
614
|
return {
|
|
910
615
|
cacheSize: 500,
|
|
911
616
|
separator: ":",
|
|
912
617
|
theme: {
|
|
913
|
-
colors: [
|
|
914
|
-
spacing: [
|
|
618
|
+
colors: [X],
|
|
619
|
+
spacing: [H, U],
|
|
915
620
|
blur: [
|
|
916
621
|
"none",
|
|
917
622
|
"",
|
|
918
|
-
|
|
919
|
-
|
|
623
|
+
Y,
|
|
624
|
+
J
|
|
920
625
|
],
|
|
921
|
-
brightness:
|
|
626
|
+
brightness: L(),
|
|
922
627
|
borderColor: [e],
|
|
923
628
|
borderRadius: [
|
|
924
629
|
"none",
|
|
925
630
|
"",
|
|
926
631
|
"full",
|
|
927
|
-
|
|
928
|
-
|
|
632
|
+
Y,
|
|
633
|
+
J
|
|
929
634
|
],
|
|
930
|
-
borderSpacing:
|
|
931
|
-
borderWidth:
|
|
932
|
-
contrast:
|
|
933
|
-
grayscale:
|
|
934
|
-
hueRotate:
|
|
935
|
-
invert:
|
|
936
|
-
gap:
|
|
635
|
+
borderSpacing: O(),
|
|
636
|
+
borderWidth: k(),
|
|
637
|
+
contrast: L(),
|
|
638
|
+
grayscale: F(),
|
|
639
|
+
hueRotate: L(),
|
|
640
|
+
invert: F(),
|
|
641
|
+
gap: O(),
|
|
937
642
|
gradientColorStops: [e],
|
|
938
|
-
gradientColorStopPositions: [
|
|
939
|
-
inset:
|
|
940
|
-
margin:
|
|
941
|
-
opacity:
|
|
942
|
-
padding:
|
|
943
|
-
saturate:
|
|
944
|
-
scale:
|
|
945
|
-
sepia:
|
|
946
|
-
skew:
|
|
947
|
-
space:
|
|
948
|
-
translate:
|
|
643
|
+
gradientColorStopPositions: [q, U],
|
|
644
|
+
inset: D(),
|
|
645
|
+
margin: D(),
|
|
646
|
+
opacity: L(),
|
|
647
|
+
padding: O(),
|
|
648
|
+
saturate: L(),
|
|
649
|
+
scale: L(),
|
|
650
|
+
sepia: F(),
|
|
651
|
+
skew: L(),
|
|
652
|
+
space: O(),
|
|
653
|
+
translate: O()
|
|
949
654
|
},
|
|
950
655
|
classGroups: {
|
|
951
656
|
aspect: [{ aspect: [
|
|
952
657
|
"auto",
|
|
953
658
|
"square",
|
|
954
659
|
"video",
|
|
955
|
-
|
|
660
|
+
J
|
|
956
661
|
] }],
|
|
957
662
|
container: ["container"],
|
|
958
|
-
columns: [{ columns: [
|
|
959
|
-
"break-after": [{ "break-after":
|
|
960
|
-
"break-before": [{ "break-before":
|
|
663
|
+
columns: [{ columns: [Y] }],
|
|
664
|
+
"break-after": [{ "break-after": I() }],
|
|
665
|
+
"break-before": [{ "break-before": I() }],
|
|
961
666
|
"break-inside": [{ "break-inside": [
|
|
962
667
|
"auto",
|
|
963
668
|
"avoid",
|
|
@@ -1012,13 +717,13 @@ var L = (e) => {
|
|
|
1012
717
|
"none",
|
|
1013
718
|
"scale-down"
|
|
1014
719
|
] }],
|
|
1015
|
-
"object-position": [{ object: [...
|
|
1016
|
-
overflow: [{ overflow:
|
|
1017
|
-
"overflow-x": [{ "overflow-x":
|
|
1018
|
-
"overflow-y": [{ "overflow-y":
|
|
1019
|
-
overscroll: [{ overscroll:
|
|
1020
|
-
"overscroll-x": [{ "overscroll-x":
|
|
1021
|
-
"overscroll-y": [{ "overscroll-y":
|
|
720
|
+
"object-position": [{ object: [...j(), J] }],
|
|
721
|
+
overflow: [{ overflow: E() }],
|
|
722
|
+
"overflow-x": [{ "overflow-x": E() }],
|
|
723
|
+
"overflow-y": [{ "overflow-y": E() }],
|
|
724
|
+
overscroll: [{ overscroll: T() }],
|
|
725
|
+
"overscroll-x": [{ "overscroll-x": T() }],
|
|
726
|
+
"overscroll-y": [{ "overscroll-y": T() }],
|
|
1022
727
|
position: [
|
|
1023
728
|
"static",
|
|
1024
729
|
"fixed",
|
|
@@ -1042,10 +747,10 @@ var L = (e) => {
|
|
|
1042
747
|
],
|
|
1043
748
|
z: [{ z: [
|
|
1044
749
|
"auto",
|
|
1045
|
-
|
|
1046
|
-
|
|
750
|
+
K,
|
|
751
|
+
J
|
|
1047
752
|
] }],
|
|
1048
|
-
basis: [{ basis:
|
|
753
|
+
basis: [{ basis: D() }],
|
|
1049
754
|
"flex-direction": [{ flex: [
|
|
1050
755
|
"row",
|
|
1051
756
|
"row-reverse",
|
|
@@ -1062,37 +767,37 @@ var L = (e) => {
|
|
|
1062
767
|
"auto",
|
|
1063
768
|
"initial",
|
|
1064
769
|
"none",
|
|
1065
|
-
|
|
770
|
+
J
|
|
1066
771
|
] }],
|
|
1067
|
-
grow: [{ grow:
|
|
1068
|
-
shrink: [{ shrink:
|
|
772
|
+
grow: [{ grow: F() }],
|
|
773
|
+
shrink: [{ shrink: F() }],
|
|
1069
774
|
order: [{ order: [
|
|
1070
775
|
"first",
|
|
1071
776
|
"last",
|
|
1072
777
|
"none",
|
|
1073
|
-
|
|
1074
|
-
|
|
778
|
+
K,
|
|
779
|
+
J
|
|
1075
780
|
] }],
|
|
1076
|
-
"grid-cols": [{ "grid-cols": [
|
|
781
|
+
"grid-cols": [{ "grid-cols": [X] }],
|
|
1077
782
|
"col-start-end": [{ col: [
|
|
1078
783
|
"auto",
|
|
1079
784
|
{ span: [
|
|
1080
785
|
"full",
|
|
1081
|
-
|
|
1082
|
-
|
|
786
|
+
K,
|
|
787
|
+
J
|
|
1083
788
|
] },
|
|
1084
|
-
|
|
789
|
+
J
|
|
1085
790
|
] }],
|
|
1086
|
-
"col-start": [{ "col-start":
|
|
1087
|
-
"col-end": [{ "col-end":
|
|
1088
|
-
"grid-rows": [{ "grid-rows": [
|
|
791
|
+
"col-start": [{ "col-start": A() }],
|
|
792
|
+
"col-end": [{ "col-end": A() }],
|
|
793
|
+
"grid-rows": [{ "grid-rows": [X] }],
|
|
1089
794
|
"row-start-end": [{ row: [
|
|
1090
795
|
"auto",
|
|
1091
|
-
{ span: [
|
|
1092
|
-
|
|
796
|
+
{ span: [K, J] },
|
|
797
|
+
J
|
|
1093
798
|
] }],
|
|
1094
|
-
"row-start": [{ "row-start":
|
|
1095
|
-
"row-end": [{ "row-end":
|
|
799
|
+
"row-start": [{ "row-start": A() }],
|
|
800
|
+
"row-end": [{ "row-end": A() }],
|
|
1096
801
|
"grid-flow": [{ "grid-flow": [
|
|
1097
802
|
"row",
|
|
1098
803
|
"col",
|
|
@@ -1105,19 +810,19 @@ var L = (e) => {
|
|
|
1105
810
|
"min",
|
|
1106
811
|
"max",
|
|
1107
812
|
"fr",
|
|
1108
|
-
|
|
813
|
+
J
|
|
1109
814
|
] }],
|
|
1110
815
|
"auto-rows": [{ "auto-rows": [
|
|
1111
816
|
"auto",
|
|
1112
817
|
"min",
|
|
1113
818
|
"max",
|
|
1114
819
|
"fr",
|
|
1115
|
-
|
|
820
|
+
J
|
|
1116
821
|
] }],
|
|
1117
822
|
gap: [{ gap: [f] }],
|
|
1118
823
|
"gap-x": [{ "gap-x": [f] }],
|
|
1119
824
|
"gap-y": [{ "gap-y": [f] }],
|
|
1120
|
-
"justify-content": [{ justify: ["normal", ...
|
|
825
|
+
"justify-content": [{ justify: ["normal", ...P()] }],
|
|
1121
826
|
"justify-items": [{ "justify-items": [
|
|
1122
827
|
"start",
|
|
1123
828
|
"end",
|
|
@@ -1133,7 +838,7 @@ var L = (e) => {
|
|
|
1133
838
|
] }],
|
|
1134
839
|
"align-content": [{ content: [
|
|
1135
840
|
"normal",
|
|
1136
|
-
...
|
|
841
|
+
...P(),
|
|
1137
842
|
"baseline"
|
|
1138
843
|
] }],
|
|
1139
844
|
"align-items": [{ items: [
|
|
@@ -1151,7 +856,7 @@ var L = (e) => {
|
|
|
1151
856
|
"stretch",
|
|
1152
857
|
"baseline"
|
|
1153
858
|
] }],
|
|
1154
|
-
"place-content": [{ "place-content": [...
|
|
859
|
+
"place-content": [{ "place-content": [...P(), "baseline"] }],
|
|
1155
860
|
"place-items": [{ "place-items": [
|
|
1156
861
|
"start",
|
|
1157
862
|
"end",
|
|
@@ -1184,9 +889,9 @@ var L = (e) => {
|
|
|
1184
889
|
mr: [{ mr: [g] }],
|
|
1185
890
|
mb: [{ mb: [g] }],
|
|
1186
891
|
ml: [{ ml: [g] }],
|
|
1187
|
-
"space-x": [{ "space-x": [
|
|
892
|
+
"space-x": [{ "space-x": [C] }],
|
|
1188
893
|
"space-x-reverse": ["space-x-reverse"],
|
|
1189
|
-
"space-y": [{ "space-y": [
|
|
894
|
+
"space-y": [{ "space-y": [C] }],
|
|
1190
895
|
"space-y-reverse": ["space-y-reverse"],
|
|
1191
896
|
w: [{ w: [
|
|
1192
897
|
"auto",
|
|
@@ -1196,18 +901,18 @@ var L = (e) => {
|
|
|
1196
901
|
"svw",
|
|
1197
902
|
"lvw",
|
|
1198
903
|
"dvw",
|
|
1199
|
-
|
|
904
|
+
J,
|
|
1200
905
|
t
|
|
1201
906
|
] }],
|
|
1202
907
|
"min-w": [{ "min-w": [
|
|
1203
|
-
|
|
908
|
+
J,
|
|
1204
909
|
t,
|
|
1205
910
|
"min",
|
|
1206
911
|
"max",
|
|
1207
912
|
"fit"
|
|
1208
913
|
] }],
|
|
1209
914
|
"max-w": [{ "max-w": [
|
|
1210
|
-
|
|
915
|
+
J,
|
|
1211
916
|
t,
|
|
1212
917
|
"none",
|
|
1213
918
|
"full",
|
|
@@ -1215,11 +920,11 @@ var L = (e) => {
|
|
|
1215
920
|
"max",
|
|
1216
921
|
"fit",
|
|
1217
922
|
"prose",
|
|
1218
|
-
{ screen: [
|
|
1219
|
-
|
|
923
|
+
{ screen: [Y] },
|
|
924
|
+
Y
|
|
1220
925
|
] }],
|
|
1221
926
|
h: [{ h: [
|
|
1222
|
-
|
|
927
|
+
J,
|
|
1223
928
|
t,
|
|
1224
929
|
"auto",
|
|
1225
930
|
"min",
|
|
@@ -1230,7 +935,7 @@ var L = (e) => {
|
|
|
1230
935
|
"dvh"
|
|
1231
936
|
] }],
|
|
1232
937
|
"min-h": [{ "min-h": [
|
|
1233
|
-
|
|
938
|
+
J,
|
|
1234
939
|
t,
|
|
1235
940
|
"min",
|
|
1236
941
|
"max",
|
|
@@ -1240,7 +945,7 @@ var L = (e) => {
|
|
|
1240
945
|
"dvh"
|
|
1241
946
|
] }],
|
|
1242
947
|
"max-h": [{ "max-h": [
|
|
1243
|
-
|
|
948
|
+
J,
|
|
1244
949
|
t,
|
|
1245
950
|
"min",
|
|
1246
951
|
"max",
|
|
@@ -1250,7 +955,7 @@ var L = (e) => {
|
|
|
1250
955
|
"dvh"
|
|
1251
956
|
] }],
|
|
1252
957
|
size: [{ size: [
|
|
1253
|
-
|
|
958
|
+
J,
|
|
1254
959
|
t,
|
|
1255
960
|
"auto",
|
|
1256
961
|
"min",
|
|
@@ -1259,8 +964,8 @@ var L = (e) => {
|
|
|
1259
964
|
] }],
|
|
1260
965
|
"font-size": [{ text: [
|
|
1261
966
|
"base",
|
|
1262
|
-
|
|
1263
|
-
|
|
967
|
+
Y,
|
|
968
|
+
U
|
|
1264
969
|
] }],
|
|
1265
970
|
"font-smoothing": ["antialiased", "subpixel-antialiased"],
|
|
1266
971
|
"font-style": ["italic", "not-italic"],
|
|
@@ -1274,9 +979,9 @@ var L = (e) => {
|
|
|
1274
979
|
"bold",
|
|
1275
980
|
"extrabold",
|
|
1276
981
|
"black",
|
|
1277
|
-
|
|
982
|
+
G
|
|
1278
983
|
] }],
|
|
1279
|
-
"font-family": [{ font: [
|
|
984
|
+
"font-family": [{ font: [X] }],
|
|
1280
985
|
"fvn-normal": ["normal-nums"],
|
|
1281
986
|
"fvn-ordinal": ["ordinal"],
|
|
1282
987
|
"fvn-slashed-zero": ["slashed-zero"],
|
|
@@ -1290,12 +995,12 @@ var L = (e) => {
|
|
|
1290
995
|
"wide",
|
|
1291
996
|
"wider",
|
|
1292
997
|
"widest",
|
|
1293
|
-
|
|
998
|
+
J
|
|
1294
999
|
] }],
|
|
1295
1000
|
"line-clamp": [{ "line-clamp": [
|
|
1296
1001
|
"none",
|
|
1297
|
-
|
|
1298
|
-
|
|
1002
|
+
W,
|
|
1003
|
+
G
|
|
1299
1004
|
] }],
|
|
1300
1005
|
leading: [{ leading: [
|
|
1301
1006
|
"none",
|
|
@@ -1304,15 +1009,15 @@ var L = (e) => {
|
|
|
1304
1009
|
"normal",
|
|
1305
1010
|
"relaxed",
|
|
1306
1011
|
"loose",
|
|
1307
|
-
|
|
1308
|
-
|
|
1012
|
+
H,
|
|
1013
|
+
J
|
|
1309
1014
|
] }],
|
|
1310
|
-
"list-image": [{ "list-image": ["none",
|
|
1015
|
+
"list-image": [{ "list-image": ["none", J] }],
|
|
1311
1016
|
"list-style-type": [{ list: [
|
|
1312
1017
|
"none",
|
|
1313
1018
|
"disc",
|
|
1314
1019
|
"decimal",
|
|
1315
|
-
|
|
1020
|
+
J
|
|
1316
1021
|
] }],
|
|
1317
1022
|
"list-style-position": [{ list: ["inside", "outside"] }],
|
|
1318
1023
|
"placeholder-color": [{ placeholder: [e] }],
|
|
@@ -1333,17 +1038,17 @@ var L = (e) => {
|
|
|
1333
1038
|
"line-through",
|
|
1334
1039
|
"no-underline"
|
|
1335
1040
|
],
|
|
1336
|
-
"text-decoration-style": [{ decoration: [...
|
|
1041
|
+
"text-decoration-style": [{ decoration: [...M(), "wavy"] }],
|
|
1337
1042
|
"text-decoration-thickness": [{ decoration: [
|
|
1338
1043
|
"auto",
|
|
1339
1044
|
"from-font",
|
|
1340
|
-
|
|
1341
|
-
|
|
1045
|
+
H,
|
|
1046
|
+
U
|
|
1342
1047
|
] }],
|
|
1343
1048
|
"underline-offset": [{ "underline-offset": [
|
|
1344
1049
|
"auto",
|
|
1345
|
-
|
|
1346
|
-
|
|
1050
|
+
H,
|
|
1051
|
+
J
|
|
1347
1052
|
] }],
|
|
1348
1053
|
"text-decoration-color": [{ decoration: [e] }],
|
|
1349
1054
|
"text-transform": [
|
|
@@ -1363,7 +1068,7 @@ var L = (e) => {
|
|
|
1363
1068
|
"balance",
|
|
1364
1069
|
"pretty"
|
|
1365
1070
|
] }],
|
|
1366
|
-
indent: [{ indent:
|
|
1071
|
+
indent: [{ indent: O() }],
|
|
1367
1072
|
"vertical-align": [{ align: [
|
|
1368
1073
|
"baseline",
|
|
1369
1074
|
"top",
|
|
@@ -1373,7 +1078,7 @@ var L = (e) => {
|
|
|
1373
1078
|
"text-bottom",
|
|
1374
1079
|
"sub",
|
|
1375
1080
|
"super",
|
|
1376
|
-
|
|
1081
|
+
J
|
|
1377
1082
|
] }],
|
|
1378
1083
|
whitespace: [{ whitespace: [
|
|
1379
1084
|
"normal",
|
|
@@ -1394,7 +1099,7 @@ var L = (e) => {
|
|
|
1394
1099
|
"manual",
|
|
1395
1100
|
"auto"
|
|
1396
1101
|
] }],
|
|
1397
|
-
content: [{ content: ["none",
|
|
1102
|
+
content: [{ content: ["none", J] }],
|
|
1398
1103
|
"bg-attachment": [{ bg: [
|
|
1399
1104
|
"fixed",
|
|
1400
1105
|
"local",
|
|
@@ -1412,7 +1117,7 @@ var L = (e) => {
|
|
|
1412
1117
|
"padding",
|
|
1413
1118
|
"content"
|
|
1414
1119
|
] }],
|
|
1415
|
-
"bg-position": [{ bg: [...
|
|
1120
|
+
"bg-position": [{ bg: [...j(), ge] }],
|
|
1416
1121
|
"bg-repeat": [{ bg: ["no-repeat", { repeat: [
|
|
1417
1122
|
"",
|
|
1418
1123
|
"x",
|
|
@@ -1424,7 +1129,7 @@ var L = (e) => {
|
|
|
1424
1129
|
"auto",
|
|
1425
1130
|
"cover",
|
|
1426
1131
|
"contain",
|
|
1427
|
-
|
|
1132
|
+
he
|
|
1428
1133
|
] }],
|
|
1429
1134
|
"bg-image": [{ bg: [
|
|
1430
1135
|
"none",
|
|
@@ -1438,7 +1143,7 @@ var L = (e) => {
|
|
|
1438
1143
|
"l",
|
|
1439
1144
|
"tl"
|
|
1440
1145
|
] },
|
|
1441
|
-
|
|
1146
|
+
ve
|
|
1442
1147
|
] }],
|
|
1443
1148
|
"bg-color": [{ bg: [e] }],
|
|
1444
1149
|
"gradient-from-pos": [{ from: [m] }],
|
|
@@ -1472,13 +1177,13 @@ var L = (e) => {
|
|
|
1472
1177
|
"border-w-b": [{ "border-b": [s] }],
|
|
1473
1178
|
"border-w-l": [{ "border-l": [s] }],
|
|
1474
1179
|
"border-opacity": [{ "border-opacity": [_] }],
|
|
1475
|
-
"border-style": [{ border: [...
|
|
1180
|
+
"border-style": [{ border: [...M(), "hidden"] }],
|
|
1476
1181
|
"divide-x": [{ "divide-x": [s] }],
|
|
1477
1182
|
"divide-x-reverse": ["divide-x-reverse"],
|
|
1478
1183
|
"divide-y": [{ "divide-y": [s] }],
|
|
1479
1184
|
"divide-y-reverse": ["divide-y-reverse"],
|
|
1480
1185
|
"divide-opacity": [{ "divide-opacity": [_] }],
|
|
1481
|
-
"divide-style": [{ divide:
|
|
1186
|
+
"divide-style": [{ divide: M() }],
|
|
1482
1187
|
"border-color": [{ border: [i] }],
|
|
1483
1188
|
"border-color-x": [{ "border-x": [i] }],
|
|
1484
1189
|
"border-color-y": [{ "border-y": [i] }],
|
|
@@ -1489,31 +1194,31 @@ var L = (e) => {
|
|
|
1489
1194
|
"border-color-b": [{ "border-b": [i] }],
|
|
1490
1195
|
"border-color-l": [{ "border-l": [i] }],
|
|
1491
1196
|
"divide-color": [{ divide: [i] }],
|
|
1492
|
-
"outline-style": [{ outline: ["", ...
|
|
1493
|
-
"outline-offset": [{ "outline-offset": [
|
|
1494
|
-
"outline-w": [{ outline: [
|
|
1197
|
+
"outline-style": [{ outline: ["", ...M()] }],
|
|
1198
|
+
"outline-offset": [{ "outline-offset": [H, J] }],
|
|
1199
|
+
"outline-w": [{ outline: [H, U] }],
|
|
1495
1200
|
"outline-color": [{ outline: [e] }],
|
|
1496
|
-
"ring-w": [{ ring:
|
|
1201
|
+
"ring-w": [{ ring: k() }],
|
|
1497
1202
|
"ring-w-inset": ["ring-inset"],
|
|
1498
1203
|
"ring-color": [{ ring: [e] }],
|
|
1499
1204
|
"ring-opacity": [{ "ring-opacity": [_] }],
|
|
1500
|
-
"ring-offset-w": [{ "ring-offset": [
|
|
1205
|
+
"ring-offset-w": [{ "ring-offset": [H, U] }],
|
|
1501
1206
|
"ring-offset-color": [{ "ring-offset": [e] }],
|
|
1502
1207
|
shadow: [{ shadow: [
|
|
1503
1208
|
"",
|
|
1504
1209
|
"inner",
|
|
1505
1210
|
"none",
|
|
1506
|
-
|
|
1507
|
-
|
|
1211
|
+
Y,
|
|
1212
|
+
ye
|
|
1508
1213
|
] }],
|
|
1509
|
-
"shadow-color": [{ shadow: [
|
|
1214
|
+
"shadow-color": [{ shadow: [X] }],
|
|
1510
1215
|
opacity: [{ opacity: [_] }],
|
|
1511
1216
|
"mix-blend": [{ "mix-blend": [
|
|
1512
|
-
...
|
|
1217
|
+
...N(),
|
|
1513
1218
|
"plus-lighter",
|
|
1514
1219
|
"plus-darker"
|
|
1515
1220
|
] }],
|
|
1516
|
-
"bg-blend": [{ "bg-blend":
|
|
1221
|
+
"bg-blend": [{ "bg-blend": N() }],
|
|
1517
1222
|
filter: [{ filter: ["", "none"] }],
|
|
1518
1223
|
blur: [{ blur: [n] }],
|
|
1519
1224
|
brightness: [{ brightness: [r] }],
|
|
@@ -1521,14 +1226,14 @@ var L = (e) => {
|
|
|
1521
1226
|
"drop-shadow": [{ "drop-shadow": [
|
|
1522
1227
|
"",
|
|
1523
1228
|
"none",
|
|
1524
|
-
|
|
1525
|
-
|
|
1229
|
+
Y,
|
|
1230
|
+
J
|
|
1526
1231
|
] }],
|
|
1527
1232
|
grayscale: [{ grayscale: [l] }],
|
|
1528
1233
|
"hue-rotate": [{ "hue-rotate": [u] }],
|
|
1529
1234
|
invert: [{ invert: [d] }],
|
|
1530
1235
|
saturate: [{ saturate: [y] }],
|
|
1531
|
-
sepia: [{ sepia: [
|
|
1236
|
+
sepia: [{ sepia: [x] }],
|
|
1532
1237
|
"backdrop-filter": [{ "backdrop-filter": ["", "none"] }],
|
|
1533
1238
|
"backdrop-blur": [{ "backdrop-blur": [n] }],
|
|
1534
1239
|
"backdrop-brightness": [{ "backdrop-brightness": [r] }],
|
|
@@ -1538,7 +1243,7 @@ var L = (e) => {
|
|
|
1538
1243
|
"backdrop-invert": [{ "backdrop-invert": [d] }],
|
|
1539
1244
|
"backdrop-opacity": [{ "backdrop-opacity": [_] }],
|
|
1540
1245
|
"backdrop-saturate": [{ "backdrop-saturate": [y] }],
|
|
1541
|
-
"backdrop-sepia": [{ "backdrop-sepia": [
|
|
1246
|
+
"backdrop-sepia": [{ "backdrop-sepia": [x] }],
|
|
1542
1247
|
"border-collapse": [{ border: ["collapse", "separate"] }],
|
|
1543
1248
|
"border-spacing": [{ "border-spacing": [o] }],
|
|
1544
1249
|
"border-spacing-x": [{ "border-spacing-x": [o] }],
|
|
@@ -1553,24 +1258,24 @@ var L = (e) => {
|
|
|
1553
1258
|
"opacity",
|
|
1554
1259
|
"shadow",
|
|
1555
1260
|
"transform",
|
|
1556
|
-
|
|
1261
|
+
J
|
|
1557
1262
|
] }],
|
|
1558
|
-
duration: [{ duration:
|
|
1263
|
+
duration: [{ duration: L() }],
|
|
1559
1264
|
ease: [{ ease: [
|
|
1560
1265
|
"linear",
|
|
1561
1266
|
"in",
|
|
1562
1267
|
"out",
|
|
1563
1268
|
"in-out",
|
|
1564
|
-
|
|
1269
|
+
J
|
|
1565
1270
|
] }],
|
|
1566
|
-
delay: [{ delay:
|
|
1271
|
+
delay: [{ delay: L() }],
|
|
1567
1272
|
animate: [{ animate: [
|
|
1568
1273
|
"none",
|
|
1569
1274
|
"spin",
|
|
1570
1275
|
"ping",
|
|
1571
1276
|
"pulse",
|
|
1572
1277
|
"bounce",
|
|
1573
|
-
|
|
1278
|
+
J
|
|
1574
1279
|
] }],
|
|
1575
1280
|
transform: [{ transform: [
|
|
1576
1281
|
"",
|
|
@@ -1580,11 +1285,11 @@ var L = (e) => {
|
|
|
1580
1285
|
scale: [{ scale: [b] }],
|
|
1581
1286
|
"scale-x": [{ "scale-x": [b] }],
|
|
1582
1287
|
"scale-y": [{ "scale-y": [b] }],
|
|
1583
|
-
rotate: [{ rotate: [
|
|
1584
|
-
"translate-x": [{ "translate-x": [
|
|
1585
|
-
"translate-y": [{ "translate-y": [
|
|
1586
|
-
"skew-x": [{ "skew-x": [
|
|
1587
|
-
"skew-y": [{ "skew-y": [
|
|
1288
|
+
rotate: [{ rotate: [K, J] }],
|
|
1289
|
+
"translate-x": [{ "translate-x": [w] }],
|
|
1290
|
+
"translate-y": [{ "translate-y": [w] }],
|
|
1291
|
+
"skew-x": [{ "skew-x": [S] }],
|
|
1292
|
+
"skew-y": [{ "skew-y": [S] }],
|
|
1588
1293
|
"transform-origin": [{ origin: [
|
|
1589
1294
|
"center",
|
|
1590
1295
|
"top",
|
|
@@ -1595,7 +1300,7 @@ var L = (e) => {
|
|
|
1595
1300
|
"bottom-left",
|
|
1596
1301
|
"left",
|
|
1597
1302
|
"top-left",
|
|
1598
|
-
|
|
1303
|
+
J
|
|
1599
1304
|
] }],
|
|
1600
1305
|
accent: [{ accent: ["auto", e] }],
|
|
1601
1306
|
appearance: [{ appearance: ["none", "auto"] }],
|
|
@@ -1636,7 +1341,7 @@ var L = (e) => {
|
|
|
1636
1341
|
"nwse-resize",
|
|
1637
1342
|
"zoom-in",
|
|
1638
1343
|
"zoom-out",
|
|
1639
|
-
|
|
1344
|
+
J
|
|
1640
1345
|
] }],
|
|
1641
1346
|
"caret-color": [{ caret: [e] }],
|
|
1642
1347
|
"pointer-events": [{ "pointer-events": ["none", "auto"] }],
|
|
@@ -1647,24 +1352,24 @@ var L = (e) => {
|
|
|
1647
1352
|
""
|
|
1648
1353
|
] }],
|
|
1649
1354
|
"scroll-behavior": [{ scroll: ["auto", "smooth"] }],
|
|
1650
|
-
"scroll-m": [{ "scroll-m":
|
|
1651
|
-
"scroll-mx": [{ "scroll-mx":
|
|
1652
|
-
"scroll-my": [{ "scroll-my":
|
|
1653
|
-
"scroll-ms": [{ "scroll-ms":
|
|
1654
|
-
"scroll-me": [{ "scroll-me":
|
|
1655
|
-
"scroll-mt": [{ "scroll-mt":
|
|
1656
|
-
"scroll-mr": [{ "scroll-mr":
|
|
1657
|
-
"scroll-mb": [{ "scroll-mb":
|
|
1658
|
-
"scroll-ml": [{ "scroll-ml":
|
|
1659
|
-
"scroll-p": [{ "scroll-p":
|
|
1660
|
-
"scroll-px": [{ "scroll-px":
|
|
1661
|
-
"scroll-py": [{ "scroll-py":
|
|
1662
|
-
"scroll-ps": [{ "scroll-ps":
|
|
1663
|
-
"scroll-pe": [{ "scroll-pe":
|
|
1664
|
-
"scroll-pt": [{ "scroll-pt":
|
|
1665
|
-
"scroll-pr": [{ "scroll-pr":
|
|
1666
|
-
"scroll-pb": [{ "scroll-pb":
|
|
1667
|
-
"scroll-pl": [{ "scroll-pl":
|
|
1355
|
+
"scroll-m": [{ "scroll-m": O() }],
|
|
1356
|
+
"scroll-mx": [{ "scroll-mx": O() }],
|
|
1357
|
+
"scroll-my": [{ "scroll-my": O() }],
|
|
1358
|
+
"scroll-ms": [{ "scroll-ms": O() }],
|
|
1359
|
+
"scroll-me": [{ "scroll-me": O() }],
|
|
1360
|
+
"scroll-mt": [{ "scroll-mt": O() }],
|
|
1361
|
+
"scroll-mr": [{ "scroll-mr": O() }],
|
|
1362
|
+
"scroll-mb": [{ "scroll-mb": O() }],
|
|
1363
|
+
"scroll-ml": [{ "scroll-ml": O() }],
|
|
1364
|
+
"scroll-p": [{ "scroll-p": O() }],
|
|
1365
|
+
"scroll-px": [{ "scroll-px": O() }],
|
|
1366
|
+
"scroll-py": [{ "scroll-py": O() }],
|
|
1367
|
+
"scroll-ps": [{ "scroll-ps": O() }],
|
|
1368
|
+
"scroll-pe": [{ "scroll-pe": O() }],
|
|
1369
|
+
"scroll-pt": [{ "scroll-pt": O() }],
|
|
1370
|
+
"scroll-pr": [{ "scroll-pr": O() }],
|
|
1371
|
+
"scroll-pb": [{ "scroll-pb": O() }],
|
|
1372
|
+
"scroll-pl": [{ "scroll-pl": O() }],
|
|
1668
1373
|
"snap-align": [{ snap: [
|
|
1669
1374
|
"start",
|
|
1670
1375
|
"end",
|
|
@@ -1706,13 +1411,13 @@ var L = (e) => {
|
|
|
1706
1411
|
"scroll",
|
|
1707
1412
|
"contents",
|
|
1708
1413
|
"transform",
|
|
1709
|
-
|
|
1414
|
+
J
|
|
1710
1415
|
] }],
|
|
1711
1416
|
fill: [{ fill: [e, "none"] }],
|
|
1712
1417
|
"stroke-w": [{ stroke: [
|
|
1713
|
-
V,
|
|
1714
1418
|
H,
|
|
1715
|
-
|
|
1419
|
+
U,
|
|
1420
|
+
G
|
|
1716
1421
|
] }],
|
|
1717
1422
|
stroke: [{ stroke: [e, "none"] }],
|
|
1718
1423
|
sr: ["sr-only", "not-sr-only"],
|
|
@@ -1859,18 +1564,18 @@ var L = (e) => {
|
|
|
1859
1564
|
});
|
|
1860
1565
|
//#endregion
|
|
1861
1566
|
//#region src/lib/utils.ts
|
|
1862
|
-
function
|
|
1863
|
-
return
|
|
1567
|
+
function $(...e) {
|
|
1568
|
+
return Ce(E(e));
|
|
1864
1569
|
}
|
|
1865
1570
|
//#endregion
|
|
1866
1571
|
//#region src/checkbox.tsx
|
|
1867
|
-
function
|
|
1572
|
+
function we({ label: t, checked: n = !1, indeterminate: r = !1, disabled: i, hintText: a, onChange: o }) {
|
|
1868
1573
|
let s = e.useId();
|
|
1869
1574
|
return /* @__PURE__ */ (0, c.jsxs)("div", {
|
|
1870
1575
|
className: "flex flex-col gap-1",
|
|
1871
1576
|
children: [/* @__PURE__ */ (0, c.jsxs)("label", {
|
|
1872
1577
|
htmlFor: s,
|
|
1873
|
-
className:
|
|
1578
|
+
className: $("flex items-center gap-2 cursor-pointer", i && "opacity-50 cursor-not-allowed"),
|
|
1874
1579
|
children: [
|
|
1875
1580
|
/* @__PURE__ */ (0, c.jsx)("input", {
|
|
1876
1581
|
id: s,
|
|
@@ -1881,8 +1586,8 @@ function Q({ label: t, checked: n = !1, indeterminate: r = !1, disabled: i, hint
|
|
|
1881
1586
|
className: "hidden"
|
|
1882
1587
|
}),
|
|
1883
1588
|
/* @__PURE__ */ (0, c.jsx)("div", {
|
|
1884
|
-
className:
|
|
1885
|
-
children: r ? /* @__PURE__ */ (0, c.jsx)(
|
|
1589
|
+
className: $("w-4 h-4 flex items-center justify-center rounded border transition", n || r ? "bg-primary text-white border-primary" : "bg-white border-gray-300"),
|
|
1590
|
+
children: r ? /* @__PURE__ */ (0, c.jsx)(S, { size: 12 }) : n ? /* @__PURE__ */ (0, c.jsx)(b, { size: 12 }) : null
|
|
1886
1591
|
}),
|
|
1887
1592
|
t && /* @__PURE__ */ (0, c.jsx)("span", {
|
|
1888
1593
|
className: "text-sm",
|
|
@@ -1897,7 +1602,7 @@ function Q({ label: t, checked: n = !1, indeterminate: r = !1, disabled: i, hint
|
|
|
1897
1602
|
}
|
|
1898
1603
|
//#endregion
|
|
1899
1604
|
//#region src/file.tsx
|
|
1900
|
-
function
|
|
1605
|
+
function Te({ multiple: t, maxSize: n = 5, acceptedFormats: r, onChange: i }) {
|
|
1901
1606
|
let [a, o] = e.useState([]), [s, l] = e.useState(!1), u = (e) => {
|
|
1902
1607
|
if (!e) return;
|
|
1903
1608
|
let s = Array.from(e).filter((e) => {
|
|
@@ -1916,9 +1621,9 @@ function Ee({ multiple: t, maxSize: n = 5, acceptedFormats: r, onChange: i }) {
|
|
|
1916
1621
|
onDrop: (e) => {
|
|
1917
1622
|
e.preventDefault(), l(!1), u(e.dataTransfer.files);
|
|
1918
1623
|
},
|
|
1919
|
-
className:
|
|
1624
|
+
className: $("border-2 border-dashed rounded-lg p-6 text-center transition", s ? "border-primary bg-primary/5" : "border-gray-300"),
|
|
1920
1625
|
children: [
|
|
1921
|
-
/* @__PURE__ */ (0, c.jsx)(
|
|
1626
|
+
/* @__PURE__ */ (0, c.jsx)(C, { className: "mx-auto mb-2" }),
|
|
1922
1627
|
/* @__PURE__ */ (0, c.jsx)("p", {
|
|
1923
1628
|
className: "text-sm font-medium",
|
|
1924
1629
|
children: "Arrastra o selecciona un archivo"
|
|
@@ -1950,11 +1655,11 @@ function Ee({ multiple: t, maxSize: n = 5, acceptedFormats: r, onChange: i }) {
|
|
|
1950
1655
|
className: "flex items-center justify-between border p-2 rounded",
|
|
1951
1656
|
children: [/* @__PURE__ */ (0, c.jsxs)("div", {
|
|
1952
1657
|
className: "flex items-center gap-2",
|
|
1953
|
-
children: [/* @__PURE__ */ (0, c.jsx)(
|
|
1658
|
+
children: [/* @__PURE__ */ (0, c.jsx)(x, { size: 16 }), /* @__PURE__ */ (0, c.jsx)("span", {
|
|
1954
1659
|
className: "text-sm",
|
|
1955
1660
|
children: e.name
|
|
1956
1661
|
})]
|
|
1957
|
-
}), /* @__PURE__ */ (0, c.jsx)(
|
|
1662
|
+
}), /* @__PURE__ */ (0, c.jsx)(w, {
|
|
1958
1663
|
size: 16,
|
|
1959
1664
|
className: "cursor-pointer",
|
|
1960
1665
|
onClick: () => {
|
|
@@ -1968,7 +1673,7 @@ function Ee({ multiple: t, maxSize: n = 5, acceptedFormats: r, onChange: i }) {
|
|
|
1968
1673
|
}
|
|
1969
1674
|
//#endregion
|
|
1970
1675
|
//#region src/fileItem.tsx
|
|
1971
|
-
var
|
|
1676
|
+
var Ee = ({ title: e, subtitle: n, iconFile: r, loading: i = !1, state: a = "default", dropdownOptions: o = [], onMenuClick: s }) => {
|
|
1972
1677
|
let [l, u] = t.useState(!1), d = t.useRef(null), f = i || a === "loading";
|
|
1973
1678
|
return t.useEffect(() => {
|
|
1974
1679
|
function e(e) {
|
|
@@ -2172,7 +1877,7 @@ var $ = ({ title: e, subtitle: n, iconFile: r, loading: i = !1, state: a = "defa
|
|
|
2172
1877
|
function ke({ label: t, placeholder: n, value: r = "", hintText: i, required: a, state: o = "default", maxLength: s, showCounter: l, disabled: u, onChange: d, className: f }) {
|
|
2173
1878
|
let [p, m] = e.useState(r), h = r ?? p;
|
|
2174
1879
|
return /* @__PURE__ */ (0, c.jsxs)("div", {
|
|
2175
|
-
className:
|
|
1880
|
+
className: $("flex flex-col gap-1", f),
|
|
2176
1881
|
children: [
|
|
2177
1882
|
t && /* @__PURE__ */ (0, c.jsxs)("label", {
|
|
2178
1883
|
className: "text-sm font-medium",
|
|
@@ -2193,12 +1898,12 @@ function ke({ label: t, placeholder: n, value: r = "", hintText: i, required: a,
|
|
|
2193
1898
|
s && t.length > s || (m(t), d?.(t));
|
|
2194
1899
|
},
|
|
2195
1900
|
disabled: u || o === "disabled",
|
|
2196
|
-
className:
|
|
1901
|
+
className: $("w-full min-h-[100px] rounded-md border px-3 py-2 text-sm outline-none resize-none transition", "focus:ring-2 focus:ring-primary", o === "error" && "border-red-500 focus:ring-red-500", o === "default" && "border-gray-300", (u || o === "disabled") && "bg-gray-100 cursor-not-allowed opacity-70")
|
|
2197
1902
|
}),
|
|
2198
1903
|
/* @__PURE__ */ (0, c.jsxs)("div", {
|
|
2199
1904
|
className: "flex justify-between items-center text-xs",
|
|
2200
1905
|
children: [i && /* @__PURE__ */ (0, c.jsx)("span", {
|
|
2201
|
-
className:
|
|
1906
|
+
className: $(o === "error" ? "text-red-500" : "text-gray-500"),
|
|
2202
1907
|
children: i
|
|
2203
1908
|
}), l && s && /* @__PURE__ */ (0, c.jsxs)("span", {
|
|
2204
1909
|
className: "text-gray-400",
|
|
@@ -2213,4 +1918,4 @@ function ke({ label: t, placeholder: n, value: r = "", hintText: i, required: a,
|
|
|
2213
1918
|
});
|
|
2214
1919
|
}
|
|
2215
1920
|
//#endregion
|
|
2216
|
-
export { l as BackgroundBlur, u as Button, d as CardRow,
|
|
1921
|
+
export { l as BackgroundBlur, u as Button, d as CardRow, we as Checkbox, Ee as FileItem, Te as FileUpload, De as Input, Oe as Modal, ke as TextArea };
|