@ronnydrori/jupiter-ui 1.0.0
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/README.md +483 -0
- package/dist/index.d.ts +396 -0
- package/dist/index.js +4774 -0
- package/package.json +73 -0
package/dist/index.js
ADDED
|
@@ -0,0 +1,4774 @@
|
|
|
1
|
+
import * as re from "react";
|
|
2
|
+
import st, { useState as Me, useRef as Oe, useEffect as pe, useLayoutEffect as da, createContext as ct, useContext as er, useMemo as fn, useCallback as Wt, useId as pa, forwardRef as de } from "react";
|
|
3
|
+
import ma from "react-dom";
|
|
4
|
+
const se = {
|
|
5
|
+
0: "0px",
|
|
6
|
+
1: "4px",
|
|
7
|
+
2: "8px",
|
|
8
|
+
3: "12px",
|
|
9
|
+
4: "16px",
|
|
10
|
+
5: "20px",
|
|
11
|
+
6: "24px",
|
|
12
|
+
7: "28px",
|
|
13
|
+
8: "32px",
|
|
14
|
+
9: "36px"
|
|
15
|
+
}, ls = {
|
|
16
|
+
xs: se[1],
|
|
17
|
+
// 4px
|
|
18
|
+
sm: se[2],
|
|
19
|
+
// 8px
|
|
20
|
+
md: se[4],
|
|
21
|
+
// 16px
|
|
22
|
+
lg: se[6],
|
|
23
|
+
// 24px
|
|
24
|
+
xl: se[8]
|
|
25
|
+
// 32px
|
|
26
|
+
}, He = {
|
|
27
|
+
none: "0px",
|
|
28
|
+
sm: "2px",
|
|
29
|
+
base: "4px",
|
|
30
|
+
md: "6px",
|
|
31
|
+
lg: "8px",
|
|
32
|
+
xl: "12px",
|
|
33
|
+
"2xl": "16px",
|
|
34
|
+
"3xl": "24px",
|
|
35
|
+
full: "9999px"
|
|
36
|
+
}, Ve = {
|
|
37
|
+
none: "0",
|
|
38
|
+
thin: "1px",
|
|
39
|
+
base: "1px",
|
|
40
|
+
medium: "2px",
|
|
41
|
+
thick: "4px"
|
|
42
|
+
}, yr = {
|
|
43
|
+
solid: "solid",
|
|
44
|
+
dashed: "dashed",
|
|
45
|
+
dotted: "dotted",
|
|
46
|
+
none: "none"
|
|
47
|
+
}, Sr = {
|
|
48
|
+
sans: '-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif',
|
|
49
|
+
serif: 'Georgia, Cambria, "Times New Roman", Times, serif',
|
|
50
|
+
mono: 'Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace'
|
|
51
|
+
}, F = {
|
|
52
|
+
xs: "0.75rem",
|
|
53
|
+
// 12px
|
|
54
|
+
sm: "0.875rem",
|
|
55
|
+
// 14px
|
|
56
|
+
base: "1rem",
|
|
57
|
+
// 16px
|
|
58
|
+
lg: "1.125rem",
|
|
59
|
+
// 18px
|
|
60
|
+
xl: "1.25rem",
|
|
61
|
+
// 20px
|
|
62
|
+
"2xl": "1.5rem",
|
|
63
|
+
// 24px
|
|
64
|
+
"3xl": "1.875rem",
|
|
65
|
+
// 30px
|
|
66
|
+
"4xl": "2.25rem",
|
|
67
|
+
// 36px
|
|
68
|
+
"5xl": "3rem",
|
|
69
|
+
// 48px
|
|
70
|
+
"6xl": "3.75rem",
|
|
71
|
+
// 60px
|
|
72
|
+
"7xl": "4.5rem",
|
|
73
|
+
// 72px
|
|
74
|
+
"8xl": "6rem",
|
|
75
|
+
// 96px
|
|
76
|
+
"9xl": "8rem"
|
|
77
|
+
// 128px
|
|
78
|
+
}, I = {
|
|
79
|
+
thin: 100,
|
|
80
|
+
extralight: 200,
|
|
81
|
+
light: 300,
|
|
82
|
+
normal: 400,
|
|
83
|
+
medium: 500,
|
|
84
|
+
semibold: 600,
|
|
85
|
+
bold: 700,
|
|
86
|
+
extrabold: 800,
|
|
87
|
+
black: 900
|
|
88
|
+
}, Y = {
|
|
89
|
+
none: "1",
|
|
90
|
+
tight: "1.25",
|
|
91
|
+
snug: "1.375",
|
|
92
|
+
normal: "1.5",
|
|
93
|
+
relaxed: "1.625",
|
|
94
|
+
loose: "2"
|
|
95
|
+
}, U = {
|
|
96
|
+
tighter: "-0.05em",
|
|
97
|
+
tight: "-0.025em",
|
|
98
|
+
normal: "0em",
|
|
99
|
+
wide: "0.025em",
|
|
100
|
+
wider: "0.05em",
|
|
101
|
+
widest: "0.1em"
|
|
102
|
+
}, N = {
|
|
103
|
+
h1: {
|
|
104
|
+
fontSize: F["5xl"],
|
|
105
|
+
fontWeight: I.bold,
|
|
106
|
+
lineHeight: Y.tight,
|
|
107
|
+
letterSpacing: U.tight
|
|
108
|
+
},
|
|
109
|
+
h2: {
|
|
110
|
+
fontSize: F["4xl"],
|
|
111
|
+
fontWeight: I.bold,
|
|
112
|
+
lineHeight: Y.tight,
|
|
113
|
+
letterSpacing: U.tight
|
|
114
|
+
},
|
|
115
|
+
h3: {
|
|
116
|
+
fontSize: F["3xl"],
|
|
117
|
+
fontWeight: I.semibold,
|
|
118
|
+
lineHeight: Y.snug,
|
|
119
|
+
letterSpacing: U.normal
|
|
120
|
+
},
|
|
121
|
+
h4: {
|
|
122
|
+
fontSize: F["2xl"],
|
|
123
|
+
fontWeight: I.semibold,
|
|
124
|
+
lineHeight: Y.snug,
|
|
125
|
+
letterSpacing: U.normal
|
|
126
|
+
},
|
|
127
|
+
h5: {
|
|
128
|
+
fontSize: F.xl,
|
|
129
|
+
fontWeight: I.semibold,
|
|
130
|
+
lineHeight: Y.normal,
|
|
131
|
+
letterSpacing: U.normal
|
|
132
|
+
},
|
|
133
|
+
h6: {
|
|
134
|
+
fontSize: F.lg,
|
|
135
|
+
fontWeight: I.semibold,
|
|
136
|
+
lineHeight: Y.normal,
|
|
137
|
+
letterSpacing: U.normal
|
|
138
|
+
},
|
|
139
|
+
body: {
|
|
140
|
+
fontSize: F.base,
|
|
141
|
+
fontWeight: I.normal,
|
|
142
|
+
lineHeight: Y.normal,
|
|
143
|
+
letterSpacing: U.normal
|
|
144
|
+
},
|
|
145
|
+
bodySmall: {
|
|
146
|
+
fontSize: F.sm,
|
|
147
|
+
fontWeight: I.normal,
|
|
148
|
+
lineHeight: Y.normal,
|
|
149
|
+
letterSpacing: U.normal
|
|
150
|
+
},
|
|
151
|
+
caption: {
|
|
152
|
+
fontSize: F.xs,
|
|
153
|
+
fontWeight: I.normal,
|
|
154
|
+
lineHeight: Y.normal,
|
|
155
|
+
letterSpacing: U.wide
|
|
156
|
+
},
|
|
157
|
+
button: {
|
|
158
|
+
fontSize: F.sm,
|
|
159
|
+
fontWeight: I.medium,
|
|
160
|
+
lineHeight: Y.none,
|
|
161
|
+
letterSpacing: U.wide
|
|
162
|
+
},
|
|
163
|
+
code: {
|
|
164
|
+
fontFamily: Sr.mono,
|
|
165
|
+
fontSize: F.sm,
|
|
166
|
+
fontWeight: I.normal,
|
|
167
|
+
lineHeight: Y.normal
|
|
168
|
+
}
|
|
169
|
+
}, De = {
|
|
170
|
+
none: "none",
|
|
171
|
+
xs: "0 1px 2px 0 rgba(0, 0, 0, 0.05)",
|
|
172
|
+
sm: "0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.1)",
|
|
173
|
+
base: "0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1)",
|
|
174
|
+
md: "0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1)",
|
|
175
|
+
lg: "0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1)",
|
|
176
|
+
xl: "0 25px 50px -12px rgba(0, 0, 0, 0.25)",
|
|
177
|
+
"2xl": "0 35px 60px -15px rgba(0, 0, 0, 0.3)",
|
|
178
|
+
inner: "inset 0 2px 4px 0 rgba(0, 0, 0, 0.05)",
|
|
179
|
+
outline: "0 0 0 3px rgba(66, 153, 225, 0.5)"
|
|
180
|
+
}, fs = {
|
|
181
|
+
none: "none",
|
|
182
|
+
xs: "0 1px 2px 0 rgba(0, 0, 0, 0.3)",
|
|
183
|
+
sm: "0 1px 3px 0 rgba(0, 0, 0, 0.4), 0 1px 2px -1px rgba(0, 0, 0, 0.4)",
|
|
184
|
+
base: "0 4px 6px -1px rgba(0, 0, 0, 0.4), 0 2px 4px -2px rgba(0, 0, 0, 0.4)",
|
|
185
|
+
md: "0 10px 15px -3px rgba(0, 0, 0, 0.4), 0 4px 6px -4px rgba(0, 0, 0, 0.4)",
|
|
186
|
+
lg: "0 20px 25px -5px rgba(0, 0, 0, 0.5), 0 8px 10px -6px rgba(0, 0, 0, 0.4)",
|
|
187
|
+
xl: "0 25px 50px -12px rgba(0, 0, 0, 0.6)",
|
|
188
|
+
"2xl": "0 35px 60px -15px rgba(0, 0, 0, 0.7)",
|
|
189
|
+
inner: "inset 0 2px 4px 0 rgba(0, 0, 0, 0.3)",
|
|
190
|
+
outline: "0 0 0 3px rgba(66, 153, 225, 0.5)"
|
|
191
|
+
}, us = {
|
|
192
|
+
hide: -1,
|
|
193
|
+
base: 0,
|
|
194
|
+
dropdown: 1e3,
|
|
195
|
+
sticky: 1100,
|
|
196
|
+
fixed: 1200,
|
|
197
|
+
modalBackdrop: 1300,
|
|
198
|
+
modal: 1400,
|
|
199
|
+
popover: 1500,
|
|
200
|
+
tooltip: 1600,
|
|
201
|
+
notification: 1700,
|
|
202
|
+
max: 9999
|
|
203
|
+
}, ds = {
|
|
204
|
+
xs: "36em",
|
|
205
|
+
// 576px
|
|
206
|
+
sm: "48em",
|
|
207
|
+
// 768px
|
|
208
|
+
md: "62em",
|
|
209
|
+
// 992px
|
|
210
|
+
lg: "75em",
|
|
211
|
+
// 1200px
|
|
212
|
+
xl: "88em"
|
|
213
|
+
// 1408px
|
|
214
|
+
};
|
|
215
|
+
function ce(e) {
|
|
216
|
+
return Object.keys(e);
|
|
217
|
+
}
|
|
218
|
+
function Dr(e) {
|
|
219
|
+
return e && typeof e == "object" && !Array.isArray(e);
|
|
220
|
+
}
|
|
221
|
+
function lt(e, r) {
|
|
222
|
+
const t = { ...e }, n = r;
|
|
223
|
+
return Dr(e) && Dr(r) && Object.keys(r).forEach((a) => {
|
|
224
|
+
Dr(n[a]) && a in e ? t[a] = lt(t[a], n[a]) : t[a] = n[a];
|
|
225
|
+
}), t;
|
|
226
|
+
}
|
|
227
|
+
function ha(e) {
|
|
228
|
+
return e.replace(/[A-Z]/g, (r) => `-${r.toLowerCase()}`);
|
|
229
|
+
}
|
|
230
|
+
function ga(e) {
|
|
231
|
+
var r;
|
|
232
|
+
return typeof e != "string" || !e.includes("var(--mantine-scale)") ? e : (r = e.match(/^calc\((.*?)\)$/)) == null ? void 0 : r[1].split("*")[0].trim();
|
|
233
|
+
}
|
|
234
|
+
function ya(e) {
|
|
235
|
+
const r = ga(e);
|
|
236
|
+
return typeof r == "number" ? r : typeof r == "string" ? r.includes("calc") || r.includes("var") ? r : r.includes("px") ? Number(r.replace("px", "")) : r.includes("rem") ? Number(r.replace("rem", "")) * 16 : r.includes("em") ? Number(r.replace("em", "")) * 16 : Number(r) : NaN;
|
|
237
|
+
}
|
|
238
|
+
function Br(e) {
|
|
239
|
+
return e === "0rem" ? "0rem" : `calc(${e} * var(--mantine-scale))`;
|
|
240
|
+
}
|
|
241
|
+
function un(e, { shouldScale: r = !1 } = {}) {
|
|
242
|
+
function t(n) {
|
|
243
|
+
if (n === 0 || n === "0")
|
|
244
|
+
return `0${e}`;
|
|
245
|
+
if (typeof n == "number") {
|
|
246
|
+
const a = `${n / 16}${e}`;
|
|
247
|
+
return r ? Br(a) : a;
|
|
248
|
+
}
|
|
249
|
+
if (typeof n == "string") {
|
|
250
|
+
if (n === "" || n.startsWith("calc(") || n.startsWith("clamp(") || n.includes("rgba("))
|
|
251
|
+
return n;
|
|
252
|
+
if (n.includes(","))
|
|
253
|
+
return n.split(",").map((i) => t(i)).join(",");
|
|
254
|
+
if (n.includes(" "))
|
|
255
|
+
return n.split(" ").map((i) => t(i)).join(" ");
|
|
256
|
+
if (n.includes(e))
|
|
257
|
+
return r ? Br(n) : n;
|
|
258
|
+
const a = n.replace("px", "");
|
|
259
|
+
if (!Number.isNaN(Number(a))) {
|
|
260
|
+
const i = `${Number(a) / 16}${e}`;
|
|
261
|
+
return r ? Br(i) : i;
|
|
262
|
+
}
|
|
263
|
+
}
|
|
264
|
+
return n;
|
|
265
|
+
}
|
|
266
|
+
return t;
|
|
267
|
+
}
|
|
268
|
+
const m = un("rem", { shouldScale: !0 }), It = un("em");
|
|
269
|
+
function ft(e) {
|
|
270
|
+
return Object.keys(e).reduce((r, t) => (e[t] !== void 0 && (r[t] = e[t]), r), {});
|
|
271
|
+
}
|
|
272
|
+
function dn(e) {
|
|
273
|
+
if (typeof e == "number")
|
|
274
|
+
return !0;
|
|
275
|
+
if (typeof e == "string") {
|
|
276
|
+
if (e.startsWith("calc(") || e.startsWith("var(") || e.includes(" ") && e.trim() !== "")
|
|
277
|
+
return !0;
|
|
278
|
+
const r = /^[+-]?[0-9]+(\.[0-9]+)?(px|em|rem|ex|ch|lh|rlh|vw|vh|vmin|vmax|vb|vi|svw|svh|lvw|lvh|dvw|dvh|cm|mm|in|pt|pc|q|cqw|cqh|cqi|cqb|cqmin|cqmax|%)?$/;
|
|
279
|
+
return e.trim().split(/\s+/).every((n) => r.test(n));
|
|
280
|
+
}
|
|
281
|
+
return !1;
|
|
282
|
+
}
|
|
283
|
+
var Zr = { exports: {} }, Be = {};
|
|
284
|
+
/**
|
|
285
|
+
* @license React
|
|
286
|
+
* react-jsx-runtime.production.min.js
|
|
287
|
+
*
|
|
288
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
289
|
+
*
|
|
290
|
+
* This source code is licensed under the MIT license found in the
|
|
291
|
+
* LICENSE file in the root directory of this source tree.
|
|
292
|
+
*/
|
|
293
|
+
var Lt;
|
|
294
|
+
function ba() {
|
|
295
|
+
if (Lt) return Be;
|
|
296
|
+
Lt = 1;
|
|
297
|
+
var e = st, r = Symbol.for("react.element"), t = Symbol.for("react.fragment"), n = Object.prototype.hasOwnProperty, a = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, i = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
298
|
+
function s(c, l, p) {
|
|
299
|
+
var f, u = {}, h = null, x = null;
|
|
300
|
+
p !== void 0 && (h = "" + p), l.key !== void 0 && (h = "" + l.key), l.ref !== void 0 && (x = l.ref);
|
|
301
|
+
for (f in l) n.call(l, f) && !i.hasOwnProperty(f) && (u[f] = l[f]);
|
|
302
|
+
if (c && c.defaultProps) for (f in l = c.defaultProps, l) u[f] === void 0 && (u[f] = l[f]);
|
|
303
|
+
return { $$typeof: r, type: c, key: h, ref: x, props: u, _owner: a.current };
|
|
304
|
+
}
|
|
305
|
+
return Be.Fragment = t, Be.jsx = s, Be.jsxs = s, Be;
|
|
306
|
+
}
|
|
307
|
+
var Ye = {};
|
|
308
|
+
/**
|
|
309
|
+
* @license React
|
|
310
|
+
* react-jsx-runtime.development.js
|
|
311
|
+
*
|
|
312
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
313
|
+
*
|
|
314
|
+
* This source code is licensed under the MIT license found in the
|
|
315
|
+
* LICENSE file in the root directory of this source tree.
|
|
316
|
+
*/
|
|
317
|
+
var zt;
|
|
318
|
+
function va() {
|
|
319
|
+
return zt || (zt = 1, process.env.NODE_ENV !== "production" && function() {
|
|
320
|
+
var e = st, r = Symbol.for("react.element"), t = Symbol.for("react.portal"), n = Symbol.for("react.fragment"), a = Symbol.for("react.strict_mode"), i = Symbol.for("react.profiler"), s = Symbol.for("react.provider"), c = Symbol.for("react.context"), l = Symbol.for("react.forward_ref"), p = Symbol.for("react.suspense"), f = Symbol.for("react.suspense_list"), u = Symbol.for("react.memo"), h = Symbol.for("react.lazy"), x = Symbol.for("react.offscreen"), v = Symbol.iterator, y = "@@iterator";
|
|
321
|
+
function b(o) {
|
|
322
|
+
if (o === null || typeof o != "object")
|
|
323
|
+
return null;
|
|
324
|
+
var d = v && o[v] || o[y];
|
|
325
|
+
return typeof d == "function" ? d : null;
|
|
326
|
+
}
|
|
327
|
+
var $ = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
328
|
+
function w(o) {
|
|
329
|
+
{
|
|
330
|
+
for (var d = arguments.length, g = new Array(d > 1 ? d - 1 : 0), k = 1; k < d; k++)
|
|
331
|
+
g[k - 1] = arguments[k];
|
|
332
|
+
T("error", o, g);
|
|
333
|
+
}
|
|
334
|
+
}
|
|
335
|
+
function T(o, d, g) {
|
|
336
|
+
{
|
|
337
|
+
var k = $.ReactDebugCurrentFrame, j = k.getStackAddendum();
|
|
338
|
+
j !== "" && (d += "%s", g = g.concat([j]));
|
|
339
|
+
var M = g.map(function(_) {
|
|
340
|
+
return String(_);
|
|
341
|
+
});
|
|
342
|
+
M.unshift("Warning: " + d), Function.prototype.apply.call(console[o], console, M);
|
|
343
|
+
}
|
|
344
|
+
}
|
|
345
|
+
var O = !1, L = !1, A = !1, S = !1, W = !1, J;
|
|
346
|
+
J = Symbol.for("react.module.reference");
|
|
347
|
+
function X(o) {
|
|
348
|
+
return !!(typeof o == "string" || typeof o == "function" || o === n || o === i || W || o === a || o === p || o === f || S || o === x || O || L || A || typeof o == "object" && o !== null && (o.$$typeof === h || o.$$typeof === u || o.$$typeof === s || o.$$typeof === c || o.$$typeof === l || // This needs to include all possible module reference object
|
|
349
|
+
// types supported by any Flight configuration anywhere since
|
|
350
|
+
// we don't know which Flight build this will end up being used
|
|
351
|
+
// with.
|
|
352
|
+
o.$$typeof === J || o.getModuleId !== void 0));
|
|
353
|
+
}
|
|
354
|
+
function ne(o, d, g) {
|
|
355
|
+
var k = o.displayName;
|
|
356
|
+
if (k)
|
|
357
|
+
return k;
|
|
358
|
+
var j = d.displayName || d.name || "";
|
|
359
|
+
return j !== "" ? g + "(" + j + ")" : g;
|
|
360
|
+
}
|
|
361
|
+
function ir(o) {
|
|
362
|
+
return o.displayName || "Context";
|
|
363
|
+
}
|
|
364
|
+
function ae(o) {
|
|
365
|
+
if (o == null)
|
|
366
|
+
return null;
|
|
367
|
+
if (typeof o.tag == "number" && w("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof o == "function")
|
|
368
|
+
return o.displayName || o.name || null;
|
|
369
|
+
if (typeof o == "string")
|
|
370
|
+
return o;
|
|
371
|
+
switch (o) {
|
|
372
|
+
case n:
|
|
373
|
+
return "Fragment";
|
|
374
|
+
case t:
|
|
375
|
+
return "Portal";
|
|
376
|
+
case i:
|
|
377
|
+
return "Profiler";
|
|
378
|
+
case a:
|
|
379
|
+
return "StrictMode";
|
|
380
|
+
case p:
|
|
381
|
+
return "Suspense";
|
|
382
|
+
case f:
|
|
383
|
+
return "SuspenseList";
|
|
384
|
+
}
|
|
385
|
+
if (typeof o == "object")
|
|
386
|
+
switch (o.$$typeof) {
|
|
387
|
+
case c:
|
|
388
|
+
var d = o;
|
|
389
|
+
return ir(d) + ".Consumer";
|
|
390
|
+
case s:
|
|
391
|
+
var g = o;
|
|
392
|
+
return ir(g._context) + ".Provider";
|
|
393
|
+
case l:
|
|
394
|
+
return ne(o, o.render, "ForwardRef");
|
|
395
|
+
case u:
|
|
396
|
+
var k = o.displayName || null;
|
|
397
|
+
return k !== null ? k : ae(o.type) || "Memo";
|
|
398
|
+
case h: {
|
|
399
|
+
var j = o, M = j._payload, _ = j._init;
|
|
400
|
+
try {
|
|
401
|
+
return ae(_(M));
|
|
402
|
+
} catch {
|
|
403
|
+
return null;
|
|
404
|
+
}
|
|
405
|
+
}
|
|
406
|
+
}
|
|
407
|
+
return null;
|
|
408
|
+
}
|
|
409
|
+
var fe = Object.assign, ge = 0, or, sr, cr, lr, fr, ur, dr;
|
|
410
|
+
function pr() {
|
|
411
|
+
}
|
|
412
|
+
pr.__reactDisabledLog = !0;
|
|
413
|
+
function Ar() {
|
|
414
|
+
{
|
|
415
|
+
if (ge === 0) {
|
|
416
|
+
or = console.log, sr = console.info, cr = console.warn, lr = console.error, fr = console.group, ur = console.groupCollapsed, dr = console.groupEnd;
|
|
417
|
+
var o = {
|
|
418
|
+
configurable: !0,
|
|
419
|
+
enumerable: !0,
|
|
420
|
+
value: pr,
|
|
421
|
+
writable: !0
|
|
422
|
+
};
|
|
423
|
+
Object.defineProperties(console, {
|
|
424
|
+
info: o,
|
|
425
|
+
log: o,
|
|
426
|
+
warn: o,
|
|
427
|
+
error: o,
|
|
428
|
+
group: o,
|
|
429
|
+
groupCollapsed: o,
|
|
430
|
+
groupEnd: o
|
|
431
|
+
});
|
|
432
|
+
}
|
|
433
|
+
ge++;
|
|
434
|
+
}
|
|
435
|
+
}
|
|
436
|
+
function Mr() {
|
|
437
|
+
{
|
|
438
|
+
if (ge--, ge === 0) {
|
|
439
|
+
var o = {
|
|
440
|
+
configurable: !0,
|
|
441
|
+
enumerable: !0,
|
|
442
|
+
writable: !0
|
|
443
|
+
};
|
|
444
|
+
Object.defineProperties(console, {
|
|
445
|
+
log: fe({}, o, {
|
|
446
|
+
value: or
|
|
447
|
+
}),
|
|
448
|
+
info: fe({}, o, {
|
|
449
|
+
value: sr
|
|
450
|
+
}),
|
|
451
|
+
warn: fe({}, o, {
|
|
452
|
+
value: cr
|
|
453
|
+
}),
|
|
454
|
+
error: fe({}, o, {
|
|
455
|
+
value: lr
|
|
456
|
+
}),
|
|
457
|
+
group: fe({}, o, {
|
|
458
|
+
value: fr
|
|
459
|
+
}),
|
|
460
|
+
groupCollapsed: fe({}, o, {
|
|
461
|
+
value: ur
|
|
462
|
+
}),
|
|
463
|
+
groupEnd: fe({}, o, {
|
|
464
|
+
value: dr
|
|
465
|
+
})
|
|
466
|
+
});
|
|
467
|
+
}
|
|
468
|
+
ge < 0 && w("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
|
|
469
|
+
}
|
|
470
|
+
}
|
|
471
|
+
var Ie = $.ReactCurrentDispatcher, Le;
|
|
472
|
+
function Se(o, d, g) {
|
|
473
|
+
{
|
|
474
|
+
if (Le === void 0)
|
|
475
|
+
try {
|
|
476
|
+
throw Error();
|
|
477
|
+
} catch (j) {
|
|
478
|
+
var k = j.stack.trim().match(/\n( *(at )?)/);
|
|
479
|
+
Le = k && k[1] || "";
|
|
480
|
+
}
|
|
481
|
+
return `
|
|
482
|
+
` + Le + o;
|
|
483
|
+
}
|
|
484
|
+
}
|
|
485
|
+
var ze = !1, $e;
|
|
486
|
+
{
|
|
487
|
+
var Nr = typeof WeakMap == "function" ? WeakMap : Map;
|
|
488
|
+
$e = new Nr();
|
|
489
|
+
}
|
|
490
|
+
function mr(o, d) {
|
|
491
|
+
if (!o || ze)
|
|
492
|
+
return "";
|
|
493
|
+
{
|
|
494
|
+
var g = $e.get(o);
|
|
495
|
+
if (g !== void 0)
|
|
496
|
+
return g;
|
|
497
|
+
}
|
|
498
|
+
var k;
|
|
499
|
+
ze = !0;
|
|
500
|
+
var j = Error.prepareStackTrace;
|
|
501
|
+
Error.prepareStackTrace = void 0;
|
|
502
|
+
var M;
|
|
503
|
+
M = Ie.current, Ie.current = null, Ar();
|
|
504
|
+
try {
|
|
505
|
+
if (d) {
|
|
506
|
+
var _ = function() {
|
|
507
|
+
throw Error();
|
|
508
|
+
};
|
|
509
|
+
if (Object.defineProperty(_.prototype, "props", {
|
|
510
|
+
set: function() {
|
|
511
|
+
throw Error();
|
|
512
|
+
}
|
|
513
|
+
}), typeof Reflect == "object" && Reflect.construct) {
|
|
514
|
+
try {
|
|
515
|
+
Reflect.construct(_, []);
|
|
516
|
+
} catch (q) {
|
|
517
|
+
k = q;
|
|
518
|
+
}
|
|
519
|
+
Reflect.construct(o, [], _);
|
|
520
|
+
} else {
|
|
521
|
+
try {
|
|
522
|
+
_.call();
|
|
523
|
+
} catch (q) {
|
|
524
|
+
k = q;
|
|
525
|
+
}
|
|
526
|
+
o.call(_.prototype);
|
|
527
|
+
}
|
|
528
|
+
} else {
|
|
529
|
+
try {
|
|
530
|
+
throw Error();
|
|
531
|
+
} catch (q) {
|
|
532
|
+
k = q;
|
|
533
|
+
}
|
|
534
|
+
o();
|
|
535
|
+
}
|
|
536
|
+
} catch (q) {
|
|
537
|
+
if (q && k && typeof q.stack == "string") {
|
|
538
|
+
for (var R = q.stack.split(`
|
|
539
|
+
`), G = k.stack.split(`
|
|
540
|
+
`), z = R.length - 1, H = G.length - 1; z >= 1 && H >= 0 && R[z] !== G[H]; )
|
|
541
|
+
H--;
|
|
542
|
+
for (; z >= 1 && H >= 0; z--, H--)
|
|
543
|
+
if (R[z] !== G[H]) {
|
|
544
|
+
if (z !== 1 || H !== 1)
|
|
545
|
+
do
|
|
546
|
+
if (z--, H--, H < 0 || R[z] !== G[H]) {
|
|
547
|
+
var Q = `
|
|
548
|
+
` + R[z].replace(" at new ", " at ");
|
|
549
|
+
return o.displayName && Q.includes("<anonymous>") && (Q = Q.replace("<anonymous>", o.displayName)), typeof o == "function" && $e.set(o, Q), Q;
|
|
550
|
+
}
|
|
551
|
+
while (z >= 1 && H >= 0);
|
|
552
|
+
break;
|
|
553
|
+
}
|
|
554
|
+
}
|
|
555
|
+
} finally {
|
|
556
|
+
ze = !1, Ie.current = M, Mr(), Error.prepareStackTrace = j;
|
|
557
|
+
}
|
|
558
|
+
var Te = o ? o.displayName || o.name : "", be = Te ? Se(Te) : "";
|
|
559
|
+
return typeof o == "function" && $e.set(o, be), be;
|
|
560
|
+
}
|
|
561
|
+
function Fr(o, d, g) {
|
|
562
|
+
return mr(o, !1);
|
|
563
|
+
}
|
|
564
|
+
function Wr(o) {
|
|
565
|
+
var d = o.prototype;
|
|
566
|
+
return !!(d && d.isReactComponent);
|
|
567
|
+
}
|
|
568
|
+
function ke(o, d, g) {
|
|
569
|
+
if (o == null)
|
|
570
|
+
return "";
|
|
571
|
+
if (typeof o == "function")
|
|
572
|
+
return mr(o, Wr(o));
|
|
573
|
+
if (typeof o == "string")
|
|
574
|
+
return Se(o);
|
|
575
|
+
switch (o) {
|
|
576
|
+
case p:
|
|
577
|
+
return Se("Suspense");
|
|
578
|
+
case f:
|
|
579
|
+
return Se("SuspenseList");
|
|
580
|
+
}
|
|
581
|
+
if (typeof o == "object")
|
|
582
|
+
switch (o.$$typeof) {
|
|
583
|
+
case l:
|
|
584
|
+
return Fr(o.render);
|
|
585
|
+
case u:
|
|
586
|
+
return ke(o.type, d, g);
|
|
587
|
+
case h: {
|
|
588
|
+
var k = o, j = k._payload, M = k._init;
|
|
589
|
+
try {
|
|
590
|
+
return ke(M(j), d, g);
|
|
591
|
+
} catch {
|
|
592
|
+
}
|
|
593
|
+
}
|
|
594
|
+
}
|
|
595
|
+
return "";
|
|
596
|
+
}
|
|
597
|
+
var ye = Object.prototype.hasOwnProperty, hr = {}, gr = $.ReactDebugCurrentFrame;
|
|
598
|
+
function Ce(o) {
|
|
599
|
+
if (o) {
|
|
600
|
+
var d = o._owner, g = ke(o.type, o._source, d ? d.type : null);
|
|
601
|
+
gr.setExtraStackFrame(g);
|
|
602
|
+
} else
|
|
603
|
+
gr.setExtraStackFrame(null);
|
|
604
|
+
}
|
|
605
|
+
function kt(o, d, g, k, j) {
|
|
606
|
+
{
|
|
607
|
+
var M = Function.call.bind(ye);
|
|
608
|
+
for (var _ in o)
|
|
609
|
+
if (M(o, _)) {
|
|
610
|
+
var R = void 0;
|
|
611
|
+
try {
|
|
612
|
+
if (typeof o[_] != "function") {
|
|
613
|
+
var G = Error((k || "React class") + ": " + g + " type `" + _ + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof o[_] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
|
|
614
|
+
throw G.name = "Invariant Violation", G;
|
|
615
|
+
}
|
|
616
|
+
R = o[_](d, _, k, g, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
|
617
|
+
} catch (z) {
|
|
618
|
+
R = z;
|
|
619
|
+
}
|
|
620
|
+
R && !(R instanceof Error) && (Ce(j), w("%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).", k || "React class", g, _, typeof R), Ce(null)), R instanceof Error && !(R.message in hr) && (hr[R.message] = !0, Ce(j), w("Failed %s type: %s", g, R.message), Ce(null));
|
|
621
|
+
}
|
|
622
|
+
}
|
|
623
|
+
}
|
|
624
|
+
var Yn = Array.isArray;
|
|
625
|
+
function Ir(o) {
|
|
626
|
+
return Yn(o);
|
|
627
|
+
}
|
|
628
|
+
function Un(o) {
|
|
629
|
+
{
|
|
630
|
+
var d = typeof Symbol == "function" && Symbol.toStringTag, g = d && o[Symbol.toStringTag] || o.constructor.name || "Object";
|
|
631
|
+
return g;
|
|
632
|
+
}
|
|
633
|
+
}
|
|
634
|
+
function Gn(o) {
|
|
635
|
+
try {
|
|
636
|
+
return Ct(o), !1;
|
|
637
|
+
} catch {
|
|
638
|
+
return !0;
|
|
639
|
+
}
|
|
640
|
+
}
|
|
641
|
+
function Ct(o) {
|
|
642
|
+
return "" + o;
|
|
643
|
+
}
|
|
644
|
+
function Rt(o) {
|
|
645
|
+
if (Gn(o))
|
|
646
|
+
return w("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", Un(o)), Ct(o);
|
|
647
|
+
}
|
|
648
|
+
var Tt = $.ReactCurrentOwner, Xn = {
|
|
649
|
+
key: !0,
|
|
650
|
+
ref: !0,
|
|
651
|
+
__self: !0,
|
|
652
|
+
__source: !0
|
|
653
|
+
}, _t, Et;
|
|
654
|
+
function qn(o) {
|
|
655
|
+
if (ye.call(o, "ref")) {
|
|
656
|
+
var d = Object.getOwnPropertyDescriptor(o, "ref").get;
|
|
657
|
+
if (d && d.isReactWarning)
|
|
658
|
+
return !1;
|
|
659
|
+
}
|
|
660
|
+
return o.ref !== void 0;
|
|
661
|
+
}
|
|
662
|
+
function Kn(o) {
|
|
663
|
+
if (ye.call(o, "key")) {
|
|
664
|
+
var d = Object.getOwnPropertyDescriptor(o, "key").get;
|
|
665
|
+
if (d && d.isReactWarning)
|
|
666
|
+
return !1;
|
|
667
|
+
}
|
|
668
|
+
return o.key !== void 0;
|
|
669
|
+
}
|
|
670
|
+
function Jn(o, d) {
|
|
671
|
+
typeof o.ref == "string" && Tt.current;
|
|
672
|
+
}
|
|
673
|
+
function Zn(o, d) {
|
|
674
|
+
{
|
|
675
|
+
var g = function() {
|
|
676
|
+
_t || (_t = !0, w("%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));
|
|
677
|
+
};
|
|
678
|
+
g.isReactWarning = !0, Object.defineProperty(o, "key", {
|
|
679
|
+
get: g,
|
|
680
|
+
configurable: !0
|
|
681
|
+
});
|
|
682
|
+
}
|
|
683
|
+
}
|
|
684
|
+
function Qn(o, d) {
|
|
685
|
+
{
|
|
686
|
+
var g = function() {
|
|
687
|
+
Et || (Et = !0, w("%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));
|
|
688
|
+
};
|
|
689
|
+
g.isReactWarning = !0, Object.defineProperty(o, "ref", {
|
|
690
|
+
get: g,
|
|
691
|
+
configurable: !0
|
|
692
|
+
});
|
|
693
|
+
}
|
|
694
|
+
}
|
|
695
|
+
var ea = function(o, d, g, k, j, M, _) {
|
|
696
|
+
var R = {
|
|
697
|
+
// This tag allows us to uniquely identify this as a React Element
|
|
698
|
+
$$typeof: r,
|
|
699
|
+
// Built-in properties that belong on the element
|
|
700
|
+
type: o,
|
|
701
|
+
key: d,
|
|
702
|
+
ref: g,
|
|
703
|
+
props: _,
|
|
704
|
+
// Record the component responsible for creating this element.
|
|
705
|
+
_owner: M
|
|
706
|
+
};
|
|
707
|
+
return R._store = {}, Object.defineProperty(R._store, "validated", {
|
|
708
|
+
configurable: !1,
|
|
709
|
+
enumerable: !1,
|
|
710
|
+
writable: !0,
|
|
711
|
+
value: !1
|
|
712
|
+
}), Object.defineProperty(R, "_self", {
|
|
713
|
+
configurable: !1,
|
|
714
|
+
enumerable: !1,
|
|
715
|
+
writable: !1,
|
|
716
|
+
value: k
|
|
717
|
+
}), Object.defineProperty(R, "_source", {
|
|
718
|
+
configurable: !1,
|
|
719
|
+
enumerable: !1,
|
|
720
|
+
writable: !1,
|
|
721
|
+
value: j
|
|
722
|
+
}), Object.freeze && (Object.freeze(R.props), Object.freeze(R)), R;
|
|
723
|
+
};
|
|
724
|
+
function ra(o, d, g, k, j) {
|
|
725
|
+
{
|
|
726
|
+
var M, _ = {}, R = null, G = null;
|
|
727
|
+
g !== void 0 && (Rt(g), R = "" + g), Kn(d) && (Rt(d.key), R = "" + d.key), qn(d) && (G = d.ref, Jn(d, j));
|
|
728
|
+
for (M in d)
|
|
729
|
+
ye.call(d, M) && !Xn.hasOwnProperty(M) && (_[M] = d[M]);
|
|
730
|
+
if (o && o.defaultProps) {
|
|
731
|
+
var z = o.defaultProps;
|
|
732
|
+
for (M in z)
|
|
733
|
+
_[M] === void 0 && (_[M] = z[M]);
|
|
734
|
+
}
|
|
735
|
+
if (R || G) {
|
|
736
|
+
var H = typeof o == "function" ? o.displayName || o.name || "Unknown" : o;
|
|
737
|
+
R && Zn(_, H), G && Qn(_, H);
|
|
738
|
+
}
|
|
739
|
+
return ea(o, R, G, j, k, Tt.current, _);
|
|
740
|
+
}
|
|
741
|
+
}
|
|
742
|
+
var Lr = $.ReactCurrentOwner, Pt = $.ReactDebugCurrentFrame;
|
|
743
|
+
function Re(o) {
|
|
744
|
+
if (o) {
|
|
745
|
+
var d = o._owner, g = ke(o.type, o._source, d ? d.type : null);
|
|
746
|
+
Pt.setExtraStackFrame(g);
|
|
747
|
+
} else
|
|
748
|
+
Pt.setExtraStackFrame(null);
|
|
749
|
+
}
|
|
750
|
+
var zr;
|
|
751
|
+
zr = !1;
|
|
752
|
+
function Hr(o) {
|
|
753
|
+
return typeof o == "object" && o !== null && o.$$typeof === r;
|
|
754
|
+
}
|
|
755
|
+
function jt() {
|
|
756
|
+
{
|
|
757
|
+
if (Lr.current) {
|
|
758
|
+
var o = ae(Lr.current.type);
|
|
759
|
+
if (o)
|
|
760
|
+
return `
|
|
761
|
+
|
|
762
|
+
Check the render method of \`` + o + "`.";
|
|
763
|
+
}
|
|
764
|
+
return "";
|
|
765
|
+
}
|
|
766
|
+
}
|
|
767
|
+
function ta(o) {
|
|
768
|
+
return "";
|
|
769
|
+
}
|
|
770
|
+
var Ot = {};
|
|
771
|
+
function na(o) {
|
|
772
|
+
{
|
|
773
|
+
var d = jt();
|
|
774
|
+
if (!d) {
|
|
775
|
+
var g = typeof o == "string" ? o : o.displayName || o.name;
|
|
776
|
+
g && (d = `
|
|
777
|
+
|
|
778
|
+
Check the top-level render call using <` + g + ">.");
|
|
779
|
+
}
|
|
780
|
+
return d;
|
|
781
|
+
}
|
|
782
|
+
}
|
|
783
|
+
function At(o, d) {
|
|
784
|
+
{
|
|
785
|
+
if (!o._store || o._store.validated || o.key != null)
|
|
786
|
+
return;
|
|
787
|
+
o._store.validated = !0;
|
|
788
|
+
var g = na(d);
|
|
789
|
+
if (Ot[g])
|
|
790
|
+
return;
|
|
791
|
+
Ot[g] = !0;
|
|
792
|
+
var k = "";
|
|
793
|
+
o && o._owner && o._owner !== Lr.current && (k = " It was passed a child from " + ae(o._owner.type) + "."), Re(o), w('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', g, k), Re(null);
|
|
794
|
+
}
|
|
795
|
+
}
|
|
796
|
+
function Mt(o, d) {
|
|
797
|
+
{
|
|
798
|
+
if (typeof o != "object")
|
|
799
|
+
return;
|
|
800
|
+
if (Ir(o))
|
|
801
|
+
for (var g = 0; g < o.length; g++) {
|
|
802
|
+
var k = o[g];
|
|
803
|
+
Hr(k) && At(k, d);
|
|
804
|
+
}
|
|
805
|
+
else if (Hr(o))
|
|
806
|
+
o._store && (o._store.validated = !0);
|
|
807
|
+
else if (o) {
|
|
808
|
+
var j = b(o);
|
|
809
|
+
if (typeof j == "function" && j !== o.entries)
|
|
810
|
+
for (var M = j.call(o), _; !(_ = M.next()).done; )
|
|
811
|
+
Hr(_.value) && At(_.value, d);
|
|
812
|
+
}
|
|
813
|
+
}
|
|
814
|
+
}
|
|
815
|
+
function aa(o) {
|
|
816
|
+
{
|
|
817
|
+
var d = o.type;
|
|
818
|
+
if (d == null || typeof d == "string")
|
|
819
|
+
return;
|
|
820
|
+
var g;
|
|
821
|
+
if (typeof d == "function")
|
|
822
|
+
g = d.propTypes;
|
|
823
|
+
else if (typeof d == "object" && (d.$$typeof === l || // Note: Memo only checks outer props here.
|
|
824
|
+
// Inner props are checked in the reconciler.
|
|
825
|
+
d.$$typeof === u))
|
|
826
|
+
g = d.propTypes;
|
|
827
|
+
else
|
|
828
|
+
return;
|
|
829
|
+
if (g) {
|
|
830
|
+
var k = ae(d);
|
|
831
|
+
kt(g, o.props, "prop", k, o);
|
|
832
|
+
} else if (d.PropTypes !== void 0 && !zr) {
|
|
833
|
+
zr = !0;
|
|
834
|
+
var j = ae(d);
|
|
835
|
+
w("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", j || "Unknown");
|
|
836
|
+
}
|
|
837
|
+
typeof d.getDefaultProps == "function" && !d.getDefaultProps.isReactClassApproved && w("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
|
|
838
|
+
}
|
|
839
|
+
}
|
|
840
|
+
function ia(o) {
|
|
841
|
+
{
|
|
842
|
+
for (var d = Object.keys(o.props), g = 0; g < d.length; g++) {
|
|
843
|
+
var k = d[g];
|
|
844
|
+
if (k !== "children" && k !== "key") {
|
|
845
|
+
Re(o), w("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", k), Re(null);
|
|
846
|
+
break;
|
|
847
|
+
}
|
|
848
|
+
}
|
|
849
|
+
o.ref !== null && (Re(o), w("Invalid attribute `ref` supplied to `React.Fragment`."), Re(null));
|
|
850
|
+
}
|
|
851
|
+
}
|
|
852
|
+
var Nt = {};
|
|
853
|
+
function Ft(o, d, g, k, j, M) {
|
|
854
|
+
{
|
|
855
|
+
var _ = X(o);
|
|
856
|
+
if (!_) {
|
|
857
|
+
var R = "";
|
|
858
|
+
(o === void 0 || typeof o == "object" && o !== null && Object.keys(o).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.");
|
|
859
|
+
var G = ta();
|
|
860
|
+
G ? R += G : R += jt();
|
|
861
|
+
var z;
|
|
862
|
+
o === null ? z = "null" : Ir(o) ? z = "array" : o !== void 0 && o.$$typeof === r ? (z = "<" + (ae(o.type) || "Unknown") + " />", R = " Did you accidentally export a JSX literal instead of a component?") : z = typeof o, w("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", z, R);
|
|
863
|
+
}
|
|
864
|
+
var H = ra(o, d, g, j, M);
|
|
865
|
+
if (H == null)
|
|
866
|
+
return H;
|
|
867
|
+
if (_) {
|
|
868
|
+
var Q = d.children;
|
|
869
|
+
if (Q !== void 0)
|
|
870
|
+
if (k)
|
|
871
|
+
if (Ir(Q)) {
|
|
872
|
+
for (var Te = 0; Te < Q.length; Te++)
|
|
873
|
+
Mt(Q[Te], o);
|
|
874
|
+
Object.freeze && Object.freeze(Q);
|
|
875
|
+
} else
|
|
876
|
+
w("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
|
|
877
|
+
else
|
|
878
|
+
Mt(Q, o);
|
|
879
|
+
}
|
|
880
|
+
if (ye.call(d, "key")) {
|
|
881
|
+
var be = ae(o), q = Object.keys(d).filter(function(ua) {
|
|
882
|
+
return ua !== "key";
|
|
883
|
+
}), Vr = q.length > 0 ? "{key: someKey, " + q.join(": ..., ") + ": ...}" : "{key: someKey}";
|
|
884
|
+
if (!Nt[be + Vr]) {
|
|
885
|
+
var fa = q.length > 0 ? "{" + q.join(": ..., ") + ": ...}" : "{}";
|
|
886
|
+
w(`A props object containing a "key" prop is being spread into JSX:
|
|
887
|
+
let props = %s;
|
|
888
|
+
<%s {...props} />
|
|
889
|
+
React keys must be passed directly to JSX without using spread:
|
|
890
|
+
let props = %s;
|
|
891
|
+
<%s key={someKey} {...props} />`, Vr, be, fa, be), Nt[be + Vr] = !0;
|
|
892
|
+
}
|
|
893
|
+
}
|
|
894
|
+
return o === n ? ia(H) : aa(H), H;
|
|
895
|
+
}
|
|
896
|
+
}
|
|
897
|
+
function oa(o, d, g) {
|
|
898
|
+
return Ft(o, d, g, !0);
|
|
899
|
+
}
|
|
900
|
+
function sa(o, d, g) {
|
|
901
|
+
return Ft(o, d, g, !1);
|
|
902
|
+
}
|
|
903
|
+
var ca = sa, la = oa;
|
|
904
|
+
Ye.Fragment = n, Ye.jsx = ca, Ye.jsxs = la;
|
|
905
|
+
}()), Ye;
|
|
906
|
+
}
|
|
907
|
+
process.env.NODE_ENV === "production" ? Zr.exports = ba() : Zr.exports = va();
|
|
908
|
+
var C = Zr.exports;
|
|
909
|
+
function ve(e, r = "size", t = !0) {
|
|
910
|
+
if (e !== void 0)
|
|
911
|
+
return dn(e) ? t ? m(e) : e : `var(--${r}-${e})`;
|
|
912
|
+
}
|
|
913
|
+
function pn(e) {
|
|
914
|
+
return e === void 0 ? "var(--mantine-radius-default)" : ve(e, "mantine-radius");
|
|
915
|
+
}
|
|
916
|
+
function Rr(e) {
|
|
917
|
+
return ve(e, "mantine-font-size");
|
|
918
|
+
}
|
|
919
|
+
function xa(e, r) {
|
|
920
|
+
try {
|
|
921
|
+
return e.addEventListener("change", r), () => e.removeEventListener("change", r);
|
|
922
|
+
} catch {
|
|
923
|
+
return e.addListener(r), () => e.removeListener(r);
|
|
924
|
+
}
|
|
925
|
+
}
|
|
926
|
+
function wa(e, r) {
|
|
927
|
+
return typeof window < "u" && "matchMedia" in window ? window.matchMedia(e).matches : !1;
|
|
928
|
+
}
|
|
929
|
+
function Sa(e, r, { getInitialValueInEffect: t } = {
|
|
930
|
+
getInitialValueInEffect: !0
|
|
931
|
+
}) {
|
|
932
|
+
const [n, a] = Me(
|
|
933
|
+
t ? r : wa(e)
|
|
934
|
+
), i = Oe(null);
|
|
935
|
+
return pe(() => {
|
|
936
|
+
if ("matchMedia" in window)
|
|
937
|
+
return i.current = window.matchMedia(e), a(i.current.matches), xa(i.current, (s) => a(s.matches));
|
|
938
|
+
}, [e]), n;
|
|
939
|
+
}
|
|
940
|
+
const mn = typeof document < "u" ? da : pe;
|
|
941
|
+
function $a(e, r) {
|
|
942
|
+
const t = Oe(!1);
|
|
943
|
+
pe(
|
|
944
|
+
() => () => {
|
|
945
|
+
t.current = !1;
|
|
946
|
+
},
|
|
947
|
+
[]
|
|
948
|
+
), pe(() => {
|
|
949
|
+
if (t.current)
|
|
950
|
+
return e();
|
|
951
|
+
t.current = !0;
|
|
952
|
+
}, r);
|
|
953
|
+
}
|
|
954
|
+
function ka(e, r) {
|
|
955
|
+
return Sa("(prefers-reduced-motion: reduce)", e, r);
|
|
956
|
+
}
|
|
957
|
+
function hn(e) {
|
|
958
|
+
var r, t, n = "";
|
|
959
|
+
if (typeof e == "string" || typeof e == "number") n += e;
|
|
960
|
+
else if (typeof e == "object") if (Array.isArray(e)) {
|
|
961
|
+
var a = e.length;
|
|
962
|
+
for (r = 0; r < a; r++) e[r] && (t = hn(e[r])) && (n && (n += " "), n += t);
|
|
963
|
+
} else for (t in e) e[t] && (n && (n += " "), n += t);
|
|
964
|
+
return n;
|
|
965
|
+
}
|
|
966
|
+
function we() {
|
|
967
|
+
for (var e, r, t = 0, n = "", a = arguments.length; t < a; t++) (e = arguments[t]) && (r = hn(e)) && (n && (n += " "), n += r);
|
|
968
|
+
return n;
|
|
969
|
+
}
|
|
970
|
+
const Ca = {};
|
|
971
|
+
function Ra(e) {
|
|
972
|
+
const r = {};
|
|
973
|
+
return e.forEach((t) => {
|
|
974
|
+
Object.entries(t).forEach(([n, a]) => {
|
|
975
|
+
r[n] ? r[n] = we(r[n], a) : r[n] = a;
|
|
976
|
+
});
|
|
977
|
+
}), r;
|
|
978
|
+
}
|
|
979
|
+
function ut({ theme: e, classNames: r, props: t, stylesCtx: n }) {
|
|
980
|
+
const i = (Array.isArray(r) ? r : [r]).map(
|
|
981
|
+
(s) => typeof s == "function" ? s(e, t, n) : s || Ca
|
|
982
|
+
);
|
|
983
|
+
return Ra(i);
|
|
984
|
+
}
|
|
985
|
+
function Qr({ theme: e, styles: r, props: t, stylesCtx: n }) {
|
|
986
|
+
return (Array.isArray(r) ? r : [r]).reduce((i, s) => typeof s == "function" ? { ...i, ...s(e, t, n) } : { ...i, ...s }, {});
|
|
987
|
+
}
|
|
988
|
+
const gn = ct(null);
|
|
989
|
+
function me() {
|
|
990
|
+
const e = er(gn);
|
|
991
|
+
if (!e)
|
|
992
|
+
throw new Error("[@mantine/core] MantineProvider was not found in tree");
|
|
993
|
+
return e;
|
|
994
|
+
}
|
|
995
|
+
function Ta() {
|
|
996
|
+
return me().cssVariablesResolver;
|
|
997
|
+
}
|
|
998
|
+
function _a() {
|
|
999
|
+
return me().classNamesPrefix;
|
|
1000
|
+
}
|
|
1001
|
+
function dt() {
|
|
1002
|
+
return me().getStyleNonce;
|
|
1003
|
+
}
|
|
1004
|
+
function Ea() {
|
|
1005
|
+
return me().withStaticClasses;
|
|
1006
|
+
}
|
|
1007
|
+
function Pa() {
|
|
1008
|
+
return me().headless;
|
|
1009
|
+
}
|
|
1010
|
+
function ja() {
|
|
1011
|
+
var e;
|
|
1012
|
+
return (e = me().stylesTransform) == null ? void 0 : e.sx;
|
|
1013
|
+
}
|
|
1014
|
+
function Oa() {
|
|
1015
|
+
var e;
|
|
1016
|
+
return (e = me().stylesTransform) == null ? void 0 : e.styles;
|
|
1017
|
+
}
|
|
1018
|
+
function Aa() {
|
|
1019
|
+
return me().env || "default";
|
|
1020
|
+
}
|
|
1021
|
+
function Ma(e) {
|
|
1022
|
+
return /^#?([0-9A-F]{3}){1,2}([0-9A-F]{2})?$/i.test(e);
|
|
1023
|
+
}
|
|
1024
|
+
function Na(e) {
|
|
1025
|
+
let r = e.replace("#", "");
|
|
1026
|
+
if (r.length === 3) {
|
|
1027
|
+
const s = r.split("");
|
|
1028
|
+
r = [
|
|
1029
|
+
s[0],
|
|
1030
|
+
s[0],
|
|
1031
|
+
s[1],
|
|
1032
|
+
s[1],
|
|
1033
|
+
s[2],
|
|
1034
|
+
s[2]
|
|
1035
|
+
].join("");
|
|
1036
|
+
}
|
|
1037
|
+
if (r.length === 8) {
|
|
1038
|
+
const s = parseInt(r.slice(6, 8), 16) / 255;
|
|
1039
|
+
return {
|
|
1040
|
+
r: parseInt(r.slice(0, 2), 16),
|
|
1041
|
+
g: parseInt(r.slice(2, 4), 16),
|
|
1042
|
+
b: parseInt(r.slice(4, 6), 16),
|
|
1043
|
+
a: s
|
|
1044
|
+
};
|
|
1045
|
+
}
|
|
1046
|
+
const t = parseInt(r, 16), n = t >> 16 & 255, a = t >> 8 & 255, i = t & 255;
|
|
1047
|
+
return {
|
|
1048
|
+
r: n,
|
|
1049
|
+
g: a,
|
|
1050
|
+
b: i,
|
|
1051
|
+
a: 1
|
|
1052
|
+
};
|
|
1053
|
+
}
|
|
1054
|
+
function Fa(e) {
|
|
1055
|
+
const [r, t, n, a] = e.replace(/[^0-9,./]/g, "").split(/[/,]/).map(Number);
|
|
1056
|
+
return { r, g: t, b: n, a: a === void 0 ? 1 : a };
|
|
1057
|
+
}
|
|
1058
|
+
function Wa(e) {
|
|
1059
|
+
const r = /^hsla?\(\s*(\d+)\s*,\s*(\d+%)\s*,\s*(\d+%)\s*(,\s*(0?\.\d+|\d+(\.\d+)?))?\s*\)$/i, t = e.match(r);
|
|
1060
|
+
if (!t)
|
|
1061
|
+
return {
|
|
1062
|
+
r: 0,
|
|
1063
|
+
g: 0,
|
|
1064
|
+
b: 0,
|
|
1065
|
+
a: 1
|
|
1066
|
+
};
|
|
1067
|
+
const n = parseInt(t[1], 10), a = parseInt(t[2], 10) / 100, i = parseInt(t[3], 10) / 100, s = t[5] ? parseFloat(t[5]) : void 0, c = (1 - Math.abs(2 * i - 1)) * a, l = n / 60, p = c * (1 - Math.abs(l % 2 - 1)), f = i - c / 2;
|
|
1068
|
+
let u, h, x;
|
|
1069
|
+
return l >= 0 && l < 1 ? (u = c, h = p, x = 0) : l >= 1 && l < 2 ? (u = p, h = c, x = 0) : l >= 2 && l < 3 ? (u = 0, h = c, x = p) : l >= 3 && l < 4 ? (u = 0, h = p, x = c) : l >= 4 && l < 5 ? (u = p, h = 0, x = c) : (u = c, h = 0, x = p), {
|
|
1070
|
+
r: Math.round((u + f) * 255),
|
|
1071
|
+
g: Math.round((h + f) * 255),
|
|
1072
|
+
b: Math.round((x + f) * 255),
|
|
1073
|
+
a: s || 1
|
|
1074
|
+
};
|
|
1075
|
+
}
|
|
1076
|
+
function pt(e) {
|
|
1077
|
+
return Ma(e) ? Na(e) : e.startsWith("rgb") ? Fa(e) : e.startsWith("hsl") ? Wa(e) : {
|
|
1078
|
+
r: 0,
|
|
1079
|
+
g: 0,
|
|
1080
|
+
b: 0,
|
|
1081
|
+
a: 1
|
|
1082
|
+
};
|
|
1083
|
+
}
|
|
1084
|
+
function br(e, r) {
|
|
1085
|
+
if (e.startsWith("var("))
|
|
1086
|
+
return `color-mix(in srgb, ${e}, black ${r * 100}%)`;
|
|
1087
|
+
const { r: t, g: n, b: a, a: i } = pt(e), s = 1 - r, c = (l) => Math.round(l * s);
|
|
1088
|
+
return `rgba(${c(t)}, ${c(n)}, ${c(a)}, ${i})`;
|
|
1089
|
+
}
|
|
1090
|
+
function Ke(e, r) {
|
|
1091
|
+
return typeof e.primaryShade == "number" ? e.primaryShade : r === "dark" ? e.primaryShade.dark : e.primaryShade.light;
|
|
1092
|
+
}
|
|
1093
|
+
function Yr(e) {
|
|
1094
|
+
return e <= 0.03928 ? e / 12.92 : ((e + 0.055) / 1.055) ** 2.4;
|
|
1095
|
+
}
|
|
1096
|
+
function Ia(e) {
|
|
1097
|
+
const r = e.match(/oklch\((.*?)%\s/);
|
|
1098
|
+
return r ? parseFloat(r[1]) : null;
|
|
1099
|
+
}
|
|
1100
|
+
function La(e) {
|
|
1101
|
+
if (e.startsWith("oklch("))
|
|
1102
|
+
return (Ia(e) || 0) / 100;
|
|
1103
|
+
const { r, g: t, b: n } = pt(e), a = r / 255, i = t / 255, s = n / 255, c = Yr(a), l = Yr(i), p = Yr(s);
|
|
1104
|
+
return 0.2126 * c + 0.7152 * l + 0.0722 * p;
|
|
1105
|
+
}
|
|
1106
|
+
function Ue(e, r = 0.179) {
|
|
1107
|
+
return e.startsWith("var(") ? !1 : La(e) > r;
|
|
1108
|
+
}
|
|
1109
|
+
function rr({
|
|
1110
|
+
color: e,
|
|
1111
|
+
theme: r,
|
|
1112
|
+
colorScheme: t
|
|
1113
|
+
}) {
|
|
1114
|
+
if (typeof e != "string")
|
|
1115
|
+
throw new Error(
|
|
1116
|
+
`[@mantine/core] Failed to parse color. Expected color to be a string, instead got ${typeof e}`
|
|
1117
|
+
);
|
|
1118
|
+
if (e === "bright")
|
|
1119
|
+
return {
|
|
1120
|
+
color: e,
|
|
1121
|
+
value: t === "dark" ? r.white : r.black,
|
|
1122
|
+
shade: void 0,
|
|
1123
|
+
isThemeColor: !1,
|
|
1124
|
+
isLight: Ue(
|
|
1125
|
+
t === "dark" ? r.white : r.black,
|
|
1126
|
+
r.luminanceThreshold
|
|
1127
|
+
),
|
|
1128
|
+
variable: "--mantine-color-bright"
|
|
1129
|
+
};
|
|
1130
|
+
if (e === "dimmed")
|
|
1131
|
+
return {
|
|
1132
|
+
color: e,
|
|
1133
|
+
value: t === "dark" ? r.colors.dark[2] : r.colors.gray[7],
|
|
1134
|
+
shade: void 0,
|
|
1135
|
+
isThemeColor: !1,
|
|
1136
|
+
isLight: Ue(
|
|
1137
|
+
t === "dark" ? r.colors.dark[2] : r.colors.gray[6],
|
|
1138
|
+
r.luminanceThreshold
|
|
1139
|
+
),
|
|
1140
|
+
variable: "--mantine-color-dimmed"
|
|
1141
|
+
};
|
|
1142
|
+
if (e === "white" || e === "black")
|
|
1143
|
+
return {
|
|
1144
|
+
color: e,
|
|
1145
|
+
value: e === "white" ? r.white : r.black,
|
|
1146
|
+
shade: void 0,
|
|
1147
|
+
isThemeColor: !1,
|
|
1148
|
+
isLight: Ue(
|
|
1149
|
+
e === "white" ? r.white : r.black,
|
|
1150
|
+
r.luminanceThreshold
|
|
1151
|
+
),
|
|
1152
|
+
variable: `--mantine-color-${e}`
|
|
1153
|
+
};
|
|
1154
|
+
const [n, a] = e.split("."), i = a ? Number(a) : void 0, s = n in r.colors;
|
|
1155
|
+
if (s) {
|
|
1156
|
+
const c = i !== void 0 ? r.colors[n][i] : r.colors[n][Ke(r, t || "light")];
|
|
1157
|
+
return {
|
|
1158
|
+
color: n,
|
|
1159
|
+
value: c,
|
|
1160
|
+
shade: i,
|
|
1161
|
+
isThemeColor: s,
|
|
1162
|
+
isLight: Ue(c, r.luminanceThreshold),
|
|
1163
|
+
variable: a ? `--mantine-color-${n}-${i}` : `--mantine-color-${n}-filled`
|
|
1164
|
+
};
|
|
1165
|
+
}
|
|
1166
|
+
return {
|
|
1167
|
+
color: e,
|
|
1168
|
+
value: e,
|
|
1169
|
+
isThemeColor: s,
|
|
1170
|
+
isLight: Ue(e, r.luminanceThreshold),
|
|
1171
|
+
shade: i,
|
|
1172
|
+
variable: void 0
|
|
1173
|
+
};
|
|
1174
|
+
}
|
|
1175
|
+
function et(e, r) {
|
|
1176
|
+
const t = rr({ color: e || r.primaryColor, theme: r });
|
|
1177
|
+
return t.variable ? `var(${t.variable})` : e;
|
|
1178
|
+
}
|
|
1179
|
+
function Ht(e, r) {
|
|
1180
|
+
const t = {
|
|
1181
|
+
from: (e == null ? void 0 : e.from) || r.defaultGradient.from,
|
|
1182
|
+
to: (e == null ? void 0 : e.to) || r.defaultGradient.to,
|
|
1183
|
+
deg: (e == null ? void 0 : e.deg) ?? r.defaultGradient.deg ?? 0
|
|
1184
|
+
}, n = et(t.from, r), a = et(t.to, r);
|
|
1185
|
+
return `linear-gradient(${t.deg}deg, ${n} 0%, ${a} 100%)`;
|
|
1186
|
+
}
|
|
1187
|
+
function ue(e, r) {
|
|
1188
|
+
if (typeof e != "string" || r > 1 || r < 0)
|
|
1189
|
+
return "rgba(0, 0, 0, 1)";
|
|
1190
|
+
if (e.startsWith("var(")) {
|
|
1191
|
+
const i = (1 - r) * 100;
|
|
1192
|
+
return `color-mix(in srgb, ${e}, transparent ${i}%)`;
|
|
1193
|
+
}
|
|
1194
|
+
if (e.startsWith("oklch"))
|
|
1195
|
+
return e.includes("/") ? e.replace(/\/\s*[\d.]+\s*\)/, `/ ${r})`) : e.replace(")", ` / ${r})`);
|
|
1196
|
+
const { r: t, g: n, b: a } = pt(e);
|
|
1197
|
+
return `rgba(${t}, ${n}, ${a}, ${r})`;
|
|
1198
|
+
}
|
|
1199
|
+
const _e = ue, za = ({
|
|
1200
|
+
color: e,
|
|
1201
|
+
theme: r,
|
|
1202
|
+
variant: t,
|
|
1203
|
+
gradient: n,
|
|
1204
|
+
autoContrast: a
|
|
1205
|
+
}) => {
|
|
1206
|
+
const i = rr({ color: e, theme: r }), s = typeof a == "boolean" ? a : r.autoContrast;
|
|
1207
|
+
if (t === "filled") {
|
|
1208
|
+
const c = s && i.isLight ? "var(--mantine-color-black)" : "var(--mantine-color-white)";
|
|
1209
|
+
return i.isThemeColor ? i.shade === void 0 ? {
|
|
1210
|
+
background: `var(--mantine-color-${e}-filled)`,
|
|
1211
|
+
hover: `var(--mantine-color-${e}-filled-hover)`,
|
|
1212
|
+
color: c,
|
|
1213
|
+
border: `${m(1)} solid transparent`
|
|
1214
|
+
} : {
|
|
1215
|
+
background: `var(--mantine-color-${i.color}-${i.shade})`,
|
|
1216
|
+
hover: `var(--mantine-color-${i.color}-${i.shade === 9 ? 8 : i.shade + 1})`,
|
|
1217
|
+
color: c,
|
|
1218
|
+
border: `${m(1)} solid transparent`
|
|
1219
|
+
} : {
|
|
1220
|
+
background: e,
|
|
1221
|
+
hover: br(e, 0.1),
|
|
1222
|
+
color: c,
|
|
1223
|
+
border: `${m(1)} solid transparent`
|
|
1224
|
+
};
|
|
1225
|
+
}
|
|
1226
|
+
if (t === "light") {
|
|
1227
|
+
if (i.isThemeColor) {
|
|
1228
|
+
if (i.shade === void 0)
|
|
1229
|
+
return {
|
|
1230
|
+
background: `var(--mantine-color-${e}-light)`,
|
|
1231
|
+
hover: `var(--mantine-color-${e}-light-hover)`,
|
|
1232
|
+
color: `var(--mantine-color-${e}-light-color)`,
|
|
1233
|
+
border: `${m(1)} solid transparent`
|
|
1234
|
+
};
|
|
1235
|
+
const c = r.colors[i.color][i.shade];
|
|
1236
|
+
return {
|
|
1237
|
+
background: ue(c, 0.1),
|
|
1238
|
+
hover: ue(c, 0.12),
|
|
1239
|
+
color: `var(--mantine-color-${i.color}-${Math.min(i.shade, 6)})`,
|
|
1240
|
+
border: `${m(1)} solid transparent`
|
|
1241
|
+
};
|
|
1242
|
+
}
|
|
1243
|
+
return {
|
|
1244
|
+
background: ue(e, 0.1),
|
|
1245
|
+
hover: ue(e, 0.12),
|
|
1246
|
+
color: e,
|
|
1247
|
+
border: `${m(1)} solid transparent`
|
|
1248
|
+
};
|
|
1249
|
+
}
|
|
1250
|
+
if (t === "outline")
|
|
1251
|
+
return i.isThemeColor ? i.shade === void 0 ? {
|
|
1252
|
+
background: "transparent",
|
|
1253
|
+
hover: `var(--mantine-color-${e}-outline-hover)`,
|
|
1254
|
+
color: `var(--mantine-color-${e}-outline)`,
|
|
1255
|
+
border: `${m(1)} solid var(--mantine-color-${e}-outline)`
|
|
1256
|
+
} : {
|
|
1257
|
+
background: "transparent",
|
|
1258
|
+
hover: ue(r.colors[i.color][i.shade], 0.05),
|
|
1259
|
+
color: `var(--mantine-color-${i.color}-${i.shade})`,
|
|
1260
|
+
border: `${m(1)} solid var(--mantine-color-${i.color}-${i.shade})`
|
|
1261
|
+
} : {
|
|
1262
|
+
background: "transparent",
|
|
1263
|
+
hover: ue(e, 0.05),
|
|
1264
|
+
color: e,
|
|
1265
|
+
border: `${m(1)} solid ${e}`
|
|
1266
|
+
};
|
|
1267
|
+
if (t === "subtle") {
|
|
1268
|
+
if (i.isThemeColor) {
|
|
1269
|
+
if (i.shade === void 0)
|
|
1270
|
+
return {
|
|
1271
|
+
background: "transparent",
|
|
1272
|
+
hover: `var(--mantine-color-${e}-light-hover)`,
|
|
1273
|
+
color: `var(--mantine-color-${e}-light-color)`,
|
|
1274
|
+
border: `${m(1)} solid transparent`
|
|
1275
|
+
};
|
|
1276
|
+
const c = r.colors[i.color][i.shade];
|
|
1277
|
+
return {
|
|
1278
|
+
background: "transparent",
|
|
1279
|
+
hover: ue(c, 0.12),
|
|
1280
|
+
color: `var(--mantine-color-${i.color}-${Math.min(i.shade, 6)})`,
|
|
1281
|
+
border: `${m(1)} solid transparent`
|
|
1282
|
+
};
|
|
1283
|
+
}
|
|
1284
|
+
return {
|
|
1285
|
+
background: "transparent",
|
|
1286
|
+
hover: ue(e, 0.12),
|
|
1287
|
+
color: e,
|
|
1288
|
+
border: `${m(1)} solid transparent`
|
|
1289
|
+
};
|
|
1290
|
+
}
|
|
1291
|
+
return t === "transparent" ? i.isThemeColor ? i.shade === void 0 ? {
|
|
1292
|
+
background: "transparent",
|
|
1293
|
+
hover: "transparent",
|
|
1294
|
+
color: `var(--mantine-color-${e}-light-color)`,
|
|
1295
|
+
border: `${m(1)} solid transparent`
|
|
1296
|
+
} : {
|
|
1297
|
+
background: "transparent",
|
|
1298
|
+
hover: "transparent",
|
|
1299
|
+
color: `var(--mantine-color-${i.color}-${Math.min(i.shade, 6)})`,
|
|
1300
|
+
border: `${m(1)} solid transparent`
|
|
1301
|
+
} : {
|
|
1302
|
+
background: "transparent",
|
|
1303
|
+
hover: "transparent",
|
|
1304
|
+
color: e,
|
|
1305
|
+
border: `${m(1)} solid transparent`
|
|
1306
|
+
} : t === "white" ? i.isThemeColor ? i.shade === void 0 ? {
|
|
1307
|
+
background: "var(--mantine-color-white)",
|
|
1308
|
+
hover: br(r.white, 0.01),
|
|
1309
|
+
color: `var(--mantine-color-${e}-filled)`,
|
|
1310
|
+
border: `${m(1)} solid transparent`
|
|
1311
|
+
} : {
|
|
1312
|
+
background: "var(--mantine-color-white)",
|
|
1313
|
+
hover: br(r.white, 0.01),
|
|
1314
|
+
color: `var(--mantine-color-${i.color}-${i.shade})`,
|
|
1315
|
+
border: `${m(1)} solid transparent`
|
|
1316
|
+
} : {
|
|
1317
|
+
background: "var(--mantine-color-white)",
|
|
1318
|
+
hover: br(r.white, 0.01),
|
|
1319
|
+
color: e,
|
|
1320
|
+
border: `${m(1)} solid transparent`
|
|
1321
|
+
} : t === "gradient" ? {
|
|
1322
|
+
background: Ht(n, r),
|
|
1323
|
+
hover: Ht(n, r),
|
|
1324
|
+
color: "var(--mantine-color-white)",
|
|
1325
|
+
border: "none"
|
|
1326
|
+
} : t === "default" ? {
|
|
1327
|
+
background: "var(--mantine-color-default)",
|
|
1328
|
+
hover: "var(--mantine-color-default-hover)",
|
|
1329
|
+
color: "var(--mantine-color-default-color)",
|
|
1330
|
+
border: `${m(1)} solid var(--mantine-color-default-border)`
|
|
1331
|
+
} : {};
|
|
1332
|
+
}, Ha = {
|
|
1333
|
+
dark: [
|
|
1334
|
+
"#C9C9C9",
|
|
1335
|
+
"#b8b8b8",
|
|
1336
|
+
"#828282",
|
|
1337
|
+
"#696969",
|
|
1338
|
+
"#424242",
|
|
1339
|
+
"#3b3b3b",
|
|
1340
|
+
"#2e2e2e",
|
|
1341
|
+
"#242424",
|
|
1342
|
+
"#1f1f1f",
|
|
1343
|
+
"#141414"
|
|
1344
|
+
],
|
|
1345
|
+
gray: [
|
|
1346
|
+
"#f8f9fa",
|
|
1347
|
+
"#f1f3f5",
|
|
1348
|
+
"#e9ecef",
|
|
1349
|
+
"#dee2e6",
|
|
1350
|
+
"#ced4da",
|
|
1351
|
+
"#adb5bd",
|
|
1352
|
+
"#868e96",
|
|
1353
|
+
"#495057",
|
|
1354
|
+
"#343a40",
|
|
1355
|
+
"#212529"
|
|
1356
|
+
],
|
|
1357
|
+
red: [
|
|
1358
|
+
"#fff5f5",
|
|
1359
|
+
"#ffe3e3",
|
|
1360
|
+
"#ffc9c9",
|
|
1361
|
+
"#ffa8a8",
|
|
1362
|
+
"#ff8787",
|
|
1363
|
+
"#ff6b6b",
|
|
1364
|
+
"#fa5252",
|
|
1365
|
+
"#f03e3e",
|
|
1366
|
+
"#e03131",
|
|
1367
|
+
"#c92a2a"
|
|
1368
|
+
],
|
|
1369
|
+
pink: [
|
|
1370
|
+
"#fff0f6",
|
|
1371
|
+
"#ffdeeb",
|
|
1372
|
+
"#fcc2d7",
|
|
1373
|
+
"#faa2c1",
|
|
1374
|
+
"#f783ac",
|
|
1375
|
+
"#f06595",
|
|
1376
|
+
"#e64980",
|
|
1377
|
+
"#d6336c",
|
|
1378
|
+
"#c2255c",
|
|
1379
|
+
"#a61e4d"
|
|
1380
|
+
],
|
|
1381
|
+
grape: [
|
|
1382
|
+
"#f8f0fc",
|
|
1383
|
+
"#f3d9fa",
|
|
1384
|
+
"#eebefa",
|
|
1385
|
+
"#e599f7",
|
|
1386
|
+
"#da77f2",
|
|
1387
|
+
"#cc5de8",
|
|
1388
|
+
"#be4bdb",
|
|
1389
|
+
"#ae3ec9",
|
|
1390
|
+
"#9c36b5",
|
|
1391
|
+
"#862e9c"
|
|
1392
|
+
],
|
|
1393
|
+
violet: [
|
|
1394
|
+
"#f3f0ff",
|
|
1395
|
+
"#e5dbff",
|
|
1396
|
+
"#d0bfff",
|
|
1397
|
+
"#b197fc",
|
|
1398
|
+
"#9775fa",
|
|
1399
|
+
"#845ef7",
|
|
1400
|
+
"#7950f2",
|
|
1401
|
+
"#7048e8",
|
|
1402
|
+
"#6741d9",
|
|
1403
|
+
"#5f3dc4"
|
|
1404
|
+
],
|
|
1405
|
+
indigo: [
|
|
1406
|
+
"#edf2ff",
|
|
1407
|
+
"#dbe4ff",
|
|
1408
|
+
"#bac8ff",
|
|
1409
|
+
"#91a7ff",
|
|
1410
|
+
"#748ffc",
|
|
1411
|
+
"#5c7cfa",
|
|
1412
|
+
"#4c6ef5",
|
|
1413
|
+
"#4263eb",
|
|
1414
|
+
"#3b5bdb",
|
|
1415
|
+
"#364fc7"
|
|
1416
|
+
],
|
|
1417
|
+
blue: [
|
|
1418
|
+
"#e7f5ff",
|
|
1419
|
+
"#d0ebff",
|
|
1420
|
+
"#a5d8ff",
|
|
1421
|
+
"#74c0fc",
|
|
1422
|
+
"#4dabf7",
|
|
1423
|
+
"#339af0",
|
|
1424
|
+
"#228be6",
|
|
1425
|
+
"#1c7ed6",
|
|
1426
|
+
"#1971c2",
|
|
1427
|
+
"#1864ab"
|
|
1428
|
+
],
|
|
1429
|
+
cyan: [
|
|
1430
|
+
"#e3fafc",
|
|
1431
|
+
"#c5f6fa",
|
|
1432
|
+
"#99e9f2",
|
|
1433
|
+
"#66d9e8",
|
|
1434
|
+
"#3bc9db",
|
|
1435
|
+
"#22b8cf",
|
|
1436
|
+
"#15aabf",
|
|
1437
|
+
"#1098ad",
|
|
1438
|
+
"#0c8599",
|
|
1439
|
+
"#0b7285"
|
|
1440
|
+
],
|
|
1441
|
+
teal: [
|
|
1442
|
+
"#e6fcf5",
|
|
1443
|
+
"#c3fae8",
|
|
1444
|
+
"#96f2d7",
|
|
1445
|
+
"#63e6be",
|
|
1446
|
+
"#38d9a9",
|
|
1447
|
+
"#20c997",
|
|
1448
|
+
"#12b886",
|
|
1449
|
+
"#0ca678",
|
|
1450
|
+
"#099268",
|
|
1451
|
+
"#087f5b"
|
|
1452
|
+
],
|
|
1453
|
+
green: [
|
|
1454
|
+
"#ebfbee",
|
|
1455
|
+
"#d3f9d8",
|
|
1456
|
+
"#b2f2bb",
|
|
1457
|
+
"#8ce99a",
|
|
1458
|
+
"#69db7c",
|
|
1459
|
+
"#51cf66",
|
|
1460
|
+
"#40c057",
|
|
1461
|
+
"#37b24d",
|
|
1462
|
+
"#2f9e44",
|
|
1463
|
+
"#2b8a3e"
|
|
1464
|
+
],
|
|
1465
|
+
lime: [
|
|
1466
|
+
"#f4fce3",
|
|
1467
|
+
"#e9fac8",
|
|
1468
|
+
"#d8f5a2",
|
|
1469
|
+
"#c0eb75",
|
|
1470
|
+
"#a9e34b",
|
|
1471
|
+
"#94d82d",
|
|
1472
|
+
"#82c91e",
|
|
1473
|
+
"#74b816",
|
|
1474
|
+
"#66a80f",
|
|
1475
|
+
"#5c940d"
|
|
1476
|
+
],
|
|
1477
|
+
yellow: [
|
|
1478
|
+
"#fff9db",
|
|
1479
|
+
"#fff3bf",
|
|
1480
|
+
"#ffec99",
|
|
1481
|
+
"#ffe066",
|
|
1482
|
+
"#ffd43b",
|
|
1483
|
+
"#fcc419",
|
|
1484
|
+
"#fab005",
|
|
1485
|
+
"#f59f00",
|
|
1486
|
+
"#f08c00",
|
|
1487
|
+
"#e67700"
|
|
1488
|
+
],
|
|
1489
|
+
orange: [
|
|
1490
|
+
"#fff4e6",
|
|
1491
|
+
"#ffe8cc",
|
|
1492
|
+
"#ffd8a8",
|
|
1493
|
+
"#ffc078",
|
|
1494
|
+
"#ffa94d",
|
|
1495
|
+
"#ff922b",
|
|
1496
|
+
"#fd7e14",
|
|
1497
|
+
"#f76707",
|
|
1498
|
+
"#e8590c",
|
|
1499
|
+
"#d9480f"
|
|
1500
|
+
]
|
|
1501
|
+
}, Vt = "-apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Helvetica, Arial, sans-serif, Apple Color Emoji, Segoe UI Emoji", mt = {
|
|
1502
|
+
scale: 1,
|
|
1503
|
+
fontSmoothing: !0,
|
|
1504
|
+
focusRing: "auto",
|
|
1505
|
+
white: "#fff",
|
|
1506
|
+
black: "#000",
|
|
1507
|
+
colors: Ha,
|
|
1508
|
+
primaryShade: { light: 6, dark: 8 },
|
|
1509
|
+
primaryColor: "blue",
|
|
1510
|
+
variantColorResolver: za,
|
|
1511
|
+
autoContrast: !1,
|
|
1512
|
+
luminanceThreshold: 0.3,
|
|
1513
|
+
fontFamily: Vt,
|
|
1514
|
+
fontFamilyMonospace: "ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, Liberation Mono, Courier New, monospace",
|
|
1515
|
+
respectReducedMotion: !1,
|
|
1516
|
+
cursorType: "default",
|
|
1517
|
+
defaultGradient: { from: "blue", to: "cyan", deg: 45 },
|
|
1518
|
+
defaultRadius: "sm",
|
|
1519
|
+
activeClassName: "mantine-active",
|
|
1520
|
+
focusClassName: "",
|
|
1521
|
+
headings: {
|
|
1522
|
+
fontFamily: Vt,
|
|
1523
|
+
fontWeight: "700",
|
|
1524
|
+
textWrap: "wrap",
|
|
1525
|
+
sizes: {
|
|
1526
|
+
h1: { fontSize: m(34), lineHeight: "1.3" },
|
|
1527
|
+
h2: { fontSize: m(26), lineHeight: "1.35" },
|
|
1528
|
+
h3: { fontSize: m(22), lineHeight: "1.4" },
|
|
1529
|
+
h4: { fontSize: m(18), lineHeight: "1.45" },
|
|
1530
|
+
h5: { fontSize: m(16), lineHeight: "1.5" },
|
|
1531
|
+
h6: { fontSize: m(14), lineHeight: "1.5" }
|
|
1532
|
+
}
|
|
1533
|
+
},
|
|
1534
|
+
fontSizes: {
|
|
1535
|
+
xs: m(12),
|
|
1536
|
+
sm: m(14),
|
|
1537
|
+
md: m(16),
|
|
1538
|
+
lg: m(18),
|
|
1539
|
+
xl: m(20)
|
|
1540
|
+
},
|
|
1541
|
+
lineHeights: {
|
|
1542
|
+
xs: "1.4",
|
|
1543
|
+
sm: "1.45",
|
|
1544
|
+
md: "1.55",
|
|
1545
|
+
lg: "1.6",
|
|
1546
|
+
xl: "1.65"
|
|
1547
|
+
},
|
|
1548
|
+
radius: {
|
|
1549
|
+
xs: m(2),
|
|
1550
|
+
sm: m(4),
|
|
1551
|
+
md: m(8),
|
|
1552
|
+
lg: m(16),
|
|
1553
|
+
xl: m(32)
|
|
1554
|
+
},
|
|
1555
|
+
spacing: {
|
|
1556
|
+
xs: m(10),
|
|
1557
|
+
sm: m(12),
|
|
1558
|
+
md: m(16),
|
|
1559
|
+
lg: m(20),
|
|
1560
|
+
xl: m(32)
|
|
1561
|
+
},
|
|
1562
|
+
breakpoints: {
|
|
1563
|
+
xs: "36em",
|
|
1564
|
+
sm: "48em",
|
|
1565
|
+
md: "62em",
|
|
1566
|
+
lg: "75em",
|
|
1567
|
+
xl: "88em"
|
|
1568
|
+
},
|
|
1569
|
+
shadows: {
|
|
1570
|
+
xs: `0 ${m(1)} ${m(3)} rgba(0, 0, 0, 0.05), 0 ${m(1)} ${m(2)} rgba(0, 0, 0, 0.1)`,
|
|
1571
|
+
sm: `0 ${m(1)} ${m(3)} rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.05) 0 ${m(10)} ${m(
|
|
1572
|
+
15
|
|
1573
|
+
)} ${m(-5)}, rgba(0, 0, 0, 0.04) 0 ${m(7)} ${m(7)} ${m(-5)}`,
|
|
1574
|
+
md: `0 ${m(1)} ${m(3)} rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.05) 0 ${m(20)} ${m(
|
|
1575
|
+
25
|
|
1576
|
+
)} ${m(-5)}, rgba(0, 0, 0, 0.04) 0 ${m(10)} ${m(10)} ${m(-5)}`,
|
|
1577
|
+
lg: `0 ${m(1)} ${m(3)} rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.05) 0 ${m(28)} ${m(
|
|
1578
|
+
23
|
|
1579
|
+
)} ${m(-7)}, rgba(0, 0, 0, 0.04) 0 ${m(12)} ${m(12)} ${m(-7)}`,
|
|
1580
|
+
xl: `0 ${m(1)} ${m(3)} rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.05) 0 ${m(36)} ${m(
|
|
1581
|
+
28
|
|
1582
|
+
)} ${m(-7)}, rgba(0, 0, 0, 0.04) 0 ${m(17)} ${m(17)} ${m(-7)}`
|
|
1583
|
+
},
|
|
1584
|
+
other: {},
|
|
1585
|
+
components: {}
|
|
1586
|
+
};
|
|
1587
|
+
function Dt(e) {
|
|
1588
|
+
return e === "auto" || e === "dark" || e === "light";
|
|
1589
|
+
}
|
|
1590
|
+
function Va({
|
|
1591
|
+
key: e = "mantine-color-scheme-value"
|
|
1592
|
+
} = {}) {
|
|
1593
|
+
let r;
|
|
1594
|
+
return {
|
|
1595
|
+
get: (t) => {
|
|
1596
|
+
if (typeof window > "u")
|
|
1597
|
+
return t;
|
|
1598
|
+
try {
|
|
1599
|
+
const n = window.localStorage.getItem(e);
|
|
1600
|
+
return Dt(n) ? n : t;
|
|
1601
|
+
} catch {
|
|
1602
|
+
return t;
|
|
1603
|
+
}
|
|
1604
|
+
},
|
|
1605
|
+
set: (t) => {
|
|
1606
|
+
try {
|
|
1607
|
+
window.localStorage.setItem(e, t);
|
|
1608
|
+
} catch (n) {
|
|
1609
|
+
console.warn(
|
|
1610
|
+
"[@mantine/core] Local storage color scheme manager was unable to save color scheme.",
|
|
1611
|
+
n
|
|
1612
|
+
);
|
|
1613
|
+
}
|
|
1614
|
+
},
|
|
1615
|
+
subscribe: (t) => {
|
|
1616
|
+
r = (n) => {
|
|
1617
|
+
n.storageArea === window.localStorage && n.key === e && Dt(n.newValue) && t(n.newValue);
|
|
1618
|
+
}, window.addEventListener("storage", r);
|
|
1619
|
+
},
|
|
1620
|
+
unsubscribe: () => {
|
|
1621
|
+
window.removeEventListener("storage", r);
|
|
1622
|
+
},
|
|
1623
|
+
clear: () => {
|
|
1624
|
+
window.localStorage.removeItem(e);
|
|
1625
|
+
}
|
|
1626
|
+
};
|
|
1627
|
+
}
|
|
1628
|
+
const Da = "[@mantine/core] MantineProvider: Invalid theme.primaryColor, it accepts only key of theme.colors, learn more – https://mantine.dev/theming/colors/#primary-color", Bt = "[@mantine/core] MantineProvider: Invalid theme.primaryShade, it accepts only 0-9 integers or an object { light: 0-9, dark: 0-9 }";
|
|
1629
|
+
function Ur(e) {
|
|
1630
|
+
return e < 0 || e > 9 ? !1 : parseInt(e.toString(), 10) === e;
|
|
1631
|
+
}
|
|
1632
|
+
function Yt(e) {
|
|
1633
|
+
if (!(e.primaryColor in e.colors))
|
|
1634
|
+
throw new Error(Da);
|
|
1635
|
+
if (typeof e.primaryShade == "object" && (!Ur(e.primaryShade.dark) || !Ur(e.primaryShade.light)))
|
|
1636
|
+
throw new Error(Bt);
|
|
1637
|
+
if (typeof e.primaryShade == "number" && !Ur(e.primaryShade))
|
|
1638
|
+
throw new Error(Bt);
|
|
1639
|
+
}
|
|
1640
|
+
function Ba(e, r) {
|
|
1641
|
+
var n;
|
|
1642
|
+
if (!r)
|
|
1643
|
+
return Yt(e), e;
|
|
1644
|
+
const t = lt(e, r);
|
|
1645
|
+
return r.fontFamily && !((n = r.headings) != null && n.fontFamily) && (t.headings.fontFamily = r.fontFamily), Yt(t), t;
|
|
1646
|
+
}
|
|
1647
|
+
const ht = ct(null), Ya = () => er(ht) || mt;
|
|
1648
|
+
function he() {
|
|
1649
|
+
const e = er(ht);
|
|
1650
|
+
if (!e)
|
|
1651
|
+
throw new Error(
|
|
1652
|
+
"@mantine/core: MantineProvider was not found in component tree, make sure you have it in your app"
|
|
1653
|
+
);
|
|
1654
|
+
return e;
|
|
1655
|
+
}
|
|
1656
|
+
function yn({
|
|
1657
|
+
theme: e,
|
|
1658
|
+
children: r,
|
|
1659
|
+
inherit: t = !0
|
|
1660
|
+
}) {
|
|
1661
|
+
const n = Ya(), a = fn(
|
|
1662
|
+
() => Ba(t ? n : mt, e),
|
|
1663
|
+
[e, n, t]
|
|
1664
|
+
);
|
|
1665
|
+
return /* @__PURE__ */ C.jsx(ht.Provider, { value: a, children: r });
|
|
1666
|
+
}
|
|
1667
|
+
yn.displayName = "@mantine/core/MantineThemeProvider";
|
|
1668
|
+
function Ua() {
|
|
1669
|
+
const e = he(), r = dt(), t = ce(e.breakpoints).reduce((n, a) => {
|
|
1670
|
+
const i = e.breakpoints[a].includes("px"), s = ya(e.breakpoints[a]), c = i ? `${s - 0.1}px` : It(s - 0.1), l = i ? `${s}px` : It(s);
|
|
1671
|
+
return `${n}@media (max-width: ${c}) {.mantine-visible-from-${a} {display: none !important;}}@media (min-width: ${l}) {.mantine-hidden-from-${a} {display: none !important;}}`;
|
|
1672
|
+
}, "");
|
|
1673
|
+
return /* @__PURE__ */ C.jsx(
|
|
1674
|
+
"style",
|
|
1675
|
+
{
|
|
1676
|
+
"data-mantine-styles": "classes",
|
|
1677
|
+
nonce: r == null ? void 0 : r(),
|
|
1678
|
+
dangerouslySetInnerHTML: { __html: t }
|
|
1679
|
+
}
|
|
1680
|
+
);
|
|
1681
|
+
}
|
|
1682
|
+
function Gr(e) {
|
|
1683
|
+
return Object.entries(e).map(([r, t]) => `${r}: ${t};`).join("");
|
|
1684
|
+
}
|
|
1685
|
+
function Ge(e, r) {
|
|
1686
|
+
return (Array.isArray(e) ? e : [e]).reduce((n, a) => `${a}{${n}}`, r);
|
|
1687
|
+
}
|
|
1688
|
+
function Ga(e, r) {
|
|
1689
|
+
const t = Gr(e.variables), n = t ? Ge(r, t) : "", a = Gr(e.dark), i = Gr(e.light), s = a ? Ge(r === ":host" ? `${r}([data-mantine-color-scheme="dark"])` : `${r}[data-mantine-color-scheme="dark"]`, a) : "", c = i ? Ge(r === ":host" ? `${r}([data-mantine-color-scheme="light"])` : `${r}[data-mantine-color-scheme="light"]`, i) : "";
|
|
1690
|
+
return `${n}${s}${c}`;
|
|
1691
|
+
}
|
|
1692
|
+
function Xa({ color: e, theme: r, autoContrast: t }) {
|
|
1693
|
+
return r.autoContrast && rr({ color: e || r.primaryColor, theme: r }).isLight ? "var(--mantine-color-black)" : "var(--mantine-color-white)";
|
|
1694
|
+
}
|
|
1695
|
+
function Ut(e, r) {
|
|
1696
|
+
return Xa({
|
|
1697
|
+
color: e.colors[e.primaryColor][Ke(e, r)],
|
|
1698
|
+
theme: e,
|
|
1699
|
+
autoContrast: null
|
|
1700
|
+
});
|
|
1701
|
+
}
|
|
1702
|
+
function vr({
|
|
1703
|
+
theme: e,
|
|
1704
|
+
color: r,
|
|
1705
|
+
colorScheme: t,
|
|
1706
|
+
name: n = r,
|
|
1707
|
+
withColorValues: a = !0
|
|
1708
|
+
}) {
|
|
1709
|
+
if (!e.colors[r])
|
|
1710
|
+
return {};
|
|
1711
|
+
if (t === "light") {
|
|
1712
|
+
const c = Ke(e, "light"), l = {
|
|
1713
|
+
[`--mantine-color-${n}-text`]: `var(--mantine-color-${n}-filled)`,
|
|
1714
|
+
[`--mantine-color-${n}-filled`]: `var(--mantine-color-${n}-${c})`,
|
|
1715
|
+
[`--mantine-color-${n}-filled-hover`]: `var(--mantine-color-${n}-${c === 9 ? 8 : c + 1})`,
|
|
1716
|
+
[`--mantine-color-${n}-light`]: _e(e.colors[r][c], 0.1),
|
|
1717
|
+
[`--mantine-color-${n}-light-hover`]: _e(e.colors[r][c], 0.12),
|
|
1718
|
+
[`--mantine-color-${n}-light-color`]: `var(--mantine-color-${n}-${c})`,
|
|
1719
|
+
[`--mantine-color-${n}-outline`]: `var(--mantine-color-${n}-${c})`,
|
|
1720
|
+
[`--mantine-color-${n}-outline-hover`]: _e(e.colors[r][c], 0.05)
|
|
1721
|
+
};
|
|
1722
|
+
return a ? {
|
|
1723
|
+
[`--mantine-color-${n}-0`]: e.colors[r][0],
|
|
1724
|
+
[`--mantine-color-${n}-1`]: e.colors[r][1],
|
|
1725
|
+
[`--mantine-color-${n}-2`]: e.colors[r][2],
|
|
1726
|
+
[`--mantine-color-${n}-3`]: e.colors[r][3],
|
|
1727
|
+
[`--mantine-color-${n}-4`]: e.colors[r][4],
|
|
1728
|
+
[`--mantine-color-${n}-5`]: e.colors[r][5],
|
|
1729
|
+
[`--mantine-color-${n}-6`]: e.colors[r][6],
|
|
1730
|
+
[`--mantine-color-${n}-7`]: e.colors[r][7],
|
|
1731
|
+
[`--mantine-color-${n}-8`]: e.colors[r][8],
|
|
1732
|
+
[`--mantine-color-${n}-9`]: e.colors[r][9],
|
|
1733
|
+
...l
|
|
1734
|
+
} : l;
|
|
1735
|
+
}
|
|
1736
|
+
const i = Ke(e, "dark"), s = {
|
|
1737
|
+
[`--mantine-color-${n}-text`]: `var(--mantine-color-${n}-4)`,
|
|
1738
|
+
[`--mantine-color-${n}-filled`]: `var(--mantine-color-${n}-${i})`,
|
|
1739
|
+
[`--mantine-color-${n}-filled-hover`]: `var(--mantine-color-${n}-${i === 9 ? 8 : i + 1})`,
|
|
1740
|
+
[`--mantine-color-${n}-light`]: _e(
|
|
1741
|
+
e.colors[r][Math.max(0, i - 2)],
|
|
1742
|
+
0.15
|
|
1743
|
+
),
|
|
1744
|
+
[`--mantine-color-${n}-light-hover`]: _e(
|
|
1745
|
+
e.colors[r][Math.max(0, i - 2)],
|
|
1746
|
+
0.2
|
|
1747
|
+
),
|
|
1748
|
+
[`--mantine-color-${n}-light-color`]: `var(--mantine-color-${n}-${Math.max(i - 5, 0)})`,
|
|
1749
|
+
[`--mantine-color-${n}-outline`]: `var(--mantine-color-${n}-${Math.max(i - 4, 0)})`,
|
|
1750
|
+
[`--mantine-color-${n}-outline-hover`]: _e(
|
|
1751
|
+
e.colors[r][Math.max(i - 4, 0)],
|
|
1752
|
+
0.05
|
|
1753
|
+
)
|
|
1754
|
+
};
|
|
1755
|
+
return a ? {
|
|
1756
|
+
[`--mantine-color-${n}-0`]: e.colors[r][0],
|
|
1757
|
+
[`--mantine-color-${n}-1`]: e.colors[r][1],
|
|
1758
|
+
[`--mantine-color-${n}-2`]: e.colors[r][2],
|
|
1759
|
+
[`--mantine-color-${n}-3`]: e.colors[r][3],
|
|
1760
|
+
[`--mantine-color-${n}-4`]: e.colors[r][4],
|
|
1761
|
+
[`--mantine-color-${n}-5`]: e.colors[r][5],
|
|
1762
|
+
[`--mantine-color-${n}-6`]: e.colors[r][6],
|
|
1763
|
+
[`--mantine-color-${n}-7`]: e.colors[r][7],
|
|
1764
|
+
[`--mantine-color-${n}-8`]: e.colors[r][8],
|
|
1765
|
+
[`--mantine-color-${n}-9`]: e.colors[r][9],
|
|
1766
|
+
...s
|
|
1767
|
+
} : s;
|
|
1768
|
+
}
|
|
1769
|
+
function qa(e) {
|
|
1770
|
+
return !!e && typeof e == "object" && "mantine-virtual-color" in e;
|
|
1771
|
+
}
|
|
1772
|
+
function Ee(e, r, t) {
|
|
1773
|
+
ce(r).forEach(
|
|
1774
|
+
(n) => Object.assign(e, { [`--mantine-${t}-${n}`]: r[n] })
|
|
1775
|
+
);
|
|
1776
|
+
}
|
|
1777
|
+
const bn = (e) => {
|
|
1778
|
+
const r = Ke(e, "light"), t = e.defaultRadius in e.radius ? e.radius[e.defaultRadius] : m(e.defaultRadius), n = {
|
|
1779
|
+
variables: {
|
|
1780
|
+
"--mantine-scale": e.scale.toString(),
|
|
1781
|
+
"--mantine-cursor-type": e.cursorType,
|
|
1782
|
+
"--mantine-color-scheme": "light dark",
|
|
1783
|
+
"--mantine-webkit-font-smoothing": e.fontSmoothing ? "antialiased" : "unset",
|
|
1784
|
+
"--mantine-moz-font-smoothing": e.fontSmoothing ? "grayscale" : "unset",
|
|
1785
|
+
"--mantine-color-white": e.white,
|
|
1786
|
+
"--mantine-color-black": e.black,
|
|
1787
|
+
"--mantine-line-height": e.lineHeights.md,
|
|
1788
|
+
"--mantine-font-family": e.fontFamily,
|
|
1789
|
+
"--mantine-font-family-monospace": e.fontFamilyMonospace,
|
|
1790
|
+
"--mantine-font-family-headings": e.headings.fontFamily,
|
|
1791
|
+
"--mantine-heading-font-weight": e.headings.fontWeight,
|
|
1792
|
+
"--mantine-heading-text-wrap": e.headings.textWrap,
|
|
1793
|
+
"--mantine-radius-default": t,
|
|
1794
|
+
// Primary colors
|
|
1795
|
+
"--mantine-primary-color-filled": `var(--mantine-color-${e.primaryColor}-filled)`,
|
|
1796
|
+
"--mantine-primary-color-filled-hover": `var(--mantine-color-${e.primaryColor}-filled-hover)`,
|
|
1797
|
+
"--mantine-primary-color-light": `var(--mantine-color-${e.primaryColor}-light)`,
|
|
1798
|
+
"--mantine-primary-color-light-hover": `var(--mantine-color-${e.primaryColor}-light-hover)`,
|
|
1799
|
+
"--mantine-primary-color-light-color": `var(--mantine-color-${e.primaryColor}-light-color)`
|
|
1800
|
+
},
|
|
1801
|
+
light: {
|
|
1802
|
+
"--mantine-primary-color-contrast": Ut(e, "light"),
|
|
1803
|
+
"--mantine-color-bright": "var(--mantine-color-black)",
|
|
1804
|
+
"--mantine-color-text": e.black,
|
|
1805
|
+
"--mantine-color-body": e.white,
|
|
1806
|
+
"--mantine-color-error": "var(--mantine-color-red-6)",
|
|
1807
|
+
"--mantine-color-placeholder": "var(--mantine-color-gray-5)",
|
|
1808
|
+
"--mantine-color-anchor": `var(--mantine-color-${e.primaryColor}-${r})`,
|
|
1809
|
+
"--mantine-color-default": "var(--mantine-color-white)",
|
|
1810
|
+
"--mantine-color-default-hover": "var(--mantine-color-gray-0)",
|
|
1811
|
+
"--mantine-color-default-color": "var(--mantine-color-black)",
|
|
1812
|
+
"--mantine-color-default-border": "var(--mantine-color-gray-4)",
|
|
1813
|
+
"--mantine-color-dimmed": "var(--mantine-color-gray-6)"
|
|
1814
|
+
},
|
|
1815
|
+
dark: {
|
|
1816
|
+
"--mantine-primary-color-contrast": Ut(e, "dark"),
|
|
1817
|
+
"--mantine-color-bright": "var(--mantine-color-white)",
|
|
1818
|
+
"--mantine-color-text": "var(--mantine-color-dark-0)",
|
|
1819
|
+
"--mantine-color-body": "var(--mantine-color-dark-7)",
|
|
1820
|
+
"--mantine-color-error": "var(--mantine-color-red-8)",
|
|
1821
|
+
"--mantine-color-placeholder": "var(--mantine-color-dark-3)",
|
|
1822
|
+
"--mantine-color-anchor": `var(--mantine-color-${e.primaryColor}-4)`,
|
|
1823
|
+
"--mantine-color-default": "var(--mantine-color-dark-6)",
|
|
1824
|
+
"--mantine-color-default-hover": "var(--mantine-color-dark-5)",
|
|
1825
|
+
"--mantine-color-default-color": "var(--mantine-color-white)",
|
|
1826
|
+
"--mantine-color-default-border": "var(--mantine-color-dark-4)",
|
|
1827
|
+
"--mantine-color-dimmed": "var(--mantine-color-dark-2)"
|
|
1828
|
+
}
|
|
1829
|
+
};
|
|
1830
|
+
Ee(n.variables, e.breakpoints, "breakpoint"), Ee(n.variables, e.spacing, "spacing"), Ee(n.variables, e.fontSizes, "font-size"), Ee(n.variables, e.lineHeights, "line-height"), Ee(n.variables, e.shadows, "shadow"), Ee(n.variables, e.radius, "radius"), e.colors[e.primaryColor].forEach((i, s) => {
|
|
1831
|
+
n.variables[`--mantine-primary-color-${s}`] = `var(--mantine-color-${e.primaryColor}-${s})`;
|
|
1832
|
+
}), ce(e.colors).forEach((i) => {
|
|
1833
|
+
const s = e.colors[i];
|
|
1834
|
+
if (qa(s)) {
|
|
1835
|
+
Object.assign(
|
|
1836
|
+
n.light,
|
|
1837
|
+
vr({
|
|
1838
|
+
theme: e,
|
|
1839
|
+
name: s.name,
|
|
1840
|
+
color: s.light,
|
|
1841
|
+
colorScheme: "light",
|
|
1842
|
+
withColorValues: !0
|
|
1843
|
+
})
|
|
1844
|
+
), Object.assign(
|
|
1845
|
+
n.dark,
|
|
1846
|
+
vr({
|
|
1847
|
+
theme: e,
|
|
1848
|
+
name: s.name,
|
|
1849
|
+
color: s.dark,
|
|
1850
|
+
colorScheme: "dark",
|
|
1851
|
+
withColorValues: !0
|
|
1852
|
+
})
|
|
1853
|
+
);
|
|
1854
|
+
return;
|
|
1855
|
+
}
|
|
1856
|
+
s.forEach((c, l) => {
|
|
1857
|
+
n.variables[`--mantine-color-${i}-${l}`] = c;
|
|
1858
|
+
}), Object.assign(
|
|
1859
|
+
n.light,
|
|
1860
|
+
vr({
|
|
1861
|
+
theme: e,
|
|
1862
|
+
color: i,
|
|
1863
|
+
colorScheme: "light",
|
|
1864
|
+
withColorValues: !1
|
|
1865
|
+
})
|
|
1866
|
+
), Object.assign(
|
|
1867
|
+
n.dark,
|
|
1868
|
+
vr({
|
|
1869
|
+
theme: e,
|
|
1870
|
+
color: i,
|
|
1871
|
+
colorScheme: "dark",
|
|
1872
|
+
withColorValues: !1
|
|
1873
|
+
})
|
|
1874
|
+
);
|
|
1875
|
+
});
|
|
1876
|
+
const a = e.headings.sizes;
|
|
1877
|
+
return ce(a).forEach((i) => {
|
|
1878
|
+
n.variables[`--mantine-${i}-font-size`] = a[i].fontSize, n.variables[`--mantine-${i}-line-height`] = a[i].lineHeight, n.variables[`--mantine-${i}-font-weight`] = a[i].fontWeight || e.headings.fontWeight;
|
|
1879
|
+
}), n;
|
|
1880
|
+
};
|
|
1881
|
+
function Ka({ theme: e, generator: r }) {
|
|
1882
|
+
const t = bn(e), n = r == null ? void 0 : r(e);
|
|
1883
|
+
return n ? lt(t, n) : t;
|
|
1884
|
+
}
|
|
1885
|
+
const Xr = bn(mt);
|
|
1886
|
+
function Ja(e) {
|
|
1887
|
+
const r = {
|
|
1888
|
+
variables: {},
|
|
1889
|
+
light: {},
|
|
1890
|
+
dark: {}
|
|
1891
|
+
};
|
|
1892
|
+
return ce(e.variables).forEach((t) => {
|
|
1893
|
+
Xr.variables[t] !== e.variables[t] && (r.variables[t] = e.variables[t]);
|
|
1894
|
+
}), ce(e.light).forEach((t) => {
|
|
1895
|
+
Xr.light[t] !== e.light[t] && (r.light[t] = e.light[t]);
|
|
1896
|
+
}), ce(e.dark).forEach((t) => {
|
|
1897
|
+
Xr.dark[t] !== e.dark[t] && (r.dark[t] = e.dark[t]);
|
|
1898
|
+
}), r;
|
|
1899
|
+
}
|
|
1900
|
+
function Za(e) {
|
|
1901
|
+
return `
|
|
1902
|
+
${e}[data-mantine-color-scheme="dark"] { --mantine-color-scheme: dark; }
|
|
1903
|
+
${e}[data-mantine-color-scheme="light"] { --mantine-color-scheme: light; }
|
|
1904
|
+
`;
|
|
1905
|
+
}
|
|
1906
|
+
function vn({
|
|
1907
|
+
cssVariablesSelector: e,
|
|
1908
|
+
deduplicateCssVariables: r
|
|
1909
|
+
}) {
|
|
1910
|
+
const t = he(), n = dt(), a = Ta(), i = Ka({ theme: t, generator: a }), s = e === ":root" && r, c = s ? Ja(i) : i, l = Ga(c, e);
|
|
1911
|
+
return l ? /* @__PURE__ */ C.jsx(
|
|
1912
|
+
"style",
|
|
1913
|
+
{
|
|
1914
|
+
"data-mantine-styles": !0,
|
|
1915
|
+
nonce: n == null ? void 0 : n(),
|
|
1916
|
+
dangerouslySetInnerHTML: {
|
|
1917
|
+
__html: `${l}${s ? "" : Za(e)}`
|
|
1918
|
+
}
|
|
1919
|
+
}
|
|
1920
|
+
) : null;
|
|
1921
|
+
}
|
|
1922
|
+
vn.displayName = "@mantine/CssVariables";
|
|
1923
|
+
function Qa() {
|
|
1924
|
+
const e = console.error;
|
|
1925
|
+
console.error = (...r) => {
|
|
1926
|
+
r.length > 1 && typeof r[0] == "string" && r[0].toLowerCase().includes("extra attributes from the server") && typeof r[1] == "string" && r[1].toLowerCase().includes("data-mantine-color-scheme") || e(...r);
|
|
1927
|
+
};
|
|
1928
|
+
}
|
|
1929
|
+
function Pe(e, r) {
|
|
1930
|
+
var a, i;
|
|
1931
|
+
const t = typeof window < "u" && "matchMedia" in window && ((a = window.matchMedia("(prefers-color-scheme: dark)")) == null ? void 0 : a.matches), n = e !== "auto" ? e : t ? "dark" : "light";
|
|
1932
|
+
(i = r()) == null || i.setAttribute("data-mantine-color-scheme", n);
|
|
1933
|
+
}
|
|
1934
|
+
function ei({
|
|
1935
|
+
manager: e,
|
|
1936
|
+
defaultColorScheme: r,
|
|
1937
|
+
getRootElement: t,
|
|
1938
|
+
forceColorScheme: n
|
|
1939
|
+
}) {
|
|
1940
|
+
const a = Oe(null), [i, s] = Me(() => e.get(r)), c = n || i, l = Wt(
|
|
1941
|
+
(f) => {
|
|
1942
|
+
n || (Pe(f, t), s(f), e.set(f));
|
|
1943
|
+
},
|
|
1944
|
+
[e.set, c, n]
|
|
1945
|
+
), p = Wt(() => {
|
|
1946
|
+
s(r), Pe(r, t), e.clear();
|
|
1947
|
+
}, [e.clear, r]);
|
|
1948
|
+
return pe(() => (e.subscribe(l), e.unsubscribe), [e.subscribe, e.unsubscribe]), mn(() => {
|
|
1949
|
+
Pe(e.get(r), t);
|
|
1950
|
+
}, []), pe(() => {
|
|
1951
|
+
var u;
|
|
1952
|
+
if (n)
|
|
1953
|
+
return Pe(n, t), () => {
|
|
1954
|
+
};
|
|
1955
|
+
n === void 0 && Pe(i, t), typeof window < "u" && "matchMedia" in window && (a.current = window.matchMedia("(prefers-color-scheme: dark)"));
|
|
1956
|
+
const f = (h) => {
|
|
1957
|
+
i === "auto" && Pe(h.matches ? "dark" : "light", t);
|
|
1958
|
+
};
|
|
1959
|
+
return (u = a.current) == null || u.addEventListener("change", f), () => {
|
|
1960
|
+
var h;
|
|
1961
|
+
return (h = a.current) == null ? void 0 : h.removeEventListener("change", f);
|
|
1962
|
+
};
|
|
1963
|
+
}, [i, n]), { colorScheme: c, setColorScheme: l, clearColorScheme: p };
|
|
1964
|
+
}
|
|
1965
|
+
function ri({
|
|
1966
|
+
respectReducedMotion: e,
|
|
1967
|
+
getRootElement: r
|
|
1968
|
+
}) {
|
|
1969
|
+
mn(() => {
|
|
1970
|
+
var t;
|
|
1971
|
+
e && ((t = r()) == null || t.setAttribute("data-respect-reduced-motion", "true"));
|
|
1972
|
+
}, [e]);
|
|
1973
|
+
}
|
|
1974
|
+
Qa();
|
|
1975
|
+
function xn({
|
|
1976
|
+
theme: e,
|
|
1977
|
+
children: r,
|
|
1978
|
+
getStyleNonce: t,
|
|
1979
|
+
withStaticClasses: n = !0,
|
|
1980
|
+
withGlobalClasses: a = !0,
|
|
1981
|
+
deduplicateCssVariables: i = !0,
|
|
1982
|
+
withCssVariables: s = !0,
|
|
1983
|
+
cssVariablesSelector: c = ":root",
|
|
1984
|
+
classNamesPrefix: l = "mantine",
|
|
1985
|
+
colorSchemeManager: p = Va(),
|
|
1986
|
+
defaultColorScheme: f = "light",
|
|
1987
|
+
getRootElement: u = () => document.documentElement,
|
|
1988
|
+
cssVariablesResolver: h,
|
|
1989
|
+
forceColorScheme: x,
|
|
1990
|
+
stylesTransform: v,
|
|
1991
|
+
env: y
|
|
1992
|
+
}) {
|
|
1993
|
+
const { colorScheme: b, setColorScheme: $, clearColorScheme: w } = ei({
|
|
1994
|
+
defaultColorScheme: f,
|
|
1995
|
+
forceColorScheme: x,
|
|
1996
|
+
manager: p,
|
|
1997
|
+
getRootElement: u
|
|
1998
|
+
});
|
|
1999
|
+
return ri({
|
|
2000
|
+
respectReducedMotion: (e == null ? void 0 : e.respectReducedMotion) || !1,
|
|
2001
|
+
getRootElement: u
|
|
2002
|
+
}), /* @__PURE__ */ C.jsx(
|
|
2003
|
+
gn.Provider,
|
|
2004
|
+
{
|
|
2005
|
+
value: {
|
|
2006
|
+
colorScheme: b,
|
|
2007
|
+
setColorScheme: $,
|
|
2008
|
+
clearColorScheme: w,
|
|
2009
|
+
getRootElement: u,
|
|
2010
|
+
classNamesPrefix: l,
|
|
2011
|
+
getStyleNonce: t,
|
|
2012
|
+
cssVariablesResolver: h,
|
|
2013
|
+
cssVariablesSelector: c,
|
|
2014
|
+
withStaticClasses: n,
|
|
2015
|
+
stylesTransform: v,
|
|
2016
|
+
env: y
|
|
2017
|
+
},
|
|
2018
|
+
children: /* @__PURE__ */ C.jsxs(yn, { theme: e, children: [
|
|
2019
|
+
s && /* @__PURE__ */ C.jsx(
|
|
2020
|
+
vn,
|
|
2021
|
+
{
|
|
2022
|
+
cssVariablesSelector: c,
|
|
2023
|
+
deduplicateCssVariables: i
|
|
2024
|
+
}
|
|
2025
|
+
),
|
|
2026
|
+
a && /* @__PURE__ */ C.jsx(Ua, {}),
|
|
2027
|
+
r
|
|
2028
|
+
] })
|
|
2029
|
+
}
|
|
2030
|
+
);
|
|
2031
|
+
}
|
|
2032
|
+
xn.displayName = "@mantine/core/MantineProvider";
|
|
2033
|
+
const ti = {
|
|
2034
|
+
always: "mantine-focus-always",
|
|
2035
|
+
auto: "mantine-focus-auto",
|
|
2036
|
+
never: "mantine-focus-never"
|
|
2037
|
+
};
|
|
2038
|
+
function ni({ theme: e, options: r, unstyled: t }) {
|
|
2039
|
+
return we(
|
|
2040
|
+
(r == null ? void 0 : r.focusable) && !t && (e.focusClassName || ti[e.focusRing]),
|
|
2041
|
+
(r == null ? void 0 : r.active) && !t && e.activeClassName
|
|
2042
|
+
);
|
|
2043
|
+
}
|
|
2044
|
+
function ai({
|
|
2045
|
+
selector: e,
|
|
2046
|
+
stylesCtx: r,
|
|
2047
|
+
options: t,
|
|
2048
|
+
props: n,
|
|
2049
|
+
theme: a
|
|
2050
|
+
}) {
|
|
2051
|
+
return ut({
|
|
2052
|
+
theme: a,
|
|
2053
|
+
classNames: t == null ? void 0 : t.classNames,
|
|
2054
|
+
props: (t == null ? void 0 : t.props) || n,
|
|
2055
|
+
stylesCtx: r
|
|
2056
|
+
})[e];
|
|
2057
|
+
}
|
|
2058
|
+
function Gt({
|
|
2059
|
+
selector: e,
|
|
2060
|
+
stylesCtx: r,
|
|
2061
|
+
theme: t,
|
|
2062
|
+
classNames: n,
|
|
2063
|
+
props: a
|
|
2064
|
+
}) {
|
|
2065
|
+
return ut({ theme: t, classNames: n, props: a, stylesCtx: r })[e];
|
|
2066
|
+
}
|
|
2067
|
+
function ii({ rootSelector: e, selector: r, className: t }) {
|
|
2068
|
+
return e === r ? t : void 0;
|
|
2069
|
+
}
|
|
2070
|
+
function oi({ selector: e, classes: r, unstyled: t }) {
|
|
2071
|
+
return t ? void 0 : r[e];
|
|
2072
|
+
}
|
|
2073
|
+
function si({
|
|
2074
|
+
themeName: e,
|
|
2075
|
+
classNamesPrefix: r,
|
|
2076
|
+
selector: t,
|
|
2077
|
+
withStaticClass: n
|
|
2078
|
+
}) {
|
|
2079
|
+
return n === !1 ? [] : e.map((a) => `${r}-${a}-${t}`);
|
|
2080
|
+
}
|
|
2081
|
+
function ci({
|
|
2082
|
+
themeName: e,
|
|
2083
|
+
theme: r,
|
|
2084
|
+
selector: t,
|
|
2085
|
+
props: n,
|
|
2086
|
+
stylesCtx: a
|
|
2087
|
+
}) {
|
|
2088
|
+
return e.map(
|
|
2089
|
+
(i) => {
|
|
2090
|
+
var s, c;
|
|
2091
|
+
return (c = ut({
|
|
2092
|
+
theme: r,
|
|
2093
|
+
classNames: (s = r.components[i]) == null ? void 0 : s.classNames,
|
|
2094
|
+
props: n,
|
|
2095
|
+
stylesCtx: a
|
|
2096
|
+
})) == null ? void 0 : c[t];
|
|
2097
|
+
}
|
|
2098
|
+
);
|
|
2099
|
+
}
|
|
2100
|
+
function li({
|
|
2101
|
+
options: e,
|
|
2102
|
+
classes: r,
|
|
2103
|
+
selector: t,
|
|
2104
|
+
unstyled: n
|
|
2105
|
+
}) {
|
|
2106
|
+
return e != null && e.variant && !n ? r[`${t}--${e.variant}`] : void 0;
|
|
2107
|
+
}
|
|
2108
|
+
function fi({
|
|
2109
|
+
theme: e,
|
|
2110
|
+
options: r,
|
|
2111
|
+
themeName: t,
|
|
2112
|
+
selector: n,
|
|
2113
|
+
classNamesPrefix: a,
|
|
2114
|
+
classNames: i,
|
|
2115
|
+
classes: s,
|
|
2116
|
+
unstyled: c,
|
|
2117
|
+
className: l,
|
|
2118
|
+
rootSelector: p,
|
|
2119
|
+
props: f,
|
|
2120
|
+
stylesCtx: u,
|
|
2121
|
+
withStaticClasses: h,
|
|
2122
|
+
headless: x,
|
|
2123
|
+
transformedStyles: v
|
|
2124
|
+
}) {
|
|
2125
|
+
return we(
|
|
2126
|
+
ni({ theme: e, options: r, unstyled: c || x }),
|
|
2127
|
+
ci({ theme: e, themeName: t, selector: n, props: f, stylesCtx: u }),
|
|
2128
|
+
li({ options: r, classes: s, selector: n, unstyled: c }),
|
|
2129
|
+
Gt({ selector: n, stylesCtx: u, theme: e, classNames: i, props: f }),
|
|
2130
|
+
Gt({ selector: n, stylesCtx: u, theme: e, classNames: v, props: f }),
|
|
2131
|
+
ai({ selector: n, stylesCtx: u, options: r, props: f, theme: e }),
|
|
2132
|
+
ii({ rootSelector: p, selector: n, className: l }),
|
|
2133
|
+
oi({ selector: n, classes: s, unstyled: c || x }),
|
|
2134
|
+
h && !x && si({
|
|
2135
|
+
themeName: t,
|
|
2136
|
+
classNamesPrefix: a,
|
|
2137
|
+
selector: n,
|
|
2138
|
+
withStaticClass: r == null ? void 0 : r.withStaticClass
|
|
2139
|
+
}),
|
|
2140
|
+
r == null ? void 0 : r.className
|
|
2141
|
+
);
|
|
2142
|
+
}
|
|
2143
|
+
function ui({
|
|
2144
|
+
theme: e,
|
|
2145
|
+
themeName: r,
|
|
2146
|
+
props: t,
|
|
2147
|
+
stylesCtx: n,
|
|
2148
|
+
selector: a
|
|
2149
|
+
}) {
|
|
2150
|
+
return r.map(
|
|
2151
|
+
(i) => {
|
|
2152
|
+
var s;
|
|
2153
|
+
return Qr({
|
|
2154
|
+
theme: e,
|
|
2155
|
+
styles: (s = e.components[i]) == null ? void 0 : s.styles,
|
|
2156
|
+
props: t,
|
|
2157
|
+
stylesCtx: n
|
|
2158
|
+
})[a];
|
|
2159
|
+
}
|
|
2160
|
+
).reduce((i, s) => ({ ...i, ...s }), {});
|
|
2161
|
+
}
|
|
2162
|
+
function rt({ style: e, theme: r }) {
|
|
2163
|
+
return Array.isArray(e) ? [...e].reduce(
|
|
2164
|
+
(t, n) => ({ ...t, ...rt({ style: n, theme: r }) }),
|
|
2165
|
+
{}
|
|
2166
|
+
) : typeof e == "function" ? e(r) : e ?? {};
|
|
2167
|
+
}
|
|
2168
|
+
function di(e) {
|
|
2169
|
+
return e.reduce((r, t) => (t && Object.keys(t).forEach((n) => {
|
|
2170
|
+
r[n] = { ...r[n], ...ft(t[n]) };
|
|
2171
|
+
}), r), {});
|
|
2172
|
+
}
|
|
2173
|
+
function pi({
|
|
2174
|
+
vars: e,
|
|
2175
|
+
varsResolver: r,
|
|
2176
|
+
theme: t,
|
|
2177
|
+
props: n,
|
|
2178
|
+
stylesCtx: a,
|
|
2179
|
+
selector: i,
|
|
2180
|
+
themeName: s,
|
|
2181
|
+
headless: c
|
|
2182
|
+
}) {
|
|
2183
|
+
var l;
|
|
2184
|
+
return (l = di([
|
|
2185
|
+
c ? {} : r == null ? void 0 : r(t, n, a),
|
|
2186
|
+
...s.map((p) => {
|
|
2187
|
+
var f, u, h;
|
|
2188
|
+
return (h = (u = (f = t.components) == null ? void 0 : f[p]) == null ? void 0 : u.vars) == null ? void 0 : h.call(u, t, n, a);
|
|
2189
|
+
}),
|
|
2190
|
+
e == null ? void 0 : e(t, n, a)
|
|
2191
|
+
])) == null ? void 0 : l[i];
|
|
2192
|
+
}
|
|
2193
|
+
function mi({
|
|
2194
|
+
theme: e,
|
|
2195
|
+
themeName: r,
|
|
2196
|
+
selector: t,
|
|
2197
|
+
options: n,
|
|
2198
|
+
props: a,
|
|
2199
|
+
stylesCtx: i,
|
|
2200
|
+
rootSelector: s,
|
|
2201
|
+
styles: c,
|
|
2202
|
+
style: l,
|
|
2203
|
+
vars: p,
|
|
2204
|
+
varsResolver: f,
|
|
2205
|
+
headless: u,
|
|
2206
|
+
withStylesTransform: h
|
|
2207
|
+
}) {
|
|
2208
|
+
return {
|
|
2209
|
+
...!h && ui({ theme: e, themeName: r, props: a, stylesCtx: i, selector: t }),
|
|
2210
|
+
...!h && Qr({ theme: e, styles: c, props: a, stylesCtx: i })[t],
|
|
2211
|
+
...!h && Qr({ theme: e, styles: n == null ? void 0 : n.styles, props: (n == null ? void 0 : n.props) || a, stylesCtx: i })[t],
|
|
2212
|
+
...pi({ theme: e, props: a, stylesCtx: i, vars: p, varsResolver: f, selector: t, themeName: r, headless: u }),
|
|
2213
|
+
...s === t ? rt({ style: l, theme: e }) : null,
|
|
2214
|
+
...rt({ style: n == null ? void 0 : n.style, theme: e })
|
|
2215
|
+
};
|
|
2216
|
+
}
|
|
2217
|
+
function hi({ props: e, stylesCtx: r, themeName: t }) {
|
|
2218
|
+
var s;
|
|
2219
|
+
const n = he(), a = (s = Oa()) == null ? void 0 : s();
|
|
2220
|
+
return {
|
|
2221
|
+
getTransformedStyles: (c) => a ? [
|
|
2222
|
+
...c.map(
|
|
2223
|
+
(p) => a(p, { props: e, theme: n, ctx: r })
|
|
2224
|
+
),
|
|
2225
|
+
...t.map(
|
|
2226
|
+
(p) => {
|
|
2227
|
+
var f;
|
|
2228
|
+
return a((f = n.components[p]) == null ? void 0 : f.styles, { props: e, theme: n, ctx: r });
|
|
2229
|
+
}
|
|
2230
|
+
)
|
|
2231
|
+
].filter(Boolean) : [],
|
|
2232
|
+
withStylesTransform: !!a
|
|
2233
|
+
};
|
|
2234
|
+
}
|
|
2235
|
+
function tr({
|
|
2236
|
+
name: e,
|
|
2237
|
+
classes: r,
|
|
2238
|
+
props: t,
|
|
2239
|
+
stylesCtx: n,
|
|
2240
|
+
className: a,
|
|
2241
|
+
style: i,
|
|
2242
|
+
rootSelector: s = "root",
|
|
2243
|
+
unstyled: c,
|
|
2244
|
+
classNames: l,
|
|
2245
|
+
styles: p,
|
|
2246
|
+
vars: f,
|
|
2247
|
+
varsResolver: u
|
|
2248
|
+
}) {
|
|
2249
|
+
const h = he(), x = _a(), v = Ea(), y = Pa(), b = (Array.isArray(e) ? e : [e]).filter((T) => T), { withStylesTransform: $, getTransformedStyles: w } = hi({
|
|
2250
|
+
props: t,
|
|
2251
|
+
stylesCtx: n,
|
|
2252
|
+
themeName: b
|
|
2253
|
+
});
|
|
2254
|
+
return (T, O) => ({
|
|
2255
|
+
className: fi({
|
|
2256
|
+
theme: h,
|
|
2257
|
+
options: O,
|
|
2258
|
+
themeName: b,
|
|
2259
|
+
selector: T,
|
|
2260
|
+
classNamesPrefix: x,
|
|
2261
|
+
classNames: l,
|
|
2262
|
+
classes: r,
|
|
2263
|
+
unstyled: c,
|
|
2264
|
+
className: a,
|
|
2265
|
+
rootSelector: s,
|
|
2266
|
+
props: t,
|
|
2267
|
+
stylesCtx: n,
|
|
2268
|
+
withStaticClasses: v,
|
|
2269
|
+
headless: y,
|
|
2270
|
+
transformedStyles: w([O == null ? void 0 : O.styles, p])
|
|
2271
|
+
}),
|
|
2272
|
+
style: mi({
|
|
2273
|
+
theme: h,
|
|
2274
|
+
themeName: b,
|
|
2275
|
+
selector: T,
|
|
2276
|
+
options: O,
|
|
2277
|
+
props: t,
|
|
2278
|
+
stylesCtx: n,
|
|
2279
|
+
rootSelector: s,
|
|
2280
|
+
styles: p,
|
|
2281
|
+
style: i,
|
|
2282
|
+
vars: f,
|
|
2283
|
+
varsResolver: u,
|
|
2284
|
+
headless: y,
|
|
2285
|
+
withStylesTransform: $
|
|
2286
|
+
})
|
|
2287
|
+
});
|
|
2288
|
+
}
|
|
2289
|
+
function xe(e, r, t) {
|
|
2290
|
+
var s;
|
|
2291
|
+
const n = he(), a = (s = n.components[e]) == null ? void 0 : s.defaultProps, i = typeof a == "function" ? a(n) : a;
|
|
2292
|
+
return { ...r, ...i, ...ft(t) };
|
|
2293
|
+
}
|
|
2294
|
+
function qr(e) {
|
|
2295
|
+
return ce(e).reduce(
|
|
2296
|
+
(r, t) => e[t] !== void 0 ? `${r}${ha(t)}:${e[t]};` : r,
|
|
2297
|
+
""
|
|
2298
|
+
).trim();
|
|
2299
|
+
}
|
|
2300
|
+
function gi({ selector: e, styles: r, media: t, container: n }) {
|
|
2301
|
+
const a = r ? qr(r) : "", i = Array.isArray(t) ? t.map((c) => `@media${c.query}{${e}{${qr(c.styles)}}}`) : [], s = Array.isArray(n) ? n.map(
|
|
2302
|
+
(c) => `@container ${c.query}{${e}{${qr(c.styles)}}}`
|
|
2303
|
+
) : [];
|
|
2304
|
+
return `${a ? `${e}{${a}}` : ""}${i.join("")}${s.join("")}`.trim();
|
|
2305
|
+
}
|
|
2306
|
+
function yi(e) {
|
|
2307
|
+
const r = dt();
|
|
2308
|
+
return /* @__PURE__ */ C.jsx(
|
|
2309
|
+
"style",
|
|
2310
|
+
{
|
|
2311
|
+
"data-mantine-styles": "inline",
|
|
2312
|
+
nonce: r == null ? void 0 : r(),
|
|
2313
|
+
dangerouslySetInnerHTML: { __html: gi(e) }
|
|
2314
|
+
}
|
|
2315
|
+
);
|
|
2316
|
+
}
|
|
2317
|
+
function bi(e) {
|
|
2318
|
+
const {
|
|
2319
|
+
m: r,
|
|
2320
|
+
mx: t,
|
|
2321
|
+
my: n,
|
|
2322
|
+
mt: a,
|
|
2323
|
+
mb: i,
|
|
2324
|
+
ml: s,
|
|
2325
|
+
mr: c,
|
|
2326
|
+
me: l,
|
|
2327
|
+
ms: p,
|
|
2328
|
+
p: f,
|
|
2329
|
+
px: u,
|
|
2330
|
+
py: h,
|
|
2331
|
+
pt: x,
|
|
2332
|
+
pb: v,
|
|
2333
|
+
pl: y,
|
|
2334
|
+
pr: b,
|
|
2335
|
+
pe: $,
|
|
2336
|
+
ps: w,
|
|
2337
|
+
bd: T,
|
|
2338
|
+
bg: O,
|
|
2339
|
+
c: L,
|
|
2340
|
+
opacity: A,
|
|
2341
|
+
ff: S,
|
|
2342
|
+
fz: W,
|
|
2343
|
+
fw: J,
|
|
2344
|
+
lts: X,
|
|
2345
|
+
ta: ne,
|
|
2346
|
+
lh: ir,
|
|
2347
|
+
fs: ae,
|
|
2348
|
+
tt: fe,
|
|
2349
|
+
td: ge,
|
|
2350
|
+
w: or,
|
|
2351
|
+
miw: sr,
|
|
2352
|
+
maw: cr,
|
|
2353
|
+
h: lr,
|
|
2354
|
+
mih: fr,
|
|
2355
|
+
mah: ur,
|
|
2356
|
+
bgsz: dr,
|
|
2357
|
+
bgp: pr,
|
|
2358
|
+
bgr: Ar,
|
|
2359
|
+
bga: Mr,
|
|
2360
|
+
pos: Ie,
|
|
2361
|
+
top: Le,
|
|
2362
|
+
left: Se,
|
|
2363
|
+
bottom: ze,
|
|
2364
|
+
right: $e,
|
|
2365
|
+
inset: Nr,
|
|
2366
|
+
display: mr,
|
|
2367
|
+
flex: Fr,
|
|
2368
|
+
hiddenFrom: Wr,
|
|
2369
|
+
visibleFrom: ke,
|
|
2370
|
+
lightHidden: ye,
|
|
2371
|
+
darkHidden: hr,
|
|
2372
|
+
sx: gr,
|
|
2373
|
+
...Ce
|
|
2374
|
+
} = e;
|
|
2375
|
+
return { styleProps: ft({
|
|
2376
|
+
m: r,
|
|
2377
|
+
mx: t,
|
|
2378
|
+
my: n,
|
|
2379
|
+
mt: a,
|
|
2380
|
+
mb: i,
|
|
2381
|
+
ml: s,
|
|
2382
|
+
mr: c,
|
|
2383
|
+
me: l,
|
|
2384
|
+
ms: p,
|
|
2385
|
+
p: f,
|
|
2386
|
+
px: u,
|
|
2387
|
+
py: h,
|
|
2388
|
+
pt: x,
|
|
2389
|
+
pb: v,
|
|
2390
|
+
pl: y,
|
|
2391
|
+
pr: b,
|
|
2392
|
+
pe: $,
|
|
2393
|
+
ps: w,
|
|
2394
|
+
bd: T,
|
|
2395
|
+
bg: O,
|
|
2396
|
+
c: L,
|
|
2397
|
+
opacity: A,
|
|
2398
|
+
ff: S,
|
|
2399
|
+
fz: W,
|
|
2400
|
+
fw: J,
|
|
2401
|
+
lts: X,
|
|
2402
|
+
ta: ne,
|
|
2403
|
+
lh: ir,
|
|
2404
|
+
fs: ae,
|
|
2405
|
+
tt: fe,
|
|
2406
|
+
td: ge,
|
|
2407
|
+
w: or,
|
|
2408
|
+
miw: sr,
|
|
2409
|
+
maw: cr,
|
|
2410
|
+
h: lr,
|
|
2411
|
+
mih: fr,
|
|
2412
|
+
mah: ur,
|
|
2413
|
+
bgsz: dr,
|
|
2414
|
+
bgp: pr,
|
|
2415
|
+
bgr: Ar,
|
|
2416
|
+
bga: Mr,
|
|
2417
|
+
pos: Ie,
|
|
2418
|
+
top: Le,
|
|
2419
|
+
left: Se,
|
|
2420
|
+
bottom: ze,
|
|
2421
|
+
right: $e,
|
|
2422
|
+
inset: Nr,
|
|
2423
|
+
display: mr,
|
|
2424
|
+
flex: Fr,
|
|
2425
|
+
hiddenFrom: Wr,
|
|
2426
|
+
visibleFrom: ke,
|
|
2427
|
+
lightHidden: ye,
|
|
2428
|
+
darkHidden: hr,
|
|
2429
|
+
sx: gr
|
|
2430
|
+
}), rest: Ce };
|
|
2431
|
+
}
|
|
2432
|
+
const vi = {
|
|
2433
|
+
m: { type: "spacing", property: "margin" },
|
|
2434
|
+
mt: { type: "spacing", property: "marginTop" },
|
|
2435
|
+
mb: { type: "spacing", property: "marginBottom" },
|
|
2436
|
+
ml: { type: "spacing", property: "marginLeft" },
|
|
2437
|
+
mr: { type: "spacing", property: "marginRight" },
|
|
2438
|
+
ms: { type: "spacing", property: "marginInlineStart" },
|
|
2439
|
+
me: { type: "spacing", property: "marginInlineEnd" },
|
|
2440
|
+
mx: { type: "spacing", property: "marginInline" },
|
|
2441
|
+
my: { type: "spacing", property: "marginBlock" },
|
|
2442
|
+
p: { type: "spacing", property: "padding" },
|
|
2443
|
+
pt: { type: "spacing", property: "paddingTop" },
|
|
2444
|
+
pb: { type: "spacing", property: "paddingBottom" },
|
|
2445
|
+
pl: { type: "spacing", property: "paddingLeft" },
|
|
2446
|
+
pr: { type: "spacing", property: "paddingRight" },
|
|
2447
|
+
ps: { type: "spacing", property: "paddingInlineStart" },
|
|
2448
|
+
pe: { type: "spacing", property: "paddingInlineEnd" },
|
|
2449
|
+
px: { type: "spacing", property: "paddingInline" },
|
|
2450
|
+
py: { type: "spacing", property: "paddingBlock" },
|
|
2451
|
+
bd: { type: "border", property: "border" },
|
|
2452
|
+
bg: { type: "color", property: "background" },
|
|
2453
|
+
c: { type: "textColor", property: "color" },
|
|
2454
|
+
opacity: { type: "identity", property: "opacity" },
|
|
2455
|
+
ff: { type: "fontFamily", property: "fontFamily" },
|
|
2456
|
+
fz: { type: "fontSize", property: "fontSize" },
|
|
2457
|
+
fw: { type: "identity", property: "fontWeight" },
|
|
2458
|
+
lts: { type: "size", property: "letterSpacing" },
|
|
2459
|
+
ta: { type: "identity", property: "textAlign" },
|
|
2460
|
+
lh: { type: "lineHeight", property: "lineHeight" },
|
|
2461
|
+
fs: { type: "identity", property: "fontStyle" },
|
|
2462
|
+
tt: { type: "identity", property: "textTransform" },
|
|
2463
|
+
td: { type: "identity", property: "textDecoration" },
|
|
2464
|
+
w: { type: "spacing", property: "width" },
|
|
2465
|
+
miw: { type: "spacing", property: "minWidth" },
|
|
2466
|
+
maw: { type: "spacing", property: "maxWidth" },
|
|
2467
|
+
h: { type: "spacing", property: "height" },
|
|
2468
|
+
mih: { type: "spacing", property: "minHeight" },
|
|
2469
|
+
mah: { type: "spacing", property: "maxHeight" },
|
|
2470
|
+
bgsz: { type: "size", property: "backgroundSize" },
|
|
2471
|
+
bgp: { type: "identity", property: "backgroundPosition" },
|
|
2472
|
+
bgr: { type: "identity", property: "backgroundRepeat" },
|
|
2473
|
+
bga: { type: "identity", property: "backgroundAttachment" },
|
|
2474
|
+
pos: { type: "identity", property: "position" },
|
|
2475
|
+
top: { type: "size", property: "top" },
|
|
2476
|
+
left: { type: "size", property: "left" },
|
|
2477
|
+
bottom: { type: "size", property: "bottom" },
|
|
2478
|
+
right: { type: "size", property: "right" },
|
|
2479
|
+
inset: { type: "size", property: "inset" },
|
|
2480
|
+
display: { type: "identity", property: "display" },
|
|
2481
|
+
flex: { type: "identity", property: "flex" }
|
|
2482
|
+
};
|
|
2483
|
+
function gt(e, r) {
|
|
2484
|
+
const t = rr({ color: e, theme: r });
|
|
2485
|
+
return t.color === "dimmed" ? "var(--mantine-color-dimmed)" : t.color === "bright" ? "var(--mantine-color-bright)" : t.variable ? `var(${t.variable})` : t.color;
|
|
2486
|
+
}
|
|
2487
|
+
function xi(e, r) {
|
|
2488
|
+
const t = rr({ color: e, theme: r });
|
|
2489
|
+
return t.isThemeColor && t.shade === void 0 ? `var(--mantine-color-${t.color}-text)` : gt(e, r);
|
|
2490
|
+
}
|
|
2491
|
+
function wi(e, r) {
|
|
2492
|
+
if (typeof e == "number")
|
|
2493
|
+
return m(e);
|
|
2494
|
+
if (typeof e == "string") {
|
|
2495
|
+
const [t, n, ...a] = e.split(" ").filter((s) => s.trim() !== "");
|
|
2496
|
+
let i = `${m(t)}`;
|
|
2497
|
+
return n && (i += ` ${n}`), a.length > 0 && (i += ` ${gt(a.join(" "), r)}`), i.trim();
|
|
2498
|
+
}
|
|
2499
|
+
return e;
|
|
2500
|
+
}
|
|
2501
|
+
const Xt = {
|
|
2502
|
+
text: "var(--mantine-font-family)",
|
|
2503
|
+
mono: "var(--mantine-font-family-monospace)",
|
|
2504
|
+
monospace: "var(--mantine-font-family-monospace)",
|
|
2505
|
+
heading: "var(--mantine-font-family-headings)",
|
|
2506
|
+
headings: "var(--mantine-font-family-headings)"
|
|
2507
|
+
};
|
|
2508
|
+
function Si(e) {
|
|
2509
|
+
return typeof e == "string" && e in Xt ? Xt[e] : e;
|
|
2510
|
+
}
|
|
2511
|
+
const $i = ["h1", "h2", "h3", "h4", "h5", "h6"];
|
|
2512
|
+
function ki(e, r) {
|
|
2513
|
+
return typeof e == "string" && e in r.fontSizes ? `var(--mantine-font-size-${e})` : typeof e == "string" && $i.includes(e) ? `var(--mantine-${e}-font-size)` : typeof e == "number" || typeof e == "string" ? m(e) : e;
|
|
2514
|
+
}
|
|
2515
|
+
function Ci(e) {
|
|
2516
|
+
return e;
|
|
2517
|
+
}
|
|
2518
|
+
const Ri = ["h1", "h2", "h3", "h4", "h5", "h6"];
|
|
2519
|
+
function Ti(e, r) {
|
|
2520
|
+
return typeof e == "string" && e in r.lineHeights ? `var(--mantine-line-height-${e})` : typeof e == "string" && Ri.includes(e) ? `var(--mantine-${e}-line-height)` : e;
|
|
2521
|
+
}
|
|
2522
|
+
function _i(e) {
|
|
2523
|
+
return typeof e == "number" ? m(e) : e;
|
|
2524
|
+
}
|
|
2525
|
+
function Ei(e, r) {
|
|
2526
|
+
if (typeof e == "number")
|
|
2527
|
+
return m(e);
|
|
2528
|
+
if (typeof e == "string") {
|
|
2529
|
+
const t = e.replace("-", "");
|
|
2530
|
+
if (!(t in r.spacing))
|
|
2531
|
+
return m(e);
|
|
2532
|
+
const n = `--mantine-spacing-${t}`;
|
|
2533
|
+
return e.startsWith("-") ? `calc(var(${n}) * -1)` : `var(${n})`;
|
|
2534
|
+
}
|
|
2535
|
+
return e;
|
|
2536
|
+
}
|
|
2537
|
+
const Kr = {
|
|
2538
|
+
color: gt,
|
|
2539
|
+
textColor: xi,
|
|
2540
|
+
fontSize: ki,
|
|
2541
|
+
spacing: Ei,
|
|
2542
|
+
identity: Ci,
|
|
2543
|
+
size: _i,
|
|
2544
|
+
lineHeight: Ti,
|
|
2545
|
+
fontFamily: Si,
|
|
2546
|
+
border: wi
|
|
2547
|
+
};
|
|
2548
|
+
function qt(e) {
|
|
2549
|
+
return e.replace("(min-width: ", "").replace("em)", "");
|
|
2550
|
+
}
|
|
2551
|
+
function Pi({
|
|
2552
|
+
media: e,
|
|
2553
|
+
...r
|
|
2554
|
+
}) {
|
|
2555
|
+
const n = Object.keys(e).sort((a, i) => Number(qt(a)) - Number(qt(i))).map((a) => ({ query: a, styles: e[a] }));
|
|
2556
|
+
return { ...r, media: n };
|
|
2557
|
+
}
|
|
2558
|
+
function ji(e) {
|
|
2559
|
+
if (typeof e != "object" || e === null)
|
|
2560
|
+
return !1;
|
|
2561
|
+
const r = Object.keys(e);
|
|
2562
|
+
return !(r.length === 1 && r[0] === "base");
|
|
2563
|
+
}
|
|
2564
|
+
function Oi(e) {
|
|
2565
|
+
return typeof e == "object" && e !== null ? "base" in e ? e.base : void 0 : e;
|
|
2566
|
+
}
|
|
2567
|
+
function Ai(e) {
|
|
2568
|
+
return typeof e == "object" && e !== null ? ce(e).filter((r) => r !== "base") : [];
|
|
2569
|
+
}
|
|
2570
|
+
function Mi(e, r) {
|
|
2571
|
+
return typeof e == "object" && e !== null && r in e ? e[r] : e;
|
|
2572
|
+
}
|
|
2573
|
+
function Ni({
|
|
2574
|
+
styleProps: e,
|
|
2575
|
+
data: r,
|
|
2576
|
+
theme: t
|
|
2577
|
+
}) {
|
|
2578
|
+
return Pi(
|
|
2579
|
+
ce(e).reduce(
|
|
2580
|
+
(n, a) => {
|
|
2581
|
+
if (a === "hiddenFrom" || a === "visibleFrom" || a === "sx")
|
|
2582
|
+
return n;
|
|
2583
|
+
const i = r[a], s = Array.isArray(i.property) ? i.property : [i.property], c = Oi(e[a]);
|
|
2584
|
+
if (!ji(e[a]))
|
|
2585
|
+
return s.forEach((p) => {
|
|
2586
|
+
n.inlineStyles[p] = Kr[i.type](c, t);
|
|
2587
|
+
}), n;
|
|
2588
|
+
n.hasResponsiveStyles = !0;
|
|
2589
|
+
const l = Ai(e[a]);
|
|
2590
|
+
return s.forEach((p) => {
|
|
2591
|
+
c && (n.styles[p] = Kr[i.type](c, t)), l.forEach((f) => {
|
|
2592
|
+
const u = `(min-width: ${t.breakpoints[f]})`;
|
|
2593
|
+
n.media[u] = {
|
|
2594
|
+
...n.media[u],
|
|
2595
|
+
[p]: Kr[i.type](
|
|
2596
|
+
Mi(e[a], f),
|
|
2597
|
+
t
|
|
2598
|
+
)
|
|
2599
|
+
};
|
|
2600
|
+
});
|
|
2601
|
+
}), n;
|
|
2602
|
+
},
|
|
2603
|
+
{
|
|
2604
|
+
hasResponsiveStyles: !1,
|
|
2605
|
+
styles: {},
|
|
2606
|
+
inlineStyles: {},
|
|
2607
|
+
media: {}
|
|
2608
|
+
}
|
|
2609
|
+
)
|
|
2610
|
+
);
|
|
2611
|
+
}
|
|
2612
|
+
function Fi() {
|
|
2613
|
+
return `__m__-${pa().replace(/:/g, "")}`;
|
|
2614
|
+
}
|
|
2615
|
+
function wn(e) {
|
|
2616
|
+
return e.startsWith("data-") ? e : `data-${e}`;
|
|
2617
|
+
}
|
|
2618
|
+
function Wi(e) {
|
|
2619
|
+
return Object.keys(e).reduce((r, t) => {
|
|
2620
|
+
const n = e[t];
|
|
2621
|
+
return n === void 0 || n === "" || n === !1 || n === null || (r[wn(t)] = e[t]), r;
|
|
2622
|
+
}, {});
|
|
2623
|
+
}
|
|
2624
|
+
function Sn(e) {
|
|
2625
|
+
return e ? typeof e == "string" ? { [wn(e)]: !0 } : Array.isArray(e) ? [...e].reduce(
|
|
2626
|
+
(r, t) => ({ ...r, ...Sn(t) }),
|
|
2627
|
+
{}
|
|
2628
|
+
) : Wi(e) : null;
|
|
2629
|
+
}
|
|
2630
|
+
function tt(e, r) {
|
|
2631
|
+
return Array.isArray(e) ? [...e].reduce(
|
|
2632
|
+
(t, n) => ({ ...t, ...tt(n, r) }),
|
|
2633
|
+
{}
|
|
2634
|
+
) : typeof e == "function" ? e(r) : e ?? {};
|
|
2635
|
+
}
|
|
2636
|
+
function Ii({
|
|
2637
|
+
theme: e,
|
|
2638
|
+
style: r,
|
|
2639
|
+
vars: t,
|
|
2640
|
+
styleProps: n
|
|
2641
|
+
}) {
|
|
2642
|
+
const a = tt(r, e), i = tt(t, e);
|
|
2643
|
+
return { ...a, ...i, ...n };
|
|
2644
|
+
}
|
|
2645
|
+
const $n = de(
|
|
2646
|
+
({
|
|
2647
|
+
component: e,
|
|
2648
|
+
style: r,
|
|
2649
|
+
__vars: t,
|
|
2650
|
+
className: n,
|
|
2651
|
+
variant: a,
|
|
2652
|
+
mod: i,
|
|
2653
|
+
size: s,
|
|
2654
|
+
hiddenFrom: c,
|
|
2655
|
+
visibleFrom: l,
|
|
2656
|
+
lightHidden: p,
|
|
2657
|
+
darkHidden: f,
|
|
2658
|
+
renderRoot: u,
|
|
2659
|
+
__size: h,
|
|
2660
|
+
...x
|
|
2661
|
+
}, v) => {
|
|
2662
|
+
var W;
|
|
2663
|
+
const y = he(), b = e || "div", { styleProps: $, rest: w } = bi(x), T = ja(), O = (W = T == null ? void 0 : T()) == null ? void 0 : W($.sx), L = Fi(), A = Ni({
|
|
2664
|
+
styleProps: $,
|
|
2665
|
+
theme: y,
|
|
2666
|
+
data: vi
|
|
2667
|
+
}), S = {
|
|
2668
|
+
ref: v,
|
|
2669
|
+
style: Ii({
|
|
2670
|
+
theme: y,
|
|
2671
|
+
style: r,
|
|
2672
|
+
vars: t,
|
|
2673
|
+
styleProps: A.inlineStyles
|
|
2674
|
+
}),
|
|
2675
|
+
className: we(n, O, {
|
|
2676
|
+
[L]: A.hasResponsiveStyles,
|
|
2677
|
+
"mantine-light-hidden": p,
|
|
2678
|
+
"mantine-dark-hidden": f,
|
|
2679
|
+
[`mantine-hidden-from-${c}`]: c,
|
|
2680
|
+
[`mantine-visible-from-${l}`]: l
|
|
2681
|
+
}),
|
|
2682
|
+
"data-variant": a,
|
|
2683
|
+
"data-size": dn(s) ? void 0 : s || void 0,
|
|
2684
|
+
size: h,
|
|
2685
|
+
...Sn(i),
|
|
2686
|
+
...w
|
|
2687
|
+
};
|
|
2688
|
+
return /* @__PURE__ */ C.jsxs(C.Fragment, { children: [
|
|
2689
|
+
A.hasResponsiveStyles && /* @__PURE__ */ C.jsx(
|
|
2690
|
+
yi,
|
|
2691
|
+
{
|
|
2692
|
+
selector: `.${L}`,
|
|
2693
|
+
styles: A.styles,
|
|
2694
|
+
media: A.media
|
|
2695
|
+
}
|
|
2696
|
+
),
|
|
2697
|
+
typeof u == "function" ? u(S) : /* @__PURE__ */ C.jsx(b, { ...S })
|
|
2698
|
+
] });
|
|
2699
|
+
}
|
|
2700
|
+
);
|
|
2701
|
+
$n.displayName = "@mantine/core/Box";
|
|
2702
|
+
const ee = $n;
|
|
2703
|
+
function kn(e) {
|
|
2704
|
+
return e;
|
|
2705
|
+
}
|
|
2706
|
+
function yt(e) {
|
|
2707
|
+
const r = de(e);
|
|
2708
|
+
return r.extend = kn, r.withProps = (t) => {
|
|
2709
|
+
const n = de((a, i) => /* @__PURE__ */ C.jsx(r, { ...t, ...a, ref: i }));
|
|
2710
|
+
return n.extend = r.extend, n.displayName = `WithProps(${r.displayName})`, n;
|
|
2711
|
+
}, r;
|
|
2712
|
+
}
|
|
2713
|
+
function Cn(e) {
|
|
2714
|
+
const r = de(e);
|
|
2715
|
+
return r.withProps = (t) => {
|
|
2716
|
+
const n = de((a, i) => /* @__PURE__ */ C.jsx(r, { ...t, ...a, ref: i }));
|
|
2717
|
+
return n.extend = r.extend, n.displayName = `WithProps(${r.displayName})`, n;
|
|
2718
|
+
}, r.extend = kn, r;
|
|
2719
|
+
}
|
|
2720
|
+
var Rn = { root: "m_87cf2631" };
|
|
2721
|
+
const Li = {
|
|
2722
|
+
__staticSelector: "UnstyledButton"
|
|
2723
|
+
}, bt = Cn(
|
|
2724
|
+
(e, r) => {
|
|
2725
|
+
const t = xe("UnstyledButton", Li, e), {
|
|
2726
|
+
className: n,
|
|
2727
|
+
component: a = "button",
|
|
2728
|
+
__staticSelector: i,
|
|
2729
|
+
unstyled: s,
|
|
2730
|
+
classNames: c,
|
|
2731
|
+
styles: l,
|
|
2732
|
+
style: p,
|
|
2733
|
+
...f
|
|
2734
|
+
} = t, u = tr({
|
|
2735
|
+
name: i,
|
|
2736
|
+
props: t,
|
|
2737
|
+
classes: Rn,
|
|
2738
|
+
className: n,
|
|
2739
|
+
style: p,
|
|
2740
|
+
classNames: c,
|
|
2741
|
+
styles: l,
|
|
2742
|
+
unstyled: s
|
|
2743
|
+
});
|
|
2744
|
+
return /* @__PURE__ */ C.jsx(
|
|
2745
|
+
ee,
|
|
2746
|
+
{
|
|
2747
|
+
...u("root", { focusable: !0 }),
|
|
2748
|
+
component: a,
|
|
2749
|
+
ref: r,
|
|
2750
|
+
type: a === "button" ? "button" : void 0,
|
|
2751
|
+
...f
|
|
2752
|
+
}
|
|
2753
|
+
);
|
|
2754
|
+
}
|
|
2755
|
+
);
|
|
2756
|
+
bt.classes = Rn;
|
|
2757
|
+
bt.displayName = "@mantine/core/UnstyledButton";
|
|
2758
|
+
const Xe = (e) => ({
|
|
2759
|
+
in: { opacity: 1, transform: "scale(1)" },
|
|
2760
|
+
out: { opacity: 0, transform: `scale(.9) translateY(${e === "bottom" ? 10 : -10}px)` },
|
|
2761
|
+
transitionProperty: "transform, opacity"
|
|
2762
|
+
}), xr = {
|
|
2763
|
+
fade: {
|
|
2764
|
+
in: { opacity: 1 },
|
|
2765
|
+
out: { opacity: 0 },
|
|
2766
|
+
transitionProperty: "opacity"
|
|
2767
|
+
},
|
|
2768
|
+
"fade-up": {
|
|
2769
|
+
in: { opacity: 1, transform: "translateY(0)" },
|
|
2770
|
+
out: { opacity: 0, transform: "translateY(30px)" },
|
|
2771
|
+
transitionProperty: "opacity, transform"
|
|
2772
|
+
},
|
|
2773
|
+
"fade-down": {
|
|
2774
|
+
in: { opacity: 1, transform: "translateY(0)" },
|
|
2775
|
+
out: { opacity: 0, transform: "translateY(-30px)" },
|
|
2776
|
+
transitionProperty: "opacity, transform"
|
|
2777
|
+
},
|
|
2778
|
+
"fade-left": {
|
|
2779
|
+
in: { opacity: 1, transform: "translateX(0)" },
|
|
2780
|
+
out: { opacity: 0, transform: "translateX(30px)" },
|
|
2781
|
+
transitionProperty: "opacity, transform"
|
|
2782
|
+
},
|
|
2783
|
+
"fade-right": {
|
|
2784
|
+
in: { opacity: 1, transform: "translateX(0)" },
|
|
2785
|
+
out: { opacity: 0, transform: "translateX(-30px)" },
|
|
2786
|
+
transitionProperty: "opacity, transform"
|
|
2787
|
+
},
|
|
2788
|
+
scale: {
|
|
2789
|
+
in: { opacity: 1, transform: "scale(1)" },
|
|
2790
|
+
out: { opacity: 0, transform: "scale(0)" },
|
|
2791
|
+
common: { transformOrigin: "top" },
|
|
2792
|
+
transitionProperty: "transform, opacity"
|
|
2793
|
+
},
|
|
2794
|
+
"scale-y": {
|
|
2795
|
+
in: { opacity: 1, transform: "scaleY(1)" },
|
|
2796
|
+
out: { opacity: 0, transform: "scaleY(0)" },
|
|
2797
|
+
common: { transformOrigin: "top" },
|
|
2798
|
+
transitionProperty: "transform, opacity"
|
|
2799
|
+
},
|
|
2800
|
+
"scale-x": {
|
|
2801
|
+
in: { opacity: 1, transform: "scaleX(1)" },
|
|
2802
|
+
out: { opacity: 0, transform: "scaleX(0)" },
|
|
2803
|
+
common: { transformOrigin: "left" },
|
|
2804
|
+
transitionProperty: "transform, opacity"
|
|
2805
|
+
},
|
|
2806
|
+
"skew-up": {
|
|
2807
|
+
in: { opacity: 1, transform: "translateY(0) skew(0deg, 0deg)" },
|
|
2808
|
+
out: { opacity: 0, transform: "translateY(-20px) skew(-10deg, -5deg)" },
|
|
2809
|
+
common: { transformOrigin: "top" },
|
|
2810
|
+
transitionProperty: "transform, opacity"
|
|
2811
|
+
},
|
|
2812
|
+
"skew-down": {
|
|
2813
|
+
in: { opacity: 1, transform: "translateY(0) skew(0deg, 0deg)" },
|
|
2814
|
+
out: { opacity: 0, transform: "translateY(20px) skew(-10deg, -5deg)" },
|
|
2815
|
+
common: { transformOrigin: "bottom" },
|
|
2816
|
+
transitionProperty: "transform, opacity"
|
|
2817
|
+
},
|
|
2818
|
+
"rotate-left": {
|
|
2819
|
+
in: { opacity: 1, transform: "translateY(0) rotate(0deg)" },
|
|
2820
|
+
out: { opacity: 0, transform: "translateY(20px) rotate(-5deg)" },
|
|
2821
|
+
common: { transformOrigin: "bottom" },
|
|
2822
|
+
transitionProperty: "transform, opacity"
|
|
2823
|
+
},
|
|
2824
|
+
"rotate-right": {
|
|
2825
|
+
in: { opacity: 1, transform: "translateY(0) rotate(0deg)" },
|
|
2826
|
+
out: { opacity: 0, transform: "translateY(20px) rotate(5deg)" },
|
|
2827
|
+
common: { transformOrigin: "top" },
|
|
2828
|
+
transitionProperty: "transform, opacity"
|
|
2829
|
+
},
|
|
2830
|
+
"slide-down": {
|
|
2831
|
+
in: { opacity: 1, transform: "translateY(0)" },
|
|
2832
|
+
out: { opacity: 0, transform: "translateY(-100%)" },
|
|
2833
|
+
common: { transformOrigin: "top" },
|
|
2834
|
+
transitionProperty: "transform, opacity"
|
|
2835
|
+
},
|
|
2836
|
+
"slide-up": {
|
|
2837
|
+
in: { opacity: 1, transform: "translateY(0)" },
|
|
2838
|
+
out: { opacity: 0, transform: "translateY(100%)" },
|
|
2839
|
+
common: { transformOrigin: "bottom" },
|
|
2840
|
+
transitionProperty: "transform, opacity"
|
|
2841
|
+
},
|
|
2842
|
+
"slide-left": {
|
|
2843
|
+
in: { opacity: 1, transform: "translateX(0)" },
|
|
2844
|
+
out: { opacity: 0, transform: "translateX(100%)" },
|
|
2845
|
+
common: { transformOrigin: "left" },
|
|
2846
|
+
transitionProperty: "transform, opacity"
|
|
2847
|
+
},
|
|
2848
|
+
"slide-right": {
|
|
2849
|
+
in: { opacity: 1, transform: "translateX(0)" },
|
|
2850
|
+
out: { opacity: 0, transform: "translateX(-100%)" },
|
|
2851
|
+
common: { transformOrigin: "right" },
|
|
2852
|
+
transitionProperty: "transform, opacity"
|
|
2853
|
+
},
|
|
2854
|
+
pop: {
|
|
2855
|
+
...Xe("bottom"),
|
|
2856
|
+
common: { transformOrigin: "center center" }
|
|
2857
|
+
},
|
|
2858
|
+
"pop-bottom-left": {
|
|
2859
|
+
...Xe("bottom"),
|
|
2860
|
+
common: { transformOrigin: "bottom left" }
|
|
2861
|
+
},
|
|
2862
|
+
"pop-bottom-right": {
|
|
2863
|
+
...Xe("bottom"),
|
|
2864
|
+
common: { transformOrigin: "bottom right" }
|
|
2865
|
+
},
|
|
2866
|
+
"pop-top-left": {
|
|
2867
|
+
...Xe("top"),
|
|
2868
|
+
common: { transformOrigin: "top left" }
|
|
2869
|
+
},
|
|
2870
|
+
"pop-top-right": {
|
|
2871
|
+
...Xe("top"),
|
|
2872
|
+
common: { transformOrigin: "top right" }
|
|
2873
|
+
}
|
|
2874
|
+
}, Kt = {
|
|
2875
|
+
entering: "in",
|
|
2876
|
+
entered: "in",
|
|
2877
|
+
exiting: "out",
|
|
2878
|
+
exited: "out",
|
|
2879
|
+
"pre-exiting": "out",
|
|
2880
|
+
"pre-entering": "out"
|
|
2881
|
+
};
|
|
2882
|
+
function zi({
|
|
2883
|
+
transition: e,
|
|
2884
|
+
state: r,
|
|
2885
|
+
duration: t,
|
|
2886
|
+
timingFunction: n
|
|
2887
|
+
}) {
|
|
2888
|
+
const a = {
|
|
2889
|
+
WebkitBackfaceVisibility: "hidden",
|
|
2890
|
+
willChange: "transform, opacity",
|
|
2891
|
+
transitionDuration: `${t}ms`,
|
|
2892
|
+
transitionTimingFunction: n
|
|
2893
|
+
};
|
|
2894
|
+
return typeof e == "string" ? e in xr ? {
|
|
2895
|
+
transitionProperty: xr[e].transitionProperty,
|
|
2896
|
+
...a,
|
|
2897
|
+
...xr[e].common,
|
|
2898
|
+
...xr[e][Kt[r]]
|
|
2899
|
+
} : {} : {
|
|
2900
|
+
transitionProperty: e.transitionProperty,
|
|
2901
|
+
...a,
|
|
2902
|
+
...e.common,
|
|
2903
|
+
...e[Kt[r]]
|
|
2904
|
+
};
|
|
2905
|
+
}
|
|
2906
|
+
function Hi({
|
|
2907
|
+
duration: e,
|
|
2908
|
+
exitDuration: r,
|
|
2909
|
+
timingFunction: t,
|
|
2910
|
+
mounted: n,
|
|
2911
|
+
onEnter: a,
|
|
2912
|
+
onExit: i,
|
|
2913
|
+
onEntered: s,
|
|
2914
|
+
onExited: c,
|
|
2915
|
+
enterDelay: l,
|
|
2916
|
+
exitDelay: p
|
|
2917
|
+
}) {
|
|
2918
|
+
const f = he(), u = ka(), h = f.respectReducedMotion ? u : !1, [x, v] = Me(h ? 0 : e), [y, b] = Me(n ? "entered" : "exited"), $ = Oe(-1), w = Oe(-1), T = Oe(-1);
|
|
2919
|
+
function O() {
|
|
2920
|
+
window.clearTimeout($.current), window.clearTimeout(w.current), cancelAnimationFrame(T.current);
|
|
2921
|
+
}
|
|
2922
|
+
const L = (S) => {
|
|
2923
|
+
O();
|
|
2924
|
+
const W = S ? a : i, J = S ? s : c, X = h ? 0 : S ? e : r;
|
|
2925
|
+
v(X), X === 0 ? (typeof W == "function" && W(), typeof J == "function" && J(), b(S ? "entered" : "exited")) : T.current = requestAnimationFrame(() => {
|
|
2926
|
+
ma.flushSync(() => {
|
|
2927
|
+
b(S ? "pre-entering" : "pre-exiting");
|
|
2928
|
+
}), T.current = requestAnimationFrame(() => {
|
|
2929
|
+
typeof W == "function" && W(), b(S ? "entering" : "exiting"), $.current = window.setTimeout(() => {
|
|
2930
|
+
typeof J == "function" && J(), b(S ? "entered" : "exited");
|
|
2931
|
+
}, X);
|
|
2932
|
+
});
|
|
2933
|
+
});
|
|
2934
|
+
}, A = (S) => {
|
|
2935
|
+
if (O(), typeof (S ? l : p) != "number") {
|
|
2936
|
+
L(S);
|
|
2937
|
+
return;
|
|
2938
|
+
}
|
|
2939
|
+
w.current = window.setTimeout(
|
|
2940
|
+
() => {
|
|
2941
|
+
L(S);
|
|
2942
|
+
},
|
|
2943
|
+
S ? l : p
|
|
2944
|
+
);
|
|
2945
|
+
};
|
|
2946
|
+
return $a(() => {
|
|
2947
|
+
A(n);
|
|
2948
|
+
}, [n]), pe(
|
|
2949
|
+
() => () => {
|
|
2950
|
+
O();
|
|
2951
|
+
},
|
|
2952
|
+
[]
|
|
2953
|
+
), {
|
|
2954
|
+
transitionDuration: x,
|
|
2955
|
+
transitionStatus: y,
|
|
2956
|
+
transitionTimingFunction: t || "ease"
|
|
2957
|
+
};
|
|
2958
|
+
}
|
|
2959
|
+
function Tn({
|
|
2960
|
+
keepMounted: e,
|
|
2961
|
+
transition: r = "fade",
|
|
2962
|
+
duration: t = 250,
|
|
2963
|
+
exitDuration: n = t,
|
|
2964
|
+
mounted: a,
|
|
2965
|
+
children: i,
|
|
2966
|
+
timingFunction: s = "ease",
|
|
2967
|
+
onExit: c,
|
|
2968
|
+
onEntered: l,
|
|
2969
|
+
onEnter: p,
|
|
2970
|
+
onExited: f,
|
|
2971
|
+
enterDelay: u,
|
|
2972
|
+
exitDelay: h
|
|
2973
|
+
}) {
|
|
2974
|
+
const x = Aa(), { transitionDuration: v, transitionStatus: y, transitionTimingFunction: b } = Hi({
|
|
2975
|
+
mounted: a,
|
|
2976
|
+
exitDuration: n,
|
|
2977
|
+
duration: t,
|
|
2978
|
+
timingFunction: s,
|
|
2979
|
+
onExit: c,
|
|
2980
|
+
onEntered: l,
|
|
2981
|
+
onEnter: p,
|
|
2982
|
+
onExited: f,
|
|
2983
|
+
enterDelay: u,
|
|
2984
|
+
exitDelay: h
|
|
2985
|
+
});
|
|
2986
|
+
return v === 0 || x === "test" ? a ? /* @__PURE__ */ C.jsx(C.Fragment, { children: i({}) }) : e ? i({ display: "none" }) : null : y === "exited" ? e ? i({ display: "none" }) : null : /* @__PURE__ */ C.jsx(C.Fragment, { children: i(
|
|
2987
|
+
zi({
|
|
2988
|
+
transition: r,
|
|
2989
|
+
duration: v,
|
|
2990
|
+
state: y,
|
|
2991
|
+
timingFunction: b
|
|
2992
|
+
})
|
|
2993
|
+
) });
|
|
2994
|
+
}
|
|
2995
|
+
Tn.displayName = "@mantine/core/Transition";
|
|
2996
|
+
var te = { root: "m_5ae2e3c", barsLoader: "m_7a2bd4cd", bar: "m_870bb79", "bars-loader-animation": "m_5d2b3b9d", dotsLoader: "m_4e3f22d7", dot: "m_870c4af", "loader-dots-animation": "m_aac34a1", ovalLoader: "m_b34414df", "oval-loader-animation": "m_f8e89c4b" };
|
|
2997
|
+
const _n = de(({ className: e, ...r }, t) => /* @__PURE__ */ C.jsxs(ee, { component: "span", className: we(te.barsLoader, e), ...r, ref: t, children: [
|
|
2998
|
+
/* @__PURE__ */ C.jsx("span", { className: te.bar }),
|
|
2999
|
+
/* @__PURE__ */ C.jsx("span", { className: te.bar }),
|
|
3000
|
+
/* @__PURE__ */ C.jsx("span", { className: te.bar })
|
|
3001
|
+
] }));
|
|
3002
|
+
_n.displayName = "@mantine/core/Bars";
|
|
3003
|
+
const En = de(({ className: e, ...r }, t) => /* @__PURE__ */ C.jsxs(ee, { component: "span", className: we(te.dotsLoader, e), ...r, ref: t, children: [
|
|
3004
|
+
/* @__PURE__ */ C.jsx("span", { className: te.dot }),
|
|
3005
|
+
/* @__PURE__ */ C.jsx("span", { className: te.dot }),
|
|
3006
|
+
/* @__PURE__ */ C.jsx("span", { className: te.dot })
|
|
3007
|
+
] }));
|
|
3008
|
+
En.displayName = "@mantine/core/Dots";
|
|
3009
|
+
const Pn = de(({ className: e, ...r }, t) => /* @__PURE__ */ C.jsx(ee, { component: "span", className: we(te.ovalLoader, e), ...r, ref: t }));
|
|
3010
|
+
Pn.displayName = "@mantine/core/Oval";
|
|
3011
|
+
const jn = {
|
|
3012
|
+
bars: _n,
|
|
3013
|
+
oval: Pn,
|
|
3014
|
+
dots: En
|
|
3015
|
+
}, Vi = {
|
|
3016
|
+
loaders: jn,
|
|
3017
|
+
type: "oval"
|
|
3018
|
+
}, Di = (e, { size: r, color: t }) => ({
|
|
3019
|
+
root: {
|
|
3020
|
+
"--loader-size": ve(r, "loader-size"),
|
|
3021
|
+
"--loader-color": t ? et(t, e) : void 0
|
|
3022
|
+
}
|
|
3023
|
+
}), Er = yt((e, r) => {
|
|
3024
|
+
const t = xe("Loader", Vi, e), {
|
|
3025
|
+
size: n,
|
|
3026
|
+
color: a,
|
|
3027
|
+
type: i,
|
|
3028
|
+
vars: s,
|
|
3029
|
+
className: c,
|
|
3030
|
+
style: l,
|
|
3031
|
+
classNames: p,
|
|
3032
|
+
styles: f,
|
|
3033
|
+
unstyled: u,
|
|
3034
|
+
loaders: h,
|
|
3035
|
+
variant: x,
|
|
3036
|
+
children: v,
|
|
3037
|
+
...y
|
|
3038
|
+
} = t, b = tr({
|
|
3039
|
+
name: "Loader",
|
|
3040
|
+
props: t,
|
|
3041
|
+
classes: te,
|
|
3042
|
+
className: c,
|
|
3043
|
+
style: l,
|
|
3044
|
+
classNames: p,
|
|
3045
|
+
styles: f,
|
|
3046
|
+
unstyled: u,
|
|
3047
|
+
vars: s,
|
|
3048
|
+
varsResolver: Di
|
|
3049
|
+
});
|
|
3050
|
+
return v ? /* @__PURE__ */ C.jsx(ee, { ...b("root"), ref: r, ...y, children: v }) : /* @__PURE__ */ C.jsx(
|
|
3051
|
+
ee,
|
|
3052
|
+
{
|
|
3053
|
+
...b("root"),
|
|
3054
|
+
ref: r,
|
|
3055
|
+
component: h[i],
|
|
3056
|
+
variant: x,
|
|
3057
|
+
size: n,
|
|
3058
|
+
...y
|
|
3059
|
+
}
|
|
3060
|
+
);
|
|
3061
|
+
});
|
|
3062
|
+
Er.defaultLoaders = jn;
|
|
3063
|
+
Er.classes = te;
|
|
3064
|
+
Er.displayName = "@mantine/core/Loader";
|
|
3065
|
+
var Fe = { root: "m_77c9d27d", inner: "m_80f1301b", label: "m_811560b9", section: "m_a74036a", loader: "m_a25b86ee", group: "m_80d6d844", groupSection: "m_70be2a01" };
|
|
3066
|
+
const Jt = {
|
|
3067
|
+
orientation: "horizontal"
|
|
3068
|
+
}, Bi = (e, { borderWidth: r }) => ({
|
|
3069
|
+
group: { "--button-border-width": m(r) }
|
|
3070
|
+
}), vt = yt((e, r) => {
|
|
3071
|
+
const t = xe("ButtonGroup", Jt, e), {
|
|
3072
|
+
className: n,
|
|
3073
|
+
style: a,
|
|
3074
|
+
classNames: i,
|
|
3075
|
+
styles: s,
|
|
3076
|
+
unstyled: c,
|
|
3077
|
+
orientation: l,
|
|
3078
|
+
vars: p,
|
|
3079
|
+
borderWidth: f,
|
|
3080
|
+
variant: u,
|
|
3081
|
+
mod: h,
|
|
3082
|
+
...x
|
|
3083
|
+
} = xe("ButtonGroup", Jt, e), v = tr({
|
|
3084
|
+
name: "ButtonGroup",
|
|
3085
|
+
props: t,
|
|
3086
|
+
classes: Fe,
|
|
3087
|
+
className: n,
|
|
3088
|
+
style: a,
|
|
3089
|
+
classNames: i,
|
|
3090
|
+
styles: s,
|
|
3091
|
+
unstyled: c,
|
|
3092
|
+
vars: p,
|
|
3093
|
+
varsResolver: Bi,
|
|
3094
|
+
rootSelector: "group"
|
|
3095
|
+
});
|
|
3096
|
+
return /* @__PURE__ */ C.jsx(
|
|
3097
|
+
ee,
|
|
3098
|
+
{
|
|
3099
|
+
...v("group"),
|
|
3100
|
+
ref: r,
|
|
3101
|
+
variant: u,
|
|
3102
|
+
mod: [{ "data-orientation": l }, h],
|
|
3103
|
+
role: "group",
|
|
3104
|
+
...x
|
|
3105
|
+
}
|
|
3106
|
+
);
|
|
3107
|
+
});
|
|
3108
|
+
vt.classes = Fe;
|
|
3109
|
+
vt.displayName = "@mantine/core/ButtonGroup";
|
|
3110
|
+
const Zt = {}, Yi = (e, { radius: r, color: t, gradient: n, variant: a, autoContrast: i, size: s }) => {
|
|
3111
|
+
const c = e.variantColorResolver({
|
|
3112
|
+
color: t || e.primaryColor,
|
|
3113
|
+
theme: e,
|
|
3114
|
+
gradient: n,
|
|
3115
|
+
variant: a || "filled",
|
|
3116
|
+
autoContrast: i
|
|
3117
|
+
});
|
|
3118
|
+
return {
|
|
3119
|
+
groupSection: {
|
|
3120
|
+
"--section-height": ve(s, "section-height"),
|
|
3121
|
+
"--section-padding-x": ve(s, "section-padding-x"),
|
|
3122
|
+
"--section-fz": s != null && s.includes("compact") ? Rr(s.replace("compact-", "")) : Rr(s),
|
|
3123
|
+
"--section-radius": r === void 0 ? void 0 : pn(r),
|
|
3124
|
+
"--section-bg": t || a ? c.background : void 0,
|
|
3125
|
+
"--section-color": c.color,
|
|
3126
|
+
"--section-bd": t || a ? c.border : void 0
|
|
3127
|
+
}
|
|
3128
|
+
};
|
|
3129
|
+
}, xt = yt((e, r) => {
|
|
3130
|
+
const t = xe("ButtonGroupSection", Zt, e), {
|
|
3131
|
+
className: n,
|
|
3132
|
+
style: a,
|
|
3133
|
+
classNames: i,
|
|
3134
|
+
styles: s,
|
|
3135
|
+
unstyled: c,
|
|
3136
|
+
vars: l,
|
|
3137
|
+
variant: p,
|
|
3138
|
+
gradient: f,
|
|
3139
|
+
radius: u,
|
|
3140
|
+
autoContrast: h,
|
|
3141
|
+
...x
|
|
3142
|
+
} = xe("ButtonGroupSection", Zt, e), v = tr({
|
|
3143
|
+
name: "ButtonGroupSection",
|
|
3144
|
+
props: t,
|
|
3145
|
+
classes: Fe,
|
|
3146
|
+
className: n,
|
|
3147
|
+
style: a,
|
|
3148
|
+
classNames: i,
|
|
3149
|
+
styles: s,
|
|
3150
|
+
unstyled: c,
|
|
3151
|
+
vars: l,
|
|
3152
|
+
varsResolver: Yi,
|
|
3153
|
+
rootSelector: "groupSection"
|
|
3154
|
+
});
|
|
3155
|
+
return /* @__PURE__ */ C.jsx(ee, { ...v("groupSection"), ref: r, variant: p, ...x });
|
|
3156
|
+
});
|
|
3157
|
+
xt.classes = Fe;
|
|
3158
|
+
xt.displayName = "@mantine/core/ButtonGroupSection";
|
|
3159
|
+
const Ui = {
|
|
3160
|
+
in: { opacity: 1, transform: `translate(-50%, calc(-50% + ${m(1)}))` },
|
|
3161
|
+
out: { opacity: 0, transform: "translate(-50%, -200%)" },
|
|
3162
|
+
common: { transformOrigin: "center" },
|
|
3163
|
+
transitionProperty: "transform, opacity"
|
|
3164
|
+
}, Gi = {}, Xi = (e, { radius: r, color: t, gradient: n, variant: a, size: i, justify: s, autoContrast: c }) => {
|
|
3165
|
+
const l = e.variantColorResolver({
|
|
3166
|
+
color: t || e.primaryColor,
|
|
3167
|
+
theme: e,
|
|
3168
|
+
gradient: n,
|
|
3169
|
+
variant: a || "filled",
|
|
3170
|
+
autoContrast: c
|
|
3171
|
+
});
|
|
3172
|
+
return {
|
|
3173
|
+
root: {
|
|
3174
|
+
"--button-justify": s,
|
|
3175
|
+
"--button-height": ve(i, "button-height"),
|
|
3176
|
+
"--button-padding-x": ve(i, "button-padding-x"),
|
|
3177
|
+
"--button-fz": i != null && i.includes("compact") ? Rr(i.replace("compact-", "")) : Rr(i),
|
|
3178
|
+
"--button-radius": r === void 0 ? void 0 : pn(r),
|
|
3179
|
+
"--button-bg": t || a ? l.background : void 0,
|
|
3180
|
+
"--button-hover": t || a ? l.hover : void 0,
|
|
3181
|
+
"--button-color": l.color,
|
|
3182
|
+
"--button-bd": t || a ? l.border : void 0,
|
|
3183
|
+
"--button-hover-color": t || a ? l.hoverColor : void 0
|
|
3184
|
+
}
|
|
3185
|
+
};
|
|
3186
|
+
}, nr = Cn((e, r) => {
|
|
3187
|
+
const t = xe("Button", Gi, e), {
|
|
3188
|
+
style: n,
|
|
3189
|
+
vars: a,
|
|
3190
|
+
className: i,
|
|
3191
|
+
color: s,
|
|
3192
|
+
disabled: c,
|
|
3193
|
+
children: l,
|
|
3194
|
+
leftSection: p,
|
|
3195
|
+
rightSection: f,
|
|
3196
|
+
fullWidth: u,
|
|
3197
|
+
variant: h,
|
|
3198
|
+
radius: x,
|
|
3199
|
+
loading: v,
|
|
3200
|
+
loaderProps: y,
|
|
3201
|
+
gradient: b,
|
|
3202
|
+
classNames: $,
|
|
3203
|
+
styles: w,
|
|
3204
|
+
unstyled: T,
|
|
3205
|
+
"data-disabled": O,
|
|
3206
|
+
autoContrast: L,
|
|
3207
|
+
mod: A,
|
|
3208
|
+
...S
|
|
3209
|
+
} = t, W = tr({
|
|
3210
|
+
name: "Button",
|
|
3211
|
+
props: t,
|
|
3212
|
+
classes: Fe,
|
|
3213
|
+
className: i,
|
|
3214
|
+
style: n,
|
|
3215
|
+
classNames: $,
|
|
3216
|
+
styles: w,
|
|
3217
|
+
unstyled: T,
|
|
3218
|
+
vars: a,
|
|
3219
|
+
varsResolver: Xi
|
|
3220
|
+
}), J = !!p, X = !!f;
|
|
3221
|
+
return /* @__PURE__ */ C.jsxs(
|
|
3222
|
+
bt,
|
|
3223
|
+
{
|
|
3224
|
+
ref: r,
|
|
3225
|
+
...W("root", { active: !c && !v && !O }),
|
|
3226
|
+
unstyled: T,
|
|
3227
|
+
variant: h,
|
|
3228
|
+
disabled: c || v,
|
|
3229
|
+
mod: [
|
|
3230
|
+
{
|
|
3231
|
+
disabled: c || O,
|
|
3232
|
+
loading: v,
|
|
3233
|
+
block: u,
|
|
3234
|
+
"with-left-section": J,
|
|
3235
|
+
"with-right-section": X
|
|
3236
|
+
},
|
|
3237
|
+
A
|
|
3238
|
+
],
|
|
3239
|
+
...S,
|
|
3240
|
+
children: [
|
|
3241
|
+
/* @__PURE__ */ C.jsx(Tn, { mounted: !!v, transition: Ui, duration: 150, children: (ne) => /* @__PURE__ */ C.jsx(ee, { component: "span", ...W("loader", { style: ne }), "aria-hidden": !0, children: /* @__PURE__ */ C.jsx(
|
|
3242
|
+
Er,
|
|
3243
|
+
{
|
|
3244
|
+
color: "var(--button-color)",
|
|
3245
|
+
size: "calc(var(--button-height) / 1.8)",
|
|
3246
|
+
...y
|
|
3247
|
+
}
|
|
3248
|
+
) }) }),
|
|
3249
|
+
/* @__PURE__ */ C.jsxs("span", { ...W("inner"), children: [
|
|
3250
|
+
p && /* @__PURE__ */ C.jsx(ee, { component: "span", ...W("section"), mod: { position: "left" }, children: p }),
|
|
3251
|
+
/* @__PURE__ */ C.jsx(ee, { component: "span", mod: { loading: v }, ...W("label"), children: l }),
|
|
3252
|
+
f && /* @__PURE__ */ C.jsx(ee, { component: "span", ...W("section"), mod: { position: "right" }, children: f })
|
|
3253
|
+
] })
|
|
3254
|
+
]
|
|
3255
|
+
}
|
|
3256
|
+
);
|
|
3257
|
+
});
|
|
3258
|
+
nr.classes = Fe;
|
|
3259
|
+
nr.displayName = "@mantine/core/Button";
|
|
3260
|
+
nr.Group = vt;
|
|
3261
|
+
nr.GroupSection = xt;
|
|
3262
|
+
function Tr() {
|
|
3263
|
+
return Tr = Object.assign ? Object.assign.bind() : function(e) {
|
|
3264
|
+
for (var r = 1; r < arguments.length; r++) {
|
|
3265
|
+
var t = arguments[r];
|
|
3266
|
+
for (var n in t) ({}).hasOwnProperty.call(t, n) && (e[n] = t[n]);
|
|
3267
|
+
}
|
|
3268
|
+
return e;
|
|
3269
|
+
}, Tr.apply(null, arguments);
|
|
3270
|
+
}
|
|
3271
|
+
const je = (e = {}) => {
|
|
3272
|
+
const r = "#3b82f6";
|
|
3273
|
+
return [
|
|
3274
|
+
e[50] || r,
|
|
3275
|
+
// 0 - lightest
|
|
3276
|
+
e[100] || r,
|
|
3277
|
+
// 1
|
|
3278
|
+
e[200] || r,
|
|
3279
|
+
// 2
|
|
3280
|
+
e[300] || r,
|
|
3281
|
+
// 3
|
|
3282
|
+
e[400] || r,
|
|
3283
|
+
// 4
|
|
3284
|
+
e[500] || r,
|
|
3285
|
+
// 5 - medium
|
|
3286
|
+
e[600] || r,
|
|
3287
|
+
// 6
|
|
3288
|
+
e[700] || r,
|
|
3289
|
+
// 7
|
|
3290
|
+
e[800] || r,
|
|
3291
|
+
// 8
|
|
3292
|
+
e[900] || r
|
|
3293
|
+
// 9 - darkest
|
|
3294
|
+
];
|
|
3295
|
+
}, qi = (e) => () => {
|
|
3296
|
+
var r, t, n, a, i, s, c, l, p, f, u, h, x, v, y, b;
|
|
3297
|
+
return {
|
|
3298
|
+
variables: {},
|
|
3299
|
+
light: {
|
|
3300
|
+
"--jp-surface-primary": ((r = e == null ? void 0 : e.neutral) == null ? void 0 : r.lightest) ?? "",
|
|
3301
|
+
"--jp-surface-secondary": ((t = e == null ? void 0 : e.neutral) == null ? void 0 : t.lighter) ?? "",
|
|
3302
|
+
"--jp-surface-tertiary": ((n = e == null ? void 0 : e.neutral) == null ? void 0 : n.light) ?? "",
|
|
3303
|
+
"--jp-text-primary": ((a = e == null ? void 0 : e.neutral) == null ? void 0 : a.veryDark) ?? "",
|
|
3304
|
+
"--jp-text-secondary": ((i = e == null ? void 0 : e.neutral) == null ? void 0 : i.dark) ?? "",
|
|
3305
|
+
"--jp-text-tertiary": ((s = e == null ? void 0 : e.neutral) == null ? void 0 : s.medium) ?? "",
|
|
3306
|
+
"--jp-border-default": ((c = e == null ? void 0 : e.neutral) == null ? void 0 : c.lightMedium) ?? "",
|
|
3307
|
+
"--jp-border-strong": ((l = e == null ? void 0 : e.neutral) == null ? void 0 : l.medium) ?? ""
|
|
3308
|
+
},
|
|
3309
|
+
dark: {
|
|
3310
|
+
"--jp-surface-primary": ((p = e == null ? void 0 : e.neutral) == null ? void 0 : p.veryDark) ?? "",
|
|
3311
|
+
"--jp-surface-secondary": ((f = e == null ? void 0 : e.neutral) == null ? void 0 : f.darkest) ?? "",
|
|
3312
|
+
"--jp-surface-tertiary": ((u = e == null ? void 0 : e.neutral) == null ? void 0 : u.darker) ?? "",
|
|
3313
|
+
"--jp-text-primary": ((h = e == null ? void 0 : e.neutral) == null ? void 0 : h.lightest) ?? "",
|
|
3314
|
+
"--jp-text-secondary": ((x = e == null ? void 0 : e.neutral) == null ? void 0 : x.lightMedium) ?? "",
|
|
3315
|
+
"--jp-text-tertiary": ((v = e == null ? void 0 : e.neutral) == null ? void 0 : v.mediumDark) ?? "",
|
|
3316
|
+
"--jp-border-default": ((y = e == null ? void 0 : e.neutral) == null ? void 0 : y.darker) ?? "",
|
|
3317
|
+
"--jp-border-strong": ((b = e == null ? void 0 : e.neutral) == null ? void 0 : b.dark) ?? ""
|
|
3318
|
+
}
|
|
3319
|
+
};
|
|
3320
|
+
}, Ki = (e) => {
|
|
3321
|
+
const r = {
|
|
3322
|
+
/** Color scheme */
|
|
3323
|
+
primaryColor: e && Object.keys(e).length > 0 ? "brand" : "blue",
|
|
3324
|
+
primaryShade: { light: 6, dark: 5 },
|
|
3325
|
+
/** Typography */
|
|
3326
|
+
fontFamily: Sr.sans,
|
|
3327
|
+
fontFamilyMonospace: Sr.mono,
|
|
3328
|
+
fontSizes: {
|
|
3329
|
+
xs: F.xs,
|
|
3330
|
+
sm: F.sm,
|
|
3331
|
+
md: F.base,
|
|
3332
|
+
lg: F.lg,
|
|
3333
|
+
xl: F.xl
|
|
3334
|
+
},
|
|
3335
|
+
lineHeights: {
|
|
3336
|
+
xs: Y.tight,
|
|
3337
|
+
sm: Y.snug,
|
|
3338
|
+
md: Y.normal,
|
|
3339
|
+
lg: Y.relaxed,
|
|
3340
|
+
xl: Y.loose
|
|
3341
|
+
},
|
|
3342
|
+
/** Spacing */
|
|
3343
|
+
spacing: {
|
|
3344
|
+
xs: se[1],
|
|
3345
|
+
sm: se[2],
|
|
3346
|
+
md: se[4],
|
|
3347
|
+
lg: se[6],
|
|
3348
|
+
xl: se[8]
|
|
3349
|
+
},
|
|
3350
|
+
/** Border radius */
|
|
3351
|
+
radius: {
|
|
3352
|
+
xs: He.sm,
|
|
3353
|
+
sm: He.base,
|
|
3354
|
+
md: He.md,
|
|
3355
|
+
lg: He.lg,
|
|
3356
|
+
xl: He.xl
|
|
3357
|
+
},
|
|
3358
|
+
defaultRadius: "md",
|
|
3359
|
+
/** Shadows */
|
|
3360
|
+
shadows: {
|
|
3361
|
+
xs: De.xs,
|
|
3362
|
+
sm: De.sm,
|
|
3363
|
+
md: De.base,
|
|
3364
|
+
lg: De.lg,
|
|
3365
|
+
xl: De.xl
|
|
3366
|
+
},
|
|
3367
|
+
/** Headings */
|
|
3368
|
+
headings: {
|
|
3369
|
+
fontFamily: Sr.sans,
|
|
3370
|
+
fontWeight: String(I.semibold),
|
|
3371
|
+
sizes: {
|
|
3372
|
+
h1: {
|
|
3373
|
+
fontSize: N.h1.fontSize,
|
|
3374
|
+
lineHeight: N.h1.lineHeight,
|
|
3375
|
+
fontWeight: String(N.h1.fontWeight)
|
|
3376
|
+
},
|
|
3377
|
+
h2: {
|
|
3378
|
+
fontSize: N.h2.fontSize,
|
|
3379
|
+
lineHeight: N.h2.lineHeight,
|
|
3380
|
+
fontWeight: String(N.h2.fontWeight)
|
|
3381
|
+
},
|
|
3382
|
+
h3: {
|
|
3383
|
+
fontSize: N.h3.fontSize,
|
|
3384
|
+
lineHeight: N.h3.lineHeight,
|
|
3385
|
+
fontWeight: String(N.h3.fontWeight)
|
|
3386
|
+
},
|
|
3387
|
+
h4: {
|
|
3388
|
+
fontSize: N.h4.fontSize,
|
|
3389
|
+
lineHeight: N.h4.lineHeight,
|
|
3390
|
+
fontWeight: String(N.h4.fontWeight)
|
|
3391
|
+
},
|
|
3392
|
+
h5: {
|
|
3393
|
+
fontSize: N.h5.fontSize,
|
|
3394
|
+
lineHeight: N.h5.lineHeight,
|
|
3395
|
+
fontWeight: String(N.h5.fontWeight)
|
|
3396
|
+
},
|
|
3397
|
+
h6: {
|
|
3398
|
+
fontSize: N.h6.fontSize,
|
|
3399
|
+
lineHeight: N.h6.lineHeight,
|
|
3400
|
+
fontWeight: String(N.h6.fontWeight)
|
|
3401
|
+
}
|
|
3402
|
+
}
|
|
3403
|
+
},
|
|
3404
|
+
/** Other settings */
|
|
3405
|
+
autoContrast: !0,
|
|
3406
|
+
luminanceThreshold: 0.3,
|
|
3407
|
+
cursorType: "pointer",
|
|
3408
|
+
respectReducedMotion: !0,
|
|
3409
|
+
/** Custom Jupiter properties in theme.other */
|
|
3410
|
+
other: {
|
|
3411
|
+
// Border widths - accessible via theme.other.borderWidth
|
|
3412
|
+
borderWidth: {
|
|
3413
|
+
none: Ve.none,
|
|
3414
|
+
thin: Ve.thin,
|
|
3415
|
+
base: Ve.base,
|
|
3416
|
+
medium: Ve.medium,
|
|
3417
|
+
thick: Ve.thick
|
|
3418
|
+
},
|
|
3419
|
+
// Border styles - accessible via theme.other.borderStyle
|
|
3420
|
+
borderStyle: {
|
|
3421
|
+
solid: yr.solid,
|
|
3422
|
+
dashed: yr.dashed,
|
|
3423
|
+
dotted: yr.dotted,
|
|
3424
|
+
none: yr.none
|
|
3425
|
+
},
|
|
3426
|
+
// Font weights - accessible via theme.other.fontWeight
|
|
3427
|
+
fontWeight: {
|
|
3428
|
+
thin: I.thin,
|
|
3429
|
+
extralight: I.extralight,
|
|
3430
|
+
light: I.light,
|
|
3431
|
+
normal: I.normal,
|
|
3432
|
+
medium: I.medium,
|
|
3433
|
+
semibold: I.semibold,
|
|
3434
|
+
bold: I.bold,
|
|
3435
|
+
extrabold: I.extrabold,
|
|
3436
|
+
black: I.black
|
|
3437
|
+
},
|
|
3438
|
+
// Letter spacing - accessible via theme.other.letterSpacing
|
|
3439
|
+
letterSpacing: {
|
|
3440
|
+
tighter: U.tighter,
|
|
3441
|
+
tight: U.tight,
|
|
3442
|
+
normal: U.normal,
|
|
3443
|
+
wide: U.wide,
|
|
3444
|
+
wider: U.wider,
|
|
3445
|
+
widest: U.widest
|
|
3446
|
+
},
|
|
3447
|
+
// Text styles - accessible via theme.other.textStyles
|
|
3448
|
+
textStyles: {
|
|
3449
|
+
h1: N.h1,
|
|
3450
|
+
h2: N.h2,
|
|
3451
|
+
h3: N.h3,
|
|
3452
|
+
h4: N.h4,
|
|
3453
|
+
h5: N.h5,
|
|
3454
|
+
h6: N.h6,
|
|
3455
|
+
body: N.body,
|
|
3456
|
+
bodySmall: N.bodySmall
|
|
3457
|
+
},
|
|
3458
|
+
// Additional font sizes not in Mantine's default scale
|
|
3459
|
+
fontSize: {
|
|
3460
|
+
"2xl": F["2xl"],
|
|
3461
|
+
"3xl": F["3xl"],
|
|
3462
|
+
"4xl": F["4xl"],
|
|
3463
|
+
"5xl": F["5xl"],
|
|
3464
|
+
"6xl": F["6xl"],
|
|
3465
|
+
"7xl": F["7xl"],
|
|
3466
|
+
"8xl": F["8xl"],
|
|
3467
|
+
"9xl": F["9xl"]
|
|
3468
|
+
},
|
|
3469
|
+
// Color tokens for direct access
|
|
3470
|
+
colors: {
|
|
3471
|
+
primary: (e == null ? void 0 : e.primary) ?? {},
|
|
3472
|
+
secondary: (e == null ? void 0 : e.secondary) ?? {},
|
|
3473
|
+
neutral: (e == null ? void 0 : e.neutral) ?? {},
|
|
3474
|
+
success: (e == null ? void 0 : e.success) ?? {},
|
|
3475
|
+
warning: (e == null ? void 0 : e.warning) ?? {},
|
|
3476
|
+
error: (e == null ? void 0 : e.error) ?? {},
|
|
3477
|
+
info: (e == null ? void 0 : e.info) ?? {}
|
|
3478
|
+
}
|
|
3479
|
+
},
|
|
3480
|
+
/** Component defaults */
|
|
3481
|
+
components: {
|
|
3482
|
+
Button: {
|
|
3483
|
+
defaultProps: {
|
|
3484
|
+
radius: "md"
|
|
3485
|
+
},
|
|
3486
|
+
styles: () => ({
|
|
3487
|
+
root: {
|
|
3488
|
+
fontWeight: I.medium
|
|
3489
|
+
}
|
|
3490
|
+
})
|
|
3491
|
+
}
|
|
3492
|
+
}
|
|
3493
|
+
};
|
|
3494
|
+
return e && Object.keys(e).length > 0 && (r.colors = {
|
|
3495
|
+
brand: je(e.primary),
|
|
3496
|
+
success: je(e.success),
|
|
3497
|
+
warning: je(e.warning),
|
|
3498
|
+
error: je(e.error),
|
|
3499
|
+
info: je(e.info),
|
|
3500
|
+
neutral: je(e.neutral)
|
|
3501
|
+
}), r;
|
|
3502
|
+
};
|
|
3503
|
+
function Ji(e) {
|
|
3504
|
+
if (e.sheet)
|
|
3505
|
+
return e.sheet;
|
|
3506
|
+
for (var r = 0; r < document.styleSheets.length; r++)
|
|
3507
|
+
if (document.styleSheets[r].ownerNode === e)
|
|
3508
|
+
return document.styleSheets[r];
|
|
3509
|
+
}
|
|
3510
|
+
function Zi(e) {
|
|
3511
|
+
var r = document.createElement("style");
|
|
3512
|
+
return r.setAttribute("data-emotion", e.key), e.nonce !== void 0 && r.setAttribute("nonce", e.nonce), r.appendChild(document.createTextNode("")), r.setAttribute("data-s", ""), r;
|
|
3513
|
+
}
|
|
3514
|
+
var Qi = /* @__PURE__ */ function() {
|
|
3515
|
+
function e(t) {
|
|
3516
|
+
var n = this;
|
|
3517
|
+
this._insertTag = function(a) {
|
|
3518
|
+
var i;
|
|
3519
|
+
n.tags.length === 0 ? n.insertionPoint ? i = n.insertionPoint.nextSibling : n.prepend ? i = n.container.firstChild : i = n.before : i = n.tags[n.tags.length - 1].nextSibling, n.container.insertBefore(a, i), n.tags.push(a);
|
|
3520
|
+
}, this.isSpeedy = t.speedy === void 0 ? !0 : t.speedy, this.tags = [], this.ctr = 0, this.nonce = t.nonce, this.key = t.key, this.container = t.container, this.prepend = t.prepend, this.insertionPoint = t.insertionPoint, this.before = null;
|
|
3521
|
+
}
|
|
3522
|
+
var r = e.prototype;
|
|
3523
|
+
return r.hydrate = function(n) {
|
|
3524
|
+
n.forEach(this._insertTag);
|
|
3525
|
+
}, r.insert = function(n) {
|
|
3526
|
+
this.ctr % (this.isSpeedy ? 65e3 : 1) === 0 && this._insertTag(Zi(this));
|
|
3527
|
+
var a = this.tags[this.tags.length - 1];
|
|
3528
|
+
if (this.isSpeedy) {
|
|
3529
|
+
var i = Ji(a);
|
|
3530
|
+
try {
|
|
3531
|
+
i.insertRule(n, i.cssRules.length);
|
|
3532
|
+
} catch {
|
|
3533
|
+
}
|
|
3534
|
+
} else
|
|
3535
|
+
a.appendChild(document.createTextNode(n));
|
|
3536
|
+
this.ctr++;
|
|
3537
|
+
}, r.flush = function() {
|
|
3538
|
+
this.tags.forEach(function(n) {
|
|
3539
|
+
var a;
|
|
3540
|
+
return (a = n.parentNode) == null ? void 0 : a.removeChild(n);
|
|
3541
|
+
}), this.tags = [], this.ctr = 0;
|
|
3542
|
+
}, e;
|
|
3543
|
+
}(), B = "-ms-", _r = "-moz-", E = "-webkit-", On = "comm", wt = "rule", St = "decl", eo = "@import", An = "@keyframes", ro = "@layer", to = Math.abs, Pr = String.fromCharCode, no = Object.assign;
|
|
3544
|
+
function ao(e, r) {
|
|
3545
|
+
return D(e, 0) ^ 45 ? (((r << 2 ^ D(e, 0)) << 2 ^ D(e, 1)) << 2 ^ D(e, 2)) << 2 ^ D(e, 3) : 0;
|
|
3546
|
+
}
|
|
3547
|
+
function Mn(e) {
|
|
3548
|
+
return e.trim();
|
|
3549
|
+
}
|
|
3550
|
+
function io(e, r) {
|
|
3551
|
+
return (e = r.exec(e)) ? e[0] : e;
|
|
3552
|
+
}
|
|
3553
|
+
function P(e, r, t) {
|
|
3554
|
+
return e.replace(r, t);
|
|
3555
|
+
}
|
|
3556
|
+
function nt(e, r) {
|
|
3557
|
+
return e.indexOf(r);
|
|
3558
|
+
}
|
|
3559
|
+
function D(e, r) {
|
|
3560
|
+
return e.charCodeAt(r) | 0;
|
|
3561
|
+
}
|
|
3562
|
+
function Je(e, r, t) {
|
|
3563
|
+
return e.slice(r, t);
|
|
3564
|
+
}
|
|
3565
|
+
function ie(e) {
|
|
3566
|
+
return e.length;
|
|
3567
|
+
}
|
|
3568
|
+
function $t(e) {
|
|
3569
|
+
return e.length;
|
|
3570
|
+
}
|
|
3571
|
+
function wr(e, r) {
|
|
3572
|
+
return r.push(e), e;
|
|
3573
|
+
}
|
|
3574
|
+
function oo(e, r) {
|
|
3575
|
+
return e.map(r).join("");
|
|
3576
|
+
}
|
|
3577
|
+
var jr = 1, Ne = 1, Nn = 0, K = 0, V = 0, We = "";
|
|
3578
|
+
function Or(e, r, t, n, a, i, s) {
|
|
3579
|
+
return { value: e, root: r, parent: t, type: n, props: a, children: i, line: jr, column: Ne, length: s, return: "" };
|
|
3580
|
+
}
|
|
3581
|
+
function qe(e, r) {
|
|
3582
|
+
return no(Or("", null, null, "", null, null, 0), e, { length: -e.length }, r);
|
|
3583
|
+
}
|
|
3584
|
+
function so() {
|
|
3585
|
+
return V;
|
|
3586
|
+
}
|
|
3587
|
+
function co() {
|
|
3588
|
+
return V = K > 0 ? D(We, --K) : 0, Ne--, V === 10 && (Ne = 1, jr--), V;
|
|
3589
|
+
}
|
|
3590
|
+
function Z() {
|
|
3591
|
+
return V = K < Nn ? D(We, K++) : 0, Ne++, V === 10 && (Ne = 1, jr++), V;
|
|
3592
|
+
}
|
|
3593
|
+
function le() {
|
|
3594
|
+
return D(We, K);
|
|
3595
|
+
}
|
|
3596
|
+
function $r() {
|
|
3597
|
+
return K;
|
|
3598
|
+
}
|
|
3599
|
+
function ar(e, r) {
|
|
3600
|
+
return Je(We, e, r);
|
|
3601
|
+
}
|
|
3602
|
+
function Ze(e) {
|
|
3603
|
+
switch (e) {
|
|
3604
|
+
case 0:
|
|
3605
|
+
case 9:
|
|
3606
|
+
case 10:
|
|
3607
|
+
case 13:
|
|
3608
|
+
case 32:
|
|
3609
|
+
return 5;
|
|
3610
|
+
case 33:
|
|
3611
|
+
case 43:
|
|
3612
|
+
case 44:
|
|
3613
|
+
case 47:
|
|
3614
|
+
case 62:
|
|
3615
|
+
case 64:
|
|
3616
|
+
case 126:
|
|
3617
|
+
case 59:
|
|
3618
|
+
case 123:
|
|
3619
|
+
case 125:
|
|
3620
|
+
return 4;
|
|
3621
|
+
case 58:
|
|
3622
|
+
return 3;
|
|
3623
|
+
case 34:
|
|
3624
|
+
case 39:
|
|
3625
|
+
case 40:
|
|
3626
|
+
case 91:
|
|
3627
|
+
return 2;
|
|
3628
|
+
case 41:
|
|
3629
|
+
case 93:
|
|
3630
|
+
return 1;
|
|
3631
|
+
}
|
|
3632
|
+
return 0;
|
|
3633
|
+
}
|
|
3634
|
+
function Fn(e) {
|
|
3635
|
+
return jr = Ne = 1, Nn = ie(We = e), K = 0, [];
|
|
3636
|
+
}
|
|
3637
|
+
function Wn(e) {
|
|
3638
|
+
return We = "", e;
|
|
3639
|
+
}
|
|
3640
|
+
function kr(e) {
|
|
3641
|
+
return Mn(ar(K - 1, at(e === 91 ? e + 2 : e === 40 ? e + 1 : e)));
|
|
3642
|
+
}
|
|
3643
|
+
function lo(e) {
|
|
3644
|
+
for (; (V = le()) && V < 33; )
|
|
3645
|
+
Z();
|
|
3646
|
+
return Ze(e) > 2 || Ze(V) > 3 ? "" : " ";
|
|
3647
|
+
}
|
|
3648
|
+
function fo(e, r) {
|
|
3649
|
+
for (; --r && Z() && !(V < 48 || V > 102 || V > 57 && V < 65 || V > 70 && V < 97); )
|
|
3650
|
+
;
|
|
3651
|
+
return ar(e, $r() + (r < 6 && le() == 32 && Z() == 32));
|
|
3652
|
+
}
|
|
3653
|
+
function at(e) {
|
|
3654
|
+
for (; Z(); )
|
|
3655
|
+
switch (V) {
|
|
3656
|
+
case e:
|
|
3657
|
+
return K;
|
|
3658
|
+
case 34:
|
|
3659
|
+
case 39:
|
|
3660
|
+
e !== 34 && e !== 39 && at(V);
|
|
3661
|
+
break;
|
|
3662
|
+
case 40:
|
|
3663
|
+
e === 41 && at(e);
|
|
3664
|
+
break;
|
|
3665
|
+
case 92:
|
|
3666
|
+
Z();
|
|
3667
|
+
break;
|
|
3668
|
+
}
|
|
3669
|
+
return K;
|
|
3670
|
+
}
|
|
3671
|
+
function uo(e, r) {
|
|
3672
|
+
for (; Z() && e + V !== 57; )
|
|
3673
|
+
if (e + V === 84 && le() === 47)
|
|
3674
|
+
break;
|
|
3675
|
+
return "/*" + ar(r, K - 1) + "*" + Pr(e === 47 ? e : Z());
|
|
3676
|
+
}
|
|
3677
|
+
function po(e) {
|
|
3678
|
+
for (; !Ze(le()); )
|
|
3679
|
+
Z();
|
|
3680
|
+
return ar(e, K);
|
|
3681
|
+
}
|
|
3682
|
+
function mo(e) {
|
|
3683
|
+
return Wn(Cr("", null, null, null, [""], e = Fn(e), 0, [0], e));
|
|
3684
|
+
}
|
|
3685
|
+
function Cr(e, r, t, n, a, i, s, c, l) {
|
|
3686
|
+
for (var p = 0, f = 0, u = s, h = 0, x = 0, v = 0, y = 1, b = 1, $ = 1, w = 0, T = "", O = a, L = i, A = n, S = T; b; )
|
|
3687
|
+
switch (v = w, w = Z()) {
|
|
3688
|
+
case 40:
|
|
3689
|
+
if (v != 108 && D(S, u - 1) == 58) {
|
|
3690
|
+
nt(S += P(kr(w), "&", "&\f"), "&\f") != -1 && ($ = -1);
|
|
3691
|
+
break;
|
|
3692
|
+
}
|
|
3693
|
+
case 34:
|
|
3694
|
+
case 39:
|
|
3695
|
+
case 91:
|
|
3696
|
+
S += kr(w);
|
|
3697
|
+
break;
|
|
3698
|
+
case 9:
|
|
3699
|
+
case 10:
|
|
3700
|
+
case 13:
|
|
3701
|
+
case 32:
|
|
3702
|
+
S += lo(v);
|
|
3703
|
+
break;
|
|
3704
|
+
case 92:
|
|
3705
|
+
S += fo($r() - 1, 7);
|
|
3706
|
+
continue;
|
|
3707
|
+
case 47:
|
|
3708
|
+
switch (le()) {
|
|
3709
|
+
case 42:
|
|
3710
|
+
case 47:
|
|
3711
|
+
wr(ho(uo(Z(), $r()), r, t), l);
|
|
3712
|
+
break;
|
|
3713
|
+
default:
|
|
3714
|
+
S += "/";
|
|
3715
|
+
}
|
|
3716
|
+
break;
|
|
3717
|
+
case 123 * y:
|
|
3718
|
+
c[p++] = ie(S) * $;
|
|
3719
|
+
case 125 * y:
|
|
3720
|
+
case 59:
|
|
3721
|
+
case 0:
|
|
3722
|
+
switch (w) {
|
|
3723
|
+
case 0:
|
|
3724
|
+
case 125:
|
|
3725
|
+
b = 0;
|
|
3726
|
+
case 59 + f:
|
|
3727
|
+
$ == -1 && (S = P(S, /\f/g, "")), x > 0 && ie(S) - u && wr(x > 32 ? en(S + ";", n, t, u - 1) : en(P(S, " ", "") + ";", n, t, u - 2), l);
|
|
3728
|
+
break;
|
|
3729
|
+
case 59:
|
|
3730
|
+
S += ";";
|
|
3731
|
+
default:
|
|
3732
|
+
if (wr(A = Qt(S, r, t, p, f, a, c, T, O = [], L = [], u), i), w === 123)
|
|
3733
|
+
if (f === 0)
|
|
3734
|
+
Cr(S, r, A, A, O, i, u, c, L);
|
|
3735
|
+
else
|
|
3736
|
+
switch (h === 99 && D(S, 3) === 110 ? 100 : h) {
|
|
3737
|
+
case 100:
|
|
3738
|
+
case 108:
|
|
3739
|
+
case 109:
|
|
3740
|
+
case 115:
|
|
3741
|
+
Cr(e, A, A, n && wr(Qt(e, A, A, 0, 0, a, c, T, a, O = [], u), L), a, L, u, c, n ? O : L);
|
|
3742
|
+
break;
|
|
3743
|
+
default:
|
|
3744
|
+
Cr(S, A, A, A, [""], L, 0, c, L);
|
|
3745
|
+
}
|
|
3746
|
+
}
|
|
3747
|
+
p = f = x = 0, y = $ = 1, T = S = "", u = s;
|
|
3748
|
+
break;
|
|
3749
|
+
case 58:
|
|
3750
|
+
u = 1 + ie(S), x = v;
|
|
3751
|
+
default:
|
|
3752
|
+
if (y < 1) {
|
|
3753
|
+
if (w == 123)
|
|
3754
|
+
--y;
|
|
3755
|
+
else if (w == 125 && y++ == 0 && co() == 125)
|
|
3756
|
+
continue;
|
|
3757
|
+
}
|
|
3758
|
+
switch (S += Pr(w), w * y) {
|
|
3759
|
+
case 38:
|
|
3760
|
+
$ = f > 0 ? 1 : (S += "\f", -1);
|
|
3761
|
+
break;
|
|
3762
|
+
case 44:
|
|
3763
|
+
c[p++] = (ie(S) - 1) * $, $ = 1;
|
|
3764
|
+
break;
|
|
3765
|
+
case 64:
|
|
3766
|
+
le() === 45 && (S += kr(Z())), h = le(), f = u = ie(T = S += po($r())), w++;
|
|
3767
|
+
break;
|
|
3768
|
+
case 45:
|
|
3769
|
+
v === 45 && ie(S) == 2 && (y = 0);
|
|
3770
|
+
}
|
|
3771
|
+
}
|
|
3772
|
+
return i;
|
|
3773
|
+
}
|
|
3774
|
+
function Qt(e, r, t, n, a, i, s, c, l, p, f) {
|
|
3775
|
+
for (var u = a - 1, h = a === 0 ? i : [""], x = $t(h), v = 0, y = 0, b = 0; v < n; ++v)
|
|
3776
|
+
for (var $ = 0, w = Je(e, u + 1, u = to(y = s[v])), T = e; $ < x; ++$)
|
|
3777
|
+
(T = Mn(y > 0 ? h[$] + " " + w : P(w, /&\f/g, h[$]))) && (l[b++] = T);
|
|
3778
|
+
return Or(e, r, t, a === 0 ? wt : c, l, p, f);
|
|
3779
|
+
}
|
|
3780
|
+
function ho(e, r, t) {
|
|
3781
|
+
return Or(e, r, t, On, Pr(so()), Je(e, 2, -2), 0);
|
|
3782
|
+
}
|
|
3783
|
+
function en(e, r, t, n) {
|
|
3784
|
+
return Or(e, r, t, St, Je(e, 0, n), Je(e, n + 1, -1), n);
|
|
3785
|
+
}
|
|
3786
|
+
function Ae(e, r) {
|
|
3787
|
+
for (var t = "", n = $t(e), a = 0; a < n; a++)
|
|
3788
|
+
t += r(e[a], a, e, r) || "";
|
|
3789
|
+
return t;
|
|
3790
|
+
}
|
|
3791
|
+
function go(e, r, t, n) {
|
|
3792
|
+
switch (e.type) {
|
|
3793
|
+
case ro:
|
|
3794
|
+
if (e.children.length) break;
|
|
3795
|
+
case eo:
|
|
3796
|
+
case St:
|
|
3797
|
+
return e.return = e.return || e.value;
|
|
3798
|
+
case On:
|
|
3799
|
+
return "";
|
|
3800
|
+
case An:
|
|
3801
|
+
return e.return = e.value + "{" + Ae(e.children, n) + "}";
|
|
3802
|
+
case wt:
|
|
3803
|
+
e.value = e.props.join(",");
|
|
3804
|
+
}
|
|
3805
|
+
return ie(t = Ae(e.children, n)) ? e.return = e.value + "{" + t + "}" : "";
|
|
3806
|
+
}
|
|
3807
|
+
function yo(e) {
|
|
3808
|
+
var r = $t(e);
|
|
3809
|
+
return function(t, n, a, i) {
|
|
3810
|
+
for (var s = "", c = 0; c < r; c++)
|
|
3811
|
+
s += e[c](t, n, a, i) || "";
|
|
3812
|
+
return s;
|
|
3813
|
+
};
|
|
3814
|
+
}
|
|
3815
|
+
function bo(e) {
|
|
3816
|
+
return function(r) {
|
|
3817
|
+
r.root || (r = r.return) && e(r);
|
|
3818
|
+
};
|
|
3819
|
+
}
|
|
3820
|
+
var rn = function(r) {
|
|
3821
|
+
var t = /* @__PURE__ */ new WeakMap();
|
|
3822
|
+
return function(n) {
|
|
3823
|
+
if (t.has(n))
|
|
3824
|
+
return t.get(n);
|
|
3825
|
+
var a = r(n);
|
|
3826
|
+
return t.set(n, a), a;
|
|
3827
|
+
};
|
|
3828
|
+
};
|
|
3829
|
+
function In(e) {
|
|
3830
|
+
var r = /* @__PURE__ */ Object.create(null);
|
|
3831
|
+
return function(t) {
|
|
3832
|
+
return r[t] === void 0 && (r[t] = e(t)), r[t];
|
|
3833
|
+
};
|
|
3834
|
+
}
|
|
3835
|
+
var vo = function(r, t, n) {
|
|
3836
|
+
for (var a = 0, i = 0; a = i, i = le(), a === 38 && i === 12 && (t[n] = 1), !Ze(i); )
|
|
3837
|
+
Z();
|
|
3838
|
+
return ar(r, K);
|
|
3839
|
+
}, xo = function(r, t) {
|
|
3840
|
+
var n = -1, a = 44;
|
|
3841
|
+
do
|
|
3842
|
+
switch (Ze(a)) {
|
|
3843
|
+
case 0:
|
|
3844
|
+
a === 38 && le() === 12 && (t[n] = 1), r[n] += vo(K - 1, t, n);
|
|
3845
|
+
break;
|
|
3846
|
+
case 2:
|
|
3847
|
+
r[n] += kr(a);
|
|
3848
|
+
break;
|
|
3849
|
+
case 4:
|
|
3850
|
+
if (a === 44) {
|
|
3851
|
+
r[++n] = le() === 58 ? "&\f" : "", t[n] = r[n].length;
|
|
3852
|
+
break;
|
|
3853
|
+
}
|
|
3854
|
+
default:
|
|
3855
|
+
r[n] += Pr(a);
|
|
3856
|
+
}
|
|
3857
|
+
while (a = Z());
|
|
3858
|
+
return r;
|
|
3859
|
+
}, wo = function(r, t) {
|
|
3860
|
+
return Wn(xo(Fn(r), t));
|
|
3861
|
+
}, tn = /* @__PURE__ */ new WeakMap(), So = function(r) {
|
|
3862
|
+
if (!(r.type !== "rule" || !r.parent || // positive .length indicates that this rule contains pseudo
|
|
3863
|
+
// negative .length indicates that this rule has been already prefixed
|
|
3864
|
+
r.length < 1)) {
|
|
3865
|
+
for (var t = r.value, n = r.parent, a = r.column === n.column && r.line === n.line; n.type !== "rule"; )
|
|
3866
|
+
if (n = n.parent, !n) return;
|
|
3867
|
+
if (!(r.props.length === 1 && t.charCodeAt(0) !== 58 && !tn.get(n)) && !a) {
|
|
3868
|
+
tn.set(r, !0);
|
|
3869
|
+
for (var i = [], s = wo(t, i), c = n.props, l = 0, p = 0; l < s.length; l++)
|
|
3870
|
+
for (var f = 0; f < c.length; f++, p++)
|
|
3871
|
+
r.props[p] = i[l] ? s[l].replace(/&\f/g, c[f]) : c[f] + " " + s[l];
|
|
3872
|
+
}
|
|
3873
|
+
}
|
|
3874
|
+
}, $o = function(r) {
|
|
3875
|
+
if (r.type === "decl") {
|
|
3876
|
+
var t = r.value;
|
|
3877
|
+
// charcode for l
|
|
3878
|
+
t.charCodeAt(0) === 108 && // charcode for b
|
|
3879
|
+
t.charCodeAt(2) === 98 && (r.return = "", r.value = "");
|
|
3880
|
+
}
|
|
3881
|
+
};
|
|
3882
|
+
function Ln(e, r) {
|
|
3883
|
+
switch (ao(e, r)) {
|
|
3884
|
+
case 5103:
|
|
3885
|
+
return E + "print-" + e + e;
|
|
3886
|
+
case 5737:
|
|
3887
|
+
case 4201:
|
|
3888
|
+
case 3177:
|
|
3889
|
+
case 3433:
|
|
3890
|
+
case 1641:
|
|
3891
|
+
case 4457:
|
|
3892
|
+
case 2921:
|
|
3893
|
+
case 5572:
|
|
3894
|
+
case 6356:
|
|
3895
|
+
case 5844:
|
|
3896
|
+
case 3191:
|
|
3897
|
+
case 6645:
|
|
3898
|
+
case 3005:
|
|
3899
|
+
case 6391:
|
|
3900
|
+
case 5879:
|
|
3901
|
+
case 5623:
|
|
3902
|
+
case 6135:
|
|
3903
|
+
case 4599:
|
|
3904
|
+
case 4855:
|
|
3905
|
+
case 4215:
|
|
3906
|
+
case 6389:
|
|
3907
|
+
case 5109:
|
|
3908
|
+
case 5365:
|
|
3909
|
+
case 5621:
|
|
3910
|
+
case 3829:
|
|
3911
|
+
return E + e + e;
|
|
3912
|
+
case 5349:
|
|
3913
|
+
case 4246:
|
|
3914
|
+
case 4810:
|
|
3915
|
+
case 6968:
|
|
3916
|
+
case 2756:
|
|
3917
|
+
return E + e + _r + e + B + e + e;
|
|
3918
|
+
case 6828:
|
|
3919
|
+
case 4268:
|
|
3920
|
+
return E + e + B + e + e;
|
|
3921
|
+
case 6165:
|
|
3922
|
+
return E + e + B + "flex-" + e + e;
|
|
3923
|
+
case 5187:
|
|
3924
|
+
return E + e + P(e, /(\w+).+(:[^]+)/, E + "box-$1$2" + B + "flex-$1$2") + e;
|
|
3925
|
+
case 5443:
|
|
3926
|
+
return E + e + B + "flex-item-" + P(e, /flex-|-self/, "") + e;
|
|
3927
|
+
case 4675:
|
|
3928
|
+
return E + e + B + "flex-line-pack" + P(e, /align-content|flex-|-self/, "") + e;
|
|
3929
|
+
case 5548:
|
|
3930
|
+
return E + e + B + P(e, "shrink", "negative") + e;
|
|
3931
|
+
case 5292:
|
|
3932
|
+
return E + e + B + P(e, "basis", "preferred-size") + e;
|
|
3933
|
+
case 6060:
|
|
3934
|
+
return E + "box-" + P(e, "-grow", "") + E + e + B + P(e, "grow", "positive") + e;
|
|
3935
|
+
case 4554:
|
|
3936
|
+
return E + P(e, /([^-])(transform)/g, "$1" + E + "$2") + e;
|
|
3937
|
+
case 6187:
|
|
3938
|
+
return P(P(P(e, /(zoom-|grab)/, E + "$1"), /(image-set)/, E + "$1"), e, "") + e;
|
|
3939
|
+
case 5495:
|
|
3940
|
+
case 3959:
|
|
3941
|
+
return P(e, /(image-set\([^]*)/, E + "$1$`$1");
|
|
3942
|
+
case 4968:
|
|
3943
|
+
return P(P(e, /(.+:)(flex-)?(.*)/, E + "box-pack:$3" + B + "flex-pack:$3"), /s.+-b[^;]+/, "justify") + E + e + e;
|
|
3944
|
+
case 4095:
|
|
3945
|
+
case 3583:
|
|
3946
|
+
case 4068:
|
|
3947
|
+
case 2532:
|
|
3948
|
+
return P(e, /(.+)-inline(.+)/, E + "$1$2") + e;
|
|
3949
|
+
case 8116:
|
|
3950
|
+
case 7059:
|
|
3951
|
+
case 5753:
|
|
3952
|
+
case 5535:
|
|
3953
|
+
case 5445:
|
|
3954
|
+
case 5701:
|
|
3955
|
+
case 4933:
|
|
3956
|
+
case 4677:
|
|
3957
|
+
case 5533:
|
|
3958
|
+
case 5789:
|
|
3959
|
+
case 5021:
|
|
3960
|
+
case 4765:
|
|
3961
|
+
if (ie(e) - 1 - r > 6) switch (D(e, r + 1)) {
|
|
3962
|
+
case 109:
|
|
3963
|
+
if (D(e, r + 4) !== 45) break;
|
|
3964
|
+
case 102:
|
|
3965
|
+
return P(e, /(.+:)(.+)-([^]+)/, "$1" + E + "$2-$3$1" + _r + (D(e, r + 3) == 108 ? "$3" : "$2-$3")) + e;
|
|
3966
|
+
case 115:
|
|
3967
|
+
return ~nt(e, "stretch") ? Ln(P(e, "stretch", "fill-available"), r) + e : e;
|
|
3968
|
+
}
|
|
3969
|
+
break;
|
|
3970
|
+
case 4949:
|
|
3971
|
+
if (D(e, r + 1) !== 115) break;
|
|
3972
|
+
case 6444:
|
|
3973
|
+
switch (D(e, ie(e) - 3 - (~nt(e, "!important") && 10))) {
|
|
3974
|
+
case 107:
|
|
3975
|
+
return P(e, ":", ":" + E) + e;
|
|
3976
|
+
case 101:
|
|
3977
|
+
return P(e, /(.+:)([^;!]+)(;|!.+)?/, "$1" + E + (D(e, 14) === 45 ? "inline-" : "") + "box$3$1" + E + "$2$3$1" + B + "$2box$3") + e;
|
|
3978
|
+
}
|
|
3979
|
+
break;
|
|
3980
|
+
case 5936:
|
|
3981
|
+
switch (D(e, r + 11)) {
|
|
3982
|
+
case 114:
|
|
3983
|
+
return E + e + B + P(e, /[svh]\w+-[tblr]{2}/, "tb") + e;
|
|
3984
|
+
case 108:
|
|
3985
|
+
return E + e + B + P(e, /[svh]\w+-[tblr]{2}/, "tb-rl") + e;
|
|
3986
|
+
case 45:
|
|
3987
|
+
return E + e + B + P(e, /[svh]\w+-[tblr]{2}/, "lr") + e;
|
|
3988
|
+
}
|
|
3989
|
+
return E + e + B + e + e;
|
|
3990
|
+
}
|
|
3991
|
+
return e;
|
|
3992
|
+
}
|
|
3993
|
+
var ko = function(r, t, n, a) {
|
|
3994
|
+
if (r.length > -1 && !r.return) switch (r.type) {
|
|
3995
|
+
case St:
|
|
3996
|
+
r.return = Ln(r.value, r.length);
|
|
3997
|
+
break;
|
|
3998
|
+
case An:
|
|
3999
|
+
return Ae([qe(r, {
|
|
4000
|
+
value: P(r.value, "@", "@" + E)
|
|
4001
|
+
})], a);
|
|
4002
|
+
case wt:
|
|
4003
|
+
if (r.length) return oo(r.props, function(i) {
|
|
4004
|
+
switch (io(i, /(::plac\w+|:read-\w+)/)) {
|
|
4005
|
+
case ":read-only":
|
|
4006
|
+
case ":read-write":
|
|
4007
|
+
return Ae([qe(r, {
|
|
4008
|
+
props: [P(i, /:(read-\w+)/, ":" + _r + "$1")]
|
|
4009
|
+
})], a);
|
|
4010
|
+
case "::placeholder":
|
|
4011
|
+
return Ae([qe(r, {
|
|
4012
|
+
props: [P(i, /:(plac\w+)/, ":" + E + "input-$1")]
|
|
4013
|
+
}), qe(r, {
|
|
4014
|
+
props: [P(i, /:(plac\w+)/, ":" + _r + "$1")]
|
|
4015
|
+
}), qe(r, {
|
|
4016
|
+
props: [P(i, /:(plac\w+)/, B + "input-$1")]
|
|
4017
|
+
})], a);
|
|
4018
|
+
}
|
|
4019
|
+
return "";
|
|
4020
|
+
});
|
|
4021
|
+
}
|
|
4022
|
+
}, Co = [ko], Ro = function(r) {
|
|
4023
|
+
var t = r.key;
|
|
4024
|
+
if (t === "css") {
|
|
4025
|
+
var n = document.querySelectorAll("style[data-emotion]:not([data-s])");
|
|
4026
|
+
Array.prototype.forEach.call(n, function(y) {
|
|
4027
|
+
var b = y.getAttribute("data-emotion");
|
|
4028
|
+
b.indexOf(" ") !== -1 && (document.head.appendChild(y), y.setAttribute("data-s", ""));
|
|
4029
|
+
});
|
|
4030
|
+
}
|
|
4031
|
+
var a = r.stylisPlugins || Co, i = {}, s, c = [];
|
|
4032
|
+
s = r.container || document.head, Array.prototype.forEach.call(
|
|
4033
|
+
// this means we will ignore elements which don't have a space in them which
|
|
4034
|
+
// means that the style elements we're looking at are only Emotion 11 server-rendered style elements
|
|
4035
|
+
document.querySelectorAll('style[data-emotion^="' + t + ' "]'),
|
|
4036
|
+
function(y) {
|
|
4037
|
+
for (var b = y.getAttribute("data-emotion").split(" "), $ = 1; $ < b.length; $++)
|
|
4038
|
+
i[b[$]] = !0;
|
|
4039
|
+
c.push(y);
|
|
4040
|
+
}
|
|
4041
|
+
);
|
|
4042
|
+
var l, p = [So, $o];
|
|
4043
|
+
{
|
|
4044
|
+
var f, u = [go, bo(function(y) {
|
|
4045
|
+
f.insert(y);
|
|
4046
|
+
})], h = yo(p.concat(a, u)), x = function(b) {
|
|
4047
|
+
return Ae(mo(b), h);
|
|
4048
|
+
};
|
|
4049
|
+
l = function(b, $, w, T) {
|
|
4050
|
+
f = w, x(b ? b + "{" + $.styles + "}" : $.styles), T && (v.inserted[$.name] = !0);
|
|
4051
|
+
};
|
|
4052
|
+
}
|
|
4053
|
+
var v = {
|
|
4054
|
+
key: t,
|
|
4055
|
+
sheet: new Qi({
|
|
4056
|
+
key: t,
|
|
4057
|
+
container: s,
|
|
4058
|
+
nonce: r.nonce,
|
|
4059
|
+
speedy: r.speedy,
|
|
4060
|
+
prepend: r.prepend,
|
|
4061
|
+
insertionPoint: r.insertionPoint
|
|
4062
|
+
}),
|
|
4063
|
+
nonce: r.nonce,
|
|
4064
|
+
inserted: i,
|
|
4065
|
+
registered: {},
|
|
4066
|
+
insert: l
|
|
4067
|
+
};
|
|
4068
|
+
return v.sheet.hydrate(c), v;
|
|
4069
|
+
}, To = !0;
|
|
4070
|
+
function _o(e, r, t) {
|
|
4071
|
+
var n = "";
|
|
4072
|
+
return t.split(" ").forEach(function(a) {
|
|
4073
|
+
e[a] !== void 0 ? r.push(e[a] + ";") : a && (n += a + " ");
|
|
4074
|
+
}), n;
|
|
4075
|
+
}
|
|
4076
|
+
var zn = function(r, t, n) {
|
|
4077
|
+
var a = r.key + "-" + t.name;
|
|
4078
|
+
// we only need to add the styles to the registered cache if the
|
|
4079
|
+
// class name could be used further down
|
|
4080
|
+
// the tree but if it's a string tag, we know it won't
|
|
4081
|
+
// so we don't have to add it to registered cache.
|
|
4082
|
+
// this improves memory usage since we can avoid storing the whole style string
|
|
4083
|
+
(n === !1 || // we need to always store it if we're in compat mode and
|
|
4084
|
+
// in node since emotion-server relies on whether a style is in
|
|
4085
|
+
// the registered cache to know whether a style is global or not
|
|
4086
|
+
// also, note that this check will be dead code eliminated in the browser
|
|
4087
|
+
To === !1) && r.registered[a] === void 0 && (r.registered[a] = t.styles);
|
|
4088
|
+
}, Eo = function(r, t, n) {
|
|
4089
|
+
zn(r, t, n);
|
|
4090
|
+
var a = r.key + "-" + t.name;
|
|
4091
|
+
if (r.inserted[t.name] === void 0) {
|
|
4092
|
+
var i = t;
|
|
4093
|
+
do
|
|
4094
|
+
r.insert(t === i ? "." + a : "", i, r.sheet, !0), i = i.next;
|
|
4095
|
+
while (i !== void 0);
|
|
4096
|
+
}
|
|
4097
|
+
};
|
|
4098
|
+
function Po(e) {
|
|
4099
|
+
for (var r = 0, t, n = 0, a = e.length; a >= 4; ++n, a -= 4)
|
|
4100
|
+
t = e.charCodeAt(n) & 255 | (e.charCodeAt(++n) & 255) << 8 | (e.charCodeAt(++n) & 255) << 16 | (e.charCodeAt(++n) & 255) << 24, t = /* Math.imul(k, m): */
|
|
4101
|
+
(t & 65535) * 1540483477 + ((t >>> 16) * 59797 << 16), t ^= /* k >>> r: */
|
|
4102
|
+
t >>> 24, r = /* Math.imul(k, m): */
|
|
4103
|
+
(t & 65535) * 1540483477 + ((t >>> 16) * 59797 << 16) ^ /* Math.imul(h, m): */
|
|
4104
|
+
(r & 65535) * 1540483477 + ((r >>> 16) * 59797 << 16);
|
|
4105
|
+
switch (a) {
|
|
4106
|
+
case 3:
|
|
4107
|
+
r ^= (e.charCodeAt(n + 2) & 255) << 16;
|
|
4108
|
+
case 2:
|
|
4109
|
+
r ^= (e.charCodeAt(n + 1) & 255) << 8;
|
|
4110
|
+
case 1:
|
|
4111
|
+
r ^= e.charCodeAt(n) & 255, r = /* Math.imul(h, m): */
|
|
4112
|
+
(r & 65535) * 1540483477 + ((r >>> 16) * 59797 << 16);
|
|
4113
|
+
}
|
|
4114
|
+
return r ^= r >>> 13, r = /* Math.imul(h, m): */
|
|
4115
|
+
(r & 65535) * 1540483477 + ((r >>> 16) * 59797 << 16), ((r ^ r >>> 15) >>> 0).toString(36);
|
|
4116
|
+
}
|
|
4117
|
+
var jo = {
|
|
4118
|
+
animationIterationCount: 1,
|
|
4119
|
+
aspectRatio: 1,
|
|
4120
|
+
borderImageOutset: 1,
|
|
4121
|
+
borderImageSlice: 1,
|
|
4122
|
+
borderImageWidth: 1,
|
|
4123
|
+
boxFlex: 1,
|
|
4124
|
+
boxFlexGroup: 1,
|
|
4125
|
+
boxOrdinalGroup: 1,
|
|
4126
|
+
columnCount: 1,
|
|
4127
|
+
columns: 1,
|
|
4128
|
+
flex: 1,
|
|
4129
|
+
flexGrow: 1,
|
|
4130
|
+
flexPositive: 1,
|
|
4131
|
+
flexShrink: 1,
|
|
4132
|
+
flexNegative: 1,
|
|
4133
|
+
flexOrder: 1,
|
|
4134
|
+
gridRow: 1,
|
|
4135
|
+
gridRowEnd: 1,
|
|
4136
|
+
gridRowSpan: 1,
|
|
4137
|
+
gridRowStart: 1,
|
|
4138
|
+
gridColumn: 1,
|
|
4139
|
+
gridColumnEnd: 1,
|
|
4140
|
+
gridColumnSpan: 1,
|
|
4141
|
+
gridColumnStart: 1,
|
|
4142
|
+
msGridRow: 1,
|
|
4143
|
+
msGridRowSpan: 1,
|
|
4144
|
+
msGridColumn: 1,
|
|
4145
|
+
msGridColumnSpan: 1,
|
|
4146
|
+
fontWeight: 1,
|
|
4147
|
+
lineHeight: 1,
|
|
4148
|
+
opacity: 1,
|
|
4149
|
+
order: 1,
|
|
4150
|
+
orphans: 1,
|
|
4151
|
+
scale: 1,
|
|
4152
|
+
tabSize: 1,
|
|
4153
|
+
widows: 1,
|
|
4154
|
+
zIndex: 1,
|
|
4155
|
+
zoom: 1,
|
|
4156
|
+
WebkitLineClamp: 1,
|
|
4157
|
+
// SVG-related properties
|
|
4158
|
+
fillOpacity: 1,
|
|
4159
|
+
floodOpacity: 1,
|
|
4160
|
+
stopOpacity: 1,
|
|
4161
|
+
strokeDasharray: 1,
|
|
4162
|
+
strokeDashoffset: 1,
|
|
4163
|
+
strokeMiterlimit: 1,
|
|
4164
|
+
strokeOpacity: 1,
|
|
4165
|
+
strokeWidth: 1
|
|
4166
|
+
}, Oo = /[A-Z]|^ms/g, Ao = /_EMO_([^_]+?)_([^]*?)_EMO_/g, Hn = function(r) {
|
|
4167
|
+
return r.charCodeAt(1) === 45;
|
|
4168
|
+
}, nn = function(r) {
|
|
4169
|
+
return r != null && typeof r != "boolean";
|
|
4170
|
+
}, Jr = /* @__PURE__ */ In(function(e) {
|
|
4171
|
+
return Hn(e) ? e : e.replace(Oo, "-$&").toLowerCase();
|
|
4172
|
+
}), an = function(r, t) {
|
|
4173
|
+
switch (r) {
|
|
4174
|
+
case "animation":
|
|
4175
|
+
case "animationName":
|
|
4176
|
+
if (typeof t == "string")
|
|
4177
|
+
return t.replace(Ao, function(n, a, i) {
|
|
4178
|
+
return oe = {
|
|
4179
|
+
name: a,
|
|
4180
|
+
styles: i,
|
|
4181
|
+
next: oe
|
|
4182
|
+
}, a;
|
|
4183
|
+
});
|
|
4184
|
+
}
|
|
4185
|
+
return jo[r] !== 1 && !Hn(r) && typeof t == "number" && t !== 0 ? t + "px" : t;
|
|
4186
|
+
};
|
|
4187
|
+
function Qe(e, r, t) {
|
|
4188
|
+
if (t == null)
|
|
4189
|
+
return "";
|
|
4190
|
+
var n = t;
|
|
4191
|
+
if (n.__emotion_styles !== void 0)
|
|
4192
|
+
return n;
|
|
4193
|
+
switch (typeof t) {
|
|
4194
|
+
case "boolean":
|
|
4195
|
+
return "";
|
|
4196
|
+
case "object": {
|
|
4197
|
+
var a = t;
|
|
4198
|
+
if (a.anim === 1)
|
|
4199
|
+
return oe = {
|
|
4200
|
+
name: a.name,
|
|
4201
|
+
styles: a.styles,
|
|
4202
|
+
next: oe
|
|
4203
|
+
}, a.name;
|
|
4204
|
+
var i = t;
|
|
4205
|
+
if (i.styles !== void 0) {
|
|
4206
|
+
var s = i.next;
|
|
4207
|
+
if (s !== void 0)
|
|
4208
|
+
for (; s !== void 0; )
|
|
4209
|
+
oe = {
|
|
4210
|
+
name: s.name,
|
|
4211
|
+
styles: s.styles,
|
|
4212
|
+
next: oe
|
|
4213
|
+
}, s = s.next;
|
|
4214
|
+
var c = i.styles + ";";
|
|
4215
|
+
return c;
|
|
4216
|
+
}
|
|
4217
|
+
return Mo(e, r, t);
|
|
4218
|
+
}
|
|
4219
|
+
case "function": {
|
|
4220
|
+
if (e !== void 0) {
|
|
4221
|
+
var l = oe, p = t(e);
|
|
4222
|
+
return oe = l, Qe(e, r, p);
|
|
4223
|
+
}
|
|
4224
|
+
break;
|
|
4225
|
+
}
|
|
4226
|
+
}
|
|
4227
|
+
var f = t;
|
|
4228
|
+
if (r == null)
|
|
4229
|
+
return f;
|
|
4230
|
+
var u = r[f];
|
|
4231
|
+
return u !== void 0 ? u : f;
|
|
4232
|
+
}
|
|
4233
|
+
function Mo(e, r, t) {
|
|
4234
|
+
var n = "";
|
|
4235
|
+
if (Array.isArray(t))
|
|
4236
|
+
for (var a = 0; a < t.length; a++)
|
|
4237
|
+
n += Qe(e, r, t[a]) + ";";
|
|
4238
|
+
else
|
|
4239
|
+
for (var i in t) {
|
|
4240
|
+
var s = t[i];
|
|
4241
|
+
if (typeof s != "object") {
|
|
4242
|
+
var c = s;
|
|
4243
|
+
r != null && r[c] !== void 0 ? n += i + "{" + r[c] + "}" : nn(c) && (n += Jr(i) + ":" + an(i, c) + ";");
|
|
4244
|
+
} else if (Array.isArray(s) && typeof s[0] == "string" && (r == null || r[s[0]] === void 0))
|
|
4245
|
+
for (var l = 0; l < s.length; l++)
|
|
4246
|
+
nn(s[l]) && (n += Jr(i) + ":" + an(i, s[l]) + ";");
|
|
4247
|
+
else {
|
|
4248
|
+
var p = Qe(e, r, s);
|
|
4249
|
+
switch (i) {
|
|
4250
|
+
case "animation":
|
|
4251
|
+
case "animationName": {
|
|
4252
|
+
n += Jr(i) + ":" + p + ";";
|
|
4253
|
+
break;
|
|
4254
|
+
}
|
|
4255
|
+
default:
|
|
4256
|
+
n += i + "{" + p + "}";
|
|
4257
|
+
}
|
|
4258
|
+
}
|
|
4259
|
+
}
|
|
4260
|
+
return n;
|
|
4261
|
+
}
|
|
4262
|
+
var on = /label:\s*([^\s;{]+)\s*(;|$)/g, oe;
|
|
4263
|
+
function No(e, r, t) {
|
|
4264
|
+
if (e.length === 1 && typeof e[0] == "object" && e[0] !== null && e[0].styles !== void 0)
|
|
4265
|
+
return e[0];
|
|
4266
|
+
var n = !0, a = "";
|
|
4267
|
+
oe = void 0;
|
|
4268
|
+
var i = e[0];
|
|
4269
|
+
if (i == null || i.raw === void 0)
|
|
4270
|
+
n = !1, a += Qe(t, r, i);
|
|
4271
|
+
else {
|
|
4272
|
+
var s = i;
|
|
4273
|
+
a += s[0];
|
|
4274
|
+
}
|
|
4275
|
+
for (var c = 1; c < e.length; c++)
|
|
4276
|
+
if (a += Qe(t, r, e[c]), n) {
|
|
4277
|
+
var l = i;
|
|
4278
|
+
a += l[c];
|
|
4279
|
+
}
|
|
4280
|
+
on.lastIndex = 0;
|
|
4281
|
+
for (var p = "", f; (f = on.exec(a)) !== null; )
|
|
4282
|
+
p += "-" + f[1];
|
|
4283
|
+
var u = Po(a) + p;
|
|
4284
|
+
return {
|
|
4285
|
+
name: u,
|
|
4286
|
+
styles: a,
|
|
4287
|
+
next: oe
|
|
4288
|
+
};
|
|
4289
|
+
}
|
|
4290
|
+
var Fo = function(r) {
|
|
4291
|
+
return r();
|
|
4292
|
+
}, Wo = re.useInsertionEffect ? re.useInsertionEffect : !1, Io = Wo || Fo, Vn = /* @__PURE__ */ re.createContext(
|
|
4293
|
+
// we're doing this to avoid preconstruct's dead code elimination in this one case
|
|
4294
|
+
// because this module is primarily intended for the browser and node
|
|
4295
|
+
// but it's also required in react native and similar environments sometimes
|
|
4296
|
+
// and we could have a special build just for that
|
|
4297
|
+
// but this is much easier and the native packages
|
|
4298
|
+
// might use a different theme context in the future anyway
|
|
4299
|
+
typeof HTMLElement < "u" ? /* @__PURE__ */ Ro({
|
|
4300
|
+
key: "css"
|
|
4301
|
+
}) : null
|
|
4302
|
+
);
|
|
4303
|
+
Vn.Provider;
|
|
4304
|
+
var Lo = function(r) {
|
|
4305
|
+
return /* @__PURE__ */ de(function(t, n) {
|
|
4306
|
+
var a = er(Vn);
|
|
4307
|
+
return r(t, a, n);
|
|
4308
|
+
});
|
|
4309
|
+
}, it = /* @__PURE__ */ re.createContext({}), zo = function(r, t) {
|
|
4310
|
+
if (typeof t == "function") {
|
|
4311
|
+
var n = t(r);
|
|
4312
|
+
return n;
|
|
4313
|
+
}
|
|
4314
|
+
return Tr({}, r, t);
|
|
4315
|
+
}, Ho = /* @__PURE__ */ rn(function(e) {
|
|
4316
|
+
return rn(function(r) {
|
|
4317
|
+
return zo(e, r);
|
|
4318
|
+
});
|
|
4319
|
+
}), Vo = function(r) {
|
|
4320
|
+
var t = re.useContext(it);
|
|
4321
|
+
return r.theme !== t && (t = Ho(t)(r.theme)), /* @__PURE__ */ re.createElement(it.Provider, {
|
|
4322
|
+
value: t
|
|
4323
|
+
}, r.children);
|
|
4324
|
+
};
|
|
4325
|
+
const Dn = ct(null);
|
|
4326
|
+
function ps() {
|
|
4327
|
+
const e = er(Dn);
|
|
4328
|
+
if (!e)
|
|
4329
|
+
throw new Error("useThemeContext must be used within a ThemeProvider");
|
|
4330
|
+
return e;
|
|
4331
|
+
}
|
|
4332
|
+
const Do = ({ children: e }) => {
|
|
4333
|
+
const r = he();
|
|
4334
|
+
return /* @__PURE__ */ C.jsx(Vo, { theme: r, children: e });
|
|
4335
|
+
}, ms = ({
|
|
4336
|
+
children: e,
|
|
4337
|
+
defaultMode: r = "light",
|
|
4338
|
+
colors: t
|
|
4339
|
+
}) => {
|
|
4340
|
+
const [n, a] = Me(r);
|
|
4341
|
+
n !== r && a(r);
|
|
4342
|
+
const i = fn(() => Ki(t), [t]), c = {
|
|
4343
|
+
mode: n,
|
|
4344
|
+
toggleMode: () => {
|
|
4345
|
+
a((l) => l === "light" ? "dark" : "light");
|
|
4346
|
+
},
|
|
4347
|
+
setMode: a
|
|
4348
|
+
};
|
|
4349
|
+
return /* @__PURE__ */ C.jsx(Dn.Provider, { value: c, children: /* @__PURE__ */ C.jsx(
|
|
4350
|
+
xn,
|
|
4351
|
+
{
|
|
4352
|
+
theme: i,
|
|
4353
|
+
defaultColorScheme: r,
|
|
4354
|
+
forceColorScheme: n,
|
|
4355
|
+
cssVariablesResolver: qi(t),
|
|
4356
|
+
children: /* @__PURE__ */ C.jsx(Do, { children: e })
|
|
4357
|
+
}
|
|
4358
|
+
) });
|
|
4359
|
+
}, sn = {
|
|
4360
|
+
primary: "filled",
|
|
4361
|
+
secondary: "light",
|
|
4362
|
+
outline: "outline",
|
|
4363
|
+
ghost: "subtle"
|
|
4364
|
+
}, hs = {
|
|
4365
|
+
primary: "default",
|
|
4366
|
+
secondary: "filled",
|
|
4367
|
+
outline: "default",
|
|
4368
|
+
ghost: "unstyled"
|
|
4369
|
+
}, gs = {
|
|
4370
|
+
primary: "default",
|
|
4371
|
+
secondary: "filled",
|
|
4372
|
+
outline: "default",
|
|
4373
|
+
ghost: "unstyled"
|
|
4374
|
+
}, ys = {
|
|
4375
|
+
primary: "filled",
|
|
4376
|
+
secondary: "outline",
|
|
4377
|
+
outline: "outline",
|
|
4378
|
+
ghost: "outline"
|
|
4379
|
+
};
|
|
4380
|
+
var Bo = /^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|disableRemotePlayback|download|draggable|encType|enterKeyHint|fetchpriority|fetchPriority|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|popover|popoverTarget|popoverTargetAction|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/, Yo = /* @__PURE__ */ In(
|
|
4381
|
+
function(e) {
|
|
4382
|
+
return Bo.test(e) || e.charCodeAt(0) === 111 && e.charCodeAt(1) === 110 && e.charCodeAt(2) < 91;
|
|
4383
|
+
}
|
|
4384
|
+
/* Z+1 */
|
|
4385
|
+
), Uo = Yo, Go = function(r) {
|
|
4386
|
+
return r !== "theme";
|
|
4387
|
+
}, cn = function(r) {
|
|
4388
|
+
return typeof r == "string" && // 96 is one less than the char code
|
|
4389
|
+
// for "a" so this is checking that
|
|
4390
|
+
// it's a lowercase character
|
|
4391
|
+
r.charCodeAt(0) > 96 ? Uo : Go;
|
|
4392
|
+
}, ln = function(r, t, n) {
|
|
4393
|
+
var a;
|
|
4394
|
+
if (t) {
|
|
4395
|
+
var i = t.shouldForwardProp;
|
|
4396
|
+
a = r.__emotion_forwardProp && i ? function(s) {
|
|
4397
|
+
return r.__emotion_forwardProp(s) && i(s);
|
|
4398
|
+
} : i;
|
|
4399
|
+
}
|
|
4400
|
+
return typeof a != "function" && n && (a = r.__emotion_forwardProp), a;
|
|
4401
|
+
}, Xo = function(r) {
|
|
4402
|
+
var t = r.cache, n = r.serialized, a = r.isStringTag;
|
|
4403
|
+
return zn(t, n, a), Io(function() {
|
|
4404
|
+
return Eo(t, n, a);
|
|
4405
|
+
}), null;
|
|
4406
|
+
}, qo = function e(r, t) {
|
|
4407
|
+
var n = r.__emotion_real === r, a = n && r.__emotion_base || r, i, s;
|
|
4408
|
+
t !== void 0 && (i = t.label, s = t.target);
|
|
4409
|
+
var c = ln(r, t, n), l = c || cn(a), p = !l("as");
|
|
4410
|
+
return function() {
|
|
4411
|
+
var f = arguments, u = n && r.__emotion_styles !== void 0 ? r.__emotion_styles.slice(0) : [];
|
|
4412
|
+
if (i !== void 0 && u.push("label:" + i + ";"), f[0] == null || f[0].raw === void 0)
|
|
4413
|
+
u.push.apply(u, f);
|
|
4414
|
+
else {
|
|
4415
|
+
var h = f[0];
|
|
4416
|
+
u.push(h[0]);
|
|
4417
|
+
for (var x = f.length, v = 1; v < x; v++)
|
|
4418
|
+
u.push(f[v], h[v]);
|
|
4419
|
+
}
|
|
4420
|
+
var y = Lo(function(b, $, w) {
|
|
4421
|
+
var T = p && b.as || a, O = "", L = [], A = b;
|
|
4422
|
+
if (b.theme == null) {
|
|
4423
|
+
A = {};
|
|
4424
|
+
for (var S in b)
|
|
4425
|
+
A[S] = b[S];
|
|
4426
|
+
A.theme = re.useContext(it);
|
|
4427
|
+
}
|
|
4428
|
+
typeof b.className == "string" ? O = _o($.registered, L, b.className) : b.className != null && (O = b.className + " ");
|
|
4429
|
+
var W = No(u.concat(L), $.registered, A);
|
|
4430
|
+
O += $.key + "-" + W.name, s !== void 0 && (O += " " + s);
|
|
4431
|
+
var J = p && c === void 0 ? cn(T) : l, X = {};
|
|
4432
|
+
for (var ne in b)
|
|
4433
|
+
p && ne === "as" || J(ne) && (X[ne] = b[ne]);
|
|
4434
|
+
return X.className = O, w && (X.ref = w), /* @__PURE__ */ re.createElement(re.Fragment, null, /* @__PURE__ */ re.createElement(Xo, {
|
|
4435
|
+
cache: $,
|
|
4436
|
+
serialized: W,
|
|
4437
|
+
isStringTag: typeof T == "string"
|
|
4438
|
+
}), /* @__PURE__ */ re.createElement(T, X));
|
|
4439
|
+
});
|
|
4440
|
+
return y.displayName = i !== void 0 ? i : "Styled(" + (typeof a == "string" ? a : a.displayName || a.name || "Component") + ")", y.defaultProps = r.defaultProps, y.__emotion_real = y, y.__emotion_base = a, y.__emotion_styles = u, y.__emotion_forwardProp = c, Object.defineProperty(y, "toString", {
|
|
4441
|
+
value: function() {
|
|
4442
|
+
return "." + s;
|
|
4443
|
+
}
|
|
4444
|
+
}), y.withComponent = function(b, $) {
|
|
4445
|
+
var w = e(b, Tr({}, t, $, {
|
|
4446
|
+
shouldForwardProp: ln(y, $, !0)
|
|
4447
|
+
}));
|
|
4448
|
+
return w.apply(void 0, u);
|
|
4449
|
+
}, y;
|
|
4450
|
+
};
|
|
4451
|
+
}, Ko = [
|
|
4452
|
+
"a",
|
|
4453
|
+
"abbr",
|
|
4454
|
+
"address",
|
|
4455
|
+
"area",
|
|
4456
|
+
"article",
|
|
4457
|
+
"aside",
|
|
4458
|
+
"audio",
|
|
4459
|
+
"b",
|
|
4460
|
+
"base",
|
|
4461
|
+
"bdi",
|
|
4462
|
+
"bdo",
|
|
4463
|
+
"big",
|
|
4464
|
+
"blockquote",
|
|
4465
|
+
"body",
|
|
4466
|
+
"br",
|
|
4467
|
+
"button",
|
|
4468
|
+
"canvas",
|
|
4469
|
+
"caption",
|
|
4470
|
+
"cite",
|
|
4471
|
+
"code",
|
|
4472
|
+
"col",
|
|
4473
|
+
"colgroup",
|
|
4474
|
+
"data",
|
|
4475
|
+
"datalist",
|
|
4476
|
+
"dd",
|
|
4477
|
+
"del",
|
|
4478
|
+
"details",
|
|
4479
|
+
"dfn",
|
|
4480
|
+
"dialog",
|
|
4481
|
+
"div",
|
|
4482
|
+
"dl",
|
|
4483
|
+
"dt",
|
|
4484
|
+
"em",
|
|
4485
|
+
"embed",
|
|
4486
|
+
"fieldset",
|
|
4487
|
+
"figcaption",
|
|
4488
|
+
"figure",
|
|
4489
|
+
"footer",
|
|
4490
|
+
"form",
|
|
4491
|
+
"h1",
|
|
4492
|
+
"h2",
|
|
4493
|
+
"h3",
|
|
4494
|
+
"h4",
|
|
4495
|
+
"h5",
|
|
4496
|
+
"h6",
|
|
4497
|
+
"head",
|
|
4498
|
+
"header",
|
|
4499
|
+
"hgroup",
|
|
4500
|
+
"hr",
|
|
4501
|
+
"html",
|
|
4502
|
+
"i",
|
|
4503
|
+
"iframe",
|
|
4504
|
+
"img",
|
|
4505
|
+
"input",
|
|
4506
|
+
"ins",
|
|
4507
|
+
"kbd",
|
|
4508
|
+
"keygen",
|
|
4509
|
+
"label",
|
|
4510
|
+
"legend",
|
|
4511
|
+
"li",
|
|
4512
|
+
"link",
|
|
4513
|
+
"main",
|
|
4514
|
+
"map",
|
|
4515
|
+
"mark",
|
|
4516
|
+
"marquee",
|
|
4517
|
+
"menu",
|
|
4518
|
+
"menuitem",
|
|
4519
|
+
"meta",
|
|
4520
|
+
"meter",
|
|
4521
|
+
"nav",
|
|
4522
|
+
"noscript",
|
|
4523
|
+
"object",
|
|
4524
|
+
"ol",
|
|
4525
|
+
"optgroup",
|
|
4526
|
+
"option",
|
|
4527
|
+
"output",
|
|
4528
|
+
"p",
|
|
4529
|
+
"param",
|
|
4530
|
+
"picture",
|
|
4531
|
+
"pre",
|
|
4532
|
+
"progress",
|
|
4533
|
+
"q",
|
|
4534
|
+
"rp",
|
|
4535
|
+
"rt",
|
|
4536
|
+
"ruby",
|
|
4537
|
+
"s",
|
|
4538
|
+
"samp",
|
|
4539
|
+
"script",
|
|
4540
|
+
"section",
|
|
4541
|
+
"select",
|
|
4542
|
+
"small",
|
|
4543
|
+
"source",
|
|
4544
|
+
"span",
|
|
4545
|
+
"strong",
|
|
4546
|
+
"style",
|
|
4547
|
+
"sub",
|
|
4548
|
+
"summary",
|
|
4549
|
+
"sup",
|
|
4550
|
+
"table",
|
|
4551
|
+
"tbody",
|
|
4552
|
+
"td",
|
|
4553
|
+
"textarea",
|
|
4554
|
+
"tfoot",
|
|
4555
|
+
"th",
|
|
4556
|
+
"thead",
|
|
4557
|
+
"time",
|
|
4558
|
+
"title",
|
|
4559
|
+
"tr",
|
|
4560
|
+
"track",
|
|
4561
|
+
"u",
|
|
4562
|
+
"ul",
|
|
4563
|
+
"var",
|
|
4564
|
+
"video",
|
|
4565
|
+
"wbr",
|
|
4566
|
+
// SVG
|
|
4567
|
+
"circle",
|
|
4568
|
+
"clipPath",
|
|
4569
|
+
"defs",
|
|
4570
|
+
"ellipse",
|
|
4571
|
+
"foreignObject",
|
|
4572
|
+
"g",
|
|
4573
|
+
"image",
|
|
4574
|
+
"line",
|
|
4575
|
+
"linearGradient",
|
|
4576
|
+
"mask",
|
|
4577
|
+
"path",
|
|
4578
|
+
"pattern",
|
|
4579
|
+
"polygon",
|
|
4580
|
+
"polyline",
|
|
4581
|
+
"radialGradient",
|
|
4582
|
+
"rect",
|
|
4583
|
+
"stop",
|
|
4584
|
+
"svg",
|
|
4585
|
+
"text",
|
|
4586
|
+
"tspan"
|
|
4587
|
+
], ot = qo.bind(null);
|
|
4588
|
+
Ko.forEach(function(e) {
|
|
4589
|
+
ot[e] = ot(e);
|
|
4590
|
+
});
|
|
4591
|
+
const Bn = st.forwardRef(
|
|
4592
|
+
({
|
|
4593
|
+
variant: e = "primary",
|
|
4594
|
+
onClick: r,
|
|
4595
|
+
fontSize: t,
|
|
4596
|
+
fontWeight: n,
|
|
4597
|
+
width: a,
|
|
4598
|
+
height: i,
|
|
4599
|
+
padding: s,
|
|
4600
|
+
margin: c,
|
|
4601
|
+
type: l,
|
|
4602
|
+
asChild: p,
|
|
4603
|
+
children: f,
|
|
4604
|
+
size: u,
|
|
4605
|
+
...h
|
|
4606
|
+
}, x) => /* @__PURE__ */ C.jsx(
|
|
4607
|
+
nr,
|
|
4608
|
+
{
|
|
4609
|
+
ref: x,
|
|
4610
|
+
variant: sn[e] ?? sn.primary,
|
|
4611
|
+
onClick: r,
|
|
4612
|
+
fz: t ?? h.fz,
|
|
4613
|
+
fw: n ?? h.fw,
|
|
4614
|
+
p: s ?? h.p,
|
|
4615
|
+
m: c ?? h.m,
|
|
4616
|
+
w: a ?? h.w,
|
|
4617
|
+
h: i ?? h.h,
|
|
4618
|
+
size: u,
|
|
4619
|
+
type: l,
|
|
4620
|
+
...h,
|
|
4621
|
+
children: p ? f : /* @__PURE__ */ C.jsx("span", { style: { display: "flex", alignItems: "center", gap: "8px" }, children: f })
|
|
4622
|
+
}
|
|
4623
|
+
)
|
|
4624
|
+
);
|
|
4625
|
+
Bn.displayName = "Button";
|
|
4626
|
+
const Jo = ot(Bn, { label: "jp-button" })(({
|
|
4627
|
+
theme: e,
|
|
4628
|
+
variant: r
|
|
4629
|
+
}) => {
|
|
4630
|
+
var n, a, i, s, c, l, p, f, u, h;
|
|
4631
|
+
const t = e;
|
|
4632
|
+
return {
|
|
4633
|
+
borderRadius: ((n = t == null ? void 0 : t.radius) == null ? void 0 : n.md) ?? "6px",
|
|
4634
|
+
borderWidth: ((i = (a = t.other) == null ? void 0 : a.borderWidth) == null ? void 0 : i.none) ?? "0",
|
|
4635
|
+
border: r === "outline" ? "1px solid gray" : void 0,
|
|
4636
|
+
backgroundColor: ((c = (s = t.colors) == null ? void 0 : s.primary) == null ? void 0 : c[6]) || t.primaryColor || "rgb(59, 130, 246)",
|
|
4637
|
+
color: ((l = t.colors) == null ? void 0 : l.white) || "#ffffff",
|
|
4638
|
+
"&:hover": {
|
|
4639
|
+
backgroundColor: ((f = (p = t.colors) == null ? void 0 : p.primary) == null ? void 0 : f[7]) || t.primaryColor || "#2563eb"
|
|
4640
|
+
},
|
|
4641
|
+
"&:active": {
|
|
4642
|
+
backgroundColor: ((h = (u = t.colors) == null ? void 0 : u.primary) == null ? void 0 : h[8]) || t.primaryColor || "#1d4ed8"
|
|
4643
|
+
}
|
|
4644
|
+
};
|
|
4645
|
+
});
|
|
4646
|
+
Jo.displayName = "JpButton";
|
|
4647
|
+
const Zo = {
|
|
4648
|
+
50: "#fef2f2",
|
|
4649
|
+
100: "#fee2e2",
|
|
4650
|
+
200: "#fecaca",
|
|
4651
|
+
300: "#fca5a5",
|
|
4652
|
+
400: "#f87171",
|
|
4653
|
+
500: "#ef4444",
|
|
4654
|
+
600: "#dc2626",
|
|
4655
|
+
700: "#b91c1c",
|
|
4656
|
+
800: "#991b1b",
|
|
4657
|
+
900: "#7f1d1d"
|
|
4658
|
+
}, Qo = {
|
|
4659
|
+
50: "#fef2f2",
|
|
4660
|
+
100: "#fee2e2",
|
|
4661
|
+
200: "#fecaca",
|
|
4662
|
+
300: "#fca5a5",
|
|
4663
|
+
400: "#f87171",
|
|
4664
|
+
500: "#ef4444",
|
|
4665
|
+
600: "#dc2626",
|
|
4666
|
+
700: "#b91c1c",
|
|
4667
|
+
800: "#991b1b",
|
|
4668
|
+
900: "#7f1d1d"
|
|
4669
|
+
}, es = {
|
|
4670
|
+
50: "#fef2f2",
|
|
4671
|
+
100: "#fee2e2",
|
|
4672
|
+
200: "#fecaca",
|
|
4673
|
+
300: "#fca5a5",
|
|
4674
|
+
400: "#f87171",
|
|
4675
|
+
500: "#ef4444",
|
|
4676
|
+
600: "#dc2626",
|
|
4677
|
+
700: "#b91c1c",
|
|
4678
|
+
800: "#991b1b",
|
|
4679
|
+
900: "#7f1d1d",
|
|
4680
|
+
950: "#7f1d1d"
|
|
4681
|
+
}, rs = {
|
|
4682
|
+
50: "#fef2f2",
|
|
4683
|
+
100: "#fee2e2",
|
|
4684
|
+
200: "#fecaca",
|
|
4685
|
+
300: "#fca5a5",
|
|
4686
|
+
400: "#f87171",
|
|
4687
|
+
500: "#ef4444",
|
|
4688
|
+
600: "#dc2626",
|
|
4689
|
+
700: "#b91c1c",
|
|
4690
|
+
800: "#991b1b",
|
|
4691
|
+
900: "#7f1d1d"
|
|
4692
|
+
}, ts = {
|
|
4693
|
+
50: "#fef2f2",
|
|
4694
|
+
100: "#fee2e2",
|
|
4695
|
+
200: "#fecaca",
|
|
4696
|
+
300: "#fca5a5",
|
|
4697
|
+
400: "#f87171",
|
|
4698
|
+
500: "#ef4444",
|
|
4699
|
+
600: "#dc2626",
|
|
4700
|
+
700: "#b91c1c",
|
|
4701
|
+
800: "#991b1b",
|
|
4702
|
+
900: "#7f1d1d"
|
|
4703
|
+
}, ns = {
|
|
4704
|
+
50: "#fef2f2",
|
|
4705
|
+
100: "#fee2e2",
|
|
4706
|
+
200: "#fecaca",
|
|
4707
|
+
300: "#fca5a5",
|
|
4708
|
+
400: "#f87171",
|
|
4709
|
+
500: "#ef4444",
|
|
4710
|
+
600: "#dc2626",
|
|
4711
|
+
700: "#b91c1c",
|
|
4712
|
+
800: "#991b1b",
|
|
4713
|
+
900: "#7f1d1d"
|
|
4714
|
+
}, as = {
|
|
4715
|
+
50: "#fef2f2",
|
|
4716
|
+
100: "#fee2e2",
|
|
4717
|
+
200: "#fecaca",
|
|
4718
|
+
300: "#fca5a5",
|
|
4719
|
+
400: "#f87171",
|
|
4720
|
+
500: "#ef4444",
|
|
4721
|
+
600: "#dc2626",
|
|
4722
|
+
700: "#b91c1c",
|
|
4723
|
+
800: "#991b1b",
|
|
4724
|
+
900: "#7f1d1d"
|
|
4725
|
+
}, is = {
|
|
4726
|
+
white: "#ffffff",
|
|
4727
|
+
black: "#000000",
|
|
4728
|
+
transparent: "transparent"
|
|
4729
|
+
}, os = {
|
|
4730
|
+
primary: Zo,
|
|
4731
|
+
secondary: Qo,
|
|
4732
|
+
neutral: es,
|
|
4733
|
+
success: rs,
|
|
4734
|
+
warning: ts,
|
|
4735
|
+
error: ns,
|
|
4736
|
+
info: as,
|
|
4737
|
+
general: is
|
|
4738
|
+
};
|
|
4739
|
+
function bs(e) {
|
|
4740
|
+
const [r, t] = Me(os);
|
|
4741
|
+
return pe(() => {
|
|
4742
|
+
e && fetch(`/color-palettes/${e}.json`).then(async (n) => await n.json()).then((n) => t(n)).catch((n) => {
|
|
4743
|
+
console.error("Palette not loaded. Error loading color palette:", n);
|
|
4744
|
+
});
|
|
4745
|
+
}, []), r;
|
|
4746
|
+
}
|
|
4747
|
+
export {
|
|
4748
|
+
Jo as JpButton,
|
|
4749
|
+
ms as JupiterThemeProvider,
|
|
4750
|
+
He as borderRadius,
|
|
4751
|
+
yr as borderStyle,
|
|
4752
|
+
Ve as borderWidth,
|
|
4753
|
+
ds as breakpoints,
|
|
4754
|
+
sn as buttonVariants,
|
|
4755
|
+
ys as checkboxVariants,
|
|
4756
|
+
je as colorScaleToTuple,
|
|
4757
|
+
Ki as createJupiterTheme,
|
|
4758
|
+
qi as cssVariablesResolverFactory,
|
|
4759
|
+
fs as darkShadows,
|
|
4760
|
+
Sr as fontFamily,
|
|
4761
|
+
F as fontSize,
|
|
4762
|
+
I as fontWeight,
|
|
4763
|
+
hs as inputVariants,
|
|
4764
|
+
U as letterSpacing,
|
|
4765
|
+
Y as lineHeight,
|
|
4766
|
+
gs as selectVariants,
|
|
4767
|
+
ls as semanticSpacing,
|
|
4768
|
+
De as shadows,
|
|
4769
|
+
se as spacing,
|
|
4770
|
+
N as textStyles,
|
|
4771
|
+
bs as usePalette,
|
|
4772
|
+
ps as useThemeContext,
|
|
4773
|
+
us as zIndex
|
|
4774
|
+
};
|