@onewelcome/react-lib-components 13.1.0 → 13.2.0

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 (246) hide show
  1. package/dist/components/Breadcrumbs/Breadcrumbs.module.scss.cjs.js +2 -2
  2. package/dist/components/Breadcrumbs/Breadcrumbs.module.scss.es.js +5 -5
  3. package/dist/components/Button/BaseButton.module.scss.cjs.js +2 -2
  4. package/dist/components/Button/BaseButton.module.scss.es.js +4 -4
  5. package/dist/components/Button/Button.cjs.js +1 -1
  6. package/dist/components/Button/Button.cjs.js.map +1 -1
  7. package/dist/components/Button/Button.es.js +11 -2
  8. package/dist/components/Button/Button.es.js.map +1 -1
  9. package/dist/components/Button/Button.module.scss.cjs.js +2 -2
  10. package/dist/components/Button/Button.module.scss.es.js +17 -17
  11. package/dist/components/Button/IconButton.module.scss.cjs.js +2 -2
  12. package/dist/components/Button/IconButton.module.scss.es.js +18 -18
  13. package/dist/components/ContextMenu/ContextMenu.module.scss.cjs.js +2 -2
  14. package/dist/components/ContextMenu/ContextMenu.module.scss.es.js +6 -6
  15. package/dist/components/ContextMenu/ContextMenuDivider.module.scss.cjs.js +2 -2
  16. package/dist/components/ContextMenu/ContextMenuDivider.module.scss.es.js +2 -2
  17. package/dist/components/ContextMenu/ContextMenuItem.module.scss.cjs.js +2 -2
  18. package/dist/components/ContextMenu/ContextMenuItem.module.scss.es.js +3 -3
  19. package/dist/components/DataGrid/DataGrid.cjs.js +1 -1
  20. package/dist/components/DataGrid/DataGrid.cjs.js.map +1 -1
  21. package/dist/components/DataGrid/DataGrid.es.js +28 -10
  22. package/dist/components/DataGrid/DataGrid.es.js.map +1 -1
  23. package/dist/components/DataGrid/DataGrid.module.scss.cjs.js +2 -2
  24. package/dist/components/DataGrid/DataGrid.module.scss.es.js +7 -6
  25. package/dist/components/DataGrid/DataGrid.module.scss.es.js.map +1 -1
  26. package/dist/components/DataGrid/DataGridActions/DataGridActions.module.scss.cjs.js +2 -2
  27. package/dist/components/DataGrid/DataGridActions/DataGridActions.module.scss.es.js +6 -6
  28. package/dist/components/DataGrid/DataGridActions/DataGridColumnsToggle.module.scss.cjs.js +2 -2
  29. package/dist/components/DataGrid/DataGridActions/DataGridColumnsToggle.module.scss.es.js +7 -7
  30. package/dist/components/DataGrid/DataGridBody/DataGridBody.module.scss.cjs.js +2 -2
  31. package/dist/components/DataGrid/DataGridBody/DataGridBody.module.scss.es.js +2 -2
  32. package/dist/components/DataGrid/DataGridBody/DataGridCell/DataGridCell.module.scss.cjs.js +2 -2
  33. package/dist/components/DataGrid/DataGridBody/DataGridCell/DataGridCell.module.scss.es.js +5 -5
  34. package/dist/components/DataGrid/DataGridBody/DataGridDrawer/DataGridDrawer.module.scss.cjs.js +2 -2
  35. package/dist/components/DataGrid/DataGridBody/DataGridDrawer/DataGridDrawer.module.scss.es.js +4 -4
  36. package/dist/components/DataGrid/DataGridBody/DataGridDrawer/DataGridDrawerItem.module.scss.cjs.js +2 -2
  37. package/dist/components/DataGrid/DataGridBody/DataGridDrawer/DataGridDrawerItem.module.scss.es.js +5 -5
  38. package/dist/components/DataGrid/DataGridBody/DataGridRow/DataGridRow.cjs.js +1 -1
  39. package/dist/components/DataGrid/DataGridBody/DataGridRow/DataGridRow.cjs.js.map +1 -1
  40. package/dist/components/DataGrid/DataGridBody/DataGridRow/DataGridRow.es.js +2 -1
  41. package/dist/components/DataGrid/DataGridBody/DataGridRow/DataGridRow.es.js.map +1 -1
  42. package/dist/components/DataGrid/DataGridBody/DataGridRow/DataGridRow.module.scss.cjs.js +2 -2
  43. package/dist/components/DataGrid/DataGridBody/DataGridRow/DataGridRow.module.scss.es.js +24 -24
  44. package/dist/components/DataGrid/DataGridFilters/DataGridFilter.module.scss.cjs.js +2 -2
  45. package/dist/components/DataGrid/DataGridFilters/DataGridFilter.module.scss.es.js +9 -9
  46. package/dist/components/DataGrid/DataGridFilters/DataGridToolbar.module.scss.cjs.js +2 -2
  47. package/dist/components/DataGrid/DataGridFilters/DataGridToolbar.module.scss.es.js +10 -10
  48. package/dist/components/DataGrid/DataGridFilters/DateTimePicker/DateTimePicker.module.scss.cjs.js +2 -2
  49. package/dist/components/DataGrid/DataGridFilters/DateTimePicker/DateTimePicker.module.scss.es.js +17 -17
  50. package/dist/components/DataGrid/DataGridHeader/DataGridHeader.cjs.js +1 -1
  51. package/dist/components/DataGrid/DataGridHeader/DataGridHeader.cjs.js.map +1 -1
  52. package/dist/components/DataGrid/DataGridHeader/DataGridHeader.es.js +1 -0
  53. package/dist/components/DataGrid/DataGridHeader/DataGridHeader.es.js.map +1 -1
  54. package/dist/components/DataGrid/DataGridHeader/DataGridHeader.module.scss.cjs.js +2 -2
  55. package/dist/components/DataGrid/DataGridHeader/DataGridHeader.module.scss.es.js +3 -3
  56. package/dist/components/DataGrid/DataGridHeader/DataGridHeaderCell.cjs.js +1 -1
  57. package/dist/components/DataGrid/DataGridHeader/DataGridHeaderCell.cjs.js.map +1 -1
  58. package/dist/components/DataGrid/DataGridHeader/DataGridHeaderCell.es.js +13 -11
  59. package/dist/components/DataGrid/DataGridHeader/DataGridHeaderCell.es.js.map +1 -1
  60. package/dist/components/DataGrid/DataGridHeader/DataGridHeaderCell.module.scss.cjs.js +2 -2
  61. package/dist/components/DataGrid/DataGridHeader/DataGridHeaderCell.module.scss.es.js +11 -10
  62. package/dist/components/DataGrid/DataGridHeader/DataGridHeaderCell.module.scss.es.js.map +1 -1
  63. package/dist/components/DatePicker/DatePicker.module.scss.cjs.js +2 -2
  64. package/dist/components/DatePicker/DatePicker.module.scss.es.js +31 -31
  65. package/dist/components/Form/Checkbox/Checkbox.module.scss.cjs.js +2 -2
  66. package/dist/components/Form/Checkbox/Checkbox.module.scss.es.js +13 -13
  67. package/dist/components/Form/Fieldset/Fieldset.module.scss.cjs.js +2 -2
  68. package/dist/components/Form/Fieldset/Fieldset.module.scss.es.js +5 -5
  69. package/dist/components/Form/FileUpload/FileItem/FileItem.module.scss.cjs.js +2 -2
  70. package/dist/components/Form/FileUpload/FileItem/FileItem.module.scss.es.js +18 -18
  71. package/dist/components/Form/FileUpload/FileUpload.module.scss.cjs.js +2 -2
  72. package/dist/components/Form/FileUpload/FileUpload.module.scss.es.js +16 -16
  73. package/dist/components/Form/Form.module.scss.cjs.js +2 -2
  74. package/dist/components/Form/Form.module.scss.es.js +2 -2
  75. package/dist/components/Form/FormControl/FormControl.module.scss.cjs.js +2 -2
  76. package/dist/components/Form/FormControl/FormControl.module.scss.es.js +13 -13
  77. package/dist/components/Form/FormErrorText/FormErrorText.module.scss.cjs.js +2 -2
  78. package/dist/components/Form/FormErrorText/FormErrorText.module.scss.es.js +5 -5
  79. package/dist/components/Form/FormGroup/FormGroup.module.scss.cjs.js +2 -2
  80. package/dist/components/Form/FormGroup/FormGroup.module.scss.es.js +3 -3
  81. package/dist/components/Form/FormHelperText/FormHelperText.module.scss.cjs.js +2 -2
  82. package/dist/components/Form/FormHelperText/FormHelperText.module.scss.es.js +4 -4
  83. package/dist/components/Form/FormSelectorWrapper/FormSelectorWrapper.module.scss.cjs.js +2 -2
  84. package/dist/components/Form/FormSelectorWrapper/FormSelectorWrapper.module.scss.es.js +6 -6
  85. package/dist/components/Form/Input/Input.module.scss.cjs.js +2 -2
  86. package/dist/components/Form/Input/Input.module.scss.es.js +8 -8
  87. package/dist/components/Form/Label/Label.module.scss.cjs.js +2 -2
  88. package/dist/components/Form/Label/Label.module.scss.es.js +2 -2
  89. package/dist/components/Form/Radio/Radio.module.scss.cjs.js +2 -2
  90. package/dist/components/Form/Radio/Radio.module.scss.es.js +11 -11
  91. package/dist/components/Form/Select/MultiSelect/MultiSelect.module.scss.cjs.js +2 -2
  92. package/dist/components/Form/Select/MultiSelect/MultiSelect.module.scss.es.js +15 -15
  93. package/dist/components/Form/Select/MultiSelect/SelectButton.module.scss.cjs.js +2 -2
  94. package/dist/components/Form/Select/MultiSelect/SelectButton.module.scss.es.js +2 -2
  95. package/dist/components/Form/Select/MultiSelect/SelectedOptions.module.scss.cjs.js +2 -2
  96. package/dist/components/Form/Select/MultiSelect/SelectedOptions.module.scss.es.js +4 -4
  97. package/dist/components/Form/Select/SingleSelect/Select.module.scss.cjs.js +2 -2
  98. package/dist/components/Form/Select/SingleSelect/Select.module.scss.es.js +17 -17
  99. package/dist/components/Form/Select/useAddNewBtn.module.scss.cjs.js +2 -2
  100. package/dist/components/Form/Select/useAddNewBtn.module.scss.es.js +4 -4
  101. package/dist/components/Form/Select/useSelectPositionList.cjs.js +1 -1
  102. package/dist/components/Form/Select/useSelectPositionList.cjs.js.map +1 -1
  103. package/dist/components/Form/Select/useSelectPositionList.es.js +18 -5
  104. package/dist/components/Form/Select/useSelectPositionList.es.js.map +1 -1
  105. package/dist/components/Form/Textarea/Textarea.module.scss.cjs.js +2 -2
  106. package/dist/components/Form/Textarea/Textarea.module.scss.es.js +6 -6
  107. package/dist/components/Form/Toggle/Toggle.module.scss.cjs.js +2 -2
  108. package/dist/components/Form/Toggle/Toggle.module.scss.es.js +18 -18
  109. package/dist/components/Form/Wrapper/CheckboxWrapper/CheckboxWrapper.module.scss.cjs.js +2 -2
  110. package/dist/components/Form/Wrapper/CheckboxWrapper/CheckboxWrapper.module.scss.es.js +3 -3
  111. package/dist/components/Form/Wrapper/InputWrapper/InputWrapper.module.scss.cjs.js +2 -2
  112. package/dist/components/Form/Wrapper/InputWrapper/InputWrapper.module.scss.es.js +5 -5
  113. package/dist/components/Form/Wrapper/MultiSelectWrapper/MultiSelectWrapper.module.scss.cjs.js +2 -2
  114. package/dist/components/Form/Wrapper/MultiSelectWrapper/MultiSelectWrapper.module.scss.es.js +3 -3
  115. package/dist/components/Form/Wrapper/RadioWrapper/RadioWrapper.module.scss.cjs.js +2 -2
  116. package/dist/components/Form/Wrapper/RadioWrapper/RadioWrapper.module.scss.es.js +3 -3
  117. package/dist/components/Form/Wrapper/SelectWrapper/SelectWrapper.module.scss.cjs.js +2 -2
  118. package/dist/components/Form/Wrapper/SelectWrapper/SelectWrapper.module.scss.es.js +3 -3
  119. package/dist/components/Form/Wrapper/TextareaWrapper/TextareaWrapper.module.scss.cjs.js +2 -2
  120. package/dist/components/Form/Wrapper/TextareaWrapper/TextareaWrapper.module.scss.es.js +8 -8
  121. package/dist/components/Form/Wrapper/Wrapper/Wrapper.module.scss.cjs.js +2 -2
  122. package/dist/components/Form/Wrapper/Wrapper/Wrapper.module.scss.es.js +6 -6
  123. package/dist/components/Icon/Icon.cjs.js +1 -1
  124. package/dist/components/Icon/Icon.cjs.js.map +1 -1
  125. package/dist/components/Icon/Icon.es.js +1 -0
  126. package/dist/components/Icon/Icon.es.js.map +1 -1
  127. package/dist/components/Icon/Icon.module.scss.cjs.js +2 -2
  128. package/dist/components/Icon/Icon.module.scss.es.js +108 -107
  129. package/dist/components/Icon/Icon.module.scss.es.js.map +1 -1
  130. package/dist/components/Layout/ActionBar/ActionBar.cjs.js +2 -0
  131. package/dist/components/Layout/ActionBar/ActionBar.cjs.js.map +1 -0
  132. package/dist/components/Layout/ActionBar/ActionBar.es.js +122 -0
  133. package/dist/components/Layout/ActionBar/ActionBar.es.js.map +1 -0
  134. package/dist/components/Layout/ActionBar/ActionBar.module.scss.cjs.js +3 -0
  135. package/dist/components/Layout/ActionBar/ActionBar.module.scss.cjs.js.map +1 -0
  136. package/dist/components/Layout/ActionBar/ActionBar.module.scss.es.js +24 -0
  137. package/dist/components/Layout/ActionBar/ActionBar.module.scss.es.js.map +1 -0
  138. package/dist/components/Layout/Card/Card.module.scss.cjs.js +2 -2
  139. package/dist/components/Layout/Card/Card.module.scss.es.js +12 -12
  140. package/dist/components/Layout/ContentHeader/ContentHeader.module.scss.cjs.js +2 -2
  141. package/dist/components/Layout/ContentHeader/ContentHeader.module.scss.es.js +12 -12
  142. package/dist/components/Layout/FormPage/FormWithStepper/FormSection/FormSection.module.scss.cjs.js +2 -2
  143. package/dist/components/Layout/FormPage/FormWithStepper/FormSection/FormSection.module.scss.es.js +4 -4
  144. package/dist/components/Layout/FormPage/FormWithStepper/FormStepper/FormStepper.module.scss.cjs.js +2 -2
  145. package/dist/components/Layout/FormPage/FormWithStepper/FormStepper/FormStepper.module.scss.es.js +2 -2
  146. package/dist/components/Layout/FormPage/FormWithStepper/FormWithStepper.module.scss.cjs.js +2 -2
  147. package/dist/components/Layout/FormPage/FormWithStepper/FormWithStepper.module.scss.es.js +3 -3
  148. package/dist/components/Link/Link.module.scss.cjs.js +2 -2
  149. package/dist/components/Link/Link.module.scss.es.js +17 -17
  150. package/dist/components/Notifications/Alert/AlertContainer/AlertContainer.module.scss.cjs.js +2 -2
  151. package/dist/components/Notifications/Alert/AlertContainer/AlertContainer.module.scss.es.js +11 -11
  152. package/dist/components/Notifications/Alert/AlertItem/AlertItem.module.scss.cjs.js +2 -2
  153. package/dist/components/Notifications/Alert/AlertItem/AlertItem.module.scss.es.js +22 -22
  154. package/dist/components/Notifications/Banner/Banner.module.scss.cjs.js +2 -2
  155. package/dist/components/Notifications/Banner/Banner.module.scss.es.js +9 -9
  156. package/dist/components/Notifications/BaseModal/BaseModal.module.scss.cjs.js +2 -2
  157. package/dist/components/Notifications/BaseModal/BaseModal.module.scss.es.js +5 -5
  158. package/dist/components/Notifications/BaseModal/BaseModalActions/BaseModalActions.module.scss.cjs.js +2 -2
  159. package/dist/components/Notifications/BaseModal/BaseModalActions/BaseModalActions.module.scss.es.js +4 -4
  160. package/dist/components/Notifications/BaseModal/BaseModalContent/BaseModalContent.module.scss.cjs.js +2 -2
  161. package/dist/components/Notifications/BaseModal/BaseModalContent/BaseModalContent.module.scss.es.js +2 -2
  162. package/dist/components/Notifications/BaseModal/BaseModalHeader/BaseModalHeader.module.scss.cjs.js +2 -2
  163. package/dist/components/Notifications/BaseModal/BaseModalHeader/BaseModalHeader.module.scss.es.js +6 -6
  164. package/dist/components/Notifications/Dialog/Dialog.module.scss.cjs.js +2 -2
  165. package/dist/components/Notifications/Dialog/Dialog.module.scss.es.js +4 -4
  166. package/dist/components/Notifications/Dialog/DialogActions/DialogActions.module.scss.cjs.js +2 -2
  167. package/dist/components/Notifications/Dialog/DialogActions/DialogActions.module.scss.es.js +3 -3
  168. package/dist/components/Notifications/Dialog/DialogTitle/DialogTitle.module.scss.cjs.js +2 -2
  169. package/dist/components/Notifications/Dialog/DialogTitle/DialogTitle.module.scss.es.js +10 -10
  170. package/dist/components/Notifications/SideSheet/SideSheet.module.scss.cjs.js +2 -2
  171. package/dist/components/Notifications/SideSheet/SideSheet.module.scss.es.js +13 -13
  172. package/dist/components/Notifications/SideSheet/SideSheetContent/SideSheetContent.module.scss.cjs.js +2 -2
  173. package/dist/components/Notifications/SideSheet/SideSheetContent/SideSheetContent.module.scss.es.js +2 -2
  174. package/dist/components/Notifications/SideSheet/SideSheetHeader/SideSheetHeader.module.scss.cjs.js +2 -2
  175. package/dist/components/Notifications/SideSheet/SideSheetHeader/SideSheetHeader.module.scss.es.js +2 -2
  176. package/dist/components/Notifications/SlideInModal/SlideInModal.module.scss.cjs.js +2 -2
  177. package/dist/components/Notifications/SlideInModal/SlideInModal.module.scss.es.js +10 -10
  178. package/dist/components/Pagination/Pagination.module.scss.cjs.js +2 -2
  179. package/dist/components/Pagination/Pagination.module.scss.es.js +14 -14
  180. package/dist/components/Popover/Popover.module.scss.cjs.js +2 -2
  181. package/dist/components/Popover/Popover.module.scss.es.js +3 -3
  182. package/dist/components/ProgressBar/ProgressBar.module.scss.cjs.js +2 -2
  183. package/dist/components/ProgressBar/ProgressBar.module.scss.es.js +9 -9
  184. package/dist/components/Skeleton/Skeleton.module.scss.cjs.js +2 -2
  185. package/dist/components/Skeleton/Skeleton.module.scss.es.js +5 -5
  186. package/dist/components/Spinner/Spinner.module.scss.cjs.js +2 -2
  187. package/dist/components/Spinner/Spinner.module.scss.es.js +3 -3
  188. package/dist/components/Stepper/Step.module.scss.cjs.js +2 -2
  189. package/dist/components/Stepper/Step.module.scss.es.js +22 -22
  190. package/dist/components/Stepper/Stepper.module.scss.cjs.js +2 -2
  191. package/dist/components/Stepper/Stepper.module.scss.es.js +4 -4
  192. package/dist/components/Tabs/Tab.module.scss.cjs.js +2 -2
  193. package/dist/components/Tabs/Tab.module.scss.es.js +3 -3
  194. package/dist/components/Tabs/TabButton.module.scss.cjs.js +2 -2
  195. package/dist/components/Tabs/TabButton.module.scss.es.js +12 -12
  196. package/dist/components/Tabs/Tabs.cjs.js +1 -1
  197. package/dist/components/Tabs/Tabs.cjs.js.map +1 -1
  198. package/dist/components/Tabs/Tabs.es.js +1 -1
  199. package/dist/components/Tabs/Tabs.es.js.map +1 -1
  200. package/dist/components/Tabs/Tabs.module.scss.cjs.js +2 -2
  201. package/dist/components/Tabs/Tabs.module.scss.es.js +10 -10
  202. package/dist/components/Tag/RemoveButton.module.scss.cjs.js +2 -2
  203. package/dist/components/Tag/RemoveButton.module.scss.es.js +3 -3
  204. package/dist/components/Tag/Tag.module.scss.cjs.js +2 -2
  205. package/dist/components/Tag/Tag.module.scss.es.js +6 -6
  206. package/dist/components/TextEllipsis/TextEllipsis.module.scss.cjs.js +2 -2
  207. package/dist/components/TextEllipsis/TextEllipsis.module.scss.es.js +3 -3
  208. package/dist/components/Tiles/Tile.module.scss.cjs.js +2 -2
  209. package/dist/components/Tiles/Tile.module.scss.es.js +8 -8
  210. package/dist/components/Tiles/Tiles.module.scss.cjs.js +2 -2
  211. package/dist/components/Tiles/Tiles.module.scss.es.js +2 -2
  212. package/dist/components/Tooltip/Tooltip.cjs.js +1 -1
  213. package/dist/components/Tooltip/Tooltip.cjs.js.map +1 -1
  214. package/dist/components/Tooltip/Tooltip.es.js +38 -23
  215. package/dist/components/Tooltip/Tooltip.es.js.map +1 -1
  216. package/dist/components/Tooltip/Tooltip.module.scss.cjs.js +2 -2
  217. package/dist/components/Tooltip/Tooltip.module.scss.es.js +27 -27
  218. package/dist/components/Typography/Typography.module.scss.cjs.js +2 -2
  219. package/dist/components/Typography/Typography.module.scss.es.js +13 -13
  220. package/dist/components/_BaseStyling_/BaseStyling.cjs.js +1 -0
  221. package/dist/components/_BaseStyling_/BaseStyling.cjs.js.map +1 -1
  222. package/dist/components/_BaseStyling_/BaseStyling.es.js +2 -0
  223. package/dist/components/_BaseStyling_/BaseStyling.es.js.map +1 -1
  224. package/dist/components/admin/layout/LeftNav/LeftNav.module.scss.cjs.js +2 -2
  225. package/dist/components/admin/layout/LeftNav/LeftNav.module.scss.es.js +5 -5
  226. package/dist/components/admin/layout/LeftNav/LeftNavItem/LeftNavItem.module.scss.cjs.js +2 -2
  227. package/dist/components/admin/layout/LeftNav/LeftNavItem/LeftNavItem.module.scss.es.js +14 -14
  228. package/dist/components/admin/layout/MicrofrontendContainer/MicrofrontendContainer.module.scss.cjs.js +2 -2
  229. package/dist/components/admin/layout/MicrofrontendContainer/MicrofrontendContainer.module.scss.es.js +3 -3
  230. package/dist/components/admin/layout/ProfileMenu/ProfileMenu.module.scss.cjs.js +2 -2
  231. package/dist/components/admin/layout/ProfileMenu/ProfileMenu.module.scss.es.js +7 -7
  232. package/dist/components/admin/layout/TopNavBar/TopNavBar.module.scss.cjs.js +2 -2
  233. package/dist/components/admin/layout/TopNavBar/TopNavBar.module.scss.es.js +13 -13
  234. package/dist/components/miscellaneous/IdentityProviderButton.module.scss.cjs.js +2 -2
  235. package/dist/components/miscellaneous/IdentityProviderButton.module.scss.es.js +3 -3
  236. package/dist/hooks/usePosition.cjs.js +1 -1
  237. package/dist/hooks/usePosition.cjs.js.map +1 -1
  238. package/dist/hooks/usePosition.es.js +105 -4
  239. package/dist/hooks/usePosition.es.js.map +1 -1
  240. package/dist/index.cjs.js +1 -1
  241. package/dist/index.d.ts +22 -1
  242. package/dist/index.es.js +2 -0
  243. package/dist/index.es.js.map +1 -1
  244. package/dist/readyclasses.module.scss.cjs.js +2 -2
  245. package/dist/readyclasses.module.scss.es.js +5 -5
  246. package/package.json +4 -4
