@dimasbaguspm/versaur 0.0.14 → 0.0.16
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/js/bottom-sheet-Difan0U1.js +340 -0
- package/dist/js/{calendar-B9rIZCdo.js → calendar-CUjVZ7Ap.js} +18 -19
- package/dist/js/enforce-subpath-import.js +1 -0
- package/dist/js/feedbacks/index.js +1 -1
- package/dist/js/{form-layout-PLH-7bWq.js → form-layout-4ASWdXn8.js} +11 -12
- package/dist/js/forms/index.js +1 -1
- package/dist/js/{cn-BKwT3erk.js → index-DOdDlCoL.js} +788 -463
- package/dist/js/index.js +30 -29
- package/dist/js/layouts/index.js +1 -1
- package/dist/js/{menu-oRrbZAAy.js → menu-Bm-yPIMN.js} +5 -6
- package/dist/js/navigation/index.js +1 -1
- package/dist/js/overlays/index.js +2 -2
- package/dist/js/primitive/index.js +15 -14
- package/dist/js/{skeleton-Ma-Fcs06.js → skeleton-BNZyaRjo.js} +5 -6
- package/dist/js/{switch-input-o8oO4Rf4.js → switch-input-Bx6_2zG9.js} +3 -4
- package/dist/js/{tabs-DSeR5XxX.js → tabs-BbOkYchB.js} +5 -6
- package/dist/js/{tile-8hqVMf2m.js → tile-BjhJ5Mvl.js} +160 -113
- package/dist/types/overlays/bottom-sheet/index.d.ts +1 -1
- package/dist/types/primitive/index.d.ts +1 -0
- package/package.json +1 -1
- package/dist/js/bottom-sheet-CBLNEX4F.js +0 -281
- package/dist/js/bottom-sheet.atoms-DFMOaMsU.js +0 -78
- package/dist/js/index-Dmu_fHni.js +0 -329
|
@@ -1,281 +0,0 @@
|
|
|
1
|
-
import { a as l, j as o } from "./index-Dmu_fHni.js";
|
|
2
|
-
import f, { createContext as g, useContext as k, forwardRef as b, useCallback as j, useEffect as x } from "react";
|
|
3
|
-
import { c as d } from "./cn-BKwT3erk.js";
|
|
4
|
-
import { b as B, a as V, B as D, c as E, d as R } from "./bottom-sheet.atoms-DFMOaMsU.js";
|
|
5
|
-
const h = g(null);
|
|
6
|
-
function u() {
|
|
7
|
-
const t = k(h);
|
|
8
|
-
if (!t)
|
|
9
|
-
throw new Error(
|
|
10
|
-
"Drawer components must be used within a DrawerRoot component"
|
|
11
|
-
);
|
|
12
|
-
return t;
|
|
13
|
-
}
|
|
14
|
-
const C = l(
|
|
15
|
-
"fixed inset-0 z-50 transition-opacity duration-300 bg-black/30 backdrop-blur-md",
|
|
16
|
-
{
|
|
17
|
-
variants: {
|
|
18
|
-
state: {
|
|
19
|
-
open: "opacity-100",
|
|
20
|
-
closed: "opacity-0 pointer-events-none"
|
|
21
|
-
}
|
|
22
|
-
},
|
|
23
|
-
defaultVariants: {
|
|
24
|
-
state: "closed"
|
|
25
|
-
}
|
|
26
|
-
}
|
|
27
|
-
), N = l("fixed z-50 shadow-xl flex flex-col", {
|
|
28
|
-
variants: {
|
|
29
|
-
position: {
|
|
30
|
-
left: "left-0 top-0 bottom-0 border-r",
|
|
31
|
-
right: "right-0 top-0 bottom-0 border-l"
|
|
32
|
-
},
|
|
33
|
-
size: {
|
|
34
|
-
sm: "w-80",
|
|
35
|
-
md: "w-96",
|
|
36
|
-
lg: "w-[28rem]",
|
|
37
|
-
xl: "w-[32rem]",
|
|
38
|
-
"3/4": "w-[75vw]",
|
|
39
|
-
full: "w-full"
|
|
40
|
-
},
|
|
41
|
-
variant: {
|
|
42
|
-
default: "bg-white border-gray-200",
|
|
43
|
-
glass: "bg-white/10 backdrop-blur-lg border-white/20"
|
|
44
|
-
},
|
|
45
|
-
transitionType: {
|
|
46
|
-
slide: "transition-transform duration-300 ease-in-out",
|
|
47
|
-
fade: "transition-opacity duration-300 ease-in-out"
|
|
48
|
-
}
|
|
49
|
-
},
|
|
50
|
-
defaultVariants: {
|
|
51
|
-
position: "right",
|
|
52
|
-
size: "md",
|
|
53
|
-
variant: "default",
|
|
54
|
-
transitionType: "slide"
|
|
55
|
-
}
|
|
56
|
-
}), F = l("flex-shrink-0 px-6", {
|
|
57
|
-
variants: {
|
|
58
|
-
variant: {
|
|
59
|
-
default: "bg-white",
|
|
60
|
-
glass: "bg-transparent "
|
|
61
|
-
},
|
|
62
|
-
tab: {
|
|
63
|
-
true: "pt-4 pb-2",
|
|
64
|
-
false: "border-b border-border py-4 "
|
|
65
|
-
}
|
|
66
|
-
},
|
|
67
|
-
defaultVariants: {
|
|
68
|
-
variant: "default",
|
|
69
|
-
tab: !1
|
|
70
|
-
}
|
|
71
|
-
}), S = l("flex-1 overflow-y-auto px-6 py-4", {
|
|
72
|
-
variants: {
|
|
73
|
-
variant: {
|
|
74
|
-
default: "bg-white",
|
|
75
|
-
glass: "bg-transparent"
|
|
76
|
-
}
|
|
77
|
-
},
|
|
78
|
-
defaultVariants: {
|
|
79
|
-
variant: "default"
|
|
80
|
-
}
|
|
81
|
-
}), H = l("flex-shrink-0 px-6 py-4 border-t", {
|
|
82
|
-
variants: {
|
|
83
|
-
variant: {
|
|
84
|
-
default: "bg-white border-gray-200",
|
|
85
|
-
glass: "bg-transparent border-white/10"
|
|
86
|
-
},
|
|
87
|
-
responsiveFlex: {
|
|
88
|
-
true: "flex flex-row gap-3 sm:justify-end [&>*]:sm:flex-grow-0 [&>*]:flex-grow",
|
|
89
|
-
false: "flex gap-2"
|
|
90
|
-
}
|
|
91
|
-
},
|
|
92
|
-
defaultVariants: {
|
|
93
|
-
variant: "default",
|
|
94
|
-
responsiveFlex: !0
|
|
95
|
-
}
|
|
96
|
-
}), z = f.forwardRef(({ className: t, ...e }, r) => {
|
|
97
|
-
const { isOpen: a, onClose: n } = u(), s = () => {
|
|
98
|
-
n();
|
|
99
|
-
};
|
|
100
|
-
return /* @__PURE__ */ o.jsx(
|
|
101
|
-
"div",
|
|
102
|
-
{
|
|
103
|
-
ref: r,
|
|
104
|
-
onClick: s,
|
|
105
|
-
className: d(
|
|
106
|
-
C({
|
|
107
|
-
state: a ? "open" : "closed"
|
|
108
|
-
}),
|
|
109
|
-
t
|
|
110
|
-
),
|
|
111
|
-
...e
|
|
112
|
-
}
|
|
113
|
-
);
|
|
114
|
-
}), L = f.forwardRef(
|
|
115
|
-
({ children: t, className: e, hasTab: r, ...a }, n) => {
|
|
116
|
-
const { variant: s } = u();
|
|
117
|
-
return /* @__PURE__ */ o.jsx(
|
|
118
|
-
"div",
|
|
119
|
-
{
|
|
120
|
-
ref: n,
|
|
121
|
-
className: d(
|
|
122
|
-
F({ variant: s, tab: !!r }),
|
|
123
|
-
e
|
|
124
|
-
),
|
|
125
|
-
...a,
|
|
126
|
-
children: t
|
|
127
|
-
}
|
|
128
|
-
);
|
|
129
|
-
}
|
|
130
|
-
), T = b(
|
|
131
|
-
({ children: t, className: e, ...r }, a) => /* @__PURE__ */ o.jsx("div", { ref: a, className: d("[&>div]:px-6", e), ...r, children: t })
|
|
132
|
-
), _ = f.forwardRef(
|
|
133
|
-
({ children: t, className: e, ...r }, a) => {
|
|
134
|
-
const { variant: n } = u();
|
|
135
|
-
return /* @__PURE__ */ o.jsx(
|
|
136
|
-
"div",
|
|
137
|
-
{
|
|
138
|
-
ref: a,
|
|
139
|
-
className: d(S({ variant: n }), e),
|
|
140
|
-
...r,
|
|
141
|
-
children: t
|
|
142
|
-
}
|
|
143
|
-
);
|
|
144
|
-
}
|
|
145
|
-
), I = f.forwardRef(
|
|
146
|
-
({ children: t, className: e, responsiveFlex: r = !0, ...a }, n) => {
|
|
147
|
-
const { variant: s } = u();
|
|
148
|
-
return /* @__PURE__ */ o.jsx(
|
|
149
|
-
"div",
|
|
150
|
-
{
|
|
151
|
-
ref: n,
|
|
152
|
-
className: d(
|
|
153
|
-
H({ variant: s, responsiveFlex: r }),
|
|
154
|
-
e
|
|
155
|
-
),
|
|
156
|
-
...a,
|
|
157
|
-
children: t
|
|
158
|
-
}
|
|
159
|
-
);
|
|
160
|
-
}
|
|
161
|
-
), P = ({
|
|
162
|
-
children: t,
|
|
163
|
-
isOpen: e,
|
|
164
|
-
onClose: r,
|
|
165
|
-
position: a = "right",
|
|
166
|
-
size: n = "md",
|
|
167
|
-
variant: s = "default",
|
|
168
|
-
transitionType: i = "slide",
|
|
169
|
-
className: c,
|
|
170
|
-
...m
|
|
171
|
-
}) => {
|
|
172
|
-
const w = j(() => {
|
|
173
|
-
r(!1);
|
|
174
|
-
}, [r]), p = {
|
|
175
|
-
isOpen: e,
|
|
176
|
-
onClose: w,
|
|
177
|
-
position: a,
|
|
178
|
-
size: n,
|
|
179
|
-
variant: s,
|
|
180
|
-
transitionType: i
|
|
181
|
-
};
|
|
182
|
-
return x(() => {
|
|
183
|
-
const v = (y) => {
|
|
184
|
-
y.key === "Escape" && e && w();
|
|
185
|
-
};
|
|
186
|
-
return e && (document.addEventListener("keydown", v), document.body.style.overflow = "hidden"), () => {
|
|
187
|
-
document.removeEventListener("keydown", v), document.body.style.overflow = "unset";
|
|
188
|
-
};
|
|
189
|
-
}, [e, w]), /* @__PURE__ */ o.jsx(h.Provider, { value: p, children: /* @__PURE__ */ o.jsxs(
|
|
190
|
-
"div",
|
|
191
|
-
{
|
|
192
|
-
className: d(
|
|
193
|
-
"fixed z-50 inset-0 pointer-events-none",
|
|
194
|
-
e && "pointer-events-auto"
|
|
195
|
-
),
|
|
196
|
-
children: [
|
|
197
|
-
/* @__PURE__ */ o.jsx(z, {}),
|
|
198
|
-
/* @__PURE__ */ o.jsx(
|
|
199
|
-
"div",
|
|
200
|
-
{
|
|
201
|
-
role: e ? "dialog" : void 0,
|
|
202
|
-
"aria-modal": e ? "true" : void 0,
|
|
203
|
-
className: d(
|
|
204
|
-
N({
|
|
205
|
-
position: a,
|
|
206
|
-
size: n,
|
|
207
|
-
variant: s,
|
|
208
|
-
transitionType: i
|
|
209
|
-
}),
|
|
210
|
-
i === "slide" ? [
|
|
211
|
-
!e && a === "left" && "-translate-x-full",
|
|
212
|
-
!e && a === "right" && "translate-x-full"
|
|
213
|
-
] : [
|
|
214
|
-
"left-0 right-0 top-0 bottom-0",
|
|
215
|
-
e ? "opacity-100" : "opacity-0 pointer-events-none"
|
|
216
|
-
],
|
|
217
|
-
c
|
|
218
|
-
),
|
|
219
|
-
...m,
|
|
220
|
-
children: e && t
|
|
221
|
-
}
|
|
222
|
-
)
|
|
223
|
-
]
|
|
224
|
-
}
|
|
225
|
-
) });
|
|
226
|
-
}, M = Object.assign(P, {
|
|
227
|
-
Header: L,
|
|
228
|
-
Tab: T,
|
|
229
|
-
Body: _,
|
|
230
|
-
Footer: I
|
|
231
|
-
}), q = b(
|
|
232
|
-
({ isOpen: t, children: e, className: r, onClose: a, ...n }, s) => {
|
|
233
|
-
x(() => {
|
|
234
|
-
const c = (m) => {
|
|
235
|
-
m.key === "Escape" && t && a();
|
|
236
|
-
};
|
|
237
|
-
return t && (document.addEventListener("keydown", c), document.body.style.overflow = "hidden"), () => {
|
|
238
|
-
document.removeEventListener("keydown", c), document.body.style.overflow = "unset";
|
|
239
|
-
};
|
|
240
|
-
}, [t, a]);
|
|
241
|
-
const i = () => {
|
|
242
|
-
a?.();
|
|
243
|
-
};
|
|
244
|
-
return /* @__PURE__ */ o.jsxs(o.Fragment, { children: [
|
|
245
|
-
/* @__PURE__ */ o.jsx(
|
|
246
|
-
"div",
|
|
247
|
-
{
|
|
248
|
-
className: B({ open: t }),
|
|
249
|
-
"aria-hidden": "true",
|
|
250
|
-
onClick: i
|
|
251
|
-
}
|
|
252
|
-
),
|
|
253
|
-
/* @__PURE__ */ o.jsx(
|
|
254
|
-
"div",
|
|
255
|
-
{
|
|
256
|
-
ref: s,
|
|
257
|
-
className: d(
|
|
258
|
-
V({
|
|
259
|
-
open: t
|
|
260
|
-
}),
|
|
261
|
-
r
|
|
262
|
-
),
|
|
263
|
-
role: "dialog",
|
|
264
|
-
"aria-modal": "true",
|
|
265
|
-
tabIndex: -1,
|
|
266
|
-
...n,
|
|
267
|
-
children: e
|
|
268
|
-
}
|
|
269
|
-
)
|
|
270
|
-
] });
|
|
271
|
-
}
|
|
272
|
-
), Q = Object.assign(q, {
|
|
273
|
-
Header: R,
|
|
274
|
-
Title: (await import("./bottom-sheet.atoms-DFMOaMsU.js").then((t) => t.e)).BottomSheetTitle,
|
|
275
|
-
Body: E,
|
|
276
|
-
Footer: D
|
|
277
|
-
});
|
|
278
|
-
export {
|
|
279
|
-
Q as B,
|
|
280
|
-
M as D
|
|
281
|
-
};
|
|
@@ -1,78 +0,0 @@
|
|
|
1
|
-
import { a, j as r } from "./index-Dmu_fHni.js";
|
|
2
|
-
import { forwardRef as s } from "react";
|
|
3
|
-
const h = a(
|
|
4
|
-
[
|
|
5
|
-
"fixed left-0 bottom-0 z-50 w-full max-h-[90dvh] bg-background rounded-t-xl shadow-lg border-t border-border rounded-lg",
|
|
6
|
-
"transition-transform duration-300 ease-in-out will-change-transform"
|
|
7
|
-
],
|
|
8
|
-
{
|
|
9
|
-
variants: {
|
|
10
|
-
open: {
|
|
11
|
-
true: "translate-y-0",
|
|
12
|
-
false: "translate-y-full"
|
|
13
|
-
}
|
|
14
|
-
},
|
|
15
|
-
defaultVariants: {
|
|
16
|
-
open: !1
|
|
17
|
-
}
|
|
18
|
-
}
|
|
19
|
-
), x = a(
|
|
20
|
-
["fixed inset-0 z-40 duration-300"],
|
|
21
|
-
{
|
|
22
|
-
variants: {
|
|
23
|
-
open: {
|
|
24
|
-
true: "backdrop-blur-md bg-foreground/30",
|
|
25
|
-
false: "pointer-events-none"
|
|
26
|
-
}
|
|
27
|
-
},
|
|
28
|
-
defaultVariants: {
|
|
29
|
-
open: !1
|
|
30
|
-
}
|
|
31
|
-
}
|
|
32
|
-
), l = a("px-4 pt-4 pb-2"), d = a("px-4 py-2"), i = a("px-4 pt-2 pb-4"), m = s(function({ className: t, ...o }, n) {
|
|
33
|
-
return /* @__PURE__ */ r.jsx(
|
|
34
|
-
"h2",
|
|
35
|
-
{
|
|
36
|
-
ref: n,
|
|
37
|
-
className: ["text-lg font-semibold text-foreground", t].filter(Boolean).join(" "),
|
|
38
|
-
...o
|
|
39
|
-
}
|
|
40
|
-
);
|
|
41
|
-
}), f = s(({ className: e, ...t }, o) => /* @__PURE__ */ r.jsx(
|
|
42
|
-
"div",
|
|
43
|
-
{
|
|
44
|
-
ref: o,
|
|
45
|
-
className: l({ className: e }),
|
|
46
|
-
...t
|
|
47
|
-
}
|
|
48
|
-
)), c = s(
|
|
49
|
-
({ className: e, ...t }, o) => /* @__PURE__ */ r.jsx(
|
|
50
|
-
"div",
|
|
51
|
-
{
|
|
52
|
-
ref: o,
|
|
53
|
-
className: d({ className: e }),
|
|
54
|
-
...t
|
|
55
|
-
}
|
|
56
|
-
)
|
|
57
|
-
), b = s(({ className: e, ...t }, o) => /* @__PURE__ */ r.jsx(
|
|
58
|
-
"div",
|
|
59
|
-
{
|
|
60
|
-
ref: o,
|
|
61
|
-
className: i({ className: e }),
|
|
62
|
-
...t
|
|
63
|
-
}
|
|
64
|
-
)), S = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
65
|
-
__proto__: null,
|
|
66
|
-
BottomSheetBody: c,
|
|
67
|
-
BottomSheetFooter: b,
|
|
68
|
-
BottomSheetHeader: f,
|
|
69
|
-
BottomSheetTitle: m
|
|
70
|
-
}, Symbol.toStringTag, { value: "Module" }));
|
|
71
|
-
export {
|
|
72
|
-
b as B,
|
|
73
|
-
h as a,
|
|
74
|
-
x as b,
|
|
75
|
-
c,
|
|
76
|
-
f as d,
|
|
77
|
-
S as e
|
|
78
|
-
};
|
|
@@ -1,329 +0,0 @@
|
|
|
1
|
-
import ne from "react";
|
|
2
|
-
var P = { exports: {} }, y = {};
|
|
3
|
-
/**
|
|
4
|
-
* @license React
|
|
5
|
-
* react-jsx-runtime.production.js
|
|
6
|
-
*
|
|
7
|
-
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
8
|
-
*
|
|
9
|
-
* This source code is licensed under the MIT license found in the
|
|
10
|
-
* LICENSE file in the root directory of this source tree.
|
|
11
|
-
*/
|
|
12
|
-
var W;
|
|
13
|
-
function ae() {
|
|
14
|
-
if (W) return y;
|
|
15
|
-
W = 1;
|
|
16
|
-
var n = Symbol.for("react.transitional.element"), s = Symbol.for("react.fragment");
|
|
17
|
-
function t(a, u, l) {
|
|
18
|
-
var _ = null;
|
|
19
|
-
if (l !== void 0 && (_ = "" + l), u.key !== void 0 && (_ = "" + u.key), "key" in u) {
|
|
20
|
-
l = {};
|
|
21
|
-
for (var E in u)
|
|
22
|
-
E !== "key" && (l[E] = u[E]);
|
|
23
|
-
} else l = u;
|
|
24
|
-
return u = l.ref, {
|
|
25
|
-
$$typeof: n,
|
|
26
|
-
type: a,
|
|
27
|
-
key: _,
|
|
28
|
-
ref: u !== void 0 ? u : null,
|
|
29
|
-
props: l
|
|
30
|
-
};
|
|
31
|
-
}
|
|
32
|
-
return y.Fragment = s, y.jsx = t, y.jsxs = t, y;
|
|
33
|
-
}
|
|
34
|
-
var A = {};
|
|
35
|
-
/**
|
|
36
|
-
* @license React
|
|
37
|
-
* react-jsx-runtime.development.js
|
|
38
|
-
*
|
|
39
|
-
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
40
|
-
*
|
|
41
|
-
* This source code is licensed under the MIT license found in the
|
|
42
|
-
* LICENSE file in the root directory of this source tree.
|
|
43
|
-
*/
|
|
44
|
-
var L;
|
|
45
|
-
function oe() {
|
|
46
|
-
return L || (L = 1, process.env.NODE_ENV !== "production" && function() {
|
|
47
|
-
function n(e) {
|
|
48
|
-
if (e == null) return null;
|
|
49
|
-
if (typeof e == "function")
|
|
50
|
-
return e.$$typeof === ee ? null : e.displayName || e.name || null;
|
|
51
|
-
if (typeof e == "string") return e;
|
|
52
|
-
switch (e) {
|
|
53
|
-
case T:
|
|
54
|
-
return "Fragment";
|
|
55
|
-
case z:
|
|
56
|
-
return "Profiler";
|
|
57
|
-
case O:
|
|
58
|
-
return "StrictMode";
|
|
59
|
-
case H:
|
|
60
|
-
return "Suspense";
|
|
61
|
-
case Z:
|
|
62
|
-
return "SuspenseList";
|
|
63
|
-
case K:
|
|
64
|
-
return "Activity";
|
|
65
|
-
}
|
|
66
|
-
if (typeof e == "object")
|
|
67
|
-
switch (typeof e.tag == "number" && console.error(
|
|
68
|
-
"Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."
|
|
69
|
-
), e.$$typeof) {
|
|
70
|
-
case x:
|
|
71
|
-
return "Portal";
|
|
72
|
-
case X:
|
|
73
|
-
return (e.displayName || "Context") + ".Provider";
|
|
74
|
-
case G:
|
|
75
|
-
return (e._context.displayName || "Context") + ".Consumer";
|
|
76
|
-
case B:
|
|
77
|
-
var r = e.render;
|
|
78
|
-
return e = e.displayName, e || (e = r.displayName || r.name || "", e = e !== "" ? "ForwardRef(" + e + ")" : "ForwardRef"), e;
|
|
79
|
-
case Q:
|
|
80
|
-
return r = e.displayName || null, r !== null ? r : n(e.type) || "Memo";
|
|
81
|
-
case C:
|
|
82
|
-
r = e._payload, e = e._init;
|
|
83
|
-
try {
|
|
84
|
-
return n(e(r));
|
|
85
|
-
} catch {
|
|
86
|
-
}
|
|
87
|
-
}
|
|
88
|
-
return null;
|
|
89
|
-
}
|
|
90
|
-
function s(e) {
|
|
91
|
-
return "" + e;
|
|
92
|
-
}
|
|
93
|
-
function t(e) {
|
|
94
|
-
try {
|
|
95
|
-
s(e);
|
|
96
|
-
var r = !1;
|
|
97
|
-
} catch {
|
|
98
|
-
r = !0;
|
|
99
|
-
}
|
|
100
|
-
if (r) {
|
|
101
|
-
r = console;
|
|
102
|
-
var o = r.error, i = typeof Symbol == "function" && Symbol.toStringTag && e[Symbol.toStringTag] || e.constructor.name || "Object";
|
|
103
|
-
return o.call(
|
|
104
|
-
r,
|
|
105
|
-
"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",
|
|
106
|
-
i
|
|
107
|
-
), s(e);
|
|
108
|
-
}
|
|
109
|
-
}
|
|
110
|
-
function a(e) {
|
|
111
|
-
if (e === T) return "<>";
|
|
112
|
-
if (typeof e == "object" && e !== null && e.$$typeof === C)
|
|
113
|
-
return "<...>";
|
|
114
|
-
try {
|
|
115
|
-
var r = n(e);
|
|
116
|
-
return r ? "<" + r + ">" : "<...>";
|
|
117
|
-
} catch {
|
|
118
|
-
return "<...>";
|
|
119
|
-
}
|
|
120
|
-
}
|
|
121
|
-
function u() {
|
|
122
|
-
var e = g.A;
|
|
123
|
-
return e === null ? null : e.getOwner();
|
|
124
|
-
}
|
|
125
|
-
function l() {
|
|
126
|
-
return Error("react-stack-top-frame");
|
|
127
|
-
}
|
|
128
|
-
function _(e) {
|
|
129
|
-
if (Y.call(e, "key")) {
|
|
130
|
-
var r = Object.getOwnPropertyDescriptor(e, "key").get;
|
|
131
|
-
if (r && r.isReactWarning) return !1;
|
|
132
|
-
}
|
|
133
|
-
return e.key !== void 0;
|
|
134
|
-
}
|
|
135
|
-
function E(e, r) {
|
|
136
|
-
function o() {
|
|
137
|
-
I || (I = !0, console.error(
|
|
138
|
-
"%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)",
|
|
139
|
-
r
|
|
140
|
-
));
|
|
141
|
-
}
|
|
142
|
-
o.isReactWarning = !0, Object.defineProperty(e, "key", {
|
|
143
|
-
get: o,
|
|
144
|
-
configurable: !0
|
|
145
|
-
});
|
|
146
|
-
}
|
|
147
|
-
function S() {
|
|
148
|
-
var e = n(this.type);
|
|
149
|
-
return F[e] || (F[e] = !0, console.error(
|
|
150
|
-
"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."
|
|
151
|
-
)), e = this.props.ref, e !== void 0 ? e : null;
|
|
152
|
-
}
|
|
153
|
-
function f(e, r, o, i, R, m, h, p) {
|
|
154
|
-
return o = m.ref, e = {
|
|
155
|
-
$$typeof: j,
|
|
156
|
-
type: e,
|
|
157
|
-
key: r,
|
|
158
|
-
props: m,
|
|
159
|
-
_owner: R
|
|
160
|
-
}, (o !== void 0 ? o : null) !== null ? Object.defineProperty(e, "ref", {
|
|
161
|
-
enumerable: !1,
|
|
162
|
-
get: S
|
|
163
|
-
}) : Object.defineProperty(e, "ref", { enumerable: !1, value: null }), e._store = {}, Object.defineProperty(e._store, "validated", {
|
|
164
|
-
configurable: !1,
|
|
165
|
-
enumerable: !1,
|
|
166
|
-
writable: !0,
|
|
167
|
-
value: 0
|
|
168
|
-
}), Object.defineProperty(e, "_debugInfo", {
|
|
169
|
-
configurable: !1,
|
|
170
|
-
enumerable: !1,
|
|
171
|
-
writable: !0,
|
|
172
|
-
value: null
|
|
173
|
-
}), Object.defineProperty(e, "_debugStack", {
|
|
174
|
-
configurable: !1,
|
|
175
|
-
enumerable: !1,
|
|
176
|
-
writable: !0,
|
|
177
|
-
value: h
|
|
178
|
-
}), Object.defineProperty(e, "_debugTask", {
|
|
179
|
-
configurable: !1,
|
|
180
|
-
enumerable: !1,
|
|
181
|
-
writable: !0,
|
|
182
|
-
value: p
|
|
183
|
-
}), Object.freeze && (Object.freeze(e.props), Object.freeze(e)), e;
|
|
184
|
-
}
|
|
185
|
-
function v(e, r, o, i, R, m, h, p) {
|
|
186
|
-
var c = r.children;
|
|
187
|
-
if (c !== void 0)
|
|
188
|
-
if (i)
|
|
189
|
-
if (re(c)) {
|
|
190
|
-
for (i = 0; i < c.length; i++)
|
|
191
|
-
b(c[i]);
|
|
192
|
-
Object.freeze && Object.freeze(c);
|
|
193
|
-
} else
|
|
194
|
-
console.error(
|
|
195
|
-
"React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead."
|
|
196
|
-
);
|
|
197
|
-
else b(c);
|
|
198
|
-
if (Y.call(r, "key")) {
|
|
199
|
-
c = n(e);
|
|
200
|
-
var k = Object.keys(r).filter(function(te) {
|
|
201
|
-
return te !== "key";
|
|
202
|
-
});
|
|
203
|
-
i = 0 < k.length ? "{key: someKey, " + k.join(": ..., ") + ": ...}" : "{key: someKey}", D[c + i] || (k = 0 < k.length ? "{" + k.join(": ..., ") + ": ...}" : "{}", console.error(
|
|
204
|
-
`A props object containing a "key" prop is being spread into JSX:
|
|
205
|
-
let props = %s;
|
|
206
|
-
<%s {...props} />
|
|
207
|
-
React keys must be passed directly to JSX without using spread:
|
|
208
|
-
let props = %s;
|
|
209
|
-
<%s key={someKey} {...props} />`,
|
|
210
|
-
i,
|
|
211
|
-
c,
|
|
212
|
-
k,
|
|
213
|
-
c
|
|
214
|
-
), D[c + i] = !0);
|
|
215
|
-
}
|
|
216
|
-
if (c = null, o !== void 0 && (t(o), c = "" + o), _(r) && (t(r.key), c = "" + r.key), "key" in r) {
|
|
217
|
-
o = {};
|
|
218
|
-
for (var N in r)
|
|
219
|
-
N !== "key" && (o[N] = r[N]);
|
|
220
|
-
} else o = r;
|
|
221
|
-
return c && E(
|
|
222
|
-
o,
|
|
223
|
-
typeof e == "function" ? e.displayName || e.name || "Unknown" : e
|
|
224
|
-
), f(
|
|
225
|
-
e,
|
|
226
|
-
c,
|
|
227
|
-
m,
|
|
228
|
-
R,
|
|
229
|
-
u(),
|
|
230
|
-
o,
|
|
231
|
-
h,
|
|
232
|
-
p
|
|
233
|
-
);
|
|
234
|
-
}
|
|
235
|
-
function b(e) {
|
|
236
|
-
typeof e == "object" && e !== null && e.$$typeof === j && e._store && (e._store.validated = 1);
|
|
237
|
-
}
|
|
238
|
-
var d = ne, j = Symbol.for("react.transitional.element"), x = Symbol.for("react.portal"), T = Symbol.for("react.fragment"), O = Symbol.for("react.strict_mode"), z = Symbol.for("react.profiler"), G = Symbol.for("react.consumer"), X = Symbol.for("react.context"), B = Symbol.for("react.forward_ref"), H = Symbol.for("react.suspense"), Z = Symbol.for("react.suspense_list"), Q = Symbol.for("react.memo"), C = Symbol.for("react.lazy"), K = Symbol.for("react.activity"), ee = Symbol.for("react.client.reference"), g = d.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, Y = Object.prototype.hasOwnProperty, re = Array.isArray, w = console.createTask ? console.createTask : function() {
|
|
239
|
-
return null;
|
|
240
|
-
};
|
|
241
|
-
d = {
|
|
242
|
-
"react-stack-bottom-frame": function(e) {
|
|
243
|
-
return e();
|
|
244
|
-
}
|
|
245
|
-
};
|
|
246
|
-
var I, F = {}, V = d["react-stack-bottom-frame"].bind(
|
|
247
|
-
d,
|
|
248
|
-
l
|
|
249
|
-
)(), $ = w(a(l)), D = {};
|
|
250
|
-
A.Fragment = T, A.jsx = function(e, r, o, i, R) {
|
|
251
|
-
var m = 1e4 > g.recentlyCreatedOwnerStacks++;
|
|
252
|
-
return v(
|
|
253
|
-
e,
|
|
254
|
-
r,
|
|
255
|
-
o,
|
|
256
|
-
!1,
|
|
257
|
-
i,
|
|
258
|
-
R,
|
|
259
|
-
m ? Error("react-stack-top-frame") : V,
|
|
260
|
-
m ? w(a(e)) : $
|
|
261
|
-
);
|
|
262
|
-
}, A.jsxs = function(e, r, o, i, R) {
|
|
263
|
-
var m = 1e4 > g.recentlyCreatedOwnerStacks++;
|
|
264
|
-
return v(
|
|
265
|
-
e,
|
|
266
|
-
r,
|
|
267
|
-
o,
|
|
268
|
-
!0,
|
|
269
|
-
i,
|
|
270
|
-
R,
|
|
271
|
-
m ? Error("react-stack-top-frame") : V,
|
|
272
|
-
m ? w(a(e)) : $
|
|
273
|
-
);
|
|
274
|
-
};
|
|
275
|
-
}()), A;
|
|
276
|
-
}
|
|
277
|
-
var M;
|
|
278
|
-
function se() {
|
|
279
|
-
return M || (M = 1, process.env.NODE_ENV === "production" ? P.exports = ae() : P.exports = oe()), P.exports;
|
|
280
|
-
}
|
|
281
|
-
var ie = se();
|
|
282
|
-
function q(n) {
|
|
283
|
-
var s, t, a = "";
|
|
284
|
-
if (typeof n == "string" || typeof n == "number") a += n;
|
|
285
|
-
else if (typeof n == "object") if (Array.isArray(n)) {
|
|
286
|
-
var u = n.length;
|
|
287
|
-
for (s = 0; s < u; s++) n[s] && (t = q(n[s])) && (a && (a += " "), a += t);
|
|
288
|
-
} else for (t in n) n[t] && (a && (a += " "), a += t);
|
|
289
|
-
return a;
|
|
290
|
-
}
|
|
291
|
-
function ue() {
|
|
292
|
-
for (var n, s, t = 0, a = "", u = arguments.length; t < u; t++) (n = arguments[t]) && (s = q(n)) && (a && (a += " "), a += s);
|
|
293
|
-
return a;
|
|
294
|
-
}
|
|
295
|
-
const U = (n) => typeof n == "boolean" ? `${n}` : n === 0 ? "0" : n, J = ue, ce = (n, s) => (t) => {
|
|
296
|
-
var a;
|
|
297
|
-
if (s?.variants == null) return J(n, t?.class, t?.className);
|
|
298
|
-
const { variants: u, defaultVariants: l } = s, _ = Object.keys(u).map((f) => {
|
|
299
|
-
const v = t?.[f], b = l?.[f];
|
|
300
|
-
if (v === null) return null;
|
|
301
|
-
const d = U(v) || U(b);
|
|
302
|
-
return u[f][d];
|
|
303
|
-
}), E = t && Object.entries(t).reduce((f, v) => {
|
|
304
|
-
let [b, d] = v;
|
|
305
|
-
return d === void 0 || (f[b] = d), f;
|
|
306
|
-
}, {}), S = s == null || (a = s.compoundVariants) === null || a === void 0 ? void 0 : a.reduce((f, v) => {
|
|
307
|
-
let { class: b, className: d, ...j } = v;
|
|
308
|
-
return Object.entries(j).every((x) => {
|
|
309
|
-
let [T, O] = x;
|
|
310
|
-
return Array.isArray(O) ? O.includes({
|
|
311
|
-
...l,
|
|
312
|
-
...E
|
|
313
|
-
}[T]) : {
|
|
314
|
-
...l,
|
|
315
|
-
...E
|
|
316
|
-
}[T] === O;
|
|
317
|
-
}) ? [
|
|
318
|
-
...f,
|
|
319
|
-
b,
|
|
320
|
-
d
|
|
321
|
-
] : f;
|
|
322
|
-
}, []);
|
|
323
|
-
return J(n, _, S, t?.class, t?.className);
|
|
324
|
-
};
|
|
325
|
-
export {
|
|
326
|
-
ce as a,
|
|
327
|
-
ue as c,
|
|
328
|
-
ie as j
|
|
329
|
-
};
|