@carlonicora/nextjs-jsonapi 1.29.4 → 1.29.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (56) hide show
  1. package/dist/{BlockNoteEditor-G532N3N7.mjs → BlockNoteEditor-4NQ5LSD6.mjs} +4 -4
  2. package/dist/{BlockNoteEditor-XWHUG6VH.js → BlockNoteEditor-AZNYW5Y7.js} +14 -14
  3. package/dist/{BlockNoteEditor-XWHUG6VH.js.map → BlockNoteEditor-AZNYW5Y7.js.map} +1 -1
  4. package/dist/billing/index.js +335 -335
  5. package/dist/billing/index.mjs +3 -3
  6. package/dist/{chunk-UYBCHXXL.js → chunk-5KQXRLK3.js} +25 -2
  7. package/dist/chunk-5KQXRLK3.js.map +1 -0
  8. package/dist/{chunk-GR4QPP36.mjs → chunk-C62JXXUX.mjs} +1 -1
  9. package/dist/{chunk-ALGMJ4JS.js → chunk-CWRYS2F3.js} +539 -530
  10. package/dist/chunk-CWRYS2F3.js.map +1 -0
  11. package/dist/{chunk-EW6QPMN3.js → chunk-OR5NPUWF.js} +1 -1
  12. package/dist/{chunk-EW6QPMN3.js.map → chunk-OR5NPUWF.js.map} +1 -1
  13. package/dist/{chunk-NYNLJEPF.mjs → chunk-WQ3KF6BG.mjs} +24 -1
  14. package/dist/chunk-WQ3KF6BG.mjs.map +1 -0
  15. package/dist/{chunk-CWY6AL4V.mjs → chunk-ZQEFAWFP.mjs} +91 -82
  16. package/dist/chunk-ZQEFAWFP.mjs.map +1 -0
  17. package/dist/client/index.js +4 -4
  18. package/dist/client/index.mjs +3 -3
  19. package/dist/components/index.js +4 -4
  20. package/dist/components/index.mjs +3 -3
  21. package/dist/contexts/index.js +4 -4
  22. package/dist/contexts/index.mjs +3 -3
  23. package/dist/core/index.d.mts +25 -2
  24. package/dist/core/index.d.ts +25 -2
  25. package/dist/core/index.js +10 -2
  26. package/dist/core/index.js.map +1 -1
  27. package/dist/core/index.mjs +9 -1
  28. package/dist/index.d.mts +2 -1
  29. package/dist/index.d.ts +2 -1
  30. package/dist/index.js +11 -3
  31. package/dist/index.js.map +1 -1
  32. package/dist/index.mjs +10 -2
  33. package/dist/server/index.js +3 -3
  34. package/dist/server/index.mjs +1 -1
  35. package/package.json +1 -1
  36. package/src/components/errors/errorToast.ts +2 -4
  37. package/src/components/forms/CommonAssociationForm.tsx +3 -3
  38. package/src/components/forms/FileUploader.tsx +4 -4
  39. package/src/features/auth/components/forms/AcceptInvitation.tsx +2 -2
  40. package/src/features/auth/components/forms/ActivateAccount.tsx +2 -2
  41. package/src/features/auth/components/forms/ResetPassword.tsx +2 -2
  42. package/src/features/company/components/forms/CompanyConfigurationEditor.tsx +2 -2
  43. package/src/features/notification/components/modals/NotificationModal.tsx +2 -2
  44. package/src/features/notification/contexts/NotificationContext.tsx +27 -1
  45. package/src/features/role/components/forms/UserRoleAdd.tsx +2 -2
  46. package/src/features/user/components/forms/UserResentInvitationEmail.tsx +2 -2
  47. package/src/index.ts +3 -0
  48. package/src/shadcnui/ui/sonner.tsx +13 -23
  49. package/src/utils/index.ts +3 -0
  50. package/src/utils/toast.ts +39 -0
  51. package/dist/chunk-ALGMJ4JS.js.map +0 -1
  52. package/dist/chunk-CWY6AL4V.mjs.map +0 -1
  53. package/dist/chunk-NYNLJEPF.mjs.map +0 -1
  54. package/dist/chunk-UYBCHXXL.js.map +0 -1
  55. /package/dist/{BlockNoteEditor-G532N3N7.mjs.map → BlockNoteEditor-4NQ5LSD6.mjs.map} +0 -0
  56. /package/dist/{chunk-GR4QPP36.mjs.map → chunk-C62JXXUX.mjs.map} +0 -0
@@ -11,8 +11,8 @@
11
11
 
12
12
 
13
13
 
14
- var _chunkEW6QPMN3js = require('./chunk-EW6QPMN3.js');
15
14
 
15
+ var _chunkOR5NPUWFjs = require('./chunk-OR5NPUWF.js');
16
16
 
17
17
 
18
18
 
@@ -36,7 +36,10 @@ var _chunkEW6QPMN3js = require('./chunk-EW6QPMN3.js');
36
36
 
37
37
 
38
38
 
39
- var _chunkUYBCHXXLjs = require('./chunk-UYBCHXXL.js');
39
+
40
+
41
+
42
+ var _chunk5KQXRLK3js = require('./chunk-5KQXRLK3.js');
40
43
 
41
44
 
42
45
  var _chunk3EPNHTMHjs = require('./chunk-3EPNHTMH.js');
@@ -182,7 +185,7 @@ function useDataListRetriever(params) {
182
185
  const isFetchingRef = _react.useRef.call(void 0, false);
183
186
  const isPaginatingRef = _react.useRef.call(void 0, false);
184
187
  const resolvedType = params.module;
185
- const resolvedService = _chunkUYBCHXXLjs.ClientAbstractService;
188
+ const resolvedService = _chunk5KQXRLK3js.ClientAbstractService;
186
189
  const parsePageParams = _react.useCallback.call(void 0, (url) => {
187
190
  if (!url) return null;
188
191
  try {
@@ -937,20 +940,20 @@ var CurrentUserProvider = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (
937
940
  if (!token && dehydratedUser) setDehydratedUser(null);
938
941
  }, [dehydratedUser, setDehydratedUser]);
939
942
  const matchUrlToModule = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (params) => {
940
- const moduleKeys = Object.getOwnPropertyNames(_chunkUYBCHXXLjs.Modules).filter(
943
+ const moduleKeys = Object.getOwnPropertyNames(_chunk5KQXRLK3js.Modules).filter(
941
944
  (key) => key !== "prototype" && key !== "_factory" && key !== "length" && key !== "name"
942
945
  );
943
946
  const matchedModuleKey = moduleKeys.find((key) => {
944
- const descriptor2 = Object.getOwnPropertyDescriptor(_chunkUYBCHXXLjs.Modules, key);
947
+ const descriptor2 = Object.getOwnPropertyDescriptor(_chunk5KQXRLK3js.Modules, key);
945
948
  if (!_optionalChain([descriptor2, 'optionalAccess', _29 => _29.get])) return false;
946
- const selectedModule = descriptor2.get.call(_chunkUYBCHXXLjs.Modules);
949
+ const selectedModule = descriptor2.get.call(_chunk5KQXRLK3js.Modules);
947
950
  return path.toLowerCase().startsWith(_optionalChain([selectedModule, 'access', _30 => _30.pageUrl, 'optionalAccess', _31 => _31.toLowerCase, 'call', _32 => _32()]));
948
951
  });
949
952
  if (!matchedModuleKey) return void 0;
950
- const descriptor = Object.getOwnPropertyDescriptor(_chunkUYBCHXXLjs.Modules, matchedModuleKey);
951
- return _optionalChain([descriptor, 'optionalAccess', _33 => _33.get, 'optionalAccess', _34 => _34.call, 'call', _35 => _35(_chunkUYBCHXXLjs.Modules)]);
953
+ const descriptor = Object.getOwnPropertyDescriptor(_chunk5KQXRLK3js.Modules, matchedModuleKey);
954
+ return _optionalChain([descriptor, 'optionalAccess', _33 => _33.get, 'optionalAccess', _34 => _34.call, 'call', _35 => _35(_chunk5KQXRLK3js.Modules)]);
952
955
  }, "matchUrlToModule");
953
- const currentUser = dehydratedUser ? _chunkUYBCHXXLjs.rehydrate.call(void 0, _chunkUYBCHXXLjs.Modules.User, dehydratedUser) : null;
956
+ const currentUser = dehydratedUser ? _chunk5KQXRLK3js.rehydrate.call(void 0, _chunk5KQXRLK3js.Modules.User, dehydratedUser) : null;
954
957
  const company = _nullishCoalesce(_optionalChain([currentUser, 'optionalAccess', _36 => _36.company]), () => ( null));
955
958
  const setUser = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (user) => {
956
959
  if (user) setDehydratedUser(user.dehydrate());
@@ -961,21 +964,21 @@ var CurrentUserProvider = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (
961
964
  return !!_optionalChain([currentUser, 'access', _37 => _37.roles, 'optionalAccess', _38 => _38.some, 'call', _39 => _39((userRole) => userRole.id === roleId)]);
962
965
  }, "hasRole");
963
966
  const hasAccesToFeature = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (featureIdentifier) => {
964
- if (hasRole(_chunkEW6QPMN3js.getRoleId.call(void 0, ).Administrator)) return true;
967
+ if (hasRole(_chunkOR5NPUWFjs.getRoleId.call(void 0, ).Administrator)) return true;
965
968
  if (!company) return false;
966
969
  return company.features.some((feature) => feature.id === featureIdentifier);
967
970
  }, "hasAccesToFeature");
968
971
  function hasPermissionToModule(params) {
969
972
  if (!currentUser) return false;
970
973
  if (!!params.module.feature && !hasAccesToFeature(params.module.feature)) return false;
971
- return _chunkUYBCHXXLjs.checkPermissions.call(void 0, { module: params.module, action: params.action, data: params.data, user: currentUser });
974
+ return _chunk5KQXRLK3js.checkPermissions.call(void 0, { module: params.module, action: params.action, data: params.data, user: currentUser });
972
975
  }
973
976
  _chunk7QVYU63Ejs.__name.call(void 0, hasPermissionToModule, "hasPermissionToModule");
974
977
  function hasPermissionToModules(params) {
975
978
  if (!currentUser) return false;
976
979
  if (!params.modules.every((module) => !module.feature || hasAccesToFeature(module.feature))) return false;
977
980
  return params.modules.every(
978
- (module) => _chunkUYBCHXXLjs.checkPermissions.call(void 0, { module, action: params.action, data: params.data, user: currentUser })
981
+ (module) => _chunk5KQXRLK3js.checkPermissions.call(void 0, { module, action: params.action, data: params.data, user: currentUser })
979
982
  );
980
983
  }
981
984
  _chunk7QVYU63Ejs.__name.call(void 0, hasPermissionToModules, "hasPermissionToModules");
@@ -993,7 +996,7 @@ var CurrentUserProvider = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (
993
996
  if (isRefreshing) return;
994
997
  setIsRefreshing(true);
995
998
  try {
996
- const fullUser = await _chunkUYBCHXXLjs.UserService.findFullUser();
999
+ const fullUser = await _chunk5KQXRLK3js.UserService.findFullUser();
997
1000
  if (fullUser) {
998
1001
  setDehydratedUser(fullUser.dehydrate());
999
1002
  }
@@ -1067,7 +1070,7 @@ function AddUserToRoleInternal({ role, refresh }) {
1067
1070
  const [existingUsers, setExistingUsers] = _react.useState.call(void 0, null);
1068
1071
  _react.useEffect.call(void 0, () => {
1069
1072
  const fetchExistingUsers = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, async () => {
1070
- setExistingUsers(await _chunkUYBCHXXLjs.UserService.findMany({ roleId: role.id, fetchAll: true }));
1073
+ setExistingUsers(await _chunk5KQXRLK3js.UserService.findMany({ roleId: role.id, fetchAll: true }));
1071
1074
  }, "fetchExistingUsers");
1072
1075
  if (show) {
1073
1076
  setExistingUsers(null);
@@ -1075,7 +1078,7 @@ function AddUserToRoleInternal({ role, refresh }) {
1075
1078
  }
1076
1079
  }, [show]);
1077
1080
  const addUserToRole = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, async (user) => {
1078
- await _chunkUYBCHXXLjs.RoleService.addUserToRole({
1081
+ await _chunk5KQXRLK3js.RoleService.addUserToRole({
1079
1082
  roleId: role.id,
1080
1083
  userId: user.id
1081
1084
  });
@@ -1091,9 +1094,9 @@ function AddUserToRoleInternal({ role, refresh }) {
1091
1094
  }, "addUserToRole");
1092
1095
  const data = useDataListRetriever({
1093
1096
  ready: !!company && show,
1094
- retriever: /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (params) => _chunkUYBCHXXLjs.UserService.findAllUsers(params), "retriever"),
1097
+ retriever: /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (params) => _chunk5KQXRLK3js.UserService.findAllUsers(params), "retriever"),
1095
1098
  retrieverParams: { companyId: _optionalChain([company, 'optionalAccess', _46 => _46.id]) },
1096
- module: _chunkUYBCHXXLjs.Modules.User
1099
+ module: _chunk5KQXRLK3js.Modules.User
1097
1100
  });
1098
1101
  _react.useEffect.call(void 0, () => {
1099
1102
  if (!!company && show) {
@@ -1144,7 +1147,7 @@ function Accordion({ className, ...props }) {
1144
1147
  _accordion.Accordion.Root,
1145
1148
  {
1146
1149
  "data-slot": "accordion",
1147
- className: _chunkUYBCHXXLjs.cn.call(void 0, "overflow-hidden rounded-md border flex w-full flex-col", className),
1150
+ className: _chunk5KQXRLK3js.cn.call(void 0, "overflow-hidden rounded-md border flex w-full flex-col", className),
1148
1151
  ...props
1149
1152
  }
1150
1153
  );
@@ -1155,7 +1158,7 @@ function AccordionItem({ className, ...props }) {
1155
1158
  _accordion.Accordion.Item,
1156
1159
  {
1157
1160
  "data-slot": "accordion-item",
1158
- className: _chunkUYBCHXXLjs.cn.call(void 0, "data-open:bg-muted/50 not-last:border-b", className),
1161
+ className: _chunk5KQXRLK3js.cn.call(void 0, "data-open:bg-muted/50 not-last:border-b", className),
1159
1162
  ...props
1160
1163
  }
1161
1164
  );
@@ -1170,7 +1173,7 @@ function AccordionTrigger({
1170
1173
  _accordion.Accordion.Trigger,
1171
1174
  {
1172
1175
  "data-slot": "accordion-trigger",
1173
- className: _chunkUYBCHXXLjs.cn.call(void 0,
1176
+ className: _chunk5KQXRLK3js.cn.call(void 0,
1174
1177
  "**:data-[slot=accordion-trigger-icon]:text-muted-foreground gap-6 p-2 text-left text-xs/relaxed font-medium hover:underline **:data-[slot=accordion-trigger-icon]:ml-auto **:data-[slot=accordion-trigger-icon]:size-4 group/accordion-trigger relative flex flex-1 items-start justify-between border border-transparent transition-all outline-none disabled:pointer-events-none disabled:opacity-50",
1175
1178
  className
1176
1179
  ),
@@ -1198,7 +1201,7 @@ function AccordionContent({
1198
1201
  children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
1199
1202
  "div",
1200
1203
  {
1201
- className: _chunkUYBCHXXLjs.cn.call(void 0,
1204
+ className: _chunk5KQXRLK3js.cn.call(void 0,
1202
1205
  "pt-0 pb-4 [&_a]:hover:text-foreground h-(--accordion-panel-height) data-ending-style:h-0 data-starting-style:h-0 [&_a]:underline [&_a]:underline-offset-3 [&_p:not(:last-child)]:mb-4",
1203
1206
  className
1204
1207
  ),
@@ -1234,7 +1237,7 @@ function Alert({
1234
1237
  {
1235
1238
  "data-slot": "alert",
1236
1239
  role: "alert",
1237
- className: _chunkUYBCHXXLjs.cn.call(void 0, alertVariants({ variant }), className),
1240
+ className: _chunk5KQXRLK3js.cn.call(void 0, alertVariants({ variant }), className),
1238
1241
  ...props
1239
1242
  }
1240
1243
  );
@@ -1245,7 +1248,7 @@ function AlertTitle({ className, ...props }) {
1245
1248
  "div",
1246
1249
  {
1247
1250
  "data-slot": "alert-title",
1248
- className: _chunkUYBCHXXLjs.cn.call(void 0,
1251
+ className: _chunk5KQXRLK3js.cn.call(void 0,
1249
1252
  "font-medium group-has-[>svg]/alert:col-start-2 [&_a]:hover:text-foreground [&_a]:underline [&_a]:underline-offset-3",
1250
1253
  className
1251
1254
  ),
@@ -1262,7 +1265,7 @@ function AlertDescription({
1262
1265
  "div",
1263
1266
  {
1264
1267
  "data-slot": "alert-description",
1265
- className: _chunkUYBCHXXLjs.cn.call(void 0,
1268
+ className: _chunk5KQXRLK3js.cn.call(void 0,
1266
1269
  "text-muted-foreground text-xs/relaxed text-balance md:text-pretty [&_p:not(:last-child)]:mb-4 [&_a]:hover:text-foreground [&_a]:underline [&_a]:underline-offset-3",
1267
1270
  className
1268
1271
  ),
@@ -1276,7 +1279,7 @@ function AlertAction({ className, ...props }) {
1276
1279
  "div",
1277
1280
  {
1278
1281
  "data-slot": "alert-action",
1279
- className: _chunkUYBCHXXLjs.cn.call(void 0, "absolute top-1.5 right-2", className),
1282
+ className: _chunk5KQXRLK3js.cn.call(void 0, "absolute top-1.5 right-2", className),
1280
1283
  ...props
1281
1284
  }
1282
1285
  );
@@ -1329,7 +1332,7 @@ function Button({
1329
1332
  _button.Button,
1330
1333
  {
1331
1334
  "data-slot": "button",
1332
- className: _chunkUYBCHXXLjs.cn.call(void 0, buttonVariants({ variant, size, className })),
1335
+ className: _chunk5KQXRLK3js.cn.call(void 0, buttonVariants({ variant, size, className })),
1333
1336
  ...props
1334
1337
  }
1335
1338
  );
@@ -1358,7 +1361,7 @@ function AlertDialogOverlay({
1358
1361
  _alertdialog.AlertDialog.Backdrop,
1359
1362
  {
1360
1363
  "data-slot": "alert-dialog-overlay",
1361
- className: _chunkUYBCHXXLjs.cn.call(void 0,
1364
+ className: _chunk5KQXRLK3js.cn.call(void 0,
1362
1365
  "data-open:animate-in data-closed:animate-out data-closed:fade-out-0 data-open:fade-in-0 bg-black/80 duration-100 supports-backdrop-filter:backdrop-blur-xs fixed inset-0 isolate z-50",
1363
1366
  className
1364
1367
  ),
@@ -1379,7 +1382,7 @@ function AlertDialogContent({
1379
1382
  {
1380
1383
  "data-slot": "alert-dialog-content",
1381
1384
  "data-size": size,
1382
- className: _chunkUYBCHXXLjs.cn.call(void 0,
1385
+ className: _chunk5KQXRLK3js.cn.call(void 0,
1383
1386
  "data-open:animate-in data-closed:animate-out data-closed:fade-out-0 data-open:fade-in-0 data-closed:zoom-out-95 data-open:zoom-in-95 bg-background ring-foreground/10 gap-3 rounded-xl p-4 ring-1 duration-100 data-[size=default]:max-w-xs data-[size=sm]:max-w-64 data-[size=default]:sm:max-w-sm group/alert-dialog-content fixed top-1/2 left-1/2 z-50 grid w-full -translate-x-1/2 -translate-y-1/2 outline-none",
1384
1387
  className
1385
1388
  ),
@@ -1397,7 +1400,7 @@ function AlertDialogHeader({
1397
1400
  "div",
1398
1401
  {
1399
1402
  "data-slot": "alert-dialog-header",
1400
- className: _chunkUYBCHXXLjs.cn.call(void 0, "grid grid-rows-[auto_1fr] place-items-center gap-1 text-center has-data-[slot=alert-dialog-media]:grid-rows-[auto_auto_1fr] has-data-[slot=alert-dialog-media]:gap-x-4 sm:group-data-[size=default]/alert-dialog-content:place-items-start sm:group-data-[size=default]/alert-dialog-content:text-left sm:group-data-[size=default]/alert-dialog-content:has-data-[slot=alert-dialog-media]:grid-rows-[auto_1fr]", className),
1403
+ className: _chunk5KQXRLK3js.cn.call(void 0, "grid grid-rows-[auto_1fr] place-items-center gap-1 text-center has-data-[slot=alert-dialog-media]:grid-rows-[auto_auto_1fr] has-data-[slot=alert-dialog-media]:gap-x-4 sm:group-data-[size=default]/alert-dialog-content:place-items-start sm:group-data-[size=default]/alert-dialog-content:text-left sm:group-data-[size=default]/alert-dialog-content:has-data-[slot=alert-dialog-media]:grid-rows-[auto_1fr]", className),
1401
1404
  ...props
1402
1405
  }
1403
1406
  );
@@ -1411,7 +1414,7 @@ function AlertDialogFooter({
1411
1414
  "div",
1412
1415
  {
1413
1416
  "data-slot": "alert-dialog-footer",
1414
- className: _chunkUYBCHXXLjs.cn.call(void 0,
1417
+ className: _chunk5KQXRLK3js.cn.call(void 0,
1415
1418
  "flex flex-col-reverse gap-2 group-data-[size=sm]/alert-dialog-content:grid group-data-[size=sm]/alert-dialog-content:grid-cols-2 sm:flex-row sm:justify-end",
1416
1419
  className
1417
1420
  ),
@@ -1428,7 +1431,7 @@ function AlertDialogMedia({
1428
1431
  "div",
1429
1432
  {
1430
1433
  "data-slot": "alert-dialog-media",
1431
- className: _chunkUYBCHXXLjs.cn.call(void 0, "bg-muted mb-2 inline-flex size-8 items-center justify-center rounded-md sm:group-data-[size=default]/alert-dialog-content:row-span-2 *:[svg:not([class*='size-'])]:size-4", className),
1434
+ className: _chunk5KQXRLK3js.cn.call(void 0, "bg-muted mb-2 inline-flex size-8 items-center justify-center rounded-md sm:group-data-[size=default]/alert-dialog-content:row-span-2 *:[svg:not([class*='size-'])]:size-4", className),
1432
1435
  ...props
1433
1436
  }
1434
1437
  );
@@ -1442,7 +1445,7 @@ function AlertDialogTitle({
1442
1445
  _alertdialog.AlertDialog.Title,
1443
1446
  {
1444
1447
  "data-slot": "alert-dialog-title",
1445
- className: _chunkUYBCHXXLjs.cn.call(void 0, "text-sm font-medium sm:group-data-[size=default]/alert-dialog-content:group-has-data-[slot=alert-dialog-media]/alert-dialog-content:col-start-2", className),
1448
+ className: _chunk5KQXRLK3js.cn.call(void 0, "text-sm font-medium sm:group-data-[size=default]/alert-dialog-content:group-has-data-[slot=alert-dialog-media]/alert-dialog-content:col-start-2", className),
1446
1449
  ...props
1447
1450
  }
1448
1451
  );
@@ -1456,7 +1459,7 @@ function AlertDialogDescription({
1456
1459
  _alertdialog.AlertDialog.Description,
1457
1460
  {
1458
1461
  "data-slot": "alert-dialog-description",
1459
- className: _chunkUYBCHXXLjs.cn.call(void 0, "text-muted-foreground *:[a]:hover:text-foreground text-xs/relaxed text-balance md:text-pretty *:[a]:underline *:[a]:underline-offset-3", className),
1462
+ className: _chunk5KQXRLK3js.cn.call(void 0, "text-muted-foreground *:[a]:hover:text-foreground text-xs/relaxed text-balance md:text-pretty *:[a]:underline *:[a]:underline-offset-3", className),
1460
1463
  ...props
1461
1464
  }
1462
1465
  );
@@ -1470,7 +1473,7 @@ function AlertDialogAction({
1470
1473
  Button,
1471
1474
  {
1472
1475
  "data-slot": "alert-dialog-action",
1473
- className: _chunkUYBCHXXLjs.cn.call(void 0, className),
1476
+ className: _chunk5KQXRLK3js.cn.call(void 0, className),
1474
1477
  ...props
1475
1478
  }
1476
1479
  );
@@ -1486,7 +1489,7 @@ function AlertDialogCancel({
1486
1489
  _alertdialog.AlertDialog.Close,
1487
1490
  {
1488
1491
  "data-slot": "alert-dialog-cancel",
1489
- className: _chunkUYBCHXXLjs.cn.call(void 0, className),
1492
+ className: _chunk5KQXRLK3js.cn.call(void 0, className),
1490
1493
  render: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Button, { variant, size }),
1491
1494
  ...props
1492
1495
  }
@@ -1507,7 +1510,7 @@ function Avatar({
1507
1510
  {
1508
1511
  "data-slot": "avatar",
1509
1512
  "data-size": size,
1510
- className: _chunkUYBCHXXLjs.cn.call(void 0,
1513
+ className: _chunk5KQXRLK3js.cn.call(void 0,
1511
1514
  "size-8 rounded-full after:rounded-full data-[size=lg]:size-10 data-[size=sm]:size-6 after:border-border group/avatar relative flex shrink-0 select-none after:absolute after:inset-0 after:border after:mix-blend-darken dark:after:mix-blend-lighten",
1512
1515
  className
1513
1516
  ),
@@ -1521,7 +1524,7 @@ function AvatarImage({ className, ...props }) {
1521
1524
  _avatar.Avatar.Image,
1522
1525
  {
1523
1526
  "data-slot": "avatar-image",
1524
- className: _chunkUYBCHXXLjs.cn.call(void 0,
1527
+ className: _chunk5KQXRLK3js.cn.call(void 0,
1525
1528
  "rounded-full aspect-square size-full object-cover",
1526
1529
  className
1527
1530
  ),
@@ -1538,7 +1541,7 @@ function AvatarFallback({
1538
1541
  _avatar.Avatar.Fallback,
1539
1542
  {
1540
1543
  "data-slot": "avatar-fallback",
1541
- className: _chunkUYBCHXXLjs.cn.call(void 0,
1544
+ className: _chunk5KQXRLK3js.cn.call(void 0,
1542
1545
  "bg-muted text-muted-foreground rounded-full flex size-full items-center justify-center text-sm group-data-[size=sm]/avatar:text-xs",
1543
1546
  className
1544
1547
  ),
@@ -1552,7 +1555,7 @@ function AvatarBadge({ className, ...props }) {
1552
1555
  "span",
1553
1556
  {
1554
1557
  "data-slot": "avatar-badge",
1555
- className: _chunkUYBCHXXLjs.cn.call(void 0,
1558
+ className: _chunk5KQXRLK3js.cn.call(void 0,
1556
1559
  "bg-primary text-primary-foreground ring-background absolute right-0 bottom-0 z-10 inline-flex items-center justify-center rounded-full bg-blend-color ring-2 select-none",
1557
1560
  "group-data-[size=sm]/avatar:size-2 group-data-[size=sm]/avatar:[&>svg]:hidden",
1558
1561
  "group-data-[size=default]/avatar:size-2.5 group-data-[size=default]/avatar:[&>svg]:size-2",
@@ -1569,7 +1572,7 @@ function AvatarGroup({ className, ...props }) {
1569
1572
  "div",
1570
1573
  {
1571
1574
  "data-slot": "avatar-group",
1572
- className: _chunkUYBCHXXLjs.cn.call(void 0,
1575
+ className: _chunk5KQXRLK3js.cn.call(void 0,
1573
1576
  "*:data-[slot=avatar]:ring-background group/avatar-group flex -space-x-2 *:data-[slot=avatar]:ring-2",
1574
1577
  className
1575
1578
  ),
@@ -1586,7 +1589,7 @@ function AvatarGroupCount({
1586
1589
  "div",
1587
1590
  {
1588
1591
  "data-slot": "avatar-group-count",
1589
- className: _chunkUYBCHXXLjs.cn.call(void 0, "bg-muted text-muted-foreground size-8 rounded-full text-xs/relaxed group-has-data-[size=lg]/avatar-group:size-10 group-has-data-[size=sm]/avatar-group:size-6 [&>svg]:size-4 group-has-data-[size=lg]/avatar-group:[&>svg]:size-5 group-has-data-[size=sm]/avatar-group:[&>svg]:size-3 ring-background relative flex shrink-0 items-center justify-center ring-2", className),
1592
+ className: _chunk5KQXRLK3js.cn.call(void 0, "bg-muted text-muted-foreground size-8 rounded-full text-xs/relaxed group-has-data-[size=lg]/avatar-group:size-10 group-has-data-[size=sm]/avatar-group:size-6 [&>svg]:size-4 group-has-data-[size=lg]/avatar-group:[&>svg]:size-5 group-has-data-[size=sm]/avatar-group:[&>svg]:size-3 ring-background relative flex shrink-0 items-center justify-center ring-2", className),
1590
1593
  ...props
1591
1594
  }
1592
1595
  );
@@ -1625,7 +1628,7 @@ function Badge({
1625
1628
  defaultTagName: "span",
1626
1629
  props: _mergeprops.mergeProps.call(void 0,
1627
1630
  {
1628
- className: _chunkUYBCHXXLjs.cn.call(void 0, badgeVariants({ className, variant }))
1631
+ className: _chunk5KQXRLK3js.cn.call(void 0, badgeVariants({ className, variant }))
1629
1632
  },
1630
1633
  props
1631
1634
  ),
@@ -1649,7 +1652,7 @@ function Breadcrumb({ className, ...props }) {
1649
1652
  {
1650
1653
  "aria-label": "breadcrumb",
1651
1654
  "data-slot": "breadcrumb",
1652
- className: _chunkUYBCHXXLjs.cn.call(void 0, className),
1655
+ className: _chunk5KQXRLK3js.cn.call(void 0, className),
1653
1656
  ...props
1654
1657
  }
1655
1658
  );
@@ -1660,7 +1663,7 @@ function BreadcrumbList({ className, ...props }) {
1660
1663
  "ol",
1661
1664
  {
1662
1665
  "data-slot": "breadcrumb-list",
1663
- className: _chunkUYBCHXXLjs.cn.call(void 0,
1666
+ className: _chunk5KQXRLK3js.cn.call(void 0,
1664
1667
  "text-muted-foreground gap-1.5 text-xs/relaxed flex flex-wrap items-center break-words",
1665
1668
  className
1666
1669
  ),
@@ -1674,7 +1677,7 @@ function BreadcrumbItem({ className, ...props }) {
1674
1677
  "li",
1675
1678
  {
1676
1679
  "data-slot": "breadcrumb-item",
1677
- className: _chunkUYBCHXXLjs.cn.call(void 0, "gap-1 inline-flex items-center", className),
1680
+ className: _chunk5KQXRLK3js.cn.call(void 0, "gap-1 inline-flex items-center", className),
1678
1681
  ...props
1679
1682
  }
1680
1683
  );
@@ -1689,7 +1692,7 @@ function BreadcrumbLink({
1689
1692
  defaultTagName: "a",
1690
1693
  props: _mergeprops.mergeProps.call(void 0,
1691
1694
  {
1692
- className: _chunkUYBCHXXLjs.cn.call(void 0, "hover:text-foreground transition-colors", className)
1695
+ className: _chunk5KQXRLK3js.cn.call(void 0, "hover:text-foreground transition-colors", className)
1693
1696
  },
1694
1697
  props
1695
1698
  ),
@@ -1708,7 +1711,7 @@ function BreadcrumbPage({ className, ...props }) {
1708
1711
  role: "link",
1709
1712
  "aria-disabled": "true",
1710
1713
  "aria-current": "page",
1711
- className: _chunkUYBCHXXLjs.cn.call(void 0, "text-foreground font-normal", className),
1714
+ className: _chunk5KQXRLK3js.cn.call(void 0, "text-foreground font-normal", className),
1712
1715
  ...props
1713
1716
  }
1714
1717
  );
@@ -1725,7 +1728,7 @@ function BreadcrumbSeparator({
1725
1728
  "data-slot": "breadcrumb-separator",
1726
1729
  role: "presentation",
1727
1730
  "aria-hidden": "true",
1728
- className: _chunkUYBCHXXLjs.cn.call(void 0, "[&>svg]:size-3.5", className),
1731
+ className: _chunk5KQXRLK3js.cn.call(void 0, "[&>svg]:size-3.5", className),
1729
1732
  ...props,
1730
1733
  children: _nullishCoalesce(children, () => ( /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
1731
1734
  _lucidereact.ChevronRightIcon,
@@ -1745,7 +1748,7 @@ function BreadcrumbEllipsis({
1745
1748
  "data-slot": "breadcrumb-ellipsis",
1746
1749
  role: "presentation",
1747
1750
  "aria-hidden": "true",
1748
- className: _chunkUYBCHXXLjs.cn.call(void 0,
1751
+ className: _chunk5KQXRLK3js.cn.call(void 0,
1749
1752
  "size-4 [&>svg]:size-3.5 flex items-center justify-center",
1750
1753
  className
1751
1754
  ),
@@ -1785,7 +1788,7 @@ function Calendar({
1785
1788
  _reactdaypicker.DayPicker,
1786
1789
  {
1787
1790
  showOutsideDays,
1788
- className: _chunkUYBCHXXLjs.cn.call(void 0,
1791
+ className: _chunk5KQXRLK3js.cn.call(void 0,
1789
1792
  "p-3 [--cell-radius:var(--radius-md)] [--cell-size:--spacing(6)] bg-background group/calendar [[data-slot=card-content]_&]:bg-transparent [[data-slot=popover-content]_&]:bg-transparent",
1790
1793
  String.raw`rtl:**:[.rdp-button\_next>svg]:rotate-180`,
1791
1794
  String.raw`rtl:**:[.rdp-button\_previous>svg]:rotate-180`,
@@ -1797,89 +1800,89 @@ function Calendar({
1797
1800
  ...formatters
1798
1801
  },
1799
1802
  classNames: {
1800
- root: _chunkUYBCHXXLjs.cn.call(void 0, "w-fit", defaultClassNames.root),
1801
- months: _chunkUYBCHXXLjs.cn.call(void 0,
1803
+ root: _chunk5KQXRLK3js.cn.call(void 0, "w-fit", defaultClassNames.root),
1804
+ months: _chunk5KQXRLK3js.cn.call(void 0,
1802
1805
  "flex gap-4 flex-col md:flex-row relative",
1803
1806
  defaultClassNames.months
1804
1807
  ),
1805
- month: _chunkUYBCHXXLjs.cn.call(void 0, "flex flex-col w-full gap-4", defaultClassNames.month),
1806
- nav: _chunkUYBCHXXLjs.cn.call(void 0,
1808
+ month: _chunk5KQXRLK3js.cn.call(void 0, "flex flex-col w-full gap-4", defaultClassNames.month),
1809
+ nav: _chunk5KQXRLK3js.cn.call(void 0,
1807
1810
  "flex items-center gap-1 w-full absolute top-0 inset-x-0 justify-between",
1808
1811
  defaultClassNames.nav
1809
1812
  ),
1810
- button_previous: _chunkUYBCHXXLjs.cn.call(void 0,
1813
+ button_previous: _chunk5KQXRLK3js.cn.call(void 0,
1811
1814
  buttonVariants({ variant: buttonVariant }),
1812
1815
  "size-(--cell-size) aria-disabled:opacity-50 p-0 select-none",
1813
1816
  defaultClassNames.button_previous
1814
1817
  ),
1815
- button_next: _chunkUYBCHXXLjs.cn.call(void 0,
1818
+ button_next: _chunk5KQXRLK3js.cn.call(void 0,
1816
1819
  buttonVariants({ variant: buttonVariant }),
1817
1820
  "size-(--cell-size) aria-disabled:opacity-50 p-0 select-none",
1818
1821
  defaultClassNames.button_next
1819
1822
  ),
1820
- month_caption: _chunkUYBCHXXLjs.cn.call(void 0,
1823
+ month_caption: _chunk5KQXRLK3js.cn.call(void 0,
1821
1824
  "flex items-center justify-center h-(--cell-size) w-full px-(--cell-size)",
1822
1825
  defaultClassNames.month_caption
1823
1826
  ),
1824
- dropdowns: _chunkUYBCHXXLjs.cn.call(void 0,
1827
+ dropdowns: _chunk5KQXRLK3js.cn.call(void 0,
1825
1828
  "w-full flex items-center text-sm font-medium justify-center h-(--cell-size) gap-1.5",
1826
1829
  defaultClassNames.dropdowns
1827
1830
  ),
1828
- dropdown_root: _chunkUYBCHXXLjs.cn.call(void 0,
1831
+ dropdown_root: _chunk5KQXRLK3js.cn.call(void 0,
1829
1832
  "relative cn-calendar-dropdown-root rounded-(--cell-radius)",
1830
1833
  defaultClassNames.dropdown_root
1831
1834
  ),
1832
- dropdown: _chunkUYBCHXXLjs.cn.call(void 0,
1835
+ dropdown: _chunk5KQXRLK3js.cn.call(void 0,
1833
1836
  "absolute bg-popover inset-0 opacity-0",
1834
1837
  defaultClassNames.dropdown
1835
1838
  ),
1836
- caption_label: _chunkUYBCHXXLjs.cn.call(void 0,
1839
+ caption_label: _chunk5KQXRLK3js.cn.call(void 0,
1837
1840
  "select-none font-medium",
1838
1841
  captionLayout === "label" ? "text-sm" : "cn-calendar-caption-label rounded-(--cell-radius) flex items-center gap-1 text-sm [&>svg]:text-muted-foreground [&>svg]:size-3.5",
1839
1842
  defaultClassNames.caption_label
1840
1843
  ),
1841
1844
  table: "w-full border-collapse",
1842
- weekdays: _chunkUYBCHXXLjs.cn.call(void 0, "flex", defaultClassNames.weekdays),
1843
- weekday: _chunkUYBCHXXLjs.cn.call(void 0,
1845
+ weekdays: _chunk5KQXRLK3js.cn.call(void 0, "flex", defaultClassNames.weekdays),
1846
+ weekday: _chunk5KQXRLK3js.cn.call(void 0,
1844
1847
  "text-muted-foreground rounded-(--cell-radius) flex-1 font-normal text-[0.8rem] select-none",
1845
1848
  defaultClassNames.weekday
1846
1849
  ),
1847
- week: _chunkUYBCHXXLjs.cn.call(void 0, "flex w-full mt-2", defaultClassNames.week),
1848
- week_number_header: _chunkUYBCHXXLjs.cn.call(void 0,
1850
+ week: _chunk5KQXRLK3js.cn.call(void 0, "flex w-full mt-2", defaultClassNames.week),
1851
+ week_number_header: _chunk5KQXRLK3js.cn.call(void 0,
1849
1852
  "select-none w-(--cell-size)",
1850
1853
  defaultClassNames.week_number_header
1851
1854
  ),
1852
- week_number: _chunkUYBCHXXLjs.cn.call(void 0,
1855
+ week_number: _chunk5KQXRLK3js.cn.call(void 0,
1853
1856
  "text-[0.8rem] select-none text-muted-foreground",
1854
1857
  defaultClassNames.week_number
1855
1858
  ),
1856
- day: _chunkUYBCHXXLjs.cn.call(void 0,
1859
+ day: _chunk5KQXRLK3js.cn.call(void 0,
1857
1860
  "relative w-full rounded-(--cell-radius) h-full p-0 text-center [&:last-child[data-selected=true]_button]:rounded-r-(--cell-radius) group/day aspect-square select-none",
1858
1861
  props.showWeekNumber ? "[&:nth-child(2)[data-selected=true]_button]:rounded-l-(--cell-radius)" : "[&:first-child[data-selected=true]_button]:rounded-l-(--cell-radius)",
1859
1862
  defaultClassNames.day
1860
1863
  ),
1861
- range_start: _chunkUYBCHXXLjs.cn.call(void 0,
1864
+ range_start: _chunk5KQXRLK3js.cn.call(void 0,
1862
1865
  "rounded-l-(--cell-radius) bg-muted elative after:bg-muted after:absolute after:inset-y-0 after:w-4 after:right-0 -z-0 isolate",
1863
1866
  defaultClassNames.range_start
1864
1867
  ),
1865
- range_middle: _chunkUYBCHXXLjs.cn.call(void 0, "rounded-none", defaultClassNames.range_middle),
1866
- range_end: _chunkUYBCHXXLjs.cn.call(void 0,
1868
+ range_middle: _chunk5KQXRLK3js.cn.call(void 0, "rounded-none", defaultClassNames.range_middle),
1869
+ range_end: _chunk5KQXRLK3js.cn.call(void 0,
1867
1870
  "rounded-r-(--cell-radius) bg-muted relative after:bg-muted after:absolute after:inset-y-0 after:w-4 after:left-0 -z-0 isolate",
1868
1871
  defaultClassNames.range_end
1869
1872
  ),
1870
- today: _chunkUYBCHXXLjs.cn.call(void 0,
1873
+ today: _chunk5KQXRLK3js.cn.call(void 0,
1871
1874
  "bg-muted text-foreground rounded-(--cell-radius) data-[selected=true]:rounded-none",
1872
1875
  defaultClassNames.today
1873
1876
  ),
1874
- outside: _chunkUYBCHXXLjs.cn.call(void 0,
1877
+ outside: _chunk5KQXRLK3js.cn.call(void 0,
1875
1878
  "text-muted-foreground aria-selected:text-muted-foreground",
1876
1879
  defaultClassNames.outside
1877
1880
  ),
1878
- disabled: _chunkUYBCHXXLjs.cn.call(void 0,
1881
+ disabled: _chunk5KQXRLK3js.cn.call(void 0,
1879
1882
  "text-muted-foreground opacity-50",
1880
1883
  defaultClassNames.disabled
1881
1884
  ),
1882
- hidden: _chunkUYBCHXXLjs.cn.call(void 0, "invisible", defaultClassNames.hidden),
1885
+ hidden: _chunk5KQXRLK3js.cn.call(void 0, "invisible", defaultClassNames.hidden),
1883
1886
  ...classNames
1884
1887
  },
1885
1888
  components: {
@@ -1889,19 +1892,19 @@ function Calendar({
1889
1892
  {
1890
1893
  "data-slot": "calendar",
1891
1894
  ref: rootRef,
1892
- className: _chunkUYBCHXXLjs.cn.call(void 0, className2),
1895
+ className: _chunk5KQXRLK3js.cn.call(void 0, className2),
1893
1896
  ...props2
1894
1897
  }
1895
1898
  );
1896
1899
  }, "Root"),
1897
1900
  Chevron: /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, ({ className: className2, orientation, ...props2 }) => {
1898
1901
  if (orientation === "left") {
1899
- return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.ChevronLeftIcon, { className: _chunkUYBCHXXLjs.cn.call(void 0, "size-4", className2), ...props2 });
1902
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.ChevronLeftIcon, { className: _chunk5KQXRLK3js.cn.call(void 0, "size-4", className2), ...props2 });
1900
1903
  }
1901
1904
  if (orientation === "right") {
1902
- return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.ChevronRightIcon, { className: _chunkUYBCHXXLjs.cn.call(void 0, "size-4", className2), ...props2 });
1905
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.ChevronRightIcon, { className: _chunk5KQXRLK3js.cn.call(void 0, "size-4", className2), ...props2 });
1903
1906
  }
1904
- return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.ChevronDownIcon, { className: _chunkUYBCHXXLjs.cn.call(void 0, "size-4", className2), ...props2 });
1907
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.ChevronDownIcon, { className: _chunk5KQXRLK3js.cn.call(void 0, "size-4", className2), ...props2 });
1905
1908
  }, "Chevron"),
1906
1909
  DayButton: CalendarDayButton,
1907
1910
  WeekNumber: /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, ({ children, ...props2 }) => {
@@ -1935,7 +1938,7 @@ function CalendarDayButton({
1935
1938
  "data-range-start": modifiers.range_start,
1936
1939
  "data-range-end": modifiers.range_end,
1937
1940
  "data-range-middle": modifiers.range_middle,
1938
- className: _chunkUYBCHXXLjs.cn.call(void 0,
1941
+ className: _chunk5KQXRLK3js.cn.call(void 0,
1939
1942
  "data-[selected-single=true]:bg-primary data-[selected-single=true]:text-primary-foreground data-[range-middle=true]:bg-muted data-[range-middle=true]:text-foreground data-[range-start=true]:bg-primary data-[range-start=true]:text-primary-foreground data-[range-end=true]:bg-primary data-[range-end=true]:text-primary-foreground group-data-[focused=true]/day:border-ring group-data-[focused=true]/day:ring-ring/50 dark:hover:text-foreground relative isolate z-10 flex aspect-square size-auto w-full min-w-(--cell-size) flex-col gap-1 border-0 leading-none font-normal group-data-[focused=true]/day:relative group-data-[focused=true]/day:z-10 group-data-[focused=true]/day:ring-[3px] data-[range-end=true]:rounded-(--cell-radius) data-[range-end=true]:rounded-r-(--cell-radius) data-[range-middle=true]:rounded-none data-[range-start=true]:rounded-(--cell-radius) data-[range-start=true]:rounded-l-(--cell-radius) [&>span]:text-xs [&>span]:opacity-70",
1940
1943
  defaultClassNames.day,
1941
1944
  className
@@ -1958,7 +1961,7 @@ function Card({
1958
1961
  {
1959
1962
  "data-slot": "card",
1960
1963
  "data-size": size,
1961
- className: _chunkUYBCHXXLjs.cn.call(void 0, "ring-foreground/10 bg-card text-card-foreground gap-4 overflow-hidden rounded-lg py-4 text-xs/relaxed ring-1 has-[>img:first-child]:pt-0 data-[size=sm]:gap-3 data-[size=sm]:py-3 *:[img:first-child]:rounded-t-lg *:[img:last-child]:rounded-b-lg group/card flex flex-col", className),
1964
+ className: _chunk5KQXRLK3js.cn.call(void 0, "ring-foreground/10 bg-card text-card-foreground gap-4 overflow-hidden rounded-lg py-4 text-xs/relaxed ring-1 has-[>img:first-child]:pt-0 data-[size=sm]:gap-3 data-[size=sm]:py-3 *:[img:first-child]:rounded-t-lg *:[img:last-child]:rounded-b-lg group/card flex flex-col", className),
1962
1965
  ...props
1963
1966
  }
1964
1967
  );
@@ -1969,7 +1972,7 @@ function CardHeader({ className, ...props }) {
1969
1972
  "div",
1970
1973
  {
1971
1974
  "data-slot": "card-header",
1972
- className: _chunkUYBCHXXLjs.cn.call(void 0,
1975
+ className: _chunk5KQXRLK3js.cn.call(void 0,
1973
1976
  "gap-1 rounded-t-lg px-4 group-data-[size=sm]/card:px-3 [.border-b]:pb-4 group-data-[size=sm]/card:[.border-b]:pb-3 group/card-header @container/card-header grid auto-rows-min items-start has-data-[slot=card-action]:grid-cols-[1fr_auto] has-data-[slot=card-description]:grid-rows-[auto_auto]",
1974
1977
  className
1975
1978
  ),
@@ -1983,7 +1986,7 @@ function CardTitle({ className, ...props }) {
1983
1986
  "div",
1984
1987
  {
1985
1988
  "data-slot": "card-title",
1986
- className: _chunkUYBCHXXLjs.cn.call(void 0, "text-sm font-medium", className),
1989
+ className: _chunk5KQXRLK3js.cn.call(void 0, "text-sm font-medium", className),
1987
1990
  ...props
1988
1991
  }
1989
1992
  );
@@ -1994,7 +1997,7 @@ function CardDescription({ className, ...props }) {
1994
1997
  "div",
1995
1998
  {
1996
1999
  "data-slot": "card-description",
1997
- className: _chunkUYBCHXXLjs.cn.call(void 0, "text-muted-foreground text-xs/relaxed", className),
2000
+ className: _chunk5KQXRLK3js.cn.call(void 0, "text-muted-foreground text-xs/relaxed", className),
1998
2001
  ...props
1999
2002
  }
2000
2003
  );
@@ -2005,7 +2008,7 @@ function CardAction({ className, ...props }) {
2005
2008
  "div",
2006
2009
  {
2007
2010
  "data-slot": "card-action",
2008
- className: _chunkUYBCHXXLjs.cn.call(void 0,
2011
+ className: _chunk5KQXRLK3js.cn.call(void 0,
2009
2012
  "col-start-2 row-span-2 row-start-1 self-start justify-self-end",
2010
2013
  className
2011
2014
  ),
@@ -2019,7 +2022,7 @@ function CardContent({ className, ...props }) {
2019
2022
  "div",
2020
2023
  {
2021
2024
  "data-slot": "card-content",
2022
- className: _chunkUYBCHXXLjs.cn.call(void 0, "px-4 group-data-[size=sm]/card:px-3", className),
2025
+ className: _chunk5KQXRLK3js.cn.call(void 0, "px-4 group-data-[size=sm]/card:px-3", className),
2023
2026
  ...props
2024
2027
  }
2025
2028
  );
@@ -2030,7 +2033,7 @@ function CardFooter({ className, ...props }) {
2030
2033
  "div",
2031
2034
  {
2032
2035
  "data-slot": "card-footer",
2033
- className: _chunkUYBCHXXLjs.cn.call(void 0, "rounded-b-lg px-4 group-data-[size=sm]/card:px-3 [.border-t]:pt-4 group-data-[size=sm]/card:[.border-t]:pt-3 flex items-center", className),
2036
+ className: _chunk5KQXRLK3js.cn.call(void 0, "rounded-b-lg px-4 group-data-[size=sm]/card:px-3 [.border-t]:pt-4 group-data-[size=sm]/card:[.border-t]:pt-3 flex items-center", className),
2034
2037
  ...props
2035
2038
  }
2036
2039
  );
@@ -2122,7 +2125,7 @@ function Carousel({
2122
2125
  "div",
2123
2126
  {
2124
2127
  onKeyDownCapture: handleKeyDown,
2125
- className: _chunkUYBCHXXLjs.cn.call(void 0, "relative", className),
2128
+ className: _chunk5KQXRLK3js.cn.call(void 0, "relative", className),
2126
2129
  role: "region",
2127
2130
  "aria-roledescription": "carousel",
2128
2131
  "data-slot": "carousel",
@@ -2145,7 +2148,7 @@ function CarouselContent({ className, ...props }) {
2145
2148
  children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
2146
2149
  "div",
2147
2150
  {
2148
- className: _chunkUYBCHXXLjs.cn.call(void 0,
2151
+ className: _chunk5KQXRLK3js.cn.call(void 0,
2149
2152
  "flex",
2150
2153
  orientation === "horizontal" ? "-ml-4" : "-mt-4 flex-col",
2151
2154
  className
@@ -2165,7 +2168,7 @@ function CarouselItem({ className, ...props }) {
2165
2168
  role: "group",
2166
2169
  "aria-roledescription": "slide",
2167
2170
  "data-slot": "carousel-item",
2168
- className: _chunkUYBCHXXLjs.cn.call(void 0,
2171
+ className: _chunk5KQXRLK3js.cn.call(void 0,
2169
2172
  "min-w-0 shrink-0 grow-0 basis-full",
2170
2173
  orientation === "horizontal" ? "pl-4" : "pt-4",
2171
2174
  className
@@ -2188,7 +2191,7 @@ function CarouselPrevious({
2188
2191
  "data-slot": "carousel-previous",
2189
2192
  variant,
2190
2193
  size,
2191
- className: _chunkUYBCHXXLjs.cn.call(void 0,
2194
+ className: _chunk5KQXRLK3js.cn.call(void 0,
2192
2195
  "rounded-full absolute touch-manipulation",
2193
2196
  orientation === "horizontal" ? "top-1/2 -left-12 -translate-y-1/2" : "-top-12 left-1/2 -translate-x-1/2 rotate-90",
2194
2197
  className
@@ -2220,7 +2223,7 @@ function CarouselNext({
2220
2223
  "data-slot": "carousel-next",
2221
2224
  variant,
2222
2225
  size,
2223
- className: _chunkUYBCHXXLjs.cn.call(void 0,
2226
+ className: _chunk5KQXRLK3js.cn.call(void 0,
2224
2227
  "rounded-full absolute touch-manipulation",
2225
2228
  orientation === "horizontal" ? "top-1/2 -right-12 -translate-y-1/2" : "-bottom-12 left-1/2 -translate-x-1/2 rotate-90",
2226
2229
  className
@@ -2268,7 +2271,7 @@ function ChartContainer({
2268
2271
  {
2269
2272
  "data-slot": "chart",
2270
2273
  "data-chart": chartId,
2271
- className: _chunkUYBCHXXLjs.cn.call(void 0,
2274
+ className: _chunk5KQXRLK3js.cn.call(void 0,
2272
2275
  "[&_.recharts-cartesian-axis-tick_text]:fill-muted-foreground [&_.recharts-cartesian-grid_line[stroke='#ccc']]:stroke-border/50 [&_.recharts-curve.recharts-tooltip-cursor]:stroke-border [&_.recharts-polar-grid_[stroke='#ccc']]:stroke-border [&_.recharts-radial-bar-background-sector]:fill-muted [&_.recharts-rectangle.recharts-tooltip-cursor]:fill-muted [&_.recharts-reference-line_[stroke='#ccc']]:stroke-border flex aspect-video justify-center text-xs [&_.recharts-dot[stroke='#fff']]:stroke-transparent [&_.recharts-layer]:outline-hidden [&_.recharts-sector]:outline-hidden [&_.recharts-sector[stroke='#fff']]:stroke-transparent [&_.recharts-surface]:outline-hidden",
2273
2276
  className
2274
2277
  ),
@@ -2332,12 +2335,12 @@ function ChartTooltipContent({
2332
2335
  const itemConfig = getPayloadConfigFromPayload(config, item, key);
2333
2336
  const value = !labelKey && typeof label === "string" ? _optionalChain([config, 'access', _62 => _62[label], 'optionalAccess', _63 => _63.label]) || label : _optionalChain([itemConfig, 'optionalAccess', _64 => _64.label]);
2334
2337
  if (labelFormatter) {
2335
- return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunkUYBCHXXLjs.cn.call(void 0, "font-medium", labelClassName), children: labelFormatter(value, payload) });
2338
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunk5KQXRLK3js.cn.call(void 0, "font-medium", labelClassName), children: labelFormatter(value, payload) });
2336
2339
  }
2337
2340
  if (!value) {
2338
2341
  return null;
2339
2342
  }
2340
- return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunkUYBCHXXLjs.cn.call(void 0, "font-medium", labelClassName), children: value });
2343
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunk5KQXRLK3js.cn.call(void 0, "font-medium", labelClassName), children: value });
2341
2344
  }, [
2342
2345
  label,
2343
2346
  labelFormatter,
@@ -2354,7 +2357,7 @@ function ChartTooltipContent({
2354
2357
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
2355
2358
  "div",
2356
2359
  {
2357
- className: _chunkUYBCHXXLjs.cn.call(void 0,
2360
+ className: _chunk5KQXRLK3js.cn.call(void 0,
2358
2361
  "border-border/50 bg-background gap-1.5 rounded-lg border px-2.5 py-1.5 text-xs/relaxed shadow-xl grid min-w-[8rem] items-start",
2359
2362
  className
2360
2363
  ),
@@ -2367,7 +2370,7 @@ function ChartTooltipContent({
2367
2370
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
2368
2371
  "div",
2369
2372
  {
2370
- className: _chunkUYBCHXXLjs.cn.call(void 0,
2373
+ className: _chunk5KQXRLK3js.cn.call(void 0,
2371
2374
  "[&>svg]:text-muted-foreground flex w-full flex-wrap items-stretch gap-2 [&>svg]:h-2.5 [&>svg]:w-2.5",
2372
2375
  indicator === "dot" && "items-center"
2373
2376
  ),
@@ -2375,7 +2378,7 @@ function ChartTooltipContent({
2375
2378
  _optionalChain([itemConfig, 'optionalAccess', _69 => _69.icon]) ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, itemConfig.icon, {}) : !hideIndicator && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
2376
2379
  "div",
2377
2380
  {
2378
- className: _chunkUYBCHXXLjs.cn.call(void 0,
2381
+ className: _chunk5KQXRLK3js.cn.call(void 0,
2379
2382
  "shrink-0 rounded-[2px] border-(--color-border) bg-(--color-bg)",
2380
2383
  {
2381
2384
  "h-2.5 w-2.5": indicator === "dot",
@@ -2393,7 +2396,7 @@ function ChartTooltipContent({
2393
2396
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
2394
2397
  "div",
2395
2398
  {
2396
- className: _chunkUYBCHXXLjs.cn.call(void 0,
2399
+ className: _chunk5KQXRLK3js.cn.call(void 0,
2397
2400
  "flex flex-1 justify-between leading-none",
2398
2401
  nestLabel ? "items-end" : "items-center"
2399
2402
  ),
@@ -2431,7 +2434,7 @@ function ChartLegendContent({
2431
2434
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
2432
2435
  "div",
2433
2436
  {
2434
- className: _chunkUYBCHXXLjs.cn.call(void 0,
2437
+ className: _chunk5KQXRLK3js.cn.call(void 0,
2435
2438
  "flex items-center justify-center gap-4",
2436
2439
  verticalAlign === "top" ? "pb-3" : "pt-3",
2437
2440
  className
@@ -2442,7 +2445,7 @@ function ChartLegendContent({
2442
2445
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
2443
2446
  "div",
2444
2447
  {
2445
- className: _chunkUYBCHXXLjs.cn.call(void 0,
2448
+ className: _chunk5KQXRLK3js.cn.call(void 0,
2446
2449
  "[&>svg]:text-muted-foreground flex items-center gap-1.5 [&>svg]:h-3 [&>svg]:w-3"
2447
2450
  ),
2448
2451
  children: [
@@ -2489,7 +2492,7 @@ function Checkbox({ className, ...props }) {
2489
2492
  _checkbox.Checkbox.Root,
2490
2493
  {
2491
2494
  "data-slot": "checkbox",
2492
- className: _chunkUYBCHXXLjs.cn.call(void 0,
2495
+ className: _chunk5KQXRLK3js.cn.call(void 0,
2493
2496
  "border-input dark:bg-input/30 data-checked:bg-primary data-checked:text-primary-foreground dark:data-checked:bg-primary data-checked:border-primary aria-invalid:aria-checked:border-primary aria-invalid:border-destructive dark:aria-invalid:border-destructive/50 focus-visible:border-ring focus-visible:ring-ring/30 aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 flex size-4 items-center justify-center rounded-[4px] border transition-shadow group-has-disabled/field:opacity-50 focus-visible:ring-[2px] aria-invalid:ring-[2px] peer relative shrink-0 outline-none after:absolute after:-inset-x-3 after:-inset-y-2 disabled:cursor-not-allowed disabled:opacity-50",
2494
2497
  className
2495
2498
  ),
@@ -2557,7 +2560,7 @@ function DialogOverlay({
2557
2560
  _dialog.Dialog.Backdrop,
2558
2561
  {
2559
2562
  "data-slot": "dialog-overlay",
2560
- className: _chunkUYBCHXXLjs.cn.call(void 0, "data-open:animate-in data-closed:animate-out data-closed:fade-out-0 data-open:fade-in-0 bg-black/80 duration-100 supports-backdrop-filter:backdrop-blur-xs fixed inset-0 isolate z-50", className),
2563
+ className: _chunk5KQXRLK3js.cn.call(void 0, "data-open:animate-in data-closed:animate-out data-closed:fade-out-0 data-open:fade-in-0 bg-black/80 duration-100 supports-backdrop-filter:backdrop-blur-xs fixed inset-0 isolate z-50", className),
2561
2564
  ...props
2562
2565
  }
2563
2566
  );
@@ -2575,7 +2578,7 @@ function DialogContent({
2575
2578
  _dialog.Dialog.Popup,
2576
2579
  {
2577
2580
  "data-slot": "dialog-content",
2578
- className: _chunkUYBCHXXLjs.cn.call(void 0,
2581
+ className: _chunk5KQXRLK3js.cn.call(void 0,
2579
2582
  "bg-background data-open:animate-in data-closed:animate-out data-closed:fade-out-0 data-open:fade-in-0 data-closed:zoom-out-95 data-open:zoom-in-95 ring-foreground/10 grid gap-4 rounded-xl p-4 text-xs/relaxed ring-1 duration-100 fixed top-1/2 left-1/2 z-50 w-full max-w-lg -translate-x-1/2 -translate-y-1/2 outline-none",
2580
2583
  className
2581
2584
  ),
@@ -2614,7 +2617,7 @@ function DialogHeader({ className, ...props }) {
2614
2617
  "div",
2615
2618
  {
2616
2619
  "data-slot": "dialog-header",
2617
- className: _chunkUYBCHXXLjs.cn.call(void 0, "gap-1 flex flex-col", className),
2620
+ className: _chunk5KQXRLK3js.cn.call(void 0, "gap-1 flex flex-col", className),
2618
2621
  ...props
2619
2622
  }
2620
2623
  );
@@ -2630,7 +2633,7 @@ function DialogFooter({
2630
2633
  "div",
2631
2634
  {
2632
2635
  "data-slot": "dialog-footer",
2633
- className: _chunkUYBCHXXLjs.cn.call(void 0,
2636
+ className: _chunk5KQXRLK3js.cn.call(void 0,
2634
2637
  "gap-2 flex flex-col-reverse gap-2 sm:flex-row sm:justify-end",
2635
2638
  className
2636
2639
  ),
@@ -2648,7 +2651,7 @@ function DialogTitle({ className, ...props }) {
2648
2651
  _dialog.Dialog.Title,
2649
2652
  {
2650
2653
  "data-slot": "dialog-title",
2651
- className: _chunkUYBCHXXLjs.cn.call(void 0, "text-sm font-medium", className),
2654
+ className: _chunk5KQXRLK3js.cn.call(void 0, "text-sm font-medium", className),
2652
2655
  ...props
2653
2656
  }
2654
2657
  );
@@ -2662,7 +2665,7 @@ function DialogDescription({
2662
2665
  _dialog.Dialog.Description,
2663
2666
  {
2664
2667
  "data-slot": "dialog-description",
2665
- className: _chunkUYBCHXXLjs.cn.call(void 0, "text-muted-foreground *:[a]:hover:text-foreground text-xs/relaxed *:[a]:underline *:[a]:underline-offset-3", className),
2668
+ className: _chunk5KQXRLK3js.cn.call(void 0, "text-muted-foreground *:[a]:hover:text-foreground text-xs/relaxed *:[a]:underline *:[a]:underline-offset-3", className),
2666
2669
  ...props
2667
2670
  }
2668
2671
  );
@@ -2681,7 +2684,7 @@ function Input({ className, type, ...props }) {
2681
2684
  {
2682
2685
  type,
2683
2686
  "data-slot": "input",
2684
- className: _chunkUYBCHXXLjs.cn.call(void 0,
2687
+ className: _chunk5KQXRLK3js.cn.call(void 0,
2685
2688
  "bg-input/20 dark:bg-input/30 border-input focus-visible:border-ring focus-visible:ring-ring/30 aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive dark:aria-invalid:border-destructive/50 h-7 rounded-md border px-2 py-0.5 text-sm transition-colors file:h-6 file:text-xs/relaxed file:font-medium focus-visible:ring-[2px] aria-invalid:ring-[2px] md:text-xs/relaxed file:text-foreground placeholder:text-muted-foreground w-full min-w-0 outline-none file:inline-flex file:border-0 file:bg-transparent disabled:pointer-events-none disabled:cursor-not-allowed disabled:opacity-50",
2686
2689
  className
2687
2690
  ),
@@ -2698,7 +2701,7 @@ function Textarea({ className, ...props }) {
2698
2701
  "textarea",
2699
2702
  {
2700
2703
  "data-slot": "textarea",
2701
- className: _chunkUYBCHXXLjs.cn.call(void 0,
2704
+ className: _chunk5KQXRLK3js.cn.call(void 0,
2702
2705
  "border-input bg-input/20 dark:bg-input/30 focus-visible:border-ring focus-visible:ring-ring/30 aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive dark:aria-invalid:border-destructive/50 resize-none rounded-md border px-2 py-2 text-sm transition-colors focus-visible:ring-[2px] aria-invalid:ring-[2px] md:text-xs/relaxed placeholder:text-muted-foreground flex field-sizing-content min-h-16 w-full outline-none disabled:cursor-not-allowed disabled:opacity-50",
2703
2706
  className
2704
2707
  ),
@@ -2716,7 +2719,7 @@ function InputGroup({ className, ...props }) {
2716
2719
  {
2717
2720
  "data-slot": "input-group",
2718
2721
  role: "group",
2719
- className: _chunkUYBCHXXLjs.cn.call(void 0,
2722
+ className: _chunk5KQXRLK3js.cn.call(void 0,
2720
2723
  "border-input bg-input/20 dark:bg-input/30 has-[[data-slot=input-group-control]:focus-visible]:border-ring has-[[data-slot=input-group-control]:focus-visible]:ring-ring/30 has-[[data-slot][aria-invalid=true]]:ring-destructive/20 has-[[data-slot][aria-invalid=true]]:border-destructive dark:has-[[data-slot][aria-invalid=true]]:ring-destructive/40 h-7 rounded-md border transition-colors has-data-[align=block-end]:rounded-md has-data-[align=block-start]:rounded-md has-[[data-slot=input-group-control]:focus-visible]:ring-[2px] has-[[data-slot][aria-invalid=true]]:ring-[2px] has-[textarea]:rounded-md 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-[>[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 [[data-slot=combobox-content]_&]:focus-within:border-inherit [[data-slot=combobox-content]_&]:focus-within:ring-0 group/input-group relative flex w-full min-w-0 items-center outline-none has-[>textarea]:h-auto",
2721
2724
  className
2722
2725
  ),
@@ -2752,7 +2755,7 @@ function InputGroupAddon({
2752
2755
  role: "group",
2753
2756
  "data-slot": "input-group-addon",
2754
2757
  "data-align": align,
2755
- className: _chunkUYBCHXXLjs.cn.call(void 0, inputGroupAddonVariants({ align }), className),
2758
+ className: _chunk5KQXRLK3js.cn.call(void 0, inputGroupAddonVariants({ align }), className),
2756
2759
  onClick: (e) => {
2757
2760
  if (e.target.closest("button")) {
2758
2761
  return;
@@ -2793,7 +2796,7 @@ function InputGroupButton({
2793
2796
  type,
2794
2797
  "data-size": size,
2795
2798
  variant,
2796
- className: _chunkUYBCHXXLjs.cn.call(void 0, inputGroupButtonVariants({ size }), className),
2799
+ className: _chunk5KQXRLK3js.cn.call(void 0, inputGroupButtonVariants({ size }), className),
2797
2800
  ...props
2798
2801
  }
2799
2802
  );
@@ -2803,7 +2806,7 @@ function InputGroupText({ className, ...props }) {
2803
2806
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
2804
2807
  "span",
2805
2808
  {
2806
- className: _chunkUYBCHXXLjs.cn.call(void 0,
2809
+ className: _chunk5KQXRLK3js.cn.call(void 0,
2807
2810
  "text-muted-foreground gap-2 text-xs/relaxed [&_svg:not([class*='size-'])]:size-4 flex items-center [&_svg]:pointer-events-none",
2808
2811
  className
2809
2812
  ),
@@ -2820,7 +2823,7 @@ function InputGroupInput({
2820
2823
  Input,
2821
2824
  {
2822
2825
  "data-slot": "input-group-control",
2823
- className: _chunkUYBCHXXLjs.cn.call(void 0, "rounded-none border-0 bg-transparent shadow-none ring-0 focus-visible:ring-0 aria-invalid:ring-0 dark:bg-transparent flex-1", className),
2826
+ className: _chunk5KQXRLK3js.cn.call(void 0, "rounded-none border-0 bg-transparent shadow-none ring-0 focus-visible:ring-0 aria-invalid:ring-0 dark:bg-transparent flex-1", className),
2824
2827
  ...props
2825
2828
  }
2826
2829
  );
@@ -2834,7 +2837,7 @@ function InputGroupTextarea({
2834
2837
  Textarea,
2835
2838
  {
2836
2839
  "data-slot": "input-group-control",
2837
- className: _chunkUYBCHXXLjs.cn.call(void 0, "rounded-none border-0 bg-transparent py-2 shadow-none ring-0 focus-visible:ring-0 aria-invalid:ring-0 dark:bg-transparent flex-1 resize-none", className),
2840
+ className: _chunk5KQXRLK3js.cn.call(void 0, "rounded-none border-0 bg-transparent py-2 shadow-none ring-0 focus-visible:ring-0 aria-invalid:ring-0 dark:bg-transparent flex-1 resize-none", className),
2838
2841
  ...props
2839
2842
  }
2840
2843
  );
@@ -2852,7 +2855,7 @@ function Command({
2852
2855
  _cmdk.Command,
2853
2856
  {
2854
2857
  "data-slot": "command",
2855
- className: _chunkUYBCHXXLjs.cn.call(void 0,
2858
+ className: _chunk5KQXRLK3js.cn.call(void 0,
2856
2859
  "bg-popover text-popover-foreground rounded-xl p-1 flex size-full flex-col overflow-hidden",
2857
2860
  className
2858
2861
  ),
@@ -2877,7 +2880,7 @@ function CommandDialog({
2877
2880
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
2878
2881
  DialogContent,
2879
2882
  {
2880
- className: _chunkUYBCHXXLjs.cn.call(void 0, "rounded-xl! p-0 overflow-hidden p-0", className),
2883
+ className: _chunk5KQXRLK3js.cn.call(void 0, "rounded-xl! p-0 overflow-hidden p-0", className),
2881
2884
  showCloseButton,
2882
2885
  children
2883
2886
  }
@@ -2894,7 +2897,7 @@ function CommandInput({
2894
2897
  _cmdk.Command.Input,
2895
2898
  {
2896
2899
  "data-slot": "command-input",
2897
- className: _chunkUYBCHXXLjs.cn.call(void 0,
2900
+ className: _chunk5KQXRLK3js.cn.call(void 0,
2898
2901
  "w-full text-xs/relaxed outline-hidden disabled:cursor-not-allowed disabled:opacity-50",
2899
2902
  className
2900
2903
  ),
@@ -2913,7 +2916,7 @@ function CommandList({
2913
2916
  _cmdk.Command.List,
2914
2917
  {
2915
2918
  "data-slot": "command-list",
2916
- className: _chunkUYBCHXXLjs.cn.call(void 0,
2919
+ className: _chunk5KQXRLK3js.cn.call(void 0,
2917
2920
  "no-scrollbar max-h-72 scroll-py-1 outline-none overflow-x-hidden overflow-y-auto",
2918
2921
  className
2919
2922
  ),
@@ -2930,7 +2933,7 @@ function CommandEmpty({
2930
2933
  _cmdk.Command.Empty,
2931
2934
  {
2932
2935
  "data-slot": "command-empty",
2933
- className: _chunkUYBCHXXLjs.cn.call(void 0, "py-6 text-center text-xs/relaxed", className),
2936
+ className: _chunk5KQXRLK3js.cn.call(void 0, "py-6 text-center text-xs/relaxed", className),
2934
2937
  ...props
2935
2938
  }
2936
2939
  );
@@ -2944,7 +2947,7 @@ function CommandGroup({
2944
2947
  _cmdk.Command.Group,
2945
2948
  {
2946
2949
  "data-slot": "command-group",
2947
- className: _chunkUYBCHXXLjs.cn.call(void 0, "text-foreground [&_[cmdk-group-heading]]:text-muted-foreground overflow-hidden p-1 [&_[cmdk-group-heading]]:px-2.5 [&_[cmdk-group-heading]]:py-1.5 [&_[cmdk-group-heading]]:text-xs [&_[cmdk-group-heading]]:font-medium", className),
2950
+ className: _chunk5KQXRLK3js.cn.call(void 0, "text-foreground [&_[cmdk-group-heading]]:text-muted-foreground overflow-hidden p-1 [&_[cmdk-group-heading]]:px-2.5 [&_[cmdk-group-heading]]:py-1.5 [&_[cmdk-group-heading]]:text-xs [&_[cmdk-group-heading]]:font-medium", className),
2948
2951
  ...props
2949
2952
  }
2950
2953
  );
@@ -2958,7 +2961,7 @@ function CommandSeparator({
2958
2961
  _cmdk.Command.Separator,
2959
2962
  {
2960
2963
  "data-slot": "command-separator",
2961
- className: _chunkUYBCHXXLjs.cn.call(void 0, "bg-border/50 -mx-1 my-1 h-px", className),
2964
+ className: _chunk5KQXRLK3js.cn.call(void 0, "bg-border/50 -mx-1 my-1 h-px", className),
2962
2965
  ...props
2963
2966
  }
2964
2967
  );
@@ -2973,7 +2976,7 @@ function CommandItem({
2973
2976
  _cmdk.Command.Item,
2974
2977
  {
2975
2978
  "data-slot": "command-item",
2976
- className: _chunkUYBCHXXLjs.cn.call(void 0,
2979
+ className: _chunk5KQXRLK3js.cn.call(void 0,
2977
2980
  "data-selected:bg-muted data-selected:text-foreground data-selected:*:[svg]:text-foreground relative flex min-h-7 cursor-default items-center gap-2 rounded-md px-2.5 py-1.5 text-xs/relaxed outline-hidden select-none [&_svg:not([class*='size-'])]:size-3.5 [[data-slot=dialog-content]_&]:rounded-md group/command-item data-[disabled=true]:pointer-events-none data-[disabled=true]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0",
2978
2981
  className
2979
2982
  ),
@@ -2994,7 +2997,7 @@ function CommandShortcut({
2994
2997
  "span",
2995
2998
  {
2996
2999
  "data-slot": "command-shortcut",
2997
- className: _chunkUYBCHXXLjs.cn.call(void 0, "text-muted-foreground group-data-selected/command-item:text-foreground ml-auto text-[0.625rem] tracking-widest", className),
3000
+ className: _chunk5KQXRLK3js.cn.call(void 0, "text-muted-foreground group-data-selected/command-item:text-foreground ml-auto text-[0.625rem] tracking-widest", className),
2998
3001
  ...props
2999
3002
  }
3000
3003
  );
@@ -3021,7 +3024,7 @@ function ContextMenuTrigger({
3021
3024
  _contextmenu.ContextMenu.Trigger,
3022
3025
  {
3023
3026
  "data-slot": "context-menu-trigger",
3024
- className: _chunkUYBCHXXLjs.cn.call(void 0, "select-none", className),
3027
+ className: _chunk5KQXRLK3js.cn.call(void 0, "select-none", className),
3025
3028
  ...props
3026
3029
  }
3027
3030
  );
@@ -3047,7 +3050,7 @@ function ContextMenuContent({
3047
3050
  _contextmenu.ContextMenu.Popup,
3048
3051
  {
3049
3052
  "data-slot": "context-menu-content",
3050
- className: _chunkUYBCHXXLjs.cn.call(void 0, "data-open:animate-in data-closed:animate-out data-closed:fade-out-0 data-open:fade-in-0 data-closed:zoom-out-95 data-open:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 ring-foreground/10 bg-popover text-popover-foreground min-w-32 rounded-lg p-1 shadow-md ring-1 duration-100 z-50 max-h-(--available-height) origin-(--transform-origin) overflow-x-hidden overflow-y-auto outline-none", className),
3053
+ className: _chunk5KQXRLK3js.cn.call(void 0, "data-open:animate-in data-closed:animate-out data-closed:fade-out-0 data-open:fade-in-0 data-closed:zoom-out-95 data-open:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 ring-foreground/10 bg-popover text-popover-foreground min-w-32 rounded-lg p-1 shadow-md ring-1 duration-100 z-50 max-h-(--available-height) origin-(--transform-origin) overflow-x-hidden overflow-y-auto outline-none", className),
3051
3054
  ...props
3052
3055
  }
3053
3056
  )
@@ -3069,7 +3072,7 @@ function ContextMenuLabel({
3069
3072
  {
3070
3073
  "data-slot": "context-menu-label",
3071
3074
  "data-inset": inset,
3072
- className: _chunkUYBCHXXLjs.cn.call(void 0, "text-muted-foreground px-2 py-1.5 text-xs data-[inset]:pl-8", className),
3075
+ className: _chunk5KQXRLK3js.cn.call(void 0, "text-muted-foreground px-2 py-1.5 text-xs data-[inset]:pl-8", className),
3073
3076
  ...props
3074
3077
  }
3075
3078
  );
@@ -3087,7 +3090,7 @@ function ContextMenuItem({
3087
3090
  "data-slot": "context-menu-item",
3088
3091
  "data-inset": inset,
3089
3092
  "data-variant": variant,
3090
- className: _chunkUYBCHXXLjs.cn.call(void 0,
3093
+ className: _chunk5KQXRLK3js.cn.call(void 0,
3091
3094
  "focus:bg-accent focus:text-accent-foreground data-[variant=destructive]:text-destructive data-[variant=destructive]:focus:bg-destructive/10 dark:data-[variant=destructive]:focus:bg-destructive/20 data-[variant=destructive]:focus:text-destructive data-[variant=destructive]:*:[svg]:text-destructive not-data-[variant=destructive]:focus:**:text-accent-foreground min-h-7 gap-2 rounded-md px-2 py-1 text-xs/relaxed [&_svg:not([class*='size-'])]:size-3.5 group/context-menu-item relative flex cursor-default items-center outline-hidden select-none data-disabled:pointer-events-none data-disabled:opacity-50 data-[inset]:pl-8 [&_svg]:pointer-events-none [&_svg]:shrink-0",
3092
3095
  className
3093
3096
  ),
@@ -3111,7 +3114,7 @@ function ContextMenuSubTrigger({
3111
3114
  {
3112
3115
  "data-slot": "context-menu-sub-trigger",
3113
3116
  "data-inset": inset,
3114
- className: _chunkUYBCHXXLjs.cn.call(void 0,
3117
+ className: _chunk5KQXRLK3js.cn.call(void 0,
3115
3118
  "focus:bg-accent focus:text-accent-foreground data-open:bg-accent data-open:text-accent-foreground not-data-[variant=destructive]:focus:**:text-accent-foreground min-h-7 gap-2 rounded-md px-2 py-1 text-xs [&_svg:not([class*='size-'])]:size-3.5 flex cursor-default items-center outline-hidden select-none data-[inset]:pl-8 [&_svg]:pointer-events-none [&_svg]:shrink-0",
3116
3119
  className
3117
3120
  ),
@@ -3148,7 +3151,7 @@ function ContextMenuCheckboxItem({
3148
3151
  _contextmenu.ContextMenu.CheckboxItem,
3149
3152
  {
3150
3153
  "data-slot": "context-menu-checkbox-item",
3151
- className: _chunkUYBCHXXLjs.cn.call(void 0,
3154
+ className: _chunk5KQXRLK3js.cn.call(void 0,
3152
3155
  "focus:bg-accent focus:text-accent-foreground focus:**:text-accent-foreground min-h-7 gap-2 rounded-md py-1.5 pr-8 pl-2 text-xs [&_svg:not([class*='size-'])]:size-3.5 relative flex cursor-default items-center outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0",
3153
3156
  className
3154
3157
  ),
@@ -3186,7 +3189,7 @@ function ContextMenuRadioItem({
3186
3189
  _contextmenu.ContextMenu.RadioItem,
3187
3190
  {
3188
3191
  "data-slot": "context-menu-radio-item",
3189
- className: _chunkUYBCHXXLjs.cn.call(void 0,
3192
+ className: _chunk5KQXRLK3js.cn.call(void 0,
3190
3193
  "focus:bg-accent focus:text-accent-foreground focus:**:text-accent-foreground min-h-7 gap-2 rounded-md py-1.5 pr-8 pl-2 text-xs [&_svg:not([class*='size-'])]:size-3.5 relative flex cursor-default items-center outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0",
3191
3194
  className
3192
3195
  ),
@@ -3210,7 +3213,7 @@ function ContextMenuSeparator({
3210
3213
  _contextmenu.ContextMenu.Separator,
3211
3214
  {
3212
3215
  "data-slot": "context-menu-separator",
3213
- className: _chunkUYBCHXXLjs.cn.call(void 0, "bg-border/50 -mx-1 my-1 h-px", className),
3216
+ className: _chunk5KQXRLK3js.cn.call(void 0, "bg-border/50 -mx-1 my-1 h-px", className),
3214
3217
  ...props
3215
3218
  }
3216
3219
  );
@@ -3224,7 +3227,7 @@ function ContextMenuShortcut({
3224
3227
  "span",
3225
3228
  {
3226
3229
  "data-slot": "context-menu-shortcut",
3227
- className: _chunkUYBCHXXLjs.cn.call(void 0, "text-muted-foreground group-focus/context-menu-item:text-accent-foreground ml-auto text-[0.625rem] tracking-widest", className),
3230
+ className: _chunk5KQXRLK3js.cn.call(void 0, "text-muted-foreground group-focus/context-menu-item:text-accent-foreground ml-auto text-[0.625rem] tracking-widest", className),
3228
3231
  ...props
3229
3232
  }
3230
3233
  );
@@ -3266,7 +3269,7 @@ function DrawerOverlay({
3266
3269
  _vaul.Drawer.Overlay,
3267
3270
  {
3268
3271
  "data-slot": "drawer-overlay",
3269
- className: _chunkUYBCHXXLjs.cn.call(void 0, "data-open:animate-in data-closed:animate-out data-closed:fade-out-0 data-open:fade-in-0 bg-black/80 supports-backdrop-filter:backdrop-blur-xs fixed inset-0 z-50", className),
3272
+ className: _chunk5KQXRLK3js.cn.call(void 0, "data-open:animate-in data-closed:animate-out data-closed:fade-out-0 data-open:fade-in-0 bg-black/80 supports-backdrop-filter:backdrop-blur-xs fixed inset-0 z-50", className),
3270
3273
  ...props
3271
3274
  }
3272
3275
  );
@@ -3283,7 +3286,7 @@ function DrawerContent({
3283
3286
  _vaul.Drawer.Content,
3284
3287
  {
3285
3288
  "data-slot": "drawer-content",
3286
- className: _chunkUYBCHXXLjs.cn.call(void 0,
3289
+ className: _chunk5KQXRLK3js.cn.call(void 0,
3287
3290
  "before:bg-background relative flex h-auto flex-col bg-transparent p-2 text-xs/relaxed before:absolute before:inset-2 before:-z-10 before:rounded-xl data-[vaul-drawer-direction=bottom]:inset-x-0 data-[vaul-drawer-direction=bottom]:bottom-0 data-[vaul-drawer-direction=bottom]:mt-24 data-[vaul-drawer-direction=bottom]:max-h-[80vh] data-[vaul-drawer-direction=left]:inset-y-0 data-[vaul-drawer-direction=left]:left-0 data-[vaul-drawer-direction=left]:w-3/4 data-[vaul-drawer-direction=right]:inset-y-0 data-[vaul-drawer-direction=right]:right-0 data-[vaul-drawer-direction=right]:w-3/4 data-[vaul-drawer-direction=top]:inset-x-0 data-[vaul-drawer-direction=top]:top-0 data-[vaul-drawer-direction=top]:mb-24 data-[vaul-drawer-direction=top]:max-h-[80vh] data-[vaul-drawer-direction=left]:sm:max-w-sm data-[vaul-drawer-direction=right]:sm:max-w-sm group/drawer-content fixed z-50",
3288
3291
  className
3289
3292
  ),
@@ -3302,7 +3305,7 @@ function DrawerHeader({ className, ...props }) {
3302
3305
  "div",
3303
3306
  {
3304
3307
  "data-slot": "drawer-header",
3305
- className: _chunkUYBCHXXLjs.cn.call(void 0, "gap-1 p-4 group-data-[vaul-drawer-direction=bottom]/drawer-content:text-center group-data-[vaul-drawer-direction=top]/drawer-content:text-center md:text-left flex flex-col", className),
3308
+ className: _chunk5KQXRLK3js.cn.call(void 0, "gap-1 p-4 group-data-[vaul-drawer-direction=bottom]/drawer-content:text-center group-data-[vaul-drawer-direction=top]/drawer-content:text-center md:text-left flex flex-col", className),
3306
3309
  ...props
3307
3310
  }
3308
3311
  );
@@ -3313,7 +3316,7 @@ function DrawerFooter({ className, ...props }) {
3313
3316
  "div",
3314
3317
  {
3315
3318
  "data-slot": "drawer-footer",
3316
- className: _chunkUYBCHXXLjs.cn.call(void 0, "gap-2 p-4 mt-auto flex flex-col", className),
3319
+ className: _chunk5KQXRLK3js.cn.call(void 0, "gap-2 p-4 mt-auto flex flex-col", className),
3317
3320
  ...props
3318
3321
  }
3319
3322
  );
@@ -3327,7 +3330,7 @@ function DrawerTitle({
3327
3330
  _vaul.Drawer.Title,
3328
3331
  {
3329
3332
  "data-slot": "drawer-title",
3330
- className: _chunkUYBCHXXLjs.cn.call(void 0, "text-foreground text-sm font-medium", className),
3333
+ className: _chunk5KQXRLK3js.cn.call(void 0, "text-foreground text-sm font-medium", className),
3331
3334
  ...props
3332
3335
  }
3333
3336
  );
@@ -3341,7 +3344,7 @@ function DrawerDescription({
3341
3344
  _vaul.Drawer.Description,
3342
3345
  {
3343
3346
  "data-slot": "drawer-description",
3344
- className: _chunkUYBCHXXLjs.cn.call(void 0, "text-muted-foreground text-xs/relaxed", className),
3347
+ className: _chunk5KQXRLK3js.cn.call(void 0, "text-muted-foreground text-xs/relaxed", className),
3345
3348
  ...props
3346
3349
  }
3347
3350
  );
@@ -3384,7 +3387,7 @@ function DropdownMenuContent({
3384
3387
  _menu.Menu.Popup,
3385
3388
  {
3386
3389
  "data-slot": "dropdown-menu-content",
3387
- className: _chunkUYBCHXXLjs.cn.call(void 0, "data-open:animate-in data-closed:animate-out data-closed:fade-out-0 data-open:fade-in-0 data-closed:zoom-out-95 data-open:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 ring-foreground/10 bg-popover text-popover-foreground min-w-32 rounded-lg p-1 shadow-md ring-1 duration-100 z-50 max-h-(--available-height) w-(--anchor-width) origin-(--transform-origin) overflow-x-hidden overflow-y-auto outline-none data-closed:overflow-hidden", className),
3390
+ className: _chunk5KQXRLK3js.cn.call(void 0, "data-open:animate-in data-closed:animate-out data-closed:fade-out-0 data-open:fade-in-0 data-closed:zoom-out-95 data-open:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 ring-foreground/10 bg-popover text-popover-foreground min-w-32 rounded-lg p-1 shadow-md ring-1 duration-100 z-50 max-h-(--available-height) w-(--anchor-width) origin-(--transform-origin) overflow-x-hidden overflow-y-auto outline-none data-closed:overflow-hidden", className),
3388
3391
  ...props
3389
3392
  }
3390
3393
  )
@@ -3406,7 +3409,7 @@ function DropdownMenuLabel({
3406
3409
  {
3407
3410
  "data-slot": "dropdown-menu-label",
3408
3411
  "data-inset": inset,
3409
- className: _chunkUYBCHXXLjs.cn.call(void 0, "text-muted-foreground px-2 py-1.5 text-xs data-[inset]:pl-8", className),
3412
+ className: _chunk5KQXRLK3js.cn.call(void 0, "text-muted-foreground px-2 py-1.5 text-xs data-[inset]:pl-8", className),
3410
3413
  ...props
3411
3414
  }
3412
3415
  );
@@ -3424,7 +3427,7 @@ function DropdownMenuItem({
3424
3427
  "data-slot": "dropdown-menu-item",
3425
3428
  "data-inset": inset,
3426
3429
  "data-variant": variant,
3427
- className: _chunkUYBCHXXLjs.cn.call(void 0,
3430
+ className: _chunk5KQXRLK3js.cn.call(void 0,
3428
3431
  "focus:bg-accent focus:text-accent-foreground data-[variant=destructive]:text-destructive data-[variant=destructive]:focus:bg-destructive/10 dark:data-[variant=destructive]:focus:bg-destructive/20 data-[variant=destructive]:focus:text-destructive data-[variant=destructive]:*:[svg]:text-destructive not-data-[variant=destructive]:focus:**:text-accent-foreground min-h-7 gap-2 rounded-md px-2 py-1 text-xs/relaxed [&_svg:not([class*='size-'])]:size-3.5 group/dropdown-menu-item relative flex cursor-default items-center outline-hidden select-none data-disabled:pointer-events-none data-disabled:opacity-50 data-[inset]:pl-8 [&_svg]:pointer-events-none [&_svg]:shrink-0",
3429
3432
  className
3430
3433
  ),
@@ -3448,7 +3451,7 @@ function DropdownMenuSubTrigger({
3448
3451
  {
3449
3452
  "data-slot": "dropdown-menu-sub-trigger",
3450
3453
  "data-inset": inset,
3451
- className: _chunkUYBCHXXLjs.cn.call(void 0,
3454
+ className: _chunk5KQXRLK3js.cn.call(void 0,
3452
3455
  "focus:bg-accent focus:text-accent-foreground data-open:bg-accent data-open:text-accent-foreground not-data-[variant=destructive]:focus:**:text-accent-foreground min-h-7 gap-2 rounded-md px-2 py-1 text-xs [&_svg:not([class*='size-'])]:size-3.5 flex cursor-default items-center outline-hidden select-none data-[inset]:pl-8 [&_svg]:pointer-events-none [&_svg]:shrink-0",
3453
3456
  className
3454
3457
  ),
@@ -3473,7 +3476,7 @@ function DropdownMenuSubContent({
3473
3476
  DropdownMenuContent,
3474
3477
  {
3475
3478
  "data-slot": "dropdown-menu-sub-content",
3476
- className: _chunkUYBCHXXLjs.cn.call(void 0, "data-open:animate-in data-closed:animate-out data-closed:fade-out-0 data-open:fade-in-0 data-closed:zoom-out-95 data-open:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 ring-foreground/10 bg-popover text-popover-foreground min-w-32 rounded-lg p-1 shadow-md ring-1 duration-100 w-auto", className),
3479
+ className: _chunk5KQXRLK3js.cn.call(void 0, "data-open:animate-in data-closed:animate-out data-closed:fade-out-0 data-open:fade-in-0 data-closed:zoom-out-95 data-open:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 ring-foreground/10 bg-popover text-popover-foreground min-w-32 rounded-lg p-1 shadow-md ring-1 duration-100 w-auto", className),
3477
3480
  align,
3478
3481
  alignOffset,
3479
3482
  side,
@@ -3493,7 +3496,7 @@ function DropdownMenuCheckboxItem({
3493
3496
  _menu.Menu.CheckboxItem,
3494
3497
  {
3495
3498
  "data-slot": "dropdown-menu-checkbox-item",
3496
- className: _chunkUYBCHXXLjs.cn.call(void 0,
3499
+ className: _chunk5KQXRLK3js.cn.call(void 0,
3497
3500
  "focus:bg-accent focus:text-accent-foreground focus:**:text-accent-foreground min-h-7 gap-2 rounded-md py-1.5 pr-8 pl-2 text-xs [&_svg:not([class*='size-'])]:size-3.5 relative flex cursor-default items-center outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0",
3498
3501
  className
3499
3502
  ),
@@ -3536,7 +3539,7 @@ function DropdownMenuRadioItem({
3536
3539
  _menu.Menu.RadioItem,
3537
3540
  {
3538
3541
  "data-slot": "dropdown-menu-radio-item",
3539
- className: _chunkUYBCHXXLjs.cn.call(void 0,
3542
+ className: _chunk5KQXRLK3js.cn.call(void 0,
3540
3543
  "focus:bg-accent focus:text-accent-foreground focus:**:text-accent-foreground min-h-7 gap-2 rounded-md py-1.5 pr-8 pl-2 text-xs [&_svg:not([class*='size-'])]:size-3.5 relative flex cursor-default items-center outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0",
3541
3544
  className
3542
3545
  ),
@@ -3567,7 +3570,7 @@ function DropdownMenuSeparator({
3567
3570
  _menu.Menu.Separator,
3568
3571
  {
3569
3572
  "data-slot": "dropdown-menu-separator",
3570
- className: _chunkUYBCHXXLjs.cn.call(void 0, "bg-border/50 -mx-1 my-1 h-px", className),
3573
+ className: _chunk5KQXRLK3js.cn.call(void 0, "bg-border/50 -mx-1 my-1 h-px", className),
3571
3574
  ...props
3572
3575
  }
3573
3576
  );
@@ -3581,7 +3584,7 @@ function DropdownMenuShortcut({
3581
3584
  "span",
3582
3585
  {
3583
3586
  "data-slot": "dropdown-menu-shortcut",
3584
- className: _chunkUYBCHXXLjs.cn.call(void 0, "text-muted-foreground group-focus/dropdown-menu-item:text-accent-foreground ml-auto text-[0.625rem] tracking-widest", className),
3587
+ className: _chunk5KQXRLK3js.cn.call(void 0, "text-muted-foreground group-focus/dropdown-menu-item:text-accent-foreground ml-auto text-[0.625rem] tracking-widest", className),
3585
3588
  ...props
3586
3589
  }
3587
3590
  );
@@ -3599,7 +3602,7 @@ function Label({ className, ...props }) {
3599
3602
  "label",
3600
3603
  {
3601
3604
  "data-slot": "label",
3602
- className: _chunkUYBCHXXLjs.cn.call(void 0,
3605
+ className: _chunk5KQXRLK3js.cn.call(void 0,
3603
3606
  "gap-2 text-xs/relaxed leading-none font-medium group-data-[disabled=true]:opacity-50 peer-disabled:opacity-50 flex items-center select-none group-data-[disabled=true]:pointer-events-none peer-disabled:cursor-not-allowed",
3604
3607
  className
3605
3608
  ),
@@ -3622,7 +3625,7 @@ function Separator({
3622
3625
  {
3623
3626
  "data-slot": "separator",
3624
3627
  orientation,
3625
- className: _chunkUYBCHXXLjs.cn.call(void 0,
3628
+ className: _chunk5KQXRLK3js.cn.call(void 0,
3626
3629
  "bg-border shrink-0 data-[orientation=horizontal]:h-px data-[orientation=horizontal]:w-full data-[orientation=vertical]:w-px data-[orientation=vertical]:self-stretch",
3627
3630
  className
3628
3631
  ),
@@ -3639,7 +3642,7 @@ function FieldSet({ className, ...props }) {
3639
3642
  "fieldset",
3640
3643
  {
3641
3644
  "data-slot": "field-set",
3642
- className: _chunkUYBCHXXLjs.cn.call(void 0, "gap-4 has-[>[data-slot=checkbox-group]]:gap-3 has-[>[data-slot=radio-group]]:gap-3 flex flex-col", className),
3645
+ className: _chunk5KQXRLK3js.cn.call(void 0, "gap-4 has-[>[data-slot=checkbox-group]]:gap-3 has-[>[data-slot=radio-group]]:gap-3 flex flex-col", className),
3643
3646
  ...props
3644
3647
  }
3645
3648
  );
@@ -3655,7 +3658,7 @@ function FieldLegend({
3655
3658
  {
3656
3659
  "data-slot": "field-legend",
3657
3660
  "data-variant": variant,
3658
- className: _chunkUYBCHXXLjs.cn.call(void 0, "mb-2 font-medium data-[variant=label]:text-xs/relaxed data-[variant=legend]:text-sm", className),
3661
+ className: _chunk5KQXRLK3js.cn.call(void 0, "mb-2 font-medium data-[variant=label]:text-xs/relaxed data-[variant=legend]:text-sm", className),
3659
3662
  ...props
3660
3663
  }
3661
3664
  );
@@ -3666,7 +3669,7 @@ function FieldGroup({ className, ...props }) {
3666
3669
  "div",
3667
3670
  {
3668
3671
  "data-slot": "field-group",
3669
- className: _chunkUYBCHXXLjs.cn.call(void 0,
3672
+ className: _chunk5KQXRLK3js.cn.call(void 0,
3670
3673
  "gap-4 data-[slot=checkbox-group]:gap-3 [&>[data-slot=field-group]]:gap-4 group/field-group @container/field-group flex w-full flex-col",
3671
3674
  className
3672
3675
  ),
@@ -3698,7 +3701,7 @@ function Field({
3698
3701
  role: "group",
3699
3702
  "data-slot": "field",
3700
3703
  "data-orientation": orientation,
3701
- className: _chunkUYBCHXXLjs.cn.call(void 0, fieldVariants({ orientation }), className),
3704
+ className: _chunk5KQXRLK3js.cn.call(void 0, fieldVariants({ orientation }), className),
3702
3705
  ...props
3703
3706
  }
3704
3707
  );
@@ -3709,7 +3712,7 @@ function FieldContent({ className, ...props }) {
3709
3712
  "div",
3710
3713
  {
3711
3714
  "data-slot": "field-content",
3712
- className: _chunkUYBCHXXLjs.cn.call(void 0,
3715
+ className: _chunk5KQXRLK3js.cn.call(void 0,
3713
3716
  "gap-0.5 group/field-content flex flex-1 flex-col leading-snug",
3714
3717
  className
3715
3718
  ),
@@ -3726,7 +3729,7 @@ function FieldLabel({
3726
3729
  Label,
3727
3730
  {
3728
3731
  "data-slot": "field-label",
3729
- className: _chunkUYBCHXXLjs.cn.call(void 0,
3732
+ className: _chunk5KQXRLK3js.cn.call(void 0,
3730
3733
  "has-data-checked:bg-primary/5 dark:has-data-checked:bg-primary/10 gap-2 group-data-[disabled=true]/field:opacity-50 has-[>[data-slot=field]]:rounded-md has-[>[data-slot=field]]:border [&>*]:data-[slot=field]:p-2 group/field-label peer/field-label flex w-fit leading-snug",
3731
3734
  "has-[>[data-slot=field]]:w-full has-[>[data-slot=field]]:flex-col",
3732
3735
  className
@@ -3741,7 +3744,7 @@ function FieldTitle({ className, ...props }) {
3741
3744
  "div",
3742
3745
  {
3743
3746
  "data-slot": "field-label",
3744
- className: _chunkUYBCHXXLjs.cn.call(void 0,
3747
+ className: _chunk5KQXRLK3js.cn.call(void 0,
3745
3748
  "gap-2 text-xs/relaxed font-medium group-data-[disabled=true]/field:opacity-50 flex w-fit items-center leading-snug",
3746
3749
  className
3747
3750
  ),
@@ -3755,7 +3758,7 @@ function FieldDescription({ className, ...props }) {
3755
3758
  "p",
3756
3759
  {
3757
3760
  "data-slot": "field-description",
3758
- className: _chunkUYBCHXXLjs.cn.call(void 0,
3761
+ className: _chunk5KQXRLK3js.cn.call(void 0,
3759
3762
  "text-muted-foreground text-left text-xs/relaxed [[data-variant=legend]+&]:-mt-1.5 leading-normal font-normal group-has-[[data-orientation=horizontal]]/field:text-balance",
3760
3763
  "last:mt-0 nth-last-2:-mt-1",
3761
3764
  "[&>a:hover]:text-primary [&>a]:underline [&>a]:underline-offset-4",
@@ -3776,7 +3779,7 @@ function FieldSeparator({
3776
3779
  {
3777
3780
  "data-slot": "field-separator",
3778
3781
  "data-content": !!children,
3779
- className: _chunkUYBCHXXLjs.cn.call(void 0, "-my-2 h-5 text-xs/relaxed group-data-[variant=outline]/field-group:-mb-2 relative", className),
3782
+ className: _chunk5KQXRLK3js.cn.call(void 0, "-my-2 h-5 text-xs/relaxed group-data-[variant=outline]/field-group:-mb-2 relative", className),
3780
3783
  ...props,
3781
3784
  children: [
3782
3785
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Separator, { className: "absolute inset-0 top-1/2" }),
@@ -3824,7 +3827,7 @@ function FieldError({
3824
3827
  {
3825
3828
  role: "alert",
3826
3829
  "data-slot": "field-error",
3827
- className: _chunkUYBCHXXLjs.cn.call(void 0, "text-destructive text-xs/relaxed font-normal", className),
3830
+ className: _chunk5KQXRLK3js.cn.call(void 0, "text-destructive text-xs/relaxed font-normal", className),
3828
3831
  ...props,
3829
3832
  children: content
3830
3833
  }
@@ -3867,7 +3870,7 @@ function HoverCardContent({
3867
3870
  _previewcard.PreviewCard.Popup,
3868
3871
  {
3869
3872
  "data-slot": "hover-card-content",
3870
- className: _chunkUYBCHXXLjs.cn.call(void 0,
3873
+ className: _chunk5KQXRLK3js.cn.call(void 0,
3871
3874
  "data-open:animate-in data-closed:animate-out data-closed:fade-out-0 data-open:fade-in-0 data-closed:zoom-out-95 data-open:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 ring-foreground/10 bg-popover text-popover-foreground w-72 rounded-lg p-2.5 text-xs/relaxed shadow-md ring-1 duration-100 z-50 origin-(--transform-origin) outline-hidden",
3872
3875
  className
3873
3876
  ),
@@ -3893,12 +3896,12 @@ function InputOTP({
3893
3896
  _inputotp.OTPInput,
3894
3897
  {
3895
3898
  "data-slot": "input-otp",
3896
- containerClassName: _chunkUYBCHXXLjs.cn.call(void 0,
3899
+ containerClassName: _chunk5KQXRLK3js.cn.call(void 0,
3897
3900
  "cn-input-otp flex items-center has-disabled:opacity-50",
3898
3901
  containerClassName
3899
3902
  ),
3900
3903
  spellCheck: false,
3901
- className: _chunkUYBCHXXLjs.cn.call(void 0,
3904
+ className: _chunk5KQXRLK3js.cn.call(void 0,
3902
3905
  "disabled:cursor-not-allowed",
3903
3906
  className
3904
3907
  ),
@@ -3912,7 +3915,7 @@ function InputOTPGroup({ className, ...props }) {
3912
3915
  "div",
3913
3916
  {
3914
3917
  "data-slot": "input-otp-group",
3915
- className: _chunkUYBCHXXLjs.cn.call(void 0, "has-aria-invalid:ring-destructive/20 dark:has-aria-invalid:ring-destructive/40 has-aria-invalid:border-destructive rounded-md has-aria-invalid:ring-[2px] flex items-center", className),
3918
+ className: _chunk5KQXRLK3js.cn.call(void 0, "has-aria-invalid:ring-destructive/20 dark:has-aria-invalid:ring-destructive/40 has-aria-invalid:border-destructive rounded-md has-aria-invalid:ring-[2px] flex items-center", className),
3916
3919
  ...props
3917
3920
  }
3918
3921
  );
@@ -3930,7 +3933,7 @@ function InputOTPSlot({
3930
3933
  {
3931
3934
  "data-slot": "input-otp-slot",
3932
3935
  "data-active": isActive,
3933
- className: _chunkUYBCHXXLjs.cn.call(void 0,
3936
+ className: _chunk5KQXRLK3js.cn.call(void 0,
3934
3937
  "bg-input/20 dark:bg-input/30 border-input data-[active=true]:border-ring data-[active=true]:ring-ring/30 data-[active=true]:aria-invalid:ring-destructive/20 dark:data-[active=true]:aria-invalid:ring-destructive/40 aria-invalid:border-destructive data-[active=true]:aria-invalid:border-destructive size-7 border-y border-r text-xs/relaxed transition-all outline-none first:rounded-l-md first:border-l last:rounded-r-md data-[active=true]:ring-[2px] relative flex items-center justify-center data-[active=true]:z-10",
3935
3938
  className
3936
3939
  ),
@@ -3974,7 +3977,7 @@ function NavigationMenu({
3974
3977
  _navigationmenu.NavigationMenu.Root,
3975
3978
  {
3976
3979
  "data-slot": "navigation-menu",
3977
- className: _chunkUYBCHXXLjs.cn.call(void 0,
3980
+ className: _chunk5KQXRLK3js.cn.call(void 0,
3978
3981
  "max-w-max group/navigation-menu relative flex max-w-max flex-1 items-center justify-center",
3979
3982
  className
3980
3983
  ),
@@ -3995,7 +3998,7 @@ function NavigationMenuList({
3995
3998
  _navigationmenu.NavigationMenu.List,
3996
3999
  {
3997
4000
  "data-slot": "navigation-menu-list",
3998
- className: _chunkUYBCHXXLjs.cn.call(void 0,
4001
+ className: _chunk5KQXRLK3js.cn.call(void 0,
3999
4002
  "gap-0 group flex flex-1 list-none items-center justify-center",
4000
4003
  className
4001
4004
  ),
@@ -4012,7 +4015,7 @@ function NavigationMenuItem({
4012
4015
  _navigationmenu.NavigationMenu.Item,
4013
4016
  {
4014
4017
  "data-slot": "navigation-menu-item",
4015
- className: _chunkUYBCHXXLjs.cn.call(void 0, "relative", className),
4018
+ className: _chunk5KQXRLK3js.cn.call(void 0, "relative", className),
4016
4019
  ...props
4017
4020
  }
4018
4021
  );
@@ -4030,7 +4033,7 @@ function NavigationMenuTrigger({
4030
4033
  _navigationmenu.NavigationMenu.Trigger,
4031
4034
  {
4032
4035
  "data-slot": "navigation-menu-trigger",
4033
- className: _chunkUYBCHXXLjs.cn.call(void 0, navigationMenuTriggerStyle(), "group", className),
4036
+ className: _chunk5KQXRLK3js.cn.call(void 0, navigationMenuTriggerStyle(), "group", className),
4034
4037
  ...props,
4035
4038
  children: [
4036
4039
  children,
@@ -4049,7 +4052,7 @@ function NavigationMenuContent({
4049
4052
  _navigationmenu.NavigationMenu.Content,
4050
4053
  {
4051
4054
  "data-slot": "navigation-menu-content",
4052
- className: _chunkUYBCHXXLjs.cn.call(void 0,
4055
+ className: _chunk5KQXRLK3js.cn.call(void 0,
4053
4056
  "data-[motion^=from-]:animate-in data-[motion^=to-]:animate-out data-[motion^=from-]:fade-in data-[motion^=to-]:fade-out 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 group-data-[viewport=false]/navigation-menu:bg-popover group-data-[viewport=false]/navigation-menu:text-popover-foreground group-data-[viewport=false]/navigation-menu:data-open:animate-in group-data-[viewport=false]/navigation-menu:data-closed:animate-out group-data-[viewport=false]/navigation-menu:data-closed:zoom-out-95 group-data-[viewport=false]/navigation-menu:data-open:zoom-in-95 group-data-[viewport=false]/navigation-menu:data-open:fade-in-0 group-data-[viewport=false]/navigation-menu:data-closed:fade-out-0 group-data-[viewport=false]/navigation-menu:ring-foreground/10 p-1.5 ease-[cubic-bezier(0.22,1,0.36,1)] group-data-[viewport=false]/navigation-menu:rounded-xl group-data-[viewport=false]/navigation-menu:shadow-md group-data-[viewport=false]/navigation-menu:ring-1 group-data-[viewport=false]/navigation-menu:duration-300 h-full w-auto **:data-[slot=navigation-menu-link]:focus:ring-0 **:data-[slot=navigation-menu-link]:focus:outline-none",
4054
4057
  className
4055
4058
  ),
@@ -4073,7 +4076,7 @@ function NavigationMenuPositioner({
4073
4076
  sideOffset,
4074
4077
  align,
4075
4078
  alignOffset,
4076
- className: _chunkUYBCHXXLjs.cn.call(void 0,
4079
+ className: _chunk5KQXRLK3js.cn.call(void 0,
4077
4080
  "transition-[top,left,right,bottom] duration-300 ease-[cubic-bezier(0.22,1,0.36,1)] data-[side=bottom]:before:top-[-10px] data-[side=bottom]:before:right-0 data-[side=bottom]:before:left-0 isolate z-50 h-[var(--positioner-height)] w-[var(--positioner-width)] max-w-[var(--available-width)] data-[instant]:transition-none",
4078
4081
  className
4079
4082
  ),
@@ -4091,7 +4094,7 @@ function NavigationMenuLink({
4091
4094
  _navigationmenu.NavigationMenu.Link,
4092
4095
  {
4093
4096
  "data-slot": "navigation-menu-link",
4094
- className: _chunkUYBCHXXLjs.cn.call(void 0, "data-[active=true]:focus:bg-muted data-[active=true]:hover:bg-muted data-[active=true]:bg-muted/50 focus-visible:ring-ring/30 hover:bg-muted focus:bg-muted flex items-center gap-1.5 rounded-lg p-2 text-xs/relaxed transition-all outline-none focus-visible:ring-[2px] focus-visible:outline-1 [&_svg:not([class*='size-'])]:size-4", className),
4097
+ className: _chunk5KQXRLK3js.cn.call(void 0, "data-[active=true]:focus:bg-muted data-[active=true]:hover:bg-muted data-[active=true]:bg-muted/50 focus-visible:ring-ring/30 hover:bg-muted focus:bg-muted flex items-center gap-1.5 rounded-lg p-2 text-xs/relaxed transition-all outline-none focus-visible:ring-[2px] focus-visible:outline-1 [&_svg:not([class*='size-'])]:size-4", className),
4095
4098
  ...props
4096
4099
  }
4097
4100
  );
@@ -4105,7 +4108,7 @@ function NavigationMenuIndicator({
4105
4108
  _navigationmenu.NavigationMenu.Icon,
4106
4109
  {
4107
4110
  "data-slot": "navigation-menu-indicator",
4108
- className: _chunkUYBCHXXLjs.cn.call(void 0,
4111
+ className: _chunk5KQXRLK3js.cn.call(void 0,
4109
4112
  "data-[state=visible]:animate-in data-[state=hidden]:animate-out data-[state=hidden]:fade-out data-[state=visible]:fade-in top-full z-[1] flex h-1.5 items-end justify-center overflow-hidden",
4110
4113
  className
4111
4114
  ),
@@ -4147,7 +4150,7 @@ function PopoverContent({
4147
4150
  _popover.Popover.Popup,
4148
4151
  {
4149
4152
  "data-slot": "popover-content",
4150
- className: _chunkUYBCHXXLjs.cn.call(void 0,
4153
+ className: _chunk5KQXRLK3js.cn.call(void 0,
4151
4154
  "bg-popover text-popover-foreground data-open:animate-in data-closed:animate-out data-closed:fade-out-0 data-open:fade-in-0 data-closed:zoom-out-95 data-open:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 ring-foreground/10 flex flex-col gap-4 rounded-lg p-2.5 text-xs shadow-md ring-1 duration-100 z-50 w-72 origin-(--transform-origin) outline-hidden",
4152
4155
  className
4153
4156
  ),
@@ -4163,7 +4166,7 @@ function PopoverHeader({ className, ...props }) {
4163
4166
  "div",
4164
4167
  {
4165
4168
  "data-slot": "popover-header",
4166
- className: _chunkUYBCHXXLjs.cn.call(void 0, "flex flex-col gap-1 text-xs", className),
4169
+ className: _chunk5KQXRLK3js.cn.call(void 0, "flex flex-col gap-1 text-xs", className),
4167
4170
  ...props
4168
4171
  }
4169
4172
  );
@@ -4174,7 +4177,7 @@ function PopoverTitle({ className, ...props }) {
4174
4177
  _popover.Popover.Title,
4175
4178
  {
4176
4179
  "data-slot": "popover-title",
4177
- className: _chunkUYBCHXXLjs.cn.call(void 0, "text-sm font-medium", className),
4180
+ className: _chunk5KQXRLK3js.cn.call(void 0, "text-sm font-medium", className),
4178
4181
  ...props
4179
4182
  }
4180
4183
  );
@@ -4188,7 +4191,7 @@ function PopoverDescription({
4188
4191
  _popover.Popover.Description,
4189
4192
  {
4190
4193
  "data-slot": "popover-description",
4191
- className: _chunkUYBCHXXLjs.cn.call(void 0, "text-muted-foreground", className),
4194
+ className: _chunk5KQXRLK3js.cn.call(void 0, "text-muted-foreground", className),
4192
4195
  ...props
4193
4196
  }
4194
4197
  );
@@ -4209,7 +4212,7 @@ function Progress({
4209
4212
  {
4210
4213
  value,
4211
4214
  "data-slot": "progress",
4212
- className: _chunkUYBCHXXLjs.cn.call(void 0, "flex flex-wrap gap-3", className),
4215
+ className: _chunk5KQXRLK3js.cn.call(void 0, "flex flex-wrap gap-3", className),
4213
4216
  ...props,
4214
4217
  children: [
4215
4218
  children,
@@ -4223,7 +4226,7 @@ function ProgressTrack({ className, ...props }) {
4223
4226
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
4224
4227
  _progress.Progress.Track,
4225
4228
  {
4226
- className: _chunkUYBCHXXLjs.cn.call(void 0,
4229
+ className: _chunk5KQXRLK3js.cn.call(void 0,
4227
4230
  "bg-muted h-1 rounded-md relative flex w-full items-center overflow-x-hidden",
4228
4231
  className
4229
4232
  ),
@@ -4241,7 +4244,7 @@ function ProgressIndicator({
4241
4244
  _progress.Progress.Indicator,
4242
4245
  {
4243
4246
  "data-slot": "progress-indicator",
4244
- className: _chunkUYBCHXXLjs.cn.call(void 0, "bg-primary h-full transition-all", className),
4247
+ className: _chunk5KQXRLK3js.cn.call(void 0, "bg-primary h-full transition-all", className),
4245
4248
  ...props
4246
4249
  }
4247
4250
  );
@@ -4251,7 +4254,7 @@ function ProgressLabel({ className, ...props }) {
4251
4254
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
4252
4255
  _progress.Progress.Label,
4253
4256
  {
4254
- className: _chunkUYBCHXXLjs.cn.call(void 0, "text-xs/relaxed font-medium", className),
4257
+ className: _chunk5KQXRLK3js.cn.call(void 0, "text-xs/relaxed font-medium", className),
4255
4258
  "data-slot": "progress-label",
4256
4259
  ...props
4257
4260
  }
@@ -4262,7 +4265,7 @@ function ProgressValue({ className, ...props }) {
4262
4265
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
4263
4266
  _progress.Progress.Value,
4264
4267
  {
4265
- className: _chunkUYBCHXXLjs.cn.call(void 0, "text-muted-foreground ml-auto text-xs/relaxed tabular-nums", className),
4268
+ className: _chunk5KQXRLK3js.cn.call(void 0, "text-muted-foreground ml-auto text-xs/relaxed tabular-nums", className),
4266
4269
  "data-slot": "progress-value",
4267
4270
  ...props
4268
4271
  }
@@ -4280,7 +4283,7 @@ function RadioGroup({ className, ...props }) {
4280
4283
  _radiogroup.RadioGroup,
4281
4284
  {
4282
4285
  "data-slot": "radio-group",
4283
- className: _chunkUYBCHXXLjs.cn.call(void 0, "grid gap-3 w-full", className),
4286
+ className: _chunk5KQXRLK3js.cn.call(void 0, "grid gap-3 w-full", className),
4284
4287
  ...props
4285
4288
  }
4286
4289
  );
@@ -4291,7 +4294,7 @@ function RadioGroupItem({ className, ...props }) {
4291
4294
  _radio.Radio.Root,
4292
4295
  {
4293
4296
  "data-slot": "radio-group-item",
4294
- className: _chunkUYBCHXXLjs.cn.call(void 0,
4297
+ className: _chunk5KQXRLK3js.cn.call(void 0,
4295
4298
  "border-input text-primary dark:bg-input/30 focus-visible:border-ring focus-visible:ring-ring/30 aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive dark:aria-invalid:border-destructive/50 data-checked:bg-primary data-checked:border-primary flex size-4 rounded-full transition-none focus-visible:ring-[2px] aria-invalid:ring-[2px] group/radio-group-item peer relative aspect-square shrink-0 border outline-none after:absolute after:-inset-x-3 after:-inset-y-2 disabled:cursor-not-allowed disabled:opacity-50",
4296
4299
  className
4297
4300
  ),
@@ -4320,7 +4323,7 @@ function ResizablePanelGroup({
4320
4323
  ResizablePrimitive.PanelGroup,
4321
4324
  {
4322
4325
  "data-slot": "resizable-panel-group",
4323
- className: _chunkUYBCHXXLjs.cn.call(void 0,
4326
+ className: _chunk5KQXRLK3js.cn.call(void 0,
4324
4327
  "flex h-full w-full data-[panel-group-direction=vertical]:flex-col",
4325
4328
  className
4326
4329
  ),
@@ -4344,7 +4347,7 @@ function ResizableHandle({
4344
4347
  ResizablePrimitive.PanelResizeHandle,
4345
4348
  {
4346
4349
  "data-slot": "resizable-handle",
4347
- className: _chunkUYBCHXXLjs.cn.call(void 0,
4350
+ className: _chunk5KQXRLK3js.cn.call(void 0,
4348
4351
  "bg-border focus-visible:ring-ring relative flex w-px items-center justify-center after:absolute after:inset-y-0 after:left-1/2 after:w-1 after:-translate-x-1/2 focus-visible:ring-1 focus-visible:ring-offset-1 focus-visible:outline-hidden data-[panel-group-direction=vertical]:h-px data-[panel-group-direction=vertical]:w-full data-[panel-group-direction=vertical]:after:left-0 data-[panel-group-direction=vertical]:after:h-1 data-[panel-group-direction=vertical]:after:w-full data-[panel-group-direction=vertical]:after:translate-x-0 data-[panel-group-direction=vertical]:after:-translate-y-1/2 [&[data-panel-group-direction=vertical]>div]:rotate-90",
4349
4352
  className
4350
4353
  ),
@@ -4367,7 +4370,7 @@ function ScrollArea({
4367
4370
  _scrollarea.ScrollArea.Root,
4368
4371
  {
4369
4372
  "data-slot": "scroll-area",
4370
- className: _chunkUYBCHXXLjs.cn.call(void 0, "relative", className),
4373
+ className: _chunk5KQXRLK3js.cn.call(void 0, "relative", className),
4371
4374
  ...props,
4372
4375
  children: [
4373
4376
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
@@ -4396,7 +4399,7 @@ function ScrollBar({
4396
4399
  "data-slot": "scroll-area-scrollbar",
4397
4400
  "data-orientation": orientation,
4398
4401
  orientation,
4399
- className: _chunkUYBCHXXLjs.cn.call(void 0,
4402
+ className: _chunk5KQXRLK3js.cn.call(void 0,
4400
4403
  "data-horizontal:h-2.5 data-horizontal:flex-col data-horizontal:border-t data-horizontal:border-t-transparent data-vertical:h-full data-vertical:w-2.5 data-vertical:border-l data-vertical:border-l-transparent flex touch-none p-px transition-colors select-none",
4401
4404
  className
4402
4405
  ),
@@ -4423,7 +4426,7 @@ function SelectGroup({ className, ...props }) {
4423
4426
  _select.Select.Group,
4424
4427
  {
4425
4428
  "data-slot": "select-group",
4426
- className: _chunkUYBCHXXLjs.cn.call(void 0, "scroll-my-1 p-1", className),
4429
+ className: _chunk5KQXRLK3js.cn.call(void 0, "scroll-my-1 p-1", className),
4427
4430
  ...props
4428
4431
  }
4429
4432
  );
@@ -4434,7 +4437,7 @@ function SelectValue({ className, ...props }) {
4434
4437
  _select.Select.Value,
4435
4438
  {
4436
4439
  "data-slot": "select-value",
4437
- className: _chunkUYBCHXXLjs.cn.call(void 0, "flex flex-1 text-left", className),
4440
+ className: _chunk5KQXRLK3js.cn.call(void 0, "flex flex-1 text-left", className),
4438
4441
  ...props
4439
4442
  }
4440
4443
  );
@@ -4451,7 +4454,7 @@ function SelectTrigger({
4451
4454
  {
4452
4455
  "data-slot": "select-trigger",
4453
4456
  "data-size": size,
4454
- className: _chunkUYBCHXXLjs.cn.call(void 0,
4457
+ className: _chunk5KQXRLK3js.cn.call(void 0,
4455
4458
  "border-input data-[placeholder]:text-muted-foreground bg-input/20 dark:bg-input/30 dark:hover:bg-input/50 focus-visible:border-ring focus-visible:ring-ring/30 aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive dark:aria-invalid:border-destructive/50 gap-1.5 rounded-md border px-2 py-1.5 text-xs/relaxed transition-colors focus-visible:ring-[2px] aria-invalid:ring-[2px] data-[size=default]:h-7 data-[size=sm]:h-6 *:data-[slot=select-value]:flex *:data-[slot=select-value]:gap-1.5 [&_svg:not([class*='size-'])]:size-3.5 flex w-fit items-center justify-between whitespace-nowrap outline-none disabled:cursor-not-allowed disabled:opacity-50 *:data-[slot=select-value]:line-clamp-1 *:data-[slot=select-value]:flex *:data-[slot=select-value]:items-center [&_svg]:pointer-events-none [&_svg]:shrink-0",
4456
4459
  className
4457
4460
  ),
@@ -4492,7 +4495,7 @@ function SelectContent({
4492
4495
  _select.Select.Popup,
4493
4496
  {
4494
4497
  "data-slot": "select-content",
4495
- className: _chunkUYBCHXXLjs.cn.call(void 0, "bg-popover text-popover-foreground data-open:animate-in data-closed:animate-out data-closed:fade-out-0 data-open:fade-in-0 data-closed:zoom-out-95 data-open:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 ring-foreground/10 min-w-32 rounded-lg shadow-md ring-1 duration-100 relative isolate z-50 max-h-(--available-height) w-(--anchor-width) origin-(--transform-origin) overflow-x-hidden overflow-y-auto", className),
4498
+ className: _chunk5KQXRLK3js.cn.call(void 0, "bg-popover text-popover-foreground data-open:animate-in data-closed:animate-out data-closed:fade-out-0 data-open:fade-in-0 data-closed:zoom-out-95 data-open:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 ring-foreground/10 min-w-32 rounded-lg shadow-md ring-1 duration-100 relative isolate z-50 max-h-(--available-height) w-(--anchor-width) origin-(--transform-origin) overflow-x-hidden overflow-y-auto", className),
4496
4499
  ...props,
4497
4500
  children: [
4498
4501
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, SelectScrollUpButton, {}),
@@ -4513,7 +4516,7 @@ function SelectLabel({
4513
4516
  _select.Select.GroupLabel,
4514
4517
  {
4515
4518
  "data-slot": "select-label",
4516
- className: _chunkUYBCHXXLjs.cn.call(void 0, "text-muted-foreground px-2 py-1.5 text-xs", className),
4519
+ className: _chunk5KQXRLK3js.cn.call(void 0, "text-muted-foreground px-2 py-1.5 text-xs", className),
4517
4520
  ...props
4518
4521
  }
4519
4522
  );
@@ -4528,7 +4531,7 @@ function SelectItem({
4528
4531
  _select.Select.Item,
4529
4532
  {
4530
4533
  "data-slot": "select-item",
4531
- className: _chunkUYBCHXXLjs.cn.call(void 0,
4534
+ className: _chunk5KQXRLK3js.cn.call(void 0,
4532
4535
  "focus:bg-accent focus:text-accent-foreground not-data-[variant=destructive]:focus:**:text-accent-foreground min-h-7 gap-2 rounded-md px-2 py-1 text-xs/relaxed [&_svg:not([class*='size-'])]:size-3.5 *:[span]:last:flex *:[span]:last:items-center *:[span]:last:gap-2 relative flex w-full cursor-default items-center outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0",
4533
4536
  className
4534
4537
  ),
@@ -4555,7 +4558,7 @@ function SelectSeparator({
4555
4558
  _select.Select.Separator,
4556
4559
  {
4557
4560
  "data-slot": "select-separator",
4558
- className: _chunkUYBCHXXLjs.cn.call(void 0, "bg-border/50 -mx-1 my-1 h-px pointer-events-none", className),
4561
+ className: _chunk5KQXRLK3js.cn.call(void 0, "bg-border/50 -mx-1 my-1 h-px pointer-events-none", className),
4559
4562
  ...props
4560
4563
  }
4561
4564
  );
@@ -4569,7 +4572,7 @@ function SelectScrollUpButton({
4569
4572
  _select.Select.ScrollUpArrow,
4570
4573
  {
4571
4574
  "data-slot": "select-scroll-up-button",
4572
- className: _chunkUYBCHXXLjs.cn.call(void 0, "bg-popover z-10 flex cursor-default items-center justify-center py-1 [&_svg:not([class*='size-'])]:size-3.5 top-0 w-full", className),
4575
+ className: _chunk5KQXRLK3js.cn.call(void 0, "bg-popover z-10 flex cursor-default items-center justify-center py-1 [&_svg:not([class*='size-'])]:size-3.5 top-0 w-full", className),
4573
4576
  ...props,
4574
4577
  children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
4575
4578
  _lucidereact.ChevronUpIcon,
@@ -4587,7 +4590,7 @@ function SelectScrollDownButton({
4587
4590
  _select.Select.ScrollDownArrow,
4588
4591
  {
4589
4592
  "data-slot": "select-scroll-down-button",
4590
- className: _chunkUYBCHXXLjs.cn.call(void 0, "bg-popover z-10 flex cursor-default items-center justify-center py-1 [&_svg:not([class*='size-'])]:size-3.5 bottom-0 w-full", className),
4593
+ className: _chunk5KQXRLK3js.cn.call(void 0, "bg-popover z-10 flex cursor-default items-center justify-center py-1 [&_svg:not([class*='size-'])]:size-3.5 bottom-0 w-full", className),
4591
4594
  ...props,
4592
4595
  children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
4593
4596
  _lucidereact.ChevronDownIcon,
@@ -4623,7 +4626,7 @@ function SheetOverlay({ className, ...props }) {
4623
4626
  _dialog.Dialog.Backdrop,
4624
4627
  {
4625
4628
  "data-slot": "sheet-overlay",
4626
- className: _chunkUYBCHXXLjs.cn.call(void 0, "data-open:animate-in data-closed:animate-out data-closed:fade-out-0 data-open:fade-in-0 bg-black/80 duration-100 data-ending-style:opacity-0 data-starting-style:opacity-0 supports-backdrop-filter:backdrop-blur-xs fixed inset-0 z-50", className),
4629
+ className: _chunk5KQXRLK3js.cn.call(void 0, "data-open:animate-in data-closed:animate-out data-closed:fade-out-0 data-open:fade-in-0 bg-black/80 duration-100 data-ending-style:opacity-0 data-starting-style:opacity-0 supports-backdrop-filter:backdrop-blur-xs fixed inset-0 z-50", className),
4627
4630
  ...props
4628
4631
  }
4629
4632
  );
@@ -4643,7 +4646,7 @@ function SheetContent({
4643
4646
  {
4644
4647
  "data-slot": "sheet-content",
4645
4648
  "data-side": side,
4646
- className: _chunkUYBCHXXLjs.cn.call(void 0, "bg-background data-open:animate-in data-closed:animate-out data-[side=right]:data-closed:slide-out-to-right-10 data-[side=right]:data-open:slide-in-from-right-10 data-[side=left]:data-closed:slide-out-to-left-10 data-[side=left]:data-open:slide-in-from-left-10 data-[side=top]:data-closed:slide-out-to-top-10 data-[side=top]:data-open:slide-in-from-top-10 data-closed:fade-out-0 data-open:fade-in-0 data-[side=bottom]:data-closed:slide-out-to-bottom-10 data-[side=bottom]:data-open:slide-in-from-bottom-10 fixed z-50 flex flex-col bg-clip-padding text-xs/relaxed shadow-lg transition duration-200 ease-in-out data-[side=bottom]:inset-x-0 data-[side=bottom]:bottom-0 data-[side=bottom]:h-auto data-[side=bottom]:border-t data-[side=left]:inset-y-0 data-[side=left]:left-0 data-[side=left]:h-full data-[side=left]:w-3/4 data-[side=left]:border-r 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=top]:inset-x-0 data-[side=top]:top-0 data-[side=top]:h-auto data-[side=top]:border-b data-[side=left]:sm:max-w-sm data-[side=right]:sm:max-w-sm", className),
4649
+ className: _chunk5KQXRLK3js.cn.call(void 0, "bg-background data-open:animate-in data-closed:animate-out data-[side=right]:data-closed:slide-out-to-right-10 data-[side=right]:data-open:slide-in-from-right-10 data-[side=left]:data-closed:slide-out-to-left-10 data-[side=left]:data-open:slide-in-from-left-10 data-[side=top]:data-closed:slide-out-to-top-10 data-[side=top]:data-open:slide-in-from-top-10 data-closed:fade-out-0 data-open:fade-in-0 data-[side=bottom]:data-closed:slide-out-to-bottom-10 data-[side=bottom]:data-open:slide-in-from-bottom-10 fixed z-50 flex flex-col bg-clip-padding text-xs/relaxed shadow-lg transition duration-200 ease-in-out data-[side=bottom]:inset-x-0 data-[side=bottom]:bottom-0 data-[side=bottom]:h-auto data-[side=bottom]:border-t data-[side=left]:inset-y-0 data-[side=left]:left-0 data-[side=left]:h-full data-[side=left]:w-3/4 data-[side=left]:border-r 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=top]:inset-x-0 data-[side=top]:top-0 data-[side=top]:h-auto data-[side=top]:border-b data-[side=left]:sm:max-w-sm data-[side=right]:sm:max-w-sm", className),
4647
4650
  ...props,
4648
4651
  children: [
4649
4652
  children,
@@ -4679,7 +4682,7 @@ function SheetHeader({ className, ...props }) {
4679
4682
  "div",
4680
4683
  {
4681
4684
  "data-slot": "sheet-header",
4682
- className: _chunkUYBCHXXLjs.cn.call(void 0, "gap-1.5 p-6 flex flex-col", className),
4685
+ className: _chunk5KQXRLK3js.cn.call(void 0, "gap-1.5 p-6 flex flex-col", className),
4683
4686
  ...props
4684
4687
  }
4685
4688
  );
@@ -4690,7 +4693,7 @@ function SheetFooter({ className, ...props }) {
4690
4693
  "div",
4691
4694
  {
4692
4695
  "data-slot": "sheet-footer",
4693
- className: _chunkUYBCHXXLjs.cn.call(void 0, "gap-2 p-6 mt-auto flex flex-col", className),
4696
+ className: _chunk5KQXRLK3js.cn.call(void 0, "gap-2 p-6 mt-auto flex flex-col", className),
4694
4697
  ...props
4695
4698
  }
4696
4699
  );
@@ -4701,7 +4704,7 @@ function SheetTitle({ className, ...props }) {
4701
4704
  _dialog.Dialog.Title,
4702
4705
  {
4703
4706
  "data-slot": "sheet-title",
4704
- className: _chunkUYBCHXXLjs.cn.call(void 0, "text-foreground text-sm font-medium", className),
4707
+ className: _chunk5KQXRLK3js.cn.call(void 0, "text-foreground text-sm font-medium", className),
4705
4708
  ...props
4706
4709
  }
4707
4710
  );
@@ -4715,7 +4718,7 @@ function SheetDescription({
4715
4718
  _dialog.Dialog.Description,
4716
4719
  {
4717
4720
  "data-slot": "sheet-description",
4718
- className: _chunkUYBCHXXLjs.cn.call(void 0, "text-muted-foreground text-xs/relaxed", className),
4721
+ className: _chunk5KQXRLK3js.cn.call(void 0, "text-muted-foreground text-xs/relaxed", className),
4719
4722
  ...props
4720
4723
  }
4721
4724
  );
@@ -4735,7 +4738,7 @@ function Skeleton({ className, ...props }) {
4735
4738
  "div",
4736
4739
  {
4737
4740
  "data-slot": "skeleton",
4738
- className: _chunkUYBCHXXLjs.cn.call(void 0, "bg-muted rounded-md animate-pulse", className),
4741
+ className: _chunk5KQXRLK3js.cn.call(void 0, "bg-muted rounded-md animate-pulse", className),
4739
4742
  ...props
4740
4743
  }
4741
4744
  );
@@ -4788,7 +4791,7 @@ function TooltipContent({
4788
4791
  _tooltip.Tooltip.Popup,
4789
4792
  {
4790
4793
  "data-slot": "tooltip-content",
4791
- className: _chunkUYBCHXXLjs.cn.call(void 0,
4794
+ className: _chunk5KQXRLK3js.cn.call(void 0,
4792
4795
  "data-open:animate-in data-open:fade-in-0 data-open:zoom-in-95 data-[state=delayed-open]:animate-in data-[state=delayed-open]:fade-in-0 data-[state=delayed-open]:zoom-in-95 data-closed:animate-out data-closed:fade-out-0 data-closed:zoom-out-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 rounded-md px-3 py-1.5 text-xs **:data-[slot=kbd]:rounded-md bg-foreground text-background z-50 w-fit max-w-xs origin-(--transform-origin)",
4793
4796
  className
4794
4797
  ),
@@ -4831,7 +4834,7 @@ function SidebarProvider({
4831
4834
  children,
4832
4835
  ...props
4833
4836
  }) {
4834
- const isMobile = _chunkUYBCHXXLjs.useIsMobile.call(void 0, );
4837
+ const isMobile = _chunk5KQXRLK3js.useIsMobile.call(void 0, );
4835
4838
  const [openMobile, setOpenMobile] = React7.useState(false);
4836
4839
  const [_open, _setOpen] = React7.useState(defaultOpen);
4837
4840
  const open = _nullishCoalesce(openProp, () => ( _open));
@@ -4882,7 +4885,7 @@ function SidebarProvider({
4882
4885
  "--sidebar-width-icon": SIDEBAR_WIDTH_ICON,
4883
4886
  ...style
4884
4887
  },
4885
- className: _chunkUYBCHXXLjs.cn.call(void 0,
4888
+ className: _chunk5KQXRLK3js.cn.call(void 0,
4886
4889
  "group/sidebar-wrapper has-data-[variant=inset]:bg-sidebar flex min-h-svh w-full",
4887
4890
  className
4888
4891
  ),
@@ -4906,7 +4909,7 @@ function Sidebar({
4906
4909
  "div",
4907
4910
  {
4908
4911
  "data-slot": "sidebar",
4909
- className: _chunkUYBCHXXLjs.cn.call(void 0,
4912
+ className: _chunk5KQXRLK3js.cn.call(void 0,
4910
4913
  "bg-sidebar text-sidebar-foreground flex h-full w-(--sidebar-width) flex-col",
4911
4914
  className
4912
4915
  ),
@@ -4951,7 +4954,7 @@ function Sidebar({
4951
4954
  "div",
4952
4955
  {
4953
4956
  "data-slot": "sidebar-gap",
4954
- className: _chunkUYBCHXXLjs.cn.call(void 0,
4957
+ className: _chunk5KQXRLK3js.cn.call(void 0,
4955
4958
  "transition-[width] duration-200 ease-linear relative w-(--sidebar-width) bg-transparent",
4956
4959
  "group-data-[collapsible=offExamples]:w-0",
4957
4960
  "group-data-[side=right]:rotate-180",
@@ -4963,7 +4966,7 @@ function Sidebar({
4963
4966
  "div",
4964
4967
  {
4965
4968
  "data-slot": "sidebar-container",
4966
- className: _chunkUYBCHXXLjs.cn.call(void 0,
4969
+ className: _chunk5KQXRLK3js.cn.call(void 0,
4967
4970
  "fixed inset-y-0 z-10 hidden h-svh w-(--sidebar-width) transition-[left,right,width] duration-200 ease-linear md:flex",
4968
4971
  side === "left" ? "left-0 group-data-[collapsible=offExamples]:left-[calc(var(--sidebar-width)*-1)]" : "right-0 group-data-[collapsible=offExamples]:right-[calc(var(--sidebar-width)*-1)]",
4969
4972
  // Adjust the padding for floating and inset variants.
@@ -5000,7 +5003,7 @@ function SidebarTrigger({
5000
5003
  "data-slot": "sidebar-trigger",
5001
5004
  variant: "ghost",
5002
5005
  size: "icon-sm",
5003
- className: _chunkUYBCHXXLjs.cn.call(void 0, className),
5006
+ className: _chunk5KQXRLK3js.cn.call(void 0, className),
5004
5007
  onClick: (event) => {
5005
5008
  _optionalChain([onClick, 'optionalCall', _88 => _88(event)]);
5006
5009
  toggleSidebar();
@@ -5028,7 +5031,7 @@ function SidebarRail({ className, ...props }) {
5028
5031
  tabIndex: -1,
5029
5032
  onClick: toggleSidebar,
5030
5033
  title: "Toggle Sidebar",
5031
- className: _chunkUYBCHXXLjs.cn.call(void 0,
5034
+ className: _chunk5KQXRLK3js.cn.call(void 0,
5032
5035
  "hover:after:bg-sidebar-border absolute inset-y-0 z-20 hidden w-4 -translate-x-1/2 transition-all ease-linear group-data-[side=left]:-right-4 group-data-[side=right]:left-0 after:absolute after:inset-y-0 after:left-1/2 after:w-[2px] sm:flex",
5033
5036
  "in-data-[side=left]:cursor-w-resize in-data-[side=right]:cursor-e-resize",
5034
5037
  "[[data-side=left][data-state=collapsed]_&]:cursor-e-resize [[data-side=right][data-state=collapsed]_&]:cursor-w-resize",
@@ -5047,7 +5050,7 @@ function SidebarInset({ className, ...props }) {
5047
5050
  "main",
5048
5051
  {
5049
5052
  "data-slot": "sidebar-inset",
5050
- className: _chunkUYBCHXXLjs.cn.call(void 0,
5053
+ className: _chunk5KQXRLK3js.cn.call(void 0,
5051
5054
  "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 relative flex w-full flex-1 flex-col",
5052
5055
  className
5053
5056
  ),
@@ -5065,7 +5068,7 @@ function SidebarInput({
5065
5068
  {
5066
5069
  "data-slot": "sidebar-input",
5067
5070
  "data-sidebar": "input",
5068
- className: _chunkUYBCHXXLjs.cn.call(void 0, "bg-muted/20 dark:bg-muted/30 border-input h-8 w-full", className),
5071
+ className: _chunk5KQXRLK3js.cn.call(void 0, "bg-muted/20 dark:bg-muted/30 border-input h-8 w-full", className),
5069
5072
  ...props
5070
5073
  }
5071
5074
  );
@@ -5077,7 +5080,7 @@ function SidebarHeader({ className, ...props }) {
5077
5080
  {
5078
5081
  "data-slot": "sidebar-header",
5079
5082
  "data-sidebar": "header",
5080
- className: _chunkUYBCHXXLjs.cn.call(void 0, "gap-2 p-2 flex flex-col", className),
5083
+ className: _chunk5KQXRLK3js.cn.call(void 0, "gap-2 p-2 flex flex-col", className),
5081
5084
  ...props
5082
5085
  }
5083
5086
  );
@@ -5089,7 +5092,7 @@ function SidebarFooter({ className, ...props }) {
5089
5092
  {
5090
5093
  "data-slot": "sidebar-footer",
5091
5094
  "data-sidebar": "footer",
5092
- className: _chunkUYBCHXXLjs.cn.call(void 0, "gap-2 p-2 flex flex-col", className),
5095
+ className: _chunk5KQXRLK3js.cn.call(void 0, "gap-2 p-2 flex flex-col", className),
5093
5096
  ...props
5094
5097
  }
5095
5098
  );
@@ -5104,7 +5107,7 @@ function SidebarSeparator({
5104
5107
  {
5105
5108
  "data-slot": "sidebar-separator",
5106
5109
  "data-sidebar": "separator",
5107
- className: _chunkUYBCHXXLjs.cn.call(void 0, "bg-sidebar-border mx-2 w-auto", className),
5110
+ className: _chunk5KQXRLK3js.cn.call(void 0, "bg-sidebar-border mx-2 w-auto", className),
5108
5111
  ...props
5109
5112
  }
5110
5113
  );
@@ -5116,7 +5119,7 @@ function SidebarContent({ className, ...props }) {
5116
5119
  {
5117
5120
  "data-slot": "sidebar-content",
5118
5121
  "data-sidebar": "content",
5119
- className: _chunkUYBCHXXLjs.cn.call(void 0,
5122
+ className: _chunk5KQXRLK3js.cn.call(void 0,
5120
5123
  "no-scrollbar gap-0 flex min-h-0 flex-1 flex-col overflow-auto group-data-[collapsible=icon]:overflow-hidden",
5121
5124
  className
5122
5125
  ),
@@ -5131,7 +5134,7 @@ function SidebarGroup({ className, ...props }) {
5131
5134
  {
5132
5135
  "data-slot": "sidebar-group",
5133
5136
  "data-sidebar": "group",
5134
- className: _chunkUYBCHXXLjs.cn.call(void 0,
5137
+ className: _chunk5KQXRLK3js.cn.call(void 0,
5135
5138
  "px-2 py-1 relative flex w-full min-w-0 flex-col",
5136
5139
  className
5137
5140
  ),
@@ -5149,7 +5152,7 @@ function SidebarGroupLabel({
5149
5152
  defaultTagName: "div",
5150
5153
  props: _mergeprops.mergeProps.call(void 0,
5151
5154
  {
5152
- className: _chunkUYBCHXXLjs.cn.call(void 0,
5155
+ className: _chunk5KQXRLK3js.cn.call(void 0,
5153
5156
  "text-sidebar-foreground/70 ring-sidebar-ring h-8 rounded-md px-2 text-xs 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 flex shrink-0 items-center outline-hidden [&>svg]:shrink-0",
5154
5157
  className
5155
5158
  )
@@ -5173,7 +5176,7 @@ function SidebarGroupAction({
5173
5176
  defaultTagName: "button",
5174
5177
  props: _mergeprops.mergeProps.call(void 0,
5175
5178
  {
5176
- className: _chunkUYBCHXXLjs.cn.call(void 0,
5179
+ className: _chunk5KQXRLK3js.cn.call(void 0,
5177
5180
  "text-sidebar-foreground ring-sidebar-ring hover:bg-sidebar-accent hover:text-sidebar-accent-foreground absolute top-3.5 right-3 w-5 rounded-md p-0 focus-visible:ring-2 [&>svg]:size-4 flex aspect-square items-center justify-center outline-hidden transition-transform [&>svg]:shrink-0 after:absolute after:-inset-2 md:after:hidden group-data-[collapsible=icon]:hidden",
5178
5181
  className
5179
5182
  )
@@ -5197,7 +5200,7 @@ function SidebarGroupContent({
5197
5200
  {
5198
5201
  "data-slot": "sidebar-group-content",
5199
5202
  "data-sidebar": "group-content",
5200
- className: _chunkUYBCHXXLjs.cn.call(void 0, "text-xs w-full", className),
5203
+ className: _chunk5KQXRLK3js.cn.call(void 0, "text-xs w-full", className),
5201
5204
  ...props
5202
5205
  }
5203
5206
  );
@@ -5209,7 +5212,7 @@ function SidebarMenu({ className, ...props }) {
5209
5212
  {
5210
5213
  "data-slot": "sidebar-menu",
5211
5214
  "data-sidebar": "menu",
5212
- className: _chunkUYBCHXXLjs.cn.call(void 0, "gap-px flex w-full min-w-0 flex-col", className),
5215
+ className: _chunk5KQXRLK3js.cn.call(void 0, "gap-px flex w-full min-w-0 flex-col", className),
5213
5216
  ...props
5214
5217
  }
5215
5218
  );
@@ -5221,7 +5224,7 @@ function SidebarMenuItem({ className, ...props }) {
5221
5224
  {
5222
5225
  "data-slot": "sidebar-menu-item",
5223
5226
  "data-sidebar": "menu-item",
5224
- className: _chunkUYBCHXXLjs.cn.call(void 0, "group/menu-item relative", className),
5227
+ className: _chunk5KQXRLK3js.cn.call(void 0, "group/menu-item relative", className),
5225
5228
  ...props
5226
5229
  }
5227
5230
  );
@@ -5261,7 +5264,7 @@ function SidebarMenuButton({
5261
5264
  defaultTagName: "button",
5262
5265
  props: _mergeprops.mergeProps.call(void 0,
5263
5266
  {
5264
- className: _chunkUYBCHXXLjs.cn.call(void 0, sidebarMenuButtonVariants({ variant, size }), className)
5267
+ className: _chunk5KQXRLK3js.cn.call(void 0, sidebarMenuButtonVariants({ variant, size }), className)
5265
5268
  },
5266
5269
  props
5267
5270
  ),
@@ -5305,7 +5308,7 @@ function SidebarMenuAction({
5305
5308
  defaultTagName: "button",
5306
5309
  props: _mergeprops.mergeProps.call(void 0,
5307
5310
  {
5308
- className: _chunkUYBCHXXLjs.cn.call(void 0,
5311
+ className: _chunk5KQXRLK3js.cn.call(void 0,
5309
5312
  "text-sidebar-foreground ring-sidebar-ring hover:bg-sidebar-accent hover:text-sidebar-accent-foreground peer-hover/menu-button:text-sidebar-accent-foreground absolute top-1.5 right-1 aspect-square w-5 rounded-[calc(var(--radius-sm)-2px)] p-0 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 focus-visible:ring-2 [&>svg]:size-4 flex items-center justify-center outline-hidden transition-transform group-data-[collapsible=icon]:hidden after:absolute after:-inset-2 md:after:hidden [&>svg]:shrink-0",
5310
5313
  showOnHover && "peer-data-active/menu-button:text-sidebar-accent-foreground group-focus-within/menu-item:opacity-100 group-hover/menu-item:opacity-100 data-open:opacity-100 md:opacity-0",
5311
5314
  className
@@ -5330,7 +5333,7 @@ function SidebarMenuBadge({
5330
5333
  {
5331
5334
  "data-slot": "sidebar-menu-badge",
5332
5335
  "data-sidebar": "menu-badge",
5333
- className: _chunkUYBCHXXLjs.cn.call(void 0,
5336
+ className: _chunk5KQXRLK3js.cn.call(void 0,
5334
5337
  "text-sidebar-foreground peer-hover/menu-button:text-sidebar-accent-foreground peer-data-active/menu-button:text-sidebar-accent-foreground pointer-events-none absolute right-1 flex h-5 min-w-5 rounded-[calc(var(--radius-sm)-2px)] px-1 text-xs font-medium 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 flex items-center justify-center tabular-nums select-none group-data-[collapsible=icon]:hidden",
5335
5338
  className
5336
5339
  ),
@@ -5352,7 +5355,7 @@ function SidebarMenuSkeleton({
5352
5355
  {
5353
5356
  "data-slot": "sidebar-menu-skeleton",
5354
5357
  "data-sidebar": "menu-skeleton",
5355
- className: _chunkUYBCHXXLjs.cn.call(void 0, "h-8 gap-2 rounded-md px-2 flex items-center", className),
5358
+ className: _chunk5KQXRLK3js.cn.call(void 0, "h-8 gap-2 rounded-md px-2 flex items-center", className),
5356
5359
  ...props,
5357
5360
  children: [
5358
5361
  showIcon && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
@@ -5383,7 +5386,7 @@ function SidebarMenuSub({ className, ...props }) {
5383
5386
  {
5384
5387
  "data-slot": "sidebar-menu-sub",
5385
5388
  "data-sidebar": "menu-sub",
5386
- className: _chunkUYBCHXXLjs.cn.call(void 0, "border-sidebar-border mx-3.5 translate-x-px gap-1 border-l px-2.5 py-0.5 group-data-[collapsible=icon]:hidden flex min-w-0 flex-col", className),
5389
+ className: _chunk5KQXRLK3js.cn.call(void 0, "border-sidebar-border mx-3.5 translate-x-px gap-1 border-l px-2.5 py-0.5 group-data-[collapsible=icon]:hidden flex min-w-0 flex-col", className),
5387
5390
  ...props
5388
5391
  }
5389
5392
  );
@@ -5398,7 +5401,7 @@ function SidebarMenuSubItem({
5398
5401
  {
5399
5402
  "data-slot": "sidebar-menu-sub-item",
5400
5403
  "data-sidebar": "menu-sub-item",
5401
- className: _chunkUYBCHXXLjs.cn.call(void 0, "group/menu-sub-item relative", className),
5404
+ className: _chunk5KQXRLK3js.cn.call(void 0, "group/menu-sub-item relative", className),
5402
5405
  ...props
5403
5406
  }
5404
5407
  );
@@ -5415,7 +5418,7 @@ function SidebarMenuSubButton({
5415
5418
  defaultTagName: "a",
5416
5419
  props: _mergeprops.mergeProps.call(void 0,
5417
5420
  {
5418
- className: _chunkUYBCHXXLjs.cn.call(void 0,
5421
+ className: _chunk5KQXRLK3js.cn.call(void 0,
5419
5422
  "text-sidebar-foreground ring-sidebar-ring hover:bg-sidebar-accent hover:text-sidebar-accent-foreground active:bg-sidebar-accent active:text-sidebar-accent-foreground [&>svg]:text-sidebar-accent-foreground data-active:bg-sidebar-accent data-active:text-sidebar-accent-foreground h-7 gap-2 rounded-md px-2 focus-visible:ring-2 data-[size=md]:text-xs data-[size=sm]:text-xs [&>svg]:size-4 flex min-w-0 -translate-x-px items-center overflow-hidden outline-hidden group-data-[collapsible=icon]:hidden disabled:pointer-events-none disabled:opacity-50 aria-disabled:pointer-events-none aria-disabled:opacity-50 [&>span:last-child]:truncate [&>svg]:shrink-0",
5420
5423
  className
5421
5424
  )
@@ -5463,7 +5466,7 @@ function Slider({
5463
5466
  children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
5464
5467
  _slider.Slider.Control,
5465
5468
  {
5466
- className: _chunkUYBCHXXLjs.cn.call(void 0,
5469
+ className: _chunk5KQXRLK3js.cn.call(void 0,
5467
5470
  "data-vertical:min-h-40 relative flex w-full touch-none items-center select-none data-disabled:opacity-50 data-vertical:h-full data-vertical:w-auto data-vertical:flex-col",
5468
5471
  className
5469
5472
  ),
@@ -5547,7 +5550,7 @@ function Switch({
5547
5550
  {
5548
5551
  "data-slot": "switch",
5549
5552
  "data-size": size,
5550
- className: _chunkUYBCHXXLjs.cn.call(void 0,
5553
+ className: _chunk5KQXRLK3js.cn.call(void 0,
5551
5554
  "data-checked:bg-primary data-unchecked:bg-input focus-visible:border-ring focus-visible:ring-ring/30 aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive dark:aria-invalid:border-destructive/50 dark:data-unchecked:bg-input/80 shrink-0 rounded-full border border-transparent focus-visible:ring-[2px] aria-invalid:ring-[2px] data-[size=default]:h-[16.6px] data-[size=default]:w-[28px] data-[size=sm]:h-[14px] data-[size=sm]:w-[24px] peer group/switch relative inline-flex items-center transition-all outline-none after:absolute after:-inset-x-3 after:-inset-y-2 data-disabled:cursor-not-allowed data-disabled:opacity-50",
5552
5555
  className
5553
5556
  ),
@@ -5556,7 +5559,7 @@ function Switch({
5556
5559
  _switch.Switch.Thumb,
5557
5560
  {
5558
5561
  "data-slot": "switch-thumb",
5559
- className: _chunkUYBCHXXLjs.cn.call(void 0,
5562
+ className: _chunk5KQXRLK3js.cn.call(void 0,
5560
5563
  "bg-background dark:data-unchecked:bg-foreground dark:data-checked:bg-primary-foreground rounded-full group-data-[size=default]/switch:size-3.5 group-data-[size=sm]/switch:size-3 group-data-[size=default]/switch:data-checked:translate-x-[calc(100%-2px)] group-data-[size=sm]/switch:data-checked:translate-x-[calc(100%-2px)] group-data-[size=default]/switch:data-unchecked:translate-x-0 group-data-[size=sm]/switch:data-unchecked:translate-x-0 pointer-events-none block ring-0 transition-transform",
5561
5564
  children && "flex items-center justify-center"
5562
5565
  ),
@@ -5575,7 +5578,7 @@ function Table({ className, ...props }) {
5575
5578
  "table",
5576
5579
  {
5577
5580
  "data-slot": "table",
5578
- className: _chunkUYBCHXXLjs.cn.call(void 0, "w-full caption-bottom text-xs", className),
5581
+ className: _chunk5KQXRLK3js.cn.call(void 0, "w-full caption-bottom text-xs", className),
5579
5582
  ...props
5580
5583
  }
5581
5584
  ) });
@@ -5586,7 +5589,7 @@ function TableHeader({ className, ...props }) {
5586
5589
  "thead",
5587
5590
  {
5588
5591
  "data-slot": "table-header",
5589
- className: _chunkUYBCHXXLjs.cn.call(void 0, "[&_tr]:border-b", className),
5592
+ className: _chunk5KQXRLK3js.cn.call(void 0, "[&_tr]:border-b", className),
5590
5593
  ...props
5591
5594
  }
5592
5595
  );
@@ -5597,7 +5600,7 @@ function TableBody({ className, ...props }) {
5597
5600
  "tbody",
5598
5601
  {
5599
5602
  "data-slot": "table-body",
5600
- className: _chunkUYBCHXXLjs.cn.call(void 0, "[&_tr:last-child]:border-0", className),
5603
+ className: _chunk5KQXRLK3js.cn.call(void 0, "[&_tr:last-child]:border-0", className),
5601
5604
  ...props
5602
5605
  }
5603
5606
  );
@@ -5608,7 +5611,7 @@ function TableFooter({ className, ...props }) {
5608
5611
  "tfoot",
5609
5612
  {
5610
5613
  "data-slot": "table-footer",
5611
- className: _chunkUYBCHXXLjs.cn.call(void 0, "bg-muted/50 border-t font-medium [&>tr]:last:border-b-0", className),
5614
+ className: _chunk5KQXRLK3js.cn.call(void 0, "bg-muted/50 border-t font-medium [&>tr]:last:border-b-0", className),
5612
5615
  ...props
5613
5616
  }
5614
5617
  );
@@ -5619,7 +5622,7 @@ function TableRow({ className, ...props }) {
5619
5622
  "tr",
5620
5623
  {
5621
5624
  "data-slot": "table-row",
5622
- className: _chunkUYBCHXXLjs.cn.call(void 0, "hover:bg-muted/50 data-[state=selected]:bg-muted border-b transition-colors", className),
5625
+ className: _chunk5KQXRLK3js.cn.call(void 0, "hover:bg-muted/50 data-[state=selected]:bg-muted border-b transition-colors", className),
5623
5626
  ...props
5624
5627
  }
5625
5628
  );
@@ -5630,7 +5633,7 @@ function TableHead({ className, ...props }) {
5630
5633
  "th",
5631
5634
  {
5632
5635
  "data-slot": "table-head",
5633
- className: _chunkUYBCHXXLjs.cn.call(void 0, "text-foreground h-10 px-2 text-left align-middle font-medium whitespace-nowrap [&:has([role=checkbox])]:pr-0", className),
5636
+ className: _chunk5KQXRLK3js.cn.call(void 0, "text-foreground h-10 px-2 text-left align-middle font-medium whitespace-nowrap [&:has([role=checkbox])]:pr-0", className),
5634
5637
  ...props
5635
5638
  }
5636
5639
  );
@@ -5641,7 +5644,7 @@ function TableCell({ className, ...props }) {
5641
5644
  "td",
5642
5645
  {
5643
5646
  "data-slot": "table-cell",
5644
- className: _chunkUYBCHXXLjs.cn.call(void 0, "p-2 align-middle whitespace-nowrap [&:has([role=checkbox])]:pr-0", className),
5647
+ className: _chunk5KQXRLK3js.cn.call(void 0, "p-2 align-middle whitespace-nowrap [&:has([role=checkbox])]:pr-0", className),
5645
5648
  ...props
5646
5649
  }
5647
5650
  );
@@ -5655,7 +5658,7 @@ function TableCaption({
5655
5658
  "caption",
5656
5659
  {
5657
5660
  "data-slot": "table-caption",
5658
- className: _chunkUYBCHXXLjs.cn.call(void 0, "text-muted-foreground mt-4 text-xs", className),
5661
+ className: _chunk5KQXRLK3js.cn.call(void 0, "text-muted-foreground mt-4 text-xs", className),
5659
5662
  ...props
5660
5663
  }
5661
5664
  );
@@ -5676,7 +5679,7 @@ function Tabs({
5676
5679
  {
5677
5680
  "data-slot": "tabs",
5678
5681
  "data-orientation": orientation,
5679
- className: _chunkUYBCHXXLjs.cn.call(void 0,
5682
+ className: _chunk5KQXRLK3js.cn.call(void 0,
5680
5683
  "gap-2 group/tabs flex data-[orientation=horizontal]:flex-col",
5681
5684
  className
5682
5685
  ),
@@ -5709,7 +5712,7 @@ function TabsList({
5709
5712
  {
5710
5713
  "data-slot": "tabs-list",
5711
5714
  "data-variant": variant,
5712
- className: _chunkUYBCHXXLjs.cn.call(void 0, tabsListVariants({ variant }), className),
5715
+ className: _chunk5KQXRLK3js.cn.call(void 0, tabsListVariants({ variant }), className),
5713
5716
  ...props
5714
5717
  }
5715
5718
  );
@@ -5720,7 +5723,7 @@ function TabsTrigger({ className, ...props }) {
5720
5723
  _tabs.Tabs.Tab,
5721
5724
  {
5722
5725
  "data-slot": "tabs-trigger",
5723
- className: _chunkUYBCHXXLjs.cn.call(void 0,
5726
+ className: _chunk5KQXRLK3js.cn.call(void 0,
5724
5727
  "gap-1.5 rounded-md border border-transparent px-1.5 py-0.5 text-xs font-medium group-data-vertical/tabs:py-[calc(--spacing(1.25))] [&_svg:not([class*='size-'])]:size-3.5 focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:outline-ring text-foreground/60 hover:text-foreground dark:text-muted-foreground dark:hover:text-foreground relative inline-flex h-[calc(100%-1px)] flex-1 items-center justify-center whitespace-nowrap transition-all group-data-[orientation=vertical]/tabs:w-full group-data-[orientation=vertical]/tabs:justify-start focus-visible:ring-[3px] focus-visible:outline-1 disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0",
5725
5728
  "group-data-[variant=line]/tabs-list:bg-transparent group-data-[variant=line]/tabs-list:data-active:bg-transparent dark:group-data-[variant=line]/tabs-list:data-active:border-transparent dark:group-data-[variant=line]/tabs-list:data-active:bg-transparent",
5726
5729
  "data-active:bg-background dark:data-active:text-foreground dark:data-active:border-input dark:data-active:bg-input/30 data-active:text-foreground",
@@ -5737,7 +5740,7 @@ function TabsContent({ className, ...props }) {
5737
5740
  _tabs.Tabs.Panel,
5738
5741
  {
5739
5742
  "data-slot": "tabs-content",
5740
- className: _chunkUYBCHXXLjs.cn.call(void 0, "text-xs/relaxed flex-1 outline-none", className),
5743
+ className: _chunk5KQXRLK3js.cn.call(void 0, "text-xs/relaxed flex-1 outline-none", className),
5741
5744
  ...props
5742
5745
  }
5743
5746
  );
@@ -5778,7 +5781,7 @@ function Toggle({
5778
5781
  _toggle.Toggle,
5779
5782
  {
5780
5783
  "data-slot": "toggle",
5781
- className: _chunkUYBCHXXLjs.cn.call(void 0, toggleVariants({ variant, size, className })),
5784
+ className: _chunk5KQXRLK3js.cn.call(void 0, toggleVariants({ variant, size, className })),
5782
5785
  ...props
5783
5786
  }
5784
5787
  );
@@ -6247,7 +6250,7 @@ var KanbanBoard = React9.forwardRef((props, forwardedRef) => {
6247
6250
  "data-slot": "kanban-board",
6248
6251
  ...boardProps,
6249
6252
  ref: forwardedRef,
6250
- className: _chunkUYBCHXXLjs.cn.call(void 0,
6253
+ className: _chunk5KQXRLK3js.cn.call(void 0,
6251
6254
  "flex size-full gap-4",
6252
6255
  context.orientation === "horizontal" ? "flex-row" : "flex-col",
6253
6256
  className
@@ -6286,7 +6289,7 @@ var KanbanColumn = React9.forwardRef((props, forwardedRef) => {
6286
6289
  disabled,
6287
6290
  animateLayoutChanges
6288
6291
  });
6289
- const composedRef = _chunkUYBCHXXLjs.useComposedRefs.call(void 0, forwardedRef, (node) => {
6292
+ const composedRef = _chunk5KQXRLK3js.useComposedRefs.call(void 0, forwardedRef, (node) => {
6290
6293
  if (disabled) return;
6291
6294
  setNodeRef(node);
6292
6295
  });
@@ -6330,7 +6333,7 @@ var KanbanColumn = React9.forwardRef((props, forwardedRef) => {
6330
6333
  ...asHandle && !disabled ? listeners : {},
6331
6334
  ref: composedRef,
6332
6335
  style: composedStyle,
6333
- className: _chunkUYBCHXXLjs.cn.call(void 0,
6336
+ className: _chunk5KQXRLK3js.cn.call(void 0,
6334
6337
  "flex size-full w-full flex-col gap-2 rounded-lg border bg-zinc-100 p-2.5 aria-disabled:pointer-events-none aria-disabled:opacity-50 dark:bg-zinc-900",
6335
6338
  {
6336
6339
  "touch-none select-none": asHandle,
@@ -6353,7 +6356,7 @@ var KanbanColumnHandle = React9.forwardRef((props, forwardedRef) => {
6353
6356
  const context = useKanbanContext(COLUMN_NAME);
6354
6357
  const columnContext = useKanbanColumnContext(COLUMN_HANDLE_NAME);
6355
6358
  const isDisabled = _nullishCoalesce(disabled, () => ( columnContext.disabled));
6356
- const composedRef = _chunkUYBCHXXLjs.useComposedRefs.call(void 0, forwardedRef, (node) => {
6359
+ const composedRef = _chunk5KQXRLK3js.useComposedRefs.call(void 0, forwardedRef, (node) => {
6357
6360
  if (isDisabled) return;
6358
6361
  columnContext.setActivatorNodeRef(node);
6359
6362
  });
@@ -6370,7 +6373,7 @@ var KanbanColumnHandle = React9.forwardRef((props, forwardedRef) => {
6370
6373
  ...isDisabled ? {} : columnContext.attributes,
6371
6374
  ...isDisabled ? {} : columnContext.listeners,
6372
6375
  ref: composedRef,
6373
- className: _chunkUYBCHXXLjs.cn.call(void 0,
6376
+ className: _chunk5KQXRLK3js.cn.call(void 0,
6374
6377
  "select-none disabled:pointer-events-none disabled:opacity-50",
6375
6378
  context.flatCursor ? "cursor-default" : "cursor-grab data-dragging:cursor-grabbing",
6376
6379
  className
@@ -6406,7 +6409,7 @@ var KanbanItem = React9.forwardRef((props, forwardedRef) => {
6406
6409
  if (value === "") {
6407
6410
  throw new Error(`\`${ITEM_NAME}\` value cannot be an empty string`);
6408
6411
  }
6409
- const composedRef = _chunkUYBCHXXLjs.useComposedRefs.call(void 0, forwardedRef, (node) => {
6412
+ const composedRef = _chunk5KQXRLK3js.useComposedRefs.call(void 0, forwardedRef, (node) => {
6410
6413
  if (disabled) return;
6411
6414
  setNodeRef(node);
6412
6415
  });
@@ -6441,7 +6444,7 @@ var KanbanItem = React9.forwardRef((props, forwardedRef) => {
6441
6444
  ...asHandle && !disabled ? listeners : {},
6442
6445
  ref: composedRef,
6443
6446
  style: composedStyle,
6444
- className: _chunkUYBCHXXLjs.cn.call(void 0,
6447
+ className: _chunk5KQXRLK3js.cn.call(void 0,
6445
6448
  "focus-visible:ring-ring focus-visible:ring-1 focus-visible:ring-offset-1 focus-visible:outline-hidden",
6446
6449
  {
6447
6450
  "touch-none select-none": asHandle,
@@ -6462,7 +6465,7 @@ var KanbanItemHandle = React9.forwardRef((props, forwardedRef) => {
6462
6465
  const context = useKanbanContext(ITEM_HANDLE_NAME);
6463
6466
  const itemContext = useKanbanItemContext(ITEM_HANDLE_NAME);
6464
6467
  const isDisabled = _nullishCoalesce(disabled, () => ( itemContext.disabled));
6465
- const composedRef = _chunkUYBCHXXLjs.useComposedRefs.call(void 0, forwardedRef, (node) => {
6468
+ const composedRef = _chunk5KQXRLK3js.useComposedRefs.call(void 0, forwardedRef, (node) => {
6466
6469
  if (isDisabled) return;
6467
6470
  itemContext.setActivatorNodeRef(node);
6468
6471
  });
@@ -6479,7 +6482,7 @@ var KanbanItemHandle = React9.forwardRef((props, forwardedRef) => {
6479
6482
  ...isDisabled ? {} : itemContext.attributes,
6480
6483
  ...isDisabled ? {} : itemContext.listeners,
6481
6484
  ref: composedRef,
6482
- className: _chunkUYBCHXXLjs.cn.call(void 0,
6485
+ className: _chunk5KQXRLK3js.cn.call(void 0,
6483
6486
  "select-none disabled:pointer-events-none disabled:opacity-50",
6484
6487
  context.flatCursor ? "cursor-default" : "cursor-grab data-dragging:cursor-grabbing",
6485
6488
  className
@@ -6514,7 +6517,7 @@ function KanbanOverlay(props) {
6514
6517
  {
6515
6518
  dropAnimation,
6516
6519
  modifiers: context.modifiers,
6517
- className: _chunkUYBCHXXLjs.cn.call(void 0, !context.flatCursor && "cursor-grabbing"),
6520
+ className: _chunk5KQXRLK3js.cn.call(void 0, !context.flatCursor && "cursor-grabbing"),
6518
6521
  ...overlayProps,
6519
6522
  children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, KanbanOverlayContext.Provider, { value: true, children: context.activeId && children ? typeof children === "function" ? children({
6520
6523
  value: context.activeId,
@@ -6531,8 +6534,8 @@ _chunk7QVYU63Ejs.__name.call(void 0, KanbanOverlay, "KanbanOverlay");
6531
6534
 
6532
6535
 
6533
6536
  var Link = React10.forwardRef(({ className, href, children, ...props }, ref) => {
6534
- const NextIntlLink = _chunkEW6QPMN3js.getI18nLink.call(void 0, );
6535
- return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, NextIntlLink, { prefetch: false, ref, href, className: _chunkUYBCHXXLjs.cn.call(void 0, `font-medium`, className), ...props, children });
6537
+ const NextIntlLink = _chunkOR5NPUWFjs.getI18nLink.call(void 0, );
6538
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, NextIntlLink, { prefetch: false, ref, href, className: _chunk5KQXRLK3js.cn.call(void 0, `font-medium`, className), ...props, children });
6536
6539
  });
6537
6540
  Link.displayName = "Link";
6538
6541
 
@@ -6629,7 +6632,7 @@ var MultiSelect = React11.forwardRef(
6629
6632
  {
6630
6633
  ...props,
6631
6634
  onClick: handleTogglePopover,
6632
- className: _chunkUYBCHXXLjs.cn.call(void 0,
6635
+ className: _chunk5KQXRLK3js.cn.call(void 0,
6633
6636
  "flex h-auto min-h-10 w-full items-center justify-between rounded-md border bg-inherit p-1 hover:bg-inherit [&_svg]:pointer-events-auto",
6634
6637
  className
6635
6638
  ),
@@ -6641,7 +6644,7 @@ var MultiSelect = React11.forwardRef(
6641
6644
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
6642
6645
  Badge,
6643
6646
  {
6644
- className: _chunkUYBCHXXLjs.cn.call(void 0, isAnimating ? "animate-bounce" : "", multiSelectVariants({ variant })),
6647
+ className: _chunk5KQXRLK3js.cn.call(void 0, isAnimating ? "animate-bounce" : "", multiSelectVariants({ variant })),
6645
6648
  style: { animationDuration: `${animation}s` },
6646
6649
  children: [
6647
6650
  IconComponent && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, IconComponent, { className: "mr-2 h-4 w-4" }),
@@ -6664,7 +6667,7 @@ var MultiSelect = React11.forwardRef(
6664
6667
  selectedValues.length > maxCount && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
6665
6668
  Badge,
6666
6669
  {
6667
- className: _chunkUYBCHXXLjs.cn.call(void 0,
6670
+ className: _chunk5KQXRLK3js.cn.call(void 0,
6668
6671
  "text-foreground border-foreground/1 bg-transparent hover:bg-transparent",
6669
6672
  isAnimating ? "animate-bounce" : "",
6670
6673
  multiSelectVariants({ variant })
@@ -6728,7 +6731,7 @@ var MultiSelect = React11.forwardRef(
6728
6731
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
6729
6732
  "div",
6730
6733
  {
6731
- className: _chunkUYBCHXXLjs.cn.call(void 0,
6734
+ className: _chunk5KQXRLK3js.cn.call(void 0,
6732
6735
  "border-primary mr-2 flex h-4 w-4 items-center justify-center rounded-sm border",
6733
6736
  selectedValues.length === options.length ? "bg-primary text-primary-foreground" : "opacity-50 [&_svg]:invisible"
6734
6737
  ),
@@ -6751,7 +6754,7 @@ var MultiSelect = React11.forwardRef(
6751
6754
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
6752
6755
  "div",
6753
6756
  {
6754
- className: _chunkUYBCHXXLjs.cn.call(void 0,
6757
+ className: _chunk5KQXRLK3js.cn.call(void 0,
6755
6758
  "border-primary mr-2 flex h-4 w-4 items-center justify-center rounded-sm border",
6756
6759
  isSelected ? "bg-primary text-primary-foreground" : "opacity-50 [&_svg]:invisible"
6757
6760
  ),
@@ -6786,7 +6789,7 @@ var MultiSelect = React11.forwardRef(
6786
6789
  animation > 0 && selectedValues.length > 0 && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
6787
6790
  _lucidereact.WandSparkles,
6788
6791
  {
6789
- className: _chunkUYBCHXXLjs.cn.call(void 0,
6792
+ className: _chunk5KQXRLK3js.cn.call(void 0,
6790
6793
  "text-foreground bg-background my-2 h-3 w-3 cursor-pointer",
6791
6794
  isAnimating ? "" : "text-muted-foreground"
6792
6795
  ),
@@ -6861,10 +6864,10 @@ _chunk7QVYU63Ejs.__name.call(void 0, UserAvatarEditor, "UserAvatarEditor");
6861
6864
  function UserDeleterInternal({ user, onDeleted, companyId }) {
6862
6865
  const { currentUser, company } = useCurrentUserContext();
6863
6866
  const generateUrl = usePageUrlGenerator();
6864
- const router = _chunkEW6QPMN3js.useI18nRouter.call(void 0, );
6867
+ const router = _chunkOR5NPUWFjs.useI18nRouter.call(void 0, );
6865
6868
  const t = _nextintl.useTranslations.call(void 0, );
6866
6869
  let cId;
6867
- if (_optionalChain([currentUser, 'optionalAccess', _128 => _128.roles, 'access', _129 => _129.find, 'call', _130 => _130((role) => role.id === _chunkEW6QPMN3js.getRoleId.call(void 0, ).Administrator)]) && companyId) {
6870
+ if (_optionalChain([currentUser, 'optionalAccess', _128 => _128.roles, 'access', _129 => _129.find, 'call', _130 => _130((role) => role.id === _chunkOR5NPUWFjs.getRoleId.call(void 0, ).Administrator)]) && companyId) {
6868
6871
  cId = companyId;
6869
6872
  } else {
6870
6873
  if (!company) return;
@@ -6874,8 +6877,8 @@ function UserDeleterInternal({ user, onDeleted, companyId }) {
6874
6877
  CommonDeleter,
6875
6878
  {
6876
6879
  type: `users`,
6877
- deleteFunction: () => _chunkUYBCHXXLjs.UserService.delete({ userId: user.id, companyId: cId }).then(
6878
- () => onDeleted ? onDeleted() : router.push(generateUrl({ page: _chunkUYBCHXXLjs.Modules.User }))
6880
+ deleteFunction: () => _chunk5KQXRLK3js.UserService.delete({ userId: user.id, companyId: cId }).then(
6881
+ () => onDeleted ? onDeleted() : router.push(generateUrl({ page: _chunk5KQXRLK3js.Modules.User }))
6879
6882
  )
6880
6883
  }
6881
6884
  );
@@ -6883,7 +6886,7 @@ function UserDeleterInternal({ user, onDeleted, companyId }) {
6883
6886
  _chunk7QVYU63Ejs.__name.call(void 0, UserDeleterInternal, "UserDeleterInternal");
6884
6887
  function UserDeleter(props) {
6885
6888
  const { hasPermissionToModule } = useCurrentUserContext();
6886
- if (!hasPermissionToModule({ module: _chunkUYBCHXXLjs.Modules.User, action: "delete" /* Delete */, data: props.user })) return null;
6889
+ if (!hasPermissionToModule({ module: _chunk5KQXRLK3js.Modules.User, action: "delete" /* Delete */, data: props.user })) return null;
6887
6890
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, UserDeleterInternal, { ...props });
6888
6891
  }
6889
6892
  _chunk7QVYU63Ejs.__name.call(void 0, UserDeleter, "UserDeleter");
@@ -6906,7 +6909,7 @@ function UserEditorInternal({ user, propagateChanges, adminCreated, trigger, onR
6906
6909
  } = useCurrentUserContext();
6907
6910
  const { company: companyFromContext } = useCompanyContext();
6908
6911
  const generateUrl = usePageUrlGenerator();
6909
- const router = _chunkEW6QPMN3js.useI18nRouter.call(void 0, );
6912
+ const router = _chunkOR5NPUWFjs.useI18nRouter.call(void 0, );
6910
6913
  const [open, setOpen] = _react.useState.call(void 0, false);
6911
6914
  const [roles, setRoles] = _react.useState.call(void 0, []);
6912
6915
  const [file, setFile] = _react.useState.call(void 0, null);
@@ -6947,7 +6950,7 @@ function UserEditorInternal({ user, propagateChanges, adminCreated, trigger, onR
6947
6950
  const onSubmit = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, async (values) => {
6948
6951
  if (!user) {
6949
6952
  try {
6950
- const existingUser = await _chunkUYBCHXXLjs.UserService.findByEmail({ email: values.email });
6953
+ const existingUser = await _chunk5KQXRLK3js.UserService.findByEmail({ email: values.email });
6951
6954
  if (existingUser) {
6952
6955
  form.setError("email", {
6953
6956
  type: "manual",
@@ -6960,7 +6963,7 @@ function UserEditorInternal({ user, propagateChanges, adminCreated, trigger, onR
6960
6963
  }
6961
6964
  }
6962
6965
  if (values.avatar && contentType) {
6963
- const s3 = await _chunkUYBCHXXLjs.S3Service.getPreSignedUrl({
6966
+ const s3 = await _chunk5KQXRLK3js.S3Service.getPreSignedUrl({
6964
6967
  key: values.avatar,
6965
6968
  contentType,
6966
6969
  isPublic: true
@@ -6986,16 +6989,16 @@ function UserEditorInternal({ user, propagateChanges, adminCreated, trigger, onR
6986
6989
  adminCreated
6987
6990
  };
6988
6991
  try {
6989
- const updatedUser = user ? await _chunkUYBCHXXLjs.UserService.update(payload) : await _chunkUYBCHXXLjs.UserService.create(payload);
6992
+ const updatedUser = user ? await _chunk5KQXRLK3js.UserService.update(payload) : await _chunk5KQXRLK3js.UserService.create(payload);
6990
6993
  if (_optionalChain([currentUser, 'optionalAccess', _141 => _141.id]) === updatedUser.id) setUser(updatedUser);
6991
6994
  if (onRevalidate) {
6992
- await onRevalidate(generateUrl({ page: _chunkUYBCHXXLjs.Modules.User, id: updatedUser.id, language: `[locale]` }));
6995
+ await onRevalidate(generateUrl({ page: _chunk5KQXRLK3js.Modules.User, id: updatedUser.id, language: `[locale]` }));
6993
6996
  }
6994
6997
  if (propagateChanges) {
6995
6998
  propagateChanges(updatedUser);
6996
6999
  setOpen(false);
6997
7000
  } else {
6998
- router.push(generateUrl({ page: _chunkUYBCHXXLjs.Modules.User, id: updatedUser.id }));
7001
+ router.push(generateUrl({ page: _chunk5KQXRLK3js.Modules.User, id: updatedUser.id }));
6999
7002
  }
7000
7003
  } catch (error) {
7001
7004
  errorToast({ title: user ? t(`common.errors.update`) : t(`common.errors.create`), error });
@@ -7003,14 +7006,14 @@ function UserEditorInternal({ user, propagateChanges, adminCreated, trigger, onR
7003
7006
  }, "onSubmit");
7004
7007
  _react.useEffect.call(void 0, () => {
7005
7008
  async function fetchRoles() {
7006
- const roles2 = await _chunkUYBCHXXLjs.RoleService.findAllRoles({});
7009
+ const roles2 = await _chunk5KQXRLK3js.RoleService.findAllRoles({});
7007
7010
  const availableRoles = roles2.filter(
7008
- (role) => role.id !== _chunkEW6QPMN3js.getRoleId.call(void 0, ).Administrator && (role.requiredFeature === void 0 || _optionalChain([company, 'optionalAccess', _142 => _142.features, 'access', _143 => _143.some, 'call', _144 => _144((feature) => feature.id === _optionalChain([role, 'access', _145 => _145.requiredFeature, 'optionalAccess', _146 => _146.id]))]))
7011
+ (role) => role.id !== _chunkOR5NPUWFjs.getRoleId.call(void 0, ).Administrator && (role.requiredFeature === void 0 || _optionalChain([company, 'optionalAccess', _142 => _142.features, 'access', _143 => _143.some, 'call', _144 => _144((feature) => feature.id === _optionalChain([role, 'access', _145 => _145.requiredFeature, 'optionalAccess', _146 => _146.id]))]))
7009
7012
  );
7010
7013
  setRoles(availableRoles);
7011
7014
  }
7012
7015
  _chunk7QVYU63Ejs.__name.call(void 0, fetchRoles, "fetchRoles");
7013
- if (open && (company || _optionalChain([currentUser, 'optionalAccess', _147 => _147.roles, 'access', _148 => _148.find, 'call', _149 => _149((role) => role.id === _chunkEW6QPMN3js.getRoleId.call(void 0, ).Administrator)])) && roles.length === 0)
7016
+ if (open && (company || _optionalChain([currentUser, 'optionalAccess', _147 => _147.roles, 'access', _148 => _148.find, 'call', _149 => _149((role) => role.id === _chunkOR5NPUWFjs.getRoleId.call(void 0, ).Administrator)])) && roles.length === 0)
7014
7017
  fetchRoles();
7015
7018
  }, [company, open]);
7016
7019
  _react.useEffect.call(void 0, () => {
@@ -7031,7 +7034,7 @@ function UserEditorInternal({ user, propagateChanges, adminCreated, trigger, onR
7031
7034
  setContentType(null);
7032
7035
  }
7033
7036
  }, [file]);
7034
- const canChangeRoles = !(_optionalChain([currentUser, 'optionalAccess', _150 => _150.id]) === _optionalChain([user, 'optionalAccess', _151 => _151.id]) && hasRole(_chunkEW6QPMN3js.getRoleId.call(void 0, ).Administrator)) && (hasPermissionToModule({ module: _chunkUYBCHXXLjs.Modules.User, action: "update" /* Update */ }) || hasRole(_chunkEW6QPMN3js.getRoleId.call(void 0, ).Administrator));
7037
+ const canChangeRoles = !(_optionalChain([currentUser, 'optionalAccess', _150 => _150.id]) === _optionalChain([user, 'optionalAccess', _151 => _151.id]) && hasRole(_chunkOR5NPUWFjs.getRoleId.call(void 0, ).Administrator)) && (hasPermissionToModule({ module: _chunk5KQXRLK3js.Modules.User, action: "update" /* Update */ }) || hasRole(_chunkOR5NPUWFjs.getRoleId.call(void 0, ).Administrator));
7035
7038
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, Dialog, { open, onOpenChange: setOpen, children: [
7036
7039
  trigger ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, DialogTrigger, { children: trigger }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, CommonEditorTrigger, { isEdit: !!user }),
7037
7040
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
@@ -7118,7 +7121,7 @@ function UserEditorInternal({ user, propagateChanges, adminCreated, trigger, onR
7118
7121
  ] })
7119
7122
  ] }),
7120
7123
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex justify-end gap-x-4", children: [
7121
- user && _optionalChain([currentUser, 'optionalAccess', _153 => _153.roles, 'access', _154 => _154.find, 'call', _155 => _155((role) => role.id === _chunkEW6QPMN3js.getRoleId.call(void 0, ).Administrator)]) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
7124
+ user && _optionalChain([currentUser, 'optionalAccess', _153 => _153.roles, 'access', _154 => _154.find, 'call', _155 => _155((role) => role.id === _chunkOR5NPUWFjs.getRoleId.call(void 0, ).Administrator)]) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
7122
7125
  UserDeleter,
7123
7126
  {
7124
7127
  companyId: _optionalChain([user, 'access', _156 => _156.company, 'optionalAccess', _157 => _157.id]),
@@ -7141,7 +7144,7 @@ _chunk7QVYU63Ejs.__name.call(void 0, UserEditorInternal, "UserEditorInternal");
7141
7144
  function UserEditor(props) {
7142
7145
  const { hasPermissionToModule } = useCurrentUserContext();
7143
7146
  if (!hasPermissionToModule({
7144
- module: _chunkUYBCHXXLjs.Modules.User,
7147
+ module: _chunk5KQXRLK3js.Modules.User,
7145
7148
  action: props.user ? "update" /* Update */ : "create" /* Create */,
7146
7149
  data: props.user
7147
7150
  }))
@@ -7158,7 +7161,6 @@ _chunk7QVYU63Ejs.__name.call(void 0, UserEditor, "UserEditor");
7158
7161
 
7159
7162
 
7160
7163
 
7161
-
7162
7164
  function CommonAssociationTrigger({
7163
7165
  sourceType,
7164
7166
  destinationType,
@@ -7229,7 +7231,7 @@ function CommonAssociationCommandDialog({
7229
7231
  _chunk7QVYU63Ejs.__name.call(void 0, CommonAssociationCommandDialog, "CommonAssociationCommandDialog");
7230
7232
  var triggerAssociationToast = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (params) => {
7231
7233
  if (params.level) {
7232
- _sonner.toast.message(
7234
+ _chunk5KQXRLK3js.showToast.call(void 0,
7233
7235
  params.t(`common.association.label`, {
7234
7236
  source: params.source,
7235
7237
  destination: params.destination
@@ -7245,7 +7247,7 @@ var triggerAssociationToast = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void
7245
7247
  }
7246
7248
  );
7247
7249
  } else {
7248
- _sonner.toast.message(
7250
+ _chunk5KQXRLK3js.showToast.call(void 0,
7249
7251
  params.t(`common.association.label`, {
7250
7252
  source: params.source,
7251
7253
  destination: params.destination
@@ -7296,9 +7298,8 @@ function ErrorDetails({ title, message, code }) {
7296
7298
  _chunk7QVYU63Ejs.__name.call(void 0, ErrorDetails, "ErrorDetails");
7297
7299
 
7298
7300
  // src/components/errors/errorToast.ts
7299
-
7300
7301
  function errorToast(params) {
7301
- _sonner.toast.error(_nullishCoalesce(_optionalChain([params, 'optionalAccess', _158 => _158.title]), () => ( "Error")), {
7302
+ _chunk5KQXRLK3js.showError.call(void 0, _nullishCoalesce(_optionalChain([params, 'optionalAccess', _158 => _158.title]), () => ( "Error")), {
7302
7303
  description: params.error instanceof Error ? params.error.message : String(params.error)
7303
7304
  });
7304
7305
  }
@@ -7307,8 +7308,8 @@ _chunk7QVYU63Ejs.__name.call(void 0, errorToast, "errorToast");
7307
7308
  // src/components/forms/CommonDeleter.tsx
7308
7309
 
7309
7310
  function CommonDeleter({ deleteFunction, redirectTo, type, forceShow }) {
7310
- const t = _chunkEW6QPMN3js.useI18nTranslations.call(void 0, );
7311
- const router = _chunkEW6QPMN3js.useI18nRouter.call(void 0, );
7311
+ const t = _chunkOR5NPUWFjs.useI18nTranslations.call(void 0, );
7312
+ const router = _chunkOR5NPUWFjs.useI18nRouter.call(void 0, );
7312
7313
  const [open, setOpen] = _react.useState.call(void 0, forceShow || false);
7313
7314
  const [isDeleting, setIsDeleting] = _react.useState.call(void 0, false);
7314
7315
  const handleDelete = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, async () => {
@@ -7438,8 +7439,8 @@ var DatePickerPopover = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, ({
7438
7439
  align = "start",
7439
7440
  className
7440
7441
  }) => {
7441
- const locale = _chunkEW6QPMN3js.useI18nLocale.call(void 0, );
7442
- const dateFnsLocale = _chunkEW6QPMN3js.useI18nDateFnsLocale.call(void 0, );
7442
+ const locale = _chunkOR5NPUWFjs.useI18nLocale.call(void 0, );
7443
+ const dateFnsLocale = _chunkOR5NPUWFjs.useI18nDateFnsLocale.call(void 0, );
7443
7444
  const [isOpen, setIsOpen] = _react.useState.call(void 0, false);
7444
7445
  const [displayMonth, setDisplayMonth] = _react.useState.call(void 0, () => value || /* @__PURE__ */ new Date());
7445
7446
  const dateFormatter = _react.useMemo.call(void 0,
@@ -7502,7 +7503,7 @@ var DatePickerPopover = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, ({
7502
7503
  }, "handleClear");
7503
7504
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, Popover, { open: isOpen, onOpenChange: setIsOpen, children: [
7504
7505
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, PopoverTrigger, { children }),
7505
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, PopoverContent, { className: _chunkUYBCHXXLjs.cn.call(void 0, "w-auto p-0", className), align, onClick: (e) => e.stopPropagation(), children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "p-3", children: [
7506
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, PopoverContent, { className: _chunk5KQXRLK3js.cn.call(void 0, "w-auto p-0", className), align, onClick: (e) => e.stopPropagation(), children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "p-3", children: [
7506
7507
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "relative mb-3", children: [
7507
7508
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
7508
7509
  Input,
@@ -7618,13 +7619,13 @@ function DateRangeSelector({ onDateChange, avoidSettingDates, showPreviousMonth
7618
7619
  setDate(range);
7619
7620
  }
7620
7621
  }, "handleSelect");
7621
- return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunkUYBCHXXLjs.cn.call(void 0, "grid gap-2"), children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, Popover, { open, onOpenChange: setOpen, children: [
7622
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunk5KQXRLK3js.cn.call(void 0, "grid gap-2"), children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, Popover, { open, onOpenChange: setOpen, children: [
7622
7623
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, PopoverTrigger, { children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
7623
7624
  Button,
7624
7625
  {
7625
7626
  id: "date",
7626
7627
  variant: "outline",
7627
- className: _chunkUYBCHXXLjs.cn.call(void 0, "w-[300px] justify-start text-left font-normal", !date && "text-muted-foreground"),
7628
+ className: _chunk5KQXRLK3js.cn.call(void 0, "w-[300px] justify-start text-left font-normal", !date && "text-muted-foreground"),
7628
7629
  children: [
7629
7630
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.CalendarIcon, {}),
7630
7631
  _optionalChain([date, 'optionalAccess', _168 => _168.from]) ? date.to ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
@@ -7681,7 +7682,6 @@ _chunk7QVYU63Ejs.__name.call(void 0, DateRangeSelector, "DateRangeSelector");
7681
7682
 
7682
7683
  var _reactdropzone = require('react-dropzone');
7683
7684
 
7684
-
7685
7685
  var FileUploaderContext = _react.createContext.call(void 0, null);
7686
7686
  var useFileUpload = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, () => {
7687
7687
  const context = _react.useContext.call(void 0, FileUploaderContext);
@@ -7749,7 +7749,7 @@ var FileUploader = _react.forwardRef.call(void 0,
7749
7749
  (acceptedFiles, rejectedFiles) => {
7750
7750
  const files = acceptedFiles;
7751
7751
  if (!files) {
7752
- _sonner.toast.error(t("common.errors.file"), {
7752
+ _chunk5KQXRLK3js.showError.call(void 0, t("common.errors.file"), {
7753
7753
  description: t("common.errors.file_large")
7754
7754
  });
7755
7755
  return;
@@ -7767,13 +7767,13 @@ var FileUploader = _react.forwardRef.call(void 0,
7767
7767
  if (rejectedFiles.length > 0) {
7768
7768
  for (let i = 0; i < rejectedFiles.length; i++) {
7769
7769
  if (_optionalChain([rejectedFiles, 'access', _174 => _174[i], 'access', _175 => _175.errors, 'access', _176 => _176[0], 'optionalAccess', _177 => _177.code]) === "file-too-large") {
7770
- _sonner.toast.error(t("common.errors.file"), {
7770
+ _chunk5KQXRLK3js.showError.call(void 0, t("common.errors.file"), {
7771
7771
  description: t(`common.errors.file_max`, { size: maxSize / 1024 / 1024 })
7772
7772
  });
7773
7773
  break;
7774
7774
  }
7775
7775
  if (_optionalChain([rejectedFiles, 'access', _178 => _178[i], 'access', _179 => _179.errors, 'access', _180 => _180[0], 'optionalAccess', _181 => _181.message])) {
7776
- _sonner.toast.error(t(`common.errors.file`), {
7776
+ _chunk5KQXRLK3js.showError.call(void 0, t(`common.errors.file`), {
7777
7777
  description: rejectedFiles[i].errors[0].message
7778
7778
  });
7779
7779
  break;
@@ -7817,7 +7817,7 @@ var FileUploader = _react.forwardRef.call(void 0,
7817
7817
  ref,
7818
7818
  tabIndex: 0,
7819
7819
  onKeyDownCapture: handleKeyDown,
7820
- className: _chunkUYBCHXXLjs.cn.call(void 0,
7820
+ className: _chunk5KQXRLK3js.cn.call(void 0,
7821
7821
  "grid w-full overflow-hidden focus:outline-none",
7822
7822
  className,
7823
7823
  // Original className from props
@@ -7841,12 +7841,12 @@ var FileUploaderContent = _react.forwardRef.call(void 0,
7841
7841
  ({ children, className, ...props }, ref) => {
7842
7842
  const { orientation } = useFileUpload();
7843
7843
  const containerRef = _react.useRef.call(void 0, null);
7844
- return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunkUYBCHXXLjs.cn.call(void 0, "w-full px-1"), ref: containerRef, "aria-description": "content file holder", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
7844
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: _chunk5KQXRLK3js.cn.call(void 0, "w-full px-1"), ref: containerRef, "aria-description": "content file holder", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
7845
7845
  "div",
7846
7846
  {
7847
7847
  ...props,
7848
7848
  ref,
7849
- className: _chunkUYBCHXXLjs.cn.call(void 0,
7849
+ className: _chunk5KQXRLK3js.cn.call(void 0,
7850
7850
  "flex gap-1 rounded-xl",
7851
7851
  orientation === "horizontal" ? "flex-raw flex-wrap" : "flex-col",
7852
7852
  className
@@ -7866,7 +7866,7 @@ var FileUploaderItem = _react.forwardRef.call(void 0,
7866
7866
  "div",
7867
7867
  {
7868
7868
  ref,
7869
- className: _chunkUYBCHXXLjs.cn.call(void 0,
7869
+ className: _chunk5KQXRLK3js.cn.call(void 0,
7870
7870
  buttonVariants({ variant: "ghost" }),
7871
7871
  "relative h-6 cursor-pointer justify-between p-1",
7872
7872
  className,
@@ -7879,7 +7879,7 @@ var FileUploaderItem = _react.forwardRef.call(void 0,
7879
7879
  "button",
7880
7880
  {
7881
7881
  type: "button",
7882
- className: _chunkUYBCHXXLjs.cn.call(void 0, "absolute", direction === "rtl" ? "top-1 left-1" : "top-1 right-1"),
7882
+ className: _chunk5KQXRLK3js.cn.call(void 0, "absolute", direction === "rtl" ? "top-1 left-1" : "top-1 right-1"),
7883
7883
  onClick: () => removeFileFromSet(index),
7884
7884
  children: [
7885
7885
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "sr-only", children: t(`common.remove_item`, { index }) }),
@@ -7903,12 +7903,12 @@ var FileInput = _react.forwardRef.call(void 0,
7903
7903
  {
7904
7904
  ref,
7905
7905
  ...props,
7906
- className: _chunkUYBCHXXLjs.cn.call(void 0, `relative w-full ${isLOF ? "cursor-not-allowed opacity-50" : "cursor-pointer"}`, className),
7906
+ className: _chunk5KQXRLK3js.cn.call(void 0, `relative w-full ${isLOF ? "cursor-not-allowed opacity-50" : "cursor-pointer"}`, className),
7907
7907
  children: [
7908
7908
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
7909
7909
  "div",
7910
7910
  {
7911
- className: _chunkUYBCHXXLjs.cn.call(void 0,
7911
+ className: _chunk5KQXRLK3js.cn.call(void 0,
7912
7912
  "w-full rounded-lg duration-300 ease-in-out",
7913
7913
  // Simpler border logic: if parent is drag-active, it controls the border.
7914
7914
  // Otherwise, FileInput can show its own accept/reject/default border.
@@ -8019,8 +8019,8 @@ function FormDate({
8019
8019
  onChange,
8020
8020
  isRequired = false
8021
8021
  }) {
8022
- const locale = _chunkEW6QPMN3js.useI18nLocale.call(void 0, );
8023
- const dateFnsLocale = _chunkEW6QPMN3js.useI18nDateFnsLocale.call(void 0, );
8022
+ const locale = _chunkOR5NPUWFjs.useI18nLocale.call(void 0, );
8023
+ const dateFnsLocale = _chunkOR5NPUWFjs.useI18nDateFnsLocale.call(void 0, );
8024
8024
  const [open, setOpen] = _react.useState.call(void 0, false);
8025
8025
  const [displayMonth, setDisplayMonth] = _react.useState.call(void 0, () => {
8026
8026
  const currentValue = form.getValues(id);
@@ -8189,9 +8189,9 @@ function FormDateTime({
8189
8189
  allowEmpty
8190
8190
  }) {
8191
8191
  const [open, setOpen] = _react.useState.call(void 0, false);
8192
- const t = _chunkEW6QPMN3js.useI18nTranslations.call(void 0, );
8193
- const locale = _chunkEW6QPMN3js.useI18nLocale.call(void 0, );
8194
- const dateFnsLocale = _chunkEW6QPMN3js.useI18nDateFnsLocale.call(void 0, );
8192
+ const t = _chunkOR5NPUWFjs.useI18nTranslations.call(void 0, );
8193
+ const locale = _chunkOR5NPUWFjs.useI18nLocale.call(void 0, );
8194
+ const dateFnsLocale = _chunkOR5NPUWFjs.useI18nDateFnsLocale.call(void 0, );
8195
8195
  const dateTimeFormatter = _react.useMemo.call(void 0,
8196
8196
  () => new Intl.DateTimeFormat(locale, {
8197
8197
  year: "numeric",
@@ -8242,7 +8242,7 @@ function FormDateTime({
8242
8242
  Button,
8243
8243
  {
8244
8244
  variant: "outline",
8245
- className: _chunkUYBCHXXLjs.cn.call(void 0, "w-full pl-3 text-left font-normal", !field.value && "text-muted-foreground")
8245
+ className: _chunk5KQXRLK3js.cn.call(void 0, "w-full pl-3 text-left font-normal", !field.value && "text-muted-foreground")
8246
8246
  }
8247
8247
  ),
8248
8248
  children: [
@@ -8430,7 +8430,7 @@ var PasswordInput = React12.forwardRef(({ className, type, ...props }, ref) => {
8430
8430
  const disabled = props.value === "" || props.value === void 0 || props.disabled;
8431
8431
  const t = _nextintl.useTranslations.call(void 0, );
8432
8432
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "relative", children: [
8433
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Input, { type: showPassword ? "text" : "password", className: _chunkUYBCHXXLjs.cn.call(void 0, "", className), ref, ...props }),
8433
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Input, { type: showPassword ? "text" : "password", className: _chunk5KQXRLK3js.cn.call(void 0, "", className), ref, ...props }),
8434
8434
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
8435
8435
  Button,
8436
8436
  {
@@ -8624,7 +8624,7 @@ function FormPlaceAutocomplete({
8624
8624
  placeholder,
8625
8625
  disabled,
8626
8626
  "data-testid": testId,
8627
- className: _chunkUYBCHXXLjs.cn.call(void 0, "w-full", className)
8627
+ className: _chunk5KQXRLK3js.cn.call(void 0, "w-full", className)
8628
8628
  }
8629
8629
  ) }) });
8630
8630
  }
@@ -8643,7 +8643,7 @@ function FormPlaceAutocomplete({
8643
8643
  placeholder,
8644
8644
  disabled: disabled || !apiKey,
8645
8645
  "data-testid": testId,
8646
- className: _chunkUYBCHXXLjs.cn.call(void 0, "w-full", className)
8646
+ className: _chunk5KQXRLK3js.cn.call(void 0, "w-full", className)
8647
8647
  }
8648
8648
  ),
8649
8649
  isLoading && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "absolute right-3 top-1/2 -translate-y-1/2", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "border-primary h-4 w-4 animate-spin rounded-full border-2 border-t-transparent" }) }),
@@ -8775,7 +8775,7 @@ function FormTextarea({
8775
8775
  Textarea,
8776
8776
  {
8777
8777
  ...field,
8778
- className: _chunkUYBCHXXLjs.cn.call(void 0, "min-h-96 w-full", className),
8778
+ className: _chunk5KQXRLK3js.cn.call(void 0, "min-h-96 w-full", className),
8779
8779
  disabled: form.formState.isSubmitting,
8780
8780
  placeholder,
8781
8781
  "data-testid": testId
@@ -8861,10 +8861,10 @@ function UserMultiSelect({
8861
8861
  const data = useDataListRetriever({
8862
8862
  ready: !!company,
8863
8863
  retriever: /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (params) => {
8864
- return _chunkUYBCHXXLjs.UserService.findAllUsers(params);
8864
+ return _chunk5KQXRLK3js.UserService.findAllUsers(params);
8865
8865
  }, "retriever"),
8866
8866
  retrieverParams: { companyId: _optionalChain([company, 'optionalAccess', _199 => _199.id]) },
8867
- module: _chunkUYBCHXXLjs.Modules.User
8867
+ module: _chunk5KQXRLK3js.Modules.User
8868
8868
  });
8869
8869
  _react.useEffect.call(void 0, () => {
8870
8870
  if (company) data.setReady(true);
@@ -8961,7 +8961,7 @@ function UserReactivatorInterface({ user, propagateChanges }) {
8961
8961
  const t = _nextintl.useTranslations.call(void 0, );
8962
8962
  const reactivateUser = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, async () => {
8963
8963
  try {
8964
- const updatedUser = await _chunkUYBCHXXLjs.UserService.reactivate({ userId: user.id });
8964
+ const updatedUser = await _chunk5KQXRLK3js.UserService.reactivate({ userId: user.id });
8965
8965
  setOpen(false);
8966
8966
  propagateChanges(updatedUser);
8967
8967
  } catch (error) {
@@ -8999,7 +8999,7 @@ function UserReactivatorInterface({ user, propagateChanges }) {
8999
8999
  _chunk7QVYU63Ejs.__name.call(void 0, UserReactivatorInterface, "UserReactivatorInterface");
9000
9000
  function UserReactivator(props) {
9001
9001
  const { hasPermissionToModule } = useCurrentUserContext();
9002
- if (!hasPermissionToModule({ module: _chunkUYBCHXXLjs.Modules.User, action: "update" /* Update */, data: props.user })) return null;
9002
+ if (!hasPermissionToModule({ module: _chunk5KQXRLK3js.Modules.User, action: "update" /* Update */, data: props.user })) return null;
9003
9003
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, UserReactivatorInterface, { ...props });
9004
9004
  }
9005
9005
  _chunk7QVYU63Ejs.__name.call(void 0, UserReactivator, "UserReactivator");
@@ -9009,15 +9009,14 @@ _chunk7QVYU63Ejs.__name.call(void 0, UserReactivator, "UserReactivator");
9009
9009
 
9010
9010
 
9011
9011
 
9012
-
9013
9012
  function UserResentInvitationEmailInternal({ user }) {
9014
9013
  const [open, setOpen] = _react.useState.call(void 0, false);
9015
9014
  const t = _nextintl.useTranslations.call(void 0, );
9016
9015
  const sendInvitationEmail = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, async () => {
9017
9016
  try {
9018
- await _chunkUYBCHXXLjs.UserService.sendInvitation({ userId: user.id, companyId: user.company.id });
9017
+ await _chunk5KQXRLK3js.UserService.sendInvitation({ userId: user.id, companyId: user.company.id });
9019
9018
  setOpen(false);
9020
- _sonner.toast.message(t(`user.resend_activation.email_sent`), {
9019
+ _chunk5KQXRLK3js.showToast.call(void 0, t(`user.resend_activation.email_sent`), {
9021
9020
  description: t(`user.resend_activation.email_sent_description`, { email: user.email })
9022
9021
  });
9023
9022
  } catch (error) {
@@ -9055,7 +9054,7 @@ function UserResentInvitationEmailInternal({ user }) {
9055
9054
  _chunk7QVYU63Ejs.__name.call(void 0, UserResentInvitationEmailInternal, "UserResentInvitationEmailInternal");
9056
9055
  function UserResentInvitationEmail(props) {
9057
9056
  const { hasPermissionToModule } = useCurrentUserContext();
9058
- if (!hasPermissionToModule({ module: _chunkUYBCHXXLjs.Modules.User, action: "update" /* Update */, data: props.user })) return null;
9057
+ if (!hasPermissionToModule({ module: _chunk5KQXRLK3js.Modules.User, action: "update" /* Update */, data: props.user })) return null;
9059
9058
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, UserResentInvitationEmailInternal, { ...props });
9060
9059
  }
9061
9060
  _chunk7QVYU63Ejs.__name.call(void 0, UserResentInvitationEmail, "UserResentInvitationEmail");
@@ -9086,22 +9085,22 @@ function UserAvatar({ user, className, showFull, showLink, showTooltip = true })
9086
9085
  }, "getAvatar");
9087
9086
  const content = showLink === false ? (
9088
9087
  // If showLink is explicitly false, never show a link
9089
- showFull ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunkUYBCHXXLjs.cn.call(void 0, `mb-2 flex w-full flex-row items-center justify-start gap-x-2 text-sm`, className), children: [
9088
+ showFull ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk5KQXRLK3js.cn.call(void 0, `mb-2 flex w-full flex-row items-center justify-start gap-x-2 text-sm`, className), children: [
9090
9089
  getAvatar(),
9091
9090
  user.name
9092
9091
  ] }) : getAvatar()
9093
9092
  ) : showFull ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
9094
9093
  Link,
9095
9094
  {
9096
- href: generateUrl({ page: _chunkUYBCHXXLjs.Modules.User, id: user.id }),
9097
- className: _chunkUYBCHXXLjs.cn.call(void 0, `mb-2 flex w-full flex-row items-center justify-start gap-x-2 text-sm`, className),
9095
+ href: generateUrl({ page: _chunk5KQXRLK3js.Modules.User, id: user.id }),
9096
+ className: _chunk5KQXRLK3js.cn.call(void 0, `mb-2 flex w-full flex-row items-center justify-start gap-x-2 text-sm`, className),
9098
9097
  onClick: (e) => e.stopPropagation(),
9099
9098
  children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full flex-row items-center gap-x-2", children: [
9100
9099
  getAvatar(),
9101
9100
  user.name
9102
9101
  ] })
9103
9102
  }
9104
- ) : showLink ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Link, { href: generateUrl({ page: _chunkUYBCHXXLjs.Modules.User, id: user.id }), className, children: getAvatar() }) : getAvatar();
9103
+ ) : showLink ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Link, { href: generateUrl({ page: _chunk5KQXRLK3js.Modules.User, id: user.id }), className, children: getAvatar() }) : getAvatar();
9105
9104
  if (!showTooltip) {
9106
9105
  return content;
9107
9106
  }
@@ -9122,10 +9121,10 @@ function UserSelector({ id, form, label, placeholder, onChange, isRequired = fal
9122
9121
  const [isSearching, setIsSearching] = _react.useState.call(void 0, false);
9123
9122
  const data = useDataListRetriever({
9124
9123
  retriever: /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (params) => {
9125
- return _chunkUYBCHXXLjs.UserService.findMany(params);
9124
+ return _chunk5KQXRLK3js.UserService.findMany(params);
9126
9125
  }, "retriever"),
9127
9126
  retrieverParams: {},
9128
- module: _chunkUYBCHXXLjs.Modules.User
9127
+ module: _chunk5KQXRLK3js.Modules.User
9129
9128
  });
9130
9129
  const search = _react.useCallback.call(void 0,
9131
9130
  async (searchedTerm) => {
@@ -9224,24 +9223,24 @@ var UserProvider = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, ({ child
9224
9223
  const { hasPermissionToModule } = useCurrentUserContext();
9225
9224
  const t = _nextintl.useTranslations.call(void 0, );
9226
9225
  const [user, setUser] = _react.useState.call(void 0,
9227
- dehydratedUser ? _chunkUYBCHXXLjs.rehydrate.call(void 0, _chunkUYBCHXXLjs.Modules.User, dehydratedUser) : void 0
9226
+ dehydratedUser ? _chunk5KQXRLK3js.rehydrate.call(void 0, _chunk5KQXRLK3js.Modules.User, dehydratedUser) : void 0
9228
9227
  );
9229
9228
  const breadcrumb = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, () => {
9230
9229
  const response = [];
9231
- if (hasPermissionToModule({ module: _chunkUYBCHXXLjs.Modules.User, action: "update" /* Update */ })) {
9230
+ if (hasPermissionToModule({ module: _chunk5KQXRLK3js.Modules.User, action: "update" /* Update */ })) {
9232
9231
  response.push({
9233
9232
  name: t(`common.settings`),
9234
9233
  href: generateUrl({ page: `/settings` })
9235
9234
  });
9236
9235
  response.push({
9237
9236
  name: t(`entities.users`, { count: 2 }),
9238
- href: generateUrl({ page: `/settings`, id: _chunkUYBCHXXLjs.Modules.User.pageUrl })
9237
+ href: generateUrl({ page: `/settings`, id: _chunk5KQXRLK3js.Modules.User.pageUrl })
9239
9238
  });
9240
9239
  }
9241
9240
  if (user)
9242
9241
  response.push({
9243
9242
  name: `${user.name}${user.isDeleted ? ` (${t(`user.deleted`)})` : ""}`,
9244
- href: generateUrl({ page: _chunkUYBCHXXLjs.Modules.User, id: user.id })
9243
+ href: generateUrl({ page: _chunk5KQXRLK3js.Modules.User, id: user.id })
9245
9244
  });
9246
9245
  return response;
9247
9246
  }, "breadcrumb");
@@ -9296,7 +9295,7 @@ function UserDetails({ user }) {
9296
9295
  const { title } = useSharedContext();
9297
9296
  let roles = /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _jsxruntime.Fragment, {});
9298
9297
  if (user.roles && user.roles.length > 0) {
9299
- roles = /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "mb-4 w-full", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex flex-wrap gap-2", children: user.roles.map((role, index) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Link, { href: generateUrl({ page: _chunkUYBCHXXLjs.Modules.Role, id: role.id }), children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Badge, { className: "mr-2", variant: `default`, children: t(`role.roles`, { role: role.id.replaceAll(`-`, ``) }) }) }, role.id)) }) });
9298
+ roles = /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "mb-4 w-full", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex flex-wrap gap-2", children: user.roles.map((role, index) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Link, { href: generateUrl({ page: _chunk5KQXRLK3js.Modules.Role, id: role.id }), children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Badge, { className: "mr-2", variant: `default`, children: t(`role.roles`, { role: role.id.replaceAll(`-`, ``) }) }) }, role.id)) }) });
9300
9299
  }
9301
9300
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full flex-col gap-y-2", children: [
9302
9301
  user.avatar && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "relative aspect-auto w-full max-w-md overflow-hidden rounded-lg", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
@@ -9309,7 +9308,7 @@ function UserDetails({ user }) {
9309
9308
  className: "h-auto w-full rounded-lg object-contain"
9310
9309
  }
9311
9310
  ) }),
9312
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, ContentTitle, { module: _chunkUYBCHXXLjs.Modules.User, type: title.type, element: title.element, functions: title.functions }),
9311
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, ContentTitle, { module: _chunk5KQXRLK3js.Modules.User, type: title.type, element: title.element, functions: title.functions }),
9313
9312
  user.isDeleted ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Badge, { variant: "destructive", children: t(`user.errors.deleted`) }) }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _jsxruntime.Fragment, { children: !user.isActivated && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Badge, { variant: "destructive", children: t(`user.errors.inactive`) }) }) }),
9314
9313
  roles,
9315
9314
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, AttributeElement, { inline: true, title: t(`user.fields.title.label`), value: user.title }),
@@ -9363,18 +9362,18 @@ _chunk7QVYU63Ejs.__name.call(void 0, UserIndexContainer, "UserIndexContainer");
9363
9362
  function UsersListContainerInternal() {
9364
9363
  const { hasPermissionToModule } = useCurrentUserContext();
9365
9364
  const t = _nextintl.useTranslations.call(void 0, );
9366
- if (!hasPermissionToModule({ module: _chunkUYBCHXXLjs.Modules.User, action: "delete" /* Delete */ })) return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, CompanyUsersList, {});
9365
+ if (!hasPermissionToModule({ module: _chunk5KQXRLK3js.Modules.User, action: "delete" /* Delete */ })) return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, CompanyUsersList, {});
9367
9366
  const tabs = [
9368
9367
  {
9369
9368
  label: t(`entities.users`, { count: 2 }),
9370
9369
  content: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, CompanyUsersList, {}),
9371
- modules: [_chunkUYBCHXXLjs.Modules.Company],
9370
+ modules: [_chunk5KQXRLK3js.Modules.Company],
9372
9371
  action: "read" /* Read */
9373
9372
  },
9374
9373
  {
9375
9374
  label: t(`user.deleted`),
9376
9375
  content: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, CompanyUsersList, { isDeleted: true }),
9377
- modules: [_chunkUYBCHXXLjs.Modules.Company],
9376
+ modules: [_chunk5KQXRLK3js.Modules.Company],
9378
9377
  action: "update" /* Update */
9379
9378
  }
9380
9379
  ];
@@ -9392,9 +9391,9 @@ _chunk7QVYU63Ejs.__name.call(void 0, UsersListContainer, "UsersListContainer");
9392
9391
  function AdminUsersListInternal({ company }) {
9393
9392
  const t = _nextintl.useTranslations.call(void 0, );
9394
9393
  const data = useDataListRetriever({
9395
- retriever: /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (params) => _chunkUYBCHXXLjs.UserService.findManyForAmin(params), "retriever"),
9394
+ retriever: /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (params) => _chunk5KQXRLK3js.UserService.findManyForAmin(params), "retriever"),
9396
9395
  retrieverParams: { companyId: company.id },
9397
- module: _chunkUYBCHXXLjs.Modules.User
9396
+ module: _chunk5KQXRLK3js.Modules.User
9398
9397
  });
9399
9398
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
9400
9399
  ContentListTable,
@@ -9402,7 +9401,7 @@ function AdminUsersListInternal({ company }) {
9402
9401
  title: t(`entities.users`, { count: 2 }),
9403
9402
  data,
9404
9403
  fields: ["name" /* name */, "email" /* email */, "createdAt" /* createdAt */],
9405
- tableGeneratorType: _chunkUYBCHXXLjs.Modules.User,
9404
+ tableGeneratorType: _chunk5KQXRLK3js.Modules.User,
9406
9405
  functions: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, UserEditor, { propagateChanges: data.refresh, adminCreated: true })
9407
9406
  }
9408
9407
  );
@@ -9424,9 +9423,9 @@ function CompanyUsersList({ isDeleted }) {
9424
9423
  const t = _nextintl.useTranslations.call(void 0, );
9425
9424
  const data = useDataListRetriever({
9426
9425
  ready: !!company,
9427
- retriever: /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (params) => _chunkUYBCHXXLjs.UserService.findAllUsers(params), "retriever"),
9426
+ retriever: /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (params) => _chunk5KQXRLK3js.UserService.findAllUsers(params), "retriever"),
9428
9427
  retrieverParams: { companyId: _optionalChain([company, 'optionalAccess', _218 => _218.id]), isDeleted },
9429
- module: _chunkUYBCHXXLjs.Modules.User
9428
+ module: _chunk5KQXRLK3js.Modules.User
9430
9429
  });
9431
9430
  _react.useEffect.call(void 0, () => {
9432
9431
  if (company) data.setReady(true);
@@ -9439,7 +9438,7 @@ function CompanyUsersList({ isDeleted }) {
9439
9438
  {
9440
9439
  data,
9441
9440
  fields: ["name" /* name */, "email" /* email */],
9442
- tableGeneratorType: _chunkUYBCHXXLjs.Modules.User,
9441
+ tableGeneratorType: _chunk5KQXRLK3js.Modules.User,
9443
9442
  functions,
9444
9443
  title: t(`entities.users`, { count: 2 })
9445
9444
  }
@@ -9455,7 +9454,7 @@ function ContributorsList({ content }) {
9455
9454
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
9456
9455
  Link,
9457
9456
  {
9458
- href: generateUrl({ page: _chunkUYBCHXXLjs.Modules.User, id: content.author.id }),
9457
+ href: generateUrl({ page: _chunk5KQXRLK3js.Modules.User, id: content.author.id }),
9459
9458
  onClick: (e) => e.stopPropagation(),
9460
9459
  children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, UserAvatar, { user: content.author, className: "mr-1 h-6 w-6" })
9461
9460
  },
@@ -9464,7 +9463,7 @@ function ContributorsList({ content }) {
9464
9463
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex flex-row-reverse justify-end -space-x-1 space-x-reverse", children: content.editors.filter((editor) => editor.id !== content.author.id).map((editor) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
9465
9464
  Link,
9466
9465
  {
9467
- href: generateUrl({ page: _chunkUYBCHXXLjs.Modules.User, id: editor.id }),
9466
+ href: generateUrl({ page: _chunk5KQXRLK3js.Modules.User, id: editor.id }),
9468
9467
  onClick: (e) => e.stopPropagation(),
9469
9468
  children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, UserAvatar, { user: editor, className: "h-5 w-5" })
9470
9469
  },
@@ -9480,8 +9479,8 @@ _chunk7QVYU63Ejs.__name.call(void 0, ContributorsList, "ContributorsList");
9480
9479
  function RelevantUsersList({ id }) {
9481
9480
  const t = _nextintl.useTranslations.call(void 0, );
9482
9481
  const data = useDataListRetriever({
9483
- module: _chunkUYBCHXXLjs.Modules.User,
9484
- retriever: /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (params) => _chunkUYBCHXXLjs.UserService.findRelevant(params), "retriever"),
9482
+ module: _chunk5KQXRLK3js.Modules.User,
9483
+ retriever: /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (params) => _chunk5KQXRLK3js.UserService.findRelevant(params), "retriever"),
9485
9484
  retrieverParams: { id }
9486
9485
  });
9487
9486
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
@@ -9489,7 +9488,7 @@ function RelevantUsersList({ id }) {
9489
9488
  {
9490
9489
  data,
9491
9490
  fields: ["name" /* name */, "email" /* email */, "relevance" /* relevance */],
9492
- tableGeneratorType: _chunkUYBCHXXLjs.Modules.User,
9491
+ tableGeneratorType: _chunk5KQXRLK3js.Modules.User,
9493
9492
  title: t(`common.relevant_users`)
9494
9493
  }
9495
9494
  );
@@ -9502,16 +9501,16 @@ _chunk7QVYU63Ejs.__name.call(void 0, RelevantUsersList, "RelevantUsersList");
9502
9501
  function RoleUsersList({ role }) {
9503
9502
  const t = _nextintl.useTranslations.call(void 0, );
9504
9503
  const data = useDataListRetriever({
9505
- retriever: /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (params) => _chunkUYBCHXXLjs.UserService.findAllUsersByRole(params), "retriever"),
9504
+ retriever: /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (params) => _chunk5KQXRLK3js.UserService.findAllUsersByRole(params), "retriever"),
9506
9505
  retrieverParams: { roleId: role.id },
9507
- module: _chunkUYBCHXXLjs.Modules.User
9506
+ module: _chunk5KQXRLK3js.Modules.User
9508
9507
  });
9509
9508
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
9510
9509
  ContentListTable,
9511
9510
  {
9512
9511
  data,
9513
9512
  fields: ["name" /* name */, "email" /* email */],
9514
- tableGeneratorType: _chunkUYBCHXXLjs.Modules.User,
9513
+ tableGeneratorType: _chunk5KQXRLK3js.Modules.User,
9515
9514
  title: t(`entities.users`, { count: 2 })
9516
9515
  }
9517
9516
  );
@@ -9561,7 +9560,7 @@ function UsersList({ data, optionComponents, removeFunction, hideOptions, showRe
9561
9560
  {
9562
9561
  data,
9563
9562
  fields: ["name" /* name */, "email" /* email */],
9564
- tableGeneratorType: _chunkUYBCHXXLjs.Modules.User,
9563
+ tableGeneratorType: _chunk5KQXRLK3js.Modules.User,
9565
9564
  title: t(`entities.users`, { count: 2 })
9566
9565
  }
9567
9566
  );
@@ -9574,8 +9573,8 @@ _chunk7QVYU63Ejs.__name.call(void 0, UsersList, "UsersList");
9574
9573
  function UsersListByContentIds({ contentIds }) {
9575
9574
  const t = _nextintl.useTranslations.call(void 0, );
9576
9575
  const data = useDataListRetriever({
9577
- module: _chunkUYBCHXXLjs.Modules.User,
9578
- retriever: /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (params) => _chunkUYBCHXXLjs.UserService.findManyByContentIds(params), "retriever"),
9576
+ module: _chunk5KQXRLK3js.Modules.User,
9577
+ retriever: /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (params) => _chunk5KQXRLK3js.UserService.findManyByContentIds(params), "retriever"),
9579
9578
  retrieverParams: { contentIds }
9580
9579
  });
9581
9580
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
@@ -9583,7 +9582,7 @@ function UsersListByContentIds({ contentIds }) {
9583
9582
  {
9584
9583
  data,
9585
9584
  fields: ["name" /* name */, "email" /* email */],
9586
- tableGeneratorType: _chunkUYBCHXXLjs.Modules.User,
9585
+ tableGeneratorType: _chunk5KQXRLK3js.Modules.User,
9587
9586
  title: t(`common.relevant_users`)
9588
9587
  }
9589
9588
  );
@@ -9601,7 +9600,7 @@ function CompanyDetails() {
9601
9600
  const { company } = useCompanyContext();
9602
9601
  if (!company) return null;
9603
9602
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full flex-col gap-y-2", children: [
9604
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, ContentTitle, { module: _chunkUYBCHXXLjs.Modules.Company, type: title.type, element: title.element, functions: title.functions }),
9603
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, ContentTitle, { module: _chunk5KQXRLK3js.Modules.Company, type: title.type, element: title.element, functions: title.functions }),
9605
9604
  company.logo && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _image2.default, { src: company.logo, alt: company.name, width: 150, height: 150, className: "mb-4 rounded-md" })
9606
9605
  ] });
9607
9606
  }
@@ -9612,7 +9611,7 @@ _chunk7QVYU63Ejs.__name.call(void 0, CompanyDetails, "CompanyDetails");
9612
9611
  function AdminCompanyContainerInternal() {
9613
9612
  const { company } = useCompanyContext();
9614
9613
  const { hasRole } = useCurrentUserContext();
9615
- if (!company || !hasRole(_chunkEW6QPMN3js.getRoleId.call(void 0, ).Administrator)) return null;
9614
+ if (!company || !hasRole(_chunkOR5NPUWFjs.getRoleId.call(void 0, ).Administrator)) return null;
9616
9615
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
9617
9616
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, CompanyDetails, {}),
9618
9617
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, AdminUsersList, {})
@@ -9666,13 +9665,13 @@ function TokenStatusIndicator({ className, size = "md", showExtraPages = true })
9666
9665
  const textSize = textSizeClasses[size];
9667
9666
  const getBatteryIcon = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, () => {
9668
9667
  if (percentage > 75) {
9669
- return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.BatteryFull, { className: _chunkUYBCHXXLjs.cn.call(void 0, iconSize, "text-green-500") });
9668
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.BatteryFull, { className: _chunk5KQXRLK3js.cn.call(void 0, iconSize, "text-green-500") });
9670
9669
  } else if (percentage >= 25) {
9671
- return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.BatteryMedium, { className: _chunkUYBCHXXLjs.cn.call(void 0, iconSize, "text-yellow-500") });
9670
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.BatteryMedium, { className: _chunk5KQXRLK3js.cn.call(void 0, iconSize, "text-yellow-500") });
9672
9671
  } else if (percentage >= 5) {
9673
- return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.BatteryLow, { className: _chunkUYBCHXXLjs.cn.call(void 0, iconSize, "text-orange-500") });
9672
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.BatteryLow, { className: _chunk5KQXRLK3js.cn.call(void 0, iconSize, "text-orange-500") });
9674
9673
  } else {
9675
- return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.Battery, { className: _chunkUYBCHXXLjs.cn.call(void 0, iconSize, "text-destructive") });
9674
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.Battery, { className: _chunk5KQXRLK3js.cn.call(void 0, iconSize, "text-destructive") });
9676
9675
  }
9677
9676
  }, "getBatteryIcon");
9678
9677
  const getStatusColor = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, () => {
@@ -9694,7 +9693,7 @@ function TokenStatusIndicator({ className, size = "md", showExtraPages = true })
9694
9693
  t("billing.tokens.monthly", { defaultValue: "Monthly Pages" }),
9695
9694
  ":"
9696
9695
  ] }),
9697
- /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: _chunkUYBCHXXLjs.cn.call(void 0, "font-medium", getStatusColor()), children: [
9696
+ /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: _chunk5KQXRLK3js.cn.call(void 0, "font-medium", getStatusColor()), children: [
9698
9697
  availableMonthlyTokens,
9699
9698
  " / ",
9700
9699
  monthlyTokens
@@ -9705,7 +9704,7 @@ function TokenStatusIndicator({ className, size = "md", showExtraPages = true })
9705
9704
  t("billing.tokens.available", { defaultValue: "Available" }),
9706
9705
  ":"
9707
9706
  ] }),
9708
- /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: _chunkUYBCHXXLjs.cn.call(void 0, "font-medium", getStatusColor()), children: [
9707
+ /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "span", { className: _chunk5KQXRLK3js.cn.call(void 0, "font-medium", getStatusColor()), children: [
9709
9708
  percentage.toFixed(0),
9710
9709
  "%"
9711
9710
  ] })
@@ -9726,14 +9725,14 @@ function TokenStatusIndicator({ className, size = "md", showExtraPages = true })
9726
9725
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TooltipTrigger, { children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
9727
9726
  "div",
9728
9727
  {
9729
- className: _chunkUYBCHXXLjs.cn.call(void 0, "inline-flex items-center gap-1.5 cursor-default", className),
9728
+ className: _chunk5KQXRLK3js.cn.call(void 0, "inline-flex items-center gap-1.5 cursor-default", className),
9730
9729
  "aria-label": t("billing.tokens.status", { defaultValue: "Page Status" }),
9731
9730
  children: [
9732
9731
  getBatteryIcon(),
9733
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkUYBCHXXLjs.cn.call(void 0, textSize, "text-muted-foreground font-medium"), children: availableMonthlyTokens }),
9732
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk5KQXRLK3js.cn.call(void 0, textSize, "text-muted-foreground font-medium"), children: availableMonthlyTokens }),
9734
9733
  showExtraPages && availableExtraTokens > 0 && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "inline-flex items-center gap-0.5", children: [
9735
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.PlusCircle, { className: _chunkUYBCHXXLjs.cn.call(void 0, smallIconSize, "text-blue-500") }),
9736
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunkUYBCHXXLjs.cn.call(void 0, textSize, "text-blue-500 font-medium"), children: availableExtraTokens })
9734
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.PlusCircle, { className: _chunk5KQXRLK3js.cn.call(void 0, smallIconSize, "text-blue-500") }),
9735
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _chunk5KQXRLK3js.cn.call(void 0, textSize, "text-blue-500 font-medium"), children: availableExtraTokens })
9737
9736
  ] })
9738
9737
  ]
9739
9738
  }
@@ -9751,7 +9750,6 @@ _chunk7QVYU63Ejs.__name.call(void 0, TokenStatusIndicator, "TokenStatusIndicator
9751
9750
 
9752
9751
 
9753
9752
 
9754
-
9755
9753
  // src/features/company/components/forms/CompanyConfigurationSecurityForm.tsx
9756
9754
 
9757
9755
 
@@ -9851,12 +9849,12 @@ function CompanyConfigurationEditorInternal({ company }) {
9851
9849
  }
9852
9850
  };
9853
9851
  try {
9854
- await _chunkUYBCHXXLjs.CompanyService.updateConfigurations(payload);
9855
- const fullUser = await _chunkUYBCHXXLjs.UserService.findFullUser();
9852
+ await _chunk5KQXRLK3js.CompanyService.updateConfigurations(payload);
9853
+ const fullUser = await _chunk5KQXRLK3js.UserService.findFullUser();
9856
9854
  if (fullUser) {
9857
9855
  setUser(fullUser);
9858
9856
  }
9859
- _sonner.toast.message("Configurations Updated", {
9857
+ _chunk5KQXRLK3js.showToast.call(void 0, "Configurations Updated", {
9860
9858
  description: `The system configurations have been updated successfully.`
9861
9859
  });
9862
9860
  close();
@@ -9888,7 +9886,7 @@ function CompanyConfigurationEditorInternal({ company }) {
9888
9886
  _chunk7QVYU63Ejs.__name.call(void 0, CompanyConfigurationEditorInternal, "CompanyConfigurationEditorInternal");
9889
9887
  function CompanyConfigurationEditor(props) {
9890
9888
  const { hasRole } = useCurrentUserContext();
9891
- if (hasRole(_chunkEW6QPMN3js.getRoleId.call(void 0, ).Administrator)) return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, CompanyConfigurationEditorInternal, { ...props });
9889
+ if (hasRole(_chunkOR5NPUWFjs.getRoleId.call(void 0, ).Administrator)) return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, CompanyConfigurationEditorInternal, { ...props });
9892
9890
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, CompanyConfigurationEditorInternal, { ...props });
9893
9891
  }
9894
9892
  _chunk7QVYU63Ejs.__name.call(void 0, CompanyConfigurationEditor, "CompanyConfigurationEditor");
@@ -9900,14 +9898,14 @@ _chunk7QVYU63Ejs.__name.call(void 0, CompanyConfigurationEditor, "CompanyConfigu
9900
9898
 
9901
9899
  function CompanyDeleterInternal({ company }) {
9902
9900
  const t = _nextintl.useTranslations.call(void 0, );
9903
- const router = _chunkEW6QPMN3js.useI18nRouter.call(void 0, );
9901
+ const router = _chunkOR5NPUWFjs.useI18nRouter.call(void 0, );
9904
9902
  const [open, setOpen] = _react.useState.call(void 0, false);
9905
9903
  const [isDeleting, setIsDeleting] = _react.useState.call(void 0, false);
9906
9904
  const [companyName, setCompanyName] = _react.useState.call(void 0, "");
9907
9905
  const handleDelete = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, async () => {
9908
9906
  setIsDeleting(true);
9909
9907
  try {
9910
- await _chunkUYBCHXXLjs.CompanyService.delete({ companyId: company.id });
9908
+ await _chunk5KQXRLK3js.CompanyService.delete({ companyId: company.id });
9911
9909
  router.push("/");
9912
9910
  } catch (error) {
9913
9911
  errorToast({ title: t(`common.errors.delete`), error });
@@ -9977,7 +9975,7 @@ function CompanyDeleterInternal({ company }) {
9977
9975
  _chunk7QVYU63Ejs.__name.call(void 0, CompanyDeleterInternal, "CompanyDeleterInternal");
9978
9976
  function CompanyDeleter({ company }) {
9979
9977
  const { hasPermissionToModule, hasRole } = useCurrentUserContext();
9980
- if (!hasRole(_chunkEW6QPMN3js.getRoleId.call(void 0, ).Administrator) && !hasPermissionToModule({ module: _chunkUYBCHXXLjs.Modules.Company, action: "delete" /* Delete */ }))
9978
+ if (!hasRole(_chunkOR5NPUWFjs.getRoleId.call(void 0, ).Administrator) && !hasPermissionToModule({ module: _chunk5KQXRLK3js.Modules.Company, action: "delete" /* Delete */ }))
9981
9979
  return null;
9982
9980
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, CompanyDeleterInternal, { company });
9983
9981
  }
@@ -9996,7 +9994,7 @@ _chunk7QVYU63Ejs.__name.call(void 0, CompanyDeleter, "CompanyDeleter");
9996
9994
 
9997
9995
  function CompanyEditorInternal({ company, propagateChanges, onRevalidate }) {
9998
9996
  const { hasRole } = useCurrentUserContext();
9999
- const router = _chunkEW6QPMN3js.useI18nRouter.call(void 0, );
9997
+ const router = _chunkOR5NPUWFjs.useI18nRouter.call(void 0, );
10000
9998
  const [open, setOpen] = _react.useState.call(void 0, false);
10001
9999
  const [features, setFeatures] = _react.useState.call(void 0, []);
10002
10000
  const [file, setFile] = _react.useState.call(void 0, null);
@@ -10025,7 +10023,7 @@ function CompanyEditorInternal({ company, propagateChanges, onRevalidate }) {
10025
10023
  });
10026
10024
  const onSubmit = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, async (values) => {
10027
10025
  if (values.logo && contentType) {
10028
- const s3 = await _chunkUYBCHXXLjs.S3Service.getPreSignedUrl({
10026
+ const s3 = await _chunk5KQXRLK3js.S3Service.getPreSignedUrl({
10029
10027
  key: values.logo,
10030
10028
  contentType,
10031
10029
  isPublic: true
@@ -10044,9 +10042,9 @@ function CompanyEditorInternal({ company, propagateChanges, onRevalidate }) {
10044
10042
  moduleIds: values.moduleIds
10045
10043
  };
10046
10044
  try {
10047
- const updatedCompany = company ? await _chunkUYBCHXXLjs.CompanyService.update(payload) : await _chunkUYBCHXXLjs.CompanyService.create(payload);
10045
+ const updatedCompany = company ? await _chunk5KQXRLK3js.CompanyService.update(payload) : await _chunk5KQXRLK3js.CompanyService.create(payload);
10048
10046
  if (onRevalidate) {
10049
- await onRevalidate(generateUrl({ page: _chunkUYBCHXXLjs.Modules.Company, id: updatedCompany.id, language: `[locale]` }));
10047
+ await onRevalidate(generateUrl({ page: _chunk5KQXRLK3js.Modules.Company, id: updatedCompany.id, language: `[locale]` }));
10050
10048
  }
10051
10049
  if (company && propagateChanges) {
10052
10050
  _cookiesnext.setCookie.call(void 0, "reloadData", "true", { path: "/" });
@@ -10064,15 +10062,15 @@ function CompanyEditorInternal({ company, propagateChanges, onRevalidate }) {
10064
10062
  }, "onSubmit");
10065
10063
  _react.useEffect.call(void 0, () => {
10066
10064
  async function fetchFeatures() {
10067
- const allfeatures = await _chunkUYBCHXXLjs.FeatureService.findMany({});
10068
- if (hasRole(_chunkEW6QPMN3js.getRoleId.call(void 0, ).Administrator)) {
10065
+ const allfeatures = await _chunk5KQXRLK3js.FeatureService.findMany({});
10066
+ if (hasRole(_chunkOR5NPUWFjs.getRoleId.call(void 0, ).Administrator)) {
10069
10067
  setFeatures(allfeatures);
10070
10068
  } else {
10071
10069
  setFeatures(allfeatures.filter((feature) => feature.isCore));
10072
10070
  }
10073
10071
  }
10074
10072
  _chunk7QVYU63Ejs.__name.call(void 0, fetchFeatures, "fetchFeatures");
10075
- if (open && features.length === 0 && (hasRole(_chunkEW6QPMN3js.getRoleId.call(void 0, ).Administrator) || hasRole(_chunkEW6QPMN3js.getRoleId.call(void 0, ).CompanyAdministrator) && _optionalChain([process, 'access', _239 => _239.env, 'access', _240 => _240.NEXT_PUBLIC_PRIVATE_INSTALLATION, 'optionalAccess', _241 => _241.toLowerCase, 'call', _242 => _242()]) === "true"))
10073
+ if (open && features.length === 0 && (hasRole(_chunkOR5NPUWFjs.getRoleId.call(void 0, ).Administrator) || hasRole(_chunkOR5NPUWFjs.getRoleId.call(void 0, ).CompanyAdministrator) && _optionalChain([process, 'access', _239 => _239.env, 'access', _240 => _240.NEXT_PUBLIC_PRIVATE_INSTALLATION, 'optionalAccess', _241 => _241.toLowerCase, 'call', _242 => _242()]) === "true"))
10076
10074
  fetchFeatures();
10077
10075
  }, [open, features]);
10078
10076
  _react.useEffect.call(void 0, () => {
@@ -10106,8 +10104,8 @@ function CompanyEditorInternal({ company, propagateChanges, onRevalidate }) {
10106
10104
  "application/images": [".jpg", ".jpeg", ".png", ".gif", ".webp", ".svg"]
10107
10105
  }
10108
10106
  };
10109
- const canAccessFeatures = hasRole(_chunkEW6QPMN3js.getRoleId.call(void 0, ).Administrator) || hasRole(_chunkEW6QPMN3js.getRoleId.call(void 0, ).CompanyAdministrator) && _optionalChain([process, 'access', _243 => _243.env, 'access', _244 => _244.NEXT_PUBLIC_PRIVATE_INSTALLATION, 'optionalAccess', _245 => _245.toLowerCase, 'call', _246 => _246()]) === "true";
10110
- const isAdministrator = hasRole(_chunkEW6QPMN3js.getRoleId.call(void 0, ).Administrator);
10107
+ const canAccessFeatures = hasRole(_chunkOR5NPUWFjs.getRoleId.call(void 0, ).Administrator) || hasRole(_chunkOR5NPUWFjs.getRoleId.call(void 0, ).CompanyAdministrator) && _optionalChain([process, 'access', _243 => _243.env, 'access', _244 => _244.NEXT_PUBLIC_PRIVATE_INSTALLATION, 'optionalAccess', _245 => _245.toLowerCase, 'call', _246 => _246()]) === "true";
10108
+ const isAdministrator = hasRole(_chunkOR5NPUWFjs.getRoleId.call(void 0, ).Administrator);
10111
10109
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, Dialog, { open, onOpenChange: setOpen, children: [
10112
10110
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, CommonEditorTrigger, { isEdit: !!company }),
10113
10111
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
@@ -10160,9 +10158,9 @@ _chunk7QVYU63Ejs.__name.call(void 0, CompanyEditor, "CompanyEditor");
10160
10158
  function CompaniesList() {
10161
10159
  const t = _nextintl.useTranslations.call(void 0, );
10162
10160
  const data = useDataListRetriever({
10163
- retriever: /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (params) => _chunkUYBCHXXLjs.CompanyService.findMany(params), "retriever"),
10161
+ retriever: /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (params) => _chunk5KQXRLK3js.CompanyService.findMany(params), "retriever"),
10164
10162
  retrieverParams: {},
10165
- module: _chunkUYBCHXXLjs.Modules.Company
10163
+ module: _chunk5KQXRLK3js.Modules.Company
10166
10164
  });
10167
10165
  const functions = [/* @__PURE__ */ _jsxruntime.jsx.call(void 0, CompanyEditor, {}, "create-account")];
10168
10166
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
@@ -10170,7 +10168,7 @@ function CompaniesList() {
10170
10168
  {
10171
10169
  data,
10172
10170
  fields: ["name" /* name */, "createdAt" /* createdAt */],
10173
- tableGeneratorType: _chunkUYBCHXXLjs.Modules.Company,
10171
+ tableGeneratorType: _chunk5KQXRLK3js.Modules.Company,
10174
10172
  functions,
10175
10173
  title: t(`entities.companies`, { count: 2 })
10176
10174
  }
@@ -10191,14 +10189,14 @@ var CompanyProvider = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, ({ ch
10191
10189
  const t = _nextintl.useTranslations.call(void 0, );
10192
10190
  const { hasPermissionToModule, hasRole } = useCurrentUserContext();
10193
10191
  const [company, setCompany] = _react.useState.call(void 0,
10194
- dehydratedCompany ? _chunkUYBCHXXLjs.rehydrate.call(void 0, _chunkUYBCHXXLjs.Modules.Company, dehydratedCompany) : void 0
10192
+ dehydratedCompany ? _chunk5KQXRLK3js.rehydrate.call(void 0, _chunk5KQXRLK3js.Modules.Company, dehydratedCompany) : void 0
10195
10193
  );
10196
10194
  const breadcrumb = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, () => {
10197
10195
  const response = [];
10198
10196
  if (company)
10199
10197
  response.push({
10200
10198
  name: company.name,
10201
- href: generateUrl({ page: _chunkUYBCHXXLjs.Modules.Company })
10199
+ href: generateUrl({ page: _chunk5KQXRLK3js.Modules.Company })
10202
10200
  });
10203
10201
  return response;
10204
10202
  }, "breadcrumb");
@@ -10208,9 +10206,9 @@ var CompanyProvider = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, ({ ch
10208
10206
  };
10209
10207
  if (company) response.element = company.name;
10210
10208
  const functions = [];
10211
- if (company && hasRole(_chunkEW6QPMN3js.getRoleId.call(void 0, ).Administrator) && hasPermissionToModule({ module: _chunkUYBCHXXLjs.Modules.Company, action: "delete" /* Delete */ }))
10209
+ if (company && hasRole(_chunkOR5NPUWFjs.getRoleId.call(void 0, ).Administrator) && hasPermissionToModule({ module: _chunk5KQXRLK3js.Modules.Company, action: "delete" /* Delete */ }))
10212
10210
  functions.push(/* @__PURE__ */ _jsxruntime.jsx.call(void 0, CompanyDeleter, { company }, "companyDeleter"));
10213
- if (hasRole(_chunkEW6QPMN3js.getRoleId.call(void 0, ).Administrator) || hasPermissionToModule({ module: _chunkUYBCHXXLjs.Modules.Company, action: "update" /* Update */ })) {
10211
+ if (hasRole(_chunkOR5NPUWFjs.getRoleId.call(void 0, ).Administrator) || hasPermissionToModule({ module: _chunk5KQXRLK3js.Modules.Company, action: "update" /* Update */ })) {
10214
10212
  functions.push(/* @__PURE__ */ _jsxruntime.jsx.call(void 0, CompanyEditor, { company, propagateChanges: setCompany }, "companyEditor"));
10215
10213
  }
10216
10214
  if (functions.length > 0) response.functions = functions;
@@ -10302,11 +10300,13 @@ _chunk7QVYU63Ejs.__name.call(void 0, NotificationMenuItem, "NotificationMenuItem
10302
10300
  var NotificationContext = _react.createContext.call(void 0, void 0);
10303
10301
  var NotificationContextProvider = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, ({ children }) => {
10304
10302
  const t = _nextintl.useTranslations.call(void 0, );
10305
- const router = _chunkEW6QPMN3js.useI18nRouter.call(void 0, );
10303
+ const router = _chunkOR5NPUWFjs.useI18nRouter.call(void 0, );
10306
10304
  const [notifications, setNotifications] = _react.useState.call(void 0, []);
10307
10305
  const [isLoading, setIsLoading] = _react.useState.call(void 0, false);
10308
10306
  const [error, setError] = _react.useState.call(void 0, null);
10309
10307
  const [lastLoaded, setLastLoaded] = _react.useState.call(void 0, 0);
10308
+ const [hasInitiallyLoaded, setHasInitiallyLoaded] = _react.useState.call(void 0, false);
10309
+ const { currentUser } = useCurrentUserContext();
10310
10310
  const shouldRefresh = Date.now() - lastLoaded > 5 * 60 * 1e3;
10311
10311
  const addNotification = _react.useCallback.call(void 0, (notification) => {
10312
10312
  setNotifications((prev) => {
@@ -10327,7 +10327,7 @@ var NotificationContextProvider = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(v
10327
10327
  setIsLoading(true);
10328
10328
  setError(null);
10329
10329
  try {
10330
- const fetchedNotifications = await _chunkUYBCHXXLjs.NotificationService.findMany({});
10330
+ const fetchedNotifications = await _chunk5KQXRLK3js.NotificationService.findMany({});
10331
10331
  setNotifications(fetchedNotifications);
10332
10332
  setLastLoaded(Date.now());
10333
10333
  } catch (error2) {
@@ -10337,13 +10337,27 @@ var NotificationContextProvider = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(v
10337
10337
  setIsLoading(false);
10338
10338
  }
10339
10339
  }, []);
10340
+ _react.useEffect.call(void 0, () => {
10341
+ if (hasInitiallyLoaded || !currentUser) return;
10342
+ if (_chunkOR5NPUWFjs.isRolesConfigured.call(void 0, )) {
10343
+ const isAdmin = _optionalChain([currentUser, 'access', _254 => _254.roles, 'optionalAccess', _255 => _255.some, 'call', _256 => _256(
10344
+ (role) => role.id === _chunkOR5NPUWFjs.getRoleId.call(void 0, ).Administrator
10345
+ )]);
10346
+ if (isAdmin) {
10347
+ setHasInitiallyLoaded(true);
10348
+ return;
10349
+ }
10350
+ }
10351
+ loadNotifications();
10352
+ setHasInitiallyLoaded(true);
10353
+ }, [currentUser, hasInitiallyLoaded, loadNotifications]);
10340
10354
  const markNotificationsAsRead = _react.useCallback.call(void 0, async (ids) => {
10341
10355
  setIsLoading(true);
10342
10356
  setError(null);
10343
10357
  try {
10344
10358
  const data = {
10345
10359
  data: ids.map((id) => ({
10346
- type: _chunkUYBCHXXLjs.Modules.Notification.name,
10360
+ type: _chunk5KQXRLK3js.Modules.Notification.name,
10347
10361
  id,
10348
10362
  attributes: {
10349
10363
  isRead: true
@@ -10352,8 +10366,8 @@ var NotificationContextProvider = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(v
10352
10366
  relationships: {}
10353
10367
  }))
10354
10368
  };
10355
- await _chunkUYBCHXXLjs.NotificationService.markAsRead({ data });
10356
- const allNotifications = await _chunkUYBCHXXLjs.NotificationService.findMany({});
10369
+ await _chunk5KQXRLK3js.NotificationService.markAsRead({ data });
10370
+ const allNotifications = await _chunk5KQXRLK3js.NotificationService.findMany({});
10357
10371
  setNotifications(allNotifications);
10358
10372
  setLastLoaded(Date.now());
10359
10373
  } catch (error2) {
@@ -10421,18 +10435,18 @@ var RoleProvider = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, ({ child
10421
10435
  const generateUrl = usePageUrlGenerator();
10422
10436
  const t = _nextintl.useTranslations.call(void 0, );
10423
10437
  const [role, setRole] = _react.useState.call(void 0,
10424
- dehydratedRole ? _chunkUYBCHXXLjs.rehydrate.call(void 0, _chunkUYBCHXXLjs.Modules.Role, dehydratedRole) : void 0
10438
+ dehydratedRole ? _chunk5KQXRLK3js.rehydrate.call(void 0, _chunk5KQXRLK3js.Modules.Role, dehydratedRole) : void 0
10425
10439
  );
10426
10440
  const breadcrumb = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, () => {
10427
10441
  const response = [];
10428
10442
  response.push({
10429
10443
  name: t(`entities.roles`, { count: 2 }),
10430
- href: generateUrl({ page: _chunkUYBCHXXLjs.Modules.Role })
10444
+ href: generateUrl({ page: _chunk5KQXRLK3js.Modules.Role })
10431
10445
  });
10432
10446
  if (role)
10433
10447
  response.push({
10434
10448
  name: role.name,
10435
- href: generateUrl({ page: _chunkUYBCHXXLjs.Modules.Role, id: role.id })
10449
+ href: generateUrl({ page: _chunk5KQXRLK3js.Modules.Role, id: role.id })
10436
10450
  });
10437
10451
  return response;
10438
10452
  }, "breadcrumb");
@@ -10551,7 +10565,7 @@ function usePageTracker() {
10551
10565
  const moduleName = pathParts[0];
10552
10566
  const entityId = pathParts.length > 1 ? pathParts[1] : null;
10553
10567
  if (!entityId) return;
10554
- const trackablePages = _chunkEW6QPMN3js.getTrackablePages.call(void 0, );
10568
+ const trackablePages = _chunkOR5NPUWFjs.getTrackablePages.call(void 0, );
10555
10569
  const foundModule = trackablePages.find((mod) => mod.pageUrl === `/${moduleName}`);
10556
10570
  if (!foundModule) return;
10557
10571
  const baseUrl = `/${moduleName}/${entityId}`;
@@ -10559,7 +10573,7 @@ function usePageTracker() {
10559
10573
  if (typeof document !== "undefined") {
10560
10574
  const titleParts = document.title.split("]");
10561
10575
  if (titleParts[1]) {
10562
- const cleanTitle = _optionalChain([titleParts, 'access', _254 => _254[1], 'access', _255 => _255.split, 'call', _256 => _256("|"), 'access', _257 => _257[0], 'optionalAccess', _258 => _258.trim, 'call', _259 => _259()]);
10576
+ const cleanTitle = _optionalChain([titleParts, 'access', _257 => _257[1], 'access', _258 => _258.split, 'call', _259 => _259("|"), 'access', _260 => _260[0], 'optionalAccess', _261 => _261.trim, 'call', _262 => _262()]);
10563
10577
  pageTitle = cleanTitle || foundModule.name;
10564
10578
  }
10565
10579
  }
@@ -10596,9 +10610,9 @@ function usePushNotifications() {
10596
10610
  const register = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, async () => {
10597
10611
  if ("serviceWorker" in navigator && "PushManager" in window) {
10598
10612
  try {
10599
- const sessionKey = `push_registered_${_optionalChain([currentUser, 'optionalAccess', _260 => _260.id])}`;
10613
+ const sessionKey = `push_registered_${_optionalChain([currentUser, 'optionalAccess', _263 => _263.id])}`;
10600
10614
  const lastRegisteredSubscription = sessionStorage.getItem(sessionKey);
10601
- const registration = await navigator.serviceWorker.register(`${_chunkEW6QPMN3js.getAppUrl.call(void 0, )}/sw.js`);
10615
+ const registration = await navigator.serviceWorker.register(`${_chunkOR5NPUWFjs.getAppUrl.call(void 0, )}/sw.js`);
10602
10616
  let permission = Notification.permission;
10603
10617
  if (permission === "default") {
10604
10618
  permission = await Notification.requestPermission();
@@ -10623,7 +10637,7 @@ function usePushNotifications() {
10623
10637
  };
10624
10638
  const subscriptionHash = btoa(JSON.stringify(plainSubscription));
10625
10639
  if (lastRegisteredSubscription !== subscriptionHash) {
10626
- await _chunkUYBCHXXLjs.PushService.register({ data: plainSubscription });
10640
+ await _chunk5KQXRLK3js.PushService.register({ data: plainSubscription });
10627
10641
  sessionStorage.setItem(sessionKey, subscriptionHash);
10628
10642
  }
10629
10643
  } catch (error) {
@@ -10631,7 +10645,7 @@ function usePushNotifications() {
10631
10645
  }
10632
10646
  }
10633
10647
  }, "register");
10634
- if (currentUser && !hasRole(_chunkEW6QPMN3js.getRoleId.call(void 0, ).Administrator)) register();
10648
+ if (currentUser && !hasRole(_chunkOR5NPUWFjs.getRoleId.call(void 0, ).Administrator)) register();
10635
10649
  }, [currentUser]);
10636
10650
  }
10637
10651
  _chunk7QVYU63Ejs.__name.call(void 0, usePushNotifications, "usePushNotifications");
@@ -10650,7 +10664,7 @@ function useSocket({ token }) {
10650
10664
  const socketRef = _react.useRef.call(void 0, null);
10651
10665
  _react.useEffect.call(void 0, () => {
10652
10666
  if (!token) return;
10653
- const globalSocketKey = `__socket_${_optionalChain([process, 'access', _261 => _261.env, 'access', _262 => _262.NEXT_PUBLIC_API_URL, 'optionalAccess', _263 => _263.replace, 'call', _264 => _264(/[^a-zA-Z0-9]/g, "_")])}`;
10667
+ const globalSocketKey = `__socket_${_optionalChain([process, 'access', _264 => _264.env, 'access', _265 => _265.NEXT_PUBLIC_API_URL, 'optionalAccess', _266 => _266.replace, 'call', _267 => _267(/[^a-zA-Z0-9]/g, "_")])}`;
10654
10668
  if (typeof window !== "undefined") {
10655
10669
  const _allSocketKeys = Object.keys(window).filter((key) => key.startsWith("__socket_"));
10656
10670
  const existingSocket = window[globalSocketKey];
@@ -10706,7 +10720,7 @@ function useSocket({ token }) {
10706
10720
  });
10707
10721
  }, "handleMessage");
10708
10722
  const handleNotification = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (data) => {
10709
- const notification = _chunkUYBCHXXLjs.rehydrate.call(void 0, _chunkUYBCHXXLjs.Modules.Notification, data);
10723
+ const notification = _chunk5KQXRLK3js.rehydrate.call(void 0, _chunk5KQXRLK3js.Modules.Notification, data);
10710
10724
  if (notification) {
10711
10725
  setSocketNotifications((prev) => {
10712
10726
  const newNotifications = [...prev, notification];
@@ -10821,7 +10835,7 @@ function ContentTitle({ module, type, element, functions, className }) {
10821
10835
  setClientFunctions(functions);
10822
10836
  }, [functions]);
10823
10837
  if (!element) return null;
10824
- return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunkUYBCHXXLjs.cn.call(void 0, `mb-4 flex items-center justify-between gap-x-4 w-full`, className), children: [
10838
+ return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk5KQXRLK3js.cn.call(void 0, `mb-4 flex items-center justify-between gap-x-4 w-full`, className), children: [
10825
10839
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex flex-col w-full", children: [
10826
10840
  type && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: `text-muted-foreground text-xl font-light flex gap-x-2 items-center`, children: [
10827
10841
  module && module.icon && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, module.icon, { className: "w-5 h-5 inline-block" }),
@@ -10842,7 +10856,7 @@ function Header({ children }) {
10842
10856
  const t = _nextintl.useTranslations.call(void 0, );
10843
10857
  const { breadcrumbs } = useSharedContext();
10844
10858
  const { company, hasRole, refreshUser, isRefreshing } = useCurrentUserContext();
10845
- const showTokenStatus = !hasRole(_chunkEW6QPMN3js.getRoleId.call(void 0, ).Administrator) && company;
10859
+ const showTokenStatus = !hasRole(_chunkOR5NPUWFjs.getRoleId.call(void 0, ).Administrator) && company;
10846
10860
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "header", { className: `sticky top-0 z-10 flex h-12 flex-col items-center justify-start gap-x-4 border-b`, children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "bg-sidebar flex h-12 w-full flex-row items-center justify-between pl-2 pr-4", children: [
10847
10861
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, SidebarTrigger, { "aria-label": "Toggle sidebar" }),
10848
10862
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex w-full flex-row items-center justify-start", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, BreadcrumbNavigation, { items: breadcrumbs }) }),
@@ -10969,7 +10983,7 @@ function PageContainer({ children, testId, className }) {
10969
10983
  const headerChildren = useHeaderChildren();
10970
10984
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: `flex h-full w-full flex-col`, "data-testid": testId, children: [
10971
10985
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Header, { children: headerChildren }),
10972
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "main", { className: _chunkUYBCHXXLjs.cn.call(void 0, `flex w-full flex-1 flex-col gap-y-4 pt-4 pl-4 pr-4 pb-20`, className), children })
10986
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "main", { className: _chunk5KQXRLK3js.cn.call(void 0, `flex w-full flex-1 flex-col gap-y-4 pt-4 pl-4 pr-4 pb-20`, className), children })
10973
10987
  ] });
10974
10988
  }
10975
10989
  _chunk7QVYU63Ejs.__name.call(void 0, PageContainer, "PageContainer");
@@ -11078,7 +11092,7 @@ function TabsContainer({
11078
11092
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
11079
11093
  TabsList,
11080
11094
  {
11081
- className: _chunkUYBCHXXLjs.cn.call(void 0,
11095
+ className: _chunk5KQXRLK3js.cn.call(void 0,
11082
11096
  `${style ? `my-4 flex w-full justify-start rounded-none border-b bg-transparent pb-0` : ``}`,
11083
11097
  tabsListClassName
11084
11098
  ),
@@ -11086,7 +11100,7 @@ function TabsContainer({
11086
11100
  TabsTrigger,
11087
11101
  {
11088
11102
  value: tab.label,
11089
- className: _chunkUYBCHXXLjs.cn.call(void 0,
11103
+ className: _chunk5KQXRLK3js.cn.call(void 0,
11090
11104
  `${style ? `text-muted-foreground border-accent data-[state=active]:text-foreground hover:text-foreground cursor-pointer rounded-none bg-transparent pb-2 text-sm font-light hover:border-0 data-[state=active]:border-b data-[state=active]:font-medium data-[state=active]:shadow-none` : `text-primary text-xs`}`,
11091
11105
  tabsTriggerClassName
11092
11106
  ),
@@ -11106,7 +11120,7 @@ _chunk7QVYU63Ejs.__name.call(void 0, TabsContainer, "TabsContainer");
11106
11120
  // src/components/contents/AttributeElement.tsx
11107
11121
 
11108
11122
  function AttributeElement({ inline, title, value, className }) {
11109
- return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunkUYBCHXXLjs.cn.call(void 0, `flex ${inline === true ? "flex-row" : "flex-col"} my-1 justify-start`, className), children: [
11123
+ return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _chunk5KQXRLK3js.cn.call(void 0, `flex ${inline === true ? "flex-row" : "flex-col"} my-1 justify-start`, className), children: [
11110
11124
  title && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: `${inline === true ? "min-w-48 pr-4" : "w-full"} text-sm font-semibold`, children: title }),
11111
11125
  value && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex w-full flex-col text-sm", children: value })
11112
11126
  ] });
@@ -11129,7 +11143,7 @@ _chunk7QVYU63Ejs.__name.call(void 0, AllowedUsersDetails, "AllowedUsersDetails")
11129
11143
  var _dynamic = require('next/dynamic'); var _dynamic2 = _interopRequireDefault(_dynamic);
11130
11144
 
11131
11145
 
11132
- var BlockNoteEditor = _dynamic2.default.call(void 0, () => Promise.resolve().then(() => _interopRequireWildcard(require("./BlockNoteEditor-XWHUG6VH.js"))), {
11146
+ var BlockNoteEditor = _dynamic2.default.call(void 0, () => Promise.resolve().then(() => _interopRequireWildcard(require("./BlockNoteEditor-AZNYW5Y7.js"))), {
11133
11147
  ssr: false
11134
11148
  });
11135
11149
  var BlockNoteEditorContainer = React3.default.memo(/* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, function EditorContainer(props) {
@@ -11180,7 +11194,7 @@ _chunk7QVYU63Ejs.__name.call(void 0, PageContainerContentDetails, "PageContainer
11180
11194
 
11181
11195
  function PageContentContainer({ header, details, footer, content }) {
11182
11196
  const [mounted, setMounted] = _react.useState.call(void 0, false);
11183
- const isMobile = _chunkUYBCHXXLjs.useIsMobile.call(void 0, );
11197
+ const isMobile = _chunk5KQXRLK3js.useIsMobile.call(void 0, );
11184
11198
  _react.useEffect.call(void 0, () => {
11185
11199
  setMounted(true);
11186
11200
  }, []);
@@ -11254,10 +11268,10 @@ var cellId = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (params) => {
11254
11268
  cell: /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, ({ row }) => params.toggleId ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
11255
11269
  Checkbox,
11256
11270
  {
11257
- checked: _optionalChain([params, 'access', _265 => _265.checkedIds, 'optionalAccess', _266 => _266.includes, 'call', _267 => _267(row.getValue(params.name))]) || false,
11271
+ checked: _optionalChain([params, 'access', _268 => _268.checkedIds, 'optionalAccess', _269 => _269.includes, 'call', _270 => _270(row.getValue(params.name))]) || false,
11258
11272
  onCheckedChange: (value) => {
11259
11273
  row.toggleSelected(!!value);
11260
- _optionalChain([params, 'access', _268 => _268.toggleId, 'optionalCall', _269 => _269(row.getValue(params.name))]);
11274
+ _optionalChain([params, 'access', _271 => _271.toggleId, 'optionalCall', _272 => _272(row.getValue(params.name))]);
11261
11275
  },
11262
11276
  "aria-label": "Select row"
11263
11277
  }
@@ -11316,7 +11330,7 @@ function useJsonApiGet(params) {
11316
11330
  const [response, setResponse] = _react.useState.call(void 0, null);
11317
11331
  const isMounted = _react.useRef.call(void 0, true);
11318
11332
  const fetchData = _react.useCallback.call(void 0, async () => {
11319
- if (_optionalChain([params, 'access', _270 => _270.options, 'optionalAccess', _271 => _271.enabled]) === false) return;
11333
+ if (_optionalChain([params, 'access', _273 => _273.options, 'optionalAccess', _274 => _274.enabled]) === false) return;
11320
11334
  setLoading(true);
11321
11335
  setError(null);
11322
11336
  try {
@@ -11343,9 +11357,9 @@ function useJsonApiGet(params) {
11343
11357
  setLoading(false);
11344
11358
  }
11345
11359
  }
11346
- }, [params.classKey, params.endpoint, params.companyId, _optionalChain([params, 'access', _272 => _272.options, 'optionalAccess', _273 => _273.enabled])]);
11360
+ }, [params.classKey, params.endpoint, params.companyId, _optionalChain([params, 'access', _275 => _275.options, 'optionalAccess', _276 => _276.enabled])]);
11347
11361
  const fetchNextPage = _react.useCallback.call(void 0, async () => {
11348
- if (!_optionalChain([response, 'optionalAccess', _274 => _274.nextPage])) return;
11362
+ if (!_optionalChain([response, 'optionalAccess', _277 => _277.nextPage])) return;
11349
11363
  setLoading(true);
11350
11364
  try {
11351
11365
  const nextResponse = await response.nextPage();
@@ -11366,7 +11380,7 @@ function useJsonApiGet(params) {
11366
11380
  }
11367
11381
  }, [response]);
11368
11382
  const fetchPreviousPage = _react.useCallback.call(void 0, async () => {
11369
- if (!_optionalChain([response, 'optionalAccess', _275 => _275.prevPage])) return;
11383
+ if (!_optionalChain([response, 'optionalAccess', _278 => _278.prevPage])) return;
11370
11384
  setLoading(true);
11371
11385
  try {
11372
11386
  const prevResponse = await response.prevPage();
@@ -11392,15 +11406,15 @@ function useJsonApiGet(params) {
11392
11406
  return () => {
11393
11407
  isMounted.current = false;
11394
11408
  };
11395
- }, [fetchData, ..._optionalChain([params, 'access', _276 => _276.options, 'optionalAccess', _277 => _277.deps]) || []]);
11409
+ }, [fetchData, ..._optionalChain([params, 'access', _279 => _279.options, 'optionalAccess', _280 => _280.deps]) || []]);
11396
11410
  return {
11397
11411
  data,
11398
11412
  loading,
11399
11413
  error,
11400
11414
  response,
11401
11415
  refetch: fetchData,
11402
- hasNextPage: !!_optionalChain([response, 'optionalAccess', _278 => _278.next]),
11403
- hasPreviousPage: !!_optionalChain([response, 'optionalAccess', _279 => _279.prev]),
11416
+ hasNextPage: !!_optionalChain([response, 'optionalAccess', _281 => _281.next]),
11417
+ hasPreviousPage: !!_optionalChain([response, 'optionalAccess', _282 => _282.prev]),
11404
11418
  fetchNextPage,
11405
11419
  fetchPreviousPage
11406
11420
  };
@@ -11478,17 +11492,17 @@ function useJsonApiMutation(config) {
11478
11492
  if (apiResponse.ok) {
11479
11493
  const resultData = apiResponse.data;
11480
11494
  setData(resultData);
11481
- _optionalChain([config, 'access', _280 => _280.onSuccess, 'optionalCall', _281 => _281(resultData)]);
11495
+ _optionalChain([config, 'access', _283 => _283.onSuccess, 'optionalCall', _284 => _284(resultData)]);
11482
11496
  return resultData;
11483
11497
  } else {
11484
11498
  setError(apiResponse.error);
11485
- _optionalChain([config, 'access', _282 => _282.onError, 'optionalCall', _283 => _283(apiResponse.error)]);
11499
+ _optionalChain([config, 'access', _285 => _285.onError, 'optionalCall', _286 => _286(apiResponse.error)]);
11486
11500
  return null;
11487
11501
  }
11488
11502
  } catch (err) {
11489
11503
  const errorMessage = err instanceof Error ? err.message : "Unknown error";
11490
11504
  setError(errorMessage);
11491
- _optionalChain([config, 'access', _284 => _284.onError, 'optionalCall', _285 => _285(errorMessage)]);
11505
+ _optionalChain([config, 'access', _287 => _287.onError, 'optionalCall', _288 => _288(errorMessage)]);
11492
11506
  return null;
11493
11507
  } finally {
11494
11508
  setLoading(false);
@@ -11512,14 +11526,14 @@ _chunk7QVYU63Ejs.__name.call(void 0, useJsonApiMutation, "useJsonApiMutation");
11512
11526
  function useRehydration(classKey, data) {
11513
11527
  return _react.useMemo.call(void 0, () => {
11514
11528
  if (!data) return null;
11515
- return _chunkUYBCHXXLjs.RehydrationFactory.rehydrate(classKey, data);
11529
+ return _chunk5KQXRLK3js.RehydrationFactory.rehydrate(classKey, data);
11516
11530
  }, [classKey, data]);
11517
11531
  }
11518
11532
  _chunk7QVYU63Ejs.__name.call(void 0, useRehydration, "useRehydration");
11519
11533
  function useRehydrationList(classKey, data) {
11520
11534
  return _react.useMemo.call(void 0, () => {
11521
11535
  if (!data || data.length === 0) return [];
11522
- return _chunkUYBCHXXLjs.RehydrationFactory.rehydrateList(classKey, data);
11536
+ return _chunk5KQXRLK3js.RehydrationFactory.rehydrateList(classKey, data);
11523
11537
  }, [classKey, data]);
11524
11538
  }
11525
11539
  _chunk7QVYU63Ejs.__name.call(void 0, useRehydrationList, "useRehydrationList");
@@ -11559,11 +11573,11 @@ var useCompanyTableStructure = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void
11559
11573
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
11560
11574
  Link,
11561
11575
  {
11562
- href: hasRole(_chunkEW6QPMN3js.getRoleId.call(void 0, ).Administrator) ? generateUrl({
11576
+ href: hasRole(_chunkOR5NPUWFjs.getRoleId.call(void 0, ).Administrator) ? generateUrl({
11563
11577
  page: "/administration",
11564
- id: _optionalChain([_chunkUYBCHXXLjs.Modules, 'access', _286 => _286.Company, 'access', _287 => _287.pageUrl, 'optionalAccess', _288 => _288.substring, 'call', _289 => _289(1)]),
11578
+ id: _optionalChain([_chunk5KQXRLK3js.Modules, 'access', _289 => _289.Company, 'access', _290 => _290.pageUrl, 'optionalAccess', _291 => _291.substring, 'call', _292 => _292(1)]),
11565
11579
  childPage: company.id
11566
- }) : generateUrl({ page: _chunkUYBCHXXLjs.Modules.Company, id: company.id }),
11580
+ }) : generateUrl({ page: _chunk5KQXRLK3js.Modules.Company, id: company.id }),
11567
11581
  children: row.getValue("name")
11568
11582
  }
11569
11583
  );
@@ -11577,7 +11591,7 @@ var useCompanyTableStructure = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void
11577
11591
  })
11578
11592
  };
11579
11593
  const columns = _react.useMemo.call(void 0, () => {
11580
- return params.fields.map((field) => _optionalChain([fieldColumnMap, 'access', _290 => _290[field], 'optionalCall', _291 => _291()])).filter((col) => col !== void 0);
11594
+ return params.fields.map((field) => _optionalChain([fieldColumnMap, 'access', _293 => _293[field], 'optionalCall', _294 => _294()])).filter((col) => col !== void 0);
11581
11595
  }, [params.fields, fieldColumnMap, t, generateUrl, hasRole]);
11582
11596
  return _react.useMemo.call(void 0, () => ({ data: tableData, columns }), [tableData, columns]);
11583
11597
  }, "useCompanyTableStructure");
@@ -11664,7 +11678,7 @@ var useRoleTableStructure = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0,
11664
11678
  header: t(`role.fields.name.label`),
11665
11679
  cell: /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, ({ row }) => {
11666
11680
  const role = row.original.jsonApiData;
11667
- return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Link, { href: generateUrl({ page: _chunkUYBCHXXLjs.Modules.Role, id: role.id }), children: row.getValue("name") });
11681
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Link, { href: generateUrl({ page: _chunk5KQXRLK3js.Modules.Role, id: role.id }), children: row.getValue("name") });
11668
11682
  }, "cell"),
11669
11683
  enableSorting: false,
11670
11684
  enableHiding: false
@@ -11683,7 +11697,7 @@ var useRoleTableStructure = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0,
11683
11697
  })
11684
11698
  };
11685
11699
  const columns = _react.useMemo.call(void 0, () => {
11686
- return params.fields.map((field) => _optionalChain([fieldColumnMap, 'access', _292 => _292[field], 'optionalCall', _293 => _293()])).filter((col) => col !== void 0);
11700
+ return params.fields.map((field) => _optionalChain([fieldColumnMap, 'access', _295 => _295[field], 'optionalCall', _296 => _296()])).filter((col) => col !== void 0);
11687
11701
  }, [params.fields, fieldColumnMap, t, generateUrl]);
11688
11702
  return _react.useMemo.call(void 0, () => ({ data: tableData, columns }), [tableData, columns]);
11689
11703
  }, "useRoleTableStructure");
@@ -11701,7 +11715,7 @@ var useUserSearch = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, () => {
11701
11715
  if (search === searchQueryRef.current && users.length > 0) return;
11702
11716
  setIsLoading(true);
11703
11717
  searchQueryRef.current = search;
11704
- const fetchedUsers = await _chunkUYBCHXXLjs.UserService.findMany({ search, fetchAll: true });
11718
+ const fetchedUsers = await _chunk5KQXRLK3js.UserService.findMany({ search, fetchAll: true });
11705
11719
  setUsers(fetchedUsers);
11706
11720
  } catch (error) {
11707
11721
  console.error("Failed to load users:", error);
@@ -11767,8 +11781,8 @@ var useUserTableStructure = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0,
11767
11781
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
11768
11782
  Link,
11769
11783
  {
11770
- href: generateUrl({ page: _chunkUYBCHXXLjs.Modules.User, id: user.id }),
11771
- className: _chunkUYBCHXXLjs.cn.call(void 0,
11784
+ href: generateUrl({ page: _chunk5KQXRLK3js.Modules.User, id: user.id }),
11785
+ className: _chunk5KQXRLK3js.cn.call(void 0,
11772
11786
  `flex items-center justify-start gap-2`,
11773
11787
  user.isDeleted || !user.isActivated ? "text-muted-foreground italic" : ""
11774
11788
  ),
@@ -11826,7 +11840,7 @@ var useUserTableStructure = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0,
11826
11840
  })
11827
11841
  };
11828
11842
  const columns = _react.useMemo.call(void 0, () => {
11829
- return params.fields.map((field) => _optionalChain([fieldColumnMap, 'access', _294 => _294[field], 'optionalCall', _295 => _295()])).filter((col) => col !== void 0);
11843
+ return params.fields.map((field) => _optionalChain([fieldColumnMap, 'access', _297 => _297[field], 'optionalCall', _298 => _298()])).filter((col) => col !== void 0);
11830
11844
  }, [params.fields, fieldColumnMap, t, generateUrl]);
11831
11845
  return _react.useMemo.call(void 0, () => ({ data: tableData, columns }), [tableData, columns]);
11832
11846
  }, "useUserTableStructure");
@@ -11862,11 +11876,11 @@ var useContentTableStructure = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void
11862
11876
  header: t(`content.fields.name.label`),
11863
11877
  cell: /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, ({ row }) => {
11864
11878
  const content = row.original.jsonApiData;
11865
- const contentModule = content.contentType ? _chunkUYBCHXXLjs.Modules.findByModelName(content.contentType) : void 0;
11879
+ const contentModule = content.contentType ? _chunk5KQXRLK3js.Modules.findByModelName(content.contentType) : void 0;
11866
11880
  const link = contentModule ? generateUrl({ page: contentModule, id: content.id }) : "#";
11867
11881
  return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, Tooltip2, { children: [
11868
11882
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TooltipTrigger, { className: "flex items-center justify-start space-x-2", children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
11869
- contentModule && _chunkUYBCHXXLjs.getIconByModule.call(void 0, { module: contentModule, className: "h-4 w-4" }),
11883
+ contentModule && _chunk5KQXRLK3js.getIconByModule.call(void 0, { module: contentModule, className: "h-4 w-4" }),
11870
11884
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Link, { href: link, children: content.name })
11871
11885
  ] }) }),
11872
11886
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TooltipContent, { children: content.tldr })
@@ -11927,11 +11941,11 @@ var useContentTableStructure = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void
11927
11941
  return params.fields.map((field) => {
11928
11942
  const localHandler = fieldColumnMap[field];
11929
11943
  if (localHandler) return localHandler();
11930
- const customHandler = _optionalChain([params, 'access', _296 => _296.context, 'optionalAccess', _297 => _297.customCells, 'optionalAccess', _298 => _298[field]]);
11944
+ const customHandler = _optionalChain([params, 'access', _299 => _299.context, 'optionalAccess', _300 => _300.customCells, 'optionalAccess', _301 => _301[field]]);
11931
11945
  if (customHandler) return customHandler({ t });
11932
11946
  return void 0;
11933
11947
  }).filter((col) => col !== void 0);
11934
- }, [params.fields, fieldColumnMap, t, generateUrl, _optionalChain([params, 'access', _299 => _299.context, 'optionalAccess', _300 => _300.customCells])]);
11948
+ }, [params.fields, fieldColumnMap, t, generateUrl, _optionalChain([params, 'access', _302 => _302.context, 'optionalAccess', _303 => _303.customCells])]);
11935
11949
  return _react.useMemo.call(void 0, () => ({ data: tableData, columns }), [tableData, columns]);
11936
11950
  }, "useContentTableStructure");
11937
11951
 
@@ -12003,7 +12017,7 @@ function useOAuthClients() {
12003
12017
  setIsLoading(true);
12004
12018
  setError(null);
12005
12019
  try {
12006
- const fetchedClients = await _chunkUYBCHXXLjs.OAuthService.listClients();
12020
+ const fetchedClients = await _chunk5KQXRLK3js.OAuthService.listClients();
12007
12021
  setClients(fetchedClients);
12008
12022
  } catch (err) {
12009
12023
  console.error("[useOAuthClients] Failed to fetch clients:", err);
@@ -12020,7 +12034,7 @@ function useOAuthClients() {
12020
12034
  setIsLoading(true);
12021
12035
  setError(null);
12022
12036
  try {
12023
- const result = await _chunkUYBCHXXLjs.OAuthService.createClient(data);
12037
+ const result = await _chunk5KQXRLK3js.OAuthService.createClient(data);
12024
12038
  addClient(result.client);
12025
12039
  if (result.clientSecret) {
12026
12040
  setNewClientSecret({
@@ -12067,7 +12081,7 @@ function useOAuthClient(clientId) {
12067
12081
  setIsLoading(true);
12068
12082
  setError(null);
12069
12083
  try {
12070
- const fetched = await _chunkUYBCHXXLjs.OAuthService.getClient({ clientId });
12084
+ const fetched = await _chunk5KQXRLK3js.OAuthService.getClient({ clientId });
12071
12085
  setFetchedClient(fetched);
12072
12086
  } catch (err) {
12073
12087
  console.error("[useOAuthClient] Failed to fetch client:", err);
@@ -12087,7 +12101,7 @@ function useOAuthClient(clientId) {
12087
12101
  setIsLoading(true);
12088
12102
  setError(null);
12089
12103
  try {
12090
- const updated = await _chunkUYBCHXXLjs.OAuthService.updateClient({ clientId, data });
12104
+ const updated = await _chunk5KQXRLK3js.OAuthService.updateClient({ clientId, data });
12091
12105
  updateClientInStore(updated);
12092
12106
  setFetchedClient(updated);
12093
12107
  } catch (err) {
@@ -12106,7 +12120,7 @@ function useOAuthClient(clientId) {
12106
12120
  setIsLoading(true);
12107
12121
  setError(null);
12108
12122
  try {
12109
- await _chunkUYBCHXXLjs.OAuthService.deleteClient({ clientId });
12123
+ await _chunk5KQXRLK3js.OAuthService.deleteClient({ clientId });
12110
12124
  removeClientFromStore(clientId);
12111
12125
  } catch (err) {
12112
12126
  console.error("[useOAuthClient] Failed to delete client:", err);
@@ -12122,7 +12136,7 @@ function useOAuthClient(clientId) {
12122
12136
  setIsLoading(true);
12123
12137
  setError(null);
12124
12138
  try {
12125
- const result = await _chunkUYBCHXXLjs.OAuthService.regenerateSecret({ clientId });
12139
+ const result = await _chunk5KQXRLK3js.OAuthService.regenerateSecret({ clientId });
12126
12140
  setNewClientSecret({
12127
12141
  clientId,
12128
12142
  secret: result.clientSecret
@@ -12166,7 +12180,7 @@ function useOAuthConsent(params) {
12166
12180
  setIsLoading(true);
12167
12181
  setError(null);
12168
12182
  try {
12169
- const info = await _chunkUYBCHXXLjs.OAuthService.getAuthorizationInfo(params);
12183
+ const info = await _chunk5KQXRLK3js.OAuthService.getAuthorizationInfo(params);
12170
12184
  setClientInfo(info);
12171
12185
  } catch (err) {
12172
12186
  console.error("[useOAuthConsent] Failed to fetch authorization info:", err);
@@ -12188,7 +12202,7 @@ function useOAuthConsent(params) {
12188
12202
  setIsSubmitting(true);
12189
12203
  setError(null);
12190
12204
  try {
12191
- const result = await _chunkUYBCHXXLjs.OAuthService.approveAuthorization(params);
12205
+ const result = await _chunk5KQXRLK3js.OAuthService.approveAuthorization(params);
12192
12206
  if (result.redirectUrl) {
12193
12207
  window.location.href = result.redirectUrl;
12194
12208
  }
@@ -12202,7 +12216,7 @@ function useOAuthConsent(params) {
12202
12216
  setIsSubmitting(true);
12203
12217
  setError(null);
12204
12218
  try {
12205
- const result = await _chunkUYBCHXXLjs.OAuthService.denyAuthorization(params);
12219
+ const result = await _chunk5KQXRLK3js.OAuthService.denyAuthorization(params);
12206
12220
  if (result.redirectUrl) {
12207
12221
  window.location.href = result.redirectUrl;
12208
12222
  }
@@ -12266,7 +12280,7 @@ function ContentTableSearch({ data }) {
12266
12280
  const handleSearchIconClick = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, () => {
12267
12281
  if (!isExpanded) {
12268
12282
  setIsFocused(true);
12269
- setTimeout(() => _optionalChain([inputRef, 'access', _301 => _301.current, 'optionalAccess', _302 => _302.focus, 'call', _303 => _303()]), 50);
12283
+ setTimeout(() => _optionalChain([inputRef, 'access', _304 => _304.current, 'optionalAccess', _305 => _305.focus, 'call', _306 => _306()]), 50);
12270
12284
  }
12271
12285
  }, "handleSearchIconClick");
12272
12286
  const handleBlur = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, () => {
@@ -12329,7 +12343,7 @@ var EMPTY_ARRAY = [];
12329
12343
  var ContentListTable = _react.memo.call(void 0, /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, function ContentListTable2(props) {
12330
12344
  const { data, fields, checkedIds, toggleId, allowSearch, filters } = props;
12331
12345
  const { data: tableData, columns: tableColumns } = useTableGenerator(props.tableGeneratorType, {
12332
- data: _nullishCoalesce(_optionalChain([data, 'optionalAccess', _304 => _304.data]), () => ( EMPTY_ARRAY)),
12346
+ data: _nullishCoalesce(_optionalChain([data, 'optionalAccess', _307 => _307.data]), () => ( EMPTY_ARRAY)),
12333
12347
  fields,
12334
12348
  checkedIds,
12335
12349
  toggleId,
@@ -12370,7 +12384,7 @@ var ContentListTable = _react.memo.call(void 0, /* @__PURE__ */ _chunk7QVYU63Ejs
12370
12384
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TableHead, { children: header.isPlaceholder ? null : _reacttable.flexRender.call(void 0, header.column.columnDef.header, header.getContext()) }, header.id);
12371
12385
  }) }, headerGroup.id))
12372
12386
  ] }),
12373
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TableBody, { children: rowModel && _optionalChain([rowModel, 'access', _305 => _305.rows, 'optionalAccess', _306 => _306.length]) ? rowModel.rows.map((row) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TableRow, { children: row.getVisibleCells().map((cell) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TableCell, { children: _reacttable.flexRender.call(void 0, cell.column.columnDef.cell, cell.getContext()) }, cell.id)) }, row.id)) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TableRow, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TableCell, { colSpan: tableColumns.length, className: "h-24 text-center", children: "No results." }) }) }),
12387
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TableBody, { children: rowModel && _optionalChain([rowModel, 'access', _308 => _308.rows, 'optionalAccess', _309 => _309.length]) ? rowModel.rows.map((row) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TableRow, { children: row.getVisibleCells().map((cell) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TableCell, { children: _reacttable.flexRender.call(void 0, cell.column.columnDef.cell, cell.getContext()) }, cell.id)) }, row.id)) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TableRow, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TableCell, { colSpan: tableColumns.length, className: "h-24 text-center", children: "No results." }) }) }),
12374
12388
  showFooter && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TableFooter, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TableRow, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, TableCell, { colSpan: tableColumns.length, className: "bg-card py-4 text-right", children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center justify-end space-x-2", children: [
12375
12389
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
12376
12390
  Button,
@@ -12379,7 +12393,7 @@ var ContentListTable = _react.memo.call(void 0, /* @__PURE__ */ _chunk7QVYU63Ejs
12379
12393
  size: "sm",
12380
12394
  onClick: (e) => {
12381
12395
  e.preventDefault();
12382
- _optionalChain([data, 'access', _307 => _307.previous, 'optionalCall', _308 => _308(true)]);
12396
+ _optionalChain([data, 'access', _310 => _310.previous, 'optionalCall', _311 => _311(true)]);
12383
12397
  },
12384
12398
  disabled: !data.previous,
12385
12399
  children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.ChevronLeft, { className: "h-4 w-4" })
@@ -12397,7 +12411,7 @@ var ContentListTable = _react.memo.call(void 0, /* @__PURE__ */ _chunk7QVYU63Ejs
12397
12411
  size: "sm",
12398
12412
  onClick: (e) => {
12399
12413
  e.preventDefault();
12400
- _optionalChain([data, 'access', _309 => _309.next, 'optionalCall', _310 => _310(true)]);
12414
+ _optionalChain([data, 'access', _312 => _312.next, 'optionalCall', _313 => _313(true)]);
12401
12415
  },
12402
12416
  disabled: !data.next,
12403
12417
  children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.ChevronRight, { className: "h-4 w-4" })
@@ -12458,7 +12472,7 @@ function Register() {
12458
12472
  email: values.email,
12459
12473
  password: values.password
12460
12474
  };
12461
- await _chunkUYBCHXXLjs.AuthService.register(payload);
12475
+ await _chunk5KQXRLK3js.AuthService.register(payload);
12462
12476
  setShowConfirmation(true);
12463
12477
  } catch (e) {
12464
12478
  errorToast({ error: e });
@@ -12621,8 +12635,8 @@ function LandingComponent() {
12621
12635
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, CardDescription, { className: "flex w-full justify-center text-center text-sm", children: t(`common.description`) })
12622
12636
  ] }),
12623
12637
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, CardFooter, { className: "mt-4 flex w-full flex-col justify-between gap-y-4", children: [
12624
- _chunkEW6QPMN3js.isInternalAuthEnabled.call(void 0, ) && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
12625
- _chunkEW6QPMN3js.isRegistrationAllowed.call(void 0, ) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
12638
+ _chunkOR5NPUWFjs.isInternalAuthEnabled.call(void 0, ) && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
12639
+ _chunkOR5NPUWFjs.isRegistrationAllowed.call(void 0, ) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
12626
12640
  Link,
12627
12641
  {
12628
12642
  href: "#",
@@ -12633,7 +12647,7 @@ function LandingComponent() {
12633
12647
  ),
12634
12648
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Link, { href: "#", className: "flex w-full justify-end", onClick: () => setComponentType(0 /* Login */), children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Button, { className: "w-full", variant: `outline`, "data-testid": "page-login-button-initial-login", children: t(`auth.buttons.login`) }) })
12635
12649
  ] }),
12636
- _chunkEW6QPMN3js.isDiscordAuthEnabled.call(void 0, ) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Link, { href: `${_chunkEW6QPMN3js.getApiUrl.call(void 0, )}auth/discord`, className: "flex w-full justify-end", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Button, { className: "w-full", variant: `outline`, "data-testid": "page-login-button-initial-login", children: "Login with Discord" }) })
12650
+ _chunkOR5NPUWFjs.isDiscordAuthEnabled.call(void 0, ) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Link, { href: `${_chunkOR5NPUWFjs.getApiUrl.call(void 0, )}auth/discord`, className: "flex w-full justify-end", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Button, { className: "w-full", variant: `outline`, "data-testid": "page-login-button-initial-login", children: "Login with Discord" }) })
12637
12651
  ] })
12638
12652
  ] });
12639
12653
  }
@@ -12647,7 +12661,6 @@ _chunk7QVYU63Ejs.__name.call(void 0, LandingComponent, "LandingComponent");
12647
12661
 
12648
12662
 
12649
12663
 
12650
-
12651
12664
  function AcceptInvitation() {
12652
12665
  const { setComponentType, params, setParams } = useAuthContext();
12653
12666
  const [showConfirmation, setShowConfirmation] = _react.useState.call(void 0, false);
@@ -12659,7 +12672,7 @@ function AcceptInvitation() {
12659
12672
  const payload = {
12660
12673
  code
12661
12674
  };
12662
- await _chunkUYBCHXXLjs.AuthService.validateCode(payload);
12675
+ await _chunk5KQXRLK3js.AuthService.validateCode(payload);
12663
12676
  } catch (e) {
12664
12677
  setError(e instanceof Error ? e.message : String(e));
12665
12678
  errorToast({ title: t(`common.errors.error`), error: e });
@@ -12692,14 +12705,14 @@ function AcceptInvitation() {
12692
12705
  });
12693
12706
  const onSubmit = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, async (values) => {
12694
12707
  try {
12695
- if (!_optionalChain([params, 'optionalAccess', _311 => _311.code])) return;
12708
+ if (!_optionalChain([params, 'optionalAccess', _314 => _314.code])) return;
12696
12709
  const payload = {
12697
- code: _optionalChain([params, 'optionalAccess', _312 => _312.code]),
12710
+ code: _optionalChain([params, 'optionalAccess', _315 => _315.code]),
12698
12711
  password: values.password
12699
12712
  };
12700
- await _chunkUYBCHXXLjs.AuthService.acceptInvitation(payload);
12713
+ await _chunk5KQXRLK3js.AuthService.acceptInvitation(payload);
12701
12714
  setShowConfirmation(true);
12702
- _sonner.toast.success(t("auth.account_activated"), {
12715
+ _chunk5KQXRLK3js.showToast.call(void 0, t("auth.account_activated"), {
12703
12716
  description: t("auth.account_activated_description")
12704
12717
  });
12705
12718
  setTimeout(() => {
@@ -12748,7 +12761,6 @@ _chunk7QVYU63Ejs.__name.call(void 0, AcceptInvitation, "AcceptInvitation");
12748
12761
 
12749
12762
 
12750
12763
 
12751
-
12752
12764
  function ActivateAccount() {
12753
12765
  const { setComponentType, params, setParams } = useAuthContext();
12754
12766
  const [showConfirmation, setShowConfirmation] = _react.useState.call(void 0, false);
@@ -12760,10 +12772,10 @@ function ActivateAccount() {
12760
12772
  const payload = {
12761
12773
  activationCode: code
12762
12774
  };
12763
- await _chunkUYBCHXXLjs.AuthService.activate(payload);
12775
+ await _chunk5KQXRLK3js.AuthService.activate(payload);
12764
12776
  setShowConfirmation(true);
12765
12777
  setParams(void 0);
12766
- _sonner.toast.success(t("auth.account_activated"), {
12778
+ _chunk5KQXRLK3js.showToast.call(void 0, t("auth.account_activated"), {
12767
12779
  description: t("auth.account_activated_description")
12768
12780
  });
12769
12781
  setTimeout(() => {
@@ -12798,13 +12810,13 @@ _chunk7QVYU63Ejs.__name.call(void 0, ActivateAccount, "ActivateAccount");
12798
12810
 
12799
12811
  function Cookies({ dehydratedAuth, page }) {
12800
12812
  const { setUser } = useCurrentUserContext();
12801
- const router = _chunkEW6QPMN3js.useI18nRouter.call(void 0, );
12813
+ const router = _chunkOR5NPUWFjs.useI18nRouter.call(void 0, );
12802
12814
  const [hasSaved, setHasSaved] = _react.useState.call(void 0, false);
12803
12815
  _react.useEffect.call(void 0, () => {
12804
12816
  if (hasSaved) return;
12805
12817
  async function saveTokenOnServer() {
12806
- await _chunkUYBCHXXLjs.AuthService.saveToken({ dehydratedAuth });
12807
- const auth = _chunkUYBCHXXLjs.rehydrate.call(void 0, _chunkUYBCHXXLjs.Modules.Auth, dehydratedAuth);
12818
+ await _chunk5KQXRLK3js.AuthService.saveToken({ dehydratedAuth });
12819
+ const auth = _chunk5KQXRLK3js.rehydrate.call(void 0, _chunk5KQXRLK3js.Modules.Auth, dehydratedAuth);
12808
12820
  setUser(auth.user);
12809
12821
  setHasSaved(true);
12810
12822
  if (page) {
@@ -12847,7 +12859,7 @@ function ForgotPassword() {
12847
12859
  const payload = {
12848
12860
  email: values.email
12849
12861
  };
12850
- await _chunkUYBCHXXLjs.AuthService.initialiseForgotPassword(payload);
12862
+ await _chunk5KQXRLK3js.AuthService.initialiseForgotPassword(payload);
12851
12863
  setShowConfirmation(true);
12852
12864
  } catch (e) {
12853
12865
  errorToast({ error: e });
@@ -12902,7 +12914,7 @@ function Login() {
12902
12914
  const { setUser } = useCurrentUserContext();
12903
12915
  const { setComponentType } = useAuthContext();
12904
12916
  const generateUrl = usePageUrlGenerator();
12905
- const router = _chunkEW6QPMN3js.useI18nRouter.call(void 0, );
12917
+ const router = _chunkOR5NPUWFjs.useI18nRouter.call(void 0, );
12906
12918
  const formSchema = _zod3.z.object({
12907
12919
  email: _zod3.z.string().email({
12908
12920
  message: t(`common.errors.invalid_email`)
@@ -12918,7 +12930,7 @@ function Login() {
12918
12930
  });
12919
12931
  const onSubmit = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, async (values) => {
12920
12932
  try {
12921
- const user = await _chunkUYBCHXXLjs.AuthService.login({
12933
+ const user = await _chunk5KQXRLK3js.AuthService.login({
12922
12934
  email: values.email,
12923
12935
  password: values.password
12924
12936
  });
@@ -12940,7 +12952,7 @@ function Login() {
12940
12952
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, CardDescription, { className: "text-sm", children: t(`auth.login_description`) })
12941
12953
  ] }),
12942
12954
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Form, { ...form, children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "form", { onSubmit: form.handleSubmit(onSubmit), children: [
12943
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, CardContent, { children: _chunkEW6QPMN3js.isInternalAuthEnabled.call(void 0, ) && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
12955
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, CardContent, { children: _chunkOR5NPUWFjs.isInternalAuthEnabled.call(void 0, ) && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
12944
12956
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
12945
12957
  FormInput,
12946
12958
  {
@@ -12965,7 +12977,7 @@ function Login() {
12965
12977
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Button, { className: "mt-4 w-full", type: "submit", "data-testid": "form-login-button-submit", children: t(`auth.login`) })
12966
12978
  ] }) }),
12967
12979
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, CardFooter, { className: "flex w-full flex-col gap-y-4 mt-4", children: [
12968
- _chunkEW6QPMN3js.isDiscordAuthEnabled.call(void 0, ) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Link, { href: `${_chunkEW6QPMN3js.getApiUrl.call(void 0, )}auth/discord`, className: "flex w-full justify-end", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Button, { className: "w-full", variant: `outline`, "data-testid": "page-login-button-initial-login", children: "Login with Discord" }) }),
12980
+ _chunkOR5NPUWFjs.isDiscordAuthEnabled.call(void 0, ) && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Link, { href: `${_chunkOR5NPUWFjs.getApiUrl.call(void 0, )}auth/discord`, className: "flex w-full justify-end", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Button, { className: "w-full", variant: `outline`, "data-testid": "page-login-button-initial-login", children: "Login with Discord" }) }),
12969
12981
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full flex-row justify-between", children: [
12970
12982
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
12971
12983
  Link,
@@ -13000,7 +13012,7 @@ function Logout() {
13000
13012
  const generateUrl = usePageUrlGenerator();
13001
13013
  _react.useEffect.call(void 0, () => {
13002
13014
  const logOut = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, async () => {
13003
- await _chunkUYBCHXXLjs.AuthService.logout();
13015
+ await _chunk5KQXRLK3js.AuthService.logout();
13004
13016
  window.location.href = generateUrl({ page: `/` });
13005
13017
  }, "logOut");
13006
13018
  logOut();
@@ -13015,19 +13027,19 @@ _chunk7QVYU63Ejs.__name.call(void 0, Logout, "Logout");
13015
13027
  function RefreshUser() {
13016
13028
  const { setUser } = useCurrentUserContext();
13017
13029
  const loadFullUser = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, async () => {
13018
- const fullUser = await _chunkUYBCHXXLjs.UserService.findFullUser();
13030
+ const fullUser = await _chunk5KQXRLK3js.UserService.findFullUser();
13019
13031
  if (fullUser) {
13020
13032
  setUser(fullUser);
13021
13033
  const token = {
13022
13034
  userId: fullUser.id,
13023
- companyId: _optionalChain([fullUser, 'access', _313 => _313.company, 'optionalAccess', _314 => _314.id]),
13035
+ companyId: _optionalChain([fullUser, 'access', _316 => _316.company, 'optionalAccess', _317 => _317.id]),
13024
13036
  roles: fullUser.roles.map((role) => role.id),
13025
- features: _nullishCoalesce(_optionalChain([fullUser, 'access', _315 => _315.company, 'optionalAccess', _316 => _316.features, 'optionalAccess', _317 => _317.map, 'call', _318 => _318((feature) => feature.id)]), () => ( [])),
13037
+ features: _nullishCoalesce(_optionalChain([fullUser, 'access', _318 => _318.company, 'optionalAccess', _319 => _319.features, 'optionalAccess', _320 => _320.map, 'call', _321 => _321((feature) => feature.id)]), () => ( [])),
13026
13038
  modules: fullUser.modules.map((module) => {
13027
13039
  return { id: module.id, permissions: module.permissions };
13028
13040
  })
13029
13041
  };
13030
- await _optionalChain([_chunkUYBCHXXLjs.getTokenHandler.call(void 0, ), 'optionalAccess', _319 => _319.updateToken, 'call', _320 => _320(token)]);
13042
+ await _optionalChain([_chunk5KQXRLK3js.getTokenHandler.call(void 0, ), 'optionalAccess', _322 => _322.updateToken, 'call', _323 => _323(token)]);
13031
13043
  _cookiesnext.deleteCookie.call(void 0, "reloadData");
13032
13044
  }
13033
13045
  }, "loadFullUser");
@@ -13047,7 +13059,6 @@ _chunk7QVYU63Ejs.__name.call(void 0, RefreshUser, "RefreshUser");
13047
13059
 
13048
13060
 
13049
13061
 
13050
-
13051
13062
  function ResetPassword() {
13052
13063
  const { setComponentType, params, setParams } = useAuthContext();
13053
13064
  const [showConfirmation, setShowConfirmation] = _react.useState.call(void 0, false);
@@ -13059,7 +13070,7 @@ function ResetPassword() {
13059
13070
  const payload = {
13060
13071
  code
13061
13072
  };
13062
- await _chunkUYBCHXXLjs.AuthService.validateCode(payload);
13073
+ await _chunk5KQXRLK3js.AuthService.validateCode(payload);
13063
13074
  } catch (e) {
13064
13075
  setError(e instanceof Error ? e.message : String(e));
13065
13076
  errorToast({ title: t(`common.errors.error`), error: e });
@@ -13092,14 +13103,14 @@ function ResetPassword() {
13092
13103
  });
13093
13104
  const onSubmit = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, async (values) => {
13094
13105
  try {
13095
- if (!_optionalChain([params, 'optionalAccess', _321 => _321.code])) return;
13106
+ if (!_optionalChain([params, 'optionalAccess', _324 => _324.code])) return;
13096
13107
  const payload = {
13097
- code: _optionalChain([params, 'optionalAccess', _322 => _322.code]),
13108
+ code: _optionalChain([params, 'optionalAccess', _325 => _325.code]),
13098
13109
  password: values.password
13099
13110
  };
13100
- await _chunkUYBCHXXLjs.AuthService.resetPassword(payload);
13111
+ await _chunk5KQXRLK3js.AuthService.resetPassword(payload);
13101
13112
  setShowConfirmation(true);
13102
- _sonner.toast.success(t(`auth.reset_success`), {
13113
+ _chunk5KQXRLK3js.showToast.call(void 0, t(`auth.reset_success`), {
13103
13114
  description: t(`auth.reset_success_description`)
13104
13115
  });
13105
13116
  setTimeout(() => {
@@ -13140,12 +13151,12 @@ function ContentsList({ contentList }) {
13140
13151
  _chunk7QVYU63Ejs.__name.call(void 0, ContentsList, "ContentsList");
13141
13152
  function ContentsListElement({ content }) {
13142
13153
  const generateUrl = usePageUrlGenerator();
13143
- const contentModule = content.contentType ? _chunkUYBCHXXLjs.Modules.findByModelName(content.contentType) : void 0;
13154
+ const contentModule = content.contentType ? _chunk5KQXRLK3js.Modules.findByModelName(content.contentType) : void 0;
13144
13155
  const link = contentModule ? generateUrl({ page: contentModule, id: content.id }) : "#";
13145
13156
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "hover:bg-muted flex w-full flex-col gap-y-2 border-b p-2 py-4", children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full justify-between gap-x-2", children: [
13146
13157
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, HoverCard, { children: [
13147
13158
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, HoverCardTrigger, { children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, Link, { href: link, className: "flex w-full items-center justify-start gap-2 font-semibold", children: [
13148
- contentModule && _chunkUYBCHXXLjs.getIconByModule.call(void 0, { module: contentModule, className: "h-4 w-4" }),
13159
+ contentModule && _chunk5KQXRLK3js.getIconByModule.call(void 0, { module: contentModule, className: "h-4 w-4" }),
13149
13160
  content.name
13150
13161
  ] }) }),
13151
13162
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, HoverCardContent, { className: "flex max-h-96 w-96 flex-col gap-y-4 overflow-y-auto", children: [
@@ -13164,8 +13175,8 @@ _chunk7QVYU63Ejs.__name.call(void 0, ContentsListElement, "ContentsListElement")
13164
13175
  function ContentsListById({ contentIds }) {
13165
13176
  const t = _nextintl.useTranslations.call(void 0, );
13166
13177
  const data = useDataListRetriever({
13167
- module: _chunkUYBCHXXLjs.Modules.Content,
13168
- retriever: /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (params) => _chunkUYBCHXXLjs.ContentService.findMany(params), "retriever"),
13178
+ module: _chunk5KQXRLK3js.Modules.Content,
13179
+ retriever: /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (params) => _chunk5KQXRLK3js.ContentService.findMany(params), "retriever"),
13169
13180
  retrieverParams: { contentIds }
13170
13181
  });
13171
13182
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
@@ -13173,7 +13184,7 @@ function ContentsListById({ contentIds }) {
13173
13184
  {
13174
13185
  data,
13175
13186
  fields: ["name" /* name */, "authors" /* authors */, "updatedAt" /* updatedAt */],
13176
- tableGeneratorType: _chunkUYBCHXXLjs.Modules.Content,
13187
+ tableGeneratorType: _chunk5KQXRLK3js.Modules.Content,
13177
13188
  title: t(`common.relevant`)
13178
13189
  }
13179
13190
  );
@@ -13186,8 +13197,8 @@ _chunk7QVYU63Ejs.__name.call(void 0, ContentsListById, "ContentsListById");
13186
13197
  function RelevantContentsList({ id }) {
13187
13198
  const t = _nextintl.useTranslations.call(void 0, );
13188
13199
  const data = useDataListRetriever({
13189
- module: _chunkUYBCHXXLjs.Modules.Content,
13190
- retriever: /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (params) => _chunkUYBCHXXLjs.ContentService.findRelevant(params), "retriever"),
13200
+ module: _chunk5KQXRLK3js.Modules.Content,
13201
+ retriever: /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (params) => _chunk5KQXRLK3js.ContentService.findRelevant(params), "retriever"),
13191
13202
  retrieverParams: { id }
13192
13203
  });
13193
13204
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
@@ -13195,7 +13206,7 @@ function RelevantContentsList({ id }) {
13195
13206
  {
13196
13207
  data,
13197
13208
  fields: ["name" /* name */, "authors" /* authors */, "relevance" /* relevance */, "updatedAt" /* updatedAt */],
13198
- tableGeneratorType: _chunkUYBCHXXLjs.Modules.Content,
13209
+ tableGeneratorType: _chunk5KQXRLK3js.Modules.Content,
13199
13210
  title: t(`common.relevant`)
13200
13211
  }
13201
13212
  );
@@ -13248,12 +13259,12 @@ function NotificationsList({ archived }) {
13248
13259
  const t = _nextintl.useTranslations.call(void 0, );
13249
13260
  const generateUrl = usePageUrlGenerator();
13250
13261
  const data = useDataListRetriever({
13251
- retriever: /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (params) => _chunkUYBCHXXLjs.NotificationService.findMany(params), "retriever"),
13262
+ retriever: /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (params) => _chunk5KQXRLK3js.NotificationService.findMany(params), "retriever"),
13252
13263
  retrieverParams: { isArchived: archived },
13253
- module: _chunkUYBCHXXLjs.Modules.Notification
13264
+ module: _chunk5KQXRLK3js.Modules.Notification
13254
13265
  });
13255
13266
  const archiveNotification = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, async (notification) => {
13256
- await _chunkUYBCHXXLjs.NotificationService.archive({ id: notification.id });
13267
+ await _chunk5KQXRLK3js.NotificationService.archive({ id: notification.id });
13257
13268
  data.removeElement(notification);
13258
13269
  }, "archiveNotification");
13259
13270
  const LoadingSkeleton = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, () => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "space-y-4", children: Array.from({ length: 3 }).map((_, i) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Card, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, CardContent, { className: "p-2", children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full flex-row items-center", children: [
@@ -13264,14 +13275,14 @@ function NotificationsList({ archived }) {
13264
13275
  ] }),
13265
13276
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Skeleton, { className: "h-8 w-20" })
13266
13277
  ] }) }) }, i)) }), "LoadingSkeleton");
13267
- return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "space-y-4", children: data.isLoaded ? _optionalChain([data, 'access', _323 => _323.data, 'optionalAccess', _324 => _324.map, 'call', _325 => _325((notification) => {
13278
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "space-y-4", children: data.isLoaded ? _optionalChain([data, 'access', _326 => _326.data, 'optionalAccess', _327 => _327.map, 'call', _328 => _328((notification) => {
13268
13279
  const notificationData = generateNotificationData({ notification, generateUrl });
13269
13280
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Card, { children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, CardContent, { className: "p-0", children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: `flex w-full flex-row items-center p-2`, children: [
13270
- notificationData.actor ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex w-12 max-w-12 px-2", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Link, { href: generateUrl({ page: _chunkUYBCHXXLjs.Modules.User, id: notificationData.actor.id }), children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, UserAvatar, { user: notificationData.actor, className: "h-8 w-8" }) }) }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex w-14 max-w-14 px-2" }),
13281
+ notificationData.actor ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex w-12 max-w-12 px-2", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Link, { href: generateUrl({ page: _chunk5KQXRLK3js.Modules.User, id: notificationData.actor.id }), children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, UserAvatar, { user: notificationData.actor, className: "h-8 w-8" }) }) }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex w-14 max-w-14 px-2" }),
13271
13282
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full flex-col", children: [
13272
13283
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-sm", children: t.rich(`notification.${notification.notificationType}.description`, {
13273
13284
  strong: /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (chunks) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "strong", { children: chunks }), "strong"),
13274
- actor: _nullishCoalesce(_optionalChain([notificationData, 'access', _326 => _326.actor, 'optionalAccess', _327 => _327.name]), () => ( "")),
13285
+ actor: _nullishCoalesce(_optionalChain([notificationData, 'access', _329 => _329.actor, 'optionalAccess', _330 => _330.name]), () => ( "")),
13275
13286
  title: notificationData.title
13276
13287
  }) }),
13277
13288
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "text-muted-foreground mt-1 w-full text-xs", children: new Date(notification.createdAt).toLocaleString() })
@@ -13337,7 +13348,6 @@ _chunk7QVYU63Ejs.__name.call(void 0, NotificationsListContainer, "NotificationsL
13337
13348
 
13338
13349
 
13339
13350
 
13340
-
13341
13351
  function NotificationModalContent({ isOpen, setIsOpen }) {
13342
13352
  const instanceId = _react.useRef.call(void 0, Math.random().toString(36).substr(2, 9));
13343
13353
  const {
@@ -13411,7 +13421,7 @@ function NotificationModalContent({ isOpen, setIsOpen }) {
13411
13421
  batch.forEach((notification) => {
13412
13422
  addNotification(notification);
13413
13423
  const toastNotification = generateToastNotification(notification, t, generateUrl);
13414
- _sonner.toast.message(toastNotification.title, {
13424
+ _chunk5KQXRLK3js.showToast.call(void 0, toastNotification.title, {
13415
13425
  description: toastNotification.description,
13416
13426
  action: toastNotification.action
13417
13427
  });
@@ -13572,13 +13582,13 @@ function RemoveUserFromRole({ role, user, refresh }) {
13572
13582
  const t = _nextintl.useTranslations.call(void 0, );
13573
13583
  _react.useEffect.call(void 0, () => {
13574
13584
  async function checkCompanyAdminDeletability() {
13575
- const roleUsers = await _chunkUYBCHXXLjs.UserService.findAllUsersByRole({
13585
+ const roleUsers = await _chunk5KQXRLK3js.UserService.findAllUsersByRole({
13576
13586
  roleId: role.id
13577
13587
  });
13578
13588
  if (roleUsers.length > 1) setCanRemove(true);
13579
13589
  }
13580
13590
  _chunk7QVYU63Ejs.__name.call(void 0, checkCompanyAdminDeletability, "checkCompanyAdminDeletability");
13581
- if (role.id !== _chunkEW6QPMN3js.getRoleId.call(void 0, ).CompanyAdministrator) {
13591
+ if (role.id !== _chunkOR5NPUWFjs.getRoleId.call(void 0, ).CompanyAdministrator) {
13582
13592
  setCanRemove(true);
13583
13593
  return;
13584
13594
  }
@@ -13586,7 +13596,7 @@ function RemoveUserFromRole({ role, user, refresh }) {
13586
13596
  }, [role]);
13587
13597
  const remove = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, async () => {
13588
13598
  try {
13589
- await _chunkUYBCHXXLjs.RoleService.removeUserFromRole({
13599
+ await _chunk5KQXRLK3js.RoleService.removeUserFromRole({
13590
13600
  roleId: role.id,
13591
13601
  userId: user.id
13592
13602
  });
@@ -13642,7 +13652,6 @@ _chunk7QVYU63Ejs.__name.call(void 0, RemoveUserFromRole, "RemoveUserFromRole");
13642
13652
 
13643
13653
 
13644
13654
 
13645
-
13646
13655
  function UserRoleAdd({ user, refresh }) {
13647
13656
  const [open, setOpen] = _react.useState.call(void 0, false);
13648
13657
  const inputRef = _react.useRef.call(void 0, null);
@@ -13650,12 +13659,12 @@ function UserRoleAdd({ user, refresh }) {
13650
13659
  const [roles, setRoles] = _react.useState.call(void 0, []);
13651
13660
  const t = _nextintl.useTranslations.call(void 0, );
13652
13661
  const addUserToRole = /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, async (role) => {
13653
- await _chunkUYBCHXXLjs.RoleService.addUserToRole({
13662
+ await _chunk5KQXRLK3js.RoleService.addUserToRole({
13654
13663
  roleId: role.id,
13655
13664
  userId: user.id
13656
13665
  });
13657
13666
  setRoles(roles.filter((u) => u.id !== role.id));
13658
- _sonner.toast.message(
13667
+ _chunk5KQXRLK3js.showToast.call(void 0,
13659
13668
  t(`common.association.label`, {
13660
13669
  source: t(`entities.roles`, { count: 1 }),
13661
13670
  destination: t(`entities.users`, { count: 1 })
@@ -13674,7 +13683,7 @@ function UserRoleAdd({ user, refresh }) {
13674
13683
  const searchRoles = _react.useCallback.call(void 0,
13675
13684
  async (term) => {
13676
13685
  setRoles(
13677
- await _chunkUYBCHXXLjs.RoleService.findAllRolesUserNotIn({
13686
+ await _chunk5KQXRLK3js.RoleService.findAllRolesUserNotIn({
13678
13687
  search: term,
13679
13688
  userId: user.id
13680
13689
  })
@@ -13742,16 +13751,16 @@ _chunk7QVYU63Ejs.__name.call(void 0, UserRoleAdd, "UserRoleAdd");
13742
13751
  function RolesList() {
13743
13752
  const t = _nextintl.useTranslations.call(void 0, );
13744
13753
  const data = useDataListRetriever({
13745
- retriever: /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (params) => _chunkUYBCHXXLjs.RoleService.findAllRoles(params), "retriever"),
13754
+ retriever: /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (params) => _chunk5KQXRLK3js.RoleService.findAllRoles(params), "retriever"),
13746
13755
  retrieverParams: {},
13747
- module: _chunkUYBCHXXLjs.Modules.Role
13756
+ module: _chunk5KQXRLK3js.Modules.Role
13748
13757
  });
13749
13758
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
13750
13759
  ContentListTable,
13751
13760
  {
13752
13761
  data,
13753
13762
  fields: ["name" /* name */, "description" /* description */],
13754
- tableGeneratorType: _chunkUYBCHXXLjs.Modules.Role,
13763
+ tableGeneratorType: _chunk5KQXRLK3js.Modules.Role,
13755
13764
  title: t(`entities.roles`, { count: 2 })
13756
13765
  }
13757
13766
  );
@@ -13764,16 +13773,16 @@ _chunk7QVYU63Ejs.__name.call(void 0, RolesList, "RolesList");
13764
13773
  function UserRolesList({ user }) {
13765
13774
  const t = _nextintl.useTranslations.call(void 0, );
13766
13775
  const data = useDataListRetriever({
13767
- retriever: /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (params) => _chunkUYBCHXXLjs.RoleService.findAllRolesByUser(params), "retriever"),
13776
+ retriever: /* @__PURE__ */ _chunk7QVYU63Ejs.__name.call(void 0, (params) => _chunk5KQXRLK3js.RoleService.findAllRolesByUser(params), "retriever"),
13768
13777
  retrieverParams: { userId: user.id },
13769
- module: _chunkUYBCHXXLjs.Modules.Role
13778
+ module: _chunk5KQXRLK3js.Modules.Role
13770
13779
  });
13771
13780
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
13772
13781
  ContentListTable,
13773
13782
  {
13774
13783
  data,
13775
13784
  fields: ["name" /* name */, "description" /* description */],
13776
- tableGeneratorType: _chunkUYBCHXXLjs.Modules.Role,
13785
+ tableGeneratorType: _chunk5KQXRLK3js.Modules.Role,
13777
13786
  title: t(`entities.roles`, { count: 2 })
13778
13787
  }
13779
13788
  );
@@ -13891,7 +13900,7 @@ _chunk7QVYU63Ejs.__name.call(void 0, OAuthRedirectUriInput, "OAuthRedirectUriInp
13891
13900
  function OAuthScopeSelector({
13892
13901
  value,
13893
13902
  onChange,
13894
- availableScopes = _chunkUYBCHXXLjs.AVAILABLE_OAUTH_SCOPES,
13903
+ availableScopes = _chunk5KQXRLK3js.AVAILABLE_OAUTH_SCOPES,
13895
13904
  disabled = false,
13896
13905
  error,
13897
13906
  label = "Allowed Scopes"
@@ -14166,7 +14175,7 @@ function OAuthClientList({
14166
14175
  OAuthClientCard,
14167
14176
  {
14168
14177
  client,
14169
- onClick: () => _optionalChain([onClientClick, 'optionalCall', _328 => _328(client)]),
14178
+ onClick: () => _optionalChain([onClientClick, 'optionalCall', _331 => _331(client)]),
14170
14179
  onEdit: onEditClick ? () => onEditClick(client) : void 0,
14171
14180
  onDelete: onDeleteClick ? () => onDeleteClick(client) : void 0
14172
14181
  },
@@ -14187,11 +14196,11 @@ function OAuthClientForm({
14187
14196
  }) {
14188
14197
  const isEditMode = !!client;
14189
14198
  const [formState, setFormState] = _react.useState.call(void 0, {
14190
- name: _optionalChain([client, 'optionalAccess', _329 => _329.name]) || "",
14191
- description: _optionalChain([client, 'optionalAccess', _330 => _330.description]) || "",
14192
- redirectUris: _optionalChain([client, 'optionalAccess', _331 => _331.redirectUris, 'optionalAccess', _332 => _332.length]) ? client.redirectUris : [""],
14193
- allowedScopes: _optionalChain([client, 'optionalAccess', _333 => _333.allowedScopes]) || [],
14194
- isConfidential: _nullishCoalesce(_optionalChain([client, 'optionalAccess', _334 => _334.isConfidential]), () => ( true))
14199
+ name: _optionalChain([client, 'optionalAccess', _332 => _332.name]) || "",
14200
+ description: _optionalChain([client, 'optionalAccess', _333 => _333.description]) || "",
14201
+ redirectUris: _optionalChain([client, 'optionalAccess', _334 => _334.redirectUris, 'optionalAccess', _335 => _335.length]) ? client.redirectUris : [""],
14202
+ allowedScopes: _optionalChain([client, 'optionalAccess', _336 => _336.allowedScopes]) || [],
14203
+ isConfidential: _nullishCoalesce(_optionalChain([client, 'optionalAccess', _337 => _337.isConfidential]), () => ( true))
14195
14204
  });
14196
14205
  const [errors, setErrors] = _react.useState.call(void 0, {});
14197
14206
  const validate = _react.useCallback.call(void 0, () => {
@@ -14218,7 +14227,7 @@ function OAuthClientForm({
14218
14227
  description: formState.description.trim() || void 0,
14219
14228
  redirectUris: formState.redirectUris.filter((uri) => uri.trim()),
14220
14229
  allowedScopes: formState.allowedScopes,
14221
- allowedGrantTypes: _chunkUYBCHXXLjs.DEFAULT_GRANT_TYPES,
14230
+ allowedGrantTypes: _chunk5KQXRLK3js.DEFAULT_GRANT_TYPES,
14222
14231
  isConfidential: formState.isConfidential
14223
14232
  };
14224
14233
  await onSubmit(data);
@@ -14419,7 +14428,7 @@ function OAuthClientDetail({
14419
14428
  ] }),
14420
14429
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-2", children: [
14421
14430
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Label, { children: "Allowed Scopes" }),
14422
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex flex-wrap gap-2", children: client.allowedScopes.map((scope) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Badge, { variant: "secondary", children: _optionalChain([_chunkUYBCHXXLjs.OAUTH_SCOPE_DISPLAY, 'access', _335 => _335[scope], 'optionalAccess', _336 => _336.name]) || scope }, scope)) })
14431
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "flex flex-wrap gap-2", children: client.allowedScopes.map((scope) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Badge, { variant: "secondary", children: _optionalChain([_chunk5KQXRLK3js.OAUTH_SCOPE_DISPLAY, 'access', _338 => _338[scope], 'optionalAccess', _339 => _339.name]) || scope }, scope)) })
14423
14432
  ] }),
14424
14433
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-2", children: [
14425
14434
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Label, { children: "Grant Types" }),
@@ -14620,7 +14629,7 @@ function OAuthConsentScreen({
14620
14629
  if (error || !clientInfo) {
14621
14630
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "min-h-screen flex items-center justify-center p-4", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Card, { className: "w-full max-w-md", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, CardContent, { className: "py-8", children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, Alert, { variant: "destructive", children: [
14622
14631
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.AlertTriangle, { className: "h-4 w-4" }),
14623
- /* @__PURE__ */ _jsxruntime.jsx.call(void 0, AlertDescription, { children: _optionalChain([error, 'optionalAccess', _337 => _337.message]) || "Invalid authorization request. Please try again." })
14632
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, AlertDescription, { children: _optionalChain([error, 'optionalAccess', _340 => _340.message]) || "Invalid authorization request. Please try again." })
14624
14633
  ] }) }) }) });
14625
14634
  }
14626
14635
  const { client, scopes } = clientInfo;
@@ -15084,4 +15093,4 @@ _chunk7QVYU63Ejs.__name.call(void 0, OAuthConsentScreen, "OAuthConsentScreen");
15084
15093
 
15085
15094
 
15086
15095
  exports.JsonApiProvider = JsonApiProvider; exports.useJsonApiGet = useJsonApiGet; exports.useJsonApiMutation = useJsonApiMutation; exports.useRehydration = useRehydration; exports.useRehydrationList = useRehydrationList; exports.TableGeneratorRegistry = TableGeneratorRegistry; exports.tableGeneratorRegistry = tableGeneratorRegistry; exports.usePageUrlGenerator = usePageUrlGenerator; exports.useUrlRewriter = useUrlRewriter; exports.useDataListRetriever = useDataListRetriever; exports.useDebounce = useDebounce; exports.registerTableGenerator = registerTableGenerator; exports.useTableGenerator = useTableGenerator; exports.useCustomD3Graph = useCustomD3Graph; exports.SocketContext = SocketContext; exports.SocketProvider = SocketProvider; exports.useSocketContext = useSocketContext; exports.CurrentUserProvider = CurrentUserProvider; exports.useCurrentUserContext = useCurrentUserContext; exports.HeaderChildrenProvider = HeaderChildrenProvider; exports.useHeaderChildren = useHeaderChildren; exports.Accordion = Accordion; exports.AccordionItem = AccordionItem; exports.AccordionTrigger = AccordionTrigger; exports.AccordionContent = AccordionContent; exports.Alert = Alert; exports.AlertTitle = AlertTitle; exports.AlertDescription = AlertDescription; exports.AlertAction = AlertAction; exports.buttonVariants = buttonVariants; exports.Button = Button; exports.AlertDialog = AlertDialog; exports.AlertDialogTrigger = AlertDialogTrigger; exports.AlertDialogPortal = AlertDialogPortal; exports.AlertDialogOverlay = AlertDialogOverlay; exports.AlertDialogContent = AlertDialogContent; exports.AlertDialogHeader = AlertDialogHeader; exports.AlertDialogFooter = AlertDialogFooter; exports.AlertDialogMedia = AlertDialogMedia; exports.AlertDialogTitle = AlertDialogTitle; exports.AlertDialogDescription = AlertDialogDescription; exports.AlertDialogAction = AlertDialogAction; exports.AlertDialogCancel = AlertDialogCancel; exports.Avatar = Avatar; exports.AvatarImage = AvatarImage; exports.AvatarFallback = AvatarFallback; exports.AvatarBadge = AvatarBadge; exports.AvatarGroup = AvatarGroup; exports.AvatarGroupCount = AvatarGroupCount; exports.badgeVariants = badgeVariants; exports.Badge = Badge; exports.Breadcrumb = Breadcrumb; exports.BreadcrumbList = BreadcrumbList; exports.BreadcrumbItem = BreadcrumbItem; exports.BreadcrumbLink = BreadcrumbLink; exports.BreadcrumbPage = BreadcrumbPage; exports.BreadcrumbSeparator = BreadcrumbSeparator; exports.BreadcrumbEllipsis = BreadcrumbEllipsis; exports.Calendar = Calendar; exports.CalendarDayButton = CalendarDayButton; exports.Card = Card; exports.CardHeader = CardHeader; exports.CardTitle = CardTitle; exports.CardDescription = CardDescription; exports.CardAction = CardAction; exports.CardContent = CardContent; exports.CardFooter = CardFooter; exports.useCarousel = useCarousel; exports.Carousel = Carousel; exports.CarouselContent = CarouselContent; exports.CarouselItem = CarouselItem; exports.CarouselPrevious = CarouselPrevious; exports.CarouselNext = CarouselNext; exports.ChartContainer = ChartContainer; exports.ChartStyle = ChartStyle; exports.ChartTooltip = ChartTooltip; exports.ChartTooltipContent = ChartTooltipContent; exports.ChartLegend = ChartLegend; exports.ChartLegendContent = ChartLegendContent; exports.Checkbox = Checkbox; exports.Collapsible = Collapsible; exports.CollapsibleTrigger = CollapsibleTrigger; exports.CollapsibleContent = CollapsibleContent; exports.Dialog = Dialog; exports.DialogTrigger = DialogTrigger; exports.DialogPortal = DialogPortal; exports.DialogClose = DialogClose; exports.DialogOverlay = DialogOverlay; exports.DialogContent = DialogContent; exports.DialogHeader = DialogHeader; exports.DialogFooter = DialogFooter; exports.DialogTitle = DialogTitle; exports.DialogDescription = DialogDescription; exports.Input = Input; exports.Textarea = Textarea; exports.InputGroup = InputGroup; exports.InputGroupAddon = InputGroupAddon; exports.InputGroupButton = InputGroupButton; exports.InputGroupText = InputGroupText; exports.InputGroupInput = InputGroupInput; exports.InputGroupTextarea = InputGroupTextarea; exports.Command = Command; exports.CommandDialog = CommandDialog; exports.CommandInput = CommandInput; exports.CommandList = CommandList; exports.CommandEmpty = CommandEmpty; exports.CommandGroup = CommandGroup; exports.CommandSeparator = CommandSeparator; exports.CommandItem = CommandItem; exports.CommandShortcut = CommandShortcut; exports.ContextMenu = ContextMenu; exports.ContextMenuPortal = ContextMenuPortal; exports.ContextMenuTrigger = ContextMenuTrigger; exports.ContextMenuContent = ContextMenuContent; exports.ContextMenuGroup = ContextMenuGroup; exports.ContextMenuLabel = ContextMenuLabel; exports.ContextMenuItem = ContextMenuItem; exports.ContextMenuSub = ContextMenuSub; exports.ContextMenuSubTrigger = ContextMenuSubTrigger; exports.ContextMenuSubContent = ContextMenuSubContent; exports.ContextMenuCheckboxItem = ContextMenuCheckboxItem; exports.ContextMenuRadioGroup = ContextMenuRadioGroup; exports.ContextMenuRadioItem = ContextMenuRadioItem; exports.ContextMenuSeparator = ContextMenuSeparator; exports.ContextMenuShortcut = ContextMenuShortcut; exports.Drawer = Drawer; exports.DrawerTrigger = DrawerTrigger; exports.DrawerPortal = DrawerPortal; exports.DrawerClose = DrawerClose; exports.DrawerOverlay = DrawerOverlay; exports.DrawerContent = DrawerContent; exports.DrawerHeader = DrawerHeader; exports.DrawerFooter = DrawerFooter; exports.DrawerTitle = DrawerTitle; exports.DrawerDescription = DrawerDescription; exports.DropdownMenu = DropdownMenu; exports.DropdownMenuPortal = DropdownMenuPortal; exports.DropdownMenuTrigger = DropdownMenuTrigger; exports.DropdownMenuContent = DropdownMenuContent; exports.DropdownMenuGroup = DropdownMenuGroup; exports.DropdownMenuLabel = DropdownMenuLabel; exports.DropdownMenuItem = DropdownMenuItem; exports.DropdownMenuSub = DropdownMenuSub; exports.DropdownMenuSubTrigger = DropdownMenuSubTrigger; exports.DropdownMenuSubContent = DropdownMenuSubContent; exports.DropdownMenuCheckboxItem = DropdownMenuCheckboxItem; exports.DropdownMenuRadioGroup = DropdownMenuRadioGroup; exports.DropdownMenuRadioItem = DropdownMenuRadioItem; exports.DropdownMenuSeparator = DropdownMenuSeparator; exports.DropdownMenuShortcut = DropdownMenuShortcut; exports.Label = Label; exports.Separator = Separator; exports.FieldSet = FieldSet; exports.FieldLegend = FieldLegend; exports.FieldGroup = FieldGroup; exports.Field = Field; exports.FieldContent = FieldContent; exports.FieldLabel = FieldLabel; exports.FieldTitle = FieldTitle; exports.FieldDescription = FieldDescription; exports.FieldSeparator = FieldSeparator; exports.FieldError = FieldError; exports.Form = Form; exports.HoverCard = HoverCard; exports.HoverCardTrigger = HoverCardTrigger; exports.HoverCardContent = HoverCardContent; exports.InputOTP = InputOTP; exports.InputOTPGroup = InputOTPGroup; exports.InputOTPSlot = InputOTPSlot; exports.InputOTPSeparator = InputOTPSeparator; exports.NavigationMenu = NavigationMenu; exports.NavigationMenuList = NavigationMenuList; exports.NavigationMenuItem = NavigationMenuItem; exports.navigationMenuTriggerStyle = navigationMenuTriggerStyle; exports.NavigationMenuTrigger = NavigationMenuTrigger; exports.NavigationMenuContent = NavigationMenuContent; exports.NavigationMenuPositioner = NavigationMenuPositioner; exports.NavigationMenuLink = NavigationMenuLink; exports.NavigationMenuIndicator = NavigationMenuIndicator; exports.Popover = Popover; exports.PopoverTrigger = PopoverTrigger; exports.PopoverContent = PopoverContent; exports.PopoverHeader = PopoverHeader; exports.PopoverTitle = PopoverTitle; exports.PopoverDescription = PopoverDescription; exports.Progress = Progress; exports.ProgressTrack = ProgressTrack; exports.ProgressIndicator = ProgressIndicator; exports.ProgressLabel = ProgressLabel; exports.ProgressValue = ProgressValue; exports.RadioGroup = RadioGroup; exports.RadioGroupItem = RadioGroupItem; exports.ResizablePanelGroup = ResizablePanelGroup; exports.ResizablePanel = ResizablePanel; exports.ResizableHandle = ResizableHandle; exports.ScrollArea = ScrollArea; exports.ScrollBar = ScrollBar; exports.Select = Select; exports.SelectGroup = SelectGroup; exports.SelectValue = SelectValue; exports.SelectTrigger = SelectTrigger; exports.SelectContent = SelectContent; exports.SelectLabel = SelectLabel; exports.SelectItem = SelectItem; exports.SelectSeparator = SelectSeparator; exports.SelectScrollUpButton = SelectScrollUpButton; exports.SelectScrollDownButton = SelectScrollDownButton; exports.Sheet = Sheet; exports.SheetTrigger = SheetTrigger; exports.SheetClose = SheetClose; exports.SheetContent = SheetContent; exports.SheetHeader = SheetHeader; exports.SheetFooter = SheetFooter; exports.SheetTitle = SheetTitle; exports.SheetDescription = SheetDescription; exports.Skeleton = Skeleton; exports.TooltipProvider = TooltipProvider; exports.Tooltip = Tooltip2; exports.TooltipTrigger = TooltipTrigger; exports.TooltipContent = TooltipContent; exports.useSidebar = useSidebar; exports.SidebarProvider = SidebarProvider; exports.Sidebar = Sidebar; exports.SidebarTrigger = SidebarTrigger; exports.SidebarRail = SidebarRail; exports.SidebarInset = SidebarInset; exports.SidebarInput = SidebarInput; exports.SidebarHeader = SidebarHeader; exports.SidebarFooter = SidebarFooter; exports.SidebarSeparator = SidebarSeparator; exports.SidebarContent = SidebarContent; exports.SidebarGroup = SidebarGroup; exports.SidebarGroupLabel = SidebarGroupLabel; exports.SidebarGroupAction = SidebarGroupAction; exports.SidebarGroupContent = SidebarGroupContent; exports.SidebarMenu = SidebarMenu; exports.SidebarMenuItem = SidebarMenuItem; exports.SidebarMenuButton = SidebarMenuButton; exports.SidebarMenuAction = SidebarMenuAction; exports.SidebarMenuBadge = SidebarMenuBadge; exports.SidebarMenuSkeleton = SidebarMenuSkeleton; exports.SidebarMenuSub = SidebarMenuSub; exports.SidebarMenuSubItem = SidebarMenuSubItem; exports.SidebarMenuSubButton = SidebarMenuSubButton; exports.Slider = Slider; exports.Toaster = Toaster; exports.Switch = Switch; exports.Table = Table; exports.TableHeader = TableHeader; exports.TableBody = TableBody; exports.TableFooter = TableFooter; exports.TableRow = TableRow; exports.TableHead = TableHead; exports.TableCell = TableCell; exports.TableCaption = TableCaption; exports.Tabs = Tabs; exports.tabsListVariants = tabsListVariants; exports.TabsList = TabsList; exports.TabsTrigger = TabsTrigger; exports.TabsContent = TabsContent; exports.toggleVariants = toggleVariants; exports.Toggle = Toggle; exports.KanbanRoot = KanbanRoot; exports.KanbanBoard = KanbanBoard; exports.KanbanColumn = KanbanColumn; exports.KanbanColumnHandle = KanbanColumnHandle; exports.KanbanItem = KanbanItem; exports.KanbanItemHandle = KanbanItemHandle; exports.KanbanOverlay = KanbanOverlay; exports.Link = Link; exports.MultiSelect = MultiSelect; exports.BreadcrumbNavigation = BreadcrumbNavigation; exports.ContentTitle = ContentTitle; exports.SharedProvider = SharedProvider; exports.useSharedContext = useSharedContext; exports.CompanyDetails = CompanyDetails; exports.TokenStatusIndicator = TokenStatusIndicator; exports.Header = Header; exports.ModeToggleSwitch = ModeToggleSwitch; exports.PageSection = PageSection; exports.recentPagesAtom = recentPagesAtom; exports.RecentPagesNavigator = RecentPagesNavigator; exports.PageContainer = PageContainer; exports.ReactMarkdownContainer = ReactMarkdownContainer; exports.TabsContainer = TabsContainer; exports.AttributeElement = AttributeElement; exports.UserDetails = UserDetails; exports.UserAvatar = UserAvatar; exports.UserIndexDetails = UserIndexDetails; exports.UserContainer = UserContainer; exports.UserIndexContainer = UserIndexContainer; exports.UsersListContainer = UsersListContainer; exports.AdminUsersList = AdminUsersList; exports.CompanyUsersList = CompanyUsersList; exports.ContributorsList = ContributorsList; exports.RelevantUsersList = RelevantUsersList; exports.RoleUsersList = RoleUsersList; exports.UserListInAdd = UserListInAdd; exports.UsersList = UsersList; exports.UsersListByContentIds = UsersListByContentIds; exports.AllowedUsersDetails = AllowedUsersDetails; exports.ErrorDetails = ErrorDetails; exports.errorToast = errorToast; exports.BlockNoteEditorContainer = BlockNoteEditorContainer; exports.CommonAssociationTrigger = CommonAssociationTrigger; exports.CommonAssociationCommandDialog = CommonAssociationCommandDialog; exports.triggerAssociationToast = triggerAssociationToast; exports.CommonDeleter = CommonDeleter; exports.CommonEditorButtons = CommonEditorButtons; exports.CommonEditorHeader = CommonEditorHeader; exports.CommonEditorTrigger = CommonEditorTrigger; exports.DatePickerPopover = DatePickerPopover; exports.DateRangeSelector = DateRangeSelector; exports.useFileUpload = useFileUpload; exports.FileUploader = FileUploader; exports.FileUploaderContent = FileUploaderContent; exports.FileUploaderItem = FileUploaderItem; exports.FileInput = FileInput; exports.FormFieldWrapper = FormFieldWrapper; exports.FormCheckbox = FormCheckbox; exports.FormDate = FormDate; exports.FormDateTime = FormDateTime; exports.FormInput = FormInput; exports.PasswordInput = PasswordInput; exports.FormPassword = FormPassword; exports.FormPlaceAutocomplete = FormPlaceAutocomplete; exports.FormSelect = FormSelect; exports.FormSlider = FormSlider; exports.FormSwitch = FormSwitch; exports.FormTextarea = FormTextarea; exports.FormFeatures = FormFeatures; exports.PageContainerContentDetails = PageContainerContentDetails; exports.PageContentContainer = PageContentContainer; exports.cellComponent = cellComponent; exports.cellDate = cellDate; exports.cellId = cellId; exports.cellLink = cellLink; exports.cellUrl = cellUrl; exports.ContentTableSearch = ContentTableSearch; exports.ContentListTable = ContentListTable; exports.AuthContainer = AuthContainer; exports.LandingComponent = LandingComponent; exports.AcceptInvitation = AcceptInvitation; exports.ActivateAccount = ActivateAccount; exports.Cookies = Cookies; exports.ForgotPassword = ForgotPassword; exports.Login = Login; exports.Logout = Logout; exports.RefreshUser = RefreshUser; exports.ResetPassword = ResetPassword; exports.AdminCompanyContainer = AdminCompanyContainer; exports.CompanyContainer = CompanyContainer; exports.CompanyConfigurationSecurityForm = CompanyConfigurationSecurityForm; exports.CompanyConfigurationEditor = CompanyConfigurationEditor; exports.CompanyDeleter = CompanyDeleter; exports.CompanyEditor = CompanyEditor; exports.CompaniesList = CompaniesList; exports.ContentsList = ContentsList; exports.ContentsListById = ContentsListById; exports.RelevantContentsList = RelevantContentsList; exports.NotificationErrorBoundary = NotificationErrorBoundary; exports.generateNotificationData = generateNotificationData; exports.NotificationToast = NotificationToast; exports.NotificationMenuItem = NotificationMenuItem; exports.NotificationContextProvider = NotificationContextProvider; exports.useNotificationContext = useNotificationContext; exports.NotificationsList = NotificationsList; exports.NotificationsListContainer = NotificationsListContainer; exports.NotificationModal = NotificationModal; exports.PushNotificationProvider = PushNotificationProvider; exports.RoleProvider = RoleProvider; exports.useRoleContext = useRoleContext; exports.RoleDetails = RoleDetails; exports.RoleContainer = RoleContainer; exports.FormRoles = FormRoles; exports.RemoveUserFromRole = RemoveUserFromRole; exports.UserRoleAdd = UserRoleAdd; exports.useRoleTableStructure = useRoleTableStructure; exports.RolesList = RolesList; exports.UserRolesList = UserRolesList; exports.OAuthRedirectUriInput = OAuthRedirectUriInput; exports.OAuthScopeSelector = OAuthScopeSelector; exports.OAuthClientSecretDisplay = OAuthClientSecretDisplay; exports.OAuthClientCard = OAuthClientCard; exports.OAuthClientList = OAuthClientList; exports.OAuthClientForm = OAuthClientForm; exports.OAuthClientDetail = OAuthClientDetail; exports.OAuthConsentHeader = OAuthConsentHeader; exports.OAuthScopeList = OAuthScopeList; exports.OAuthConsentActions = OAuthConsentActions; exports.useOAuthConsent = useOAuthConsent; exports.OAuthConsentScreen = OAuthConsentScreen; exports.AddUserToRole = AddUserToRole; exports.UserAvatarEditor = UserAvatarEditor; exports.UserDeleter = UserDeleter; exports.UserEditor = UserEditor; exports.UserMultiSelect = UserMultiSelect; exports.UserReactivator = UserReactivator; exports.UserResentInvitationEmail = UserResentInvitationEmail; exports.UserSelector = UserSelector; exports.UserProvider = UserProvider; exports.useUserContext = useUserContext; exports.CompanyProvider = CompanyProvider; exports.useCompanyContext = useCompanyContext; exports.CommonProvider = CommonProvider; exports.useCommonContext = useCommonContext; exports.useNotificationSync = useNotificationSync; exports.usePageTracker = usePageTracker; exports.useSocket = useSocket; exports.useSubscriptionStatus = useSubscriptionStatus; exports.useUserSearch = useUserSearch; exports.useUserTableStructure = useUserTableStructure; exports.useContentTableStructure = useContentTableStructure; exports.useOAuthClients = useOAuthClients; exports.useOAuthClient = useOAuthClient;
15087
- //# sourceMappingURL=chunk-ALGMJ4JS.js.map
15096
+ //# sourceMappingURL=chunk-CWRYS2F3.js.map