@bergetai/ui 0.14.0 → 0.14.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.cjs CHANGED
@@ -134,6 +134,11 @@ __export(src_exports, {
134
134
  NavigationMenuList: () => NavigationMenuList,
135
135
  NavigationMenuPositioner: () => NavigationMenuPositioner,
136
136
  NavigationMenuTrigger: () => NavigationMenuTrigger,
137
+ Progress: () => Progress2,
138
+ ProgressIndicator: () => ProgressIndicator,
139
+ ProgressLabel: () => ProgressLabel,
140
+ ProgressTrack: () => ProgressTrack,
141
+ ProgressValue: () => ProgressValue,
137
142
  SearchInput: () => SearchInput,
138
143
  Select: () => Select,
139
144
  SelectContent: () => SelectContent,
@@ -1324,19 +1329,117 @@ var Skeleton2 = React11.forwardRef(({ className, ...props }, ref) => {
1324
1329
  });
1325
1330
  Skeleton2.displayName = "Skeleton";
1326
1331
 
1327
- // src/components/dialog/Dialog.tsx
1332
+ // src/components/progress/Progress.tsx
1328
1333
  var React12 = __toESM(require("react"), 1);
1334
+
1335
+ // src/primitives/progress.tsx
1336
+ var import_progress = require("@base-ui/react/progress");
1337
+ var import_cn5 = require("cn");
1338
+ var import_jsx_runtime16 = require("react/jsx-runtime");
1339
+ function Progress({
1340
+ className,
1341
+ children,
1342
+ value,
1343
+ ...props
1344
+ }) {
1345
+ return /* @__PURE__ */ (0, import_jsx_runtime16.jsxs)(
1346
+ import_progress.Progress.Root,
1347
+ {
1348
+ value,
1349
+ "data-slot": "progress",
1350
+ className: (0, import_cn5.cn)("flex flex-wrap gap-3", className),
1351
+ ...props,
1352
+ children: [
1353
+ children,
1354
+ /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(ProgressTrack, { children: /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(ProgressIndicator, {}) })
1355
+ ]
1356
+ }
1357
+ );
1358
+ }
1359
+ function ProgressTrack({ className, ...props }) {
1360
+ return /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(
1361
+ import_progress.Progress.Track,
1362
+ {
1363
+ className: (0, import_cn5.cn)(
1364
+ "relative flex h-1 w-full items-center overflow-x-hidden rounded-full bg-muted",
1365
+ className
1366
+ ),
1367
+ "data-slot": "progress-track",
1368
+ ...props
1369
+ }
1370
+ );
1371
+ }
1372
+ function ProgressIndicator({
1373
+ className,
1374
+ ...props
1375
+ }) {
1376
+ return /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(
1377
+ import_progress.Progress.Indicator,
1378
+ {
1379
+ "data-slot": "progress-indicator",
1380
+ className: (0, import_cn5.cn)("h-full bg-primary transition-all", className),
1381
+ ...props
1382
+ }
1383
+ );
1384
+ }
1385
+ function ProgressLabel({ className, ...props }) {
1386
+ return /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(
1387
+ import_progress.Progress.Label,
1388
+ {
1389
+ className: (0, import_cn5.cn)("text-sm font-medium", className),
1390
+ "data-slot": "progress-label",
1391
+ ...props
1392
+ }
1393
+ );
1394
+ }
1395
+ function ProgressValue({ className, ...props }) {
1396
+ return /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(
1397
+ import_progress.Progress.Value,
1398
+ {
1399
+ className: (0, import_cn5.cn)(
1400
+ "ml-auto text-sm text-muted-foreground tabular-nums",
1401
+ className
1402
+ ),
1403
+ "data-slot": "progress-value",
1404
+ ...props
1405
+ }
1406
+ );
1407
+ }
1408
+
1409
+ // src/components/progress/Progress.tsx
1410
+ var import_jsx_runtime17 = require("react/jsx-runtime");
1411
+ var Progress2 = React12.forwardRef(
1412
+ ({ className, value, ...props }, ref) => {
1413
+ const indeterminate = value == null;
1414
+ return /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
1415
+ Progress,
1416
+ {
1417
+ ref,
1418
+ value,
1419
+ className: cn(
1420
+ indeterminate && "[&_[data-slot=progress-indicator]]:w-1/3 [&_[data-slot=progress-indicator]]:animate-progress-indeterminate",
1421
+ className
1422
+ ),
1423
+ ...props
1424
+ }
1425
+ );
1426
+ }
1427
+ );
1428
+ Progress2.displayName = "Progress";
1429
+
1430
+ // src/components/dialog/Dialog.tsx
1431
+ var React13 = __toESM(require("react"), 1);
1329
1432
  var import_dialog = require("@base-ui/react/dialog");
1330
1433
  var import_lucide_react2 = require("lucide-react");
1331
- var import_jsx_runtime16 = require("react/jsx-runtime");
1434
+ var import_jsx_runtime18 = require("react/jsx-runtime");
1332
1435
  var Dialog = import_dialog.Dialog.Root;
1333
- var DialogTrigger = React12.forwardRef(
1334
- ({ asChild, children, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(import_dialog.Dialog.Trigger, { ref, render: asChildRender(asChild, children), ...props, children: asChild ? void 0 : children })
1436
+ var DialogTrigger = React13.forwardRef(
1437
+ ({ asChild, children, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(import_dialog.Dialog.Trigger, { ref, render: asChildRender(asChild, children), ...props, children: asChild ? void 0 : children })
1335
1438
  );
1336
1439
  DialogTrigger.displayName = "DialogTrigger";
1337
1440
  var DialogPortal = import_dialog.Dialog.Portal;
1338
1441
  var DialogClose = import_dialog.Dialog.Close;
1339
- var DialogOverlay = React12.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(
1442
+ var DialogOverlay = React13.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
1340
1443
  import_dialog.Dialog.Backdrop,
1341
1444
  {
1342
1445
  ref,
@@ -1348,9 +1451,9 @@ var DialogOverlay = React12.forwardRef(({ className, ...props }, ref) => /* @__P
1348
1451
  }
1349
1452
  ));
1350
1453
  DialogOverlay.displayName = "DialogOverlay";
1351
- var DialogContent = React12.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime16.jsxs)(DialogPortal, { children: [
1352
- /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(DialogOverlay, {}),
1353
- /* @__PURE__ */ (0, import_jsx_runtime16.jsxs)(
1454
+ var DialogContent = React13.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime18.jsxs)(DialogPortal, { children: [
1455
+ /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(DialogOverlay, {}),
1456
+ /* @__PURE__ */ (0, import_jsx_runtime18.jsxs)(
1354
1457
  import_dialog.Dialog.Popup,
1355
1458
  {
1356
1459
  ref,
@@ -1361,18 +1464,18 @@ var DialogContent = React12.forwardRef(({ className, children, ...props }, ref)
1361
1464
  ...props,
1362
1465
  children: [
1363
1466
  children,
1364
- /* @__PURE__ */ (0, import_jsx_runtime16.jsxs)(import_dialog.Dialog.Close, { className: "absolute right-4 top-4 rounded-berget-xs opacity-70 ring-offset-berget-dialog-bg transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-berget-focus-ring focus:ring-offset-2 disabled:pointer-events-none data-open:bg-berget-muted data-open:text-berget-muted-foreground", children: [
1365
- /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(import_lucide_react2.X, { className: "size-4" }),
1366
- /* @__PURE__ */ (0, import_jsx_runtime16.jsx)("span", { className: "sr-only", children: "Close" })
1467
+ /* @__PURE__ */ (0, import_jsx_runtime18.jsxs)(import_dialog.Dialog.Close, { className: "absolute right-4 top-4 rounded-berget-xs opacity-70 ring-offset-berget-dialog-bg transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-berget-focus-ring focus:ring-offset-2 disabled:pointer-events-none data-open:bg-berget-muted data-open:text-berget-muted-foreground", children: [
1468
+ /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(import_lucide_react2.X, { className: "size-4" }),
1469
+ /* @__PURE__ */ (0, import_jsx_runtime18.jsx)("span", { className: "sr-only", children: "Close" })
1367
1470
  ] })
1368
1471
  ]
1369
1472
  }
1370
1473
  )
1371
1474
  ] }));
1372
1475
  DialogContent.displayName = "DialogContent";
1373
- var DialogHeader = ({ className, ...props }) => /* @__PURE__ */ (0, import_jsx_runtime16.jsx)("div", { className: cn("flex flex-col gap-1.5 text-center sm:text-left", className), ...props });
1476
+ var DialogHeader = ({ className, ...props }) => /* @__PURE__ */ (0, import_jsx_runtime18.jsx)("div", { className: cn("flex flex-col gap-1.5 text-center sm:text-left", className), ...props });
1374
1477
  DialogHeader.displayName = "DialogHeader";
1375
- var DialogFooter = ({ className, ...props }) => /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(
1478
+ var DialogFooter = ({ className, ...props }) => /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
1376
1479
  "div",
1377
1480
  {
1378
1481
  className: cn("flex flex-col-reverse gap-2 sm:flex-row sm:justify-end", className),
@@ -1380,21 +1483,21 @@ var DialogFooter = ({ className, ...props }) => /* @__PURE__ */ (0, import_jsx_r
1380
1483
  }
1381
1484
  );
1382
1485
  DialogFooter.displayName = "DialogFooter";
1383
- var DialogTitle = React12.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(
1486
+ var DialogTitle = React13.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
1384
1487
  import_dialog.Dialog.Title,
1385
1488
  {
1386
1489
  ref,
1387
- render: /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(Typography, { variant: "h5", color: "default", as: "h2", className }),
1490
+ render: /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(Typography, { variant: "h5", color: "default", as: "h2", className }),
1388
1491
  ...props,
1389
1492
  children
1390
1493
  }
1391
1494
  ));
1392
1495
  DialogTitle.displayName = "DialogTitle";
1393
- var DialogDescription = React12.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(
1496
+ var DialogDescription = React13.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
1394
1497
  import_dialog.Dialog.Description,
1395
1498
  {
1396
1499
  ref,
1397
- render: /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(Typography, { variant: "small", color: "muted", className }),
1500
+ render: /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(Typography, { variant: "small", color: "muted", className }),
1398
1501
  ...props,
1399
1502
  children
1400
1503
  }
@@ -1402,16 +1505,16 @@ var DialogDescription = React12.forwardRef(({ className, children, ...props }, r
1402
1505
  DialogDescription.displayName = "DialogDescription";
1403
1506
 
1404
1507
  // src/components/alert-dialog/AlertDialog.tsx
1405
- var React13 = __toESM(require("react"), 1);
1508
+ var React14 = __toESM(require("react"), 1);
1406
1509
  var import_alert_dialog = require("@base-ui/react/alert-dialog");
1407
- var import_jsx_runtime17 = require("react/jsx-runtime");
1510
+ var import_jsx_runtime19 = require("react/jsx-runtime");
1408
1511
  var AlertDialog = import_alert_dialog.AlertDialog.Root;
1409
- var AlertDialogTrigger = React13.forwardRef(
1410
- ({ asChild, children, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(import_alert_dialog.AlertDialog.Trigger, { ref, render: asChildRender(asChild, children), ...props, children: asChild ? void 0 : children })
1512
+ var AlertDialogTrigger = React14.forwardRef(
1513
+ ({ asChild, children, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(import_alert_dialog.AlertDialog.Trigger, { ref, render: asChildRender(asChild, children), ...props, children: asChild ? void 0 : children })
1411
1514
  );
1412
1515
  AlertDialogTrigger.displayName = "AlertDialogTrigger";
1413
1516
  var AlertDialogPortal = import_alert_dialog.AlertDialog.Portal;
1414
- var AlertDialogOverlay = React13.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
1517
+ var AlertDialogOverlay = React14.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(
1415
1518
  import_alert_dialog.AlertDialog.Backdrop,
1416
1519
  {
1417
1520
  ref,
@@ -1423,9 +1526,9 @@ var AlertDialogOverlay = React13.forwardRef(({ className, ...props }, ref) => /*
1423
1526
  }
1424
1527
  ));
1425
1528
  AlertDialogOverlay.displayName = "AlertDialogOverlay";
1426
- var AlertDialogContent = React13.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime17.jsxs)(AlertDialogPortal, { children: [
1427
- /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(AlertDialogOverlay, {}),
1428
- /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
1529
+ var AlertDialogContent = React14.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime19.jsxs)(AlertDialogPortal, { children: [
1530
+ /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(AlertDialogOverlay, {}),
1531
+ /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(
1429
1532
  import_alert_dialog.AlertDialog.Popup,
1430
1533
  {
1431
1534
  ref,
@@ -1438,9 +1541,9 @@ var AlertDialogContent = React13.forwardRef(({ className, ...props }, ref) => /*
1438
1541
  )
1439
1542
  ] }));
1440
1543
  AlertDialogContent.displayName = "AlertDialogContent";
1441
- var AlertDialogHeader = ({ className, ...props }) => /* @__PURE__ */ (0, import_jsx_runtime17.jsx)("div", { className: cn("flex flex-col gap-1.5 text-center sm:text-left", className), ...props });
1544
+ var AlertDialogHeader = ({ className, ...props }) => /* @__PURE__ */ (0, import_jsx_runtime19.jsx)("div", { className: cn("flex flex-col gap-1.5 text-center sm:text-left", className), ...props });
1442
1545
  AlertDialogHeader.displayName = "AlertDialogHeader";
1443
- var AlertDialogFooter = ({ className, ...props }) => /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
1546
+ var AlertDialogFooter = ({ className, ...props }) => /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(
1444
1547
  "div",
1445
1548
  {
1446
1549
  className: cn("flex flex-col-reverse gap-2 sm:flex-row sm:justify-end", className),
@@ -1448,27 +1551,27 @@ var AlertDialogFooter = ({ className, ...props }) => /* @__PURE__ */ (0, import_
1448
1551
  }
1449
1552
  );
1450
1553
  AlertDialogFooter.displayName = "AlertDialogFooter";
1451
- var AlertDialogTitle = React13.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
1554
+ var AlertDialogTitle = React14.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(
1452
1555
  import_alert_dialog.AlertDialog.Title,
1453
1556
  {
1454
1557
  ref,
1455
- render: /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(Typography, { variant: "h5", color: "default", as: "h2", className }),
1558
+ render: /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(Typography, { variant: "h5", color: "default", as: "h2", className }),
1456
1559
  ...props,
1457
1560
  children
1458
1561
  }
1459
1562
  ));
1460
1563
  AlertDialogTitle.displayName = "AlertDialogTitle";
1461
- var AlertDialogDescription = React13.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
1564
+ var AlertDialogDescription = React14.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(
1462
1565
  import_alert_dialog.AlertDialog.Description,
1463
1566
  {
1464
1567
  ref,
1465
- render: /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(Typography, { variant: "small", color: "muted", className }),
1568
+ render: /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(Typography, { variant: "small", color: "muted", className }),
1466
1569
  ...props,
1467
1570
  children
1468
1571
  }
1469
1572
  ));
1470
1573
  AlertDialogDescription.displayName = "AlertDialogDescription";
1471
- var AlertDialogAction = React13.forwardRef(({ className, asChild, children, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
1574
+ var AlertDialogAction = React14.forwardRef(({ className, asChild, children, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(
1472
1575
  import_alert_dialog.AlertDialog.Close,
1473
1576
  {
1474
1577
  ref,
@@ -1479,7 +1582,7 @@ var AlertDialogAction = React13.forwardRef(({ className, asChild, children, ...p
1479
1582
  }
1480
1583
  ));
1481
1584
  AlertDialogAction.displayName = "AlertDialogAction";
1482
- var AlertDialogCancel = React13.forwardRef(({ className, asChild, children, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
1585
+ var AlertDialogCancel = React14.forwardRef(({ className, asChild, children, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(
1483
1586
  import_alert_dialog.AlertDialog.Close,
1484
1587
  {
1485
1588
  ref,
@@ -1492,21 +1595,21 @@ var AlertDialogCancel = React13.forwardRef(({ className, asChild, children, ...p
1492
1595
  AlertDialogCancel.displayName = "AlertDialogCancel";
1493
1596
 
1494
1597
  // src/components/dropdown-menu/DropdownMenu.tsx
1495
- var React14 = __toESM(require("react"), 1);
1598
+ var React15 = __toESM(require("react"), 1);
1496
1599
 
1497
1600
  // src/primitives/dropdown-menu.tsx
1498
1601
  var import_menu = require("@base-ui/react/menu");
1499
- var import_cn5 = require("cn");
1602
+ var import_cn6 = require("cn");
1500
1603
  var import_lucide_react3 = require("lucide-react");
1501
- var import_jsx_runtime18 = require("react/jsx-runtime");
1604
+ var import_jsx_runtime20 = require("react/jsx-runtime");
1502
1605
  function DropdownMenu({ ...props }) {
1503
- return /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(import_menu.Menu.Root, { "data-slot": "dropdown-menu", ...props });
1606
+ return /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(import_menu.Menu.Root, { "data-slot": "dropdown-menu", ...props });
1504
1607
  }
1505
1608
  function DropdownMenuPortal({ ...props }) {
1506
- return /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(import_menu.Menu.Portal, { "data-slot": "dropdown-menu-portal", ...props });
1609
+ return /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(import_menu.Menu.Portal, { "data-slot": "dropdown-menu-portal", ...props });
1507
1610
  }
1508
1611
  function DropdownMenuTrigger({ ...props }) {
1509
- return /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(import_menu.Menu.Trigger, { "data-slot": "dropdown-menu-trigger", ...props });
1612
+ return /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(import_menu.Menu.Trigger, { "data-slot": "dropdown-menu-trigger", ...props });
1510
1613
  }
1511
1614
  function DropdownMenuContent({
1512
1615
  align = "start",
@@ -1516,7 +1619,7 @@ function DropdownMenuContent({
1516
1619
  className,
1517
1620
  ...props
1518
1621
  }) {
1519
- return /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(import_menu.Menu.Portal, { children: /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
1622
+ return /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(import_menu.Menu.Portal, { children: /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(
1520
1623
  import_menu.Menu.Positioner,
1521
1624
  {
1522
1625
  className: "isolate z-50 outline-none",
@@ -1524,11 +1627,11 @@ function DropdownMenuContent({
1524
1627
  alignOffset,
1525
1628
  side,
1526
1629
  sideOffset,
1527
- children: /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
1630
+ children: /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(
1528
1631
  import_menu.Menu.Popup,
1529
1632
  {
1530
1633
  "data-slot": "dropdown-menu-content",
1531
- className: (0, import_cn5.cn)("z-50 max-h-(--available-height) w-(--anchor-width) min-w-32 origin-(--transform-origin) overflow-x-hidden overflow-y-auto rounded-lg bg-popover p-1 text-popover-foreground shadow-md ring-1 ring-foreground/10 duration-100 outline-none data-[side=bottom]:slide-in-from-top-2 data-[side=inline-end]:slide-in-from-left-2 data-[side=inline-start]:slide-in-from-right-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 data-open:animate-in data-open:fade-in-0 data-open:zoom-in-95 data-closed:animate-out data-closed:overflow-hidden data-closed:fade-out-0 data-closed:zoom-out-95", className),
1634
+ className: (0, import_cn6.cn)("z-50 max-h-(--available-height) w-(--anchor-width) min-w-32 origin-(--transform-origin) overflow-x-hidden overflow-y-auto rounded-lg bg-popover p-1 text-popover-foreground shadow-md ring-1 ring-foreground/10 duration-100 outline-none data-[side=bottom]:slide-in-from-top-2 data-[side=inline-end]:slide-in-from-left-2 data-[side=inline-start]:slide-in-from-right-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 data-open:animate-in data-open:fade-in-0 data-open:zoom-in-95 data-closed:animate-out data-closed:overflow-hidden data-closed:fade-out-0 data-closed:zoom-out-95", className),
1532
1635
  ...props
1533
1636
  }
1534
1637
  )
@@ -1536,19 +1639,19 @@ function DropdownMenuContent({
1536
1639
  ) });
1537
1640
  }
1538
1641
  function DropdownMenuGroup({ ...props }) {
1539
- return /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(import_menu.Menu.Group, { "data-slot": "dropdown-menu-group", ...props });
1642
+ return /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(import_menu.Menu.Group, { "data-slot": "dropdown-menu-group", ...props });
1540
1643
  }
1541
1644
  function DropdownMenuLabel({
1542
1645
  className,
1543
1646
  inset,
1544
1647
  ...props
1545
1648
  }) {
1546
- return /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
1649
+ return /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(
1547
1650
  import_menu.Menu.GroupLabel,
1548
1651
  {
1549
1652
  "data-slot": "dropdown-menu-label",
1550
1653
  "data-inset": inset,
1551
- className: (0, import_cn5.cn)(
1654
+ className: (0, import_cn6.cn)(
1552
1655
  "px-1.5 py-1 text-xs font-medium text-muted-foreground data-inset:pl-7",
1553
1656
  className
1554
1657
  ),
@@ -1562,13 +1665,13 @@ function DropdownMenuItem({
1562
1665
  variant = "default",
1563
1666
  ...props
1564
1667
  }) {
1565
- return /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
1668
+ return /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(
1566
1669
  import_menu.Menu.Item,
1567
1670
  {
1568
1671
  "data-slot": "dropdown-menu-item",
1569
1672
  "data-inset": inset,
1570
1673
  "data-variant": variant,
1571
- className: (0, import_cn5.cn)(
1674
+ className: (0, import_cn6.cn)(
1572
1675
  "group/dropdown-menu-item relative flex cursor-default items-center gap-1.5 rounded-md px-1.5 py-1 text-sm outline-hidden select-none focus:bg-accent focus:text-accent-foreground not-data-[variant=destructive]:focus:**:text-accent-foreground data-inset:pl-7 data-[variant=destructive]:text-destructive data-[variant=destructive]:focus:bg-destructive/10 data-[variant=destructive]:focus:text-destructive dark:data-[variant=destructive]:focus:bg-destructive/20 data-disabled:pointer-events-none data-disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4 data-[variant=destructive]:*:[svg]:text-destructive",
1573
1676
  className
1574
1677
  ),
@@ -1577,7 +1680,7 @@ function DropdownMenuItem({
1577
1680
  );
1578
1681
  }
1579
1682
  function DropdownMenuSub({ ...props }) {
1580
- return /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(import_menu.Menu.SubmenuRoot, { "data-slot": "dropdown-menu-sub", ...props });
1683
+ return /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(import_menu.Menu.SubmenuRoot, { "data-slot": "dropdown-menu-sub", ...props });
1581
1684
  }
1582
1685
  function DropdownMenuSubTrigger({
1583
1686
  className,
@@ -1585,19 +1688,19 @@ function DropdownMenuSubTrigger({
1585
1688
  children,
1586
1689
  ...props
1587
1690
  }) {
1588
- return /* @__PURE__ */ (0, import_jsx_runtime18.jsxs)(
1691
+ return /* @__PURE__ */ (0, import_jsx_runtime20.jsxs)(
1589
1692
  import_menu.Menu.SubmenuTrigger,
1590
1693
  {
1591
1694
  "data-slot": "dropdown-menu-sub-trigger",
1592
1695
  "data-inset": inset,
1593
- className: (0, import_cn5.cn)(
1696
+ className: (0, import_cn6.cn)(
1594
1697
  "flex cursor-default items-center gap-1.5 rounded-md px-1.5 py-1 text-sm outline-hidden select-none focus:bg-accent focus:text-accent-foreground not-data-[variant=destructive]:focus:**:text-accent-foreground data-inset:pl-7 data-popup-open:bg-accent data-popup-open:text-accent-foreground data-open:bg-accent data-open:text-accent-foreground [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",
1595
1698
  className
1596
1699
  ),
1597
1700
  ...props,
1598
1701
  children: [
1599
1702
  children,
1600
- /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(import_lucide_react3.ChevronRightIcon, { className: "ml-auto" })
1703
+ /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(import_lucide_react3.ChevronRightIcon, { className: "ml-auto" })
1601
1704
  ]
1602
1705
  }
1603
1706
  );
@@ -1610,11 +1713,11 @@ function DropdownMenuSubContent({
1610
1713
  className,
1611
1714
  ...props
1612
1715
  }) {
1613
- return /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
1716
+ return /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(
1614
1717
  DropdownMenuContent,
1615
1718
  {
1616
1719
  "data-slot": "dropdown-menu-sub-content",
1617
- className: (0, import_cn5.cn)("w-auto min-w-[96px] rounded-lg bg-popover p-1 text-popover-foreground shadow-lg ring-1 ring-foreground/10 duration-100 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 data-open:animate-in data-open:fade-in-0 data-open:zoom-in-95 data-closed:animate-out data-closed:fade-out-0 data-closed:zoom-out-95", className),
1720
+ className: (0, import_cn6.cn)("w-auto min-w-[96px] rounded-lg bg-popover p-1 text-popover-foreground shadow-lg ring-1 ring-foreground/10 duration-100 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 data-open:animate-in data-open:fade-in-0 data-open:zoom-in-95 data-closed:animate-out data-closed:fade-out-0 data-closed:zoom-out-95", className),
1618
1721
  align,
1619
1722
  alignOffset,
1620
1723
  side,
@@ -1630,24 +1733,24 @@ function DropdownMenuCheckboxItem({
1630
1733
  inset,
1631
1734
  ...props
1632
1735
  }) {
1633
- return /* @__PURE__ */ (0, import_jsx_runtime18.jsxs)(
1736
+ return /* @__PURE__ */ (0, import_jsx_runtime20.jsxs)(
1634
1737
  import_menu.Menu.CheckboxItem,
1635
1738
  {
1636
1739
  "data-slot": "dropdown-menu-checkbox-item",
1637
1740
  "data-inset": inset,
1638
- className: (0, import_cn5.cn)(
1741
+ className: (0, import_cn6.cn)(
1639
1742
  "relative flex cursor-default items-center gap-1.5 rounded-md py-1 pr-8 pl-1.5 text-sm outline-hidden select-none focus:bg-accent focus:text-accent-foreground focus:**:text-accent-foreground data-inset:pl-7 data-disabled:pointer-events-none data-disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",
1640
1743
  className
1641
1744
  ),
1642
1745
  checked,
1643
1746
  ...props,
1644
1747
  children: [
1645
- /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
1748
+ /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(
1646
1749
  "span",
1647
1750
  {
1648
1751
  className: "pointer-events-none absolute right-2 flex items-center justify-center",
1649
1752
  "data-slot": "dropdown-menu-checkbox-item-indicator",
1650
- children: /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(import_menu.Menu.CheckboxItemIndicator, { children: /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
1753
+ children: /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(import_menu.Menu.CheckboxItemIndicator, { children: /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(
1651
1754
  import_lucide_react3.CheckIcon,
1652
1755
  {}
1653
1756
  ) })
@@ -1659,7 +1762,7 @@ function DropdownMenuCheckboxItem({
1659
1762
  );
1660
1763
  }
1661
1764
  function DropdownMenuRadioGroup({ ...props }) {
1662
- return /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
1765
+ return /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(
1663
1766
  import_menu.Menu.RadioGroup,
1664
1767
  {
1665
1768
  "data-slot": "dropdown-menu-radio-group",
@@ -1673,23 +1776,23 @@ function DropdownMenuRadioItem({
1673
1776
  inset,
1674
1777
  ...props
1675
1778
  }) {
1676
- return /* @__PURE__ */ (0, import_jsx_runtime18.jsxs)(
1779
+ return /* @__PURE__ */ (0, import_jsx_runtime20.jsxs)(
1677
1780
  import_menu.Menu.RadioItem,
1678
1781
  {
1679
1782
  "data-slot": "dropdown-menu-radio-item",
1680
1783
  "data-inset": inset,
1681
- className: (0, import_cn5.cn)(
1784
+ className: (0, import_cn6.cn)(
1682
1785
  "relative flex cursor-default items-center gap-1.5 rounded-md py-1 pr-8 pl-1.5 text-sm outline-hidden select-none focus:bg-accent focus:text-accent-foreground focus:**:text-accent-foreground data-inset:pl-7 data-disabled:pointer-events-none data-disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",
1683
1786
  className
1684
1787
  ),
1685
1788
  ...props,
1686
1789
  children: [
1687
- /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
1790
+ /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(
1688
1791
  "span",
1689
1792
  {
1690
1793
  className: "pointer-events-none absolute right-2 flex items-center justify-center",
1691
1794
  "data-slot": "dropdown-menu-radio-item-indicator",
1692
- children: /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(import_menu.Menu.RadioItemIndicator, { children: /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
1795
+ children: /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(import_menu.Menu.RadioItemIndicator, { children: /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(
1693
1796
  import_lucide_react3.CheckIcon,
1694
1797
  {}
1695
1798
  ) })
@@ -1704,11 +1807,11 @@ function DropdownMenuSeparator({
1704
1807
  className,
1705
1808
  ...props
1706
1809
  }) {
1707
- return /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
1810
+ return /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(
1708
1811
  import_menu.Menu.Separator,
1709
1812
  {
1710
1813
  "data-slot": "dropdown-menu-separator",
1711
- className: (0, import_cn5.cn)("-mx-1 my-1 h-px bg-border", className),
1814
+ className: (0, import_cn6.cn)("-mx-1 my-1 h-px bg-border", className),
1712
1815
  ...props
1713
1816
  }
1714
1817
  );
@@ -1717,11 +1820,11 @@ function DropdownMenuShortcut({
1717
1820
  className,
1718
1821
  ...props
1719
1822
  }) {
1720
- return /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
1823
+ return /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(
1721
1824
  "span",
1722
1825
  {
1723
1826
  "data-slot": "dropdown-menu-shortcut",
1724
- className: (0, import_cn5.cn)(
1827
+ className: (0, import_cn6.cn)(
1725
1828
  "ml-auto text-xs tracking-widest text-muted-foreground group-focus/dropdown-menu-item:text-accent-foreground",
1726
1829
  className
1727
1830
  ),
@@ -1731,13 +1834,13 @@ function DropdownMenuShortcut({
1731
1834
  }
1732
1835
 
1733
1836
  // src/components/dropdown-menu/DropdownMenu.tsx
1734
- var import_jsx_runtime19 = require("react/jsx-runtime");
1735
- var DropdownMenuTrigger2 = React14.forwardRef(
1736
- ({ asChild, children, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(DropdownMenuTrigger, { ref, render: asChildRender(asChild, children), ...props, children: asChild ? void 0 : children })
1837
+ var import_jsx_runtime21 = require("react/jsx-runtime");
1838
+ var DropdownMenuTrigger2 = React15.forwardRef(
1839
+ ({ asChild, children, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(DropdownMenuTrigger, { ref, render: asChildRender(asChild, children), ...props, children: asChild ? void 0 : children })
1737
1840
  );
1738
1841
  DropdownMenuTrigger2.displayName = "DropdownMenuTrigger";
1739
- var DropdownMenuSubTrigger2 = React14.forwardRef(
1740
- ({ className, inset, asChild, children, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(
1842
+ var DropdownMenuSubTrigger2 = React15.forwardRef(
1843
+ ({ className, inset, asChild, children, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(
1741
1844
  DropdownMenuSubTrigger,
1742
1845
  {
1743
1846
  ref,
@@ -1754,8 +1857,8 @@ var DropdownMenuSubTrigger2 = React14.forwardRef(
1754
1857
  )
1755
1858
  );
1756
1859
  DropdownMenuSubTrigger2.displayName = "DropdownMenuSubTrigger";
1757
- var DropdownMenuSubContent2 = React14.forwardRef(
1758
- ({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(
1860
+ var DropdownMenuSubContent2 = React15.forwardRef(
1861
+ ({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(
1759
1862
  DropdownMenuSubContent,
1760
1863
  {
1761
1864
  ref,
@@ -1768,8 +1871,8 @@ var DropdownMenuSubContent2 = React14.forwardRef(
1768
1871
  )
1769
1872
  );
1770
1873
  DropdownMenuSubContent2.displayName = "DropdownMenuSubContent";
1771
- var DropdownMenuContent2 = React14.forwardRef(
1772
- ({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(
1874
+ var DropdownMenuContent2 = React15.forwardRef(
1875
+ ({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(
1773
1876
  DropdownMenuContent,
1774
1877
  {
1775
1878
  ref,
@@ -1782,8 +1885,8 @@ var DropdownMenuContent2 = React14.forwardRef(
1782
1885
  )
1783
1886
  );
1784
1887
  DropdownMenuContent2.displayName = "DropdownMenuContent";
1785
- var DropdownMenuItem2 = React14.forwardRef(
1786
- ({ className, inset, asChild, children, textValue, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(
1888
+ var DropdownMenuItem2 = React15.forwardRef(
1889
+ ({ className, inset, asChild, children, textValue, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(
1787
1890
  DropdownMenuItem,
1788
1891
  {
1789
1892
  ref,
@@ -1801,8 +1904,8 @@ var DropdownMenuItem2 = React14.forwardRef(
1801
1904
  )
1802
1905
  );
1803
1906
  DropdownMenuItem2.displayName = "DropdownMenuItem";
1804
- var DropdownMenuCheckboxItem2 = React14.forwardRef(
1805
- ({ className, children, asChild, textValue, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(
1907
+ var DropdownMenuCheckboxItem2 = React15.forwardRef(
1908
+ ({ className, children, asChild, textValue, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(
1806
1909
  DropdownMenuCheckboxItem,
1807
1910
  {
1808
1911
  ref,
@@ -1815,8 +1918,8 @@ var DropdownMenuCheckboxItem2 = React14.forwardRef(
1815
1918
  )
1816
1919
  );
1817
1920
  DropdownMenuCheckboxItem2.displayName = "DropdownMenuCheckboxItem";
1818
- var DropdownMenuRadioItem2 = React14.forwardRef(
1819
- ({ className, children, asChild, textValue, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(
1921
+ var DropdownMenuRadioItem2 = React15.forwardRef(
1922
+ ({ className, children, asChild, textValue, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(
1820
1923
  DropdownMenuRadioItem,
1821
1924
  {
1822
1925
  ref,
@@ -1829,8 +1932,8 @@ var DropdownMenuRadioItem2 = React14.forwardRef(
1829
1932
  )
1830
1933
  );
1831
1934
  DropdownMenuRadioItem2.displayName = "DropdownMenuRadioItem";
1832
- var DropdownMenuLabel2 = React14.forwardRef(
1833
- ({ className, inset, asChild, children, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(
1935
+ var DropdownMenuLabel2 = React15.forwardRef(
1936
+ ({ className, inset, asChild, children, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(
1834
1937
  DropdownMenuLabel,
1835
1938
  {
1836
1939
  ref,
@@ -1846,8 +1949,8 @@ var DropdownMenuLabel2 = React14.forwardRef(
1846
1949
  )
1847
1950
  );
1848
1951
  DropdownMenuLabel2.displayName = "DropdownMenuLabel";
1849
- var DropdownMenuSeparator2 = React14.forwardRef(
1850
- ({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(
1952
+ var DropdownMenuSeparator2 = React15.forwardRef(
1953
+ ({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(
1851
1954
  DropdownMenuSeparator,
1852
1955
  {
1853
1956
  ref,
@@ -1858,7 +1961,7 @@ var DropdownMenuSeparator2 = React14.forwardRef(
1858
1961
  );
1859
1962
  DropdownMenuSeparator2.displayName = "DropdownMenuSeparator";
1860
1963
  var DropdownMenuShortcut2 = ({ className, ...props }) => {
1861
- return /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(
1964
+ return /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(
1862
1965
  DropdownMenuShortcut,
1863
1966
  {
1864
1967
  className: cn("text-berget-muted-foreground", className),
@@ -1869,17 +1972,17 @@ var DropdownMenuShortcut2 = ({ className, ...props }) => {
1869
1972
  DropdownMenuShortcut2.displayName = "DropdownMenuShortcut";
1870
1973
 
1871
1974
  // src/components/tooltip/Tooltip.tsx
1872
- var React15 = __toESM(require("react"), 1);
1975
+ var React16 = __toESM(require("react"), 1);
1873
1976
 
1874
1977
  // src/primitives/tooltip.tsx
1875
1978
  var import_tooltip = require("@base-ui/react/tooltip");
1876
- var import_cn6 = require("cn");
1877
- var import_jsx_runtime20 = require("react/jsx-runtime");
1979
+ var import_cn7 = require("cn");
1980
+ var import_jsx_runtime22 = require("react/jsx-runtime");
1878
1981
  function TooltipProvider({
1879
1982
  delay = 0,
1880
1983
  ...props
1881
1984
  }) {
1882
- return /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(
1985
+ return /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(
1883
1986
  import_tooltip.Tooltip.Provider,
1884
1987
  {
1885
1988
  "data-slot": "tooltip-provider",
@@ -1889,10 +1992,10 @@ function TooltipProvider({
1889
1992
  );
1890
1993
  }
1891
1994
  function Tooltip({ ...props }) {
1892
- return /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(import_tooltip.Tooltip.Root, { "data-slot": "tooltip", ...props });
1995
+ return /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(import_tooltip.Tooltip.Root, { "data-slot": "tooltip", ...props });
1893
1996
  }
1894
1997
  function TooltipTrigger({ ...props }) {
1895
- return /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(import_tooltip.Tooltip.Trigger, { "data-slot": "tooltip-trigger", ...props });
1998
+ return /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(import_tooltip.Tooltip.Trigger, { "data-slot": "tooltip-trigger", ...props });
1896
1999
  }
1897
2000
  function TooltipContent({
1898
2001
  className,
@@ -1903,7 +2006,7 @@ function TooltipContent({
1903
2006
  children,
1904
2007
  ...props
1905
2008
  }) {
1906
- return /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(import_tooltip.Tooltip.Portal, { children: /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(
2009
+ return /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(import_tooltip.Tooltip.Portal, { children: /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(
1907
2010
  import_tooltip.Tooltip.Positioner,
1908
2011
  {
1909
2012
  align,
@@ -1911,18 +2014,18 @@ function TooltipContent({
1911
2014
  side,
1912
2015
  sideOffset,
1913
2016
  className: "isolate z-50",
1914
- children: /* @__PURE__ */ (0, import_jsx_runtime20.jsxs)(
2017
+ children: /* @__PURE__ */ (0, import_jsx_runtime22.jsxs)(
1915
2018
  import_tooltip.Tooltip.Popup,
1916
2019
  {
1917
2020
  "data-slot": "tooltip-content",
1918
- className: (0, import_cn6.cn)(
2021
+ className: (0, import_cn7.cn)(
1919
2022
  "z-50 inline-flex w-fit max-w-xs origin-(--transform-origin) items-center gap-1.5 rounded-md bg-foreground px-3 py-1.5 text-xs text-background has-data-[slot=kbd]:pr-1.5 data-[side=bottom]:slide-in-from-top-2 data-[side=inline-end]:slide-in-from-left-2 data-[side=inline-start]:slide-in-from-right-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 **:data-[slot=kbd]:relative **:data-[slot=kbd]:isolate **:data-[slot=kbd]:z-50 **:data-[slot=kbd]:rounded-sm data-[state=delayed-open]:animate-in data-[state=delayed-open]:fade-in-0 data-[state=delayed-open]:zoom-in-95 data-open:animate-in data-open:fade-in-0 data-open:zoom-in-95 data-closed:animate-out data-closed:fade-out-0 data-closed:zoom-out-95",
1920
2023
  className
1921
2024
  ),
1922
2025
  ...props,
1923
2026
  children: [
1924
2027
  children,
1925
- /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(import_tooltip.Tooltip.Arrow, { className: "z-50 size-2.5 translate-y-[calc(-50%-2px)] rotate-45 rounded-[2px] bg-foreground fill-foreground data-[side=bottom]:top-1 data-[side=inline-end]:top-1/2! data-[side=inline-end]:-left-1 data-[side=inline-end]:-translate-y-1/2 data-[side=inline-start]:top-1/2! data-[side=inline-start]:-right-1 data-[side=inline-start]:-translate-y-1/2 data-[side=left]:top-1/2! data-[side=left]:-right-1 data-[side=left]:-translate-y-1/2 data-[side=right]:top-1/2! data-[side=right]:-left-1 data-[side=right]:-translate-y-1/2 data-[side=top]:-bottom-2.5" })
2028
+ /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(import_tooltip.Tooltip.Arrow, { className: "z-50 size-2.5 translate-y-[calc(-50%-2px)] rotate-45 rounded-[2px] bg-foreground fill-foreground data-[side=bottom]:top-1 data-[side=inline-end]:top-1/2! data-[side=inline-end]:-left-1 data-[side=inline-end]:-translate-y-1/2 data-[side=inline-start]:top-1/2! data-[side=inline-start]:-right-1 data-[side=inline-start]:-translate-y-1/2 data-[side=left]:top-1/2! data-[side=left]:-right-1 data-[side=left]:-translate-y-1/2 data-[side=right]:top-1/2! data-[side=right]:-left-1 data-[side=right]:-translate-y-1/2 data-[side=top]:-bottom-2.5" })
1926
2029
  ]
1927
2030
  }
1928
2031
  )
@@ -1931,13 +2034,13 @@ function TooltipContent({
1931
2034
  }
1932
2035
 
1933
2036
  // src/components/tooltip/Tooltip.tsx
1934
- var import_jsx_runtime21 = require("react/jsx-runtime");
1935
- var TooltipTrigger2 = React15.forwardRef(
1936
- ({ asChild, children, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(TooltipTrigger, { ref, render: asChildRender(asChild, children), ...props, children: asChild ? void 0 : children })
2037
+ var import_jsx_runtime23 = require("react/jsx-runtime");
2038
+ var TooltipTrigger2 = React16.forwardRef(
2039
+ ({ asChild, children, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(TooltipTrigger, { ref, render: asChildRender(asChild, children), ...props, children: asChild ? void 0 : children })
1937
2040
  );
1938
2041
  TooltipTrigger2.displayName = "TooltipTrigger";
1939
- var TooltipContent2 = React15.forwardRef(
1940
- ({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(
2042
+ var TooltipContent2 = React16.forwardRef(
2043
+ ({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(
1941
2044
  TooltipContent,
1942
2045
  {
1943
2046
  ref,
@@ -1956,18 +2059,18 @@ var import_lucide_react5 = require("lucide-react");
1956
2059
  // src/primitives/navigation-menu.tsx
1957
2060
  var import_navigation_menu = require("@base-ui/react/navigation-menu");
1958
2061
  var import_class_variance_authority7 = require("class-variance-authority");
1959
- var import_cn7 = require("cn");
2062
+ var import_cn8 = require("cn");
1960
2063
  var import_lucide_react4 = require("lucide-react");
1961
- var import_jsx_runtime22 = require("react/jsx-runtime");
2064
+ var import_jsx_runtime24 = require("react/jsx-runtime");
1962
2065
  function NavigationMenuList({
1963
2066
  className,
1964
2067
  ...props
1965
2068
  }) {
1966
- return /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(
2069
+ return /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(
1967
2070
  import_navigation_menu.NavigationMenu.List,
1968
2071
  {
1969
2072
  "data-slot": "navigation-menu-list",
1970
- className: (0, import_cn7.cn)(
2073
+ className: (0, import_cn8.cn)(
1971
2074
  "group flex flex-1 list-none items-center justify-center gap-0",
1972
2075
  className
1973
2076
  ),
@@ -1979,11 +2082,11 @@ function NavigationMenuItem({
1979
2082
  className,
1980
2083
  ...props
1981
2084
  }) {
1982
- return /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(
2085
+ return /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(
1983
2086
  import_navigation_menu.NavigationMenu.Item,
1984
2087
  {
1985
2088
  "data-slot": "navigation-menu-item",
1986
- className: (0, import_cn7.cn)("relative", className),
2089
+ className: (0, import_cn8.cn)("relative", className),
1987
2090
  ...props
1988
2091
  }
1989
2092
  );
@@ -1995,11 +2098,11 @@ function NavigationMenuContent({
1995
2098
  className,
1996
2099
  ...props
1997
2100
  }) {
1998
- return /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(
2101
+ return /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(
1999
2102
  import_navigation_menu.NavigationMenu.Content,
2000
2103
  {
2001
2104
  "data-slot": "navigation-menu-content",
2002
- className: (0, import_cn7.cn)(
2105
+ className: (0, import_cn8.cn)(
2003
2106
  "data-ending-style:data-activation-direction=left:translate-x-[50%] data-ending-style:data-activation-direction=right:translate-x-[-50%] data-starting-style:data-activation-direction=left:translate-x-[-50%] data-starting-style:data-activation-direction=right:translate-x-[50%] h-full w-auto p-1 transition-[opacity,transform,translate] duration-[0.35s] ease-[cubic-bezier(0.22,1,0.36,1)] group-data-[viewport=false]/navigation-menu:rounded-lg group-data-[viewport=false]/navigation-menu:bg-popover group-data-[viewport=false]/navigation-menu:text-popover-foreground group-data-[viewport=false]/navigation-menu:shadow group-data-[viewport=false]/navigation-menu:ring-1 group-data-[viewport=false]/navigation-menu:ring-foreground/10 group-data-[viewport=false]/navigation-menu:duration-300 data-ending-style:opacity-0 data-starting-style:opacity-0 data-[motion=from-end]:slide-in-from-right-52 data-[motion=from-start]:slide-in-from-left-52 data-[motion=to-end]:slide-out-to-right-52 data-[motion=to-start]:slide-out-to-left-52 data-[motion^=from-]:animate-in data-[motion^=from-]:fade-in data-[motion^=to-]:animate-out data-[motion^=to-]:fade-out **:data-[slot=navigation-menu-link]:focus:ring-0 **:data-[slot=navigation-menu-link]:focus:outline-none group-data-[viewport=false]/navigation-menu:data-open:animate-in group-data-[viewport=false]/navigation-menu:data-open:fade-in-0 group-data-[viewport=false]/navigation-menu:data-open:zoom-in-95 group-data-[viewport=false]/navigation-menu:data-closed:animate-out group-data-[viewport=false]/navigation-menu:data-closed:fade-out-0 group-data-[viewport=false]/navigation-menu:data-closed:zoom-out-95",
2004
2107
  className
2005
2108
  ),
@@ -2011,29 +2114,29 @@ function NavigationMenuIndicator({
2011
2114
  className,
2012
2115
  ...props
2013
2116
  }) {
2014
- return /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(
2117
+ return /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(
2015
2118
  import_navigation_menu.NavigationMenu.Icon,
2016
2119
  {
2017
2120
  "data-slot": "navigation-menu-indicator",
2018
- className: (0, import_cn7.cn)(
2121
+ className: (0, import_cn8.cn)(
2019
2122
  "top-full z-1 flex h-1.5 items-end justify-center overflow-hidden data-[state=hidden]:animate-out data-[state=hidden]:fade-out data-[state=visible]:animate-in data-[state=visible]:fade-in",
2020
2123
  className
2021
2124
  ),
2022
2125
  ...props,
2023
- children: /* @__PURE__ */ (0, import_jsx_runtime22.jsx)("div", { className: "relative top-[60%] h-2 w-2 rotate-45 rounded-tl-sm bg-border shadow-md" })
2126
+ children: /* @__PURE__ */ (0, import_jsx_runtime24.jsx)("div", { className: "relative top-[60%] h-2 w-2 rotate-45 rounded-tl-sm bg-border shadow-md" })
2024
2127
  }
2025
2128
  );
2026
2129
  }
2027
2130
 
2028
2131
  // src/components/navigation-menu/NavigationMenu.tsx
2029
- var import_jsx_runtime23 = require("react/jsx-runtime");
2132
+ var import_jsx_runtime25 = require("react/jsx-runtime");
2030
2133
  function NavigationMenu({
2031
2134
  align = "start",
2032
2135
  className,
2033
2136
  children,
2034
2137
  ...props
2035
2138
  }) {
2036
- return /* @__PURE__ */ (0, import_jsx_runtime23.jsxs)(
2139
+ return /* @__PURE__ */ (0, import_jsx_runtime25.jsxs)(
2037
2140
  import_navigation_menu2.NavigationMenu.Root,
2038
2141
  {
2039
2142
  "data-slot": "navigation-menu",
@@ -2044,7 +2147,7 @@ function NavigationMenu({
2044
2147
  ...props,
2045
2148
  children: [
2046
2149
  children,
2047
- /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(NavigationMenuPositioner, { align })
2150
+ /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(NavigationMenuPositioner, { align })
2048
2151
  ]
2049
2152
  }
2050
2153
  );
@@ -2057,7 +2160,7 @@ function NavigationMenuTrigger({
2057
2160
  children,
2058
2161
  ...props
2059
2162
  }) {
2060
- return /* @__PURE__ */ (0, import_jsx_runtime23.jsxs)(
2163
+ return /* @__PURE__ */ (0, import_jsx_runtime25.jsxs)(
2061
2164
  import_navigation_menu2.NavigationMenu.Trigger,
2062
2165
  {
2063
2166
  "data-slot": "navigation-menu-trigger",
@@ -2066,7 +2169,7 @@ function NavigationMenuTrigger({
2066
2169
  children: [
2067
2170
  children,
2068
2171
  " ",
2069
- /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(
2172
+ /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
2070
2173
  import_lucide_react5.ChevronDown,
2071
2174
  {
2072
2175
  className: "relative top-px ml-1 size-3 transition duration-300 group-data-popup-open/navigation-menu-trigger:rotate-180 group-data-open/navigation-menu-trigger:rotate-180",
@@ -2078,7 +2181,7 @@ function NavigationMenuTrigger({
2078
2181
  );
2079
2182
  }
2080
2183
  function NavigationMenuLink({ className, ...props }) {
2081
- return /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(
2184
+ return /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
2082
2185
  import_navigation_menu2.NavigationMenu.Link,
2083
2186
  {
2084
2187
  "data-slot": "navigation-menu-link",
@@ -2098,7 +2201,7 @@ function NavigationMenuPositioner({
2098
2201
  alignOffset = 0,
2099
2202
  ...props
2100
2203
  }) {
2101
- return /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(import_navigation_menu2.NavigationMenu.Portal, { children: /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(
2204
+ return /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(import_navigation_menu2.NavigationMenu.Portal, { children: /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
2102
2205
  import_navigation_menu2.NavigationMenu.Positioner,
2103
2206
  {
2104
2207
  side,
@@ -2110,24 +2213,24 @@ function NavigationMenuPositioner({
2110
2213
  className
2111
2214
  ),
2112
2215
  ...props,
2113
- children: /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(import_navigation_menu2.NavigationMenu.Popup, { className: "data-[ending-style]:easing-[ease] xs:w-(--popup-width) relative h-(--popup-height) w-(--popup-width) origin-(--transform-origin) rounded-berget-xs bg-berget-popover text-berget-popover-foreground shadow-berget-lg ring-1 ring-berget-border transition-[opacity,transform,width,height,scale,translate] duration-[0.35s] ease-[cubic-bezier(0.22,1,0.36,1)] outline-none data-ending-style:scale-90 data-ending-style:opacity-0 data-ending-style:duration-150 data-starting-style:scale-90 data-starting-style:opacity-0", children: /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(import_navigation_menu2.NavigationMenu.Viewport, { className: "relative size-full overflow-hidden" }) })
2216
+ children: /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(import_navigation_menu2.NavigationMenu.Popup, { className: "data-[ending-style]:easing-[ease] xs:w-(--popup-width) relative h-(--popup-height) w-(--popup-width) origin-(--transform-origin) rounded-berget-xs bg-berget-popover text-berget-popover-foreground shadow-berget-lg ring-1 ring-berget-border transition-[opacity,transform,width,height,scale,translate] duration-[0.35s] ease-[cubic-bezier(0.22,1,0.36,1)] outline-none data-ending-style:scale-90 data-ending-style:opacity-0 data-ending-style:duration-150 data-starting-style:scale-90 data-starting-style:opacity-0", children: /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(import_navigation_menu2.NavigationMenu.Viewport, { className: "relative size-full overflow-hidden" }) })
2114
2217
  }
2115
2218
  ) });
2116
2219
  }
2117
2220
 
2118
2221
  // src/primitives/sidebar.tsx
2119
- var React17 = __toESM(require("react"), 1);
2222
+ var React18 = __toESM(require("react"), 1);
2120
2223
  var import_merge_props = require("@base-ui/react/merge-props");
2121
2224
  var import_use_render = require("@base-ui/react/use-render");
2122
2225
  var import_class_variance_authority9 = require("class-variance-authority");
2123
- var import_cn11 = require("cn");
2226
+ var import_cn12 = require("cn");
2124
2227
 
2125
2228
  // src/hooks/use-mobile.tsx
2126
- var React16 = __toESM(require("react"), 1);
2229
+ var React17 = __toESM(require("react"), 1);
2127
2230
  var MOBILE_BREAKPOINT = 768;
2128
2231
  function useIsMobile() {
2129
- const [isMobile, setIsMobile] = React16.useState(void 0);
2130
- React16.useEffect(() => {
2232
+ const [isMobile, setIsMobile] = React17.useState(void 0);
2233
+ React17.useEffect(() => {
2131
2234
  const mql = window.matchMedia(`(max-width: ${MOBILE_BREAKPOINT - 1}px)`);
2132
2235
  const onChange = () => {
2133
2236
  setIsMobile(window.innerWidth < MOBILE_BREAKPOINT);
@@ -2141,15 +2244,15 @@ function useIsMobile() {
2141
2244
 
2142
2245
  // src/primitives/input.tsx
2143
2246
  var import_input = require("@base-ui/react/input");
2144
- var import_cn8 = require("cn");
2145
- var import_jsx_runtime24 = require("react/jsx-runtime");
2247
+ var import_cn9 = require("cn");
2248
+ var import_jsx_runtime26 = require("react/jsx-runtime");
2146
2249
  function Input({ className, type, ...props }) {
2147
- return /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(
2250
+ return /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
2148
2251
  import_input.Input,
2149
2252
  {
2150
2253
  type,
2151
2254
  "data-slot": "input",
2152
- className: (0, import_cn8.cn)(
2255
+ className: (0, import_cn9.cn)(
2153
2256
  "h-8 w-full min-w-0 rounded-lg border border-input bg-input/30 px-2.5 py-1 text-base transition-colors outline-none file:inline-flex file:h-6 file:border-0 file:bg-transparent file:text-sm file:font-medium file:text-foreground placeholder:text-muted-foreground focus-visible:border-ring focus-visible:ring-3 focus-visible:ring-ring/50 disabled:pointer-events-none disabled:cursor-not-allowed disabled:bg-input/50 disabled:opacity-50 aria-invalid:border-destructive aria-invalid:ring-3 aria-invalid:ring-destructive/20 md:text-sm dark:disabled:bg-input/80 dark:aria-invalid:border-destructive/50 dark:aria-invalid:ring-destructive/40",
2154
2257
  className
2155
2258
  ),
@@ -2160,19 +2263,19 @@ function Input({ className, type, ...props }) {
2160
2263
 
2161
2264
  // src/primitives/separator.tsx
2162
2265
  var import_separator = require("@base-ui/react/separator");
2163
- var import_cn9 = require("cn");
2164
- var import_jsx_runtime25 = require("react/jsx-runtime");
2266
+ var import_cn10 = require("cn");
2267
+ var import_jsx_runtime27 = require("react/jsx-runtime");
2165
2268
  function Separator({
2166
2269
  className,
2167
2270
  orientation = "horizontal",
2168
2271
  ...props
2169
2272
  }) {
2170
- return /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
2273
+ return /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
2171
2274
  import_separator.Separator,
2172
2275
  {
2173
2276
  "data-slot": "separator",
2174
2277
  orientation,
2175
- className: (0, import_cn9.cn)(
2278
+ className: (0, import_cn10.cn)(
2176
2279
  "shrink-0 bg-border data-horizontal:h-px data-horizontal:w-full data-vertical:w-px data-vertical:self-stretch",
2177
2280
  className
2178
2281
  ),
@@ -2183,21 +2286,21 @@ function Separator({
2183
2286
 
2184
2287
  // src/primitives/sheet.tsx
2185
2288
  var import_dialog2 = require("@base-ui/react/dialog");
2186
- var import_cn10 = require("cn");
2289
+ var import_cn11 = require("cn");
2187
2290
  var import_lucide_react6 = require("lucide-react");
2188
- var import_jsx_runtime26 = require("react/jsx-runtime");
2291
+ var import_jsx_runtime28 = require("react/jsx-runtime");
2189
2292
  function Sheet({ ...props }) {
2190
- return /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(import_dialog2.Dialog.Root, { "data-slot": "sheet", ...props });
2293
+ return /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(import_dialog2.Dialog.Root, { "data-slot": "sheet", ...props });
2191
2294
  }
2192
2295
  function SheetPortal({ ...props }) {
2193
- return /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(import_dialog2.Dialog.Portal, { "data-slot": "sheet-portal", ...props });
2296
+ return /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(import_dialog2.Dialog.Portal, { "data-slot": "sheet-portal", ...props });
2194
2297
  }
2195
2298
  function SheetOverlay({ className, ...props }) {
2196
- return /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
2299
+ return /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
2197
2300
  import_dialog2.Dialog.Backdrop,
2198
2301
  {
2199
2302
  "data-slot": "sheet-overlay",
2200
- className: (0, import_cn10.cn)(
2303
+ className: (0, import_cn11.cn)(
2201
2304
  "fixed inset-0 z-50 bg-black/10 transition-opacity duration-150 data-ending-style:opacity-0 data-starting-style:opacity-0 supports-backdrop-filter:backdrop-blur-xs",
2202
2305
  className
2203
2306
  ),
@@ -2212,25 +2315,25 @@ function SheetContent({
2212
2315
  showCloseButton = true,
2213
2316
  ...props
2214
2317
  }) {
2215
- return /* @__PURE__ */ (0, import_jsx_runtime26.jsxs)(SheetPortal, { children: [
2216
- /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(SheetOverlay, {}),
2217
- /* @__PURE__ */ (0, import_jsx_runtime26.jsxs)(
2318
+ return /* @__PURE__ */ (0, import_jsx_runtime28.jsxs)(SheetPortal, { children: [
2319
+ /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(SheetOverlay, {}),
2320
+ /* @__PURE__ */ (0, import_jsx_runtime28.jsxs)(
2218
2321
  import_dialog2.Dialog.Popup,
2219
2322
  {
2220
2323
  "data-slot": "sheet-content",
2221
2324
  "data-side": side,
2222
- className: (0, import_cn10.cn)(
2325
+ className: (0, import_cn11.cn)(
2223
2326
  "fixed z-50 flex flex-col gap-4 bg-popover bg-clip-padding text-sm text-popover-foreground shadow-lg transition duration-200 ease-in-out data-ending-style:opacity-0 data-starting-style:opacity-0 data-[side=bottom]:inset-x-0 data-[side=bottom]:bottom-0 data-[side=bottom]:h-auto data-[side=bottom]:border-t data-[side=bottom]:data-ending-style:translate-y-[2.5rem] data-[side=bottom]:data-starting-style:translate-y-[2.5rem] 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-r data-[side=left]:data-ending-style:translate-x-[-2.5rem] data-[side=left]:data-starting-style:translate-x-[-2.5rem] 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-l data-[side=right]:data-ending-style:translate-x-[2.5rem] data-[side=right]:data-starting-style:translate-x-[2.5rem] data-[side=top]:inset-x-0 data-[side=top]:top-0 data-[side=top]:h-auto data-[side=top]:border-b data-[side=top]:data-ending-style:translate-y-[-2.5rem] data-[side=top]:data-starting-style:translate-y-[-2.5rem] data-[side=left]:sm:max-w-sm data-[side=right]:sm:max-w-sm",
2224
2327
  className
2225
2328
  ),
2226
2329
  ...props,
2227
2330
  children: [
2228
2331
  children,
2229
- showCloseButton && /* @__PURE__ */ (0, import_jsx_runtime26.jsxs)(
2332
+ showCloseButton && /* @__PURE__ */ (0, import_jsx_runtime28.jsxs)(
2230
2333
  import_dialog2.Dialog.Close,
2231
2334
  {
2232
2335
  "data-slot": "sheet-close",
2233
- render: /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
2336
+ render: /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
2234
2337
  Button,
2235
2338
  {
2236
2339
  variant: "ghost",
@@ -2239,11 +2342,11 @@ function SheetContent({
2239
2342
  }
2240
2343
  ),
2241
2344
  children: [
2242
- /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
2345
+ /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
2243
2346
  import_lucide_react6.XIcon,
2244
2347
  {}
2245
2348
  ),
2246
- /* @__PURE__ */ (0, import_jsx_runtime26.jsx)("span", { className: "sr-only", children: "Close" })
2349
+ /* @__PURE__ */ (0, import_jsx_runtime28.jsx)("span", { className: "sr-only", children: "Close" })
2247
2350
  ]
2248
2351
  }
2249
2352
  )
@@ -2253,21 +2356,21 @@ function SheetContent({
2253
2356
  ] });
2254
2357
  }
2255
2358
  function SheetHeader({ className, ...props }) {
2256
- return /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
2359
+ return /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
2257
2360
  "div",
2258
2361
  {
2259
2362
  "data-slot": "sheet-header",
2260
- className: (0, import_cn10.cn)("flex flex-col gap-0.5 p-4", className),
2363
+ className: (0, import_cn11.cn)("flex flex-col gap-0.5 p-4", className),
2261
2364
  ...props
2262
2365
  }
2263
2366
  );
2264
2367
  }
2265
2368
  function SheetTitle({ className, ...props }) {
2266
- return /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
2369
+ return /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
2267
2370
  import_dialog2.Dialog.Title,
2268
2371
  {
2269
2372
  "data-slot": "sheet-title",
2270
- className: (0, import_cn10.cn)(
2373
+ className: (0, import_cn11.cn)(
2271
2374
  "text-base font-medium text-foreground",
2272
2375
  className
2273
2376
  ),
@@ -2279,11 +2382,11 @@ function SheetDescription({
2279
2382
  className,
2280
2383
  ...props
2281
2384
  }) {
2282
- return /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
2385
+ return /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
2283
2386
  import_dialog2.Dialog.Description,
2284
2387
  {
2285
2388
  "data-slot": "sheet-description",
2286
- className: (0, import_cn10.cn)("text-sm text-muted-foreground", className),
2389
+ className: (0, import_cn11.cn)("text-sm text-muted-foreground", className),
2287
2390
  ...props
2288
2391
  }
2289
2392
  );
@@ -2291,16 +2394,16 @@ function SheetDescription({
2291
2394
 
2292
2395
  // src/primitives/sidebar.tsx
2293
2396
  var import_lucide_react7 = require("lucide-react");
2294
- var import_jsx_runtime27 = require("react/jsx-runtime");
2397
+ var import_jsx_runtime29 = require("react/jsx-runtime");
2295
2398
  var SIDEBAR_COOKIE_NAME = "sidebar_state";
2296
2399
  var SIDEBAR_COOKIE_MAX_AGE = 60 * 60 * 24 * 7;
2297
2400
  var SIDEBAR_WIDTH = "16rem";
2298
2401
  var SIDEBAR_WIDTH_MOBILE = "18rem";
2299
2402
  var SIDEBAR_WIDTH_ICON = "3rem";
2300
2403
  var SIDEBAR_KEYBOARD_SHORTCUT = "b";
2301
- var SidebarContext = React17.createContext(null);
2404
+ var SidebarContext = React18.createContext(null);
2302
2405
  function useSidebar() {
2303
- const context = React17.useContext(SidebarContext);
2406
+ const context = React18.useContext(SidebarContext);
2304
2407
  if (!context) {
2305
2408
  throw new Error("useSidebar must be used within a SidebarProvider.");
2306
2409
  }
@@ -2316,10 +2419,10 @@ function SidebarProvider({
2316
2419
  ...props
2317
2420
  }) {
2318
2421
  const isMobile = useIsMobile();
2319
- const [openMobile, setOpenMobile] = React17.useState(false);
2320
- const [_open, _setOpen] = React17.useState(defaultOpen);
2422
+ const [openMobile, setOpenMobile] = React18.useState(false);
2423
+ const [_open, _setOpen] = React18.useState(defaultOpen);
2321
2424
  const open = openProp ?? _open;
2322
- const setOpen = React17.useCallback(
2425
+ const setOpen = React18.useCallback(
2323
2426
  (value) => {
2324
2427
  const openState = typeof value === "function" ? value(open) : value;
2325
2428
  if (setOpenProp) {
@@ -2331,10 +2434,10 @@ function SidebarProvider({
2331
2434
  },
2332
2435
  [setOpenProp, open]
2333
2436
  );
2334
- const toggleSidebar = React17.useCallback(() => {
2437
+ const toggleSidebar = React18.useCallback(() => {
2335
2438
  return isMobile ? setOpenMobile((open2) => !open2) : setOpen((open2) => !open2);
2336
2439
  }, [isMobile, setOpen, setOpenMobile]);
2337
- React17.useEffect(() => {
2440
+ React18.useEffect(() => {
2338
2441
  const handleKeyDown = (event) => {
2339
2442
  if (event.key === SIDEBAR_KEYBOARD_SHORTCUT && (event.metaKey || event.ctrlKey)) {
2340
2443
  event.preventDefault();
@@ -2345,7 +2448,7 @@ function SidebarProvider({
2345
2448
  return () => window.removeEventListener("keydown", handleKeyDown);
2346
2449
  }, [toggleSidebar]);
2347
2450
  const state = open ? "expanded" : "collapsed";
2348
- const contextValue = React17.useMemo(
2451
+ const contextValue = React18.useMemo(
2349
2452
  () => ({
2350
2453
  state,
2351
2454
  open,
@@ -2357,7 +2460,7 @@ function SidebarProvider({
2357
2460
  }),
2358
2461
  [state, open, setOpen, isMobile, openMobile, setOpenMobile, toggleSidebar]
2359
2462
  );
2360
- return /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(SidebarContext.Provider, { value: contextValue, children: /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
2463
+ return /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(SidebarContext.Provider, { value: contextValue, children: /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(
2361
2464
  "div",
2362
2465
  {
2363
2466
  "data-slot": "sidebar-wrapper",
@@ -2366,7 +2469,7 @@ function SidebarProvider({
2366
2469
  "--sidebar-width-icon": SIDEBAR_WIDTH_ICON,
2367
2470
  ...style
2368
2471
  },
2369
- className: (0, import_cn11.cn)(
2472
+ className: (0, import_cn12.cn)(
2370
2473
  "group/sidebar-wrapper flex min-h-svh w-full has-data-[variant=inset]:bg-sidebar",
2371
2474
  className
2372
2475
  ),
@@ -2386,11 +2489,11 @@ function Sidebar({
2386
2489
  }) {
2387
2490
  const { isMobile, state, openMobile, setOpenMobile } = useSidebar();
2388
2491
  if (collapsible === "none") {
2389
- return /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
2492
+ return /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(
2390
2493
  "div",
2391
2494
  {
2392
2495
  "data-slot": "sidebar",
2393
- className: (0, import_cn11.cn)(
2496
+ className: (0, import_cn12.cn)(
2394
2497
  "flex h-full w-(--sidebar-width) flex-col bg-sidebar text-sidebar-foreground",
2395
2498
  className
2396
2499
  ),
@@ -2400,7 +2503,7 @@ function Sidebar({
2400
2503
  );
2401
2504
  }
2402
2505
  if (isMobile) {
2403
- return /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(Sheet, { open: openMobile, onOpenChange: setOpenMobile, ...props, children: /* @__PURE__ */ (0, import_jsx_runtime27.jsxs)(
2506
+ return /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(Sheet, { open: openMobile, onOpenChange: setOpenMobile, ...props, children: /* @__PURE__ */ (0, import_jsx_runtime29.jsxs)(
2404
2507
  SheetContent,
2405
2508
  {
2406
2509
  dir,
@@ -2413,16 +2516,16 @@ function Sidebar({
2413
2516
  },
2414
2517
  side,
2415
2518
  children: [
2416
- /* @__PURE__ */ (0, import_jsx_runtime27.jsxs)(SheetHeader, { className: "sr-only", children: [
2417
- /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(SheetTitle, { children: "Sidebar" }),
2418
- /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(SheetDescription, { children: "Displays the mobile sidebar." })
2519
+ /* @__PURE__ */ (0, import_jsx_runtime29.jsxs)(SheetHeader, { className: "sr-only", children: [
2520
+ /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(SheetTitle, { children: "Sidebar" }),
2521
+ /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(SheetDescription, { children: "Displays the mobile sidebar." })
2419
2522
  ] }),
2420
- /* @__PURE__ */ (0, import_jsx_runtime27.jsx)("div", { className: "flex h-full w-full flex-col", children })
2523
+ /* @__PURE__ */ (0, import_jsx_runtime29.jsx)("div", { className: "flex h-full w-full flex-col", children })
2421
2524
  ]
2422
2525
  }
2423
2526
  ) });
2424
2527
  }
2425
- return /* @__PURE__ */ (0, import_jsx_runtime27.jsxs)(
2528
+ return /* @__PURE__ */ (0, import_jsx_runtime29.jsxs)(
2426
2529
  "div",
2427
2530
  {
2428
2531
  className: "group peer hidden text-sidebar-foreground md:block",
@@ -2432,11 +2535,11 @@ function Sidebar({
2432
2535
  "data-side": side,
2433
2536
  "data-slot": "sidebar",
2434
2537
  children: [
2435
- /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
2538
+ /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(
2436
2539
  "div",
2437
2540
  {
2438
2541
  "data-slot": "sidebar-gap",
2439
- className: (0, import_cn11.cn)(
2542
+ className: (0, import_cn12.cn)(
2440
2543
  "relative w-(--sidebar-width) bg-transparent transition-[width] duration-200 ease-linear",
2441
2544
  "group-data-[collapsible=offcanvas]:w-0",
2442
2545
  "group-data-[side=right]:rotate-180",
@@ -2444,19 +2547,19 @@ function Sidebar({
2444
2547
  )
2445
2548
  }
2446
2549
  ),
2447
- /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
2550
+ /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(
2448
2551
  "div",
2449
2552
  {
2450
2553
  "data-slot": "sidebar-container",
2451
2554
  "data-side": side,
2452
- className: (0, import_cn11.cn)(
2555
+ className: (0, import_cn12.cn)(
2453
2556
  "fixed inset-y-0 z-10 hidden h-svh w-(--sidebar-width) transition-[left,right,width] duration-200 ease-linear data-[side=left]:left-0 data-[side=left]:group-data-[collapsible=offcanvas]:left-[calc(var(--sidebar-width)*-1)] data-[side=right]:right-0 data-[side=right]:group-data-[collapsible=offcanvas]:right-[calc(var(--sidebar-width)*-1)] md:flex",
2454
2557
  // Adjust the padding for floating and inset variants.
2455
2558
  variant === "floating" || variant === "inset" ? "p-2 group-data-[collapsible=icon]:w-[calc(var(--sidebar-width-icon)+(--spacing(4))+2px)]" : "group-data-[collapsible=icon]:w-(--sidebar-width-icon) group-data-[side=left]:border-r group-data-[side=right]:border-l",
2456
2559
  className
2457
2560
  ),
2458
2561
  ...props,
2459
- children: /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
2562
+ children: /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(
2460
2563
  "div",
2461
2564
  {
2462
2565
  "data-sidebar": "sidebar",
@@ -2477,29 +2580,29 @@ function SidebarTrigger({
2477
2580
  ...props
2478
2581
  }) {
2479
2582
  const { toggleSidebar } = useSidebar();
2480
- return /* @__PURE__ */ (0, import_jsx_runtime27.jsxs)(
2583
+ return /* @__PURE__ */ (0, import_jsx_runtime29.jsxs)(
2481
2584
  Button,
2482
2585
  {
2483
2586
  "data-sidebar": "trigger",
2484
2587
  "data-slot": "sidebar-trigger",
2485
2588
  variant: "ghost",
2486
2589
  size: "icon-sm",
2487
- className: (0, import_cn11.cn)(className),
2590
+ className: (0, import_cn12.cn)(className),
2488
2591
  onClick: (event) => {
2489
2592
  onClick?.(event);
2490
2593
  toggleSidebar();
2491
2594
  },
2492
2595
  ...props,
2493
2596
  children: [
2494
- /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(import_lucide_react7.PanelLeftIcon, {}),
2495
- /* @__PURE__ */ (0, import_jsx_runtime27.jsx)("span", { className: "sr-only", children: "Toggle Sidebar" })
2597
+ /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(import_lucide_react7.PanelLeftIcon, {}),
2598
+ /* @__PURE__ */ (0, import_jsx_runtime29.jsx)("span", { className: "sr-only", children: "Toggle Sidebar" })
2496
2599
  ]
2497
2600
  }
2498
2601
  );
2499
2602
  }
2500
2603
  function SidebarRail({ className, ...props }) {
2501
2604
  const { toggleSidebar } = useSidebar();
2502
- return /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
2605
+ return /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(
2503
2606
  "button",
2504
2607
  {
2505
2608
  "data-sidebar": "rail",
@@ -2508,7 +2611,7 @@ function SidebarRail({ className, ...props }) {
2508
2611
  tabIndex: -1,
2509
2612
  onClick: toggleSidebar,
2510
2613
  title: "Toggle Sidebar",
2511
- className: (0, import_cn11.cn)(
2614
+ className: (0, import_cn12.cn)(
2512
2615
  "absolute inset-y-0 z-20 hidden w-4 transition-all ease-linear group-data-[side=left]:-right-4 group-data-[side=right]:left-0 after:absolute after:inset-y-0 after:start-1/2 after:w-[2px] hover:after:bg-sidebar-border sm:flex ltr:-translate-x-1/2 rtl:-translate-x-1/2",
2513
2616
  "in-data-[side=left]:cursor-w-resize in-data-[side=right]:cursor-e-resize",
2514
2617
  "[[data-side=left][data-state=collapsed]_&]:cursor-e-resize [[data-side=right][data-state=collapsed]_&]:cursor-w-resize",
@@ -2522,11 +2625,11 @@ function SidebarRail({ className, ...props }) {
2522
2625
  );
2523
2626
  }
2524
2627
  function SidebarInset({ className, ...props }) {
2525
- return /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
2628
+ return /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(
2526
2629
  "main",
2527
2630
  {
2528
2631
  "data-slot": "sidebar-inset",
2529
- className: (0, import_cn11.cn)(
2632
+ className: (0, import_cn12.cn)(
2530
2633
  "relative flex w-full flex-1 flex-col bg-background md:peer-data-[variant=inset]:m-2 md:peer-data-[variant=inset]:ml-0 md:peer-data-[variant=inset]:rounded-xl md:peer-data-[variant=inset]:shadow-sm md:peer-data-[variant=inset]:peer-data-[state=collapsed]:ml-2",
2531
2634
  className
2532
2635
  ),
@@ -2538,34 +2641,34 @@ function SidebarInput({
2538
2641
  className,
2539
2642
  ...props
2540
2643
  }) {
2541
- return /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
2644
+ return /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(
2542
2645
  Input,
2543
2646
  {
2544
2647
  "data-slot": "sidebar-input",
2545
2648
  "data-sidebar": "input",
2546
- className: (0, import_cn11.cn)("h-8 w-full bg-background shadow-none", className),
2649
+ className: (0, import_cn12.cn)("h-8 w-full bg-background shadow-none", className),
2547
2650
  ...props
2548
2651
  }
2549
2652
  );
2550
2653
  }
2551
2654
  function SidebarHeader({ className, ...props }) {
2552
- return /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
2655
+ return /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(
2553
2656
  "div",
2554
2657
  {
2555
2658
  "data-slot": "sidebar-header",
2556
2659
  "data-sidebar": "header",
2557
- className: (0, import_cn11.cn)("flex flex-col gap-2 p-2", className),
2660
+ className: (0, import_cn12.cn)("flex flex-col gap-2 p-2", className),
2558
2661
  ...props
2559
2662
  }
2560
2663
  );
2561
2664
  }
2562
2665
  function SidebarFooter({ className, ...props }) {
2563
- return /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
2666
+ return /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(
2564
2667
  "div",
2565
2668
  {
2566
2669
  "data-slot": "sidebar-footer",
2567
2670
  "data-sidebar": "footer",
2568
- className: (0, import_cn11.cn)("flex flex-col gap-2 p-2", className),
2671
+ className: (0, import_cn12.cn)("flex flex-col gap-2 p-2", className),
2569
2672
  ...props
2570
2673
  }
2571
2674
  );
@@ -2574,23 +2677,23 @@ function SidebarSeparator({
2574
2677
  className,
2575
2678
  ...props
2576
2679
  }) {
2577
- return /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
2680
+ return /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(
2578
2681
  Separator,
2579
2682
  {
2580
2683
  "data-slot": "sidebar-separator",
2581
2684
  "data-sidebar": "separator",
2582
- className: (0, import_cn11.cn)("mx-2 w-auto bg-sidebar-border", className),
2685
+ className: (0, import_cn12.cn)("mx-2 w-auto bg-sidebar-border", className),
2583
2686
  ...props
2584
2687
  }
2585
2688
  );
2586
2689
  }
2587
2690
  function SidebarContent({ className, ...props }) {
2588
- return /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
2691
+ return /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(
2589
2692
  "div",
2590
2693
  {
2591
2694
  "data-slot": "sidebar-content",
2592
2695
  "data-sidebar": "content",
2593
- className: (0, import_cn11.cn)(
2696
+ className: (0, import_cn12.cn)(
2594
2697
  "no-scrollbar flex min-h-0 flex-1 flex-col gap-0 overflow-auto group-data-[collapsible=icon]:overflow-hidden",
2595
2698
  className
2596
2699
  ),
@@ -2599,12 +2702,12 @@ function SidebarContent({ className, ...props }) {
2599
2702
  );
2600
2703
  }
2601
2704
  function SidebarGroup({ className, ...props }) {
2602
- return /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
2705
+ return /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(
2603
2706
  "div",
2604
2707
  {
2605
2708
  "data-slot": "sidebar-group",
2606
2709
  "data-sidebar": "group",
2607
- className: (0, import_cn11.cn)("relative flex w-full min-w-0 flex-col p-2", className),
2710
+ className: (0, import_cn12.cn)("relative flex w-full min-w-0 flex-col p-2", className),
2608
2711
  ...props
2609
2712
  }
2610
2713
  );
@@ -2618,7 +2721,7 @@ function SidebarGroupLabel({
2618
2721
  defaultTagName: "div",
2619
2722
  props: (0, import_merge_props.mergeProps)(
2620
2723
  {
2621
- className: (0, import_cn11.cn)(
2724
+ className: (0, import_cn12.cn)(
2622
2725
  "flex h-8 shrink-0 items-center rounded-md px-2 text-xs font-medium text-sidebar-foreground/70 ring-sidebar-ring outline-hidden transition-[margin,opacity] duration-200 ease-linear group-data-[collapsible=icon]:-mt-8 group-data-[collapsible=icon]:opacity-0 focus-visible:ring-2 [&>svg]:size-4 [&>svg]:shrink-0",
2623
2726
  className
2624
2727
  )
@@ -2641,7 +2744,7 @@ function SidebarGroupAction({
2641
2744
  defaultTagName: "button",
2642
2745
  props: (0, import_merge_props.mergeProps)(
2643
2746
  {
2644
- className: (0, import_cn11.cn)(
2747
+ className: (0, import_cn12.cn)(
2645
2748
  "absolute top-3.5 right-3 flex aspect-square w-5 items-center justify-center rounded-md p-0 text-sidebar-foreground ring-sidebar-ring outline-hidden transition-transform group-data-[collapsible=icon]:hidden after:absolute after:-inset-2 hover:bg-sidebar-accent hover:text-sidebar-accent-foreground focus-visible:ring-2 md:after:hidden [&>svg]:size-4 [&>svg]:shrink-0",
2646
2749
  className
2647
2750
  )
@@ -2659,34 +2762,34 @@ function SidebarGroupContent({
2659
2762
  className,
2660
2763
  ...props
2661
2764
  }) {
2662
- return /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
2765
+ return /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(
2663
2766
  "div",
2664
2767
  {
2665
2768
  "data-slot": "sidebar-group-content",
2666
2769
  "data-sidebar": "group-content",
2667
- className: (0, import_cn11.cn)("w-full text-sm", className),
2770
+ className: (0, import_cn12.cn)("w-full text-sm", className),
2668
2771
  ...props
2669
2772
  }
2670
2773
  );
2671
2774
  }
2672
2775
  function SidebarMenu({ className, ...props }) {
2673
- return /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
2776
+ return /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(
2674
2777
  "ul",
2675
2778
  {
2676
2779
  "data-slot": "sidebar-menu",
2677
2780
  "data-sidebar": "menu",
2678
- className: (0, import_cn11.cn)("flex w-full min-w-0 flex-col gap-0", className),
2781
+ className: (0, import_cn12.cn)("flex w-full min-w-0 flex-col gap-0", className),
2679
2782
  ...props
2680
2783
  }
2681
2784
  );
2682
2785
  }
2683
2786
  function SidebarMenuItem({ className, ...props }) {
2684
- return /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
2787
+ return /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(
2685
2788
  "li",
2686
2789
  {
2687
2790
  "data-slot": "sidebar-menu-item",
2688
2791
  "data-sidebar": "menu-item",
2689
- className: (0, import_cn11.cn)("group/menu-item relative", className),
2792
+ className: (0, import_cn12.cn)("group/menu-item relative", className),
2690
2793
  ...props
2691
2794
  }
2692
2795
  );
@@ -2725,11 +2828,11 @@ function SidebarMenuButton({
2725
2828
  defaultTagName: "button",
2726
2829
  props: (0, import_merge_props.mergeProps)(
2727
2830
  {
2728
- className: (0, import_cn11.cn)(sidebarMenuButtonVariants({ variant, size }), className)
2831
+ className: (0, import_cn12.cn)(sidebarMenuButtonVariants({ variant, size }), className)
2729
2832
  },
2730
2833
  props
2731
2834
  ),
2732
- render: !tooltip ? render : /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(TooltipTrigger, { render }),
2835
+ render: !tooltip ? render : /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(TooltipTrigger, { render }),
2733
2836
  state: {
2734
2837
  slot: "sidebar-menu-button",
2735
2838
  sidebar: "menu-button",
@@ -2745,9 +2848,9 @@ function SidebarMenuButton({
2745
2848
  children: tooltip
2746
2849
  };
2747
2850
  }
2748
- return /* @__PURE__ */ (0, import_jsx_runtime27.jsxs)(Tooltip, { children: [
2851
+ return /* @__PURE__ */ (0, import_jsx_runtime29.jsxs)(Tooltip, { children: [
2749
2852
  comp,
2750
- /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
2853
+ /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(
2751
2854
  TooltipContent,
2752
2855
  {
2753
2856
  side: "right",
@@ -2768,7 +2871,7 @@ function SidebarMenuAction({
2768
2871
  defaultTagName: "button",
2769
2872
  props: (0, import_merge_props.mergeProps)(
2770
2873
  {
2771
- className: (0, import_cn11.cn)(
2874
+ className: (0, import_cn12.cn)(
2772
2875
  "absolute top-1.5 right-1 flex aspect-square w-5 items-center justify-center rounded-md p-0 text-sidebar-foreground ring-sidebar-ring outline-hidden transition-transform group-data-[collapsible=icon]:hidden peer-hover/menu-button:text-sidebar-accent-foreground peer-data-[size=default]/menu-button:top-1.5 peer-data-[size=lg]/menu-button:top-2.5 peer-data-[size=sm]/menu-button:top-1 after:absolute after:-inset-2 hover:bg-sidebar-accent hover:text-sidebar-accent-foreground focus-visible:ring-2 md:after:hidden [&>svg]:size-4 [&>svg]:shrink-0",
2773
2876
  showOnHover && "group-focus-within/menu-item:opacity-100 group-hover/menu-item:opacity-100 peer-data-active/menu-button:text-sidebar-accent-foreground aria-expanded:opacity-100 md:opacity-0",
2774
2877
  className
@@ -2787,12 +2890,12 @@ function SidebarMenuBadge({
2787
2890
  className,
2788
2891
  ...props
2789
2892
  }) {
2790
- return /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
2893
+ return /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(
2791
2894
  "div",
2792
2895
  {
2793
2896
  "data-slot": "sidebar-menu-badge",
2794
2897
  "data-sidebar": "menu-badge",
2795
- className: (0, import_cn11.cn)(
2898
+ className: (0, import_cn12.cn)(
2796
2899
  "pointer-events-none absolute right-1 flex h-5 min-w-5 items-center justify-center rounded-md px-1 text-xs font-medium text-sidebar-foreground tabular-nums select-none group-data-[collapsible=icon]:hidden peer-hover/menu-button:text-sidebar-accent-foreground peer-data-[size=default]/menu-button:top-1.5 peer-data-[size=lg]/menu-button:top-2.5 peer-data-[size=sm]/menu-button:top-1 peer-data-active/menu-button:text-sidebar-accent-foreground",
2797
2900
  className
2798
2901
  ),
@@ -2805,25 +2908,25 @@ function SidebarMenuSkeleton({
2805
2908
  showIcon = false,
2806
2909
  ...props
2807
2910
  }) {
2808
- const [width] = React17.useState(() => {
2911
+ const [width] = React18.useState(() => {
2809
2912
  return `${Math.floor(Math.random() * 40) + 50}%`;
2810
2913
  });
2811
- return /* @__PURE__ */ (0, import_jsx_runtime27.jsxs)(
2914
+ return /* @__PURE__ */ (0, import_jsx_runtime29.jsxs)(
2812
2915
  "div",
2813
2916
  {
2814
2917
  "data-slot": "sidebar-menu-skeleton",
2815
2918
  "data-sidebar": "menu-skeleton",
2816
- className: (0, import_cn11.cn)("flex h-8 items-center gap-2 rounded-md px-2", className),
2919
+ className: (0, import_cn12.cn)("flex h-8 items-center gap-2 rounded-md px-2", className),
2817
2920
  ...props,
2818
2921
  children: [
2819
- showIcon && /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
2922
+ showIcon && /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(
2820
2923
  Skeleton,
2821
2924
  {
2822
2925
  className: "size-4 rounded-md",
2823
2926
  "data-sidebar": "menu-skeleton-icon"
2824
2927
  }
2825
2928
  ),
2826
- /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
2929
+ /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(
2827
2930
  Skeleton,
2828
2931
  {
2829
2932
  className: "h-4 max-w-(--skeleton-width) flex-1",
@@ -2838,12 +2941,12 @@ function SidebarMenuSkeleton({
2838
2941
  );
2839
2942
  }
2840
2943
  function SidebarMenuSub({ className, ...props }) {
2841
- return /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
2944
+ return /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(
2842
2945
  "ul",
2843
2946
  {
2844
2947
  "data-slot": "sidebar-menu-sub",
2845
2948
  "data-sidebar": "menu-sub",
2846
- className: (0, import_cn11.cn)(
2949
+ className: (0, import_cn12.cn)(
2847
2950
  "mx-3.5 flex min-w-0 translate-x-px flex-col gap-1 border-l border-sidebar-border px-2.5 py-0.5 group-data-[collapsible=icon]:hidden",
2848
2951
  className
2849
2952
  ),
@@ -2855,12 +2958,12 @@ function SidebarMenuSubItem({
2855
2958
  className,
2856
2959
  ...props
2857
2960
  }) {
2858
- return /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
2961
+ return /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(
2859
2962
  "li",
2860
2963
  {
2861
2964
  "data-slot": "sidebar-menu-sub-item",
2862
2965
  "data-sidebar": "menu-sub-item",
2863
- className: (0, import_cn11.cn)("group/menu-sub-item relative", className),
2966
+ className: (0, import_cn12.cn)("group/menu-sub-item relative", className),
2864
2967
  ...props
2865
2968
  }
2866
2969
  );
@@ -2876,7 +2979,7 @@ function SidebarMenuSubButton({
2876
2979
  defaultTagName: "a",
2877
2980
  props: (0, import_merge_props.mergeProps)(
2878
2981
  {
2879
- className: (0, import_cn11.cn)(
2982
+ className: (0, import_cn12.cn)(
2880
2983
  "flex h-7 min-w-0 -translate-x-px items-center gap-2 overflow-hidden rounded-md px-2 text-sidebar-foreground ring-sidebar-ring outline-hidden group-data-[collapsible=icon]:hidden hover:bg-sidebar-accent hover:text-sidebar-accent-foreground focus-visible:ring-2 active:bg-sidebar-accent active:text-sidebar-accent-foreground disabled:pointer-events-none disabled:opacity-50 aria-disabled:pointer-events-none aria-disabled:opacity-50 data-[size=md]:text-sm data-[size=sm]:text-xs data-active:bg-sidebar-accent data-active:text-sidebar-accent-foreground [&>span:last-child]:truncate [&>svg]:size-4 [&>svg]:shrink-0 [&>svg]:text-sidebar-accent-foreground",
2881
2984
  className
2882
2985
  )
@@ -2894,7 +2997,7 @@ function SidebarMenuSubButton({
2894
2997
  }
2895
2998
 
2896
2999
  // src/components/sidebar/Sidebar.tsx
2897
- var import_jsx_runtime28 = require("react/jsx-runtime");
3000
+ var import_jsx_runtime30 = require("react/jsx-runtime");
2898
3001
  var iconModeButtonClasses = "group-data-[collapsible=icon]:w-10! group-data-[collapsible=icon]:h-10! group-data-[collapsible=icon]:px-3!";
2899
3002
  var sizingMenuButtonClasses = "text-base px-3 py-2 h-auto";
2900
3003
  var sizingSubButtonClasses = "data-[size=md]:text-base data-[size=sm]:text-base px-3 py-2 h-auto";
@@ -2902,7 +3005,7 @@ function SidebarGroupLabel2({
2902
3005
  className,
2903
3006
  ...props
2904
3007
  }) {
2905
- return /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
3008
+ return /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(
2906
3009
  SidebarGroupLabel,
2907
3010
  {
2908
3011
  className: cn("px-3 uppercase tracking-caption", className),
@@ -2915,7 +3018,7 @@ function SidebarProvider2({
2915
3018
  style,
2916
3019
  ...props
2917
3020
  }) {
2918
- return /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
3021
+ return /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(
2919
3022
  SidebarProvider,
2920
3023
  {
2921
3024
  className,
@@ -2928,10 +3031,10 @@ function SidebarProvider2({
2928
3031
  );
2929
3032
  }
2930
3033
  function SidebarInset2({ className, ...props }) {
2931
- return /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(SidebarInset, { className: cn("min-w-0", className), ...props });
3034
+ return /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(SidebarInset, { className: cn("min-w-0", className), ...props });
2932
3035
  }
2933
3036
  function SidebarGroup2({ className, ...props }) {
2934
- return /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
3037
+ return /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(
2935
3038
  SidebarGroup,
2936
3039
  {
2937
3040
  className: cn("group-data-[collapsible=icon]:px-2.5", className),
@@ -2943,7 +3046,7 @@ function SidebarFooter2({
2943
3046
  className,
2944
3047
  ...props
2945
3048
  }) {
2946
- return /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
3049
+ return /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(
2947
3050
  SidebarFooter,
2948
3051
  {
2949
3052
  className: cn(
@@ -2958,7 +3061,7 @@ function SidebarHeader2({
2958
3061
  className,
2959
3062
  ...props
2960
3063
  }) {
2961
- return /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
3064
+ return /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(
2962
3065
  SidebarHeader,
2963
3066
  {
2964
3067
  className: cn(
@@ -2970,8 +3073,8 @@ function SidebarHeader2({
2970
3073
  );
2971
3074
  }
2972
3075
  function SidebarLogo() {
2973
- return /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(SidebarHeader, { className: "px-0", children: /* @__PURE__ */ (0, import_jsx_runtime28.jsxs)("div", { className: "relative flex h-15 items-center overflow-hidden px-5", children: [
2974
- /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
3076
+ return /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(SidebarHeader, { className: "px-0", children: /* @__PURE__ */ (0, import_jsx_runtime30.jsxs)("div", { className: "relative flex h-15 items-center overflow-hidden px-5", children: [
3077
+ /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(
2975
3078
  BergetLogo,
2976
3079
  {
2977
3080
  variant: "logotype",
@@ -2979,11 +3082,11 @@ function SidebarLogo() {
2979
3082
  className: "shrink-0 transition-[opacity,visibility] duration-150 group-data-[collapsible=icon]:pointer-events-none group-data-[collapsible=icon]:invisible group-data-[collapsible=icon]:opacity-0"
2980
3083
  }
2981
3084
  ),
2982
- /* @__PURE__ */ (0, import_jsx_runtime28.jsx)("span", { className: "pointer-events-none invisible absolute inset-y-0 left-0 flex w-15 items-center pl-5 opacity-0 transition-[padding-left,opacity,visibility] duration-200 ease-linear group-data-[collapsible=icon]:visible group-data-[collapsible=icon]:pl-3 group-data-[collapsible=icon]:opacity-100", children: /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(BergetLogo, { variant: "symbol", size: 32 }) })
3085
+ /* @__PURE__ */ (0, import_jsx_runtime30.jsx)("span", { className: "pointer-events-none invisible absolute inset-y-0 left-0 flex w-15 items-center pl-5 opacity-0 transition-[padding-left,opacity,visibility] duration-200 ease-linear group-data-[collapsible=icon]:visible group-data-[collapsible=icon]:pl-3 group-data-[collapsible=icon]:opacity-100", children: /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(BergetLogo, { variant: "symbol", size: 32 }) })
2983
3086
  ] }) });
2984
3087
  }
2985
3088
  function SidebarPageHeader({ className, ...props }) {
2986
- return /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
3089
+ return /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(
2987
3090
  "header",
2988
3091
  {
2989
3092
  className: cn(
@@ -2995,7 +3098,7 @@ function SidebarPageHeader({ className, ...props }) {
2995
3098
  );
2996
3099
  }
2997
3100
  function SidebarMenuButton2({ className, ...props }) {
2998
- return /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
3101
+ return /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(
2999
3102
  SidebarMenuButton,
3000
3103
  {
3001
3104
  className: cn(sizingMenuButtonClasses, iconModeButtonClasses, className),
@@ -3004,7 +3107,7 @@ function SidebarMenuButton2({ className, ...props }) {
3004
3107
  );
3005
3108
  }
3006
3109
  function SidebarMenuSubButton2({ className, ...props }) {
3007
- return /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
3110
+ return /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(
3008
3111
  SidebarMenuSubButton,
3009
3112
  {
3010
3113
  className: cn(sizingSubButtonClasses, "[&>svg]:text-inherit", className),
@@ -3014,22 +3117,22 @@ function SidebarMenuSubButton2({ className, ...props }) {
3014
3117
  }
3015
3118
 
3016
3119
  // src/components/table/Table.tsx
3017
- var React18 = __toESM(require("react"), 1);
3120
+ var React19 = __toESM(require("react"), 1);
3018
3121
 
3019
3122
  // src/primitives/table.tsx
3020
- var import_cn12 = require("cn");
3021
- var import_jsx_runtime29 = require("react/jsx-runtime");
3123
+ var import_cn13 = require("cn");
3124
+ var import_jsx_runtime31 = require("react/jsx-runtime");
3022
3125
  function Table({ className, ...props }) {
3023
- return /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(
3126
+ return /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(
3024
3127
  "div",
3025
3128
  {
3026
3129
  "data-slot": "table-container",
3027
3130
  className: "relative w-full overflow-x-auto",
3028
- children: /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(
3131
+ children: /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(
3029
3132
  "table",
3030
3133
  {
3031
3134
  "data-slot": "table",
3032
- className: (0, import_cn12.cn)("w-full caption-bottom text-sm", className),
3135
+ className: (0, import_cn13.cn)("w-full caption-bottom text-sm", className),
3033
3136
  ...props
3034
3137
  }
3035
3138
  )
@@ -3037,31 +3140,31 @@ function Table({ className, ...props }) {
3037
3140
  );
3038
3141
  }
3039
3142
  function TableHeader({ className, ...props }) {
3040
- return /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(
3143
+ return /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(
3041
3144
  "thead",
3042
3145
  {
3043
3146
  "data-slot": "table-header",
3044
- className: (0, import_cn12.cn)("[&_tr]:border-b", className),
3147
+ className: (0, import_cn13.cn)("[&_tr]:border-b", className),
3045
3148
  ...props
3046
3149
  }
3047
3150
  );
3048
3151
  }
3049
3152
  function TableBody({ className, ...props }) {
3050
- return /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(
3153
+ return /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(
3051
3154
  "tbody",
3052
3155
  {
3053
3156
  "data-slot": "table-body",
3054
- className: (0, import_cn12.cn)("[&_tr:last-child]:border-0", className),
3157
+ className: (0, import_cn13.cn)("[&_tr:last-child]:border-0", className),
3055
3158
  ...props
3056
3159
  }
3057
3160
  );
3058
3161
  }
3059
3162
  function TableFooter({ className, ...props }) {
3060
- return /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(
3163
+ return /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(
3061
3164
  "tfoot",
3062
3165
  {
3063
3166
  "data-slot": "table-footer",
3064
- className: (0, import_cn12.cn)(
3167
+ className: (0, import_cn13.cn)(
3065
3168
  "border-t bg-muted/50 font-medium [&>tr]:last:border-b-0",
3066
3169
  className
3067
3170
  ),
@@ -3070,11 +3173,11 @@ function TableFooter({ className, ...props }) {
3070
3173
  );
3071
3174
  }
3072
3175
  function TableRow({ className, ...props }) {
3073
- return /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(
3176
+ return /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(
3074
3177
  "tr",
3075
3178
  {
3076
3179
  "data-slot": "table-row",
3077
- className: (0, import_cn12.cn)(
3180
+ className: (0, import_cn13.cn)(
3078
3181
  "border-b transition-colors hover:bg-muted/50 has-aria-expanded:bg-muted/50 data-[state=selected]:bg-muted",
3079
3182
  className
3080
3183
  ),
@@ -3083,11 +3186,11 @@ function TableRow({ className, ...props }) {
3083
3186
  );
3084
3187
  }
3085
3188
  function TableHead({ className, ...props }) {
3086
- return /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(
3189
+ return /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(
3087
3190
  "th",
3088
3191
  {
3089
3192
  "data-slot": "table-head",
3090
- className: (0, import_cn12.cn)(
3193
+ className: (0, import_cn13.cn)(
3091
3194
  "h-10 px-2 text-left align-middle font-medium whitespace-nowrap text-foreground [&:has([role=checkbox])]:pr-0",
3092
3195
  className
3093
3196
  ),
@@ -3096,11 +3199,11 @@ function TableHead({ className, ...props }) {
3096
3199
  );
3097
3200
  }
3098
3201
  function TableCell({ className, ...props }) {
3099
- return /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(
3202
+ return /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(
3100
3203
  "td",
3101
3204
  {
3102
3205
  "data-slot": "table-cell",
3103
- className: (0, import_cn12.cn)(
3206
+ className: (0, import_cn13.cn)(
3104
3207
  "p-2 align-middle whitespace-nowrap [&:has([role=checkbox])]:pr-0",
3105
3208
  className
3106
3209
  ),
@@ -3112,23 +3215,23 @@ function TableCaption({
3112
3215
  className,
3113
3216
  ...props
3114
3217
  }) {
3115
- return /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(
3218
+ return /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(
3116
3219
  "caption",
3117
3220
  {
3118
3221
  "data-slot": "table-caption",
3119
- className: (0, import_cn12.cn)("mt-4 text-sm text-muted-foreground", className),
3222
+ className: (0, import_cn13.cn)("mt-4 text-sm text-muted-foreground", className),
3120
3223
  ...props
3121
3224
  }
3122
3225
  );
3123
3226
  }
3124
3227
 
3125
3228
  // src/components/table/Table.tsx
3126
- var import_jsx_runtime30 = require("react/jsx-runtime");
3127
- var Table2 = React18.forwardRef(
3128
- ({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(Table, { ref, className, ...props })
3229
+ var import_jsx_runtime32 = require("react/jsx-runtime");
3230
+ var Table2 = React19.forwardRef(
3231
+ ({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(Table, { ref, className, ...props })
3129
3232
  );
3130
3233
  Table2.displayName = "Table";
3131
- var TableHeader2 = React18.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(
3234
+ var TableHeader2 = React19.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(
3132
3235
  TableHeader,
3133
3236
  {
3134
3237
  ref,
@@ -3137,7 +3240,7 @@ var TableHeader2 = React18.forwardRef(({ className, ...props }, ref) => /* @__PU
3137
3240
  }
3138
3241
  ));
3139
3242
  TableHeader2.displayName = "TableHeader";
3140
- var TableBody2 = React18.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(
3243
+ var TableBody2 = React19.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(
3141
3244
  TableBody,
3142
3245
  {
3143
3246
  ref,
@@ -3146,7 +3249,7 @@ var TableBody2 = React18.forwardRef(({ className, ...props }, ref) => /* @__PURE
3146
3249
  }
3147
3250
  ));
3148
3251
  TableBody2.displayName = "TableBody";
3149
- var TableFooter2 = React18.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(
3252
+ var TableFooter2 = React19.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(
3150
3253
  TableFooter,
3151
3254
  {
3152
3255
  ref,
@@ -3158,8 +3261,8 @@ var TableFooter2 = React18.forwardRef(({ className, ...props }, ref) => /* @__PU
3158
3261
  }
3159
3262
  ));
3160
3263
  TableFooter2.displayName = "TableFooter";
3161
- var TableRow2 = React18.forwardRef(
3162
- ({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(
3264
+ var TableRow2 = React19.forwardRef(
3265
+ ({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(
3163
3266
  TableRow,
3164
3267
  {
3165
3268
  ref,
@@ -3172,7 +3275,7 @@ var TableRow2 = React18.forwardRef(
3172
3275
  )
3173
3276
  );
3174
3277
  TableRow2.displayName = "TableRow";
3175
- var TableHead2 = React18.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(
3278
+ var TableHead2 = React19.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(
3176
3279
  TableHead,
3177
3280
  {
3178
3281
  ref,
@@ -3184,7 +3287,7 @@ var TableHead2 = React18.forwardRef(({ className, ...props }, ref) => /* @__PURE
3184
3287
  }
3185
3288
  ));
3186
3289
  TableHead2.displayName = "TableHead";
3187
- var TableCell2 = React18.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(
3290
+ var TableCell2 = React19.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(
3188
3291
  TableCell,
3189
3292
  {
3190
3293
  ref,
@@ -3193,7 +3296,7 @@ var TableCell2 = React18.forwardRef(({ className, ...props }, ref) => /* @__PURE
3193
3296
  }
3194
3297
  ));
3195
3298
  TableCell2.displayName = "TableCell";
3196
- var TableCaption2 = React18.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(
3299
+ var TableCaption2 = React19.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(
3197
3300
  TableCaption,
3198
3301
  {
3199
3302
  ref,
@@ -3204,21 +3307,21 @@ var TableCaption2 = React18.forwardRef(({ className, ...props }, ref) => /* @__P
3204
3307
  TableCaption2.displayName = "TableCaption";
3205
3308
 
3206
3309
  // src/components/item/Item.tsx
3207
- var React19 = __toESM(require("react"), 1);
3310
+ var React20 = __toESM(require("react"), 1);
3208
3311
 
3209
3312
  // src/primitives/item.tsx
3210
3313
  var import_merge_props2 = require("@base-ui/react/merge-props");
3211
3314
  var import_use_render2 = require("@base-ui/react/use-render");
3212
3315
  var import_class_variance_authority10 = require("class-variance-authority");
3213
- var import_cn13 = require("cn");
3214
- var import_jsx_runtime31 = require("react/jsx-runtime");
3316
+ var import_cn14 = require("cn");
3317
+ var import_jsx_runtime33 = require("react/jsx-runtime");
3215
3318
  function ItemGroup({ className, ...props }) {
3216
- return /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(
3319
+ return /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(
3217
3320
  "div",
3218
3321
  {
3219
3322
  role: "list",
3220
3323
  "data-slot": "item-group",
3221
- className: (0, import_cn13.cn)(
3324
+ className: (0, import_cn14.cn)(
3222
3325
  "group/item-group flex w-full flex-col gap-4 has-data-[size=sm]:gap-2.5 has-data-[size=xs]:gap-2",
3223
3326
  className
3224
3327
  ),
@@ -3230,12 +3333,12 @@ function ItemSeparator({
3230
3333
  className,
3231
3334
  ...props
3232
3335
  }) {
3233
- return /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(
3336
+ return /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(
3234
3337
  Separator,
3235
3338
  {
3236
3339
  "data-slot": "item-separator",
3237
3340
  orientation: "horizontal",
3238
- className: (0, import_cn13.cn)("my-2", className),
3341
+ className: (0, import_cn14.cn)("my-2", className),
3239
3342
  ...props
3240
3343
  }
3241
3344
  );
@@ -3272,7 +3375,7 @@ function Item({
3272
3375
  defaultTagName: "div",
3273
3376
  props: (0, import_merge_props2.mergeProps)(
3274
3377
  {
3275
- className: (0, import_cn13.cn)(itemVariants({ variant, size, className }))
3378
+ className: (0, import_cn14.cn)(itemVariants({ variant, size, className }))
3276
3379
  },
3277
3380
  props
3278
3381
  ),
@@ -3304,22 +3407,22 @@ function ItemMedia({
3304
3407
  variant = "default",
3305
3408
  ...props
3306
3409
  }) {
3307
- return /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(
3410
+ return /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(
3308
3411
  "div",
3309
3412
  {
3310
3413
  "data-slot": "item-media",
3311
3414
  "data-variant": variant,
3312
- className: (0, import_cn13.cn)(itemMediaVariants({ variant, className })),
3415
+ className: (0, import_cn14.cn)(itemMediaVariants({ variant, className })),
3313
3416
  ...props
3314
3417
  }
3315
3418
  );
3316
3419
  }
3317
3420
  function ItemContent({ className, ...props }) {
3318
- return /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(
3421
+ return /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(
3319
3422
  "div",
3320
3423
  {
3321
3424
  "data-slot": "item-content",
3322
- className: (0, import_cn13.cn)(
3425
+ className: (0, import_cn14.cn)(
3323
3426
  "flex flex-1 flex-col gap-1 group-data-[size=xs]/item:gap-0 [&+[data-slot=item-content]]:flex-none",
3324
3427
  className
3325
3428
  ),
@@ -3328,11 +3431,11 @@ function ItemContent({ className, ...props }) {
3328
3431
  );
3329
3432
  }
3330
3433
  function ItemTitle({ className, ...props }) {
3331
- return /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(
3434
+ return /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(
3332
3435
  "div",
3333
3436
  {
3334
3437
  "data-slot": "item-title",
3335
- className: (0, import_cn13.cn)(
3438
+ className: (0, import_cn14.cn)(
3336
3439
  "line-clamp-1 flex w-fit items-center gap-2 text-sm leading-snug font-medium underline-offset-4",
3337
3440
  className
3338
3441
  ),
@@ -3341,11 +3444,11 @@ function ItemTitle({ className, ...props }) {
3341
3444
  );
3342
3445
  }
3343
3446
  function ItemDescription({ className, ...props }) {
3344
- return /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(
3447
+ return /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(
3345
3448
  "p",
3346
3449
  {
3347
3450
  "data-slot": "item-description",
3348
- className: (0, import_cn13.cn)(
3451
+ className: (0, import_cn14.cn)(
3349
3452
  "line-clamp-2 text-left text-sm leading-normal font-normal text-muted-foreground group-data-[size=xs]/item:text-xs [&>a]:underline [&>a]:underline-offset-4 [&>a:hover]:text-primary",
3350
3453
  className
3351
3454
  ),
@@ -3354,21 +3457,21 @@ function ItemDescription({ className, ...props }) {
3354
3457
  );
3355
3458
  }
3356
3459
  function ItemActions({ className, ...props }) {
3357
- return /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(
3460
+ return /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(
3358
3461
  "div",
3359
3462
  {
3360
3463
  "data-slot": "item-actions",
3361
- className: (0, import_cn13.cn)("flex items-center gap-2", className),
3464
+ className: (0, import_cn14.cn)("flex items-center gap-2", className),
3362
3465
  ...props
3363
3466
  }
3364
3467
  );
3365
3468
  }
3366
3469
  function ItemHeader({ className, ...props }) {
3367
- return /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(
3470
+ return /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(
3368
3471
  "div",
3369
3472
  {
3370
3473
  "data-slot": "item-header",
3371
- className: (0, import_cn13.cn)(
3474
+ className: (0, import_cn14.cn)(
3372
3475
  "flex basis-full items-center justify-between gap-2",
3373
3476
  className
3374
3477
  ),
@@ -3377,11 +3480,11 @@ function ItemHeader({ className, ...props }) {
3377
3480
  );
3378
3481
  }
3379
3482
  function ItemFooter({ className, ...props }) {
3380
- return /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(
3483
+ return /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(
3381
3484
  "div",
3382
3485
  {
3383
3486
  "data-slot": "item-footer",
3384
- className: (0, import_cn13.cn)(
3487
+ className: (0, import_cn14.cn)(
3385
3488
  "flex basis-full items-center justify-between gap-2",
3386
3489
  className
3387
3490
  ),
@@ -3391,9 +3494,9 @@ function ItemFooter({ className, ...props }) {
3391
3494
  }
3392
3495
 
3393
3496
  // src/components/item/Item.tsx
3394
- var import_jsx_runtime32 = require("react/jsx-runtime");
3497
+ var import_jsx_runtime34 = require("react/jsx-runtime");
3395
3498
  function Item2({ className, asChild, children, ...props }) {
3396
- return /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(
3499
+ return /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(
3397
3500
  Item,
3398
3501
  {
3399
3502
  render: asChild ? children : void 0,
@@ -3412,8 +3515,8 @@ function Item2({ className, asChild, children, ...props }) {
3412
3515
  }
3413
3516
  );
3414
3517
  }
3415
- var ItemMedia2 = React19.forwardRef(({ className, ...props }, ref) => {
3416
- return /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(
3518
+ var ItemMedia2 = React20.forwardRef(({ className, ...props }, ref) => {
3519
+ return /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(
3417
3520
  ItemMedia,
3418
3521
  {
3419
3522
  ref,
@@ -3423,8 +3526,8 @@ var ItemMedia2 = React19.forwardRef(({ className, ...props }, ref) => {
3423
3526
  );
3424
3527
  });
3425
3528
  ItemMedia2.displayName = "ItemMedia";
3426
- var ItemTitle2 = React19.forwardRef(({ className, ...props }, ref) => {
3427
- return /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(
3529
+ var ItemTitle2 = React20.forwardRef(({ className, ...props }, ref) => {
3530
+ return /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(
3428
3531
  ItemTitle,
3429
3532
  {
3430
3533
  ref,
@@ -3434,8 +3537,8 @@ var ItemTitle2 = React19.forwardRef(({ className, ...props }, ref) => {
3434
3537
  );
3435
3538
  });
3436
3539
  ItemTitle2.displayName = "ItemTitle";
3437
- var ItemDescription2 = React19.forwardRef(({ className, ...props }, ref) => {
3438
- return /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(
3540
+ var ItemDescription2 = React20.forwardRef(({ className, ...props }, ref) => {
3541
+ return /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(
3439
3542
  ItemDescription,
3440
3543
  {
3441
3544
  ref,
@@ -3445,8 +3548,8 @@ var ItemDescription2 = React19.forwardRef(({ className, ...props }, ref) => {
3445
3548
  );
3446
3549
  });
3447
3550
  ItemDescription2.displayName = "ItemDescription";
3448
- var ItemSeparator2 = React19.forwardRef(({ className, ...props }, ref) => {
3449
- return /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(
3551
+ var ItemSeparator2 = React20.forwardRef(({ className, ...props }, ref) => {
3552
+ return /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(
3450
3553
  ItemSeparator,
3451
3554
  {
3452
3555
  ref,
@@ -3458,18 +3561,18 @@ var ItemSeparator2 = React19.forwardRef(({ className, ...props }, ref) => {
3458
3561
  ItemSeparator2.displayName = "ItemSeparator";
3459
3562
 
3460
3563
  // src/components/empty/Empty.tsx
3461
- var React20 = __toESM(require("react"), 1);
3564
+ var React21 = __toESM(require("react"), 1);
3462
3565
 
3463
3566
  // src/primitives/empty.tsx
3464
3567
  var import_class_variance_authority11 = require("class-variance-authority");
3465
- var import_cn14 = require("cn");
3466
- var import_jsx_runtime33 = require("react/jsx-runtime");
3568
+ var import_cn15 = require("cn");
3569
+ var import_jsx_runtime35 = require("react/jsx-runtime");
3467
3570
  function Empty({ className, ...props }) {
3468
- return /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(
3571
+ return /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(
3469
3572
  "div",
3470
3573
  {
3471
3574
  "data-slot": "empty",
3472
- className: (0, import_cn14.cn)(
3575
+ className: (0, import_cn15.cn)(
3473
3576
  "flex w-full min-w-0 flex-1 flex-col items-center justify-center gap-4 rounded-xl border-dashed p-6 text-center text-balance",
3474
3577
  className
3475
3578
  ),
@@ -3478,11 +3581,11 @@ function Empty({ className, ...props }) {
3478
3581
  );
3479
3582
  }
3480
3583
  function EmptyHeader({ className, ...props }) {
3481
- return /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(
3584
+ return /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(
3482
3585
  "div",
3483
3586
  {
3484
3587
  "data-slot": "empty-header",
3485
- className: (0, import_cn14.cn)("flex max-w-sm flex-col items-center gap-2", className),
3588
+ className: (0, import_cn15.cn)("flex max-w-sm flex-col items-center gap-2", className),
3486
3589
  ...props
3487
3590
  }
3488
3591
  );
@@ -3506,22 +3609,22 @@ function EmptyMedia({
3506
3609
  variant = "default",
3507
3610
  ...props
3508
3611
  }) {
3509
- return /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(
3612
+ return /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(
3510
3613
  "div",
3511
3614
  {
3512
3615
  "data-slot": "empty-icon",
3513
3616
  "data-variant": variant,
3514
- className: (0, import_cn14.cn)(emptyMediaVariants({ variant, className })),
3617
+ className: (0, import_cn15.cn)(emptyMediaVariants({ variant, className })),
3515
3618
  ...props
3516
3619
  }
3517
3620
  );
3518
3621
  }
3519
3622
  function EmptyTitle({ className, ...props }) {
3520
- return /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(
3623
+ return /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(
3521
3624
  "div",
3522
3625
  {
3523
3626
  "data-slot": "empty-title",
3524
- className: (0, import_cn14.cn)(
3627
+ className: (0, import_cn15.cn)(
3525
3628
  "text-sm font-medium tracking-tight",
3526
3629
  className
3527
3630
  ),
@@ -3530,11 +3633,11 @@ function EmptyTitle({ className, ...props }) {
3530
3633
  );
3531
3634
  }
3532
3635
  function EmptyDescription({ className, ...props }) {
3533
- return /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(
3636
+ return /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(
3534
3637
  "div",
3535
3638
  {
3536
3639
  "data-slot": "empty-description",
3537
- className: (0, import_cn14.cn)(
3640
+ className: (0, import_cn15.cn)(
3538
3641
  "text-sm/relaxed text-muted-foreground [&>a]:underline [&>a]:underline-offset-4 [&>a:hover]:text-primary",
3539
3642
  className
3540
3643
  ),
@@ -3543,11 +3646,11 @@ function EmptyDescription({ className, ...props }) {
3543
3646
  );
3544
3647
  }
3545
3648
  function EmptyContent({ className, ...props }) {
3546
- return /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(
3649
+ return /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(
3547
3650
  "div",
3548
3651
  {
3549
3652
  "data-slot": "empty-content",
3550
- className: (0, import_cn14.cn)(
3653
+ className: (0, import_cn15.cn)(
3551
3654
  "flex w-full max-w-sm min-w-0 flex-col items-center gap-2.5 text-sm text-balance",
3552
3655
  className
3553
3656
  ),
@@ -3557,12 +3660,12 @@ function EmptyContent({ className, ...props }) {
3557
3660
  }
3558
3661
 
3559
3662
  // src/components/empty/Empty.tsx
3560
- var import_jsx_runtime34 = require("react/jsx-runtime");
3663
+ var import_jsx_runtime36 = require("react/jsx-runtime");
3561
3664
  function Empty2({ className, ...props }) {
3562
- return /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(Empty, { className, ...props });
3665
+ return /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(Empty, { className, ...props });
3563
3666
  }
3564
- var EmptyMedia2 = React20.forwardRef(({ className, ...props }, ref) => {
3565
- return /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(
3667
+ var EmptyMedia2 = React21.forwardRef(({ className, ...props }, ref) => {
3668
+ return /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(
3566
3669
  EmptyMedia,
3567
3670
  {
3568
3671
  ref,
@@ -3575,8 +3678,8 @@ var EmptyMedia2 = React20.forwardRef(({ className, ...props }, ref) => {
3575
3678
  );
3576
3679
  });
3577
3680
  EmptyMedia2.displayName = "EmptyMedia";
3578
- var EmptyTitle2 = React20.forwardRef(({ className, ...props }, ref) => {
3579
- return /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(
3681
+ var EmptyTitle2 = React21.forwardRef(({ className, ...props }, ref) => {
3682
+ return /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(
3580
3683
  EmptyTitle,
3581
3684
  {
3582
3685
  ref,
@@ -3586,8 +3689,8 @@ var EmptyTitle2 = React20.forwardRef(({ className, ...props }, ref) => {
3586
3689
  );
3587
3690
  });
3588
3691
  EmptyTitle2.displayName = "EmptyTitle";
3589
- var EmptyDescription2 = React20.forwardRef(({ className, ...props }, ref) => {
3590
- return /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(
3692
+ var EmptyDescription2 = React21.forwardRef(({ className, ...props }, ref) => {
3693
+ return /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(
3591
3694
  EmptyDescription,
3592
3695
  {
3593
3696
  ref,
@@ -3600,22 +3703,22 @@ EmptyDescription2.displayName = "EmptyDescription";
3600
3703
 
3601
3704
  // src/components/search-input/SearchInput.tsx
3602
3705
  var import_lucide_react8 = require("lucide-react");
3603
- var import_jsx_runtime35 = require("react/jsx-runtime");
3706
+ var import_jsx_runtime37 = require("react/jsx-runtime");
3604
3707
  var SearchInput = ({
3605
3708
  type = "search",
3606
3709
  placeholder = "Search...",
3607
3710
  className,
3608
3711
  ref,
3609
3712
  ...props
3610
- }) => /* @__PURE__ */ (0, import_jsx_runtime35.jsxs)("div", { className: "relative flex w-full items-center", "data-slot": "search-input", children: [
3611
- /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(
3713
+ }) => /* @__PURE__ */ (0, import_jsx_runtime37.jsxs)("div", { className: "relative flex w-full items-center", "data-slot": "search-input", children: [
3714
+ /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(
3612
3715
  import_lucide_react8.Search,
3613
3716
  {
3614
3717
  "aria-hidden": "true",
3615
3718
  className: "pointer-events-none absolute left-2.5 size-4 text-berget-muted-foreground"
3616
3719
  }
3617
3720
  ),
3618
- /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(
3721
+ /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(
3619
3722
  Input,
3620
3723
  {
3621
3724
  ref,
@@ -3629,32 +3732,32 @@ var SearchInput = ({
3629
3732
  SearchInput.displayName = "SearchInput";
3630
3733
 
3631
3734
  // src/components/checkbox/Checkbox.tsx
3632
- var React21 = __toESM(require("react"), 1);
3735
+ var React22 = __toESM(require("react"), 1);
3633
3736
  var import_checkbox2 = require("@base-ui/react/checkbox");
3634
3737
  var import_lucide_react10 = require("lucide-react");
3635
3738
  var import_class_variance_authority12 = require("class-variance-authority");
3636
3739
 
3637
3740
  // src/primitives/checkbox.tsx
3638
3741
  var import_checkbox = require("@base-ui/react/checkbox");
3639
- var import_cn15 = require("cn");
3742
+ var import_cn16 = require("cn");
3640
3743
  var import_lucide_react9 = require("lucide-react");
3641
- var import_jsx_runtime36 = require("react/jsx-runtime");
3744
+ var import_jsx_runtime38 = require("react/jsx-runtime");
3642
3745
  function Checkbox({ className, ...props }) {
3643
- return /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(
3746
+ return /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(
3644
3747
  import_checkbox.Checkbox.Root,
3645
3748
  {
3646
3749
  "data-slot": "checkbox",
3647
- className: (0, import_cn15.cn)(
3750
+ className: (0, import_cn16.cn)(
3648
3751
  "peer relative flex size-4 shrink-0 cursor-pointer items-center justify-center rounded-[4px] border border-input transition-colors outline-none group-has-disabled/field:opacity-50 group-has-[:focus-visible]/field-label:ring-0 group-has-[:focus-visible]/field-label:not-data-checked:border-input after:absolute after:-inset-x-3 after:-inset-y-2 focus-visible:border-ring focus-visible:ring-3 focus-visible:ring-ring/50 disabled:cursor-not-allowed disabled:opacity-50 aria-invalid:border-destructive aria-invalid:ring-3 aria-invalid:ring-destructive/20 aria-invalid:aria-checked:border-primary dark:bg-input/30 dark:aria-invalid:border-destructive/50 dark:aria-invalid:ring-destructive/40 data-checked:border-primary data-checked:bg-primary data-checked:text-primary-foreground group-has-[:focus-visible]/field-label:data-checked:border-primary dark:data-checked:bg-primary",
3649
3752
  className
3650
3753
  ),
3651
3754
  ...props,
3652
- children: /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(
3755
+ children: /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(
3653
3756
  import_checkbox.Checkbox.Indicator,
3654
3757
  {
3655
3758
  "data-slot": "checkbox-indicator",
3656
3759
  className: "grid place-content-center text-current transition-none [&>svg]:size-3.5",
3657
- children: /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(
3760
+ children: /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(
3658
3761
  import_lucide_react9.CheckIcon,
3659
3762
  {}
3660
3763
  )
@@ -3665,7 +3768,7 @@ function Checkbox({ className, ...props }) {
3665
3768
  }
3666
3769
 
3667
3770
  // src/components/checkbox/Checkbox.tsx
3668
- var import_jsx_runtime37 = require("react/jsx-runtime");
3771
+ var import_jsx_runtime39 = require("react/jsx-runtime");
3669
3772
  var checkboxVariants = (0, import_class_variance_authority12.cva)(
3670
3773
  "inline-flex items-center justify-center rounded-berget-xs transition-all duration-200 focus-visible:outline-none disabled:cursor-not-allowed disabled:opacity-50",
3671
3774
  {
@@ -3687,7 +3790,7 @@ var checkboxVariants = (0, import_class_variance_authority12.cva)(
3687
3790
  }
3688
3791
  }
3689
3792
  );
3690
- var Checkbox2 = React21.forwardRef(
3793
+ var Checkbox2 = React22.forwardRef(
3691
3794
  ({
3692
3795
  "aria-label": ariaLabel,
3693
3796
  className,
@@ -3700,11 +3803,11 @@ var Checkbox2 = React21.forwardRef(
3700
3803
  disabled,
3701
3804
  ...props
3702
3805
  }, ref) => {
3703
- const generatedId = React21.useId();
3806
+ const generatedId = React22.useId();
3704
3807
  const checkboxId = id || generatedId;
3705
3808
  const errorId = `${checkboxId}-error`;
3706
- return /* @__PURE__ */ (0, import_jsx_runtime37.jsxs)("div", { className: "flex items-start gap-3", children: [
3707
- /* @__PURE__ */ (0, import_jsx_runtime37.jsx)("div", { className: "relative flex items-start pt-0.5", children: /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(
3809
+ return /* @__PURE__ */ (0, import_jsx_runtime39.jsxs)("div", { className: "flex items-start gap-3", children: [
3810
+ /* @__PURE__ */ (0, import_jsx_runtime39.jsx)("div", { className: "relative flex items-start pt-0.5", children: /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(
3708
3811
  Checkbox,
3709
3812
  {
3710
3813
  ref,
@@ -3720,7 +3823,7 @@ var Checkbox2 = React21.forwardRef(
3720
3823
  className
3721
3824
  ),
3722
3825
  ...props,
3723
- children: /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(import_checkbox2.Checkbox.Indicator, { children: /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(
3826
+ children: /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(import_checkbox2.Checkbox.Indicator, { children: /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(
3724
3827
  import_lucide_react10.Check,
3725
3828
  {
3726
3829
  className: "h-4 w-4 text-current stroke-current",
@@ -3729,8 +3832,8 @@ var Checkbox2 = React21.forwardRef(
3729
3832
  ) })
3730
3833
  }
3731
3834
  ) }),
3732
- (label || description || error) && /* @__PURE__ */ (0, import_jsx_runtime37.jsxs)("div", { className: "flex flex-col gap-1", children: [
3733
- label && /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(
3835
+ (label || description || error) && /* @__PURE__ */ (0, import_jsx_runtime39.jsxs)("div", { className: "flex flex-col gap-1", children: [
3836
+ label && /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(
3734
3837
  "label",
3735
3838
  {
3736
3839
  htmlFor: checkboxId,
@@ -3742,8 +3845,8 @@ var Checkbox2 = React21.forwardRef(
3742
3845
  children: label
3743
3846
  }
3744
3847
  ),
3745
- description && /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(Typography, { variant: "xs", color: "muted", children: description }),
3746
- error && /* @__PURE__ */ (0, import_jsx_runtime37.jsx)(Typography, { variant: "xs", id: errorId, className: "text-berget-destructive-foreground", children: error })
3848
+ description && /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(Typography, { variant: "xs", color: "muted", children: description }),
3849
+ error && /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(Typography, { variant: "xs", id: errorId, className: "text-berget-destructive-foreground", children: error })
3747
3850
  ] })
3748
3851
  ] });
3749
3852
  }
@@ -3751,10 +3854,10 @@ var Checkbox2 = React21.forwardRef(
3751
3854
  Checkbox2.displayName = "Checkbox";
3752
3855
 
3753
3856
  // src/components/switch/Switch.tsx
3754
- var React22 = __toESM(require("react"), 1);
3857
+ var React23 = __toESM(require("react"), 1);
3755
3858
  var import_switch = require("@base-ui/react/switch");
3756
3859
  var import_class_variance_authority13 = require("class-variance-authority");
3757
- var import_jsx_runtime38 = require("react/jsx-runtime");
3860
+ var import_jsx_runtime40 = require("react/jsx-runtime");
3758
3861
  var switchRootVariants = (0, import_class_variance_authority13.cva)(
3759
3862
  "peer inline-flex shrink-0 cursor-pointer items-center rounded-full border-2 border-transparent transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-berget-ring focus-visible:ring-offset-2 focus-visible:ring-offset-background disabled:cursor-not-allowed disabled:opacity-50",
3760
3863
  {
@@ -3791,7 +3894,7 @@ var switchThumbVariants = (0, import_class_variance_authority13.cva)(
3791
3894
  }
3792
3895
  }
3793
3896
  );
3794
- var Switch = React22.forwardRef(
3897
+ var Switch = React23.forwardRef(
3795
3898
  ({
3796
3899
  "aria-label": ariaLabel,
3797
3900
  className,
@@ -3804,11 +3907,11 @@ var Switch = React22.forwardRef(
3804
3907
  disabled,
3805
3908
  ...props
3806
3909
  }, ref) => {
3807
- const generatedId = React22.useId();
3910
+ const generatedId = React23.useId();
3808
3911
  const switchId = id || generatedId;
3809
3912
  const errorId = `${switchId}-error`;
3810
- return /* @__PURE__ */ (0, import_jsx_runtime38.jsxs)("div", { className: "flex items-center gap-3", children: [
3811
- /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(
3913
+ return /* @__PURE__ */ (0, import_jsx_runtime40.jsxs)("div", { className: "flex items-center gap-3", children: [
3914
+ /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(
3812
3915
  import_switch.Switch.Root,
3813
3916
  {
3814
3917
  ref,
@@ -3823,11 +3926,11 @@ var Switch = React22.forwardRef(
3823
3926
  className
3824
3927
  ),
3825
3928
  ...props,
3826
- children: /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(import_switch.Switch.Thumb, { className: cn(switchThumbVariants({ size })) })
3929
+ children: /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(import_switch.Switch.Thumb, { className: cn(switchThumbVariants({ size })) })
3827
3930
  }
3828
3931
  ),
3829
- (label || description || error) && /* @__PURE__ */ (0, import_jsx_runtime38.jsxs)("div", { className: "flex flex-col gap-1", children: [
3830
- label && /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(
3932
+ (label || description || error) && /* @__PURE__ */ (0, import_jsx_runtime40.jsxs)("div", { className: "flex flex-col gap-1", children: [
3933
+ label && /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(
3831
3934
  "label",
3832
3935
  {
3833
3936
  htmlFor: switchId,
@@ -3838,8 +3941,8 @@ var Switch = React22.forwardRef(
3838
3941
  children: label
3839
3942
  }
3840
3943
  ),
3841
- description && /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(Typography, { variant: "xs", color: "muted", children: description }),
3842
- error && /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(Typography, { variant: "xs", id: errorId, className: "text-berget-destructive-foreground", children: error })
3944
+ description && /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(Typography, { variant: "xs", color: "muted", children: description }),
3945
+ error && /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(Typography, { variant: "xs", id: errorId, className: "text-berget-destructive-foreground", children: error })
3843
3946
  ] })
3844
3947
  ] });
3845
3948
  }
@@ -3848,26 +3951,26 @@ Switch.displayName = "Switch";
3848
3951
 
3849
3952
  // src/primitives/select.tsx
3850
3953
  var import_select = require("@base-ui/react/select");
3851
- var import_cn16 = require("cn");
3954
+ var import_cn17 = require("cn");
3852
3955
  var import_lucide_react11 = require("lucide-react");
3853
- var import_jsx_runtime39 = require("react/jsx-runtime");
3956
+ var import_jsx_runtime41 = require("react/jsx-runtime");
3854
3957
  var Select = import_select.Select.Root;
3855
3958
  function SelectGroup({ className, ...props }) {
3856
- return /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(
3959
+ return /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(
3857
3960
  import_select.Select.Group,
3858
3961
  {
3859
3962
  "data-slot": "select-group",
3860
- className: (0, import_cn16.cn)("scroll-my-1 p-1", className),
3963
+ className: (0, import_cn17.cn)("scroll-my-1 p-1", className),
3861
3964
  ...props
3862
3965
  }
3863
3966
  );
3864
3967
  }
3865
3968
  function SelectValue({ className, ...props }) {
3866
- return /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(
3969
+ return /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(
3867
3970
  import_select.Select.Value,
3868
3971
  {
3869
3972
  "data-slot": "select-value",
3870
- className: (0, import_cn16.cn)("flex flex-1 text-left", className),
3973
+ className: (0, import_cn17.cn)("flex flex-1 text-left", className),
3871
3974
  ...props
3872
3975
  }
3873
3976
  );
@@ -3878,22 +3981,22 @@ function SelectTrigger({
3878
3981
  children,
3879
3982
  ...props
3880
3983
  }) {
3881
- return /* @__PURE__ */ (0, import_jsx_runtime39.jsxs)(
3984
+ return /* @__PURE__ */ (0, import_jsx_runtime41.jsxs)(
3882
3985
  import_select.Select.Trigger,
3883
3986
  {
3884
3987
  "data-slot": "select-trigger",
3885
3988
  "data-size": size,
3886
- className: (0, import_cn16.cn)(
3989
+ className: (0, import_cn17.cn)(
3887
3990
  "flex w-fit cursor-pointer items-center justify-between gap-1.5 rounded-lg border border-input bg-input/30 py-2 pr-2 pl-2.5 text-sm whitespace-nowrap transition-colors outline-none select-none focus-visible:border-ring focus-visible:ring-3 focus-visible:ring-ring/50 disabled:cursor-not-allowed disabled:opacity-50 aria-invalid:border-destructive aria-invalid:ring-3 aria-invalid:ring-destructive/20 data-placeholder:text-muted-foreground data-[size=default]:h-8 data-[size=sm]:h-7 data-[size=sm]:rounded-[min(var(--radius-md),10px)] *:data-[slot=select-value]:line-clamp-1 *:data-[slot=select-value]:flex *:data-[slot=select-value]:items-center *:data-[slot=select-value]:gap-1.5 dark:aria-invalid:border-destructive/50 dark:aria-invalid:ring-destructive/40 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",
3888
3991
  className
3889
3992
  ),
3890
3993
  ...props,
3891
3994
  children: [
3892
3995
  children,
3893
- /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(
3996
+ /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(
3894
3997
  import_select.Select.Icon,
3895
3998
  {
3896
- render: /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(import_lucide_react11.ChevronDownIcon, { className: "pointer-events-none size-4 text-muted-foreground" })
3999
+ render: /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(import_lucide_react11.ChevronDownIcon, { className: "pointer-events-none size-4 text-muted-foreground" })
3897
4000
  }
3898
4001
  )
3899
4002
  ]
@@ -3910,7 +4013,7 @@ function SelectContent({
3910
4013
  alignItemWithTrigger = true,
3911
4014
  ...props
3912
4015
  }) {
3913
- return /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(import_select.Select.Portal, { children: /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(
4016
+ return /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(import_select.Select.Portal, { children: /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(
3914
4017
  import_select.Select.Positioner,
3915
4018
  {
3916
4019
  side,
@@ -3919,17 +4022,17 @@ function SelectContent({
3919
4022
  alignOffset,
3920
4023
  alignItemWithTrigger,
3921
4024
  className: "isolate z-50",
3922
- children: /* @__PURE__ */ (0, import_jsx_runtime39.jsxs)(
4025
+ children: /* @__PURE__ */ (0, import_jsx_runtime41.jsxs)(
3923
4026
  import_select.Select.Popup,
3924
4027
  {
3925
4028
  "data-slot": "select-content",
3926
4029
  "data-align-trigger": alignItemWithTrigger,
3927
- className: (0, import_cn16.cn)("relative isolate z-50 max-h-(--available-height) w-(--anchor-width) min-w-36 origin-(--transform-origin) overflow-x-hidden overflow-y-auto rounded-lg bg-popover text-popover-foreground shadow-md ring-1 ring-foreground/10 duration-100 data-[align-trigger=true]:animate-none data-[side=bottom]:slide-in-from-top-2 data-[side=inline-end]:slide-in-from-left-2 data-[side=inline-start]:slide-in-from-right-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 data-open:animate-in data-open:fade-in-0 data-open:zoom-in-95 data-closed:animate-out data-closed:fade-out-0 data-closed:zoom-out-95", className),
4030
+ className: (0, import_cn17.cn)("relative isolate z-50 max-h-(--available-height) w-(--anchor-width) min-w-36 origin-(--transform-origin) overflow-x-hidden overflow-y-auto rounded-lg bg-popover text-popover-foreground shadow-md ring-1 ring-foreground/10 duration-100 data-[align-trigger=true]:animate-none data-[side=bottom]:slide-in-from-top-2 data-[side=inline-end]:slide-in-from-left-2 data-[side=inline-start]:slide-in-from-right-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 data-open:animate-in data-open:fade-in-0 data-open:zoom-in-95 data-closed:animate-out data-closed:fade-out-0 data-closed:zoom-out-95", className),
3928
4031
  ...props,
3929
4032
  children: [
3930
- /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(SelectScrollUpButton, {}),
3931
- /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(import_select.Select.List, { children }),
3932
- /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(SelectScrollDownButton, {})
4033
+ /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(SelectScrollUpButton, {}),
4034
+ /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(import_select.Select.List, { children }),
4035
+ /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(SelectScrollDownButton, {})
3933
4036
  ]
3934
4037
  }
3935
4038
  )
@@ -3940,11 +4043,11 @@ function SelectLabel({
3940
4043
  className,
3941
4044
  ...props
3942
4045
  }) {
3943
- return /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(
4046
+ return /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(
3944
4047
  import_select.Select.GroupLabel,
3945
4048
  {
3946
4049
  "data-slot": "select-label",
3947
- className: (0, import_cn16.cn)("px-1.5 py-1 text-xs text-muted-foreground", className),
4050
+ className: (0, import_cn17.cn)("px-1.5 py-1 text-xs text-muted-foreground", className),
3948
4051
  ...props
3949
4052
  }
3950
4053
  );
@@ -3954,22 +4057,22 @@ function SelectItem({
3954
4057
  children,
3955
4058
  ...props
3956
4059
  }) {
3957
- return /* @__PURE__ */ (0, import_jsx_runtime39.jsxs)(
4060
+ return /* @__PURE__ */ (0, import_jsx_runtime41.jsxs)(
3958
4061
  import_select.Select.Item,
3959
4062
  {
3960
4063
  "data-slot": "select-item",
3961
- className: (0, import_cn16.cn)(
4064
+ className: (0, import_cn17.cn)(
3962
4065
  "relative flex w-full cursor-default items-center gap-1.5 rounded-md py-1 pr-8 pl-1.5 text-sm outline-hidden select-none focus:bg-accent focus:text-accent-foreground not-data-[variant=destructive]:focus:**:text-accent-foreground data-disabled:pointer-events-none data-disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4 *:[span]:last:flex *:[span]:last:items-center *:[span]:last:gap-2",
3963
4066
  className
3964
4067
  ),
3965
4068
  ...props,
3966
4069
  children: [
3967
- /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(import_select.Select.ItemText, { className: "flex flex-1 shrink-0 gap-2 whitespace-nowrap", children }),
3968
- /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(
4070
+ /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(import_select.Select.ItemText, { className: "flex flex-1 shrink-0 gap-2 whitespace-nowrap", children }),
4071
+ /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(
3969
4072
  import_select.Select.ItemIndicator,
3970
4073
  {
3971
- render: /* @__PURE__ */ (0, import_jsx_runtime39.jsx)("span", { className: "pointer-events-none absolute right-2 flex size-4 items-center justify-center" }),
3972
- children: /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(import_lucide_react11.CheckIcon, { className: "pointer-events-none" })
4074
+ render: /* @__PURE__ */ (0, import_jsx_runtime41.jsx)("span", { className: "pointer-events-none absolute right-2 flex size-4 items-center justify-center" }),
4075
+ children: /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(import_lucide_react11.CheckIcon, { className: "pointer-events-none" })
3973
4076
  }
3974
4077
  )
3975
4078
  ]
@@ -3980,11 +4083,11 @@ function SelectSeparator({
3980
4083
  className,
3981
4084
  ...props
3982
4085
  }) {
3983
- return /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(
4086
+ return /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(
3984
4087
  import_select.Select.Separator,
3985
4088
  {
3986
4089
  "data-slot": "select-separator",
3987
- className: (0, import_cn16.cn)("pointer-events-none -mx-1 my-1 h-px bg-border", className),
4090
+ className: (0, import_cn17.cn)("pointer-events-none -mx-1 my-1 h-px bg-border", className),
3988
4091
  ...props
3989
4092
  }
3990
4093
  );
@@ -3993,16 +4096,16 @@ function SelectScrollUpButton({
3993
4096
  className,
3994
4097
  ...props
3995
4098
  }) {
3996
- return /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(
4099
+ return /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(
3997
4100
  import_select.Select.ScrollUpArrow,
3998
4101
  {
3999
4102
  "data-slot": "select-scroll-up-button",
4000
- className: (0, import_cn16.cn)(
4103
+ className: (0, import_cn17.cn)(
4001
4104
  "top-0 z-10 flex w-full cursor-default items-center justify-center bg-popover py-1 [&_svg:not([class*='size-'])]:size-4",
4002
4105
  className
4003
4106
  ),
4004
4107
  ...props,
4005
- children: /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(
4108
+ children: /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(
4006
4109
  import_lucide_react11.ChevronUpIcon,
4007
4110
  {}
4008
4111
  )
@@ -4013,16 +4116,16 @@ function SelectScrollDownButton({
4013
4116
  className,
4014
4117
  ...props
4015
4118
  }) {
4016
- return /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(
4119
+ return /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(
4017
4120
  import_select.Select.ScrollDownArrow,
4018
4121
  {
4019
4122
  "data-slot": "select-scroll-down-button",
4020
- className: (0, import_cn16.cn)(
4123
+ className: (0, import_cn17.cn)(
4021
4124
  "bottom-0 z-10 flex w-full cursor-default items-center justify-center bg-popover py-1 [&_svg:not([class*='size-'])]:size-4",
4022
4125
  className
4023
4126
  ),
4024
4127
  ...props,
4025
- children: /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(
4128
+ children: /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(
4026
4129
  import_lucide_react11.ChevronDownIcon,
4027
4130
  {}
4028
4131
  )
@@ -4031,19 +4134,19 @@ function SelectScrollDownButton({
4031
4134
  }
4032
4135
 
4033
4136
  // src/components/country-select/CountrySelect.tsx
4034
- var React24 = __toESM(require("react"), 1);
4137
+ var React25 = __toESM(require("react"), 1);
4035
4138
  var import_lucide_react14 = require("lucide-react");
4036
4139
 
4037
4140
  // src/components/icon/Icon.tsx
4038
- var React23 = __toESM(require("react"), 1);
4039
- var import_jsx_runtime40 = require("react/jsx-runtime");
4141
+ var React24 = __toESM(require("react"), 1);
4142
+ var import_jsx_runtime42 = require("react/jsx-runtime");
4040
4143
  var iconStrokeMap = {
4041
4144
  12: 1.4,
4042
4145
  16: 1.4,
4043
4146
  24: 1.6,
4044
4147
  32: 1.8
4045
4148
  };
4046
- var Icon = React23.forwardRef(
4149
+ var Icon = React24.forwardRef(
4047
4150
  ({
4048
4151
  icon: IconComponent,
4049
4152
  size,
@@ -4055,7 +4158,7 @@ var Icon = React23.forwardRef(
4055
4158
  const strokeWidth = iconStrokeMap[size];
4056
4159
  const sizeClass = size === 12 ? "w-3 h-3" : size === 16 ? "w-4 h-4" : size === 24 ? "w-6 h-6" : "w-8 h-8";
4057
4160
  const ariaAttributes = ariaLabel ? { "aria-label": ariaLabel } : { "aria-hidden": ariaHidden };
4058
- return /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(
4161
+ return /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(
4059
4162
  IconComponent,
4060
4163
  {
4061
4164
  ref,
@@ -4071,13 +4174,13 @@ Icon.displayName = "Icon";
4071
4174
 
4072
4175
  // src/primitives/popover.tsx
4073
4176
  var import_popover = require("@base-ui/react/popover");
4074
- var import_cn17 = require("cn");
4075
- var import_jsx_runtime41 = require("react/jsx-runtime");
4177
+ var import_cn18 = require("cn");
4178
+ var import_jsx_runtime43 = require("react/jsx-runtime");
4076
4179
  function Popover({ ...props }) {
4077
- return /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(import_popover.Popover.Root, { "data-slot": "popover", ...props });
4180
+ return /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(import_popover.Popover.Root, { "data-slot": "popover", ...props });
4078
4181
  }
4079
4182
  function PopoverTrigger({ ...props }) {
4080
- return /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(import_popover.Popover.Trigger, { "data-slot": "popover-trigger", ...props });
4183
+ return /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(import_popover.Popover.Trigger, { "data-slot": "popover-trigger", ...props });
4081
4184
  }
4082
4185
  function PopoverContent({
4083
4186
  className,
@@ -4087,7 +4190,7 @@ function PopoverContent({
4087
4190
  sideOffset = 4,
4088
4191
  ...props
4089
4192
  }) {
4090
- return /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(import_popover.Popover.Portal, { children: /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(
4193
+ return /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(import_popover.Popover.Portal, { children: /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(
4091
4194
  import_popover.Popover.Positioner,
4092
4195
  {
4093
4196
  align,
@@ -4095,11 +4198,11 @@ function PopoverContent({
4095
4198
  side,
4096
4199
  sideOffset,
4097
4200
  className: "isolate z-50",
4098
- children: /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(
4201
+ children: /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(
4099
4202
  import_popover.Popover.Popup,
4100
4203
  {
4101
4204
  "data-slot": "popover-content",
4102
- className: (0, import_cn17.cn)(
4205
+ className: (0, import_cn18.cn)(
4103
4206
  "z-50 flex w-72 origin-(--transform-origin) flex-col gap-2.5 rounded-lg bg-popover p-2.5 text-sm text-popover-foreground shadow-md ring-1 ring-foreground/10 outline-hidden duration-100 data-[side=bottom]:slide-in-from-top-2 data-[side=inline-end]:slide-in-from-left-2 data-[side=inline-start]:slide-in-from-right-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 data-open:animate-in data-open:fade-in-0 data-open:zoom-in-95 data-closed:animate-out data-closed:fade-out-0 data-closed:zoom-out-95",
4104
4207
  className
4105
4208
  ),
@@ -4112,27 +4215,27 @@ function PopoverContent({
4112
4215
 
4113
4216
  // src/primitives/command.tsx
4114
4217
  var import_cmdk = require("cmdk");
4115
- var import_cn21 = require("cn");
4218
+ var import_cn22 = require("cn");
4116
4219
 
4117
4220
  // src/primitives/dialog.tsx
4118
4221
  var import_dialog3 = require("@base-ui/react/dialog");
4119
- var import_cn18 = require("cn");
4222
+ var import_cn19 = require("cn");
4120
4223
  var import_lucide_react12 = require("lucide-react");
4121
- var import_jsx_runtime42 = require("react/jsx-runtime");
4224
+ var import_jsx_runtime44 = require("react/jsx-runtime");
4122
4225
 
4123
4226
  // src/primitives/input-group.tsx
4124
4227
  var import_class_variance_authority14 = require("class-variance-authority");
4125
- var import_cn20 = require("cn");
4228
+ var import_cn21 = require("cn");
4126
4229
 
4127
4230
  // src/primitives/textarea.tsx
4128
- var import_cn19 = require("cn");
4129
- var import_jsx_runtime43 = require("react/jsx-runtime");
4231
+ var import_cn20 = require("cn");
4232
+ var import_jsx_runtime45 = require("react/jsx-runtime");
4130
4233
  function Textarea({ className, ...props }) {
4131
- return /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(
4234
+ return /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(
4132
4235
  "textarea",
4133
4236
  {
4134
4237
  "data-slot": "textarea",
4135
- className: (0, import_cn19.cn)(
4238
+ className: (0, import_cn20.cn)(
4136
4239
  "flex field-sizing-content min-h-16 w-full rounded-lg border border-input bg-input/30 px-2.5 py-2 text-base transition-colors outline-none placeholder:text-muted-foreground focus-visible:border-ring focus-visible:ring-3 focus-visible:ring-ring/50 disabled:cursor-not-allowed disabled:bg-input/50 disabled:opacity-50 aria-invalid:border-destructive aria-invalid:ring-3 aria-invalid:ring-destructive/20 md:text-sm dark:disabled:bg-input/80 dark:aria-invalid:border-destructive/50 dark:aria-invalid:ring-destructive/40",
4137
4240
  className
4138
4241
  ),
@@ -4142,14 +4245,14 @@ function Textarea({ className, ...props }) {
4142
4245
  }
4143
4246
 
4144
4247
  // src/primitives/input-group.tsx
4145
- var import_jsx_runtime44 = require("react/jsx-runtime");
4248
+ var import_jsx_runtime46 = require("react/jsx-runtime");
4146
4249
  function InputGroup({ className, ...props }) {
4147
- return /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(
4250
+ return /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(
4148
4251
  "div",
4149
4252
  {
4150
4253
  "data-slot": "input-group",
4151
4254
  role: "group",
4152
- className: (0, import_cn20.cn)(
4255
+ className: (0, import_cn21.cn)(
4153
4256
  "group/input-group relative flex h-8 w-full min-w-0 items-center rounded-lg border border-input transition-colors outline-none in-data-[slot=combobox-content]:focus-within:border-inherit in-data-[slot=combobox-content]:focus-within:ring-0 has-disabled:bg-input/50 has-disabled:opacity-50 has-[[data-slot=input-group-control]:focus-visible]:border-ring has-[[data-slot=input-group-control]:focus-visible]:ring-3 has-[[data-slot=input-group-control]:focus-visible]:ring-ring/50 has-[[data-slot][aria-invalid=true]]:border-destructive has-[[data-slot][aria-invalid=true]]:ring-3 has-[[data-slot][aria-invalid=true]]:ring-destructive/20 has-[>[data-align=block-end]]:h-auto has-[>[data-align=block-end]]:flex-col has-[>[data-align=block-start]]:h-auto has-[>[data-align=block-start]]:flex-col has-[>textarea]:h-auto dark:bg-input/30 dark:has-disabled:bg-input/80 dark:has-[[data-slot][aria-invalid=true]]:ring-destructive/40 has-[>[data-align=block-end]]:[&>input]:pt-3 has-[>[data-align=block-start]]:[&>input]:pb-3 has-[>[data-align=inline-end]]:[&>input]:pr-1.5 has-[>[data-align=inline-start]]:[&>input]:pl-1.5",
4154
4257
  className
4155
4258
  ),
@@ -4178,13 +4281,13 @@ function InputGroupAddon({
4178
4281
  align = "inline-start",
4179
4282
  ...props
4180
4283
  }) {
4181
- return /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(
4284
+ return /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(
4182
4285
  "div",
4183
4286
  {
4184
4287
  role: "group",
4185
4288
  "data-slot": "input-group-addon",
4186
4289
  "data-align": align,
4187
- className: (0, import_cn20.cn)(inputGroupAddonVariants({ align }), className),
4290
+ className: (0, import_cn21.cn)(inputGroupAddonVariants({ align }), className),
4188
4291
  onClick: (e) => {
4189
4292
  if (e.target.closest("button")) {
4190
4293
  return;
@@ -4214,16 +4317,16 @@ var inputGroupButtonVariants = (0, import_class_variance_authority14.cva)(
4214
4317
 
4215
4318
  // src/primitives/command.tsx
4216
4319
  var import_lucide_react13 = require("lucide-react");
4217
- var import_jsx_runtime45 = require("react/jsx-runtime");
4320
+ var import_jsx_runtime47 = require("react/jsx-runtime");
4218
4321
  function Command({
4219
4322
  className,
4220
4323
  ...props
4221
4324
  }) {
4222
- return /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(
4325
+ return /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(
4223
4326
  import_cmdk.Command,
4224
4327
  {
4225
4328
  "data-slot": "command",
4226
- className: (0, import_cn21.cn)(
4329
+ className: (0, import_cn22.cn)(
4227
4330
  "flex size-full flex-col overflow-hidden rounded-xl! bg-popover p-1 text-popover-foreground",
4228
4331
  className
4229
4332
  ),
@@ -4235,30 +4338,30 @@ function CommandInput({
4235
4338
  className,
4236
4339
  ...props
4237
4340
  }) {
4238
- return /* @__PURE__ */ (0, import_jsx_runtime45.jsx)("div", { "data-slot": "command-input-wrapper", className: "p-1 pb-0", children: /* @__PURE__ */ (0, import_jsx_runtime45.jsxs)(InputGroup, { className: "h-8! rounded-lg! border-input/30 bg-input/30 shadow-none! *:data-[slot=input-group-addon]:pl-2!", children: [
4239
- /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(
4341
+ return /* @__PURE__ */ (0, import_jsx_runtime47.jsx)("div", { "data-slot": "command-input-wrapper", className: "p-1 pb-0", children: /* @__PURE__ */ (0, import_jsx_runtime47.jsxs)(InputGroup, { className: "h-8! rounded-lg! border-input/30 bg-input/30 shadow-none! *:data-[slot=input-group-addon]:pl-2!", children: [
4342
+ /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(
4240
4343
  import_cmdk.Command.Input,
4241
4344
  {
4242
4345
  "data-slot": "command-input",
4243
- className: (0, import_cn21.cn)(
4346
+ className: (0, import_cn22.cn)(
4244
4347
  "w-full text-sm outline-hidden disabled:cursor-not-allowed disabled:opacity-50",
4245
4348
  className
4246
4349
  ),
4247
4350
  ...props
4248
4351
  }
4249
4352
  ),
4250
- /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(InputGroupAddon, { children: /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(import_lucide_react13.SearchIcon, { className: "size-4 shrink-0 opacity-50" }) })
4353
+ /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(InputGroupAddon, { children: /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(import_lucide_react13.SearchIcon, { className: "size-4 shrink-0 opacity-50" }) })
4251
4354
  ] }) });
4252
4355
  }
4253
4356
  function CommandList({
4254
4357
  className,
4255
4358
  ...props
4256
4359
  }) {
4257
- return /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(
4360
+ return /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(
4258
4361
  import_cmdk.Command.List,
4259
4362
  {
4260
4363
  "data-slot": "command-list",
4261
- className: (0, import_cn21.cn)(
4364
+ className: (0, import_cn22.cn)(
4262
4365
  "no-scrollbar max-h-72 scroll-py-1 overflow-x-hidden overflow-y-auto outline-none",
4263
4366
  className
4264
4367
  ),
@@ -4270,11 +4373,11 @@ function CommandEmpty({
4270
4373
  className,
4271
4374
  ...props
4272
4375
  }) {
4273
- return /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(
4376
+ return /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(
4274
4377
  import_cmdk.Command.Empty,
4275
4378
  {
4276
4379
  "data-slot": "command-empty",
4277
- className: (0, import_cn21.cn)("py-6 text-center text-sm", className),
4380
+ className: (0, import_cn22.cn)("py-6 text-center text-sm", className),
4278
4381
  ...props
4279
4382
  }
4280
4383
  );
@@ -4283,11 +4386,11 @@ function CommandGroup({
4283
4386
  className,
4284
4387
  ...props
4285
4388
  }) {
4286
- return /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(
4389
+ return /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(
4287
4390
  import_cmdk.Command.Group,
4288
4391
  {
4289
4392
  "data-slot": "command-group",
4290
- className: (0, import_cn21.cn)(
4393
+ className: (0, import_cn22.cn)(
4291
4394
  "overflow-hidden p-1 text-foreground **:[[cmdk-group-heading]]:px-2 **:[[cmdk-group-heading]]:py-1.5 **:[[cmdk-group-heading]]:text-xs **:[[cmdk-group-heading]]:font-medium **:[[cmdk-group-heading]]:text-muted-foreground",
4292
4395
  className
4293
4396
  ),
@@ -4300,18 +4403,18 @@ function CommandItem({
4300
4403
  children,
4301
4404
  ...props
4302
4405
  }) {
4303
- return /* @__PURE__ */ (0, import_jsx_runtime45.jsxs)(
4406
+ return /* @__PURE__ */ (0, import_jsx_runtime47.jsxs)(
4304
4407
  import_cmdk.Command.Item,
4305
4408
  {
4306
4409
  "data-slot": "command-item",
4307
- className: (0, import_cn21.cn)(
4410
+ className: (0, import_cn22.cn)(
4308
4411
  "group/command-item 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! data-[disabled=true]:pointer-events-none data-[disabled=true]:opacity-50 data-selected:bg-muted data-selected:text-foreground [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4 data-selected:*:[svg]:text-foreground",
4309
4412
  className
4310
4413
  ),
4311
4414
  ...props,
4312
4415
  children: [
4313
4416
  children,
4314
- /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(import_lucide_react13.CheckIcon, { className: "ml-auto opacity-0 group-has-data-[slot=command-shortcut]/command-item:hidden group-data-[checked=true]/command-item:opacity-100" })
4417
+ /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(import_lucide_react13.CheckIcon, { className: "ml-auto opacity-0 group-has-data-[slot=command-shortcut]/command-item:hidden group-data-[checked=true]/command-item:opacity-100" })
4315
4418
  ]
4316
4419
  }
4317
4420
  );
@@ -4459,8 +4562,8 @@ var isEUCountry = (countryCode) => {
4459
4562
  };
4460
4563
 
4461
4564
  // src/components/country-select/CountrySelect.tsx
4462
- var import_jsx_runtime46 = require("react/jsx-runtime");
4463
- var CountrySelect = React24.forwardRef(
4565
+ var import_jsx_runtime48 = require("react/jsx-runtime");
4566
+ var CountrySelect = React25.forwardRef(
4464
4567
  ({
4465
4568
  value,
4466
4569
  onValueChange,
@@ -4470,14 +4573,14 @@ var CountrySelect = React24.forwardRef(
4470
4573
  align = "center",
4471
4574
  sideOffset = 4
4472
4575
  }, ref) => {
4473
- const [open, setOpen] = React24.useState(false);
4474
- const selectedCountry = React24.useMemo(() => COUNTRIES.find((c) => c.code === value), [value]);
4475
- return /* @__PURE__ */ (0, import_jsx_runtime46.jsxs)(Popover, { open, onOpenChange: setOpen, children: [
4476
- /* @__PURE__ */ (0, import_jsx_runtime46.jsxs)(
4576
+ const [open, setOpen] = React25.useState(false);
4577
+ const selectedCountry = React25.useMemo(() => COUNTRIES.find((c) => c.code === value), [value]);
4578
+ return /* @__PURE__ */ (0, import_jsx_runtime48.jsxs)(Popover, { open, onOpenChange: setOpen, children: [
4579
+ /* @__PURE__ */ (0, import_jsx_runtime48.jsxs)(
4477
4580
  PopoverTrigger,
4478
4581
  {
4479
4582
  ref,
4480
- render: /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(
4583
+ render: /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(
4481
4584
  "button",
4482
4585
  {
4483
4586
  type: "button",
@@ -4499,16 +4602,16 @@ var CountrySelect = React24.forwardRef(
4499
4602
  }
4500
4603
  ),
4501
4604
  children: [
4502
- /* @__PURE__ */ (0, import_jsx_runtime46.jsx)("div", { className: "flex items-center gap-2 min-w-0 flex-1", children: selectedCountry ? /* @__PURE__ */ (0, import_jsx_runtime46.jsxs)(import_jsx_runtime46.Fragment, { children: [
4503
- /* @__PURE__ */ (0, import_jsx_runtime46.jsx)("span", { className: "text-xl flex-shrink-0", children: selectedCountry.flag }),
4504
- /* @__PURE__ */ (0, import_jsx_runtime46.jsx)("span", { className: "truncate", children: selectedCountry.name }),
4505
- /* @__PURE__ */ (0, import_jsx_runtime46.jsxs)("span", { className: "text-berget-muted-foreground text-xs flex-shrink-0", children: [
4605
+ /* @__PURE__ */ (0, import_jsx_runtime48.jsx)("div", { className: "flex items-center gap-2 min-w-0 flex-1", children: selectedCountry ? /* @__PURE__ */ (0, import_jsx_runtime48.jsxs)(import_jsx_runtime48.Fragment, { children: [
4606
+ /* @__PURE__ */ (0, import_jsx_runtime48.jsx)("span", { className: "text-xl flex-shrink-0", children: selectedCountry.flag }),
4607
+ /* @__PURE__ */ (0, import_jsx_runtime48.jsx)("span", { className: "truncate", children: selectedCountry.name }),
4608
+ /* @__PURE__ */ (0, import_jsx_runtime48.jsxs)("span", { className: "text-berget-muted-foreground text-xs flex-shrink-0", children: [
4506
4609
  "(",
4507
4610
  selectedCountry.code,
4508
4611
  ")"
4509
4612
  ] })
4510
- ] }) : /* @__PURE__ */ (0, import_jsx_runtime46.jsxs)(import_jsx_runtime46.Fragment, { children: [
4511
- /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(
4613
+ ] }) : /* @__PURE__ */ (0, import_jsx_runtime48.jsxs)(import_jsx_runtime48.Fragment, { children: [
4614
+ /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(
4512
4615
  Icon,
4513
4616
  {
4514
4617
  icon: import_lucide_react14.Globe,
@@ -4516,9 +4619,9 @@ var CountrySelect = React24.forwardRef(
4516
4619
  className: "flex-shrink-0 text-berget-muted-foreground"
4517
4620
  }
4518
4621
  ),
4519
- /* @__PURE__ */ (0, import_jsx_runtime46.jsx)("span", { className: "text-berget-muted-foreground truncate", children: placeholder })
4622
+ /* @__PURE__ */ (0, import_jsx_runtime48.jsx)("span", { className: "text-berget-muted-foreground truncate", children: placeholder })
4520
4623
  ] }) }),
4521
- /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(
4624
+ /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(
4522
4625
  Icon,
4523
4626
  {
4524
4627
  icon: import_lucide_react14.ChevronDown,
@@ -4533,17 +4636,17 @@ var CountrySelect = React24.forwardRef(
4533
4636
  ]
4534
4637
  }
4535
4638
  ),
4536
- /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(
4639
+ /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(
4537
4640
  PopoverContent,
4538
4641
  {
4539
4642
  align,
4540
4643
  sideOffset,
4541
4644
  className: "w-[var(--radix-popover-trigger-width)] p-0",
4542
- children: /* @__PURE__ */ (0, import_jsx_runtime46.jsxs)(Command, { children: [
4543
- /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(CommandInput, { placeholder: "Search country..." }),
4544
- /* @__PURE__ */ (0, import_jsx_runtime46.jsxs)(CommandList, { children: [
4545
- /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(CommandEmpty, { children: "No countries found." }),
4546
- /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(CommandGroup, { children: COUNTRIES.map((country) => /* @__PURE__ */ (0, import_jsx_runtime46.jsxs)(
4645
+ children: /* @__PURE__ */ (0, import_jsx_runtime48.jsxs)(Command, { children: [
4646
+ /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(CommandInput, { placeholder: "Search country..." }),
4647
+ /* @__PURE__ */ (0, import_jsx_runtime48.jsxs)(CommandList, { children: [
4648
+ /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(CommandEmpty, { children: "No countries found." }),
4649
+ /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(CommandGroup, { children: COUNTRIES.map((country) => /* @__PURE__ */ (0, import_jsx_runtime48.jsxs)(
4547
4650
  CommandItem,
4548
4651
  {
4549
4652
  value: `${country.name} ${country.code}`,
@@ -4557,12 +4660,12 @@ var CountrySelect = React24.forwardRef(
4557
4660
  value === country.code && "bg-berget-brand-granite-800/40"
4558
4661
  ),
4559
4662
  children: [
4560
- /* @__PURE__ */ (0, import_jsx_runtime46.jsx)("span", { className: "text-xl flex-shrink-0", children: country.flag }),
4561
- /* @__PURE__ */ (0, import_jsx_runtime46.jsxs)("div", { className: "flex-1 min-w-0", children: [
4562
- /* @__PURE__ */ (0, import_jsx_runtime46.jsx)("div", { className: "text-sm truncate", children: country.name }),
4563
- /* @__PURE__ */ (0, import_jsx_runtime46.jsx)("div", { className: "text-xs text-berget-muted-foreground", children: country.code })
4663
+ /* @__PURE__ */ (0, import_jsx_runtime48.jsx)("span", { className: "text-xl flex-shrink-0", children: country.flag }),
4664
+ /* @__PURE__ */ (0, import_jsx_runtime48.jsxs)("div", { className: "flex-1 min-w-0", children: [
4665
+ /* @__PURE__ */ (0, import_jsx_runtime48.jsx)("div", { className: "text-sm truncate", children: country.name }),
4666
+ /* @__PURE__ */ (0, import_jsx_runtime48.jsx)("div", { className: "text-xs text-berget-muted-foreground", children: country.code })
4564
4667
  ] }),
4565
- value === country.code && /* @__PURE__ */ (0, import_jsx_runtime46.jsx)("div", { className: "w-2 h-2 rounded-full bg-berget-brand-granite-400 flex-shrink-0" })
4668
+ value === country.code && /* @__PURE__ */ (0, import_jsx_runtime48.jsx)("div", { className: "w-2 h-2 rounded-full bg-berget-brand-granite-400 flex-shrink-0" })
4566
4669
  ]
4567
4670
  },
4568
4671
  country.code
@@ -4577,14 +4680,14 @@ var CountrySelect = React24.forwardRef(
4577
4680
  CountrySelect.displayName = "CountrySelect";
4578
4681
 
4579
4682
  // src/primitives/label.tsx
4580
- var import_cn22 = require("cn");
4581
- var import_jsx_runtime47 = require("react/jsx-runtime");
4683
+ var import_cn23 = require("cn");
4684
+ var import_jsx_runtime49 = require("react/jsx-runtime");
4582
4685
  function Label({ className, ...props }) {
4583
- return /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(
4686
+ return /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(
4584
4687
  "label",
4585
4688
  {
4586
4689
  "data-slot": "label",
4587
- className: (0, import_cn22.cn)(
4690
+ className: (0, import_cn23.cn)(
4588
4691
  "flex items-center gap-2 text-sm leading-none font-medium select-none group-data-[disabled=true]:pointer-events-none group-data-[disabled=true]:opacity-50 peer-disabled:cursor-not-allowed peer-disabled:opacity-50",
4589
4692
  className
4590
4693
  ),
@@ -4596,14 +4699,14 @@ function Label({ className, ...props }) {
4596
4699
  // src/primitives/field.tsx
4597
4700
  var import_react = require("react");
4598
4701
  var import_class_variance_authority15 = require("class-variance-authority");
4599
- var import_cn23 = require("cn");
4600
- var import_jsx_runtime48 = require("react/jsx-runtime");
4702
+ var import_cn24 = require("cn");
4703
+ var import_jsx_runtime50 = require("react/jsx-runtime");
4601
4704
  function FieldSet({ className, ...props }) {
4602
- return /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(
4705
+ return /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(
4603
4706
  "fieldset",
4604
4707
  {
4605
4708
  "data-slot": "field-set",
4606
- className: (0, import_cn23.cn)(
4709
+ className: (0, import_cn24.cn)(
4607
4710
  "flex flex-col gap-4 has-[>[data-slot=checkbox-group]]:gap-3 has-[>[data-slot=radio-group]]:gap-3",
4608
4711
  className
4609
4712
  ),
@@ -4616,12 +4719,12 @@ function FieldLegend({
4616
4719
  variant = "legend",
4617
4720
  ...props
4618
4721
  }) {
4619
- return /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(
4722
+ return /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(
4620
4723
  "legend",
4621
4724
  {
4622
4725
  "data-slot": "field-legend",
4623
4726
  "data-variant": variant,
4624
- className: (0, import_cn23.cn)(
4727
+ className: (0, import_cn24.cn)(
4625
4728
  "mb-1.5 font-medium data-[variant=label]:text-sm data-[variant=legend]:text-base",
4626
4729
  className
4627
4730
  ),
@@ -4630,11 +4733,11 @@ function FieldLegend({
4630
4733
  );
4631
4734
  }
4632
4735
  function FieldGroup({ className, ...props }) {
4633
- return /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(
4736
+ return /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(
4634
4737
  "div",
4635
4738
  {
4636
4739
  "data-slot": "field-group",
4637
- className: (0, import_cn23.cn)(
4740
+ className: (0, import_cn24.cn)(
4638
4741
  "group/field-group @container/field-group flex w-full flex-col gap-5 data-[slot=checkbox-group]:gap-3 *:data-[slot=field-group]:gap-4",
4639
4742
  className
4640
4743
  ),
@@ -4662,23 +4765,23 @@ function Field({
4662
4765
  orientation = "vertical",
4663
4766
  ...props
4664
4767
  }) {
4665
- return /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(
4768
+ return /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(
4666
4769
  "div",
4667
4770
  {
4668
4771
  role: "group",
4669
4772
  "data-slot": "field",
4670
4773
  "data-orientation": orientation,
4671
- className: (0, import_cn23.cn)(fieldVariants({ orientation }), className),
4774
+ className: (0, import_cn24.cn)(fieldVariants({ orientation }), className),
4672
4775
  ...props
4673
4776
  }
4674
4777
  );
4675
4778
  }
4676
4779
  function FieldContent({ className, ...props }) {
4677
- return /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(
4780
+ return /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(
4678
4781
  "div",
4679
4782
  {
4680
4783
  "data-slot": "field-content",
4681
- className: (0, import_cn23.cn)(
4784
+ className: (0, import_cn24.cn)(
4682
4785
  "group/field-content flex flex-1 flex-col gap-0.5 leading-snug",
4683
4786
  className
4684
4787
  ),
@@ -4690,11 +4793,11 @@ function FieldLabel({
4690
4793
  className,
4691
4794
  ...props
4692
4795
  }) {
4693
- return /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(
4796
+ return /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(
4694
4797
  Label,
4695
4798
  {
4696
4799
  "data-slot": "field-label",
4697
- className: (0, import_cn23.cn)(
4800
+ className: (0, import_cn24.cn)(
4698
4801
  "group/field-label peer/field-label flex w-fit gap-2 leading-snug group-data-[disabled=true]/field:opacity-50 has-data-checked:border-primary/30 has-data-checked:bg-primary/5 has-[>[data-slot=field]]:rounded-lg has-[>[data-slot=field]]:border has-[>[data-slot=field]]:not-has-[:disabled,[data-disabled]]:hover:bg-muted/50 has-[>[data-slot=field]]:has-[:focus-visible]:border-ring has-[>[data-slot=field]]:has-[:focus-visible]:ring-3 has-[>[data-slot=field]]:has-[:focus-visible]:ring-ring/50 *:data-[slot=field]:p-2.5 dark:has-data-checked:border-primary/20 dark:has-data-checked:bg-primary/10",
4699
4802
  "has-[>[data-slot=field]]:w-full has-[>[data-slot=field]]:flex-col",
4700
4803
  className
@@ -4704,11 +4807,11 @@ function FieldLabel({
4704
4807
  );
4705
4808
  }
4706
4809
  function FieldTitle({ className, ...props }) {
4707
- return /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(
4810
+ return /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(
4708
4811
  "div",
4709
4812
  {
4710
4813
  "data-slot": "field-label",
4711
- className: (0, import_cn23.cn)(
4814
+ className: (0, import_cn24.cn)(
4712
4815
  "flex w-fit items-center gap-2 text-sm font-medium group-data-[disabled=true]/field:opacity-50",
4713
4816
  className
4714
4817
  ),
@@ -4717,11 +4820,11 @@ function FieldTitle({ className, ...props }) {
4717
4820
  );
4718
4821
  }
4719
4822
  function FieldDescription({ className, ...props }) {
4720
- return /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(
4823
+ return /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(
4721
4824
  "p",
4722
4825
  {
4723
4826
  "data-slot": "field-description",
4724
- className: (0, import_cn23.cn)(
4827
+ className: (0, import_cn24.cn)(
4725
4828
  "text-left text-sm leading-normal font-normal text-muted-foreground group-has-data-horizontal/field:text-balance [[data-variant=legend]+&]:-mt-1.5",
4726
4829
  "last:mt-0 nth-last-2:-mt-1",
4727
4830
  "[&>a]:underline [&>a]:underline-offset-4 [&>a:hover]:text-primary",
@@ -4736,19 +4839,19 @@ function FieldSeparator({
4736
4839
  className,
4737
4840
  ...props
4738
4841
  }) {
4739
- return /* @__PURE__ */ (0, import_jsx_runtime48.jsxs)(
4842
+ return /* @__PURE__ */ (0, import_jsx_runtime50.jsxs)(
4740
4843
  "div",
4741
4844
  {
4742
4845
  "data-slot": "field-separator",
4743
4846
  "data-content": !!children,
4744
- className: (0, import_cn23.cn)(
4847
+ className: (0, import_cn24.cn)(
4745
4848
  "relative -my-2 h-5 text-sm group-data-[variant=outline]/field-group:-mb-2",
4746
4849
  className
4747
4850
  ),
4748
4851
  ...props,
4749
4852
  children: [
4750
- /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(Separator, { className: "absolute inset-0 top-1/2" }),
4751
- children && /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(
4853
+ /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(Separator, { className: "absolute inset-0 top-1/2" }),
4854
+ children && /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(
4752
4855
  "span",
4753
4856
  {
4754
4857
  className: "relative mx-auto block w-fit bg-background px-2 text-muted-foreground",
@@ -4779,19 +4882,19 @@ function FieldError({
4779
4882
  if (uniqueErrors?.length == 1) {
4780
4883
  return uniqueErrors[0]?.message;
4781
4884
  }
4782
- return /* @__PURE__ */ (0, import_jsx_runtime48.jsx)("ul", { className: "ml-4 flex list-disc flex-col gap-1", children: uniqueErrors.map(
4783
- (error, index) => error?.message && /* @__PURE__ */ (0, import_jsx_runtime48.jsx)("li", { children: error.message }, index)
4885
+ return /* @__PURE__ */ (0, import_jsx_runtime50.jsx)("ul", { className: "ml-4 flex list-disc flex-col gap-1", children: uniqueErrors.map(
4886
+ (error, index) => error?.message && /* @__PURE__ */ (0, import_jsx_runtime50.jsx)("li", { children: error.message }, index)
4784
4887
  ) });
4785
4888
  }, [children, errors]);
4786
4889
  if (!content) {
4787
4890
  return null;
4788
4891
  }
4789
- return /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(
4892
+ return /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(
4790
4893
  "div",
4791
4894
  {
4792
4895
  role: "alert",
4793
4896
  "data-slot": "field-error",
4794
- className: (0, import_cn23.cn)("text-sm font-normal text-destructive", className),
4897
+ className: (0, import_cn24.cn)("text-sm font-normal text-destructive", className),
4795
4898
  ...props,
4796
4899
  children: content
4797
4900
  }
@@ -4799,10 +4902,10 @@ function FieldError({
4799
4902
  }
4800
4903
 
4801
4904
  // src/components/link/Link.tsx
4802
- var React25 = __toESM(require("react"), 1);
4905
+ var React26 = __toESM(require("react"), 1);
4803
4906
  var import_class_variance_authority16 = require("class-variance-authority");
4804
4907
  var import_lucide_react15 = require("lucide-react");
4805
- var import_jsx_runtime49 = require("react/jsx-runtime");
4908
+ var import_jsx_runtime51 = require("react/jsx-runtime");
4806
4909
  var linkVariants = (0, import_class_variance_authority16.cva)(
4807
4910
  "inline-flex cursor-pointer items-center gap-2 transition-all duration-200 focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring focus-visible:ring-offset-2 focus-visible:ring-offset-background disabled:pointer-events-none disabled:opacity-50",
4808
4911
  {
@@ -4827,7 +4930,7 @@ var linkVariants = (0, import_class_variance_authority16.cva)(
4827
4930
  }
4828
4931
  }
4829
4932
  );
4830
- var Link = React25.forwardRef(
4933
+ var Link = React26.forwardRef(
4831
4934
  ({
4832
4935
  className,
4833
4936
  variant,
@@ -4840,7 +4943,7 @@ var Link = React25.forwardRef(
4840
4943
  ...props
4841
4944
  }, ref) => {
4842
4945
  const isExternal = external || typeof props.href === "string" && (props.href.startsWith("http://") || props.href.startsWith("https://") || props.href.startsWith("mailto:") || props.href.startsWith("tel:"));
4843
- return /* @__PURE__ */ (0, import_jsx_runtime49.jsxs)(
4946
+ return /* @__PURE__ */ (0, import_jsx_runtime51.jsxs)(
4844
4947
  "a",
4845
4948
  {
4846
4949
  ref,
@@ -4856,8 +4959,8 @@ var Link = React25.forwardRef(
4856
4959
  },
4857
4960
  children: [
4858
4961
  children,
4859
- icon && /* @__PURE__ */ (0, import_jsx_runtime49.jsx)("span", { className: "inline-flex items-center", children: icon }),
4860
- showExternalIcon && isExternal && !disabled && /* @__PURE__ */ (0, import_jsx_runtime49.jsx)("span", { className: "inline-flex items-center ml-1 opacity-60", "aria-hidden": "true", children: /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(Icon, { icon: import_lucide_react15.ExternalLink, size: 16 }) })
4962
+ icon && /* @__PURE__ */ (0, import_jsx_runtime51.jsx)("span", { className: "inline-flex items-center", children: icon }),
4963
+ showExternalIcon && isExternal && !disabled && /* @__PURE__ */ (0, import_jsx_runtime51.jsx)("span", { className: "inline-flex items-center ml-1 opacity-60", "aria-hidden": "true", children: /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(Icon, { icon: import_lucide_react15.ExternalLink, size: 16 }) })
4861
4964
  ]
4862
4965
  }
4863
4966
  );
@@ -4866,7 +4969,7 @@ var Link = React25.forwardRef(
4866
4969
  Link.displayName = "Link";
4867
4970
 
4868
4971
  // src/components/container/Container.tsx
4869
- var React26 = __toESM(require("react"), 1);
4972
+ var React27 = __toESM(require("react"), 1);
4870
4973
  var import_merge_props3 = require("@base-ui/react/merge-props");
4871
4974
  var import_use_render3 = require("@base-ui/react/use-render");
4872
4975
  var import_class_variance_authority17 = require("class-variance-authority");
@@ -4891,7 +4994,7 @@ var containerVariants = (0, import_class_variance_authority17.cva)("w-full mx-au
4891
4994
  padding: "md"
4892
4995
  }
4893
4996
  });
4894
- var Container = React26.forwardRef(
4997
+ var Container = React27.forwardRef(
4895
4998
  ({ className, size, padding, asChild = false, children, ...props }, ref) => {
4896
4999
  return (0, import_use_render3.useRender)({
4897
5000
  ref,
@@ -4910,7 +5013,7 @@ var Container = React26.forwardRef(
4910
5013
  Container.displayName = "Container";
4911
5014
 
4912
5015
  // src/components/grid/Grid.tsx
4913
- var React27 = __toESM(require("react"), 1);
5016
+ var React28 = __toESM(require("react"), 1);
4914
5017
  var import_class_variance_authority18 = require("class-variance-authority");
4915
5018
  var import_merge_props4 = require("@base-ui/react/merge-props");
4916
5019
  var import_use_render4 = require("@base-ui/react/use-render");
@@ -4936,7 +5039,7 @@ var gridVariants = (0, import_class_variance_authority18.cva)("grid", {
4936
5039
  justify: "start"
4937
5040
  }
4938
5041
  });
4939
- var Grid = React27.forwardRef(
5042
+ var Grid = React28.forwardRef(
4940
5043
  ({ className, align, justify, cols, rows, gap, gapX, gapY, asChild = false, children, ...props }, ref) => {
4941
5044
  return (0, import_use_render4.useRender)({
4942
5045
  ref,
@@ -4963,7 +5066,7 @@ var Grid = React27.forwardRef(
4963
5066
  Grid.displayName = "Grid";
4964
5067
 
4965
5068
  // src/components/box/Box.tsx
4966
- var React28 = __toESM(require("react"), 1);
5069
+ var React29 = __toESM(require("react"), 1);
4967
5070
  var import_class_variance_authority19 = require("class-variance-authority");
4968
5071
  var import_merge_props5 = require("@base-ui/react/merge-props");
4969
5072
  var import_use_render5 = require("@base-ui/react/use-render");
@@ -5003,7 +5106,7 @@ var boxVariants = (0, import_class_variance_authority19.cva)("flex", {
5003
5106
  wrap: "nowrap"
5004
5107
  }
5005
5108
  });
5006
- var Box = React28.forwardRef(
5109
+ var Box = React29.forwardRef(
5007
5110
  ({ className, direction, align, justify, wrap, gap, asChild = false, children, ...props }, ref) => {
5008
5111
  return (0, import_use_render5.useRender)({
5009
5112
  ref,
@@ -5026,22 +5129,22 @@ var Box = React28.forwardRef(
5026
5129
  Box.displayName = "Box";
5027
5130
 
5028
5131
  // src/components/language-select/LanguageSelect.tsx
5029
- var React29 = __toESM(require("react"), 1);
5132
+ var React30 = __toESM(require("react"), 1);
5030
5133
  var import_lucide_react16 = require("lucide-react");
5031
- var import_jsx_runtime50 = require("react/jsx-runtime");
5032
- var LanguageSelect = React29.forwardRef(
5134
+ var import_jsx_runtime52 = require("react/jsx-runtime");
5135
+ var LanguageSelect = React30.forwardRef(
5033
5136
  ({ className, options, value, onValueChange }, ref) => {
5034
- return /* @__PURE__ */ (0, import_jsx_runtime50.jsxs)(DropdownMenu, { children: [
5035
- /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(DropdownMenuTrigger2, { ref, asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime50.jsxs)(Button2, { variant: "outline", size: "icon", className, "aria-label": "Select language", children: [
5036
- /* @__PURE__ */ (0, import_jsx_runtime50.jsx)("span", { className: "sr-only", children: "Select language" }),
5037
- /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(Icon, { icon: import_lucide_react16.Globe, size: 16, "aria-hidden": true })
5137
+ return /* @__PURE__ */ (0, import_jsx_runtime52.jsxs)(DropdownMenu, { children: [
5138
+ /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(DropdownMenuTrigger2, { ref, asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime52.jsxs)(Button2, { variant: "outline", size: "icon", className, "aria-label": "Select language", children: [
5139
+ /* @__PURE__ */ (0, import_jsx_runtime52.jsx)("span", { className: "sr-only", children: "Select language" }),
5140
+ /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(Icon, { icon: import_lucide_react16.Globe, size: 16, "aria-hidden": true })
5038
5141
  ] }) }),
5039
- /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(DropdownMenuContent2, { align: "start", children: /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(
5142
+ /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(DropdownMenuContent2, { align: "start", children: /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(
5040
5143
  DropdownMenuRadioGroup,
5041
5144
  {
5042
5145
  value,
5043
5146
  onValueChange: onValueChange ? (v) => onValueChange(v) : void 0,
5044
- children: options.map((option) => /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(
5147
+ children: options.map((option) => /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(
5045
5148
  DropdownMenuRadioItem2,
5046
5149
  {
5047
5150
  value: option.value,
@@ -5059,12 +5162,12 @@ var LanguageSelect = React29.forwardRef(
5059
5162
  LanguageSelect.displayName = "LanguageSelect";
5060
5163
 
5061
5164
  // src/components/list/List.tsx
5062
- var React31 = __toESM(require("react"), 1);
5165
+ var React32 = __toESM(require("react"), 1);
5063
5166
 
5064
5167
  // src/components/divider/Divider.tsx
5065
- var React30 = __toESM(require("react"), 1);
5168
+ var React31 = __toESM(require("react"), 1);
5066
5169
  var import_class_variance_authority20 = require("class-variance-authority");
5067
- var import_jsx_runtime51 = require("react/jsx-runtime");
5170
+ var import_jsx_runtime53 = require("react/jsx-runtime");
5068
5171
  var dividerVariants = (0, import_class_variance_authority20.cva)("", {
5069
5172
  variants: {
5070
5173
  variant: {
@@ -5085,7 +5188,7 @@ var dividerVariants = (0, import_class_variance_authority20.cva)("", {
5085
5188
  size: "thin"
5086
5189
  }
5087
5190
  });
5088
- var Divider = React30.forwardRef(
5191
+ var Divider = React31.forwardRef(
5089
5192
  ({
5090
5193
  className,
5091
5194
  orientation = "horizontal",
@@ -5096,16 +5199,16 @@ var Divider = React30.forwardRef(
5096
5199
  ...props
5097
5200
  }, ref) => {
5098
5201
  if (label) {
5099
- return /* @__PURE__ */ (0, import_jsx_runtime51.jsxs)("div", { ref, className: cn("flex items-center w-full", className), ...props, children: [
5100
- labelPosition !== "right" && /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(
5202
+ return /* @__PURE__ */ (0, import_jsx_runtime53.jsxs)("div", { ref, className: cn("flex items-center w-full", className), ...props, children: [
5203
+ labelPosition !== "right" && /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(
5101
5204
  Separator,
5102
5205
  {
5103
5206
  orientation: "horizontal",
5104
5207
  className: cn(dividerVariants({ variant, size }), "flex-1")
5105
5208
  }
5106
5209
  ),
5107
- /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(Typography, { variant: "small", color: "muted", className: "px-4 whitespace-nowrap", children: label }),
5108
- labelPosition !== "left" && /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(
5210
+ /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(Typography, { variant: "small", color: "muted", className: "px-4 whitespace-nowrap", children: label }),
5211
+ labelPosition !== "left" && /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(
5109
5212
  Separator,
5110
5213
  {
5111
5214
  orientation: "horizontal",
@@ -5114,7 +5217,7 @@ var Divider = React30.forwardRef(
5114
5217
  )
5115
5218
  ] });
5116
5219
  }
5117
- return /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(
5220
+ return /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(
5118
5221
  Separator,
5119
5222
  {
5120
5223
  ref,
@@ -5132,19 +5235,19 @@ Divider.displayName = "Divider";
5132
5235
 
5133
5236
  // src/components/list/List.tsx
5134
5237
  var import_lucide_react17 = require("lucide-react");
5135
- var import_jsx_runtime52 = require("react/jsx-runtime");
5136
- var List = React31.forwardRef(
5238
+ var import_jsx_runtime54 = require("react/jsx-runtime");
5239
+ var List = React32.forwardRef(
5137
5240
  ({ className, children, ...props }, ref) => {
5138
- const childrenArray = React31.Children.toArray(children);
5139
- return /* @__PURE__ */ (0, import_jsx_runtime52.jsx)("div", { ref, className: cn("flex flex-col", className), ...props, children: childrenArray.map((child, index) => /* @__PURE__ */ (0, import_jsx_runtime52.jsxs)(React31.Fragment, { children: [
5241
+ const childrenArray = React32.Children.toArray(children);
5242
+ return /* @__PURE__ */ (0, import_jsx_runtime54.jsx)("div", { ref, className: cn("flex flex-col", className), ...props, children: childrenArray.map((child, index) => /* @__PURE__ */ (0, import_jsx_runtime54.jsxs)(React32.Fragment, { children: [
5140
5243
  child,
5141
- index < childrenArray.length - 1 && /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(Divider, { variant: "subtle" })
5244
+ index < childrenArray.length - 1 && /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(Divider, { variant: "subtle" })
5142
5245
  ] }, index)) });
5143
5246
  }
5144
5247
  );
5145
5248
  List.displayName = "List";
5146
- var ListItem = React31.forwardRef(
5147
- ({ className, icon, children, interactive = true, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime52.jsxs)(
5249
+ var ListItem = React32.forwardRef(
5250
+ ({ className, icon, children, interactive = true, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime54.jsxs)(
5148
5251
  "div",
5149
5252
  {
5150
5253
  ref,
@@ -5155,15 +5258,15 @@ var ListItem = React31.forwardRef(
5155
5258
  ),
5156
5259
  ...props,
5157
5260
  children: [
5158
- icon && /* @__PURE__ */ (0, import_jsx_runtime52.jsx)("div", { className: "flex-shrink-0 flex items-center justify-center", children: icon }),
5159
- /* @__PURE__ */ (0, import_jsx_runtime52.jsx)("div", { className: "flex-1 min-w-0", children })
5261
+ icon && /* @__PURE__ */ (0, import_jsx_runtime54.jsx)("div", { className: "flex-shrink-0 flex items-center justify-center", children: icon }),
5262
+ /* @__PURE__ */ (0, import_jsx_runtime54.jsx)("div", { className: "flex-1 min-w-0", children })
5160
5263
  ]
5161
5264
  }
5162
5265
  )
5163
5266
  );
5164
5267
  ListItem.displayName = "ListItem";
5165
- var ListHeader = React31.forwardRef(
5166
- ({ className, children, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(
5268
+ var ListHeader = React32.forwardRef(
5269
+ ({ className, children, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(
5167
5270
  "div",
5168
5271
  {
5169
5272
  ref,
@@ -5174,11 +5277,11 @@ var ListHeader = React31.forwardRef(
5174
5277
  )
5175
5278
  );
5176
5279
  ListHeader.displayName = "ListHeader";
5177
- var FeatureList = React31.forwardRef(
5280
+ var FeatureList = React32.forwardRef(
5178
5281
  ({ items, variant = "bullet", className, ...props }, ref) => {
5179
- return /* @__PURE__ */ (0, import_jsx_runtime52.jsx)("ul", { ref, className: cn("flex flex-col gap-fluid-md", className), ...props, children: items.map((item, index) => /* @__PURE__ */ (0, import_jsx_runtime52.jsxs)("li", { className: "flex items-start gap-fluid-md", children: [
5180
- variant === "bullet" ? /* @__PURE__ */ (0, import_jsx_runtime52.jsx)("span", { className: "w-1.5 h-1.5 rounded-full bg-berget-icon-muted flex-shrink-0 mt-2" }) : /* @__PURE__ */ (0, import_jsx_runtime52.jsx)("div", { className: "flex-shrink-0 mt-0.5", children: /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(Icon, { icon: import_lucide_react17.Check, size: 24, className: "text-berget-logo-light" }) }),
5181
- /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(Typography, { variant: "body", color: "muted", children: item })
5282
+ return /* @__PURE__ */ (0, import_jsx_runtime54.jsx)("ul", { ref, className: cn("flex flex-col gap-fluid-md", className), ...props, children: items.map((item, index) => /* @__PURE__ */ (0, import_jsx_runtime54.jsxs)("li", { className: "flex items-start gap-fluid-md", children: [
5283
+ variant === "bullet" ? /* @__PURE__ */ (0, import_jsx_runtime54.jsx)("span", { className: "w-1.5 h-1.5 rounded-full bg-berget-icon-muted flex-shrink-0 mt-2" }) : /* @__PURE__ */ (0, import_jsx_runtime54.jsx)("div", { className: "flex-shrink-0 mt-0.5", children: /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(Icon, { icon: import_lucide_react17.Check, size: 24, className: "text-berget-logo-light" }) }),
5284
+ /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(Typography, { variant: "body", color: "muted", children: item })
5182
5285
  ] }, index)) });
5183
5286
  }
5184
5287
  );
@@ -5227,7 +5330,7 @@ function getHighlighter() {
5227
5330
  }
5228
5331
 
5229
5332
  // src/components/code-block/CodeBlock.tsx
5230
- var import_jsx_runtime53 = require("react/jsx-runtime");
5333
+ var import_jsx_runtime55 = require("react/jsx-runtime");
5231
5334
  function CodeBlock({ code, language = "text", title, className }) {
5232
5335
  const [html, setHtml] = (0, import_react2.useState)(null);
5233
5336
  const [copied, setCopied] = (0, import_react2.useState)(false);
@@ -5243,16 +5346,16 @@ function CodeBlock({ code, language = "text", title, className }) {
5243
5346
  setCopied(true);
5244
5347
  setTimeout(() => setCopied(false), 2e3);
5245
5348
  }, [code]);
5246
- const copyButton = /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(
5349
+ const copyButton = /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(
5247
5350
  "button",
5248
5351
  {
5249
5352
  onClick: handleCopy,
5250
5353
  className: "flex items-center justify-center w-6 h-6 text-berget-muted-foreground hover:text-berget-foreground transition-colors",
5251
5354
  "aria-label": "Copy code",
5252
- children: copied ? /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(import_lucide_react18.Check, { className: "w-3.5 h-3.5" }) : /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(import_lucide_react18.Copy, { className: "w-3.5 h-3.5" })
5355
+ children: copied ? /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(import_lucide_react18.Check, { className: "w-3.5 h-3.5" }) : /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(import_lucide_react18.Copy, { className: "w-3.5 h-3.5" })
5253
5356
  }
5254
5357
  );
5255
- return /* @__PURE__ */ (0, import_jsx_runtime53.jsxs)(
5358
+ return /* @__PURE__ */ (0, import_jsx_runtime55.jsxs)(
5256
5359
  "div",
5257
5360
  {
5258
5361
  className: cn(
@@ -5260,25 +5363,25 @@ function CodeBlock({ code, language = "text", title, className }) {
5260
5363
  className
5261
5364
  ),
5262
5365
  children: [
5263
- title && /* @__PURE__ */ (0, import_jsx_runtime53.jsx)("div", { className: "!h-10 flex items-center !px-4 !text-xs !leading-normal border-b border-berget-border bg-berget-codeblock-header-bg", children: /* @__PURE__ */ (0, import_jsx_runtime53.jsx)("span", { className: "text-berget-muted-foreground", children: title }) }),
5264
- /* @__PURE__ */ (0, import_jsx_runtime53.jsx)("div", { className: "absolute right-2 top-2 z-10", children: copyButton }),
5265
- html ? /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(
5366
+ title && /* @__PURE__ */ (0, import_jsx_runtime55.jsx)("div", { className: "!h-10 flex items-center !px-4 !text-xs !leading-normal border-b border-berget-border bg-berget-codeblock-header-bg", children: /* @__PURE__ */ (0, import_jsx_runtime55.jsx)("span", { className: "text-berget-muted-foreground", children: title }) }),
5367
+ /* @__PURE__ */ (0, import_jsx_runtime55.jsx)("div", { className: "absolute right-2 top-2 z-10", children: copyButton }),
5368
+ html ? /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(
5266
5369
  "div",
5267
5370
  {
5268
5371
  className: "[&_.shiki]:!p-4 [&_.shiki]:!m-0 [&_.shiki]:overflow-x-auto [&_.shiki]:!text-sm [&_.shiki]:!leading-relaxed [&_.shiki]:bg-transparent",
5269
5372
  dangerouslySetInnerHTML: { __html: html }
5270
5373
  }
5271
- ) : /* @__PURE__ */ (0, import_jsx_runtime53.jsx)("pre", { className: "!p-4 !m-0 overflow-x-auto !text-sm !leading-relaxed text-berget-muted-foreground", children: /* @__PURE__ */ (0, import_jsx_runtime53.jsx)("code", { children: code }) })
5374
+ ) : /* @__PURE__ */ (0, import_jsx_runtime55.jsx)("pre", { className: "!p-4 !m-0 overflow-x-auto !text-sm !leading-relaxed text-berget-muted-foreground", children: /* @__PURE__ */ (0, import_jsx_runtime55.jsx)("code", { children: code }) })
5272
5375
  ]
5273
5376
  }
5274
5377
  );
5275
5378
  }
5276
5379
 
5277
5380
  // src/components/window-frame/WindowFrame.tsx
5278
- var React32 = __toESM(require("react"), 1);
5381
+ var React33 = __toESM(require("react"), 1);
5279
5382
  var import_react3 = require("react");
5280
- var import_jsx_runtime54 = require("react/jsx-runtime");
5281
- var WindowFrame = React32.forwardRef(
5383
+ var import_jsx_runtime56 = require("react/jsx-runtime");
5384
+ var WindowFrame = React33.forwardRef(
5282
5385
  ({ title = "window", tabs, activeTab, onTabChange, children, className, ...props }, ref) => {
5283
5386
  const [internalActive, setInternalActive] = (0, import_react3.useState)(tabs?.[0]?.id ?? "");
5284
5387
  const currentTab = activeTab ?? internalActive;
@@ -5289,7 +5392,7 @@ var WindowFrame = React32.forwardRef(
5289
5392
  setInternalActive(id);
5290
5393
  }
5291
5394
  };
5292
- return /* @__PURE__ */ (0, import_jsx_runtime54.jsxs)(
5395
+ return /* @__PURE__ */ (0, import_jsx_runtime56.jsxs)(
5293
5396
  "div",
5294
5397
  {
5295
5398
  ref,
@@ -5299,13 +5402,13 @@ var WindowFrame = React32.forwardRef(
5299
5402
  ),
5300
5403
  ...props,
5301
5404
  children: [
5302
- /* @__PURE__ */ (0, import_jsx_runtime54.jsxs)("div", { className: "flex items-center gap-2 px-4 py-3 border-b border-berget-brand-granite-700 bg-berget-brand-granite-900", children: [
5303
- /* @__PURE__ */ (0, import_jsx_runtime54.jsxs)("div", { className: "flex items-center gap-2 flex-shrink-0", children: [
5304
- /* @__PURE__ */ (0, import_jsx_runtime54.jsx)("div", { className: "w-3 h-3 rounded-full bg-berget-brand-muscaria-400" }),
5305
- /* @__PURE__ */ (0, import_jsx_runtime54.jsx)("div", { className: "w-3 h-3 rounded-full bg-berget-brand-chanterelle-200" }),
5306
- /* @__PURE__ */ (0, import_jsx_runtime54.jsx)("div", { className: "w-3 h-3 rounded-full bg-berget-brand-moss-400" })
5405
+ /* @__PURE__ */ (0, import_jsx_runtime56.jsxs)("div", { className: "flex items-center gap-2 px-4 py-3 border-b border-berget-brand-granite-700 bg-berget-brand-granite-900", children: [
5406
+ /* @__PURE__ */ (0, import_jsx_runtime56.jsxs)("div", { className: "flex items-center gap-2 flex-shrink-0", children: [
5407
+ /* @__PURE__ */ (0, import_jsx_runtime56.jsx)("div", { className: "w-3 h-3 rounded-full bg-berget-brand-muscaria-400" }),
5408
+ /* @__PURE__ */ (0, import_jsx_runtime56.jsx)("div", { className: "w-3 h-3 rounded-full bg-berget-brand-chanterelle-200" }),
5409
+ /* @__PURE__ */ (0, import_jsx_runtime56.jsx)("div", { className: "w-3 h-3 rounded-full bg-berget-brand-moss-400" })
5307
5410
  ] }),
5308
- tabs && tabs.length > 0 ? /* @__PURE__ */ (0, import_jsx_runtime54.jsx)("div", { className: "ml-4 flex items-center gap-1", children: tabs.map((tab) => /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(
5411
+ tabs && tabs.length > 0 ? /* @__PURE__ */ (0, import_jsx_runtime56.jsx)("div", { className: "ml-4 flex items-center gap-1", children: tabs.map((tab) => /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(
5309
5412
  "button",
5310
5413
  {
5311
5414
  type: "button",
@@ -5317,9 +5420,9 @@ var WindowFrame = React32.forwardRef(
5317
5420
  children: tab.label
5318
5421
  },
5319
5422
  tab.id
5320
- )) }) : /* @__PURE__ */ (0, import_jsx_runtime54.jsx)("span", { className: "ml-4 text-sm font-mono text-berget-brand-moss-400", children: title })
5423
+ )) }) : /* @__PURE__ */ (0, import_jsx_runtime56.jsx)("span", { className: "ml-4 text-sm font-mono text-berget-brand-moss-400", children: title })
5321
5424
  ] }),
5322
- /* @__PURE__ */ (0, import_jsx_runtime54.jsx)("div", { children })
5425
+ /* @__PURE__ */ (0, import_jsx_runtime56.jsx)("div", { children })
5323
5426
  ]
5324
5427
  }
5325
5428
  );
@@ -5329,7 +5432,7 @@ WindowFrame.displayName = "WindowFrame";
5329
5432
 
5330
5433
  // src/components/fog-illustration/FogIllustration.tsx
5331
5434
  var import_react4 = require("react");
5332
- var import_jsx_runtime55 = require("react/jsx-runtime");
5435
+ var import_jsx_runtime57 = require("react/jsx-runtime");
5333
5436
  var FOG_BRAND_PALETTE = {
5334
5437
  ink: "#171a1a",
5335
5438
  milk: "#f7f5ed",
@@ -5642,7 +5745,7 @@ var FogIllustration = ({ palette, speed = 1, className }) => {
5642
5745
  gl.deleteFramebuffer(fbo);
5643
5746
  };
5644
5747
  }, []);
5645
- return /* @__PURE__ */ (0, import_jsx_runtime55.jsx)("canvas", { ref, "aria-hidden": "true", className: cn("size-full", className) });
5748
+ return /* @__PURE__ */ (0, import_jsx_runtime57.jsx)("canvas", { ref, "aria-hidden": "true", className: cn("size-full", className) });
5646
5749
  };
5647
5750
  // Annotate the CommonJS export names for ESM import in node:
5648
5751
  0 && (module.exports = {
@@ -5750,6 +5853,11 @@ var FogIllustration = ({ palette, speed = 1, className }) => {
5750
5853
  NavigationMenuList,
5751
5854
  NavigationMenuPositioner,
5752
5855
  NavigationMenuTrigger,
5856
+ Progress,
5857
+ ProgressIndicator,
5858
+ ProgressLabel,
5859
+ ProgressTrack,
5860
+ ProgressValue,
5753
5861
  SearchInput,
5754
5862
  Select,
5755
5863
  SelectContent,