@yusr_systems/ui 6.0.14 → 6.0.15

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.
Files changed (2) hide show
  1. package/dist/yusr-ui.js +699 -644
  2. package/package.json +2 -2
package/dist/yusr-ui.js CHANGED
@@ -1261,19 +1261,74 @@ function Yt({ title: e }) {
1261
1261
  }
1262
1262
  //#endregion
1263
1263
  //#region src/components/custom/fields/fieldsSection.tsx
1264
- function Xt(e) {
1265
- return !e || typeof e == "number" ? "" : P({
1266
- [`grid-cols-${e.base}`]: e.base,
1267
- [`sm:grid-cols-${e.sm}`]: e.sm,
1268
- [`md:grid-cols-${e.md}`]: e.md,
1269
- [`lg:grid-cols-${e.lg}`]: e.lg,
1270
- [`xl:grid-cols-${e.xl}`]: e.xl
1271
- });
1264
+ var Xt = {
1265
+ 1: "grid-cols-1",
1266
+ 2: "grid-cols-2",
1267
+ 3: "grid-cols-3",
1268
+ 4: "grid-cols-4",
1269
+ 5: "grid-cols-5",
1270
+ 6: "grid-cols-6",
1271
+ 7: "grid-cols-7",
1272
+ 8: "grid-cols-8",
1273
+ 9: "grid-cols-9",
1274
+ 10: "grid-cols-10"
1275
+ }, Zt = {
1276
+ sm: {
1277
+ 1: "sm:grid-cols-1",
1278
+ 2: "sm:grid-cols-2",
1279
+ 3: "sm:grid-cols-3",
1280
+ 4: "sm:grid-cols-4",
1281
+ 5: "sm:grid-cols-5",
1282
+ 6: "sm:grid-cols-6",
1283
+ 7: "sm:grid-cols-7",
1284
+ 8: "sm:grid-cols-8",
1285
+ 9: "sm:grid-cols-9",
1286
+ 10: "sm:grid-cols-10"
1287
+ },
1288
+ md: {
1289
+ 1: "md:grid-cols-1",
1290
+ 2: "md:grid-cols-2",
1291
+ 3: "md:grid-cols-3",
1292
+ 4: "md:grid-cols-4",
1293
+ 5: "md:grid-cols-5",
1294
+ 6: "md:grid-cols-6",
1295
+ 7: "md:grid-cols-7",
1296
+ 8: "md:grid-cols-8",
1297
+ 9: "md:grid-cols-9",
1298
+ 10: "md:grid-cols-10"
1299
+ },
1300
+ lg: {
1301
+ 1: "lg:grid-cols-1",
1302
+ 2: "lg:grid-cols-2",
1303
+ 3: "lg:grid-cols-3",
1304
+ 4: "lg:grid-cols-4",
1305
+ 5: "lg:grid-cols-5",
1306
+ 6: "lg:grid-cols-6",
1307
+ 7: "lg:grid-cols-7",
1308
+ 8: "lg:grid-cols-8",
1309
+ 9: "lg:grid-cols-9",
1310
+ 10: "lg:grid-cols-10"
1311
+ },
1312
+ xl: {
1313
+ 1: "xl:grid-cols-1",
1314
+ 2: "xl:grid-cols-2",
1315
+ 3: "xl:grid-cols-3",
1316
+ 4: "xl:grid-cols-4",
1317
+ 5: "xl:grid-cols-5",
1318
+ 6: "xl:grid-cols-6",
1319
+ 7: "xl:grid-cols-7",
1320
+ 8: "xl:grid-cols-8",
1321
+ 9: "xl:grid-cols-9",
1322
+ 10: "xl:grid-cols-10"
1323
+ }
1324
+ };
1325
+ function Qt(e) {
1326
+ return !e || typeof e == "number" ? "" : P(e.base && Xt[e.base], e.sm && Zt.sm[e.sm], e.md && Zt.md[e.md], e.lg && Zt.lg[e.lg], e.xl && Zt.xl[e.xl]);
1272
1327
  }
1273
- function Zt(e) {
1328
+ function $t(e) {
1274
1329
  if (typeof e == "number") return { gridTemplateColumns: `repeat(${e}, minmax(0, 1fr))` };
1275
1330
  }
1276
- function Qt({ title: e, children: t, columns: n = {
1331
+ function en({ title: e, children: t, columns: n = {
1277
1332
  base: 1,
1278
1333
  md: 2,
1279
1334
  lg: 3
@@ -1281,15 +1336,15 @@ function Qt({ title: e, children: t, columns: n = {
1281
1336
  return /* @__PURE__ */ o("div", {
1282
1337
  className: P("space-y-3", r),
1283
1338
  children: [e && /* @__PURE__ */ a(Yt, { title: e }), /* @__PURE__ */ a("div", {
1284
- className: P("grid gap-4", typeof n != "number" && Xt(n), i),
1285
- style: Zt(n),
1339
+ className: P("grid gap-4", typeof n != "number" && Qt(n), i),
1340
+ style: $t(n),
1286
1341
  children: t
1287
1342
  })]
1288
1343
  });
1289
1344
  }
1290
1345
  //#endregion
1291
1346
  //#region src/components/custom/fields/inputField.tsx
1292
- function $t({ label: e, error: t, isInvalid: n, required: r, ...i }) {
1347
+ function tn({ label: e, error: t, isInvalid: n, required: r, ...i }) {
1293
1348
  return /* @__PURE__ */ a(R, {
1294
1349
  label: e,
1295
1350
  error: t,
@@ -1303,7 +1358,7 @@ function $t({ label: e, error: t, isInvalid: n, required: r, ...i }) {
1303
1358
  }
1304
1359
  //#endregion
1305
1360
  //#region src/components/custom/inputs/numberInput.tsx
1306
- function en({ onChange: e, min: t, max: n, isInvalid: r, className: i, ...o }) {
1361
+ function nn({ onChange: e, min: t, max: n, isInvalid: r, className: i, ...o }) {
1307
1362
  return /* @__PURE__ */ a(z, {
1308
1363
  ...o,
1309
1364
  type: "number",
@@ -1323,13 +1378,13 @@ function en({ onChange: e, min: t, max: n, isInvalid: r, className: i, ...o }) {
1323
1378
  }
1324
1379
  //#endregion
1325
1380
  //#region src/components/custom/fields/numberField.tsx
1326
- function tn({ label: e, error: t, isInvalid: n, required: r, ...i }) {
1381
+ function rn({ label: e, error: t, isInvalid: n, required: r, ...i }) {
1327
1382
  return /* @__PURE__ */ a(R, {
1328
1383
  label: e,
1329
1384
  error: t,
1330
1385
  isInvalid: n,
1331
1386
  required: r,
1332
- children: /* @__PURE__ */ a(en, {
1387
+ children: /* @__PURE__ */ a(nn, {
1333
1388
  ...i,
1334
1389
  isInvalid: n
1335
1390
  })
@@ -1337,11 +1392,11 @@ function tn({ label: e, error: t, isInvalid: n, required: r, ...i }) {
1337
1392
  }
1338
1393
  //#endregion
1339
1394
  //#region src/components/custom/fields/passwordField.tsx
1340
- function nn(e) {
1395
+ function an(e) {
1341
1396
  let [t, n] = x(!1);
1342
1397
  return /* @__PURE__ */ o("div", {
1343
1398
  className: "relative",
1344
- children: [/* @__PURE__ */ a($t, {
1399
+ children: [/* @__PURE__ */ a(tn, {
1345
1400
  ...e,
1346
1401
  type: t ? "text" : "password",
1347
1402
  className: "pl-10"
@@ -1355,8 +1410,8 @@ function nn(e) {
1355
1410
  }
1356
1411
  //#endregion
1357
1412
  //#region src/components/custom/fields/phoneField.tsx
1358
- function rn(e) {
1359
- return /* @__PURE__ */ a($t, {
1413
+ function on(e) {
1414
+ return /* @__PURE__ */ a(tn, {
1360
1415
  ...e,
1361
1416
  type: "tel",
1362
1417
  dir: "ltr",
@@ -1366,26 +1421,26 @@ function rn(e) {
1366
1421
  }
1367
1422
  //#endregion
1368
1423
  //#region src/components/pure/select.tsx
1369
- function an({ ...e }) {
1424
+ function sn({ ...e }) {
1370
1425
  return /* @__PURE__ */ a(T.Root, {
1371
1426
  "data-slot": "select",
1372
1427
  ...e
1373
1428
  });
1374
1429
  }
1375
- function on({ className: e, ...t }) {
1430
+ function cn({ className: e, ...t }) {
1376
1431
  return /* @__PURE__ */ a(T.Group, {
1377
1432
  "data-slot": "select-group",
1378
1433
  className: P("scroll-my-1 p-1", e),
1379
1434
  ...t
1380
1435
  });
1381
1436
  }
1382
- function sn({ ...e }) {
1437
+ function ln({ ...e }) {
1383
1438
  return /* @__PURE__ */ a(T.Value, {
1384
1439
  "data-slot": "select-value",
1385
1440
  ...e
1386
1441
  });
1387
1442
  }
1388
- function cn({ className: e, size: t = "default", children: n, ...r }) {
1443
+ function un({ className: e, size: t = "default", children: n, ...r }) {
1389
1444
  return /* @__PURE__ */ o(T.Trigger, {
1390
1445
  "data-slot": "select-trigger",
1391
1446
  "data-size": t,
@@ -1397,7 +1452,7 @@ function cn({ className: e, size: t = "default", children: n, ...r }) {
1397
1452
  })]
1398
1453
  });
1399
1454
  }
1400
- function ln({ className: e, children: t, position: n = "item-aligned", align: r = "center", ...i }) {
1455
+ function dn({ className: e, children: t, position: n = "item-aligned", align: r = "center", ...i }) {
1401
1456
  return /* @__PURE__ */ a(T.Portal, { children: /* @__PURE__ */ o(T.Content, {
1402
1457
  "data-slot": "select-content",
1403
1458
  "data-align-trigger": n === "item-aligned",
@@ -1406,24 +1461,24 @@ function ln({ className: e, children: t, position: n = "item-aligned", align: r
1406
1461
  align: r,
1407
1462
  ...i,
1408
1463
  children: [
1409
- /* @__PURE__ */ a(pn, {}),
1464
+ /* @__PURE__ */ a(hn, {}),
1410
1465
  /* @__PURE__ */ a(T.Viewport, {
1411
1466
  "data-position": n,
1412
1467
  className: P("data-[position=popper]:h-(--radix-select-trigger-height) data-[position=popper]:w-full data-[position=popper]:min-w-(--radix-select-trigger-width)", n === "popper" && ""),
1413
1468
  children: t
1414
1469
  }),
1415
- /* @__PURE__ */ a(mn, {})
1470
+ /* @__PURE__ */ a(gn, {})
1416
1471
  ]
1417
1472
  }) });
1418
1473
  }
1419
- function un({ className: e, ...t }) {
1474
+ function fn({ className: e, ...t }) {
1420
1475
  return /* @__PURE__ */ a(T.Label, {
1421
1476
  "data-slot": "select-label",
1422
1477
  className: P("text-muted-foreground px-1.5 py-1 text-xs", e),
1423
1478
  ...t
1424
1479
  });
1425
1480
  }
1426
- function dn({ className: e, children: t, ...n }) {
1481
+ function pn({ className: e, children: t, ...n }) {
1427
1482
  return /* @__PURE__ */ o(T.Item, {
1428
1483
  "data-slot": "select-item",
1429
1484
  className: P("focus:bg-accent focus:text-accent-foreground not-data-[variant=destructive]:focus:**:text-accent-foreground gap-1.5 rounded-md py-1 pe-8 ps-1.5 text-sm [&_svg:not([class*='size-'])]:size-4 *:[span]:last:flex *:[span]:last:items-center *:[span]:last:gap-2 relative flex w-full cursor-default items-center outline-hidden select-none data-disabled:pointer-events-none data-disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0", e),
@@ -1434,14 +1489,14 @@ function dn({ className: e, children: t, ...n }) {
1434
1489
  }), /* @__PURE__ */ a(T.ItemText, { children: t })]
1435
1490
  });
1436
1491
  }
1437
- function fn({ className: e, ...t }) {
1492
+ function mn({ className: e, ...t }) {
1438
1493
  return /* @__PURE__ */ a(T.Separator, {
1439
1494
  "data-slot": "select-separator",
1440
1495
  className: P("bg-border -mx-1 my-1 h-px pointer-events-none", e),
1441
1496
  ...t
1442
1497
  });
1443
1498
  }
1444
- function pn({ className: e, ...t }) {
1499
+ function hn({ className: e, ...t }) {
1445
1500
  return /* @__PURE__ */ a(T.ScrollUpButton, {
1446
1501
  "data-slot": "select-scroll-up-button",
1447
1502
  className: P("bg-popover z-10 flex cursor-default items-center justify-center py-1 [&_svg:not([class*='size-'])]:size-4", e),
@@ -1449,7 +1504,7 @@ function pn({ className: e, ...t }) {
1449
1504
  children: /* @__PURE__ */ a(m, {})
1450
1505
  });
1451
1506
  }
1452
- function mn({ className: e, ...t }) {
1507
+ function gn({ className: e, ...t }) {
1453
1508
  return /* @__PURE__ */ a(T.ScrollDownButton, {
1454
1509
  "data-slot": "select-scroll-down-button",
1455
1510
  className: P("bg-popover z-10 flex cursor-default items-center justify-center py-1 [&_svg:not([class*='size-'])]:size-4", e),
@@ -1459,16 +1514,16 @@ function mn({ className: e, ...t }) {
1459
1514
  }
1460
1515
  //#endregion
1461
1516
  //#region src/components/custom/inputs/selectInput.tsx
1462
- function hn({ value: e, onValueChange: t, options: n, placeholder: r, isInvalid: i, disabled: s }) {
1463
- return /* @__PURE__ */ o(an, {
1517
+ function _n({ value: e, onValueChange: t, options: n, placeholder: r, isInvalid: i, disabled: s }) {
1518
+ return /* @__PURE__ */ o(sn, {
1464
1519
  value: e,
1465
1520
  onValueChange: t,
1466
1521
  dir: "rtl",
1467
1522
  disabled: s,
1468
- children: [/* @__PURE__ */ a(cn, {
1523
+ children: [/* @__PURE__ */ a(un, {
1469
1524
  className: P("w-full", i && "border-red-600 ring-red-600 text-red-900"),
1470
- children: /* @__PURE__ */ a(sn, { placeholder: r })
1471
- }), /* @__PURE__ */ a(ln, { children: n.map((e) => /* @__PURE__ */ a(dn, {
1525
+ children: /* @__PURE__ */ a(ln, { placeholder: r })
1526
+ }), /* @__PURE__ */ a(dn, { children: n.map((e) => /* @__PURE__ */ a(pn, {
1472
1527
  value: e.value,
1473
1528
  children: e.label
1474
1529
  }, e.value)) })]
@@ -1476,13 +1531,13 @@ function hn({ value: e, onValueChange: t, options: n, placeholder: r, isInvalid:
1476
1531
  }
1477
1532
  //#endregion
1478
1533
  //#region src/components/custom/fields/selectField.tsx
1479
- function gn({ label: e, error: t, required: n, isInvalid: r, ...i }) {
1534
+ function vn({ label: e, error: t, required: n, isInvalid: r, ...i }) {
1480
1535
  return /* @__PURE__ */ a(R, {
1481
1536
  label: e,
1482
1537
  error: t,
1483
1538
  isInvalid: r,
1484
1539
  required: n,
1485
- children: /* @__PURE__ */ a(hn, {
1540
+ children: /* @__PURE__ */ a(_n, {
1486
1541
  ...i,
1487
1542
  isInvalid: r
1488
1543
  })
@@ -1490,7 +1545,7 @@ function gn({ label: e, error: t, required: n, isInvalid: r, ...i }) {
1490
1545
  }
1491
1546
  //#endregion
1492
1547
  //#region src/components/pure/card.tsx
1493
- function _n({ className: e, size: t = "default", ...n }) {
1548
+ function yn({ className: e, size: t = "default", ...n }) {
1494
1549
  return /* @__PURE__ */ a("div", {
1495
1550
  "data-slot": "card",
1496
1551
  "data-size": t,
@@ -1498,42 +1553,42 @@ function _n({ className: e, size: t = "default", ...n }) {
1498
1553
  ...n
1499
1554
  });
1500
1555
  }
1501
- function vn({ className: e, ...t }) {
1556
+ function bn({ className: e, ...t }) {
1502
1557
  return /* @__PURE__ */ a("div", {
1503
1558
  "data-slot": "card-header",
1504
1559
  className: P("gap-1 rounded-t-xl px-4 group-data-[size=sm]/card:px-3 [.border-b]:pb-4 group-data-[size=sm]/card:[.border-b]:pb-3 group/card-header @container/card-header grid auto-rows-min items-start has-data-[slot=card-action]:grid-cols-[1fr_auto] has-data-[slot=card-description]:grid-rows-[auto_auto]", e),
1505
1560
  ...t
1506
1561
  });
1507
1562
  }
1508
- function yn({ className: e, ...t }) {
1563
+ function xn({ className: e, ...t }) {
1509
1564
  return /* @__PURE__ */ a("div", {
1510
1565
  "data-slot": "card-title",
1511
1566
  className: P("text-base leading-snug font-medium group-data-[size=sm]/card:text-sm", e),
1512
1567
  ...t
1513
1568
  });
1514
1569
  }
1515
- function bn({ className: e, ...t }) {
1570
+ function Sn({ className: e, ...t }) {
1516
1571
  return /* @__PURE__ */ a("div", {
1517
1572
  "data-slot": "card-description",
1518
1573
  className: P("text-muted-foreground text-sm", e),
1519
1574
  ...t
1520
1575
  });
1521
1576
  }
1522
- function xn({ className: e, ...t }) {
1577
+ function Cn({ className: e, ...t }) {
1523
1578
  return /* @__PURE__ */ a("div", {
1524
1579
  "data-slot": "card-action",
1525
1580
  className: P("col-start-2 row-span-2 row-start-1 self-start justify-self-end", e),
1526
1581
  ...t
1527
1582
  });
1528
1583
  }
1529
- function Sn({ className: e, ...t }) {
1584
+ function wn({ className: e, ...t }) {
1530
1585
  return /* @__PURE__ */ a("div", {
1531
1586
  "data-slot": "card-content",
1532
1587
  className: P("px-4 group-data-[size=sm]/card:px-3", e),
1533
1588
  ...t
1534
1589
  });
1535
1590
  }
1536
- function Cn({ className: e, ...t }) {
1591
+ function Tn({ className: e, ...t }) {
1537
1592
  return /* @__PURE__ */ a("div", {
1538
1593
  "data-slot": "card-footer",
1539
1594
  className: P("bg-muted/50 rounded-b-xl border-t p-4 group-data-[size=sm]/card:p-3 flex items-center", e),
@@ -1542,13 +1597,13 @@ function Cn({ className: e, ...t }) {
1542
1597
  }
1543
1598
  //#endregion
1544
1599
  //#region src/components/pure/carousel.tsx
1545
- var wn = y.createContext(null);
1546
- function Tn() {
1547
- let e = y.useContext(wn);
1600
+ var En = y.createContext(null);
1601
+ function Dn() {
1602
+ let e = y.useContext(En);
1548
1603
  if (!e) throw Error("useCarousel must be used within a <Carousel />");
1549
1604
  return e;
1550
1605
  }
1551
- function En({ orientation: e = "horizontal", opts: t, setApi: n, plugins: r, className: i, children: o, ...s }) {
1606
+ function On({ orientation: e = "horizontal", opts: t, setApi: n, plugins: r, className: i, children: o, ...s }) {
1552
1607
  let [c, l] = He({
1553
1608
  ...t,
1554
1609
  axis: e === "horizontal" ? "x" : "y"
@@ -1567,7 +1622,7 @@ function En({ orientation: e = "horizontal", opts: t, setApi: n, plugins: r, cla
1567
1622
  if (l) return m(l), l.on("reInit", m), l.on("select", m), () => {
1568
1623
  l?.off("select", m);
1569
1624
  };
1570
- }, [l, m]), /* @__PURE__ */ a(wn.Provider, {
1625
+ }, [l, m]), /* @__PURE__ */ a(En.Provider, {
1571
1626
  value: {
1572
1627
  carouselRef: c,
1573
1628
  api: l,
@@ -1589,8 +1644,8 @@ function En({ orientation: e = "horizontal", opts: t, setApi: n, plugins: r, cla
1589
1644
  })
1590
1645
  });
1591
1646
  }
1592
- function Dn({ className: e, ...t }) {
1593
- let { carouselRef: n, orientation: r } = Tn();
1647
+ function kn({ className: e, ...t }) {
1648
+ let { carouselRef: n, orientation: r } = Dn();
1594
1649
  return /* @__PURE__ */ a("div", {
1595
1650
  ref: n,
1596
1651
  className: "overflow-hidden",
@@ -1601,8 +1656,8 @@ function Dn({ className: e, ...t }) {
1601
1656
  })
1602
1657
  });
1603
1658
  }
1604
- function On({ className: e, ...t }) {
1605
- let { orientation: n } = Tn();
1659
+ function An({ className: e, ...t }) {
1660
+ let { orientation: n } = Dn();
1606
1661
  return /* @__PURE__ */ a("div", {
1607
1662
  role: "group",
1608
1663
  "aria-roledescription": "slide",
@@ -1611,8 +1666,8 @@ function On({ className: e, ...t }) {
1611
1666
  ...t
1612
1667
  });
1613
1668
  }
1614
- function kn({ className: e, variant: t = "outline", size: n = "icon-sm", ...r }) {
1615
- let { orientation: i, scrollPrev: s, canScrollPrev: c } = Tn();
1669
+ function jn({ className: e, variant: t = "outline", size: n = "icon-sm", ...r }) {
1670
+ let { orientation: i, scrollPrev: s, canScrollPrev: c } = Dn();
1616
1671
  return /* @__PURE__ */ o(F, {
1617
1672
  "data-slot": "carousel-previous",
1618
1673
  variant: t,
@@ -1627,8 +1682,8 @@ function kn({ className: e, variant: t = "outline", size: n = "icon-sm", ...r })
1627
1682
  })]
1628
1683
  });
1629
1684
  }
1630
- function An({ className: e, variant: t = "outline", size: n = "icon-sm", ...r }) {
1631
- let { orientation: i, scrollNext: s, canScrollNext: c } = Tn();
1685
+ function Mn({ className: e, variant: t = "outline", size: n = "icon-sm", ...r }) {
1686
+ let { orientation: i, scrollNext: s, canScrollNext: c } = Dn();
1632
1687
  return /* @__PURE__ */ o(F, {
1633
1688
  "data-slot": "carousel-next",
1634
1689
  variant: t,
@@ -1645,14 +1700,14 @@ function An({ className: e, variant: t = "outline", size: n = "icon-sm", ...r })
1645
1700
  }
1646
1701
  //#endregion
1647
1702
  //#region src/components/custom/fields/storageFilesField.tsx
1648
- function jn(e) {
1703
+ function Nn(e) {
1649
1704
  return e?.contentType === "application/pdf" || e?.extension?.toLowerCase() === ".pdf";
1650
1705
  }
1651
- function Mn({ label: e, file: t, onFileChange: n, onRemove: r, onDownload: s, getFileSrc: c, showPreview: l, fileInputRef: u, error: d, isInvalid: f, dir: p = "rtl" }) {
1706
+ function Pn({ label: e, file: t, onFileChange: n, onRemove: r, onDownload: s, getFileSrc: c, showPreview: l, fileInputRef: u, error: d, isInvalid: f, dir: p = "rtl" }) {
1652
1707
  let m = Me(() => Array.isArray(t) ? t : t ? [t] : [], [t]), h = Me(() => m.filter((e) => l(e)), [m, l]), g = b((e) => {
1653
1708
  n(e), e.target && (e.target.value = "");
1654
1709
  }, [n]), v = b((e) => {
1655
- let t = jn(e), n = c(e);
1710
+ let t = Nn(e), n = c(e);
1656
1711
  return t ? /* @__PURE__ */ o("div", {
1657
1712
  className: "flex flex-col items-center justify-center w-full h-full bg-muted/30",
1658
1713
  children: [/* @__PURE__ */ a(te, { className: "h-12 w-12 text-red-500 mb-2" }), /* @__PURE__ */ a("span", {
@@ -1675,22 +1730,22 @@ function Mn({ label: e, file: t, onFileChange: n, onRemove: r, onDownload: s, ge
1675
1730
  }),
1676
1731
  h.length > 0 ? /* @__PURE__ */ o("div", {
1677
1732
  className: "space-y-2 max-w-100 mt-3",
1678
- children: [/* @__PURE__ */ o(En, {
1733
+ children: [/* @__PURE__ */ o(On, {
1679
1734
  opts: {
1680
1735
  direction: p,
1681
1736
  align: "start",
1682
1737
  dragFree: !0
1683
1738
  },
1684
1739
  className: "w-full relative group",
1685
- children: [/* @__PURE__ */ a(Dn, { children: h.map((e, t) => {
1740
+ children: [/* @__PURE__ */ a(kn, { children: h.map((e, t) => {
1686
1741
  let n = e.url || (e.base64File ? e.base64File.substring(0, 40) : `fallback-key-${t}`), i = m.indexOf(e);
1687
- return /* @__PURE__ */ a(On, {
1742
+ return /* @__PURE__ */ a(An, {
1688
1743
  className: "basis-full",
1689
1744
  children: /* @__PURE__ */ a("div", {
1690
1745
  className: "p-1",
1691
- children: /* @__PURE__ */ a(_n, {
1746
+ children: /* @__PURE__ */ a(yn, {
1692
1747
  className: "relative group overflow-hidden border-2 aspect-video flex items-center justify-center bg-background shadow-sm",
1693
- children: /* @__PURE__ */ o(Sn, {
1748
+ children: /* @__PURE__ */ o(wn, {
1694
1749
  className: "p-0 w-full h-full flex items-center justify-center",
1695
1750
  children: [/* @__PURE__ */ o(I, { children: [/* @__PURE__ */ a(ft, {
1696
1751
  asChild: !0,
@@ -1742,7 +1797,7 @@ function Mn({ label: e, file: t, onFileChange: n, onRemove: r, onDownload: s, ge
1742
1797
  })
1743
1798
  })
1744
1799
  }, n);
1745
- }) }), h.length > 1 && /* @__PURE__ */ o(i, { children: [/* @__PURE__ */ a(kn, { className: "absolute right-2 top-1/2 -translate-y-1/2 h-8 w-8 rounded-full z-40 bg-background/80 hover:bg-background" }), /* @__PURE__ */ a(An, { className: "absolute left-2 top-1/2 -translate-y-1/2 h-8 w-8 rounded-full z-40 bg-background/80 hover:bg-background" })] })]
1800
+ }) }), h.length > 1 && /* @__PURE__ */ o(i, { children: [/* @__PURE__ */ a(jn, { className: "absolute right-2 top-1/2 -translate-y-1/2 h-8 w-8 rounded-full z-40 bg-background/80 hover:bg-background" }), /* @__PURE__ */ a(Mn, { className: "absolute left-2 top-1/2 -translate-y-1/2 h-8 w-8 rounded-full z-40 bg-background/80 hover:bg-background" })] })]
1746
1801
  }), /* @__PURE__ */ o(F, {
1747
1802
  type: "button",
1748
1803
  variant: "outline",
@@ -1783,7 +1838,7 @@ function Mn({ label: e, file: t, onFileChange: n, onRemove: r, onDownload: s, ge
1783
1838
  }
1784
1839
  //#endregion
1785
1840
  //#region src/components/pure/textarea.tsx
1786
- function Nn({ className: e, ...t }) {
1841
+ function Fn({ className: e, ...t }) {
1787
1842
  return /* @__PURE__ */ a("textarea", {
1788
1843
  "data-slot": "textarea",
1789
1844
  className: P("border-input dark:bg-input/30 focus-visible:border-ring focus-visible:ring-ring/50 aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive dark:aria-invalid:border-destructive/50 disabled:bg-input/50 dark:disabled:bg-input/80 rounded-lg border bg-transparent px-2.5 py-2 text-base transition-colors focus-visible:ring-3 aria-invalid:ring-3 md:text-sm placeholder:text-muted-foreground flex field-sizing-content min-h-16 w-full outline-none disabled:cursor-not-allowed disabled:opacity-50", e),
@@ -1792,21 +1847,21 @@ function Nn({ className: e, ...t }) {
1792
1847
  }
1793
1848
  //#endregion
1794
1849
  //#region src/components/custom/inputs/textAreaInput.tsx
1795
- function Pn({ isInvalid: e, className: t, ...n }) {
1796
- return /* @__PURE__ */ a(Nn, {
1850
+ function In({ isInvalid: e, className: t, ...n }) {
1851
+ return /* @__PURE__ */ a(Fn, {
1797
1852
  ...n,
1798
1853
  className: P(t, e && "border-red-600 focus-visible:ring-red-600")
1799
1854
  });
1800
1855
  }
1801
1856
  //#endregion
1802
1857
  //#region src/components/custom/fields/textAreaField.tsx
1803
- function Fn({ label: e, error: t, isInvalid: n, required: r, ...i }) {
1858
+ function Ln({ label: e, error: t, isInvalid: n, required: r, ...i }) {
1804
1859
  return /* @__PURE__ */ a(R, {
1805
1860
  label: e,
1806
1861
  error: t,
1807
1862
  isInvalid: n,
1808
1863
  required: r,
1809
- children: /* @__PURE__ */ a(Pn, {
1864
+ children: /* @__PURE__ */ a(In, {
1810
1865
  ...i,
1811
1866
  isInvalid: n
1812
1867
  })
@@ -1814,15 +1869,15 @@ function Fn({ label: e, error: t, isInvalid: n, required: r, ...i }) {
1814
1869
  }
1815
1870
  //#endregion
1816
1871
  //#region src/components/custom/fields/textField.tsx
1817
- function In(e) {
1818
- return /* @__PURE__ */ a($t, {
1872
+ function Rn(e) {
1873
+ return /* @__PURE__ */ a(tn, {
1819
1874
  ...e,
1820
1875
  type: "text"
1821
1876
  });
1822
1877
  }
1823
1878
  //#endregion
1824
1879
  //#region src/components/custom/images/lightbox.tsx
1825
- function Ln({ srcLight: e, srcDark: t, alt: n, onClose: r }) {
1880
+ function zn({ srcLight: e, srcDark: t, alt: n, onClose: r }) {
1826
1881
  return je(() => {
1827
1882
  let e = (e) => e.key === "Escape" && r();
1828
1883
  return window.addEventListener("keydown", e), document.body.style.overflow = "hidden", () => {
@@ -1853,7 +1908,7 @@ function Ln({ srcLight: e, srcDark: t, alt: n, onClose: r }) {
1853
1908
  }
1854
1909
  //#endregion
1855
1910
  //#region src/components/custom/images/zoomableImage.tsx
1856
- function Rn({ srcLight: e, srcDark: t, alt: n, className: r, wrapperClassName: i, onOpen: s }) {
1911
+ function Bn({ srcLight: e, srcDark: t, alt: n, className: r, wrapperClassName: i, onOpen: s }) {
1857
1912
  return /* @__PURE__ */ o("div", {
1858
1913
  className: `group/zoom relative cursor-zoom-in overflow-hidden ${i ?? ""}`,
1859
1914
  onClick: () => s(e, t, n),
@@ -1881,7 +1936,7 @@ function Rn({ srcLight: e, srcDark: t, alt: n, className: r, wrapperClassName: i
1881
1936
  }
1882
1937
  //#endregion
1883
1938
  //#region src/components/custom/inputs/searchInput.tsx
1884
- function zn({ columnsNames: e, onSearch: t }) {
1939
+ function Vn({ columnsNames: e, onSearch: t }) {
1885
1940
  let [n, r] = x(""), [i, s] = x(e[0]?.value || ""), c = Ue((e, n) => {
1886
1941
  e.trim() ? t({
1887
1942
  value: e,
@@ -1892,16 +1947,16 @@ function zn({ columnsNames: e, onSearch: t }) {
1892
1947
  className: "p-3 rounded-t-xl border-x border-t flex flex-col sm:flex-row gap-4",
1893
1948
  children: /* @__PURE__ */ o("div", {
1894
1949
  className: "relative w-full flex gap-2",
1895
- children: [e.length > 1 && /* @__PURE__ */ o(an, {
1950
+ children: [e.length > 1 && /* @__PURE__ */ o(sn, {
1896
1951
  dir: "rtl",
1897
1952
  value: i,
1898
1953
  onValueChange: (e) => {
1899
1954
  s(e), n.trim() && c(n, e);
1900
1955
  },
1901
- children: [/* @__PURE__ */ a(cn, {
1956
+ children: [/* @__PURE__ */ a(un, {
1902
1957
  className: "bg-secondary border-none",
1903
- children: /* @__PURE__ */ a(sn, { placeholder: "اختر العمود" })
1904
- }), /* @__PURE__ */ a(ln, { children: e.map((e) => /* @__PURE__ */ a(dn, {
1958
+ children: /* @__PURE__ */ a(ln, { placeholder: "اختر العمود" })
1959
+ }), /* @__PURE__ */ a(dn, { children: e.map((e) => /* @__PURE__ */ a(pn, {
1905
1960
  value: e.value,
1906
1961
  children: e.label
1907
1962
  }, e.value)) })]
@@ -1922,7 +1977,7 @@ function zn({ columnsNames: e, onSearch: t }) {
1922
1977
  }
1923
1978
  //#endregion
1924
1979
  //#region src/components/pure/table.tsx
1925
- function Bn({ className: e, ...t }) {
1980
+ function Hn({ className: e, ...t }) {
1926
1981
  return /* @__PURE__ */ a("div", {
1927
1982
  "data-slot": "table-container",
1928
1983
  className: "relative w-full overflow-x-auto",
@@ -1933,49 +1988,49 @@ function Bn({ className: e, ...t }) {
1933
1988
  })
1934
1989
  });
1935
1990
  }
1936
- function Vn({ className: e, ...t }) {
1991
+ function Un({ className: e, ...t }) {
1937
1992
  return /* @__PURE__ */ a("thead", {
1938
1993
  "data-slot": "table-header",
1939
1994
  className: P("[&_tr]:border-b", e),
1940
1995
  ...t
1941
1996
  });
1942
1997
  }
1943
- function Hn({ className: e, ...t }) {
1998
+ function Wn({ className: e, ...t }) {
1944
1999
  return /* @__PURE__ */ a("tbody", {
1945
2000
  "data-slot": "table-body",
1946
2001
  className: P("[&_tr:last-child]:border-0", e),
1947
2002
  ...t
1948
2003
  });
1949
2004
  }
1950
- function Un({ className: e, ...t }) {
2005
+ function Gn({ className: e, ...t }) {
1951
2006
  return /* @__PURE__ */ a("tfoot", {
1952
2007
  "data-slot": "table-footer",
1953
2008
  className: P("bg-muted/50 border-t font-medium [&>tr]:last:border-b-0", e),
1954
2009
  ...t
1955
2010
  });
1956
2011
  }
1957
- function Wn({ className: e, ...t }) {
2012
+ function Kn({ className: e, ...t }) {
1958
2013
  return /* @__PURE__ */ a("tr", {
1959
2014
  "data-slot": "table-row",
1960
2015
  className: P("hover:bg-muted/50 data-[state=selected]:bg-muted border-b transition-colors", e),
1961
2016
  ...t
1962
2017
  });
1963
2018
  }
1964
- function Gn({ className: e, ...t }) {
2019
+ function qn({ className: e, ...t }) {
1965
2020
  return /* @__PURE__ */ a("th", {
1966
2021
  "data-slot": "table-head",
1967
2022
  className: P("text-foreground h-10 px-2 text-start align-middle font-medium whitespace-nowrap [&:has([role=checkbox])]:pe-0", e),
1968
2023
  ...t
1969
2024
  });
1970
2025
  }
1971
- function Kn({ className: e, ...t }) {
2026
+ function Jn({ className: e, ...t }) {
1972
2027
  return /* @__PURE__ */ a("td", {
1973
2028
  "data-slot": "table-cell",
1974
2029
  className: P("p-2 align-middle whitespace-nowrap [&:has([role=checkbox])]:pe-0", e),
1975
2030
  ...t
1976
2031
  });
1977
2032
  }
1978
- function qn({ className: e, ...t }) {
2033
+ function Yn({ className: e, ...t }) {
1979
2034
  return /* @__PURE__ */ a("caption", {
1980
2035
  "data-slot": "table-caption",
1981
2036
  className: P("text-muted-foreground mt-4 text-sm", e),
@@ -1984,53 +2039,53 @@ function qn({ className: e, ...t }) {
1984
2039
  }
1985
2040
  //#endregion
1986
2041
  //#region src/components/custom/status/empty.tsx
1987
- function Jn({ className: e, ...t }) {
2042
+ function Xn({ className: e, ...t }) {
1988
2043
  return /* @__PURE__ */ a("div", {
1989
2044
  "data-slot": "empty",
1990
2045
  className: P("gap-4 rounded-xl border-dashed p-6 flex w-full min-w-0 flex-1 flex-col items-center justify-center text-center text-balance", e),
1991
2046
  ...t
1992
2047
  });
1993
2048
  }
1994
- function Yn({ className: e, ...t }) {
2049
+ function Zn({ className: e, ...t }) {
1995
2050
  return /* @__PURE__ */ a("div", {
1996
2051
  "data-slot": "empty-header",
1997
2052
  className: P("gap-2 flex max-w-sm flex-col items-center", e),
1998
2053
  ...t
1999
2054
  });
2000
2055
  }
2001
- var Xn = S("mb-2 flex shrink-0 items-center justify-center [&_svg]:pointer-events-none [&_svg]:shrink-0", {
2056
+ var Qn = S("mb-2 flex shrink-0 items-center justify-center [&_svg]:pointer-events-none [&_svg]:shrink-0", {
2002
2057
  variants: { variant: {
2003
2058
  default: "bg-transparent",
2004
2059
  icon: "bg-muted text-foreground flex size-8 shrink-0 items-center justify-center rounded-lg [&_svg:not([class*='size-'])]:size-4"
2005
2060
  } },
2006
2061
  defaultVariants: { variant: "default" }
2007
2062
  });
2008
- function Zn({ className: e, variant: t = "default", ...n }) {
2063
+ function $n({ className: e, variant: t = "default", ...n }) {
2009
2064
  return /* @__PURE__ */ a("div", {
2010
2065
  "data-slot": "empty-icon",
2011
2066
  "data-variant": t,
2012
- className: P(Xn({
2067
+ className: P(Qn({
2013
2068
  variant: t,
2014
2069
  className: e
2015
2070
  })),
2016
2071
  ...n
2017
2072
  });
2018
2073
  }
2019
- function Qn({ className: e, ...t }) {
2074
+ function er({ className: e, ...t }) {
2020
2075
  return /* @__PURE__ */ a("div", {
2021
2076
  "data-slot": "empty-title",
2022
2077
  className: P("text-sm font-medium tracking-tight", e),
2023
2078
  ...t
2024
2079
  });
2025
2080
  }
2026
- function $n({ className: e, ...t }) {
2081
+ function tr({ className: e, ...t }) {
2027
2082
  return /* @__PURE__ */ a("div", {
2028
2083
  "data-slot": "empty-description",
2029
2084
  className: P("text-sm/relaxed text-muted-foreground [&>a:hover]:text-primary [&>a]:underline [&>a]:underline-offset-4", e),
2030
2085
  ...t
2031
2086
  });
2032
2087
  }
2033
- function er({ className: e, ...t }) {
2088
+ function nr({ className: e, ...t }) {
2034
2089
  return /* @__PURE__ */ a("div", {
2035
2090
  "data-slot": "empty-content",
2036
2091
  className: P("gap-2.5 text-sm flex w-full max-w-sm min-w-0 flex-col items-center text-balance", e),
@@ -2039,91 +2094,91 @@ function er({ className: e, ...t }) {
2039
2094
  }
2040
2095
  //#endregion
2041
2096
  //#region src/components/custom/table/crudEmptyTablePreview.tsx
2042
- function tr({ mode: e }) {
2043
- return a(e === "loading" ? nr : e === "error" ? ir : rr, {});
2097
+ function rr({ mode: e }) {
2098
+ return a(e === "loading" ? ir : e === "error" ? or : ar, {});
2044
2099
  }
2045
- function nr() {
2046
- return /* @__PURE__ */ o(Jn, { children: [/* @__PURE__ */ o(Yn, { children: [
2047
- /* @__PURE__ */ a(Zn, {
2100
+ function ir() {
2101
+ return /* @__PURE__ */ o(Xn, { children: [/* @__PURE__ */ o(Zn, { children: [
2102
+ /* @__PURE__ */ a($n, {
2048
2103
  variant: "icon",
2049
2104
  children: /* @__PURE__ */ a(xe, {})
2050
2105
  }),
2051
- /* @__PURE__ */ a(Qn, { children: "الرجاء الانتظار" }),
2052
- /* @__PURE__ */ a($n, { children: "يتم تحميل البيانات المطلوبة" })
2053
- ] }), /* @__PURE__ */ a(er, { children: /* @__PURE__ */ a(ae, { className: "animate-spin duration-700" }) })] });
2106
+ /* @__PURE__ */ a(er, { children: "الرجاء الانتظار" }),
2107
+ /* @__PURE__ */ a(tr, { children: "يتم تحميل البيانات المطلوبة" })
2108
+ ] }), /* @__PURE__ */ a(nr, { children: /* @__PURE__ */ a(ae, { className: "animate-spin duration-700" }) })] });
2054
2109
  }
2055
- function rr() {
2056
- return /* @__PURE__ */ a(Jn, { children: /* @__PURE__ */ o(Yn, { children: [
2057
- /* @__PURE__ */ a(Zn, {
2110
+ function ar() {
2111
+ return /* @__PURE__ */ a(Xn, { children: /* @__PURE__ */ o(Zn, { children: [
2112
+ /* @__PURE__ */ a($n, {
2058
2113
  variant: "icon",
2059
2114
  children: /* @__PURE__ */ a(xe, {})
2060
2115
  }),
2061
- /* @__PURE__ */ a(Qn, { children: "لا توجد بيانات لعرضها" }),
2062
- /* @__PURE__ */ a($n, { children: "هذا الجدول فارغ ولا يحتوي على بيانات للعرض" })
2116
+ /* @__PURE__ */ a(er, { children: "لا توجد بيانات لعرضها" }),
2117
+ /* @__PURE__ */ a(tr, { children: "هذا الجدول فارغ ولا يحتوي على بيانات للعرض" })
2063
2118
  ] }) });
2064
2119
  }
2065
- function ir() {
2066
- return /* @__PURE__ */ o(Jn, { children: [/* @__PURE__ */ o(Yn, { children: [
2067
- /* @__PURE__ */ a(Zn, {
2120
+ function or() {
2121
+ return /* @__PURE__ */ o(Xn, { children: [/* @__PURE__ */ o(Zn, { children: [
2122
+ /* @__PURE__ */ a($n, {
2068
2123
  variant: "icon",
2069
2124
  children: /* @__PURE__ */ a(xe, {})
2070
2125
  }),
2071
- /* @__PURE__ */ a(Qn, { children: "حدث خطأ ما" }),
2072
- /* @__PURE__ */ a($n, { children: "حدث خطأ اثناء جلب البيانات الرجاء التحقق من اتصالك الانترنت او اتصل بخدمة العملاء لدينا في حال تكراره" })
2073
- ] }), /* @__PURE__ */ a(er, { children: /* @__PURE__ */ a(ge, {}) })] });
2126
+ /* @__PURE__ */ a(er, { children: "حدث خطأ ما" }),
2127
+ /* @__PURE__ */ a(tr, { children: "حدث خطأ اثناء جلب البيانات الرجاء التحقق من اتصالك الانترنت او اتصل بخدمة العملاء لدينا في حال تكراره" })
2128
+ ] }), /* @__PURE__ */ a(nr, { children: /* @__PURE__ */ a(ge, {}) })] });
2074
2129
  }
2075
2130
  //#endregion
2076
2131
  //#region src/components/custom/table/crudTable.tsx
2077
- function ar({ state: e, children: t }) {
2078
- return e.isLoading ? /* @__PURE__ */ a(tr, { mode: "loading" }) : e.entities?.count == 0 ? /* @__PURE__ */ a(tr, { mode: "empty" }) : e.entities == null ? /* @__PURE__ */ a(tr, { mode: "loading" }) : /* @__PURE__ */ a(Bn, { children: t });
2132
+ function sr({ state: e, children: t }) {
2133
+ return e.isLoading ? /* @__PURE__ */ a(rr, { mode: "loading" }) : e.entities?.count == 0 ? /* @__PURE__ */ a(rr, { mode: "empty" }) : e.entities == null ? /* @__PURE__ */ a(rr, { mode: "loading" }) : /* @__PURE__ */ a(Hn, { children: t });
2079
2134
  }
2080
2135
  //#endregion
2081
2136
  //#region src/components/pure/context-menu.tsx
2082
- function or({ ...e }) {
2137
+ function cr({ ...e }) {
2083
2138
  return /* @__PURE__ */ a(E.Root, {
2084
2139
  "data-slot": "context-menu",
2085
2140
  ...e
2086
2141
  });
2087
2142
  }
2088
- function sr({ className: e, ...t }) {
2143
+ function lr({ className: e, ...t }) {
2089
2144
  return /* @__PURE__ */ a(E.Trigger, {
2090
2145
  "data-slot": "context-menu-trigger",
2091
2146
  className: P("select-none", e),
2092
2147
  ...t
2093
2148
  });
2094
2149
  }
2095
- function cr({ ...e }) {
2150
+ function ur({ ...e }) {
2096
2151
  return /* @__PURE__ */ a(E.Group, {
2097
2152
  "data-slot": "context-menu-group",
2098
2153
  ...e
2099
2154
  });
2100
2155
  }
2101
- function lr({ ...e }) {
2156
+ function dr({ ...e }) {
2102
2157
  return /* @__PURE__ */ a(E.Portal, {
2103
2158
  "data-slot": "context-menu-portal",
2104
2159
  ...e
2105
2160
  });
2106
2161
  }
2107
- function ur({ ...e }) {
2162
+ function fr({ ...e }) {
2108
2163
  return /* @__PURE__ */ a(E.Sub, {
2109
2164
  "data-slot": "context-menu-sub",
2110
2165
  ...e
2111
2166
  });
2112
2167
  }
2113
- function dr({ ...e }) {
2168
+ function pr({ ...e }) {
2114
2169
  return /* @__PURE__ */ a(E.RadioGroup, {
2115
2170
  "data-slot": "context-menu-radio-group",
2116
2171
  ...e
2117
2172
  });
2118
2173
  }
2119
- function fr({ className: e, ...t }) {
2174
+ function mr({ className: e, ...t }) {
2120
2175
  return /* @__PURE__ */ a(E.Portal, { children: /* @__PURE__ */ a(E.Content, {
2121
2176
  "data-slot": "context-menu-content",
2122
2177
  className: P("data-open:animate-in data-closed:animate-out data-closed:fade-out-0 data-open:fade-in-0 data-closed:zoom-out-95 data-open:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 ring-foreground/10 bg-popover text-popover-foreground min-w-36 rounded-lg p-1 shadow-md ring-1 duration-100 z-50 max-h-(--radix-context-menu-content-available-height) origin-(--radix-context-menu-content-transform-origin) overflow-x-hidden overflow-y-auto", e),
2123
2178
  ...t
2124
2179
  }) });
2125
2180
  }
2126
- function pr({ className: e, inset: t, variant: n = "default", ...r }) {
2181
+ function hr({ className: e, inset: t, variant: n = "default", ...r }) {
2127
2182
  return /* @__PURE__ */ a(E.Item, {
2128
2183
  "data-slot": "context-menu-item",
2129
2184
  "data-inset": t,
@@ -2132,7 +2187,7 @@ function pr({ className: e, inset: t, variant: n = "default", ...r }) {
2132
2187
  ...r
2133
2188
  });
2134
2189
  }
2135
- function mr({ className: e, inset: t, children: n, ...r }) {
2190
+ function gr({ className: e, inset: t, children: n, ...r }) {
2136
2191
  return /* @__PURE__ */ o(E.SubTrigger, {
2137
2192
  "data-slot": "context-menu-sub-trigger",
2138
2193
  "data-inset": t,
@@ -2141,14 +2196,14 @@ function mr({ className: e, inset: t, children: n, ...r }) {
2141
2196
  children: [n, /* @__PURE__ */ a(p, { className: "rtl:rotate-180 ms-auto" })]
2142
2197
  });
2143
2198
  }
2144
- function hr({ className: e, ...t }) {
2199
+ function _r({ className: e, ...t }) {
2145
2200
  return /* @__PURE__ */ a(E.SubContent, {
2146
2201
  "data-slot": "context-menu-sub-content",
2147
2202
  className: P("data-open:animate-in data-closed:animate-out data-closed:fade-out-0 data-open:fade-in-0 data-closed:zoom-out-95 data-open:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 bg-popover text-popover-foreground min-w-32 rounded-lg border p-1 shadow-lg duration-100 z-50 origin-(--radix-context-menu-content-transform-origin) overflow-hidden", e),
2148
2203
  ...t
2149
2204
  });
2150
2205
  }
2151
- function gr({ className: e, children: t, checked: n, inset: r, ...i }) {
2206
+ function vr({ className: e, children: t, checked: n, inset: r, ...i }) {
2152
2207
  return /* @__PURE__ */ o(E.CheckboxItem, {
2153
2208
  "data-slot": "context-menu-checkbox-item",
2154
2209
  "data-inset": r,
@@ -2161,7 +2216,7 @@ function gr({ className: e, children: t, checked: n, inset: r, ...i }) {
2161
2216
  }), t]
2162
2217
  });
2163
2218
  }
2164
- function _r({ className: e, children: t, inset: n, ...r }) {
2219
+ function yr({ className: e, children: t, inset: n, ...r }) {
2165
2220
  return /* @__PURE__ */ o(E.RadioItem, {
2166
2221
  "data-slot": "context-menu-radio-item",
2167
2222
  "data-inset": n,
@@ -2173,7 +2228,7 @@ function _r({ className: e, children: t, inset: n, ...r }) {
2173
2228
  }), t]
2174
2229
  });
2175
2230
  }
2176
- function vr({ className: e, inset: t, ...n }) {
2231
+ function br({ className: e, inset: t, ...n }) {
2177
2232
  return /* @__PURE__ */ a(E.Label, {
2178
2233
  "data-slot": "context-menu-label",
2179
2234
  "data-inset": t,
@@ -2181,14 +2236,14 @@ function vr({ className: e, inset: t, ...n }) {
2181
2236
  ...n
2182
2237
  });
2183
2238
  }
2184
- function yr({ className: e, ...t }) {
2239
+ function xr({ className: e, ...t }) {
2185
2240
  return /* @__PURE__ */ a(E.Separator, {
2186
2241
  "data-slot": "context-menu-separator",
2187
2242
  className: P("bg-border -mx-1 my-1 h-px", e),
2188
2243
  ...t
2189
2244
  });
2190
2245
  }
2191
- function br({ className: e, ...t }) {
2246
+ function Sr({ className: e, ...t }) {
2192
2247
  return /* @__PURE__ */ a("span", {
2193
2248
  "data-slot": "context-menu-shortcut",
2194
2249
  className: P("text-muted-foreground group-focus/context-menu-item:text-accent-foreground ms-auto text-xs tracking-widest", e),
@@ -2197,14 +2252,14 @@ function br({ className: e, ...t }) {
2197
2252
  }
2198
2253
  //#endregion
2199
2254
  //#region src/components/custom/table/crudTableBodyRow.tsx
2200
- function xr({ tableRows: e, dropdownMenu: t, contextMenuContent: n }) {
2201
- return /* @__PURE__ */ a(i, { children: /* @__PURE__ */ o(or, {
2255
+ function Cr({ tableRows: e, dropdownMenu: t, contextMenuContent: n }) {
2256
+ return /* @__PURE__ */ a(i, { children: /* @__PURE__ */ o(cr, {
2202
2257
  dir: "rtl",
2203
- children: [/* @__PURE__ */ a(sr, {
2258
+ children: [/* @__PURE__ */ a(lr, {
2204
2259
  asChild: !0,
2205
- children: /* @__PURE__ */ o(Wn, {
2260
+ children: /* @__PURE__ */ o(Kn, {
2206
2261
  className: "hover:bg-secondary/50 transition-colors",
2207
- children: [/* @__PURE__ */ a(Kn, { children: t }), e.map((e, t) => /* @__PURE__ */ a(Kn, { children: /* @__PURE__ */ a("span", {
2262
+ children: [/* @__PURE__ */ a(Jn, { children: t }), e.map((e, t) => /* @__PURE__ */ a(Jn, { children: /* @__PURE__ */ a("span", {
2208
2263
  className: e.rowStyles,
2209
2264
  children: e.rowName
2210
2265
  }) }, t))]
@@ -2214,18 +2269,18 @@ function xr({ tableRows: e, dropdownMenu: t, contextMenuContent: n }) {
2214
2269
  }
2215
2270
  //#endregion
2216
2271
  //#region src/components/custom/table/crudTableCard.tsx
2217
- function Sr({ cards: e }) {
2272
+ function wr({ cards: e }) {
2218
2273
  return /* @__PURE__ */ a("div", {
2219
2274
  className: "mb-5 grid grid-cols-1 sm:grid-cols-2 gap-5",
2220
- children: e.map((e, t) => /* @__PURE__ */ o(_n, {
2275
+ children: e.map((e, t) => /* @__PURE__ */ o(yn, {
2221
2276
  className: "shadow-sm",
2222
- children: [/* @__PURE__ */ o(vn, {
2277
+ children: [/* @__PURE__ */ o(bn, {
2223
2278
  className: "flex flex-row items-center justify-between space-y-0 pb-2",
2224
- children: [/* @__PURE__ */ a(yn, {
2279
+ children: [/* @__PURE__ */ a(xn, {
2225
2280
  className: "text-sm font-medium text-muted-foreground",
2226
2281
  children: e.title
2227
2282
  }), e.icon]
2228
- }), /* @__PURE__ */ a(Sn, { children: /* @__PURE__ */ a("div", {
2283
+ }), /* @__PURE__ */ a(wn, { children: /* @__PURE__ */ a("div", {
2229
2284
  className: "text-2xl font-bold",
2230
2285
  children: e.data
2231
2286
  }) })]
@@ -2234,7 +2289,7 @@ function Sr({ cards: e }) {
2234
2289
  }
2235
2290
  //#endregion
2236
2291
  //#region src/components/custom/table/crudTableHeader.tsx
2237
- function Cr({ title: e, buttonTitle: t, createComp: n, isButtonVisible: r = !0 }) {
2292
+ function Tr({ title: e, buttonTitle: t, createComp: n, isButtonVisible: r = !0 }) {
2238
2293
  let [s, c] = x(!1), l = De.isValidElement(n) ? De.cloneElement(n, { onSuccess: (e) => {
2239
2294
  c(!1), n.props.onSuccess?.(e);
2240
2295
  } }) : n;
@@ -2253,10 +2308,10 @@ function Cr({ title: e, buttonTitle: t, createComp: n, isButtonVisible: r = !0 }
2253
2308
  }
2254
2309
  //#endregion
2255
2310
  //#region src/components/custom/table/crudTableHeaderRows.tsx
2256
- function wr({ tableHeadRows: e }) {
2257
- return /* @__PURE__ */ a(Vn, {
2311
+ function Er({ tableHeadRows: e }) {
2312
+ return /* @__PURE__ */ a(Un, {
2258
2313
  className: "bg-muted",
2259
- children: /* @__PURE__ */ a(Wn, { children: e.map((e, t) => /* @__PURE__ */ a(Gn, {
2314
+ children: /* @__PURE__ */ a(Kn, { children: e.map((e, t) => /* @__PURE__ */ a(qn, {
2260
2315
  className: e.rowStyles,
2261
2316
  children: e.rowName
2262
2317
  }, t)) })
@@ -2264,7 +2319,7 @@ function wr({ tableHeadRows: e }) {
2264
2319
  }
2265
2320
  //#endregion
2266
2321
  //#region src/components/pure/pagination.tsx
2267
- function Tr({ className: e, ...t }) {
2322
+ function Dr({ className: e, ...t }) {
2268
2323
  return /* @__PURE__ */ a("nav", {
2269
2324
  role: "navigation",
2270
2325
  "aria-label": "pagination",
@@ -2273,20 +2328,20 @@ function Tr({ className: e, ...t }) {
2273
2328
  ...t
2274
2329
  });
2275
2330
  }
2276
- function Er({ className: e, ...t }) {
2331
+ function Or({ className: e, ...t }) {
2277
2332
  return /* @__PURE__ */ a("ul", {
2278
2333
  "data-slot": "pagination-content",
2279
2334
  className: P("gap-0.5 flex items-center", e),
2280
2335
  ...t
2281
2336
  });
2282
2337
  }
2283
- function Dr({ ...e }) {
2338
+ function kr({ ...e }) {
2284
2339
  return /* @__PURE__ */ a("li", {
2285
2340
  "data-slot": "pagination-item",
2286
2341
  ...e
2287
2342
  });
2288
2343
  }
2289
- function Or({ className: e, isActive: t, size: n = "icon", ...r }) {
2344
+ function Ar({ className: e, isActive: t, size: n = "icon", ...r }) {
2290
2345
  return /* @__PURE__ */ a(F, {
2291
2346
  asChild: !0,
2292
2347
  variant: t ? "outline" : "ghost",
@@ -2300,8 +2355,8 @@ function Or({ className: e, isActive: t, size: n = "icon", ...r }) {
2300
2355
  })
2301
2356
  });
2302
2357
  }
2303
- function kr({ className: e, text: t = "Previous", ...n }) {
2304
- return /* @__PURE__ */ o(Or, {
2358
+ function jr({ className: e, text: t = "Previous", ...n }) {
2359
+ return /* @__PURE__ */ o(Ar, {
2305
2360
  "aria-label": "Go to previous page",
2306
2361
  size: "default",
2307
2362
  className: P("ps-1.5!", e),
@@ -2315,8 +2370,8 @@ function kr({ className: e, text: t = "Previous", ...n }) {
2315
2370
  })]
2316
2371
  });
2317
2372
  }
2318
- function Ar({ className: e, text: t = "Next", ...n }) {
2319
- return /* @__PURE__ */ o(Or, {
2373
+ function Mr({ className: e, text: t = "Next", ...n }) {
2374
+ return /* @__PURE__ */ o(Ar, {
2320
2375
  "aria-label": "Go to next page",
2321
2376
  size: "default",
2322
2377
  className: P("pe-1.5!", e),
@@ -2330,7 +2385,7 @@ function Ar({ className: e, text: t = "Next", ...n }) {
2330
2385
  })]
2331
2386
  });
2332
2387
  }
2333
- function jr({ className: e, ...t }) {
2388
+ function Nr({ className: e, ...t }) {
2334
2389
  return /* @__PURE__ */ o("span", {
2335
2390
  "aria-hidden": !0,
2336
2391
  "data-slot": "pagination-ellipsis",
@@ -2344,25 +2399,25 @@ function jr({ className: e, ...t }) {
2344
2399
  }
2345
2400
  //#endregion
2346
2401
  //#region src/components/pure/dropdown-menu.tsx
2347
- function Mr({ ...e }) {
2402
+ function Pr({ ...e }) {
2348
2403
  return /* @__PURE__ */ a(D.Root, {
2349
2404
  "data-slot": "dropdown-menu",
2350
2405
  ...e
2351
2406
  });
2352
2407
  }
2353
- function Nr({ ...e }) {
2408
+ function Fr({ ...e }) {
2354
2409
  return /* @__PURE__ */ a(D.Portal, {
2355
2410
  "data-slot": "dropdown-menu-portal",
2356
2411
  ...e
2357
2412
  });
2358
2413
  }
2359
- function Pr({ ...e }) {
2414
+ function Ir({ ...e }) {
2360
2415
  return /* @__PURE__ */ a(D.Trigger, {
2361
2416
  "data-slot": "dropdown-menu-trigger",
2362
2417
  ...e
2363
2418
  });
2364
2419
  }
2365
- function Fr({ className: e, align: t = "start", sideOffset: n = 4, ...r }) {
2420
+ function Lr({ className: e, align: t = "start", sideOffset: n = 4, ...r }) {
2366
2421
  return /* @__PURE__ */ a(D.Portal, { children: /* @__PURE__ */ a(D.Content, {
2367
2422
  "data-slot": "dropdown-menu-content",
2368
2423
  sideOffset: n,
@@ -2371,7 +2426,7 @@ function Fr({ className: e, align: t = "start", sideOffset: n = 4, ...r }) {
2371
2426
  ...r
2372
2427
  }) });
2373
2428
  }
2374
- function Ir({ ...e }) {
2429
+ function Rr({ ...e }) {
2375
2430
  return /* @__PURE__ */ a(D.Group, {
2376
2431
  "data-slot": "dropdown-menu-group",
2377
2432
  ...e
@@ -2386,7 +2441,7 @@ function B({ className: e, inset: t, variant: n = "default", ...r }) {
2386
2441
  ...r
2387
2442
  });
2388
2443
  }
2389
- function Lr({ className: e, children: t, checked: n, inset: r, ...i }) {
2444
+ function zr({ className: e, children: t, checked: n, inset: r, ...i }) {
2390
2445
  return /* @__PURE__ */ o(D.CheckboxItem, {
2391
2446
  "data-slot": "dropdown-menu-checkbox-item",
2392
2447
  "data-inset": r,
@@ -2400,13 +2455,13 @@ function Lr({ className: e, children: t, checked: n, inset: r, ...i }) {
2400
2455
  }), t]
2401
2456
  });
2402
2457
  }
2403
- function Rr({ ...e }) {
2458
+ function Br({ ...e }) {
2404
2459
  return /* @__PURE__ */ a(D.RadioGroup, {
2405
2460
  "data-slot": "dropdown-menu-radio-group",
2406
2461
  ...e
2407
2462
  });
2408
2463
  }
2409
- function zr({ className: e, children: t, inset: n, ...r }) {
2464
+ function Vr({ className: e, children: t, inset: n, ...r }) {
2410
2465
  return /* @__PURE__ */ o(D.RadioItem, {
2411
2466
  "data-slot": "dropdown-menu-radio-item",
2412
2467
  "data-inset": n,
@@ -2419,7 +2474,7 @@ function zr({ className: e, children: t, inset: n, ...r }) {
2419
2474
  }), t]
2420
2475
  });
2421
2476
  }
2422
- function Br({ className: e, inset: t, ...n }) {
2477
+ function Hr({ className: e, inset: t, ...n }) {
2423
2478
  return /* @__PURE__ */ a(D.Label, {
2424
2479
  "data-slot": "dropdown-menu-label",
2425
2480
  "data-inset": t,
@@ -2427,27 +2482,27 @@ function Br({ className: e, inset: t, ...n }) {
2427
2482
  ...n
2428
2483
  });
2429
2484
  }
2430
- function Vr({ className: e, ...t }) {
2485
+ function Ur({ className: e, ...t }) {
2431
2486
  return /* @__PURE__ */ a(D.Separator, {
2432
2487
  "data-slot": "dropdown-menu-separator",
2433
2488
  className: P("bg-border -mx-1 my-1 h-px", e),
2434
2489
  ...t
2435
2490
  });
2436
2491
  }
2437
- function Hr({ className: e, ...t }) {
2492
+ function Wr({ className: e, ...t }) {
2438
2493
  return /* @__PURE__ */ a("span", {
2439
2494
  "data-slot": "dropdown-menu-shortcut",
2440
2495
  className: P("text-muted-foreground group-focus/dropdown-menu-item:text-accent-foreground ms-auto text-xs tracking-widest", e),
2441
2496
  ...t
2442
2497
  });
2443
2498
  }
2444
- function Ur({ ...e }) {
2499
+ function Gr({ ...e }) {
2445
2500
  return /* @__PURE__ */ a(D.Sub, {
2446
2501
  "data-slot": "dropdown-menu-sub",
2447
2502
  ...e
2448
2503
  });
2449
2504
  }
2450
- function Wr({ className: e, inset: t, children: n, ...r }) {
2505
+ function Kr({ className: e, inset: t, children: n, ...r }) {
2451
2506
  return /* @__PURE__ */ o(D.SubTrigger, {
2452
2507
  "data-slot": "dropdown-menu-sub-trigger",
2453
2508
  "data-inset": t,
@@ -2456,7 +2511,7 @@ function Wr({ className: e, inset: t, children: n, ...r }) {
2456
2511
  children: [n, /* @__PURE__ */ a(p, { className: "rtl:rotate-180 ms-auto" })]
2457
2512
  });
2458
2513
  }
2459
- function Gr({ className: e, ...t }) {
2514
+ function qr({ className: e, ...t }) {
2460
2515
  return /* @__PURE__ */ a(D.SubContent, {
2461
2516
  "data-slot": "dropdown-menu-sub-content",
2462
2517
  className: P("data-open:animate-in data-closed:animate-out data-closed:fade-out-0 data-open:fade-in-0 data-closed:zoom-out-95 data-open:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 ring-foreground/10 bg-popover text-popover-foreground min-w-[96px] rounded-md p-1 shadow-lg ring-1 duration-100 z-50 origin-(--radix-dropdown-menu-content-transform-origin) overflow-hidden", e),
@@ -2465,51 +2520,51 @@ function Gr({ className: e, ...t }) {
2465
2520
  }
2466
2521
  //#endregion
2467
2522
  //#region src/hooks/use-mobile.ts
2468
- var Kr = 768;
2469
- function qr() {
2523
+ var Jr = 768;
2524
+ function Yr() {
2470
2525
  let [e, t] = y.useState(void 0);
2471
2526
  return y.useEffect(() => {
2472
- let e = window.matchMedia(`(max-width: ${Kr - 1}px)`), n = () => {
2473
- t(window.innerWidth < Kr);
2527
+ let e = window.matchMedia(`(max-width: ${Jr - 1}px)`), n = () => {
2528
+ t(window.innerWidth < Jr);
2474
2529
  };
2475
- return e.addEventListener("change", n), t(window.innerWidth < Kr), () => e.removeEventListener("change", n);
2530
+ return e.addEventListener("change", n), t(window.innerWidth < Jr), () => e.removeEventListener("change", n);
2476
2531
  }, []), !!e;
2477
2532
  }
2478
2533
  //#endregion
2479
2534
  //#region src/components/pure/sheet.tsx
2480
- function Jr({ ...e }) {
2535
+ function Xr({ ...e }) {
2481
2536
  return /* @__PURE__ */ a(w.Root, {
2482
2537
  "data-slot": "sheet",
2483
2538
  ...e
2484
2539
  });
2485
2540
  }
2486
- function Yr({ ...e }) {
2541
+ function Zr({ ...e }) {
2487
2542
  return /* @__PURE__ */ a(w.Trigger, {
2488
2543
  "data-slot": "sheet-trigger",
2489
2544
  ...e
2490
2545
  });
2491
2546
  }
2492
- function Xr({ ...e }) {
2547
+ function Qr({ ...e }) {
2493
2548
  return /* @__PURE__ */ a(w.Close, {
2494
2549
  "data-slot": "sheet-close",
2495
2550
  ...e
2496
2551
  });
2497
2552
  }
2498
- function Zr({ ...e }) {
2553
+ function $r({ ...e }) {
2499
2554
  return /* @__PURE__ */ a(w.Portal, {
2500
2555
  "data-slot": "sheet-portal",
2501
2556
  ...e
2502
2557
  });
2503
2558
  }
2504
- function Qr({ className: e, ...t }) {
2559
+ function ei({ className: e, ...t }) {
2505
2560
  return /* @__PURE__ */ a(w.Overlay, {
2506
2561
  "data-slot": "sheet-overlay",
2507
2562
  className: P("data-open:animate-in data-closed:animate-out data-closed:fade-out-0 data-open:fade-in-0 bg-black/10 duration-100 data-ending-style:opacity-0 data-starting-style:opacity-0 supports-backdrop-filter:backdrop-blur-xs fixed inset-0 z-50", e),
2508
2563
  ...t
2509
2564
  });
2510
2565
  }
2511
- function $r({ className: e, children: t, side: n = "right", showCloseButton: r = !0, ...i }) {
2512
- return /* @__PURE__ */ o(Zr, { children: [/* @__PURE__ */ a(Qr, {}), /* @__PURE__ */ o(w.Content, {
2566
+ function ti({ className: e, children: t, side: n = "right", showCloseButton: r = !0, ...i }) {
2567
+ return /* @__PURE__ */ o($r, { children: [/* @__PURE__ */ a(ei, {}), /* @__PURE__ */ o(w.Content, {
2513
2568
  "data-slot": "sheet-content",
2514
2569
  "data-side": n,
2515
2570
  className: P("bg-background data-open:animate-in data-closed:animate-out data-[side=right]:data-closed:slide-out-to-right-10 data-[side=right]:data-open:slide-in-from-right-10 data-[side=left]:data-closed:slide-out-to-left-10 data-[side=left]:data-open:slide-in-from-left-10 data-[side=top]:data-closed:slide-out-to-top-10 data-[side=top]:data-open:slide-in-from-top-10 data-closed:fade-out-0 data-open:fade-in-0 data-[side=bottom]:data-closed:slide-out-to-bottom-10 data-[side=bottom]:data-open:slide-in-from-bottom-10 fixed z-50 flex flex-col gap-4 bg-clip-padding text-sm shadow-lg transition duration-200 ease-in-out data-[side=bottom]:inset-x-0 data-[side=bottom]:bottom-0 data-[side=bottom]:h-auto data-[side=bottom]:border-t data-[side=left]:inset-y-0 data-[side=left]:left-0 data-[side=left]:h-full data-[side=left]:w-3/4 data-[side=left]:border-e data-[side=right]:inset-y-0 data-[side=right]:right-0 data-[side=right]:h-full data-[side=right]:w-3/4 data-[side=right]:border-s data-[side=top]:inset-x-0 data-[side=top]:top-0 data-[side=top]:h-auto data-[side=top]:border-b data-[side=left]:sm:max-w-sm data-[side=right]:sm:max-w-sm", e),
@@ -2529,28 +2584,28 @@ function $r({ className: e, children: t, side: n = "right", showCloseButton: r =
2529
2584
  })]
2530
2585
  })] });
2531
2586
  }
2532
- function ei({ className: e, ...t }) {
2587
+ function ni({ className: e, ...t }) {
2533
2588
  return /* @__PURE__ */ a("div", {
2534
2589
  "data-slot": "sheet-header",
2535
2590
  className: P("gap-0.5 p-4 flex flex-col", e),
2536
2591
  ...t
2537
2592
  });
2538
2593
  }
2539
- function ti({ className: e, ...t }) {
2594
+ function ri({ className: e, ...t }) {
2540
2595
  return /* @__PURE__ */ a("div", {
2541
2596
  "data-slot": "sheet-footer",
2542
2597
  className: P("gap-2 p-4 mt-auto flex flex-col", e),
2543
2598
  ...t
2544
2599
  });
2545
2600
  }
2546
- function ni({ className: e, ...t }) {
2601
+ function ii({ className: e, ...t }) {
2547
2602
  return /* @__PURE__ */ a(w.Title, {
2548
2603
  "data-slot": "sheet-title",
2549
2604
  className: P("text-foreground text-base font-medium", e),
2550
2605
  ...t
2551
2606
  });
2552
2607
  }
2553
- function ri({ className: e, ...t }) {
2608
+ function ai({ className: e, ...t }) {
2554
2609
  return /* @__PURE__ */ a(w.Description, {
2555
2610
  "data-slot": "sheet-description",
2556
2611
  className: P("text-muted-foreground text-sm", e),
@@ -2568,26 +2623,26 @@ function V({ className: e, ...t }) {
2568
2623
  }
2569
2624
  //#endregion
2570
2625
  //#region src/components/pure/tooltip.tsx
2571
- function ii({ delayDuration: e = 0, ...t }) {
2626
+ function oi({ delayDuration: e = 0, ...t }) {
2572
2627
  return /* @__PURE__ */ a(O.Provider, {
2573
2628
  "data-slot": "tooltip-provider",
2574
2629
  delayDuration: e,
2575
2630
  ...t
2576
2631
  });
2577
2632
  }
2578
- function ai({ ...e }) {
2633
+ function si({ ...e }) {
2579
2634
  return /* @__PURE__ */ a(O.Root, {
2580
2635
  "data-slot": "tooltip",
2581
2636
  ...e
2582
2637
  });
2583
2638
  }
2584
- function oi({ ...e }) {
2639
+ function ci({ ...e }) {
2585
2640
  return /* @__PURE__ */ a(O.Trigger, {
2586
2641
  "data-slot": "tooltip-trigger",
2587
2642
  ...e
2588
2643
  });
2589
2644
  }
2590
- function si({ className: e, sideOffset: t = 0, children: n, ...r }) {
2645
+ function li({ className: e, sideOffset: t = 0, children: n, ...r }) {
2591
2646
  return /* @__PURE__ */ a(O.Portal, { children: /* @__PURE__ */ o(O.Content, {
2592
2647
  "data-slot": "tooltip-content",
2593
2648
  sideOffset: t,
@@ -2598,16 +2653,16 @@ function si({ className: e, sideOffset: t = 0, children: n, ...r }) {
2598
2653
  }
2599
2654
  //#endregion
2600
2655
  //#region src/components/pure/sidebar.tsx
2601
- var ci = "sidebar_state", li = 3600 * 24 * 7, ui = "16rem", di = "18rem", fi = "3rem", pi = "b", mi = y.createContext(null);
2602
- function hi() {
2603
- let e = y.useContext(mi);
2656
+ var ui = "sidebar_state", di = 3600 * 24 * 7, fi = "16rem", pi = "18rem", mi = "3rem", hi = "b", gi = y.createContext(null);
2657
+ function _i() {
2658
+ let e = y.useContext(gi);
2604
2659
  if (!e) throw Error("useSidebar must be used within a SidebarProvider.");
2605
2660
  return e;
2606
2661
  }
2607
- function gi({ defaultOpen: e = !0, open: t, onOpenChange: n, className: r, style: i, children: o, ...s }) {
2608
- let c = qr(), [l, u] = y.useState(!1), [d, f] = y.useState(e), p = t ?? d, m = y.useCallback((e) => {
2662
+ function vi({ defaultOpen: e = !0, open: t, onOpenChange: n, className: r, style: i, children: o, ...s }) {
2663
+ let c = Yr(), [l, u] = y.useState(!1), [d, f] = y.useState(e), p = t ?? d, m = y.useCallback((e) => {
2609
2664
  let t = typeof e == "function" ? e(p) : e;
2610
- n ? n(t) : f(t), document.cookie = `${ci}=${t}; path=/; max-age=${li}`;
2665
+ n ? n(t) : f(t), document.cookie = `${ui}=${t}; path=/; max-age=${di}`;
2611
2666
  }, [n, p]), h = y.useCallback(() => c ? u((e) => !e) : m((e) => !e), [
2612
2667
  c,
2613
2668
  m,
@@ -2615,7 +2670,7 @@ function gi({ defaultOpen: e = !0, open: t, onOpenChange: n, className: r, style
2615
2670
  ]);
2616
2671
  y.useEffect(() => {
2617
2672
  let e = (e) => {
2618
- e.key === pi && (e.metaKey || e.ctrlKey) && (e.preventDefault(), h());
2673
+ e.key === hi && (e.metaKey || e.ctrlKey) && (e.preventDefault(), h());
2619
2674
  };
2620
2675
  return window.addEventListener("keydown", e), () => window.removeEventListener("keydown", e);
2621
2676
  }, [h]);
@@ -2636,13 +2691,13 @@ function gi({ defaultOpen: e = !0, open: t, onOpenChange: n, className: r, style
2636
2691
  u,
2637
2692
  h
2638
2693
  ]);
2639
- return /* @__PURE__ */ a(mi.Provider, {
2694
+ return /* @__PURE__ */ a(gi.Provider, {
2640
2695
  value: _,
2641
2696
  children: /* @__PURE__ */ a("div", {
2642
2697
  "data-slot": "sidebar-wrapper",
2643
2698
  style: {
2644
- "--sidebar-width": ui,
2645
- "--sidebar-width-icon": fi,
2699
+ "--sidebar-width": fi,
2700
+ "--sidebar-width-icon": mi,
2646
2701
  ...i
2647
2702
  },
2648
2703
  className: P("group/sidebar-wrapper has-data-[variant=inset]:bg-sidebar flex min-h-svh w-full", r),
@@ -2651,28 +2706,28 @@ function gi({ defaultOpen: e = !0, open: t, onOpenChange: n, className: r, style
2651
2706
  })
2652
2707
  });
2653
2708
  }
2654
- function _i({ side: e = "left", variant: t = "sidebar", collapsible: n = "offcanvas", className: r, children: i, dir: s, ...c }) {
2655
- let { isMobile: l, state: u, openMobile: d, setOpenMobile: f } = hi();
2709
+ function yi({ side: e = "left", variant: t = "sidebar", collapsible: n = "offcanvas", className: r, children: i, dir: s, ...c }) {
2710
+ let { isMobile: l, state: u, openMobile: d, setOpenMobile: f } = _i();
2656
2711
  return n === "none" ? /* @__PURE__ */ a("div", {
2657
2712
  "data-slot": "sidebar",
2658
2713
  className: P("bg-sidebar text-sidebar-foreground flex h-full w-(--sidebar-width) flex-col", r),
2659
2714
  ...c,
2660
2715
  children: i
2661
- }) : l ? /* @__PURE__ */ a(Jr, {
2716
+ }) : l ? /* @__PURE__ */ a(Xr, {
2662
2717
  open: d,
2663
2718
  onOpenChange: f,
2664
2719
  ...c,
2665
- children: /* @__PURE__ */ o($r, {
2720
+ children: /* @__PURE__ */ o(ti, {
2666
2721
  dir: s,
2667
2722
  "data-sidebar": "sidebar",
2668
2723
  "data-slot": "sidebar",
2669
2724
  "data-mobile": "true",
2670
2725
  className: "bg-sidebar text-sidebar-foreground w-(--sidebar-width) p-0 [&>button]:hidden",
2671
- style: { "--sidebar-width": di },
2726
+ style: { "--sidebar-width": pi },
2672
2727
  side: e,
2673
- children: [/* @__PURE__ */ o(ei, {
2728
+ children: [/* @__PURE__ */ o(ni, {
2674
2729
  className: "sr-only",
2675
- children: [/* @__PURE__ */ a(ni, { children: "Sidebar" }), /* @__PURE__ */ a(ri, { children: "Displays the mobile sidebar." })]
2730
+ children: [/* @__PURE__ */ a(ii, { children: "Sidebar" }), /* @__PURE__ */ a(ai, { children: "Displays the mobile sidebar." })]
2676
2731
  }), /* @__PURE__ */ a("div", {
2677
2732
  className: "flex h-full w-full flex-col",
2678
2733
  children: i
@@ -2702,8 +2757,8 @@ function _i({ side: e = "left", variant: t = "sidebar", collapsible: n = "offcan
2702
2757
  })]
2703
2758
  });
2704
2759
  }
2705
- function vi({ className: e, onClick: t, ...n }) {
2706
- let { toggleSidebar: r } = hi();
2760
+ function bi({ className: e, onClick: t, ...n }) {
2761
+ let { toggleSidebar: r } = _i();
2707
2762
  return /* @__PURE__ */ o(F, {
2708
2763
  "data-sidebar": "trigger",
2709
2764
  "data-slot": "sidebar-trigger",
@@ -2720,8 +2775,8 @@ function vi({ className: e, onClick: t, ...n }) {
2720
2775
  })]
2721
2776
  });
2722
2777
  }
2723
- function yi({ className: e, ...t }) {
2724
- let { toggleSidebar: n } = hi();
2778
+ function xi({ className: e, ...t }) {
2779
+ let { toggleSidebar: n } = _i();
2725
2780
  return /* @__PURE__ */ a("button", {
2726
2781
  "data-sidebar": "rail",
2727
2782
  "data-slot": "sidebar-rail",
@@ -2733,14 +2788,14 @@ function yi({ className: e, ...t }) {
2733
2788
  ...t
2734
2789
  });
2735
2790
  }
2736
- function bi({ className: e, ...t }) {
2791
+ function Si({ className: e, ...t }) {
2737
2792
  return /* @__PURE__ */ a("main", {
2738
2793
  "data-slot": "sidebar-inset",
2739
2794
  className: P("bg-background md:peer-data-[variant=inset]:m-2 md:peer-data-[variant=inset]:ms-0 md:peer-data-[variant=inset]:rounded-xl md:peer-data-[variant=inset]:shadow-sm md:peer-data-[variant=inset]:peer-data-[state=collapsed]:ms-2 relative flex w-full flex-1 flex-col", e),
2740
2795
  ...t
2741
2796
  });
2742
2797
  }
2743
- function xi({ className: e, ...t }) {
2798
+ function Ci({ className: e, ...t }) {
2744
2799
  return /* @__PURE__ */ a(z, {
2745
2800
  "data-slot": "sidebar-input",
2746
2801
  "data-sidebar": "input",
@@ -2748,7 +2803,7 @@ function xi({ className: e, ...t }) {
2748
2803
  ...t
2749
2804
  });
2750
2805
  }
2751
- function Si({ className: e, ...t }) {
2806
+ function wi({ className: e, ...t }) {
2752
2807
  return /* @__PURE__ */ a("div", {
2753
2808
  "data-slot": "sidebar-header",
2754
2809
  "data-sidebar": "header",
@@ -2756,7 +2811,7 @@ function Si({ className: e, ...t }) {
2756
2811
  ...t
2757
2812
  });
2758
2813
  }
2759
- function Ci({ className: e, ...t }) {
2814
+ function Ti({ className: e, ...t }) {
2760
2815
  return /* @__PURE__ */ a("div", {
2761
2816
  "data-slot": "sidebar-footer",
2762
2817
  "data-sidebar": "footer",
@@ -2764,7 +2819,7 @@ function Ci({ className: e, ...t }) {
2764
2819
  ...t
2765
2820
  });
2766
2821
  }
2767
- function wi({ className: e, ...t }) {
2822
+ function Ei({ className: e, ...t }) {
2768
2823
  return /* @__PURE__ */ a(L, {
2769
2824
  "data-slot": "sidebar-separator",
2770
2825
  "data-sidebar": "separator",
@@ -2772,7 +2827,7 @@ function wi({ className: e, ...t }) {
2772
2827
  ...t
2773
2828
  });
2774
2829
  }
2775
- function Ti({ className: e, ...t }) {
2830
+ function Di({ className: e, ...t }) {
2776
2831
  return /* @__PURE__ */ a("div", {
2777
2832
  "data-slot": "sidebar-content",
2778
2833
  "data-sidebar": "content",
@@ -2780,7 +2835,7 @@ function Ti({ className: e, ...t }) {
2780
2835
  ...t
2781
2836
  });
2782
2837
  }
2783
- function Ei({ className: e, ...t }) {
2838
+ function Oi({ className: e, ...t }) {
2784
2839
  return /* @__PURE__ */ a("div", {
2785
2840
  "data-slot": "sidebar-group",
2786
2841
  "data-sidebar": "group",
@@ -2788,7 +2843,7 @@ function Ei({ className: e, ...t }) {
2788
2843
  ...t
2789
2844
  });
2790
2845
  }
2791
- function Di({ className: e, asChild: t = !1, ...n }) {
2846
+ function ki({ className: e, asChild: t = !1, ...n }) {
2792
2847
  return /* @__PURE__ */ a(t ? C : "div", {
2793
2848
  "data-slot": "sidebar-group-label",
2794
2849
  "data-sidebar": "group-label",
@@ -2796,7 +2851,7 @@ function Di({ className: e, asChild: t = !1, ...n }) {
2796
2851
  ...n
2797
2852
  });
2798
2853
  }
2799
- function Oi({ className: e, asChild: t = !1, ...n }) {
2854
+ function Ai({ className: e, asChild: t = !1, ...n }) {
2800
2855
  return /* @__PURE__ */ a(t ? C : "button", {
2801
2856
  "data-slot": "sidebar-group-action",
2802
2857
  "data-sidebar": "group-action",
@@ -2804,7 +2859,7 @@ function Oi({ className: e, asChild: t = !1, ...n }) {
2804
2859
  ...n
2805
2860
  });
2806
2861
  }
2807
- function ki({ className: e, ...t }) {
2862
+ function ji({ className: e, ...t }) {
2808
2863
  return /* @__PURE__ */ a("div", {
2809
2864
  "data-slot": "sidebar-group-content",
2810
2865
  "data-sidebar": "group-content",
@@ -2828,7 +2883,7 @@ function U({ className: e, ...t }) {
2828
2883
  ...t
2829
2884
  });
2830
2885
  }
2831
- var Ai = S("ring-sidebar-ring hover:bg-sidebar-accent hover:text-sidebar-accent-foreground active:bg-sidebar-accent active:text-sidebar-accent-foreground data-active:bg-sidebar-accent data-active:text-sidebar-accent-foreground data-open:hover:bg-sidebar-accent data-open:hover:text-sidebar-accent-foreground gap-2 rounded-md p-2 text-start text-sm transition-[width,height,padding] group-has-data-[sidebar=menu-action]/menu-item:pe-8 group-data-[collapsible=icon]:size-8! group-data-[collapsible=icon]:p-2! focus-visible:ring-2 data-active:font-medium peer/menu-button flex w-full items-center overflow-hidden outline-hidden group/menu-button disabled:pointer-events-none disabled:opacity-50 aria-disabled:pointer-events-none aria-disabled:opacity-50 [&>span:last-child]:truncate [&_svg]:size-6 [&_svg]:shrink-0", {
2886
+ var Mi = S("ring-sidebar-ring hover:bg-sidebar-accent hover:text-sidebar-accent-foreground active:bg-sidebar-accent active:text-sidebar-accent-foreground data-active:bg-sidebar-accent data-active:text-sidebar-accent-foreground data-open:hover:bg-sidebar-accent data-open:hover:text-sidebar-accent-foreground gap-2 rounded-md p-2 text-start text-sm transition-[width,height,padding] group-has-data-[sidebar=menu-action]/menu-item:pe-8 group-data-[collapsible=icon]:size-8! group-data-[collapsible=icon]:p-2! focus-visible:ring-2 data-active:font-medium peer/menu-button flex w-full items-center overflow-hidden outline-hidden group/menu-button disabled:pointer-events-none disabled:opacity-50 aria-disabled:pointer-events-none aria-disabled:opacity-50 [&>span:last-child]:truncate [&_svg]:size-6 [&_svg]:shrink-0", {
2832
2887
  variants: {
2833
2888
  variant: {
2834
2889
  default: "hover:bg-sidebar-accent hover:text-sidebar-accent-foreground",
@@ -2846,28 +2901,28 @@ var Ai = S("ring-sidebar-ring hover:bg-sidebar-accent hover:text-sidebar-accent-
2846
2901
  }
2847
2902
  });
2848
2903
  function W({ asChild: e = !1, isActive: t = !1, variant: n = "default", size: r = "default", tooltip: i, className: s, ...c }) {
2849
- let l = e ? C : "button", { isMobile: u, state: d } = hi(), f = /* @__PURE__ */ a(l, {
2904
+ let l = e ? C : "button", { isMobile: u, state: d } = _i(), f = /* @__PURE__ */ a(l, {
2850
2905
  "data-slot": "sidebar-menu-button",
2851
2906
  "data-sidebar": "menu-button",
2852
2907
  "data-size": r,
2853
2908
  "data-active": t,
2854
- className: P(Ai({
2909
+ className: P(Mi({
2855
2910
  variant: n,
2856
2911
  size: r
2857
2912
  }), s),
2858
2913
  ...c
2859
2914
  });
2860
- return i ? (typeof i == "string" && (i = { children: i }), /* @__PURE__ */ o(ai, { children: [/* @__PURE__ */ a(oi, {
2915
+ return i ? (typeof i == "string" && (i = { children: i }), /* @__PURE__ */ o(si, { children: [/* @__PURE__ */ a(ci, {
2861
2916
  asChild: !0,
2862
2917
  children: f
2863
- }), /* @__PURE__ */ a(si, {
2918
+ }), /* @__PURE__ */ a(li, {
2864
2919
  side: "right",
2865
2920
  align: "center",
2866
2921
  hidden: d !== "collapsed" || u,
2867
2922
  ...i
2868
2923
  })] })) : f;
2869
2924
  }
2870
- function ji({ className: e, asChild: t = !1, showOnHover: n = !1, ...r }) {
2925
+ function Ni({ className: e, asChild: t = !1, showOnHover: n = !1, ...r }) {
2871
2926
  return /* @__PURE__ */ a(t ? C : "button", {
2872
2927
  "data-slot": "sidebar-menu-action",
2873
2928
  "data-sidebar": "menu-action",
@@ -2875,7 +2930,7 @@ function ji({ className: e, asChild: t = !1, showOnHover: n = !1, ...r }) {
2875
2930
  ...r
2876
2931
  });
2877
2932
  }
2878
- function Mi({ className: e, ...t }) {
2933
+ function Pi({ className: e, ...t }) {
2879
2934
  return /* @__PURE__ */ a("div", {
2880
2935
  "data-slot": "sidebar-menu-badge",
2881
2936
  "data-sidebar": "menu-badge",
@@ -2883,7 +2938,7 @@ function Mi({ className: e, ...t }) {
2883
2938
  ...t
2884
2939
  });
2885
2940
  }
2886
- function Ni({ className: e, showIcon: t = !1, ...n }) {
2941
+ function Fi({ className: e, showIcon: t = !1, ...n }) {
2887
2942
  let [r] = y.useState(() => `${Math.floor(Math.random() * 40) + 50}%`);
2888
2943
  return /* @__PURE__ */ o("div", {
2889
2944
  "data-slot": "sidebar-menu-skeleton",
@@ -2900,7 +2955,7 @@ function Ni({ className: e, showIcon: t = !1, ...n }) {
2900
2955
  })]
2901
2956
  });
2902
2957
  }
2903
- function Pi({ className: e, ...t }) {
2958
+ function Ii({ className: e, ...t }) {
2904
2959
  return /* @__PURE__ */ a("ul", {
2905
2960
  "data-slot": "sidebar-menu-sub",
2906
2961
  "data-sidebar": "menu-sub",
@@ -2908,7 +2963,7 @@ function Pi({ className: e, ...t }) {
2908
2963
  ...t
2909
2964
  });
2910
2965
  }
2911
- function Fi({ className: e, ...t }) {
2966
+ function Li({ className: e, ...t }) {
2912
2967
  return /* @__PURE__ */ a("li", {
2913
2968
  "data-slot": "sidebar-menu-sub-item",
2914
2969
  "data-sidebar": "menu-sub-item",
@@ -2916,7 +2971,7 @@ function Fi({ className: e, ...t }) {
2916
2971
  ...t
2917
2972
  });
2918
2973
  }
2919
- function Ii({ asChild: e = !1, size: t = "md", isActive: n = !1, className: r, ...i }) {
2974
+ function Ri({ asChild: e = !1, size: t = "md", isActive: n = !1, className: r, ...i }) {
2920
2975
  return /* @__PURE__ */ a(e ? C : "a", {
2921
2976
  "data-slot": "sidebar-menu-sub-button",
2922
2977
  "data-sidebar": "menu-sub-button",
@@ -2928,7 +2983,7 @@ function Ii({ asChild: e = !1, size: t = "md", isActive: n = !1, className: r, .
2928
2983
  }
2929
2984
  //#endregion
2930
2985
  //#region src/components/custom/table/crudTablePagination.tsx
2931
- function Li({ pageSize: e, totalNumber: t, currentPage: n, onPageChanged: r }) {
2986
+ function zi({ pageSize: e, totalNumber: t, currentPage: n, onPageChanged: r }) {
2932
2987
  let i = Math.ceil(t / e);
2933
2988
  return /* @__PURE__ */ o("div", {
2934
2989
  className: "p-4 border-t bg-muted flex items-center justify-between text-sm text-muted-foreground",
@@ -2944,25 +2999,25 @@ function Li({ pageSize: e, totalNumber: t, currentPage: n, onPageChanged: r }) {
2944
2999
  t,
2945
3000
  " "
2946
3001
  ]
2947
- }), /* @__PURE__ */ a(Tr, {
3002
+ }), /* @__PURE__ */ a(Dr, {
2948
3003
  dir: "rtl",
2949
3004
  className: "justify-end w-auto mx-0",
2950
- children: /* @__PURE__ */ o(Er, { children: [
2951
- /* @__PURE__ */ a(Dr, { children: /* @__PURE__ */ a(kr, {
3005
+ children: /* @__PURE__ */ o(Or, { children: [
3006
+ /* @__PURE__ */ a(kr, { children: /* @__PURE__ */ a(jr, {
2952
3007
  onClick: () => {
2953
3008
  n > 1 && r?.(n - 1);
2954
3009
  },
2955
3010
  text: "السابق"
2956
3011
  }) }),
2957
- /* @__PURE__ */ o(Mr, {
3012
+ /* @__PURE__ */ o(Pr, {
2958
3013
  dir: "rtl",
2959
- children: [/* @__PURE__ */ a(Pr, {
3014
+ children: [/* @__PURE__ */ a(Ir, {
2960
3015
  asChild: !0,
2961
3016
  children: /* @__PURE__ */ a(W, {
2962
3017
  className: "w-full h-5 justify-start gap-2 text-base",
2963
3018
  children: /* @__PURE__ */ a("span", { children: n })
2964
3019
  })
2965
- }), /* @__PURE__ */ a(Fr, {
3020
+ }), /* @__PURE__ */ a(Lr, {
2966
3021
  align: "end",
2967
3022
  children: Array.from({ length: Math.ceil(t / e) }, (e, t) => /* @__PURE__ */ a(B, {
2968
3023
  onClick: () => r?.(t + 1),
@@ -2970,7 +3025,7 @@ function Li({ pageSize: e, totalNumber: t, currentPage: n, onPageChanged: r }) {
2970
3025
  }, t + 1))
2971
3026
  })]
2972
3027
  }),
2973
- /* @__PURE__ */ a(Dr, { children: /* @__PURE__ */ a(Ar, {
3028
+ /* @__PURE__ */ a(kr, { children: /* @__PURE__ */ a(Mr, {
2974
3029
  onClick: () => {
2975
3030
  n < i && r?.(n + 1);
2976
3031
  },
@@ -2982,21 +3037,21 @@ function Li({ pageSize: e, totalNumber: t, currentPage: n, onPageChanged: r }) {
2982
3037
  }
2983
3038
  //#endregion
2984
3039
  //#region src/components/custom/table/crudTableRowActionsMenu.tsx
2985
- function Ri({ onEditClicked: e, onDeleteClicked: t, type: n, permissions: r }) {
2986
- return /* @__PURE__ */ o(i, { children: [n === "dropdown" && /* @__PURE__ */ o(Mr, {
3040
+ function Bi({ onEditClicked: e, onDeleteClicked: t, type: n, permissions: r }) {
3041
+ return /* @__PURE__ */ o(i, { children: [n === "dropdown" && /* @__PURE__ */ o(Pr, {
2987
3042
  dir: "rtl",
2988
- children: [/* @__PURE__ */ a(Pr, {
3043
+ children: [/* @__PURE__ */ a(Ir, {
2989
3044
  asChild: !0,
2990
3045
  children: /* @__PURE__ */ a(F, {
2991
3046
  variant: "ghost",
2992
3047
  className: "h-8 w-8 p-0",
2993
3048
  children: /* @__PURE__ */ a(le, { className: "h-4 w-4" })
2994
3049
  })
2995
- }), /* @__PURE__ */ o(Fr, {
3050
+ }), /* @__PURE__ */ o(Lr, {
2996
3051
  align: "start",
2997
3052
  children: [
2998
- /* @__PURE__ */ a(Br, { children: "الإجراءات" }),
2999
- /* @__PURE__ */ a(Vr, {}),
3053
+ /* @__PURE__ */ a(Hr, { children: "الإجراءات" }),
3054
+ /* @__PURE__ */ a(Ur, {}),
3000
3055
  r.updatePermission && /* @__PURE__ */ a(B, {
3001
3056
  onSelect: e,
3002
3057
  children: "تعديل"
@@ -3008,14 +3063,14 @@ function Ri({ onEditClicked: e, onDeleteClicked: t, type: n, permissions: r }) {
3008
3063
  })
3009
3064
  ]
3010
3065
  })]
3011
- }), n === "context" && /* @__PURE__ */ a(fr, { children: /* @__PURE__ */ o(cr, { children: [
3012
- /* @__PURE__ */ a(vr, { children: "الإجراءات" }),
3013
- /* @__PURE__ */ a(yr, {}),
3014
- r.updatePermission && /* @__PURE__ */ a(pr, {
3066
+ }), n === "context" && /* @__PURE__ */ a(mr, { children: /* @__PURE__ */ o(ur, { children: [
3067
+ /* @__PURE__ */ a(br, { children: "الإجراءات" }),
3068
+ /* @__PURE__ */ a(xr, {}),
3069
+ r.updatePermission && /* @__PURE__ */ a(hr, {
3015
3070
  onSelect: e,
3016
3071
  children: "تعديل"
3017
3072
  }),
3018
- r.deletePermission && /* @__PURE__ */ a(pr, {
3073
+ r.deletePermission && /* @__PURE__ */ a(hr, {
3019
3074
  className: "text-destructive",
3020
3075
  onSelect: t,
3021
3076
  children: "حذف"
@@ -3024,38 +3079,38 @@ function Ri({ onEditClicked: e, onDeleteClicked: t, type: n, permissions: r }) {
3024
3079
  }
3025
3080
  //#endregion
3026
3081
  //#region src/components/custom/pages/crudPage.tsx
3027
- function zi({ permissions: e, useSlice: t, entityName: n, title: r, addNewItemTitle: i, cards: s, columnsToFilter: c, actions: l, service: u, entityState: d, tableHeadRows: f, tableRowMapper: p, ChangeDialog: m, children: h }) {
3082
+ function Vi({ permissions: e, useSlice: t, entityName: n, title: r, addNewItemTitle: i, cards: s, columnsToFilter: c, actions: l, service: u, entityState: d, tableHeadRows: f, tableRowMapper: p, ChangeDialog: m, children: h }) {
3028
3083
  let g = We(), { selectedRow: _, isChangeDialogOpen: v, isDeleteDialogOpen: ee } = t();
3029
3084
  return je(() => {
3030
3085
  g(l.filter(void 0));
3031
3086
  }, [g, l.filter]), /* @__PURE__ */ o("div", {
3032
3087
  className: "px-5 py-3",
3033
3088
  children: [
3034
- /* @__PURE__ */ a(Cr, {
3089
+ /* @__PURE__ */ a(Tr, {
3035
3090
  title: r,
3036
3091
  buttonTitle: i,
3037
3092
  isButtonVisible: e.addPermission,
3038
3093
  createComp: m
3039
3094
  }),
3040
- /* @__PURE__ */ a(Sr, { cards: s }),
3041
- /* @__PURE__ */ a(zn, {
3095
+ /* @__PURE__ */ a(wr, { cards: s }),
3096
+ /* @__PURE__ */ a(Vn, {
3042
3097
  columnsNames: c,
3043
3098
  onSearch: (e) => g(l.filter(e))
3044
3099
  }),
3045
3100
  /* @__PURE__ */ o("div", {
3046
3101
  className: "rounded-b-xl border shadow-sm overflow-hidden",
3047
3102
  children: [
3048
- /* @__PURE__ */ o(ar, {
3103
+ /* @__PURE__ */ o(sr, {
3049
3104
  state: d,
3050
- children: [/* @__PURE__ */ a(wr, { tableHeadRows: f }), /* @__PURE__ */ a(Hn, { children: d.entities?.data?.map((t, n) => /* @__PURE__ */ a(xr, {
3105
+ children: [/* @__PURE__ */ a(Er, { tableHeadRows: f }), /* @__PURE__ */ a(Wn, { children: d.entities?.data?.map((t, n) => /* @__PURE__ */ a(Cr, {
3051
3106
  tableRows: p(t),
3052
- dropdownMenu: /* @__PURE__ */ a(Ri, {
3107
+ dropdownMenu: /* @__PURE__ */ a(Bi, {
3053
3108
  permissions: e,
3054
3109
  type: "dropdown",
3055
3110
  onEditClicked: () => g(l.openChangeDialog(t)),
3056
3111
  onDeleteClicked: () => g(l.openDeleteDialog(t))
3057
3112
  }),
3058
- contextMenuContent: /* @__PURE__ */ a(Ri, {
3113
+ contextMenuContent: /* @__PURE__ */ a(Bi, {
3059
3114
  permissions: e,
3060
3115
  type: "context",
3061
3116
  onEditClicked: () => g(l.openChangeDialog(t)),
@@ -3063,7 +3118,7 @@ function zi({ permissions: e, useSlice: t, entityName: n, title: r, addNewItemTi
3063
3118
  })
3064
3119
  }, n)) })]
3065
3120
  }),
3066
- /* @__PURE__ */ a(Li, {
3121
+ /* @__PURE__ */ a(zi, {
3067
3122
  pageSize: d.rowsPerPage,
3068
3123
  totalNumber: d.entities?.count ?? 0,
3069
3124
  currentPage: d.currentPage || 1,
@@ -3098,75 +3153,75 @@ function zi({ permissions: e, useSlice: t, entityName: n, title: r, addNewItemTi
3098
3153
  }
3099
3154
  //#endregion
3100
3155
  //#region src/components/pure/alert-dialog.tsx
3101
- function Bi({ ...e }) {
3156
+ function Hi({ ...e }) {
3102
3157
  return /* @__PURE__ */ a(k.Root, {
3103
3158
  "data-slot": "alert-dialog",
3104
3159
  ...e
3105
3160
  });
3106
3161
  }
3107
- function Vi({ ...e }) {
3162
+ function Ui({ ...e }) {
3108
3163
  return /* @__PURE__ */ a(k.Trigger, {
3109
3164
  "data-slot": "alert-dialog-trigger",
3110
3165
  ...e
3111
3166
  });
3112
3167
  }
3113
- function Hi({ ...e }) {
3168
+ function Wi({ ...e }) {
3114
3169
  return /* @__PURE__ */ a(k.Portal, {
3115
3170
  "data-slot": "alert-dialog-portal",
3116
3171
  ...e
3117
3172
  });
3118
3173
  }
3119
- function Ui({ className: e, ...t }) {
3174
+ function Gi({ className: e, ...t }) {
3120
3175
  return /* @__PURE__ */ a(k.Overlay, {
3121
3176
  "data-slot": "alert-dialog-overlay",
3122
3177
  className: P("data-open:animate-in data-closed:animate-out data-closed:fade-out-0 data-open:fade-in-0 bg-black/10 duration-100 supports-backdrop-filter:backdrop-blur-xs fixed inset-0 z-50", e),
3123
3178
  ...t
3124
3179
  });
3125
3180
  }
3126
- function Wi({ className: e, size: t = "default", ...n }) {
3127
- return /* @__PURE__ */ o(Hi, { children: [/* @__PURE__ */ a(Ui, {}), /* @__PURE__ */ a(k.Content, {
3181
+ function Ki({ className: e, size: t = "default", ...n }) {
3182
+ return /* @__PURE__ */ o(Wi, { children: [/* @__PURE__ */ a(Gi, {}), /* @__PURE__ */ a(k.Content, {
3128
3183
  "data-slot": "alert-dialog-content",
3129
3184
  "data-size": t,
3130
3185
  className: P("data-open:animate-in data-closed:animate-out data-closed:fade-out-0 data-open:fade-in-0 data-closed:zoom-out-95 data-open:zoom-in-95 bg-background ring-foreground/10 gap-4 rounded-xl p-4 ring-1 duration-100 data-[size=default]:max-w-xs data-[size=sm]:max-w-xs data-[size=default]:sm:max-w-sm group/alert-dialog-content fixed top-1/2 start-1/2 z-50 grid w-full -translate-x-1/2 rtl:translate-x-1/2 -translate-y-1/2 outline-none", e),
3131
3186
  ...n
3132
3187
  })] });
3133
3188
  }
3134
- function Gi({ className: e, ...t }) {
3189
+ function qi({ className: e, ...t }) {
3135
3190
  return /* @__PURE__ */ a("div", {
3136
3191
  "data-slot": "alert-dialog-header",
3137
3192
  className: P("grid grid-rows-[auto_1fr] place-items-center gap-1.5 text-center has-data-[slot=alert-dialog-media]:grid-rows-[auto_auto_1fr] has-data-[slot=alert-dialog-media]:gap-x-4 sm:group-data-[size=default]/alert-dialog-content:place-items-start sm:group-data-[size=default]/alert-dialog-content:text-start sm:group-data-[size=default]/alert-dialog-content:has-data-[slot=alert-dialog-media]:grid-rows-[auto_1fr]", e),
3138
3193
  ...t
3139
3194
  });
3140
3195
  }
3141
- function Ki({ className: e, ...t }) {
3196
+ function Ji({ className: e, ...t }) {
3142
3197
  return /* @__PURE__ */ a("div", {
3143
3198
  "data-slot": "alert-dialog-footer",
3144
3199
  className: P("bg-muted/50 -mx-4 -mb-4 rounded-b-xl border-t p-4 flex flex-col-reverse gap-2 group-data-[size=sm]/alert-dialog-content:grid group-data-[size=sm]/alert-dialog-content:grid-cols-2 sm:flex-row sm:justify-end", e),
3145
3200
  ...t
3146
3201
  });
3147
3202
  }
3148
- function qi({ className: e, ...t }) {
3203
+ function Yi({ className: e, ...t }) {
3149
3204
  return /* @__PURE__ */ a("div", {
3150
3205
  "data-slot": "alert-dialog-media",
3151
3206
  className: P("bg-muted mb-2 inline-flex size-10 items-center justify-center rounded-md sm:group-data-[size=default]/alert-dialog-content:row-span-2 *:[svg:not([class*='size-'])]:size-6", e),
3152
3207
  ...t
3153
3208
  });
3154
3209
  }
3155
- function Ji({ className: e, ...t }) {
3210
+ function Xi({ className: e, ...t }) {
3156
3211
  return /* @__PURE__ */ a(k.Title, {
3157
3212
  "data-slot": "alert-dialog-title",
3158
3213
  className: P("text-base font-medium sm:group-data-[size=default]/alert-dialog-content:group-has-data-[slot=alert-dialog-media]/alert-dialog-content:col-start-2", e),
3159
3214
  ...t
3160
3215
  });
3161
3216
  }
3162
- function Yi({ className: e, ...t }) {
3217
+ function Zi({ className: e, ...t }) {
3163
3218
  return /* @__PURE__ */ a(k.Description, {
3164
3219
  "data-slot": "alert-dialog-description",
3165
3220
  className: P("text-muted-foreground *:[a]:hover:text-foreground text-sm text-balance md:text-pretty *:[a]:underline *:[a]:underline-offset-3", e),
3166
3221
  ...t
3167
3222
  });
3168
3223
  }
3169
- function Xi({ className: e, variant: t = "default", size: n = "default", ...r }) {
3224
+ function Qi({ className: e, variant: t = "default", size: n = "default", ...r }) {
3170
3225
  return /* @__PURE__ */ a(F, {
3171
3226
  variant: t,
3172
3227
  size: n,
@@ -3178,7 +3233,7 @@ function Xi({ className: e, variant: t = "default", size: n = "default", ...r })
3178
3233
  })
3179
3234
  });
3180
3235
  }
3181
- function Zi({ className: e, variant: t = "outline", size: n = "default", ...r }) {
3236
+ function $i({ className: e, variant: t = "outline", size: n = "default", ...r }) {
3182
3237
  return /* @__PURE__ */ a(F, {
3183
3238
  variant: t,
3184
3239
  size: n,
@@ -3192,36 +3247,36 @@ function Zi({ className: e, variant: t = "outline", size: n = "default", ...r })
3192
3247
  }
3193
3248
  //#endregion
3194
3249
  //#region src/components/pure/alert.tsx
3195
- var Qi = S("group/alert relative grid w-full gap-0.5 rounded-lg border px-2.5 py-2 text-start text-sm has-data-[slot=alert-action]:relative has-data-[slot=alert-action]:pe-18 has-[>svg]:grid-cols-[auto_1fr] has-[>svg]:gap-x-2 *:[svg]:row-span-2 *:[svg]:translate-y-0.5 *:[svg]:text-current *:[svg:not([class*='size-'])]:size-4", {
3250
+ var ea = S("group/alert relative grid w-full gap-0.5 rounded-lg border px-2.5 py-2 text-start text-sm has-data-[slot=alert-action]:relative has-data-[slot=alert-action]:pe-18 has-[>svg]:grid-cols-[auto_1fr] has-[>svg]:gap-x-2 *:[svg]:row-span-2 *:[svg]:translate-y-0.5 *:[svg]:text-current *:[svg:not([class*='size-'])]:size-4", {
3196
3251
  variants: { variant: {
3197
3252
  default: "bg-card text-card-foreground",
3198
3253
  destructive: "bg-card text-destructive *:data-[slot=alert-description]:text-destructive/90 *:[svg]:text-current"
3199
3254
  } },
3200
3255
  defaultVariants: { variant: "default" }
3201
3256
  });
3202
- function $i({ className: e, variant: t, ...n }) {
3257
+ function ta({ className: e, variant: t, ...n }) {
3203
3258
  return /* @__PURE__ */ a("div", {
3204
3259
  "data-slot": "alert",
3205
3260
  role: "alert",
3206
- className: P(Qi({ variant: t }), e),
3261
+ className: P(ea({ variant: t }), e),
3207
3262
  ...n
3208
3263
  });
3209
3264
  }
3210
- function ea({ className: e, ...t }) {
3265
+ function na({ className: e, ...t }) {
3211
3266
  return /* @__PURE__ */ a("div", {
3212
3267
  "data-slot": "alert-title",
3213
3268
  className: P("font-medium group-has-[>svg]/alert:col-start-2 [&_a]:underline [&_a]:underline-offset-3 [&_a]:hover:text-foreground", e),
3214
3269
  ...t
3215
3270
  });
3216
3271
  }
3217
- function ta({ className: e, ...t }) {
3272
+ function ra({ className: e, ...t }) {
3218
3273
  return /* @__PURE__ */ a("div", {
3219
3274
  "data-slot": "alert-description",
3220
3275
  className: P("text-sm text-balance text-muted-foreground md:text-pretty [&_a]:underline [&_a]:underline-offset-3 [&_a]:hover:text-foreground [&_p:not(:last-child)]:mb-4", e),
3221
3276
  ...t
3222
3277
  });
3223
3278
  }
3224
- function na({ className: e, ...t }) {
3279
+ function ia({ className: e, ...t }) {
3225
3280
  return /* @__PURE__ */ a("div", {
3226
3281
  "data-slot": "alert-action",
3227
3282
  className: P("absolute top-2 end-2", e),
@@ -3230,7 +3285,7 @@ function na({ className: e, ...t }) {
3230
3285
  }
3231
3286
  //#endregion
3232
3287
  //#region src/components/pure/avatar.tsx
3233
- function ra({ className: e, size: t = "default", ...n }) {
3288
+ function aa({ className: e, size: t = "default", ...n }) {
3234
3289
  return /* @__PURE__ */ a(Ge.Root, {
3235
3290
  "data-slot": "avatar",
3236
3291
  "data-size": t,
@@ -3238,35 +3293,35 @@ function ra({ className: e, size: t = "default", ...n }) {
3238
3293
  ...n
3239
3294
  });
3240
3295
  }
3241
- function ia({ className: e, ...t }) {
3296
+ function oa({ className: e, ...t }) {
3242
3297
  return console.log(t), /* @__PURE__ */ a(Ge.Image, {
3243
3298
  "data-slot": "avatar-image",
3244
3299
  className: P("rounded-full aspect-square size-full object-cover", e),
3245
3300
  ...t
3246
3301
  });
3247
3302
  }
3248
- function aa({ className: e, ...t }) {
3303
+ function sa({ className: e, ...t }) {
3249
3304
  return /* @__PURE__ */ a(Ge.Fallback, {
3250
3305
  "data-slot": "avatar-fallback",
3251
3306
  className: P("bg-muted text-muted-foreground rounded-full flex size-full items-center justify-center text-sm group-data-[size=sm]/avatar:text-xs", e),
3252
3307
  ...t
3253
3308
  });
3254
3309
  }
3255
- function oa({ className: e, ...t }) {
3310
+ function ca({ className: e, ...t }) {
3256
3311
  return /* @__PURE__ */ a("span", {
3257
3312
  "data-slot": "avatar-badge",
3258
3313
  className: P("bg-primary text-primary-foreground ring-background absolute end-0 bottom-0 z-10 inline-flex items-center justify-center rounded-full bg-blend-color ring-2 select-none", "group-data-[size=sm]/avatar:size-2 group-data-[size=sm]/avatar:[&>svg]:hidden", "group-data-[size=default]/avatar:size-2.5 group-data-[size=default]/avatar:[&>svg]:size-2", "group-data-[size=lg]/avatar:size-3 group-data-[size=lg]/avatar:[&>svg]:size-2", e),
3259
3314
  ...t
3260
3315
  });
3261
3316
  }
3262
- function sa({ className: e, ...t }) {
3317
+ function la({ className: e, ...t }) {
3263
3318
  return /* @__PURE__ */ a("div", {
3264
3319
  "data-slot": "avatar-group",
3265
3320
  className: P("*:data-[slot=avatar]:ring-background group/avatar-group flex -space-x-2 *:data-[slot=avatar]:ring-2", e),
3266
3321
  ...t
3267
3322
  });
3268
3323
  }
3269
- function ca({ className: e, ...t }) {
3324
+ function ua({ className: e, ...t }) {
3270
3325
  return /* @__PURE__ */ a("div", {
3271
3326
  "data-slot": "avatar-group-count",
3272
3327
  className: P("bg-muted text-muted-foreground size-8 rounded-full text-sm group-has-data-[size=lg]/avatar-group:size-10 group-has-data-[size=sm]/avatar-group:size-6 [&>svg]:size-4 group-has-data-[size=lg]/avatar-group:[&>svg]:size-5 group-has-data-[size=sm]/avatar-group:[&>svg]:size-3 ring-background relative flex shrink-0 items-center justify-center ring-2", e),
@@ -3275,7 +3330,7 @@ function ca({ className: e, ...t }) {
3275
3330
  }
3276
3331
  //#endregion
3277
3332
  //#region src/components/pure/badge.tsx
3278
- var la = S("h-5 gap-1 rounded-4xl border border-transparent px-2 py-0.5 text-xs font-medium transition-all has-data-[icon=inline-end]:pe-1.5 has-data-[icon=inline-start]:ps-1.5 [&>svg]:size-3! inline-flex items-center justify-center w-fit whitespace-nowrap shrink-0 [&>svg]:pointer-events-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive overflow-hidden group/badge", {
3333
+ var da = S("h-5 gap-1 rounded-4xl border border-transparent px-2 py-0.5 text-xs font-medium transition-all has-data-[icon=inline-end]:pe-1.5 has-data-[icon=inline-start]:ps-1.5 [&>svg]:size-3! inline-flex items-center justify-center w-fit whitespace-nowrap shrink-0 [&>svg]:pointer-events-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive overflow-hidden group/badge", {
3279
3334
  variants: { variant: {
3280
3335
  default: "bg-primary text-primary-foreground [a]:hover:bg-primary/80",
3281
3336
  secondary: "bg-secondary text-secondary-foreground [a]:hover:bg-secondary/80",
@@ -3286,17 +3341,17 @@ var la = S("h-5 gap-1 rounded-4xl border border-transparent px-2 py-0.5 text-xs
3286
3341
  } },
3287
3342
  defaultVariants: { variant: "default" }
3288
3343
  });
3289
- function ua({ className: e, variant: t = "default", asChild: n = !1, ...r }) {
3344
+ function fa({ className: e, variant: t = "default", asChild: n = !1, ...r }) {
3290
3345
  return /* @__PURE__ */ a(n ? C : "span", {
3291
3346
  "data-slot": "badge",
3292
3347
  "data-variant": t,
3293
- className: P(la({ variant: t }), e),
3348
+ className: P(da({ variant: t }), e),
3294
3349
  ...r
3295
3350
  });
3296
3351
  }
3297
3352
  //#endregion
3298
3353
  //#region src/components/pure/breadcrumb.tsx
3299
- function da({ className: e, ...t }) {
3354
+ function pa({ className: e, ...t }) {
3300
3355
  return /* @__PURE__ */ a("nav", {
3301
3356
  "aria-label": "breadcrumb",
3302
3357
  "data-slot": "breadcrumb",
@@ -3304,28 +3359,28 @@ function da({ className: e, ...t }) {
3304
3359
  ...t
3305
3360
  });
3306
3361
  }
3307
- function fa({ className: e, ...t }) {
3362
+ function ma({ className: e, ...t }) {
3308
3363
  return /* @__PURE__ */ a("ol", {
3309
3364
  "data-slot": "breadcrumb-list",
3310
3365
  className: P("text-muted-foreground gap-1.5 text-sm flex flex-wrap items-center wrap-break-word", e),
3311
3366
  ...t
3312
3367
  });
3313
3368
  }
3314
- function pa({ className: e, ...t }) {
3369
+ function ha({ className: e, ...t }) {
3315
3370
  return /* @__PURE__ */ a("li", {
3316
3371
  "data-slot": "breadcrumb-item",
3317
3372
  className: P("gap-1 inline-flex items-center", e),
3318
3373
  ...t
3319
3374
  });
3320
3375
  }
3321
- function ma({ asChild: e, className: t, ...n }) {
3376
+ function ga({ asChild: e, className: t, ...n }) {
3322
3377
  return /* @__PURE__ */ a(e ? C : "a", {
3323
3378
  "data-slot": "breadcrumb-link",
3324
3379
  className: P("hover:text-foreground transition-colors", t),
3325
3380
  ...n
3326
3381
  });
3327
3382
  }
3328
- function ha({ className: e, ...t }) {
3383
+ function _a({ className: e, ...t }) {
3329
3384
  return /* @__PURE__ */ a("span", {
3330
3385
  "data-slot": "breadcrumb-page",
3331
3386
  role: "link",
@@ -3335,7 +3390,7 @@ function ha({ className: e, ...t }) {
3335
3390
  ...t
3336
3391
  });
3337
3392
  }
3338
- function ga({ children: e, className: t, ...n }) {
3393
+ function va({ children: e, className: t, ...n }) {
3339
3394
  return /* @__PURE__ */ a("li", {
3340
3395
  "data-slot": "breadcrumb-separator",
3341
3396
  role: "presentation",
@@ -3345,7 +3400,7 @@ function ga({ children: e, className: t, ...n }) {
3345
3400
  children: e ?? /* @__PURE__ */ a(p, { className: "rtl:rotate-180" })
3346
3401
  });
3347
3402
  }
3348
- function _a({ className: e, ...t }) {
3403
+ function ya({ className: e, ...t }) {
3349
3404
  return /* @__PURE__ */ o("span", {
3350
3405
  "data-slot": "breadcrumb-ellipsis",
3351
3406
  role: "presentation",
@@ -3360,34 +3415,34 @@ function _a({ className: e, ...t }) {
3360
3415
  }
3361
3416
  //#endregion
3362
3417
  //#region src/components/pure/chart.tsx
3363
- var va = {
3418
+ var ba = {
3364
3419
  light: "",
3365
3420
  dark: ".dark"
3366
- }, ya = y.createContext(null);
3367
- function ba() {
3368
- let e = y.useContext(ya);
3421
+ }, xa = y.createContext(null);
3422
+ function Sa() {
3423
+ let e = y.useContext(xa);
3369
3424
  if (!e) throw Error("useChart must be used within a <ChartContainer />");
3370
3425
  return e;
3371
3426
  }
3372
- function xa({ id: e, className: t, children: n, config: r, ...i }) {
3427
+ function Ca({ id: e, className: t, children: n, config: r, ...i }) {
3373
3428
  let s = y.useId(), c = `chart-${e || s.replace(/:/g, "")}`;
3374
- return /* @__PURE__ */ a(ya.Provider, {
3429
+ return /* @__PURE__ */ a(xa.Provider, {
3375
3430
  value: { config: r },
3376
3431
  children: /* @__PURE__ */ o("div", {
3377
3432
  "data-slot": "chart",
3378
3433
  "data-chart": c,
3379
3434
  className: P("[&_.recharts-cartesian-axis-tick_text]:fill-muted-foreground [&_.recharts-cartesian-grid_line[stroke='#ccc']]:stroke-border/50 [&_.recharts-curve.recharts-tooltip-cursor]:stroke-border[&_.recharts-polar-grid_[stroke='#ccc']]:stroke-border[&_.recharts-radial-bar-background-sector]:fill-muted [&_.recharts-rectangle.recharts-tooltip-cursor]:fill-muted [&_.recharts-reference-line_[stroke='#ccc']]:stroke-border flex aspect-video justify-center text-xs [&_.recharts-dot[stroke='#fff']]:stroke-transparent[&_.recharts-layer]:outline-hidden [&_.recharts-sector]:outline-hidden [&_.recharts-sector[stroke='#fff']]:stroke-transparent [&_.recharts-surface]:outline-hidden", t),
3380
3435
  ...i,
3381
- children: [/* @__PURE__ */ a(Sa, {
3436
+ children: [/* @__PURE__ */ a(wa, {
3382
3437
  id: c,
3383
3438
  config: r
3384
3439
  }), /* @__PURE__ */ a(Ke.ResponsiveContainer, { children: n })]
3385
3440
  })
3386
3441
  });
3387
3442
  }
3388
- var Sa = ({ id: e, config: t }) => {
3443
+ var wa = ({ id: e, config: t }) => {
3389
3444
  let n = Object.entries(t).filter(([, e]) => e.theme || e.color);
3390
- return n.length ? /* @__PURE__ */ a("style", { dangerouslySetInnerHTML: { __html: Object.entries(va).map(([t, r]) => `
3445
+ return n.length ? /* @__PURE__ */ a("style", { dangerouslySetInnerHTML: { __html: Object.entries(ba).map(([t, r]) => `
3391
3446
  ${r} [data-chart=${e}] {
3392
3447
  ${n.map(([e, n]) => {
3393
3448
  let r = n.theme?.[t] || n.color;
@@ -3395,11 +3450,11 @@ ${n.map(([e, n]) => {
3395
3450
  }).join("\n")}
3396
3451
  }
3397
3452
  `).join("\n") } }) : null;
3398
- }, Ca = Ke.Tooltip;
3399
- function wa({ active: e, payload: t, className: n, indicator: r = "dot", hideLabel: s = !1, hideIndicator: c = !1, label: l, labelFormatter: u, labelClassName: d, formatter: f, color: p, nameKey: m, labelKey: h }) {
3400
- let { config: g } = ba(), _ = y.useMemo(() => {
3453
+ }, Ta = Ke.Tooltip;
3454
+ function Ea({ active: e, payload: t, className: n, indicator: r = "dot", hideLabel: s = !1, hideIndicator: c = !1, label: l, labelFormatter: u, labelClassName: d, formatter: f, color: p, nameKey: m, labelKey: h }) {
3455
+ let { config: g } = Sa(), _ = y.useMemo(() => {
3401
3456
  if (s || !t?.length) return null;
3402
- let [e] = t, n = Da(g, e, `${h || e?.dataKey || e?.name || "value"}`), r = !h && typeof l == "string" ? g[l]?.label || l : n?.label;
3457
+ let [e] = t, n = ka(g, e, `${h || e?.dataKey || e?.name || "value"}`), r = !h && typeof l == "string" ? g[l]?.label || l : n?.label;
3403
3458
  return u ? /* @__PURE__ */ a("div", {
3404
3459
  className: P("font-medium", d),
3405
3460
  children: u(r, t)
@@ -3423,7 +3478,7 @@ function wa({ active: e, payload: t, className: n, indicator: r = "dot", hideLab
3423
3478
  children: [v ? null : _, /* @__PURE__ */ a("div", {
3424
3479
  className: "grid gap-1.5",
3425
3480
  children: t.filter((e) => e.type !== "none").map((e, t) => {
3426
- let n = Da(g, e, `${m || e.name || e.dataKey || "value"}`), s = p || e.payload.fill || e.color;
3481
+ let n = ka(g, e, `${m || e.name || e.dataKey || "value"}`), s = p || e.payload.fill || e.color;
3427
3482
  return /* @__PURE__ */ a("div", {
3428
3483
  className: P("[&>svg]:text-muted-foreground flex w-full flex-wrap items-stretch gap-2 [&>svg]:h-2.5 [&>svg]:w-2.5", r === "dot" && "items-center"),
3429
3484
  children: f && e?.value !== void 0 && e.name ? f(e.value, e.name, e, t, e.payload) : /* @__PURE__ */ o(i, { children: [n?.icon ? /* @__PURE__ */ a(n.icon, {}) : !c && /* @__PURE__ */ a("div", {
@@ -3455,13 +3510,13 @@ function wa({ active: e, payload: t, className: n, indicator: r = "dot", hideLab
3455
3510
  })]
3456
3511
  });
3457
3512
  }
3458
- var Ta = Ke.Legend;
3459
- function Ea({ className: e, hideIcon: t = !1, payload: n, verticalAlign: r = "bottom", nameKey: i }) {
3460
- let { config: s } = ba();
3513
+ var Da = Ke.Legend;
3514
+ function Oa({ className: e, hideIcon: t = !1, payload: n, verticalAlign: r = "bottom", nameKey: i }) {
3515
+ let { config: s } = Sa();
3461
3516
  return n?.length ? /* @__PURE__ */ a("div", {
3462
3517
  className: P("flex items-center justify-center gap-4", r === "top" ? "pb-3" : "pt-3", e),
3463
3518
  children: n.filter((e) => e.type !== "none").map((e) => {
3464
- let n = Da(s, e, `${i || e.dataKey || "value"}`);
3519
+ let n = ka(s, e, `${i || e.dataKey || "value"}`);
3465
3520
  return /* @__PURE__ */ o("div", {
3466
3521
  className: P("[&>svg]:text-muted-foreground flex items-center gap-1.5 [&>svg]:h-3 [&>svg]:w-3"),
3467
3522
  children: [n?.icon && !t ? /* @__PURE__ */ a(n.icon, {}) : /* @__PURE__ */ a("div", {
@@ -3472,14 +3527,14 @@ function Ea({ className: e, hideIcon: t = !1, payload: n, verticalAlign: r = "bo
3472
3527
  })
3473
3528
  }) : null;
3474
3529
  }
3475
- function Da(e, t, n) {
3530
+ function ka(e, t, n) {
3476
3531
  if (typeof t != "object" || !t) return;
3477
3532
  let r = "payload" in t && typeof t.payload == "object" && t.payload !== null ? t.payload : void 0, i = n;
3478
3533
  return n in t && typeof t[n] == "string" ? i = t[n] : r && n in r && typeof r[n] == "string" && (i = r[n]), i in e ? e[i] : e[n];
3479
3534
  }
3480
3535
  //#endregion
3481
3536
  //#region src/components/pure/checkbox.tsx
3482
- function Oa({ className: e, ...t }) {
3537
+ function Aa({ className: e, ...t }) {
3483
3538
  return /* @__PURE__ */ a(qe.Root, {
3484
3539
  "data-slot": "checkbox",
3485
3540
  className: P("border-input dark:bg-input/30 data-checked:bg-primary data-checked:text-primary-foreground dark:data-checked:bg-primary data-checked:border-primary aria-invalid:aria-checked:border-primary aria-invalid:border-destructive dark:aria-invalid:border-destructive/50 focus-visible:border-ring focus-visible:ring-ring/50 aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 flex size-4 items-center justify-center rounded-[4px] border transition-colors group-has-disabled/field:opacity-50 focus-visible:ring-3 aria-invalid:ring-3 peer relative shrink-0 outline-none after:absolute after:-inset-x-3 after:-inset-y-2 disabled:cursor-not-allowed disabled:opacity-50", e),
@@ -3493,7 +3548,7 @@ function Oa({ className: e, ...t }) {
3493
3548
  }
3494
3549
  //#endregion
3495
3550
  //#region src/components/pure/input-group.tsx
3496
- function ka({ className: e, ...t }) {
3551
+ function ja({ className: e, ...t }) {
3497
3552
  return /* @__PURE__ */ a("div", {
3498
3553
  "data-slot": "input-group",
3499
3554
  role: "group",
@@ -3501,7 +3556,7 @@ function ka({ className: e, ...t }) {
3501
3556
  ...t
3502
3557
  });
3503
3558
  }
3504
- var Aa = S("text-muted-foreground h-auto gap-2 py-1.5 text-sm font-medium group-data-[disabled=true]/input-group:opacity-50 [&>kbd]:rounded-[calc(var(--radius)-5px)] [&>svg:not([class*='size-'])]:size-4 flex cursor-text items-center justify-center select-none", {
3559
+ var Ma = S("text-muted-foreground h-auto gap-2 py-1.5 text-sm font-medium group-data-[disabled=true]/input-group:opacity-50 [&>kbd]:rounded-[calc(var(--radius)-5px)] [&>svg:not([class*='size-'])]:size-4 flex cursor-text items-center justify-center select-none", {
3505
3560
  variants: { align: {
3506
3561
  "inline-start": "ps-2 has-[>button]:ms-[-0.3rem] has-[>kbd]:ms-[-0.15rem] order-first",
3507
3562
  "inline-end": "pe-2 has-[>button]:me-[-0.3rem] has-[>kbd]:me-[-0.15rem] order-last",
@@ -3510,19 +3565,19 @@ var Aa = S("text-muted-foreground h-auto gap-2 py-1.5 text-sm font-medium group-
3510
3565
  } },
3511
3566
  defaultVariants: { align: "inline-start" }
3512
3567
  });
3513
- function ja({ className: e, align: t = "inline-start", ...n }) {
3568
+ function Na({ className: e, align: t = "inline-start", ...n }) {
3514
3569
  return /* @__PURE__ */ a("div", {
3515
3570
  role: "group",
3516
3571
  "data-slot": "input-group-addon",
3517
3572
  "data-align": t,
3518
- className: P(Aa({ align: t }), e),
3573
+ className: P(Ma({ align: t }), e),
3519
3574
  onClick: (e) => {
3520
3575
  e.target.closest("button") || e.currentTarget.parentElement?.querySelector("input")?.focus();
3521
3576
  },
3522
3577
  ...n
3523
3578
  });
3524
3579
  }
3525
- var Ma = S("gap-2 text-sm shadow-none flex items-center", {
3580
+ var Pa = S("gap-2 text-sm shadow-none flex items-center", {
3526
3581
  variants: { size: {
3527
3582
  xs: "h-6 gap-1 rounded-[calc(var(--radius)-3px)] px-1.5 [&>svg:not([class*='size-'])]:size-3.5",
3528
3583
  sm: "",
@@ -3531,30 +3586,30 @@ var Ma = S("gap-2 text-sm shadow-none flex items-center", {
3531
3586
  } },
3532
3587
  defaultVariants: { size: "xs" }
3533
3588
  });
3534
- function Na({ className: e, type: t = "button", variant: n = "ghost", size: r = "xs", ...i }) {
3589
+ function Fa({ className: e, type: t = "button", variant: n = "ghost", size: r = "xs", ...i }) {
3535
3590
  return /* @__PURE__ */ a(F, {
3536
3591
  type: t,
3537
3592
  "data-size": r,
3538
3593
  variant: n,
3539
- className: P(Ma({ size: r }), e),
3594
+ className: P(Pa({ size: r }), e),
3540
3595
  ...i
3541
3596
  });
3542
3597
  }
3543
- function Pa({ className: e, ...t }) {
3598
+ function Ia({ className: e, ...t }) {
3544
3599
  return /* @__PURE__ */ a("span", {
3545
3600
  className: P("text-muted-foreground gap-2 text-sm [&_svg:not([class*='size-'])]:size-4 flex items-center [&_svg]:pointer-events-none", e),
3546
3601
  ...t
3547
3602
  });
3548
3603
  }
3549
- function Fa({ className: e, ...t }) {
3604
+ function La({ className: e, ...t }) {
3550
3605
  return /* @__PURE__ */ a(z, {
3551
3606
  "data-slot": "input-group-control",
3552
3607
  className: P("rounded-none border-0 bg-transparent shadow-none ring-0 focus-visible:ring-0 disabled:bg-transparent aria-invalid:ring-0 dark:bg-transparent dark:disabled:bg-transparent flex-1", e),
3553
3608
  ...t
3554
3609
  });
3555
3610
  }
3556
- function Ia({ className: e, ...t }) {
3557
- return /* @__PURE__ */ a(Nn, {
3611
+ function Ra({ className: e, ...t }) {
3612
+ return /* @__PURE__ */ a(Fn, {
3558
3613
  "data-slot": "input-group-control",
3559
3614
  className: P("rounded-none border-0 bg-transparent py-2 shadow-none ring-0 focus-visible:ring-0 disabled:bg-transparent aria-invalid:ring-0 dark:bg-transparent dark:disabled:bg-transparent flex-1 resize-none", e),
3560
3615
  ...t
@@ -3562,14 +3617,14 @@ function Ia({ className: e, ...t }) {
3562
3617
  }
3563
3618
  //#endregion
3564
3619
  //#region src/components/pure/combobox.tsx
3565
- var La = A.Root;
3566
- function Ra({ ...e }) {
3620
+ var za = A.Root;
3621
+ function Ba({ ...e }) {
3567
3622
  return /* @__PURE__ */ a(A.Value, {
3568
3623
  "data-slot": "combobox-value",
3569
3624
  ...e
3570
3625
  });
3571
3626
  }
3572
- function za({ className: e, children: t, ...n }) {
3627
+ function Va({ className: e, children: t, ...n }) {
3573
3628
  return /* @__PURE__ */ o(A.Trigger, {
3574
3629
  "data-slot": "combobox-trigger",
3575
3630
  className: P("[&_svg:not([class*='size-'])]:size-4", e),
@@ -3577,10 +3632,10 @@ function za({ className: e, children: t, ...n }) {
3577
3632
  children: [t, /* @__PURE__ */ a(l, { className: "text-muted-foreground size-4 pointer-events-none" })]
3578
3633
  });
3579
3634
  }
3580
- function Ba({ className: e, ...t }) {
3635
+ function Ha({ className: e, ...t }) {
3581
3636
  return /* @__PURE__ */ a(A.Clear, {
3582
3637
  "data-slot": "combobox-clear",
3583
- render: /* @__PURE__ */ a(Na, {
3638
+ render: /* @__PURE__ */ a(Fa, {
3584
3639
  variant: "ghost",
3585
3640
  size: "icon-xs"
3586
3641
  }),
@@ -3589,31 +3644,31 @@ function Ba({ className: e, ...t }) {
3589
3644
  children: /* @__PURE__ */ a(Te, { className: "pointer-events-none" })
3590
3645
  });
3591
3646
  }
3592
- function Va({ className: e, children: t, disabled: n = !1, showTrigger: r = !0, showClear: i = !1, ...s }) {
3593
- return /* @__PURE__ */ o(ka, {
3647
+ function Ua({ className: e, children: t, disabled: n = !1, showTrigger: r = !0, showClear: i = !1, ...s }) {
3648
+ return /* @__PURE__ */ o(ja, {
3594
3649
  className: P("w-auto", e),
3595
3650
  children: [
3596
3651
  /* @__PURE__ */ a(A.Input, {
3597
- render: /* @__PURE__ */ a(Fa, { disabled: n }),
3652
+ render: /* @__PURE__ */ a(La, { disabled: n }),
3598
3653
  ...s
3599
3654
  }),
3600
- /* @__PURE__ */ o(ja, {
3655
+ /* @__PURE__ */ o(Na, {
3601
3656
  align: "inline-end",
3602
- children: [r && /* @__PURE__ */ a(Na, {
3657
+ children: [r && /* @__PURE__ */ a(Fa, {
3603
3658
  size: "icon-xs",
3604
3659
  variant: "ghost",
3605
3660
  asChild: !0,
3606
3661
  "data-slot": "input-group-button",
3607
3662
  className: "group-has-data-[slot=combobox-clear]/input-group:hidden data-pressed:bg-transparent",
3608
3663
  disabled: n,
3609
- children: /* @__PURE__ */ a(za, {})
3610
- }), i && /* @__PURE__ */ a(Ba, { disabled: n })]
3664
+ children: /* @__PURE__ */ a(Va, {})
3665
+ }), i && /* @__PURE__ */ a(Ha, { disabled: n })]
3611
3666
  }),
3612
3667
  t
3613
3668
  ]
3614
3669
  });
3615
3670
  }
3616
- function Ha({ className: e, side: t = "bottom", sideOffset: n = 6, align: r = "start", alignOffset: i = 0, anchor: o, ...s }) {
3671
+ function Wa({ className: e, side: t = "bottom", sideOffset: n = 6, align: r = "start", alignOffset: i = 0, anchor: o, ...s }) {
3617
3672
  return /* @__PURE__ */ a(A.Portal, { children: /* @__PURE__ */ a(A.Positioner, {
3618
3673
  side: t,
3619
3674
  sideOffset: n,
@@ -3629,14 +3684,14 @@ function Ha({ className: e, side: t = "bottom", sideOffset: n = 6, align: r = "s
3629
3684
  })
3630
3685
  }) });
3631
3686
  }
3632
- function Ua({ className: e, ...t }) {
3687
+ function Ga({ className: e, ...t }) {
3633
3688
  return /* @__PURE__ */ a(A.List, {
3634
3689
  "data-slot": "combobox-list",
3635
3690
  className: P("no-scrollbar max-h-[min(calc(--spacing(72)---spacing(9)),calc(var(--available-height)---spacing(9)))] scroll-py-1 p-1 data-empty:p-0 overflow-y-auto overscroll-contain", e),
3636
3691
  ...t
3637
3692
  });
3638
3693
  }
3639
- function Wa({ className: e, children: t, ...n }) {
3694
+ function Ka({ className: e, children: t, ...n }) {
3640
3695
  return /* @__PURE__ */ o(A.Item, {
3641
3696
  "data-slot": "combobox-item",
3642
3697
  className: P("data-highlighted:bg-accent data-highlighted:text-accent-foreground not-data-[variant=destructive]:data-highlighted:**:text-accent-foreground gap-2 rounded-md py-1 pe-8 ps-1.5 text-sm [&_svg:not([class*='size-'])]:size-4 relative flex w-full cursor-default items-center outline-hidden select-none data-disabled:pointer-events-none data-disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0", e),
@@ -3647,48 +3702,48 @@ function Wa({ className: e, children: t, ...n }) {
3647
3702
  })]
3648
3703
  });
3649
3704
  }
3650
- function Ga({ className: e, ...t }) {
3705
+ function qa({ className: e, ...t }) {
3651
3706
  return /* @__PURE__ */ a(A.Group, {
3652
3707
  "data-slot": "combobox-group",
3653
3708
  className: P(e),
3654
3709
  ...t
3655
3710
  });
3656
3711
  }
3657
- function Ka({ className: e, ...t }) {
3712
+ function Ja({ className: e, ...t }) {
3658
3713
  return /* @__PURE__ */ a(A.GroupLabel, {
3659
3714
  "data-slot": "combobox-label",
3660
3715
  className: P("text-muted-foreground px-2 py-1.5 text-xs", e),
3661
3716
  ...t
3662
3717
  });
3663
3718
  }
3664
- function qa({ ...e }) {
3719
+ function Ya({ ...e }) {
3665
3720
  return /* @__PURE__ */ a(A.Collection, {
3666
3721
  "data-slot": "combobox-collection",
3667
3722
  ...e
3668
3723
  });
3669
3724
  }
3670
- function Ja({ className: e, ...t }) {
3725
+ function Xa({ className: e, ...t }) {
3671
3726
  return /* @__PURE__ */ a(A.Empty, {
3672
3727
  "data-slot": "combobox-empty",
3673
3728
  className: P("text-muted-foreground hidden w-full justify-center py-2 text-center text-sm group-data-empty/combobox-content:flex", e),
3674
3729
  ...t
3675
3730
  });
3676
3731
  }
3677
- function Ya({ className: e, ...t }) {
3732
+ function Za({ className: e, ...t }) {
3678
3733
  return /* @__PURE__ */ a(A.Separator, {
3679
3734
  "data-slot": "combobox-separator",
3680
3735
  className: P("bg-border -mx-1 my-1 h-px", e),
3681
3736
  ...t
3682
3737
  });
3683
3738
  }
3684
- function Xa({ className: e, ...t }) {
3739
+ function Qa({ className: e, ...t }) {
3685
3740
  return /* @__PURE__ */ a(A.Chips, {
3686
3741
  "data-slot": "combobox-chips",
3687
3742
  className: P("dark:bg-input/30 border-input focus-within:border-ring focus-within:ring-ring/50 has-aria-invalid:ring-destructive/20 dark:has-aria-invalid:ring-destructive/40 has-aria-invalid:border-destructive dark:has-aria-invalid:border-destructive/50 flex min-h-8 flex-wrap items-center gap-1 rounded-lg border bg-transparent bg-clip-padding px-2.5 py-1 text-sm transition-colors focus-within:ring-3 has-aria-invalid:ring-3 has-data-[slot=combobox-chip]:px-1", e),
3688
3743
  ...t
3689
3744
  });
3690
3745
  }
3691
- function Za({ className: e, children: t, showRemove: n = !0, ...r }) {
3746
+ function $a({ className: e, children: t, showRemove: n = !0, ...r }) {
3692
3747
  return /* @__PURE__ */ o(A.Chip, {
3693
3748
  "data-slot": "combobox-chip",
3694
3749
  className: P("bg-muted text-foreground flex h-[calc(--spacing(5.25))] w-fit items-center justify-center gap-1 rounded-sm px-1.5 text-xs font-medium whitespace-nowrap has-data-[slot=combobox-chip-remove]:pe-0 has-disabled:pointer-events-none has-disabled:cursor-not-allowed has-disabled:opacity-50", e),
@@ -3704,26 +3759,26 @@ function Za({ className: e, children: t, showRemove: n = !0, ...r }) {
3704
3759
  })]
3705
3760
  });
3706
3761
  }
3707
- function Qa({ className: e, ...t }) {
3762
+ function eo({ className: e, ...t }) {
3708
3763
  return /* @__PURE__ */ a(A.Input, {
3709
3764
  "data-slot": "combobox-chip-input",
3710
3765
  className: P("min-w-16 flex-1 outline-none", e),
3711
3766
  ...t
3712
3767
  });
3713
3768
  }
3714
- function $a() {
3769
+ function to() {
3715
3770
  return y.useRef(null);
3716
3771
  }
3717
3772
  //#endregion
3718
3773
  //#region src/components/pure/command.tsx
3719
- function eo({ className: e, ...t }) {
3774
+ function no({ className: e, ...t }) {
3720
3775
  return /* @__PURE__ */ a(j, {
3721
3776
  "data-slot": "command",
3722
3777
  className: P("bg-popover text-popover-foreground rounded-xl! p-1 flex size-full flex-col overflow-hidden", e),
3723
3778
  ...t
3724
3779
  });
3725
3780
  }
3726
- function to({ title: e = "Command Palette", description: t = "Search for a command to run...", children: n, className: r, showCloseButton: i = !1, ...s }) {
3781
+ function ro({ title: e = "Command Palette", description: t = "Search for a command to run...", children: n, className: r, showCloseButton: i = !1, ...s }) {
3727
3782
  return /* @__PURE__ */ o(I, {
3728
3783
  ...s,
3729
3784
  children: [/* @__PURE__ */ o(_t, {
@@ -3736,49 +3791,49 @@ function to({ title: e = "Command Palette", description: t = "Search for a comma
3736
3791
  })]
3737
3792
  });
3738
3793
  }
3739
- function no({ className: e, ...t }) {
3794
+ function io({ className: e, ...t }) {
3740
3795
  return /* @__PURE__ */ a("div", {
3741
3796
  "data-slot": "command-input-wrapper",
3742
3797
  className: "p-1 pb-0",
3743
- children: /* @__PURE__ */ o(ka, {
3798
+ children: /* @__PURE__ */ o(ja, {
3744
3799
  className: "bg-input/30 border-input/30 h-8! rounded-lg! shadow-none! *:data-[slot=input-group-addon]:ps-2!",
3745
3800
  children: [/* @__PURE__ */ a(j.Input, {
3746
3801
  "data-slot": "command-input",
3747
3802
  className: P("w-full text-sm outline-hidden disabled:cursor-not-allowed disabled:opacity-50", e),
3748
3803
  ...t
3749
- }), /* @__PURE__ */ a(ja, { children: /* @__PURE__ */ a(ve, { className: "size-4 shrink-0 opacity-50" }) })]
3804
+ }), /* @__PURE__ */ a(Na, { children: /* @__PURE__ */ a(ve, { className: "size-4 shrink-0 opacity-50" }) })]
3750
3805
  })
3751
3806
  });
3752
3807
  }
3753
- function ro({ className: e, ...t }) {
3808
+ function ao({ className: e, ...t }) {
3754
3809
  return /* @__PURE__ */ a(j.List, {
3755
3810
  "data-slot": "command-list",
3756
3811
  className: P("no-scrollbar max-h-72 scroll-py-1 outline-none overflow-x-hidden overflow-y-auto", e),
3757
3812
  ...t
3758
3813
  });
3759
3814
  }
3760
- function io({ className: e, ...t }) {
3815
+ function oo({ className: e, ...t }) {
3761
3816
  return /* @__PURE__ */ a(j.Empty, {
3762
3817
  "data-slot": "command-empty",
3763
3818
  className: P("py-6 text-center text-sm", e),
3764
3819
  ...t
3765
3820
  });
3766
3821
  }
3767
- function ao({ className: e, ...t }) {
3822
+ function so({ className: e, ...t }) {
3768
3823
  return /* @__PURE__ */ a(j.Group, {
3769
3824
  "data-slot": "command-group",
3770
3825
  className: P("text-foreground **:[[cmdk-group-heading]]:text-muted-foreground overflow-hidden p-1 **:[[cmdk-group-heading]]:px-2 **:[[cmdk-group-heading]]:py-1.5 **:[[cmdk-group-heading]]:text-xs **:[[cmdk-group-heading]]:font-medium", e),
3771
3826
  ...t
3772
3827
  });
3773
3828
  }
3774
- function oo({ className: e, ...t }) {
3829
+ function co({ className: e, ...t }) {
3775
3830
  return /* @__PURE__ */ a(j.Separator, {
3776
3831
  "data-slot": "command-separator",
3777
3832
  className: P("bg-border -mx-1 h-px", e),
3778
3833
  ...t
3779
3834
  });
3780
3835
  }
3781
- function so({ className: e, children: t, ...n }) {
3836
+ function lo({ className: e, children: t, ...n }) {
3782
3837
  return /* @__PURE__ */ o(j.Item, {
3783
3838
  "data-slot": "command-item",
3784
3839
  className: P("data-selected:bg-muted data-selected:text-foreground data-selected:*:[svg]:text-foreground relative flex cursor-default items-center gap-2 rounded-sm px-2 py-1.5 text-sm outline-hidden select-none in-data-[slot=dialog-content]:rounded-lg! [&_svg:not([class*='size-'])]:size-4 group/command-item data-[disabled=true]:pointer-events-none data-[disabled=true]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0", e),
@@ -3786,7 +3841,7 @@ function so({ className: e, children: t, ...n }) {
3786
3841
  children: [t, /* @__PURE__ */ a(c, { className: "ms-auto opacity-0 group-has-data-[slot=command-shortcut]/command-item:hidden group-data-[checked=true]/command-item:opacity-100" })]
3787
3842
  });
3788
3843
  }
3789
- function co({ className: e, ...t }) {
3844
+ function uo({ className: e, ...t }) {
3790
3845
  return /* @__PURE__ */ a("span", {
3791
3846
  "data-slot": "command-shortcut",
3792
3847
  className: P("text-muted-foreground group-data-selected/command-item:text-foreground ms-auto text-xs tracking-widest", e),
@@ -3795,50 +3850,50 @@ function co({ className: e, ...t }) {
3795
3850
  }
3796
3851
  //#endregion
3797
3852
  //#region src/components/pure/direction.tsx
3798
- function lo({ dir: e, direction: t, children: n }) {
3853
+ function fo({ dir: e, direction: t, children: n }) {
3799
3854
  return /* @__PURE__ */ a(Je.DirectionProvider, {
3800
3855
  dir: t ?? e,
3801
3856
  children: n
3802
3857
  });
3803
3858
  }
3804
- var uo = Je.useDirection;
3859
+ var po = Je.useDirection;
3805
3860
  //#endregion
3806
3861
  //#region src/components/pure/drawer.tsx
3807
- function fo({ ...e }) {
3862
+ function mo({ ...e }) {
3808
3863
  return /* @__PURE__ */ a(M.Root, {
3809
3864
  "data-slot": "drawer",
3810
3865
  ...e
3811
3866
  });
3812
3867
  }
3813
- function po({ ...e }) {
3868
+ function ho({ ...e }) {
3814
3869
  return /* @__PURE__ */ a(M.Trigger, {
3815
3870
  "data-slot": "drawer-trigger",
3816
3871
  ...e
3817
3872
  });
3818
3873
  }
3819
- function mo({ ...e }) {
3874
+ function go({ ...e }) {
3820
3875
  return /* @__PURE__ */ a(M.Portal, {
3821
3876
  "data-slot": "drawer-portal",
3822
3877
  ...e
3823
3878
  });
3824
3879
  }
3825
- function ho({ ...e }) {
3880
+ function _o({ ...e }) {
3826
3881
  return /* @__PURE__ */ a(M.Close, {
3827
3882
  "data-slot": "drawer-close",
3828
3883
  ...e
3829
3884
  });
3830
3885
  }
3831
- function go({ className: e, ...t }) {
3886
+ function vo({ className: e, ...t }) {
3832
3887
  return /* @__PURE__ */ a(M.Overlay, {
3833
3888
  "data-slot": "drawer-overlay",
3834
3889
  className: P("data-open:animate-in data-closed:animate-out data-closed:fade-out-0 data-open:fade-in-0 bg-black/10 supports-backdrop-filter:backdrop-blur-xs fixed inset-0 z-50", e),
3835
3890
  ...t
3836
3891
  });
3837
3892
  }
3838
- function _o({ className: e, children: t, ...n }) {
3839
- return /* @__PURE__ */ o(mo, {
3893
+ function yo({ className: e, children: t, ...n }) {
3894
+ return /* @__PURE__ */ o(go, {
3840
3895
  "data-slot": "drawer-portal",
3841
- children: [/* @__PURE__ */ a(go, {}), /* @__PURE__ */ o(M.Content, {
3896
+ children: [/* @__PURE__ */ a(vo, {}), /* @__PURE__ */ o(M.Content, {
3842
3897
  "data-slot": "drawer-content",
3843
3898
  className: P("bg-background flex h-auto flex-col text-sm data-[vaul-drawer-direction=bottom]:inset-x-0 data-[vaul-drawer-direction=bottom]:bottom-0 data-[vaul-drawer-direction=bottom]:mt-24 data-[vaul-drawer-direction=bottom]:max-h-[80vh] data-[vaul-drawer-direction=bottom]:rounded-t-xl data-[vaul-drawer-direction=bottom]:border-t data-[vaul-drawer-direction=left]:inset-y-0 data-[vaul-drawer-direction=left]:start-0 data-[vaul-drawer-direction=left]:w-3/4 data-[vaul-drawer-direction=left]:rounded-e-xl data-[vaul-drawer-direction=left]:border-e data-[vaul-drawer-direction=right]:inset-y-0 data-[vaul-drawer-direction=right]:end-0 data-[vaul-drawer-direction=right]:w-3/4 data-[vaul-drawer-direction=right]:rounded-s-xl data-[vaul-drawer-direction=right]:border-s data-[vaul-drawer-direction=top]:inset-x-0 data-[vaul-drawer-direction=top]:top-0 data-[vaul-drawer-direction=top]:mb-24 data-[vaul-drawer-direction=top]:max-h-[80vh] data-[vaul-drawer-direction=top]:rounded-b-xl data-[vaul-drawer-direction=top]:border-b data-[vaul-drawer-direction=left]:sm:max-w-sm data-[vaul-drawer-direction=right]:sm:max-w-sm group/drawer-content fixed z-50", e),
3844
3899
  ...n,
@@ -3846,28 +3901,28 @@ function _o({ className: e, children: t, ...n }) {
3846
3901
  })]
3847
3902
  });
3848
3903
  }
3849
- function vo({ className: e, ...t }) {
3904
+ function bo({ className: e, ...t }) {
3850
3905
  return /* @__PURE__ */ a("div", {
3851
3906
  "data-slot": "drawer-header",
3852
3907
  className: P("gap-0.5 p-4 group-data-[vaul-drawer-direction=bottom]/drawer-content:text-center group-data-[vaul-drawer-direction=top]/drawer-content:text-center md:gap-0.5 md:text-start flex flex-col", e),
3853
3908
  ...t
3854
3909
  });
3855
3910
  }
3856
- function yo({ className: e, ...t }) {
3911
+ function xo({ className: e, ...t }) {
3857
3912
  return /* @__PURE__ */ a("div", {
3858
3913
  "data-slot": "drawer-footer",
3859
3914
  className: P("gap-2 p-4 mt-auto flex flex-col", e),
3860
3915
  ...t
3861
3916
  });
3862
3917
  }
3863
- function bo({ className: e, ...t }) {
3918
+ function So({ className: e, ...t }) {
3864
3919
  return /* @__PURE__ */ a(M.Title, {
3865
3920
  "data-slot": "drawer-title",
3866
3921
  className: P("text-foreground text-base font-medium", e),
3867
3922
  ...t
3868
3923
  });
3869
3924
  }
3870
- function xo({ className: e, ...t }) {
3925
+ function Co({ className: e, ...t }) {
3871
3926
  return /* @__PURE__ */ a(M.Description, {
3872
3927
  "data-slot": "drawer-description",
3873
3928
  className: P("text-muted-foreground text-sm", e),
@@ -3876,14 +3931,14 @@ function xo({ className: e, ...t }) {
3876
3931
  }
3877
3932
  //#endregion
3878
3933
  //#region src/components/pure/field.tsx
3879
- function So({ className: e, ...t }) {
3934
+ function wo({ className: e, ...t }) {
3880
3935
  return /* @__PURE__ */ a("fieldset", {
3881
3936
  "data-slot": "field-set",
3882
3937
  className: P("gap-4 has-[>[data-slot=checkbox-group]]:gap-3 has-[>[data-slot=radio-group]]:gap-3 flex flex-col", e),
3883
3938
  ...t
3884
3939
  });
3885
3940
  }
3886
- function Co({ className: e, variant: t = "legend", ...n }) {
3941
+ function To({ className: e, variant: t = "legend", ...n }) {
3887
3942
  return /* @__PURE__ */ a("legend", {
3888
3943
  "data-slot": "field-legend",
3889
3944
  "data-variant": t,
@@ -3891,14 +3946,14 @@ function Co({ className: e, variant: t = "legend", ...n }) {
3891
3946
  ...n
3892
3947
  });
3893
3948
  }
3894
- function wo({ className: e, ...t }) {
3949
+ function Eo({ className: e, ...t }) {
3895
3950
  return /* @__PURE__ */ a("div", {
3896
3951
  "data-slot": "field-group",
3897
3952
  className: P("gap-5 data-[slot=checkbox-group]:gap-3 *:data-[slot=field-group]:gap-4 group/field-group @container/field-group flex w-full flex-col", e),
3898
3953
  ...t
3899
3954
  });
3900
3955
  }
3901
- var To = S("data-[invalid=true]:text-destructive gap-2 group/field flex w-full", {
3956
+ var Do = S("data-[invalid=true]:text-destructive gap-2 group/field flex w-full", {
3902
3957
  variants: { orientation: {
3903
3958
  vertical: "flex-col *:w-full [&>.sr-only]:w-auto",
3904
3959
  horizontal: "flex-row items-center *:data-[slot=field-label]:flex-auto has-[>[data-slot=field-content]]:items-start has-[>[data-slot=field-content]]:[&>[role=checkbox],[role=radio]]:mt-px",
@@ -3906,44 +3961,44 @@ var To = S("data-[invalid=true]:text-destructive gap-2 group/field flex w-full",
3906
3961
  } },
3907
3962
  defaultVariants: { orientation: "vertical" }
3908
3963
  });
3909
- function Eo({ className: e, orientation: t = "vertical", ...n }) {
3964
+ function Oo({ className: e, orientation: t = "vertical", ...n }) {
3910
3965
  return /* @__PURE__ */ a("div", {
3911
3966
  role: "group",
3912
3967
  "data-slot": "field",
3913
3968
  "data-orientation": t,
3914
- className: P(To({ orientation: t }), e),
3969
+ className: P(Do({ orientation: t }), e),
3915
3970
  ...n
3916
3971
  });
3917
3972
  }
3918
- function Do({ className: e, ...t }) {
3973
+ function ko({ className: e, ...t }) {
3919
3974
  return /* @__PURE__ */ a("div", {
3920
3975
  "data-slot": "field-content",
3921
3976
  className: P("gap-0.5 group/field-content flex flex-1 flex-col leading-snug", e),
3922
3977
  ...t
3923
3978
  });
3924
3979
  }
3925
- function Oo({ className: e, ...t }) {
3980
+ function Ao({ className: e, ...t }) {
3926
3981
  return /* @__PURE__ */ a(Wt, {
3927
3982
  "data-slot": "field-label",
3928
3983
  className: P("has-data-checked:bg-primary/5 has-data-checked:border-primary/30 dark:has-data-checked:border-primary/20 dark:has-data-checked:bg-primary/10 gap-2 group-data-[disabled=true]/field:opacity-50 has-[>[data-slot=field]]:rounded-lg has-[>[data-slot=field]]:border *:data-[slot=field]:p-2.5 group/field-label peer/field-label flex w-fit leading-snug", "has-[>[data-slot=field]]:w-full has-[>[data-slot=field]]:flex-col", e),
3929
3984
  ...t
3930
3985
  });
3931
3986
  }
3932
- function ko({ className: e, ...t }) {
3987
+ function jo({ className: e, ...t }) {
3933
3988
  return /* @__PURE__ */ a("div", {
3934
3989
  "data-slot": "field-label",
3935
3990
  className: P("gap-2 text-sm font-medium group-data-[disabled=true]/field:opacity-50 flex w-fit items-center leading-snug", e),
3936
3991
  ...t
3937
3992
  });
3938
3993
  }
3939
- function Ao({ className: e, ...t }) {
3994
+ function Mo({ className: e, ...t }) {
3940
3995
  return /* @__PURE__ */ a("p", {
3941
3996
  "data-slot": "field-description",
3942
3997
  className: P("text-muted-foreground text-start text-sm [[data-variant=legend]+&]:-mt-1.5 leading-normal font-normal group-has-data-horizontal/field:text-balance", "last:mt-0 nth-last-2:-mt-1", "[&>a:hover]:text-primary [&>a]:underline [&>a]:underline-offset-4", e),
3943
3998
  ...t
3944
3999
  });
3945
4000
  }
3946
- function jo({ children: e, className: t, ...n }) {
4001
+ function No({ children: e, className: t, ...n }) {
3947
4002
  return /* @__PURE__ */ o("div", {
3948
4003
  "data-slot": "field-separator",
3949
4004
  "data-content": !!e,
@@ -3956,7 +4011,7 @@ function jo({ children: e, className: t, ...n }) {
3956
4011
  })]
3957
4012
  });
3958
4013
  }
3959
- function Mo({ className: e, children: t, errors: n, ...r }) {
4014
+ function Po({ className: e, children: t, errors: n, ...r }) {
3960
4015
  let i = Me(() => {
3961
4016
  if (t) return t;
3962
4017
  if (!n?.length) return null;
@@ -3976,7 +4031,7 @@ function Mo({ className: e, children: t, errors: n, ...r }) {
3976
4031
  }
3977
4032
  //#endregion
3978
4033
  //#region src/components/pure/scroll-area.tsx
3979
- function No({ className: e, children: t, ...n }) {
4034
+ function Fo({ className: e, children: t, ...n }) {
3980
4035
  return /* @__PURE__ */ o(Ye.Root, {
3981
4036
  "data-slot": "scroll-area",
3982
4037
  className: P("relative", e),
@@ -3987,12 +4042,12 @@ function No({ className: e, children: t, ...n }) {
3987
4042
  className: "focus-visible:ring-ring/50 size-full rounded-[inherit] transition-[color,box-shadow] outline-none focus-visible:ring-[3px] focus-visible:outline-1",
3988
4043
  children: t
3989
4044
  }),
3990
- /* @__PURE__ */ a(Po, {}),
4045
+ /* @__PURE__ */ a(Io, {}),
3991
4046
  /* @__PURE__ */ a(Ye.Corner, {})
3992
4047
  ]
3993
4048
  });
3994
4049
  }
3995
- function Po({ className: e, orientation: t = "vertical", ...n }) {
4050
+ function Io({ className: e, orientation: t = "vertical", ...n }) {
3996
4051
  return /* @__PURE__ */ a(Ye.ScrollAreaScrollbar, {
3997
4052
  "data-slot": "scroll-area-scrollbar",
3998
4053
  "data-orientation": t,
@@ -4007,7 +4062,7 @@ function Po({ className: e, orientation: t = "vertical", ...n }) {
4007
4062
  }
4008
4063
  //#endregion
4009
4064
  //#region src/components/pure/sonner.tsx
4010
- var Fo = ({ ...e }) => {
4065
+ var Lo = ({ ...e }) => {
4011
4066
  let { theme: t = "system" } = Xe();
4012
4067
  return /* @__PURE__ */ a(Ze, {
4013
4068
  theme: t,
@@ -4031,7 +4086,7 @@ var Fo = ({ ...e }) => {
4031
4086
  };
4032
4087
  //#endregion
4033
4088
  //#region src/components/pure/switch.tsx
4034
- function Io({ className: e, size: t = "default", ...n }) {
4089
+ function Ro({ className: e, size: t = "default", ...n }) {
4035
4090
  return /* @__PURE__ */ a(Qe.Root, {
4036
4091
  "data-slot": "switch",
4037
4092
  "data-size": t,
@@ -4045,7 +4100,7 @@ function Io({ className: e, size: t = "default", ...n }) {
4045
4100
  }
4046
4101
  //#endregion
4047
4102
  //#region src/components/pure/tabs.tsx
4048
- function Lo({ className: e, orientation: t = "horizontal", ...n }) {
4103
+ function zo({ className: e, orientation: t = "horizontal", ...n }) {
4049
4104
  return /* @__PURE__ */ a($e.Root, {
4050
4105
  "data-slot": "tabs",
4051
4106
  "data-orientation": t,
@@ -4053,29 +4108,29 @@ function Lo({ className: e, orientation: t = "horizontal", ...n }) {
4053
4108
  ...n
4054
4109
  });
4055
4110
  }
4056
- var Ro = S("rounded-lg p-[3px] group-data-horizontal/tabs:h-8 data-[variant=line]:rounded-none group/tabs-list text-muted-foreground inline-flex w-fit items-center justify-center group-data-vertical/tabs:h-fit group-data-vertical/tabs:flex-col", {
4111
+ var Bo = S("rounded-lg p-[3px] group-data-horizontal/tabs:h-8 data-[variant=line]:rounded-none group/tabs-list text-muted-foreground inline-flex w-fit items-center justify-center group-data-vertical/tabs:h-fit group-data-vertical/tabs:flex-col", {
4057
4112
  variants: { variant: {
4058
4113
  default: "bg-muted",
4059
4114
  line: "gap-1 bg-transparent"
4060
4115
  } },
4061
4116
  defaultVariants: { variant: "default" }
4062
4117
  });
4063
- function zo({ className: e, variant: t = "default", ...n }) {
4118
+ function Vo({ className: e, variant: t = "default", ...n }) {
4064
4119
  return /* @__PURE__ */ a($e.List, {
4065
4120
  "data-slot": "tabs-list",
4066
4121
  "data-variant": t,
4067
- className: P(Ro({ variant: t }), e),
4122
+ className: P(Bo({ variant: t }), e),
4068
4123
  ...n
4069
4124
  });
4070
4125
  }
4071
- function Bo({ className: e, ...t }) {
4126
+ function Ho({ className: e, ...t }) {
4072
4127
  return /* @__PURE__ */ a($e.Trigger, {
4073
4128
  "data-slot": "tabs-trigger",
4074
4129
  className: P("gap-1.5 rounded-md border border-transparent px-1.5 py-0.5 text-sm font-medium group-data-[variant=default]/tabs-list:data-active:shadow-sm group-data-[variant=line]/tabs-list:data-active:shadow-none [&_svg:not([class*='size-'])]:size-4 focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:outline-ring text-foreground/60 hover:text-foreground dark:text-muted-foreground dark:hover:text-foreground relative inline-flex h-[calc(100%-1px)] flex-1 items-center justify-center whitespace-nowrap transition-all group-data-vertical/tabs:w-full group-data-vertical/tabs:justify-start focus-visible:ring-[3px] focus-visible:outline-1 disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0", "group-data-[variant=line]/tabs-list:bg-transparent group-data-[variant=line]/tabs-list:data-active:bg-transparent dark:group-data-[variant=line]/tabs-list:data-active:border-transparent dark:group-data-[variant=line]/tabs-list:data-active:bg-transparent", "data-active:bg-background dark:data-active:text-foreground dark:data-active:border-input dark:data-active:bg-input/30 data-active:text-foreground", "after:bg-foreground after:absolute after:opacity-0 after:transition-opacity group-data-horizontal/tabs:after:inset-x-0 group-data-horizontal/tabs:after:bottom-[-5px] group-data-horizontal/tabs:after:h-0.5 group-data-vertical/tabs:after:inset-y-0 group-data-vertical/tabs:after:-end-1 group-data-vertical/tabs:after:w-0.5 group-data-[variant=line]/tabs-list:data-active:after:opacity-100", e),
4075
4130
  ...t
4076
4131
  });
4077
4132
  }
4078
- function Vo({ className: e, ...t }) {
4133
+ function Uo({ className: e, ...t }) {
4079
4134
  return /* @__PURE__ */ a($e.Content, {
4080
4135
  "data-slot": "tabs-content",
4081
4136
  className: P("text-sm flex-1 outline-none", e),
@@ -4084,7 +4139,7 @@ function Vo({ className: e, ...t }) {
4084
4139
  }
4085
4140
  //#endregion
4086
4141
  //#region src/components/pure/toggle.tsx
4087
- var Ho = S("hover:text-foreground aria-pressed:bg-muted focus-visible:border-ring focus-visible:ring-ring/50 aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive data-[state=on]:bg-muted gap-1 rounded-lg text-sm font-medium transition-all [&_svg:not([class*='size-'])]:size-4 group/toggle hover:bg-muted inline-flex items-center justify-center whitespace-nowrap outline-none focus-visible:ring-[3px] disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0", {
4142
+ var Wo = S("hover:text-foreground aria-pressed:bg-muted focus-visible:border-ring focus-visible:ring-ring/50 aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive data-[state=on]:bg-muted gap-1 rounded-lg text-sm font-medium transition-all [&_svg:not([class*='size-'])]:size-4 group/toggle hover:bg-muted inline-flex items-center justify-center whitespace-nowrap outline-none focus-visible:ring-[3px] disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0", {
4088
4143
  variants: {
4089
4144
  variant: {
4090
4145
  default: "bg-transparent",
@@ -4101,10 +4156,10 @@ var Ho = S("hover:text-foreground aria-pressed:bg-muted focus-visible:border-rin
4101
4156
  size: "default"
4102
4157
  }
4103
4158
  });
4104
- function Uo({ className: e, variant: t = "default", size: n = "default", ...r }) {
4159
+ function Go({ className: e, variant: t = "default", size: n = "default", ...r }) {
4105
4160
  return /* @__PURE__ */ a(tt.Root, {
4106
4161
  "data-slot": "toggle",
4107
- className: P(Ho({
4162
+ className: P(Wo({
4108
4163
  variant: t,
4109
4164
  size: n,
4110
4165
  className: e
@@ -4114,13 +4169,13 @@ function Uo({ className: e, variant: t = "default", size: n = "default", ...r })
4114
4169
  }
4115
4170
  //#endregion
4116
4171
  //#region src/components/pure/toggle-group.tsx
4117
- var Wo = y.createContext({
4172
+ var Ko = y.createContext({
4118
4173
  size: "default",
4119
4174
  variant: "default",
4120
4175
  spacing: 0,
4121
4176
  orientation: "horizontal"
4122
4177
  });
4123
- function Go({ className: e, variant: t, size: n, spacing: r = 0, orientation: i = "horizontal", children: o, ...s }) {
4178
+ function qo({ className: e, variant: t, size: n, spacing: r = 0, orientation: i = "horizontal", children: o, ...s }) {
4124
4179
  return /* @__PURE__ */ a(et.Root, {
4125
4180
  "data-slot": "toggle-group",
4126
4181
  "data-variant": t,
@@ -4130,7 +4185,7 @@ function Go({ className: e, variant: t, size: n, spacing: r = 0, orientation: i
4130
4185
  style: { "--gap": r },
4131
4186
  className: P("rounded-lg data-[size=sm]:rounded-[min(var(--radius-md),10px)] group/toggle-group flex w-fit flex-row items-center gap-[--spacing(var(--gap))] data-vertical:flex-col data-vertical:items-stretch", e),
4132
4187
  ...s,
4133
- children: /* @__PURE__ */ a(Wo.Provider, {
4188
+ children: /* @__PURE__ */ a(Ko.Provider, {
4134
4189
  value: {
4135
4190
  variant: t,
4136
4191
  size: n,
@@ -4141,14 +4196,14 @@ function Go({ className: e, variant: t, size: n, spacing: r = 0, orientation: i
4141
4196
  })
4142
4197
  });
4143
4198
  }
4144
- function Ko({ className: e, children: t, variant: n = "default", size: r = "default", ...i }) {
4145
- let o = y.useContext(Wo);
4199
+ function Jo({ className: e, children: t, variant: n = "default", size: r = "default", ...i }) {
4200
+ let o = y.useContext(Ko);
4146
4201
  return /* @__PURE__ */ a(et.Item, {
4147
4202
  "data-slot": "toggle-group-item",
4148
4203
  "data-variant": o.variant || n,
4149
4204
  "data-size": o.size || r,
4150
4205
  "data-spacing": o.spacing,
4151
- className: P("group-data-[spacing=0]/toggle-group:rounded-none group-data-[spacing=0]/toggle-group:px-2 group-data-horizontal/toggle-group:data-[spacing=0]:first:rounded-s-lg group-data-vertical/toggle-group:data-[spacing=0]:first:rounded-t-lg group-data-horizontal/toggle-group:data-[spacing=0]:last:rounded-e-lg group-data-vertical/toggle-group:data-[spacing=0]:last:rounded-b-lg shrink-0 focus:z-10 focus-visible:z-10 group-data-horizontal/toggle-group:data-[spacing=0]:data-[variant=outline]:border-s-0 group-data-vertical/toggle-group:data-[spacing=0]:data-[variant=outline]:border-t-0 group-data-horizontal/toggle-group:data-[spacing=0]:data-[variant=outline]:first:border-s group-data-vertical/toggle-group:data-[spacing=0]:data-[variant=outline]:first:border-t", Ho({
4206
+ className: P("group-data-[spacing=0]/toggle-group:rounded-none group-data-[spacing=0]/toggle-group:px-2 group-data-horizontal/toggle-group:data-[spacing=0]:first:rounded-s-lg group-data-vertical/toggle-group:data-[spacing=0]:first:rounded-t-lg group-data-horizontal/toggle-group:data-[spacing=0]:last:rounded-e-lg group-data-vertical/toggle-group:data-[spacing=0]:last:rounded-b-lg shrink-0 focus:z-10 focus-visible:z-10 group-data-horizontal/toggle-group:data-[spacing=0]:data-[variant=outline]:border-s-0 group-data-vertical/toggle-group:data-[spacing=0]:data-[variant=outline]:border-t-0 group-data-horizontal/toggle-group:data-[spacing=0]:data-[variant=outline]:first:border-s group-data-vertical/toggle-group:data-[spacing=0]:data-[variant=outline]:first:border-t", Wo({
4152
4207
  variant: o.variant || n,
4153
4208
  size: o.size || r
4154
4209
  }), e),
@@ -4158,7 +4213,7 @@ function Ko({ className: e, children: t, variant: n = "default", size: r = "defa
4158
4213
  }
4159
4214
  //#endregion
4160
4215
  //#region src/components/custom/permissions/permissionCard.tsx
4161
- var qo = (e, t, n = ".") => {
4216
+ var Yo = (e, t, n = ".") => {
4162
4217
  let r = e.reduce((e, t) => {
4163
4218
  let [r, i] = t.split(n);
4164
4219
  return e[r] || (e[r] = {
@@ -4171,11 +4226,11 @@ var qo = (e, t, n = ".") => {
4171
4226
  ...r[e]
4172
4227
  }));
4173
4228
  };
4174
- function Jo({ resourceId: e, label: t, masterPermission: n, actions: r, selectedPermissions: i, onToggle: s, isMasterRequired: c = !1 }) {
4229
+ function Xo({ resourceId: e, label: t, masterPermission: n, actions: r, selectedPermissions: i, onToggle: s, isMasterRequired: c = !1 }) {
4175
4230
  let l = c ? !0 : n ? i.includes(n) : !1, u = (e, t, n, r = ".") => e.includes(n) ? e.filter((e) => !e.startsWith(`${t}${r}`)) : [...e, n], d = (e, t) => e.includes(t) ? e.filter((e) => e !== t) : [...e, t];
4176
- return /* @__PURE__ */ o(_n, {
4231
+ return /* @__PURE__ */ o(yn, {
4177
4232
  className: "shadow-none border-2",
4178
- children: [/* @__PURE__ */ o(vn, {
4233
+ children: [/* @__PURE__ */ o(bn, {
4179
4234
  className: "flex flex-row items-center justify-between border-b py-3 px-4",
4180
4235
  children: [/* @__PURE__ */ o("div", {
4181
4236
  className: "flex items-center gap-2",
@@ -4183,11 +4238,11 @@ function Jo({ resourceId: e, label: t, masterPermission: n, actions: r, selected
4183
4238
  className: "font-bold text-sm",
4184
4239
  children: t
4185
4240
  })]
4186
- }), n && !c && /* @__PURE__ */ a(Oa, {
4241
+ }), n && !c && /* @__PURE__ */ a(Aa, {
4187
4242
  checked: l,
4188
4243
  onCheckedChange: () => s(u(i, e, n))
4189
4244
  })]
4190
- }), /* @__PURE__ */ a(Sn, {
4245
+ }), /* @__PURE__ */ a(wn, {
4191
4246
  className: "p-2 space-y-1",
4192
4247
  children: r.map((e) => /* @__PURE__ */ o("div", {
4193
4248
  className: `flex items-center justify-between p-2 rounded-sm transition-opacity ${l ? "hover:bg-muted" : "opacity-40 select-none"}`,
@@ -4197,7 +4252,7 @@ function Jo({ resourceId: e, label: t, masterPermission: n, actions: r, selected
4197
4252
  className: "text-xs cursor-pointer",
4198
4253
  children: e.label
4199
4254
  })]
4200
- }), /* @__PURE__ */ a(Oa, {
4255
+ }), /* @__PURE__ */ a(Aa, {
4201
4256
  disabled: !l,
4202
4257
  checked: i.includes(e.id),
4203
4258
  onCheckedChange: () => s(d(i, e.id))
@@ -4208,18 +4263,18 @@ function Jo({ resourceId: e, label: t, masterPermission: n, actions: r, selected
4208
4263
  }
4209
4264
  //#endregion
4210
4265
  //#region src/components/custom/permissions/permissionSkeleton.tsx
4211
- var Yo = () => /* @__PURE__ */ a("div", {
4266
+ var Zo = () => /* @__PURE__ */ a("div", {
4212
4267
  className: "grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-4",
4213
4268
  children: [
4214
4269
  1,
4215
4270
  2,
4216
4271
  3
4217
- ].map((e) => /* @__PURE__ */ o(_n, {
4272
+ ].map((e) => /* @__PURE__ */ o(yn, {
4218
4273
  className: "shadow-none border-2",
4219
- children: [/* @__PURE__ */ o(vn, {
4274
+ children: [/* @__PURE__ */ o(bn, {
4220
4275
  className: "flex flex-row items-center justify-between border-b p-4",
4221
4276
  children: [/* @__PURE__ */ a(V, { className: "h-4 w-25" }), /* @__PURE__ */ a(V, { className: "h-5 w-5 rounded-md" })]
4222
- }), /* @__PURE__ */ o(Sn, {
4277
+ }), /* @__PURE__ */ o(wn, {
4223
4278
  className: "p-4 space-y-3",
4224
4279
  children: [/* @__PURE__ */ a(V, { className: "h-4 w-full" }), /* @__PURE__ */ a(V, { className: "h-4 w-full" })]
4225
4280
  })]
@@ -4227,7 +4282,7 @@ var Yo = () => /* @__PURE__ */ a("div", {
4227
4282
  });
4228
4283
  //#endregion
4229
4284
  //#region src/components/custom/select/searchableSelect.tsx
4230
- function Xo({ items: e, itemLabelKey: t, itemValueKey: n, value: r, onValueChange: i, disabled: c, errorInputClass: l, placeholder: u = "اختر...", columnsNames: d, onSearch: f }) {
4285
+ function Qo({ items: e, itemLabelKey: t, itemValueKey: n, value: r, onValueChange: i, disabled: c, errorInputClass: l, placeholder: u = "اختر...", columnsNames: d, onSearch: f }) {
4231
4286
  let [p, m] = y.useState(!1), g = e.find((e) => String(e[n]) === r), _ = g ? String(g[t]) : u;
4232
4287
  return /* @__PURE__ */ o(It, {
4233
4288
  open: p,
@@ -4250,19 +4305,19 @@ function Xo({ items: e, itemLabelKey: t, itemValueKey: n, value: r, onValueChang
4250
4305
  className: "w-[--radix-popover-trigger-width] p-0",
4251
4306
  align: "start",
4252
4307
  dir: "rtl",
4253
- children: [/* @__PURE__ */ a(zn, {
4308
+ children: [/* @__PURE__ */ a(Vn, {
4254
4309
  columnsNames: d,
4255
4310
  onSearch: f
4256
- }), /* @__PURE__ */ a(eo, {
4311
+ }), /* @__PURE__ */ a(no, {
4257
4312
  shouldFilter: !1,
4258
- children: /* @__PURE__ */ a(ro, {
4313
+ children: /* @__PURE__ */ a(ao, {
4259
4314
  className: "max-h-50 overflow-y-auto overflow-x-hidden",
4260
- children: e.length === 0 ? /* @__PURE__ */ a(io, {
4315
+ children: e.length === 0 ? /* @__PURE__ */ a(oo, {
4261
4316
  className: "py-6 text-center text-sm text-muted-foreground",
4262
4317
  children: "لا توجد بيانات"
4263
- }) : /* @__PURE__ */ a(ao, { children: e.map((e) => {
4318
+ }) : /* @__PURE__ */ a(so, { children: e.map((e) => {
4264
4319
  let c = String(e[n]), l = String(e[t]);
4265
- return /* @__PURE__ */ o(so, {
4320
+ return /* @__PURE__ */ o(lo, {
4266
4321
  value: c,
4267
4322
  onSelect: () => {
4268
4323
  i(c), m(!1);
@@ -4278,16 +4333,16 @@ function Xo({ items: e, itemLabelKey: t, itemValueKey: n, value: r, onValueChang
4278
4333
  }
4279
4334
  //#endregion
4280
4335
  //#region src/components/custom/sideBar/sideBarCompanyData.tsx
4281
- function Zo({ company: e }) {
4336
+ function $o({ company: e }) {
4282
4337
  return /* @__PURE__ */ a(H, { children: /* @__PURE__ */ a(U, { children: /* @__PURE__ */ o(W, {
4283
4338
  size: "lg",
4284
4339
  className: "data-[state=open]:bg-sidebar-accent data-[state=open]:text-sidebar-accent-foreground",
4285
- children: [/* @__PURE__ */ o(ra, {
4340
+ children: [/* @__PURE__ */ o(aa, {
4286
4341
  className: "h-8 w-8 rounded-lg grayscale",
4287
- children: [/* @__PURE__ */ a(ia, {
4342
+ children: [/* @__PURE__ */ a(oa, {
4288
4343
  src: e.logo,
4289
4344
  alt: e.name
4290
- }), /* @__PURE__ */ a(aa, {
4345
+ }), /* @__PURE__ */ a(sa, {
4291
4346
  className: "rounded-lg",
4292
4347
  children: "YSR"
4293
4348
  })]
@@ -4302,8 +4357,8 @@ function Zo({ company: e }) {
4302
4357
  }
4303
4358
  //#endregion
4304
4359
  //#region src/components/custom/sideBar/sidebarLogo.tsx
4305
- function Qo({ logos: e, alt: t = "Logo" }) {
4306
- let { state: n } = hi(), r = n === "collapsed";
4360
+ function es({ logos: e, alt: t = "Logo" }) {
4361
+ let { state: n } = _i(), r = n === "collapsed";
4307
4362
  return /* @__PURE__ */ o("div", {
4308
4363
  className: `
4309
4364
  animate-fadeSlide transition-all duration-300 pb-3
@@ -4322,19 +4377,19 @@ function Qo({ logos: e, alt: t = "Logo" }) {
4322
4377
  }
4323
4378
  //#endregion
4324
4379
  //#region src/components/pure/collapsible.tsx
4325
- function $o({ ...e }) {
4380
+ function ts({ ...e }) {
4326
4381
  return /* @__PURE__ */ a(nt.Root, {
4327
4382
  "data-slot": "collapsible",
4328
4383
  ...e
4329
4384
  });
4330
4385
  }
4331
- function es({ ...e }) {
4386
+ function ns({ ...e }) {
4332
4387
  return /* @__PURE__ */ a(nt.CollapsibleTrigger, {
4333
4388
  "data-slot": "collapsible-trigger",
4334
4389
  ...e
4335
4390
  });
4336
4391
  }
4337
- function ts({ ...e }) {
4392
+ function rs({ ...e }) {
4338
4393
  return /* @__PURE__ */ a(nt.CollapsibleContent, {
4339
4394
  "data-slot": "collapsible-content",
4340
4395
  ...e
@@ -4342,18 +4397,18 @@ function ts({ ...e }) {
4342
4397
  }
4343
4398
  //#endregion
4344
4399
  //#region src/components/custom/sideBar/sideBarMainMenu.tsx
4345
- function ns({ items: t }) {
4346
- return /* @__PURE__ */ a(Ei, {
4400
+ function is({ items: t }) {
4401
+ return /* @__PURE__ */ a(Oi, {
4347
4402
  className: "mt-5",
4348
- children: /* @__PURE__ */ a(ki, { children: /* @__PURE__ */ a(H, { children: t.map((t) => {
4403
+ children: /* @__PURE__ */ a(ji, { children: /* @__PURE__ */ a(H, { children: t.map((t) => {
4349
4404
  if (!t.hasAuth) return null;
4350
4405
  if (t.subItems && t.subItems.length > 0) {
4351
4406
  let n = t.subItems.filter((e) => e.hasAuth);
4352
- return n.length === 0 ? null : /* @__PURE__ */ o(Oe, { children: [/* @__PURE__ */ a($o, {
4407
+ return n.length === 0 ? null : /* @__PURE__ */ o(Oe, { children: [/* @__PURE__ */ a(ts, {
4353
4408
  asChild: !0,
4354
4409
  defaultOpen: !1,
4355
4410
  className: "group/collapsible",
4356
- children: /* @__PURE__ */ o(U, { children: [/* @__PURE__ */ a(es, {
4411
+ children: /* @__PURE__ */ o(U, { children: [/* @__PURE__ */ a(ns, {
4357
4412
  asChild: !0,
4358
4413
  children: /* @__PURE__ */ o(W, {
4359
4414
  tooltip: t.title,
@@ -4369,7 +4424,7 @@ function ns({ items: t }) {
4369
4424
  })]
4370
4425
  }), /* @__PURE__ */ a(u, { className: "mr-auto transition-transform duration-200 group-data-[state=open]/collapsible:-rotate-90" })]
4371
4426
  })
4372
- }), /* @__PURE__ */ a(ts, { children: /* @__PURE__ */ a(Pi, { children: n.map((t) => /* @__PURE__ */ o(Oe, { children: [/* @__PURE__ */ a(Fi, { children: /* @__PURE__ */ a(Ii, {
4427
+ }), /* @__PURE__ */ a(rs, { children: /* @__PURE__ */ a(Ii, { children: n.map((t) => /* @__PURE__ */ o(Oe, { children: [/* @__PURE__ */ a(Li, { children: /* @__PURE__ */ a(Ri, {
4373
4428
  asChild: !0,
4374
4429
  children: /* @__PURE__ */ a(e, {
4375
4430
  to: t.url,
@@ -4407,11 +4462,11 @@ function ns({ items: t }) {
4407
4462
  }
4408
4463
  //#endregion
4409
4464
  //#region src/components/custom/theme/themeProvider.tsx
4410
- var rs = ke({
4465
+ var as = ke({
4411
4466
  theme: "system",
4412
4467
  setTheme: () => null
4413
4468
  });
4414
- function is({ children: e, defaultTheme: t = "system", storageKey: n = "yusr-theme", ...r }) {
4469
+ function os({ children: e, defaultTheme: t = "system", storageKey: n = "yusr-theme", ...r }) {
4415
4470
  let [i, o] = x(t), [s, c] = x(!1);
4416
4471
  je(() => {
4417
4472
  c(!0);
@@ -4433,24 +4488,24 @@ function is({ children: e, defaultTheme: t = "system", storageKey: n = "yusr-the
4433
4488
  localStorage.setItem(n, e), o(e);
4434
4489
  }
4435
4490
  };
4436
- return /* @__PURE__ */ a(rs.Provider, {
4491
+ return /* @__PURE__ */ a(as.Provider, {
4437
4492
  ...r,
4438
4493
  value: l,
4439
4494
  children: e
4440
4495
  });
4441
4496
  }
4442
- var as = () => {
4443
- let e = Ae(rs);
4497
+ var ss = () => {
4498
+ let e = Ae(as);
4444
4499
  if (e === void 0) throw Error("useTheme must be used within a ThemeProvider");
4445
4500
  return e;
4446
4501
  };
4447
4502
  //#endregion
4448
4503
  //#region src/components/custom/theme/themeToggle.tsx
4449
- function os({ variant: e = "icon" }) {
4450
- let { setTheme: t } = as();
4451
- return /* @__PURE__ */ o(Mr, {
4504
+ function cs({ variant: e = "icon" }) {
4505
+ let { setTheme: t } = ss();
4506
+ return /* @__PURE__ */ o(Pr, {
4452
4507
  dir: "rtl",
4453
- children: [/* @__PURE__ */ a(Pr, {
4508
+ children: [/* @__PURE__ */ a(Ir, {
4454
4509
  asChild: !0,
4455
4510
  children: e === "sidebar" ? /* @__PURE__ */ o(W, {
4456
4511
  className: "w-full justify-start gap-3 px-3",
@@ -4474,7 +4529,7 @@ function os({ variant: e = "icon" }) {
4474
4529
  })
4475
4530
  ]
4476
4531
  })
4477
- }), /* @__PURE__ */ o(Fr, {
4532
+ }), /* @__PURE__ */ o(Lr, {
4478
4533
  align: "end",
4479
4534
  children: [
4480
4535
  /* @__PURE__ */ a(B, {
@@ -4495,10 +4550,10 @@ function os({ variant: e = "icon" }) {
4495
4550
  }
4496
4551
  //#endregion
4497
4552
  //#region src/components/custom/sideBar/sideBarSecondaryMenu.tsx
4498
- function ss({ items: e, onLogout: t, LinkComponent: n = "a", ...r }) {
4499
- return /* @__PURE__ */ a(Ei, {
4553
+ function ls({ items: e, onLogout: t, LinkComponent: n = "a", ...r }) {
4554
+ return /* @__PURE__ */ a(Oi, {
4500
4555
  ...r,
4501
- children: /* @__PURE__ */ a(ki, { children: /* @__PURE__ */ o(H, { children: [
4556
+ children: /* @__PURE__ */ a(ji, { children: /* @__PURE__ */ o(H, { children: [
4502
4557
  e.map((e) => /* @__PURE__ */ a(U, { children: /* @__PURE__ */ a(W, {
4503
4558
  asChild: !0,
4504
4559
  children: /* @__PURE__ */ o(n, {
@@ -4513,7 +4568,7 @@ function ss({ items: e, onLogout: t, LinkComponent: n = "a", ...r }) {
4513
4568
  })]
4514
4569
  })
4515
4570
  }) }, e.title)),
4516
- /* @__PURE__ */ a(U, { children: /* @__PURE__ */ a(os, { variant: "sidebar" }) }),
4571
+ /* @__PURE__ */ a(U, { children: /* @__PURE__ */ a(cs, { variant: "sidebar" }) }),
4517
4572
  /* @__PURE__ */ a(U, { children: /* @__PURE__ */ a(W, {
4518
4573
  asChild: !0,
4519
4574
  onClick: t,
@@ -4533,16 +4588,16 @@ function ss({ items: e, onLogout: t, LinkComponent: n = "a", ...r }) {
4533
4588
  }
4534
4589
  //#endregion
4535
4590
  //#region src/components/custom/sideBar/sideBarUserData.tsx
4536
- function cs({ user: e }) {
4591
+ function us({ user: e }) {
4537
4592
  return /* @__PURE__ */ a(H, { children: /* @__PURE__ */ a(U, { children: /* @__PURE__ */ o(W, {
4538
4593
  size: "lg",
4539
4594
  className: "data-[state=open]:bg-sidebar-accent data-[state=open]:text-sidebar-accent-foreground",
4540
- children: [/* @__PURE__ */ o(ra, {
4595
+ children: [/* @__PURE__ */ o(aa, {
4541
4596
  className: "h-8 w-8 rounded-lg grayscale",
4542
- children: [/* @__PURE__ */ a(ia, {
4597
+ children: [/* @__PURE__ */ a(oa, {
4543
4598
  src: "/avatars/shadcn.jpg",
4544
4599
  alt: e?.username
4545
- }), /* @__PURE__ */ a(aa, {
4600
+ }), /* @__PURE__ */ a(sa, {
4546
4601
  className: "rounded-lg",
4547
4602
  children: "YSR"
4548
4603
  })]
@@ -4557,25 +4612,25 @@ function cs({ user: e }) {
4557
4612
  }
4558
4613
  //#endregion
4559
4614
  //#region src/hooks/useSidebarContext.tsx
4560
- var ls = ke(null), us = () => {
4561
- let e = Ae(ls);
4615
+ var ds = ke(null), fs = () => {
4616
+ let e = Ae(ds);
4562
4617
  if (!e) throw Error("useSidebarContext must be used within a SidebarProvider");
4563
4618
  return e;
4564
4619
  };
4565
4620
  //#endregion
4566
4621
  //#region src/components/custom/sideBar/yusrSideBarMainMenu.tsx
4567
- function ds({ items: e, LinkComponent: t = "a" }) {
4568
- return /* @__PURE__ */ a(Ei, {
4622
+ function ps({ items: e, LinkComponent: t = "a" }) {
4623
+ return /* @__PURE__ */ a(Oi, {
4569
4624
  className: "mt-5",
4570
- children: /* @__PURE__ */ a(ki, { children: /* @__PURE__ */ a(H, { children: e.map((e) => {
4625
+ children: /* @__PURE__ */ a(ji, { children: /* @__PURE__ */ a(H, { children: e.map((e) => {
4571
4626
  if (!e.hasAuth) return null;
4572
4627
  if (e.subItems && e.subItems.length > 0) {
4573
4628
  let n = e.subItems.filter((e) => e.hasAuth);
4574
- return n.length === 0 ? null : /* @__PURE__ */ a($o, {
4629
+ return n.length === 0 ? null : /* @__PURE__ */ a(ts, {
4575
4630
  asChild: !0,
4576
4631
  defaultOpen: !1,
4577
4632
  className: "group/collapsible",
4578
- children: /* @__PURE__ */ o(U, { children: [/* @__PURE__ */ a(es, {
4633
+ children: /* @__PURE__ */ o(U, { children: [/* @__PURE__ */ a(ns, {
4579
4634
  asChild: !0,
4580
4635
  children: /* @__PURE__ */ o(W, {
4581
4636
  tooltip: e.title,
@@ -4591,7 +4646,7 @@ function ds({ items: e, LinkComponent: t = "a" }) {
4591
4646
  })]
4592
4647
  }), /* @__PURE__ */ a(f, { className: "ml-auto transition-transform duration-200 group-data-[state=open]/collapsible:rotate-90" })]
4593
4648
  })
4594
- }), /* @__PURE__ */ a(ts, { children: /* @__PURE__ */ a(Pi, { children: n.map((e) => /* @__PURE__ */ a(Fi, { children: /* @__PURE__ */ a(Ii, {
4649
+ }), /* @__PURE__ */ a(rs, { children: /* @__PURE__ */ a(Ii, { children: n.map((e) => /* @__PURE__ */ a(Li, { children: /* @__PURE__ */ a(Ri, {
4595
4650
  asChild: !0,
4596
4651
  children: /* @__PURE__ */ a(t, {
4597
4652
  href: e.url,
@@ -4620,11 +4675,11 @@ function ds({ items: e, LinkComponent: t = "a" }) {
4620
4675
  }
4621
4676
  //#endregion
4622
4677
  //#region src/components/custom/sideBar/yusrSideBar.tsx
4623
- function fs({ LinkComponent: e = "a", logos: t, displayCompany: n = {
4678
+ function ms({ LinkComponent: e = "a", logos: t, displayCompany: n = {
4624
4679
  name: "Yusr UI",
4625
4680
  logo: "/yusr-logo.png"
4626
4681
  }, navMain: r, navSecondary: i, children: o, ...s }) {
4627
- return /* @__PURE__ */ a(ls.Provider, {
4682
+ return /* @__PURE__ */ a(ds.Provider, {
4628
4683
  value: {
4629
4684
  LinkComponent: e,
4630
4685
  logos: t,
@@ -4632,7 +4687,7 @@ function fs({ LinkComponent: e = "a", logos: t, displayCompany: n = {
4632
4687
  navMain: r,
4633
4688
  navSecondary: i
4634
4689
  },
4635
- children: /* @__PURE__ */ a(gi, { children: /* @__PURE__ */ a(_i, {
4690
+ children: /* @__PURE__ */ a(vi, { children: /* @__PURE__ */ a(yi, {
4636
4691
  collapsible: "icon",
4637
4692
  side: "right",
4638
4693
  ...s,
@@ -4640,9 +4695,9 @@ function fs({ LinkComponent: e = "a", logos: t, displayCompany: n = {
4640
4695
  }) })
4641
4696
  });
4642
4697
  }
4643
- fs.Header = function() {
4644
- let { displayCompany: e, logos: t } = us();
4645
- return /* @__PURE__ */ a(Si, { children: /* @__PURE__ */ a(H, { children: /* @__PURE__ */ o(U, { children: [/* @__PURE__ */ a(Qo, { logos: {
4698
+ ms.Header = function() {
4699
+ let { displayCompany: e, logos: t } = fs();
4700
+ return /* @__PURE__ */ a(wi, { children: /* @__PURE__ */ a(H, { children: /* @__PURE__ */ o(U, { children: [/* @__PURE__ */ a(es, { logos: {
4646
4701
  full: {
4647
4702
  light: t.logoFullLight,
4648
4703
  dark: t.logoFullDark
@@ -4651,24 +4706,24 @@ fs.Header = function() {
4651
4706
  light: t.logoOnlyLight,
4652
4707
  dark: t.logoOnlyDark
4653
4708
  }
4654
- } }), e && /* @__PURE__ */ a(Zo, { company: e })] }) }) });
4655
- }, fs.Content = function({ LogoutHandler: e }) {
4656
- let { navMain: t, navSecondary: n, LinkComponent: r } = us();
4657
- return !t || !n ? /* @__PURE__ */ a(Ti, {}) : /* @__PURE__ */ o(Ti, { children: [/* @__PURE__ */ a(ds, {
4709
+ } }), e && /* @__PURE__ */ a($o, { company: e })] }) }) });
4710
+ }, ms.Content = function({ LogoutHandler: e }) {
4711
+ let { navMain: t, navSecondary: n, LinkComponent: r } = fs();
4712
+ return !t || !n ? /* @__PURE__ */ a(Di, {}) : /* @__PURE__ */ o(Di, { children: [/* @__PURE__ */ a(ps, {
4658
4713
  items: t,
4659
4714
  LinkComponent: r
4660
- }), e !== void 0 && /* @__PURE__ */ a(ss, {
4715
+ }), e !== void 0 && /* @__PURE__ */ a(ls, {
4661
4716
  items: n,
4662
4717
  className: "pt-10 mt-auto text-center",
4663
4718
  onLogout: e,
4664
4719
  LinkComponent: r
4665
4720
  })] });
4666
- }, fs.Footer = function({ loggedInUser: e = void 0 }) {
4667
- return /* @__PURE__ */ a(Ci, { children: /* @__PURE__ */ a(cs, { user: e }) });
4721
+ }, ms.Footer = function({ loggedInUser: e = void 0 }) {
4722
+ return /* @__PURE__ */ a(Ti, { children: /* @__PURE__ */ a(us, { user: e }) });
4668
4723
  };
4669
4724
  //#endregion
4670
4725
  //#region src/components/custom/status/loading.tsx
4671
- function ps({ entityName: e }) {
4726
+ function hs({ entityName: e }) {
4672
4727
  return /* @__PURE__ */ o("div", {
4673
4728
  className: "sm:max-w-xl flex flex-col items-center justify-center py-20",
4674
4729
  children: [/* @__PURE__ */ a(re, { className: "h-10 w-10 animate-spin text-primary" }), /* @__PURE__ */ o("p", {
@@ -4683,7 +4738,7 @@ function ps({ entityName: e }) {
4683
4738
  }
4684
4739
  //#endregion
4685
4740
  //#region src/hooks/useDialog.ts
4686
- function ms() {
4741
+ function gs() {
4687
4742
  let [e, t] = x(null), [n, r] = x(!1), [i, a] = x(!1);
4688
4743
  return {
4689
4744
  selectedRow: e,
@@ -4701,7 +4756,7 @@ function ms() {
4701
4756
  }
4702
4757
  //#endregion
4703
4758
  //#region src/hooks/useDynamicList.ts
4704
- function hs(e, t, n) {
4759
+ function _s(e, t, n) {
4705
4760
  return {
4706
4761
  addRow: b((r) => {
4707
4762
  t((t) => ({
@@ -4749,7 +4804,7 @@ function hs(e, t, n) {
4749
4804
  }
4750
4805
  //#endregion
4751
4806
  //#region src/hooks/useFormValidation.ts
4752
- function gs(e, t) {
4807
+ function vs(e, t) {
4753
4808
  let [n, r] = x({}), i = (e) => n[e], a = (e) => !!n[e];
4754
4809
  return {
4755
4810
  errors: n,
@@ -4779,10 +4834,10 @@ function gs(e, t) {
4779
4834
  }
4780
4835
  //#endregion
4781
4836
  //#region src/hooks/useEntityForm.ts
4782
- function _s(e, t) {
4837
+ function ys(e, t) {
4783
4838
  let [n, r] = x({ ...e }), [i, a] = x(e);
4784
4839
  e !== i && (r({ ...e }), a(e));
4785
- let o = gs(n, t);
4840
+ let o = vs(n, t);
4786
4841
  return {
4787
4842
  formData: n,
4788
4843
  handleChange: b((e) => {
@@ -4801,7 +4856,7 @@ function _s(e, t) {
4801
4856
  }
4802
4857
  //#endregion
4803
4858
  //#region src/hooks/useLightBox.ts
4804
- function vs() {
4859
+ function bs() {
4805
4860
  let [e, t] = x(null);
4806
4861
  return {
4807
4862
  lightbox: e,
@@ -4817,7 +4872,7 @@ function vs() {
4817
4872
  }
4818
4873
  //#endregion
4819
4874
  //#region src/hooks/useStorageFile.ts
4820
- function ys(e, t) {
4875
+ function xs(e, t) {
4821
4876
  let n = Ne(null), r = async (r) => {
4822
4877
  let i = Array.from(r.target.files || []);
4823
4878
  if (i.length === 0) return;
@@ -4903,7 +4958,7 @@ function ys(e, t) {
4903
4958
  }
4904
4959
  //#endregion
4905
4960
  //#region src/state/authListener.ts
4906
- var bs = (e, t) => {
4961
+ var Ss = (e, t) => {
4907
4962
  window.addEventListener("storage", (n) => {
4908
4963
  n.key === rt.AuthCheckStorageItemName && e(t.syncFromStorage());
4909
4964
  }), window.addEventListener(rt.UnauthorizedEventName, () => {
@@ -4912,7 +4967,7 @@ var bs = (e, t) => {
4912
4967
  };
4913
4968
  //#endregion
4914
4969
  //#region src/state/generics/genericDialogSlice.ts
4915
- function xs(e) {
4970
+ function Cs(e) {
4916
4971
  return ot({
4917
4972
  name: e,
4918
4973
  initialState: {
@@ -4938,7 +4993,7 @@ function xs(e) {
4938
4993
  }
4939
4994
  //#endregion
4940
4995
  //#region ../../node_modules/immer/dist/immer.mjs
4941
- var Ss = Symbol.for("immer-nothing"), Cs = Symbol.for("immer-draftable"), G = Symbol.for("immer-state"), ws = process.env.NODE_ENV === "production" ? [] : [
4996
+ var ws = Symbol.for("immer-nothing"), Ts = Symbol.for("immer-draftable"), G = Symbol.for("immer-state"), Es = process.env.NODE_ENV === "production" ? [] : [
4942
4997
  function(e) {
4943
4998
  return `The plugin for '${e}' has not been loaded into Immer. To enable the plugin, import and call \`enable${e}()\` when initializing your application.`;
4944
4999
  },
@@ -4968,63 +5023,63 @@ var Ss = Symbol.for("immer-nothing"), Cs = Symbol.for("immer-draftable"), G = Sy
4968
5023
  ];
4969
5024
  function K(e, ...t) {
4970
5025
  if (process.env.NODE_ENV !== "production") {
4971
- let n = ws[e], r = Z(n) ? n.apply(null, t) : n;
5026
+ let n = Es[e], r = Z(n) ? n.apply(null, t) : n;
4972
5027
  throw Error(`[Immer] ${r}`);
4973
5028
  }
4974
5029
  throw Error(`[Immer] minified error nr: ${e}. Full error at: https://bit.ly/3cXEKWf`);
4975
5030
  }
4976
- var q = Object, J = q.getPrototypeOf, Ts = "constructor", Es = "prototype", Ds = "configurable", Os = "enumerable", ks = "writable", As = "value", Y = (e) => !!e && !!e[G];
5031
+ var q = Object, J = q.getPrototypeOf, Ds = "constructor", Os = "prototype", ks = "configurable", As = "enumerable", js = "writable", Ms = "value", Y = (e) => !!e && !!e[G];
4977
5032
  function X(e) {
4978
- return e ? Ns(e) || Bs(e) || !!e[Cs] || !!e[Ts]?.[Cs] || Vs(e) || Hs(e) : !1;
5033
+ return e ? Fs(e) || Hs(e) || !!e[Ts] || !!e[Ds]?.[Ts] || Us(e) || Ws(e) : !1;
4979
5034
  }
4980
- var js = q[Es][Ts].toString(), Ms = /* @__PURE__ */ new WeakMap();
4981
- function Ns(e) {
4982
- if (!e || !Us(e)) return !1;
5035
+ var Ns = q[Os][Ds].toString(), Ps = /* @__PURE__ */ new WeakMap();
5036
+ function Fs(e) {
5037
+ if (!e || !Gs(e)) return !1;
4983
5038
  let t = J(e);
4984
- if (t === null || t === q[Es]) return !0;
4985
- let n = q.hasOwnProperty.call(t, Ts) && t[Ts];
5039
+ if (t === null || t === q[Os]) return !0;
5040
+ let n = q.hasOwnProperty.call(t, Ds) && t[Ds];
4986
5041
  if (n === Object) return !0;
4987
5042
  if (!Z(n)) return !1;
4988
- let r = Ms.get(n);
4989
- return r === void 0 && (r = Function.toString.call(n), Ms.set(n, r)), r === js;
5043
+ let r = Ps.get(n);
5044
+ return r === void 0 && (r = Function.toString.call(n), Ps.set(n, r)), r === Ns;
4990
5045
  }
4991
- function Ps(e, t, n = !0) {
4992
- Fs(e) === 0 ? (n ? Reflect.ownKeys(e) : q.keys(e)).forEach((n) => {
5046
+ function Is(e, t, n = !0) {
5047
+ Ls(e) === 0 ? (n ? Reflect.ownKeys(e) : q.keys(e)).forEach((n) => {
4993
5048
  t(n, e[n], e);
4994
5049
  }) : e.forEach((n, r) => t(r, n, e));
4995
5050
  }
4996
- function Fs(e) {
5051
+ function Ls(e) {
4997
5052
  let t = e[G];
4998
- return t ? t.type_ : Bs(e) ? 1 : Vs(e) ? 2 : Hs(e) ? 3 : 0;
5053
+ return t ? t.type_ : Hs(e) ? 1 : Us(e) ? 2 : Ws(e) ? 3 : 0;
4999
5054
  }
5000
- var Is = (e, t, n = Fs(e)) => n === 2 ? e.has(t) : q[Es].hasOwnProperty.call(e, t), Ls = (e, t, n = Fs(e)) => n === 2 ? e.get(t) : e[t], Rs = (e, t, n, r = Fs(e)) => {
5055
+ var Rs = (e, t, n = Ls(e)) => n === 2 ? e.has(t) : q[Os].hasOwnProperty.call(e, t), zs = (e, t, n = Ls(e)) => n === 2 ? e.get(t) : e[t], Bs = (e, t, n, r = Ls(e)) => {
5001
5056
  r === 2 ? e.set(t, n) : r === 3 ? e.add(n) : e[t] = n;
5002
5057
  };
5003
- function zs(e, t) {
5058
+ function Vs(e, t) {
5004
5059
  return e === t ? e !== 0 || 1 / e == 1 / t : e !== e && t !== t;
5005
5060
  }
5006
- var Bs = Array.isArray, Vs = (e) => e instanceof Map, Hs = (e) => e instanceof Set, Us = (e) => typeof e == "object", Z = (e) => typeof e == "function", Ws = (e) => typeof e == "boolean";
5007
- function Gs(e) {
5061
+ var Hs = Array.isArray, Us = (e) => e instanceof Map, Ws = (e) => e instanceof Set, Gs = (e) => typeof e == "object", Z = (e) => typeof e == "function", Ks = (e) => typeof e == "boolean";
5062
+ function qs(e) {
5008
5063
  let t = +e;
5009
5064
  return Number.isInteger(t) && String(t) === e;
5010
5065
  }
5011
- var Q = (e) => e.copy_ || e.base_, Ks = (e) => e.modified_ ? e.copy_ : e.base_;
5012
- function qs(e, t) {
5013
- if (Vs(e)) return new Map(e);
5014
- if (Hs(e)) return new Set(e);
5015
- if (Bs(e)) return Array[Es].slice.call(e);
5016
- let n = Ns(e);
5066
+ var Q = (e) => e.copy_ || e.base_, Js = (e) => e.modified_ ? e.copy_ : e.base_;
5067
+ function Ys(e, t) {
5068
+ if (Us(e)) return new Map(e);
5069
+ if (Ws(e)) return new Set(e);
5070
+ if (Hs(e)) return Array[Os].slice.call(e);
5071
+ let n = Fs(e);
5017
5072
  if (t === !0 || t === "class_only" && !n) {
5018
5073
  let t = q.getOwnPropertyDescriptors(e);
5019
5074
  delete t[G];
5020
5075
  let n = Reflect.ownKeys(t);
5021
5076
  for (let r = 0; r < n.length; r++) {
5022
5077
  let i = n[r], a = t[i];
5023
- a[ks] === !1 && (a[ks] = !0, a[Ds] = !0), (a.get || a.set) && (t[i] = {
5024
- [Ds]: !0,
5078
+ a[js] === !1 && (a[js] = !0, a[ks] = !0), (a.get || a.set) && (t[i] = {
5025
5079
  [ks]: !0,
5026
- [Os]: a[Os],
5027
- [As]: e[i]
5080
+ [js]: !0,
5081
+ [As]: a[As],
5082
+ [Ms]: e[i]
5028
5083
  });
5029
5084
  }
5030
5085
  return q.create(J(e), t);
@@ -5035,29 +5090,29 @@ function qs(e, t) {
5035
5090
  return q.assign(r, e);
5036
5091
  }
5037
5092
  }
5038
- function Js(e, t = !1) {
5039
- return Zs(e) || Y(e) || !X(e) ? e : (Fs(e) > 1 && q.defineProperties(e, {
5040
- set: Xs,
5041
- add: Xs,
5042
- clear: Xs,
5043
- delete: Xs
5044
- }), q.freeze(e), t && Ps(e, (e, t) => {
5045
- Js(t, !0);
5093
+ function Xs(e, t = !1) {
5094
+ return $s(e) || Y(e) || !X(e) ? e : (Ls(e) > 1 && q.defineProperties(e, {
5095
+ set: Qs,
5096
+ add: Qs,
5097
+ clear: Qs,
5098
+ delete: Qs
5099
+ }), q.freeze(e), t && Is(e, (e, t) => {
5100
+ Xs(t, !0);
5046
5101
  }, !1), e);
5047
5102
  }
5048
- function Ys() {
5103
+ function Zs() {
5049
5104
  K(2);
5050
5105
  }
5051
- var Xs = { [As]: Ys };
5052
- function Zs(e) {
5053
- return e === null || !Us(e) ? !0 : q.isFrozen(e);
5106
+ var Qs = { [Ms]: Zs };
5107
+ function $s(e) {
5108
+ return e === null || !Gs(e) ? !0 : q.isFrozen(e);
5054
5109
  }
5055
- var Qs = "MapSet", $s = "Patches", ec = "ArrayMethods", tc = {};
5110
+ var ec = "MapSet", tc = "Patches", nc = "ArrayMethods", rc = {};
5056
5111
  function $(e) {
5057
- let t = tc[e];
5112
+ let t = rc[e];
5058
5113
  return t || K(0, e), t;
5059
5114
  }
5060
- var nc = (e) => !!tc[e], rc, ic = () => rc, ac = (e, t) => ({
5115
+ var ic = (e) => !!rc[e], ac, oc = () => ac, sc = (e, t) => ({
5061
5116
  drafts_: [],
5062
5117
  parent_: e,
5063
5118
  immer_: t,
@@ -5065,114 +5120,114 @@ var nc = (e) => !!tc[e], rc, ic = () => rc, ac = (e, t) => ({
5065
5120
  unfinalizedDrafts_: 0,
5066
5121
  handledSet_: /* @__PURE__ */ new Set(),
5067
5122
  processedForPatches_: /* @__PURE__ */ new Set(),
5068
- mapSetPlugin_: nc(Qs) ? $(Qs) : void 0,
5069
- arrayMethodsPlugin_: nc(ec) ? $(ec) : void 0
5123
+ mapSetPlugin_: ic(ec) ? $(ec) : void 0,
5124
+ arrayMethodsPlugin_: ic(nc) ? $(nc) : void 0
5070
5125
  });
5071
- function oc(e, t) {
5072
- t && (e.patchPlugin_ = $($s), e.patches_ = [], e.inversePatches_ = [], e.patchListener_ = t);
5126
+ function cc(e, t) {
5127
+ t && (e.patchPlugin_ = $(tc), e.patches_ = [], e.inversePatches_ = [], e.patchListener_ = t);
5073
5128
  }
5074
- function sc(e) {
5075
- cc(e), e.drafts_.forEach(uc), e.drafts_ = null;
5129
+ function lc(e) {
5130
+ uc(e), e.drafts_.forEach(fc), e.drafts_ = null;
5076
5131
  }
5077
- function cc(e) {
5078
- e === rc && (rc = e.parent_);
5079
- }
5080
- var lc = (e) => rc = ac(rc, e);
5081
5132
  function uc(e) {
5133
+ e === ac && (ac = e.parent_);
5134
+ }
5135
+ var dc = (e) => ac = sc(ac, e);
5136
+ function fc(e) {
5082
5137
  let t = e[G];
5083
5138
  t.type_ === 0 || t.type_ === 1 ? t.revoke_() : t.revoked_ = !0;
5084
5139
  }
5085
- function dc(e, t) {
5140
+ function pc(e, t) {
5086
5141
  t.unfinalizedDrafts_ = t.drafts_.length;
5087
5142
  let n = t.drafts_[0];
5088
5143
  if (e !== void 0 && e !== n) {
5089
- n[G].modified_ && (sc(t), K(4)), X(e) && (e = fc(t, e));
5144
+ n[G].modified_ && (lc(t), K(4)), X(e) && (e = mc(t, e));
5090
5145
  let { patchPlugin_: r } = t;
5091
5146
  r && r.generateReplacementPatches_(n[G].base_, e, t);
5092
- } else e = fc(t, n);
5093
- return pc(t, e, !0), sc(t), t.patches_ && t.patchListener_(t.patches_, t.inversePatches_), e === Ss ? void 0 : e;
5147
+ } else e = mc(t, n);
5148
+ return hc(t, e, !0), lc(t), t.patches_ && t.patchListener_(t.patches_, t.inversePatches_), e === ws ? void 0 : e;
5094
5149
  }
5095
- function fc(e, t) {
5096
- if (Zs(t)) return t;
5150
+ function mc(e, t) {
5151
+ if ($s(t)) return t;
5097
5152
  let n = t[G];
5098
- if (!n) return xc(t, e.handledSet_, e);
5099
- if (!hc(n, e)) return t;
5153
+ if (!n) return Cc(t, e.handledSet_, e);
5154
+ if (!_c(n, e)) return t;
5100
5155
  if (!n.modified_) return n.base_;
5101
5156
  if (!n.finalized_) {
5102
5157
  let { callbacks_: t } = n;
5103
5158
  if (t) for (; t.length > 0;) t.pop()(e);
5104
- yc(n, e);
5159
+ xc(n, e);
5105
5160
  }
5106
5161
  return n.copy_;
5107
5162
  }
5108
- function pc(e, t, n = !1) {
5109
- !e.parent_ && e.immer_.autoFreeze_ && e.canAutoFreeze_ && Js(t, n);
5163
+ function hc(e, t, n = !1) {
5164
+ !e.parent_ && e.immer_.autoFreeze_ && e.canAutoFreeze_ && Xs(t, n);
5110
5165
  }
5111
- function mc(e) {
5166
+ function gc(e) {
5112
5167
  e.finalized_ = !0, e.scope_.unfinalizedDrafts_--;
5113
5168
  }
5114
- var hc = (e, t) => e.scope_ === t, gc = [];
5115
- function _c(e, t, n, r) {
5169
+ var _c = (e, t) => e.scope_ === t, vc = [];
5170
+ function yc(e, t, n, r) {
5116
5171
  let i = Q(e), a = e.type_;
5117
- if (r !== void 0 && Ls(i, r, a) === t) {
5118
- Rs(i, r, n, a);
5172
+ if (r !== void 0 && zs(i, r, a) === t) {
5173
+ Bs(i, r, n, a);
5119
5174
  return;
5120
5175
  }
5121
5176
  if (!e.draftLocations_) {
5122
5177
  let t = e.draftLocations_ = /* @__PURE__ */ new Map();
5123
- Ps(i, (e, n) => {
5178
+ Is(i, (e, n) => {
5124
5179
  if (Y(n)) {
5125
5180
  let r = t.get(n) || [];
5126
5181
  r.push(e), t.set(n, r);
5127
5182
  }
5128
5183
  });
5129
5184
  }
5130
- let o = e.draftLocations_.get(t) ?? gc;
5131
- for (let e of o) Rs(i, e, n, a);
5185
+ let o = e.draftLocations_.get(t) ?? vc;
5186
+ for (let e of o) Bs(i, e, n, a);
5132
5187
  }
5133
- function vc(e, t, n) {
5188
+ function bc(e, t, n) {
5134
5189
  e.callbacks_.push(function(r) {
5135
5190
  let i = t;
5136
- if (!i || !hc(i, r)) return;
5191
+ if (!i || !_c(i, r)) return;
5137
5192
  r.mapSetPlugin_?.fixSetContents(i);
5138
- let a = Ks(i);
5139
- _c(e, i.draft_ ?? i, a, n), yc(i, r);
5193
+ let a = Js(i);
5194
+ yc(e, i.draft_ ?? i, a, n), xc(i, r);
5140
5195
  });
5141
5196
  }
5142
- function yc(e, t) {
5197
+ function xc(e, t) {
5143
5198
  if (e.modified_ && !e.finalized_ && (e.type_ === 3 || e.type_ === 1 && e.allIndicesReassigned_ || (e.assigned_?.size ?? 0) > 0)) {
5144
5199
  let { patchPlugin_: n } = t;
5145
5200
  if (n) {
5146
5201
  let r = n.getPath(e);
5147
5202
  r && n.generatePatches_(e, r, t);
5148
5203
  }
5149
- mc(e);
5204
+ gc(e);
5150
5205
  }
5151
5206
  }
5152
- function bc(e, t, n) {
5207
+ function Sc(e, t, n) {
5153
5208
  let { scope_: r } = e;
5154
5209
  if (Y(n)) {
5155
5210
  let i = n[G];
5156
- hc(i, r) && i.callbacks_.push(function() {
5157
- kc(e), _c(e, n, Ks(i), t);
5211
+ _c(i, r) && i.callbacks_.push(function() {
5212
+ jc(e), yc(e, n, Js(i), t);
5158
5213
  });
5159
5214
  } else X(n) && e.callbacks_.push(function() {
5160
5215
  let i = Q(e);
5161
- e.type_ === 3 ? i.has(n) && xc(n, r.handledSet_, r) : Ls(i, t, e.type_) === n && r.drafts_.length > 1 && (e.assigned_.get(t) ?? !1) === !0 && e.copy_ && xc(Ls(e.copy_, t, e.type_), r.handledSet_, r);
5216
+ e.type_ === 3 ? i.has(n) && Cc(n, r.handledSet_, r) : zs(i, t, e.type_) === n && r.drafts_.length > 1 && (e.assigned_.get(t) ?? !1) === !0 && e.copy_ && Cc(zs(e.copy_, t, e.type_), r.handledSet_, r);
5162
5217
  });
5163
5218
  }
5164
- function xc(e, t, n) {
5165
- return !n.immer_.autoFreeze_ && n.unfinalizedDrafts_ < 1 || Y(e) || t.has(e) || !X(e) || Zs(e) ? e : (t.add(e), Ps(e, (r, i) => {
5219
+ function Cc(e, t, n) {
5220
+ return !n.immer_.autoFreeze_ && n.unfinalizedDrafts_ < 1 || Y(e) || t.has(e) || !X(e) || $s(e) ? e : (t.add(e), Is(e, (r, i) => {
5166
5221
  if (Y(i)) {
5167
5222
  let t = i[G];
5168
- hc(t, n) && (Rs(e, r, Ks(t), e.type_), mc(t));
5169
- } else X(i) && xc(i, t, n);
5223
+ _c(t, n) && (Bs(e, r, Js(t), e.type_), gc(t));
5224
+ } else X(i) && Cc(i, t, n);
5170
5225
  }), e);
5171
5226
  }
5172
- function Sc(e, t) {
5173
- let n = Bs(e), r = {
5227
+ function wc(e, t) {
5228
+ let n = Hs(e), r = {
5174
5229
  type_: n ? 1 : 0,
5175
- scope_: t ? t.scope_ : ic(),
5230
+ scope_: t ? t.scope_ : oc(),
5176
5231
  modified_: !1,
5177
5232
  finalized_: !1,
5178
5233
  assigned_: void 0,
@@ -5183,23 +5238,23 @@ function Sc(e, t) {
5183
5238
  revoke_: null,
5184
5239
  isManual_: !1,
5185
5240
  callbacks_: void 0
5186
- }, i = r, a = Cc;
5187
- n && (i = [r], a = wc);
5241
+ }, i = r, a = Tc;
5242
+ n && (i = [r], a = Ec);
5188
5243
  let { revoke: o, proxy: s } = Proxy.revocable(i, a);
5189
5244
  return r.draft_ = s, r.revoke_ = o, [s, r];
5190
5245
  }
5191
- var Cc = {
5246
+ var Tc = {
5192
5247
  get(e, t) {
5193
5248
  if (t === G) return e;
5194
5249
  let n = e.scope_.arrayMethodsPlugin_, r = e.type_ === 1 && typeof t == "string";
5195
5250
  if (r && n?.isArrayOperationMethod(t)) return n.createMethodInterceptor(e, t);
5196
5251
  let i = Q(e);
5197
- if (!Is(i, t, e.type_)) return Ec(e, i, t);
5252
+ if (!Rs(i, t, e.type_)) return Oc(e, i, t);
5198
5253
  let a = i[t];
5199
- if (e.finalized_ || !X(a) || r && e.operationMethod && n?.isMutatingArrayMethod(e.operationMethod) && Gs(t)) return a;
5200
- if (a === Tc(e.base_, t)) {
5201
- kc(e);
5202
- let n = e.type_ === 1 ? +t : t, r = jc(e.scope_, a, e, n);
5254
+ if (e.finalized_ || !X(a) || r && e.operationMethod && n?.isMutatingArrayMethod(e.operationMethod) && qs(t)) return a;
5255
+ if (a === Dc(e.base_, t)) {
5256
+ jc(e);
5257
+ let n = e.type_ === 1 ? +t : t, r = Nc(e.scope_, a, e, n);
5203
5258
  return e.copy_[n] = r;
5204
5259
  }
5205
5260
  return a;
@@ -5211,26 +5266,26 @@ var Cc = {
5211
5266
  return Reflect.ownKeys(Q(e));
5212
5267
  },
5213
5268
  set(e, t, n) {
5214
- let r = Dc(Q(e), t);
5269
+ let r = kc(Q(e), t);
5215
5270
  if (r?.set) return r.set.call(e.draft_, n), !0;
5216
5271
  if (!e.modified_) {
5217
- let r = Tc(Q(e), t), i = r?.[G];
5272
+ let r = Dc(Q(e), t), i = r?.[G];
5218
5273
  if (i && i.base_ === n) return e.copy_[t] = n, e.assigned_.set(t, !1), !0;
5219
- if (zs(n, r) && (n !== void 0 || Is(e.base_, t, e.type_))) return !0;
5220
- kc(e), Oc(e);
5274
+ if (Vs(n, r) && (n !== void 0 || Rs(e.base_, t, e.type_))) return !0;
5275
+ jc(e), Ac(e);
5221
5276
  }
5222
- return e.copy_[t] === n && (n !== void 0 || t in e.copy_) || Number.isNaN(n) && Number.isNaN(e.copy_[t]) ? !0 : (e.copy_[t] = n, e.assigned_.set(t, !0), bc(e, t, n), !0);
5277
+ return e.copy_[t] === n && (n !== void 0 || t in e.copy_) || Number.isNaN(n) && Number.isNaN(e.copy_[t]) ? !0 : (e.copy_[t] = n, e.assigned_.set(t, !0), Sc(e, t, n), !0);
5223
5278
  },
5224
5279
  deleteProperty(e, t) {
5225
- return kc(e), Tc(e.base_, t) !== void 0 || t in e.base_ ? (e.assigned_.set(t, !1), Oc(e)) : e.assigned_.delete(t), e.copy_ && delete e.copy_[t], !0;
5280
+ return jc(e), Dc(e.base_, t) !== void 0 || t in e.base_ ? (e.assigned_.set(t, !1), Ac(e)) : e.assigned_.delete(t), e.copy_ && delete e.copy_[t], !0;
5226
5281
  },
5227
5282
  getOwnPropertyDescriptor(e, t) {
5228
5283
  let n = Q(e), r = Reflect.getOwnPropertyDescriptor(n, t);
5229
5284
  return r && {
5230
- [ks]: !0,
5231
- [Ds]: e.type_ !== 1 || t !== "length",
5232
- [Os]: r[Os],
5233
- [As]: n[t]
5285
+ [js]: !0,
5286
+ [ks]: e.type_ !== 1 || t !== "length",
5287
+ [As]: r[As],
5288
+ [Ms]: n[t]
5234
5289
  };
5235
5290
  },
5236
5291
  defineProperty() {
@@ -5242,28 +5297,28 @@ var Cc = {
5242
5297
  setPrototypeOf() {
5243
5298
  K(12);
5244
5299
  }
5245
- }, wc = {};
5246
- for (let e in Cc) {
5247
- let t = Cc[e];
5248
- wc[e] = function() {
5300
+ }, Ec = {};
5301
+ for (let e in Tc) {
5302
+ let t = Tc[e];
5303
+ Ec[e] = function() {
5249
5304
  let e = arguments;
5250
5305
  return e[0] = e[0][0], t.apply(this, e);
5251
5306
  };
5252
5307
  }
5253
- wc.deleteProperty = function(e, t) {
5254
- return process.env.NODE_ENV !== "production" && isNaN(parseInt(t)) && K(13), wc.set.call(this, e, t, void 0);
5255
- }, wc.set = function(e, t, n) {
5256
- return process.env.NODE_ENV !== "production" && t !== "length" && isNaN(parseInt(t)) && K(14), Cc.set.call(this, e[0], t, n, e[0]);
5308
+ Ec.deleteProperty = function(e, t) {
5309
+ return process.env.NODE_ENV !== "production" && isNaN(parseInt(t)) && K(13), Ec.set.call(this, e, t, void 0);
5310
+ }, Ec.set = function(e, t, n) {
5311
+ return process.env.NODE_ENV !== "production" && t !== "length" && isNaN(parseInt(t)) && K(14), Tc.set.call(this, e[0], t, n, e[0]);
5257
5312
  };
5258
- function Tc(e, t) {
5313
+ function Dc(e, t) {
5259
5314
  let n = e[G];
5260
5315
  return (n ? Q(n) : e)[t];
5261
5316
  }
5262
- function Ec(e, t, n) {
5263
- let r = Dc(t, n);
5264
- return r ? As in r ? r[As] : r.get?.call(e.draft_) : void 0;
5317
+ function Oc(e, t, n) {
5318
+ let r = kc(t, n);
5319
+ return r ? Ms in r ? r[Ms] : r.get?.call(e.draft_) : void 0;
5265
5320
  }
5266
- function Dc(e, t) {
5321
+ function kc(e, t) {
5267
5322
  if (!(t in e)) return;
5268
5323
  let n = J(e);
5269
5324
  for (; n;) {
@@ -5272,13 +5327,13 @@ function Dc(e, t) {
5272
5327
  n = J(n);
5273
5328
  }
5274
5329
  }
5275
- function Oc(e) {
5276
- e.modified_ || (e.modified_ = !0, e.parent_ && Oc(e.parent_));
5330
+ function Ac(e) {
5331
+ e.modified_ || (e.modified_ = !0, e.parent_ && Ac(e.parent_));
5277
5332
  }
5278
- function kc(e) {
5279
- e.copy_ ||= (e.assigned_ = /* @__PURE__ */ new Map(), qs(e.base_, e.scope_.immer_.useStrictShallowCopy_));
5333
+ function jc(e) {
5334
+ e.copy_ ||= (e.assigned_ = /* @__PURE__ */ new Map(), Ys(e.base_, e.scope_.immer_.useStrictShallowCopy_));
5280
5335
  }
5281
- var Ac = class {
5336
+ var Mc = class {
5282
5337
  constructor(e) {
5283
5338
  this.autoFreeze_ = !0, this.useStrictShallowCopy_ = !1, this.useStrictIteration_ = !1, this.produce = (e, t, n) => {
5284
5339
  if (Z(e) && !Z(t)) {
@@ -5292,17 +5347,17 @@ var Ac = class {
5292
5347
  Z(t) || K(6), n !== void 0 && !Z(n) && K(7);
5293
5348
  let r;
5294
5349
  if (X(e)) {
5295
- let i = lc(this), a = jc(i, e, void 0), o = !0;
5350
+ let i = dc(this), a = Nc(i, e, void 0), o = !0;
5296
5351
  try {
5297
5352
  r = t(a), o = !1;
5298
5353
  } finally {
5299
- o ? sc(i) : cc(i);
5354
+ o ? lc(i) : uc(i);
5300
5355
  }
5301
- return oc(i, n), dc(r, i);
5302
- } else if (!e || !Us(e)) {
5303
- if (r = t(e), r === void 0 && (r = e), r === Ss && (r = void 0), this.autoFreeze_ && Js(r, !0), n) {
5356
+ return cc(i, n), pc(r, i);
5357
+ } else if (!e || !Gs(e)) {
5358
+ if (r = t(e), r === void 0 && (r = e), r === ws && (r = void 0), this.autoFreeze_ && Xs(r, !0), n) {
5304
5359
  let t = [], i = [];
5305
- $($s).generateReplacementPatches_(e, r, {
5360
+ $(tc).generateReplacementPatches_(e, r, {
5306
5361
  patches_: t,
5307
5362
  inversePatches_: i
5308
5363
  }), n(t, i);
@@ -5319,18 +5374,18 @@ var Ac = class {
5319
5374
  n,
5320
5375
  r
5321
5376
  ];
5322
- }, Ws(e?.autoFreeze) && this.setAutoFreeze(e.autoFreeze), Ws(e?.useStrictShallowCopy) && this.setUseStrictShallowCopy(e.useStrictShallowCopy), Ws(e?.useStrictIteration) && this.setUseStrictIteration(e.useStrictIteration);
5377
+ }, Ks(e?.autoFreeze) && this.setAutoFreeze(e.autoFreeze), Ks(e?.useStrictShallowCopy) && this.setUseStrictShallowCopy(e.useStrictShallowCopy), Ks(e?.useStrictIteration) && this.setUseStrictIteration(e.useStrictIteration);
5323
5378
  }
5324
5379
  createDraft(e) {
5325
- X(e) || K(8), Y(e) && (e = Mc(e));
5326
- let t = lc(this), n = jc(t, e, void 0);
5327
- return n[G].isManual_ = !0, cc(t), n;
5380
+ X(e) || K(8), Y(e) && (e = Pc(e));
5381
+ let t = dc(this), n = Nc(t, e, void 0);
5382
+ return n[G].isManual_ = !0, uc(t), n;
5328
5383
  }
5329
5384
  finishDraft(e, t) {
5330
5385
  let n = e && e[G];
5331
5386
  (!n || !n.isManual_) && K(9);
5332
5387
  let { scope_: r } = n;
5333
- return oc(r, t), dc(void 0, r);
5388
+ return cc(r, t), pc(void 0, r);
5334
5389
  }
5335
5390
  setAutoFreeze(e) {
5336
5391
  this.autoFreeze_ = e;
@@ -5354,37 +5409,37 @@ var Ac = class {
5354
5409
  }
5355
5410
  }
5356
5411
  n > -1 && (t = t.slice(n + 1));
5357
- let r = $($s).applyPatches_;
5412
+ let r = $(tc).applyPatches_;
5358
5413
  return Y(e) ? r(e, t) : this.produce(e, (e) => r(e, t));
5359
5414
  }
5360
5415
  };
5361
- function jc(e, t, n, r) {
5362
- let [i, a] = Vs(t) ? $(Qs).proxyMap_(t, n) : Hs(t) ? $(Qs).proxySet_(t, n) : Sc(t, n);
5363
- return (n?.scope_ ?? ic()).drafts_.push(i), a.callbacks_ = n?.callbacks_ ?? [], a.key_ = r, n && r !== void 0 ? vc(n, a, r) : a.callbacks_.push(function(e) {
5416
+ function Nc(e, t, n, r) {
5417
+ let [i, a] = Us(t) ? $(ec).proxyMap_(t, n) : Ws(t) ? $(ec).proxySet_(t, n) : wc(t, n);
5418
+ return (n?.scope_ ?? oc()).drafts_.push(i), a.callbacks_ = n?.callbacks_ ?? [], a.key_ = r, n && r !== void 0 ? bc(n, a, r) : a.callbacks_.push(function(e) {
5364
5419
  e.mapSetPlugin_?.fixSetContents(a);
5365
5420
  let { patchPlugin_: t } = e;
5366
5421
  a.modified_ && t && t.generatePatches_(a, [], e);
5367
5422
  }), i;
5368
5423
  }
5369
- function Mc(e) {
5370
- return Y(e) || K(10, e), Nc(e);
5424
+ function Pc(e) {
5425
+ return Y(e) || K(10, e), Fc(e);
5371
5426
  }
5372
- function Nc(e) {
5373
- if (!X(e) || Zs(e)) return e;
5427
+ function Fc(e) {
5428
+ if (!X(e) || $s(e)) return e;
5374
5429
  let t = e[G], n, r = !0;
5375
5430
  if (t) {
5376
5431
  if (!t.modified_) return t.base_;
5377
- t.finalized_ = !0, n = qs(e, t.scope_.immer_.useStrictShallowCopy_), r = t.scope_.immer_.shouldUseStrictIteration();
5378
- } else n = qs(e, !0);
5379
- return Ps(n, (e, t) => {
5380
- Rs(n, e, Nc(t));
5432
+ t.finalized_ = !0, n = Ys(e, t.scope_.immer_.useStrictShallowCopy_), r = t.scope_.immer_.shouldUseStrictIteration();
5433
+ } else n = Ys(e, !0);
5434
+ return Is(n, (e, t) => {
5435
+ Bs(n, e, Fc(t));
5381
5436
  }, r), t && (t.finalized_ = !1), n;
5382
5437
  }
5383
- new Ac().produce;
5384
- var Pc = (e) => e;
5438
+ new Mc().produce;
5439
+ var Ic = (e) => e;
5385
5440
  //#endregion
5386
5441
  //#region src/state/generics/genericEntitySlice.ts
5387
- function Fc(e, t, n, r) {
5442
+ function Lc(e, t, n, r) {
5388
5443
  let i = {
5389
5444
  entities: {
5390
5445
  data: [],
@@ -5412,7 +5467,7 @@ function Fc(e, t, n, r) {
5412
5467
  if (r) --e.entities.count, e.entities.data = e.entities.data?.filter((e) => e.id !== r);
5413
5468
  else if (n) {
5414
5469
  let t = e.entities.data?.findIndex((e) => e.id === n.id);
5415
- t !== void 0 && t !== -1 ? e.entities.data && (e.entities.data[t] = Pc(n)) : (e.entities.count += 1, e.entities.data = [Pc(n), ...e.entities.data ?? []]);
5470
+ t !== void 0 && t !== -1 ? e.entities.data && (e.entities.data[t] = Ic(n)) : (e.entities.count += 1, e.entities.data = [Ic(n), ...e.entities.data ?? []]);
5416
5471
  }
5417
5472
  },
5418
5473
  ...r || {}
@@ -5436,4 +5491,4 @@ function Fc(e, t, n, r) {
5436
5491
  };
5437
5492
  }
5438
5493
  //#endregion
5439
- export { $i as Alert, na as AlertAction, ta as AlertDescription, Bi as AlertDialog, Xi as AlertDialogAction, Zi as AlertDialogCancel, Wi as AlertDialogContent, Yi as AlertDialogDescription, Ki as AlertDialogFooter, Gi as AlertDialogHeader, qi as AlertDialogMedia, Ui as AlertDialogOverlay, Hi as AlertDialogPortal, Ji as AlertDialogTitle, Vi as AlertDialogTrigger, ea as AlertTitle, ra as Avatar, oa as AvatarBadge, aa as AvatarFallback, sa as AvatarGroup, ca as AvatarGroupCount, ia as AvatarImage, ua as Badge, Kt as BaseInput, da as Breadcrumb, _a as BreadcrumbEllipsis, pa as BreadcrumbItem, ma as BreadcrumbLink, fa as BreadcrumbList, ha as BreadcrumbPage, ga as BreadcrumbSeparator, F as Button, Pt as Calendar, Ft as CalendarDayButton, _n as Card, xn as CardAction, Sn as CardContent, bn as CardDescription, Cn as CardFooter, vn as CardHeader, yn as CardTitle, En as Carousel, Dn as CarouselContent, On as CarouselItem, An as CarouselNext, kn as CarouselPrevious, xt as ChangeDialog, xa as ChartContainer, Ta as ChartLegend, Ea as ChartLegendContent, Sa as ChartStyle, Ca as ChartTooltip, wa as ChartTooltipContent, Oa as Checkbox, La as Combobox, Za as ComboboxChip, Xa as ComboboxChips, Qa as ComboboxChipsInput, qa as ComboboxCollection, Ha as ComboboxContent, Ja as ComboboxEmpty, Ga as ComboboxGroup, Va as ComboboxInput, Wa as ComboboxItem, Ka as ComboboxLabel, Ua as ComboboxList, Ya as ComboboxSeparator, za as ComboboxTrigger, Ra as ComboboxValue, eo as Command, to as CommandDialog, io as CommandEmpty, ao as CommandGroup, no as CommandInput, so as CommandItem, ro as CommandList, oo as CommandSeparator, co as CommandShortcut, or as ContextMenu, gr as ContextMenuCheckboxItem, fr as ContextMenuContent, cr as ContextMenuGroup, pr as ContextMenuItem, vr as ContextMenuLabel, lr as ContextMenuPortal, dr as ContextMenuRadioGroup, _r as ContextMenuRadioItem, yr as ContextMenuSeparator, br as ContextMenuShortcut, ur as ContextMenuSub, hr as ContextMenuSubContent, mr as ContextMenuSubTrigger, sr as ContextMenuTrigger, tr as CrudEmptyTablePreview, zi as CrudPage, ar as CrudTable, xr as CrudTableBodyRow, Sr as CrudTableCard, Cr as CrudTableHeader, wr as CrudTableHeaderRows, Li as CrudTablePagination, Ri as CrudTableRowActionsMenu, Gt as DateField, Ut as DateInput, Jt as DateTimeField, qt as DateTimeInput, St as DeleteDialog, I as Dialog, mt as DialogClose, gt as DialogContent, bt as DialogDescription, vt as DialogFooter, _t as DialogHeader, ht as DialogOverlay, pt as DialogPortal, yt as DialogTitle, ft as DialogTrigger, lo as DirectionProvider, fo as Drawer, ho as DrawerClose, _o as DrawerContent, xo as DrawerDescription, yo as DrawerFooter, vo as DrawerHeader, go as DrawerOverlay, mo as DrawerPortal, bo as DrawerTitle, po as DrawerTrigger, Mr as DropdownMenu, Lr as DropdownMenuCheckboxItem, Fr as DropdownMenuContent, Ir as DropdownMenuGroup, B as DropdownMenuItem, Br as DropdownMenuLabel, Nr as DropdownMenuPortal, Rr as DropdownMenuRadioGroup, zr as DropdownMenuRadioItem, Vr as DropdownMenuSeparator, Hr as DropdownMenuShortcut, Ur as DropdownMenuSub, Gr as DropdownMenuSubContent, Wr as DropdownMenuSubTrigger, Pr as DropdownMenuTrigger, dt as DynamicListContainer, Jn as Empty, er as EmptyContent, $n as EmptyDescription, Yn as EmptyHeader, Zn as EmptyMedia, Qn as EmptyTitle, Eo as Field, Do as FieldContent, Ao as FieldDescription, Mo as FieldError, wo as FieldGroup, Oo as FieldLabel, Co as FieldLegend, jo as FieldSeparator, So as FieldSet, ko as FieldTitle, Qt as FieldsSection, R as FormField, z as Input, $t as InputField, ka as InputGroup, ja as InputGroupAddon, Na as InputGroupButton, Fa as InputGroupInput, Pa as InputGroupText, Ia as InputGroupTextarea, Wt as Label, Ln as Lightbox, ps as Loading, tn as NumberField, en as NumberInput, Tr as Pagination, Er as PaginationContent, jr as PaginationEllipsis, Dr as PaginationItem, Or as PaginationLink, Ar as PaginationNext, kr as PaginationPrevious, nn as PasswordField, Jo as PermissionCard, Yo as PermissionSkeleton, rn as PhoneField, It as Popover, zt as PopoverAnchor, Rt as PopoverContent, Ht as PopoverDescription, Bt as PopoverHeader, Vt as PopoverTitle, Lt as PopoverTrigger, st as ProtectedRoute, ut as SaveButton, No as ScrollArea, Po as ScrollBar, zn as SearchInput, Xo as SearchableSelect, an as Select, ln as SelectContent, gn as SelectField, on as SelectGroup, hn as SelectInput, dn as SelectItem, un as SelectLabel, mn as SelectScrollDownButton, pn as SelectScrollUpButton, fn as SelectSeparator, cn as SelectTrigger, sn as SelectValue, L as Separator, Jr as Sheet, Xr as SheetClose, $r as SheetContent, ri as SheetDescription, ti as SheetFooter, ei as SheetHeader, ni as SheetTitle, Yr as SheetTrigger, Zo as SideBarCompanyData, ns as SideBarMainMenu, ss as SideBarSecondaryMenu, cs as SideBarUserData, _i as Sidebar, Ti as SidebarContent, ls as SidebarContext, Ci as SidebarFooter, Ei as SidebarGroup, Oi as SidebarGroupAction, ki as SidebarGroupContent, Di as SidebarGroupLabel, Si as SidebarHeader, xi as SidebarInput, bi as SidebarInset, Qo as SidebarLogo, H as SidebarMenu, ji as SidebarMenuAction, Mi as SidebarMenuBadge, W as SidebarMenuButton, U as SidebarMenuItem, Ni as SidebarMenuSkeleton, Pi as SidebarMenuSub, Ii as SidebarMenuSubButton, Fi as SidebarMenuSubItem, gi as SidebarProvider, yi as SidebarRail, wi as SidebarSeparator, vi as SidebarTrigger, V as Skeleton, Mn as StorageFileField, Io as Switch, Bn as Table, Hn as TableBody, qn as TableCaption, Kn as TableCell, Un as TableFooter, Gn as TableHead, Vn as TableHeader, Wn as TableRow, Lo as Tabs, Vo as TabsContent, zo as TabsList, Bo as TabsTrigger, Fn as TextAreaField, Pn as TextAreaInput, In as TextField, Nn as Textarea, is as ThemeProvider, os as ThemeToggle, Yt as TitleSeparator, Fo as Toaster, Uo as Toggle, Go as ToggleGroup, Ko as ToggleGroupItem, ai as Tooltip, si as TooltipContent, ii as TooltipProvider, oi as TooltipTrigger, ct as YusrBusBackground, fs as YusrSideBar, ds as YusrSideBarMainMenu, Rn as ZoomableImage, la as badgeVariants, lt as buttonVariants, qo as categorizePermissions, P as cn, xs as createGenericDialogSlice, Fc as createGenericEntitySlice, jn as isPDF, bs as setupAuthListeners, Ro as tabsListVariants, Ho as toggleVariants, Tn as useCarousel, $a as useComboboxAnchor, ms as useDialog, uo as useDirection, hs as useDynamicList, _s as useEntityForm, gs as useFormValidation, qr as useIsMobile, vs as useLightBox, hi as useSidebar, us as useSidebarContext, ys as useStorageFile, as as useTheme };
5494
+ export { ta as Alert, ia as AlertAction, ra as AlertDescription, Hi as AlertDialog, Qi as AlertDialogAction, $i as AlertDialogCancel, Ki as AlertDialogContent, Zi as AlertDialogDescription, Ji as AlertDialogFooter, qi as AlertDialogHeader, Yi as AlertDialogMedia, Gi as AlertDialogOverlay, Wi as AlertDialogPortal, Xi as AlertDialogTitle, Ui as AlertDialogTrigger, na as AlertTitle, aa as Avatar, ca as AvatarBadge, sa as AvatarFallback, la as AvatarGroup, ua as AvatarGroupCount, oa as AvatarImage, fa as Badge, Kt as BaseInput, pa as Breadcrumb, ya as BreadcrumbEllipsis, ha as BreadcrumbItem, ga as BreadcrumbLink, ma as BreadcrumbList, _a as BreadcrumbPage, va as BreadcrumbSeparator, F as Button, Pt as Calendar, Ft as CalendarDayButton, yn as Card, Cn as CardAction, wn as CardContent, Sn as CardDescription, Tn as CardFooter, bn as CardHeader, xn as CardTitle, On as Carousel, kn as CarouselContent, An as CarouselItem, Mn as CarouselNext, jn as CarouselPrevious, xt as ChangeDialog, Ca as ChartContainer, Da as ChartLegend, Oa as ChartLegendContent, wa as ChartStyle, Ta as ChartTooltip, Ea as ChartTooltipContent, Aa as Checkbox, za as Combobox, $a as ComboboxChip, Qa as ComboboxChips, eo as ComboboxChipsInput, Ya as ComboboxCollection, Wa as ComboboxContent, Xa as ComboboxEmpty, qa as ComboboxGroup, Ua as ComboboxInput, Ka as ComboboxItem, Ja as ComboboxLabel, Ga as ComboboxList, Za as ComboboxSeparator, Va as ComboboxTrigger, Ba as ComboboxValue, no as Command, ro as CommandDialog, oo as CommandEmpty, so as CommandGroup, io as CommandInput, lo as CommandItem, ao as CommandList, co as CommandSeparator, uo as CommandShortcut, cr as ContextMenu, vr as ContextMenuCheckboxItem, mr as ContextMenuContent, ur as ContextMenuGroup, hr as ContextMenuItem, br as ContextMenuLabel, dr as ContextMenuPortal, pr as ContextMenuRadioGroup, yr as ContextMenuRadioItem, xr as ContextMenuSeparator, Sr as ContextMenuShortcut, fr as ContextMenuSub, _r as ContextMenuSubContent, gr as ContextMenuSubTrigger, lr as ContextMenuTrigger, rr as CrudEmptyTablePreview, Vi as CrudPage, sr as CrudTable, Cr as CrudTableBodyRow, wr as CrudTableCard, Tr as CrudTableHeader, Er as CrudTableHeaderRows, zi as CrudTablePagination, Bi as CrudTableRowActionsMenu, Gt as DateField, Ut as DateInput, Jt as DateTimeField, qt as DateTimeInput, St as DeleteDialog, I as Dialog, mt as DialogClose, gt as DialogContent, bt as DialogDescription, vt as DialogFooter, _t as DialogHeader, ht as DialogOverlay, pt as DialogPortal, yt as DialogTitle, ft as DialogTrigger, fo as DirectionProvider, mo as Drawer, _o as DrawerClose, yo as DrawerContent, Co as DrawerDescription, xo as DrawerFooter, bo as DrawerHeader, vo as DrawerOverlay, go as DrawerPortal, So as DrawerTitle, ho as DrawerTrigger, Pr as DropdownMenu, zr as DropdownMenuCheckboxItem, Lr as DropdownMenuContent, Rr as DropdownMenuGroup, B as DropdownMenuItem, Hr as DropdownMenuLabel, Fr as DropdownMenuPortal, Br as DropdownMenuRadioGroup, Vr as DropdownMenuRadioItem, Ur as DropdownMenuSeparator, Wr as DropdownMenuShortcut, Gr as DropdownMenuSub, qr as DropdownMenuSubContent, Kr as DropdownMenuSubTrigger, Ir as DropdownMenuTrigger, dt as DynamicListContainer, Xn as Empty, nr as EmptyContent, tr as EmptyDescription, Zn as EmptyHeader, $n as EmptyMedia, er as EmptyTitle, Oo as Field, ko as FieldContent, Mo as FieldDescription, Po as FieldError, Eo as FieldGroup, Ao as FieldLabel, To as FieldLegend, No as FieldSeparator, wo as FieldSet, jo as FieldTitle, en as FieldsSection, R as FormField, z as Input, tn as InputField, ja as InputGroup, Na as InputGroupAddon, Fa as InputGroupButton, La as InputGroupInput, Ia as InputGroupText, Ra as InputGroupTextarea, Wt as Label, zn as Lightbox, hs as Loading, rn as NumberField, nn as NumberInput, Dr as Pagination, Or as PaginationContent, Nr as PaginationEllipsis, kr as PaginationItem, Ar as PaginationLink, Mr as PaginationNext, jr as PaginationPrevious, an as PasswordField, Xo as PermissionCard, Zo as PermissionSkeleton, on as PhoneField, It as Popover, zt as PopoverAnchor, Rt as PopoverContent, Ht as PopoverDescription, Bt as PopoverHeader, Vt as PopoverTitle, Lt as PopoverTrigger, st as ProtectedRoute, ut as SaveButton, Fo as ScrollArea, Io as ScrollBar, Vn as SearchInput, Qo as SearchableSelect, sn as Select, dn as SelectContent, vn as SelectField, cn as SelectGroup, _n as SelectInput, pn as SelectItem, fn as SelectLabel, gn as SelectScrollDownButton, hn as SelectScrollUpButton, mn as SelectSeparator, un as SelectTrigger, ln as SelectValue, L as Separator, Xr as Sheet, Qr as SheetClose, ti as SheetContent, ai as SheetDescription, ri as SheetFooter, ni as SheetHeader, ii as SheetTitle, Zr as SheetTrigger, $o as SideBarCompanyData, is as SideBarMainMenu, ls as SideBarSecondaryMenu, us as SideBarUserData, yi as Sidebar, Di as SidebarContent, ds as SidebarContext, Ti as SidebarFooter, Oi as SidebarGroup, Ai as SidebarGroupAction, ji as SidebarGroupContent, ki as SidebarGroupLabel, wi as SidebarHeader, Ci as SidebarInput, Si as SidebarInset, es as SidebarLogo, H as SidebarMenu, Ni as SidebarMenuAction, Pi as SidebarMenuBadge, W as SidebarMenuButton, U as SidebarMenuItem, Fi as SidebarMenuSkeleton, Ii as SidebarMenuSub, Ri as SidebarMenuSubButton, Li as SidebarMenuSubItem, vi as SidebarProvider, xi as SidebarRail, Ei as SidebarSeparator, bi as SidebarTrigger, V as Skeleton, Pn as StorageFileField, Ro as Switch, Hn as Table, Wn as TableBody, Yn as TableCaption, Jn as TableCell, Gn as TableFooter, qn as TableHead, Un as TableHeader, Kn as TableRow, zo as Tabs, Uo as TabsContent, Vo as TabsList, Ho as TabsTrigger, Ln as TextAreaField, In as TextAreaInput, Rn as TextField, Fn as Textarea, os as ThemeProvider, cs as ThemeToggle, Yt as TitleSeparator, Lo as Toaster, Go as Toggle, qo as ToggleGroup, Jo as ToggleGroupItem, si as Tooltip, li as TooltipContent, oi as TooltipProvider, ci as TooltipTrigger, ct as YusrBusBackground, ms as YusrSideBar, ps as YusrSideBarMainMenu, Bn as ZoomableImage, da as badgeVariants, lt as buttonVariants, Yo as categorizePermissions, P as cn, Cs as createGenericDialogSlice, Lc as createGenericEntitySlice, Nn as isPDF, Ss as setupAuthListeners, Bo as tabsListVariants, Wo as toggleVariants, Dn as useCarousel, to as useComboboxAnchor, gs as useDialog, po as useDirection, _s as useDynamicList, ys as useEntityForm, vs as useFormValidation, Yr as useIsMobile, bs as useLightBox, _i as useSidebar, fs as useSidebarContext, xs as useStorageFile, ss as useTheme };