@@ -1,12 +1,12 @@
1
- !function(){"use strict";try{if("undefined"!=typeof document){var e=document.createElement("style");e.appendChild(document.createTextNode('.LeftNav_sr-only_k432A{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);border:0}.LeftNav_hidden_k432A{display:none}.LeftNav_slide-in_k432A{animation:LeftNav_slide-in_k432A .5s forwards}@media(prefers-reduced-motion:reduce){.LeftNav_slide-in_k432A{animation-duration:.1ms}}.LeftNav_slide-out_k432A{animation:LeftNav_slide-out_k432A .5s forwards}@media(prefers-reduced-motion:reduce){.LeftNav_slide-out_k432A{animation-duration:.1ms}}@keyframes LeftNav_slide-in_k432A{0%{transform:translateY(100vh)}to{transform:translateY(0)}}@keyframes LeftNav_slide-out_k432A{0%{transform:translateY(0)}to{transform:translateY(100vh)}}/*!\n * Copyright 2022 OneWelcome B.V.\n *\n * Licensed under the Apache License, Version 2.0 (the "License");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an "AS IS" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */.LeftNav_sidenavbar_k432A{--margin-top: 4rem;top:var(--margin-top);position:sticky;z-index:2;display:block;overflow-y:auto;flex-shrink:0;width:15rem;height:calc(100vh - var(--margin-top));padding:0;margin:0;font-family:var(--font-family);background-color:#fff;box-shadow:0 2px 2px #01053205,0 3px 4px #01053205,0 1px 5px #0105320a;transition:transform .2s ease-in-out}@media screen and (max-width:50em){.LeftNav_sidenavbar_k432A{box-shadow:0 30px 50px #00000029;transform:translate(-110%)}.LeftNav_sidenavbar_k432A.LeftNav_hidden_k432A{visibility:hidden;width:0}.LeftNav_sidenavbar_k432A.LeftNav_open_k432A{visibility:visible;transform:translate(0);width:15rem}}@media screen and (min-width:50em){.LeftNav_sidenavbar_k432A.LeftNav_sidenavbar--collapsed_k432A{box-shadow:0 30px 50px #00000029;transform:translate(-110%);width:0}.LeftNav_sidenavbar_k432A.LeftNav_sidenavbar--collapsed_k432A.LeftNav_hidden_k432A{visibility:hidden;width:0}}')),document.head.appendChild(e)}}catch(i){console.error("vite-plugin-css-injected-by-js",i)}}();
2
- const hidden = "LeftNav_hidden_k432A";
3
- const sidenavbar = "LeftNav_sidenavbar_k432A";
4
- const open = "LeftNav_open_k432A";
1
+ !function(){"use strict";try{if("undefined"!=typeof document){var e=document.createElement("style");e.appendChild(document.createTextNode('.LeftNav_sr-only_EVNeA{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);border:0}.LeftNav_hidden_EVNeA{display:none}.LeftNav_slide-in_EVNeA{animation:LeftNav_slide-in_EVNeA .5s forwards}@media(prefers-reduced-motion:reduce){.LeftNav_slide-in_EVNeA{animation-duration:.1ms}}.LeftNav_slide-out_EVNeA{animation:LeftNav_slide-out_EVNeA .5s forwards}@media(prefers-reduced-motion:reduce){.LeftNav_slide-out_EVNeA{animation-duration:.1ms}}@keyframes LeftNav_slide-in_EVNeA{0%{transform:translateY(100vh)}to{transform:translateY(0)}}@keyframes LeftNav_slide-out_EVNeA{0%{transform:translateY(0)}to{transform:translateY(100vh)}}/*!\n * Copyright 2022 OneWelcome B.V.\n *\n * Licensed under the Apache License, Version 2.0 (the "License");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an "AS IS" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */.LeftNav_sidenavbar_EVNeA{--margin-top: 4rem;top:var(--margin-top);position:sticky;z-index:2;display:block;overflow-y:auto;flex-shrink:0;width:15rem;height:calc(100vh - var(--margin-top));padding:0;margin:0;font-family:var(--font-family);background-color:#fff;box-shadow:0 2px 2px #01053205,0 3px 4px #01053205,0 1px 5px #0105320a;transition:transform .2s ease-in-out}@media screen and (max-width:50em){.LeftNav_sidenavbar_EVNeA{box-shadow:0 30px 50px #00000029;transform:translate(-110%)}.LeftNav_sidenavbar_EVNeA.LeftNav_hidden_EVNeA{visibility:hidden;width:0}.LeftNav_sidenavbar_EVNeA.LeftNav_open_EVNeA{visibility:visible;transform:translate(0);width:15rem}}@media screen and (min-width:50em){.LeftNav_sidenavbar_EVNeA.LeftNav_sidenavbar--collapsed_EVNeA{box-shadow:0 30px 50px #00000029;transform:translate(-110%);width:0}.LeftNav_sidenavbar_EVNeA.LeftNav_sidenavbar--collapsed_EVNeA.LeftNav_hidden_EVNeA{visibility:hidden;width:0}}')),document.head.appendChild(e)}}catch(i){console.error("vite-plugin-css-injected-by-js",i)}}();
2
+ const hidden = "LeftNav_hidden_EVNeA";
3
+ const sidenavbar = "LeftNav_sidenavbar_EVNeA";
4
+ const open = "LeftNav_open_EVNeA";
5
5
  const classes = {
6
6
  hidden,
7
7
  sidenavbar,
8
8
  open,
9
- "sidenavbar--collapsed": "LeftNav_sidenavbar--collapsed_k432A"
9
+ "sidenavbar--collapsed": "LeftNav_sidenavbar--collapsed_EVNeA"
10
10
  };
