@kvell-group/ui 1.6.1 → 1.6.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/main.d.ts +0 -1
- package/dist/main.js +810 -814
- package/package.json +1 -1
- package/dist/assets/main.css +0 -1
package/dist/main.js
CHANGED
|
@@ -1,42 +1,39 @@
|
|
|
1
|
-
import { jsx as p, jsxs as z, Fragment as
|
|
2
|
-
import { useState as
|
|
3
|
-
import
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
}
|
|
7
|
-
function
|
|
8
|
-
return
|
|
9
|
-
}
|
|
10
|
-
function
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
const e = { ...t }, n = r;
|
|
15
|
-
return it(t) && it(r) && Object.keys(r).forEach((a) => {
|
|
16
|
-
it(n[a]) && a in t ? e[a] = vt(e[a], n[a]) : e[a] = n[a];
|
|
1
|
+
import { jsx as p, jsxs as z, Fragment as pr } from "react/jsx-runtime";
|
|
2
|
+
import { useState as tr, useRef as W, useEffect as A, useLayoutEffect as Wt, createContext as Dr, useContext as $r, useMemo as zt, useCallback as Lr, useId as Yt, forwardRef as _ } from "react";
|
|
3
|
+
import Gt from "react-dom";
|
|
4
|
+
function M(r) {
|
|
5
|
+
return Object.keys(r);
|
|
6
|
+
}
|
|
7
|
+
function ir(r) {
|
|
8
|
+
return r && typeof r == "object" && !Array.isArray(r);
|
|
9
|
+
}
|
|
10
|
+
function vr(r, t) {
|
|
11
|
+
const e = { ...r }, n = t;
|
|
12
|
+
return ir(r) && ir(t) && Object.keys(t).forEach((a) => {
|
|
13
|
+
ir(n[a]) && a in r ? e[a] = vr(e[a], n[a]) : e[a] = n[a];
|
|
17
14
|
}), e;
|
|
18
15
|
}
|
|
19
|
-
function
|
|
20
|
-
return
|
|
16
|
+
function Dt(r) {
|
|
17
|
+
return r.replace(/[A-Z]/g, (t) => `-${t.toLowerCase()}`);
|
|
21
18
|
}
|
|
22
|
-
function
|
|
23
|
-
var
|
|
24
|
-
return typeof
|
|
19
|
+
function Xt(r) {
|
|
20
|
+
var t;
|
|
21
|
+
return typeof r != "string" || !r.includes("var(--mantine-scale)") ? r : (t = r.match(/^calc\((.*?)\)$/)) == null ? void 0 : t[1].split("*")[0].trim();
|
|
25
22
|
}
|
|
26
|
-
function
|
|
27
|
-
const
|
|
28
|
-
return typeof
|
|
23
|
+
function Ut(r) {
|
|
24
|
+
const t = Xt(r);
|
|
25
|
+
return typeof t == "number" ? t : typeof t == "string" ? t.includes("calc") || t.includes("var") ? t : t.includes("px") ? Number(t.replace("px", "")) : t.includes("rem") ? Number(t.replace("rem", "")) * 16 : t.includes("em") ? Number(t.replace("em", "")) * 16 : Number(t) : NaN;
|
|
29
26
|
}
|
|
30
|
-
function
|
|
31
|
-
return
|
|
27
|
+
function sr(r) {
|
|
28
|
+
return r === "0rem" ? "0rem" : `calc(${r} * var(--mantine-scale))`;
|
|
32
29
|
}
|
|
33
|
-
function
|
|
30
|
+
function Xr(r, { shouldScale: t = !1 } = {}) {
|
|
34
31
|
function e(n) {
|
|
35
32
|
if (n === 0 || n === "0")
|
|
36
|
-
return `0${
|
|
33
|
+
return `0${r}`;
|
|
37
34
|
if (typeof n == "number") {
|
|
38
|
-
const a = `${n / 16}${
|
|
39
|
-
return
|
|
35
|
+
const a = `${n / 16}${r}`;
|
|
36
|
+
return t ? sr(a) : a;
|
|
40
37
|
}
|
|
41
38
|
if (typeof n == "string") {
|
|
42
39
|
if (n === "" || n.startsWith("calc(") || n.startsWith("clamp(") || n.includes("rgba("))
|
|
@@ -45,66 +42,66 @@ function Xt(t, { shouldScale: r = !1 } = {}) {
|
|
|
45
42
|
return n.split(",").map((o) => e(o)).join(",");
|
|
46
43
|
if (n.includes(" "))
|
|
47
44
|
return n.split(" ").map((o) => e(o)).join(" ");
|
|
48
|
-
if (n.includes(
|
|
49
|
-
return
|
|
45
|
+
if (n.includes(r))
|
|
46
|
+
return t ? sr(n) : n;
|
|
50
47
|
const a = n.replace("px", "");
|
|
51
48
|
if (!Number.isNaN(Number(a))) {
|
|
52
|
-
const o = `${Number(a) / 16}${
|
|
53
|
-
return
|
|
49
|
+
const o = `${Number(a) / 16}${r}`;
|
|
50
|
+
return t ? sr(o) : o;
|
|
54
51
|
}
|
|
55
52
|
}
|
|
56
53
|
return n;
|
|
57
54
|
}
|
|
58
55
|
return e;
|
|
59
56
|
}
|
|
60
|
-
const c =
|
|
61
|
-
function
|
|
62
|
-
return Object.keys(
|
|
57
|
+
const c = Xr("rem", { shouldScale: !0 }), Er = Xr("em");
|
|
58
|
+
function Sr(r) {
|
|
59
|
+
return Object.keys(r).reduce((t, e) => (r[e] !== void 0 && (t[e] = r[e]), t), {});
|
|
63
60
|
}
|
|
64
|
-
function
|
|
65
|
-
if (typeof
|
|
61
|
+
function Ur(r) {
|
|
62
|
+
if (typeof r == "number")
|
|
66
63
|
return !0;
|
|
67
|
-
if (typeof
|
|
68
|
-
if (
|
|
64
|
+
if (typeof r == "string") {
|
|
65
|
+
if (r.startsWith("calc(") || r.startsWith("var(") || r.includes(" ") && r.trim() !== "")
|
|
69
66
|
return !0;
|
|
70
|
-
const
|
|
71
|
-
return
|
|
67
|
+
const t = /^[+-]?[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|%)?$/;
|
|
68
|
+
return r.trim().split(/\s+/).every((n) => t.test(n));
|
|
72
69
|
}
|
|
73
70
|
return !1;
|
|
74
71
|
}
|
|
75
|
-
function O(
|
|
76
|
-
if (
|
|
77
|
-
return
|
|
72
|
+
function O(r, t = "size", e = !0) {
|
|
73
|
+
if (r !== void 0)
|
|
74
|
+
return Ur(r) ? e ? c(r) : r : `var(--${t}-${r})`;
|
|
78
75
|
}
|
|
79
|
-
function
|
|
80
|
-
return
|
|
76
|
+
function qr(r) {
|
|
77
|
+
return r === void 0 ? "var(--mantine-radius-default)" : O(r, "mantine-radius");
|
|
81
78
|
}
|
|
82
|
-
function
|
|
83
|
-
return O(
|
|
79
|
+
function nr(r) {
|
|
80
|
+
return O(r, "mantine-font-size");
|
|
84
81
|
}
|
|
85
|
-
function
|
|
82
|
+
function qt(r, t) {
|
|
86
83
|
try {
|
|
87
|
-
return
|
|
84
|
+
return r.addEventListener("change", t), () => r.removeEventListener("change", t);
|
|
88
85
|
} catch {
|
|
89
|
-
return
|
|
86
|
+
return r.addListener(t), () => r.removeListener(t);
|
|
90
87
|
}
|
|
91
88
|
}
|
|
92
|
-
function
|
|
93
|
-
return typeof window < "u" && "matchMedia" in window ? window.matchMedia(
|
|
89
|
+
function Qt(r, t) {
|
|
90
|
+
return typeof window < "u" && "matchMedia" in window ? window.matchMedia(r).matches : !1;
|
|
94
91
|
}
|
|
95
|
-
function
|
|
92
|
+
function Kt(r, t, { getInitialValueInEffect: e } = {
|
|
96
93
|
getInitialValueInEffect: !0
|
|
97
94
|
}) {
|
|
98
|
-
const [n, a] =
|
|
99
|
-
e ?
|
|
95
|
+
const [n, a] = tr(
|
|
96
|
+
e ? t : Qt(r)
|
|
100
97
|
), o = W(null);
|
|
101
98
|
return A(() => {
|
|
102
99
|
if ("matchMedia" in window)
|
|
103
|
-
return o.current = window.matchMedia(
|
|
104
|
-
}, [
|
|
100
|
+
return o.current = window.matchMedia(r), a(o.current.matches), qt(o.current, (i) => a(i.matches));
|
|
101
|
+
}, [r]), n;
|
|
105
102
|
}
|
|
106
|
-
const
|
|
107
|
-
function
|
|
103
|
+
const Qr = typeof document < "u" ? Wt : A;
|
|
104
|
+
function Zt(r, t) {
|
|
108
105
|
const e = W(!1);
|
|
109
106
|
A(
|
|
110
107
|
() => () => {
|
|
@@ -113,50 +110,50 @@ function Zr(t, r) {
|
|
|
113
110
|
[]
|
|
114
111
|
), A(() => {
|
|
115
112
|
if (e.current)
|
|
116
|
-
return
|
|
113
|
+
return r();
|
|
117
114
|
e.current = !0;
|
|
118
|
-
},
|
|
119
|
-
}
|
|
120
|
-
function
|
|
121
|
-
return
|
|
122
|
-
}
|
|
123
|
-
function
|
|
124
|
-
var
|
|
125
|
-
if (typeof
|
|
126
|
-
else if (typeof
|
|
127
|
-
var a =
|
|
128
|
-
for (
|
|
129
|
-
} else for (e in
|
|
115
|
+
}, t);
|
|
116
|
+
}
|
|
117
|
+
function Jt(r, t) {
|
|
118
|
+
return Kt("(prefers-reduced-motion: reduce)", r, t);
|
|
119
|
+
}
|
|
120
|
+
function Kr(r) {
|
|
121
|
+
var t, e, n = "";
|
|
122
|
+
if (typeof r == "string" || typeof r == "number") n += r;
|
|
123
|
+
else if (typeof r == "object") if (Array.isArray(r)) {
|
|
124
|
+
var a = r.length;
|
|
125
|
+
for (t = 0; t < a; t++) r[t] && (e = Kr(r[t])) && (n && (n += " "), n += e);
|
|
126
|
+
} else for (e in r) r[e] && (n && (n += " "), n += e);
|
|
130
127
|
return n;
|
|
131
128
|
}
|
|
132
|
-
function
|
|
133
|
-
for (var
|
|
129
|
+
function B() {
|
|
130
|
+
for (var r, t, e = 0, n = "", a = arguments.length; e < a; e++) (r = arguments[e]) && (t = Kr(r)) && (n && (n += " "), n += t);
|
|
134
131
|
return n;
|
|
135
132
|
}
|
|
136
|
-
const
|
|
137
|
-
function
|
|
138
|
-
const
|
|
139
|
-
return
|
|
133
|
+
const rn = {};
|
|
134
|
+
function tn(r) {
|
|
135
|
+
const t = {};
|
|
136
|
+
return r.forEach((e) => {
|
|
140
137
|
Object.entries(e).forEach(([n, a]) => {
|
|
141
|
-
|
|
138
|
+
t[n] ? t[n] = B(t[n], a) : t[n] = a;
|
|
142
139
|
});
|
|
143
|
-
}),
|
|
140
|
+
}), t;
|
|
144
141
|
}
|
|
145
|
-
function
|
|
146
|
-
const o = (Array.isArray(
|
|
147
|
-
(i) => typeof i == "function" ? i(
|
|
142
|
+
function wr({ theme: r, classNames: t, props: e, stylesCtx: n }) {
|
|
143
|
+
const o = (Array.isArray(t) ? t : [t]).map(
|
|
144
|
+
(i) => typeof i == "function" ? i(r, e, n) : i || rn
|
|
148
145
|
);
|
|
149
|
-
return
|
|
146
|
+
return tn(o);
|
|
150
147
|
}
|
|
151
|
-
function
|
|
152
|
-
return (Array.isArray(
|
|
148
|
+
function gr({ theme: r, styles: t, props: e, stylesCtx: n }) {
|
|
149
|
+
return (Array.isArray(t) ? t : [t]).reduce((o, i) => typeof i == "function" ? { ...o, ...i(r, e, n) } : { ...o, ...i }, {});
|
|
153
150
|
}
|
|
154
|
-
const
|
|
151
|
+
const Zr = Dr(null);
|
|
155
152
|
function P() {
|
|
156
|
-
const
|
|
157
|
-
if (!
|
|
153
|
+
const r = $r(Zr);
|
|
154
|
+
if (!r)
|
|
158
155
|
throw new Error("[@mantine/core] MantineProvider was not found in tree");
|
|
159
|
-
return
|
|
156
|
+
return r;
|
|
160
157
|
}
|
|
161
158
|
function nn() {
|
|
162
159
|
return P().cssVariablesResolver;
|
|
@@ -164,7 +161,7 @@ function nn() {
|
|
|
164
161
|
function en() {
|
|
165
162
|
return P().classNamesPrefix;
|
|
166
163
|
}
|
|
167
|
-
function
|
|
164
|
+
function Cr() {
|
|
168
165
|
return P().getStyleNonce;
|
|
169
166
|
}
|
|
170
167
|
function on() {
|
|
@@ -174,24 +171,24 @@ function an() {
|
|
|
174
171
|
return P().headless;
|
|
175
172
|
}
|
|
176
173
|
function sn() {
|
|
177
|
-
var
|
|
178
|
-
return (
|
|
174
|
+
var r;
|
|
175
|
+
return (r = P().stylesTransform) == null ? void 0 : r.sx;
|
|
179
176
|
}
|
|
180
177
|
function cn() {
|
|
181
|
-
var
|
|
182
|
-
return (
|
|
178
|
+
var r;
|
|
179
|
+
return (r = P().stylesTransform) == null ? void 0 : r.styles;
|
|
183
180
|
}
|
|
184
181
|
function ln() {
|
|
185
182
|
return P().env || "default";
|
|
186
183
|
}
|
|
187
|
-
function dn(
|
|
188
|
-
return /^#?([0-9A-F]{3}){1,2}([0-9A-F]{2})?$/i.test(
|
|
184
|
+
function dn(r) {
|
|
185
|
+
return /^#?([0-9A-F]{3}){1,2}([0-9A-F]{2})?$/i.test(r);
|
|
189
186
|
}
|
|
190
|
-
function fn(
|
|
191
|
-
let
|
|
192
|
-
if (
|
|
193
|
-
const i =
|
|
194
|
-
|
|
187
|
+
function fn(r) {
|
|
188
|
+
let t = r.replace("#", "");
|
|
189
|
+
if (t.length === 3) {
|
|
190
|
+
const i = t.split("");
|
|
191
|
+
t = [
|
|
195
192
|
i[0],
|
|
196
193
|
i[0],
|
|
197
194
|
i[1],
|
|
@@ -200,16 +197,16 @@ function fn(t) {
|
|
|
200
197
|
i[2]
|
|
201
198
|
].join("");
|
|
202
199
|
}
|
|
203
|
-
if (
|
|
204
|
-
const i = parseInt(
|
|
200
|
+
if (t.length === 8) {
|
|
201
|
+
const i = parseInt(t.slice(6, 8), 16) / 255;
|
|
205
202
|
return {
|
|
206
|
-
r: parseInt(
|
|
207
|
-
g: parseInt(
|
|
208
|
-
b: parseInt(
|
|
203
|
+
r: parseInt(t.slice(0, 2), 16),
|
|
204
|
+
g: parseInt(t.slice(2, 4), 16),
|
|
205
|
+
b: parseInt(t.slice(4, 6), 16),
|
|
209
206
|
a: i
|
|
210
207
|
};
|
|
211
208
|
}
|
|
212
|
-
const e = parseInt(
|
|
209
|
+
const e = parseInt(t, 16), n = e >> 16 & 255, a = e >> 8 & 255, o = e & 255;
|
|
213
210
|
return {
|
|
214
211
|
r: n,
|
|
215
212
|
g: a,
|
|
@@ -217,12 +214,12 @@ function fn(t) {
|
|
|
217
214
|
a: 1
|
|
218
215
|
};
|
|
219
216
|
}
|
|
220
|
-
function un(
|
|
221
|
-
const [
|
|
222
|
-
return { r, g: e, b: n, a: a || 1 };
|
|
217
|
+
function un(r) {
|
|
218
|
+
const [t, e, n, a] = r.replace(/[^0-9,./]/g, "").split(/[/,]/).map(Number);
|
|
219
|
+
return { r: t, g: e, b: n, a: a || 1 };
|
|
223
220
|
}
|
|
224
|
-
function mn(
|
|
225
|
-
const
|
|
221
|
+
function mn(r) {
|
|
222
|
+
const t = /^hsla?\(\s*(\d+)\s*,\s*(\d+%)\s*,\s*(\d+%)\s*(,\s*(0?\.\d+|\d+(\.\d+)?))?\s*\)$/i, e = r.match(t);
|
|
226
223
|
if (!e)
|
|
227
224
|
return {
|
|
228
225
|
r: 0,
|
|
@@ -231,150 +228,150 @@ function mn(t) {
|
|
|
231
228
|
a: 1
|
|
232
229
|
};
|
|
233
230
|
const n = parseInt(e[1], 10), a = parseInt(e[2], 10) / 100, o = parseInt(e[3], 10) / 100, i = e[5] ? parseFloat(e[5]) : void 0, s = (1 - Math.abs(2 * o - 1)) * a, l = n / 60, d = s * (1 - Math.abs(l % 2 - 1)), u = o - s / 2;
|
|
234
|
-
let f, m,
|
|
235
|
-
return l >= 0 && l < 1 ? (f = s, m = d,
|
|
231
|
+
let f, m, g;
|
|
232
|
+
return l >= 0 && l < 1 ? (f = s, m = d, g = 0) : l >= 1 && l < 2 ? (f = d, m = s, g = 0) : l >= 2 && l < 3 ? (f = 0, m = s, g = d) : l >= 3 && l < 4 ? (f = 0, m = d, g = s) : l >= 4 && l < 5 ? (f = d, m = 0, g = s) : (f = s, m = 0, g = d), {
|
|
236
233
|
r: Math.round((f + u) * 255),
|
|
237
234
|
g: Math.round((m + u) * 255),
|
|
238
|
-
b: Math.round((
|
|
235
|
+
b: Math.round((g + u) * 255),
|
|
239
236
|
a: i || 1
|
|
240
237
|
};
|
|
241
238
|
}
|
|
242
|
-
function
|
|
243
|
-
return dn(
|
|
239
|
+
function xr(r) {
|
|
240
|
+
return dn(r) ? fn(r) : r.startsWith("rgb") ? un(r) : r.startsWith("hsl") ? mn(r) : {
|
|
244
241
|
r: 0,
|
|
245
242
|
g: 0,
|
|
246
243
|
b: 0,
|
|
247
244
|
a: 1
|
|
248
245
|
};
|
|
249
246
|
}
|
|
250
|
-
function Z(
|
|
251
|
-
if (
|
|
252
|
-
return `color-mix(in srgb, ${
|
|
253
|
-
const { r: e, g: n, b: a, a: o } =
|
|
247
|
+
function Z(r, t) {
|
|
248
|
+
if (r.startsWith("var("))
|
|
249
|
+
return `color-mix(in srgb, ${r}, black ${t * 100}%)`;
|
|
250
|
+
const { r: e, g: n, b: a, a: o } = xr(r), i = 1 - t, s = (l) => Math.round(l * i);
|
|
254
251
|
return `rgba(${s(e)}, ${s(n)}, ${s(a)}, ${o})`;
|
|
255
252
|
}
|
|
256
|
-
function U(
|
|
257
|
-
return typeof
|
|
253
|
+
function U(r, t) {
|
|
254
|
+
return typeof r.primaryShade == "number" ? r.primaryShade : t === "dark" ? r.primaryShade.dark : r.primaryShade.light;
|
|
258
255
|
}
|
|
259
|
-
function
|
|
260
|
-
return
|
|
256
|
+
function cr(r) {
|
|
257
|
+
return r <= 0.03928 ? r / 12.92 : ((r + 0.055) / 1.055) ** 2.4;
|
|
261
258
|
}
|
|
262
|
-
function pn(
|
|
263
|
-
const
|
|
264
|
-
return
|
|
259
|
+
function pn(r) {
|
|
260
|
+
const t = r.match(/oklch\((.*?)%\s/);
|
|
261
|
+
return t ? parseFloat(t[1]) : null;
|
|
265
262
|
}
|
|
266
|
-
function
|
|
267
|
-
if (
|
|
268
|
-
return (pn(
|
|
269
|
-
const { r, g: e, b: n } =
|
|
263
|
+
function gn(r) {
|
|
264
|
+
if (r.startsWith("oklch("))
|
|
265
|
+
return (pn(r) || 0) / 100;
|
|
266
|
+
const { r: t, g: e, b: n } = xr(r), a = t / 255, o = e / 255, i = n / 255, s = cr(a), l = cr(o), d = cr(i);
|
|
270
267
|
return 0.2126 * s + 0.7152 * l + 0.0722 * d;
|
|
271
268
|
}
|
|
272
|
-
function G(
|
|
273
|
-
return
|
|
269
|
+
function G(r, t = 0.179) {
|
|
270
|
+
return r.startsWith("var(") ? !1 : gn(r) > t;
|
|
274
271
|
}
|
|
275
272
|
function q({
|
|
276
|
-
color:
|
|
277
|
-
theme:
|
|
273
|
+
color: r,
|
|
274
|
+
theme: t,
|
|
278
275
|
colorScheme: e
|
|
279
276
|
}) {
|
|
280
|
-
if (typeof
|
|
277
|
+
if (typeof r != "string")
|
|
281
278
|
throw new Error(
|
|
282
|
-
`[@mantine/core] Failed to parse color. Expected color to be a string, instead got ${typeof
|
|
279
|
+
`[@mantine/core] Failed to parse color. Expected color to be a string, instead got ${typeof r}`
|
|
283
280
|
);
|
|
284
|
-
if (
|
|
281
|
+
if (r === "bright")
|
|
285
282
|
return {
|
|
286
|
-
color:
|
|
287
|
-
value: e === "dark" ?
|
|
283
|
+
color: r,
|
|
284
|
+
value: e === "dark" ? t.white : t.black,
|
|
288
285
|
shade: void 0,
|
|
289
286
|
isThemeColor: !1,
|
|
290
287
|
isLight: G(
|
|
291
|
-
e === "dark" ?
|
|
292
|
-
|
|
288
|
+
e === "dark" ? t.white : t.black,
|
|
289
|
+
t.luminanceThreshold
|
|
293
290
|
),
|
|
294
291
|
variable: "--mantine-color-bright"
|
|
295
292
|
};
|
|
296
|
-
if (
|
|
293
|
+
if (r === "dimmed")
|
|
297
294
|
return {
|
|
298
|
-
color:
|
|
299
|
-
value: e === "dark" ?
|
|
295
|
+
color: r,
|
|
296
|
+
value: e === "dark" ? t.colors.dark[2] : t.colors.gray[7],
|
|
300
297
|
shade: void 0,
|
|
301
298
|
isThemeColor: !1,
|
|
302
299
|
isLight: G(
|
|
303
|
-
e === "dark" ?
|
|
304
|
-
|
|
300
|
+
e === "dark" ? t.colors.dark[2] : t.colors.gray[6],
|
|
301
|
+
t.luminanceThreshold
|
|
305
302
|
),
|
|
306
303
|
variable: "--mantine-color-dimmed"
|
|
307
304
|
};
|
|
308
|
-
if (
|
|
305
|
+
if (r === "white" || r === "black")
|
|
309
306
|
return {
|
|
310
|
-
color:
|
|
311
|
-
value:
|
|
307
|
+
color: r,
|
|
308
|
+
value: r === "white" ? t.white : t.black,
|
|
312
309
|
shade: void 0,
|
|
313
310
|
isThemeColor: !1,
|
|
314
311
|
isLight: G(
|
|
315
|
-
|
|
316
|
-
|
|
312
|
+
r === "white" ? t.white : t.black,
|
|
313
|
+
t.luminanceThreshold
|
|
317
314
|
),
|
|
318
|
-
variable: `--mantine-color-${
|
|
315
|
+
variable: `--mantine-color-${r}`
|
|
319
316
|
};
|
|
320
|
-
const [n, a] =
|
|
317
|
+
const [n, a] = r.split("."), o = a ? Number(a) : void 0, i = n in t.colors;
|
|
321
318
|
if (i) {
|
|
322
|
-
const s = o !== void 0 ?
|
|
319
|
+
const s = o !== void 0 ? t.colors[n][o] : t.colors[n][U(t, e || "light")];
|
|
323
320
|
return {
|
|
324
321
|
color: n,
|
|
325
322
|
value: s,
|
|
326
323
|
shade: o,
|
|
327
324
|
isThemeColor: i,
|
|
328
|
-
isLight: G(s,
|
|
325
|
+
isLight: G(s, t.luminanceThreshold),
|
|
329
326
|
variable: a ? `--mantine-color-${n}-${o}` : `--mantine-color-${n}-filled`
|
|
330
327
|
};
|
|
331
328
|
}
|
|
332
329
|
return {
|
|
333
|
-
color:
|
|
334
|
-
value:
|
|
330
|
+
color: r,
|
|
331
|
+
value: r,
|
|
335
332
|
isThemeColor: i,
|
|
336
|
-
isLight: G(
|
|
333
|
+
isLight: G(r, t.luminanceThreshold),
|
|
337
334
|
shade: o,
|
|
338
335
|
variable: void 0
|
|
339
336
|
};
|
|
340
337
|
}
|
|
341
|
-
function
|
|
342
|
-
const e = q({ color:
|
|
343
|
-
return e.variable ? `var(${e.variable})` :
|
|
338
|
+
function yr(r, t) {
|
|
339
|
+
const e = q({ color: r || t.primaryColor, theme: t });
|
|
340
|
+
return e.variable ? `var(${e.variable})` : r;
|
|
344
341
|
}
|
|
345
|
-
function
|
|
342
|
+
function Ar(r, t) {
|
|
346
343
|
const e = {
|
|
347
|
-
from: (
|
|
348
|
-
to: (
|
|
349
|
-
deg: (
|
|
350
|
-
}, n =
|
|
344
|
+
from: (r == null ? void 0 : r.from) || t.defaultGradient.from,
|
|
345
|
+
to: (r == null ? void 0 : r.to) || t.defaultGradient.to,
|
|
346
|
+
deg: (r == null ? void 0 : r.deg) ?? t.defaultGradient.deg ?? 0
|
|
347
|
+
}, n = yr(e.from, t), a = yr(e.to, t);
|
|
351
348
|
return `linear-gradient(${e.deg}deg, ${n} 0%, ${a} 100%)`;
|
|
352
349
|
}
|
|
353
|
-
function R(
|
|
354
|
-
if (typeof
|
|
350
|
+
function R(r, t) {
|
|
351
|
+
if (typeof r != "string" || t > 1 || t < 0)
|
|
355
352
|
return "rgba(0, 0, 0, 1)";
|
|
356
|
-
if (
|
|
357
|
-
const o = (1 -
|
|
358
|
-
return `color-mix(in srgb, ${
|
|
353
|
+
if (r.startsWith("var(")) {
|
|
354
|
+
const o = (1 - t) * 100;
|
|
355
|
+
return `color-mix(in srgb, ${r}, transparent ${o}%)`;
|
|
359
356
|
}
|
|
360
|
-
if (
|
|
361
|
-
return
|
|
362
|
-
const { r: e, g: n, b: a } =
|
|
363
|
-
return `rgba(${e}, ${n}, ${a}, ${
|
|
357
|
+
if (r.startsWith("oklch"))
|
|
358
|
+
return r.includes("/") ? r.replace(/\/\s*[\d.]+\s*\)/, `/ ${t})`) : r.replace(")", ` / ${t})`);
|
|
359
|
+
const { r: e, g: n, b: a } = xr(r);
|
|
360
|
+
return `rgba(${e}, ${n}, ${a}, ${t})`;
|
|
364
361
|
}
|
|
365
|
-
const
|
|
366
|
-
color:
|
|
367
|
-
theme:
|
|
362
|
+
const j = R, yn = ({
|
|
363
|
+
color: r,
|
|
364
|
+
theme: t,
|
|
368
365
|
variant: e,
|
|
369
366
|
gradient: n,
|
|
370
367
|
autoContrast: a
|
|
371
368
|
}) => {
|
|
372
|
-
const o = q({ color:
|
|
369
|
+
const o = q({ color: r, theme: t }), i = typeof a == "boolean" ? a : t.autoContrast;
|
|
373
370
|
if (e === "filled") {
|
|
374
371
|
const s = i && o.isLight ? "var(--mantine-color-black)" : "var(--mantine-color-white)";
|
|
375
372
|
return o.isThemeColor ? o.shade === void 0 ? {
|
|
376
|
-
background: `var(--mantine-color-${
|
|
377
|
-
hover: `var(--mantine-color-${
|
|
373
|
+
background: `var(--mantine-color-${r}-filled)`,
|
|
374
|
+
hover: `var(--mantine-color-${r}-filled-hover)`,
|
|
378
375
|
color: s,
|
|
379
376
|
border: `${c(1)} solid transparent`
|
|
380
377
|
} : {
|
|
@@ -383,8 +380,8 @@ const V = R, gn = ({
|
|
|
383
380
|
color: s,
|
|
384
381
|
border: `${c(1)} solid transparent`
|
|
385
382
|
} : {
|
|
386
|
-
background:
|
|
387
|
-
hover: Z(
|
|
383
|
+
background: r,
|
|
384
|
+
hover: Z(r, 0.1),
|
|
388
385
|
color: s,
|
|
389
386
|
border: `${c(1)} solid transparent`
|
|
390
387
|
};
|
|
@@ -393,12 +390,12 @@ const V = R, gn = ({
|
|
|
393
390
|
if (o.isThemeColor) {
|
|
394
391
|
if (o.shade === void 0)
|
|
395
392
|
return {
|
|
396
|
-
background: `var(--mantine-color-${
|
|
397
|
-
hover: `var(--mantine-color-${
|
|
398
|
-
color: `var(--mantine-color-${
|
|
393
|
+
background: `var(--mantine-color-${r}-light)`,
|
|
394
|
+
hover: `var(--mantine-color-${r}-light-hover)`,
|
|
395
|
+
color: `var(--mantine-color-${r}-light-color)`,
|
|
399
396
|
border: `${c(1)} solid transparent`
|
|
400
397
|
};
|
|
401
|
-
const s =
|
|
398
|
+
const s = t.colors[o.color][o.shade];
|
|
402
399
|
return {
|
|
403
400
|
background: R(s, 0.1),
|
|
404
401
|
hover: R(s, 0.12),
|
|
@@ -407,39 +404,39 @@ const V = R, gn = ({
|
|
|
407
404
|
};
|
|
408
405
|
}
|
|
409
406
|
return {
|
|
410
|
-
background: R(
|
|
411
|
-
hover: R(
|
|
412
|
-
color:
|
|
407
|
+
background: R(r, 0.1),
|
|
408
|
+
hover: R(r, 0.12),
|
|
409
|
+
color: r,
|
|
413
410
|
border: `${c(1)} solid transparent`
|
|
414
411
|
};
|
|
415
412
|
}
|
|
416
413
|
if (e === "outline")
|
|
417
414
|
return o.isThemeColor ? o.shade === void 0 ? {
|
|
418
415
|
background: "transparent",
|
|
419
|
-
hover: `var(--mantine-color-${
|
|
420
|
-
color: `var(--mantine-color-${
|
|
421
|
-
border: `${c(1)} solid var(--mantine-color-${
|
|
416
|
+
hover: `var(--mantine-color-${r}-outline-hover)`,
|
|
417
|
+
color: `var(--mantine-color-${r}-outline)`,
|
|
418
|
+
border: `${c(1)} solid var(--mantine-color-${r}-outline)`
|
|
422
419
|
} : {
|
|
423
420
|
background: "transparent",
|
|
424
|
-
hover: R(
|
|
421
|
+
hover: R(t.colors[o.color][o.shade], 0.05),
|
|
425
422
|
color: `var(--mantine-color-${o.color}-${o.shade})`,
|
|
426
423
|
border: `${c(1)} solid var(--mantine-color-${o.color}-${o.shade})`
|
|
427
424
|
} : {
|
|
428
425
|
background: "transparent",
|
|
429
|
-
hover: R(
|
|
430
|
-
color:
|
|
431
|
-
border: `${c(1)} solid ${
|
|
426
|
+
hover: R(r, 0.05),
|
|
427
|
+
color: r,
|
|
428
|
+
border: `${c(1)} solid ${r}`
|
|
432
429
|
};
|
|
433
430
|
if (e === "subtle") {
|
|
434
431
|
if (o.isThemeColor) {
|
|
435
432
|
if (o.shade === void 0)
|
|
436
433
|
return {
|
|
437
434
|
background: "transparent",
|
|
438
|
-
hover: `var(--mantine-color-${
|
|
439
|
-
color: `var(--mantine-color-${
|
|
435
|
+
hover: `var(--mantine-color-${r}-light-hover)`,
|
|
436
|
+
color: `var(--mantine-color-${r}-light-color)`,
|
|
440
437
|
border: `${c(1)} solid transparent`
|
|
441
438
|
};
|
|
442
|
-
const s =
|
|
439
|
+
const s = t.colors[o.color][o.shade];
|
|
443
440
|
return {
|
|
444
441
|
background: "transparent",
|
|
445
442
|
hover: R(s, 0.12),
|
|
@@ -449,15 +446,15 @@ const V = R, gn = ({
|
|
|
449
446
|
}
|
|
450
447
|
return {
|
|
451
448
|
background: "transparent",
|
|
452
|
-
hover: R(
|
|
453
|
-
color:
|
|
449
|
+
hover: R(r, 0.12),
|
|
450
|
+
color: r,
|
|
454
451
|
border: `${c(1)} solid transparent`
|
|
455
452
|
};
|
|
456
453
|
}
|
|
457
454
|
return e === "transparent" ? o.isThemeColor ? o.shade === void 0 ? {
|
|
458
455
|
background: "transparent",
|
|
459
456
|
hover: "transparent",
|
|
460
|
-
color: `var(--mantine-color-${
|
|
457
|
+
color: `var(--mantine-color-${r}-light-color)`,
|
|
461
458
|
border: `${c(1)} solid transparent`
|
|
462
459
|
} : {
|
|
463
460
|
background: "transparent",
|
|
@@ -467,26 +464,26 @@ const V = R, gn = ({
|
|
|
467
464
|
} : {
|
|
468
465
|
background: "transparent",
|
|
469
466
|
hover: "transparent",
|
|
470
|
-
color:
|
|
467
|
+
color: r,
|
|
471
468
|
border: `${c(1)} solid transparent`
|
|
472
469
|
} : e === "white" ? o.isThemeColor ? o.shade === void 0 ? {
|
|
473
470
|
background: "var(--mantine-color-white)",
|
|
474
|
-
hover: Z(
|
|
475
|
-
color: `var(--mantine-color-${
|
|
471
|
+
hover: Z(t.white, 0.01),
|
|
472
|
+
color: `var(--mantine-color-${r}-filled)`,
|
|
476
473
|
border: `${c(1)} solid transparent`
|
|
477
474
|
} : {
|
|
478
475
|
background: "var(--mantine-color-white)",
|
|
479
|
-
hover: Z(
|
|
476
|
+
hover: Z(t.white, 0.01),
|
|
480
477
|
color: `var(--mantine-color-${o.color}-${o.shade})`,
|
|
481
478
|
border: `${c(1)} solid transparent`
|
|
482
479
|
} : {
|
|
483
480
|
background: "var(--mantine-color-white)",
|
|
484
|
-
hover: Z(
|
|
485
|
-
color:
|
|
481
|
+
hover: Z(t.white, 0.01),
|
|
482
|
+
color: r,
|
|
486
483
|
border: `${c(1)} solid transparent`
|
|
487
484
|
} : e === "gradient" ? {
|
|
488
|
-
background:
|
|
489
|
-
hover:
|
|
485
|
+
background: Ar(n, t),
|
|
486
|
+
hover: Ar(n, t),
|
|
490
487
|
color: "var(--mantine-color-white)",
|
|
491
488
|
border: "none"
|
|
492
489
|
} : e === "default" ? {
|
|
@@ -664,7 +661,7 @@ const V = R, gn = ({
|
|
|
664
661
|
"#e8590c",
|
|
665
662
|
"#d9480f"
|
|
666
663
|
]
|
|
667
|
-
},
|
|
664
|
+
}, Or = "-apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Helvetica, Arial, sans-serif, Apple Color Emoji, Segoe UI Emoji", kr = {
|
|
668
665
|
scale: 1,
|
|
669
666
|
fontSmoothing: !0,
|
|
670
667
|
focusRing: "auto",
|
|
@@ -673,10 +670,10 @@ const V = R, gn = ({
|
|
|
673
670
|
colors: bn,
|
|
674
671
|
primaryShade: { light: 6, dark: 8 },
|
|
675
672
|
primaryColor: "blue",
|
|
676
|
-
variantColorResolver:
|
|
673
|
+
variantColorResolver: yn,
|
|
677
674
|
autoContrast: !1,
|
|
678
675
|
luminanceThreshold: 0.3,
|
|
679
|
-
fontFamily:
|
|
676
|
+
fontFamily: Or,
|
|
680
677
|
fontFamilyMonospace: "ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, Liberation Mono, Courier New, monospace",
|
|
681
678
|
respectReducedMotion: !1,
|
|
682
679
|
cursorType: "default",
|
|
@@ -685,7 +682,7 @@ const V = R, gn = ({
|
|
|
685
682
|
activeClassName: "mantine-active",
|
|
686
683
|
focusClassName: "",
|
|
687
684
|
headings: {
|
|
688
|
-
fontFamily:
|
|
685
|
+
fontFamily: Or,
|
|
689
686
|
fontWeight: "700",
|
|
690
687
|
textWrap: "wrap",
|
|
691
688
|
sizes: {
|
|
@@ -750,27 +747,27 @@ const V = R, gn = ({
|
|
|
750
747
|
other: {},
|
|
751
748
|
components: {}
|
|
752
749
|
};
|
|
753
|
-
function
|
|
754
|
-
return
|
|
750
|
+
function Ir(r) {
|
|
751
|
+
return r === "auto" || r === "dark" || r === "light";
|
|
755
752
|
}
|
|
756
753
|
function hn({
|
|
757
|
-
key:
|
|
754
|
+
key: r = "mantine-color-scheme-value"
|
|
758
755
|
} = {}) {
|
|
759
|
-
let
|
|
756
|
+
let t;
|
|
760
757
|
return {
|
|
761
758
|
get: (e) => {
|
|
762
759
|
if (typeof window > "u")
|
|
763
760
|
return e;
|
|
764
761
|
try {
|
|
765
|
-
const n = window.localStorage.getItem(
|
|
766
|
-
return
|
|
762
|
+
const n = window.localStorage.getItem(r);
|
|
763
|
+
return Ir(n) ? n : e;
|
|
767
764
|
} catch {
|
|
768
765
|
return e;
|
|
769
766
|
}
|
|
770
767
|
},
|
|
771
768
|
set: (e) => {
|
|
772
769
|
try {
|
|
773
|
-
window.localStorage.setItem(
|
|
770
|
+
window.localStorage.setItem(r, e);
|
|
774
771
|
} catch (n) {
|
|
775
772
|
console.warn(
|
|
776
773
|
"[@mantine/core] Local storage color scheme manager was unable to save color scheme.",
|
|
@@ -779,199 +776,199 @@ function hn({
|
|
|
779
776
|
}
|
|
780
777
|
},
|
|
781
778
|
subscribe: (e) => {
|
|
782
|
-
|
|
783
|
-
n.storageArea === window.localStorage && n.key ===
|
|
784
|
-
}, window.addEventListener("storage",
|
|
779
|
+
t = (n) => {
|
|
780
|
+
n.storageArea === window.localStorage && n.key === r && Ir(n.newValue) && e(n.newValue);
|
|
781
|
+
}, window.addEventListener("storage", t);
|
|
785
782
|
},
|
|
786
783
|
unsubscribe: () => {
|
|
787
|
-
window.removeEventListener("storage",
|
|
784
|
+
window.removeEventListener("storage", t);
|
|
788
785
|
},
|
|
789
786
|
clear: () => {
|
|
790
|
-
window.localStorage.removeItem(
|
|
787
|
+
window.localStorage.removeItem(r);
|
|
791
788
|
}
|
|
792
789
|
};
|
|
793
790
|
}
|
|
794
|
-
const $n = "[@mantine/core] MantineProvider: Invalid theme.primaryColor, it accepts only key of theme.colors, learn more – https://mantine.dev/theming/colors/#primary-color",
|
|
795
|
-
function
|
|
796
|
-
return
|
|
791
|
+
const $n = "[@mantine/core] MantineProvider: Invalid theme.primaryColor, it accepts only key of theme.colors, learn more – https://mantine.dev/theming/colors/#primary-color", Br = "[@mantine/core] MantineProvider: Invalid theme.primaryShade, it accepts only 0-9 integers or an object { light: 0-9, dark: 0-9 }";
|
|
792
|
+
function lr(r) {
|
|
793
|
+
return r < 0 || r > 9 ? !1 : parseInt(r.toString(), 10) === r;
|
|
797
794
|
}
|
|
798
|
-
function
|
|
799
|
-
if (!(
|
|
795
|
+
function Vr(r) {
|
|
796
|
+
if (!(r.primaryColor in r.colors))
|
|
800
797
|
throw new Error($n);
|
|
801
|
-
if (typeof
|
|
802
|
-
throw new Error(
|
|
803
|
-
if (typeof
|
|
804
|
-
throw new Error(
|
|
798
|
+
if (typeof r.primaryShade == "object" && (!lr(r.primaryShade.dark) || !lr(r.primaryShade.light)))
|
|
799
|
+
throw new Error(Br);
|
|
800
|
+
if (typeof r.primaryShade == "number" && !lr(r.primaryShade))
|
|
801
|
+
throw new Error(Br);
|
|
805
802
|
}
|
|
806
|
-
function vn(
|
|
803
|
+
function vn(r, t) {
|
|
807
804
|
var n;
|
|
808
|
-
if (!r)
|
|
809
|
-
return Bt(t), t;
|
|
810
|
-
const e = vt(t, r);
|
|
811
|
-
return r.fontFamily && !((n = r.headings) != null && n.fontFamily) && (e.headings.fontFamily = r.fontFamily), Bt(e), e;
|
|
812
|
-
}
|
|
813
|
-
const Nt = Dt(null), Sn = () => $t(Nt) || kt;
|
|
814
|
-
function B() {
|
|
815
|
-
const t = $t(Nt);
|
|
816
805
|
if (!t)
|
|
806
|
+
return Vr(r), r;
|
|
807
|
+
const e = vr(r, t);
|
|
808
|
+
return t.fontFamily && !((n = t.headings) != null && n.fontFamily) && (e.headings.fontFamily = t.fontFamily), Vr(e), e;
|
|
809
|
+
}
|
|
810
|
+
const Nr = Dr(null), Sn = () => $r(Nr) || kr;
|
|
811
|
+
function V() {
|
|
812
|
+
const r = $r(Nr);
|
|
813
|
+
if (!r)
|
|
817
814
|
throw new Error(
|
|
818
815
|
"@mantine/core: MantineProvider was not found in component tree, make sure you have it in your app"
|
|
819
816
|
);
|
|
820
|
-
return
|
|
817
|
+
return r;
|
|
821
818
|
}
|
|
822
|
-
function
|
|
823
|
-
theme:
|
|
824
|
-
children:
|
|
819
|
+
function Jr({
|
|
820
|
+
theme: r,
|
|
821
|
+
children: t,
|
|
825
822
|
inherit: e = !0
|
|
826
823
|
}) {
|
|
827
|
-
const n = Sn(), a =
|
|
828
|
-
() => vn(e ? n :
|
|
829
|
-
[
|
|
824
|
+
const n = Sn(), a = zt(
|
|
825
|
+
() => vn(e ? n : kr, r),
|
|
826
|
+
[r, n, e]
|
|
830
827
|
);
|
|
831
|
-
return /* @__PURE__ */ p(
|
|
828
|
+
return /* @__PURE__ */ p(Nr.Provider, { value: a, children: t });
|
|
832
829
|
}
|
|
833
|
-
|
|
830
|
+
Jr.displayName = "@mantine/core/MantineThemeProvider";
|
|
834
831
|
function wn() {
|
|
835
|
-
const
|
|
836
|
-
const o =
|
|
832
|
+
const r = V(), t = Cr(), e = M(r.breakpoints).reduce((n, a) => {
|
|
833
|
+
const o = r.breakpoints[a].includes("px"), i = Ut(r.breakpoints[a]), s = o ? `${i - 0.1}px` : Er(i - 0.1), l = o ? `${i}px` : Er(i);
|
|
837
834
|
return `${n}@media (max-width: ${s}) {.mantine-visible-from-${a} {display: none !important;}}@media (min-width: ${l}) {.mantine-hidden-from-${a} {display: none !important;}}`;
|
|
838
835
|
}, "");
|
|
839
836
|
return /* @__PURE__ */ p(
|
|
840
837
|
"style",
|
|
841
838
|
{
|
|
842
839
|
"data-mantine-styles": "classes",
|
|
843
|
-
nonce:
|
|
840
|
+
nonce: t == null ? void 0 : t(),
|
|
844
841
|
dangerouslySetInnerHTML: { __html: e }
|
|
845
842
|
}
|
|
846
843
|
);
|
|
847
844
|
}
|
|
848
|
-
function
|
|
849
|
-
return Object.entries(
|
|
845
|
+
function dr(r) {
|
|
846
|
+
return Object.entries(r).map(([t, e]) => `${t}: ${e};`).join("");
|
|
850
847
|
}
|
|
851
|
-
function D(
|
|
852
|
-
return (Array.isArray(
|
|
848
|
+
function D(r, t) {
|
|
849
|
+
return (Array.isArray(r) ? r : [r]).reduce((n, a) => `${a}{${n}}`, t);
|
|
853
850
|
}
|
|
854
|
-
function Cn(
|
|
855
|
-
const e =
|
|
851
|
+
function Cn(r, t) {
|
|
852
|
+
const e = dr(r.variables), n = e ? D(t, e) : "", a = dr(r.dark), o = dr(r.light), i = a ? D(t === ":host" ? `${t}([data-mantine-color-scheme="dark"])` : `${t}[data-mantine-color-scheme="dark"]`, a) : "", s = o ? D(t === ":host" ? `${t}([data-mantine-color-scheme="light"])` : `${t}[data-mantine-color-scheme="light"]`, o) : "";
|
|
856
853
|
return `${n}${i}${s}`;
|
|
857
854
|
}
|
|
858
|
-
function xn({ color:
|
|
859
|
-
return
|
|
855
|
+
function xn({ color: r, theme: t, autoContrast: e }) {
|
|
856
|
+
return t.autoContrast && q({ color: r || t.primaryColor, theme: t }).isLight ? "var(--mantine-color-black)" : "var(--mantine-color-white)";
|
|
860
857
|
}
|
|
861
|
-
function
|
|
858
|
+
function jr(r, t) {
|
|
862
859
|
return xn({
|
|
863
|
-
color:
|
|
864
|
-
theme:
|
|
860
|
+
color: r.colors[r.primaryColor][U(r, t)],
|
|
861
|
+
theme: r,
|
|
865
862
|
autoContrast: null
|
|
866
863
|
});
|
|
867
864
|
}
|
|
868
865
|
function J({
|
|
869
|
-
theme:
|
|
870
|
-
color:
|
|
866
|
+
theme: r,
|
|
867
|
+
color: t,
|
|
871
868
|
colorScheme: e,
|
|
872
|
-
name: n =
|
|
869
|
+
name: n = t,
|
|
873
870
|
withColorValues: a = !0
|
|
874
871
|
}) {
|
|
875
|
-
if (!
|
|
872
|
+
if (!r.colors[t])
|
|
876
873
|
return {};
|
|
877
874
|
if (e === "light") {
|
|
878
|
-
const s = U(
|
|
875
|
+
const s = U(r, "light"), l = {
|
|
879
876
|
[`--mantine-color-${n}-text`]: `var(--mantine-color-${n}-filled)`,
|
|
880
877
|
[`--mantine-color-${n}-filled`]: `var(--mantine-color-${n}-${s})`,
|
|
881
878
|
[`--mantine-color-${n}-filled-hover`]: `var(--mantine-color-${n}-${s === 9 ? 8 : s + 1})`,
|
|
882
|
-
[`--mantine-color-${n}-light`]:
|
|
883
|
-
[`--mantine-color-${n}-light-hover`]:
|
|
879
|
+
[`--mantine-color-${n}-light`]: j(r.colors[t][s], 0.1),
|
|
880
|
+
[`--mantine-color-${n}-light-hover`]: j(r.colors[t][s], 0.12),
|
|
884
881
|
[`--mantine-color-${n}-light-color`]: `var(--mantine-color-${n}-${s})`,
|
|
885
882
|
[`--mantine-color-${n}-outline`]: `var(--mantine-color-${n}-${s})`,
|
|
886
|
-
[`--mantine-color-${n}-outline-hover`]:
|
|
883
|
+
[`--mantine-color-${n}-outline-hover`]: j(r.colors[t][s], 0.05)
|
|
887
884
|
};
|
|
888
885
|
return a ? {
|
|
889
|
-
[`--mantine-color-${n}-0`]:
|
|
890
|
-
[`--mantine-color-${n}-1`]:
|
|
891
|
-
[`--mantine-color-${n}-2`]:
|
|
892
|
-
[`--mantine-color-${n}-3`]:
|
|
893
|
-
[`--mantine-color-${n}-4`]:
|
|
894
|
-
[`--mantine-color-${n}-5`]:
|
|
895
|
-
[`--mantine-color-${n}-6`]:
|
|
896
|
-
[`--mantine-color-${n}-7`]:
|
|
897
|
-
[`--mantine-color-${n}-8`]:
|
|
898
|
-
[`--mantine-color-${n}-9`]:
|
|
886
|
+
[`--mantine-color-${n}-0`]: r.colors[t][0],
|
|
887
|
+
[`--mantine-color-${n}-1`]: r.colors[t][1],
|
|
888
|
+
[`--mantine-color-${n}-2`]: r.colors[t][2],
|
|
889
|
+
[`--mantine-color-${n}-3`]: r.colors[t][3],
|
|
890
|
+
[`--mantine-color-${n}-4`]: r.colors[t][4],
|
|
891
|
+
[`--mantine-color-${n}-5`]: r.colors[t][5],
|
|
892
|
+
[`--mantine-color-${n}-6`]: r.colors[t][6],
|
|
893
|
+
[`--mantine-color-${n}-7`]: r.colors[t][7],
|
|
894
|
+
[`--mantine-color-${n}-8`]: r.colors[t][8],
|
|
895
|
+
[`--mantine-color-${n}-9`]: r.colors[t][9],
|
|
899
896
|
...l
|
|
900
897
|
} : l;
|
|
901
898
|
}
|
|
902
|
-
const o = U(
|
|
899
|
+
const o = U(r, "dark"), i = {
|
|
903
900
|
[`--mantine-color-${n}-text`]: `var(--mantine-color-${n}-4)`,
|
|
904
901
|
[`--mantine-color-${n}-filled`]: `var(--mantine-color-${n}-${o})`,
|
|
905
902
|
[`--mantine-color-${n}-filled-hover`]: `var(--mantine-color-${n}-${o === 9 ? 8 : o + 1})`,
|
|
906
|
-
[`--mantine-color-${n}-light`]:
|
|
907
|
-
|
|
903
|
+
[`--mantine-color-${n}-light`]: j(
|
|
904
|
+
r.colors[t][Math.max(0, o - 2)],
|
|
908
905
|
0.15
|
|
909
906
|
),
|
|
910
|
-
[`--mantine-color-${n}-light-hover`]:
|
|
911
|
-
|
|
907
|
+
[`--mantine-color-${n}-light-hover`]: j(
|
|
908
|
+
r.colors[t][Math.max(0, o - 2)],
|
|
912
909
|
0.2
|
|
913
910
|
),
|
|
914
911
|
[`--mantine-color-${n}-light-color`]: `var(--mantine-color-${n}-${Math.max(o - 5, 0)})`,
|
|
915
912
|
[`--mantine-color-${n}-outline`]: `var(--mantine-color-${n}-${Math.max(o - 4, 0)})`,
|
|
916
|
-
[`--mantine-color-${n}-outline-hover`]:
|
|
917
|
-
|
|
913
|
+
[`--mantine-color-${n}-outline-hover`]: j(
|
|
914
|
+
r.colors[t][Math.max(o - 4, 0)],
|
|
918
915
|
0.05
|
|
919
916
|
)
|
|
920
917
|
};
|
|
921
918
|
return a ? {
|
|
922
|
-
[`--mantine-color-${n}-0`]:
|
|
923
|
-
[`--mantine-color-${n}-1`]:
|
|
924
|
-
[`--mantine-color-${n}-2`]:
|
|
925
|
-
[`--mantine-color-${n}-3`]:
|
|
926
|
-
[`--mantine-color-${n}-4`]:
|
|
927
|
-
[`--mantine-color-${n}-5`]:
|
|
928
|
-
[`--mantine-color-${n}-6`]:
|
|
929
|
-
[`--mantine-color-${n}-7`]:
|
|
930
|
-
[`--mantine-color-${n}-8`]:
|
|
931
|
-
[`--mantine-color-${n}-9`]:
|
|
919
|
+
[`--mantine-color-${n}-0`]: r.colors[t][0],
|
|
920
|
+
[`--mantine-color-${n}-1`]: r.colors[t][1],
|
|
921
|
+
[`--mantine-color-${n}-2`]: r.colors[t][2],
|
|
922
|
+
[`--mantine-color-${n}-3`]: r.colors[t][3],
|
|
923
|
+
[`--mantine-color-${n}-4`]: r.colors[t][4],
|
|
924
|
+
[`--mantine-color-${n}-5`]: r.colors[t][5],
|
|
925
|
+
[`--mantine-color-${n}-6`]: r.colors[t][6],
|
|
926
|
+
[`--mantine-color-${n}-7`]: r.colors[t][7],
|
|
927
|
+
[`--mantine-color-${n}-8`]: r.colors[t][8],
|
|
928
|
+
[`--mantine-color-${n}-9`]: r.colors[t][9],
|
|
932
929
|
...i
|
|
933
930
|
} : i;
|
|
934
931
|
}
|
|
935
|
-
function kn(
|
|
936
|
-
return !!
|
|
932
|
+
function kn(r) {
|
|
933
|
+
return !!r && typeof r == "object" && "mantine-virtual-color" in r;
|
|
937
934
|
}
|
|
938
|
-
function F(
|
|
939
|
-
M(
|
|
940
|
-
(n) => Object.assign(
|
|
935
|
+
function F(r, t, e) {
|
|
936
|
+
M(t).forEach(
|
|
937
|
+
(n) => Object.assign(r, { [`--mantine-${e}-${n}`]: t[n] })
|
|
941
938
|
);
|
|
942
939
|
}
|
|
943
|
-
const
|
|
944
|
-
const
|
|
940
|
+
const rt = (r) => {
|
|
941
|
+
const t = U(r, "light"), e = r.defaultRadius in r.radius ? r.radius[r.defaultRadius] : c(r.defaultRadius), n = {
|
|
945
942
|
variables: {
|
|
946
|
-
"--mantine-scale":
|
|
947
|
-
"--mantine-cursor-type":
|
|
943
|
+
"--mantine-scale": r.scale.toString(),
|
|
944
|
+
"--mantine-cursor-type": r.cursorType,
|
|
948
945
|
"--mantine-color-scheme": "light dark",
|
|
949
|
-
"--mantine-webkit-font-smoothing":
|
|
950
|
-
"--mantine-moz-font-smoothing":
|
|
951
|
-
"--mantine-color-white":
|
|
952
|
-
"--mantine-color-black":
|
|
953
|
-
"--mantine-line-height":
|
|
954
|
-
"--mantine-font-family":
|
|
955
|
-
"--mantine-font-family-monospace":
|
|
956
|
-
"--mantine-font-family-headings":
|
|
957
|
-
"--mantine-heading-font-weight":
|
|
958
|
-
"--mantine-heading-text-wrap":
|
|
946
|
+
"--mantine-webkit-font-smoothing": r.fontSmoothing ? "antialiased" : "unset",
|
|
947
|
+
"--mantine-moz-font-smoothing": r.fontSmoothing ? "grayscale" : "unset",
|
|
948
|
+
"--mantine-color-white": r.white,
|
|
949
|
+
"--mantine-color-black": r.black,
|
|
950
|
+
"--mantine-line-height": r.lineHeights.md,
|
|
951
|
+
"--mantine-font-family": r.fontFamily,
|
|
952
|
+
"--mantine-font-family-monospace": r.fontFamilyMonospace,
|
|
953
|
+
"--mantine-font-family-headings": r.headings.fontFamily,
|
|
954
|
+
"--mantine-heading-font-weight": r.headings.fontWeight,
|
|
955
|
+
"--mantine-heading-text-wrap": r.headings.textWrap,
|
|
959
956
|
"--mantine-radius-default": e,
|
|
960
957
|
// Primary colors
|
|
961
|
-
"--mantine-primary-color-filled": `var(--mantine-color-${
|
|
962
|
-
"--mantine-primary-color-filled-hover": `var(--mantine-color-${
|
|
963
|
-
"--mantine-primary-color-light": `var(--mantine-color-${
|
|
964
|
-
"--mantine-primary-color-light-hover": `var(--mantine-color-${
|
|
965
|
-
"--mantine-primary-color-light-color": `var(--mantine-color-${
|
|
958
|
+
"--mantine-primary-color-filled": `var(--mantine-color-${r.primaryColor}-filled)`,
|
|
959
|
+
"--mantine-primary-color-filled-hover": `var(--mantine-color-${r.primaryColor}-filled-hover)`,
|
|
960
|
+
"--mantine-primary-color-light": `var(--mantine-color-${r.primaryColor}-light)`,
|
|
961
|
+
"--mantine-primary-color-light-hover": `var(--mantine-color-${r.primaryColor}-light-hover)`,
|
|
962
|
+
"--mantine-primary-color-light-color": `var(--mantine-color-${r.primaryColor}-light-color)`
|
|
966
963
|
},
|
|
967
964
|
light: {
|
|
968
|
-
"--mantine-primary-color-contrast":
|
|
965
|
+
"--mantine-primary-color-contrast": jr(r, "light"),
|
|
969
966
|
"--mantine-color-bright": "var(--mantine-color-black)",
|
|
970
|
-
"--mantine-color-text":
|
|
971
|
-
"--mantine-color-body":
|
|
967
|
+
"--mantine-color-text": r.black,
|
|
968
|
+
"--mantine-color-body": r.white,
|
|
972
969
|
"--mantine-color-error": "var(--mantine-color-red-6)",
|
|
973
970
|
"--mantine-color-placeholder": "var(--mantine-color-gray-5)",
|
|
974
|
-
"--mantine-color-anchor": `var(--mantine-color-${
|
|
971
|
+
"--mantine-color-anchor": `var(--mantine-color-${r.primaryColor}-${t})`,
|
|
975
972
|
"--mantine-color-default": "var(--mantine-color-white)",
|
|
976
973
|
"--mantine-color-default-hover": "var(--mantine-color-gray-0)",
|
|
977
974
|
"--mantine-color-default-color": "var(--mantine-color-black)",
|
|
@@ -979,13 +976,13 @@ const tr = (t) => {
|
|
|
979
976
|
"--mantine-color-dimmed": "var(--mantine-color-gray-6)"
|
|
980
977
|
},
|
|
981
978
|
dark: {
|
|
982
|
-
"--mantine-primary-color-contrast":
|
|
979
|
+
"--mantine-primary-color-contrast": jr(r, "dark"),
|
|
983
980
|
"--mantine-color-bright": "var(--mantine-color-white)",
|
|
984
981
|
"--mantine-color-text": "var(--mantine-color-dark-0)",
|
|
985
982
|
"--mantine-color-body": "var(--mantine-color-dark-7)",
|
|
986
983
|
"--mantine-color-error": "var(--mantine-color-red-8)",
|
|
987
984
|
"--mantine-color-placeholder": "var(--mantine-color-dark-3)",
|
|
988
|
-
"--mantine-color-anchor": `var(--mantine-color-${
|
|
985
|
+
"--mantine-color-anchor": `var(--mantine-color-${r.primaryColor}-4)`,
|
|
989
986
|
"--mantine-color-default": "var(--mantine-color-dark-6)",
|
|
990
987
|
"--mantine-color-default-hover": "var(--mantine-color-dark-5)",
|
|
991
988
|
"--mantine-color-default-color": "var(--mantine-color-white)",
|
|
@@ -993,15 +990,15 @@ const tr = (t) => {
|
|
|
993
990
|
"--mantine-color-dimmed": "var(--mantine-color-dark-2)"
|
|
994
991
|
}
|
|
995
992
|
};
|
|
996
|
-
F(n.variables,
|
|
997
|
-
n.variables[`--mantine-primary-color-${i}`] = `var(--mantine-color-${
|
|
998
|
-
}), M(
|
|
999
|
-
const i =
|
|
993
|
+
F(n.variables, r.breakpoints, "breakpoint"), F(n.variables, r.spacing, "spacing"), F(n.variables, r.fontSizes, "font-size"), F(n.variables, r.lineHeights, "line-height"), F(n.variables, r.shadows, "shadow"), F(n.variables, r.radius, "radius"), r.colors[r.primaryColor].forEach((o, i) => {
|
|
994
|
+
n.variables[`--mantine-primary-color-${i}`] = `var(--mantine-color-${r.primaryColor}-${i})`;
|
|
995
|
+
}), M(r.colors).forEach((o) => {
|
|
996
|
+
const i = r.colors[o];
|
|
1000
997
|
if (kn(i)) {
|
|
1001
998
|
Object.assign(
|
|
1002
999
|
n.light,
|
|
1003
1000
|
J({
|
|
1004
|
-
theme:
|
|
1001
|
+
theme: r,
|
|
1005
1002
|
name: i.name,
|
|
1006
1003
|
color: i.light,
|
|
1007
1004
|
colorScheme: "light",
|
|
@@ -1010,7 +1007,7 @@ const tr = (t) => {
|
|
|
1010
1007
|
), Object.assign(
|
|
1011
1008
|
n.dark,
|
|
1012
1009
|
J({
|
|
1013
|
-
theme:
|
|
1010
|
+
theme: r,
|
|
1014
1011
|
name: i.name,
|
|
1015
1012
|
color: i.dark,
|
|
1016
1013
|
colorScheme: "dark",
|
|
@@ -1024,7 +1021,7 @@ const tr = (t) => {
|
|
|
1024
1021
|
}), Object.assign(
|
|
1025
1022
|
n.light,
|
|
1026
1023
|
J({
|
|
1027
|
-
theme:
|
|
1024
|
+
theme: r,
|
|
1028
1025
|
color: o,
|
|
1029
1026
|
colorScheme: "light",
|
|
1030
1027
|
withColorValues: !1
|
|
@@ -1032,87 +1029,87 @@ const tr = (t) => {
|
|
|
1032
1029
|
), Object.assign(
|
|
1033
1030
|
n.dark,
|
|
1034
1031
|
J({
|
|
1035
|
-
theme:
|
|
1032
|
+
theme: r,
|
|
1036
1033
|
color: o,
|
|
1037
1034
|
colorScheme: "dark",
|
|
1038
1035
|
withColorValues: !1
|
|
1039
1036
|
})
|
|
1040
1037
|
);
|
|
1041
1038
|
});
|
|
1042
|
-
const a =
|
|
1039
|
+
const a = r.headings.sizes;
|
|
1043
1040
|
return M(a).forEach((o) => {
|
|
1044
|
-
n.variables[`--mantine-${o}-font-size`] = a[o].fontSize, n.variables[`--mantine-${o}-line-height`] = a[o].lineHeight, n.variables[`--mantine-${o}-font-weight`] = a[o].fontWeight ||
|
|
1041
|
+
n.variables[`--mantine-${o}-font-size`] = a[o].fontSize, n.variables[`--mantine-${o}-line-height`] = a[o].lineHeight, n.variables[`--mantine-${o}-font-weight`] = a[o].fontWeight || r.headings.fontWeight;
|
|
1045
1042
|
}), n;
|
|
1046
1043
|
};
|
|
1047
|
-
function Nn({ theme:
|
|
1048
|
-
const e =
|
|
1049
|
-
return n ?
|
|
1044
|
+
function Nn({ theme: r, generator: t }) {
|
|
1045
|
+
const e = rt(r), n = t == null ? void 0 : t(r);
|
|
1046
|
+
return n ? vr(e, n) : e;
|
|
1050
1047
|
}
|
|
1051
|
-
const
|
|
1052
|
-
function Tn(
|
|
1053
|
-
const
|
|
1048
|
+
const fr = rt(kr);
|
|
1049
|
+
function Tn(r) {
|
|
1050
|
+
const t = {
|
|
1054
1051
|
variables: {},
|
|
1055
1052
|
light: {},
|
|
1056
1053
|
dark: {}
|
|
1057
1054
|
};
|
|
1058
|
-
return M(
|
|
1059
|
-
|
|
1060
|
-
}), M(
|
|
1061
|
-
|
|
1062
|
-
}), M(
|
|
1063
|
-
|
|
1064
|
-
}),
|
|
1065
|
-
}
|
|
1066
|
-
function Mn(
|
|
1055
|
+
return M(r.variables).forEach((e) => {
|
|
1056
|
+
fr.variables[e] !== r.variables[e] && (t.variables[e] = r.variables[e]);
|
|
1057
|
+
}), M(r.light).forEach((e) => {
|
|
1058
|
+
fr.light[e] !== r.light[e] && (t.light[e] = r.light[e]);
|
|
1059
|
+
}), M(r.dark).forEach((e) => {
|
|
1060
|
+
fr.dark[e] !== r.dark[e] && (t.dark[e] = r.dark[e]);
|
|
1061
|
+
}), t;
|
|
1062
|
+
}
|
|
1063
|
+
function Mn(r) {
|
|
1067
1064
|
return `
|
|
1068
|
-
${
|
|
1069
|
-
${
|
|
1065
|
+
${r}[data-mantine-color-scheme="dark"] { --mantine-color-scheme: dark; }
|
|
1066
|
+
${r}[data-mantine-color-scheme="light"] { --mantine-color-scheme: light; }
|
|
1070
1067
|
`;
|
|
1071
1068
|
}
|
|
1072
|
-
function
|
|
1073
|
-
cssVariablesSelector:
|
|
1074
|
-
deduplicateCssVariables:
|
|
1069
|
+
function tt({
|
|
1070
|
+
cssVariablesSelector: r,
|
|
1071
|
+
deduplicateCssVariables: t
|
|
1075
1072
|
}) {
|
|
1076
|
-
const e =
|
|
1073
|
+
const e = V(), n = Cr(), a = nn(), o = Nn({ theme: e, generator: a }), i = r === ":root" && t, s = i ? Tn(o) : o, l = Cn(s, r);
|
|
1077
1074
|
return l ? /* @__PURE__ */ p(
|
|
1078
1075
|
"style",
|
|
1079
1076
|
{
|
|
1080
1077
|
"data-mantine-styles": !0,
|
|
1081
1078
|
nonce: n == null ? void 0 : n(),
|
|
1082
1079
|
dangerouslySetInnerHTML: {
|
|
1083
|
-
__html: `${l}${i ? "" : Mn(
|
|
1080
|
+
__html: `${l}${i ? "" : Mn(r)}`
|
|
1084
1081
|
}
|
|
1085
1082
|
}
|
|
1086
1083
|
) : null;
|
|
1087
1084
|
}
|
|
1088
|
-
|
|
1085
|
+
tt.displayName = "@mantine/CssVariables";
|
|
1089
1086
|
function Rn() {
|
|
1090
|
-
const
|
|
1091
|
-
console.error = (...
|
|
1092
|
-
|
|
1087
|
+
const r = console.error;
|
|
1088
|
+
console.error = (...t) => {
|
|
1089
|
+
t.length > 1 && typeof t[0] == "string" && t[0].toLowerCase().includes("extra attributes from the server") && typeof t[1] == "string" && t[1].toLowerCase().includes("data-mantine-color-scheme") || r(...t);
|
|
1093
1090
|
};
|
|
1094
1091
|
}
|
|
1095
|
-
function H(
|
|
1092
|
+
function H(r, t) {
|
|
1096
1093
|
var a, o;
|
|
1097
|
-
const e = typeof window < "u" && "matchMedia" in window && ((a = window.matchMedia("(prefers-color-scheme: dark)")) == null ? void 0 : a.matches), n =
|
|
1098
|
-
(o =
|
|
1094
|
+
const e = typeof window < "u" && "matchMedia" in window && ((a = window.matchMedia("(prefers-color-scheme: dark)")) == null ? void 0 : a.matches), n = r !== "auto" ? r : e ? "dark" : "light";
|
|
1095
|
+
(o = t()) == null || o.setAttribute("data-mantine-color-scheme", n);
|
|
1099
1096
|
}
|
|
1100
1097
|
function _n({
|
|
1101
|
-
manager:
|
|
1102
|
-
defaultColorScheme:
|
|
1098
|
+
manager: r,
|
|
1099
|
+
defaultColorScheme: t,
|
|
1103
1100
|
getRootElement: e,
|
|
1104
1101
|
forceColorScheme: n
|
|
1105
1102
|
}) {
|
|
1106
|
-
const a = W(null), [o, i] =
|
|
1103
|
+
const a = W(null), [o, i] = tr(() => r.get(t)), s = n || o, l = Lr(
|
|
1107
1104
|
(u) => {
|
|
1108
|
-
n || (H(u, e), i(u),
|
|
1105
|
+
n || (H(u, e), i(u), r.set(u));
|
|
1109
1106
|
},
|
|
1110
|
-
[
|
|
1111
|
-
), d =
|
|
1112
|
-
i(
|
|
1113
|
-
}, [
|
|
1114
|
-
return A(() => (
|
|
1115
|
-
H(
|
|
1107
|
+
[r.set, s, n]
|
|
1108
|
+
), d = Lr(() => {
|
|
1109
|
+
i(t), H(t, e), r.clear();
|
|
1110
|
+
}, [r.clear, t]);
|
|
1111
|
+
return A(() => (r.subscribe(l), r.unsubscribe), [r.subscribe, r.unsubscribe]), Qr(() => {
|
|
1112
|
+
H(r.get(t), e);
|
|
1116
1113
|
}, []), A(() => {
|
|
1117
1114
|
var f;
|
|
1118
1115
|
if (n)
|
|
@@ -1129,18 +1126,18 @@ function _n({
|
|
|
1129
1126
|
}, [o, n]), { colorScheme: s, setColorScheme: l, clearColorScheme: d };
|
|
1130
1127
|
}
|
|
1131
1128
|
function Pn({
|
|
1132
|
-
respectReducedMotion:
|
|
1133
|
-
getRootElement:
|
|
1129
|
+
respectReducedMotion: r,
|
|
1130
|
+
getRootElement: t
|
|
1134
1131
|
}) {
|
|
1135
|
-
|
|
1132
|
+
Qr(() => {
|
|
1136
1133
|
var e;
|
|
1137
|
-
|
|
1138
|
-
}, [
|
|
1134
|
+
r && ((e = t()) == null || e.setAttribute("data-respect-reduced-motion", "true"));
|
|
1135
|
+
}, [r]);
|
|
1139
1136
|
}
|
|
1140
1137
|
Rn();
|
|
1141
|
-
function
|
|
1142
|
-
theme:
|
|
1143
|
-
children:
|
|
1138
|
+
function nt({
|
|
1139
|
+
theme: r,
|
|
1140
|
+
children: t,
|
|
1144
1141
|
getStyleNonce: e,
|
|
1145
1142
|
withStaticClasses: n = !0,
|
|
1146
1143
|
withGlobalClasses: a = !0,
|
|
@@ -1152,21 +1149,21 @@ function nr({
|
|
|
1152
1149
|
defaultColorScheme: u = "light",
|
|
1153
1150
|
getRootElement: f = () => document.documentElement,
|
|
1154
1151
|
cssVariablesResolver: m,
|
|
1155
|
-
forceColorScheme:
|
|
1156
|
-
stylesTransform:
|
|
1152
|
+
forceColorScheme: g,
|
|
1153
|
+
stylesTransform: y,
|
|
1157
1154
|
env: $
|
|
1158
1155
|
}) {
|
|
1159
1156
|
const { colorScheme: h, setColorScheme: C, clearColorScheme: x } = _n({
|
|
1160
1157
|
defaultColorScheme: u,
|
|
1161
|
-
forceColorScheme:
|
|
1158
|
+
forceColorScheme: g,
|
|
1162
1159
|
manager: d,
|
|
1163
1160
|
getRootElement: f
|
|
1164
1161
|
});
|
|
1165
1162
|
return Pn({
|
|
1166
|
-
respectReducedMotion: (
|
|
1163
|
+
respectReducedMotion: (r == null ? void 0 : r.respectReducedMotion) || !1,
|
|
1167
1164
|
getRootElement: f
|
|
1168
1165
|
}), /* @__PURE__ */ p(
|
|
1169
|
-
|
|
1166
|
+
Zr.Provider,
|
|
1170
1167
|
{
|
|
1171
1168
|
value: {
|
|
1172
1169
|
colorScheme: h,
|
|
@@ -1178,102 +1175,102 @@ function nr({
|
|
|
1178
1175
|
cssVariablesResolver: m,
|
|
1179
1176
|
cssVariablesSelector: s,
|
|
1180
1177
|
withStaticClasses: n,
|
|
1181
|
-
stylesTransform:
|
|
1178
|
+
stylesTransform: y,
|
|
1182
1179
|
env: $
|
|
1183
1180
|
},
|
|
1184
|
-
children: /* @__PURE__ */ z(
|
|
1181
|
+
children: /* @__PURE__ */ z(Jr, { theme: r, children: [
|
|
1185
1182
|
i && /* @__PURE__ */ p(
|
|
1186
|
-
|
|
1183
|
+
tt,
|
|
1187
1184
|
{
|
|
1188
1185
|
cssVariablesSelector: s,
|
|
1189
1186
|
deduplicateCssVariables: o
|
|
1190
1187
|
}
|
|
1191
1188
|
),
|
|
1192
1189
|
a && /* @__PURE__ */ p(wn, {}),
|
|
1193
|
-
|
|
1190
|
+
t
|
|
1194
1191
|
] })
|
|
1195
1192
|
}
|
|
1196
1193
|
);
|
|
1197
1194
|
}
|
|
1198
|
-
|
|
1195
|
+
nt.displayName = "@mantine/core/MantineProvider";
|
|
1199
1196
|
const Ln = {
|
|
1200
1197
|
always: "mantine-focus-always",
|
|
1201
1198
|
auto: "mantine-focus-auto",
|
|
1202
1199
|
never: "mantine-focus-never"
|
|
1203
1200
|
};
|
|
1204
|
-
function En({ theme:
|
|
1205
|
-
return
|
|
1206
|
-
(
|
|
1207
|
-
(
|
|
1201
|
+
function En({ theme: r, options: t, unstyled: e }) {
|
|
1202
|
+
return B(
|
|
1203
|
+
(t == null ? void 0 : t.focusable) && !e && (r.focusClassName || Ln[r.focusRing]),
|
|
1204
|
+
(t == null ? void 0 : t.active) && !e && r.activeClassName
|
|
1208
1205
|
);
|
|
1209
1206
|
}
|
|
1210
1207
|
function An({
|
|
1211
|
-
selector:
|
|
1212
|
-
stylesCtx:
|
|
1208
|
+
selector: r,
|
|
1209
|
+
stylesCtx: t,
|
|
1213
1210
|
options: e,
|
|
1214
1211
|
props: n,
|
|
1215
1212
|
theme: a
|
|
1216
1213
|
}) {
|
|
1217
|
-
return
|
|
1214
|
+
return wr({
|
|
1218
1215
|
theme: a,
|
|
1219
1216
|
classNames: e == null ? void 0 : e.classNames,
|
|
1220
1217
|
props: (e == null ? void 0 : e.props) || n,
|
|
1221
|
-
stylesCtx:
|
|
1222
|
-
})[
|
|
1218
|
+
stylesCtx: t
|
|
1219
|
+
})[r];
|
|
1223
1220
|
}
|
|
1224
|
-
function
|
|
1225
|
-
selector:
|
|
1226
|
-
stylesCtx:
|
|
1221
|
+
function Fr({
|
|
1222
|
+
selector: r,
|
|
1223
|
+
stylesCtx: t,
|
|
1227
1224
|
theme: e,
|
|
1228
1225
|
classNames: n,
|
|
1229
1226
|
props: a
|
|
1230
1227
|
}) {
|
|
1231
|
-
return
|
|
1228
|
+
return wr({ theme: e, classNames: n, props: a, stylesCtx: t })[r];
|
|
1232
1229
|
}
|
|
1233
|
-
function On({ rootSelector:
|
|
1234
|
-
return
|
|
1230
|
+
function On({ rootSelector: r, selector: t, className: e }) {
|
|
1231
|
+
return r === t ? e : void 0;
|
|
1235
1232
|
}
|
|
1236
|
-
function In({ selector:
|
|
1237
|
-
return e ? void 0 : r
|
|
1233
|
+
function In({ selector: r, classes: t, unstyled: e }) {
|
|
1234
|
+
return e ? void 0 : t[r];
|
|
1238
1235
|
}
|
|
1239
|
-
function
|
|
1240
|
-
themeName:
|
|
1241
|
-
classNamesPrefix:
|
|
1236
|
+
function Bn({
|
|
1237
|
+
themeName: r,
|
|
1238
|
+
classNamesPrefix: t,
|
|
1242
1239
|
selector: e,
|
|
1243
1240
|
withStaticClass: n
|
|
1244
1241
|
}) {
|
|
1245
|
-
return n === !1 ? [] :
|
|
1242
|
+
return n === !1 ? [] : r.map((a) => `${t}-${a}-${e}`);
|
|
1246
1243
|
}
|
|
1247
|
-
function
|
|
1248
|
-
themeName:
|
|
1249
|
-
theme:
|
|
1244
|
+
function Vn({
|
|
1245
|
+
themeName: r,
|
|
1246
|
+
theme: t,
|
|
1250
1247
|
selector: e,
|
|
1251
1248
|
props: n,
|
|
1252
1249
|
stylesCtx: a
|
|
1253
1250
|
}) {
|
|
1254
|
-
return
|
|
1251
|
+
return r.map(
|
|
1255
1252
|
(o) => {
|
|
1256
1253
|
var i, s;
|
|
1257
|
-
return (s =
|
|
1258
|
-
theme:
|
|
1259
|
-
classNames: (i =
|
|
1254
|
+
return (s = wr({
|
|
1255
|
+
theme: t,
|
|
1256
|
+
classNames: (i = t.components[o]) == null ? void 0 : i.classNames,
|
|
1260
1257
|
props: n,
|
|
1261
1258
|
stylesCtx: a
|
|
1262
1259
|
})) == null ? void 0 : s[e];
|
|
1263
1260
|
}
|
|
1264
1261
|
);
|
|
1265
1262
|
}
|
|
1266
|
-
function
|
|
1267
|
-
options:
|
|
1268
|
-
classes:
|
|
1263
|
+
function jn({
|
|
1264
|
+
options: r,
|
|
1265
|
+
classes: t,
|
|
1269
1266
|
selector: e,
|
|
1270
1267
|
unstyled: n
|
|
1271
1268
|
}) {
|
|
1272
|
-
return
|
|
1269
|
+
return r != null && r.variant && !n ? t[`${e}--${r.variant}`] : void 0;
|
|
1273
1270
|
}
|
|
1274
1271
|
function Fn({
|
|
1275
|
-
theme:
|
|
1276
|
-
options:
|
|
1272
|
+
theme: r,
|
|
1273
|
+
options: t,
|
|
1277
1274
|
themeName: e,
|
|
1278
1275
|
selector: n,
|
|
1279
1276
|
classNamesPrefix: a,
|
|
@@ -1285,60 +1282,60 @@ function Fn({
|
|
|
1285
1282
|
props: u,
|
|
1286
1283
|
stylesCtx: f,
|
|
1287
1284
|
withStaticClasses: m,
|
|
1288
|
-
headless:
|
|
1289
|
-
transformedStyles:
|
|
1285
|
+
headless: g,
|
|
1286
|
+
transformedStyles: y
|
|
1290
1287
|
}) {
|
|
1291
|
-
return
|
|
1292
|
-
En({ theme:
|
|
1293
|
-
|
|
1294
|
-
|
|
1295
|
-
|
|
1296
|
-
|
|
1297
|
-
An({ selector: n, stylesCtx: f, options:
|
|
1288
|
+
return B(
|
|
1289
|
+
En({ theme: r, options: t, unstyled: s || g }),
|
|
1290
|
+
Vn({ theme: r, themeName: e, selector: n, props: u, stylesCtx: f }),
|
|
1291
|
+
jn({ options: t, classes: i, selector: n, unstyled: s }),
|
|
1292
|
+
Fr({ selector: n, stylesCtx: f, theme: r, classNames: o, props: u }),
|
|
1293
|
+
Fr({ selector: n, stylesCtx: f, theme: r, classNames: y, props: u }),
|
|
1294
|
+
An({ selector: n, stylesCtx: f, options: t, props: u, theme: r }),
|
|
1298
1295
|
On({ rootSelector: d, selector: n, className: l }),
|
|
1299
|
-
In({ selector: n, classes: i, unstyled: s ||
|
|
1300
|
-
m && !
|
|
1296
|
+
In({ selector: n, classes: i, unstyled: s || g }),
|
|
1297
|
+
m && !g && Bn({
|
|
1301
1298
|
themeName: e,
|
|
1302
1299
|
classNamesPrefix: a,
|
|
1303
1300
|
selector: n,
|
|
1304
|
-
withStaticClass:
|
|
1301
|
+
withStaticClass: t == null ? void 0 : t.withStaticClass
|
|
1305
1302
|
}),
|
|
1306
|
-
|
|
1303
|
+
t == null ? void 0 : t.className
|
|
1307
1304
|
);
|
|
1308
1305
|
}
|
|
1309
1306
|
function Hn({
|
|
1310
|
-
theme:
|
|
1311
|
-
themeName:
|
|
1307
|
+
theme: r,
|
|
1308
|
+
themeName: t,
|
|
1312
1309
|
props: e,
|
|
1313
1310
|
stylesCtx: n,
|
|
1314
1311
|
selector: a
|
|
1315
1312
|
}) {
|
|
1316
|
-
return
|
|
1313
|
+
return t.map(
|
|
1317
1314
|
(o) => {
|
|
1318
1315
|
var i;
|
|
1319
|
-
return
|
|
1320
|
-
theme:
|
|
1321
|
-
styles: (i =
|
|
1316
|
+
return gr({
|
|
1317
|
+
theme: r,
|
|
1318
|
+
styles: (i = r.components[o]) == null ? void 0 : i.styles,
|
|
1322
1319
|
props: e,
|
|
1323
1320
|
stylesCtx: n
|
|
1324
1321
|
})[a];
|
|
1325
1322
|
}
|
|
1326
1323
|
).reduce((o, i) => ({ ...o, ...i }), {});
|
|
1327
1324
|
}
|
|
1328
|
-
function
|
|
1329
|
-
return Array.isArray(
|
|
1330
|
-
(e, n) => ({ ...e, ...
|
|
1325
|
+
function br({ style: r, theme: t }) {
|
|
1326
|
+
return Array.isArray(r) ? [...r].reduce(
|
|
1327
|
+
(e, n) => ({ ...e, ...br({ style: n, theme: t }) }),
|
|
1331
1328
|
{}
|
|
1332
|
-
) : typeof
|
|
1329
|
+
) : typeof r == "function" ? r(t) : r ?? {};
|
|
1333
1330
|
}
|
|
1334
|
-
function Wn(
|
|
1335
|
-
return
|
|
1336
|
-
|
|
1337
|
-
}),
|
|
1331
|
+
function Wn(r) {
|
|
1332
|
+
return r.reduce((t, e) => (e && Object.keys(e).forEach((n) => {
|
|
1333
|
+
t[n] = { ...t[n], ...Sr(e[n]) };
|
|
1334
|
+
}), t), {});
|
|
1338
1335
|
}
|
|
1339
1336
|
function zn({
|
|
1340
|
-
vars:
|
|
1341
|
-
varsResolver:
|
|
1337
|
+
vars: r,
|
|
1338
|
+
varsResolver: t,
|
|
1342
1339
|
theme: e,
|
|
1343
1340
|
props: n,
|
|
1344
1341
|
stylesCtx: a,
|
|
@@ -1348,17 +1345,17 @@ function zn({
|
|
|
1348
1345
|
}) {
|
|
1349
1346
|
var l;
|
|
1350
1347
|
return (l = Wn([
|
|
1351
|
-
s ? {} :
|
|
1348
|
+
s ? {} : t == null ? void 0 : t(e, n, a),
|
|
1352
1349
|
...i.map((d) => {
|
|
1353
1350
|
var u, f, m;
|
|
1354
1351
|
return (m = (f = (u = e.components) == null ? void 0 : u[d]) == null ? void 0 : f.vars) == null ? void 0 : m.call(f, e, n, a);
|
|
1355
1352
|
}),
|
|
1356
|
-
|
|
1353
|
+
r == null ? void 0 : r(e, n, a)
|
|
1357
1354
|
])) == null ? void 0 : l[o];
|
|
1358
1355
|
}
|
|
1359
1356
|
function Yn({
|
|
1360
|
-
theme:
|
|
1361
|
-
themeName:
|
|
1357
|
+
theme: r,
|
|
1358
|
+
themeName: t,
|
|
1362
1359
|
selector: e,
|
|
1363
1360
|
options: n,
|
|
1364
1361
|
props: a,
|
|
@@ -1372,26 +1369,26 @@ function Yn({
|
|
|
1372
1369
|
withStylesTransform: m
|
|
1373
1370
|
}) {
|
|
1374
1371
|
return {
|
|
1375
|
-
...!m && Hn({ theme:
|
|
1376
|
-
...!m &&
|
|
1377
|
-
...!m &&
|
|
1378
|
-
...zn({ theme:
|
|
1379
|
-
...i === e ?
|
|
1380
|
-
...
|
|
1372
|
+
...!m && Hn({ theme: r, themeName: t, props: a, stylesCtx: o, selector: e }),
|
|
1373
|
+
...!m && gr({ theme: r, styles: s, props: a, stylesCtx: o })[e],
|
|
1374
|
+
...!m && gr({ theme: r, styles: n == null ? void 0 : n.styles, props: (n == null ? void 0 : n.props) || a, stylesCtx: o })[e],
|
|
1375
|
+
...zn({ theme: r, props: a, stylesCtx: o, vars: d, varsResolver: u, selector: e, themeName: t, headless: f }),
|
|
1376
|
+
...i === e ? br({ style: l, theme: r }) : null,
|
|
1377
|
+
...br({ style: n == null ? void 0 : n.style, theme: r })
|
|
1381
1378
|
};
|
|
1382
1379
|
}
|
|
1383
|
-
function Gn({ props:
|
|
1380
|
+
function Gn({ props: r, stylesCtx: t, themeName: e }) {
|
|
1384
1381
|
var i;
|
|
1385
|
-
const n =
|
|
1382
|
+
const n = V(), a = (i = cn()) == null ? void 0 : i();
|
|
1386
1383
|
return {
|
|
1387
1384
|
getTransformedStyles: (s) => a ? [
|
|
1388
1385
|
...s.map(
|
|
1389
|
-
(d) => a(d, { props:
|
|
1386
|
+
(d) => a(d, { props: r, theme: n, ctx: t })
|
|
1390
1387
|
),
|
|
1391
1388
|
...e.map(
|
|
1392
1389
|
(d) => {
|
|
1393
1390
|
var u;
|
|
1394
|
-
return a((u = n.components[d]) == null ? void 0 : u.styles, { props:
|
|
1391
|
+
return a((u = n.components[d]) == null ? void 0 : u.styles, { props: r, theme: n, ctx: t });
|
|
1395
1392
|
}
|
|
1396
1393
|
)
|
|
1397
1394
|
].filter(Boolean) : [],
|
|
@@ -1399,8 +1396,8 @@ function Gn({ props: t, stylesCtx: r, themeName: e }) {
|
|
|
1399
1396
|
};
|
|
1400
1397
|
}
|
|
1401
1398
|
function Q({
|
|
1402
|
-
name:
|
|
1403
|
-
classes:
|
|
1399
|
+
name: r,
|
|
1400
|
+
classes: t,
|
|
1404
1401
|
props: e,
|
|
1405
1402
|
stylesCtx: n,
|
|
1406
1403
|
className: a,
|
|
@@ -1412,7 +1409,7 @@ function Q({
|
|
|
1412
1409
|
vars: u,
|
|
1413
1410
|
varsResolver: f
|
|
1414
1411
|
}) {
|
|
1415
|
-
const m =
|
|
1412
|
+
const m = V(), g = en(), y = on(), $ = an(), h = (Array.isArray(r) ? r : [r]).filter((v) => v), { withStylesTransform: C, getTransformedStyles: x } = Gn({
|
|
1416
1413
|
props: e,
|
|
1417
1414
|
stylesCtx: n,
|
|
1418
1415
|
themeName: h
|
|
@@ -1423,15 +1420,15 @@ function Q({
|
|
|
1423
1420
|
options: w,
|
|
1424
1421
|
themeName: h,
|
|
1425
1422
|
selector: v,
|
|
1426
|
-
classNamesPrefix:
|
|
1423
|
+
classNamesPrefix: g,
|
|
1427
1424
|
classNames: l,
|
|
1428
|
-
classes:
|
|
1425
|
+
classes: t,
|
|
1429
1426
|
unstyled: s,
|
|
1430
1427
|
className: a,
|
|
1431
1428
|
rootSelector: i,
|
|
1432
1429
|
props: e,
|
|
1433
1430
|
stylesCtx: n,
|
|
1434
|
-
withStaticClasses:
|
|
1431
|
+
withStaticClasses: y,
|
|
1435
1432
|
headless: $,
|
|
1436
1433
|
transformedStyles: x([w == null ? void 0 : w.styles, d])
|
|
1437
1434
|
}),
|
|
@@ -1453,23 +1450,23 @@ function Q({
|
|
|
1453
1450
|
});
|
|
1454
1451
|
}
|
|
1455
1452
|
const Dn = ({
|
|
1456
|
-
defaultColorScheme:
|
|
1457
|
-
localStorageKey:
|
|
1453
|
+
defaultColorScheme: r,
|
|
1454
|
+
localStorageKey: t,
|
|
1458
1455
|
forceColorScheme: e
|
|
1459
1456
|
}) => e ? `document.documentElement.setAttribute("data-mantine-color-scheme", '${e}');` : `try {
|
|
1460
|
-
var _colorScheme = window.localStorage.getItem("${
|
|
1461
|
-
var colorScheme = _colorScheme === "light" || _colorScheme === "dark" || _colorScheme === "auto" ? _colorScheme : "${
|
|
1457
|
+
var _colorScheme = window.localStorage.getItem("${t}");
|
|
1458
|
+
var colorScheme = _colorScheme === "light" || _colorScheme === "dark" || _colorScheme === "auto" ? _colorScheme : "${r}";
|
|
1462
1459
|
var computedColorScheme = colorScheme !== "auto" ? colorScheme : window.matchMedia("(prefers-color-scheme: dark)").matches ? "dark" : "light";
|
|
1463
1460
|
document.documentElement.setAttribute("data-mantine-color-scheme", computedColorScheme);
|
|
1464
1461
|
} catch (e) {}
|
|
1465
1462
|
`;
|
|
1466
|
-
function
|
|
1467
|
-
defaultColorScheme:
|
|
1468
|
-
localStorageKey:
|
|
1463
|
+
function _e({
|
|
1464
|
+
defaultColorScheme: r = "light",
|
|
1465
|
+
localStorageKey: t = "mantine-color-scheme-value",
|
|
1469
1466
|
forceColorScheme: e,
|
|
1470
1467
|
...n
|
|
1471
1468
|
}) {
|
|
1472
|
-
const a = ["light", "dark", "auto"].includes(
|
|
1469
|
+
const a = ["light", "dark", "auto"].includes(r) ? r : "light";
|
|
1473
1470
|
return /* @__PURE__ */ p(
|
|
1474
1471
|
"script",
|
|
1475
1472
|
{
|
|
@@ -1478,48 +1475,48 @@ function Pe({
|
|
|
1478
1475
|
dangerouslySetInnerHTML: {
|
|
1479
1476
|
__html: Dn({
|
|
1480
1477
|
defaultColorScheme: a,
|
|
1481
|
-
localStorageKey:
|
|
1478
|
+
localStorageKey: t,
|
|
1482
1479
|
forceColorScheme: e
|
|
1483
1480
|
})
|
|
1484
1481
|
}
|
|
1485
1482
|
}
|
|
1486
1483
|
);
|
|
1487
1484
|
}
|
|
1488
|
-
function I(
|
|
1485
|
+
function I(r, t, e) {
|
|
1489
1486
|
var i;
|
|
1490
|
-
const n =
|
|
1491
|
-
return { ...
|
|
1487
|
+
const n = V(), a = (i = n.components[r]) == null ? void 0 : i.defaultProps, o = typeof a == "function" ? a(n) : a;
|
|
1488
|
+
return { ...t, ...o, ...Sr(e) };
|
|
1492
1489
|
}
|
|
1493
|
-
const
|
|
1490
|
+
const Pe = {
|
|
1494
1491
|
suppressHydrationWarning: !0,
|
|
1495
1492
|
"data-mantine-color-scheme": "light"
|
|
1496
1493
|
};
|
|
1497
|
-
function
|
|
1498
|
-
return M(
|
|
1499
|
-
(
|
|
1494
|
+
function ur(r) {
|
|
1495
|
+
return M(r).reduce(
|
|
1496
|
+
(t, e) => r[e] !== void 0 ? `${t}${Dt(e)}:${r[e]};` : t,
|
|
1500
1497
|
""
|
|
1501
1498
|
).trim();
|
|
1502
1499
|
}
|
|
1503
|
-
function Xn({ selector:
|
|
1504
|
-
const a =
|
|
1505
|
-
(s) => `@container ${s.query}{${
|
|
1500
|
+
function Xn({ selector: r, styles: t, media: e, container: n }) {
|
|
1501
|
+
const a = t ? ur(t) : "", o = Array.isArray(e) ? e.map((s) => `@media${s.query}{${r}{${ur(s.styles)}}}`) : [], i = Array.isArray(n) ? n.map(
|
|
1502
|
+
(s) => `@container ${s.query}{${r}{${ur(s.styles)}}}`
|
|
1506
1503
|
) : [];
|
|
1507
|
-
return `${a ? `${
|
|
1504
|
+
return `${a ? `${r}{${a}}` : ""}${o.join("")}${i.join("")}`.trim();
|
|
1508
1505
|
}
|
|
1509
|
-
function Un(
|
|
1510
|
-
const
|
|
1506
|
+
function Un(r) {
|
|
1507
|
+
const t = Cr();
|
|
1511
1508
|
return /* @__PURE__ */ p(
|
|
1512
1509
|
"style",
|
|
1513
1510
|
{
|
|
1514
1511
|
"data-mantine-styles": "inline",
|
|
1515
|
-
nonce:
|
|
1516
|
-
dangerouslySetInnerHTML: { __html: Xn(
|
|
1512
|
+
nonce: t == null ? void 0 : t(),
|
|
1513
|
+
dangerouslySetInnerHTML: { __html: Xn(r) }
|
|
1517
1514
|
}
|
|
1518
1515
|
);
|
|
1519
1516
|
}
|
|
1520
|
-
function qn(
|
|
1517
|
+
function qn(r) {
|
|
1521
1518
|
const {
|
|
1522
|
-
m:
|
|
1519
|
+
m: t,
|
|
1523
1520
|
mx: e,
|
|
1524
1521
|
my: n,
|
|
1525
1522
|
mt: a,
|
|
@@ -1531,8 +1528,8 @@ function qn(t) {
|
|
|
1531
1528
|
p: u,
|
|
1532
1529
|
px: f,
|
|
1533
1530
|
py: m,
|
|
1534
|
-
pt:
|
|
1535
|
-
pb:
|
|
1531
|
+
pt: g,
|
|
1532
|
+
pb: y,
|
|
1536
1533
|
pl: $,
|
|
1537
1534
|
pr: h,
|
|
1538
1535
|
pe: C,
|
|
@@ -1544,39 +1541,39 @@ function qn(t) {
|
|
|
1544
1541
|
ff: k,
|
|
1545
1542
|
fz: S,
|
|
1546
1543
|
fw: E,
|
|
1547
|
-
lts:
|
|
1548
|
-
ta:
|
|
1549
|
-
lh:
|
|
1550
|
-
fs:
|
|
1551
|
-
tt:
|
|
1552
|
-
td:
|
|
1553
|
-
w:
|
|
1554
|
-
miw: $
|
|
1555
|
-
maw:
|
|
1556
|
-
h:
|
|
1557
|
-
mih:
|
|
1558
|
-
mah:
|
|
1559
|
-
bgsz:
|
|
1560
|
-
bgp:
|
|
1561
|
-
bgr:
|
|
1562
|
-
bga:
|
|
1563
|
-
pos:
|
|
1564
|
-
top:
|
|
1565
|
-
left:
|
|
1566
|
-
bottom:
|
|
1567
|
-
right:
|
|
1568
|
-
inset:
|
|
1569
|
-
display:
|
|
1570
|
-
flex:
|
|
1571
|
-
hiddenFrom:
|
|
1572
|
-
visibleFrom:
|
|
1573
|
-
lightHidden:
|
|
1574
|
-
darkHidden:
|
|
1575
|
-
sx:
|
|
1576
|
-
...
|
|
1577
|
-
} =
|
|
1578
|
-
return { styleProps:
|
|
1579
|
-
m:
|
|
1544
|
+
lts: or,
|
|
1545
|
+
ta: ar,
|
|
1546
|
+
lh: pt,
|
|
1547
|
+
fs: gt,
|
|
1548
|
+
tt: yt,
|
|
1549
|
+
td: bt,
|
|
1550
|
+
w: ht,
|
|
1551
|
+
miw: $t,
|
|
1552
|
+
maw: vt,
|
|
1553
|
+
h: St,
|
|
1554
|
+
mih: wt,
|
|
1555
|
+
mah: Ct,
|
|
1556
|
+
bgsz: xt,
|
|
1557
|
+
bgp: kt,
|
|
1558
|
+
bgr: Nt,
|
|
1559
|
+
bga: Tt,
|
|
1560
|
+
pos: Mt,
|
|
1561
|
+
top: Rt,
|
|
1562
|
+
left: _t,
|
|
1563
|
+
bottom: Pt,
|
|
1564
|
+
right: Lt,
|
|
1565
|
+
inset: Et,
|
|
1566
|
+
display: At,
|
|
1567
|
+
flex: Ot,
|
|
1568
|
+
hiddenFrom: It,
|
|
1569
|
+
visibleFrom: Bt,
|
|
1570
|
+
lightHidden: Vt,
|
|
1571
|
+
darkHidden: jt,
|
|
1572
|
+
sx: Ft,
|
|
1573
|
+
...Ht
|
|
1574
|
+
} = r;
|
|
1575
|
+
return { styleProps: Sr({
|
|
1576
|
+
m: t,
|
|
1580
1577
|
mx: e,
|
|
1581
1578
|
my: n,
|
|
1582
1579
|
mt: a,
|
|
@@ -1588,8 +1585,8 @@ function qn(t) {
|
|
|
1588
1585
|
p: u,
|
|
1589
1586
|
px: f,
|
|
1590
1587
|
py: m,
|
|
1591
|
-
pt:
|
|
1592
|
-
pb:
|
|
1588
|
+
pt: g,
|
|
1589
|
+
pb: y,
|
|
1593
1590
|
pl: $,
|
|
1594
1591
|
pr: h,
|
|
1595
1592
|
pe: C,
|
|
@@ -1601,36 +1598,36 @@ function qn(t) {
|
|
|
1601
1598
|
ff: k,
|
|
1602
1599
|
fz: S,
|
|
1603
1600
|
fw: E,
|
|
1604
|
-
lts:
|
|
1605
|
-
ta:
|
|
1606
|
-
lh:
|
|
1607
|
-
fs:
|
|
1608
|
-
tt:
|
|
1609
|
-
td:
|
|
1610
|
-
w:
|
|
1611
|
-
miw: $
|
|
1612
|
-
maw:
|
|
1613
|
-
h:
|
|
1614
|
-
mih:
|
|
1615
|
-
mah:
|
|
1616
|
-
bgsz:
|
|
1617
|
-
bgp:
|
|
1618
|
-
bgr:
|
|
1619
|
-
bga:
|
|
1620
|
-
pos:
|
|
1621
|
-
top:
|
|
1622
|
-
left:
|
|
1623
|
-
bottom:
|
|
1624
|
-
right:
|
|
1625
|
-
inset:
|
|
1626
|
-
display:
|
|
1627
|
-
flex:
|
|
1628
|
-
hiddenFrom:
|
|
1629
|
-
visibleFrom:
|
|
1630
|
-
lightHidden:
|
|
1631
|
-
darkHidden:
|
|
1632
|
-
sx:
|
|
1633
|
-
}), rest:
|
|
1601
|
+
lts: or,
|
|
1602
|
+
ta: ar,
|
|
1603
|
+
lh: pt,
|
|
1604
|
+
fs: gt,
|
|
1605
|
+
tt: yt,
|
|
1606
|
+
td: bt,
|
|
1607
|
+
w: ht,
|
|
1608
|
+
miw: $t,
|
|
1609
|
+
maw: vt,
|
|
1610
|
+
h: St,
|
|
1611
|
+
mih: wt,
|
|
1612
|
+
mah: Ct,
|
|
1613
|
+
bgsz: xt,
|
|
1614
|
+
bgp: kt,
|
|
1615
|
+
bgr: Nt,
|
|
1616
|
+
bga: Tt,
|
|
1617
|
+
pos: Mt,
|
|
1618
|
+
top: Rt,
|
|
1619
|
+
left: _t,
|
|
1620
|
+
bottom: Pt,
|
|
1621
|
+
right: Lt,
|
|
1622
|
+
inset: Et,
|
|
1623
|
+
display: At,
|
|
1624
|
+
flex: Ot,
|
|
1625
|
+
hiddenFrom: It,
|
|
1626
|
+
visibleFrom: Bt,
|
|
1627
|
+
lightHidden: Vt,
|
|
1628
|
+
darkHidden: jt,
|
|
1629
|
+
sx: Ft
|
|
1630
|
+
}), rest: Ht };
|
|
1634
1631
|
}
|
|
1635
1632
|
const Qn = {
|
|
1636
1633
|
m: { type: "spacing", property: "margin" },
|
|
@@ -1683,64 +1680,64 @@ const Qn = {
|
|
|
1683
1680
|
display: { type: "identity", property: "display" },
|
|
1684
1681
|
flex: { type: "identity", property: "flex" }
|
|
1685
1682
|
};
|
|
1686
|
-
function
|
|
1687
|
-
const e = q({ color:
|
|
1683
|
+
function Tr(r, t) {
|
|
1684
|
+
const e = q({ color: r, theme: t });
|
|
1688
1685
|
return e.color === "dimmed" ? "var(--mantine-color-dimmed)" : e.color === "bright" ? "var(--mantine-color-bright)" : e.variable ? `var(${e.variable})` : e.color;
|
|
1689
1686
|
}
|
|
1690
|
-
function Kn(
|
|
1691
|
-
const e = q({ color:
|
|
1692
|
-
return e.isThemeColor && e.shade === void 0 ? `var(--mantine-color-${e.color}-text)` :
|
|
1687
|
+
function Kn(r, t) {
|
|
1688
|
+
const e = q({ color: r, theme: t });
|
|
1689
|
+
return e.isThemeColor && e.shade === void 0 ? `var(--mantine-color-${e.color}-text)` : Tr(r, t);
|
|
1693
1690
|
}
|
|
1694
|
-
function Zn(
|
|
1695
|
-
if (typeof
|
|
1696
|
-
return c(
|
|
1697
|
-
if (typeof
|
|
1698
|
-
const [e, n, ...a] =
|
|
1691
|
+
function Zn(r, t) {
|
|
1692
|
+
if (typeof r == "number")
|
|
1693
|
+
return c(r);
|
|
1694
|
+
if (typeof r == "string") {
|
|
1695
|
+
const [e, n, ...a] = r.split(" ").filter((i) => i.trim() !== "");
|
|
1699
1696
|
let o = `${c(e)}`;
|
|
1700
|
-
return n && (o += ` ${n}`), a.length > 0 && (o += ` ${
|
|
1697
|
+
return n && (o += ` ${n}`), a.length > 0 && (o += ` ${Tr(a.join(" "), t)}`), o.trim();
|
|
1701
1698
|
}
|
|
1702
|
-
return
|
|
1699
|
+
return r;
|
|
1703
1700
|
}
|
|
1704
|
-
const
|
|
1701
|
+
const Hr = {
|
|
1705
1702
|
text: "var(--mantine-font-family)",
|
|
1706
1703
|
mono: "var(--mantine-font-family-monospace)",
|
|
1707
1704
|
monospace: "var(--mantine-font-family-monospace)",
|
|
1708
1705
|
heading: "var(--mantine-font-family-headings)",
|
|
1709
1706
|
headings: "var(--mantine-font-family-headings)"
|
|
1710
1707
|
};
|
|
1711
|
-
function Jn(
|
|
1712
|
-
return typeof
|
|
1708
|
+
function Jn(r) {
|
|
1709
|
+
return typeof r == "string" && r in Hr ? Hr[r] : r;
|
|
1713
1710
|
}
|
|
1714
|
-
const
|
|
1715
|
-
function
|
|
1716
|
-
return typeof
|
|
1711
|
+
const re = ["h1", "h2", "h3", "h4", "h5", "h6"];
|
|
1712
|
+
function te(r, t) {
|
|
1713
|
+
return typeof r == "string" && r in t.fontSizes ? `var(--mantine-font-size-${r})` : typeof r == "string" && re.includes(r) ? `var(--mantine-${r}-font-size)` : typeof r == "number" || typeof r == "string" ? c(r) : r;
|
|
1717
1714
|
}
|
|
1718
|
-
function ne(
|
|
1719
|
-
return
|
|
1715
|
+
function ne(r) {
|
|
1716
|
+
return r;
|
|
1720
1717
|
}
|
|
1721
1718
|
const ee = ["h1", "h2", "h3", "h4", "h5", "h6"];
|
|
1722
|
-
function oe(
|
|
1723
|
-
return typeof
|
|
1724
|
-
}
|
|
1725
|
-
function ae(
|
|
1726
|
-
return typeof
|
|
1727
|
-
}
|
|
1728
|
-
function ie(
|
|
1729
|
-
if (typeof
|
|
1730
|
-
return c(
|
|
1731
|
-
if (typeof
|
|
1732
|
-
const e =
|
|
1733
|
-
if (!(e in
|
|
1734
|
-
return c(
|
|
1719
|
+
function oe(r, t) {
|
|
1720
|
+
return typeof r == "string" && r in t.lineHeights ? `var(--mantine-line-height-${r})` : typeof r == "string" && ee.includes(r) ? `var(--mantine-${r}-line-height)` : r;
|
|
1721
|
+
}
|
|
1722
|
+
function ae(r) {
|
|
1723
|
+
return typeof r == "number" ? c(r) : r;
|
|
1724
|
+
}
|
|
1725
|
+
function ie(r, t) {
|
|
1726
|
+
if (typeof r == "number")
|
|
1727
|
+
return c(r);
|
|
1728
|
+
if (typeof r == "string") {
|
|
1729
|
+
const e = r.replace("-", "");
|
|
1730
|
+
if (!(e in t.spacing))
|
|
1731
|
+
return c(r);
|
|
1735
1732
|
const n = `--mantine-spacing-${e}`;
|
|
1736
|
-
return
|
|
1733
|
+
return r.startsWith("-") ? `calc(var(${n}) * -1)` : `var(${n})`;
|
|
1737
1734
|
}
|
|
1738
|
-
return
|
|
1735
|
+
return r;
|
|
1739
1736
|
}
|
|
1740
|
-
const
|
|
1741
|
-
color:
|
|
1737
|
+
const mr = {
|
|
1738
|
+
color: Tr,
|
|
1742
1739
|
textColor: Kn,
|
|
1743
|
-
fontSize:
|
|
1740
|
+
fontSize: te,
|
|
1744
1741
|
spacing: ie,
|
|
1745
1742
|
identity: ne,
|
|
1746
1743
|
size: ae,
|
|
@@ -1748,55 +1745,55 @@ const mt = {
|
|
|
1748
1745
|
fontFamily: Jn,
|
|
1749
1746
|
border: Zn
|
|
1750
1747
|
};
|
|
1751
|
-
function
|
|
1752
|
-
return
|
|
1748
|
+
function Wr(r) {
|
|
1749
|
+
return r.replace("(min-width: ", "").replace("em)", "");
|
|
1753
1750
|
}
|
|
1754
1751
|
function se({
|
|
1755
|
-
media:
|
|
1756
|
-
...
|
|
1752
|
+
media: r,
|
|
1753
|
+
...t
|
|
1757
1754
|
}) {
|
|
1758
|
-
const n = Object.keys(
|
|
1759
|
-
return { ...
|
|
1755
|
+
const n = Object.keys(r).sort((a, o) => Number(Wr(a)) - Number(Wr(o))).map((a) => ({ query: a, styles: r[a] }));
|
|
1756
|
+
return { ...t, media: n };
|
|
1760
1757
|
}
|
|
1761
|
-
function ce(
|
|
1762
|
-
if (typeof
|
|
1758
|
+
function ce(r) {
|
|
1759
|
+
if (typeof r != "object" || r === null)
|
|
1763
1760
|
return !1;
|
|
1764
|
-
const
|
|
1765
|
-
return !(
|
|
1761
|
+
const t = Object.keys(r);
|
|
1762
|
+
return !(t.length === 1 && t[0] === "base");
|
|
1766
1763
|
}
|
|
1767
|
-
function le(
|
|
1768
|
-
return typeof
|
|
1764
|
+
function le(r) {
|
|
1765
|
+
return typeof r == "object" && r !== null ? "base" in r ? r.base : void 0 : r;
|
|
1769
1766
|
}
|
|
1770
|
-
function de(
|
|
1771
|
-
return typeof
|
|
1767
|
+
function de(r) {
|
|
1768
|
+
return typeof r == "object" && r !== null ? M(r).filter((t) => t !== "base") : [];
|
|
1772
1769
|
}
|
|
1773
|
-
function fe(
|
|
1774
|
-
return typeof
|
|
1770
|
+
function fe(r, t) {
|
|
1771
|
+
return typeof r == "object" && r !== null && t in r ? r[t] : r;
|
|
1775
1772
|
}
|
|
1776
1773
|
function ue({
|
|
1777
|
-
styleProps:
|
|
1778
|
-
data:
|
|
1774
|
+
styleProps: r,
|
|
1775
|
+
data: t,
|
|
1779
1776
|
theme: e
|
|
1780
1777
|
}) {
|
|
1781
1778
|
return se(
|
|
1782
|
-
M(
|
|
1779
|
+
M(r).reduce(
|
|
1783
1780
|
(n, a) => {
|
|
1784
1781
|
if (a === "hiddenFrom" || a === "visibleFrom" || a === "sx")
|
|
1785
1782
|
return n;
|
|
1786
|
-
const o =
|
|
1787
|
-
if (!ce(
|
|
1783
|
+
const o = t[a], i = Array.isArray(o.property) ? o.property : [o.property], s = le(r[a]);
|
|
1784
|
+
if (!ce(r[a]))
|
|
1788
1785
|
return i.forEach((d) => {
|
|
1789
|
-
n.inlineStyles[d] =
|
|
1786
|
+
n.inlineStyles[d] = mr[o.type](s, e);
|
|
1790
1787
|
}), n;
|
|
1791
1788
|
n.hasResponsiveStyles = !0;
|
|
1792
|
-
const l = de(
|
|
1789
|
+
const l = de(r[a]);
|
|
1793
1790
|
return i.forEach((d) => {
|
|
1794
|
-
s && (n.styles[d] =
|
|
1791
|
+
s && (n.styles[d] = mr[o.type](s, e)), l.forEach((u) => {
|
|
1795
1792
|
const f = `(min-width: ${e.breakpoints[u]})`;
|
|
1796
1793
|
n.media[f] = {
|
|
1797
1794
|
...n.media[f],
|
|
1798
|
-
[d]:
|
|
1799
|
-
fe(
|
|
1795
|
+
[d]: mr[o.type](
|
|
1796
|
+
fe(r[a], u),
|
|
1800
1797
|
e
|
|
1801
1798
|
)
|
|
1802
1799
|
};
|
|
@@ -1813,42 +1810,42 @@ function ue({
|
|
|
1813
1810
|
);
|
|
1814
1811
|
}
|
|
1815
1812
|
function me() {
|
|
1816
|
-
return `__m__-${
|
|
1813
|
+
return `__m__-${Yt().replace(/:/g, "")}`;
|
|
1817
1814
|
}
|
|
1818
|
-
function
|
|
1819
|
-
return
|
|
1815
|
+
function et(r) {
|
|
1816
|
+
return r.startsWith("data-") ? r : `data-${r}`;
|
|
1820
1817
|
}
|
|
1821
|
-
function pe(
|
|
1822
|
-
return Object.keys(
|
|
1823
|
-
const n =
|
|
1824
|
-
return n === void 0 || n === "" || n === !1 || n === null || (
|
|
1818
|
+
function pe(r) {
|
|
1819
|
+
return Object.keys(r).reduce((t, e) => {
|
|
1820
|
+
const n = r[e];
|
|
1821
|
+
return n === void 0 || n === "" || n === !1 || n === null || (t[et(e)] = r[e]), t;
|
|
1825
1822
|
}, {});
|
|
1826
1823
|
}
|
|
1827
|
-
function
|
|
1828
|
-
return
|
|
1829
|
-
(
|
|
1824
|
+
function ot(r) {
|
|
1825
|
+
return r ? typeof r == "string" ? { [et(r)]: !0 } : Array.isArray(r) ? [...r].reduce(
|
|
1826
|
+
(t, e) => ({ ...t, ...ot(e) }),
|
|
1830
1827
|
{}
|
|
1831
|
-
) : pe(
|
|
1828
|
+
) : pe(r) : null;
|
|
1832
1829
|
}
|
|
1833
|
-
function
|
|
1834
|
-
return Array.isArray(
|
|
1835
|
-
(e, n) => ({ ...e, ...
|
|
1830
|
+
function hr(r, t) {
|
|
1831
|
+
return Array.isArray(r) ? [...r].reduce(
|
|
1832
|
+
(e, n) => ({ ...e, ...hr(n, t) }),
|
|
1836
1833
|
{}
|
|
1837
|
-
) : typeof
|
|
1834
|
+
) : typeof r == "function" ? r(t) : r ?? {};
|
|
1838
1835
|
}
|
|
1839
|
-
function
|
|
1840
|
-
theme:
|
|
1841
|
-
style:
|
|
1836
|
+
function ge({
|
|
1837
|
+
theme: r,
|
|
1838
|
+
style: t,
|
|
1842
1839
|
vars: e,
|
|
1843
1840
|
styleProps: n
|
|
1844
1841
|
}) {
|
|
1845
|
-
const a =
|
|
1842
|
+
const a = hr(t, r), o = hr(e, r);
|
|
1846
1843
|
return { ...a, ...o, ...n };
|
|
1847
1844
|
}
|
|
1848
|
-
const
|
|
1845
|
+
const at = _(
|
|
1849
1846
|
({
|
|
1850
|
-
component:
|
|
1851
|
-
style:
|
|
1847
|
+
component: r,
|
|
1848
|
+
style: t,
|
|
1852
1849
|
__vars: e,
|
|
1853
1850
|
className: n,
|
|
1854
1851
|
variant: a,
|
|
@@ -1860,22 +1857,22 @@ const ar = _(
|
|
|
1860
1857
|
darkHidden: u,
|
|
1861
1858
|
renderRoot: f,
|
|
1862
1859
|
__size: m,
|
|
1863
|
-
...
|
|
1864
|
-
},
|
|
1860
|
+
...g
|
|
1861
|
+
}, y) => {
|
|
1865
1862
|
var S;
|
|
1866
|
-
const $ =
|
|
1863
|
+
const $ = V(), h = r || "div", { styleProps: C, rest: x } = qn(g), v = sn(), w = (S = v == null ? void 0 : v()) == null ? void 0 : S(C.sx), L = me(), b = ue({
|
|
1867
1864
|
styleProps: C,
|
|
1868
1865
|
theme: $,
|
|
1869
1866
|
data: Qn
|
|
1870
1867
|
}), k = {
|
|
1871
|
-
ref:
|
|
1872
|
-
style:
|
|
1868
|
+
ref: y,
|
|
1869
|
+
style: ge({
|
|
1873
1870
|
theme: $,
|
|
1874
|
-
style:
|
|
1871
|
+
style: t,
|
|
1875
1872
|
vars: e,
|
|
1876
1873
|
styleProps: b.inlineStyles
|
|
1877
1874
|
}),
|
|
1878
|
-
className:
|
|
1875
|
+
className: B(n, w, {
|
|
1879
1876
|
[L]: b.hasResponsiveStyles,
|
|
1880
1877
|
"mantine-light-hidden": d,
|
|
1881
1878
|
"mantine-dark-hidden": u,
|
|
@@ -1883,12 +1880,12 @@ const ar = _(
|
|
|
1883
1880
|
[`mantine-visible-from-${l}`]: l
|
|
1884
1881
|
}),
|
|
1885
1882
|
"data-variant": a,
|
|
1886
|
-
"data-size":
|
|
1883
|
+
"data-size": Ur(i) ? void 0 : i || void 0,
|
|
1887
1884
|
size: m,
|
|
1888
|
-
...
|
|
1885
|
+
...ot(o),
|
|
1889
1886
|
...x
|
|
1890
1887
|
};
|
|
1891
|
-
return /* @__PURE__ */ z(
|
|
1888
|
+
return /* @__PURE__ */ z(pr, { children: [
|
|
1892
1889
|
b.hasResponsiveStyles && /* @__PURE__ */ p(
|
|
1893
1890
|
Un,
|
|
1894
1891
|
{
|
|
@@ -1901,31 +1898,31 @@ const ar = _(
|
|
|
1901
1898
|
] });
|
|
1902
1899
|
}
|
|
1903
1900
|
);
|
|
1904
|
-
|
|
1905
|
-
const N =
|
|
1906
|
-
function
|
|
1907
|
-
return
|
|
1908
|
-
}
|
|
1909
|
-
function
|
|
1910
|
-
const
|
|
1911
|
-
return
|
|
1912
|
-
const n = _((a, o) => /* @__PURE__ */ p(
|
|
1913
|
-
return n.extend =
|
|
1914
|
-
},
|
|
1915
|
-
}
|
|
1916
|
-
function
|
|
1917
|
-
const
|
|
1918
|
-
return
|
|
1919
|
-
const n = _((a, o) => /* @__PURE__ */ p(
|
|
1920
|
-
return n.extend =
|
|
1921
|
-
},
|
|
1922
|
-
}
|
|
1923
|
-
var
|
|
1924
|
-
const
|
|
1901
|
+
at.displayName = "@mantine/core/Box";
|
|
1902
|
+
const N = at;
|
|
1903
|
+
function it(r) {
|
|
1904
|
+
return r;
|
|
1905
|
+
}
|
|
1906
|
+
function Mr(r) {
|
|
1907
|
+
const t = _(r);
|
|
1908
|
+
return t.extend = it, t.withProps = (e) => {
|
|
1909
|
+
const n = _((a, o) => /* @__PURE__ */ p(t, { ...e, ...a, ref: o }));
|
|
1910
|
+
return n.extend = t.extend, n.displayName = `WithProps(${t.displayName})`, n;
|
|
1911
|
+
}, t;
|
|
1912
|
+
}
|
|
1913
|
+
function st(r) {
|
|
1914
|
+
const t = _(r);
|
|
1915
|
+
return t.withProps = (e) => {
|
|
1916
|
+
const n = _((a, o) => /* @__PURE__ */ p(t, { ...e, ...a, ref: o }));
|
|
1917
|
+
return n.extend = t.extend, n.displayName = `WithProps(${t.displayName})`, n;
|
|
1918
|
+
}, t.extend = it, t;
|
|
1919
|
+
}
|
|
1920
|
+
var ct = { root: "m_87cf2631" };
|
|
1921
|
+
const ye = {
|
|
1925
1922
|
__staticSelector: "UnstyledButton"
|
|
1926
|
-
},
|
|
1927
|
-
(
|
|
1928
|
-
const e = I("UnstyledButton",
|
|
1923
|
+
}, Rr = st(
|
|
1924
|
+
(r, t) => {
|
|
1925
|
+
const e = I("UnstyledButton", ye, r), {
|
|
1929
1926
|
className: n,
|
|
1930
1927
|
component: a = "button",
|
|
1931
1928
|
__staticSelector: o,
|
|
@@ -1937,7 +1934,7 @@ const ge = {
|
|
|
1937
1934
|
} = e, f = Q({
|
|
1938
1935
|
name: o,
|
|
1939
1936
|
props: e,
|
|
1940
|
-
classes:
|
|
1937
|
+
classes: ct,
|
|
1941
1938
|
className: n,
|
|
1942
1939
|
style: d,
|
|
1943
1940
|
classNames: s,
|
|
@@ -1949,20 +1946,20 @@ const ge = {
|
|
|
1949
1946
|
{
|
|
1950
1947
|
...f("root", { focusable: !0 }),
|
|
1951
1948
|
component: a,
|
|
1952
|
-
ref:
|
|
1949
|
+
ref: t,
|
|
1953
1950
|
type: a === "button" ? "button" : void 0,
|
|
1954
1951
|
...u
|
|
1955
1952
|
}
|
|
1956
1953
|
);
|
|
1957
1954
|
}
|
|
1958
1955
|
);
|
|
1959
|
-
|
|
1960
|
-
|
|
1961
|
-
const X = (
|
|
1956
|
+
Rr.classes = ct;
|
|
1957
|
+
Rr.displayName = "@mantine/core/UnstyledButton";
|
|
1958
|
+
const X = (r) => ({
|
|
1962
1959
|
in: { opacity: 1, transform: "scale(1)" },
|
|
1963
|
-
out: { opacity: 0, transform: `scale(.9) translateY(${
|
|
1960
|
+
out: { opacity: 0, transform: `scale(.9) translateY(${r === "bottom" ? 10 : -10}px)` },
|
|
1964
1961
|
transitionProperty: "transform, opacity"
|
|
1965
|
-
}),
|
|
1962
|
+
}), rr = {
|
|
1966
1963
|
fade: {
|
|
1967
1964
|
in: { opacity: 1 },
|
|
1968
1965
|
out: { opacity: 0 },
|
|
@@ -2074,7 +2071,7 @@ const X = (t) => ({
|
|
|
2074
2071
|
...X("top"),
|
|
2075
2072
|
common: { transformOrigin: "top right" }
|
|
2076
2073
|
}
|
|
2077
|
-
},
|
|
2074
|
+
}, zr = {
|
|
2078
2075
|
entering: "in",
|
|
2079
2076
|
entered: "in",
|
|
2080
2077
|
exiting: "out",
|
|
@@ -2083,8 +2080,8 @@ const X = (t) => ({
|
|
|
2083
2080
|
"pre-entering": "out"
|
|
2084
2081
|
};
|
|
2085
2082
|
function be({
|
|
2086
|
-
transition:
|
|
2087
|
-
state:
|
|
2083
|
+
transition: r,
|
|
2084
|
+
state: t,
|
|
2088
2085
|
duration: e,
|
|
2089
2086
|
timingFunction: n
|
|
2090
2087
|
}) {
|
|
@@ -2094,21 +2091,21 @@ function be({
|
|
|
2094
2091
|
transitionDuration: `${e}ms`,
|
|
2095
2092
|
transitionTimingFunction: n
|
|
2096
2093
|
};
|
|
2097
|
-
return typeof
|
|
2098
|
-
transitionProperty:
|
|
2094
|
+
return typeof r == "string" ? r in rr ? {
|
|
2095
|
+
transitionProperty: rr[r].transitionProperty,
|
|
2099
2096
|
...a,
|
|
2100
|
-
...
|
|
2101
|
-
...
|
|
2097
|
+
...rr[r].common,
|
|
2098
|
+
...rr[r][zr[t]]
|
|
2102
2099
|
} : {} : {
|
|
2103
|
-
transitionProperty:
|
|
2100
|
+
transitionProperty: r.transitionProperty,
|
|
2104
2101
|
...a,
|
|
2105
|
-
...
|
|
2106
|
-
...
|
|
2102
|
+
...r.common,
|
|
2103
|
+
...r[zr[t]]
|
|
2107
2104
|
};
|
|
2108
2105
|
}
|
|
2109
2106
|
function he({
|
|
2110
|
-
duration:
|
|
2111
|
-
exitDuration:
|
|
2107
|
+
duration: r,
|
|
2108
|
+
exitDuration: t,
|
|
2112
2109
|
timingFunction: e,
|
|
2113
2110
|
mounted: n,
|
|
2114
2111
|
onEnter: a,
|
|
@@ -2118,12 +2115,12 @@ function he({
|
|
|
2118
2115
|
enterDelay: l,
|
|
2119
2116
|
exitDelay: d
|
|
2120
2117
|
}) {
|
|
2121
|
-
const u =
|
|
2118
|
+
const u = V(), f = Jt(), m = u.respectReducedMotion ? f : !1, [g, y] = tr(m ? 0 : r), [$, h] = tr(n ? "entered" : "exited"), C = W(-1), x = W(-1), v = W(-1), w = (b) => {
|
|
2122
2119
|
const k = b ? a : o, S = b ? i : s;
|
|
2123
2120
|
window.clearTimeout(C.current);
|
|
2124
|
-
const E = m ? 0 : b ?
|
|
2125
|
-
|
|
2126
|
-
|
|
2121
|
+
const E = m ? 0 : b ? r : t;
|
|
2122
|
+
y(E), E === 0 ? (typeof k == "function" && k(), typeof S == "function" && S(), h(b ? "entered" : "exited")) : v.current = requestAnimationFrame(() => {
|
|
2123
|
+
Gt.flushSync(() => {
|
|
2127
2124
|
h(b ? "pre-entering" : "pre-exiting");
|
|
2128
2125
|
}), v.current = requestAnimationFrame(() => {
|
|
2129
2126
|
typeof k == "function" && k(), h(b ? "entering" : "exiting"), C.current = window.setTimeout(() => {
|
|
@@ -2143,7 +2140,7 @@ function he({
|
|
|
2143
2140
|
b ? l : d
|
|
2144
2141
|
);
|
|
2145
2142
|
};
|
|
2146
|
-
return
|
|
2143
|
+
return Zt(() => {
|
|
2147
2144
|
L(n);
|
|
2148
2145
|
}, [n]), A(
|
|
2149
2146
|
() => () => {
|
|
@@ -2151,14 +2148,14 @@ function he({
|
|
|
2151
2148
|
},
|
|
2152
2149
|
[]
|
|
2153
2150
|
), {
|
|
2154
|
-
transitionDuration:
|
|
2151
|
+
transitionDuration: g,
|
|
2155
2152
|
transitionStatus: $,
|
|
2156
2153
|
transitionTimingFunction: e || "ease"
|
|
2157
2154
|
};
|
|
2158
2155
|
}
|
|
2159
|
-
function
|
|
2160
|
-
keepMounted:
|
|
2161
|
-
transition:
|
|
2156
|
+
function lt({
|
|
2157
|
+
keepMounted: r,
|
|
2158
|
+
transition: t = "fade",
|
|
2162
2159
|
duration: e = 250,
|
|
2163
2160
|
exitDuration: n = e,
|
|
2164
2161
|
mounted: a,
|
|
@@ -2171,7 +2168,7 @@ function lr({
|
|
|
2171
2168
|
enterDelay: f,
|
|
2172
2169
|
exitDelay: m
|
|
2173
2170
|
}) {
|
|
2174
|
-
const
|
|
2171
|
+
const g = ln(), { transitionDuration: y, transitionStatus: $, transitionTimingFunction: h } = he({
|
|
2175
2172
|
mounted: a,
|
|
2176
2173
|
exitDuration: n,
|
|
2177
2174
|
duration: e,
|
|
@@ -2183,45 +2180,45 @@ function lr({
|
|
|
2183
2180
|
enterDelay: f,
|
|
2184
2181
|
exitDelay: m
|
|
2185
2182
|
});
|
|
2186
|
-
return
|
|
2183
|
+
return y === 0 || g === "test" ? a ? /* @__PURE__ */ p(pr, { children: o({}) }) : r ? o({ display: "none" }) : null : $ === "exited" ? r ? o({ display: "none" }) : null : /* @__PURE__ */ p(pr, { children: o(
|
|
2187
2184
|
be({
|
|
2188
|
-
transition:
|
|
2189
|
-
duration:
|
|
2185
|
+
transition: t,
|
|
2186
|
+
duration: y,
|
|
2190
2187
|
state: $,
|
|
2191
2188
|
timingFunction: h
|
|
2192
2189
|
})
|
|
2193
2190
|
) });
|
|
2194
2191
|
}
|
|
2195
|
-
|
|
2192
|
+
lt.displayName = "@mantine/core/Transition";
|
|
2196
2193
|
var T = { 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" };
|
|
2197
|
-
const
|
|
2194
|
+
const dt = _(({ className: r, ...t }, e) => /* @__PURE__ */ z(N, { component: "span", className: B(T.barsLoader, r), ...t, ref: e, children: [
|
|
2198
2195
|
/* @__PURE__ */ p("span", { className: T.bar }),
|
|
2199
2196
|
/* @__PURE__ */ p("span", { className: T.bar }),
|
|
2200
2197
|
/* @__PURE__ */ p("span", { className: T.bar })
|
|
2201
2198
|
] }));
|
|
2202
|
-
|
|
2203
|
-
const
|
|
2199
|
+
dt.displayName = "@mantine/core/Bars";
|
|
2200
|
+
const ft = _(({ className: r, ...t }, e) => /* @__PURE__ */ z(N, { component: "span", className: B(T.dotsLoader, r), ...t, ref: e, children: [
|
|
2204
2201
|
/* @__PURE__ */ p("span", { className: T.dot }),
|
|
2205
2202
|
/* @__PURE__ */ p("span", { className: T.dot }),
|
|
2206
2203
|
/* @__PURE__ */ p("span", { className: T.dot })
|
|
2207
2204
|
] }));
|
|
2208
|
-
|
|
2209
|
-
const
|
|
2210
|
-
|
|
2211
|
-
const
|
|
2212
|
-
bars:
|
|
2213
|
-
oval:
|
|
2214
|
-
dots:
|
|
2205
|
+
ft.displayName = "@mantine/core/Dots";
|
|
2206
|
+
const ut = _(({ className: r, ...t }, e) => /* @__PURE__ */ p(N, { component: "span", className: B(T.ovalLoader, r), ...t, ref: e }));
|
|
2207
|
+
ut.displayName = "@mantine/core/Oval";
|
|
2208
|
+
const mt = {
|
|
2209
|
+
bars: dt,
|
|
2210
|
+
oval: ut,
|
|
2211
|
+
dots: ft
|
|
2215
2212
|
}, $e = {
|
|
2216
|
-
loaders:
|
|
2213
|
+
loaders: mt,
|
|
2217
2214
|
type: "oval"
|
|
2218
|
-
}, ve = (
|
|
2215
|
+
}, ve = (r, { size: t, color: e }) => ({
|
|
2219
2216
|
root: {
|
|
2220
|
-
"--loader-size": O(
|
|
2221
|
-
"--loader-color": e ?
|
|
2217
|
+
"--loader-size": O(t, "loader-size"),
|
|
2218
|
+
"--loader-color": e ? yr(e, r) : void 0
|
|
2222
2219
|
}
|
|
2223
|
-
}),
|
|
2224
|
-
const e = I("Loader", $e,
|
|
2220
|
+
}), er = Mr((r, t) => {
|
|
2221
|
+
const e = I("Loader", $e, r), {
|
|
2225
2222
|
size: n,
|
|
2226
2223
|
color: a,
|
|
2227
2224
|
type: o,
|
|
@@ -2232,8 +2229,8 @@ const mr = {
|
|
|
2232
2229
|
styles: u,
|
|
2233
2230
|
unstyled: f,
|
|
2234
2231
|
loaders: m,
|
|
2235
|
-
variant:
|
|
2236
|
-
children:
|
|
2232
|
+
variant: g,
|
|
2233
|
+
children: y,
|
|
2237
2234
|
...$
|
|
2238
2235
|
} = e, h = Q({
|
|
2239
2236
|
name: "Loader",
|
|
@@ -2247,28 +2244,28 @@ const mr = {
|
|
|
2247
2244
|
vars: i,
|
|
2248
2245
|
varsResolver: ve
|
|
2249
2246
|
});
|
|
2250
|
-
return
|
|
2247
|
+
return y ? /* @__PURE__ */ p(N, { ...h("root"), ref: t, ...$, children: y }) : /* @__PURE__ */ p(
|
|
2251
2248
|
N,
|
|
2252
2249
|
{
|
|
2253
2250
|
...h("root"),
|
|
2254
|
-
ref:
|
|
2251
|
+
ref: t,
|
|
2255
2252
|
component: m[o],
|
|
2256
|
-
variant:
|
|
2253
|
+
variant: g,
|
|
2257
2254
|
size: n,
|
|
2258
2255
|
...$
|
|
2259
2256
|
}
|
|
2260
2257
|
);
|
|
2261
2258
|
});
|
|
2262
|
-
|
|
2263
|
-
|
|
2264
|
-
|
|
2259
|
+
er.defaultLoaders = mt;
|
|
2260
|
+
er.classes = T;
|
|
2261
|
+
er.displayName = "@mantine/core/Loader";
|
|
2265
2262
|
var Y = { root: "m_77c9d27d", inner: "m_80f1301b", label: "m_811560b9", section: "m_a74036a", loader: "m_a25b86ee", group: "m_80d6d844", groupSection: "m_70be2a01" };
|
|
2266
|
-
const
|
|
2263
|
+
const Yr = {
|
|
2267
2264
|
orientation: "horizontal"
|
|
2268
|
-
}, Se = (
|
|
2269
|
-
group: { "--button-border-width": c(
|
|
2270
|
-
}),
|
|
2271
|
-
const e = I("ButtonGroup",
|
|
2265
|
+
}, Se = (r, { borderWidth: t }) => ({
|
|
2266
|
+
group: { "--button-border-width": c(t) }
|
|
2267
|
+
}), _r = Mr((r, t) => {
|
|
2268
|
+
const e = I("ButtonGroup", Yr, r), {
|
|
2272
2269
|
className: n,
|
|
2273
2270
|
style: a,
|
|
2274
2271
|
classNames: o,
|
|
@@ -2279,8 +2276,8 @@ const Yt = {
|
|
|
2279
2276
|
borderWidth: u,
|
|
2280
2277
|
variant: f,
|
|
2281
2278
|
mod: m,
|
|
2282
|
-
...
|
|
2283
|
-
} = I("ButtonGroup",
|
|
2279
|
+
...g
|
|
2280
|
+
} = I("ButtonGroup", Yr, r), y = Q({
|
|
2284
2281
|
name: "ButtonGroup",
|
|
2285
2282
|
props: e,
|
|
2286
2283
|
classes: Y,
|
|
@@ -2296,21 +2293,21 @@ const Yt = {
|
|
|
2296
2293
|
return /* @__PURE__ */ p(
|
|
2297
2294
|
N,
|
|
2298
2295
|
{
|
|
2299
|
-
...
|
|
2300
|
-
ref:
|
|
2296
|
+
...y("group"),
|
|
2297
|
+
ref: t,
|
|
2301
2298
|
variant: f,
|
|
2302
2299
|
mod: [{ "data-orientation": l }, m],
|
|
2303
2300
|
role: "group",
|
|
2304
|
-
...
|
|
2301
|
+
...g
|
|
2305
2302
|
}
|
|
2306
2303
|
);
|
|
2307
2304
|
});
|
|
2308
|
-
|
|
2309
|
-
|
|
2310
|
-
const
|
|
2311
|
-
const s =
|
|
2312
|
-
color: e ||
|
|
2313
|
-
theme:
|
|
2305
|
+
_r.classes = Y;
|
|
2306
|
+
_r.displayName = "@mantine/core/ButtonGroup";
|
|
2307
|
+
const Gr = {}, we = (r, { radius: t, color: e, gradient: n, variant: a, autoContrast: o, size: i }) => {
|
|
2308
|
+
const s = r.variantColorResolver({
|
|
2309
|
+
color: e || r.primaryColor,
|
|
2310
|
+
theme: r,
|
|
2314
2311
|
gradient: n,
|
|
2315
2312
|
variant: a || "filled",
|
|
2316
2313
|
autoContrast: o
|
|
@@ -2319,15 +2316,15 @@ const Gt = {}, we = (t, { radius: r, color: e, gradient: n, variant: a, autoCont
|
|
|
2319
2316
|
groupSection: {
|
|
2320
2317
|
"--section-height": O(i, "section-height"),
|
|
2321
2318
|
"--section-padding-x": O(i, "section-padding-x"),
|
|
2322
|
-
"--section-fz": i != null && i.includes("compact") ?
|
|
2323
|
-
"--section-radius":
|
|
2319
|
+
"--section-fz": i != null && i.includes("compact") ? nr(i.replace("compact-", "")) : nr(i),
|
|
2320
|
+
"--section-radius": t === void 0 ? void 0 : qr(t),
|
|
2324
2321
|
"--section-bg": e || a ? s.background : void 0,
|
|
2325
2322
|
"--section-color": s.color,
|
|
2326
2323
|
"--section-bd": e || a ? s.border : void 0
|
|
2327
2324
|
}
|
|
2328
2325
|
};
|
|
2329
|
-
},
|
|
2330
|
-
const e = I("ButtonGroupSection",
|
|
2326
|
+
}, Pr = Mr((r, t) => {
|
|
2327
|
+
const e = I("ButtonGroupSection", Gr, r), {
|
|
2331
2328
|
className: n,
|
|
2332
2329
|
style: a,
|
|
2333
2330
|
classNames: o,
|
|
@@ -2338,8 +2335,8 @@ const Gt = {}, we = (t, { radius: r, color: e, gradient: n, variant: a, autoCont
|
|
|
2338
2335
|
gradient: u,
|
|
2339
2336
|
radius: f,
|
|
2340
2337
|
autoContrast: m,
|
|
2341
|
-
...
|
|
2342
|
-
} = I("ButtonGroupSection",
|
|
2338
|
+
...g
|
|
2339
|
+
} = I("ButtonGroupSection", Gr, r), y = Q({
|
|
2343
2340
|
name: "ButtonGroupSection",
|
|
2344
2341
|
props: e,
|
|
2345
2342
|
classes: Y,
|
|
@@ -2352,19 +2349,19 @@ const Gt = {}, we = (t, { radius: r, color: e, gradient: n, variant: a, autoCont
|
|
|
2352
2349
|
varsResolver: we,
|
|
2353
2350
|
rootSelector: "groupSection"
|
|
2354
2351
|
});
|
|
2355
|
-
return /* @__PURE__ */ p(N, { ...
|
|
2352
|
+
return /* @__PURE__ */ p(N, { ...y("groupSection"), ref: t, variant: d, ...g });
|
|
2356
2353
|
});
|
|
2357
|
-
|
|
2358
|
-
|
|
2354
|
+
Pr.classes = Y;
|
|
2355
|
+
Pr.displayName = "@mantine/core/ButtonGroupSection";
|
|
2359
2356
|
const Ce = {
|
|
2360
2357
|
in: { opacity: 1, transform: `translate(-50%, calc(-50% + ${c(1)}))` },
|
|
2361
2358
|
out: { opacity: 0, transform: "translate(-50%, -200%)" },
|
|
2362
2359
|
common: { transformOrigin: "center" },
|
|
2363
2360
|
transitionProperty: "transform, opacity"
|
|
2364
|
-
}, xe = {}, ke = (
|
|
2365
|
-
const l =
|
|
2366
|
-
color: e ||
|
|
2367
|
-
theme:
|
|
2361
|
+
}, xe = {}, ke = (r, { radius: t, color: e, gradient: n, variant: a, size: o, justify: i, autoContrast: s }) => {
|
|
2362
|
+
const l = r.variantColorResolver({
|
|
2363
|
+
color: e || r.primaryColor,
|
|
2364
|
+
theme: r,
|
|
2368
2365
|
gradient: n,
|
|
2369
2366
|
variant: a || "filled",
|
|
2370
2367
|
autoContrast: s
|
|
@@ -2374,8 +2371,8 @@ const Ce = {
|
|
|
2374
2371
|
"--button-justify": i,
|
|
2375
2372
|
"--button-height": O(o, "button-height"),
|
|
2376
2373
|
"--button-padding-x": O(o, "button-padding-x"),
|
|
2377
|
-
"--button-fz": o != null && o.includes("compact") ?
|
|
2378
|
-
"--button-radius":
|
|
2374
|
+
"--button-fz": o != null && o.includes("compact") ? nr(o.replace("compact-", "")) : nr(o),
|
|
2375
|
+
"--button-radius": t === void 0 ? void 0 : qr(t),
|
|
2379
2376
|
"--button-bg": e || a ? l.background : void 0,
|
|
2380
2377
|
"--button-hover": e || a ? l.hover : void 0,
|
|
2381
2378
|
"--button-color": l.color,
|
|
@@ -2383,8 +2380,8 @@ const Ce = {
|
|
|
2383
2380
|
"--button-hover-color": e || a ? l.hoverColor : void 0
|
|
2384
2381
|
}
|
|
2385
2382
|
};
|
|
2386
|
-
}, K =
|
|
2387
|
-
const e = I("Button", xe,
|
|
2383
|
+
}, K = st((r, t) => {
|
|
2384
|
+
const e = I("Button", xe, r), {
|
|
2388
2385
|
style: n,
|
|
2389
2386
|
vars: a,
|
|
2390
2387
|
className: o,
|
|
@@ -2395,8 +2392,8 @@ const Ce = {
|
|
|
2395
2392
|
rightSection: u,
|
|
2396
2393
|
fullWidth: f,
|
|
2397
2394
|
variant: m,
|
|
2398
|
-
radius:
|
|
2399
|
-
loading:
|
|
2395
|
+
radius: g,
|
|
2396
|
+
loading: y,
|
|
2400
2397
|
loaderProps: $,
|
|
2401
2398
|
gradient: h,
|
|
2402
2399
|
classNames: C,
|
|
@@ -2417,29 +2414,29 @@ const Ce = {
|
|
|
2417
2414
|
unstyled: v,
|
|
2418
2415
|
vars: a,
|
|
2419
2416
|
varsResolver: ke
|
|
2420
|
-
}), E = !!d,
|
|
2417
|
+
}), E = !!d, or = !!u;
|
|
2421
2418
|
return /* @__PURE__ */ z(
|
|
2422
|
-
|
|
2419
|
+
Rr,
|
|
2423
2420
|
{
|
|
2424
|
-
ref:
|
|
2425
|
-
...S("root", { active: !s && !
|
|
2421
|
+
ref: t,
|
|
2422
|
+
...S("root", { active: !s && !y && !w }),
|
|
2426
2423
|
unstyled: v,
|
|
2427
2424
|
variant: m,
|
|
2428
|
-
disabled: s ||
|
|
2425
|
+
disabled: s || y,
|
|
2429
2426
|
mod: [
|
|
2430
2427
|
{
|
|
2431
2428
|
disabled: s || w,
|
|
2432
|
-
loading:
|
|
2429
|
+
loading: y,
|
|
2433
2430
|
block: f,
|
|
2434
2431
|
"with-left-section": E,
|
|
2435
|
-
"with-right-section":
|
|
2432
|
+
"with-right-section": or
|
|
2436
2433
|
},
|
|
2437
2434
|
b
|
|
2438
2435
|
],
|
|
2439
2436
|
...k,
|
|
2440
2437
|
children: [
|
|
2441
|
-
/* @__PURE__ */ p(
|
|
2442
|
-
|
|
2438
|
+
/* @__PURE__ */ p(lt, { mounted: !!y, transition: Ce, duration: 150, children: (ar) => /* @__PURE__ */ p(N, { component: "span", ...S("loader", { style: ar }), "aria-hidden": !0, children: /* @__PURE__ */ p(
|
|
2439
|
+
er,
|
|
2443
2440
|
{
|
|
2444
2441
|
color: "var(--button-color)",
|
|
2445
2442
|
size: "calc(var(--button-height) / 1.8)",
|
|
@@ -2448,7 +2445,7 @@ const Ce = {
|
|
|
2448
2445
|
) }) }),
|
|
2449
2446
|
/* @__PURE__ */ z("span", { ...S("inner"), children: [
|
|
2450
2447
|
d && /* @__PURE__ */ p(N, { component: "span", ...S("section"), mod: { position: "left" }, children: d }),
|
|
2451
|
-
/* @__PURE__ */ p(N, { component: "span", mod: { loading:
|
|
2448
|
+
/* @__PURE__ */ p(N, { component: "span", mod: { loading: y }, ...S("label"), children: l }),
|
|
2452
2449
|
u && /* @__PURE__ */ p(N, { component: "span", ...S("section"), mod: { position: "right" }, children: u })
|
|
2453
2450
|
] })
|
|
2454
2451
|
]
|
|
@@ -2457,16 +2454,15 @@ const Ce = {
|
|
|
2457
2454
|
});
|
|
2458
2455
|
K.classes = Y;
|
|
2459
2456
|
K.displayName = "@mantine/core/Button";
|
|
2460
|
-
K.Group =
|
|
2461
|
-
K.GroupSection =
|
|
2462
|
-
function
|
|
2463
|
-
return /* @__PURE__ */ p(
|
|
2457
|
+
K.Group = _r;
|
|
2458
|
+
K.GroupSection = Pr;
|
|
2459
|
+
function Le({ children: r }) {
|
|
2460
|
+
return /* @__PURE__ */ p(nt, { children: r });
|
|
2464
2461
|
}
|
|
2465
|
-
const
|
|
2462
|
+
const Ee = (r) => /* @__PURE__ */ p(K, { ...r });
|
|
2466
2463
|
export {
|
|
2467
|
-
|
|
2468
|
-
|
|
2469
|
-
|
|
2470
|
-
|
|
2471
|
-
Le as mantineHtmlProps
|
|
2464
|
+
_e as ColorSchemeScript,
|
|
2465
|
+
Le as MantineProvider,
|
|
2466
|
+
Ee as TestButton,
|
|
2467
|
+
Pe as mantineHtmlProps
|
|
2472
2468
|
};
|