@altinn/altinn-components 0.68.7 → 0.68.9

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 (199) hide show
  1. package/README.md +3 -0
  2. package/dist/{ToolbarSearch-CX_woN0c.js → ToolbarSearch-BtCd0Qph.js} +566 -572
  3. package/dist/assets/LayoutContent.css +1 -1
  4. package/dist/assets/ToolbarSearch.css +1 -1
  5. package/dist/components/AccessAreaListItem/AccessAreaListItem.js +1 -1
  6. package/dist/components/AccessPackageListItem/AccessPackageListItem.js +1 -1
  7. package/dist/components/Account/AccountList.js +1 -1
  8. package/dist/components/Account/AccountListItem.js +1 -1
  9. package/dist/components/Account/AccountListItemControls.js +1 -1
  10. package/dist/components/Account/AccountListItemDetails.js +1 -1
  11. package/dist/components/Account/AccountListVirtual.js +1 -1
  12. package/dist/components/Account/AccountMenu.js +1 -1
  13. package/dist/components/Account/AccountNotificationSettings.js +1 -1
  14. package/dist/components/Account/AccountOrganization.js +1 -1
  15. package/dist/components/AccountSelector/AccountSelector.js +1 -1
  16. package/dist/components/ActivityLog/ActivityLog.js +1 -1
  17. package/dist/components/ActivityLog/ActivityLogItem.js +1 -1
  18. package/dist/components/ActivityLog/ActivityLogSegment.js +1 -1
  19. package/dist/components/Alert/Alert.js +1 -1
  20. package/dist/components/Article/Article.js +1 -1
  21. package/dist/components/Article/ArticleContact.js +1 -1
  22. package/dist/components/Article/ArticleHeader.js +1 -1
  23. package/dist/components/Attachment/AttachmentLink.js +1 -1
  24. package/dist/components/AuthEvidence/AuthEvidence.js +1 -1
  25. package/dist/components/AuthEvidence/AuthEvidenceItem.js +1 -1
  26. package/dist/components/AuthEvidence/AuthEvidenceOwner.js +1 -1
  27. package/dist/components/AuthEvidence/AuthEvidenceParent.js +1 -1
  28. package/dist/components/AuthEvidence/AuthEvidenceService.js +1 -1
  29. package/dist/components/Badge/Badge.js +1 -1
  30. package/dist/components/Badge/index.js +1 -1
  31. package/dist/components/Banner/Banner.js +1 -1
  32. package/dist/components/Bookmarks/BookmarkModal.js +1 -1
  33. package/dist/components/Bookmarks/BookmarkSettingsItem.js +1 -1
  34. package/dist/components/Bookmarks/BookmarkSettingsItemLabel.js +1 -1
  35. package/dist/components/Bookmarks/BookmarkSettingsList.js +1 -1
  36. package/dist/components/Breadcrumbs/Breadcrumbs.js +1 -1
  37. package/dist/components/Bulk/BulkHeader.js +1 -1
  38. package/dist/components/Button/ButtonIcon.js +1 -1
  39. package/dist/components/Button/ComboButton.js +1 -1
  40. package/dist/components/Button/FloatingActionButton.js +1 -1
  41. package/dist/components/Button/IconButton.js +1 -1
  42. package/dist/components/Byline/Byline.js +1 -1
  43. package/dist/components/Byline/index.js +1 -1
  44. package/dist/components/ContextMenu/ContextMenu.js +1 -1
  45. package/dist/components/Dashboard/DashboardCard.js +1 -1
  46. package/dist/components/Dashboard/DashboardHeader.js +1 -1
  47. package/dist/components/Datepicker/Datepicker.js +1 -1
  48. package/dist/components/Datepicker/DatepickerHeader.js +1 -1
  49. package/dist/components/Datepicker/DatepickerTable.js +1 -1
  50. package/dist/components/Dialog/Dialog.js +1 -1
  51. package/dist/components/Dialog/DialogActions.js +1 -1
  52. package/dist/components/Dialog/DialogActivityLog.js +1 -1
  53. package/dist/components/Dialog/DialogAttachments.js +1 -1
  54. package/dist/components/Dialog/DialogBody.js +1 -1
  55. package/dist/components/Dialog/DialogByline.js +1 -1
  56. package/dist/components/Dialog/DialogContact.js +1 -1
  57. package/dist/components/Dialog/DialogHeader.js +21 -25
  58. package/dist/components/Dialog/DialogHistory.js +1 -1
  59. package/dist/components/Dialog/DialogHistoryItem.js +1 -1
  60. package/dist/components/Dialog/DialogHistorySegment.js +1 -1
  61. package/dist/components/Dialog/DialogLayout.js +1 -1
  62. package/dist/components/Dialog/DialogList.js +1 -1
  63. package/dist/components/Dialog/DialogListItem.js +1 -1
  64. package/dist/components/Dialog/DialogMetadata.js +1 -1
  65. package/dist/components/Dialog/DialogSection.js +1 -1
  66. package/dist/components/Dialog/DialogSeenBy.js +1 -1
  67. package/dist/components/Dialog/DialogSelect.js +1 -1
  68. package/dist/components/Dialog/DialogStatus.js +1 -1
  69. package/dist/components/Dialog/DialogTabs.js +1 -1
  70. package/dist/components/Dialog/SeenByLog.js +1 -1
  71. package/dist/components/Dialog/SeenByLogButton.js +1 -1
  72. package/dist/components/Dialog/SeenByLogItem.js +1 -1
  73. package/dist/components/Dialog/index.js +1 -1
  74. package/dist/components/Dropdown/DrawerButton.js +1 -1
  75. package/dist/components/Dropdown/DrawerHeader.js +1 -1
  76. package/dist/components/Dropdown/Dropdown.js +1 -1
  77. package/dist/components/Dropdown/DropdownBase.js +1 -1
  78. package/dist/components/Dropdown/FloatingDropdown.js +1 -1
  79. package/dist/components/Dropdown/index.js +1 -1
  80. package/dist/components/Forms/Checkbox.js +1 -1
  81. package/dist/components/Forms/CheckboxOptions.js +1 -1
  82. package/dist/components/Forms/FieldBase.js +1 -1
  83. package/dist/components/Forms/FieldsetBase.js +1 -1
  84. package/dist/components/Forms/Radio.js +1 -1
  85. package/dist/components/Forms/RadioOptions.js +1 -1
  86. package/dist/components/Forms/SearchField.js +1 -1
  87. package/dist/components/Forms/SelectField.js +1 -1
  88. package/dist/components/Forms/Switch.js +1 -1
  89. package/dist/components/Forms/SwitchOptions.js +1 -1
  90. package/dist/components/Forms/TextField.js +1 -1
  91. package/dist/components/Forms/TextFieldDropdown.js +1 -1
  92. package/dist/components/Forms/TextareaField.js +1 -1
  93. package/dist/components/Forms/index.js +1 -1
  94. package/dist/components/GlobalHeader/GlobalAccountButton.js +1 -1
  95. package/dist/components/GlobalHeader/GlobalHeader.js +1 -1
  96. package/dist/components/GlobalHeader/GlobalMenuButton.js +1 -1
  97. package/dist/components/GlobalHeader/HeaderDrawer.js +1 -1
  98. package/dist/components/GlobalHeader/HeaderDropdown.js +1 -1
  99. package/dist/components/GlobalHeader/HeaderLogo.js +1 -1
  100. package/dist/components/GlobalMenu/GlobalMenu.js +1 -1
  101. package/dist/components/GlobalMenu/LocaleSwitcher.js +1 -1
  102. package/dist/components/GlobalMenu/LogoutButton.js +1 -1
  103. package/dist/components/Icon/Icon.js +1 -1
  104. package/dist/components/Icon/index.js +1 -1
  105. package/dist/components/Inbox/InboxPage.js +1 -1
  106. package/dist/components/InboxSearch/InboxSearch.js +1 -1
  107. package/dist/components/Item/ItemLabel.js +1 -1
  108. package/dist/components/Item/ItemMedia.js +1 -1
  109. package/dist/components/Item/ItemSelect.js +1 -1
  110. package/dist/components/Item/index.js +1 -1
  111. package/dist/components/Layout/Layout.js +1 -1
  112. package/dist/components/Layout/LayoutContent.js +1 -1
  113. package/dist/components/List/List.js +1 -1
  114. package/dist/components/List/ListBase.js +1 -1
  115. package/dist/components/List/ListItemHeader.js +1 -1
  116. package/dist/components/List/ListItemIcon.js +1 -1
  117. package/dist/components/List/ListItemLabel.js +1 -1
  118. package/dist/components/Menu/Menu.js +1 -1
  119. package/dist/components/Menu/MenuItem.js +1 -1
  120. package/dist/components/Menu/MenuItems.js +1 -1
  121. package/dist/components/Menu/MenuListSearch.js +1 -1
  122. package/dist/components/Menu/MenuOption.js +1 -1
  123. package/dist/components/Menu/TabMenu.js +1 -1
  124. package/dist/components/Menu/VirtualizedMenuItems.js +1 -1
  125. package/dist/components/Menu/index.js +1 -1
  126. package/dist/components/Menu/useMenuSearch.js +1 -1
  127. package/dist/components/Metadata/MetaItem.js +1 -1
  128. package/dist/components/Metadata/MetaItemIcon.js +1 -1
  129. package/dist/components/Metadata/MetaTimestamp.js +1 -1
  130. package/dist/components/Metadata/Metadata.js +1 -1
  131. package/dist/components/Metadata/index.js +1 -1
  132. package/dist/components/Modal/Modal.js +1 -1
  133. package/dist/components/Modal/ModalBase.js +1 -1
  134. package/dist/components/Modal/ModalHeader.js +1 -1
  135. package/dist/components/Modal/ModalIcon.js +1 -1
  136. package/dist/components/Notifications/NotificationItem.js +1 -1
  137. package/dist/components/Notifications/NotificationItemBase.js +1 -1
  138. package/dist/components/Notifications/NotificationItemControls.js +1 -1
  139. package/dist/components/Notifications/NotificationItemIcon.js +1 -1
  140. package/dist/components/Page/AccordionSection.js +1 -1
  141. package/dist/components/Page/ContactButtons.js +1 -1
  142. package/dist/components/Page/ContactSection.js +1 -1
  143. package/dist/components/Page/PageMenu.js +1 -1
  144. package/dist/components/Page/PageNav.js +1 -1
  145. package/dist/components/Page/Section.js +1 -1
  146. package/dist/components/Pagination/Pagination.js +1 -1
  147. package/dist/components/ResourceListItem/ResourceListItem.js +1 -1
  148. package/dist/components/RootProvider/RootProvider.js +1 -1
  149. package/dist/components/RootProvider/index.js +1 -1
  150. package/dist/components/Search/SearchItem.js +1 -1
  151. package/dist/components/Searchbar/Autocomplete.js +1 -1
  152. package/dist/components/Searchbar/AutocompleteItem.js +1 -1
  153. package/dist/components/Searchbar/Searchbar.js +1 -1
  154. package/dist/components/Searchbar/SearchbarField.js +1 -1
  155. package/dist/components/Settings/SettingsItem.js +1 -1
  156. package/dist/components/Settings/SettingsItemBase.js +1 -1
  157. package/dist/components/Settings/SettingsList.js +1 -1
  158. package/dist/components/Settings/SettingsListVirtual.js +1 -1
  159. package/dist/components/Settings/SettingsModal.js +1 -1
  160. package/dist/components/Settings/SettingsSection.js +1 -1
  161. package/dist/components/Settings/UsedByLog.js +1 -1
  162. package/dist/components/Settings/UsedByLogItem.js +1 -1
  163. package/dist/components/Snackbar/Snackbar.js +1 -1
  164. package/dist/components/Snackbar/SnackbarItem.js +1 -1
  165. package/dist/components/Snackbar/index.js +1 -1
  166. package/dist/components/Timeline/Timeline.js +1 -1
  167. package/dist/components/Timeline/TimelineActivity.js +1 -1
  168. package/dist/components/Timeline/TimelineBase.js +1 -1
  169. package/dist/components/Timeline/TimelineFooter.js +1 -1
  170. package/dist/components/Timeline/TimelineHeader.js +1 -1
  171. package/dist/components/Timeline/TimelineIcon.js +1 -1
  172. package/dist/components/Timeline/TimelineSection.js +1 -1
  173. package/dist/components/Timeline/TimelineSegment.js +1 -1
  174. package/dist/components/Toolbar/DatepickerFilter.js +1 -1
  175. package/dist/components/Toolbar/SelectDateFilter.js +1 -1
  176. package/dist/components/Toolbar/Toolbar.js +1 -1
  177. package/dist/components/Toolbar/ToolbarFilter.js +1 -1
  178. package/dist/components/Toolbar/ToolbarFilterAddMenu.js +1 -1
  179. package/dist/components/Toolbar/ToolbarFilterButton.js +1 -1
  180. package/dist/components/Toolbar/ToolbarFilterMenu.js +1 -1
  181. package/dist/components/Toolbar/ToolbarMenu.js +1 -1
  182. package/dist/components/Toolbar/ToolbarSearch.js +1 -1
  183. package/dist/components/Toolbar/index.js +1 -1
  184. package/dist/components/Transmission/Transmission.js +1 -1
  185. package/dist/components/Transmission/TransmissionList.js +1 -1
  186. package/dist/components/Transmission/TransmissionType.js +1 -1
  187. package/dist/components/Typography/Heading.js +1 -1
  188. package/dist/components/Typography/index.js +1 -1
  189. package/dist/components/UserListItem/UserListItem.js +1 -1
  190. package/dist/components/index.js +1 -1
  191. package/dist/hooks/useAccountSelector.js +1 -1
  192. package/dist/index.js +1 -1
  193. package/dist/types/lib/components/Dialog/DialogHeader.d.ts +1 -1
  194. package/dist/types/lib/components/Dialog/DialogHeader.stories.d.ts +1 -1
  195. package/dist/types/lib/components/Dialog/DialogListItem.d.ts +1 -1
  196. package/dist/types/lib/components/Dialog/DialogMetadata.d.ts +12 -6
  197. package/dist/types/lib/components/Dialog/DialogMetadata.stories.d.ts +4 -1
  198. package/dist/types/lib/components/Metadata/MetaItem.d.ts +1 -1
  199. package/package.json +2 -1
@@ -1,9 +1,9 @@
1
1
  "use client";
2
2
  import { jsx as i, jsxs as w, Fragment as we } from "react/jsx-runtime";
3
3
  import * as q from "react";
4
- import O, { forwardRef as Q, useRef as J, useState as de, useMemo as fe, useEffect as U, Fragment as wt, useLayoutEffect as Xe, createContext as Ht, useContext as Ft, isValidElement as _t, useId as lt, useCallback as xt, memo as Fe, createElement as qt } from "react";
4
+ import S, { forwardRef as Q, useRef as J, useState as ue, useMemo as me, useEffect as U, Fragment as wt, useLayoutEffect as Xe, createContext as Ht, useContext as Ft, isValidElement as _t, useId as lt, useCallback as xt, memo as Fe, createElement as qt } from "react";
5
5
  import "./tooltip-Caqi75cv.js";
6
- import { c as G } from "./index-p1eeF8LQ.js";
6
+ import { c as K } from "./index-p1eeF8LQ.js";
7
7
  import { useEscapeKey as Wt } from "./hooks/useEscapeKey.js";
8
8
  import "./components/Typography/Link.js";
9
9
  import { Button as _e } from "./components/Button/Button.js";