11
11
  export {
12
12
  classes as default,
@@ -1,3 +1,3 @@
1
- !function(){"use strict";try{if("undefined"!=typeof document){var e=document.createElement("style");e.appendChild(document.createTextNode('.LeftNavItem_menu-button_k432A{background-color:transparent;border:0;font-family:var(--font-family)}.LeftNavItem_menu-button_k432A a{color:inherit;text-decoration:inherit}.LeftNavItem_menu-button_k432A a:hover,.LeftNavItem_menu-button_k432A a:active,.LeftNavItem_menu-button_k432A a:focus{color:inherit}.LeftNavItem_menu-link_k432A{text-decoration:none}.LeftNavItem_menu-button-wrapper_k432A>.LeftNavItem_menu-button_k432A+ul>.LeftNavItem_menu-button-wrapper_k432A,.LeftNavItem_menu-button-wrapper_k432A>.LeftNavItem_menu-button_k432A+ul>a{opacity:0;transform:translateY(-60px)}.LeftNavItem_menu-button-wrapper_k432A.LeftNavItem_expanded_k432A>.LeftNavItem_menu-button_k432A+ul>.LeftNavItem_menu-button-wrapper_k432A,.LeftNavItem_menu-button-wrapper_k432A.LeftNavItem_expanded_k432A>.LeftNavItem_menu-button_k432A+ul>li{opacity:0;animation-name:LeftNavItem_item-fade-in_k432A;animation-duration:.25s;animation-fill-mode:forwards}.LeftNavItem_menu-button-wrapper_k432A.LeftNavItem_expanded_k432A>.LeftNavItem_menu-button_k432A+ul>.LeftNavItem_menu-button-wrapper_k432A:nth-child(1),.LeftNavItem_menu-button-wrapper_k432A.LeftNavItem_expanded_k432A>.LeftNavItem_menu-button_k432A+ul>li:nth-child(1){animation-delay:0ms}.LeftNavItem_menu-button-wrapper_k432A.LeftNavItem_expanded_k432A>.LeftNavItem_menu-button_k432A+ul>.LeftNavItem_menu-button-wrapper_k432A:nth-child(2),.LeftNavItem_menu-button-wrapper_k432A.LeftNavItem_expanded_k432A>.LeftNavItem_menu-button_k432A+ul>li:nth-child(2){animation-delay:.1s}.LeftNavItem_menu-button-wrapper_k432A.LeftNavItem_expanded_k432A>.LeftNavItem_menu-button_k432A+ul>.LeftNavItem_menu-button-wrapper_k432A:nth-child(3),.LeftNavItem_menu-button-wrapper_k432A.LeftNavItem_expanded_k432A>.LeftNavItem_menu-button_k432A+ul>li:nth-child(3){animation-delay:.2s}.LeftNavItem_menu-button-wrapper_k432A.LeftNavItem_expanded_k432A>.LeftNavItem_menu-button_k432A+ul>.LeftNavItem_menu-button-wrapper_k432A:nth-child(4),.LeftNavItem_menu-button-wrapper_k432A.LeftNavItem_expanded_k432A>.LeftNavItem_menu-button_k432A+ul>li:nth-child(4){animation-delay:.3s}.LeftNavItem_menu-button-wrapper_k432A.LeftNavItem_expanded_k432A>.LeftNavItem_menu-button_k432A+ul>.LeftNavItem_menu-button-wrapper_k432A:nth-child(5),.LeftNavItem_menu-button-wrapper_k432A.LeftNavItem_expanded_k432A>.LeftNavItem_menu-button_k432A+ul>li:nth-child(5){animation-delay:.4s}.LeftNavItem_menu-button-wrapper_k432A.LeftNavItem_expanded_k432A>.LeftNavItem_menu-button_k432A+ul>.LeftNavItem_menu-button-wrapper_k432A:nth-child(6),.LeftNavItem_menu-button-wrapper_k432A.LeftNavItem_expanded_k432A>.LeftNavItem_menu-button_k432A+ul>li:nth-child(6){animation-delay:.5s}.LeftNavItem_menu-button-wrapper_k432A.LeftNavItem_expanded_k432A>.LeftNavItem_menu-button_k432A+ul>.LeftNavItem_menu-button-wrapper_k432A:nth-child(7),.LeftNavItem_menu-button-wrapper_k432A.LeftNavItem_expanded_k432A>.LeftNavItem_menu-button_k432A+ul>li:nth-child(7){animation-delay:.6s}.LeftNavItem_menu-button-wrapper_k432A.LeftNavItem_expanded_k432A>.LeftNavItem_menu-button_k432A+ul>.LeftNavItem_menu-button-wrapper_k432A:nth-child(8),.LeftNavItem_menu-button-wrapper_k432A.LeftNavItem_expanded_k432A>.LeftNavItem_menu-button_k432A+ul>li:nth-child(8){animation-delay:.7s}.LeftNavItem_menu-button-wrapper_k432A.LeftNavItem_expanded_k432A>.LeftNavItem_menu-button_k432A+ul>.LeftNavItem_menu-button-wrapper_k432A:nth-child(9),.LeftNavItem_menu-button-wrapper_k432A.LeftNavItem_expanded_k432A>.LeftNavItem_menu-button_k432A+ul>li:nth-child(9){animation-delay:.8s}.LeftNavItem_menu-button-wrapper_k432A.LeftNavItem_expanded_k432A>.LeftNavItem_menu-button_k432A+ul>.LeftNavItem_menu-button-wrapper_k432A:nth-child(10),.LeftNavItem_menu-button-wrapper_k432A.LeftNavItem_expanded_k432A>.LeftNavItem_menu-button_k432A+ul>li:nth-child(10){animation-delay:.9s}.LeftNavItem_menu-button-wrapper_k432A.LeftNavItem_expanded_k432A>.LeftNavItem_menu-button_k432A+ul>.LeftNavItem_menu-button-wrapper_k432A:nth-child(11),.LeftNavItem_menu-button-wrapper_k432A.LeftNavItem_expanded_k432A>.LeftNavItem_menu-button_k432A+ul>li:nth-child(11){animation-delay:1s}.LeftNavItem_menu-button-wrapper_k432A.LeftNavItem_expanded_k432A>.LeftNavItem_menu-button_k432A+ul>.LeftNavItem_menu-button-wrapper_k432A:nth-child(12),.LeftNavItem_menu-button-wrapper_k432A.LeftNavItem_expanded_k432A>.LeftNavItem_menu-button_k432A+ul>li:nth-child(12){animation-delay:1.1s}.LeftNavItem_menu-button-wrapper_k432A.LeftNavItem_expanded_k432A>.LeftNavItem_menu-button_k432A+ul>.LeftNavItem_menu-button-wrapper_k432A:nth-child(13),.LeftNavItem_menu-button-wrapper_k432A.LeftNavItem_expanded_k432A>.LeftNavItem_menu-button_k432A+ul>li:nth-child(13){animation-delay:1.2s}.LeftNavItem_menu-button-wrapper_k432A.LeftNavItem_expanded_k432A>.LeftNavItem_menu-button_k432A+ul>.LeftNavItem_menu-button-wrapper_k432A:nth-child(14),.LeftNavItem_menu-button-wrapper_k432A.LeftNavItem_expanded_k432A>.LeftNavItem_menu-button_k432A+ul>li:nth-child(14){animation-delay:1.3s}.LeftNavItem_menu-button-wrapper_k432A.LeftNavItem_expanded_k432A>.LeftNavItem_menu-button_k432A+ul>.LeftNavItem_menu-button-wrapper_k432A:nth-child(15),.LeftNavItem_menu-button-wrapper_k432A.LeftNavItem_expanded_k432A>.LeftNavItem_menu-button_k432A+ul>li:nth-child(15){animation-delay:1.4s}.LeftNavItem_menu-button-wrapper_k432A.LeftNavItem_expanded_k432A>.LeftNavItem_menu-button_k432A+ul>.LeftNavItem_menu-button-wrapper_k432A:nth-child(16),.LeftNavItem_menu-button-wrapper_k432A.LeftNavItem_expanded_k432A>.LeftNavItem_menu-button_k432A+ul>li:nth-child(16){animation-delay:1.5s}.LeftNavItem_menu-button-wrapper_k432A.LeftNavItem_expanded_k432A>.LeftNavItem_menu-button_k432A+ul>.LeftNavItem_menu-button-wrapper_k432A:nth-child(17),.LeftNavItem_menu-button-wrapper_k432A.LeftNavItem_expanded_k432A>.LeftNavItem_menu-button_k432A+ul>li:nth-child(17){animation-delay:1.6s}.LeftNavItem_menu-button-wrapper_k432A.LeftNavItem_expanded_k432A>.LeftNavItem_menu-button_k432A+ul>.LeftNavItem_menu-button-wrapper_k432A:nth-child(18),.LeftNavItem_menu-button-wrapper_k432A.LeftNavItem_expanded_k432A>.LeftNavItem_menu-button_k432A+ul>li:nth-child(18){animation-delay:1.7s}.LeftNavItem_menu-button-wrapper_k432A.LeftNavItem_expanded_k432A>.LeftNavItem_menu-button_k432A+ul>.LeftNavItem_menu-button-wrapper_k432A:nth-child(19),.LeftNavItem_menu-button-wrapper_k432A.LeftNavItem_expanded_k432A>.LeftNavItem_menu-button_k432A+ul>li:nth-child(19){animation-delay:1.8s}.LeftNavItem_menu-button-wrapper_k432A .LeftNavItem_menu-button-wrapper_k432A .LeftNavItem_menu-link_k432A{padding-left:2.5rem}.LeftNavItem_menu-list_k432A{padding:0;margin:0;overflow:hidden;max-height:100000px;list-style:none;text-align:left;transition:max-height .15s ease-in-out}.LeftNavItem_menu-list_k432A .LeftNavItem_menu-item-text-wrapper_k432A{padding-left:2rem}.LeftNavItem_menu-list_k432A a:focus-visible,.LeftNavItem_menu-list_k432A button:focus-visible{outline-offset:-.0625rem}.LeftNavItem_menu-item_k432A{box-sizing:border-box;display:flex;padding:1.125rem 1rem;align-items:center;justify-content:space-between;width:100%;color:var(--color-blue-grey900);line-height:1.5rem;font-size:1rem;font-weight:400;transition:all .15s ease-in-out;cursor:pointer}.LeftNavItem_menu-item_k432A:focus-visible{outline-offset:-.0625rem}.LeftNavItem_menu-item_k432A .LeftNavItem_menu-item-text-wrapper_k432A{display:flex}.LeftNavItem_menu-item_k432A .LeftNavItem_menu-item-expand-icon_k432A{padding:.375rem;margin:-.375rem}.LeftNavItem_menu-item_k432A .LeftNavItem_menu-item-icon_k432A{display:flex;align-items:center;justify-content:center;width:1.5rem;margin-right:.5rem;font-size:1.125rem}.LeftNavItem_menu-item-text_k432A{display:flex;align-items:center}.LeftNavItem_menu-item-expand-icon_k432A{font-size:.75rem;color:var(--color-blue-grey900);transition:all .15s ease-in-out}.LeftNavItem_menu-item_k432A.LeftNavItem_expanded_k432A .LeftNavItem_menu-item-expand-icon_k432A{transform:rotate(180deg)}.LeftNavItem_menu-item_k432A a{color:inherit}.LeftNavItem_menu-item_k432A:hover{background-color:var(--color-blue-grey50)}.LeftNavItem_menu-item_k432A:focus,.LeftNavItem_menu-item_k432A:active{color:inherit;background-color:var(--color-blue-grey100)}.LeftNavItem_menu-item_k432A.LeftNavItem_disabled_k432A{color:var(--color-blue-grey400);background-color:var(--color-blue-grey25);pointer-events:none}.LeftNavItem_menu-list-item_k432A{position:relative}.LeftNavItem_menu-list-item_k432A a.LeftNavItem_menu-item_k432A{padding:.75rem 1rem;color:var(--color-blue-grey900)}.LeftNavItem_menu-list-item_k432A a.LeftNavItem_menu-item-active_k432A{background-color:var(--left-nav-item-active-background-color)}.LeftNavItem_menu-list-item_k432A a.LeftNavItem_menu-item-active_k432A:hover{background-color:var(--color-blue-grey50)}.LeftNavItem_menu-list-item_k432A a.LeftNavItem_menu-item-active_k432A:focus,.LeftNavItem_menu-list-item_k432A a.LeftNavItem_menu-item-active_k432A:active{background-color:var(--color-blue-grey100)}.LeftNavItem_menu-list-item_k432A a.LeftNavItem_menu-item-active_k432A:before{content:"";height:100%;position:absolute;left:0;z-index:2;border-top-right-radius:.125rem;border-bottom-right-radius:.125rem;border-left:.25rem solid var(--left-nav-item-active-ribbon-color)}.LeftNavItem_menu-list-item_k432A a.LeftNavItem_menu-item-active_k432A .LeftNavItem_menu-item-text_k432A,.LeftNavItem_menu-list-item_k432A button.LeftNavItem_menu-item-active_k432A .LeftNavItem_menu-item-text_k432A{font-weight:700}@keyframes LeftNavItem_item-fade-in_k432A{0%{opacity:0;transform:translateY(-60px)}80%{opacity:.6}to{opacity:1;transform:translateY(0)}}')),document.head.appendChild(e)}}catch(t){console.error("vite-plugin-css-injected-by-js",t)}}();
2
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e="LeftNavItem_expanded_k432A",t="LeftNavItem_disabled_k432A",m={"menu-button":"LeftNavItem_menu-button_k432A","menu-link":"LeftNavItem_menu-link_k432A","menu-button-wrapper":"LeftNavItem_menu-button-wrapper_k432A",expanded:e,"menu-list":"LeftNavItem_menu-list_k432A","menu-item-text-wrapper":"LeftNavItem_menu-item-text-wrapper_k432A","menu-item":"LeftNavItem_menu-item_k432A","menu-item-expand-icon":"LeftNavItem_menu-item-expand-icon_k432A","menu-item-icon":"LeftNavItem_menu-item-icon_k432A","menu-item-text":"LeftNavItem_menu-item-text_k432A",disabled:t,"menu-list-item":"LeftNavItem_menu-list-item_k432A","menu-item-active":"LeftNavItem_menu-item-active_k432A"};exports.default=m,exports.disabled=t,exports.expanded=e;
1
+ !function(){"use strict";try{if("undefined"!=typeof document){var e=document.createElement("style");e.appendChild(document.createTextNode('.LeftNavItem_menu-button_EVNeA{background-color:transparent;border:0;font-family:var(--font-family)}.LeftNavItem_menu-button_EVNeA a{color:inherit;text-decoration:inherit}.LeftNavItem_menu-button_EVNeA a:hover,.LeftNavItem_menu-button_EVNeA a:active,.LeftNavItem_menu-button_EVNeA a:focus{color:inherit}.LeftNavItem_menu-link_EVNeA{text-decoration:none}.LeftNavItem_menu-button-wrapper_EVNeA>.LeftNavItem_menu-button_EVNeA+ul>.LeftNavItem_menu-button-wrapper_EVNeA,.LeftNavItem_menu-button-wrapper_EVNeA>.LeftNavItem_menu-button_EVNeA+ul>a{opacity:0;transform:translateY(-60px)}.LeftNavItem_menu-button-wrapper_EVNeA.LeftNavItem_expanded_EVNeA>.LeftNavItem_menu-button_EVNeA+ul>.LeftNavItem_menu-button-wrapper_EVNeA,.LeftNavItem_menu-button-wrapper_EVNeA.LeftNavItem_expanded_EVNeA>.LeftNavItem_menu-button_EVNeA+ul>li{opacity:0;animation-name:LeftNavItem_item-fade-in_EVNeA;animation-duration:.25s;animation-fill-mode:forwards}.LeftNavItem_menu-button-wrapper_EVNeA.LeftNavItem_expanded_EVNeA>.LeftNavItem_menu-button_EVNeA+ul>.LeftNavItem_menu-button-wrapper_EVNeA:nth-child(1),.LeftNavItem_menu-button-wrapper_EVNeA.LeftNavItem_expanded_EVNeA>.LeftNavItem_menu-button_EVNeA+ul>li:nth-child(1){animation-delay:0ms}.LeftNavItem_menu-button-wrapper_EVNeA.LeftNavItem_expanded_EVNeA>.LeftNavItem_menu-button_EVNeA+ul>.LeftNavItem_menu-button-wrapper_EVNeA:nth-child(2),.LeftNavItem_menu-button-wrapper_EVNeA.LeftNavItem_expanded_EVNeA>.LeftNavItem_menu-button_EVNeA+ul>li:nth-child(2){animation-delay:.1s}.LeftNavItem_menu-button-wrapper_EVNeA.LeftNavItem_expanded_EVNeA>.LeftNavItem_menu-button_EVNeA+ul>.LeftNavItem_menu-button-wrapper_EVNeA:nth-child(3),.LeftNavItem_menu-button-wrapper_EVNeA.LeftNavItem_expanded_EVNeA>.LeftNavItem_menu-button_EVNeA+ul>li:nth-child(3){animation-delay:.2s}.LeftNavItem_menu-button-wrapper_EVNeA.LeftNavItem_expanded_EVNeA>.LeftNavItem_menu-button_EVNeA+ul>.LeftNavItem_menu-button-wrapper_EVNeA:nth-child(4),.LeftNavItem_menu-button-wrapper_EVNeA.LeftNavItem_expanded_EVNeA>.LeftNavItem_menu-button_EVNeA+ul>li:nth-child(4){animation-delay:.3s}.LeftNavItem_menu-button-wrapper_EVNeA.LeftNavItem_expanded_EVNeA>.LeftNavItem_menu-button_EVNeA+ul>.LeftNavItem_menu-button-wrapper_EVNeA:nth-child(5),.LeftNavItem_menu-button-wrapper_EVNeA.LeftNavItem_expanded_EVNeA>.LeftNavItem_menu-button_EVNeA+ul>li:nth-child(5){animation-delay:.4s}.LeftNavItem_menu-button-wrapper_EVNeA.LeftNavItem_expanded_EVNeA>.LeftNavItem_menu-button_EVNeA+ul>.LeftNavItem_menu-button-wrapper_EVNeA:nth-child(6),.LeftNavItem_menu-button-wrapper_EVNeA.LeftNavItem_expanded_EVNeA>.LeftNavItem_menu-button_EVNeA+ul>li:nth-child(6){animation-delay:.5s}.LeftNavItem_menu-button-wrapper_EVNeA.LeftNavItem_expanded_EVNeA>.LeftNavItem_menu-button_EVNeA+ul>.LeftNavItem_menu-button-wrapper_EVNeA:nth-child(7),.LeftNavItem_menu-button-wrapper_EVNeA.LeftNavItem_expanded_EVNeA>.LeftNavItem_menu-button_EVNeA+ul>li:nth-child(7){animation-delay:.6s}.LeftNavItem_menu-button-wrapper_EVNeA.LeftNavItem_expanded_EVNeA>.LeftNavItem_menu-button_EVNeA+ul>.LeftNavItem_menu-button-wrapper_EVNeA:nth-child(8),.LeftNavItem_menu-button-wrapper_EVNeA.LeftNavItem_expanded_EVNeA>.LeftNavItem_menu-button_EVNeA+ul>li:nth-child(8){animation-delay:.7s}.LeftNavItem_menu-button-wrapper_EVNeA.LeftNavItem_expanded_EVNeA>.LeftNavItem_menu-button_EVNeA+ul>.LeftNavItem_menu-button-wrapper_EVNeA:nth-child(9),.LeftNavItem_menu-button-wrapper_EVNeA.LeftNavItem_expanded_EVNeA>.LeftNavItem_menu-button_EVNeA+ul>li:nth-child(9){animation-delay:.8s}.LeftNavItem_menu-button-wrapper_EVNeA.LeftNavItem_expanded_EVNeA>.LeftNavItem_menu-button_EVNeA+ul>.LeftNavItem_menu-button-wrapper_EVNeA:nth-child(10),.LeftNavItem_menu-button-wrapper_EVNeA.LeftNavItem_expanded_EVNeA>.LeftNavItem_menu-button_EVNeA+ul>li:nth-child(10){animation-delay:.9s}.LeftNavItem_menu-button-wrapper_EVNeA.LeftNavItem_expanded_EVNeA>.LeftNavItem_menu-button_EVNeA+ul>.LeftNavItem_menu-button-wrapper_EVNeA:nth-child(11),.LeftNavItem_menu-button-wrapper_EVNeA.LeftNavItem_expanded_EVNeA>.LeftNavItem_menu-button_EVNeA+ul>li:nth-child(11){animation-delay:1s}.LeftNavItem_menu-button-wrapper_EVNeA.LeftNavItem_expanded_EVNeA>.LeftNavItem_menu-button_EVNeA+ul>.LeftNavItem_menu-button-wrapper_EVNeA:nth-child(12),.LeftNavItem_menu-button-wrapper_EVNeA.LeftNavItem_expanded_EVNeA>.LeftNavItem_menu-button_EVNeA+ul>li:nth-child(12){animation-delay:1.1s}.LeftNavItem_menu-button-wrapper_EVNeA.LeftNavItem_expanded_EVNeA>.LeftNavItem_menu-button_EVNeA+ul>.LeftNavItem_menu-button-wrapper_EVNeA:nth-child(13),.LeftNavItem_menu-button-wrapper_EVNeA.LeftNavItem_expanded_EVNeA>.LeftNavItem_menu-button_EVNeA+ul>li:nth-child(13){animation-delay:1.2s}.LeftNavItem_menu-button-wrapper_EVNeA.LeftNavItem_expanded_EVNeA>.LeftNavItem_menu-button_EVNeA+ul>.LeftNavItem_menu-button-wrapper_EVNeA:nth-child(14),.LeftNavItem_menu-button-wrapper_EVNeA.LeftNavItem_expanded_EVNeA>.LeftNavItem_menu-button_EVNeA+ul>li:nth-child(14){animation-delay:1.3s}.LeftNavItem_menu-button-wrapper_EVNeA.LeftNavItem_expanded_EVNeA>.LeftNavItem_menu-button_EVNeA+ul>.LeftNavItem_menu-button-wrapper_EVNeA:nth-child(15),.LeftNavItem_menu-button-wrapper_EVNeA.LeftNavItem_expanded_EVNeA>.LeftNavItem_menu-button_EVNeA+ul>li:nth-child(15){animation-delay:1.4s}.LeftNavItem_menu-button-wrapper_EVNeA.LeftNavItem_expanded_EVNeA>.LeftNavItem_menu-button_EVNeA+ul>.LeftNavItem_menu-button-wrapper_EVNeA:nth-child(16),.LeftNavItem_menu-button-wrapper_EVNeA.LeftNavItem_expanded_EVNeA>.LeftNavItem_menu-button_EVNeA+ul>li:nth-child(16){animation-delay:1.5s}.LeftNavItem_menu-button-wrapper_EVNeA.LeftNavItem_expanded_EVNeA>.LeftNavItem_menu-button_EVNeA+ul>.LeftNavItem_menu-button-wrapper_EVNeA:nth-child(17),.LeftNavItem_menu-button-wrapper_EVNeA.LeftNavItem_expanded_EVNeA>.LeftNavItem_menu-button_EVNeA+ul>li:nth-child(17){animation-delay:1.6s}.LeftNavItem_menu-button-wrapper_EVNeA.LeftNavItem_expanded_EVNeA>.LeftNavItem_menu-button_EVNeA+ul>.LeftNavItem_menu-button-wrapper_EVNeA:nth-child(18),.LeftNavItem_menu-button-wrapper_EVNeA.LeftNavItem_expanded_EVNeA>.LeftNavItem_menu-button_EVNeA+ul>li:nth-child(18){animation-delay:1.7s}.LeftNavItem_menu-button-wrapper_EVNeA.LeftNavItem_expanded_EVNeA>.LeftNavItem_menu-button_EVNeA+ul>.LeftNavItem_menu-button-wrapper_EVNeA:nth-child(19),.LeftNavItem_menu-button-wrapper_EVNeA.LeftNavItem_expanded_EVNeA>.LeftNavItem_menu-button_EVNeA+ul>li:nth-child(19){animation-delay:1.8s}.LeftNavItem_menu-button-wrapper_EVNeA .LeftNavItem_menu-button-wrapper_EVNeA .LeftNavItem_menu-link_EVNeA{padding-left:2.5rem}.LeftNavItem_menu-list_EVNeA{padding:0;margin:0;overflow:hidden;max-height:100000px;list-style:none;text-align:left;transition:max-height .15s ease-in-out}.LeftNavItem_menu-list_EVNeA .LeftNavItem_menu-item-text-wrapper_EVNeA{padding-left:2rem}.LeftNavItem_menu-list_EVNeA a:focus-visible,.LeftNavItem_menu-list_EVNeA button:focus-visible{outline-offset:-.0625rem}.LeftNavItem_menu-item_EVNeA{box-sizing:border-box;display:flex;padding:1.125rem 1rem;align-items:center;justify-content:space-between;width:100%;color:var(--color-blue-grey900);line-height:1.5rem;font-size:1rem;font-weight:400;transition:all .15s ease-in-out;cursor:pointer}.LeftNavItem_menu-item_EVNeA:focus-visible{outline-offset:-.0625rem}.LeftNavItem_menu-item_EVNeA .LeftNavItem_menu-item-text-wrapper_EVNeA{display:flex}.LeftNavItem_menu-item_EVNeA .LeftNavItem_menu-item-expand-icon_EVNeA{padding:.375rem;margin:-.375rem}.LeftNavItem_menu-item_EVNeA .LeftNavItem_menu-item-icon_EVNeA{display:flex;align-items:center;justify-content:center;width:1.5rem;margin-right:.5rem;font-size:1.125rem}.LeftNavItem_menu-item-text_EVNeA{display:flex;align-items:center}.LeftNavItem_menu-item-expand-icon_EVNeA{font-size:.75rem;color:var(--color-blue-grey900);transition:all .15s ease-in-out}.LeftNavItem_menu-item_EVNeA.LeftNavItem_expanded_EVNeA .LeftNavItem_menu-item-expand-icon_EVNeA{transform:rotate(180deg)}.LeftNavItem_menu-item_EVNeA a{color:inherit}.LeftNavItem_menu-item_EVNeA:hover{background-color:var(--color-blue-grey50)}.LeftNavItem_menu-item_EVNeA:focus,.LeftNavItem_menu-item_EVNeA:active{color:inherit;background-color:var(--color-blue-grey100)}.LeftNavItem_menu-item_EVNeA.LeftNavItem_disabled_EVNeA{color:var(--color-blue-grey400);background-color:var(--color-blue-grey25);pointer-events:none}.LeftNavItem_menu-list-item_EVNeA{position:relative}.LeftNavItem_menu-list-item_EVNeA a.LeftNavItem_menu-item_EVNeA{padding:.75rem 1rem;color:var(--color-blue-grey900)}.LeftNavItem_menu-list-item_EVNeA a.LeftNavItem_menu-item-active_EVNeA{background-color:var(--left-nav-item-active-background-color)}.LeftNavItem_menu-list-item_EVNeA a.LeftNavItem_menu-item-active_EVNeA:hover{background-color:var(--color-blue-grey50)}.LeftNavItem_menu-list-item_EVNeA a.LeftNavItem_menu-item-active_EVNeA:focus,.LeftNavItem_menu-list-item_EVNeA a.LeftNavItem_menu-item-active_EVNeA:active{background-color:var(--color-blue-grey100)}.LeftNavItem_menu-list-item_EVNeA a.LeftNavItem_menu-item-active_EVNeA:before{content:"";height:100%;position:absolute;left:0;z-index:2;border-top-right-radius:.125rem;border-bottom-right-radius:.125rem;border-left:.25rem solid var(--left-nav-item-active-ribbon-color)}.LeftNavItem_menu-list-item_EVNeA a.LeftNavItem_menu-item-active_EVNeA .LeftNavItem_menu-item-text_EVNeA,.LeftNavItem_menu-list-item_EVNeA button.LeftNavItem_menu-item-active_EVNeA .LeftNavItem_menu-item-text_EVNeA{font-weight:700}@keyframes LeftNavItem_item-fade-in_EVNeA{0%{opacity:0;transform:translateY(-60px)}80%{opacity:.6}to{opacity:1;transform:translateY(0)}}')),document.head.appendChild(e)}}catch(t){console.error("vite-plugin-css-injected-by-js",t)}}();
2
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e="LeftNavItem_expanded_EVNeA",t="LeftNavItem_disabled_EVNeA",m={"menu-button":"LeftNavItem_menu-button_EVNeA","menu-link":"LeftNavItem_menu-link_EVNeA","menu-button-wrapper":"LeftNavItem_menu-button-wrapper_EVNeA",expanded:e,"menu-list":"LeftNavItem_menu-list_EVNeA","menu-item-text-wrapper":"LeftNavItem_menu-item-text-wrapper_EVNeA","menu-item":"LeftNavItem_menu-item_EVNeA","menu-item-expand-icon":"LeftNavItem_menu-item-expand-icon_EVNeA","menu-item-icon":"LeftNavItem_menu-item-icon_EVNeA","menu-item-text":"LeftNavItem_menu-item-text_EVNeA",disabled:t,"menu-list-item":"LeftNavItem_menu-list-item_EVNeA","menu-item-active":"LeftNavItem_menu-item-active_EVNeA"};exports.default=m,exports.disabled=t,exports.expanded=e;
3
3
  //# sourceMappingURL=LeftNavItem.module.scss.cjs.js.map
@@ -1,20 +1,20 @@
1
- !function(){"use strict";try{if("undefined"!=typeof document){var e=document.createElement("style");e.appendChild(document.createTextNode('.LeftNavItem_menu-button_k432A{background-color:transparent;border:0;font-family:var(--font-family)}.LeftNavItem_menu-button_k432A a{color:inherit;text-decoration:inherit}.LeftNavItem_menu-button_k432A a:hover,.LeftNavItem_menu-button_k432A a:active,.LeftNavItem_menu-button_k432A a:focus{color:inherit}.LeftNavItem_menu-link_k432A{text-decoration:none}.LeftNavItem_menu-button-wrapper_k432A>.LeftNavItem_menu-button_k432A+ul>.LeftNavItem_menu-button-wrapper_k432A,.LeftNavItem_menu-button-wrapper_k432A>.LeftNavItem_menu-button_k432A+ul>a{opacity:0;transform:translateY(-60px)}.LeftNavItem_menu-button-wrapper_k432A.LeftNavItem_expanded_k432A>.LeftNavItem_menu-button_k432A+ul>.LeftNavItem_menu-button-wrapper_k432A,.LeftNavItem_menu-button-wrapper_k432A.LeftNavItem_expanded_k432A>.LeftNavItem_menu-button_k432A+ul>li{opacity:0;animation-name:LeftNavItem_item-fade-in_k432A;animation-duration:.25s;animation-fill-mode:forwards}.LeftNavItem_menu-button-wrapper_k432A.LeftNavItem_expanded_k432A>.LeftNavItem_menu-button_k432A+ul>.LeftNavItem_menu-button-wrapper_k432A:nth-child(1),.LeftNavItem_menu-button-wrapper_k432A.LeftNavItem_expanded_k432A>.LeftNavItem_menu-button_k432A+ul>li:nth-child(1){animation-delay:0ms}.LeftNavItem_menu-button-wrapper_k432A.LeftNavItem_expanded_k432A>.LeftNavItem_menu-button_k432A+ul>.LeftNavItem_menu-button-wrapper_k432A:nth-child(2),.LeftNavItem_menu-button-wrapper_k432A.LeftNavItem_expanded_k432A>.LeftNavItem_menu-button_k432A+ul>li:nth-child(2){animation-delay:.1s}.LeftNavItem_menu-button-wrapper_k432A.LeftNavItem_expanded_k432A>.LeftNavItem_menu-button_k432A+ul>.LeftNavItem_menu-button-wrapper_k432A:nth-child(3),.LeftNavItem_menu-button-wrapper_k432A.LeftNavItem_expanded_k432A>.LeftNavItem_menu-button_k432A+ul>li:nth-child(3){animation-delay:.2s}.LeftNavItem_menu-button-wrapper_k432A.LeftNavItem_expanded_k432A>.LeftNavItem_menu-button_k432A+ul>.LeftNavItem_menu-button-wrapper_k432A:nth-child(4),.LeftNavItem_menu-button-wrapper_k432A.LeftNavItem_expanded_k432A>.LeftNavItem_menu-button_k432A+ul>li:nth-child(4){animation-delay:.3s}.LeftNavItem_menu-button-wrapper_k432A.LeftNavItem_expanded_k432A>.LeftNavItem_menu-button_k432A+ul>.LeftNavItem_menu-button-wrapper_k432A:nth-child(5),.LeftNavItem_menu-button-wrapper_k432A.LeftNavItem_expanded_k432A>.LeftNavItem_menu-button_k432A+ul>li:nth-child(5){animation-delay:.4s}.LeftNavItem_menu-button-wrapper_k432A.LeftNavItem_expanded_k432A>.LeftNavItem_menu-button_k432A+ul>.LeftNavItem_menu-button-wrapper_k432A:nth-child(6),.LeftNavItem_menu-button-wrapper_k432A.LeftNavItem_expanded_k432A>.LeftNavItem_menu-button_k432A+ul>li:nth-child(6){animation-delay:.5s}.LeftNavItem_menu-button-wrapper_k432A.LeftNavItem_expanded_k432A>.LeftNavItem_menu-button_k432A+ul>.LeftNavItem_menu-button-wrapper_k432A:nth-child(7),.LeftNavItem_menu-button-wrapper_k432A.LeftNavItem_expanded_k432A>.LeftNavItem_menu-button_k432A+ul>li:nth-child(7){animation-delay:.6s}.LeftNavItem_menu-button-wrapper_k432A.LeftNavItem_expanded_k432A>.LeftNavItem_menu-button_k432A+ul>.LeftNavItem_menu-button-wrapper_k432A:nth-child(8),.LeftNavItem_menu-button-wrapper_k432A.LeftNavItem_expanded_k432A>.LeftNavItem_menu-button_k432A+ul>li:nth-child(8){animation-delay:.7s}.LeftNavItem_menu-button-wrapper_k432A.LeftNavItem_expanded_k432A>.LeftNavItem_menu-button_k432A+ul>.LeftNavItem_menu-button-wrapper_k432A:nth-child(9),.LeftNavItem_menu-button-wrapper_k432A.LeftNavItem_expanded_k432A>.LeftNavItem_menu-button_k432A+ul>li:nth-child(9){animation-delay:.8s}.LeftNavItem_menu-button-wrapper_k432A.LeftNavItem_expanded_k432A>.LeftNavItem_menu-button_k432A+ul>.LeftNavItem_menu-button-wrapper_k432A:nth-child(10),.LeftNavItem_menu-button-wrapper_k432A.LeftNavItem_expanded_k432A>.LeftNavItem_menu-button_k432A+ul>li:nth-child(10){animation-delay:.9s}.LeftNavItem_menu-button-wrapper_k432A.LeftNavItem_expanded_k432A>.LeftNavItem_menu-button_k432A+ul>.LeftNavItem_menu-button-wrapper_k432A:nth-child(11),.LeftNavItem_menu-button-wrapper_k432A.LeftNavItem_expanded_k432A>.LeftNavItem_menu-button_k432A+ul>li:nth-child(11){animation-delay:1s}.LeftNavItem_menu-button-wrapper_k432A.LeftNavItem_expanded_k432A>.LeftNavItem_menu-button_k432A+ul>.LeftNavItem_menu-button-wrapper_k432A:nth-child(12),.LeftNavItem_menu-button-wrapper_k432A.LeftNavItem_expanded_k432A>.LeftNavItem_menu-button_k432A+ul>li:nth-child(12){animation-delay:1.1s}.LeftNavItem_menu-button-wrapper_k432A.LeftNavItem_expanded_k432A>.LeftNavItem_menu-button_k432A+ul>.LeftNavItem_menu-button-wrapper_k432A:nth-child(13),.LeftNavItem_menu-button-wrapper_k432A.LeftNavItem_expanded_k432A>.LeftNavItem_menu-button_k432A+ul>li:nth-child(13){animation-delay:1.2s}.LeftNavItem_menu-button-wrapper_k432A.LeftNavItem_expanded_k432A>.LeftNavItem_menu-button_k432A+ul>.LeftNavItem_menu-button-wrapper_k432A:nth-child(14),.LeftNavItem_menu-button-wrapper_k432A.LeftNavItem_expanded_k432A>.LeftNavItem_menu-button_k432A+ul>li:nth-child(14){animation-delay:1.3s}.LeftNavItem_menu-button-wrapper_k432A.LeftNavItem_expanded_k432A>.LeftNavItem_menu-button_k432A+ul>.LeftNavItem_menu-button-wrapper_k432A:nth-child(15),.LeftNavItem_menu-button-wrapper_k432A.LeftNavItem_expanded_k432A>.LeftNavItem_menu-button_k432A+ul>li:nth-child(15){animation-delay:1.4s}.LeftNavItem_menu-button-wrapper_k432A.LeftNavItem_expanded_k432A>.LeftNavItem_menu-button_k432A+ul>.LeftNavItem_menu-button-wrapper_k432A:nth-child(16),.LeftNavItem_menu-button-wrapper_k432A.LeftNavItem_expanded_k432A>.LeftNavItem_menu-button_k432A+ul>li:nth-child(16){animation-delay:1.5s}.LeftNavItem_menu-button-wrapper_k432A.LeftNavItem_expanded_k432A>.LeftNavItem_menu-button_k432A+ul>.LeftNavItem_menu-button-wrapper_k432A:nth-child(17),.LeftNavItem_menu-button-wrapper_k432A.LeftNavItem_expanded_k432A>.LeftNavItem_menu-button_k432A+ul>li:nth-child(17){animation-delay:1.6s}.LeftNavItem_menu-button-wrapper_k432A.LeftNavItem_expanded_k432A>.LeftNavItem_menu-button_k432A+ul>.LeftNavItem_menu-button-wrapper_k432A:nth-child(18),.LeftNavItem_menu-button-wrapper_k432A.LeftNavItem_expanded_k432A>.LeftNavItem_menu-button_k432A+ul>li:nth-child(18){animation-delay:1.7s}.LeftNavItem_menu-button-wrapper_k432A.LeftNavItem_expanded_k432A>.LeftNavItem_menu-button_k432A+ul>.LeftNavItem_menu-button-wrapper_k432A:nth-child(19),.LeftNavItem_menu-button-wrapper_k432A.LeftNavItem_expanded_k432A>.LeftNavItem_menu-button_k432A+ul>li:nth-child(19){animation-delay:1.8s}.LeftNavItem_menu-button-wrapper_k432A .LeftNavItem_menu-button-wrapper_k432A .LeftNavItem_menu-link_k432A{padding-left:2.5rem}.LeftNavItem_menu-list_k432A{padding:0;margin:0;overflow:hidden;max-height:100000px;list-style:none;text-align:left;transition:max-height .15s ease-in-out}.LeftNavItem_menu-list_k432A .LeftNavItem_menu-item-text-wrapper_k432A{padding-left:2rem}.LeftNavItem_menu-list_k432A a:focus-visible,.LeftNavItem_menu-list_k432A button:focus-visible{outline-offset:-.0625rem}.LeftNavItem_menu-item_k432A{box-sizing:border-box;display:flex;padding:1.125rem 1rem;align-items:center;justify-content:space-between;width:100%;color:var(--color-blue-grey900);line-height:1.5rem;font-size:1rem;font-weight:400;transition:all .15s ease-in-out;cursor:pointer}.LeftNavItem_menu-item_k432A:focus-visible{outline-offset:-.0625rem}.LeftNavItem_menu-item_k432A .LeftNavItem_menu-item-text-wrapper_k432A{display:flex}.LeftNavItem_menu-item_k432A .LeftNavItem_menu-item-expand-icon_k432A{padding:.375rem;margin:-.375rem}.LeftNavItem_menu-item_k432A .LeftNavItem_menu-item-icon_k432A{display:flex;align-items:center;justify-content:center;width:1.5rem;margin-right:.5rem;font-size:1.125rem}.LeftNavItem_menu-item-text_k432A{display:flex;align-items:center}.LeftNavItem_menu-item-expand-icon_k432A{font-size:.75rem;color:var(--color-blue-grey900);transition:all .15s ease-in-out}.LeftNavItem_menu-item_k432A.LeftNavItem_expanded_k432A .LeftNavItem_menu-item-expand-icon_k432A{transform:rotate(180deg)}.LeftNavItem_menu-item_k432A a{color:inherit}.LeftNavItem_menu-item_k432A:hover{background-color:var(--color-blue-grey50)}.LeftNavItem_menu-item_k432A:focus,.LeftNavItem_menu-item_k432A:active{color:inherit;background-color:var(--color-blue-grey100)}.LeftNavItem_menu-item_k432A.LeftNavItem_disabled_k432A{color:var(--color-blue-grey400);background-color:var(--color-blue-grey25);pointer-events:none}.LeftNavItem_menu-list-item_k432A{position:relative}.LeftNavItem_menu-list-item_k432A a.LeftNavItem_menu-item_k432A{padding:.75rem 1rem;color:var(--color-blue-grey900)}.LeftNavItem_menu-list-item_k432A a.LeftNavItem_menu-item-active_k432A{background-color:var(--left-nav-item-active-background-color)}.LeftNavItem_menu-list-item_k432A a.LeftNavItem_menu-item-active_k432A:hover{background-color:var(--color-blue-grey50)}.LeftNavItem_menu-list-item_k432A a.LeftNavItem_menu-item-active_k432A:focus,.LeftNavItem_menu-list-item_k432A a.LeftNavItem_menu-item-active_k432A:active{background-color:var(--color-blue-grey100)}.LeftNavItem_menu-list-item_k432A a.LeftNavItem_menu-item-active_k432A:before{content:"";height:100%;position:absolute;left:0;z-index:2;border-top-right-radius:.125rem;border-bottom-right-radius:.125rem;border-left:.25rem solid var(--left-nav-item-active-ribbon-color)}.LeftNavItem_menu-list-item_k432A a.LeftNavItem_menu-item-active_k432A .LeftNavItem_menu-item-text_k432A,.LeftNavItem_menu-list-item_k432A button.LeftNavItem_menu-item-active_k432A .LeftNavItem_menu-item-text_k432A{font-weight:700}@keyframes LeftNavItem_item-fade-in_k432A{0%{opacity:0;transform:translateY(-60px)}80%{opacity:.6}to{opacity:1;transform:translateY(0)}}')),document.head.appendChild(e)}}catch(t){console.error("vite-plugin-css-injected-by-js",t)}}();
2
- const expanded = "LeftNavItem_expanded_k432A";
3
- const disabled = "LeftNavItem_disabled_k432A";
1
+ !function(){"use strict";try{if("undefined"!=typeof document){var e=document.createElement("style");e.appendChild(document.createTextNode('.LeftNavItem_menu-button_EVNeA{background-color:transparent;border:0;font-family:var(--font-family)}.LeftNavItem_menu-button_EVNeA a{color:inherit;text-decoration:inherit}.LeftNavItem_menu-button_EVNeA a:hover,.LeftNavItem_menu-button_EVNeA a:active,.LeftNavItem_menu-button_EVNeA a:focus{color:inherit}.LeftNavItem_menu-link_EVNeA{text-decoration:none}.LeftNavItem_menu-button-wrapper_EVNeA>.LeftNavItem_menu-button_EVNeA+ul>.LeftNavItem_menu-button-wrapper_EVNeA,.LeftNavItem_menu-button-wrapper_EVNeA>.LeftNavItem_menu-button_EVNeA+ul>a{opacity:0;transform:translateY(-60px)}.LeftNavItem_menu-button-wrapper_EVNeA.LeftNavItem_expanded_EVNeA>.LeftNavItem_menu-button_EVNeA+ul>.LeftNavItem_menu-button-wrapper_EVNeA,.LeftNavItem_menu-button-wrapper_EVNeA.LeftNavItem_expanded_EVNeA>.LeftNavItem_menu-button_EVNeA+ul>li{opacity:0;animation-name:LeftNavItem_item-fade-in_EVNeA;animation-duration:.25s;animation-fill-mode:forwards}.LeftNavItem_menu-button-wrapper_EVNeA.LeftNavItem_expanded_EVNeA>.LeftNavItem_menu-button_EVNeA+ul>.LeftNavItem_menu-button-wrapper_EVNeA:nth-child(1),.LeftNavItem_menu-button-wrapper_EVNeA.LeftNavItem_expanded_EVNeA>.LeftNavItem_menu-button_EVNeA+ul>li:nth-child(1){animation-delay:0ms}.LeftNavItem_menu-button-wrapper_EVNeA.LeftNavItem_expanded_EVNeA>.LeftNavItem_menu-button_EVNeA+ul>.LeftNavItem_menu-button-wrapper_EVNeA:nth-child(2),.LeftNavItem_menu-button-wrapper_EVNeA.LeftNavItem_expanded_EVNeA>.LeftNavItem_menu-button_EVNeA+ul>li:nth-child(2){animation-delay:.1s}.LeftNavItem_menu-button-wrapper_EVNeA.LeftNavItem_expanded_EVNeA>.LeftNavItem_menu-button_EVNeA+ul>.LeftNavItem_menu-button-wrapper_EVNeA:nth-child(3),.LeftNavItem_menu-button-wrapper_EVNeA.LeftNavItem_expanded_EVNeA>.LeftNavItem_menu-button_EVNeA+ul>li:nth-child(3){animation-delay:.2s}.LeftNavItem_menu-button-wrapper_EVNeA.LeftNavItem_expanded_EVNeA>.LeftNavItem_menu-button_EVNeA+ul>.LeftNavItem_menu-button-wrapper_EVNeA:nth-child(4),.LeftNavItem_menu-button-wrapper_EVNeA.LeftNavItem_expanded_EVNeA>.LeftNavItem_menu-button_EVNeA+ul>li:nth-child(4){animation-delay:.3s}.LeftNavItem_menu-button-wrapper_EVNeA.LeftNavItem_expanded_EVNeA>.LeftNavItem_menu-button_EVNeA+ul>.LeftNavItem_menu-button-wrapper_EVNeA:nth-child(5),.LeftNavItem_menu-button-wrapper_EVNeA.LeftNavItem_expanded_EVNeA>.LeftNavItem_menu-button_EVNeA+ul>li:nth-child(5){animation-delay:.4s}.LeftNavItem_menu-button-wrapper_EVNeA.LeftNavItem_expanded_EVNeA>.LeftNavItem_menu-button_EVNeA+ul>.LeftNavItem_menu-button-wrapper_EVNeA:nth-child(6),.LeftNavItem_menu-button-wrapper_EVNeA.LeftNavItem_expanded_EVNeA>.LeftNavItem_menu-button_EVNeA+ul>li:nth-child(6){animation-delay:.5s}.LeftNavItem_menu-button-wrapper_EVNeA.LeftNavItem_expanded_EVNeA>.LeftNavItem_menu-button_EVNeA+ul>.LeftNavItem_menu-button-wrapper_EVNeA:nth-child(7),.LeftNavItem_menu-button-wrapper_EVNeA.LeftNavItem_expanded_EVNeA>.LeftNavItem_menu-button_EVNeA+ul>li:nth-child(7){animation-delay:.6s}.LeftNavItem_menu-button-wrapper_EVNeA.LeftNavItem_expanded_EVNeA>.LeftNavItem_menu-button_EVNeA+ul>.LeftNavItem_menu-button-wrapper_EVNeA:nth-child(8),.LeftNavItem_menu-button-wrapper_EVNeA.LeftNavItem_expanded_EVNeA>.LeftNavItem_menu-button_EVNeA+ul>li:nth-child(8){animation-delay:.7s}.LeftNavItem_menu-button-wrapper_EVNeA.LeftNavItem_expanded_EVNeA>.LeftNavItem_menu-button_EVNeA+ul>.LeftNavItem_menu-button-wrapper_EVNeA:nth-child(9),.LeftNavItem_menu-button-wrapper_EVNeA.LeftNavItem_expanded_EVNeA>.LeftNavItem_menu-button_EVNeA+ul>li:nth-child(9){animation-delay:.8s}.LeftNavItem_menu-button-wrapper_EVNeA.LeftNavItem_expanded_EVNeA>.LeftNavItem_menu-button_EVNeA+ul>.LeftNavItem_menu-button-wrapper_EVNeA:nth-child(10),.LeftNavItem_menu-button-wrapper_EVNeA.LeftNavItem_expanded_EVNeA>.LeftNavItem_menu-button_EVNeA+ul>li:nth-child(10){animation-delay:.9s}.LeftNavItem_menu-button-wrapper_EVNeA.LeftNavItem_expanded_EVNeA>.LeftNavItem_menu-button_EVNeA+ul>.LeftNavItem_menu-button-wrapper_EVNeA:nth-child(11),.LeftNavItem_menu-button-wrapper_EVNeA.LeftNavItem_expanded_EVNeA>.LeftNavItem_menu-button_EVNeA+ul>li:nth-child(11){animation-delay:1s}.LeftNavItem_menu-button-wrapper_EVNeA.LeftNavItem_expanded_EVNeA>.LeftNavItem_menu-button_EVNeA+ul>.LeftNavItem_menu-button-wrapper_EVNeA:nth-child(12),.LeftNavItem_menu-button-wrapper_EVNeA.LeftNavItem_expanded_EVNeA>.LeftNavItem_menu-button_EVNeA+ul>li:nth-child(12){animation-delay:1.1s}.LeftNavItem_menu-button-wrapper_EVNeA.LeftNavItem_expanded_EVNeA>.LeftNavItem_menu-button_EVNeA+ul>.LeftNavItem_menu-button-wrapper_EVNeA:nth-child(13),.LeftNavItem_menu-button-wrapper_EVNeA.LeftNavItem_expanded_EVNeA>.LeftNavItem_menu-button_EVNeA+ul>li:nth-child(13){animation-delay:1.2s}.LeftNavItem_menu-button-wrapper_EVNeA.LeftNavItem_expanded_EVNeA>.LeftNavItem_menu-button_EVNeA+ul>.LeftNavItem_menu-button-wrapper_EVNeA:nth-child(14),.LeftNavItem_menu-button-wrapper_EVNeA.LeftNavItem_expanded_EVNeA>.LeftNavItem_menu-button_EVNeA+ul>li:nth-child(14){animation-delay:1.3s}.LeftNavItem_menu-button-wrapper_EVNeA.LeftNavItem_expanded_EVNeA>.LeftNavItem_menu-button_EVNeA+ul>.LeftNavItem_menu-button-wrapper_EVNeA:nth-child(15),.LeftNavItem_menu-button-wrapper_EVNeA.LeftNavItem_expanded_EVNeA>.LeftNavItem_menu-button_EVNeA+ul>li:nth-child(15){animation-delay:1.4s}.LeftNavItem_menu-button-wrapper_EVNeA.LeftNavItem_expanded_EVNeA>.LeftNavItem_menu-button_EVNeA+ul>.LeftNavItem_menu-button-wrapper_EVNeA:nth-child(16),.LeftNavItem_menu-button-wrapper_EVNeA.LeftNavItem_expanded_EVNeA>.LeftNavItem_menu-button_EVNeA+ul>li:nth-child(16){animation-delay:1.5s}.LeftNavItem_menu-button-wrapper_EVNeA.LeftNavItem_expanded_EVNeA>.LeftNavItem_menu-button_EVNeA+ul>.LeftNavItem_menu-button-wrapper_EVNeA:nth-child(17),.LeftNavItem_menu-button-wrapper_EVNeA.LeftNavItem_expanded_EVNeA>.LeftNavItem_menu-button_EVNeA+ul>li:nth-child(17){animation-delay:1.6s}.LeftNavItem_menu-button-wrapper_EVNeA.LeftNavItem_expanded_EVNeA>.LeftNavItem_menu-button_EVNeA+ul>.LeftNavItem_menu-button-wrapper_EVNeA:nth-child(18),.LeftNavItem_menu-button-wrapper_EVNeA.LeftNavItem_expanded_EVNeA>.LeftNavItem_menu-button_EVNeA+ul>li:nth-child(18){animation-delay:1.7s}.LeftNavItem_menu-button-wrapper_EVNeA.LeftNavItem_expanded_EVNeA>.LeftNavItem_menu-button_EVNeA+ul>.LeftNavItem_menu-button-wrapper_EVNeA:nth-child(19),.LeftNavItem_menu-button-wrapper_EVNeA.LeftNavItem_expanded_EVNeA>.LeftNavItem_menu-button_EVNeA+ul>li:nth-child(19){animation-delay:1.8s}.LeftNavItem_menu-button-wrapper_EVNeA .LeftNavItem_menu-button-wrapper_EVNeA .LeftNavItem_menu-link_EVNeA{padding-left:2.5rem}.LeftNavItem_menu-list_EVNeA{padding:0;margin:0;overflow:hidden;max-height:100000px;list-style:none;text-align:left;transition:max-height .15s ease-in-out}.LeftNavItem_menu-list_EVNeA .LeftNavItem_menu-item-text-wrapper_EVNeA{padding-left:2rem}.LeftNavItem_menu-list_EVNeA a:focus-visible,.LeftNavItem_menu-list_EVNeA button:focus-visible{outline-offset:-.0625rem}.LeftNavItem_menu-item_EVNeA{box-sizing:border-box;display:flex;padding:1.125rem 1rem;align-items:center;justify-content:space-between;width:100%;color:var(--color-blue-grey900);line-height:1.5rem;font-size:1rem;font-weight:400;transition:all .15s ease-in-out;cursor:pointer}.LeftNavItem_menu-item_EVNeA:focus-visible{outline-offset:-.0625rem}.LeftNavItem_menu-item_EVNeA .LeftNavItem_menu-item-text-wrapper_EVNeA{display:flex}.LeftNavItem_menu-item_EVNeA .LeftNavItem_menu-item-expand-icon_EVNeA{padding:.375rem;margin:-.375rem}.LeftNavItem_menu-item_EVNeA .LeftNavItem_menu-item-icon_EVNeA{display:flex;align-items:center;justify-content:center;width:1.5rem;margin-right:.5rem;font-size:1.125rem}.LeftNavItem_menu-item-text_EVNeA{display:flex;align-items:center}.LeftNavItem_menu-item-expand-icon_EVNeA{font-size:.75rem;color:var(--color-blue-grey900);transition:all .15s ease-in-out}.LeftNavItem_menu-item_EVNeA.LeftNavItem_expanded_EVNeA .LeftNavItem_menu-item-expand-icon_EVNeA{transform:rotate(180deg)}.LeftNavItem_menu-item_EVNeA a{color:inherit}.LeftNavItem_menu-item_EVNeA:hover{background-color:var(--color-blue-grey50)}.LeftNavItem_menu-item_EVNeA:focus,.LeftNavItem_menu-item_EVNeA:active{color:inherit;background-color:var(--color-blue-grey100)}.LeftNavItem_menu-item_EVNeA.LeftNavItem_disabled_EVNeA{color:var(--color-blue-grey400);background-color:var(--color-blue-grey25);pointer-events:none}.LeftNavItem_menu-list-item_EVNeA{position:relative}.LeftNavItem_menu-list-item_EVNeA a.LeftNavItem_menu-item_EVNeA{padding:.75rem 1rem;color:var(--color-blue-grey900)}.LeftNavItem_menu-list-item_EVNeA a.LeftNavItem_menu-item-active_EVNeA{background-color:var(--left-nav-item-active-background-color)}.LeftNavItem_menu-list-item_EVNeA a.LeftNavItem_menu-item-active_EVNeA:hover{background-color:var(--color-blue-grey50)}.LeftNavItem_menu-list-item_EVNeA a.LeftNavItem_menu-item-active_EVNeA:focus,.LeftNavItem_menu-list-item_EVNeA a.LeftNavItem_menu-item-active_EVNeA:active{background-color:var(--color-blue-grey100)}.LeftNavItem_menu-list-item_EVNeA a.LeftNavItem_menu-item-active_EVNeA:before{content:"";height:100%;position:absolute;left:0;z-index:2;border-top-right-radius:.125rem;border-bottom-right-radius:.125rem;border-left:.25rem solid var(--left-nav-item-active-ribbon-color)}.LeftNavItem_menu-list-item_EVNeA a.LeftNavItem_menu-item-active_EVNeA .LeftNavItem_menu-item-text_EVNeA,.LeftNavItem_menu-list-item_EVNeA button.LeftNavItem_menu-item-active_EVNeA .LeftNavItem_menu-item-text_EVNeA{font-weight:700}@keyframes LeftNavItem_item-fade-in_EVNeA{0%{opacity:0;transform:translateY(-60px)}80%{opacity:.6}to{opacity:1;transform:translateY(0)}}')),document.head.appendChild(e)}}catch(t){console.error("vite-plugin-css-injected-by-js",t)}}();
2
+ const expanded = "LeftNavItem_expanded_EVNeA";
3
+ const disabled = "LeftNavItem_disabled_EVNeA";
4
4
  const classes = {
5
- "menu-button": "LeftNavItem_menu-button_k432A",
6
- "menu-link": "LeftNavItem_menu-link_k432A",
7
- "menu-button-wrapper": "LeftNavItem_menu-button-wrapper_k432A",
5
+ "menu-button": "LeftNavItem_menu-button_EVNeA",
6
+ "menu-link": "LeftNavItem_menu-link_EVNeA",
7
+ "menu-button-wrapper": "LeftNavItem_menu-button-wrapper_EVNeA",
8
8
  expanded,
9
- "menu-list": "LeftNavItem_menu-list_k432A",
10
- "menu-item-text-wrapper": "LeftNavItem_menu-item-text-wrapper_k432A",
11
- "menu-item": "LeftNavItem_menu-item_k432A",
12
- "menu-item-expand-icon": "LeftNavItem_menu-item-expand-icon_k432A",
13
- "menu-item-icon": "LeftNavItem_menu-item-icon_k432A",
14
- "menu-item-text": "LeftNavItem_menu-item-text_k432A",
9
+ "menu-list": "LeftNavItem_menu-list_EVNeA",
10
+ "menu-item-text-wrapper": "LeftNavItem_menu-item-text-wrapper_EVNeA",
11
+ "menu-item": "LeftNavItem_menu-item_EVNeA",
12
+ "menu-item-expand-icon": "LeftNavItem_menu-item-expand-icon_EVNeA",
13
+ "menu-item-icon": "LeftNavItem_menu-item-icon_EVNeA",
14
+ "menu-item-text": "LeftNavItem_menu-item-text_EVNeA",
15
15
  disabled,
16
- "menu-list-item": "LeftNavItem_menu-list-item_k432A",
17
- "menu-item-active": "LeftNavItem_menu-item-active_k432A"
16
+ "menu-list-item": "LeftNavItem_menu-list-item_EVNeA",
17
+ "menu-item-active": "LeftNavItem_menu-item-active_EVNeA"
18
18
  };
19
19
  export {
20
20
  classes as default,
@@ -1,3 +1,3 @@
1
- !function(){"use strict";try{if("undefined"!=typeof document){var e=document.createElement("style");e.appendChild(document.createTextNode('/*!\n * Copyright 2022 OneWelcome B.V.\n *\n * Licensed under the Apache License, Version 2.0 (the "License");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an "AS IS" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */.MicrofrontendContainer_microfrontend-container-margin_k432A{padding:2rem}.MicrofrontendContainer_microfrontend-container-max-width_k432A{max-width:105rem}')),document.head.appendChild(e)}}catch(n){console.error("vite-plugin-css-injected-by-js",n)}}();
2
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}}),exports.default={"microfrontend-container-margin":"MicrofrontendContainer_microfrontend-container-margin_k432A","microfrontend-container-max-width":"MicrofrontendContainer_microfrontend-container-max-width_k432A"};
1
+ !function(){"use strict";try{if("undefined"!=typeof document){var e=document.createElement("style");e.appendChild(document.createTextNode('/*!\n * Copyright 2022 OneWelcome B.V.\n *\n * Licensed under the Apache License, Version 2.0 (the "License");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an "AS IS" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */.MicrofrontendContainer_microfrontend-container-margin_EVNeA{padding:2rem}.MicrofrontendContainer_microfrontend-container-max-width_EVNeA{max-width:105rem}')),document.head.appendChild(e)}}catch(n){console.error("vite-plugin-css-injected-by-js",n)}}();
2
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}}),exports.default={"microfrontend-container-margin":"MicrofrontendContainer_microfrontend-container-margin_EVNeA","microfrontend-container-max-width":"MicrofrontendContainer_microfrontend-container-max-width_EVNeA"};
3
3
  //# sourceMappingURL=MicrofrontendContainer.module.scss.cjs.js.map
