trely-ui-kit 0.1.2 → 0.1.3

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/index.mjs CHANGED
@@ -1,6 +1,6 @@
1
1
  import { jsx as o, jsxs as g, Fragment as Ee } from "react/jsx-runtime";
2
2
  import * as c from "react";
3
- import { forwardRef as z, useId as Be, useRef as Ve, useImperativeHandle as We, useState as ge, useEffect as L1, Children as M1, isValidElement as N1 } from "react";
3
+ import { forwardRef as z, useId as Fe, useRef as Be, useImperativeHandle as Ve, useState as ge, useEffect as w1, Children as M1, isValidElement as N1 } from "react";
4
4
  import * as I1 from "react-dom";
5
5
  import S1 from "react-dom";
6
6
  import './index.css';function Ze(e) {
@@ -16,7 +16,7 @@ function I() {
16
16
  for (var e, t, n = 0, r = "", i = arguments.length; n < i; n++) (e = arguments[n]) && (t = Ze(e)) && (r && (r += " "), r += t);
17
17
  return r;
18
18
  }
19
- const R1 = "_avatar_1h8d2_1", P1 = "_xs_1h8d2_12", x1 = "_s_1h8d2_18", D1 = "_m_1h8d2_24", A1 = "_l_1h8d2_30", O1 = "_xl_1h8d2_36", T1 = "_xxl_1h8d2_42", H1 = "_image_1h8d2_48", j1 = "_initials_1h8d2_55", X = {
19
+ const R1 = "_avatar_1h8d2_1", P1 = "_xs_1h8d2_12", x1 = "_s_1h8d2_18", D1 = "_m_1h8d2_24", A1 = "_l_1h8d2_30", O1 = "_xl_1h8d2_36", T1 = "_xxl_1h8d2_42", W1 = "_image_1h8d2_48", H1 = "_initials_1h8d2_55", X = {
20
20
  avatar: R1,
21
21
  xs: P1,
22
22
  s: x1,
@@ -24,9 +24,9 @@ const R1 = "_avatar_1h8d2_1", P1 = "_xs_1h8d2_12", x1 = "_s_1h8d2_18", D1 = "_m_
24
24
  l: A1,
25
25
  xl: O1,
26
26
  xxl: T1,
27
- image: H1,
28
- initials: j1
29
- }, F1 = z(
27
+ image: W1,
28
+ initials: H1
29
+ }, j1 = z(
30
30
  ({ src: e, firstName: t, lastName: n, size: r = "m", alt: i, className: a = "", ...l }, s) => {
31
31
  const f = () => {
32
32
  if (!t && !n) return "";
@@ -36,8 +36,8 @@ const R1 = "_avatar_1h8d2_1", P1 = "_xs_1h8d2_12", x1 = "_s_1h8d2_18", D1 = "_m_
36
36
  return /* @__PURE__ */ o("div", { ref: s, className: h, ...l, children: e ? /* @__PURE__ */ o("img", { src: e, alt: p, className: X.image }) : /* @__PURE__ */ o("span", { className: X.initials, children: C }) });
37
37
  }
38
38
  );
39
- F1.displayName = "Avatar";
40
- function Le(e, t) {
39
+ j1.displayName = "Avatar";
40
+ function we(e, t) {
41
41
  if (typeof e == "function")
42
42
  return e(t);
43
43
  e != null && (e.current = t);
@@ -46,25 +46,25 @@ function $e(...e) {
46
46
  return (t) => {
47
47
  let n = !1;
48
48
  const r = e.map((i) => {
49
- const a = Le(i, t);
49
+ const a = we(i, t);
50
50
  return !n && typeof a == "function" && (n = !0), a;
51
51
  });
52
52
  if (n)
53
53
  return () => {
54
54
  for (let i = 0; i < r.length; i++) {
55
55
  const a = r[i];
56
- typeof a == "function" ? a() : Le(e[i], null);
56
+ typeof a == "function" ? a() : we(e[i], null);
57
57
  }
58
58
  };
59
59
  };
60
60
  }
61
- function B(...e) {
61
+ function F(...e) {
62
62
  return c.useCallback($e(...e), e);
63
63
  }
64
64
  // @__NO_SIDE_EFFECTS__
65
65
  function ye(e) {
66
- const t = /* @__PURE__ */ B1(e), n = c.forwardRef((r, i) => {
67
- const { children: a, ...l } = r, s = c.Children.toArray(a), f = s.find(W1);
66
+ const t = /* @__PURE__ */ F1(e), n = c.forwardRef((r, i) => {
67
+ const { children: a, ...l } = r, s = c.Children.toArray(a), f = s.find(V1);
68
68
  if (f) {
69
69
  const d = f.props.children, C = s.map((p) => p === f ? c.Children.count(d) > 1 ? c.Children.only(null) : c.isValidElement(d) ? d.props.children : null : p);
70
70
  return /* @__PURE__ */ o(t, { ...l, ref: i, children: c.isValidElement(d) ? c.cloneElement(d, void 0, C) : null });
@@ -75,7 +75,7 @@ function ye(e) {
75
75
  }
76
76
  var Ue = /* @__PURE__ */ ye("Slot");
77
77
  // @__NO_SIDE_EFFECTS__
78
- function B1(e) {
78
+ function F1(e) {
79
79
  const t = c.forwardRef((n, r) => {
80
80
  const { children: i, ...a } = n;
81
81
  if (c.isValidElement(i)) {
@@ -86,9 +86,9 @@ function B1(e) {
86
86
  });
87
87
  return t.displayName = `${e}.SlotClone`, t;
88
88
  }
89
- var V1 = Symbol("radix.slottable");
90
- function W1(e) {
91
- return c.isValidElement(e) && typeof e.type == "function" && "__radixId" in e.type && e.type.__radixId === V1;
89
+ var B1 = Symbol("radix.slottable");
90
+ function V1(e) {
91
+ return c.isValidElement(e) && typeof e.type == "function" && "__radixId" in e.type && e.type.__radixId === B1;
92
92
  }
93
93
  function Z1(e, t) {
94
94
  const n = { ...t };
@@ -145,14 +145,14 @@ const U1 = "_button_1kkbo_1", G1 = "_xs_1kkbo_20", K1 = "_icon_1kkbo_26", z1 = "
145
145
  r && O.icon,
146
146
  l && O.loading,
147
147
  d
148
- ), k = s ? {} : {
148
+ ), L = s ? {} : {
149
149
  type: C,
150
150
  disabled: u
151
- }, w = {
151
+ }, k = {
152
152
  "aria-busy": l || void 0,
153
153
  "aria-disabled": u || void 0
154
154
  };
155
- return s ? /* @__PURE__ */ o(_, { ref: v, className: m, ...w, ...h, children: p }) : /* @__PURE__ */ g(_, { ref: v, className: m, ...k, ...w, ...h, children: [
155
+ return s ? /* @__PURE__ */ o(_, { ref: v, className: m, ...k, ...h, children: p }) : /* @__PURE__ */ g(_, { ref: v, className: m, ...L, ...k, ...h, children: [
156
156
  l && /* @__PURE__ */ o("span", { className: O.loader }),
157
157
  /* @__PURE__ */ g("span", { className: O.content, children: [
158
158
  i,
@@ -216,257 +216,225 @@ const ft = (e) => /* @__PURE__ */ g(y, { ...e, children: [
216
216
  cx: "16.5019",
217
217
  cy: "16.5019",
218
218
  r: "4.50187",
219
- "stroke-width": "1.5",
220
- "stroke-linecap": "round",
221
- "stroke-linejoin": "round"
219
+ strokeWidth: "1.5",
220
+ strokeLinecap: "round",
221
+ strokeLinejoin: "round"
222
222
  }
223
223
  ),
224
224
  /* @__PURE__ */ o(
225
225
  "path",
226
226
  {
227
227
  d: "M14.0008 7.99805L5.82585 16.173C5.29519 16.7037 4.99707 17.4234 4.99707 18.1739C4.99707 18.9243 5.29519 19.644 5.82585 20.1747V20.1747C6.3565 20.7054 7.07622 21.0035 7.82668 21.0035C8.57714 21.0035 9.29686 20.7054 9.82751 20.1747L12.1931 17.8091",
228
- "stroke-width": "1.5",
229
- "stroke-linecap": "round",
230
- "stroke-linejoin": "round"
228
+ strokeWidth: "1.5",
229
+ strokeLinecap: "round",
230
+ strokeLinejoin: "round"
231
231
  }
232
232
  ),
233
233
  /* @__PURE__ */ o(
234
234
  "path",
235
235
  {
236
236
  d: "M2.99609 13.0003L11.5499 4.44645C12.4786 3.5178 13.7381 2.99609 15.0514 2.99609C16.3647 2.99609 17.6242 3.5178 18.5529 4.44645V4.44645C19.4815 5.37509 20.0032 6.6346 20.0032 7.94791C20.0032 9.26121 19.4815 10.5207 18.5529 11.4494L17.8094 12.1928",
237
- "stroke-width": "1.5",
238
- "stroke-linecap": "round",
239
- "stroke-linejoin": "round"
237
+ strokeWidth: "1.5",
238
+ strokeLinecap: "round",
239
+ strokeLinejoin: "round"
240
240
  }
241
241
  ),
242
242
  /* @__PURE__ */ o(
243
243
  "path",
244
244
  {
245
245
  d: "M18.0022 16.5022H15.001",
246
- "stroke-width": "1.5",
247
- "stroke-linecap": "round",
248
- "stroke-linejoin": "round"
246
+ strokeWidth: "1.5",
247
+ strokeLinecap: "round",
248
+ strokeLinejoin: "round"
249
249
  }
250
250
  ),
251
251
  /* @__PURE__ */ o(
252
252
  "path",
253
253
  {
254
254
  d: "M16.5022 15.001V18.0022",
255
- "stroke-width": "1.5",
256
- "stroke-linecap": "round",
257
- "stroke-linejoin": "round"
255
+ strokeWidth: "1.5",
256
+ strokeLinecap: "round",
257
+ strokeLinejoin: "round"
258
258
  }
259
259
  )
260
260
  ] });
261
261
  ft.displayName = "AddMediaIcon";
262
- const pt = (e) => /* @__PURE__ */ o(y, { ...e, children: /* @__PURE__ */ o(
263
- "path",
264
- {
265
- d: "M8 10L12 14L16 10",
266
- "stroke-width": "1.5",
267
- "stroke-linecap": "round",
268
- "stroke-linejoin": "round"
269
- }
270
- ) });
262
+ const pt = (e) => /* @__PURE__ */ o(y, { ...e, children: /* @__PURE__ */ o("path", { d: "M8 10L12 14L16 10", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" }) });
271
263
  pt.displayName = "ArrowDownIcon";
272
- const Ct = (e) => /* @__PURE__ */ o(y, { ...e, children: /* @__PURE__ */ o(
273
- "path",
274
- {
275
- d: "M14 8L10 12L14 16",
276
- "stroke-width": "1.5",
277
- "stroke-linecap": "round",
278
- "stroke-linejoin": "round"
279
- }
280
- ) });
264
+ const Ct = (e) => /* @__PURE__ */ o(y, { ...e, children: /* @__PURE__ */ o("path", { d: "M14 8L10 12L14 16", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" }) });
281
265
  Ct.displayName = "ArrowLeftIcon";
282
- const ht = (e) => /* @__PURE__ */ o(y, { ...e, children: /* @__PURE__ */ o(
283
- "path",
284
- {
285
- d: "M10 16L14 12L10 8",
286
- "stroke-width": "1.5",
287
- "stroke-linecap": "round",
288
- "stroke-linejoin": "round"
289
- }
290
- ) });
266
+ const ht = (e) => /* @__PURE__ */ o(y, { ...e, children: /* @__PURE__ */ o("path", { d: "M10 16L14 12L10 8", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" }) });
291
267
  ht.displayName = "ArrowRightIcon";
292
- const vt = (e) => /* @__PURE__ */ o(y, { ...e, children: /* @__PURE__ */ o(
293
- "path",
294
- {
295
- d: "M16 14L12 10L8 14",
296
- "stroke-width": "1.5",
297
- "stroke-linecap": "round",
298
- "stroke-linejoin": "round"
299
- }
300
- ) });
268
+ const vt = (e) => /* @__PURE__ */ o(y, { ...e, children: /* @__PURE__ */ o("path", { d: "M16 14L12 10L8 14", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" }) });
301
269
  vt.displayName = "ArrowUpIcon";
302
- const mt = (e) => /* @__PURE__ */ o(y, { ...e, children: /* @__PURE__ */ o("path", { d: "M7 13.5217L11.1667 17L17 7", "stroke-width": "1.5", "stroke-linecap": "round" }) });
270
+ const mt = (e) => /* @__PURE__ */ o(y, { ...e, children: /* @__PURE__ */ o("path", { d: "M7 13.5217L11.1667 17L17 7", strokeWidth: "1.5", strokeLinecap: "round" }) });
303
271
  mt.displayName = "CheckmarkIcon";
304
- const ke = (e) => /* @__PURE__ */ g(y, { ...e, children: [
305
- /* @__PURE__ */ o("path", { d: "M17 7L7 17", "stroke-width": "1.5", "stroke-linecap": "round" }),
306
- /* @__PURE__ */ o("path", { d: "M7 7L17 17", "stroke-width": "1.5", "stroke-linecap": "round" })
272
+ const Le = (e) => /* @__PURE__ */ g(y, { ...e, children: [
273
+ /* @__PURE__ */ o("path", { d: "M17 7L7 17", strokeWidth: "1.5", strokeLinecap: "round" }),
274
+ /* @__PURE__ */ o("path", { d: "M7 7L17 17", strokeWidth: "1.5", strokeLinecap: "round" })
307
275
  ] });
308
- ke.displayName = "CrossIcon";
276
+ Le.displayName = "CrossIcon";
309
277
  const gt = (e) => /* @__PURE__ */ g(y, { ...e, children: [
310
278
  /* @__PURE__ */ o(
311
279
  "path",
312
280
  {
313
- "fill-rule": "evenodd",
314
- "clip-rule": "evenodd",
281
+ fillRule: "evenodd",
282
+ clipRule: "evenodd",
315
283
  d: "M16.1378 21H7.85782C6.81082 21 5.94082 20.192 5.86282 19.147L4.96582 7H18.9998L18.1328 19.142C18.0578 20.189 17.1868 21 16.1378 21V21Z",
316
- "stroke-width": "1.5",
317
- "stroke-linecap": "round",
318
- "stroke-linejoin": "round"
284
+ strokeWidth: "1.5",
285
+ strokeLinecap: "round",
286
+ strokeLinejoin: "round"
319
287
  }
320
288
  ),
321
- /* @__PURE__ */ o("path", { d: "M12 11V17", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" }),
322
- /* @__PURE__ */ o("path", { d: "M4 7H20", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" }),
289
+ /* @__PURE__ */ o("path", { d: "M12 11V17", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" }),
290
+ /* @__PURE__ */ o("path", { d: "M4 7H20", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" }),
323
291
  /* @__PURE__ */ o(
324
292
  "path",
325
293
  {
326
294
  d: "M17 7L15.987 4.298C15.694 3.517 14.948 3 14.114 3H9.886C9.052 3 8.306 3.517 8.013 4.298L7 7",
327
- "stroke-width": "1.5",
328
- "stroke-linecap": "round",
329
- "stroke-linejoin": "round"
295
+ strokeWidth: "1.5",
296
+ strokeLinecap: "round",
297
+ strokeLinejoin: "round"
330
298
  }
331
299
  ),
332
300
  /* @__PURE__ */ o(
333
301
  "path",
334
302
  {
335
303
  d: "M15.4298 11L14.9998 17",
336
- "stroke-width": "1.5",
337
- "stroke-linecap": "round",
338
- "stroke-linejoin": "round"
304
+ strokeWidth: "1.5",
305
+ strokeLinecap: "round",
306
+ strokeLinejoin: "round"
339
307
  }
340
308
  ),
341
309
  /* @__PURE__ */ o(
342
310
  "path",
343
311
  {
344
312
  d: "M8.57016 11L9.00016 17",
345
- "stroke-width": "1.5",
346
- "stroke-linecap": "round",
347
- "stroke-linejoin": "round"
313
+ strokeWidth: "1.5",
314
+ strokeLinecap: "round",
315
+ strokeLinejoin: "round"
348
316
  }
349
317
  )
350
318
  ] });
351
319
  gt.displayName = "DeleteIcon";
352
320
  const yt = (e) => /* @__PURE__ */ g(y, { ...e, children: [
353
- /* @__PURE__ */ o("path", { d: "M12 17V3", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" }),
354
- /* @__PURE__ */ o("path", { d: "M20 21H4", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" }),
321
+ /* @__PURE__ */ o("path", { d: "M12 17V3", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" }),
322
+ /* @__PURE__ */ o("path", { d: "M20 21H4", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" }),
355
323
  /* @__PURE__ */ o(
356
324
  "path",
357
325
  {
358
326
  d: "M17 12L11.999 17.001L6.99902 12",
359
- "stroke-width": "1.5",
360
- "stroke-linecap": "round",
361
- "stroke-linejoin": "round"
327
+ strokeWidth: "1.5",
328
+ strokeLinecap: "round",
329
+ strokeLinejoin: "round"
362
330
  }
363
331
  )
364
332
  ] });
365
333
  yt.displayName = "DownloadIcon";
366
- const kt = (e) => /* @__PURE__ */ g(y, { ...e, children: [
334
+ const Lt = (e) => /* @__PURE__ */ g(y, { ...e, children: [
367
335
  /* @__PURE__ */ o(
368
336
  "path",
369
337
  {
370
338
  d: "M21 11V19C21 20.105 20.105 21 19 21H5C3.895 21 3 20.105 3 19V5C3 3.895 3.895 3 5 3H13",
371
- "stroke-width": "1.5",
372
- "stroke-linecap": "round",
373
- "stroke-linejoin": "round"
339
+ strokeWidth: "1.5",
340
+ strokeLinecap: "round",
341
+ strokeLinejoin: "round"
374
342
  }
375
343
  ),
376
344
  /* @__PURE__ */ o(
377
345
  "path",
378
346
  {
379
- "fill-rule": "evenodd",
380
- "clip-rule": "evenodd",
347
+ fillRule: "evenodd",
348
+ clipRule: "evenodd",
381
349
  d: "M20.707 6.12125L9.828 17.0002H7V14.1722L17.879 3.29325C18.27 2.90225 18.903 2.90225 19.293 3.29325L20.707 4.70725C21.098 5.09825 21.098 5.73125 20.707 6.12125Z",
382
- "stroke-width": "1.5",
383
- "stroke-linecap": "round",
384
- "stroke-linejoin": "round"
350
+ strokeWidth: "1.5",
351
+ strokeLinecap: "round",
352
+ strokeLinejoin: "round"
385
353
  }
386
354
  ),
387
355
  /* @__PURE__ */ o(
388
356
  "path",
389
357
  {
390
358
  d: "M16.0898 5.08984L18.9098 7.90984",
391
- "stroke-width": "1.5",
392
- "stroke-linecap": "round",
393
- "stroke-linejoin": "round"
359
+ strokeWidth: "1.5",
360
+ strokeLinecap: "round",
361
+ strokeLinejoin: "round"
394
362
  }
395
363
  )
396
364
  ] });
397
- kt.displayName = "EditIcon";
398
- const wt = (e) => /* @__PURE__ */ g(y, { ...e, children: [
399
- /* @__PURE__ */ o("path", { d: "M18 5H21", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" }),
400
- /* @__PURE__ */ o("path", { d: "M3 5H14", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" }),
401
- /* @__PURE__ */ o("path", { d: "M10 12H21", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" }),
402
- /* @__PURE__ */ o("path", { d: "M3 12H6", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" }),
403
- /* @__PURE__ */ o("path", { d: "M18 19H21", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" }),
404
- /* @__PURE__ */ o("path", { d: "M3 19H14", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" }),
365
+ Lt.displayName = "EditIcon";
366
+ const kt = (e) => /* @__PURE__ */ g(y, { ...e, children: [
367
+ /* @__PURE__ */ o("path", { d: "M18 5H21", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" }),
368
+ /* @__PURE__ */ o("path", { d: "M3 5H14", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" }),
369
+ /* @__PURE__ */ o("path", { d: "M10 12H21", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" }),
370
+ /* @__PURE__ */ o("path", { d: "M3 12H6", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" }),
371
+ /* @__PURE__ */ o("path", { d: "M18 19H21", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" }),
372
+ /* @__PURE__ */ o("path", { d: "M3 19H14", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" }),
405
373
  /* @__PURE__ */ o(
406
374
  "path",
407
375
  {
408
376
  d: "M17.4142 3.58579C18.1953 4.36684 18.1953 5.63317 17.4142 6.41422C16.6332 7.19527 15.3668 7.19527 14.5858 6.41422C13.8047 5.63317 13.8047 4.36684 14.5858 3.58579C15.3668 2.80474 16.6332 2.80474 17.4142 3.58579",
409
- "stroke-width": "1.5",
410
- "stroke-linecap": "round",
411
- "stroke-linejoin": "round"
377
+ strokeWidth: "1.5",
378
+ strokeLinecap: "round",
379
+ strokeLinejoin: "round"
412
380
  }
413
381
  ),
414
382
  /* @__PURE__ */ o(
415
383
  "path",
416
384
  {
417
385
  d: "M9.41422 10.5858C10.1953 11.3668 10.1953 12.6332 9.41422 13.4142C8.63317 14.1953 7.36684 14.1953 6.58579 13.4142C5.80474 12.6332 5.80474 11.3668 6.58579 10.5858C7.36684 9.80474 8.63317 9.80474 9.41422 10.5858",
418
- "stroke-width": "1.5",
419
- "stroke-linecap": "round",
420
- "stroke-linejoin": "round"
386
+ strokeWidth: "1.5",
387
+ strokeLinecap: "round",
388
+ strokeLinejoin: "round"
421
389
  }
422
390
  ),
423
391
  /* @__PURE__ */ o(
424
392
  "path",
425
393
  {
426
394
  d: "M17.4142 17.5858C18.1953 18.3668 18.1953 19.6332 17.4142 20.4142C16.6332 21.1953 15.3668 21.1953 14.5858 20.4142C13.8047 19.6332 13.8047 18.3668 14.5858 17.5858C15.3668 16.8047 16.6332 16.8047 17.4142 17.5858",
427
- "stroke-width": "1.5",
428
- "stroke-linecap": "round",
429
- "stroke-linejoin": "round"
395
+ strokeWidth: "1.5",
396
+ strokeLinecap: "round",
397
+ strokeLinejoin: "round"
430
398
  }
431
399
  )
432
400
  ] });
433
- wt.displayName = "FilterIcon";
401
+ kt.displayName = "FilterIcon";
434
402
  const _t = (e) => /* @__PURE__ */ o(y, { ...e, children: /* @__PURE__ */ o(
435
403
  "path",
436
404
  {
437
- "fill-rule": "evenodd",
438
- "clip-rule": "evenodd",
405
+ fillRule: "evenodd",
406
+ clipRule: "evenodd",
439
407
  d: "M6.19807 7.55934L9.68086 3.49609L13.4357 7.87676L15.8653 5.04219L17.802 7.30168C19.0465 8.75357 19.7305 10.6027 19.7305 12.515V12.7726C19.7305 14.8229 18.9161 16.7892 17.4663 18.239C16.0166 19.6887 14.0503 20.5032 12 20.5032V20.5032C7.73059 20.5032 4.26953 17.0421 4.26953 12.7727V12.7727C4.26953 10.8604 4.95359 9.01124 6.19807 7.55934Z",
440
- "stroke-width": "1.5",
441
- "stroke-linecap": "round",
442
- "stroke-linejoin": "round"
408
+ strokeWidth: "1.5",
409
+ strokeLinecap: "round",
410
+ strokeLinejoin: "round"
443
411
  }
444
412
  ) });
445
413
  _t.displayName = "FireIcon";
446
414
  const bt = (e) => /* @__PURE__ */ g(y, { ...e, children: [
447
- /* @__PURE__ */ o("path", { d: "M5 12H19", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" }),
448
- /* @__PURE__ */ o("path", { d: "M10 7L5 12", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" }),
449
- /* @__PURE__ */ o("path", { d: "M10 17L5 12", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" })
415
+ /* @__PURE__ */ o("path", { d: "M5 12H19", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" }),
416
+ /* @__PURE__ */ o("path", { d: "M10 7L5 12", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" }),
417
+ /* @__PURE__ */ o("path", { d: "M10 17L5 12", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" })
450
418
  ] });
451
419
  bt.displayName = "LongArrowLeftIcon";
452
420
  const Et = (e) => /* @__PURE__ */ g(y, { ...e, children: [
453
- /* @__PURE__ */ o("path", { d: "M19 12H5", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" }),
454
- /* @__PURE__ */ o("path", { d: "M14 17L19 12", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" }),
455
- /* @__PURE__ */ o("path", { d: "M14 7L19 12", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" })
421
+ /* @__PURE__ */ o("path", { d: "M19 12H5", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" }),
422
+ /* @__PURE__ */ o("path", { d: "M14 17L19 12", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" }),
423
+ /* @__PURE__ */ o("path", { d: "M14 7L19 12", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" })
456
424
  ] });
457
425
  Et.displayName = "LongArrowRightIcon";
458
- const Lt = (e) => /* @__PURE__ */ g(y, { ...e, children: [
459
- /* @__PURE__ */ o("path", { d: "M12 7V17", "stroke-width": "1.5", "stroke-linecap": "round" }),
460
- /* @__PURE__ */ o("path", { d: "M7 12H17", "stroke-width": "1.5", "stroke-linecap": "round" })
426
+ const wt = (e) => /* @__PURE__ */ g(y, { ...e, children: [
427
+ /* @__PURE__ */ o("path", { d: "M12 7V17", strokeWidth: "1.5", strokeLinecap: "round" }),
428
+ /* @__PURE__ */ o("path", { d: "M7 12H17", strokeWidth: "1.5", strokeLinecap: "round" })
461
429
  ] });
462
- Lt.displayName = "PlusIcon";
430
+ wt.displayName = "PlusIcon";
463
431
  const Mt = (e) => /* @__PURE__ */ o(y, { ...e, children: /* @__PURE__ */ o(
464
432
  "path",
465
433
  {
466
434
  d: "M16.1176 17.6558C17.8646 16.383 19 14.3213 19 11.9944C19 8.1284 15.866 4.99439 12 4.99439H11.5882M12 18.9944C8.13401 18.9944 5 15.8604 5 11.9944C5 9.66748 6.13537 7.60575 7.88235 6.33296M11.1765 20.5591L12.8235 18.912L11.1765 17.265M12.8235 6.7238L11.1765 5.07675L12.8235 3.42969",
467
- "stroke-width": "1.5",
468
- "stroke-linecap": "round",
469
- "stroke-linejoin": "round"
435
+ strokeWidth: "1.5",
436
+ strokeLinecap: "round",
437
+ strokeLinejoin: "round"
470
438
  }
471
439
  ) });
472
440
  Mt.displayName = "RegenerateIcon";
@@ -475,20 +443,12 @@ const Nt = (e) => /* @__PURE__ */ g(y, { ...e, children: [
475
443
  "path",
476
444
  {
477
445
  d: "M15.7138 6.8382C18.1647 9.28913 18.1647 13.2629 15.7138 15.7138C13.2629 18.1647 9.28913 18.1647 6.8382 15.7138C4.38727 13.2629 4.38727 9.28913 6.8382 6.8382C9.28913 4.38727 13.2629 4.38727 15.7138 6.8382",
478
- "stroke-width": "1.5",
479
- "stroke-linecap": "round",
480
- "stroke-linejoin": "round"
446
+ strokeWidth: "1.5",
447
+ strokeLinecap: "round",
448
+ strokeLinejoin: "round"
481
449
  }
482
450
  ),
483
- /* @__PURE__ */ o(
484
- "path",
485
- {
486
- d: "M19 19L15.71 15.71",
487
- "stroke-width": "1.5",
488
- "stroke-linecap": "round",
489
- "stroke-linejoin": "round"
490
- }
491
- )
451
+ /* @__PURE__ */ o("path", { d: "M19 19L15.71 15.71", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" })
492
452
  ] });
493
453
  Nt.displayName = "SearchIcon";
494
454
  const It = (e) => /* @__PURE__ */ g(y, { ...e, children: [
@@ -496,9 +456,9 @@ const It = (e) => /* @__PURE__ */ g(y, { ...e, children: [
496
456
  "path",
497
457
  {
498
458
  d: "M16.066 12.1193H11.4141",
499
- "stroke-width": "1.5",
500
- "stroke-linecap": "round",
501
- "stroke-linejoin": "round"
459
+ strokeWidth: "1.5",
460
+ strokeLinecap: "round",
461
+ strokeLinejoin: "round"
502
462
  }
503
463
  ),
504
464
  /* @__PURE__ */ o(
@@ -507,18 +467,18 @@ const It = (e) => /* @__PURE__ */ g(y, { ...e, children: [
507
467
  cx: "12.0174",
508
468
  cy: "11.5164",
509
469
  r: "9.00375",
510
- "stroke-width": "1.5",
511
- "stroke-linecap": "round",
512
- "stroke-linejoin": "round"
470
+ strokeWidth: "1.5",
471
+ strokeLinecap: "round",
472
+ strokeLinejoin: "round"
513
473
  }
514
474
  ),
515
475
  /* @__PURE__ */ o(
516
476
  "path",
517
477
  {
518
478
  d: "M11.4143 12.1192V6.51465",
519
- "stroke-width": "1.5",
520
- "stroke-linecap": "round",
521
- "stroke-linejoin": "round"
479
+ strokeWidth: "1.5",
480
+ strokeLinecap: "round",
481
+ strokeLinejoin: "round"
522
482
  }
523
483
  )
524
484
  ] });
@@ -699,22 +659,22 @@ const Tt = (e) => /* @__PURE__ */ g(y, { ...e, viewBox: "0 0 16 16", fill: "curr
699
659
  /* @__PURE__ */ o("path", { d: "M10.4067 7.68678C10.2133 7.59345 10.0267 7.50011 9.84668 7.39345C9.70001 7.30678 9.56001 7.21345 9.42001 7.11345C9.30668 7.04011 9.17334 6.93345 9.04667 6.82678C9.03334 6.82011 8.98667 6.78011 8.93334 6.72678C8.71334 6.54011 8.46668 6.30011 8.24668 6.03345C8.22668 6.02011 8.19334 5.97345 8.14668 5.91345C8.08001 5.83345 7.96668 5.70011 7.86668 5.54678C7.78668 5.44678 7.69334 5.30011 7.60668 5.15345C7.50001 4.97345 7.40668 4.79345 7.31334 4.60678C7.19097 4.34455 6.8468 4.26666 6.64218 4.47127L2.89334 8.22011C2.80668 8.30678 2.72668 8.47345 2.70668 8.58678L2.34668 11.1401C2.28001 11.5934 2.40668 12.0201 2.68668 12.3068C2.92668 12.5401 3.26001 12.6668 3.62001 12.6668C3.70001 12.6668 3.78001 12.6601 3.86001 12.6468L6.42001 12.2868C6.54001 12.2668 6.70668 12.1868 6.78668 12.1001L10.5417 8.34509C10.7422 8.14456 10.6669 7.79954 10.4067 7.68678Z" })
700
660
  ] });
701
661
  Tt.displayName = "EditIDIcon";
702
- const Ht = (e) => /* @__PURE__ */ o(y, { ...e, fill: "currentColor", stroke: "none", children: /* @__PURE__ */ o(
662
+ const Wt = (e) => /* @__PURE__ */ o(y, { ...e, fill: "currentColor", stroke: "none", children: /* @__PURE__ */ o(
703
663
  "path",
704
664
  {
705
665
  d: "M18 3H6C3.79 3 2 4.78 2 6.97V17.03C2 19.22 3.79 21 6 21H18C20.21 21 22 19.22 22 17.03V6.97C22 4.78 20.21 3 18 3ZM8.5 7.17C9.77 7.17 10.81 8.21 10.81 9.48C10.81 10.75 9.77 11.79 8.5 11.79C7.23 11.79 6.19 10.75 6.19 9.48C6.19 8.21 7.23 7.17 8.5 7.17ZM12.37 16.66C12.28 16.76 12.14 16.82 12 16.82H5C4.86 16.82 4.72 16.76 4.63 16.66C4.54 16.56 4.49 16.42 4.5 16.28C4.67 14.6 6.01 13.27 7.69 13.11C8.22 13.06 8.77 13.06 9.3 13.11C10.98 13.27 12.33 14.6 12.49 16.28C12.51 16.42 12.46 16.56 12.37 16.66ZM19 16.75H17C16.59 16.75 16.25 16.41 16.25 16C16.25 15.59 16.59 15.25 17 15.25H19C19.41 15.25 19.75 15.59 19.75 16C19.75 16.41 19.41 16.75 19 16.75ZM19 12.75H15C14.59 12.75 14.25 12.41 14.25 12C14.25 11.59 14.59 11.25 15 11.25H19C19.41 11.25 19.75 11.59 19.75 12C19.75 12.41 19.41 12.75 19 12.75ZM19 8.75H14C13.59 8.75 13.25 8.41 13.25 8C13.25 7.59 13.59 7.25 14 7.25H19C19.41 7.25 19.75 7.59 19.75 8C19.75 8.41 19.41 8.75 19 8.75Z",
706
666
  fillOpacity: "0.3"
707
667
  }
708
668
  ) });
709
- Ht.displayName = "FrontPhotoIcon";
710
- const jt = (e) => /* @__PURE__ */ g(y, { ...e, fill: "currentColor", stroke: "none", children: [
669
+ Wt.displayName = "FrontPhotoIcon";
670
+ const Ht = (e) => /* @__PURE__ */ g(y, { ...e, fill: "currentColor", stroke: "none", children: [
711
671
  /* @__PURE__ */ o("path", { d: "M6.98916 13.8775L6.36261 16.2165L4.07258 16.2649C3.38819 14.9955 3 13.5432 3 11.9998C3 10.5074 3.36295 9.10006 4.00631 7.86084H4.0068L6.04557 8.23462L6.93868 10.2612C6.75175 10.8061 6.64987 11.3911 6.64987 11.9998C6.64994 12.6605 6.76961 13.2935 6.98916 13.8775Z" }),
712
672
  /* @__PURE__ */ o("path", { d: "M20.8441 10.3184C20.9474 10.8628 21.0013 11.425 21.0013 11.9997C21.0013 12.644 20.9336 13.2725 20.8045 13.8788C20.3664 15.9419 19.2216 17.7433 17.6358 19.0182L17.6353 19.0177L15.0673 18.8866L14.7039 16.6178C15.7562 16.0007 16.5785 15.0349 17.0117 13.8788H12.1992V10.3184H17.0819H20.8441Z" }),
713
673
  /* @__PURE__ */ o("path", { d: "M17.6335 19.0183L17.634 19.0188C16.0917 20.2585 14.1324 21.0002 11.9996 21.0002C8.57225 21.0002 5.59238 19.0845 4.07227 16.2654L6.98885 13.8779C7.74889 15.9064 9.70564 17.3503 11.9996 17.3503C12.9857 17.3503 13.9094 17.0838 14.7021 16.6185L17.6335 19.0183Z" }),
714
674
  /* @__PURE__ */ o("path", { d: "M17.7442 5.07196L14.8286 7.45892C14.0082 6.94613 13.0384 6.64991 11.9995 6.64991C9.65358 6.64991 7.66023 8.16011 6.93826 10.2613L4.00635 7.86096H4.00586C5.50372 4.97307 8.52117 3 11.9995 3C14.1832 3 16.1855 3.77786 17.7442 5.07196Z" })
715
675
  ] });
716
- jt.displayName = "GoogleIcon";
717
- const Ft = (e) => /* @__PURE__ */ g(y, { ...e, viewBox: "0 0 70 26", fill: "currentColor", stroke: "currentColor", children: [
676
+ Ht.displayName = "GoogleIcon";
677
+ const jt = (e) => /* @__PURE__ */ g(y, { ...e, viewBox: "0 0 70 26", fill: "currentColor", stroke: "currentColor", children: [
718
678
  /* @__PURE__ */ g("g", { clipPath: "url(#clip0_2001_2826)", children: [
719
679
  /* @__PURE__ */ o(
720
680
  "path",
@@ -778,8 +738,8 @@ const Ft = (e) => /* @__PURE__ */ g(y, { ...e, viewBox: "0 0 70 26", fill: "curr
778
738
  ] }),
779
739
  /* @__PURE__ */ o("defs", { children: /* @__PURE__ */ o("clipPath", { id: "clip0_2001_2826", children: /* @__PURE__ */ o("rect", { width: "70", height: "25", fill: "white", transform: "translate(0 0.5)" }) }) })
780
740
  ] });
781
- Ft.displayName = "LogoIcon";
782
- const Bt = (e) => /* @__PURE__ */ g(y, { ...e, children: [
741
+ jt.displayName = "LogoIcon";
742
+ const Ft = (e) => /* @__PURE__ */ g(y, { ...e, children: [
783
743
  /* @__PURE__ */ o(
784
744
  "path",
785
745
  {
@@ -802,8 +762,8 @@ const Bt = (e) => /* @__PURE__ */ g(y, { ...e, children: [
802
762
  ),
803
763
  /* @__PURE__ */ o("path", { d: "M14 11V13", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" })
804
764
  ] });
805
- Bt.displayName = "LogOutIcon";
806
- const Vt = (e) => /* @__PURE__ */ o(y, { ...e, children: /* @__PURE__ */ o(
765
+ Ft.displayName = "LogOutIcon";
766
+ const Bt = (e) => /* @__PURE__ */ o(y, { ...e, children: /* @__PURE__ */ o(
807
767
  "path",
808
768
  {
809
769
  fillRule: "evenodd",
@@ -814,15 +774,15 @@ const Vt = (e) => /* @__PURE__ */ o(y, { ...e, children: /* @__PURE__ */ o(
814
774
  strokeLinejoin: "round"
815
775
  }
816
776
  ) });
817
- Vt.displayName = "MsgIcon";
818
- const Wt = (e) => /* @__PURE__ */ g(y, { ...e, fill: "currentColor", stroke: "none", children: [
777
+ Bt.displayName = "MsgIcon";
778
+ const Vt = (e) => /* @__PURE__ */ g(y, { ...e, fill: "currentColor", stroke: "none", children: [
819
779
  /* @__PURE__ */ o("path", { d: "M17 21.25H7C3.35 21.25 1.25 19.15 1.25 15.5V8.5C1.25 4.85 3.35 2.75 7 2.75H17C20.65 2.75 22.75 4.85 22.75 8.5V15.5C22.75 19.15 20.65 21.25 17 21.25ZM7 4.25C4.14 4.25 2.75 5.64 2.75 8.5V15.5C2.75 18.36 4.14 19.75 7 19.75H17C19.86 19.75 21.25 18.36 21.25 15.5V8.5C21.25 5.64 19.86 4.25 17 4.25H7Z" }),
820
780
  /* @__PURE__ */ o("path", { d: "M8 10.75C6.96 10.75 6.11 9.9 6.11 8.86C6.11 7.82 6.96 6.97 8 6.97C9.04 6.97 9.89 7.82 9.89 8.86C9.89 9.9 9.04 10.75 8 10.75ZM8 8.47C7.78 8.47 7.61 8.64 7.61 8.86C7.61 9.08 7.78 9.25 8 9.25C8.22 9.25 8.39 9.08 8.39 8.86C8.39 8.64 8.22 8.47 8 8.47Z" }),
821
781
  /* @__PURE__ */ o("path", { d: "M12 16.75H4.66C4.25 16.75 3.91 16.41 3.91 16C3.91 15.01 4.66 14.04 6.04 13.45C7.02 13.02 8.19 12.8 8.44 12.76C8.85 12.69 9.23 12.97 9.3 13.38C9.37 13.79 9.09 14.17 8.68 14.24C8.53 14.26 7.56 14.45 6.75 14.8C6.05 15.11 5.59 15.51 5.41 15.81C6.17 15.78 6.98 15.74 7.85 15.74H12C12.41 15.74 12.75 16.08 12.75 16.49C12.75 16.9 12.41 17.24 12 17.24V16.75Z" }),
822
782
  /* @__PURE__ */ o("path", { d: "M14.5 11.75H12.5C12.09 11.75 11.75 11.41 11.75 11C11.75 10.59 12.09 10.25 12.5 10.25H14.5C14.91 10.25 15.25 10.59 15.25 11C15.25 11.41 14.91 11.75 14.5 11.75Z" }),
823
783
  /* @__PURE__ */ o("path", { d: "M19.5 15.75H12.5C12.09 15.75 11.75 15.41 11.75 15C11.75 14.59 12.09 14.25 12.5 14.25H19.5C19.91 14.25 20.25 14.59 20.25 15C20.25 15.41 19.91 15.75 19.5 15.75Z" })
824
784
  ] });
825
- Wt.displayName = "PersonalcardIcon";
785
+ Vt.displayName = "PersonalcardIcon";
826
786
  const Zt = (e) => /* @__PURE__ */ g(y, { ...e, viewBox: "0 0 16 16", children: [
827
787
  /* @__PURE__ */ o(
828
788
  "path",
@@ -958,7 +918,7 @@ const Yt = (e) => /* @__PURE__ */ o(y, { ...e, viewBox: "0 0 16 16", fill: "whit
958
918
  }
959
919
  ) });
960
920
  Yt.displayName = "WhatsappIcon";
961
- const qt = "_wrapper_gkzyi_1", Qt = "_label_gkzyi_9", Jt = "_container_gkzyi_17", en = "_input_gkzyi_23", tn = "_error_gkzyi_57", nn = "_clearButton_gkzyi_62", rn = "_errorText_gkzyi_93", j = {
921
+ const qt = "_wrapper_gkzyi_1", Qt = "_label_gkzyi_9", Jt = "_container_gkzyi_17", en = "_input_gkzyi_23", tn = "_error_gkzyi_57", nn = "_clearButton_gkzyi_62", rn = "_errorText_gkzyi_93", H = {
962
922
  wrapper: qt,
963
923
  label: Qt,
964
924
  container: Jt,
@@ -979,16 +939,16 @@ const qt = "_wrapper_gkzyi_1", Qt = "_label_gkzyi_9", Jt = "_container_gkzyi_17"
979
939
  onChange: f,
980
940
  ...d
981
941
  }, C) => {
982
- const p = Be(), h = Ve(null);
983
- We(C, () => h.current);
942
+ const p = Fe(), h = Be(null);
943
+ Ve(C, () => h.current);
984
944
  const v = l !== void 0, [_, u] = ge(() => v ? l : s || "");
985
- L1(() => {
945
+ w1(() => {
986
946
  v && u(l);
987
947
  }, [v, l]);
988
- const m = String(_).length > 0, k = (M) => {
948
+ const m = String(_).length > 0, L = (M) => {
989
949
  const S = M.target.value;
990
950
  v || u(S), f?.(M);
991
- }, w = () => {
951
+ }, k = () => {
992
952
  if (u(""), !v && h.current && (h.current.value = "", f)) {
993
953
  const M = {
994
954
  target: h.current,
@@ -997,43 +957,43 @@ const qt = "_wrapper_gkzyi_1", Qt = "_label_gkzyi_9", Jt = "_container_gkzyi_17"
997
957
  f(M);
998
958
  }
999
959
  r?.();
1000
- }, b = I(j.wrapper, i), L = I(j.input, {
1001
- [j.error]: !!t
960
+ }, b = I(H.wrapper, i), w = I(H.input, {
961
+ [H.error]: !!t
1002
962
  });
1003
963
  return /* @__PURE__ */ g("div", { className: b, children: [
1004
- e && /* @__PURE__ */ o("label", { htmlFor: p, className: j.label, children: e }),
1005
- /* @__PURE__ */ g("div", { className: j.container, children: [
964
+ e && /* @__PURE__ */ o("label", { htmlFor: p, className: H.label, children: e }),
965
+ /* @__PURE__ */ g("div", { className: H.container, children: [
1006
966
  /* @__PURE__ */ o(
1007
967
  "input",
1008
968
  {
1009
969
  ...d,
1010
970
  ref: h,
1011
971
  id: p,
1012
- className: L,
972
+ className: w,
1013
973
  disabled: a,
1014
974
  value: v ? l : void 0,
1015
975
  defaultValue: v ? void 0 : s,
1016
- onChange: k
976
+ onChange: L
1017
977
  }
1018
978
  ),
1019
979
  n && m && !a && /* @__PURE__ */ o(
1020
980
  "button",
1021
981
  {
1022
982
  type: "button",
1023
- className: j.clearButton,
1024
- onClick: w,
983
+ className: H.clearButton,
984
+ onClick: k,
1025
985
  tabIndex: -1,
1026
986
  "aria-label": "Clear input",
1027
- children: /* @__PURE__ */ o(ke, {})
987
+ children: /* @__PURE__ */ o(Le, {})
1028
988
  }
1029
989
  )
1030
990
  ] }),
1031
- t && /* @__PURE__ */ o("div", { className: j.errorText, children: t })
991
+ t && /* @__PURE__ */ o("div", { className: H.errorText, children: t })
1032
992
  ] });
1033
993
  }
1034
994
  );
1035
995
  on.displayName = "Input";
1036
- function H(e, t, { checkForDefaultPrevented: n = !0 } = {}) {
996
+ function W(e, t, { checkForDefaultPrevented: n = !0 } = {}) {
1037
997
  return function(i) {
1038
998
  if (e?.(i), n === !1 || !i.defaultPrevented)
1039
999
  return t?.(i);
@@ -1200,7 +1160,7 @@ function mn(e, t = globalThis?.document) {
1200
1160
  return t.addEventListener("keydown", r, { capture: !0 }), () => t.removeEventListener("keydown", r, { capture: !0 });
1201
1161
  }, [n, t]);
1202
1162
  }
1203
- var gn = "DismissableLayer", ve = "dismissableLayer.update", yn = "dismissableLayer.pointerDownOutside", kn = "dismissableLayer.focusOutside", Ie, Ke = c.createContext({
1163
+ var gn = "DismissableLayer", ve = "dismissableLayer.update", yn = "dismissableLayer.pointerDownOutside", Ln = "dismissableLayer.focusOutside", Ie, Ke = c.createContext({
1204
1164
  layers: /* @__PURE__ */ new Set(),
1205
1165
  layersWithOutsidePointerEventsDisabled: /* @__PURE__ */ new Set(),
1206
1166
  branches: /* @__PURE__ */ new Set()
@@ -1214,15 +1174,15 @@ var gn = "DismissableLayer", ve = "dismissableLayer.update", yn = "dismissableLa
1214
1174
  onInteractOutside: l,
1215
1175
  onDismiss: s,
1216
1176
  ...f
1217
- } = e, d = c.useContext(Ke), [C, p] = c.useState(null), h = C?.ownerDocument ?? globalThis?.document, [, v] = c.useState({}), _ = B(t, (E) => p(E)), u = Array.from(d.layers), [m] = [...d.layersWithOutsidePointerEventsDisabled].slice(-1), k = u.indexOf(m), w = C ? u.indexOf(C) : -1, b = d.layersWithOutsidePointerEventsDisabled.size > 0, L = w >= k, M = bn((E) => {
1177
+ } = e, d = c.useContext(Ke), [C, p] = c.useState(null), h = C?.ownerDocument ?? globalThis?.document, [, v] = c.useState({}), _ = F(t, (E) => p(E)), u = Array.from(d.layers), [m] = [...d.layersWithOutsidePointerEventsDisabled].slice(-1), L = u.indexOf(m), k = C ? u.indexOf(C) : -1, b = d.layersWithOutsidePointerEventsDisabled.size > 0, w = k >= L, M = bn((E) => {
1218
1178
  const x = E.target, U = [...d.branches].some((se) => se.contains(x));
1219
- !L || U || (i?.(E), l?.(E), E.defaultPrevented || s?.());
1179
+ !w || U || (i?.(E), l?.(E), E.defaultPrevented || s?.());
1220
1180
  }, h), S = En((E) => {
1221
1181
  const x = E.target;
1222
1182
  [...d.branches].some((se) => se.contains(x)) || (a?.(E), l?.(E), E.defaultPrevented || s?.());
1223
1183
  }, h);
1224
1184
  return mn((E) => {
1225
- w === d.layers.size - 1 && (r?.(E), !E.defaultPrevented && s && (E.preventDefault(), s()));
1185
+ k === d.layers.size - 1 && (r?.(E), !E.defaultPrevented && s && (E.preventDefault(), s()));
1226
1186
  }, h), c.useEffect(() => {
1227
1187
  if (C)
1228
1188
  return n && (d.layersWithOutsidePointerEventsDisabled.size === 0 && (Ie = h.body.style.pointerEvents, h.body.style.pointerEvents = "none"), d.layersWithOutsidePointerEventsDisabled.add(C)), d.layers.add(C), Se(), () => {
@@ -1239,12 +1199,12 @@ var gn = "DismissableLayer", ve = "dismissableLayer.update", yn = "dismissableLa
1239
1199
  ...f,
1240
1200
  ref: _,
1241
1201
  style: {
1242
- pointerEvents: b ? L ? "auto" : "none" : void 0,
1202
+ pointerEvents: b ? w ? "auto" : "none" : void 0,
1243
1203
  ...e.style
1244
1204
  },
1245
- onFocusCapture: H(e.onFocusCapture, S.onFocusCapture),
1246
- onBlurCapture: H(e.onBlurCapture, S.onBlurCapture),
1247
- onPointerDownCapture: H(
1205
+ onFocusCapture: W(e.onFocusCapture, S.onFocusCapture),
1206
+ onBlurCapture: W(e.onBlurCapture, S.onBlurCapture),
1207
+ onPointerDownCapture: W(
1248
1208
  e.onPointerDownCapture,
1249
1209
  M.onPointerDownCapture
1250
1210
  )
@@ -1253,8 +1213,8 @@ var gn = "DismissableLayer", ve = "dismissableLayer.update", yn = "dismissableLa
1253
1213
  }
1254
1214
  );
1255
1215
  ze.displayName = gn;
1256
- var wn = "DismissableLayerBranch", _n = c.forwardRef((e, t) => {
1257
- const n = c.useContext(Ke), r = c.useRef(null), i = B(t, r);
1216
+ var kn = "DismissableLayerBranch", _n = c.forwardRef((e, t) => {
1217
+ const n = c.useContext(Ke), r = c.useRef(null), i = F(t, r);
1258
1218
  return c.useEffect(() => {
1259
1219
  const a = r.current;
1260
1220
  if (a)
@@ -1263,7 +1223,7 @@ var wn = "DismissableLayerBranch", _n = c.forwardRef((e, t) => {
1263
1223
  };
1264
1224
  }, [n.branches]), /* @__PURE__ */ o(A.div, { ...e, ref: i });
1265
1225
  });
1266
- _n.displayName = wn;
1226
+ _n.displayName = kn;
1267
1227
  function bn(e, t = globalThis?.document) {
1268
1228
  const n = K(e), r = c.useRef(!1), i = c.useRef(() => {
1269
1229
  });
@@ -1298,7 +1258,7 @@ function En(e, t = globalThis?.document) {
1298
1258
  const n = K(e), r = c.useRef(!1);
1299
1259
  return c.useEffect(() => {
1300
1260
  const i = (a) => {
1301
- a.target && !r.current && Xe(kn, n, { originalEvent: a }, {
1261
+ a.target && !r.current && Xe(Ln, n, { originalEvent: a }, {
1302
1262
  discrete: !1
1303
1263
  });
1304
1264
  };
@@ -1316,14 +1276,14 @@ function Xe(e, t, n, { discrete: r }) {
1316
1276
  const i = n.originalEvent.target, a = new CustomEvent(e, { bubbles: !1, cancelable: !0, detail: n });
1317
1277
  t && i.addEventListener(e, t, { once: !0 }), r ? vn(i, a) : i.dispatchEvent(a);
1318
1278
  }
1319
- var le = "focusScope.autoFocusOnMount", ue = "focusScope.autoFocusOnUnmount", Re = { bubbles: !1, cancelable: !0 }, Ln = "FocusScope", Ye = c.forwardRef((e, t) => {
1279
+ var le = "focusScope.autoFocusOnMount", ue = "focusScope.autoFocusOnUnmount", Re = { bubbles: !1, cancelable: !0 }, wn = "FocusScope", Ye = c.forwardRef((e, t) => {
1320
1280
  const {
1321
1281
  loop: n = !1,
1322
1282
  trapped: r = !1,
1323
1283
  onMountAutoFocus: i,
1324
1284
  onUnmountAutoFocus: a,
1325
1285
  ...l
1326
- } = e, [s, f] = c.useState(null), d = K(i), C = K(a), p = c.useRef(null), h = B(t, (u) => f(u)), v = c.useRef({
1286
+ } = e, [s, f] = c.useState(null), d = K(i), C = K(a), p = c.useRef(null), h = F(t, (u) => f(u)), v = c.useRef({
1327
1287
  paused: !1,
1328
1288
  pause() {
1329
1289
  this.paused = !0;
@@ -1336,21 +1296,21 @@ var le = "focusScope.autoFocusOnMount", ue = "focusScope.autoFocusOnUnmount", Re
1336
1296
  if (r) {
1337
1297
  let u = function(b) {
1338
1298
  if (v.paused || !s) return;
1339
- const L = b.target;
1340
- s.contains(L) ? p.current = L : T(p.current, { select: !0 });
1299
+ const w = b.target;
1300
+ s.contains(w) ? p.current = w : T(p.current, { select: !0 });
1341
1301
  }, m = function(b) {
1342
1302
  if (v.paused || !s) return;
1343
- const L = b.relatedTarget;
1344
- L !== null && (s.contains(L) || T(p.current, { select: !0 }));
1345
- }, k = function(b) {
1303
+ const w = b.relatedTarget;
1304
+ w !== null && (s.contains(w) || T(p.current, { select: !0 }));
1305
+ }, L = function(b) {
1346
1306
  if (document.activeElement === document.body)
1347
1307
  for (const M of b)
1348
1308
  M.removedNodes.length > 0 && T(s);
1349
1309
  };
1350
1310
  document.addEventListener("focusin", u), document.addEventListener("focusout", m);
1351
- const w = new MutationObserver(k);
1352
- return s && w.observe(s, { childList: !0, subtree: !0 }), () => {
1353
- document.removeEventListener("focusin", u), document.removeEventListener("focusout", m), w.disconnect();
1311
+ const k = new MutationObserver(L);
1312
+ return s && k.observe(s, { childList: !0, subtree: !0 }), () => {
1313
+ document.removeEventListener("focusin", u), document.removeEventListener("focusout", m), k.disconnect();
1354
1314
  };
1355
1315
  }
1356
1316
  }, [r, s, v.paused]), c.useEffect(() => {
@@ -1358,13 +1318,13 @@ var le = "focusScope.autoFocusOnMount", ue = "focusScope.autoFocusOnUnmount", Re
1358
1318
  xe.add(v);
1359
1319
  const u = document.activeElement;
1360
1320
  if (!s.contains(u)) {
1361
- const k = new CustomEvent(le, Re);
1362
- s.addEventListener(le, d), s.dispatchEvent(k), k.defaultPrevented || (Mn(Pn(qe(s)), { select: !0 }), document.activeElement === u && T(s));
1321
+ const L = new CustomEvent(le, Re);
1322
+ s.addEventListener(le, d), s.dispatchEvent(L), L.defaultPrevented || (Mn(Pn(qe(s)), { select: !0 }), document.activeElement === u && T(s));
1363
1323
  }
1364
1324
  return () => {
1365
1325
  s.removeEventListener(le, d), setTimeout(() => {
1366
- const k = new CustomEvent(ue, Re);
1367
- s.addEventListener(ue, C), s.dispatchEvent(k), k.defaultPrevented || T(u ?? document.body, { select: !0 }), s.removeEventListener(ue, C), xe.remove(v);
1326
+ const L = new CustomEvent(ue, Re);
1327
+ s.addEventListener(ue, C), s.dispatchEvent(L), L.defaultPrevented || T(u ?? document.body, { select: !0 }), s.removeEventListener(ue, C), xe.remove(v);
1368
1328
  }, 0);
1369
1329
  };
1370
1330
  }
@@ -1372,17 +1332,17 @@ var le = "focusScope.autoFocusOnMount", ue = "focusScope.autoFocusOnUnmount", Re
1372
1332
  const _ = c.useCallback(
1373
1333
  (u) => {
1374
1334
  if (!n && !r || v.paused) return;
1375
- const m = u.key === "Tab" && !u.altKey && !u.ctrlKey && !u.metaKey, k = document.activeElement;
1376
- if (m && k) {
1377
- const w = u.currentTarget, [b, L] = Nn(w);
1378
- b && L ? !u.shiftKey && k === L ? (u.preventDefault(), n && T(b, { select: !0 })) : u.shiftKey && k === b && (u.preventDefault(), n && T(L, { select: !0 })) : k === w && u.preventDefault();
1335
+ const m = u.key === "Tab" && !u.altKey && !u.ctrlKey && !u.metaKey, L = document.activeElement;
1336
+ if (m && L) {
1337
+ const k = u.currentTarget, [b, w] = Nn(k);
1338
+ b && w ? !u.shiftKey && L === w ? (u.preventDefault(), n && T(b, { select: !0 })) : u.shiftKey && L === b && (u.preventDefault(), n && T(w, { select: !0 })) : L === k && u.preventDefault();
1379
1339
  }
1380
1340
  },
1381
1341
  [n, r, v.paused]
1382
1342
  );
1383
1343
  return /* @__PURE__ */ o(A.div, { tabIndex: -1, ...l, ref: h, onKeyDown: _ });
1384
1344
  });
1385
- Ye.displayName = Ln;
1345
+ Ye.displayName = wn;
1386
1346
  function Mn(e, { select: t = !1 } = {}) {
1387
1347
  const n = document.activeElement;
1388
1348
  for (const r of e)
@@ -1455,7 +1415,7 @@ function Dn(e, t) {
1455
1415
  return c.useReducer((n, r) => t[n][r] ?? n, e);
1456
1416
  }
1457
1417
  var oe = (e) => {
1458
- const { present: t, children: n } = e, r = An(t), i = typeof n == "function" ? n({ present: r.isPresent }) : c.Children.only(n), a = B(r.ref, On(i));
1418
+ const { present: t, children: n } = e, r = An(t), i = typeof n == "function" ? n({ present: r.isPresent }) : c.Children.only(n), a = F(r.ref, On(i));
1459
1419
  return typeof n == "function" || r.isPresent ? c.cloneElement(i, { ref: a }) : null;
1460
1420
  };
1461
1421
  oe.displayName = "Presence";
@@ -1545,16 +1505,16 @@ function Je(e, t) {
1545
1505
  t.indexOf(r[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, r[i]) && (n[r[i]] = e[r[i]]);
1546
1506
  return n;
1547
1507
  }
1548
- function Hn(e, t, n) {
1508
+ function Wn(e, t, n) {
1549
1509
  if (n || arguments.length === 2) for (var r = 0, i = t.length, a; r < i; r++)
1550
1510
  (a || !(r in t)) && (a || (a = Array.prototype.slice.call(t, 0, r)), a[r] = t[r]);
1551
1511
  return e.concat(a || Array.prototype.slice.call(t));
1552
1512
  }
1553
- var te = "right-scroll-bar-position", ne = "width-before-scroll-bar", jn = "with-scroll-bars-hidden", Fn = "--removed-body-scroll-bar-size";
1513
+ var te = "right-scroll-bar-position", ne = "width-before-scroll-bar", Hn = "with-scroll-bars-hidden", jn = "--removed-body-scroll-bar-size";
1554
1514
  function fe(e, t) {
1555
1515
  return typeof e == "function" ? e(t) : e && (e.current = t), e;
1556
1516
  }
1557
- function Bn(e, t) {
1517
+ function Fn(e, t) {
1558
1518
  var n = ge(function() {
1559
1519
  return {
1560
1520
  // value
@@ -1575,14 +1535,14 @@ function Bn(e, t) {
1575
1535
  })[0];
1576
1536
  return n.callback = t, n.facade;
1577
1537
  }
1578
- var Vn = typeof window < "u" ? c.useLayoutEffect : c.useEffect, Oe = /* @__PURE__ */ new WeakMap();
1579
- function Wn(e, t) {
1580
- var n = Bn(null, function(r) {
1538
+ var Bn = typeof window < "u" ? c.useLayoutEffect : c.useEffect, Oe = /* @__PURE__ */ new WeakMap();
1539
+ function Vn(e, t) {
1540
+ var n = Fn(null, function(r) {
1581
1541
  return e.forEach(function(i) {
1582
1542
  return fe(i, r);
1583
1543
  });
1584
1544
  });
1585
- return Vn(function() {
1545
+ return Bn(function() {
1586
1546
  var r = Oe.get(n);
1587
1547
  if (r) {
1588
1548
  var i = new Set(r), a = new Set(e), l = n.current;
@@ -1677,12 +1637,12 @@ var t1 = Un(), pe = function() {
1677
1637
  onScrollCapture: pe,
1678
1638
  onWheelCapture: pe,
1679
1639
  onTouchMoveCapture: pe
1680
- }), i = r[0], a = r[1], l = e.forwardProps, s = e.children, f = e.className, d = e.removeScrollBar, C = e.enabled, p = e.shards, h = e.sideCar, v = e.noRelative, _ = e.noIsolation, u = e.inert, m = e.allowPinchZoom, k = e.as, w = k === void 0 ? "div" : k, b = e.gapMode, L = Je(e, ["forwardProps", "children", "className", "removeScrollBar", "enabled", "shards", "sideCar", "noRelative", "noIsolation", "inert", "allowPinchZoom", "as", "gapMode"]), M = h, S = Wn([n, t]), E = P(P({}, L), i);
1640
+ }), i = r[0], a = r[1], l = e.forwardProps, s = e.children, f = e.className, d = e.removeScrollBar, C = e.enabled, p = e.shards, h = e.sideCar, v = e.noRelative, _ = e.noIsolation, u = e.inert, m = e.allowPinchZoom, L = e.as, k = L === void 0 ? "div" : L, b = e.gapMode, w = Je(e, ["forwardProps", "children", "className", "removeScrollBar", "enabled", "shards", "sideCar", "noRelative", "noIsolation", "inert", "allowPinchZoom", "as", "gapMode"]), M = h, S = Vn([n, t]), E = P(P({}, w), i);
1681
1641
  return c.createElement(
1682
1642
  c.Fragment,
1683
1643
  null,
1684
1644
  C && c.createElement(M, { sideCar: t1, removeScrollBar: d, shards: p, noRelative: v, noIsolation: _, inert: u, setCallbacks: a, allowPinchZoom: !!m, lockRef: n, gapMode: b }),
1685
- l ? c.cloneElement(c.Children.only(s), P(P({}, E), { ref: S })) : c.createElement(w, P({}, E, { className: f, ref: S }), s)
1645
+ l ? c.cloneElement(c.Children.only(s), P(P({}, E), { ref: S })) : c.createElement(k, P({}, E, { className: f, ref: S }), s)
1686
1646
  );
1687
1647
  });
1688
1648
  ie.defaultProps = {
@@ -1761,7 +1721,7 @@ var qn = function() {
1761
1721
  }, nr = n1(), $ = "data-scroll-locked", rr = function(e, t, n, r) {
1762
1722
  var i = e.left, a = e.top, l = e.right, s = e.gap;
1763
1723
  return n === void 0 && (n = "margin"), `
1764
- .`.concat(jn, ` {
1724
+ .`.concat(Hn, ` {
1765
1725
  overflow: hidden `).concat(r, `;
1766
1726
  padding-right: `).concat(s, "px ").concat(r, `;
1767
1727
  }
@@ -1799,7 +1759,7 @@ var qn = function() {
1799
1759
  }
1800
1760
 
1801
1761
  body[`).concat($, `] {
1802
- `).concat(Fn, ": ").concat(s, `px;
1762
+ `).concat(jn, ": ").concat(s, `px;
1803
1763
  }
1804
1764
  `);
1805
1765
  }, Te = function() {
@@ -1831,7 +1791,7 @@ if (typeof window < "u")
1831
1791
  } catch {
1832
1792
  me = !1;
1833
1793
  }
1834
- var V = me ? { passive: !1 } : !1, ar = function(e) {
1794
+ var B = me ? { passive: !1 } : !1, ar = function(e) {
1835
1795
  return e.tagName === "TEXTAREA";
1836
1796
  }, r1 = function(e, t) {
1837
1797
  if (!(e instanceof Element))
@@ -1846,7 +1806,7 @@ var V = me ? { passive: !1 } : !1, ar = function(e) {
1846
1806
  return r1(e, "overflowY");
1847
1807
  }, cr = function(e) {
1848
1808
  return r1(e, "overflowX");
1849
- }, He = function(e, t) {
1809
+ }, We = function(e, t) {
1850
1810
  var n = t.ownerDocument, r = t;
1851
1811
  do {
1852
1812
  typeof ShadowRoot < "u" && r instanceof ShadowRoot && (r = r.host);
@@ -1884,10 +1844,10 @@ var V = me ? { passive: !1 } : !1, ar = function(e) {
1884
1844
  do {
1885
1845
  if (!s)
1886
1846
  break;
1887
- var v = i1(e, s), _ = v[0], u = v[1], m = v[2], k = u - m - a * _;
1888
- (_ || k) && o1(e, s) && (p += k, h += _);
1889
- var w = s.parentNode;
1890
- s = w && w.nodeType === Node.DOCUMENT_FRAGMENT_NODE ? w.host : w;
1847
+ var v = i1(e, s), _ = v[0], u = v[1], m = v[2], L = u - m - a * _;
1848
+ (_ || L) && o1(e, s) && (p += L, h += _);
1849
+ var k = s.parentNode;
1850
+ s = k && k.nodeType === Node.DOCUMENT_FRAGMENT_NODE ? k.host : k;
1891
1851
  } while (
1892
1852
  // portaled content
1893
1853
  !f && s !== document.body || // self content
@@ -1896,9 +1856,9 @@ var V = me ? { passive: !1 } : !1, ar = function(e) {
1896
1856
  return (C && Math.abs(p) < 1 || !C && Math.abs(h) < 1) && (d = !0), d;
1897
1857
  }, Q = function(e) {
1898
1858
  return "changedTouches" in e ? [e.changedTouches[0].clientX, e.changedTouches[0].clientY] : [0, 0];
1899
- }, je = function(e) {
1859
+ }, He = function(e) {
1900
1860
  return [e.deltaX, e.deltaY];
1901
- }, Fe = function(e) {
1861
+ }, je = function(e) {
1902
1862
  return e && "current" in e ? e.current : e;
1903
1863
  }, pr = function(e, t) {
1904
1864
  return e[0] === t[0] && e[1] === t[1];
@@ -1907,7 +1867,7 @@ var V = me ? { passive: !1 } : !1, ar = function(e) {
1907
1867
  .block-interactivity-`.concat(e, ` {pointer-events: none;}
1908
1868
  .allow-interactivity-`).concat(e, ` {pointer-events: all;}
1909
1869
  `);
1910
- }, hr = 0, W = [];
1870
+ }, hr = 0, V = [];
1911
1871
  function vr(e) {
1912
1872
  var t = c.useRef([]), n = c.useRef([0, 0]), r = c.useRef(), i = c.useState(hr++)[0], a = c.useState(n1)[0], l = c.useRef(e);
1913
1873
  c.useEffect(function() {
@@ -1915,7 +1875,7 @@ function vr(e) {
1915
1875
  }, [e]), c.useEffect(function() {
1916
1876
  if (e.inert) {
1917
1877
  document.body.classList.add("block-interactivity-".concat(i));
1918
- var u = Hn([e.lockRef.current], (e.shards || []).map(Fe), !0).filter(Boolean);
1878
+ var u = Wn([e.lockRef.current], (e.shards || []).map(je), !0).filter(Boolean);
1919
1879
  return u.forEach(function(m) {
1920
1880
  return m.classList.add("allow-interactivity-".concat(i));
1921
1881
  }), function() {
@@ -1928,58 +1888,58 @@ function vr(e) {
1928
1888
  var s = c.useCallback(function(u, m) {
1929
1889
  if ("touches" in u && u.touches.length === 2 || u.type === "wheel" && u.ctrlKey)
1930
1890
  return !l.current.allowPinchZoom;
1931
- var k = Q(u), w = n.current, b = "deltaX" in u ? u.deltaX : w[0] - k[0], L = "deltaY" in u ? u.deltaY : w[1] - k[1], M, S = u.target, E = Math.abs(b) > Math.abs(L) ? "h" : "v";
1891
+ var L = Q(u), k = n.current, b = "deltaX" in u ? u.deltaX : k[0] - L[0], w = "deltaY" in u ? u.deltaY : k[1] - L[1], M, S = u.target, E = Math.abs(b) > Math.abs(w) ? "h" : "v";
1932
1892
  if ("touches" in u && E === "h" && S.type === "range")
1933
1893
  return !1;
1934
- var x = He(E, S);
1894
+ var x = We(E, S);
1935
1895
  if (!x)
1936
1896
  return !0;
1937
- if (x ? M = E : (M = E === "v" ? "h" : "v", x = He(E, S)), !x)
1897
+ if (x ? M = E : (M = E === "v" ? "h" : "v", x = We(E, S)), !x)
1938
1898
  return !1;
1939
- if (!r.current && "changedTouches" in u && (b || L) && (r.current = M), !M)
1899
+ if (!r.current && "changedTouches" in u && (b || w) && (r.current = M), !M)
1940
1900
  return !0;
1941
1901
  var U = r.current || M;
1942
- return fr(U, m, u, U === "h" ? b : L);
1902
+ return fr(U, m, u, U === "h" ? b : w);
1943
1903
  }, []), f = c.useCallback(function(u) {
1944
1904
  var m = u;
1945
- if (!(!W.length || W[W.length - 1] !== a)) {
1946
- var k = "deltaY" in m ? je(m) : Q(m), w = t.current.filter(function(M) {
1947
- return M.name === m.type && (M.target === m.target || m.target === M.shadowParent) && pr(M.delta, k);
1905
+ if (!(!V.length || V[V.length - 1] !== a)) {
1906
+ var L = "deltaY" in m ? He(m) : Q(m), k = t.current.filter(function(M) {
1907
+ return M.name === m.type && (M.target === m.target || m.target === M.shadowParent) && pr(M.delta, L);
1948
1908
  })[0];
1949
- if (w && w.should) {
1909
+ if (k && k.should) {
1950
1910
  m.cancelable && m.preventDefault();
1951
1911
  return;
1952
1912
  }
1953
- if (!w) {
1954
- var b = (l.current.shards || []).map(Fe).filter(Boolean).filter(function(M) {
1913
+ if (!k) {
1914
+ var b = (l.current.shards || []).map(je).filter(Boolean).filter(function(M) {
1955
1915
  return M.contains(m.target);
1956
- }), L = b.length > 0 ? s(m, b[0]) : !l.current.noIsolation;
1957
- L && m.cancelable && m.preventDefault();
1916
+ }), w = b.length > 0 ? s(m, b[0]) : !l.current.noIsolation;
1917
+ w && m.cancelable && m.preventDefault();
1958
1918
  }
1959
1919
  }
1960
- }, []), d = c.useCallback(function(u, m, k, w) {
1961
- var b = { name: u, delta: m, target: k, should: w, shadowParent: mr(k) };
1920
+ }, []), d = c.useCallback(function(u, m, L, k) {
1921
+ var b = { name: u, delta: m, target: L, should: k, shadowParent: mr(L) };
1962
1922
  t.current.push(b), setTimeout(function() {
1963
- t.current = t.current.filter(function(L) {
1964
- return L !== b;
1923
+ t.current = t.current.filter(function(w) {
1924
+ return w !== b;
1965
1925
  });
1966
1926
  }, 1);
1967
1927
  }, []), C = c.useCallback(function(u) {
1968
1928
  n.current = Q(u), r.current = void 0;
1969
1929
  }, []), p = c.useCallback(function(u) {
1970
- d(u.type, je(u), u.target, s(u, e.lockRef.current));
1930
+ d(u.type, He(u), u.target, s(u, e.lockRef.current));
1971
1931
  }, []), h = c.useCallback(function(u) {
1972
1932
  d(u.type, Q(u), u.target, s(u, e.lockRef.current));
1973
1933
  }, []);
1974
1934
  c.useEffect(function() {
1975
- return W.push(a), e.setCallbacks({
1935
+ return V.push(a), e.setCallbacks({
1976
1936
  onScrollCapture: p,
1977
1937
  onWheelCapture: p,
1978
1938
  onTouchMoveCapture: h
1979
- }), document.addEventListener("wheel", f, V), document.addEventListener("touchmove", f, V), document.addEventListener("touchstart", C, V), function() {
1980
- W = W.filter(function(u) {
1939
+ }), document.addEventListener("wheel", f, B), document.addEventListener("touchmove", f, B), document.addEventListener("touchstart", C, B), function() {
1940
+ V = V.filter(function(u) {
1981
1941
  return u !== a;
1982
- }), document.removeEventListener("wheel", f, V), document.removeEventListener("touchmove", f, V), document.removeEventListener("touchstart", C, V);
1942
+ }), document.removeEventListener("wheel", f, B), document.removeEventListener("touchmove", f, B), document.removeEventListener("touchstart", C, B);
1983
1943
  };
1984
1944
  }, []);
1985
1945
  var v = e.removeScrollBar, _ = e.inert;
@@ -2007,7 +1967,7 @@ var yr = function(e) {
2007
1967
  return t.ownerDocument.body;
2008
1968
  }, Z = /* @__PURE__ */ new WeakMap(), J = /* @__PURE__ */ new WeakMap(), ee = {}, he = 0, s1 = function(e) {
2009
1969
  return e && (e.host || s1(e.parentNode));
2010
- }, kr = function(e, t) {
1970
+ }, Lr = function(e, t) {
2011
1971
  return t.map(function(n) {
2012
1972
  if (e.contains(n))
2013
1973
  return n;
@@ -2016,8 +1976,8 @@ var yr = function(e) {
2016
1976
  }).filter(function(n) {
2017
1977
  return !!n;
2018
1978
  });
2019
- }, wr = function(e, t, n, r) {
2020
- var i = kr(t, Array.isArray(e) ? e : [e]);
1979
+ }, kr = function(e, t, n, r) {
1980
+ var i = Lr(t, Array.isArray(e) ? e : [e]);
2021
1981
  ee[n] || (ee[n] = /* @__PURE__ */ new WeakMap());
2022
1982
  var a = ee[n], l = [], s = /* @__PURE__ */ new Set(), f = new Set(i), d = function(p) {
2023
1983
  !p || s.has(p) || (s.add(p), d(p.parentNode));
@@ -2031,8 +1991,8 @@ var yr = function(e) {
2031
1991
  try {
2032
1992
  var v = h.getAttribute(r), _ = v !== null && v !== "false", u = (Z.get(h) || 0) + 1, m = (a.get(h) || 0) + 1;
2033
1993
  Z.set(h, u), a.set(h, m), l.push(h), u === 1 && _ && J.set(h, !0), m === 1 && h.setAttribute(n, "true"), _ || h.setAttribute(r, "true");
2034
- } catch (k) {
2035
- console.error("aria-hidden: cannot operate on ", h, k);
1994
+ } catch (L) {
1995
+ console.error("aria-hidden: cannot operate on ", h, L);
2036
1996
  }
2037
1997
  });
2038
1998
  };
@@ -2045,7 +2005,7 @@ var yr = function(e) {
2045
2005
  }, _r = function(e, t, n) {
2046
2006
  n === void 0 && (n = "data-aria-hidden");
2047
2007
  var r = Array.from(Array.isArray(e) ? e : [e]), i = yr(e);
2048
- return i ? (r.push.apply(r, Array.from(i.querySelectorAll("[aria-live], script"))), wr(r, i, n, "aria-hidden")) : function() {
2008
+ return i ? (r.push.apply(r, Array.from(i.querySelectorAll("[aria-live], script"))), kr(r, i, n, "aria-hidden")) : function() {
2049
2009
  return null;
2050
2010
  };
2051
2011
  }, ae = "Dialog", [c1] = sn(ae), [br, R] = c1(ae), l1 = (e) => {
@@ -2082,7 +2042,7 @@ var yr = function(e) {
2082
2042
  l1.displayName = ae;
2083
2043
  var u1 = "DialogTrigger", d1 = c.forwardRef(
2084
2044
  (e, t) => {
2085
- const { __scopeDialog: n, ...r } = e, i = R(u1, n), a = B(t, i.triggerRef);
2045
+ const { __scopeDialog: n, ...r } = e, i = R(u1, n), a = F(t, i.triggerRef);
2086
2046
  return /* @__PURE__ */ o(
2087
2047
  A.button,
2088
2048
  {
@@ -2093,19 +2053,19 @@ var u1 = "DialogTrigger", d1 = c.forwardRef(
2093
2053
  "data-state": be(i.open),
2094
2054
  ...r,
2095
2055
  ref: a,
2096
- onClick: H(e.onClick, i.onOpenToggle)
2056
+ onClick: W(e.onClick, i.onOpenToggle)
2097
2057
  }
2098
2058
  );
2099
2059
  }
2100
2060
  );
2101
2061
  d1.displayName = u1;
2102
- var we = "DialogPortal", [Er, f1] = c1(we, {
2062
+ var ke = "DialogPortal", [Er, f1] = c1(ke, {
2103
2063
  forceMount: void 0
2104
2064
  }), p1 = (e) => {
2105
- const { __scopeDialog: t, forceMount: n, children: r, container: i } = e, a = R(we, t);
2065
+ const { __scopeDialog: t, forceMount: n, children: r, container: i } = e, a = R(ke, t);
2106
2066
  return /* @__PURE__ */ o(Er, { scope: t, forceMount: n, children: c.Children.map(r, (l) => /* @__PURE__ */ o(oe, { present: n || a.open, children: /* @__PURE__ */ o(Qe, { asChild: !0, container: i, children: l }) })) });
2107
2067
  };
2108
- p1.displayName = we;
2068
+ p1.displayName = ke;
2109
2069
  var re = "DialogOverlay", C1 = c.forwardRef(
2110
2070
  (e, t) => {
2111
2071
  const n = f1(re, e.__scopeDialog), { forceMount: r = n.forceMount, ...i } = e, a = R(re, e.__scopeDialog);
@@ -2113,13 +2073,13 @@ var re = "DialogOverlay", C1 = c.forwardRef(
2113
2073
  }
2114
2074
  );
2115
2075
  C1.displayName = re;
2116
- var Lr = /* @__PURE__ */ ye("DialogOverlay.RemoveScroll"), Mr = c.forwardRef(
2076
+ var wr = /* @__PURE__ */ ye("DialogOverlay.RemoveScroll"), Mr = c.forwardRef(
2117
2077
  (e, t) => {
2118
2078
  const { __scopeDialog: n, ...r } = e, i = R(re, n);
2119
2079
  return (
2120
2080
  // Make sure `Content` is scrollable even when it doesn't live inside `RemoveScroll`
2121
2081
  // ie. when `Overlay` and `Content` are siblings
2122
- /* @__PURE__ */ o(a1, { as: Lr, allowPinchZoom: !0, shards: [i.contentRef], children: /* @__PURE__ */ o(
2082
+ /* @__PURE__ */ o(a1, { as: wr, allowPinchZoom: !0, shards: [i.contentRef], children: /* @__PURE__ */ o(
2123
2083
  A.div,
2124
2084
  {
2125
2085
  "data-state": be(i.open),
@@ -2130,16 +2090,16 @@ var Lr = /* @__PURE__ */ ye("DialogOverlay.RemoveScroll"), Mr = c.forwardRef(
2130
2090
  ) })
2131
2091
  );
2132
2092
  }
2133
- ), F = "DialogContent", h1 = c.forwardRef(
2093
+ ), j = "DialogContent", h1 = c.forwardRef(
2134
2094
  (e, t) => {
2135
- const n = f1(F, e.__scopeDialog), { forceMount: r = n.forceMount, ...i } = e, a = R(F, e.__scopeDialog);
2095
+ const n = f1(j, e.__scopeDialog), { forceMount: r = n.forceMount, ...i } = e, a = R(j, e.__scopeDialog);
2136
2096
  return /* @__PURE__ */ o(oe, { present: r || a.open, children: a.modal ? /* @__PURE__ */ o(Nr, { ...i, ref: t }) : /* @__PURE__ */ o(Ir, { ...i, ref: t }) });
2137
2097
  }
2138
2098
  );
2139
- h1.displayName = F;
2099
+ h1.displayName = j;
2140
2100
  var Nr = c.forwardRef(
2141
2101
  (e, t) => {
2142
- const n = R(F, e.__scopeDialog), r = c.useRef(null), i = B(t, n.contentRef, r);
2102
+ const n = R(j, e.__scopeDialog), r = c.useRef(null), i = F(t, n.contentRef, r);
2143
2103
  return c.useEffect(() => {
2144
2104
  const a = r.current;
2145
2105
  if (a) return _r(a);
@@ -2150,14 +2110,14 @@ var Nr = c.forwardRef(
2150
2110
  ref: i,
2151
2111
  trapFocus: n.open,
2152
2112
  disableOutsidePointerEvents: !0,
2153
- onCloseAutoFocus: H(e.onCloseAutoFocus, (a) => {
2113
+ onCloseAutoFocus: W(e.onCloseAutoFocus, (a) => {
2154
2114
  a.preventDefault(), n.triggerRef.current?.focus();
2155
2115
  }),
2156
- onPointerDownOutside: H(e.onPointerDownOutside, (a) => {
2116
+ onPointerDownOutside: W(e.onPointerDownOutside, (a) => {
2157
2117
  const l = a.detail.originalEvent, s = l.button === 0 && l.ctrlKey === !0;
2158
2118
  (l.button === 2 || s) && a.preventDefault();
2159
2119
  }),
2160
- onFocusOutside: H(
2120
+ onFocusOutside: W(
2161
2121
  e.onFocusOutside,
2162
2122
  (a) => a.preventDefault()
2163
2123
  )
@@ -2166,7 +2126,7 @@ var Nr = c.forwardRef(
2166
2126
  }
2167
2127
  ), Ir = c.forwardRef(
2168
2128
  (e, t) => {
2169
- const n = R(F, e.__scopeDialog), r = c.useRef(!1), i = c.useRef(!1);
2129
+ const n = R(j, e.__scopeDialog), r = c.useRef(!1), i = c.useRef(!1);
2170
2130
  return /* @__PURE__ */ o(
2171
2131
  v1,
2172
2132
  {
@@ -2187,7 +2147,7 @@ var Nr = c.forwardRef(
2187
2147
  }
2188
2148
  ), v1 = c.forwardRef(
2189
2149
  (e, t) => {
2190
- const { __scopeDialog: n, trapFocus: r, onOpenAutoFocus: i, onCloseAutoFocus: a, ...l } = e, s = R(F, n), f = c.useRef(null), d = B(t, f);
2150
+ const { __scopeDialog: n, trapFocus: r, onOpenAutoFocus: i, onCloseAutoFocus: a, ...l } = e, s = R(j, n), f = c.useRef(null), d = F(t, f);
2191
2151
  return Tn(), /* @__PURE__ */ g(Ee, { children: [
2192
2152
  /* @__PURE__ */ o(
2193
2153
  Ye,
@@ -2232,26 +2192,26 @@ var g1 = "DialogDescription", y1 = c.forwardRef(
2232
2192
  }
2233
2193
  );
2234
2194
  y1.displayName = g1;
2235
- var k1 = "DialogClose", w1 = c.forwardRef(
2195
+ var L1 = "DialogClose", k1 = c.forwardRef(
2236
2196
  (e, t) => {
2237
- const { __scopeDialog: n, ...r } = e, i = R(k1, n);
2197
+ const { __scopeDialog: n, ...r } = e, i = R(L1, n);
2238
2198
  return /* @__PURE__ */ o(
2239
2199
  A.button,
2240
2200
  {
2241
2201
  type: "button",
2242
2202
  ...r,
2243
2203
  ref: t,
2244
- onClick: H(e.onClick, () => i.onOpenChange(!1))
2204
+ onClick: W(e.onClick, () => i.onOpenChange(!1))
2245
2205
  }
2246
2206
  );
2247
2207
  }
2248
2208
  );
2249
- w1.displayName = k1;
2209
+ k1.displayName = L1;
2250
2210
  function be(e) {
2251
2211
  return e ? "open" : "closed";
2252
2212
  }
2253
2213
  var _1 = "DialogTitleWarning", [po, b1] = an(_1, {
2254
- contentName: F,
2214
+ contentName: j,
2255
2215
  titleName: _e,
2256
2216
  docsSlug: "dialog"
2257
2217
  }), Sr = ({ titleId: e }) => {
@@ -2269,12 +2229,12 @@ For more information, see https://radix-ui.com/primitives/docs/components/${t.do
2269
2229
  const i = e.current?.getAttribute("aria-describedby");
2270
2230
  t && i && (document.getElementById(t) || console.warn(r));
2271
2231
  }, [r, e, t]), null;
2272
- }, xr = l1, Dr = d1, Ar = p1, Or = C1, Tr = h1, Hr = m1, jr = y1, E1 = w1;
2273
- const Fr = "_overlay_waajj_1", Br = "_modal_waajj_18", Vr = "_header_waajj_57", Wr = "_heading_waajj_73", Zr = "_centered_waajj_85", $r = "_description_waajj_94", Ur = "_scrollableContainer_waajj_109", Gr = "_closeButton_waajj_135", D = {
2274
- overlay: Fr,
2275
- modal: Br,
2276
- header: Vr,
2277
- heading: Wr,
2232
+ }, xr = l1, Dr = d1, Ar = p1, Or = C1, Tr = h1, Wr = m1, Hr = y1, E1 = k1;
2233
+ const jr = "_overlay_waajj_1", Fr = "_modal_waajj_18", Br = "_header_waajj_57", Vr = "_heading_waajj_73", Zr = "_centered_waajj_85", $r = "_description_waajj_94", Ur = "_scrollableContainer_waajj_109", Gr = "_closeButton_waajj_135", D = {
2234
+ overlay: jr,
2235
+ modal: Fr,
2236
+ header: Br,
2237
+ heading: Vr,
2278
2238
  centered: Zr,
2279
2239
  description: $r,
2280
2240
  scrollableContainer: Ur,
@@ -2299,7 +2259,7 @@ function mo({
2299
2259
  /* @__PURE__ */ g(Tr, { className: I(D.modal, r), ...i, children: [
2300
2260
  a.length > 0 && /* @__PURE__ */ o("div", { className: D.header, children: a }),
2301
2261
  /* @__PURE__ */ o("div", { className: I(D.scrollableContainer, n), children: l }),
2302
- t && /* @__PURE__ */ o(E1, { asChild: !0, "aria-label": "Close", children: /* @__PURE__ */ o(Ge, { className: D.closeButton, children: /* @__PURE__ */ o(ke, {}) }) })
2262
+ t && /* @__PURE__ */ o(E1, { asChild: !0, "aria-label": "Close", children: /* @__PURE__ */ o(Ge, { className: D.closeButton, children: /* @__PURE__ */ o(Le, {}) }) })
2303
2263
  ] })
2304
2264
  ] });
2305
2265
  }
@@ -2310,7 +2270,7 @@ function Kr({
2310
2270
  ...r
2311
2271
  }) {
2312
2272
  return /* @__PURE__ */ o(
2313
- Hr,
2273
+ Wr,
2314
2274
  {
2315
2275
  className: I(D.heading, { [D.centered]: t }, n),
2316
2276
  ...r,
@@ -2325,7 +2285,7 @@ function zr({
2325
2285
  ...r
2326
2286
  }) {
2327
2287
  return /* @__PURE__ */ o(
2328
- jr,
2288
+ Hr,
2329
2289
  {
2330
2290
  className: I(D.description, { [D.centered]: t }, n),
2331
2291
  ...r,
@@ -2349,17 +2309,17 @@ const Xr = "_wrapper_1a52j_1", Yr = "_label_1a52j_8", qr = "_container_1a52j_16"
2349
2309
  errorText: so
2350
2310
  }, co = z(
2351
2311
  ({ label: e, error: t, icon: n, placeholderText: r, preview: i, className: a = "", disabled: l, onChange: s, ...f }, d) => {
2352
- const C = Be(), p = Ve(null), [h, v] = ge(i || null);
2353
- We(d, () => p.current);
2354
- const _ = (k) => {
2355
- const w = k.target.files?.[0];
2356
- if (w) {
2312
+ const C = Fe(), p = Be(null), [h, v] = ge(i || null);
2313
+ Ve(d, () => p.current);
2314
+ const _ = (L) => {
2315
+ const k = L.target.files?.[0];
2316
+ if (k) {
2357
2317
  const b = new FileReader();
2358
2318
  b.onloadend = () => {
2359
2319
  v(b.result);
2360
- }, b.readAsDataURL(w);
2320
+ }, b.readAsDataURL(k);
2361
2321
  }
2362
- s && s(k);
2322
+ s && s(L);
2363
2323
  }, u = I(N.wrapper, a), m = I(N.uploadBox, {
2364
2324
  [N.error]: !!t,
2365
2325
  [N.hasPreview]: !!h
@@ -2400,7 +2360,7 @@ export {
2400
2360
  Ct as ArrowLeftIcon,
2401
2361
  ht as ArrowRightIcon,
2402
2362
  vt as ArrowUpIcon,
2403
- F1 as Avatar,
2363
+ j1 as Avatar,
2404
2364
  Pt as BackPhotoIcon,
2405
2365
  at as Button,
2406
2366
  xt as CalendarIcon,
@@ -2408,20 +2368,20 @@ export {
2408
2368
  Dt as CircleAddIcon,
2409
2369
  Ge as CircleButton,
2410
2370
  At as CoinIcon,
2411
- ke as CrossIcon,
2371
+ Le as CrossIcon,
2412
2372
  gt as DeleteIcon,
2413
2373
  Ot as DocumentBackIcon,
2414
2374
  yt as DownloadIcon,
2415
2375
  Tt as EditIDIcon,
2416
- kt as EditIcon,
2417
- wt as FilterIcon,
2376
+ Lt as EditIcon,
2377
+ kt as FilterIcon,
2418
2378
  _t as FireIcon,
2419
- Ht as FrontPhotoIcon,
2420
- jt as GoogleIcon,
2379
+ Wt as FrontPhotoIcon,
2380
+ Ht as GoogleIcon,
2421
2381
  y as Icon,
2422
2382
  on as Input,
2423
- Bt as LogOutIcon,
2424
- Ft as LogoIcon,
2383
+ Ft as LogOutIcon,
2384
+ jt as LogoIcon,
2425
2385
  bt as LongArrowLeftIcon,
2426
2386
  Et as LongArrowRightIcon,
2427
2387
  Co as Modal,
@@ -2430,10 +2390,10 @@ export {
2430
2390
  zr as ModalDescription,
2431
2391
  Kr as ModalTitle,
2432
2392
  ho as ModalTrigger,
2433
- Vt as MsgIcon,
2434
- Wt as PersonalcardIcon,
2393
+ Bt as MsgIcon,
2394
+ Vt as PersonalcardIcon,
2435
2395
  co as PhotoUploadField,
2436
- Lt as PlusIcon,
2396
+ wt as PlusIcon,
2437
2397
  Mt as RegenerateIcon,
2438
2398
  Zt as ReverseIcon,
2439
2399
  Nt as SearchIcon,