@@ -48,11 +48,11 @@ import './assets/ToolbarSearch.css';var un = function(e, n) {
48
48
  const pn = Q((e, n) => {
49
49
  var { title: o, titleId: t } = e, r = un(e, ["title", "titleId"]);
50
50
  let a = X();
51
- return a = o ? t || "title-" + a : void 0, O.createElement(
51
+ return a = o ? t || "title-" + a : void 0, S.createElement(
52
52
  "svg",
53
53
  Object.assign({ xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", fill: "none", viewBox: "0 0 24 24", focusable: !1, role: "img", ref: n, "aria-labelledby": a }, r),
54
- o ? O.createElement("title", { id: a }, o) : null,
55
- O.createElement("path", { fill: "currentColor", fillRule: "evenodd", d: "M4 3.25a.75.75 0 0 0-.75.75v3.5c0 .414.336.75.75.75h16a.75.75 0 0 0 .75-.75V4a.75.75 0 0 0-.75-.75zm15.5 6a.25.25 0 0 1 .25.25V19A1.75 1.75 0 0 1 18 20.75H6A1.75 1.75 0 0 1 4.25 19V9.5a.25.25 0 0 1 .25-.25zm-4.75 3.25a.75.75 0 0 1-.75.75h-4a.75.75 0 0 1 0-1.5h4a.75.75 0 0 1 .75.75", clipRule: "evenodd" })
54
+ o ? S.createElement("title", { id: a }, o) : null,
55
+ S.createElement("path", { fill: "currentColor", fillRule: "evenodd", d: "M4 3.25a.75.75 0 0 0-.75.75v3.5c0 .414.336.75.75.75h16a.75.75 0 0 0 .75-.75V4a.75.75 0 0 0-.75-.75zm15.5 6a.25.25 0 0 1 .25.25V19A1.75 1.75 0 0 1 18 20.75H6A1.75 1.75 0 0 1 4.25 19V9.5a.25.25 0 0 1 .25-.25zm-4.75 3.25a.75.75 0 0 1-.75.75h-4a.75.75 0 0 1 0-1.5h4a.75.75 0 0 1 .75.75", clipRule: "evenodd" })
56
56
  );
57
57
  });
58
58
  var fn = function(e, n) {
@@ -66,11 +66,11 @@ var fn = function(e, n) {
66
66
  const mn = Q((e, n) => {
67
67
  var { title: o, titleId: t } = e, r = fn(e, ["title", "titleId"]);
68
68
  let a = X();
69
- return a = o ? t || "title-" + a : void 0, O.createElement(
69
+ return a = o ? t || "title-" + a : void 0, S.createElement(
70
70
  "svg",
71
71
  Object.assign({ xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", fill: "none", viewBox: "0 0 24 24", focusable: !1, role: "img", ref: n, "aria-labelledby": a }, r),
72
- o ? O.createElement("title", { id: a }, o) : null,
73
- O.createElement("path", { fill: "currentColor", d: "M12.75 5a.75.75 0 0 0-1.5 0v12.19l-3.22-3.22a.75.75 0 0 0-1.06 1.06l4.5 4.5a.75.75 0 0 0 1.06 0l4.5-4.5a.75.75 0 1 0-1.06-1.06l-3.22 3.22z" })
72
+ o ? S.createElement("title", { id: a }, o) : null,
73
+ S.createElement("path", { fill: "currentColor", d: "M12.75 5a.75.75 0 0 0-1.5 0v12.19l-3.22-3.22a.75.75 0 0 0-1.06 1.06l4.5 4.5a.75.75 0 0 0 1.06 0l4.5-4.5a.75.75 0 1 0-1.06-1.06l-3.22 3.22z" })
74
74
  );
75
75
  });
76
76
  var hn = function(e, n) {
@@ -84,11 +84,11 @@ var hn = function(e, n) {
84
84
  const vn = Q((e, n) => {
85
85
  var { title: o, titleId: t } = e, r = hn(e, ["title", "titleId"]);
86
86
  let a = X();
87
- return a = o ? t || "title-" + a : void 0, O.createElement(
87
+ return a = o ? t || "title-" + a : void 0, S.createElement(
88
88
  "svg",
89
89
  Object.assign({ xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", fill: "none", viewBox: "0 0 24 24", focusable: !1, role: "img", ref: n, "aria-labelledby": a }, r),
90
- o ? O.createElement("title", { id: a }, o) : null,
91
- O.createElement("path", { fill: "currentColor", fillRule: "evenodd", d: "M12.75 2.5a.75.75 0 0 0-1.5 0v1.273c-2.222.14-3.655.92-4.499 2.186-.887 1.33-1.001 3.04-1.001 4.541v3c0 .809-.424 1.92-.92 2.915a18 18 0 0 1-.936 1.641l-.014.022-.004.006A.75.75 0 0 0 4.5 19.25h4.338a3.25 3.25 0 0 0 6.324 0H19.5a.75.75 0 0 0 .624-1.166l-.004-.006-.014-.022-.06-.091c-.05-.081-.125-.2-.215-.35-.18-.301-.42-.722-.66-1.2-.497-.994-.921-2.106-.921-2.915v-3c0-1.501-.114-3.21-1.001-4.541-.844-1.266-2.277-2.046-4.499-2.186zm-1.987 17.237a1.8 1.8 0 0 1-.344-.487h3.162a1.75 1.75 0 0 1-1.581 1 1.75 1.75 0 0 1-1.237-.513", clipRule: "evenodd" })
90
+ o ? S.createElement("title", { id: a }, o) : null,
91
+ S.createElement("path", { fill: "currentColor", fillRule: "evenodd", d: "M12.75 2.5a.75.75 0 0 0-1.5 0v1.273c-2.222.14-3.655.92-4.499 2.186-.887 1.33-1.001 3.04-1.001 4.541v3c0 .809-.424 1.92-.92 2.915a18 18 0 0 1-.936 1.641l-.014.022-.004.006A.75.75 0 0 0 4.5 19.25h4.338a3.25 3.25 0 0 0 6.324 0H19.5a.75.75 0 0 0 .624-1.166l-.004-.006-.014-.022-.06-.091c-.05-.081-.125-.2-.215-.35-.18-.301-.42-.722-.66-1.2-.497-.994-.921-2.106-.921-2.915v-3c0-1.501-.114-3.21-1.001-4.541-.844-1.266-2.277-2.046-4.499-2.186zm-1.987 17.237a1.8 1.8 0 0 1-.344-.487h3.162a1.75 1.75 0 0 1-1.581 1 1.75 1.75 0 0 1-1.237-.513", clipRule: "evenodd" })
92
92
  );
93
93
  });
94
94
  var gn = function(e, n) {
@@ -102,11 +102,11 @@ var gn = function(e, n) {
102
102
  const Pt = Q((e, n) => {
103
103
  var { title: o, titleId: t } = e, r = gn(e, ["title", "titleId"]);
104
104
  let a = X();
105
- return a = o ? t || "title-" + a : void 0, O.createElement(
105
+ return a = o ? t || "title-" + a : void 0, S.createElement(
106
106
  "svg",
107
107
  Object.assign({ xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", fill: "none", viewBox: "0 0 24 24", focusable: !1, role: "img", ref: n, "aria-labelledby": a }, r),
108
- o ? O.createElement("title", { id: a }, o) : null,
109
- O.createElement("path", { fill: "currentColor", fillRule: "evenodd", d: "M18.998 6.94a.75.75 0 0 1 .063 1.058l-8 9a.75.75 0 0 1-1.091.032l-5-5a.75.75 0 1 1 1.06-1.06l4.438 4.437 7.471-8.405A.75.75 0 0 1 19 6.939", clipRule: "evenodd" })
108
+ o ? S.createElement("title", { id: a }, o) : null,
109
+ S.createElement("path", { fill: "currentColor", fillRule: "evenodd", d: "M18.998 6.94a.75.75 0 0 1 .063 1.058l-8 9a.75.75 0 0 1-1.091.032l-5-5a.75.75 0 1 1 1.06-1.06l4.438 4.437 7.471-8.405A.75.75 0 0 1 19 6.939", clipRule: "evenodd" })
110
110
  );
111
111
  });
112
112
  var bn = function(e, n) {
@@ -120,11 +120,11 @@ var bn = function(e, n) {
120
120
  const yn = Q((e, n) => {
121
121
  var { title: o, titleId: t } = e, r = bn(e, ["title", "titleId"]);
122
122
  let a = X();
123
- return a = o ? t || "title-" + a : void 0, O.createElement(
123
+ return a = o ? t || "title-" + a : void 0, S.createElement(
124
124
  "svg",
125
125
  Object.assign({ xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", fill: "none", viewBox: "0 0 24 24", focusable: !1, role: "img", ref: n, "aria-labelledby": a }, r),
126
- o ? O.createElement("title", { id: a }, o) : null,
127
- O.createElement("path", { fill: "currentColor", fillRule: "evenodd", d: "M9.47 5.97a.75.75 0 0 1 1.06 0l5.5 5.5a.75.75 0 0 1 0 1.06l-5.5 5.5a.75.75 0 1 1-1.06-1.06L14.44 12 9.47 7.03a.75.75 0 0 1 0-1.06", clipRule: "evenodd" })
126
+ o ? S.createElement("title", { id: a }, o) : null,
127
+ S.createElement("path", { fill: "currentColor", fillRule: "evenodd", d: "M9.47 5.97a.75.75 0 0 1 1.06 0l5.5 5.5a.75.75 0 0 1 0 1.06l-5.5 5.5a.75.75 0 1 1-1.06-1.06L14.44 12 9.47 7.03a.75.75 0 0 1 0-1.06", clipRule: "evenodd" })
128
128
  );
129
129
  });
130
130
  var wn = function(e, n) {
@@ -138,11 +138,11 @@ var wn = function(e, n) {
138
138
  const ct = Q((e, n) => {
139
139
  var { title: o, titleId: t } = e, r = wn(e, ["title", "titleId"]);
140
140
  let a = X();
141
- return a = o ? t || "title-" + a : void 0, O.createElement(
141
+ return a = o ? t || "title-" + a : void 0, S.createElement(
142
142
  "svg",
143
143
  Object.assign({ xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", fill: "none", viewBox: "0 0 24 24", focusable: !1, role: "img", ref: n, "aria-labelledby": a }, r),
144
- o ? O.createElement("title", { id: a }, o) : null,
145
- O.createElement("path", { fill: "currentColor", fillRule: "evenodd", d: "M12.53 4.47a.75.75 0 0 0-1.06 0l-3.5 3.5a.75.75 0 0 0 1.06 1.06L12 6.06l2.97 2.97a.75.75 0 1 0 1.06-1.06zm-3.5 10.5a.75.75 0 0 0-1.06 1.06l3.5 3.5a.75.75 0 0 0 1.06 0l3.5-3.5a.75.75 0 1 0-1.06-1.06L12 17.94z", clipRule: "evenodd" })
144
+ o ? S.createElement("title", { id: a }, o) : null,
145
+ S.createElement("path", { fill: "currentColor", fillRule: "evenodd", d: "M12.53 4.47a.75.75 0 0 0-1.06 0l-3.5 3.5a.75.75 0 0 0 1.06 1.06L12 6.06l2.97 2.97a.75.75 0 1 0 1.06-1.06zm-3.5 10.5a.75.75 0 0 0-1.06 1.06l3.5 3.5a.75.75 0 0 0 1.06 0l3.5-3.5a.75.75 0 1 0-1.06-1.06L12 17.94z", clipRule: "evenodd" })
146
146
  );
147
147
  });
148
148
  var _n = function(e, n) {
@@ -156,11 +156,11 @@ var _n = function(e, n) {
156
156
  const xn = Q((e, n) => {
157
157
  var { title: o, titleId: t } = e, r = _n(e, ["title", "titleId"]);
158
158
  let a = X();
159
- return a = o ? t || "title-" + a : void 0, O.createElement(
159
+ return a = o ? t || "title-" + a : void 0, S.createElement(
160
160
  "svg",
161
161
  Object.assign({ xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", fill: "none", viewBox: "0 0 24 24", focusable: !1, role: "img", ref: n, "aria-labelledby": a }, r),
162
- o ? O.createElement("title", { id: a }, o) : null,
163
- O.createElement("path", { fill: "currentColor", fillRule: "evenodd", d: "M4.5 1.75a.75.75 0 0 1 .75.75v2.464a9.75 9.75 0 1 1 12.342 15.023.75.75 0 1 1-.86-1.229A8.251 8.251 0 1 0 6.084 6.25H9a.75.75 0 0 1 0 1.5H4.5A.75.75 0 0 1 3.75 7V2.5a.75.75 0 0 1 .75-.75M12.75 6a.75.75 0 0 0-1.5 0v6c0 .199.079.39.22.53l2.5 2.5a.75.75 0 1 0 1.06-1.06l-2.28-2.28zM3 11.25a.75.75 0 0 1 .75.75q0 .66.105 1.31a.75.75 0 0 1-1.481.24A10 10 0 0 1 2.25 12a.75.75 0 0 1 .75-.75m1.855 4.875a.75.75 0 0 0-1.299.75q.39.675.882 1.28a.75.75 0 1 0 1.163-.947 8 8 0 0 1-.746-1.083m1.995 3.294a.75.75 0 0 1 1.025-.274q.57.33 1.188.564a.75.75 0 1 1-.535 1.402 10 10 0 0 1-1.403-.667.75.75 0 0 1-.275-1.025m6.7 2.207a.75.75 0 1 0-.24-1.48q-.65.104-1.31.104a.75.75 0 0 0 0 1.5q.78 0 1.55-.124", clipRule: "evenodd" })
162
+ o ? S.createElement("title", { id: a }, o) : null,
163
+ S.createElement("path", { fill: "currentColor", fillRule: "evenodd", d: "M4.5 1.75a.75.75 0 0 1 .75.75v2.464a9.75 9.75 0 1 1 12.342 15.023.75.75 0 1 1-.86-1.229A8.251 8.251 0 1 0 6.084 6.25H9a.75.75 0 0 1 0 1.5H4.5A.75.75 0 0 1 3.75 7V2.5a.75.75 0 0 1 .75-.75M12.75 6a.75.75 0 0 0-1.5 0v6c0 .199.079.39.22.53l2.5 2.5a.75.75 0 1 0 1.06-1.06l-2.28-2.28zM3 11.25a.75.75 0 0 1 .75.75q0 .66.105 1.31a.75.75 0 0 1-1.481.24A10 10 0 0 1 2.25 12a.75.75 0 0 1 .75-.75m1.855 4.875a.75.75 0 0 0-1.299.75q.39.675.882 1.28a.75.75 0 1 0 1.163-.947 8 8 0 0 1-.746-1.083m1.995 3.294a.75.75 0 0 1 1.025-.274q.57.33 1.188.564a.75.75 0 1 1-.535 1.402 10 10 0 0 1-1.403-.667.75.75 0 0 1-.275-1.025m6.7 2.207a.75.75 0 1 0-.24-1.48q-.65.104-1.31.104a.75.75 0 0 0 0 1.5q.78 0 1.55-.124", clipRule: "evenodd" })
164
164
  );
165
165
  });
166
166
  var In = function(e, n) {
@@ -174,11 +174,11 @@ var In = function(e, n) {
174
174
  const On = Q((e, n) => {
175
175
  var { title: o, titleId: t } = e, r = In(e, ["title", "titleId"]);
176
176
  let a = X();
177
- return a = o ? t || "title-" + a : void 0, O.createElement(
177
+ return a = o ? t || "title-" + a : void 0, S.createElement(
178
178
  "svg",
179
179
  Object.assign({ xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", fill: "none", viewBox: "0 0 24 24", focusable: !1, role: "img", ref: n, "aria-labelledby": a }, r),
180
- o ? O.createElement("title", { id: a }, o) : null,
181
- O.createElement("path", { fill: "currentColor", fillRule: "evenodd", d: "M8.25 3.5c0-.69.56-1.25 1.25-1.25H14a.75.75 0 0 1 .53.22l5 5c.141.14.22.331.22.53v8.5c0 .69-.56 1.25-1.25 1.25h-9c-.69 0-1.25-.56-1.25-1.25zm6.25 5.25c-.69 0-1.25-.56-1.25-1.25V3.75h-3.5v12.5h8.5v-7.5zm.25-3.94 2.44 2.44h-2.44zM6.502 7.75H5.75v12.5h8.5v-.748a.75.75 0 0 1 1.5 0v.998c0 .69-.56 1.25-1.25 1.25h-9c-.69 0-1.25-.56-1.25-1.25v-13c0-.69.56-1.25 1.25-1.25h1.002a.75.75 0 1 1 0 1.5", clipRule: "evenodd" })
180
+ o ? S.createElement("title", { id: a }, o) : null,
181
+ S.createElement("path", { fill: "currentColor", fillRule: "evenodd", d: "M8.25 3.5c0-.69.56-1.25 1.25-1.25H14a.75.75 0 0 1 .53.22l5 5c.141.14.22.331.22.53v8.5c0 .69-.56 1.25-1.25 1.25h-9c-.69 0-1.25-.56-1.25-1.25zm6.25 5.25c-.69 0-1.25-.56-1.25-1.25V3.75h-3.5v12.5h8.5v-7.5zm.25-3.94 2.44 2.44h-2.44zM6.502 7.75H5.75v12.5h8.5v-.748a.75.75 0 0 1 1.5 0v.998c0 .69-.56 1.25-1.25 1.25h-9c-.69 0-1.25-.56-1.25-1.25v-13c0-.69.56-1.25 1.25-1.25h1.002a.75.75 0 1 1 0 1.5", clipRule: "evenodd" })
182
182
  );
183
183
  });
184
184
  var Sn = function(e, n) {
@@ -192,11 +192,11 @@ var Sn = function(e, n) {
192
192
  const En = Q((e, n) => {
193
193
  var { title: o, titleId: t } = e, r = Sn(e, ["title", "titleId"]);
194
194
  let a = X();
195
- return a = o ? t || "title-" + a : void 0, O.createElement(
195
+ return a = o ? t || "title-" + a : void 0, S.createElement(
196
196
  "svg",
197
197
  Object.assign({ xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", fill: "none", viewBox: "0 0 24 24", focusable: !1, role: "img", ref: n, "aria-labelledby": a }, r),
198
- o ? O.createElement("title", { id: a }, o) : null,
199
- O.createElement("path", { fill: "currentColor", fillRule: "evenodd", d: "M10.5 3.25a7.25 7.25 0 1 0 4.569 12.88l5.411 5.41a.75.75 0 1 0 1.06-1.06l-5.41-5.411A7.25 7.25 0 0 0 10.5 3.25M4.75 10.5a5.75 5.75 0 1 1 11.5 0 5.75 5.75 0 0 1-11.5 0", clipRule: "evenodd" })
198
+ o ? S.createElement("title", { id: a }, o) : null,
199
+ S.createElement("path", { fill: "currentColor", fillRule: "evenodd", d: "M10.5 3.25a7.25 7.25 0 1 0 4.569 12.88l5.411 5.41a.75.75 0 1 0 1.06-1.06l-5.41-5.411A7.25 7.25 0 0 0 10.5 3.25M4.75 10.5a5.75 5.75 0 1 1 11.5 0 5.75 5.75 0 0 1-11.5 0", clipRule: "evenodd" })
200
200
  );
201
201
  });
202
202
  var kn = function(e, n) {
@@ -210,11 +210,11 @@ var kn = function(e, n) {
210
210
  const Pn = Q((e, n) => {
211
211
  var { title: o, titleId: t } = e, r = kn(e, ["title", "titleId"]);
212
212
  let a = X();
213
- return a = o ? t || "title-" + a : void 0, O.createElement(
213
+ return a = o ? t || "title-" + a : void 0, S.createElement(
214
214
  "svg",
215
215
  Object.assign({ xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", fill: "none", viewBox: "0 0 24 24", focusable: !1, role: "img", ref: n, "aria-labelledby": a }, r),
216
- o ? O.createElement("title", { id: a }, o) : null,
217
- O.createElement("path", { fill: "currentColor", fillRule: "evenodd", d: "M4.75 12a.75.75 0 0 1 .75-.75h13a.75.75 0 1 1 0 1.5h-13a.75.75 0 0 1-.75-.75", clipRule: "evenodd" })
216
+ o ? S.createElement("title", { id: a }, o) : null,
217
+ S.createElement("path", { fill: "currentColor", fillRule: "evenodd", d: "M4.75 12a.75.75 0 0 1 .75-.75h13a.75.75 0 1 1 0 1.5h-13a.75.75 0 0 1-.75-.75", clipRule: "evenodd" })
218
218
  );
219
219
  });
220
220
  var Nn = function(e, n) {
@@ -228,11 +228,11 @@ var Nn = function(e, n) {
228
228
  const Mn = Q((e, n) => {
229
229
  var { title: o, titleId: t } = e, r = Nn(e, ["title", "titleId"]);
230
230
  let a = X();
231
- return a = o ? t || "title-" + a : void 0, O.createElement(
231
+ return a = o ? t || "title-" + a : void 0, S.createElement(
232
232
  "svg",
233
233
  Object.assign({ xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", fill: "none", viewBox: "0 0 24 24", focusable: !1, role: "img", ref: n, "aria-labelledby": a }, r),
234
- o ? O.createElement("title", { id: a }, o) : null,
235
- O.createElement("path", { fill: "currentColor", fillRule: "evenodd", d: "M10 4.75c-.69 0-1.25.56-1.25 1.25v.25h6.5V6c0-.69-.56-1.25-1.25-1.25zm6.75 1.5V6A2.75 2.75 0 0 0 14 3.25h-4A2.75 2.75 0 0 0 7.25 6v.25H4.5a.75.75 0 0 0 0 1.5h.805l.876 11.384a1.75 1.75 0 0 0 1.745 1.616h8.148a1.75 1.75 0 0 0 1.745-1.616l.875-11.384h.806a.75.75 0 0 0 0-1.5h-2.75m-6 4.25a.75.75 0 0 0-1.5 0v6a.75.75 0 0 0 1.5 0zM14 9.75a.75.75 0 0 1 .75.75v6a.75.75 0 0 1-1.5 0v-6a.75.75 0 0 1 .75-.75", clipRule: "evenodd" })
234
+ o ? S.createElement("title", { id: a }, o) : null,
235
+ S.createElement("path", { fill: "currentColor", fillRule: "evenodd", d: "M10 4.75c-.69 0-1.25.56-1.25 1.25v.25h6.5V6c0-.69-.56-1.25-1.25-1.25zm6.75 1.5V6A2.75 2.75 0 0 0 14 3.25h-4A2.75 2.75 0 0 0 7.25 6v.25H4.5a.75.75 0 0 0 0 1.5h.805l.876 11.384a1.75 1.75 0 0 0 1.745 1.616h8.148a1.75 1.75 0 0 0 1.745-1.616l.875-11.384h.806a.75.75 0 0 0 0-1.5h-2.75m-6 4.25a.75.75 0 0 0-1.5 0v6a.75.75 0 0 0 1.5 0zM14 9.75a.75.75 0 0 1 .75.75v6a.75.75 0 0 1-1.5 0v-6a.75.75 0 0 1 .75-.75", clipRule: "evenodd" })
236
236
  );
237
237
  });
238
238
  var An = function(e, n) {
@@ -246,11 +246,11 @@ var An = function(e, n) {
246
246
  const qe = Q((e, n) => {
247
247
  var { title: o, titleId: t } = e, r = An(e, ["title", "titleId"]);
248
248
  let a = X();
249
- return a = o ? t || "title-" + a : void 0, O.createElement(
249
+ return a = o ? t || "title-" + a : void 0, S.createElement(
250
250
  "svg",
251
251
  Object.assign({ xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", fill: "none", viewBox: "0 0 24 24", focusable: !1, role: "img", ref: n, "aria-labelledby": a }, r),
252
- o ? O.createElement("title", { id: a }, o) : null,
253
- O.createElement("path", { fill: "currentColor", d: "M6.53 5.47a.75.75 0 0 0-1.06 1.06L10.94 12l-5.47 5.47a.75.75 0 1 0 1.06 1.06L12 13.06l5.47 5.47a.75.75 0 1 0 1.06-1.06L13.06 12l5.47-5.47a.75.75 0 0 0-1.06-1.06L12 10.94z" })
252
+ o ? S.createElement("title", { id: a }, o) : null,
253
+ S.createElement("path", { fill: "currentColor", d: "M6.53 5.47a.75.75 0 0 0-1.06 1.06L10.94 12l-5.47 5.47a.75.75 0 1 0 1.06 1.06L12 13.06l5.47 5.47a.75.75 0 1 0 1.06-1.06L13.06 12l5.47-5.47a.75.75 0 0 0-1.06-1.06L12 10.94z" })
254
254
  );
255
255
  }), Cn = "_badge_5li3b_1", Rn = "_label_5li3b_33", ze = {
256
256
  badge: Cn,
@@ -268,7 +268,7 @@ const qe = Q((e, n) => {
268
268
  }) => a ? /* @__PURE__ */ i(at, { content: a, children: /* @__PURE__ */ i(
269
269
  "span",
270
270
  {
271
- className: G(ze.badge, d),
271
+ className: K(ze.badge, d),
272
272
  style: u,
273
273
  "data-color": n,
274
274
  "data-variant": o,
@@ -280,7 +280,7 @@ const qe = Q((e, n) => {
280
280
  ) }) : /* @__PURE__ */ i(
281
281
  "span",
282
282
  {
283
- className: G(ze.badge, d),
283
+ className: K(ze.badge, d),
284
284
  style: u,
285
285
  "data-color": n,
286
286
  "data-variant": o,
@@ -294,7 +294,7 @@ const qe = Q((e, n) => {
294
294
  shape: Ln,
295
295
  svg: Tn,
296
296
  image: $n
297
- }, tt = (e) => typeof e == "object" && e !== null && ("svgElement" in e || "iconUrl" in e), ce = ({
297
+ }, tt = (e) => typeof e == "object" && e !== null && ("svgElement" in e || "iconUrl" in e), de = ({
298
298
  loading: e,
299
299
  altText: n,
300
300
  svgElement: o,
@@ -304,7 +304,7 @@ const qe = Q((e, n) => {
304
304
  className: d,
305
305
  style: u,
306
306
  children: s
307
- }) => /* @__PURE__ */ i("span", { "data-ui": "icon", "data-size": t, "data-color": r, className: G(ke.icon, d), style: u, children: /* @__PURE__ */ w(xe, { loading: e, variant: "circle", className: ke.shape, children: [
307
+ }) => /* @__PURE__ */ i("span", { "data-ui": "icon", "data-size": t, "data-color": r, className: K(ke.icon, d), style: u, children: /* @__PURE__ */ w(xe, { loading: e, variant: "circle", className: ke.shape, children: [
308
308
  /* @__PURE__ */ i("span", { className: ke.shape }),
309
309
  o && /* @__PURE__ */ i(o, { "aria-hidden": "true", "alt-label": n, className: ke.svg }),
310
310
  a && /* @__PURE__ */ i("img", { src: a, alt: n, className: ke.image }),
@@ -329,10 +329,10 @@ const qe = Q((e, n) => {
329
329
  combobox: l = !1,
330
330
  listId: p,
331
331
  "aria-activedescendant": c,
332
- onKeyDown: h,
332
+ onKeyDown: m,
333
333
  onInput: v,
334
334
  onFocus: g,
335
- ...N
335
+ ...C
336
336
  }) => {
337
337
  const _ = /* @__PURE__ */ i(
338
338
  $t,
@@ -349,8 +349,8 @@ const qe = Q((e, n) => {
349
349
  autoCorrect: "off",
350
350
  autoCapitalize: "off",
351
351
  autoFocus: !0,
352
- onKeyDown: (x) => {
353
- (x.key === "ArrowUp" || x.key === "ArrowDown") && (x.preventDefault(), s?.()), h?.(x);
352
+ onKeyDown: (b) => {
353
+ (b.key === "ArrowUp" || b.key === "ArrowDown") && (b.preventDefault(), s?.()), m?.(b);
354
354
  },
355
355
  onInput: v,
356
356
  onFocus: g,
@@ -362,7 +362,7 @@ const qe = Q((e, n) => {
362
362
  "aria-controls": p,
363
363
  "aria-activedescendant": c
364
364
  } : {},
365
- ...N
365
+ ...C
366
366
  }
367
367
  );
368
368
  return l ? /* @__PURE__ */ i("div", { className: Ve.search, style: e, "data-index": n, "data-menu-search": "true", children: _ }) : /* @__PURE__ */ i("li", { className: Ve.search, style: e, "data-index": n, "data-menu-search": "true", children: _ });
@@ -379,150 +379,150 @@ const qe = Q((e, n) => {
379
379
  search: l,
380
380
  items: p,
381
381
  groups: c = {},
382
- size: h,
382
+ size: m,
383
383
  id: v,
384
384
  color: g,
385
- variant: N,
385
+ variant: C,
386
386
  scrollRefStyles: _ = {},
387
- keyboardEvents: x = !1,
387
+ keyboardEvents: b = !1,
388
388
  onSelect: L = () => {
389
389
  },
390
- onActiveItemIdChange: C
390
+ onActiveItemIdChange: x
391
391
  }) => {
392
392
  if (n && e >= n)
393
393
  return null;
394
- const k = t === "combobox", f = t === "navigation", R = k && v ? `${v}-listbox` : v, I = J(r), H = J(r), [W, y] = de(!1), T = fe(
395
- () => p.map((A, D) => ({
396
- ...A,
397
- id: `${v}-item-${D}`
394
+ const A = t === "combobox", h = t === "navigation", R = A && v ? `${v}-listbox` : v, O = J(r), $ = J(r), [W, I] = ue(!1), T = me(
395
+ () => p.map((P, j) => ({
396
+ ...P,
397
+ id: `${v}-item-${j}`
398
398
  })),
399
399
  [p, v]
400
- ), M = J(null), { menu: P, setActiveIndex: m, activeItem: S } = rt({
400
+ ), k = J(null), { menu: M, setActiveIndex: f, activeItem: E } = rt({
401
401
  items: T,
402
402
  groups: c,
403
403
  groupByKey: "groupId",
404
- keyboardEvents: x,
404
+ keyboardEvents: b,
405
405
  autoActivateFirstItem: d,
406
406
  onSelect: L,
407
- ref: M
407
+ ref: k
408
408
  });
409
409
  U(() => {
410
- C?.(S?.id);
411
- }, [S?.id, C]), U(() => {
410
+ x?.(E?.id);
411
+ }, [E?.id, x]), U(() => {
412
412
  if (!a) {
413
- I.current = r;
413
+ O.current = r;
414
414
  return;
415
415
  }
416
- const A = I.current;
417
- I.current = r, r && !A && M.current?.scrollTo({ top: 0 });
416
+ const P = O.current;
417
+ O.current = r, r && !P && k.current?.scrollTo({ top: 0 });
418
418
  }, [r, a]), U(() => {
419
- const A = H.current;
420
- H.current = r, !(!x || l || !u) && r && !A && requestAnimationFrame(() => M.current?.focus?.({ preventScroll: !0 }));
421
- }, [r, x, l]), U(() => {
422
- if (k && s) {
423
- m(0), y(!0);
419
+ const P = $.current;
420
+ $.current = r, !(!b || l || !u) && r && !P && requestAnimationFrame(() => k.current?.focus?.({ preventScroll: !0 }));
421
+ }, [r, b, l]), U(() => {
422
+ if (A && s) {
423
+ f(0), I(!0);
424
424
  return;
425
425
  }
426
- }, [s, k, m]);
426
+ }, [s, A, f]);
427
427
  const z = l ? /* @__PURE__ */ i(
428
428
  Nt,
429
429
  {
430
430
  ...l,
431
- combobox: k,
431
+ combobox: A,
432
432
  listId: R,
433
- "aria-activedescendant": k && W ? S?.id : void 0,
434
- onNavigate: k ? () => y(!0) : void 0,
435
- onChange: (A) => {
436
- y(!1), l.onChange?.(A);
433
+ "aria-activedescendant": A && W ? E?.id : void 0,
434
+ onNavigate: A ? () => I(!0) : void 0,
435
+ onChange: (P) => {
436
+ I(!1), l.onChange?.(P);
437
437
  },
438
- onFocus: (A) => {
439
- y(!1), l.onFocus?.(A);
438
+ onFocus: (P) => {
439
+ I(!1), l.onFocus?.(P);
440
440
  },
441
- onInput: (A) => {
442
- y(!1), l.onInput?.(A);
441
+ onInput: (P) => {
442
+ I(!1), l.onInput?.(P);
443
443
  },
444
- onKeyDown: (A) => {
445
- const D = A.key === "ArrowUp" || A.key === "ArrowDown", j = A.key.length === 1 || A.key === "Backspace" || A.key === "Delete";
446
- k && !D && j && y(!1), l.onKeyDown?.(A);
444
+ onKeyDown: (P) => {
445
+ const j = P.key === "ArrowUp" || P.key === "ArrowDown", F = P.key.length === 1 || P.key === "Backspace" || P.key === "Delete";
446
+ A && !j && F && I(!1), l.onKeyDown?.(P);
447
447
  }
448
448
  }
449
- ) : null, $ = /* @__PURE__ */ w(
449
+ ) : null, D = /* @__PURE__ */ w(
450
450
  De,
451
451
  {
452
- variant: N,
452
+ variant: C,
453
453
  expanded: o,
454
- ref: M,
454
+ ref: k,
455
455
  style: _,
456
456
  id: R,
457
- role: k ? "listbox" : f ? "list" : "menu",
458
- tabIndex: x ? -1 : void 0,
457
+ role: A ? "listbox" : h ? "list" : "menu",
458
+ tabIndex: b ? -1 : void 0,
459
459
  children: [
460
- !k && z,
461
- P.map((A, D) => {
462
- const j = A?.props || {}, { title: K, hidden: ve = !1, divider: Z = !0 } = j;
460
+ !A && z,
461
+ M.map((P, j) => {
462
+ const F = P?.props || {}, { title: G, hidden: se = !1, divider: ee = !0 } = F;
463
463
  return /* @__PURE__ */ w(wt, { children: [
464
- (e > 0 || D) && Z ? /* @__PURE__ */ i(Et, {}) : "",
465
- /* @__PURE__ */ i(St, { hidden: ve, children: /* @__PURE__ */ w(De, { role: "presentation", children: [
466
- K && /* @__PURE__ */ i(kt, { title: K, level: e }),
467
- A?.items.filter((ee) => !ee.props?.hidden).map((ee, b) => {
468
- const { active: E, onMouseEnter: B } = ee, { groupId: ne, ...F } = ee.props || {}, { expanded: se } = F, le = Array.isArray(F?.items) && F.items.length > 0, Ge = F.role === "checkbox" || F.role === "radio", Ke = F.role === "radio" ? "menuitemradio" : "menuitemcheckbox", Bt = f ? void 0 : k ? "option" : Ge ? Ke : F.role;
464
+ (e > 0 || j) && ee ? /* @__PURE__ */ i(Et, {}) : "",
465
+ /* @__PURE__ */ i(St, { hidden: se, children: /* @__PURE__ */ w(De, { role: "presentation", children: [
466
+ G && /* @__PURE__ */ i(kt, { title: G, level: e }),
467
+ P?.items.filter((te) => !te.props?.hidden).map((te, y) => {
468
+ const { active: N, onMouseEnter: H } = te, { groupId: ne, ...B } = te.props || {}, { expanded: le } = B, ce = Array.isArray(B?.items) && B.items.length > 0, Ge = B.role === "checkbox" || B.role === "radio", Ke = B.role === "radio" ? "menuitemradio" : "menuitemcheckbox", Bt = h ? void 0 : A ? "option" : Ge ? Ke : B.role;
469
469
  return /* @__PURE__ */ w(
470
470
  Ot,
471
471
  {
472
- expanded: se,
473
- onMouseLeave: () => m(-1),
474
- role: f ? "listitem" : "presentation",
472
+ expanded: le,
473
+ onMouseLeave: () => f(-1),
474
+ role: h ? "listitem" : "presentation",
475
475
  children: [
476
476
  /* @__PURE__ */ i(
477
477
  Tt,
478
478
  {
479
- ...F,
480
- size: F?.size || j?.size || h,
481
- color: F?.color || j?.color || g,
482
- variant: F?.variant || j?.variant || N,
483
- active: E,
479
+ ...B,
480
+ size: B?.size || F?.size || m,
481
+ color: B?.color || F?.color || g,
482
+ variant: B?.variant || F?.variant || C,
483
+ active: N,
484
484
  role: Bt,
485
485
  a11yMode: t,
486
- selected: F.selected,
487
- tabIndex: F?.disabled || x ? -1 : F.tabIndex ?? 0,
488
- onMouseEnter: B,
489
- "aria-haspopup": le && !f ? "menu" : void 0,
490
- "aria-expanded": le ? se : void 0,
491
- "aria-controls": le ? F.id + "-menu" : void 0
486
+ selected: B.selected,
487
+ tabIndex: B?.disabled || b ? -1 : B.tabIndex ?? 0,
488
+ onMouseEnter: H,
489
+ "aria-haspopup": ce && !h ? "menu" : void 0,
490
+ "aria-expanded": ce ? le : void 0,
491
+ "aria-controls": ce ? B.id + "-menu" : void 0
492
492
  }
493
493
  ),
494
- se && F?.items && /* @__PURE__ */ i(
494
+ le && B?.items && /* @__PURE__ */ i(
495
495
  Mt,
496
496
  {
497
- id: F.id + "-menu",
498
- expanded: se,
497
+ id: B.id + "-menu",
498
+ expanded: le,
499
499
  level: e + 1,
500
500
  maxLevels: n,
501
- items: F?.items,
501
+ items: B?.items,
502
502
  groups: c,
503
- size: h,
503
+ size: m,
504
504
  color: g,
505
- variant: N,
505
+ variant: C,
506
506
  a11yMode: t
507
507
  }
508
508
  )
509
509
  ]
510
510
  },
511
- b
511
+ y
512
512
  );
513
513
  })
514
- ] }) }, D)
515
- ] }, D);
514
+ ] }) }, j)
515
+ ] }, j);
516
516
  })
517
517
  ]
518
518
  }
519
519
  );
520
- return k && z ? /* @__PURE__ */ w(we, { children: [
520
+ return A && z ? /* @__PURE__ */ w(we, { children: [
521
521
  z,
522
- $
523
- ] }) : $;
522
+ D
523
+ ] }) : D;
524
524
  }, Hn = (e) => {
525
- const n = J(null), o = J(null), [t, r] = de(0), {
525
+ const n = J(null), o = J(null), [t, r] = ue(0), {
526
526
  search: a,
527
527
  items: d,
528
528
  groups: u = {},
@@ -530,184 +530,184 @@ const qe = Q((e, n) => {
530
530
  color: l,
531
531
  variant: p,
532
532
  keyboardEvents: c,
533
- scrollRefStyles: h = {},
533
+ scrollRefStyles: m = {},
534
534
  id: v,
535
535
  expanded: g,
536
- a11yMode: N = "menu",
536
+ a11yMode: C = "menu",
537
537
  open: _,
538
- scrollToTopOnOpen: x = !1,
538
+ scrollToTopOnOpen: b = !1,
539
539
  autoActivateFirstItem: L = !0,
540
- announceNoResults: C = !1,
541
- onActiveItemIdChange: k
542
- } = e, f = N === "combobox", R = N === "navigation", I = f && v ? `${v}-listbox` : v, H = J(_), [W, y] = de(!1), T = fe(
543
- () => d.map((b, E) => ({
544
- ...b,
545
- id: `${v}-item-${E}`
540
+ announceNoResults: x = !1,
541
+ onActiveItemIdChange: A
542
+ } = e, h = C === "combobox", R = C === "navigation", O = h && v ? `${v}-listbox` : v, $ = J(_), [W, I] = ue(!1), T = me(
543
+ () => d.map((y, N) => ({
544
+ ...y,
545
+ id: `${v}-item-${N}`
546
546
  })),
547
547
  [d, v]
548
- ), { menu: M, activeItem: P, setActiveIndex: m, activeIndex: S } = rt({
548
+ ), { menu: k, activeItem: M, setActiveIndex: f, activeIndex: E } = rt({
549
549
  items: T,
550
550
  groups: u,
551
551
  groupByKey: "groupId",
552
552
  keyboardEvents: c,
553
553
  autoActivateFirstItem: L,
554
554
  ref: n
555
- }), { flatMenu: z, virtualizer: $, scrollMaxHeight: A } = tn({
556
- menu: M,
555
+ }), { flatMenu: z, virtualizer: D, scrollMaxHeight: P } = tn({
556
+ menu: k,
557
557
  scrollRef: n
558
558
  });
559
559
  Xe(() => {
560
- const b = o.current;
561
- if (!b) return;
562
- const E = Math.round(b.offsetTop);
563
- r((B) => B === E ? B : E);
560
+ const y = o.current;
561
+ if (!y) return;
562
+ const N = Math.round(y.offsetTop);
563
+ r((H) => H === N ? H : N);
564
564
  });
565
- const D = fe(() => {
566
- const b = P?.id;
567
- if (b)
568
- return z.findIndex((B) => B.type === "item" && B.itemProps?.id === b);
569
- if (S < 0) return -1;
570
- let E = -1;
571
- for (let B = 0; B < z.length; B++)
572
- if (z[B]?.type === "item" && (E += 1, E === S))
573
- return B;
565
+ const j = me(() => {
566
+ const y = M?.id;
567
+ if (y)
568
+ return z.findIndex((H) => H.type === "item" && H.itemProps?.id === y);
569
+ if (E < 0) return -1;
570
+ let N = -1;
571
+ for (let H = 0; H < z.length; H++)
572
+ if (z[H]?.type === "item" && (N += 1, N === E))
573
+ return H;
574
574
  return -1;
575
- }, [P?.id, S, z]), j = J(null);
575
+ }, [M?.id, E, z]), F = J(null);
576
576
  Xe(() => {
577
- const b = j?.current, E = typeof b == "number" ? D <= b : !1;
578
- j.current = D;
579
- const B = E ? D : D + 2;
580
- if (!E) {
581
- const le = $.getOffsetForIndex(B, "auto");
582
- if (!le) return;
583
- const [Ge, Ke] = le;
577
+ const y = F?.current, N = typeof y == "number" ? j <= y : !1;
578
+ F.current = j;
579
+ const H = N ? j : j + 2;
580
+ if (!N) {
581
+ const ce = D.getOffsetForIndex(H, "auto");
582
+ if (!ce) return;
583
+ const [Ge, Ke] = ce;
584
584
  if (Ke === "auto") return;
585
- $.scrollToOffset(Ge + t + 10, { align: "start" });
585
+ D.scrollToOffset(Ge + t + 10, { align: "start" });
586
586
  return;
587
587
  }
588
- if (D <= 3) {
589
- $.scrollToOffset(0);
588
+ if (j <= 3) {
589
+ D.scrollToOffset(0);
590
590
  return;
591
591
  }
592
- const ne = $.getOffsetForIndex(D - 1, "auto");
592
+ const ne = D.getOffsetForIndex(j - 1, "auto");
593
593
  if (!ne) return;
594
- const [F, se] = ne;
595
- se !== "auto" && $.scrollToOffset(F + t + 10, { align: "start" });
596
- }, [D, t, $, j]);
597
- const K = fe(() => {
598
- const b = /* @__PURE__ */ new Map();
599
- let E = 0;
600
- return z.forEach((B, ne) => {
601
- B.type === "item" && (E += 1, b.set(ne, E));
602
- }), { positions: b, total: E };
594
+ const [B, le] = ne;
595
+ le !== "auto" && D.scrollToOffset(B + t + 10, { align: "start" });
596
+ }, [j, t, D, F]);
597
+ const G = me(() => {
598
+ const y = /* @__PURE__ */ new Map();
599
+ let N = 0;
600
+ return z.forEach((H, ne) => {
601
+ H.type === "item" && (N += 1, y.set(ne, N));
602
+ }), { positions: y, total: N };
603
603
  }, [z]);
604
604
  U(() => {
605
- k?.(P?.id);
606
- }, [P?.id, k]), U(() => {
607
- if (f && C) {
608
- m(0), y(!0);
605
+ A?.(M?.id);
606
+ }, [M?.id, A]), U(() => {
607
+ if (h && x) {
608
+ f(0), I(!0);
609
609
  return;
610
610
  }
611
- }, [C, f, m]), U(() => {
612
- const b = H.current;
613
- H.current = _, !(!_ || b) && ($.measure(), x && n.current?.scrollTo({ top: 0 }));
614
- }, [_, x, $]);
615
- const ve = {
611
+ }, [x, h, f]), U(() => {
612
+ const y = $.current;
613
+ $.current = _, !(!_ || y) && (D.measure(), b && n.current?.scrollTo({ top: 0 }));
614
+ }, [_, b, D]);
615
+ const se = {
616
616
  position: "relative",
617
- maxHeight: h?.maxHeight || A,
617
+ maxHeight: m?.maxHeight || P,
618
618
  margin: "-0.5rem",
619
619
  padding: "0.5rem 0.5rem 1rem 0.5rem",
620
- minWidth: h?.minWidth ?? "20rem",
620
+ minWidth: m?.minWidth ?? "20rem",
621
621
  overflowY: "auto",
622
- ...h
623
- }, Z = a ? /* @__PURE__ */ i(
622
+ ...m
623
+ }, ee = a ? /* @__PURE__ */ i(
624
624
  Nt,
625
625
  {
626
626
  ...a,
627
- combobox: f,
628
- listId: I,
629
- "aria-activedescendant": f && W ? P?.id : void 0,
630
- onNavigate: f ? () => y(!0) : void 0,
631
- onChange: (b) => {
632
- y(!1), a.onChange?.(b);
627
+ combobox: h,
628
+ listId: O,
629
+ "aria-activedescendant": h && W ? M?.id : void 0,
630
+ onNavigate: h ? () => I(!0) : void 0,
631
+ onChange: (y) => {
632
+ I(!1), a.onChange?.(y);
633
633
  },
634
- onFocus: (b) => {
635
- y(!1), a.onFocus?.(b);
634
+ onFocus: (y) => {
635
+ I(!1), a.onFocus?.(y);
636
636
  },
637
- onInput: (b) => {
638
- y(!1), a.onInput?.(b);
637
+ onInput: (y) => {
638
+ I(!1), a.onInput?.(y);
639
639
  },
640
- onKeyDown: (b) => {
641
- const E = b.key === "ArrowUp" || b.key === "ArrowDown", B = b.key.length === 1 || b.key === "Backspace" || b.key === "Delete";
642
- f && !E && B && y(!1), a.onKeyDown?.(b);
640
+ onKeyDown: (y) => {
641
+ const N = y.key === "ArrowUp" || y.key === "ArrowDown", H = y.key.length === 1 || y.key === "Backspace" || y.key === "Delete";
642
+ h && !N && H && I(!1), a.onKeyDown?.(y);
643
643
  }
644
644
  }
645
- ) : null, ee = /* @__PURE__ */ w(
645
+ ) : null, te = /* @__PURE__ */ w(
646
646
  De,
647
647
  {
648
648
  ref: n,
649
- style: ve,
649
+ style: se,
650
650
  variant: p,
651
651
  color: l,
652
652
  expanded: g,
653
- id: I,
654
- role: f ? "listbox" : R ? "list" : "menu",
653
+ id: O,
654
+ role: h ? "listbox" : R ? "list" : "menu",
655
655
  children: [
656
- !f && Z,
656
+ !h && ee,
657
657
  /* @__PURE__ */ i(
658
658
  St,
659
659
  {
660
660
  ref: o,
661
661
  style: {
662
662
  position: "relative",
663
- height: `${$.getTotalSize()}px`,
663
+ height: `${D.getTotalSize()}px`,
664
664
  width: "100%"
665
665
  },
666
- children: /* @__PURE__ */ i(De, { style: { width: "100%", minWidth: "100%" }, children: $.getVirtualItems().map((b) => {
667
- const E = z[b.index];
668
- if (!E) return null;
669
- const B = {
666
+ children: /* @__PURE__ */ i(De, { style: { width: "100%", minWidth: "100%" }, children: D.getVirtualItems().map((y) => {
667
+ const N = z[y.index];
668
+ if (!N) return null;
669
+ const H = {
670
670
  position: "absolute",
671
671
  top: 0,
672
672
  left: 0,
673
673
  width: "100%",
674
- transform: `translateY(${b.start}px)`
674
+ transform: `translateY(${y.start}px)`
675
675
  }, ne = {
676
- style: B,
677
- index: b.index,
678
- "data-index": b.index,
679
- ref: $.measureElement
676
+ style: H,
677
+ index: y.index,
678
+ "data-index": y.index,
679
+ ref: D.measureElement
680
680
  };
681
- switch (E.type) {
681
+ switch (N.type) {
682
682
  case "divider":
683
683
  return /* @__PURE__ */ i(
684
684
  Et,
685
685
  {
686
686
  ...ne,
687
- style: { ...B, padding: "0.25rem 0" }
687
+ style: { ...H, padding: "0.25rem 0" }
688
688
  },
689
- b.key
689
+ y.key
690
690
  );
691
691
  case "header":
692
- return /* @__PURE__ */ i(kt, { ...ne, title: E.title || "", level: 1 }, b.key);
692
+ return /* @__PURE__ */ i(kt, { ...ne, title: N.title || "", level: 1 }, y.key);
693
693
  default: {
694
- const F = E.itemProps?.role === "checkbox" || E.itemProps?.role === "radio", se = E.itemProps?.role === "radio" ? "menuitemradio" : "menuitemcheckbox", le = R ? void 0 : f ? "option" : F ? se : E.itemProps?.role;
694
+ const B = N.itemProps?.role === "checkbox" || N.itemProps?.role === "radio", le = N.itemProps?.role === "radio" ? "menuitemradio" : "menuitemcheckbox", ce = R ? void 0 : h ? "option" : B ? le : N.itemProps?.role;
695
695
  return /* @__PURE__ */ i(Ot, { ...ne, role: R ? "listitem" : "presentation", children: /* @__PURE__ */ i(
696
696
  Tt,
697
697
  {
698
- ...E.itemProps || {},
699
- size: E.itemProps?.size || s,
700
- color: E.itemProps?.color || l,
701
- variant: E.itemProps?.variant || p,
702
- active: E.active,
703
- role: le,
704
- a11yMode: N,
705
- selected: E.itemProps?.selected,
706
- "aria-posinset": f ? K.positions.get(b.index) : void 0,
707
- "aria-setsize": f ? K.total : void 0,
708
- tabIndex: E.itemProps?.disabled || c ? -1 : 0
698
+ ...N.itemProps || {},
699
+ size: N.itemProps?.size || s,
700
+ color: N.itemProps?.color || l,
701
+ variant: N.itemProps?.variant || p,
702
+ active: N.active,
703
+ role: ce,
704
+ a11yMode: C,
705
+ selected: N.itemProps?.selected,
706
+ "aria-posinset": h ? G.positions.get(y.index) : void 0,
707
+ "aria-setsize": h ? G.total : void 0,
708
+ tabIndex: N.itemProps?.disabled || c ? -1 : 0
709
709
  }
710
- ) }, b.key);
710
+ ) }, y.key);
711
711
  }
712
712
  }
713
713
  }) })
@@ -716,10 +716,10 @@ const qe = Q((e, n) => {
716
716
  ]
717
717
  }
718
718
  );
719
- return f && Z ? /* @__PURE__ */ w(we, { children: [
720
- Z,
721
- ee
722
- ] }) : ee;
719
+ return h && ee ? /* @__PURE__ */ w(we, { children: [
720
+ ee,
721
+ te
722
+ ] }) : te;
723
723
  };
724
724
  var We = class extends Event {
725
725
  oldState;
@@ -757,9 +757,9 @@ function qn(e) {
757
757
  if (!(n instanceof HTMLElement))
758
758
  return;
759
759
  const o = je(n);
760
- e.popoverTargetAction === "show" && o === "showing" || e.popoverTargetAction === "hide" && o === "hidden" || (o === "showing" ? Se(n, !0, !0) : me(n, !1) && (Be.set(n, e), nt(n)));
760
+ e.popoverTargetAction === "show" && o === "showing" || e.popoverTargetAction === "hide" && o === "hidden" || (o === "showing" ? Se(n, !0, !0) : he(n, !1) && (Be.set(n, e), nt(n)));
761
761
  }
762
- function me(e, n) {
762
+ function he(e, n) {
763
763
  return !(e.popover !== "auto" && e.popover !== "manual" && e.popover !== "hint" || !e.isConnected || n && je(e) !== "showing" || !n && je(e) !== "hidden" || e instanceof Fn && e.hasAttribute("open") || document.fullscreenElement === e);
764
764
  }
765
765
  function ut(e) {
@@ -859,7 +859,7 @@ function Un(e) {
859
859
  }
860
860
  var He = /* @__PURE__ */ new WeakMap();
861
861
  function nt(e) {
862
- if (!me(e, !1))
862
+ if (!he(e, !1))
863
863
  return;
864
864
  const n = e.ownerDocument;
865
865
  if (!e.dispatchEvent(
@@ -868,7 +868,7 @@ function nt(e) {
868
868
  oldState: "closed",
869
869
  newState: "open"
870
870
  })
871
- ) || !me(e, !1))
871
+ ) || !he(e, !1))
872
872
  return;
873
873
  let o = !1;
874
874
  const t = e.popover;
@@ -884,12 +884,12 @@ function nt(e) {
884
884
  Y.get(n) || /* @__PURE__ */ new Set(),
885
885
  o,
886
886
  !0
887
- ), he(a || n, o, !0), r = "auto"), t === "hint" && (d ? (he(d, o, !0), r = "hint") : (ot(
887
+ ), ve(a || n, o, !0), r = "auto"), t === "hint" && (d ? (ve(d, o, !0), r = "hint") : (ot(
888
888
  Y.get(n) || /* @__PURE__ */ new Set(),
889
889
  o,
890
890
  !0
891
- ), a ? (he(a, o, !0), r = "auto") : r = "hint")), t === "auto" || t === "hint") {
892
- if (t !== e.popover || !me(e, !1))
891
+ ), a ? (ve(a, o, !0), r = "auto") : r = "hint")), t === "auto" || t === "hint") {
892
+ if (t !== e.popover || !he(e, !1))
893
893
  return;
894
894
  Re(n) || (o = !0), r === "auto" ? (ae.has(n) || ae.set(n, /* @__PURE__ */ new Set()), ae.get(n).add(e)) : r === "hint" && (Y.has(n) || Y.set(n, /* @__PURE__ */ new Set()), Y.get(n).add(e));
895
895
  }
@@ -899,10 +899,10 @@ function nt(e) {
899
899
  }
900
900
  function Se(e, n = !1, o = !1) {
901
901
  var t, r;
902
- if (!me(e, !0))
902
+ if (!he(e, !0))
903
903
  return;
904
904
  const a = e.ownerDocument;
905
- if (["auto", "hint"].includes(e.popover) && (he(e, n, o), !me(e, !0)))
905
+ if (["auto", "hint"].includes(e.popover) && (ve(e, n, o), !he(e, !0)))
906
906
  return;
907
907
  const d = ae.get(a) || /* @__PURE__ */ new Set(), u = d.has(e) && Ce(d) === e;
908
908
  if (Rt(Be.get(e), !1), Be.delete(e), o && (e.dispatchEvent(
@@ -910,7 +910,7 @@ function Se(e, n = !1, o = !1) {
910
910
  oldState: "open",
911
911
  newState: "closed"
912
912
  })
913
- ), u && Ce(d) !== e && he(e, n, o), !me(e, !0)))
913
+ ), u && Ce(d) !== e && ve(e, n, o), !he(e, !0)))
914
914
  return;
915
915
  (t = $e.get(a)) == null || t.delete(e), d.delete(e), (r = Y.get(a)) == null || r.delete(e), e.classList.remove(":popover-open"), Ie.set(e, "hidden"), o && At(e, "open", "closed");
916
916
  const s = He.get(e);
@@ -944,7 +944,7 @@ function mt(e, n, o, t) {
944
944
  n.has(e) && Ce(n) !== e && (r = !0), r && (t = !1);
945
945
  }
946
946
  }
947
- function he(e, n, o) {
947
+ function ve(e, n, o) {
948
948
  var t, r;
949
949
  const a = e.ownerDocument || e;
950
950
  if (e instanceof Document)
@@ -981,7 +981,7 @@ function ht(e) {
981
981
  Ue.set(o, r);
982
982
  else if (e.type === "pointerup") {
983
983
  const a = Ue.get(o) === r;
984
- Ue.delete(o), a && he(r || o, !1, !0);
984
+ Ue.delete(o), a && ve(r || o, !1, !0);
985
985
  }
986
986
  }
987
987
  var Ye = /* @__PURE__ */ new WeakMap();
@@ -1001,7 +1001,7 @@ var vt = globalThis.ShadowRoot || function() {
1001
1001
  function Qn() {
1002
1002
  return typeof HTMLElement < "u" && typeof HTMLElement.prototype == "object" && "popover" in HTMLElement.prototype;
1003
1003
  }
1004
- function ue(e, n, o) {
1004
+ function pe(e, n, o) {
1005
1005
  const t = e[n];
1006
1006
  Object.defineProperty(e, n, {
1007
1007
  value(r) {
@@ -1103,7 +1103,7 @@ function eo() {
1103
1103
  "$1.\\:popover-open"
1104
1104
  )), s;
1105
1105
  }
1106
- ue(Document.prototype, "querySelector", e), ue(Document.prototype, "querySelectorAll", e), ue(Element.prototype, "querySelector", e), ue(Element.prototype, "querySelectorAll", e), ue(Element.prototype, "matches", e), ue(Element.prototype, "closest", e), ue(
1106
+ pe(Document.prototype, "querySelector", e), pe(Document.prototype, "querySelectorAll", e), pe(Element.prototype, "querySelector", e), pe(Element.prototype, "querySelectorAll", e), pe(Element.prototype, "matches", e), pe(Element.prototype, "closest", e), pe(
1107
1107
  DocumentFragment.prototype,
1108
1108
  "querySelectorAll",
1109
1109
  e
@@ -1218,19 +1218,19 @@ function eo() {
1218
1218
  const c = Oe(p);
1219
1219
  if (!(c instanceof vt || c instanceof Document))
1220
1220
  return;
1221
- const h = l.find(
1221
+ const m = l.find(
1222
1222
  (v) => {
1223
1223
  var g;
1224
1224
  return (g = v.matches) == null ? void 0 : g.call(v, "[popovertargetaction],[popovertarget]");
1225
1225
  }
1226
1226
  );
1227
- if (h) {
1228
- qn(h), s.preventDefault();
1227
+ if (m) {
1228
+ qn(m), s.preventDefault();
1229
1229
  return;
1230
1230
  }
1231
1231
  }, d = (s) => {
1232
1232
  const l = s.key, p = s.target;
1233
- !s.defaultPrevented && p && (l === "Escape" || l === "Esc") && he(p.ownerDocument, !0, !0);
1233
+ !s.defaultPrevented && p && (l === "Escape" || l === "Esc") && ve(p.ownerDocument, !0, !0);
1234
1234
  };
1235
1235
  ((s) => {
1236
1236
  s.addEventListener("click", a), s.addEventListener("keydown", d), s.addEventListener("pointerdown", ht), s.addEventListener("pointerup", ht);
@@ -1275,8 +1275,8 @@ const so = ({
1275
1275
  }), p.appendChild(c)), c.textContent = "", requestAnimationFrame(() => {
1276
1276
  c.textContent = n;
1277
1277
  });
1278
- }, [n]), /* @__PURE__ */ i("span", { className: Pe.itemWrapper, children: /* @__PURE__ */ w(l, { className: G(Pe.item, o), "data-color": t, role: "alert", ...s, children: [
1279
- /* @__PURE__ */ i(ce, { svgElement: r, className: Pe.icon, "aria-hidden": "true" }),
1278
+ }, [n]), /* @__PURE__ */ i("span", { className: Pe.itemWrapper, children: /* @__PURE__ */ w(l, { className: K(Pe.item, o), "data-color": t, role: "alert", ...s, children: [
1279
+ /* @__PURE__ */ i(de, { svgElement: r, className: Pe.icon, "aria-hidden": "true" }),
1280
1280
  /* @__PURE__ */ i("div", { className: Pe.content, children: n }),
1281
1281
  d && /* @__PURE__ */ i("div", { className: Pe.action, children: /* @__PURE__ */ i(_e, { variant: "solid", onClick: u, "aria-label": "close", children: /* @__PURE__ */ i(qe, { style: { fontSize: "1.5em" } }) }) })
1282
1282
  ] }) });
@@ -1314,7 +1314,7 @@ const co = 0.3, uo = 0.4, da = ({ className: e }) => {
1314
1314
  },
1315
1315
  languageCode: "nb"
1316
1316
  }, zt = Ht(po), ua = ({ children: e, initialValue: n, debug: o, languageCode: t }) => {
1317
- const [r, a] = de(n?.currentId || ""), [d, u] = de(n?.previousId || "");
1317
+ const [r, a] = ue(n?.currentId || ""), [d, u] = ue(n?.previousId || "");
1318
1318
  return /* @__PURE__ */ i(
1319
1319
  zt.Provider,
1320
1320
  {
@@ -1395,32 +1395,32 @@ const co = 0.3, uo = 0.4, da = ({ className: e }) => {
1395
1395
  groups: d = {}
1396
1396
  }) => {
1397
1397
  const { languageCode: u } = fo(), s = q.useMemo(() => mo(u), [u]), [l, p] = q.useState(""), c = q.useCallback(
1398
- (m) => {
1399
- p(m.target.value), o?.(m);
1398
+ (f) => {
1399
+ p(f.target.value), o?.(f);
1400
1400
  },
1401
1401
  [o]
1402
- ), h = q.useCallback(() => {
1402
+ ), m = q.useCallback(() => {
1403
1403
  p(""), t?.();
1404
- }, [t]), v = q.useMemo(() => l.trim().replace(/\s+/g, " "), [l]), g = v.length > 0, N = q.useMemo(() => v.toLowerCase(), [v]), _ = q.useMemo(() => v ? v.split(" ") : [], [v]), x = q.useMemo(
1404
+ }, [t]), v = q.useMemo(() => l.trim().replace(/\s+/g, " "), [l]), g = v.length > 0, C = q.useMemo(() => v.toLowerCase(), [v]), _ = q.useMemo(() => v ? v.split(" ") : [], [v]), b = q.useMemo(
1405
1405
  () => ({
1406
1406
  placeholder: e ?? s.placeholder,
1407
1407
  name: n ?? "search",
1408
1408
  value: l,
1409
1409
  onChange: c,
1410
- onClear: h,
1410
+ onClear: m,
1411
1411
  clearButtonAltText: r
1412
1412
  }),
1413
- [e, s.placeholder, n, l, c, h, r]
1413
+ [e, s.placeholder, n, l, c, m, r]
1414
1414
  ), L = q.useMemo(
1415
- () => a.map((m) => {
1416
- const S = m?.searchWords?.length ? m.searchWords : [m?.title, m?.description].filter(Boolean);
1415
+ () => a.map((f) => {
1416
+ const E = f?.searchWords?.length ? f.searchWords : [f?.title, f?.description].filter(Boolean);
1417
1417
  return {
1418
- ...m,
1419
- searchWords: S ?? []
1418
+ ...f,
1419
+ searchWords: E ?? []
1420
1420
  };
1421
1421
  }),
1422
1422
  [a]
1423
- ), C = q.useMemo(
1423
+ ), x = q.useMemo(
1424
1424
  () => [
1425
1425
  {
1426
1426
  id: "emptySearch",
@@ -1433,28 +1433,28 @@ const co = 0.3, uo = 0.4, da = ({ className: e }) => {
1433
1433
  }
1434
1434
  ],
1435
1435
  [s.noResults]
1436
- ), k = q.useMemo(() => {
1437
- const m = a.filter((S) => S.groupId === "emptySearch").map((S) => ({ ...S, hidden: !1 }));
1438
- return m.length ? m : C;
1439
- }, [a, C]), { selectedItems: f, results: R } = q.useMemo(() => {
1436
+ ), A = q.useMemo(() => {
1437
+ const f = a.filter((E) => E.groupId === "emptySearch").map((E) => ({ ...E, hidden: !1 }));
1438
+ return f.length ? f : x;
1439
+ }, [a, x]), { selectedItems: h, results: R } = q.useMemo(() => {
1440
1440
  if (!g) return { selectedItems: [], results: [] };
1441
- const m = [], S = [];
1441
+ const f = [], E = [];
1442
1442
  for (const z of L)
1443
- z.checked === !0 && m.push({ ...z, groupId: "selected" }), (z.searchWords ?? []).some((D) => String(D).toLowerCase().includes(N)) && S.push({
1443
+ z.checked === !0 && f.push({ ...z, groupId: "selected" }), (z.searchWords ?? []).some((j) => String(j).toLowerCase().includes(C)) && E.push({
1444
1444
  ...z,
1445
1445
  groupId: "search",
1446
1446
  highlightWords: _
1447
1447
  });
1448
- return { selectedItems: m, results: S };
1449
- }, [g, L, N, _]), I = R.length, H = f.length, W = q.useMemo(
1448
+ return { selectedItems: f, results: E };
1449
+ }, [g, L, C, _]), O = R.length, $ = h.length, W = q.useMemo(
1450
1450
  () => ({
1451
1451
  search: {
1452
1452
  hidden: !0,
1453
- title: s.hits(I)
1453
+ title: s.hits(O)
1454
1454
  },
1455
1455
  selected: {
1456
1456
  hidden: !0,
1457
- title: s.selected(H)
1457
+ title: s.selected($)
1458
1458
  },
1459
1459
  emptySearch: {
1460
1460
  hidden: !0,
@@ -1462,32 +1462,32 @@ const co = 0.3, uo = 0.4, da = ({ className: e }) => {
1462
1462
  },
1463
1463
  ...d
1464
1464
  }),
1465
- [s, I, H, d]
1466
- ), y = q.useMemo(
1465
+ [s, O, $, d]
1466
+ ), I = q.useMemo(
1467
1467
  () => ({
1468
1468
  ...W,
1469
1469
  search: {
1470
1470
  hidden: !g,
1471
- title: s.hits(I)
1471
+ title: s.hits(O)
1472
1472
  },
1473
1473
  selected: {
1474
- hidden: H === 0,
1475
- title: s.selected(H)
1474
+ hidden: $ === 0,
1475
+ title: s.selected($)
1476
1476
  },
1477
1477
  emptySearch: {
1478
- hidden: g && (I > 0 || H > 0),
1478
+ hidden: g && (O > 0 || $ > 0),
1479
1479
  title: s.noResults
1480
1480
  }
1481
1481
  }),
1482
- [W, g, s, I, H]
1483
- ), T = q.useMemo(() => g ? ho([...R, ...f]) : [], [g, R, f]), M = q.useMemo(() => [...k || [], ...f || []], [k, f]), P = q.useMemo(() => g ? I ? T : M : a, [g, a, I, T, M]);
1482
+ [W, g, s, O, $]
1483
+ ), T = q.useMemo(() => g ? ho([...R, ...h]) : [], [g, R, h]), k = q.useMemo(() => [...A || [], ...h || []], [A, h]), M = q.useMemo(() => g ? O ? T : k : a, [g, a, O, T, k]);
1484
1484
  return {
1485
- search: x,
1485
+ search: b,
1486
1486
  results: R,
1487
- resultCount: I,
1487
+ resultCount: O,
1488
1488
  hasQuery: g,
1489
- items: P,
1490
- groups: y
1489
+ items: M,
1490
+ groups: I
1491
1491
  };
1492
1492
  }, Lt = ({
1493
1493
  searchable: e,
@@ -1502,21 +1502,21 @@ const co = 0.3, uo = 0.4, da = ({ className: e }) => {
1502
1502
  keyboardEvents: l = !1,
1503
1503
  scrollRefStyles: p = {},
1504
1504
  onActiveItemIdChange: c,
1505
- a11yMode: h = "menu",
1505
+ a11yMode: m = "menu",
1506
1506
  open: v,
1507
1507
  scrollToTopOnOpen: g,
1508
- autoFocusList: N,
1508
+ autoFocusList: C,
1509
1509
  id: _
1510
1510
  }) => {
1511
- const x = vo({ ...n, items: o, groups: t }), L = e ? { label: n?.label, hideLabel: n?.hideLabel, ...x.search } : n, C = e && x.hasQuery && x.resultCount === 0, k = e ? x.items : o, f = e ? { ...t, ...x.groups } : t, R = h !== "combobox";
1511
+ const b = vo({ ...n, items: o, groups: t }), L = e ? { label: n?.label, hideLabel: n?.hideLabel, ...b.search } : n, x = e && b.hasQuery && b.resultCount === 0, A = e ? b.items : o, h = e ? { ...t, ...b.groups } : t, R = m !== "combobox";
1512
1512
  return s ? /* @__PURE__ */ i(
1513
1513
  Hn,
1514
1514
  {
1515
1515
  id: _,
1516
1516
  search: L,
1517
- announceNoResults: C,
1518
- items: k,
1519
- groups: f,
1517
+ announceNoResults: x,
1518
+ items: A,
1519
+ groups: h,
1520
1520
  variant: r,
1521
1521
  size: a,
1522
1522
  level: d,
@@ -1524,20 +1524,20 @@ const co = 0.3, uo = 0.4, da = ({ className: e }) => {
1524
1524
  keyboardEvents: l,
1525
1525
  scrollRefStyles: p,
1526
1526
  onActiveItemIdChange: c,
1527
- a11yMode: h,
1527
+ a11yMode: m,
1528
1528
  open: v,
1529
1529
  scrollToTopOnOpen: g,
1530
1530
  autoActivateFirstItem: R,
1531
- autoFocusList: N
1531
+ autoFocusList: C
1532
1532
  }
1533
1533
  ) : /* @__PURE__ */ i(
1534
1534
  Mt,
1535
1535
  {
1536
1536
  id: _,
1537
1537
  search: L,
1538
- announceNoResults: C,
1539
- items: k,
1540
- groups: f,
1538
+ announceNoResults: x,
1539
+ items: A,
1540
+ groups: h,
1541
1541
  variant: r,
1542
1542
  size: a,
1543
1543
  level: d,
@@ -1545,14 +1545,14 @@ const co = 0.3, uo = 0.4, da = ({ className: e }) => {
1545
1545
  keyboardEvents: l,
1546
1546
  scrollRefStyles: p,
1547
1547
  onActiveItemIdChange: c,
1548
- a11yMode: h,
1548
+ a11yMode: m,
1549
1549
  open: v,
1550
1550
  scrollToTopOnOpen: g,
1551
1551
  autoActivateFirstItem: R,
1552
- autoFocusList: N
1552
+ autoFocusList: C
1553
1553
  }
1554
1554
  );
1555
- }, go = "_media_1089b_3", bo = "_icon_1089b_10", yo = "_avatar_1089b_14", wo = "_avatarGroup_1089b_18", pe = {
1555
+ }, go = "_media_1089b_3", bo = "_icon_1089b_10", yo = "_avatar_1089b_14", wo = "_avatarGroup_1089b_18", fe = {
1556
1556
  media: go,
1557
1557
  icon: bo,
1558
1558
  avatar: yo,
@@ -1565,10 +1565,10 @@ const gt = ({ className: e, loading: n, icon: o, children: t }) => {
1565
1565
  if (!o)
1566
1566
  return null;
1567
1567
  if (n)
1568
- return /* @__PURE__ */ i("div", { className: G(pe.icon, e), children: /* @__PURE__ */ i(ce, { svgElement: qe, loading: !0 }) });
1568
+ return /* @__PURE__ */ i("div", { className: K(fe.icon, e), children: /* @__PURE__ */ i(de, { svgElement: qe, loading: !0 }) });
1569
1569
  const r = Je(o) ? "avatar" : Ze(o) ? "avatarGroup" : (tt(o), "icon");
1570
- return /* @__PURE__ */ w("div", { className: G(pe.media, e), "data-variant": r, children: [
1571
- Je(o) && /* @__PURE__ */ i(it, { ...o, className: pe.avatar }) || Ze(o) && /* @__PURE__ */ i(Ae, { ...o, className: pe.avatarGroup }) || tt(o) && /* @__PURE__ */ i(ce, { ...o, className: pe.icon }) || _o(o) && /* @__PURE__ */ i(ce, { className: pe.icon, children: o }) || /* @__PURE__ */ i(ce, { className: pe.icon, svgElement: o }),
1570
+ return /* @__PURE__ */ w("div", { className: K(fe.media, e), "data-variant": r, children: [
1571
+ Je(o) && /* @__PURE__ */ i(it, { ...o, className: fe.avatar }) || Ze(o) && /* @__PURE__ */ i(Ae, { ...o, className: fe.avatarGroup }) || tt(o) && /* @__PURE__ */ i(de, { ...o, className: fe.icon }) || _o(o) && /* @__PURE__ */ i(de, { className: fe.icon, children: o }) || /* @__PURE__ */ i(de, { className: fe.icon, svgElement: o }),
1572
1572
  t
1573
1573
  ] });
1574
1574
  }, xo = "_heading_ydkmu_1", Io = {
@@ -1586,14 +1586,14 @@ const gt = ({ className: e, loading: n, icon: o, children: t }) => {
1586
1586
  maxRows: l,
1587
1587
  className: p,
1588
1588
  style: c,
1589
- children: h
1589
+ children: m
1590
1590
  }) => {
1591
- const v = t, g = Kt(h, o || []);
1591
+ const v = t, g = Kt(m, o || []);
1592
1592
  return /* @__PURE__ */ i(
1593
1593
  v,
1594
1594
  {
1595
1595
  id: e,
1596
- className: G(Io.heading, p),
1596
+ className: K(Io.heading, p),
1597
1597
  style: c,
1598
1598
  "data-size": r,
1599
1599
  "data-leading": a,
@@ -1615,7 +1615,7 @@ const gt = ({ className: e, loading: n, icon: o, children: t }) => {
1615
1615
  highlightWords: a,
1616
1616
  loading: d,
1617
1617
  children: u
1618
- }) => /* @__PURE__ */ i("span", { className: G(So.label, e), children: u || /* @__PURE__ */ w(we, { children: [
1618
+ }) => /* @__PURE__ */ i("span", { className: K(So.label, e), children: u || /* @__PURE__ */ w(we, { children: [
1619
1619
  n && /* @__PURE__ */ i(Ee, { ...o, as: "span", loading: d, highlightWords: a, maxRows: 2, children: n }),
1620
1620
  t && /* @__PURE__ */ i(
1621
1621
  Ee,
@@ -1651,33 +1651,33 @@ const gt = ({ className: e, loading: n, icon: o, children: t }) => {
1651
1651
  size: l = "sm",
1652
1652
  variant: p,
1653
1653
  color: c,
1654
- checked: h,
1654
+ checked: m,
1655
1655
  icon: v,
1656
1656
  label: g,
1657
- badge: N,
1657
+ badge: C,
1658
1658
  controls: _,
1659
- title: x,
1659
+ title: b,
1660
1660
  htmlTitle: L,
1661
- description: C,
1662
- highlightWords: k,
1663
- count: f,
1661
+ description: x,
1662
+ highlightWords: A,
1663
+ count: h,
1664
1664
  linkIcon: R = !1,
1665
- disabled: I,
1666
- selected: H,
1665
+ disabled: O,
1666
+ selected: $,
1667
1667
  active: W,
1668
- tabIndex: y = 0,
1668
+ tabIndex: I = 0,
1669
1669
  className: T,
1670
- "data-testid": M,
1671
- ...P
1670
+ "data-testid": k,
1671
+ ...M
1672
1672
  }) => {
1673
- const m = typeof g == "function" ? g() : g, S = en(P), z = o === "option";
1674
- if (o === "radio" || o === "checkbox" || o === "menuitemradio" || o === "menuitemcheckbox" || z && typeof h == "boolean") {
1675
- const j = v || (h ? Pt : Pn);
1673
+ const f = typeof g == "function" ? g() : g, E = en(M), z = o === "option";
1674
+ if (o === "radio" || o === "checkbox" || o === "menuitemradio" || o === "menuitemcheckbox" || z && typeof m == "boolean") {
1675
+ const F = v || (m ? Pt : Pn);
1676
1676
  return /* @__PURE__ */ w(
1677
1677
  "div",
1678
1678
  {
1679
- ...S,
1680
- className: G(V.item, T),
1679
+ ...E,
1680
+ className: K(V.item, T),
1681
1681
  id: e,
1682
1682
  "data-id": e,
1683
1683
  "data-group-id": n,
@@ -1686,58 +1686,58 @@ const gt = ({ className: e, loading: n, icon: o, children: t }) => {
1686
1686
  "data-color": c,
1687
1687
  "data-active": W,
1688
1688
  role: o,
1689
- "aria-disabled": I,
1690
- "aria-checked": z ? void 0 : !!h,
1691
- "aria-selected": z ? !!h : void 0,
1692
- "data-selected": h,
1693
- "aria-label": x,
1689
+ "aria-disabled": O,
1690
+ "aria-checked": z ? void 0 : !!m,
1691
+ "aria-selected": z ? !!m : void 0,
1692
+ "data-selected": m,
1693
+ "aria-label": b,
1694
1694
  title: L,
1695
- "data-testid": M,
1696
- onKeyUp: (K) => {
1697
- I || (K.target === K.currentTarget && K.key === "Enter" && d?.(), u?.(K));
1695
+ "data-testid": k,
1696
+ onKeyUp: (G) => {
1697
+ O || (G.target === G.currentTarget && G.key === "Enter" && d?.(), u?.(G));
1698
1698
  },
1699
- onClick: I ? void 0 : d,
1699
+ onClick: O ? void 0 : d,
1700
1700
  onMouseEnter: s,
1701
- tabIndex: y,
1701
+ tabIndex: I,
1702
1702
  children: [
1703
- /* @__PURE__ */ i(gt, { icon: j, className: V.media }),
1703
+ /* @__PURE__ */ i(gt, { icon: F, className: V.media }),
1704
1704
  /* @__PURE__ */ i(
1705
1705
  bt,
1706
1706
  {
1707
1707
  className: V.label,
1708
- highlightWords: k,
1708
+ highlightWords: A,
1709
1709
  title: /* @__PURE__ */ w(we, { children: [
1710
- x,
1710
+ b,
1711
1711
  " ",
1712
- f && /* @__PURE__ */ i("i", { className: V.count, children: f })
1712
+ h && /* @__PURE__ */ i("i", { className: V.count, children: h })
1713
1713
  ] }),
1714
1714
  titleProps: {
1715
1715
  weight: "medium",
1716
1716
  className: V.title
1717
1717
  },
1718
- description: C,
1718
+ description: x,
1719
1719
  descriptionProps: {
1720
1720
  weight: "normal",
1721
1721
  variant: "subtle",
1722
1722
  className: V.description
1723
1723
  },
1724
- children: m
1724
+ children: f
1725
1725
  }
1726
1726
  ),
1727
1727
  /* @__PURE__ */ w(et, { children: [
1728
- N && /* @__PURE__ */ i(ie, { ...N }),
1729
- !I && _
1728
+ C && /* @__PURE__ */ i(ie, { ...C }),
1729
+ !O && _
1730
1730
  ] })
1731
1731
  ]
1732
1732
  }
1733
1733
  );
1734
1734
  }
1735
- const A = r || (a ? "a" : "button"), D = R && yn;
1735
+ const P = r || (a ? "a" : "button"), j = R && yn;
1736
1736
  return /* @__PURE__ */ w(
1737
- A,
1737
+ P,
1738
1738
  {
1739
1739
  href: a,
1740
- className: G(V.item, T),
1740
+ className: K(V.item, T),
1741
1741
  id: e,
1742
1742
  "data-id": e,
1743
1743
  "data-group-id": n,
@@ -1745,50 +1745,50 @@ const gt = ({ className: e, loading: n, icon: o, children: t }) => {
1745
1745
  "data-variant": p,
1746
1746
  "data-color": c,
1747
1747
  "data-active": W,
1748
- "aria-disabled": I,
1749
- ...I ? { disabled: I } : {},
1750
- "aria-current": o !== "option" && H ? "page" : void 0,
1751
- "aria-selected": o === "option" ? H : void 0,
1752
- "data-selected": H,
1753
- "aria-label": x,
1748
+ "aria-disabled": O,
1749
+ ...O ? { disabled: O } : {},
1750
+ "aria-current": o !== "option" && $ ? "page" : void 0,
1751
+ "aria-selected": o === "option" ? $ : void 0,
1752
+ "data-selected": $,
1753
+ "aria-label": b,
1754
1754
  title: L,
1755
- "data-testid": M,
1756
- onKeyUp: (j) => {
1757
- I || (j.target === j.currentTarget && j.key === "Enter" && d?.(), u?.(j));
1755
+ "data-testid": k,
1756
+ onKeyUp: (F) => {
1757
+ O || (F.target === F.currentTarget && F.key === "Enter" && d?.(), u?.(F));
1758
1758
  },
1759
1759
  onClick: d,
1760
1760
  onMouseEnter: s,
1761
- tabIndex: I ? -1 : y ?? 0,
1761
+ tabIndex: O ? -1 : I ?? 0,
1762
1762
  role: t === "navigation" ? void 0 : o === "menuItem" ? "menuitem" : o,
1763
- ...S,
1763
+ ...E,
1764
1764
  children: [
1765
1765
  v && /* @__PURE__ */ i(gt, { icon: v, className: V.media }),
1766
1766
  /* @__PURE__ */ i(
1767
1767
  bt,
1768
1768
  {
1769
1769
  className: V.label,
1770
- highlightWords: k,
1770
+ highlightWords: A,
1771
1771
  title: /* @__PURE__ */ w(we, { children: [
1772
- x,
1772
+ b,
1773
1773
  " ",
1774
- f && /* @__PURE__ */ i("i", { className: V.count, children: f })
1774
+ h && /* @__PURE__ */ i("i", { className: V.count, children: h })
1775
1775
  ] }),
1776
1776
  titleProps: {
1777
1777
  weight: "medium",
1778
1778
  className: V.title
1779
1779
  },
1780
- description: C,
1780
+ description: x,
1781
1781
  descriptionProps: {
1782
1782
  variant: "subtle",
1783
1783
  className: V.description
1784
1784
  },
1785
- children: m
1785
+ children: f
1786
1786
  }
1787
1787
  ),
1788
1788
  /* @__PURE__ */ w(et, { children: [
1789
- N && /* @__PURE__ */ i(ie, { ...N }),
1790
- !I && _,
1791
- R && /* @__PURE__ */ i(ce, { svgElement: D, className: V.linkIcon })
1789
+ C && /* @__PURE__ */ i(ie, { ...C }),
1790
+ !O && _,
1791
+ R && /* @__PURE__ */ i(de, { svgElement: j, className: V.linkIcon })
1792
1792
  ] })
1793
1793
  ]
1794
1794
  }
@@ -1815,51 +1815,51 @@ const gt = ({ className: e, loading: n, icon: o, children: t }) => {
1815
1815
  onClear: l,
1816
1816
  clearButtonAltText: p = "Clear search",
1817
1817
  menu: c,
1818
- minLength: h,
1818
+ minLength: m,
1819
1819
  ...v
1820
1820
  }) => {
1821
- const g = lt(), [N, _] = de(!1), x = v.id || `search-field-${g}`, L = `${x}-listbox`, [C, k] = de(void 0), f = "searchfield-clear-button-" + lt(), R = fe(() => !c || !s || typeof h == "number" && typeof s == "string" && s.length < h ? !1 : N, [c, N, h, s]), I = fe(() => (c?.items ?? []).map((m) => ({
1822
- ...m,
1821
+ const g = lt(), [C, _] = ue(!1), b = v.id || `search-field-${g}`, L = `${b}-listbox`, [x, A] = ue(void 0), h = "searchfield-clear-button-" + lt(), R = me(() => !c || !s || typeof m == "number" && typeof s == "string" && s.length < m ? !1 : C, [c, C, m, s]), O = me(() => (c?.items ?? []).map((f) => ({
1822
+ ...f,
1823
1823
  onClick: () => {
1824
- m.onClick?.(), _(!1);
1824
+ f.onClick?.(), _(!1);
1825
1825
  }
1826
- })), [c]), H = (m) => {
1827
- if (m.key === "Enter" && R) {
1826
+ })), [c]), $ = (f) => {
1827
+ if (f.key === "Enter" && R) {
1828
1828
  c?.items?.[0]?.onClick?.(), _(!1);
1829
1829
  return;
1830
1830
  }
1831
- if (m.key === "Escape" && R) {
1832
- m.preventDefault(), m.stopPropagation(), _(!1), c?.onClose(), document.getElementById(x)?.focus();
1831
+ if (f.key === "Escape" && R) {
1832
+ f.preventDefault(), f.stopPropagation(), _(!1), c?.onClose(), document.getElementById(b)?.focus();
1833
1833
  return;
1834
1834
  }
1835
- v.onKeyDown?.(m), _(!0);
1835
+ v.onKeyDown?.(f), _(!0);
1836
1836
  }, W = () => {
1837
1837
  _(!0);
1838
- }, y = (m) => {
1839
- if (!N) return;
1840
- const S = m.relatedTarget;
1841
- S && m.currentTarget.contains(S) || _(!1);
1842
- }, T = (m) => {
1843
- m.preventDefault();
1844
- }, M = (m) => {
1845
- m.relatedTarget?.id === f && k(void 0), v.onBlur?.(m);
1846
- }, P = /* @__PURE__ */ w(
1838
+ }, I = (f) => {
1839
+ if (!C) return;
1840
+ const E = f.relatedTarget;
1841
+ E && f.currentTarget.contains(E) || _(!1);
1842
+ }, T = (f) => {
1843
+ f.preventDefault();
1844
+ }, k = (f) => {
1845
+ f.relatedTarget?.id === h && A(void 0), v.onBlur?.(f);
1846
+ }, M = /* @__PURE__ */ w(
1847
1847
  Dn,
1848
1848
  {
1849
1849
  size: r,
1850
1850
  color: a,
1851
1851
  label: u ? void 0 : d,
1852
- htmlFor: x,
1853
- className: G(oe.field, e),
1852
+ htmlFor: b,
1853
+ className: K(oe.field, e),
1854
1854
  "data-collapsible": n ? !0 : void 0,
1855
- onBlurCapture: y,
1855
+ onBlurCapture: I,
1856
1856
  children: [
1857
1857
  /* @__PURE__ */ i("span", { className: oe.hiddenInput, "aria-hidden": "true", children: s + " " }),
1858
1858
  /* @__PURE__ */ i(
1859
1859
  Qt,
1860
1860
  {
1861
1861
  ...v,
1862
- id: x,
1862
+ id: b,
1863
1863
  "aria-label": u && typeof d == "string" ? d : void 0,
1864
1864
  inputSize: 5,
1865
1865
  type: "search",
@@ -1868,16 +1868,16 @@ const gt = ({ className: e, loading: n, icon: o, children: t }) => {
1868
1868
  "data-collapsible": n ? !0 : void 0,
1869
1869
  autoCapitalize: "off",
1870
1870
  autoComplete: "off",
1871
- minLength: h,
1872
- onKeyDown: H,
1873
- onBlur: M,
1871
+ minLength: m,
1872
+ onKeyDown: $,
1873
+ onBlur: k,
1874
1874
  ...c && {
1875
1875
  role: "combobox",
1876
1876
  "aria-autocomplete": "list",
1877
1877
  "aria-expanded": !!R,
1878
1878
  "aria-haspopup": "listbox",
1879
1879
  "aria-controls": R ? L : void 0,
1880
- "aria-activedescendant": R ? C : void 0,
1880
+ "aria-activedescendant": R ? x : void 0,
1881
1881
  onFocus: W
1882
1882
  }
1883
1883
  }
@@ -1886,7 +1886,7 @@ const gt = ({ className: e, loading: n, icon: o, children: t }) => {
1886
1886
  l && !!s && /* @__PURE__ */ i("span", { className: oe.clear, children: /* @__PURE__ */ i(
1887
1887
  _e,
1888
1888
  {
1889
- id: f,
1889
+ id: h,
1890
1890
  "data-testid": "clear-button",
1891
1891
  size: "xs",
1892
1892
  rounded: !0,
@@ -1894,7 +1894,7 @@ const gt = ({ className: e, loading: n, icon: o, children: t }) => {
1894
1894
  variant: "tinted",
1895
1895
  className: oe.clearButton,
1896
1896
  onClick: () => {
1897
- l?.(), document.getElementById(x)?.focus();
1897
+ l?.(), document.getElementById(b)?.focus();
1898
1898
  },
1899
1899
  "aria-label": p,
1900
1900
  "data-action": "clear-input",
@@ -1905,22 +1905,22 @@ const gt = ({ className: e, loading: n, icon: o, children: t }) => {
1905
1905
  }
1906
1906
  );
1907
1907
  return c ? /* @__PURE__ */ w("div", { className: oe.fieldContainer, children: [
1908
- P,
1908
+ M,
1909
1909
  R && /* @__PURE__ */ i("div", { className: oe.autocomplete, "aria-hidden": !R, onMouseDown: T, children: /* @__PURE__ */ i(
1910
1910
  Lt,
1911
1911
  {
1912
1912
  ...c,
1913
1913
  id: L,
1914
- items: I,
1914
+ items: O,
1915
1915
  groups: c?.groups,
1916
1916
  keyboardEvents: !0,
1917
1917
  a11yMode: "combobox",
1918
1918
  open: R,
1919
1919
  autoFocusList: !1,
1920
- onActiveItemIdChange: k
1920
+ onActiveItemIdChange: A
1921
1921
  }
1922
1922
  ) })
1923
- ] }) : P;
1923
+ ] }) : M;
1924
1924
  }, Ho = "_byline_fzp7k_1", Fo = "_avatar_fzp7k_7", qo = "_avatarGroup_fzp7k_12", Wo = "_label_fzp7k_26", Ne = {
1925
1925
  byline: Ho,
1926
1926
  avatar: Fo,
@@ -1978,126 +1978,126 @@ const gt = ({ className: e, loading: n, icon: o, children: t }) => {
1978
1978
  trigger: l,
1979
1979
  children: p,
1980
1980
  open: c,
1981
- onClose: h,
1981
+ onClose: m,
1982
1982
  color: v,
1983
1983
  onSubmit: g,
1984
- activeDescendantId: N,
1984
+ activeDescendantId: C,
1985
1985
  useFixedPosition: _ = !1,
1986
- expanded: x = !1
1986
+ expanded: b = !1
1987
1987
  }) => {
1988
- const L = J(null), C = J(null), k = J(c);
1988
+ const L = J(null), x = J(null), A = J(c);
1989
1989
  U(() => {
1990
- k.current = c;
1990
+ A.current = c;
1991
1991
  }, [c]);
1992
- const [f, R] = de({
1992
+ const [h, R] = ue({
1993
1993
  yDir: r.includes("top") ? "top" : "bottom",
1994
1994
  xDir: r.includes("right") ? "right" : "left",
1995
1995
  maxHeight: 300
1996
- }), I = xt(() => {
1997
- if (c && L.current && C.current) {
1998
- const y = L.current.getBoundingClientRect(), T = C.current.getBoundingClientRect(), M = window.innerHeight, P = window.innerWidth, m = 16, S = M - y.bottom, z = y.top, $ = P - y.right - T.width, A = S < 250 && z > S, D = A ? "top" : "bottom", j = (A ? z : S) - m, ve = $ < m ? "right" : "left";
1999
- R((Z) => ({
2000
- ...Z,
2001
- yDir: D,
2002
- maxHeight: j,
2003
- xDir: ve,
2004
- triggerRect: _ ? y : void 0
1996
+ }), O = xt(() => {
1997
+ if (c && L.current && x.current) {
1998
+ const I = L.current.getBoundingClientRect(), T = x.current.getBoundingClientRect(), k = window.innerHeight, M = window.innerWidth, f = 16, E = k - I.bottom, z = I.top, D = M - I.right - T.width, P = E < 250 && z > E, j = P ? "top" : "bottom", F = (P ? z : E) - f, se = D < f ? "right" : "left";
1999
+ R((ee) => ({
2000
+ ...ee,
2001
+ yDir: j,
2002
+ maxHeight: F,
2003
+ xDir: se,
2004
+ triggerRect: _ ? I : void 0
2005
2005
  }));
2006
2006
  }
2007
2007
  }, [c, _]);
2008
- Xe(() => (I(), window.addEventListener("resize", I), _ && window.addEventListener("scroll", I, !0), () => {
2009
- window.removeEventListener("resize", I), _ && window.removeEventListener("scroll", I, !0);
2010
- }), [I, _]), U(() => {
2008
+ Xe(() => (O(), window.addEventListener("resize", O), _ && window.addEventListener("scroll", O, !0), () => {
2009
+ window.removeEventListener("resize", O), _ && window.removeEventListener("scroll", O, !0);
2010
+ }), [O, _]), U(() => {
2011
2011
  if (!c) return;
2012
- const y = requestAnimationFrame(() => {
2013
- const T = C.current;
2012
+ const I = requestAnimationFrame(() => {
2013
+ const T = x.current;
2014
2014
  if (!T) return;
2015
- const M = T.querySelector(
2015
+ const k = T.querySelector(
2016
2016
  'input[type="search"]:not([disabled]), input[role="searchbox"]:not([disabled]), input[data-dropdown-search]:not([disabled])'
2017
2017
  );
2018
- if (M) {
2019
- const P = M.value.length;
2020
- M.focus({ preventScroll: !0 });
2018
+ if (k) {
2019
+ const M = k.value.length;
2020
+ k.focus({ preventScroll: !0 });
2021
2021
  try {
2022
- M.setSelectionRange(P, P);
2022
+ k.setSelectionRange(M, M);
2023
2023
  } catch {
2024
2024
  }
2025
2025
  return;
2026
2026
  }
2027
2027
  T.focus?.({ preventScroll: !0 });
2028
2028
  });
2029
- return () => cancelAnimationFrame(y);
2029
+ return () => cancelAnimationFrame(I);
2030
2030
  }, [c]), U(() => {
2031
- const y = (M) => {
2032
- M.key === "Escape" && (M.preventDefault(), h());
2033
- }, T = (M) => {
2034
- const P = M.target, m = L.current?.contains(P), S = C.current?.contains(P);
2035
- !m && !S && h();
2031
+ const I = (k) => {
2032
+ k.key === "Escape" && (k.preventDefault(), m());
2033
+ }, T = (k) => {
2034
+ const M = k.target, f = L.current?.contains(M), E = x.current?.contains(M);
2035
+ !f && !E && m();
2036
2036
  };
2037
- return c && (document.addEventListener("mousedown", T), document.addEventListener("keydown", y)), () => {
2038
- document.removeEventListener("mousedown", T), document.removeEventListener("keydown", y);
2037
+ return c && (document.addEventListener("mousedown", T), document.addEventListener("keydown", I)), () => {
2038
+ document.removeEventListener("mousedown", T), document.removeEventListener("keydown", I);
2039
2039
  };
2040
- }, [c, h]), U(() => {
2040
+ }, [c, m]), U(() => {
2041
2041
  if (!c) return;
2042
- const y = C.current;
2043
- if (!y) return;
2044
- const T = (P) => {
2045
- if (!k.current)
2042
+ const I = x.current;
2043
+ if (!I) return;
2044
+ const T = (M) => {
2045
+ if (!A.current)
2046
2046
  return;
2047
- const m = P.target;
2048
- m && !y.contains(m) && Zo(y);
2049
- }, M = (P) => {
2050
- if (P.key !== "Tab") return;
2051
- const m = Dt(y);
2052
- if (m.length === 0) {
2053
- P.preventDefault(), y.focus?.({ preventScroll: !0 });
2047
+ const f = M.target;
2048
+ f && !I.contains(f) && Zo(I);
2049
+ }, k = (M) => {
2050
+ if (M.key !== "Tab") return;
2051
+ const f = Dt(I);
2052
+ if (f.length === 0) {
2053
+ M.preventDefault(), I.focus?.({ preventScroll: !0 });
2054
2054
  return;
2055
2055
  }
2056
- const S = m[0], z = m[m.length - 1], $ = document.activeElement;
2057
- P.shiftKey ? $ === S && (P.preventDefault(), z.focus({ preventScroll: !0 })) : $ === z && (P.preventDefault(), S.focus({ preventScroll: !0 }));
2056
+ const E = f[0], z = f[f.length - 1], D = document.activeElement;
2057
+ M.shiftKey ? D === E && (M.preventDefault(), z.focus({ preventScroll: !0 })) : D === z && (M.preventDefault(), E.focus({ preventScroll: !0 }));
2058
2058
  };
2059
- return document.addEventListener("focusin", T), document.addEventListener("keydown", M), () => {
2060
- document.removeEventListener("focusin", T), document.removeEventListener("keydown", M);
2059
+ return document.addEventListener("focusin", T), document.addEventListener("keydown", k), () => {
2060
+ document.removeEventListener("focusin", T), document.removeEventListener("keydown", k);
2061
2061
  };
2062
2062
  }, [c]);
2063
- const H = _ && f.triggerRect ? {
2063
+ const $ = _ && h.triggerRect ? {
2064
2064
  position: "fixed",
2065
2065
  zIndex: 1e3,
2066
2066
  width: "max-content",
2067
- maxHeight: `${f.maxHeight}px`,
2067
+ maxHeight: `${h.maxHeight}px`,
2068
2068
  overflowY: "auto",
2069
- [f.xDir === "left" ? "left" : "right"]: f.xDir === "left" ? f.triggerRect.left : window.innerWidth - f.triggerRect.right,
2070
- [f.yDir === "bottom" ? "top" : "bottom"]: f.yDir === "bottom" ? f.triggerRect.bottom + 8 : window.innerHeight - f.triggerRect.top + 8
2069
+ [h.xDir === "left" ? "left" : "right"]: h.xDir === "left" ? h.triggerRect.left : window.innerWidth - h.triggerRect.right,
2070
+ [h.yDir === "bottom" ? "top" : "bottom"]: h.yDir === "bottom" ? h.triggerRect.bottom + 8 : window.innerHeight - h.triggerRect.top + 8
2071
2071
  } : {
2072
2072
  position: "absolute",
2073
2073
  zIndex: 50,
2074
2074
  width: "max-content",
2075
- maxHeight: `${f.maxHeight}px`,
2075
+ maxHeight: `${h.maxHeight}px`,
2076
2076
  overflowY: "auto",
2077
- [f.xDir]: 0,
2078
- [f.yDir === "bottom" ? "top" : "bottom"]: "100%"
2077
+ [h.xDir]: 0,
2078
+ [h.yDir === "bottom" ? "top" : "bottom"]: "100%"
2079
2079
  }, W = /* @__PURE__ */ w(
2080
2080
  "div",
2081
2081
  {
2082
- ref: C,
2083
- className: G(be.dropdown, o),
2084
- style: H,
2082
+ ref: x,
2083
+ className: K(be.dropdown, o),
2084
+ style: $,
2085
2085
  "aria-hidden": !c,
2086
2086
  "data-variant": a,
2087
2087
  "data-color": v,
2088
- "data-expanded": x,
2088
+ "data-expanded": b,
2089
2089
  "data-size": n,
2090
2090
  tabIndex: -1,
2091
2091
  role: c ? "menu" : void 0,
2092
2092
  "aria-modal": c && a === "drawer-dropdown" ? !0 : void 0,
2093
- "aria-activedescendant": c ? N : void 0,
2093
+ "aria-activedescendant": c ? C : void 0,
2094
2094
  children: [
2095
2095
  /* @__PURE__ */ w("header", { className: be.header, children: [
2096
2096
  /* @__PURE__ */ i("h2", { className: be.title, children: d }),
2097
- /* @__PURE__ */ i(_e, { size: "sm", variant: "outline", onClick: h, "aria-label": u, children: /* @__PURE__ */ i(qe, {}) })
2097
+ /* @__PURE__ */ i(_e, { size: "sm", variant: "outline", onClick: m, "aria-label": u, children: /* @__PURE__ */ i(qe, {}) })
2098
2098
  ] }),
2099
2099
  /* @__PURE__ */ i("div", { className: be.content, children: p }),
2100
- s && /* @__PURE__ */ i("footer", { className: be.footer, children: /* @__PURE__ */ i(_e, { size: "lg", variant: "solid", onClick: g || h, rounded: !0, children: /* @__PURE__ */ i("span", { "data-size": "md", children: s }) }) })
2100
+ s && /* @__PURE__ */ i("footer", { className: be.footer, children: /* @__PURE__ */ i(_e, { size: "lg", variant: "solid", onClick: g || m, rounded: !0, children: /* @__PURE__ */ i("span", { "data-size": "md", children: s }) }) })
2101
2101
  ]
2102
2102
  }
2103
2103
  );
@@ -2130,9 +2130,9 @@ const gt = ({ className: e, loading: n, icon: o, children: t }) => {
2130
2130
  const p = s.props || {};
2131
2131
  return /* @__PURE__ */ w(wt, { children: [
2132
2132
  p?.title && /* @__PURE__ */ i(Ee, { as: "h2", size: "lg", children: p.title }),
2133
- /* @__PURE__ */ i("ul", { className: Le.list, children: s?.items.map((c, h) => {
2133
+ /* @__PURE__ */ i("ul", { className: Le.list, children: s?.items.map((c, m) => {
2134
2134
  const v = c.props || {};
2135
- return /* @__PURE__ */ qt(jt, { ...v, highlightWords: a, key: "dialog-list-item" + h });
2135
+ return /* @__PURE__ */ qt(jt, { ...v, highlightWords: a, key: "dialog-list-item" + m });
2136
2136
  }) })
2137
2137
  ] }, "dialog-list-item" + l);
2138
2138
  })
@@ -2140,7 +2140,7 @@ const gt = ({ className: e, loading: n, icon: o, children: t }) => {
2140
2140
  }
2141
2141
  );
2142
2142
  rr.displayName = "DialogList";
2143
- const ar = "_item_1cw3x_3", ir = "_border_1cw3x_75", sr = "_header_1cw3x_86", lr = "_summary_1cw3x_102", cr = "_controls_1cw3x_116", dr = "_footer_1cw3x_123", ur = "_seenBy_1cw3x_128", pr = "_link_1cw3x_138", fr = "_title_1cw3x_143", te = {
2143
+ const ar = "_item_1cw3x_3", ir = "_border_1cw3x_75", sr = "_header_1cw3x_86", lr = "_summary_1cw3x_102", cr = "_controls_1cw3x_116", dr = "_footer_1cw3x_123", ur = "_seenBy_1cw3x_128", pr = "_link_1cw3x_138", fr = "_title_1cw3x_143", Z = {
2144
2144
  item: ar,
2145
2145
  border: ir,
2146
2146
  header: sr,
@@ -2164,68 +2164,66 @@ const ar = "_item_1cw3x_3", ir = "_border_1cw3x_75", sr = "_header_1cw3x_86", lr
2164
2164
  extendedStatusLabel: l,
2165
2165
  sender: p,
2166
2166
  recipient: c,
2167
- recipientLabel: h = "to",
2167
+ recipientLabel: m = "to",
2168
2168
  grouped: v = !1,
2169
2169
  updatedAt: g,
2170
- updatedAtLabel: N,
2170
+ updatedAtLabel: C,
2171
2171
  archived: _,
2172
- archivedAt: x,
2172
+ archivedAt: b,
2173
2173
  archivedAtLabel: L,
2174
- trashed: C,
2175
- trashedAt: k,
2176
- trashedAtLabel: f,
2174
+ trashed: x,
2175
+ trashedAt: A,
2176
+ trashedAtLabel: h,
2177
2177
  badge: R,
2178
- dueAt: I,
2179
- dueAtExpired: H,
2180
- dueAtLabel: W,
2181
- unread: y,
2182
- unreadLabel: T = "Ulest",
2183
- unreadItems: M,
2184
- unreadItemsLabel: P = "Ulest innhold",
2185
- seenByLog: m,
2186
- draftsLabel: S,
2187
- sentCount: z,
2188
- receivedCount: $,
2189
- attachmentsCount: A,
2178
+ dueAt: O,
2179
+ unread: $,
2180
+ unreadLabel: W = "Ulest",
2181
+ unreadItems: I,
2182
+ unreadItemsLabel: T = "Ulest innhold",
2183
+ seenByLog: k,
2184
+ draftsLabel: M,
2185
+ sentCount: f,
2186
+ receivedCount: E,
2187
+ attachmentsCount: z,
2190
2188
  attachmentsLabel: D,
2191
- tooltips: j = {},
2192
- title: K,
2193
- description: ve,
2194
- summary: Z,
2195
- highlightWords: ee,
2196
- id: b,
2197
- ...E
2189
+ tooltips: P = {},
2190
+ title: j,
2191
+ description: F,
2192
+ summary: G,
2193
+ highlightWords: se,
2194
+ id: ee,
2195
+ ...te
2198
2196
  }) => {
2199
- const B = d ? "select" : o;
2197
+ const y = d ? "select" : o;
2200
2198
  return /* @__PURE__ */ w(
2201
2199
  sn,
2202
2200
  {
2203
2201
  as: "li",
2204
- id: b,
2205
- className: te.item,
2202
+ id: ee,
2203
+ className: Z.item,
2206
2204
  size: n,
2207
2205
  color: t,
2208
- variant: B,
2209
- "data-unread": y ? "true" : "false",
2206
+ variant: y,
2207
+ "data-unread": $ ? "true" : "false",
2210
2208
  "data-selected": u,
2211
- "data-trashed": C,
2209
+ "data-trashed": x,
2212
2210
  "data-archived": _,
2213
2211
  "data-loading": r,
2214
2212
  children: [
2215
- /* @__PURE__ */ i(ln, { ...E, className: te.link, as: e, children: /* @__PURE__ */ w("div", { className: te.border, children: [
2216
- /* @__PURE__ */ w("header", { className: te.header, children: [
2213
+ /* @__PURE__ */ i(ln, { ...te, className: Z.link, as: e, children: /* @__PURE__ */ w("div", { className: Z.border, children: [
2214
+ /* @__PURE__ */ w("header", { className: Z.header, children: [
2217
2215
  /* @__PURE__ */ w(
2218
2216
  Ee,
2219
2217
  {
2220
2218
  as: "h2",
2221
- highlightWords: ee,
2222
- weight: y ? "bold" : "normal",
2219
+ highlightWords: se,
2220
+ weight: $ ? "bold" : "normal",
2223
2221
  loading: r,
2224
2222
  maxRows: 2,
2225
- className: te.title,
2223
+ className: Z.title,
2226
2224
  children: [
2227
- K,
2228
- y && /* @__PURE__ */ i(ie, { label: T, variant: "tinted", style: { marginLeft: "0.75em", marginTop: "-2px" } }) || M && /* @__PURE__ */ i(ie, { label: P, style: { marginLeft: "0.75em", marginTop: "-2px" } })
2225
+ j,
2226
+ $ && /* @__PURE__ */ i(ie, { label: W, variant: "tinted", style: { marginLeft: "0.75em", marginTop: "-2px" } }) || I && /* @__PURE__ */ i(ie, { label: T, style: { marginLeft: "0.75em", marginTop: "-2px" } })
2229
2227
  ]
2230
2228
  }
2231
2229
  ),
@@ -2236,51 +2234,49 @@ const ar = "_item_1cw3x_3", ir = "_border_1cw3x_75", sr = "_header_1cw3x_86", lr
2236
2234
  loading: r,
2237
2235
  sender: p,
2238
2236
  recipient: c,
2239
- recipientLabel: h,
2237
+ recipientLabel: m,
2240
2238
  grouped: v
2241
2239
  }
2242
2240
  ),
2243
- Z && /* @__PURE__ */ i(
2241
+ G && /* @__PURE__ */ i(
2244
2242
  Ee,
2245
2243
  {
2246
2244
  as: "h3",
2247
- highlightWords: ee,
2245
+ highlightWords: se,
2248
2246
  weight: "normal",
2249
- className: te.summary,
2247
+ className: Z.summary,
2250
2248
  loading: r,
2251
2249
  maxRows: 2,
2252
- children: Z
2250
+ children: G
2253
2251
  }
2254
2252
  )
2255
2253
  ] }),
2256
2254
  /* @__PURE__ */ i(
2257
2255
  mr,
2258
2256
  {
2259
- className: te.footer,
2257
+ className: Z.footer,
2260
2258
  loading: r,
2261
2259
  badge: R,
2262
2260
  status: s,
2263
2261
  extendedStatusLabel: l,
2264
- draftsLabel: S,
2265
- sentCount: z,
2266
- receivedCount: $,
2262
+ draftsLabel: M,
2263
+ sentCount: f,
2264
+ receivedCount: E,
2267
2265
  updatedAt: g,
2268
- updatedAtLabel: N,
2269
- archivedAt: x,
2266
+ updatedAtLabel: C,
2267
+ archivedAt: b,
2270
2268
  archivedAtLabel: L,
2271
- trashedAt: k,
2272
- trashedAtLabel: f,
2273
- dueAt: I,
2274
- dueAtExpired: H,
2275
- dueAtLabel: W,
2276
- attachmentsCount: A,
2269
+ trashedAt: A,
2270
+ trashedAtLabel: h,
2271
+ dueAt: O,
2272
+ attachmentsCount: z,
2277
2273
  attachmentsLabel: D,
2278
- tooltips: j
2274
+ tooltips: P
2279
2275
  }
2280
2276
  ),
2281
- m && j?.seenBy ? /* @__PURE__ */ i(at, { placement: "bottom", content: j?.seenBy, children: /* @__PURE__ */ i("span", { className: te.seenBy, children: /* @__PURE__ */ i(Ae, { items: m.items }) }) }) : m && /* @__PURE__ */ i(Ae, { items: m.items, className: te.seenBy })
2277
+ k && P?.seenBy ? /* @__PURE__ */ i(at, { placement: "bottom", content: P?.seenBy, children: /* @__PURE__ */ i("span", { className: Z.seenBy, children: /* @__PURE__ */ i(Ae, { items: k.items }) }) }) : k && /* @__PURE__ */ i(Ae, { items: k.items, className: Z.seenBy })
2282
2278
  ] }) }),
2283
- /* @__PURE__ */ i(et, { className: te.controls, children: a })
2279
+ /* @__PURE__ */ i(et, { className: Z.controls, children: a })
2284
2280
  ]
2285
2281
  }
2286
2282
  );
@@ -2295,81 +2291,79 @@ const mr = ({
2295
2291
  updatedAt: r,
2296
2292
  updatedAtLabel: a,
2297
2293
  dueAt: d,
2298
- dueAtExpired: u,
2299
- dueAtLabel: s,
2300
- archivedAt: l,
2301
- archivedAtLabel: p,
2302
- trashedAt: c,
2303
- trashedAtLabel: h,
2304
- draftsLabel: v,
2305
- sentCount: g = 0,
2306
- receivedCount: N = 0,
2307
- attachmentsCount: _ = 0,
2308
- attachmentsLabel: x,
2309
- transmissionsLabel: L,
2310
- activityLog: C,
2311
- extendedStatusLabel: k,
2312
- tooltips: f = {}
2294
+ archivedAt: u,
2295
+ archivedAtLabel: s,
2296
+ trashedAt: l,
2297
+ trashedAtLabel: p,
2298
+ draftsLabel: c,
2299
+ sentCount: m = 0,
2300
+ receivedCount: v = 0,
2301
+ attachmentsCount: g = 0,
2302
+ attachmentsLabel: C,
2303
+ transmissionsLabel: _,
2304
+ activityLog: b,
2305
+ extendedStatusLabel: L,
2306
+ tooltips: x = {}
2313
2307
  }) => /* @__PURE__ */ w(cn, { className: e, size: "xs", children: [
2314
- o && /* @__PURE__ */ i(Ir, { tooltip: f.status, loading: n, ...o }),
2315
- k && /* @__PURE__ */ i(ie, { tooltip: f.extendedStatus, variant: "outline", children: k }),
2316
- v && /* @__PURE__ */ i(ie, { tooltip: f.drafts, variant: "dotted", children: v }),
2317
- r && /* @__PURE__ */ w(re, { tooltip: f.updatedAt, loading: n, datetime: r, size: "xs", children: [
2308
+ o && /* @__PURE__ */ i(Ir, { tooltip: x.status, loading: n, ...o }),
2309
+ L && /* @__PURE__ */ i(ie, { tooltip: x.extendedStatus, variant: "outline", children: L }),
2310
+ c && /* @__PURE__ */ i(ie, { tooltip: x.drafts, variant: "dotted", children: c }),
2311
+ r && /* @__PURE__ */ w(re, { tooltip: x.updatedAt, loading: n, datetime: r, size: "xs", children: [
2318
2312
  /* @__PURE__ */ i("strong", { children: t && t.name + ", " }),
2319
2313
  a
2320
2314
  ] }),
2321
- _ > 0 && /* @__PURE__ */ i(re, { tooltip: f.attachments, loading: n, size: "xs", icon: on, children: x || _ }),
2322
- L && /* @__PURE__ */ i(re, { tooltip: f.transmissions, loading: n, size: "xs", icon: On, children: L }),
2323
- g > 0 && /* @__PURE__ */ i(re, { tooltip: f.sent, size: "xs", icon: Pt, children: g }),
2324
- N > 0 && /* @__PURE__ */ i(re, { tooltip: f.received, size: "xs", icon: mn, children: N }),
2325
- d && s && /* @__PURE__ */ i(
2315
+ g > 0 && /* @__PURE__ */ i(re, { tooltip: x.attachments, loading: n, size: "xs", icon: on, children: C || g }),
2316
+ _ && /* @__PURE__ */ i(re, { tooltip: x.transmissions, loading: n, size: "xs", icon: On, children: _ }),
2317
+ m > 0 && /* @__PURE__ */ i(re, { tooltip: x.sent, size: "xs", icon: Pt, children: m }),
2318
+ v > 0 && /* @__PURE__ */ i(re, { tooltip: x.received, size: "xs", icon: mn, children: v }),
2319
+ d && /* @__PURE__ */ i(
2326
2320
  re,
2327
2321
  {
2328
- variant: "tinted",
2329
- color: u ? "danger" : "warning",
2330
- tooltip: f.dueAt,
2322
+ variant: d.variant ?? "tinted",
2323
+ color: d.color ?? "warning",
2324
+ tooltip: x.dueAt,
2331
2325
  loading: n,
2332
- datetime: d,
2326
+ datetime: d.datetime,
2333
2327
  size: "xs",
2334
2328
  icon: rn,
2335
- children: s
2329
+ children: d.label
2336
2330
  }
2337
2331
  ),
2338
- h && /* @__PURE__ */ i(
2332
+ p && /* @__PURE__ */ i(
2339
2333
  re,
2340
2334
  {
2341
2335
  variant: "tinted",
2342
2336
  color: "neutral",
2343
- tooltip: f.trashedAt,
2337
+ tooltip: x.trashedAt,
2344
2338
  loading: n,
2345
- datetime: c,
2339
+ datetime: l,
2346
2340
  size: "xs",
2347
2341
  icon: Mn,
2348
- children: h
2342
+ children: p
2349
2343
  }
2350
- ) || p && /* @__PURE__ */ i(
2344
+ ) || s && /* @__PURE__ */ i(
2351
2345
  re,
2352
2346
  {
2353
2347
  variant: "tinted",
2354
2348
  color: "neutral",
2355
- tooltip: f.archivedAt,
2349
+ tooltip: x.archivedAt,
2356
2350
  loading: n,
2357
- datetime: l,
2351
+ datetime: u,
2358
2352
  size: "xs",
2359
2353
  icon: pn,
2360
- children: p
2354
+ children: s
2361
2355
  }
2362
2356
  ),
2363
- C && /* @__PURE__ */ i(
2357
+ b && /* @__PURE__ */ i(
2364
2358
  re,
2365
2359
  {
2366
- tooltip: f.activityLog,
2360
+ tooltip: x.activityLog,
2367
2361
  loading: n,
2368
2362
  size: "xs",
2369
2363
  icon: xn,
2370
- as: C?.onClick ? "button" : "span",
2371
- onClick: C?.onClick,
2372
- children: C?.label || "Activity log"
2364
+ as: b?.onClick ? "button" : "span",
2365
+ onClick: b?.onClick,
2366
+ children: b?.label || "Activity log"
2373
2367
  }
2374
2368
  )
2375
2369
  ] }), hr = ({
@@ -2394,9 +2388,9 @@ function yr(e) {
2394
2388
  return typeof e == "string" || typeof e == "number" || typeof e == "boolean" || e === null || _t(e);
2395
2389
  }
2396
2390
  const yt = ({ size: e = "xs", icon: n, progress: o }) => !n && typeof o != "number" ? !1 : /* @__PURE__ */ w("span", { className: ye.media, "data-size": e, children: [
2397
- Je(n) && /* @__PURE__ */ i(it, { ...n, className: ye.avatar }) || Ze(n) && /* @__PURE__ */ i(Ae, { ...n, className: ye.avatarGroup }) || tt(n) && /* @__PURE__ */ i(ce, { ...n, className: ye.icon }) || yr(n) && n || /* @__PURE__ */ i(ce, { svgElement: n, className: ye.icon }),
2391
+ Je(n) && /* @__PURE__ */ i(it, { ...n, className: ye.avatar }) || Ze(n) && /* @__PURE__ */ i(Ae, { ...n, className: ye.avatarGroup }) || tt(n) && /* @__PURE__ */ i(de, { ...n, className: ye.icon }) || yr(n) && n || /* @__PURE__ */ i(de, { svgElement: n, className: ye.icon }),
2398
2392
  o && /* @__PURE__ */ i(dn, { value: o, className: ye.icon })
2399
- ] }), wr = "_item_cqtms_1", _r = "_label_cqtms_54", Te = {
2393
+ ] }), wr = "_item_10b23_1", _r = "_label_10b23_65", Te = {
2400
2394
  item: wr,
2401
2395
  label: _r
2402
2396
  }, re = ({
@@ -2413,15 +2407,15 @@ const yt = ({ size: e = "xs", icon: n, progress: o }) => !n && typeof o != "numb
2413
2407
  tooltip: p,
2414
2408
  ...c
2415
2409
  }) => {
2416
- const h = e || (l ? "time" : "span");
2410
+ const m = e || (l ? "time" : "span");
2417
2411
  return p ? /* @__PURE__ */ i(at, { content: p, placement: "bottom", children: /* @__PURE__ */ i(
2418
- h,
2412
+ m,
2419
2413
  {
2420
2414
  "data-size": r,
2421
2415
  "data-color": d,
2422
2416
  "data-variant": a,
2423
2417
  dateTime: l,
2424
- className: G(Te.item, o),
2418
+ className: K(Te.item, o),
2425
2419
  ...c,
2426
2420
  children: /* @__PURE__ */ w(xe, { loading: n, children: [
2427
2421
  !n && u && /* @__PURE__ */ i(yt, { size: r, icon: u }),
@@ -2429,13 +2423,13 @@ const yt = ({ size: e = "xs", icon: n, progress: o }) => !n && typeof o != "numb
2429
2423
  ] })
2430
2424
  }
2431
2425
  ) }) : /* @__PURE__ */ i(
2432
- h,
2426
+ m,
2433
2427
  {
2434
2428
  "data-size": r,
2435
2429
  "data-color": d,
2436
2430
  "data-variant": a,
2437
2431
  dateTime: l,
2438
- className: G(Te.item, o),
2432
+ className: K(Te.item, o),
2439
2433
  ...c,
2440
2434
  children: /* @__PURE__ */ w(xe, { loading: n, children: [
2441
2435
  !n && u && /* @__PURE__ */ i(yt, { size: r, icon: u }),
@@ -2475,17 +2469,17 @@ const Ir = ({ loading: e, value: n = "not-applicable", label: o, tooltip: t }) =
2475
2469
  onSelectId: s,
2476
2470
  ...l
2477
2471
  }) => {
2478
- const p = an({ id: u, returnFocusOnClose: !0 }), c = l.searchable ? "combobox" : "menu", h = xt(
2472
+ const p = an({ id: u, returnFocusOnClose: !0 }), c = l.searchable ? "combobox" : "menu", m = xt(
2479
2473
  (g) => {
2480
2474
  s?.(g?.id ?? ""), g?.role !== "checkbox" && p.setOpen(!1);
2481
2475
  },
2482
2476
  [s, p]
2483
- ), v = fe(
2477
+ ), v = me(
2484
2478
  () => a.map((g) => ({
2485
2479
  ...g,
2486
- onClick: () => h(g)
2480
+ onClick: () => m(g)
2487
2481
  })),
2488
- [a, h]
2482
+ [a, m]
2489
2483
  );
2490
2484
  return e ? /* @__PURE__ */ w(_e, { className: Me.button, variant: o, title: r, disabled: !0, children: [
2491
2485
  /* @__PURE__ */ i("span", { className: Me.label, children: n }),
@@ -2546,7 +2540,7 @@ const Ir = ({ loading: e, value: n = "not-applicable", label: o, tooltip: t }) =
2546
2540
  onClear: l,
2547
2541
  onKeyDown: p,
2548
2542
  menu: c,
2549
- minLength: h,
2543
+ minLength: m,
2550
2544
  disabled: v,
2551
2545
  htmlTitle: g
2552
2546
  }) => /* @__PURE__ */ i(
@@ -2567,7 +2561,7 @@ const Ir = ({ loading: e, value: n = "not-applicable", label: o, tooltip: t }) =
2567
2561
  autoComplete: "off",
2568
2562
  autoCapitalize: "off",
2569
2563
  type: "search",
2570
- minLength: h,
2564
+ minLength: m,
2571
2565
  loading: a,
2572
2566
  menu: c,
2573
2567
  disabled: v
@@ -2579,7 +2573,7 @@ export {
2579
2573
  hr as D,
2580
2574
  Dn as F,
2581
2575
  Ee as H,
2582
- ce as I,
2576
+ de as I,
2583
2577
  Lt as M,
2584
2578
  ua as R,
2585
2579
  $t as S,