@@ -1,7 +1,7 @@
1
- !function(){"use strict";try{if("undefined"!=typeof document){var e=document.createElement("style");e.appendChild(document.createTextNode('/*!\n * Copyright 2022 OneWelcome B.V.\n *\n * Licensed under the Apache License, Version 2.0 (the "License");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an "AS IS" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */.MicrofrontendContainer_microfrontend-container-margin_k432A{padding:2rem}.MicrofrontendContainer_microfrontend-container-max-width_k432A{max-width:105rem}')),document.head.appendChild(e)}}catch(n){console.error("vite-plugin-css-injected-by-js",n)}}();
1
+ !function(){"use strict";try{if("undefined"!=typeof document){var e=document.createElement("style");e.appendChild(document.createTextNode('/*!\n * Copyright 2022 OneWelcome B.V.\n *\n * Licensed under the Apache License, Version 2.0 (the "License");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an "AS IS" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */.MicrofrontendContainer_microfrontend-container-margin_EVNeA{padding:2rem}.MicrofrontendContainer_microfrontend-container-max-width_EVNeA{max-width:105rem}')),document.head.appendChild(e)}}catch(n){console.error("vite-plugin-css-injected-by-js",n)}}();
2
2
  const classes = {
3
- "microfrontend-container-margin": "MicrofrontendContainer_microfrontend-container-margin_k432A",
4
- "microfrontend-container-max-width": "MicrofrontendContainer_microfrontend-container-max-width_k432A"
3
+ "microfrontend-container-margin": "MicrofrontendContainer_microfrontend-container-margin_EVNeA",
4
+ "microfrontend-container-max-width": "MicrofrontendContainer_microfrontend-container-max-width_EVNeA"
5
5
  };
