@kvell-group/ui 1.6.8 → 1.6.10

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.
@@ -1,12 +1,12 @@
1
- import { jsx as f, jsxs as j, Fragment as U } from "react/jsx-runtime";
2
- import { r as P, u as k, h as en, i as on, j as an, l as sn, k as tt, a as cn, p as dt, m as pn, n as mn, o as un } from "../../MantineThemeProvider-CyD9KzqB.js";
3
- import { useState as Q, useRef as M, useEffect as z, useId as ln, forwardRef as _ } from "react";
4
- import fn from "react-dom";
5
- import '../../assets/Button.css';function dn(t) {
6
- return t.replace(/[A-Z]/g, (n) => `-${n.toLowerCase()}`);
1
+ import { jsx as f, jsxs as j, Fragment as q } from "react/jsx-runtime";
2
+ import { r as R, u as k, h as er, i as or, j as ar, l as ir, k as tt, a as sr, p as dt, m as cr, n as pr, o as mr } from "../../MantineThemeProvider-CyD9KzqB.js";
3
+ import { useState as Q, useRef as M, useEffect as z, useId as lr, forwardRef as P } from "react";
4
+ import ur from "react-dom";
5
+ import '../../assets/Button.css';function fr(t) {
6
+ return t.replace(/[A-Z]/g, (r) => `-${r.toLowerCase()}`);
7
7
  }
8
- function nt(t) {
9
- return Object.keys(t).reduce((n, r) => (t[r] !== void 0 && (n[r] = t[r]), n), {});
8
+ function rt(t) {
9
+ return Object.keys(t).reduce((r, n) => (t[n] !== void 0 && (r[n] = t[n]), r), {});
10
10
  }
11
11
  function yt(t) {
12
12
  if (typeof t == "number")
@@ -14,14 +14,14 @@ function yt(t) {
14
14
  if (typeof t == "string") {
15
15
  if (t.startsWith("calc(") || t.startsWith("var(") || t.includes(" ") && t.trim() !== "")
16
16
  return !0;
17
- const n = /^[+-]?[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|%)?$/;
18
- return t.trim().split(/\s+/).every((e) => n.test(e));
17
+ const r = /^[+-]?[0-9]+(\.[0-9]+)?(px|em|rem|ex|ch|lh|rlh|vw|vh|vmin|vmax|vb|vi|svw|svh|lvw|lvh|dvw|dvh|cm|mm|in|pt|pc|q|cqw|cqh|cqi|cqb|cqmin|cqmax|%)?$/;
18
+ return t.trim().split(/\s+/).every((e) => r.test(e));
19
19
  }
20
20
  return !1;
21
21
  }
22
- function A(t, n = "size", r = !0) {
22
+ function A(t, r = "size", n = !0) {
23
23
  if (t !== void 0)
24
- return yt(t) ? r ? P(t) : t : `var(--${n}-${t})`;
24
+ return yt(t) ? n ? R(t) : t : `var(--${r}-${t})`;
25
25
  }
26
26
  function gt(t) {
27
27
  return t === void 0 ? "var(--mantine-radius-default)" : A(t, "mantine-radius");
@@ -29,153 +29,153 @@ function gt(t) {
29
29
  function G(t) {
30
30
  return A(t, "mantine-font-size");
31
31
  }
32
- function yn(t, n) {
32
+ function dr(t, r) {
33
33
  try {
34
- return t.addEventListener("change", n), () => t.removeEventListener("change", n);
34
+ return t.addEventListener("change", r), () => t.removeEventListener("change", r);
35
35
  } catch {
36
- return t.addListener(n), () => t.removeListener(n);
36
+ return t.addListener(r), () => t.removeListener(r);
37
37
  }
38
38
  }
39
- function gn(t, n) {
39
+ function yr(t, r) {
40
40
  return typeof window < "u" && "matchMedia" in window ? window.matchMedia(t).matches : !1;
41
41
  }
42
- function hn(t, n, { getInitialValueInEffect: r } = {
42
+ function gr(t, r, { getInitialValueInEffect: n } = {
43
43
  getInitialValueInEffect: !0
44
44
  }) {
45
45
  const [e, o] = Q(
46
- r ? n : gn(t)
46
+ n ? r : yr(t)
47
47
  ), a = M(null);
48
48
  return z(() => {
49
49
  if ("matchMedia" in window)
50
- return a.current = window.matchMedia(t), o(a.current.matches), yn(a.current, (i) => o(i.matches));
50
+ return a.current = window.matchMedia(t), o(a.current.matches), dr(a.current, (i) => o(i.matches));
51
51
  }, [t]), e;
52
52
  }
53
- function bn(t, n) {
54
- const r = M(!1);
53
+ function hr(t, r) {
54
+ const n = M(!1);
55
55
  z(
56
56
  () => () => {
57
- r.current = !1;
57
+ n.current = !1;
58
58
  },
59
59
  []
60
60
  ), z(() => {
61
- if (r.current)
61
+ if (n.current)
62
62
  return t();
63
- r.current = !0;
64
- }, n);
63
+ n.current = !0;
64
+ }, r);
65
65
  }
66
- function Sn(t, n) {
67
- return hn("(prefers-reduced-motion: reduce)", t, n);
66
+ function br(t, r) {
67
+ return gr("(prefers-reduced-motion: reduce)", t, r);
68
68
  }
69
69
  function ht(t) {
70
- var n, r, e = "";
70
+ var r, n, e = "";
71
71
  if (typeof t == "string" || typeof t == "number") e += t;
72
72
  else if (typeof t == "object") if (Array.isArray(t)) {
73
73
  var o = t.length;
74
- for (n = 0; n < o; n++) t[n] && (r = ht(t[n])) && (e && (e += " "), e += r);
75
- } else for (r in t) t[r] && (e && (e += " "), e += r);
74
+ for (r = 0; r < o; r++) t[r] && (n = ht(t[r])) && (e && (e += " "), e += n);
75
+ } else for (n in t) t[n] && (e && (e += " "), e += n);
76
76
  return e;
77
77
  }
78
78
  function L() {
79
- for (var t, n, r = 0, e = "", o = arguments.length; r < o; r++) (t = arguments[r]) && (n = ht(t)) && (e && (e += " "), e += n);
79
+ for (var t, r, n = 0, e = "", o = arguments.length; n < o; n++) (t = arguments[n]) && (r = ht(t)) && (e && (e += " "), e += r);
80
80
  return e;
81
81
  }
82
- const vn = {};
83
- function Nn(t) {
84
- const n = {};
85
- return t.forEach((r) => {
86
- Object.entries(r).forEach(([e, o]) => {
87
- n[e] ? n[e] = L(n[e], o) : n[e] = o;
82
+ const Sr = {};
83
+ function vr(t) {
84
+ const r = {};
85
+ return t.forEach((n) => {
86
+ Object.entries(n).forEach(([e, o]) => {
87
+ r[e] ? r[e] = L(r[e], o) : r[e] = o;
88
88
  });
89
- }), n;
89
+ }), r;
90
90
  }
91
- function rt({ theme: t, classNames: n, props: r, stylesCtx: e }) {
92
- const a = (Array.isArray(n) ? n : [n]).map(
93
- (i) => typeof i == "function" ? i(t, r, e) : i || vn
91
+ function nt({ theme: t, classNames: r, props: n, stylesCtx: e }) {
92
+ const a = (Array.isArray(r) ? r : [r]).map(
93
+ (i) => typeof i == "function" ? i(t, n, e) : i || Sr
94
94
  );
95
- return Nn(a);
95
+ return vr(a);
96
96
  }
97
- function K({ theme: t, styles: n, props: r, stylesCtx: e }) {
98
- return (Array.isArray(n) ? n : [n]).reduce((a, i) => typeof i == "function" ? { ...a, ...i(t, r, e) } : { ...a, ...i }, {});
97
+ function K({ theme: t, styles: r, props: n, stylesCtx: e }) {
98
+ return (Array.isArray(r) ? r : [r]).reduce((a, i) => typeof i == "function" ? { ...a, ...i(t, n, e) } : { ...a, ...i }, {});
99
99
  }
100
- const xn = {
100
+ const Nr = {
101
101
  always: "mantine-focus-always",
102
102
  auto: "mantine-focus-auto",
103
103
  never: "mantine-focus-never"
104
104
  };
105
- function wn({ theme: t, options: n, unstyled: r }) {
105
+ function xr({ theme: t, options: r, unstyled: n }) {
106
106
  return L(
107
- (n == null ? void 0 : n.focusable) && !r && (t.focusClassName || xn[t.focusRing]),
108
- (n == null ? void 0 : n.active) && !r && t.activeClassName
107
+ (r == null ? void 0 : r.focusable) && !n && (t.focusClassName || Nr[t.focusRing]),
108
+ (r == null ? void 0 : r.active) && !n && t.activeClassName
109
109
  );
110
110
  }
111
- function $n({
111
+ function wr({
112
112
  selector: t,
113
- stylesCtx: n,
114
- options: r,
113
+ stylesCtx: r,
114
+ options: n,
115
115
  props: e,
116
116
  theme: o
117
117
  }) {
118
- return rt({
118
+ return nt({
119
119
  theme: o,
120
- classNames: r == null ? void 0 : r.classNames,
121
- props: (r == null ? void 0 : r.props) || e,
122
- stylesCtx: n
120
+ classNames: n == null ? void 0 : n.classNames,
121
+ props: (n == null ? void 0 : n.props) || e,
122
+ stylesCtx: r
123
123
  })[t];
124
124
  }
125
125
  function ct({
126
126
  selector: t,
127
- stylesCtx: n,
128
- theme: r,
127
+ stylesCtx: r,
128
+ theme: n,
129
129
  classNames: e,
130
130
  props: o
131
131
  }) {
132
- return rt({ theme: r, classNames: e, props: o, stylesCtx: n })[t];
132
+ return nt({ theme: n, classNames: e, props: o, stylesCtx: r })[t];
133
133
  }
134
- function Tn({ rootSelector: t, selector: n, className: r }) {
135
- return t === n ? r : void 0;
134
+ function $r({ rootSelector: t, selector: r, className: n }) {
135
+ return t === r ? n : void 0;
136
136
  }
137
- function Rn({ selector: t, classes: n, unstyled: r }) {
138
- return r ? void 0 : n[t];
137
+ function _r({ selector: t, classes: r, unstyled: n }) {
138
+ return n ? void 0 : r[t];
139
139
  }
140
- function Pn({
140
+ function Tr({
141
141
  themeName: t,
142
- classNamesPrefix: n,
143
- selector: r,
142
+ classNamesPrefix: r,
143
+ selector: n,
144
144
  withStaticClass: e
145
145
  }) {
146
- return e === !1 ? [] : t.map((o) => `${n}-${o}-${r}`);
146
+ return e === !1 ? [] : t.map((o) => `${r}-${o}-${n}`);
147
147
  }
148
- function _n({
148
+ function Rr({
149
149
  themeName: t,
150
- theme: n,
151
- selector: r,
150
+ theme: r,
151
+ selector: n,
152
152
  props: e,
153
153
  stylesCtx: o
154
154
  }) {
155
155
  return t.map(
156
156
  (a) => {
157
157
  var i, s;
158
- return (s = rt({
159
- theme: n,
160
- classNames: (i = n.components[a]) == null ? void 0 : i.classNames,
158
+ return (s = nt({
159
+ theme: r,
160
+ classNames: (i = r.components[a]) == null ? void 0 : i.classNames,
161
161
  props: e,
162
162
  stylesCtx: o
163
- })) == null ? void 0 : s[r];
163
+ })) == null ? void 0 : s[n];
164
164
  }
165
165
  );
166
166
  }
167
- function Cn({
167
+ function Pr({
168
168
  options: t,
169
- classes: n,
170
- selector: r,
169
+ classes: r,
170
+ selector: n,
171
171
  unstyled: e
172
172
  }) {
173
- return t != null && t.variant && !e ? n[`${r}--${t.variant}`] : void 0;
173
+ return t != null && t.variant && !e ? r[`${n}--${t.variant}`] : void 0;
174
174
  }
175
- function Bn({
175
+ function Cr({
176
176
  theme: t,
177
- options: n,
178
- themeName: r,
177
+ options: r,
178
+ themeName: n,
179
179
  selector: e,
180
180
  classNamesPrefix: o,
181
181
  classNames: a,
@@ -184,63 +184,63 @@ function Bn({
184
184
  className: p,
185
185
  rootSelector: c,
186
186
  props: m,
187
- stylesCtx: u,
188
- withStaticClasses: l,
187
+ stylesCtx: l,
188
+ withStaticClasses: u,
189
189
  headless: g,
190
190
  transformedStyles: d
191
191
  }) {
192
192
  return L(
193
- wn({ theme: t, options: n, unstyled: s || g }),
194
- _n({ theme: t, themeName: r, selector: e, props: m, stylesCtx: u }),
195
- Cn({ options: n, classes: i, selector: e, unstyled: s }),
196
- ct({ selector: e, stylesCtx: u, theme: t, classNames: a, props: m }),
197
- ct({ selector: e, stylesCtx: u, theme: t, classNames: d, props: m }),
198
- $n({ selector: e, stylesCtx: u, options: n, props: m, theme: t }),
199
- Tn({ rootSelector: c, selector: e, className: p }),
200
- Rn({ selector: e, classes: i, unstyled: s || g }),
201
- l && !g && Pn({
202
- themeName: r,
193
+ xr({ theme: t, options: r, unstyled: s || g }),
194
+ Rr({ theme: t, themeName: n, selector: e, props: m, stylesCtx: l }),
195
+ Pr({ options: r, classes: i, selector: e, unstyled: s }),
196
+ ct({ selector: e, stylesCtx: l, theme: t, classNames: a, props: m }),
197
+ ct({ selector: e, stylesCtx: l, theme: t, classNames: d, props: m }),
198
+ wr({ selector: e, stylesCtx: l, options: r, props: m, theme: t }),
199
+ $r({ rootSelector: c, selector: e, className: p }),
200
+ _r({ selector: e, classes: i, unstyled: s || g }),
201
+ u && !g && Tr({
202
+ themeName: n,
203
203
  classNamesPrefix: o,
204
204
  selector: e,
205
- withStaticClass: n == null ? void 0 : n.withStaticClass
205
+ withStaticClass: r == null ? void 0 : r.withStaticClass
206
206
  }),
207
- n == null ? void 0 : n.className
207
+ r == null ? void 0 : r.className
208
208
  );
209
209
  }
210
- function An({
210
+ function Br({
211
211
  theme: t,
212
- themeName: n,
213
- props: r,
212
+ themeName: r,
213
+ props: n,
214
214
  stylesCtx: e,
215
215
  selector: o
216
216
  }) {
217
- return n.map(
217
+ return r.map(
218
218
  (a) => {
219
219
  var i;
220
220
  return K({
221
221
  theme: t,
222
222
  styles: (i = t.components[a]) == null ? void 0 : i.styles,
223
- props: r,
223
+ props: n,
224
224
  stylesCtx: e
225
225
  })[o];
226
226
  }
227
227
  ).reduce((a, i) => ({ ...a, ...i }), {});
228
228
  }
229
- function Z({ style: t, theme: n }) {
229
+ function Z({ style: t, theme: r }) {
230
230
  return Array.isArray(t) ? [...t].reduce(
231
- (r, e) => ({ ...r, ...Z({ style: e, theme: n }) }),
231
+ (n, e) => ({ ...n, ...Z({ style: e, theme: r }) }),
232
232
  {}
233
- ) : typeof t == "function" ? t(n) : t ?? {};
233
+ ) : typeof t == "function" ? t(r) : t ?? {};
234
234
  }
235
- function On(t) {
236
- return t.reduce((n, r) => (r && Object.keys(r).forEach((e) => {
237
- n[e] = { ...n[e], ...nt(r[e]) };
238
- }), n), {});
235
+ function Ar(t) {
236
+ return t.reduce((r, n) => (n && Object.keys(n).forEach((e) => {
237
+ r[e] = { ...r[e], ...rt(n[e]) };
238
+ }), r), {});
239
239
  }
240
- function Ln({
240
+ function Or({
241
241
  vars: t,
242
- varsResolver: n,
243
- theme: r,
242
+ varsResolver: r,
243
+ theme: n,
244
244
  props: e,
245
245
  stylesCtx: o,
246
246
  selector: a,
@@ -248,19 +248,19 @@ function Ln({
248
248
  headless: s
249
249
  }) {
250
250
  var p;
251
- return (p = On([
252
- s ? {} : n == null ? void 0 : n(r, e, o),
251
+ return (p = Ar([
252
+ s ? {} : r == null ? void 0 : r(n, e, o),
253
253
  ...i.map((c) => {
254
- var m, u, l;
255
- return (l = (u = (m = r.components) == null ? void 0 : m[c]) == null ? void 0 : u.vars) == null ? void 0 : l.call(u, r, e, o);
254
+ var m, l, u;
255
+ return (u = (l = (m = n.components) == null ? void 0 : m[c]) == null ? void 0 : l.vars) == null ? void 0 : u.call(l, n, e, o);
256
256
  }),
257
- t == null ? void 0 : t(r, e, o)
257
+ t == null ? void 0 : t(n, e, o)
258
258
  ])) == null ? void 0 : p[a];
259
259
  }
260
- function Yn({
260
+ function Lr({
261
261
  theme: t,
262
- themeName: n,
263
- selector: r,
262
+ themeName: r,
263
+ selector: n,
264
264
  options: e,
265
265
  props: o,
266
266
  stylesCtx: a,
@@ -269,30 +269,30 @@ function Yn({
269
269
  style: p,
270
270
  vars: c,
271
271
  varsResolver: m,
272
- headless: u,
273
- withStylesTransform: l
272
+ headless: l,
273
+ withStylesTransform: u
274
274
  }) {
275
275
  return {
276
- ...!l && An({ theme: t, themeName: n, props: o, stylesCtx: a, selector: r }),
277
- ...!l && K({ theme: t, styles: s, props: o, stylesCtx: a })[r],
278
- ...!l && K({ theme: t, styles: e == null ? void 0 : e.styles, props: (e == null ? void 0 : e.props) || o, stylesCtx: a })[r],
279
- ...Ln({ theme: t, props: o, stylesCtx: a, vars: c, varsResolver: m, selector: r, themeName: n, headless: u }),
280
- ...i === r ? Z({ style: p, theme: t }) : null,
276
+ ...!u && Br({ theme: t, themeName: r, props: o, stylesCtx: a, selector: n }),
277
+ ...!u && K({ theme: t, styles: s, props: o, stylesCtx: a })[n],
278
+ ...!u && K({ theme: t, styles: e == null ? void 0 : e.styles, props: (e == null ? void 0 : e.props) || o, stylesCtx: a })[n],
279
+ ...Or({ theme: t, props: o, stylesCtx: a, vars: c, varsResolver: m, selector: n, themeName: r, headless: l }),
280
+ ...i === n ? Z({ style: p, theme: t }) : null,
281
281
  ...Z({ style: e == null ? void 0 : e.style, theme: t })
282
282
  };
283
283
  }
284
- function En({ props: t, stylesCtx: n, themeName: r }) {
284
+ function Yr({ props: t, stylesCtx: r, themeName: n }) {
285
285
  var i;
286
- const e = k(), o = (i = en()) == null ? void 0 : i();
286
+ const e = k(), o = (i = er()) == null ? void 0 : i();
287
287
  return {
288
288
  getTransformedStyles: (s) => o ? [
289
289
  ...s.map(
290
- (c) => o(c, { props: t, theme: e, ctx: n })
290
+ (c) => o(c, { props: t, theme: e, ctx: r })
291
291
  ),
292
- ...r.map(
292
+ ...n.map(
293
293
  (c) => {
294
294
  var m;
295
- return o((m = e.components[c]) == null ? void 0 : m.styles, { props: t, theme: e, ctx: n });
295
+ return o((m = e.components[c]) == null ? void 0 : m.styles, { props: t, theme: e, ctx: r });
296
296
  }
297
297
  )
298
298
  ].filter(Boolean) : [],
@@ -301,8 +301,8 @@ function En({ props: t, stylesCtx: n, themeName: r }) {
301
301
  }
302
302
  function F({
303
303
  name: t,
304
- classes: n,
305
- props: r,
304
+ classes: r,
305
+ props: n,
306
306
  stylesCtx: e,
307
307
  className: o,
308
308
  style: a,
@@ -311,80 +311,80 @@ function F({
311
311
  classNames: p,
312
312
  styles: c,
313
313
  vars: m,
314
- varsResolver: u
314
+ varsResolver: l
315
315
  }) {
316
- const l = k(), g = on(), d = an(), b = sn(), h = (Array.isArray(t) ? t : [t]).filter((S) => S), { withStylesTransform: x, getTransformedStyles: R } = En({
317
- props: r,
316
+ const u = k(), g = or(), d = ar(), b = ir(), h = (Array.isArray(t) ? t : [t]).filter((S) => S), { withStylesTransform: x, getTransformedStyles: T } = Yr({
317
+ props: n,
318
318
  stylesCtx: e,
319
319
  themeName: h
320
320
  });
321
321
  return (S, N) => ({
322
- className: Bn({
323
- theme: l,
322
+ className: Cr({
323
+ theme: u,
324
324
  options: N,
325
325
  themeName: h,
326
326
  selector: S,
327
327
  classNamesPrefix: g,
328
328
  classNames: p,
329
- classes: n,
329
+ classes: r,
330
330
  unstyled: s,
331
331
  className: o,
332
332
  rootSelector: i,
333
- props: r,
333
+ props: n,
334
334
  stylesCtx: e,
335
335
  withStaticClasses: d,
336
336
  headless: b,
337
- transformedStyles: R([N == null ? void 0 : N.styles, c])
337
+ transformedStyles: T([N == null ? void 0 : N.styles, c])
338
338
  }),
339
- style: Yn({
340
- theme: l,
339
+ style: Lr({
340
+ theme: u,
341
341
  themeName: h,
342
342
  selector: S,
343
343
  options: N,
344
- props: r,
344
+ props: n,
345
345
  stylesCtx: e,
346
346
  rootSelector: i,
347
347
  styles: c,
348
348
  style: a,
349
349
  vars: m,
350
- varsResolver: u,
350
+ varsResolver: l,
351
351
  headless: b,
352
352
  withStylesTransform: x
353
353
  })
354
354
  });
355
355
  }
356
- function O(t, n, r) {
356
+ function O(t, r, n) {
357
357
  var i;
358
358
  const e = k(), o = (i = e.components[t]) == null ? void 0 : i.defaultProps, a = typeof o == "function" ? o(e) : o;
359
- return { ...n, ...a, ...nt(r) };
359
+ return { ...r, ...a, ...rt(n) };
360
360
  }
361
361
  function X(t) {
362
362
  return tt(t).reduce(
363
- (n, r) => t[r] !== void 0 ? `${n}${dn(r)}:${t[r]};` : n,
363
+ (r, n) => t[n] !== void 0 ? `${r}${fr(n)}:${t[n]};` : r,
364
364
  ""
365
365
  ).trim();
366
366
  }
367
- function Mn({ selector: t, styles: n, media: r, container: e }) {
368
- const o = n ? X(n) : "", a = Array.isArray(r) ? r.map((s) => `@media${s.query}{${t}{${X(s.styles)}}}`) : [], i = Array.isArray(e) ? e.map(
367
+ function Er({ selector: t, styles: r, media: n, container: e }) {
368
+ const o = r ? X(r) : "", a = Array.isArray(n) ? n.map((s) => `@media${s.query}{${t}{${X(s.styles)}}}`) : [], i = Array.isArray(e) ? e.map(
369
369
  (s) => `@container ${s.query}{${t}{${X(s.styles)}}}`
370
370
  ) : [];
371
371
  return `${o ? `${t}{${o}}` : ""}${a.join("")}${i.join("")}`.trim();
372
372
  }
373
- function jn(t) {
374
- const n = cn();
373
+ function Mr(t) {
374
+ const r = sr();
375
375
  return /* @__PURE__ */ f(
376
376
  "style",
377
377
  {
378
378
  "data-mantine-styles": "inline",
379
- nonce: n == null ? void 0 : n(),
380
- dangerouslySetInnerHTML: { __html: Mn(t) }
379
+ nonce: r == null ? void 0 : r(),
380
+ dangerouslySetInnerHTML: { __html: Er(t) }
381
381
  }
382
382
  );
383
383
  }
384
- function kn(t) {
384
+ function jr(t) {
385
385
  const {
386
- m: n,
387
- mx: r,
386
+ m: r,
387
+ mx: n,
388
388
  my: e,
389
389
  mt: o,
390
390
  mb: a,
@@ -393,14 +393,14 @@ function kn(t) {
393
393
  me: p,
394
394
  ms: c,
395
395
  p: m,
396
- px: u,
397
- py: l,
396
+ px: l,
397
+ py: u,
398
398
  pt: g,
399
399
  pb: d,
400
400
  pl: b,
401
401
  pr: h,
402
402
  pe: x,
403
- ps: R,
403
+ ps: T,
404
404
  bd: S,
405
405
  bg: N,
406
406
  c: C,
@@ -429,19 +429,19 @@ function kn(t) {
429
429
  left: Ht,
430
430
  bottom: Vt,
431
431
  right: Xt,
432
- inset: qt,
433
- display: Ut,
432
+ inset: Ut,
433
+ display: qt,
434
434
  flex: Qt,
435
435
  hiddenFrom: Kt,
436
436
  visibleFrom: Zt,
437
437
  lightHidden: Jt,
438
- darkHidden: tn,
439
- sx: nn,
440
- ...rn
438
+ darkHidden: tr,
439
+ sx: rr,
440
+ ...nr
441
441
  } = t;
442
- return { styleProps: nt({
443
- m: n,
444
- mx: r,
442
+ return { styleProps: rt({
443
+ m: r,
444
+ mx: n,
445
445
  my: e,
446
446
  mt: o,
447
447
  mb: a,
@@ -450,14 +450,14 @@ function kn(t) {
450
450
  me: p,
451
451
  ms: c,
452
452
  p: m,
453
- px: u,
454
- py: l,
453
+ px: l,
454
+ py: u,
455
455
  pt: g,
456
456
  pb: d,
457
457
  pl: b,
458
458
  pr: h,
459
459
  pe: x,
460
- ps: R,
460
+ ps: T,
461
461
  bd: S,
462
462
  bg: N,
463
463
  c: C,
@@ -486,17 +486,17 @@ function kn(t) {
486
486
  left: Ht,
487
487
  bottom: Vt,
488
488
  right: Xt,
489
- inset: qt,
490
- display: Ut,
489
+ inset: Ut,
490
+ display: qt,
491
491
  flex: Qt,
492
492
  hiddenFrom: Kt,
493
493
  visibleFrom: Zt,
494
494
  lightHidden: Jt,
495
- darkHidden: tn,
496
- sx: nn
497
- }), rest: rn };
495
+ darkHidden: tr,
496
+ sx: rr
497
+ }), rest: nr };
498
498
  }
499
- const Fn = {
499
+ const kr = {
500
500
  m: { type: "spacing", property: "margin" },
501
501
  mt: { type: "spacing", property: "marginTop" },
502
502
  mb: { type: "spacing", property: "marginBottom" },
@@ -547,21 +547,21 @@ const Fn = {
547
547
  display: { type: "identity", property: "display" },
548
548
  flex: { type: "identity", property: "flex" }
549
549
  };
550
- function et(t, n) {
551
- const r = dt({ color: t, theme: n });
552
- return r.color === "dimmed" ? "var(--mantine-color-dimmed)" : r.color === "bright" ? "var(--mantine-color-bright)" : r.variable ? `var(${r.variable})` : r.color;
550
+ function et(t, r) {
551
+ const n = dt({ color: t, theme: r });
552
+ return n.color === "dimmed" ? "var(--mantine-color-dimmed)" : n.color === "bright" ? "var(--mantine-color-bright)" : n.variable ? `var(${n.variable})` : n.color;
553
553
  }
554
- function In(t, n) {
555
- const r = dt({ color: t, theme: n });
556
- return r.isThemeColor && r.shade === void 0 ? `var(--mantine-color-${r.color}-text)` : et(t, n);
554
+ function Fr(t, r) {
555
+ const n = dt({ color: t, theme: r });
556
+ return n.isThemeColor && n.shade === void 0 ? `var(--mantine-color-${n.color}-text)` : et(t, r);
557
557
  }
558
- function Wn(t, n) {
558
+ function Ir(t, r) {
559
559
  if (typeof t == "number")
560
- return P(t);
560
+ return R(t);
561
561
  if (typeof t == "string") {
562
- const [r, e, ...o] = t.split(" ").filter((i) => i.trim() !== "");
563
- let a = `${P(r)}`;
564
- return e && (a += ` ${e}`), o.length > 0 && (a += ` ${et(o.join(" "), n)}`), a.trim();
562
+ const [n, e, ...o] = t.split(" ").filter((i) => i.trim() !== "");
563
+ let a = `${R(n)}`;
564
+ return e && (a += ` ${e}`), o.length > 0 && (a += ` ${et(o.join(" "), r)}`), a.trim();
565
565
  }
566
566
  return t;
567
567
  }
@@ -572,96 +572,96 @@ const pt = {
572
572
  heading: "var(--mantine-font-family-headings)",
573
573
  headings: "var(--mantine-font-family-headings)"
574
574
  };
575
- function zn(t) {
575
+ function Wr(t) {
576
576
  return typeof t == "string" && t in pt ? pt[t] : t;
577
577
  }
578
- const Gn = ["h1", "h2", "h3", "h4", "h5", "h6"];
579
- function Dn(t, n) {
580
- return typeof t == "string" && t in n.fontSizes ? `var(--mantine-font-size-${t})` : typeof t == "string" && Gn.includes(t) ? `var(--mantine-${t}-font-size)` : typeof t == "number" ? P(t) : typeof t == "string" ? P(t) : t;
578
+ const zr = ["h1", "h2", "h3", "h4", "h5", "h6"];
579
+ function Gr(t, r) {
580
+ return typeof t == "string" && t in r.fontSizes ? `var(--mantine-font-size-${t})` : typeof t == "string" && zr.includes(t) ? `var(--mantine-${t}-font-size)` : typeof t == "number" ? R(t) : typeof t == "string" ? R(t) : t;
581
581
  }
582
- function Hn(t) {
582
+ function Dr(t) {
583
583
  return t;
584
584
  }
585
- const Vn = ["h1", "h2", "h3", "h4", "h5", "h6"];
586
- function Xn(t, n) {
587
- return typeof t == "string" && t in n.lineHeights ? `var(--mantine-line-height-${t})` : typeof t == "string" && Vn.includes(t) ? `var(--mantine-${t}-line-height)` : t;
585
+ const Hr = ["h1", "h2", "h3", "h4", "h5", "h6"];
586
+ function Vr(t, r) {
587
+ return typeof t == "string" && t in r.lineHeights ? `var(--mantine-line-height-${t})` : typeof t == "string" && Hr.includes(t) ? `var(--mantine-${t}-line-height)` : t;
588
588
  }
589
- function qn(t) {
590
- return typeof t == "number" ? P(t) : t;
589
+ function Xr(t) {
590
+ return typeof t == "number" ? R(t) : t;
591
591
  }
592
- function Un(t, n) {
592
+ function Ur(t, r) {
593
593
  if (typeof t == "number")
594
- return P(t);
594
+ return R(t);
595
595
  if (typeof t == "string") {
596
- const r = t.replace("-", "");
597
- if (!(r in n.spacing))
598
- return P(t);
599
- const e = `--mantine-spacing-${r}`;
596
+ const n = t.replace("-", "");
597
+ if (!(n in r.spacing))
598
+ return R(t);
599
+ const e = `--mantine-spacing-${n}`;
600
600
  return t.startsWith("-") ? `calc(var(${e}) * -1)` : `var(${e})`;
601
601
  }
602
602
  return t;
603
603
  }
604
- const q = {
604
+ const U = {
605
605
  color: et,
606
- textColor: In,
607
- fontSize: Dn,
608
- spacing: Un,
609
- identity: Hn,
610
- size: qn,
611
- lineHeight: Xn,
612
- fontFamily: zn,
613
- border: Wn
606
+ textColor: Fr,
607
+ fontSize: Gr,
608
+ spacing: Ur,
609
+ identity: Dr,
610
+ size: Xr,
611
+ lineHeight: Vr,
612
+ fontFamily: Wr,
613
+ border: Ir
614
614
  };
615
615
  function mt(t) {
616
616
  return t.replace("(min-width: ", "").replace("em)", "");
617
617
  }
618
- function Qn({
618
+ function qr({
619
619
  media: t,
620
- ...n
620
+ ...r
621
621
  }) {
622
622
  const e = Object.keys(t).sort((o, a) => Number(mt(o)) - Number(mt(a))).map((o) => ({ query: o, styles: t[o] }));
623
- return { ...n, media: e };
623
+ return { ...r, media: e };
624
624
  }
625
- function Kn(t) {
625
+ function Qr(t) {
626
626
  if (typeof t != "object" || t === null)
627
627
  return !1;
628
- const n = Object.keys(t);
629
- return !(n.length === 1 && n[0] === "base");
628
+ const r = Object.keys(t);
629
+ return !(r.length === 1 && r[0] === "base");
630
630
  }
631
- function Zn(t) {
631
+ function Kr(t) {
632
632
  return typeof t == "object" && t !== null ? "base" in t ? t.base : void 0 : t;
633
633
  }
634
- function Jn(t) {
635
- return typeof t == "object" && t !== null ? tt(t).filter((n) => n !== "base") : [];
634
+ function Zr(t) {
635
+ return typeof t == "object" && t !== null ? tt(t).filter((r) => r !== "base") : [];
636
636
  }
637
- function tr(t, n) {
638
- return typeof t == "object" && t !== null && n in t ? t[n] : t;
637
+ function Jr(t, r) {
638
+ return typeof t == "object" && t !== null && r in t ? t[r] : t;
639
639
  }
640
- function nr({
640
+ function tn({
641
641
  styleProps: t,
642
- data: n,
643
- theme: r
642
+ data: r,
643
+ theme: n
644
644
  }) {
645
- return Qn(
645
+ return qr(
646
646
  tt(t).reduce(
647
647
  (e, o) => {
648
648
  if (o === "hiddenFrom" || o === "visibleFrom" || o === "sx")
649
649
  return e;
650
- const a = n[o], i = Array.isArray(a.property) ? a.property : [a.property], s = Zn(t[o]);
651
- if (!Kn(t[o]))
650
+ const a = r[o], i = Array.isArray(a.property) ? a.property : [a.property], s = Kr(t[o]);
651
+ if (!Qr(t[o]))
652
652
  return i.forEach((c) => {
653
- e.inlineStyles[c] = q[a.type](s, r);
653
+ e.inlineStyles[c] = U[a.type](s, n);
654
654
  }), e;
655
655
  e.hasResponsiveStyles = !0;
656
- const p = Jn(t[o]);
656
+ const p = Zr(t[o]);
657
657
  return i.forEach((c) => {
658
- s && (e.styles[c] = q[a.type](s, r)), p.forEach((m) => {
659
- const u = `(min-width: ${r.breakpoints[m]})`;
660
- e.media[u] = {
661
- ...e.media[u],
662
- [c]: q[a.type](
663
- tr(t[o], m),
664
- r
658
+ s && (e.styles[c] = U[a.type](s, n)), p.forEach((m) => {
659
+ const l = `(min-width: ${n.breakpoints[m]})`;
660
+ e.media[l] = {
661
+ ...e.media[l],
662
+ [c]: U[a.type](
663
+ Jr(t[o], m),
664
+ n
665
665
  )
666
666
  };
667
667
  });
@@ -676,44 +676,44 @@ function nr({
676
676
  )
677
677
  );
678
678
  }
679
- function rr() {
680
- return `__m__-${ln().replace(/:/g, "")}`;
679
+ function rn() {
680
+ return `__m__-${lr().replace(/:/g, "")}`;
681
681
  }
682
682
  function bt(t) {
683
683
  return t.startsWith("data-") ? t : `data-${t}`;
684
684
  }
685
- function er(t) {
686
- return Object.keys(t).reduce((n, r) => {
687
- const e = t[r];
688
- return e === void 0 || e === "" || e === !1 || e === null || (n[bt(r)] = t[r]), n;
685
+ function nn(t) {
686
+ return Object.keys(t).reduce((r, n) => {
687
+ const e = t[n];
688
+ return e === void 0 || e === "" || e === !1 || e === null || (r[bt(n)] = t[n]), r;
689
689
  }, {});
690
690
  }
691
691
  function St(t) {
692
692
  return t ? typeof t == "string" ? { [bt(t)]: !0 } : Array.isArray(t) ? [...t].reduce(
693
- (n, r) => ({ ...n, ...St(r) }),
693
+ (r, n) => ({ ...r, ...St(n) }),
694
694
  {}
695
- ) : er(t) : null;
695
+ ) : nn(t) : null;
696
696
  }
697
- function J(t, n) {
697
+ function J(t, r) {
698
698
  return Array.isArray(t) ? [...t].reduce(
699
- (r, e) => ({ ...r, ...J(e, n) }),
699
+ (n, e) => ({ ...n, ...J(e, r) }),
700
700
  {}
701
- ) : typeof t == "function" ? t(n) : t ?? {};
701
+ ) : typeof t == "function" ? t(r) : t ?? {};
702
702
  }
703
- function or({
703
+ function en({
704
704
  theme: t,
705
- style: n,
706
- vars: r,
705
+ style: r,
706
+ vars: n,
707
707
  styleProps: e
708
708
  }) {
709
- const o = J(n, t), a = J(r, t);
709
+ const o = J(r, t), a = J(n, t);
710
710
  return { ...o, ...a, ...e };
711
711
  }
712
- const vt = _(
712
+ const vt = P(
713
713
  ({
714
714
  component: t,
715
- style: n,
716
- __vars: r,
715
+ style: r,
716
+ __vars: n,
717
717
  className: e,
718
718
  variant: o,
719
719
  mod: a,
@@ -722,21 +722,21 @@ const vt = _(
722
722
  visibleFrom: p,
723
723
  lightHidden: c,
724
724
  darkHidden: m,
725
- renderRoot: u,
726
- __size: l,
725
+ renderRoot: l,
726
+ __size: u,
727
727
  ...g
728
728
  }, d) => {
729
729
  var v;
730
- const b = k(), h = t || "div", { styleProps: x, rest: R } = kn(g), S = pn(), N = (v = S == null ? void 0 : S()) == null ? void 0 : v(x.sx), C = rr(), y = nr({
730
+ const b = k(), h = t || "div", { styleProps: x, rest: T } = jr(g), S = cr(), N = (v = S == null ? void 0 : S()) == null ? void 0 : v(x.sx), C = rn(), y = tn({
731
731
  styleProps: x,
732
732
  theme: b,
733
- data: Fn
733
+ data: kr
734
734
  }), w = {
735
735
  ref: d,
736
- style: or({
736
+ style: en({
737
737
  theme: b,
738
- style: n,
739
- vars: r,
738
+ style: r,
739
+ vars: n,
740
740
  styleProps: y.inlineStyles
741
741
  }),
742
742
  className: L(e, N, {
@@ -748,20 +748,20 @@ const vt = _(
748
748
  }),
749
749
  "data-variant": o,
750
750
  "data-size": yt(i) ? void 0 : i || void 0,
751
- size: l,
751
+ size: u,
752
752
  ...St(a),
753
- ...R
753
+ ...T
754
754
  };
755
- return /* @__PURE__ */ j(U, { children: [
755
+ return /* @__PURE__ */ j(q, { children: [
756
756
  y.hasResponsiveStyles && /* @__PURE__ */ f(
757
- jn,
757
+ Mr,
758
758
  {
759
759
  selector: `.${C}`,
760
760
  styles: y.styles,
761
761
  media: y.media
762
762
  }
763
763
  ),
764
- typeof u == "function" ? u(w) : /* @__PURE__ */ f(h, { ...w })
764
+ typeof l == "function" ? l(w) : /* @__PURE__ */ f(h, { ...w })
765
765
  ] });
766
766
  }
767
767
  );
@@ -771,25 +771,25 @@ function Nt(t) {
771
771
  return t;
772
772
  }
773
773
  function ot(t) {
774
- const n = _(t);
775
- return n.extend = Nt, n.withProps = (r) => {
776
- const e = _((o, a) => /* @__PURE__ */ f(n, { ...r, ...o, ref: a }));
777
- return e.extend = n.extend, e.displayName = `WithProps(${n.displayName})`, e;
778
- }, n;
774
+ const r = P(t);
775
+ return r.extend = Nt, r.withProps = (n) => {
776
+ const e = P((o, a) => /* @__PURE__ */ f(r, { ...n, ...o, ref: a }));
777
+ return e.extend = r.extend, e.displayName = `WithProps(${r.displayName})`, e;
778
+ }, r;
779
779
  }
780
780
  function xt(t) {
781
- const n = _(t);
782
- return n.withProps = (r) => {
783
- const e = _((o, a) => /* @__PURE__ */ f(n, { ...r, ...o, ref: a }));
784
- return e.extend = n.extend, e.displayName = `WithProps(${n.displayName})`, e;
785
- }, n.extend = Nt, n;
781
+ const r = P(t);
782
+ return r.withProps = (n) => {
783
+ const e = P((o, a) => /* @__PURE__ */ f(r, { ...n, ...o, ref: a }));
784
+ return e.extend = r.extend, e.displayName = `WithProps(${r.displayName})`, e;
785
+ }, r.extend = Nt, r;
786
786
  }
787
787
  var wt = { root: "m_87cf2631" };
788
- const ar = {
788
+ const on = {
789
789
  __staticSelector: "UnstyledButton"
790
790
  }, at = xt(
791
- (t, n) => {
792
- const r = O("UnstyledButton", ar, t), {
791
+ (t, r) => {
792
+ const n = O("UnstyledButton", on, t), {
793
793
  className: e,
794
794
  component: o = "button",
795
795
  __staticSelector: a,
@@ -798,9 +798,9 @@ const ar = {
798
798
  styles: p,
799
799
  style: c,
800
800
  ...m
801
- } = r, u = F({
801
+ } = n, l = F({
802
802
  name: a,
803
- props: r,
803
+ props: n,
804
804
  classes: wt,
805
805
  className: e,
806
806
  style: c,
@@ -811,9 +811,9 @@ const ar = {
811
811
  return /* @__PURE__ */ f(
812
812
  $,
813
813
  {
814
- ...u("root", { focusable: !0 }),
814
+ ...l("root", { focusable: !0 }),
815
815
  component: o,
816
- ref: n,
816
+ ref: r,
817
817
  type: o === "button" ? "button" : void 0,
818
818
  ...m
819
819
  }
@@ -938,7 +938,7 @@ const E = (t) => ({
938
938
  ...E("top"),
939
939
  common: { transformOrigin: "top right" }
940
940
  }
941
- }, ut = {
941
+ }, lt = {
942
942
  entering: "in",
943
943
  entered: "in",
944
944
  exiting: "out",
@@ -946,34 +946,34 @@ const E = (t) => ({
946
946
  "pre-exiting": "out",
947
947
  "pre-entering": "out"
948
948
  };
949
- function ir({
949
+ function an({
950
950
  transition: t,
951
- state: n,
952
- duration: r,
951
+ state: r,
952
+ duration: n,
953
953
  timingFunction: e
954
954
  }) {
955
955
  const o = {
956
956
  WebkitBackfaceVisibility: "hidden",
957
957
  willChange: "transform, opacity",
958
- transitionDuration: `${r}ms`,
958
+ transitionDuration: `${n}ms`,
959
959
  transitionTimingFunction: e
960
960
  };
961
961
  return typeof t == "string" ? t in W ? {
962
962
  transitionProperty: W[t].transitionProperty,
963
963
  ...o,
964
964
  ...W[t].common,
965
- ...W[t][ut[n]]
965
+ ...W[t][lt[r]]
966
966
  } : {} : {
967
967
  transitionProperty: t.transitionProperty,
968
968
  ...o,
969
969
  ...t.common,
970
- ...t[ut[n]]
970
+ ...t[lt[r]]
971
971
  };
972
972
  }
973
- function sr({
973
+ function sn({
974
974
  duration: t,
975
- exitDuration: n,
976
- timingFunction: r,
975
+ exitDuration: r,
976
+ timingFunction: n,
977
977
  mounted: e,
978
978
  onEnter: o,
979
979
  onExit: a,
@@ -982,12 +982,12 @@ function sr({
982
982
  enterDelay: p,
983
983
  exitDelay: c
984
984
  }) {
985
- const m = k(), u = Sn(), l = m.respectReducedMotion ? u : !1, [g, d] = Q(l ? 0 : t), [b, h] = Q(e ? "entered" : "exited"), x = M(-1), R = M(-1), S = M(-1), N = (y) => {
985
+ const m = k(), l = br(), u = m.respectReducedMotion ? l : !1, [g, d] = Q(u ? 0 : t), [b, h] = Q(e ? "entered" : "exited"), x = M(-1), T = M(-1), S = M(-1), N = (y) => {
986
986
  const w = y ? o : a, v = y ? i : s;
987
987
  window.clearTimeout(x.current);
988
- const B = l ? 0 : y ? t : n;
988
+ const B = u ? 0 : y ? t : r;
989
989
  d(B), B === 0 ? (typeof w == "function" && w(), typeof v == "function" && v(), h(y ? "entered" : "exited")) : S.current = requestAnimationFrame(() => {
990
- fn.flushSync(() => {
990
+ ur.flushSync(() => {
991
991
  h(y ? "pre-entering" : "pre-exiting");
992
992
  }), S.current = requestAnimationFrame(() => {
993
993
  typeof w == "function" && w(), h(y ? "entering" : "exiting"), x.current = window.setTimeout(() => {
@@ -996,18 +996,18 @@ function sr({
996
996
  });
997
997
  });
998
998
  }, C = (y) => {
999
- if (window.clearTimeout(R.current), typeof (y ? p : c) != "number") {
999
+ if (window.clearTimeout(T.current), typeof (y ? p : c) != "number") {
1000
1000
  N(y);
1001
1001
  return;
1002
1002
  }
1003
- R.current = window.setTimeout(
1003
+ T.current = window.setTimeout(
1004
1004
  () => {
1005
1005
  N(y);
1006
1006
  },
1007
1007
  y ? p : c
1008
1008
  );
1009
1009
  };
1010
- return bn(() => {
1010
+ return hr(() => {
1011
1011
  C(e);
1012
1012
  }, [e]), z(
1013
1013
  () => () => {
@@ -1017,14 +1017,14 @@ function sr({
1017
1017
  ), {
1018
1018
  transitionDuration: g,
1019
1019
  transitionStatus: b,
1020
- transitionTimingFunction: r || "ease"
1020
+ transitionTimingFunction: n || "ease"
1021
1021
  };
1022
1022
  }
1023
1023
  function $t({
1024
1024
  keepMounted: t,
1025
- transition: n = "fade",
1026
- duration: r = 250,
1027
- exitDuration: e = r,
1025
+ transition: r = "fade",
1026
+ duration: n = 250,
1027
+ exitDuration: e = n,
1028
1028
  mounted: o,
1029
1029
  children: a,
1030
1030
  timingFunction: i = "ease",
@@ -1032,24 +1032,24 @@ function $t({
1032
1032
  onEntered: p,
1033
1033
  onEnter: c,
1034
1034
  onExited: m,
1035
- enterDelay: u,
1036
- exitDelay: l
1035
+ enterDelay: l,
1036
+ exitDelay: u
1037
1037
  }) {
1038
- const g = mn(), { transitionDuration: d, transitionStatus: b, transitionTimingFunction: h } = sr({
1038
+ const g = pr(), { transitionDuration: d, transitionStatus: b, transitionTimingFunction: h } = sn({
1039
1039
  mounted: o,
1040
1040
  exitDuration: e,
1041
- duration: r,
1041
+ duration: n,
1042
1042
  timingFunction: i,
1043
1043
  onExit: s,
1044
1044
  onEntered: p,
1045
1045
  onEnter: c,
1046
1046
  onExited: m,
1047
- enterDelay: u,
1048
- exitDelay: l
1047
+ enterDelay: l,
1048
+ exitDelay: u
1049
1049
  });
1050
- return d === 0 || g === "test" ? o ? /* @__PURE__ */ f(U, { children: a({}) }) : t ? a({ display: "none" }) : null : b === "exited" ? t ? a({ display: "none" }) : null : /* @__PURE__ */ f(U, { children: a(
1051
- ir({
1052
- transition: n,
1050
+ return d === 0 || g === "test" ? o ? /* @__PURE__ */ f(q, { children: a({}) }) : t ? a({ display: "none" }) : null : b === "exited" ? t ? a({ display: "none" }) : null : /* @__PURE__ */ f(q, { children: a(
1051
+ an({
1052
+ transition: r,
1053
1053
  duration: d,
1054
1054
  state: b,
1055
1055
  timingFunction: h
@@ -1057,35 +1057,35 @@ function $t({
1057
1057
  ) });
1058
1058
  }
1059
1059
  $t.displayName = "@mantine/core/Transition";
1060
- 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" };
1061
- const Tt = _(({ className: t, ...n }, r) => /* @__PURE__ */ j($, { component: "span", className: L(T.barsLoader, t), ...n, ref: r, children: [
1062
- /* @__PURE__ */ f("span", { className: T.bar }),
1063
- /* @__PURE__ */ f("span", { className: T.bar }),
1064
- /* @__PURE__ */ f("span", { className: T.bar })
1060
+ var _ = { 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" };
1061
+ const _t = P(({ className: t, ...r }, n) => /* @__PURE__ */ j($, { component: "span", className: L(_.barsLoader, t), ...r, ref: n, children: [
1062
+ /* @__PURE__ */ f("span", { className: _.bar }),
1063
+ /* @__PURE__ */ f("span", { className: _.bar }),
1064
+ /* @__PURE__ */ f("span", { className: _.bar })
1065
1065
  ] }));
1066
- Tt.displayName = "@mantine/core/Bars";
1067
- const Rt = _(({ className: t, ...n }, r) => /* @__PURE__ */ j($, { component: "span", className: L(T.dotsLoader, t), ...n, ref: r, children: [
1068
- /* @__PURE__ */ f("span", { className: T.dot }),
1069
- /* @__PURE__ */ f("span", { className: T.dot }),
1070
- /* @__PURE__ */ f("span", { className: T.dot })
1066
+ _t.displayName = "@mantine/core/Bars";
1067
+ const Tt = P(({ className: t, ...r }, n) => /* @__PURE__ */ j($, { component: "span", className: L(_.dotsLoader, t), ...r, ref: n, children: [
1068
+ /* @__PURE__ */ f("span", { className: _.dot }),
1069
+ /* @__PURE__ */ f("span", { className: _.dot }),
1070
+ /* @__PURE__ */ f("span", { className: _.dot })
1071
1071
  ] }));
1072
- Rt.displayName = "@mantine/core/Dots";
1073
- const Pt = _(({ className: t, ...n }, r) => /* @__PURE__ */ f($, { component: "span", className: L(T.ovalLoader, t), ...n, ref: r }));
1074
- Pt.displayName = "@mantine/core/Oval";
1075
- const _t = {
1076
- bars: Tt,
1077
- oval: Pt,
1078
- dots: Rt
1079
- }, cr = {
1080
- loaders: _t,
1072
+ Tt.displayName = "@mantine/core/Dots";
1073
+ const Rt = P(({ className: t, ...r }, n) => /* @__PURE__ */ f($, { component: "span", className: L(_.ovalLoader, t), ...r, ref: n }));
1074
+ Rt.displayName = "@mantine/core/Oval";
1075
+ const Pt = {
1076
+ bars: _t,
1077
+ oval: Rt,
1078
+ dots: Tt
1079
+ }, cn = {
1080
+ loaders: Pt,
1081
1081
  type: "oval"
1082
- }, pr = (t, { size: n, color: r }) => ({
1082
+ }, pn = (t, { size: r, color: n }) => ({
1083
1083
  root: {
1084
- "--loader-size": A(n, "loader-size"),
1085
- "--loader-color": r ? un(r, t) : void 0
1084
+ "--loader-size": A(r, "loader-size"),
1085
+ "--loader-color": n ? mr(n, t) : void 0
1086
1086
  }
1087
- }), D = ot((t, n) => {
1088
- const r = O("Loader", cr, t), {
1087
+ }), D = ot((t, r) => {
1088
+ const n = O("Loader", cn, t), {
1089
1089
  size: e,
1090
1090
  color: o,
1091
1091
  type: a,
@@ -1094,45 +1094,45 @@ const _t = {
1094
1094
  style: p,
1095
1095
  classNames: c,
1096
1096
  styles: m,
1097
- unstyled: u,
1098
- loaders: l,
1097
+ unstyled: l,
1098
+ loaders: u,
1099
1099
  variant: g,
1100
1100
  children: d,
1101
1101
  ...b
1102
- } = r, h = F({
1102
+ } = n, h = F({
1103
1103
  name: "Loader",
1104
- props: r,
1105
- classes: T,
1104
+ props: n,
1105
+ classes: _,
1106
1106
  className: s,
1107
1107
  style: p,
1108
1108
  classNames: c,
1109
1109
  styles: m,
1110
- unstyled: u,
1110
+ unstyled: l,
1111
1111
  vars: i,
1112
- varsResolver: pr
1112
+ varsResolver: pn
1113
1113
  });
1114
- return d ? /* @__PURE__ */ f($, { ...h("root"), ref: n, ...b, children: d }) : /* @__PURE__ */ f(
1114
+ return d ? /* @__PURE__ */ f($, { ...h("root"), ref: r, ...b, children: d }) : /* @__PURE__ */ f(
1115
1115
  $,
1116
1116
  {
1117
1117
  ...h("root"),
1118
- ref: n,
1119
- component: l[a],
1118
+ ref: r,
1119
+ component: u[a],
1120
1120
  variant: g,
1121
1121
  size: e,
1122
1122
  ...b
1123
1123
  }
1124
1124
  );
1125
1125
  });
1126
- D.defaultLoaders = _t;
1127
- D.classes = T;
1126
+ D.defaultLoaders = Pt;
1127
+ D.classes = _;
1128
1128
  D.displayName = "@mantine/core/Loader";
1129
1129
  var Y = { root: "m_77c9d27d", inner: "m_80f1301b", label: "m_811560b9", section: "m_a74036a", loader: "m_a25b86ee", group: "m_80d6d844", groupSection: "m_70be2a01" };
1130
- const lt = {
1130
+ const ut = {
1131
1131
  orientation: "horizontal"
1132
- }, mr = (t, { borderWidth: n }) => ({
1133
- group: { "--button-border-width": P(n) }
1134
- }), it = ot((t, n) => {
1135
- const r = O("ButtonGroup", lt, t), {
1132
+ }, mn = (t, { borderWidth: r }) => ({
1133
+ group: { "--button-border-width": R(r) }
1134
+ }), it = ot((t, r) => {
1135
+ const n = O("ButtonGroup", ut, t), {
1136
1136
  className: e,
1137
1137
  style: o,
1138
1138
  classNames: a,
@@ -1141,12 +1141,12 @@ const lt = {
1141
1141
  orientation: p,
1142
1142
  vars: c,
1143
1143
  borderWidth: m,
1144
- variant: u,
1145
- mod: l,
1144
+ variant: l,
1145
+ mod: u,
1146
1146
  ...g
1147
- } = O("ButtonGroup", lt, t), d = F({
1147
+ } = O("ButtonGroup", ut, t), d = F({
1148
1148
  name: "ButtonGroup",
1149
- props: r,
1149
+ props: n,
1150
1150
  classes: Y,
1151
1151
  className: e,
1152
1152
  style: o,
@@ -1154,16 +1154,16 @@ const lt = {
1154
1154
  styles: i,
1155
1155
  unstyled: s,
1156
1156
  vars: c,
1157
- varsResolver: mr,
1157
+ varsResolver: mn,
1158
1158
  rootSelector: "group"
1159
1159
  });
1160
1160
  return /* @__PURE__ */ f(
1161
1161
  $,
1162
1162
  {
1163
1163
  ...d("group"),
1164
- ref: n,
1165
- variant: u,
1166
- mod: [{ "data-orientation": p }, l],
1164
+ ref: r,
1165
+ variant: l,
1166
+ mod: [{ "data-orientation": p }, u],
1167
1167
  role: "group",
1168
1168
  ...g
1169
1169
  }
@@ -1171,9 +1171,9 @@ const lt = {
1171
1171
  });
1172
1172
  it.classes = Y;
1173
1173
  it.displayName = "@mantine/core/ButtonGroup";
1174
- const ft = {}, ur = (t, { radius: n, color: r, gradient: e, variant: o, autoContrast: a, size: i }) => {
1174
+ const ft = {}, ln = (t, { radius: r, color: n, gradient: e, variant: o, autoContrast: a, size: i }) => {
1175
1175
  const s = t.variantColorResolver({
1176
- color: r || t.primaryColor,
1176
+ color: n || t.primaryColor,
1177
1177
  theme: t,
1178
1178
  gradient: e,
1179
1179
  variant: o || "filled",
@@ -1184,14 +1184,14 @@ const ft = {}, ur = (t, { radius: n, color: r, gradient: e, variant: o, autoCont
1184
1184
  "--section-height": A(i, "section-height"),
1185
1185
  "--section-padding-x": A(i, "section-padding-x"),
1186
1186
  "--section-fz": i != null && i.includes("compact") ? G(i.replace("compact-", "")) : G(i),
1187
- "--section-radius": n === void 0 ? void 0 : gt(n),
1188
- "--section-bg": r || o ? s.background : void 0,
1187
+ "--section-radius": r === void 0 ? void 0 : gt(r),
1188
+ "--section-bg": n || o ? s.background : void 0,
1189
1189
  "--section-color": s.color,
1190
- "--section-bd": r || o ? s.border : void 0
1190
+ "--section-bd": n || o ? s.border : void 0
1191
1191
  }
1192
1192
  };
1193
- }, st = ot((t, n) => {
1194
- const r = O("ButtonGroupSection", ft, t), {
1193
+ }, st = ot((t, r) => {
1194
+ const n = O("ButtonGroupSection", ft, t), {
1195
1195
  className: e,
1196
1196
  style: o,
1197
1197
  classNames: a,
@@ -1200,12 +1200,12 @@ const ft = {}, ur = (t, { radius: n, color: r, gradient: e, variant: o, autoCont
1200
1200
  vars: p,
1201
1201
  variant: c,
1202
1202
  gradient: m,
1203
- radius: u,
1204
- autoContrast: l,
1203
+ radius: l,
1204
+ autoContrast: u,
1205
1205
  ...g
1206
1206
  } = O("ButtonGroupSection", ft, t), d = F({
1207
1207
  name: "ButtonGroupSection",
1208
- props: r,
1208
+ props: n,
1209
1209
  classes: Y,
1210
1210
  className: e,
1211
1211
  style: o,
@@ -1213,21 +1213,21 @@ const ft = {}, ur = (t, { radius: n, color: r, gradient: e, variant: o, autoCont
1213
1213
  styles: i,
1214
1214
  unstyled: s,
1215
1215
  vars: p,
1216
- varsResolver: ur,
1216
+ varsResolver: ln,
1217
1217
  rootSelector: "groupSection"
1218
1218
  });
1219
- return /* @__PURE__ */ f($, { ...d("groupSection"), ref: n, variant: c, ...g });
1219
+ return /* @__PURE__ */ f($, { ...d("groupSection"), ref: r, variant: c, ...g });
1220
1220
  });
1221
1221
  st.classes = Y;
1222
1222
  st.displayName = "@mantine/core/ButtonGroupSection";
1223
- const lr = {
1224
- in: { opacity: 1, transform: `translate(-50%, calc(-50% + ${P(1)}))` },
1223
+ const un = {
1224
+ in: { opacity: 1, transform: `translate(-50%, calc(-50% + ${R(1)}))` },
1225
1225
  out: { opacity: 0, transform: "translate(-50%, -200%)" },
1226
1226
  common: { transformOrigin: "center" },
1227
1227
  transitionProperty: "transform, opacity"
1228
- }, fr = {}, dr = (t, { radius: n, color: r, gradient: e, variant: o, size: a, justify: i, autoContrast: s }) => {
1228
+ }, fn = {}, dn = (t, { radius: r, color: n, gradient: e, variant: o, size: a, justify: i, autoContrast: s }) => {
1229
1229
  const p = t.variantColorResolver({
1230
- color: r || t.primaryColor,
1230
+ color: n || t.primaryColor,
1231
1231
  theme: t,
1232
1232
  gradient: e,
1233
1233
  variant: o || "filled",
@@ -1239,16 +1239,16 @@ const lr = {
1239
1239
  "--button-height": A(a, "button-height"),
1240
1240
  "--button-padding-x": A(a, "button-padding-x"),
1241
1241
  "--button-fz": a != null && a.includes("compact") ? G(a.replace("compact-", "")) : G(a),
1242
- "--button-radius": n === void 0 ? void 0 : gt(n),
1243
- "--button-bg": r || o ? p.background : void 0,
1244
- "--button-hover": r || o ? p.hover : void 0,
1242
+ "--button-radius": r === void 0 ? void 0 : gt(r),
1243
+ "--button-bg": n || o ? p.background : void 0,
1244
+ "--button-hover": n || o ? p.hover : void 0,
1245
1245
  "--button-color": p.color,
1246
- "--button-bd": r || o ? p.border : void 0,
1247
- "--button-hover-color": r || o ? p.hoverColor : void 0
1246
+ "--button-bd": n || o ? p.border : void 0,
1247
+ "--button-hover-color": n || o ? p.hoverColor : void 0
1248
1248
  }
1249
1249
  };
1250
- }, I = xt((t, n) => {
1251
- const r = O("Button", fr, t), {
1250
+ }, I = xt((t, r) => {
1251
+ const n = O("Button", fn, t), {
1252
1252
  style: e,
1253
1253
  vars: o,
1254
1254
  className: a,
@@ -1257,44 +1257,44 @@ const lr = {
1257
1257
  children: p,
1258
1258
  leftSection: c,
1259
1259
  rightSection: m,
1260
- fullWidth: u,
1261
- variant: l,
1260
+ fullWidth: l,
1261
+ variant: u,
1262
1262
  radius: g,
1263
1263
  loading: d,
1264
1264
  loaderProps: b,
1265
1265
  gradient: h,
1266
1266
  classNames: x,
1267
- styles: R,
1267
+ styles: T,
1268
1268
  unstyled: S,
1269
1269
  "data-disabled": N,
1270
1270
  autoContrast: C,
1271
1271
  mod: y,
1272
1272
  ...w
1273
- } = r, v = F({
1273
+ } = n, v = F({
1274
1274
  name: "Button",
1275
- props: r,
1275
+ props: n,
1276
1276
  classes: Y,
1277
1277
  className: a,
1278
1278
  style: e,
1279
1279
  classNames: x,
1280
- styles: R,
1280
+ styles: T,
1281
1281
  unstyled: S,
1282
1282
  vars: o,
1283
- varsResolver: dr
1283
+ varsResolver: dn
1284
1284
  }), B = !!c, H = !!m;
1285
1285
  return /* @__PURE__ */ j(
1286
1286
  at,
1287
1287
  {
1288
- ref: n,
1288
+ ref: r,
1289
1289
  ...v("root", { active: !s && !d && !N }),
1290
1290
  unstyled: S,
1291
- variant: l,
1291
+ variant: u,
1292
1292
  disabled: s || d,
1293
1293
  mod: [
1294
1294
  {
1295
1295
  disabled: s || N,
1296
1296
  loading: d,
1297
- block: u,
1297
+ block: l,
1298
1298
  "with-left-section": B,
1299
1299
  "with-right-section": H
1300
1300
  },
@@ -1302,7 +1302,7 @@ const lr = {
1302
1302
  ],
1303
1303
  ...w,
1304
1304
  children: [
1305
- /* @__PURE__ */ f($t, { mounted: !!d, transition: lr, duration: 150, children: (V) => /* @__PURE__ */ f($, { component: "span", ...v("loader", { style: V }), "aria-hidden": !0, children: /* @__PURE__ */ f(
1305
+ /* @__PURE__ */ f($t, { mounted: !!d, transition: un, duration: 150, children: (V) => /* @__PURE__ */ f($, { component: "span", ...v("loader", { style: V }), "aria-hidden": !0, children: /* @__PURE__ */ f(
1306
1306
  D,
1307
1307
  {
1308
1308
  color: "var(--button-color)",
@@ -1323,15 +1323,17 @@ I.classes = Y;
1323
1323
  I.displayName = "@mantine/core/Button";
1324
1324
  I.Group = it;
1325
1325
  I.GroupSection = st;
1326
- const yr = "_button_1bwq5_1", gr = {
1327
- button: yr
1328
- }, xr = (t) => /* @__PURE__ */ f(
1326
+ const yn = "_root_gdr8x_1", gn = "_inner_gdr8x_7", hn = "_label_gdr8x_11", bn = {
1327
+ root: yn,
1328
+ inner: gn,
1329
+ label: hn
1330
+ }, $n = (t) => /* @__PURE__ */ f(
1329
1331
  I,
1330
1332
  {
1331
1333
  ...t,
1332
- className: gr.button
1334
+ classNames: bn
1333
1335
  }
1334
1336
  );
1335
1337
  export {
1336
- xr as Button
1338
+ $n as Button
1337
1339
  };