6
6
  export {
7
7
  classes as default
@@ -1,3 +1,3 @@
1
- !function(){"use strict";try{if("undefined"!=typeof document){var e=document.createElement("style");e.appendChild(document.createTextNode('.ProfileMenu_sr-only_k432A{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);border:0}.ProfileMenu_hidden_k432A{display:none}.ProfileMenu_slide-in_k432A{animation:ProfileMenu_slide-in_k432A .5s forwards}@media(prefers-reduced-motion:reduce){.ProfileMenu_slide-in_k432A{animation-duration:.1ms}}.ProfileMenu_slide-out_k432A{animation:ProfileMenu_slide-out_k432A .5s forwards}@media(prefers-reduced-motion:reduce){.ProfileMenu_slide-out_k432A{animation-duration:.1ms}}@keyframes ProfileMenu_slide-in_k432A{0%{transform:translateY(100vh)}to{transform:translateY(0)}}@keyframes ProfileMenu_slide-out_k432A{0%{transform:translateY(0)}to{transform:translateY(100vh)}}/*!\n * Copyright 2022 OneWelcome B.V.\n *\n * Licensed under the Apache License, Version 2.0 (the "License");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an "AS IS" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */.ProfileMenu_trigger_k432A{display:flex;align-items:center;background:none;border:none;cursor:pointer;padding:0 .75rem}.ProfileMenu_trigger_k432A:focus-visible{outline:calc(.125 * var(--font-size)) solid var(--color-focus);outline-offset:calc(.125 * var(--font-size));border-radius:var(--focus-border-radius)}.ProfileMenu_circle_k432A{width:2.5rem;height:2.5rem;border-radius:50%;background-color:var(--color-primary);color:var(--light);display:flex;align-items:center;justify-content:center;overflow:hidden}.ProfileMenu_circle_k432A:hover{background-color:var(--color-primary600)}.ProfileMenu_circle_k432A.ProfileMenu_active_k432A{background-color:var(--color-primary700)}.ProfileMenu_initials_k432A{font-weight:700;font-size:1rem;pointer-events:none}.ProfileMenu_img_k432A{width:100%;height:100%;object-fit:cover;border-radius:50%}.ProfileMenu_popover_k432A{z-index:11;--font-size: .875rem}')),document.head.appendChild(e)}}catch(i){console.error("vite-plugin-css-injected-by-js",i)}}();
2
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e="ProfileMenu_trigger_k432A",i="ProfileMenu_circle_k432A",r="ProfileMenu_active_k432A",o="ProfileMenu_initials_k432A",t="ProfileMenu_img_k432A",l="ProfileMenu_popover_k432A",s={trigger:e,circle:i,active:r,initials:o,img:t,popover:l};exports.active=r,exports.circle=i,exports.default=s,exports.img=t,exports.initials=o,exports.popover=l,exports.trigger=e;
1
+ !function(){"use strict";try{if("undefined"!=typeof document){var e=document.createElement("style");e.appendChild(document.createTextNode('.ProfileMenu_sr-only_EVNeA{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);border:0}.ProfileMenu_hidden_EVNeA{display:none}.ProfileMenu_slide-in_EVNeA{animation:ProfileMenu_slide-in_EVNeA .5s forwards}@media(prefers-reduced-motion:reduce){.ProfileMenu_slide-in_EVNeA{animation-duration:.1ms}}.ProfileMenu_slide-out_EVNeA{animation:ProfileMenu_slide-out_EVNeA .5s forwards}@media(prefers-reduced-motion:reduce){.ProfileMenu_slide-out_EVNeA{animation-duration:.1ms}}@keyframes ProfileMenu_slide-in_EVNeA{0%{transform:translateY(100vh)}to{transform:translateY(0)}}@keyframes ProfileMenu_slide-out_EVNeA{0%{transform:translateY(0)}to{transform:translateY(100vh)}}/*!\n * Copyright 2022 OneWelcome B.V.\n *\n * Licensed under the Apache License, Version 2.0 (the "License");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an "AS IS" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */.ProfileMenu_trigger_EVNeA{display:flex;align-items:center;background:none;border:none;cursor:pointer;padding:0 .75rem}.ProfileMenu_trigger_EVNeA:focus-visible{outline:calc(.125 * var(--font-size)) solid var(--color-focus);outline-offset:calc(.125 * var(--font-size));border-radius:var(--focus-border-radius)}.ProfileMenu_circle_EVNeA{width:2.5rem;height:2.5rem;border-radius:50%;background-color:var(--color-primary);color:var(--light);display:flex;align-items:center;justify-content:center;overflow:hidden}.ProfileMenu_circle_EVNeA:hover{background-color:var(--color-primary600)}.ProfileMenu_circle_EVNeA.ProfileMenu_active_EVNeA{background-color:var(--color-primary700)}.ProfileMenu_initials_EVNeA{font-weight:700;font-size:1rem;pointer-events:none}.ProfileMenu_img_EVNeA{width:100%;height:100%;object-fit:cover;border-radius:50%}.ProfileMenu_popover_EVNeA{z-index:11;--font-size: .875rem}')),document.head.appendChild(e)}}catch(i){console.error("vite-plugin-css-injected-by-js",i)}}();
2
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e="ProfileMenu_trigger_EVNeA",i="ProfileMenu_circle_EVNeA",r="ProfileMenu_active_EVNeA",o="ProfileMenu_initials_EVNeA",t="ProfileMenu_img_EVNeA",l="ProfileMenu_popover_EVNeA",s={trigger:e,circle:i,active:r,initials:o,img:t,popover:l};exports.active=r,exports.circle=i,exports.default=s,exports.img=t,exports.initials=o,exports.popover=l,exports.trigger=e;
3
3
  //# sourceMappingURL=ProfileMenu.module.scss.cjs.js.map
@@ -1,10 +1,10 @@
1
- !function(){"use strict";try{if("undefined"!=typeof document){var e=document.createElement("style");e.appendChild(document.createTextNode('.ProfileMenu_sr-only_k432A{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);border:0}.ProfileMenu_hidden_k432A{display:none}.ProfileMenu_slide-in_k432A{animation:ProfileMenu_slide-in_k432A .5s forwards}@media(prefers-reduced-motion:reduce){.ProfileMenu_slide-in_k432A{animation-duration:.1ms}}.ProfileMenu_slide-out_k432A{animation:ProfileMenu_slide-out_k432A .5s forwards}@media(prefers-reduced-motion:reduce){.ProfileMenu_slide-out_k432A{animation-duration:.1ms}}@keyframes ProfileMenu_slide-in_k432A{0%{transform:translateY(100vh)}to{transform:translateY(0)}}@keyframes ProfileMenu_slide-out_k432A{0%{transform:translateY(0)}to{transform:translateY(100vh)}}/*!\n * Copyright 2022 OneWelcome B.V.\n *\n * Licensed under the Apache License, Version 2.0 (the "License");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an "AS IS" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */.ProfileMenu_trigger_k432A{display:flex;align-items:center;background:none;border:none;cursor:pointer;padding:0 .75rem}.ProfileMenu_trigger_k432A:focus-visible{outline:calc(.125 * var(--font-size)) solid var(--color-focus);outline-offset:calc(.125 * var(--font-size));border-radius:var(--focus-border-radius)}.ProfileMenu_circle_k432A{width:2.5rem;height:2.5rem;border-radius:50%;background-color:var(--color-primary);color:var(--light);display:flex;align-items:center;justify-content:center;overflow:hidden}.ProfileMenu_circle_k432A:hover{background-color:var(--color-primary600)}.ProfileMenu_circle_k432A.ProfileMenu_active_k432A{background-color:var(--color-primary700)}.ProfileMenu_initials_k432A{font-weight:700;font-size:1rem;pointer-events:none}.ProfileMenu_img_k432A{width:100%;height:100%;object-fit:cover;border-radius:50%}.ProfileMenu_popover_k432A{z-index:11;--font-size: .875rem}')),document.head.appendChild(e)}}catch(i){console.error("vite-plugin-css-injected-by-js",i)}}();
2
- const trigger = "ProfileMenu_trigger_k432A";
3
- const circle = "ProfileMenu_circle_k432A";
4
- const active = "ProfileMenu_active_k432A";
5
- const initials = "ProfileMenu_initials_k432A";
6
- const img = "ProfileMenu_img_k432A";
7
- const popover = "ProfileMenu_popover_k432A";
1
+ !function(){"use strict";try{if("undefined"!=typeof document){var e=document.createElement("style");e.appendChild(document.createTextNode('.ProfileMenu_sr-only_EVNeA{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);border:0}.ProfileMenu_hidden_EVNeA{display:none}.ProfileMenu_slide-in_EVNeA{animation:ProfileMenu_slide-in_EVNeA .5s forwards}@media(prefers-reduced-motion:reduce){.ProfileMenu_slide-in_EVNeA{animation-duration:.1ms}}.ProfileMenu_slide-out_EVNeA{animation:ProfileMenu_slide-out_EVNeA .5s forwards}@media(prefers-reduced-motion:reduce){.ProfileMenu_slide-out_EVNeA{animation-duration:.1ms}}@keyframes ProfileMenu_slide-in_EVNeA{0%{transform:translateY(100vh)}to{transform:translateY(0)}}@keyframes ProfileMenu_slide-out_EVNeA{0%{transform:translateY(0)}to{transform:translateY(100vh)}}/*!\n * Copyright 2022 OneWelcome B.V.\n *\n * Licensed under the Apache License, Version 2.0 (the "License");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an "AS IS" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */.ProfileMenu_trigger_EVNeA{display:flex;align-items:center;background:none;border:none;cursor:pointer;padding:0 .75rem}.ProfileMenu_trigger_EVNeA:focus-visible{outline:calc(.125 * var(--font-size)) solid var(--color-focus);outline-offset:calc(.125 * var(--font-size));border-radius:var(--focus-border-radius)}.ProfileMenu_circle_EVNeA{width:2.5rem;height:2.5rem;border-radius:50%;background-color:var(--color-primary);color:var(--light);display:flex;align-items:center;justify-content:center;overflow:hidden}.ProfileMenu_circle_EVNeA:hover{background-color:var(--color-primary600)}.ProfileMenu_circle_EVNeA.ProfileMenu_active_EVNeA{background-color:var(--color-primary700)}.ProfileMenu_initials_EVNeA{font-weight:700;font-size:1rem;pointer-events:none}.ProfileMenu_img_EVNeA{width:100%;height:100%;object-fit:cover;border-radius:50%}.ProfileMenu_popover_EVNeA{z-index:11;--font-size: .875rem}')),document.head.appendChild(e)}}catch(i){console.error("vite-plugin-css-injected-by-js",i)}}();
2
+ const trigger = "ProfileMenu_trigger_EVNeA";
3
+ const circle = "ProfileMenu_circle_EVNeA";
4
+ const active = "ProfileMenu_active_EVNeA";
5
+ const initials = "ProfileMenu_initials_EVNeA";
6
+ const img = "ProfileMenu_img_EVNeA";
7
+ const popover = "ProfileMenu_popover_EVNeA";
8
8
  const classes = {
9
9
  trigger,
10
10
  circle,
@@ -1,3 +1,3 @@
1
- !function(){"use strict";try{if("undefined"!=typeof document){var a=document.createElement("style");a.appendChild(document.createTextNode('.TopNavBar_sr-only_k432A{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);border:0}.TopNavBar_hidden_k432A{display:none}.TopNavBar_slide-in_k432A{animation:TopNavBar_slide-in_k432A .5s forwards}@media(prefers-reduced-motion:reduce){.TopNavBar_slide-in_k432A{animation-duration:.1ms}}.TopNavBar_slide-out_k432A{animation:TopNavBar_slide-out_k432A .5s forwards}@media(prefers-reduced-motion:reduce){.TopNavBar_slide-out_k432A{animation-duration:.1ms}}@keyframes TopNavBar_slide-in_k432A{0%{transform:translateY(100vh)}to{transform:translateY(0)}}@keyframes TopNavBar_slide-out_k432A{0%{transform:translateY(0)}to{transform:translateY(100vh)}}/*!\n * Copyright 2022 OneWelcome B.V.\n *\n * Licensed under the Apache License, Version 2.0 (the "License");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an "AS IS" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */.TopNavBar_topnavbar_k432A{position:sticky;top:0;left:0;z-index:3;width:100%;display:flex;align-items:center;height:4rem;padding:0 .75rem 0 0;background-color:var(--sidenavbar-background);box-shadow:0 2px 4px #0105320a,0 4px 5px #0105320a,0 1px 10px #01053214;--font-size: .875rem;flex-wrap:nowrap}.TopNavBar_topnavbar_k432A .TopNavBar_left-section_k432A{flex-shrink:0;display:flex;align-items:center}.TopNavBar_topnavbar_k432A .TopNavBar_logo-link_k432A{display:flex;align-items:center;text-decoration:none}.TopNavBar_topnavbar_k432A .TopNavBar_logo-container_k432A{display:flex;align-items:center}.TopNavBar_topnavbar_k432A .TopNavBar_logo-container_k432A .TopNavBar_logo-small_k432A{height:2.5rem;display:flex;align-items:center;margin:0 1rem}.TopNavBar_topnavbar_k432A .TopNavBar_logo-container_k432A .TopNavBar_logo_k432A{display:none}@media screen and (min-width:30em){.TopNavBar_topnavbar_k432A .TopNavBar_logo-container_k432A .TopNavBar_logo-small_k432A{display:none;height:0}.TopNavBar_topnavbar_k432A .TopNavBar_logo-container_k432A .TopNavBar_logo_k432A{display:block;margin-left:1rem}}@media screen and (min-width:30em)and (min-width:50em){.TopNavBar_topnavbar_k432A .TopNavBar_logo-container_k432A .TopNavBar_logo_k432A{margin-left:.75rem;margin-right:0}}.TopNavBar_topnavbar_k432A .TopNavBar_sr-only_k432A{position:absolute;margin:-1px;height:1px;width:1px;overflow:hidden}.TopNavBar_topnavbar_k432A .TopNavBar_separator_k432A{border:none;width:1px;height:2.5rem;background-color:#dedee6;flex-shrink:0;align-self:center;margin:0 3rem}.TopNavBar_topnavbar_k432A .TopNavBar_middle-section_k432A{flex:1;display:flex;align-items:center;min-width:0;margin-left:6.0625rem}@media screen and (max-width:50em){.TopNavBar_topnavbar_k432A .TopNavBar_middle-section_k432A{margin-left:0}}.TopNavBar_topnavbar_k432A .TopNavBar_separator_k432A+.TopNavBar_middle-section_k432A{margin-left:0}.TopNavBar_topnavbar_k432A .TopNavBar_right-section_k432A{display:flex;align-items:center;margin-left:auto;justify-content:flex-end;gap:1rem;padding-left:1rem}.TopNavBar_topnavbar_k432A .TopNavBar_menu-button_k432A{flex-shrink:0;margin-left:.75rem;display:none;--font-size: 1rem}@media screen and (max-width:50em){.TopNavBar_topnavbar_k432A .TopNavBar_menu-button_k432A{display:initial}}.TopNavBar_topnavbar_k432A .TopNavBar_menu-button_k432A.TopNavBar_menu--collapsed_k432A{display:initial}')),document.head.appendChild(a)}}catch(e){console.error("vite-plugin-css-injected-by-js",e)}}();
2
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const o="TopNavBar_topnavbar_k432A",a="TopNavBar_logo_k432A",e="TopNavBar_separator_k432A",r={"sr-only":"TopNavBar_sr-only_k432A",topnavbar:o,"left-section":"TopNavBar_left-section_k432A","logo-link":"TopNavBar_logo-link_k432A","logo-container":"TopNavBar_logo-container_k432A","logo-small":"TopNavBar_logo-small_k432A",logo:a,separator:e,"middle-section":"TopNavBar_middle-section_k432A","right-section":"TopNavBar_right-section_k432A","menu-button":"TopNavBar_menu-button_k432A","menu--collapsed":"TopNavBar_menu--collapsed_k432A"};exports.default=r,exports.logo=a,exports.separator=e,exports.topnavbar=o;
1
+ !function(){"use strict";try{if("undefined"!=typeof document){var e=document.createElement("style");e.appendChild(document.createTextNode('.TopNavBar_sr-only_EVNeA{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);border:0}.TopNavBar_hidden_EVNeA{display:none}.TopNavBar_slide-in_EVNeA{animation:TopNavBar_slide-in_EVNeA .5s forwards}@media(prefers-reduced-motion:reduce){.TopNavBar_slide-in_EVNeA{animation-duration:.1ms}}.TopNavBar_slide-out_EVNeA{animation:TopNavBar_slide-out_EVNeA .5s forwards}@media(prefers-reduced-motion:reduce){.TopNavBar_slide-out_EVNeA{animation-duration:.1ms}}@keyframes TopNavBar_slide-in_EVNeA{0%{transform:translateY(100vh)}to{transform:translateY(0)}}@keyframes TopNavBar_slide-out_EVNeA{0%{transform:translateY(0)}to{transform:translateY(100vh)}}/*!\n * Copyright 2022 OneWelcome B.V.\n *\n * Licensed under the Apache License, Version 2.0 (the "License");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an "AS IS" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */.TopNavBar_topnavbar_EVNeA{position:sticky;top:0;left:0;z-index:3;width:100%;display:flex;align-items:center;height:4rem;padding:0 .75rem 0 0;background-color:var(--sidenavbar-background);box-shadow:0 2px 4px #0105320a,0 4px 5px #0105320a,0 1px 10px #01053214;--font-size: .875rem;flex-wrap:nowrap}.TopNavBar_topnavbar_EVNeA .TopNavBar_left-section_EVNeA{flex-shrink:0;display:flex;align-items:center}.TopNavBar_topnavbar_EVNeA .TopNavBar_logo-link_EVNeA{display:flex;align-items:center;text-decoration:none}.TopNavBar_topnavbar_EVNeA .TopNavBar_logo-container_EVNeA{display:flex;align-items:center}.TopNavBar_topnavbar_EVNeA .TopNavBar_logo-container_EVNeA .TopNavBar_logo-small_EVNeA{height:2.5rem;display:flex;align-items:center;margin:0 1rem}.TopNavBar_topnavbar_EVNeA .TopNavBar_logo-container_EVNeA .TopNavBar_logo_EVNeA{display:none}@media screen and (min-width:30em){.TopNavBar_topnavbar_EVNeA .TopNavBar_logo-container_EVNeA .TopNavBar_logo-small_EVNeA{display:none;height:0}.TopNavBar_topnavbar_EVNeA .TopNavBar_logo-container_EVNeA .TopNavBar_logo_EVNeA{display:block;margin-left:1rem}}@media screen and (min-width:30em)and (min-width:50em){.TopNavBar_topnavbar_EVNeA .TopNavBar_logo-container_EVNeA .TopNavBar_logo_EVNeA{margin-left:.75rem;margin-right:0}}.TopNavBar_topnavbar_EVNeA .TopNavBar_sr-only_EVNeA{position:absolute;margin:-1px;height:1px;width:1px;overflow:hidden}.TopNavBar_topnavbar_EVNeA .TopNavBar_separator_EVNeA{border:none;width:1px;height:2.5rem;background-color:#dedee6;flex-shrink:0;align-self:center;margin:0 3rem}.TopNavBar_topnavbar_EVNeA .TopNavBar_middle-section_EVNeA{flex:1;display:flex;align-items:center;min-width:0;margin-left:6.0625rem}@media screen and (max-width:50em){.TopNavBar_topnavbar_EVNeA .TopNavBar_middle-section_EVNeA{margin-left:0}}.TopNavBar_topnavbar_EVNeA .TopNavBar_separator_EVNeA+.TopNavBar_middle-section_EVNeA{margin-left:0}.TopNavBar_topnavbar_EVNeA .TopNavBar_right-section_EVNeA{display:flex;align-items:center;margin-left:auto;justify-content:flex-end;gap:1rem;padding-left:1rem}.TopNavBar_topnavbar_EVNeA .TopNavBar_menu-button_EVNeA{flex-shrink:0;margin-left:.75rem;display:none;--font-size: 1rem}@media screen and (max-width:50em){.TopNavBar_topnavbar_EVNeA .TopNavBar_menu-button_EVNeA{display:initial}}.TopNavBar_topnavbar_EVNeA .TopNavBar_menu-button_EVNeA.TopNavBar_menu--collapsed_EVNeA{display:initial}')),document.head.appendChild(e)}}catch(a){console.error("vite-plugin-css-injected-by-js",a)}}();
2
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const o="TopNavBar_topnavbar_EVNeA",e="TopNavBar_logo_EVNeA",a="TopNavBar_separator_EVNeA",r={"sr-only":"TopNavBar_sr-only_EVNeA",topnavbar:o,"left-section":"TopNavBar_left-section_EVNeA","logo-link":"TopNavBar_logo-link_EVNeA","logo-container":"TopNavBar_logo-container_EVNeA","logo-small":"TopNavBar_logo-small_EVNeA",logo:e,separator:a,"middle-section":"TopNavBar_middle-section_EVNeA","right-section":"TopNavBar_right-section_EVNeA","menu-button":"TopNavBar_menu-button_EVNeA","menu--collapsed":"TopNavBar_menu--collapsed_EVNeA"};exports.default=r,exports.logo=e,exports.separator=a,exports.topnavbar=o;
3
3
  //# sourceMappingURL=TopNavBar.module.scss.cjs.js.map
@@ -1,20 +1,20 @@
1
- !function(){"use strict";try{if("undefined"!=typeof document){var a=document.createElement("style");a.appendChild(document.createTextNode('.TopNavBar_sr-only_k432A{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);border:0}.TopNavBar_hidden_k432A{display:none}.TopNavBar_slide-in_k432A{animation:TopNavBar_slide-in_k432A .5s forwards}@media(prefers-reduced-motion:reduce){.TopNavBar_slide-in_k432A{animation-duration:.1ms}}.TopNavBar_slide-out_k432A{animation:TopNavBar_slide-out_k432A .5s forwards}@media(prefers-reduced-motion:reduce){.TopNavBar_slide-out_k432A{animation-duration:.1ms}}@keyframes TopNavBar_slide-in_k432A{0%{transform:translateY(100vh)}to{transform:translateY(0)}}@keyframes TopNavBar_slide-out_k432A{0%{transform:translateY(0)}to{transform:translateY(100vh)}}/*!\n * Copyright 2022 OneWelcome B.V.\n *\n * Licensed under the Apache License, Version 2.0 (the "License");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an "AS IS" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */.TopNavBar_topnavbar_k432A{position:sticky;top:0;left:0;z-index:3;width:100%;display:flex;align-items:center;height:4rem;padding:0 .75rem 0 0;background-color:var(--sidenavbar-background);box-shadow:0 2px 4px #0105320a,0 4px 5px #0105320a,0 1px 10px #01053214;--font-size: .875rem;flex-wrap:nowrap}.TopNavBar_topnavbar_k432A .TopNavBar_left-section_k432A{flex-shrink:0;display:flex;align-items:center}.TopNavBar_topnavbar_k432A .TopNavBar_logo-link_k432A{display:flex;align-items:center;text-decoration:none}.TopNavBar_topnavbar_k432A .TopNavBar_logo-container_k432A{display:flex;align-items:center}.TopNavBar_topnavbar_k432A .TopNavBar_logo-container_k432A .TopNavBar_logo-small_k432A{height:2.5rem;display:flex;align-items:center;margin:0 1rem}.TopNavBar_topnavbar_k432A .TopNavBar_logo-container_k432A .TopNavBar_logo_k432A{display:none}@media screen and (min-width:30em){.TopNavBar_topnavbar_k432A .TopNavBar_logo-container_k432A .TopNavBar_logo-small_k432A{display:none;height:0}.TopNavBar_topnavbar_k432A .TopNavBar_logo-container_k432A .TopNavBar_logo_k432A{display:block;margin-left:1rem}}@media screen and (min-width:30em)and (min-width:50em){.TopNavBar_topnavbar_k432A .TopNavBar_logo-container_k432A .TopNavBar_logo_k432A{margin-left:.75rem;margin-right:0}}.TopNavBar_topnavbar_k432A .TopNavBar_sr-only_k432A{position:absolute;margin:-1px;height:1px;width:1px;overflow:hidden}.TopNavBar_topnavbar_k432A .TopNavBar_separator_k432A{border:none;width:1px;height:2.5rem;background-color:#dedee6;flex-shrink:0;align-self:center;margin:0 3rem}.TopNavBar_topnavbar_k432A .TopNavBar_middle-section_k432A{flex:1;display:flex;align-items:center;min-width:0;margin-left:6.0625rem}@media screen and (max-width:50em){.TopNavBar_topnavbar_k432A .TopNavBar_middle-section_k432A{margin-left:0}}.TopNavBar_topnavbar_k432A .TopNavBar_separator_k432A+.TopNavBar_middle-section_k432A{margin-left:0}.TopNavBar_topnavbar_k432A .TopNavBar_right-section_k432A{display:flex;align-items:center;margin-left:auto;justify-content:flex-end;gap:1rem;padding-left:1rem}.TopNavBar_topnavbar_k432A .TopNavBar_menu-button_k432A{flex-shrink:0;margin-left:.75rem;display:none;--font-size: 1rem}@media screen and (max-width:50em){.TopNavBar_topnavbar_k432A .TopNavBar_menu-button_k432A{display:initial}}.TopNavBar_topnavbar_k432A .TopNavBar_menu-button_k432A.TopNavBar_menu--collapsed_k432A{display:initial}')),document.head.appendChild(a)}}catch(e){console.error("vite-plugin-css-injected-by-js",e)}}();
2
- const topnavbar = "TopNavBar_topnavbar_k432A";
3
- const logo = "TopNavBar_logo_k432A";
4
- const separator = "TopNavBar_separator_k432A";
1
+ !function(){"use strict";try{if("undefined"!=typeof document){var e=document.createElement("style");e.appendChild(document.createTextNode('.TopNavBar_sr-only_EVNeA{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);border:0}.TopNavBar_hidden_EVNeA{display:none}.TopNavBar_slide-in_EVNeA{animation:TopNavBar_slide-in_EVNeA .5s forwards}@media(prefers-reduced-motion:reduce){.TopNavBar_slide-in_EVNeA{animation-duration:.1ms}}.TopNavBar_slide-out_EVNeA{animation:TopNavBar_slide-out_EVNeA .5s forwards}@media(prefers-reduced-motion:reduce){.TopNavBar_slide-out_EVNeA{animation-duration:.1ms}}@keyframes TopNavBar_slide-in_EVNeA{0%{transform:translateY(100vh)}to{transform:translateY(0)}}@keyframes TopNavBar_slide-out_EVNeA{0%{transform:translateY(0)}to{transform:translateY(100vh)}}/*!\n * Copyright 2022 OneWelcome B.V.\n *\n * Licensed under the Apache License, Version 2.0 (the "License");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an "AS IS" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */.TopNavBar_topnavbar_EVNeA{position:sticky;top:0;left:0;z-index:3;width:100%;display:flex;align-items:center;height:4rem;padding:0 .75rem 0 0;background-color:var(--sidenavbar-background);box-shadow:0 2px 4px #0105320a,0 4px 5px #0105320a,0 1px 10px #01053214;--font-size: .875rem;flex-wrap:nowrap}.TopNavBar_topnavbar_EVNeA .TopNavBar_left-section_EVNeA{flex-shrink:0;display:flex;align-items:center}.TopNavBar_topnavbar_EVNeA .TopNavBar_logo-link_EVNeA{display:flex;align-items:center;text-decoration:none}.TopNavBar_topnavbar_EVNeA .TopNavBar_logo-container_EVNeA{display:flex;align-items:center}.TopNavBar_topnavbar_EVNeA .TopNavBar_logo-container_EVNeA .TopNavBar_logo-small_EVNeA{height:2.5rem;display:flex;align-items:center;margin:0 1rem}.TopNavBar_topnavbar_EVNeA .TopNavBar_logo-container_EVNeA .TopNavBar_logo_EVNeA{display:none}@media screen and (min-width:30em){.TopNavBar_topnavbar_EVNeA .TopNavBar_logo-container_EVNeA .TopNavBar_logo-small_EVNeA{display:none;height:0}.TopNavBar_topnavbar_EVNeA .TopNavBar_logo-container_EVNeA .TopNavBar_logo_EVNeA{display:block;margin-left:1rem}}@media screen and (min-width:30em)and (min-width:50em){.TopNavBar_topnavbar_EVNeA .TopNavBar_logo-container_EVNeA .TopNavBar_logo_EVNeA{margin-left:.75rem;margin-right:0}}.TopNavBar_topnavbar_EVNeA .TopNavBar_sr-only_EVNeA{position:absolute;margin:-1px;height:1px;width:1px;overflow:hidden}.TopNavBar_topnavbar_EVNeA .TopNavBar_separator_EVNeA{border:none;width:1px;height:2.5rem;background-color:#dedee6;flex-shrink:0;align-self:center;margin:0 3rem}.TopNavBar_topnavbar_EVNeA .TopNavBar_middle-section_EVNeA{flex:1;display:flex;align-items:center;min-width:0;margin-left:6.0625rem}@media screen and (max-width:50em){.TopNavBar_topnavbar_EVNeA .TopNavBar_middle-section_EVNeA{margin-left:0}}.TopNavBar_topnavbar_EVNeA .TopNavBar_separator_EVNeA+.TopNavBar_middle-section_EVNeA{margin-left:0}.TopNavBar_topnavbar_EVNeA .TopNavBar_right-section_EVNeA{display:flex;align-items:center;margin-left:auto;justify-content:flex-end;gap:1rem;padding-left:1rem}.TopNavBar_topnavbar_EVNeA .TopNavBar_menu-button_EVNeA{flex-shrink:0;margin-left:.75rem;display:none;--font-size: 1rem}@media screen and (max-width:50em){.TopNavBar_topnavbar_EVNeA .TopNavBar_menu-button_EVNeA{display:initial}}.TopNavBar_topnavbar_EVNeA .TopNavBar_menu-button_EVNeA.TopNavBar_menu--collapsed_EVNeA{display:initial}')),document.head.appendChild(e)}}catch(a){console.error("vite-plugin-css-injected-by-js",a)}}();
2
+ const topnavbar = "TopNavBar_topnavbar_EVNeA";
3
+ const logo = "TopNavBar_logo_EVNeA";
4
+ const separator = "TopNavBar_separator_EVNeA";
5
5
  const classes = {
6
- "sr-only": "TopNavBar_sr-only_k432A",
6
+ "sr-only": "TopNavBar_sr-only_EVNeA",
7
7
  topnavbar,
8
- "left-section": "TopNavBar_left-section_k432A",
9
- "logo-link": "TopNavBar_logo-link_k432A",
10
- "logo-container": "TopNavBar_logo-container_k432A",
11
- "logo-small": "TopNavBar_logo-small_k432A",
8
+ "left-section": "TopNavBar_left-section_EVNeA",
9
+ "logo-link": "TopNavBar_logo-link_EVNeA",
10
+ "logo-container": "TopNavBar_logo-container_EVNeA",
11
+ "logo-small": "TopNavBar_logo-small_EVNeA",
12
12
  logo,
13
13
  separator,
14
- "middle-section": "TopNavBar_middle-section_k432A",
15
- "right-section": "TopNavBar_right-section_k432A",
16
- "menu-button": "TopNavBar_menu-button_k432A",
17
- "menu--collapsed": "TopNavBar_menu--collapsed_k432A"
14
+ "middle-section": "TopNavBar_middle-section_EVNeA",
15
+ "right-section": "TopNavBar_right-section_EVNeA",
16
+ "menu-button": "TopNavBar_menu-button_EVNeA",
17
+ "menu--collapsed": "TopNavBar_menu--collapsed_EVNeA"
18
18
  };
19
19
  export {
20
20
  classes as default,
@@ -1,3 +1,3 @@
1
- !function(){"use strict";try{if("undefined"!=typeof document){var e=document.createElement("style");e.appendChild(document.createTextNode('.IdentityProviderButton_sr-only_k432A{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);border:0}.IdentityProviderButton_hidden_k432A{display:none}.IdentityProviderButton_slide-in_k432A{animation:IdentityProviderButton_slide-in_k432A .5s forwards}@media(prefers-reduced-motion:reduce){.IdentityProviderButton_slide-in_k432A{animation-duration:.1ms}}.IdentityProviderButton_slide-out_k432A{animation:IdentityProviderButton_slide-out_k432A .5s forwards}@media(prefers-reduced-motion:reduce){.IdentityProviderButton_slide-out_k432A{animation-duration:.1ms}}@keyframes IdentityProviderButton_slide-in_k432A{0%{transform:translateY(100vh)}to{transform:translateY(0)}}@keyframes IdentityProviderButton_slide-out_k432A{0%{transform:translateY(0)}to{transform:translateY(100vh)}}/*!\n * Copyright 2022 OneWelcome B.V.\n *\n * Licensed under the Apache License, Version 2.0 (the "License");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an "AS IS" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */.IdentityProviderButton_idp-button_k432A{width:100%}.IdentityProviderButton_idp-button--with-icon_k432A{display:flex;align-items:center;justify-content:center;gap:.5rem;margin-top:-.125rem;margin-bottom:-.125rem}')),document.head.appendChild(e)}}catch(t){console.error("vite-plugin-css-injected-by-js",t)}}();
2
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}}),exports.default={"idp-button":"IdentityProviderButton_idp-button_k432A","idp-button--with-icon":"IdentityProviderButton_idp-button--with-icon_k432A"};
1
+ !function(){"use strict";try{if("undefined"!=typeof document){var e=document.createElement("style");e.appendChild(document.createTextNode('.IdentityProviderButton_sr-only_EVNeA{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);border:0}.IdentityProviderButton_hidden_EVNeA{display:none}.IdentityProviderButton_slide-in_EVNeA{animation:IdentityProviderButton_slide-in_EVNeA .5s forwards}@media(prefers-reduced-motion:reduce){.IdentityProviderButton_slide-in_EVNeA{animation-duration:.1ms}}.IdentityProviderButton_slide-out_EVNeA{animation:IdentityProviderButton_slide-out_EVNeA .5s forwards}@media(prefers-reduced-motion:reduce){.IdentityProviderButton_slide-out_EVNeA{animation-duration:.1ms}}@keyframes IdentityProviderButton_slide-in_EVNeA{0%{transform:translateY(100vh)}to{transform:translateY(0)}}@keyframes IdentityProviderButton_slide-out_EVNeA{0%{transform:translateY(0)}to{transform:translateY(100vh)}}/*!\n * Copyright 2022 OneWelcome B.V.\n *\n * Licensed under the Apache License, Version 2.0 (the "License");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an "AS IS" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */.IdentityProviderButton_idp-button_EVNeA{width:100%}.IdentityProviderButton_idp-button--with-icon_EVNeA{display:flex;align-items:center;justify-content:center;gap:.5rem;margin-top:-.125rem;margin-bottom:-.125rem}')),document.head.appendChild(e)}}catch(t){console.error("vite-plugin-css-injected-by-js",t)}}();
2
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}}),exports.default={"idp-button":"IdentityProviderButton_idp-button_EVNeA","idp-button--with-icon":"IdentityProviderButton_idp-button--with-icon_EVNeA"};
3
3
  //# sourceMappingURL=IdentityProviderButton.module.scss.cjs.js.map
@@ -1,7 +1,7 @@
1
- !function(){"use strict";try{if("undefined"!=typeof document){var e=document.createElement("style");e.appendChild(document.createTextNode('.IdentityProviderButton_sr-only_k432A{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);border:0}.IdentityProviderButton_hidden_k432A{display:none}.IdentityProviderButton_slide-in_k432A{animation:IdentityProviderButton_slide-in_k432A .5s forwards}@media(prefers-reduced-motion:reduce){.IdentityProviderButton_slide-in_k432A{animation-duration:.1ms}}.IdentityProviderButton_slide-out_k432A{animation:IdentityProviderButton_slide-out_k432A .5s forwards}@media(prefers-reduced-motion:reduce){.IdentityProviderButton_slide-out_k432A{animation-duration:.1ms}}@keyframes IdentityProviderButton_slide-in_k432A{0%{transform:translateY(100vh)}to{transform:translateY(0)}}@keyframes IdentityProviderButton_slide-out_k432A{0%{transform:translateY(0)}to{transform:translateY(100vh)}}/*!\n * Copyright 2022 OneWelcome B.V.\n *\n * Licensed under the Apache License, Version 2.0 (the "License");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an "AS IS" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */.IdentityProviderButton_idp-button_k432A{width:100%}.IdentityProviderButton_idp-button--with-icon_k432A{display:flex;align-items:center;justify-content:center;gap:.5rem;margin-top:-.125rem;margin-bottom:-.125rem}')),document.head.appendChild(e)}}catch(t){console.error("vite-plugin-css-injected-by-js",t)}}();
1
+ !function(){"use strict";try{if("undefined"!=typeof document){var e=document.createElement("style");e.appendChild(document.createTextNode('.IdentityProviderButton_sr-only_EVNeA{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);border:0}.IdentityProviderButton_hidden_EVNeA{display:none}.IdentityProviderButton_slide-in_EVNeA{animation:IdentityProviderButton_slide-in_EVNeA .5s forwards}@media(prefers-reduced-motion:reduce){.IdentityProviderButton_slide-in_EVNeA{animation-duration:.1ms}}.IdentityProviderButton_slide-out_EVNeA{animation:IdentityProviderButton_slide-out_EVNeA .5s forwards}@media(prefers-reduced-motion:reduce){.IdentityProviderButton_slide-out_EVNeA{animation-duration:.1ms}}@keyframes IdentityProviderButton_slide-in_EVNeA{0%{transform:translateY(100vh)}to{transform:translateY(0)}}@keyframes IdentityProviderButton_slide-out_EVNeA{0%{transform:translateY(0)}to{transform:translateY(100vh)}}/*!\n * Copyright 2022 OneWelcome B.V.\n *\n * Licensed under the Apache License, Version 2.0 (the "License");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an "AS IS" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */.IdentityProviderButton_idp-button_EVNeA{width:100%}.IdentityProviderButton_idp-button--with-icon_EVNeA{display:flex;align-items:center;justify-content:center;gap:.5rem;margin-top:-.125rem;margin-bottom:-.125rem}')),document.head.appendChild(e)}}catch(t){console.error("vite-plugin-css-injected-by-js",t)}}();
2
2
  const classes = {
3
- "idp-button": "IdentityProviderButton_idp-button_k432A",
4
- "idp-button--with-icon": "IdentityProviderButton_idp-button--with-icon_k432A"
3
+ "idp-button": "IdentityProviderButton_idp-button_EVNeA",
4
+ "idp-button--with-icon": "IdentityProviderButton_idp-button--with-icon_EVNeA"
5
5
  };
6
6
  export {
7
7
  classes as default
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("react"),e=require("./useDebouncedCallback.cjs.js");var o=(t=>(t.LEFT="left",t.CENTER="center",t.CENTER_H="centerh",t.RIGHT="right",t))(o||{}),i=(t=>(t.TOP="top",t.CENTER="center",t.CENTER_V="centerv",t.BOTTOM="bottom",t))(i||{});const n={relativeElement:void 0,elementToBePositioned:void 0,transformOrigin:{horizontal:"left",vertical:"top"},placement:{horizontal:"left",vertical:"top"},offset:{top:0,right:0,bottom:0,left:0},debounceAmount:20};exports.horizontal=o,exports.usePosition=(o=n)=>{const i={...n,...o},[r,l]=t.useState(!1);void 0===i.transformOrigin&&(i.transformOrigin=n.transformOrigin),void 0===i.placement&&(i.placement=n.placement),void 0===i.offset&&(i.offset=n.offset);const[h,f]=t.useState({left:0,top:0,right:"initial",bottom:"initial"}),a=(t,e,o)=>{var n,r;const l=((t,e,o,n,r)=>{const l="center"===e?(t=>{if("horizontal"===t)return"centerh";if("vertical"===t)return"centerv";throw new Error(`the requested return value isn't "vertical" or "horizontal" ${t} was given.`)})(o):e,h=((t,e,o,i,n)=>{let r=0;return"left"===t[e]||"top"===t[e]?r=o[i]:"center"===t[e]?r=o[i]-n["horizontal"===e?"width":"height"]/2:"right"!==t[e]&&"bottom"!==t[e]||(r=window["horizontal"===e?"innerWidth":"innerHeight"]-o[i]),r})(t,o,n,l,r),f=((t,e,o)=>{var n,r,l,h,f,a,d,c,s,u,g,v;let m=t;return("horizontal"===e&&0!==(null==(n=i.offset)?void 0:n.left)||"horizontal"===e&&0!==(null==(r=i.offset)?void 0:r.right))&&("left"!==o[e]&&"center"!==o[e]||(m+=null==(l=i.offset)?void 0:l.left,m-=null==(h=i.offset)?void 0:h.right),"right"===o[e]&&(m-=null==(f=i.offset)?void 0:f.left,m+=null==(a=i.offset)?void 0:a.right)),("vertical"===e&&0!==(null==(d=i.offset)?void 0:d.top)||"vertical"===e&&0!==(null==(c=i.offset)?void 0:c.bottom))&&("top"!==o[e]&&"center"!==o[e]||(m+=null==(s=i.offset)?void 0:s.top,m-=null==(u=i.offset)?void 0:u.bottom),"bottom"===o[e]&&(m-=null==(g=i.offset)?void 0:g.top,m+=null==(v=i.offset)?void 0:v.bottom)),m})(h,o,t);return((t,e,o,i)=>{let n=t;return("left"===e[o]&&n<0||"top"===e[o]&&n<0||"center"===e[o]&&n<0||"bottom"===e[o]&&n<0)&&(n=0),("left"===e[o]&&n>window.innerWidth-i.width||"center"===e[o]&&"horizontal"===o&&n>window.innerWidth-i.width)&&(n=window.innerWidth-i.width),("top"===e[o]&&n>window.innerHeight-i.height||"center"===e[o]&&"vertical"===o&&n>window.innerHeight-i.height)&&(n=window.innerHeight-i.height),"right"===e[o]&&n>window.innerWidth-i.width&&(n=window.innerWidth-i.width),"bottom"===e[o]&&n>window.innerHeight-i.height&&(n=window.innerHeight-i.height),n})(f,t,o,r)})(i.transformOrigin,i.placement[o],o,t,e);let h="left",a="right";"horizontal"===o&&"right"===(null==(n=i.transformOrigin)?void 0:n.horizontal)?(h="right",a="left"):"horizontal"===o&&(h="left",a="right"),"vertical"===o&&"bottom"===(null==(r=i.transformOrigin)?void 0:r.vertical)?(h="bottom",a="top"):"vertical"===o&&(h="top",a="bottom"),f(t=>({...t,[h]:l,[a]:"initial"}))},d=e.useDebouncedCallback(()=>{var t,e;if(!(null==(t=i.relativeElement)?void 0:t.current)||!(null==(e=i.elementToBePositioned)?void 0:e.current))return;const o=i.relativeElement.current.getBoundingClientRect(),n={height:i.elementToBePositioned.current.offsetHeight,width:i.elementToBePositioned.current.offsetWidth},h={top:o.top,right:o.right,bottom:o.bottom,center:0,centerv:o.top+o.height/2,centerh:o.left+o.width/2,left:o.left,width:o.width,height:o.height,x:o.x,y:o.y};a(h,n,"horizontal"),a(h,n,"vertical"),r||l(!0)},i.debounceAmount??20);return{top:h.top,bottom:h.bottom,left:h.left,right:h.right,calculatePosition:d,initialCalculationDone:r}},exports.vertical=i;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("react"),e=require("./useDebouncedCallback.cjs.js");var o=(t=>(t.LEFT="left",t.CENTER="center",t.CENTER_H="centerh",t.RIGHT="right",t))(o||{}),n=(t=>(t.TOP="top",t.CENTER="center",t.CENTER_V="centerv",t.BOTTOM="bottom",t))(n||{});const i={relativeElement:void 0,elementToBePositioned:void 0,transformOrigin:{horizontal:"left",vertical:"top"},placement:{horizontal:"left",vertical:"top"},offset:{top:0,right:0,bottom:0,left:0},debounceAmount:20};exports.horizontal=o,exports.usePosition=(o=i)=>{const n={...i,...o},[r,l]=t.useState(!1);void 0===n.transformOrigin&&(n.transformOrigin=i.transformOrigin),void 0===n.placement&&(n.placement=i.placement),void 0===n.offset&&(n.offset=i.offset);const[s,a]=t.useState({left:0,top:0,right:"initial",bottom:"initial"}),c=(t,e,o)=>{var i,r;const l=((t,e,o,i,r)=>{const l="center"===e?(t=>{if("horizontal"===t)return"centerh";if("vertical"===t)return"centerv";throw new Error(`the requested return value isn't "vertical" or "horizontal" ${t} was given.`)})(o):e,s=((t,e,o,n,i)=>{let r=0;return"left"===t[e]||"top"===t[e]?r=o[n]:"center"===t[e]?r=o[n]-i["horizontal"===e?"width":"height"]/2:"right"!==t[e]&&"bottom"!==t[e]||(r=window["horizontal"===e?"innerWidth":"innerHeight"]-o[n]),r})(t,o,i,l,r),a=((t,e,o)=>{var i,r,l,s,a,c,d,u,h,f,v,w;let m=t;return("horizontal"===e&&0!==(null==(i=n.offset)?void 0:i.left)||"horizontal"===e&&0!==(null==(r=n.offset)?void 0:r.right))&&("left"!==o[e]&&"center"!==o[e]||(m+=null==(l=n.offset)?void 0:l.left,m-=null==(s=n.offset)?void 0:s.right),"right"===o[e]&&(m-=null==(a=n.offset)?void 0:a.left,m+=null==(c=n.offset)?void 0:c.right)),("vertical"===e&&0!==(null==(d=n.offset)?void 0:d.top)||"vertical"===e&&0!==(null==(u=n.offset)?void 0:u.bottom))&&("top"!==o[e]&&"center"!==o[e]||(m+=null==(h=n.offset)?void 0:h.top,m-=null==(f=n.offset)?void 0:f.bottom),"bottom"===o[e]&&(m-=null==(v=n.offset)?void 0:v.top,m+=null==(w=n.offset)?void 0:w.bottom)),m})(s,o,t);return((t,e,o,n)=>{let i=t;return i<0&&(i=0),("left"===e[o]&&i>window.innerWidth-n.width||"center"===e[o]&&"horizontal"===o&&i>window.innerWidth-n.width)&&(i=window.innerWidth-n.width),("top"===e[o]&&i>window.innerHeight-n.height||"center"===e[o]&&"vertical"===o&&i>window.innerHeight-n.height)&&(i=window.innerHeight-n.height),"right"===e[o]&&i>window.innerWidth-n.width&&(i=window.innerWidth-n.width),"bottom"===e[o]&&i>window.innerHeight-n.height&&(i=window.innerHeight-n.height),i})(a,t,o,r)})(n.transformOrigin,n.placement[o],o,t,e);let s="left",c="right";"horizontal"===o&&"right"===(null==(i=n.transformOrigin)?void 0:i.horizontal)?(s="right",c="left"):"horizontal"===o&&(s="left",c="right"),"vertical"===o&&"bottom"===(null==(r=n.transformOrigin)?void 0:r.vertical)?(s="bottom",c="top"):"vertical"===o&&(s="top",c="bottom"),a(t=>({...t,[s]:l,[c]:"initial"}))},d=()=>{var t,e;if(!(null==(t=n.relativeElement)?void 0:t.current)||!(null==(e=n.elementToBePositioned)?void 0:e.current))return;const o=n.relativeElement.current.getBoundingClientRect(),i={height:n.elementToBePositioned.current.offsetHeight,width:n.elementToBePositioned.current.offsetWidth},s={top:o.top,right:o.right,bottom:o.bottom,center:0,centerv:o.top+o.height/2,centerh:o.left+o.width/2,left:o.left,width:o.width,height:o.height,x:o.x,y:o.y};c(s,i,"horizontal"),c(s,i,"vertical"),r||l(!0)},u=t.useRef(d);u.current=d;const h=e.useDebouncedCallback(()=>{u.current()},n.debounceAmount??20);return t.useEffect(()=>{var t,e;if(!r)return;let o=null;const i=()=>{null!==o&&cancelAnimationFrame(o),o=requestAnimationFrame(()=>{o=null,u.current()})};window.addEventListener("resize",i),window.addEventListener("scroll",i,!0),window.visualViewport&&(window.visualViewport.addEventListener("resize",i),window.visualViewport.addEventListener("scroll",i));const l=[];if(null==(t=n.relativeElement)?void 0:t.current){const t=n.relativeElement.current;l.push(...(t=>{const e=[];let o=t.parentElement;for(;o&&o!==document.documentElement;){const t=window.getComputedStyle(o),n=t.overflowX,i=t.overflowY;"auto"!==n&&"scroll"!==n&&"auto"!==i&&"scroll"!==i||e.push(o),o=o.parentElement}return e})(t));for(const e of l)e.addEventListener("scroll",i)}let s,a=0,c=0;if("undefined"!=typeof ResizeObserver&&(null==(e=n.elementToBePositioned)?void 0:e.current)){const t=n.elementToBePositioned.current;a=t.offsetWidth,c=t.offsetHeight,s=new ResizeObserver(t=>{const e=t[0];if(!e)return;const{width:n,height:i}=e.contentRect;(Math.abs(n-a)>1||Math.abs(i-c)>1)&&(a=n,c=i,null!==o&&cancelAnimationFrame(o),o=requestAnimationFrame(()=>{o=null,u.current()}))}),s.observe(t)}return()=>{null!==o&&cancelAnimationFrame(o),window.removeEventListener("resize",i),window.removeEventListener("scroll",i,!0),window.visualViewport&&(window.visualViewport.removeEventListener("resize",i),window.visualViewport.removeEventListener("scroll",i));for(const t of l)t.removeEventListener("scroll",i);s&&s.disconnect()}},[r]),{top:s.top,bottom:s.bottom,left:s.left,right:s.right,calculatePosition:h,calculatePositionImmediate:()=>{u.current()},initialCalculationDone:r,resetCalculationState:()=>{l(!1)}}},exports.vertical=n;
2
2
  //# sourceMappingURL=usePosition.cjs.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"usePosition.cjs.js","sources":["../../src/hooks/usePosition.ts"],"sourcesContent":["/*\n * Copyright 2022 OneWelcome B.V.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport React, { useState } from \"react\";\nimport { useDebouncedCallback } from \"./useDebouncedCallback\";\n\nexport interface ConfigObject {\n relativeElement: RefElement;\n elementToBePositioned: RefElement;\n transformOrigin?: Placement;\n placement?: Placement;\n offset?: Offset;\n debounceAmount?: number;\n}\n\nexport enum horizontal {\n LEFT = \"left\",\n CENTER = \"center\",\n CENTER_H = \"centerh\",\n RIGHT = \"right\"\n}\n\nexport enum vertical {\n TOP = \"top\",\n CENTER = \"center\",\n CENTER_V = \"centerv\",\n BOTTOM = \"bottom\"\n}\n\nexport type HorizontalPlacement = `${horizontal}`;\nexport type VerticalPlacement = `${vertical}`;\n\ntype Axis = \"vertical\" | \"horizontal\";\ntype RefElement = React.RefObject<HTMLOrSVGElement> | undefined;\n\ninterface DomRectObject {\n top: number;\n right: number;\n bottom: number;\n left: number;\n center: number;\n centerh: number;\n centerv: number;\n width: number;\n height: number;\n x: number;\n y: number;\n}\n\nexport interface Placement {\n horizontal: HorizontalPlacement;\n vertical: VerticalPlacement;\n}\n\nexport interface Offset {\n top: number;\n right: number;\n bottom: number;\n left: number;\n}\n\nexport interface Position {\n top: PositionType;\n right: PositionType;\n bottom: PositionType;\n left: PositionType;\n}\n\ninterface Dimensions {\n height: number;\n width: number;\n}\n\nexport type PositionType = number | \"initial\";\n\nconst defaultConfigObject: ConfigObject = {\n relativeElement: undefined,\n elementToBePositioned: undefined,\n transformOrigin: {\n horizontal: \"left\",\n vertical: \"top\"\n },\n placement: {\n horizontal: \"left\",\n vertical: \"top\"\n },\n offset: {\n top: 0,\n right: 0,\n bottom: 0,\n left: 0\n },\n debounceAmount: 20\n};\n\nexport const usePosition = (providedConfigObject: ConfigObject = defaultConfigObject) => {\n const configObject = { ...defaultConfigObject, ...providedConfigObject };\n const [initialCalculationDone, setInitialCalculationDone] = useState(false);\n\n if (configObject.transformOrigin === undefined) {\n configObject.transformOrigin = defaultConfigObject.transformOrigin;\n }\n\n if (configObject.placement === undefined) {\n configObject.placement = defaultConfigObject.placement;\n }\n\n if (configObject.offset === undefined) {\n configObject.offset = defaultConfigObject.offset;\n }\n\n const [position, setPosition] = useState<Position>({\n left: 0,\n top: 0,\n right: \"initial\",\n bottom: \"initial\"\n });\n\n const _fixPossibleViewportOverflow = (\n value: number,\n transformOrigin: Placement,\n requestedReturnValue: Axis,\n elDimensions: Dimensions\n ) => {\n let returnValue = value;\n\n if (\n (transformOrigin[requestedReturnValue] === \"left\" && returnValue < 0) ||\n (transformOrigin[requestedReturnValue] === \"top\" && returnValue < 0) ||\n (transformOrigin[requestedReturnValue] === \"center\" && returnValue < 0) ||\n (transformOrigin[requestedReturnValue] === \"bottom\" && returnValue < 0)\n ) {\n returnValue = 0;\n }\n\n if (\n (transformOrigin[requestedReturnValue] === \"left\" &&\n returnValue > window.innerWidth - elDimensions.width) ||\n (transformOrigin[requestedReturnValue] === \"center\" &&\n requestedReturnValue === \"horizontal\" &&\n returnValue > window.innerWidth - elDimensions.width)\n ) {\n returnValue = window.innerWidth - elDimensions.width;\n }\n\n if (\n (transformOrigin[requestedReturnValue] === \"top\" &&\n returnValue > window.innerHeight - elDimensions.height) ||\n (transformOrigin[requestedReturnValue] === \"center\" &&\n requestedReturnValue === \"vertical\" &&\n returnValue > window.innerHeight - elDimensions.height)\n ) {\n returnValue = window.innerHeight - elDimensions.height;\n }\n\n if (\n transformOrigin[requestedReturnValue] === \"right\" &&\n returnValue > window.innerWidth - elDimensions.width\n ) {\n returnValue = window.innerWidth - elDimensions.width;\n }\n\n if (\n transformOrigin[requestedReturnValue] === \"bottom\" &&\n returnValue > window.innerHeight - elDimensions.height\n ) {\n returnValue = window.innerHeight - elDimensions.height;\n }\n\n return returnValue;\n };\n\n const _applyOffsetToPlacementValue = (\n value: number,\n requestedReturnValue: Axis,\n transformOrigin: Placement\n ) => {\n let returnValue = value;\n if (\n (requestedReturnValue === \"horizontal\" && configObject.offset?.left !== 0) ||\n (requestedReturnValue === \"horizontal\" && configObject.offset?.right !== 0)\n ) {\n if (\n transformOrigin[requestedReturnValue] === \"left\" ||\n transformOrigin[requestedReturnValue] === \"center\"\n ) {\n returnValue += configObject.offset?.left!;\n returnValue -= configObject.offset?.right!;\n }\n\n if (transformOrigin[requestedReturnValue] === \"right\") {\n returnValue -= configObject.offset?.left!;\n returnValue += configObject.offset?.right!;\n }\n }\n\n if (\n (requestedReturnValue === \"vertical\" && configObject.offset?.top !== 0) ||\n (requestedReturnValue === \"vertical\" && configObject.offset?.bottom !== 0)\n ) {\n if (\n transformOrigin[requestedReturnValue] === \"top\" ||\n transformOrigin[requestedReturnValue] === \"center\"\n ) {\n returnValue += configObject.offset?.top!;\n returnValue -= configObject.offset?.bottom!;\n }\n\n if (transformOrigin[requestedReturnValue] === \"bottom\") {\n returnValue -= configObject.offset?.top!;\n returnValue += configObject.offset?.bottom!;\n }\n }\n\n return returnValue;\n };\n\n const _calculateInitialPlacementValue = (\n transformOrigin: Placement,\n requestedReturnValue: Axis,\n relEl: DomRectObject,\n placementOriginDefinition: HorizontalPlacement | VerticalPlacement,\n elDimensions: Dimensions\n ) => {\n let value = 0;\n\n if (\n transformOrigin[requestedReturnValue] === \"left\" ||\n transformOrigin[requestedReturnValue] === \"top\"\n ) {\n value = relEl[placementOriginDefinition];\n } else if (transformOrigin[requestedReturnValue] === \"center\") {\n value =\n relEl[placementOriginDefinition] -\n elDimensions[requestedReturnValue === \"horizontal\" ? \"width\" : \"height\"] / 2;\n } else if (\n transformOrigin[requestedReturnValue] === \"right\" ||\n transformOrigin[requestedReturnValue] === \"bottom\"\n ) {\n value =\n window[requestedReturnValue === \"horizontal\" ? \"innerWidth\" : \"innerHeight\"] -\n relEl[placementOriginDefinition];\n }\n\n return value;\n };\n\n /**\n *\n * @param requestedReturnValue whether the requested return value is for the horizontal or vertical axis\n * @returns either the horizontally centered placement definition (centerh) or the vertically centered one (centerv)\n */\n const _determineCenteredPlacementOrigin = (requestedReturnValue: Axis) => {\n if (requestedReturnValue === \"horizontal\") {\n return \"centerh\";\n } else if (requestedReturnValue === \"vertical\") {\n return \"centerv\";\n }\n throw new Error(\n `the requested return value isn't \"vertical\" or \"horizontal\" ${requestedReturnValue} was given.`\n );\n };\n\n const _calculatePlacementValue = (\n transformOrigin: Placement,\n placement: HorizontalPlacement | VerticalPlacement,\n requestedReturnValue: Axis,\n relEl: DomRectObject,\n elDimensions: Dimensions\n ): number => {\n const placementOriginDefinition =\n placement === \"center\" ? _determineCenteredPlacementOrigin(requestedReturnValue) : placement;\n\n const value = _calculateInitialPlacementValue(\n transformOrigin,\n requestedReturnValue,\n relEl,\n placementOriginDefinition,\n elDimensions\n );\n\n const valueWithOffset = _applyOffsetToPlacementValue(\n value,\n requestedReturnValue,\n transformOrigin\n );\n\n return _fixPossibleViewportOverflow(\n valueWithOffset,\n transformOrigin,\n requestedReturnValue,\n elDimensions\n );\n };\n\n const _calculatePlacement = (relEl: DomRectObject, elDimensions: Dimensions, axis: Axis) => {\n const placementValue = _calculatePlacementValue(\n configObject.transformOrigin!,\n configObject.placement![axis]!,\n axis,\n relEl,\n elDimensions\n );\n\n let direction = \"left\";\n let oppositeDirection = \"right\";\n\n if (axis === \"horizontal\" && configObject.transformOrigin?.horizontal === \"right\") {\n direction = \"right\";\n oppositeDirection = \"left\";\n } else if (axis === \"horizontal\") {\n direction = \"left\";\n oppositeDirection = \"right\";\n }\n\n if (axis === \"vertical\" && configObject.transformOrigin?.vertical === \"bottom\") {\n direction = \"bottom\";\n oppositeDirection = \"top\";\n } else if (axis === \"vertical\") {\n direction = \"top\";\n oppositeDirection = \"bottom\";\n }\n\n setPosition(prevState => ({\n ...prevState,\n [direction]: placementValue,\n [oppositeDirection]: \"initial\"\n }));\n };\n\n const calculatePosition = useDebouncedCallback(() => {\n if (!configObject.relativeElement?.current || !configObject.elementToBePositioned?.current) {\n return;\n }\n const relativeElRect = (configObject.relativeElement!\n .current as HTMLElement)!.getBoundingClientRect();\n const elementToBePositionedDimensions: Dimensions = {\n height: (configObject.elementToBePositioned!.current as HTMLElement).offsetHeight,\n width: (configObject.elementToBePositioned!.current as HTMLElement).offsetWidth\n };\n\n /** We want to add a center (horizontal and vertical) property to the DOMRect object. Since it's a special object we can't modify so we clone it and add it. */\n const clonedRelEl = {\n top: relativeElRect.top,\n right: relativeElRect.right,\n bottom: relativeElRect.bottom,\n center: 0,\n centerv: relativeElRect.top + relativeElRect.height / 2,\n centerh: relativeElRect.left + relativeElRect.width / 2,\n left: relativeElRect.left,\n width: relativeElRect.width,\n height: relativeElRect.height,\n x: relativeElRect.x,\n y: relativeElRect.y\n };\n\n _calculatePlacement(clonedRelEl, elementToBePositionedDimensions, \"horizontal\");\n _calculatePlacement(clonedRelEl, elementToBePositionedDimensions, \"vertical\");\n\n if (!initialCalculationDone) {\n setInitialCalculationDone(true);\n }\n }, configObject.debounceAmount ?? 20);\n\n return {\n top: position.top,\n bottom: position.bottom,\n left: position.left,\n right: position.right,\n calculatePosition,\n initialCalculationDone\n };\n};\n"],"names":["horizontal","vertical","defaultConfigObject","relativeElement","elementToBePositioned","transformOrigin","placement","offset","top","right","bottom","left","debounceAmount","providedConfigObject","configObject","initialCalculationDone","setInitialCalculationDone","useState","position","setPosition","_calculatePlacement","relEl","elDimensions","axis","placementValue","requestedReturnValue","placementOriginDefinition","Error","_determineCenteredPlacementOrigin","value","window","_calculateInitialPlacementValue","valueWithOffset","returnValue","_a","_b","_c","_d","_e","_f","_g","_h","_i","_j","_k","_l","_applyOffsetToPlacementValue","innerWidth","width","innerHeight","height","_fixPossibleViewportOverflow","_calculatePlacementValue","direction","oppositeDirection","prevState","calculatePosition","useDebouncedCallback","current","relativeElRect","getBoundingClientRect","elementToBePositionedDimensions","offsetHeight","offsetWidth","clonedRelEl","center","centerv","centerh","x","y"],"mappings":"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"}
1
+ {"version":3,"file":"usePosition.cjs.js","sources":["../../src/hooks/usePosition.ts"],"sourcesContent":["/*\n * Copyright 2022 OneWelcome B.V.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport React, { useState, useEffect, useRef } from \"react\";\nimport { useDebouncedCallback } from \"./useDebouncedCallback\";\n\nexport interface ConfigObject {\n relativeElement: RefElement;\n elementToBePositioned: RefElement;\n transformOrigin?: Placement;\n placement?: Placement;\n offset?: Offset;\n debounceAmount?: number;\n}\n\nexport enum horizontal {\n LEFT = \"left\",\n CENTER = \"center\",\n CENTER_H = \"centerh\",\n RIGHT = \"right\"\n}\n\nexport enum vertical {\n TOP = \"top\",\n CENTER = \"center\",\n CENTER_V = \"centerv\",\n BOTTOM = \"bottom\"\n}\n\nexport type HorizontalPlacement = `${horizontal}`;\nexport type VerticalPlacement = `${vertical}`;\n\ntype Axis = \"vertical\" | \"horizontal\";\ntype RefElement = React.RefObject<HTMLOrSVGElement> | undefined;\n\ninterface DomRectObject {\n top: number;\n right: number;\n bottom: number;\n left: number;\n center: number;\n centerh: number;\n centerv: number;\n width: number;\n height: number;\n x: number;\n y: number;\n}\n\nexport interface Placement {\n horizontal: HorizontalPlacement;\n vertical: VerticalPlacement;\n}\n\nexport interface Offset {\n top: number;\n right: number;\n bottom: number;\n left: number;\n}\n\nexport interface Position {\n top: PositionType;\n right: PositionType;\n bottom: PositionType;\n left: PositionType;\n}\n\ninterface Dimensions {\n height: number;\n width: number;\n}\n\nexport type PositionType = number | \"initial\";\n\nconst defaultConfigObject: ConfigObject = {\n relativeElement: undefined,\n elementToBePositioned: undefined,\n transformOrigin: {\n horizontal: \"left\",\n vertical: \"top\"\n },\n placement: {\n horizontal: \"left\",\n vertical: \"top\"\n },\n offset: {\n top: 0,\n right: 0,\n bottom: 0,\n left: 0\n },\n debounceAmount: 20\n};\n\nexport const usePosition = (providedConfigObject: ConfigObject = defaultConfigObject) => {\n const configObject = { ...defaultConfigObject, ...providedConfigObject };\n const [initialCalculationDone, setInitialCalculationDone] = useState(false);\n\n if (configObject.transformOrigin === undefined) {\n configObject.transformOrigin = defaultConfigObject.transformOrigin;\n }\n\n if (configObject.placement === undefined) {\n configObject.placement = defaultConfigObject.placement;\n }\n\n if (configObject.offset === undefined) {\n configObject.offset = defaultConfigObject.offset;\n }\n\n const [position, setPosition] = useState<Position>({\n left: 0,\n top: 0,\n right: \"initial\",\n bottom: \"initial\"\n });\n\n const resetCalculationState = () => {\n setInitialCalculationDone(false);\n };\n\n const _fixPossibleViewportOverflow = (\n value: number,\n transformOrigin: Placement,\n requestedReturnValue: Axis,\n elDimensions: Dimensions\n ) => {\n let returnValue = value;\n\n if (returnValue < 0) {\n returnValue = 0;\n }\n\n if (\n (transformOrigin[requestedReturnValue] === \"left\" &&\n returnValue > window.innerWidth - elDimensions.width) ||\n (transformOrigin[requestedReturnValue] === \"center\" &&\n requestedReturnValue === \"horizontal\" &&\n returnValue > window.innerWidth - elDimensions.width)\n ) {\n returnValue = window.innerWidth - elDimensions.width;\n }\n\n if (\n (transformOrigin[requestedReturnValue] === \"top\" &&\n returnValue > window.innerHeight - elDimensions.height) ||\n (transformOrigin[requestedReturnValue] === \"center\" &&\n requestedReturnValue === \"vertical\" &&\n returnValue > window.innerHeight - elDimensions.height)\n ) {\n returnValue = window.innerHeight - elDimensions.height;\n }\n\n if (\n transformOrigin[requestedReturnValue] === \"right\" &&\n returnValue > window.innerWidth - elDimensions.width\n ) {\n returnValue = window.innerWidth - elDimensions.width;\n }\n\n if (\n transformOrigin[requestedReturnValue] === \"bottom\" &&\n returnValue > window.innerHeight - elDimensions.height\n ) {\n returnValue = window.innerHeight - elDimensions.height;\n }\n\n return returnValue;\n };\n\n const _applyOffsetToPlacementValue = (\n value: number,\n requestedReturnValue: Axis,\n transformOrigin: Placement\n ) => {\n let returnValue = value;\n if (\n (requestedReturnValue === \"horizontal\" && configObject.offset?.left !== 0) ||\n (requestedReturnValue === \"horizontal\" && configObject.offset?.right !== 0)\n ) {\n if (\n transformOrigin[requestedReturnValue] === \"left\" ||\n transformOrigin[requestedReturnValue] === \"center\"\n ) {\n returnValue += configObject.offset?.left!;\n returnValue -= configObject.offset?.right!;\n }\n\n if (transformOrigin[requestedReturnValue] === \"right\") {\n returnValue -= configObject.offset?.left!;\n returnValue += configObject.offset?.right!;\n }\n }\n\n if (\n (requestedReturnValue === \"vertical\" && configObject.offset?.top !== 0) ||\n (requestedReturnValue === \"vertical\" && configObject.offset?.bottom !== 0)\n ) {\n if (\n transformOrigin[requestedReturnValue] === \"top\" ||\n transformOrigin[requestedReturnValue] === \"center\"\n ) {\n returnValue += configObject.offset?.top!;\n returnValue -= configObject.offset?.bottom!;\n }\n\n if (transformOrigin[requestedReturnValue] === \"bottom\") {\n returnValue -= configObject.offset?.top!;\n returnValue += configObject.offset?.bottom!;\n }\n }\n\n return returnValue;\n };\n\n const _calculateInitialPlacementValue = (\n transformOrigin: Placement,\n requestedReturnValue: Axis,\n relEl: DomRectObject,\n placementOriginDefinition: HorizontalPlacement | VerticalPlacement,\n elDimensions: Dimensions\n ) => {\n let value = 0;\n\n if (\n transformOrigin[requestedReturnValue] === \"left\" ||\n transformOrigin[requestedReturnValue] === \"top\"\n ) {\n value = relEl[placementOriginDefinition];\n } else if (transformOrigin[requestedReturnValue] === \"center\") {\n value =\n relEl[placementOriginDefinition] -\n elDimensions[requestedReturnValue === \"horizontal\" ? \"width\" : \"height\"] / 2;\n } else if (\n transformOrigin[requestedReturnValue] === \"right\" ||\n transformOrigin[requestedReturnValue] === \"bottom\"\n ) {\n value =\n window[requestedReturnValue === \"horizontal\" ? \"innerWidth\" : \"innerHeight\"] -\n relEl[placementOriginDefinition];\n }\n\n return value;\n };\n\n /**\n *\n * @param requestedReturnValue whether the requested return value is for the horizontal or vertical axis\n * @returns either the horizontally centered placement definition (centerh) or the vertically centered one (centerv)\n */\n const _determineCenteredPlacementOrigin = (requestedReturnValue: Axis) => {\n if (requestedReturnValue === \"horizontal\") {\n return \"centerh\";\n } else if (requestedReturnValue === \"vertical\") {\n return \"centerv\";\n }\n throw new Error(\n `the requested return value isn't \"vertical\" or \"horizontal\" ${requestedReturnValue} was given.`\n );\n };\n\n const _calculatePlacementValue = (\n transformOrigin: Placement,\n placement: HorizontalPlacement | VerticalPlacement,\n requestedReturnValue: Axis,\n relEl: DomRectObject,\n elDimensions: Dimensions\n ): number => {\n const placementOriginDefinition =\n placement === \"center\" ? _determineCenteredPlacementOrigin(requestedReturnValue) : placement;\n\n const value = _calculateInitialPlacementValue(\n transformOrigin,\n requestedReturnValue,\n relEl,\n placementOriginDefinition,\n elDimensions\n );\n\n const valueWithOffset = _applyOffsetToPlacementValue(\n value,\n requestedReturnValue,\n transformOrigin\n );\n\n return _fixPossibleViewportOverflow(\n valueWithOffset,\n transformOrigin,\n requestedReturnValue,\n elDimensions\n );\n };\n\n const _calculatePlacement = (relEl: DomRectObject, elDimensions: Dimensions, axis: Axis) => {\n const placementValue = _calculatePlacementValue(\n configObject.transformOrigin!,\n configObject.placement![axis]!,\n axis,\n relEl,\n elDimensions\n );\n\n let direction = \"left\";\n let oppositeDirection = \"right\";\n\n if (axis === \"horizontal\" && configObject.transformOrigin?.horizontal === \"right\") {\n direction = \"right\";\n oppositeDirection = \"left\";\n } else if (axis === \"horizontal\") {\n direction = \"left\";\n oppositeDirection = \"right\";\n }\n\n if (axis === \"vertical\" && configObject.transformOrigin?.vertical === \"bottom\") {\n direction = \"bottom\";\n oppositeDirection = \"top\";\n } else if (axis === \"vertical\") {\n direction = \"top\";\n oppositeDirection = \"bottom\";\n }\n\n setPosition(prevState => ({\n ...prevState,\n [direction]: placementValue,\n [oppositeDirection]: \"initial\"\n }));\n };\n\n const _performCalculation = () => {\n if (!configObject.relativeElement?.current || !configObject.elementToBePositioned?.current) {\n return;\n }\n const relativeElRect = (configObject.relativeElement!\n .current as HTMLElement)!.getBoundingClientRect();\n const elementToBePositionedDimensions: Dimensions = {\n height: (configObject.elementToBePositioned!.current as HTMLElement).offsetHeight,\n width: (configObject.elementToBePositioned!.current as HTMLElement).offsetWidth\n };\n\n /** We want to add a center (horizontal and vertical) property to the DOMRect object. Since it's a special object we can't modify so we clone it and add it. */\n const clonedRelEl = {\n top: relativeElRect.top,\n right: relativeElRect.right,\n bottom: relativeElRect.bottom,\n center: 0,\n centerv: relativeElRect.top + relativeElRect.height / 2,\n centerh: relativeElRect.left + relativeElRect.width / 2,\n left: relativeElRect.left,\n width: relativeElRect.width,\n height: relativeElRect.height,\n x: relativeElRect.x,\n y: relativeElRect.y\n };\n\n _calculatePlacement(clonedRelEl, elementToBePositionedDimensions, \"horizontal\");\n _calculatePlacement(clonedRelEl, elementToBePositionedDimensions, \"vertical\");\n\n if (!initialCalculationDone) {\n setInitialCalculationDone(true);\n }\n };\n\n const performCalculationRef = useRef(_performCalculation);\n performCalculationRef.current = _performCalculation;\n\n const calculatePosition = useDebouncedCallback(() => {\n performCalculationRef.current();\n }, configObject.debounceAmount ?? 20);\n\n const calculatePositionImmediate = () => {\n performCalculationRef.current();\n };\n\n const _getScrollableAncestors = (element: HTMLElement): HTMLElement[] => {\n const ancestors: HTMLElement[] = [];\n let parent = element.parentElement;\n while (parent && parent !== document.documentElement) {\n const style = window.getComputedStyle(parent);\n const overflowX = style.overflowX;\n const overflowY = style.overflowY;\n if (\n overflowX === \"auto\" ||\n overflowX === \"scroll\" ||\n overflowY === \"auto\" ||\n overflowY === \"scroll\"\n ) {\n ancestors.push(parent);\n }\n parent = parent.parentElement;\n }\n return ancestors;\n };\n\n useEffect(() => {\n if (!initialCalculationDone) {\n return;\n }\n\n let rafId: number | null = null;\n\n const handleResize = () => {\n if (rafId !== null) {\n cancelAnimationFrame(rafId);\n }\n rafId = requestAnimationFrame(() => {\n rafId = null;\n performCalculationRef.current();\n });\n };\n\n window.addEventListener(\"resize\", handleResize);\n window.addEventListener(\"scroll\", handleResize, true);\n\n if (window.visualViewport) {\n window.visualViewport.addEventListener(\"resize\", handleResize);\n window.visualViewport.addEventListener(\"scroll\", handleResize);\n }\n\n const scrollableAncestors: HTMLElement[] = [];\n if (configObject.relativeElement?.current) {\n const relEl = configObject.relativeElement.current as HTMLElement;\n scrollableAncestors.push(..._getScrollableAncestors(relEl));\n for (const ancestor of scrollableAncestors) {\n ancestor.addEventListener(\"scroll\", handleResize);\n }\n }\n\n let resizeObserver: ResizeObserver | undefined;\n let lastObservedWidth = 0;\n let lastObservedHeight = 0;\n if (typeof ResizeObserver !== \"undefined\" && configObject.elementToBePositioned?.current) {\n const el = configObject.elementToBePositioned.current as HTMLElement;\n lastObservedWidth = el.offsetWidth;\n lastObservedHeight = el.offsetHeight;\n resizeObserver = new ResizeObserver(entries => {\n const entry = entries[0];\n if (!entry) {\n return;\n }\n const { width, height } = entry.contentRect;\n if (Math.abs(width - lastObservedWidth) > 1 || Math.abs(height - lastObservedHeight) > 1) {\n lastObservedWidth = width;\n lastObservedHeight = height;\n if (rafId !== null) {\n cancelAnimationFrame(rafId);\n }\n rafId = requestAnimationFrame(() => {\n rafId = null;\n performCalculationRef.current();\n });\n }\n });\n resizeObserver.observe(el);\n }\n\n return () => {\n if (rafId !== null) {\n cancelAnimationFrame(rafId);\n }\n\n window.removeEventListener(\"resize\", handleResize);\n window.removeEventListener(\"scroll\", handleResize, true);\n\n if (window.visualViewport) {\n window.visualViewport.removeEventListener(\"resize\", handleResize);\n window.visualViewport.removeEventListener(\"scroll\", handleResize);\n }\n\n for (const ancestor of scrollableAncestors) {\n ancestor.removeEventListener(\"scroll\", handleResize);\n }\n\n if (resizeObserver) {\n resizeObserver.disconnect();\n }\n };\n }, [initialCalculationDone]);\n\n return {\n top: position.top,\n bottom: position.bottom,\n left: position.left,\n right: position.right,\n calculatePosition,\n calculatePositionImmediate,\n initialCalculationDone,\n resetCalculationState\n };\n};\n"],"names":["horizontal","vertical","defaultConfigObject","relativeElement","elementToBePositioned","transformOrigin","placement","offset","top","right","bottom","left","debounceAmount","providedConfigObject","configObject","initialCalculationDone","setInitialCalculationDone","useState","position","setPosition","_calculatePlacement","relEl","elDimensions","axis","placementValue","requestedReturnValue","placementOriginDefinition","Error","_determineCenteredPlacementOrigin","value","window","_calculateInitialPlacementValue","valueWithOffset","returnValue","_a","_b","_c","_d","_e","_f","_g","_h","_i","_j","_k","_l","_applyOffsetToPlacementValue","innerWidth","width","innerHeight","height","_fixPossibleViewportOverflow","_calculatePlacementValue","direction","oppositeDirection","prevState","_performCalculation","current","relativeElRect","getBoundingClientRect","elementToBePositionedDimensions","offsetHeight","offsetWidth","clonedRelEl","center","centerv","centerh","x","y","performCalculationRef","useRef","calculatePosition","useDebouncedCallback","useEffect","rafId","handleResize","cancelAnimationFrame","requestAnimationFrame","addEventListener","visualViewport","scrollableAncestors","push","element","ancestors","parent","parentElement","document","documentElement","style","getComputedStyle","overflowX","overflowY","_getScrollableAncestors","ancestor","resizeObserver","lastObservedWidth","lastObservedHeight","ResizeObserver","el","entries","entry","contentRect","Math","abs","observe","removeEventListener","disconnect","calculatePositionImmediate","resetCalculationState"],"mappings":"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"}